@medusajs/order 0.1.3-snapshot-20240718073308 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +8 -6
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/dist/joiner-config.d.ts +5 -0
- package/dist/joiner-config.js +36 -0
- package/dist/joiner-config.js.map +1 -0
- package/dist/migrations/Migration20240219102530.d.ts +0 -1
- package/dist/migrations/Migration20240219102530.js +4 -38
- package/dist/migrations/Migration20240219102530.js.map +1 -1
- package/dist/models/address.d.ts +1 -2
- package/dist/models/adjustment-line.d.ts +1 -3
- package/dist/models/adjustment-line.js +0 -5
- package/dist/models/adjustment-line.js.map +1 -1
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +1 -17
- package/dist/models/index.js.map +1 -1
- package/dist/models/line-item-adjustment.d.ts +1 -3
- package/dist/models/line-item-adjustment.js +3 -3
- package/dist/models/line-item-adjustment.js.map +1 -1
- package/dist/models/line-item-tax-line.d.ts +1 -3
- package/dist/models/line-item-tax-line.js +3 -3
- package/dist/models/line-item-tax-line.js.map +1 -1
- package/dist/models/line-item.d.ts +1 -3
- package/dist/models/line-item.js +4 -18
- package/dist/models/line-item.js.map +1 -1
- package/dist/models/order-change-action.d.ts +4 -15
- package/dist/models/order-change-action.js +7 -102
- package/dist/models/order-change-action.js.map +1 -1
- package/dist/models/order-change.d.ts +5 -17
- package/dist/models/order-change.js +4 -109
- package/dist/models/order-change.js.map +1 -1
- package/dist/models/order-item.d.ts +4 -5
- package/dist/models/order-item.js +13 -13
- package/dist/models/order-item.js.map +1 -1
- package/dist/models/order-shipping-method.d.ts +4 -14
- package/dist/models/order-shipping-method.js +13 -89
- package/dist/models/order-shipping-method.js.map +1 -1
- package/dist/models/order-summary.d.ts +2 -6
- package/dist/models/order-summary.js +6 -9
- package/dist/models/order-summary.js.map +1 -1
- package/dist/models/order.d.ts +4 -6
- package/dist/models/order.js +1 -11
- package/dist/models/order.js.map +1 -1
- package/dist/models/shipping-method-adjustment.d.ts +1 -3
- package/dist/models/shipping-method-adjustment.js +3 -3
- package/dist/models/shipping-method-adjustment.js.map +1 -1
- package/dist/models/shipping-method-tax-line.d.ts +1 -3
- package/dist/models/shipping-method-tax-line.js +3 -3
- package/dist/models/shipping-method-tax-line.js.map +1 -1
- package/dist/models/shipping-method.d.ts +0 -2
- package/dist/models/shipping-method.js +4 -17
- package/dist/models/shipping-method.js.map +1 -1
- package/dist/models/tax-line.d.ts +0 -2
- package/dist/models/tax-line.js +0 -7
- package/dist/models/tax-line.js.map +1 -1
- package/dist/models/transaction.d.ts +3 -15
- package/dist/models/transaction.js +4 -109
- package/dist/models/transaction.js.map +1 -1
- package/dist/module-definition.d.ts +2 -0
- package/dist/module-definition.js +59 -0
- package/dist/module-definition.js.map +1 -0
- package/dist/repositories/index.d.ts +1 -4
- package/dist/repositories/index.js +16 -7
- package/dist/repositories/index.js.map +1 -1
- package/dist/repositories/order.d.ts +3 -1
- package/dist/repositories/order.js +85 -2
- package/dist/repositories/order.js.map +1 -1
- package/dist/scripts/bin/run-seed.d.ts +3 -0
- package/dist/scripts/bin/run-seed.js +49 -0
- package/dist/scripts/bin/run-seed.js.map +1 -0
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +3 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/order-change-service.d.ts +15 -0
- package/dist/services/order-change-service.js +96 -0
- package/dist/services/order-change-service.js.map +1 -0
- package/dist/services/order-module-service.d.ts +67 -138
- package/dist/services/order-module-service.js +240 -990
- package/dist/services/order-module-service.js.map +1 -1
- package/dist/services/order-service.d.ts +4 -5
- package/dist/services/order-service.js +1 -1
- package/dist/services/order-service.js.map +1 -1
- package/dist/types/address.d.ts +0 -1
- package/dist/types/index.d.ts +1 -3
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/line-item-adjustment.d.ts +0 -1
- package/dist/types/line-item-tax-line.d.ts +0 -1
- package/dist/types/line-item.d.ts +0 -1
- package/dist/types/order-detail.d.ts +1 -2
- package/dist/types/order.d.ts +2 -3
- package/dist/types/shipping-method-adjustment.d.ts +0 -1
- package/dist/types/shipping-method-tax-line.d.ts +0 -1
- package/dist/types/shipping-method.d.ts +0 -4
- package/dist/types/tax-line.d.ts +0 -1
- package/dist/types/transaction.d.ts +0 -1
- package/dist/types/utils/index.d.ts +11 -43
- package/dist/types/utils/index.js.map +1 -1
- package/dist/utils/action-key.d.ts +13 -0
- package/dist/utils/action-key.js +18 -0
- package/dist/utils/action-key.js.map +1 -0
- package/dist/utils/actions/cancel-return.d.ts +0 -1
- package/dist/utils/actions/cancel-return.js +6 -7
- package/dist/utils/actions/cancel-return.js.map +1 -1
- package/dist/utils/actions/cancel.d.ts +0 -1
- package/dist/utils/actions/cancel.js +2 -2
- package/dist/utils/actions/cancel.js.map +1 -1
- package/dist/utils/actions/fulfill-item.d.ts +0 -1
- package/dist/utils/actions/fulfill-item.js +6 -7
- package/dist/utils/actions/fulfill-item.js.map +1 -1
- package/dist/utils/actions/index.d.ts +0 -4
- package/dist/utils/actions/index.js +0 -3
- package/dist/utils/actions/index.js.map +1 -1
- package/dist/utils/actions/item-add.d.ts +0 -1
- package/dist/utils/actions/item-add.js +14 -17
- package/dist/utils/actions/item-add.js.map +1 -1
- package/dist/utils/actions/item-remove.d.ts +0 -1
- package/dist/utils/actions/item-remove.js +10 -11
- package/dist/utils/actions/item-remove.js.map +1 -1
- package/dist/utils/actions/receive-damaged-return-item.d.ts +0 -1
- package/dist/utils/actions/receive-damaged-return-item.js +7 -8
- package/dist/utils/actions/receive-damaged-return-item.js.map +1 -1
- package/dist/utils/actions/receive-return-item.d.ts +0 -1
- package/dist/utils/actions/receive-return-item.js +7 -8
- package/dist/utils/actions/receive-return-item.js.map +1 -1
- package/dist/utils/actions/return-item.d.ts +0 -1
- package/dist/utils/actions/return-item.js +8 -9
- package/dist/utils/actions/return-item.js.map +1 -1
- package/dist/utils/actions/ship-item.d.ts +0 -1
- package/dist/utils/actions/ship-item.js +6 -7
- package/dist/utils/actions/ship-item.js.map +1 -1
- package/dist/utils/actions/shipping-add.d.ts +0 -1
- package/dist/utils/actions/shipping-add.js +7 -16
- package/dist/utils/actions/shipping-add.js.map +1 -1
- package/dist/utils/actions/write-off-item.d.ts +0 -1
- package/dist/utils/actions/write-off-item.js +6 -7
- package/dist/utils/actions/write-off-item.js.map +1 -1
- package/dist/utils/calculate-order-change.d.ts +2 -11
- package/dist/utils/calculate-order-change.js +70 -68
- package/dist/utils/calculate-order-change.js.map +1 -1
- package/dist/utils/index.d.ts +1 -4
- package/dist/utils/index.js +1 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/transform-order.d.ts +2 -4
- package/dist/utils/transform-order.js +17 -131
- package/dist/utils/transform-order.js.map +1 -1
- package/package.json +14 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/migrations/Migration20240219102530.d.ts.map +0 -1
- package/dist/migrations/Migration20240604100512.d.ts +0 -5
- package/dist/migrations/Migration20240604100512.d.ts.map +0 -1
- package/dist/migrations/Migration20240604100512.js +0 -364
- package/dist/migrations/Migration20240604100512.js.map +0 -1
- package/dist/migrations/Migration20240715102100.d.ts +0 -5
- package/dist/migrations/Migration20240715102100.d.ts.map +0 -1
- package/dist/migrations/Migration20240715102100.js +0 -15
- package/dist/migrations/Migration20240715102100.js.map +0 -1
- package/dist/migrations/Migration20240715174100.d.ts +0 -5
- package/dist/migrations/Migration20240715174100.d.ts.map +0 -1
- package/dist/migrations/Migration20240715174100.js +0 -21
- package/dist/migrations/Migration20240715174100.js.map +0 -1
- package/dist/migrations/Migration20240716081800.d.ts +0 -5
- package/dist/migrations/Migration20240716081800.d.ts.map +0 -1
- package/dist/migrations/Migration20240716081800.js +0 -67
- package/dist/migrations/Migration20240716081800.js.map +0 -1
- package/dist/models/address.d.ts.map +0 -1
- package/dist/models/adjustment-line.d.ts.map +0 -1
- package/dist/models/claim-item-image.d.ts +0 -19
- package/dist/models/claim-item-image.d.ts.map +0 -1
- package/dist/models/claim-item-image.js +0 -109
- package/dist/models/claim-item-image.js.map +0 -1
- package/dist/models/claim-item.d.ts +0 -29
- package/dist/models/claim-item.d.ts.map +0 -1
- package/dist/models/claim-item.js +0 -156
- package/dist/models/claim-item.js.map +0 -1
- package/dist/models/claim.d.ts +0 -36
- package/dist/models/claim.d.ts.map +0 -1
- package/dist/models/claim.js +0 -195
- package/dist/models/claim.js.map +0 -1
- package/dist/models/exchange-item.d.ts +0 -24
- package/dist/models/exchange-item.d.ts.map +0 -1
- package/dist/models/exchange-item.js +0 -138
- package/dist/models/exchange-item.js.map +0 -1
- package/dist/models/exchange.d.ts +0 -34
- package/dist/models/exchange.d.ts.map +0 -1
- package/dist/models/exchange.js +0 -188
- package/dist/models/exchange.js.map +0 -1
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/line-item-adjustment.d.ts.map +0 -1
- package/dist/models/line-item-tax-line.d.ts.map +0 -1
- package/dist/models/line-item.d.ts.map +0 -1
- package/dist/models/order-change-action.d.ts.map +0 -1
- package/dist/models/order-change.d.ts.map +0 -1
- package/dist/models/order-item.d.ts.map +0 -1
- package/dist/models/order-shipping-method.d.ts.map +0 -1
- package/dist/models/order-summary.d.ts.map +0 -1
- package/dist/models/order.d.ts.map +0 -1
- package/dist/models/return-item.d.ts +0 -29
- package/dist/models/return-item.d.ts.map +0 -1
- package/dist/models/return-item.js +0 -170
- package/dist/models/return-item.js.map +0 -1
- package/dist/models/return-reason.d.ts +0 -21
- package/dist/models/return-reason.d.ts.map +0 -1
- package/dist/models/return-reason.js +0 -120
- package/dist/models/return-reason.js.map +0 -1
- package/dist/models/return.d.ts +0 -39
- package/dist/models/return.d.ts.map +0 -1
- package/dist/models/return.js +0 -216
- package/dist/models/return.js.map +0 -1
- package/dist/models/shipping-method-adjustment.d.ts.map +0 -1
- package/dist/models/shipping-method-tax-line.d.ts.map +0 -1
- package/dist/models/shipping-method.d.ts.map +0 -1
- package/dist/models/tax-line.d.ts.map +0 -1
- package/dist/models/transaction.d.ts.map +0 -1
- package/dist/repositories/claim.d.ts +0 -9
- package/dist/repositories/claim.d.ts.map +0 -1
- package/dist/repositories/claim.js +0 -11
- package/dist/repositories/claim.js.map +0 -1
- package/dist/repositories/exchange.d.ts +0 -9
- package/dist/repositories/exchange.d.ts.map +0 -1
- package/dist/repositories/exchange.js +0 -11
- package/dist/repositories/exchange.js.map +0 -1
- package/dist/repositories/index.d.ts.map +0 -1
- package/dist/repositories/order.d.ts.map +0 -1
- package/dist/repositories/return.d.ts +0 -9
- package/dist/repositories/return.d.ts.map +0 -1
- package/dist/repositories/return.js +0 -11
- package/dist/repositories/return.js.map +0 -1
- package/dist/services/actions/cancel-claim.d.ts +0 -3
- package/dist/services/actions/cancel-claim.d.ts.map +0 -1
- package/dist/services/actions/cancel-claim.js +0 -107
- package/dist/services/actions/cancel-claim.js.map +0 -1
- package/dist/services/actions/cancel-exchange.d.ts +0 -3
- package/dist/services/actions/cancel-exchange.d.ts.map +0 -1
- package/dist/services/actions/cancel-exchange.js +0 -92
- package/dist/services/actions/cancel-exchange.js.map +0 -1
- package/dist/services/actions/cancel-fulfillment.d.ts +0 -3
- package/dist/services/actions/cancel-fulfillment.d.ts.map +0 -1
- package/dist/services/actions/cancel-fulfillment.js +0 -32
- package/dist/services/actions/cancel-fulfillment.js.map +0 -1
- package/dist/services/actions/cancel-return.d.ts +0 -3
- package/dist/services/actions/cancel-return.d.ts.map +0 -1
- package/dist/services/actions/cancel-return.js +0 -72
- package/dist/services/actions/cancel-return.js.map +0 -1
- package/dist/services/actions/create-claim.d.ts +0 -3
- package/dist/services/actions/create-claim.d.ts.map +0 -1
- package/dist/services/actions/create-claim.js +0 -228
- package/dist/services/actions/create-claim.js.map +0 -1
- package/dist/services/actions/create-exchange.d.ts +0 -3
- package/dist/services/actions/create-exchange.d.ts.map +0 -1
- package/dist/services/actions/create-exchange.js +0 -193
- package/dist/services/actions/create-exchange.js.map +0 -1
- package/dist/services/actions/create-return.d.ts +0 -3
- package/dist/services/actions/create-return.d.ts.map +0 -1
- package/dist/services/actions/create-return.js +0 -102
- package/dist/services/actions/create-return.js.map +0 -1
- package/dist/services/actions/index.d.ts +0 -11
- package/dist/services/actions/index.d.ts.map +0 -1
- package/dist/services/actions/index.js +0 -27
- package/dist/services/actions/index.js.map +0 -1
- package/dist/services/actions/receive-return.d.ts +0 -3
- package/dist/services/actions/receive-return.d.ts.map +0 -1
- package/dist/services/actions/receive-return.js +0 -73
- package/dist/services/actions/receive-return.js.map +0 -1
- package/dist/services/actions/register-fulfillment.d.ts +0 -3
- package/dist/services/actions/register-fulfillment.d.ts.map +0 -1
- package/dist/services/actions/register-fulfillment.js +0 -30
- package/dist/services/actions/register-fulfillment.js.map +0 -1
- package/dist/services/actions/register-shipment.d.ts +0 -3
- package/dist/services/actions/register-shipment.d.ts.map +0 -1
- package/dist/services/actions/register-shipment.js +0 -38
- package/dist/services/actions/register-shipment.js.map +0 -1
- package/dist/services/index.d.ts.map +0 -1
- package/dist/services/order-module-service.d.ts.map +0 -1
- package/dist/services/order-service.d.ts.map +0 -1
- package/dist/types/address.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/line-item-adjustment.d.ts.map +0 -1
- package/dist/types/line-item-tax-line.d.ts.map +0 -1
- package/dist/types/line-item.d.ts.map +0 -1
- package/dist/types/order-change.d.ts +0 -6
- package/dist/types/order-change.d.ts.map +0 -1
- package/dist/types/order-change.js +0 -3
- package/dist/types/order-change.js.map +0 -1
- package/dist/types/order-detail.d.ts.map +0 -1
- package/dist/types/order.d.ts.map +0 -1
- package/dist/types/shipping-method-adjustment.d.ts.map +0 -1
- package/dist/types/shipping-method-tax-line.d.ts.map +0 -1
- package/dist/types/shipping-method.d.ts.map +0 -1
- package/dist/types/tax-line.d.ts.map +0 -1
- package/dist/types/transaction.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/utils/actions/cancel-item-fulfillment.d.ts +0 -2
- package/dist/utils/actions/cancel-item-fulfillment.d.ts.map +0 -1
- package/dist/utils/actions/cancel-item-fulfillment.js +0 -39
- package/dist/utils/actions/cancel-item-fulfillment.js.map +0 -1
- package/dist/utils/actions/cancel-return.d.ts.map +0 -1
- package/dist/utils/actions/cancel.d.ts.map +0 -1
- package/dist/utils/actions/fulfill-item.d.ts.map +0 -1
- package/dist/utils/actions/index.d.ts.map +0 -1
- package/dist/utils/actions/item-add.d.ts.map +0 -1
- package/dist/utils/actions/item-remove.d.ts.map +0 -1
- package/dist/utils/actions/receive-damaged-return-item.d.ts.map +0 -1
- package/dist/utils/actions/receive-return-item.d.ts.map +0 -1
- package/dist/utils/actions/reinstate-item.d.ts +0 -2
- package/dist/utils/actions/reinstate-item.d.ts.map +0 -1
- package/dist/utils/actions/reinstate-item.js +0 -37
- package/dist/utils/actions/reinstate-item.js.map +0 -1
- package/dist/utils/actions/return-item.d.ts.map +0 -1
- package/dist/utils/actions/ship-item.d.ts.map +0 -1
- package/dist/utils/actions/shipping-add.d.ts.map +0 -1
- package/dist/utils/actions/shipping-remove.d.ts +0 -2
- package/dist/utils/actions/shipping-remove.d.ts.map +0 -1
- package/dist/utils/actions/shipping-remove.js +0 -41
- package/dist/utils/actions/shipping-remove.js.map +0 -1
- package/dist/utils/actions/write-off-item.d.ts.map +0 -1
- package/dist/utils/apply-order-changes.d.ts +0 -18
- package/dist/utils/apply-order-changes.d.ts.map +0 -1
- package/dist/utils/apply-order-changes.js +0 -95
- package/dist/utils/apply-order-changes.js.map +0 -1
- package/dist/utils/base-repository-find.d.ts +0 -3
- package/dist/utils/base-repository-find.d.ts.map +0 -1
- package/dist/utils/base-repository-find.js +0 -142
- package/dist/utils/base-repository-find.js.map +0 -1
- package/dist/utils/calculate-order-change.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/set-action-reference.d.ts +0 -3
- package/dist/utils/set-action-reference.d.ts.map +0 -1
- package/dist/utils/set-action-reference.js +0 -17
- package/dist/utils/set-action-reference.js.map +0 -1
- package/dist/utils/transform-order.d.ts.map +0 -1
@@ -1,33 +1,27 @@
|
|
1
|
-
import { Context, DAL, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModulesSdkTypes, OrderDTO, OrderTypes
|
2
|
-
import {
|
3
|
-
import {
|
1
|
+
import { Context, DAL, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModuleJoinerConfig, ModulesSdkTypes, OrderDTO, OrderTypes } from "@medusajs/types";
|
2
|
+
import { ModulesSdkUtils } from "@medusajs/utils";
|
3
|
+
import { Address, LineItem, LineItemAdjustment, LineItemTaxLine, Order, OrderChange, OrderChangeAction, OrderItem, OrderShippingMethod, OrderSummary, ShippingMethod, ShippingMethodAdjustment, ShippingMethodTaxLine, Transaction } from "../models";
|
4
|
+
import { CreateOrderLineItemDTO, CreateOrderShippingMethodDTO } from "../types";
|
5
|
+
import OrderChangeService from "./order-change-service";
|
4
6
|
import OrderService from "./order-service";
|
5
7
|
type InjectedDependencies = {
|
6
8
|
baseRepository: DAL.RepositoryService;
|
7
|
-
orderService: OrderService
|
8
|
-
addressService: ModulesSdkTypes.
|
9
|
-
lineItemService: ModulesSdkTypes.
|
10
|
-
shippingMethodAdjustmentService: ModulesSdkTypes.
|
11
|
-
shippingMethodService: ModulesSdkTypes.
|
12
|
-
lineItemAdjustmentService: ModulesSdkTypes.
|
13
|
-
lineItemTaxLineService: ModulesSdkTypes.
|
14
|
-
shippingMethodTaxLineService: ModulesSdkTypes.
|
15
|
-
transactionService: ModulesSdkTypes.
|
16
|
-
orderChangeService:
|
17
|
-
orderChangeActionService: ModulesSdkTypes.
|
18
|
-
orderItemService: ModulesSdkTypes.
|
19
|
-
orderSummaryService: ModulesSdkTypes.
|
20
|
-
orderShippingMethodService: ModulesSdkTypes.
|
21
|
-
returnReasonService: ModulesSdkTypes.IMedusaInternalService<any>;
|
22
|
-
returnService: ModulesSdkTypes.IMedusaInternalService<any>;
|
23
|
-
returnItemService: ModulesSdkTypes.IMedusaInternalService<any>;
|
24
|
-
orderClaimService: ModulesSdkTypes.IMedusaInternalService<any>;
|
25
|
-
orderExchangeService: ModulesSdkTypes.IMedusaInternalService<any>;
|
9
|
+
orderService: OrderService<any>;
|
10
|
+
addressService: ModulesSdkTypes.InternalModuleService<any>;
|
11
|
+
lineItemService: ModulesSdkTypes.InternalModuleService<any>;
|
12
|
+
shippingMethodAdjustmentService: ModulesSdkTypes.InternalModuleService<any>;
|
13
|
+
shippingMethodService: ModulesSdkTypes.InternalModuleService<any>;
|
14
|
+
lineItemAdjustmentService: ModulesSdkTypes.InternalModuleService<any>;
|
15
|
+
lineItemTaxLineService: ModulesSdkTypes.InternalModuleService<any>;
|
16
|
+
shippingMethodTaxLineService: ModulesSdkTypes.InternalModuleService<any>;
|
17
|
+
transactionService: ModulesSdkTypes.InternalModuleService<any>;
|
18
|
+
orderChangeService: OrderChangeService<any>;
|
19
|
+
orderChangeActionService: ModulesSdkTypes.InternalModuleService<any>;
|
20
|
+
orderItemService: ModulesSdkTypes.InternalModuleService<any>;
|
21
|
+
orderSummaryService: ModulesSdkTypes.InternalModuleService<any>;
|
22
|
+
orderShippingMethodService: ModulesSdkTypes.InternalModuleService<any>;
|
26
23
|
};
|
27
|
-
declare const OrderModuleService_base:
|
28
|
-
Order: {
|
29
|
-
dto: OrderTypes.OrderDTO;
|
30
|
-
};
|
24
|
+
declare const OrderModuleService_base: new (container: InjectedDependencies) => ModulesSdkUtils.AbstractModuleService<InjectedDependencies, OrderDTO, {
|
31
25
|
Address: {
|
32
26
|
dto: OrderTypes.OrderAddressDTO;
|
33
27
|
};
|
@@ -49,6 +43,9 @@ declare const OrderModuleService_base: import("@medusajs/utils/dist/modules-sdk/
|
|
49
43
|
ShippingMethodTaxLine: {
|
50
44
|
dto: OrderTypes.OrderShippingMethodTaxLineDTO;
|
51
45
|
};
|
46
|
+
Transaction: {
|
47
|
+
dto: OrderTypes.OrderTransactionDTO;
|
48
|
+
};
|
52
49
|
OrderChange: {
|
53
50
|
dto: OrderTypes.OrderChangeDTO;
|
54
51
|
};
|
@@ -58,75 +55,44 @@ declare const OrderModuleService_base: import("@medusajs/utils/dist/modules-sdk/
|
|
58
55
|
OrderItem: {
|
59
56
|
dto: OrderTypes.OrderItemDTO;
|
60
57
|
};
|
61
|
-
OrderShippingMethod: {
|
62
|
-
dto: OrderShippingMethod;
|
63
|
-
};
|
64
|
-
ReturnReason: {
|
65
|
-
dto: OrderTypes.OrderReturnReasonDTO;
|
66
|
-
};
|
67
58
|
OrderSummary: {
|
68
59
|
dto: OrderTypes.OrderSummaryDTO;
|
69
60
|
};
|
70
|
-
|
71
|
-
dto:
|
72
|
-
};
|
73
|
-
Return: {
|
74
|
-
dto: any;
|
75
|
-
};
|
76
|
-
ReturnItem: {
|
77
|
-
dto: any;
|
78
|
-
};
|
79
|
-
OrderClaim: {
|
80
|
-
dto: any;
|
81
|
-
};
|
82
|
-
OrderExchange: {
|
83
|
-
dto: any;
|
61
|
+
OrderShippingMethod: {
|
62
|
+
dto: OrderShippingMethod;
|
84
63
|
};
|
85
64
|
}>;
|
86
|
-
export default class OrderModuleService<TOrder extends Order = Order, TAddress extends Address = Address, TLineItem extends LineItem = LineItem, TLineItemAdjustment extends LineItemAdjustment = LineItemAdjustment, TLineItemTaxLine extends LineItemTaxLine = LineItemTaxLine, TShippingMethodAdjustment extends ShippingMethodAdjustment = ShippingMethodAdjustment, TShippingMethodTaxLine extends ShippingMethodTaxLine = ShippingMethodTaxLine, TShippingMethod extends ShippingMethod = ShippingMethod, TTransaction extends Transaction = Transaction, TOrderChange extends OrderChange = OrderChange, TOrderChangeAction extends OrderChangeAction = OrderChangeAction, TOrderItem extends OrderItem = OrderItem, TOrderSummary extends OrderSummary = OrderSummary, TOrderShippingMethod extends OrderShippingMethod = OrderShippingMethod
|
65
|
+
export default class OrderModuleService<TOrder extends Order = Order, TAddress extends Address = Address, TLineItem extends LineItem = LineItem, TLineItemAdjustment extends LineItemAdjustment = LineItemAdjustment, TLineItemTaxLine extends LineItemTaxLine = LineItemTaxLine, TShippingMethodAdjustment extends ShippingMethodAdjustment = ShippingMethodAdjustment, TShippingMethodTaxLine extends ShippingMethodTaxLine = ShippingMethodTaxLine, TShippingMethod extends ShippingMethod = ShippingMethod, TTransaction extends Transaction = Transaction, TOrderChange extends OrderChange = OrderChange, TOrderChangeAction extends OrderChangeAction = OrderChangeAction, TOrderItem extends OrderItem = OrderItem, TOrderSummary extends OrderSummary = OrderSummary, TOrderShippingMethod extends OrderShippingMethod = OrderShippingMethod> extends OrderModuleService_base implements IOrderModuleService {
|
87
66
|
protected readonly moduleDeclaration: InternalModuleDeclaration;
|
88
67
|
protected baseRepository_: DAL.RepositoryService;
|
89
|
-
protected orderService_: OrderService
|
90
|
-
protected addressService_: ModulesSdkTypes.
|
91
|
-
protected lineItemService_: ModulesSdkTypes.
|
92
|
-
protected shippingMethodAdjustmentService_: ModulesSdkTypes.
|
93
|
-
protected shippingMethodService_: ModulesSdkTypes.
|
94
|
-
protected lineItemAdjustmentService_: ModulesSdkTypes.
|
95
|
-
protected lineItemTaxLineService_: ModulesSdkTypes.
|
96
|
-
protected shippingMethodTaxLineService_: ModulesSdkTypes.
|
97
|
-
protected transactionService_: ModulesSdkTypes.
|
98
|
-
protected orderChangeService_:
|
99
|
-
protected orderChangeActionService_: ModulesSdkTypes.
|
100
|
-
protected orderItemService_: ModulesSdkTypes.
|
101
|
-
protected orderSummaryService_: ModulesSdkTypes.
|
102
|
-
protected orderShippingMethodService_: ModulesSdkTypes.
|
103
|
-
|
104
|
-
|
105
|
-
protected returnItemService_: ModulesSdkTypes.IMedusaInternalService<TReturnItem>;
|
106
|
-
protected orderClaimService_: ModulesSdkTypes.IMedusaInternalService<TClaim>;
|
107
|
-
protected orderExchangeService_: ModulesSdkTypes.IMedusaInternalService<TExchange>;
|
108
|
-
constructor({ baseRepository, orderService, addressService, lineItemService, shippingMethodAdjustmentService, shippingMethodService, lineItemAdjustmentService, shippingMethodTaxLineService, lineItemTaxLineService, transactionService, orderChangeService, orderChangeActionService, orderItemService, orderSummaryService, orderShippingMethodService, returnReasonService, returnService, returnItemService, orderClaimService, orderExchangeService, }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration);
|
68
|
+
protected orderService_: OrderService<TOrder>;
|
69
|
+
protected addressService_: ModulesSdkTypes.InternalModuleService<TAddress>;
|
70
|
+
protected lineItemService_: ModulesSdkTypes.InternalModuleService<TLineItem>;
|
71
|
+
protected shippingMethodAdjustmentService_: ModulesSdkTypes.InternalModuleService<TShippingMethodAdjustment>;
|
72
|
+
protected shippingMethodService_: ModulesSdkTypes.InternalModuleService<TShippingMethod>;
|
73
|
+
protected lineItemAdjustmentService_: ModulesSdkTypes.InternalModuleService<TLineItemAdjustment>;
|
74
|
+
protected lineItemTaxLineService_: ModulesSdkTypes.InternalModuleService<TLineItemTaxLine>;
|
75
|
+
protected shippingMethodTaxLineService_: ModulesSdkTypes.InternalModuleService<TShippingMethodTaxLine>;
|
76
|
+
protected transactionService_: ModulesSdkTypes.InternalModuleService<TTransaction>;
|
77
|
+
protected orderChangeService_: OrderChangeService<TOrderChange>;
|
78
|
+
protected orderChangeActionService_: ModulesSdkTypes.InternalModuleService<TOrderChangeAction>;
|
79
|
+
protected orderItemService_: ModulesSdkTypes.InternalModuleService<TOrderItem>;
|
80
|
+
protected orderSummaryService_: ModulesSdkTypes.InternalModuleService<TOrderSummary>;
|
81
|
+
protected orderShippingMethodService_: ModulesSdkTypes.InternalModuleService<TOrderShippingMethod>;
|
82
|
+
constructor({ baseRepository, orderService, addressService, lineItemService, shippingMethodAdjustmentService, shippingMethodService, lineItemAdjustmentService, shippingMethodTaxLineService, lineItemTaxLineService, transactionService, orderChangeService, orderChangeActionService, orderItemService, orderSummaryService, orderShippingMethodService, }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration);
|
83
|
+
__joinerConfig(): ModuleJoinerConfig;
|
109
84
|
private shouldIncludeTotals;
|
110
85
|
private addRelationsToCalculateTotals;
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
listOrderExchanges(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderExchangeDTO[]>;
|
122
|
-
listAndCountOrderExchanges(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.OrderExchangeDTO[], number]>;
|
123
|
-
createOrders(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
124
|
-
createOrders(data: OrderTypes.CreateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
125
|
-
protected createOrders_(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<Order[]>;
|
126
|
-
updateOrders(data: OrderTypes.UpdateOrderDTO[]): Promise<OrderTypes.OrderDTO[]>;
|
127
|
-
updateOrders(orderId: string, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
128
|
-
updateOrders(selector: Partial<OrderTypes.FilterableOrderProps>, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
129
|
-
protected updateOrders_(dataOrIdOrSelector: OrderTypes.UpdateOrderDTO[] | string | Partial<OrderTypes.FilterableOrderProps>, data?: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<Order[]>;
|
86
|
+
retrieve(id: string, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderDTO>;
|
87
|
+
list(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderDTO[]>;
|
88
|
+
listAndCount(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.OrderDTO[], number]>;
|
89
|
+
create(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
90
|
+
create(data: OrderTypes.CreateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
91
|
+
protected create_(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<Order[]>;
|
92
|
+
update(data: OrderTypes.UpdateOrderDTO[]): Promise<OrderTypes.OrderDTO[]>;
|
93
|
+
update(orderId: string, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
94
|
+
update(selector: Partial<OrderTypes.FilterableOrderProps>, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
95
|
+
protected update_(dataOrIdOrSelector: OrderTypes.UpdateOrderDTO[] | string | Partial<OrderTypes.FilterableOrderProps>, data?: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<TOrder[]>;
|
130
96
|
createLineItems(data: OrderTypes.CreateOrderLineItemForOrderDTO): Promise<OrderTypes.OrderLineItemDTO[]>;
|
131
97
|
createLineItems(data: OrderTypes.CreateOrderLineItemForOrderDTO[]): Promise<OrderTypes.OrderLineItemDTO[]>;
|
132
98
|
createLineItems(orderId: string, items: OrderTypes.CreateOrderLineItemDTO[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO[]>;
|
@@ -143,10 +109,10 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
|
|
143
109
|
protected updateOrderItemWithSelector_(updates: OrderTypes.UpdateOrderItemWithSelectorDTO[], sharedContext?: Context): Promise<OrderItem[]>;
|
144
110
|
createAddresses(data: OrderTypes.CreateOrderAddressDTO, sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO>;
|
145
111
|
createAddresses(data: OrderTypes.CreateOrderAddressDTO[], sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO[]>;
|
146
|
-
protected createAddresses_(data: OrderTypes.CreateOrderAddressDTO[], sharedContext?: Context): Promise<
|
112
|
+
protected createAddresses_(data: OrderTypes.CreateOrderAddressDTO[], sharedContext?: Context): Promise<TAddress[]>;
|
147
113
|
updateAddresses(data: OrderTypes.UpdateOrderAddressDTO, sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO>;
|
148
114
|
updateAddresses(data: OrderTypes.UpdateOrderAddressDTO[], sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO[]>;
|
149
|
-
protected updateAddresses_(data: OrderTypes.UpdateOrderAddressDTO[], sharedContext?: Context): Promise<
|
115
|
+
protected updateAddresses_(data: OrderTypes.UpdateOrderAddressDTO[], sharedContext?: Context): Promise<TAddress[]>;
|
150
116
|
createShippingMethods(data: OrderTypes.CreateOrderShippingMethodDTO): Promise<OrderTypes.OrderShippingMethodDTO>;
|
151
117
|
createShippingMethods(data: OrderTypes.CreateOrderShippingMethodDTO[]): Promise<OrderTypes.OrderShippingMethodDTO[]>;
|
152
118
|
createShippingMethods(orderId: string, methods: OrderTypes.CreateOrderShippingMethodDTO[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodDTO[]>;
|
@@ -156,8 +122,6 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
|
|
156
122
|
order_id: string;
|
157
123
|
version: number;
|
158
124
|
}[], sharedContext?: Context): Promise<ShippingMethod[]>;
|
159
|
-
softDeleteShippingMethods<TReturnableLinkableKeys extends string>(ids: string | object | string[] | object[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
160
|
-
restoreShippingMethods<TReturnableLinkableKeys extends string>(transactionIds: string | object | string[] | object[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
161
125
|
createLineItemAdjustments(adjustments: OrderTypes.CreateOrderLineItemAdjustmentDTO[]): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
|
162
126
|
createLineItemAdjustments(adjustment: OrderTypes.CreateOrderLineItemAdjustmentDTO): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
|
163
127
|
createLineItemAdjustments(orderId: string, adjustments: OrderTypes.CreateOrderLineItemAdjustmentDTO[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
|
@@ -174,65 +138,30 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
|
|
174
138
|
createShippingMethodTaxLines(taxLine: OrderTypes.CreateOrderShippingMethodTaxLineDTO): Promise<OrderTypes.OrderShippingMethodTaxLineDTO>;
|
175
139
|
createShippingMethodTaxLines(orderId: string, taxLines: OrderTypes.CreateOrderShippingMethodTaxLineDTO[] | OrderTypes.CreateOrderShippingMethodTaxLineDTO, sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
|
176
140
|
setShippingMethodTaxLines(orderId: string, taxLines: (OrderTypes.CreateOrderShippingMethodTaxLineDTO | OrderTypes.UpdateOrderShippingMethodTaxLineDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
createOrderClaims(data: OrderTypes.CreateOrderClaimDTO[], sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO[]>;
|
181
|
-
createOrderExchanges(data: OrderTypes.CreateOrderExchangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO>;
|
182
|
-
createOrderExchanges(data: OrderTypes.CreateOrderExchangeDTO[], sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO[]>;
|
183
|
-
private createOrderRelatedEntity_;
|
184
|
-
createOrderChange(data: CreateOrderChangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO>;
|
185
|
-
createOrderChange(data: CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO[]>;
|
186
|
-
protected createOrderChange_(data: CreateOrderChangeDTO | CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderChange[]>;
|
187
|
-
previewOrderChange(orderId: string, sharedContext?: Context): Promise<any>;
|
141
|
+
createOrderChange(data: OrderTypes.CreateOrderChangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO>;
|
142
|
+
createOrderChange(data: OrderTypes.CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO[]>;
|
143
|
+
protected createOrderChange_(data: OrderTypes.CreateOrderChangeDTO | OrderTypes.CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderChange[]>;
|
188
144
|
cancelOrderChange(orderId: string, sharedContext?: Context): Promise<void>;
|
189
145
|
cancelOrderChange(orderId: string[], sharedContext?: Context): Promise<void>;
|
190
146
|
cancelOrderChange(data: OrderTypes.CancelOrderChangeDTO, sharedContext?: Context): Promise<void>;
|
191
147
|
cancelOrderChange(data: OrderTypes.CancelOrderChangeDTO[], sharedContext?: Context): Promise<void>;
|
192
|
-
confirmOrderChange(orderChangeId: string, sharedContext?: Context):
|
193
|
-
confirmOrderChange(orderChangeId: string[], sharedContext?: Context):
|
194
|
-
confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO, sharedContext?: Context):
|
195
|
-
confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO[], sharedContext?: Context):
|
196
|
-
declineOrderChange(orderChangeId: string, sharedContext?: Context):
|
197
|
-
declineOrderChange(orderChangeId: string[], sharedContext?: Context):
|
198
|
-
declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO, sharedContext?: Context):
|
199
|
-
declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO[], sharedContext?: Context):
|
200
|
-
applyPendingOrderActions(orderId: string | string[], sharedContext?: Context): Promise<
|
148
|
+
confirmOrderChange(orderChangeId: string, sharedContext?: Context): Promise<void>;
|
149
|
+
confirmOrderChange(orderChangeId: string[], sharedContext?: Context): Promise<void>;
|
150
|
+
confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO, sharedContext?: Context): Promise<void>;
|
151
|
+
confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO[], sharedContext?: Context): Promise<void>;
|
152
|
+
declineOrderChange(orderChangeId: string, sharedContext?: Context): Promise<void>;
|
153
|
+
declineOrderChange(orderChangeId: string[], sharedContext?: Context): Promise<void>;
|
154
|
+
declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO, sharedContext?: Context): Promise<void>;
|
155
|
+
declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO[], sharedContext?: Context): Promise<void>;
|
156
|
+
applyPendingOrderActions(orderId: string | string[], sharedContext?: Context): Promise<void>;
|
201
157
|
revertLastVersion(orderId: string, sharedContext?: Context): Promise<void>;
|
202
158
|
protected revertLastChange_(order: OrderDTO, sharedContext?: Context): Promise<void>;
|
203
|
-
private getActiveOrderChange_;
|
204
159
|
private getAndValidateOrderChange_;
|
205
160
|
addOrderAction(data: OrderTypes.CreateOrderChangeActionDTO, sharedContext?: Context): Promise<OrderTypes.OrderChangeActionDTO>;
|
206
161
|
addOrderAction(data: OrderTypes.CreateOrderChangeActionDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeActionDTO[]>;
|
207
162
|
private applyOrderChanges_;
|
208
|
-
addTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO, sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO>;
|
209
|
-
addTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO[], sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO[]>;
|
210
|
-
deleteTransactions(transactionIds: string | object | string[] | object[], sharedContext?: Context): Promise<void>;
|
211
|
-
softDeleteTransactions<TReturnableLinkableKeys extends string>(transactionIds: string | object | string[] | object[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
212
|
-
restoreTransactions<TReturnableLinkableKeys extends string>(transactionIds: string | object | string[] | object[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
213
|
-
private updateOrderPaidRefundableAmount_;
|
214
|
-
archive(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
215
|
-
archive(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
216
|
-
completeOrder(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
217
|
-
completeOrder(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
218
|
-
cancel(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
219
|
-
cancel(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
220
|
-
createReturn(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
|
221
|
-
receiveReturn(data: OrderTypes.ReceiveOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
|
222
|
-
private receiveReturn_;
|
223
|
-
cancelReturn(data: OrderTypes.CancelOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
|
224
|
-
private cancelReturn_;
|
225
|
-
createClaim(data: OrderTypes.CreateOrderClaimDTO, sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO>;
|
226
|
-
createClaim_(data: OrderTypes.CreateOrderClaimDTO, sharedContext?: Context): Promise<any>;
|
227
|
-
cancelClaim(data: OrderTypes.CancelOrderClaimDTO, sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO>;
|
228
|
-
private cancelClaim_;
|
229
|
-
createExchange(data: OrderTypes.CreateOrderExchangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO>;
|
230
|
-
createExchange_(data: OrderTypes.CreateOrderExchangeDTO, sharedContext?: Context): Promise<any>;
|
231
|
-
cancelExchange(data: OrderTypes.CancelOrderExchangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO>;
|
232
|
-
private cancelExchange_;
|
233
163
|
registerFulfillment(data: OrderTypes.RegisterOrderFulfillmentDTO, sharedContext?: Context): Promise<void>;
|
234
|
-
cancelFulfillment(data: OrderTypes.CancelOrderFulfillmentDTO, sharedContext?: Context): Promise<void>;
|
235
164
|
registerShipment(data: OrderTypes.RegisterOrderShipmentDTO, sharedContext?: Context): Promise<void>;
|
165
|
+
createReturn(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<void>;
|
236
166
|
}
|
237
167
|
export {};
|
238
|
-
//# sourceMappingURL=order-module-service.d.ts.map
|