fix(orchestration): remote joiner alias conflict (#8844)

This commit is contained in:
Carlos R. L. Rodrigues
2024-08-28 11:34:22 -03:00
committed by GitHub
parent 68f3244de3
commit 6cfe9bd874
38 changed files with 998 additions and 998 deletions

View File

@@ -154,7 +154,7 @@ async function processAdditionalItems(
}
})
const createItems = await service.lineItemService_.create(
const createItems = await service.orderLineItemService_.create(
itemsToAdd,
sharedContext
)
@@ -192,7 +192,7 @@ async function processShippingMethods(
let shippingMethodId
if (!isString(shippingMethod)) {
const methods = await service.createShippingMethods(
const methods = await service.createOrderShippingMethods(
[
{
...shippingMethod,
@@ -207,7 +207,7 @@ async function processShippingMethods(
shippingMethodId = shippingMethod
}
const method = await service.retrieveShippingMethod(
const method = await service.retrieveOrderShippingMethod(
shippingMethodId,
{ relations: ["tax_lines", "adjustments"] },
sharedContext
@@ -243,7 +243,7 @@ async function processReturnShipping(
let returnShippingMethodId
if (!isString(data.return_shipping)) {
const methods = await service.createShippingMethods(
const methods = await service.createOrderShippingMethods(
[
{
...data.return_shipping,
@@ -259,7 +259,7 @@ async function processReturnShipping(
returnShippingMethodId = data.return_shipping
}
const method = await service.retrieveShippingMethod(
const method = await service.retrieveOrderShippingMethod(
returnShippingMethodId,
{ relations: ["tax_lines", "adjustments"] },
sharedContext

View File

@@ -121,7 +121,7 @@ async function processAdditionalItems(
}
})
const createItems = await service.lineItemService_.create(
const createItems = await service.orderLineItemService_.create(
itemsToAdd,
sharedContext
)
@@ -161,7 +161,7 @@ async function processShippingMethods(
let shippingMethodId
if (!isString(shippingMethod)) {
const methods = await service.createShippingMethods(
const methods = await service.createOrderShippingMethods(
[
{
...shippingMethod,
@@ -176,7 +176,7 @@ async function processShippingMethods(
shippingMethodId = shippingMethod
}
const method = await service.retrieveShippingMethod(
const method = await service.retrieveOrderShippingMethod(
shippingMethodId,
{ relations: ["tax_lines", "adjustments"] },
sharedContext
@@ -207,7 +207,7 @@ async function processReturnShipping(
let returnShippingMethodId
if (!isString(data.return_shipping)) {
const methods = await service.createShippingMethods(
const methods = await service.createOrderShippingMethods(
[
{
...data.return_shipping,
@@ -223,7 +223,7 @@ async function processReturnShipping(
returnShippingMethodId = data.return_shipping
}
const method = await service.retrieveShippingMethod(
const method = await service.retrieveOrderShippingMethod(
returnShippingMethodId,
{ relations: ["tax_lines", "adjustments"] },
sharedContext

View File

@@ -64,7 +64,7 @@ async function processShippingMethod(
}
if (!isString(data.shipping_method)) {
const methods = await service.createShippingMethods(
const methods = await service.createOrderShippingMethods(
[
{
...data.shipping_method,
@@ -79,7 +79,7 @@ async function processShippingMethod(
shippingMethodId = data.shipping_method
}
const method = await service.retrieveShippingMethod(
const method = await service.retrieveOrderShippingMethod(
shippingMethodId,
{ relations: ["tax_lines", "adjustments"] },
sharedContext

File diff suppressed because it is too large Load Diff