@medusajs/types 1.12.0-preview-20240925125714 → 1.12.0-preview-20240930112011

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/dist/cart/workflows.d.ts +1 -0
  2. package/dist/cart/workflows.d.ts.map +1 -1
  3. package/dist/common/config-module.d.ts +2 -2
  4. package/dist/common/config-module.d.ts.map +1 -1
  5. package/dist/fulfillment/mutations/fulfillment.d.ts +5 -0
  6. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  7. package/dist/http/cart/store/entities.d.ts +14 -2
  8. package/dist/http/cart/store/entities.d.ts.map +1 -1
  9. package/dist/http/claim/admin/entities.d.ts +5 -0
  10. package/dist/http/claim/admin/entities.d.ts.map +1 -1
  11. package/dist/http/claim/admin/responses.d.ts +4 -3
  12. package/dist/http/claim/admin/responses.d.ts.map +1 -1
  13. package/dist/http/claim/common.d.ts +1 -1
  14. package/dist/http/exchange/admin/responses.d.ts +4 -3
  15. package/dist/http/exchange/admin/responses.d.ts.map +1 -1
  16. package/dist/http/order/admin/entities.d.ts +24 -12
  17. package/dist/http/order/admin/entities.d.ts.map +1 -1
  18. package/dist/http/order/admin/responses.d.ts +2 -3
  19. package/dist/http/order/admin/responses.d.ts.map +1 -1
  20. package/dist/http/order/common.d.ts +17 -50
  21. package/dist/http/order/common.d.ts.map +1 -1
  22. package/dist/http/order/store/entities.d.ts +19 -3
  23. package/dist/http/order/store/entities.d.ts.map +1 -1
  24. package/dist/http/order-edit/admin/responses.d.ts +3 -3
  25. package/dist/http/order-edit/admin/responses.d.ts.map +1 -1
  26. package/dist/http/payment/admin/entities.d.ts +7 -0
  27. package/dist/http/payment/admin/entities.d.ts.map +1 -1
  28. package/dist/http/payment/store/entities.d.ts +3 -0
  29. package/dist/http/payment/store/entities.d.ts.map +1 -1
  30. package/dist/http/product/admin/entitites.d.ts +8 -1
  31. package/dist/http/product/admin/entitites.d.ts.map +1 -1
  32. package/dist/http/product/store/entitites.d.ts +16 -4
  33. package/dist/http/product/store/entitites.d.ts.map +1 -1
  34. package/dist/http/product-category/store/entities.d.ts +3 -1
  35. package/dist/http/product-category/store/entities.d.ts.map +1 -1
  36. package/dist/http/promotion/admin/entities.d.ts +8 -1
  37. package/dist/http/promotion/admin/entities.d.ts.map +1 -1
  38. package/dist/http/return/admin/entities.d.ts +1 -0
  39. package/dist/http/return/admin/entities.d.ts.map +1 -1
  40. package/dist/http/return/store/entities.d.ts +4 -1
  41. package/dist/http/return/store/entities.d.ts.map +1 -1
  42. package/dist/http/return-reason/admin/payloads.d.ts +7 -4
  43. package/dist/http/return-reason/admin/payloads.d.ts.map +1 -1
  44. package/dist/http/tax-rate/admin/entities.d.ts +1 -1
  45. package/dist/http/tax-rate/admin/entities.d.ts.map +1 -1
  46. package/dist/http/tax-rate/admin/payloads.d.ts +2 -2
  47. package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -1
  48. package/dist/http/tax-region/admin/payloads.d.ts +1 -1
  49. package/dist/http/tax-region/admin/payloads.d.ts.map +1 -1
  50. package/dist/modules-sdk/index.d.ts +5 -0
  51. package/dist/modules-sdk/index.d.ts.map +1 -1
  52. package/dist/order/common.d.ts +335 -13
  53. package/dist/order/common.d.ts.map +1 -1
  54. package/dist/payment/common.d.ts +1 -1
  55. package/dist/payment/common.d.ts.map +1 -1
  56. package/dist/tsconfig.tsbuildinfo +1 -0
  57. package/package.json +18 -5
@@ -88,6 +88,7 @@ export interface CartWorkflowDTO extends CartDTO {
88
88
  }
89
89
  export interface ListShippingOptionsForCartWorkflowInputDTO {
90
90
  cart_id: string;
91
+ is_return: boolean;
91
92
  sales_channel_id?: string;
92
93
  currency_code: string;
93
94
  shipping_address: {
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/cart/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,oBA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;4BACd,EAAE,EAAE,MAAM,CAAA;yBACX,EAAE,CAAA;qBACJ,EAAE,CAAA;iBACJ,CAAA;aACF,EAAE,CAAA;SACJ,EAAE,CAAA;KACJ,EAAE,CAAA;IACH,KAAK,EAAE;QACL,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC1B,QAAQ,EAAE,cAAc,CAAA;QACxB,EAAE,CAAC,EAAE,MAAM,CAAA;KACZ,EAAE,CAAA;IACH,aAAa,CAAC,EAAE;QACd,IAAI,EAAE;YACJ,UAAU,CAAC,EAAE,MAAM,CAAA;YACnB,QAAQ,CAAC,EAAE,cAAc,CAAA;SAC1B,CAAA;KACF,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,kBAAkB,EAAE,oBAAoB,CAAA;CACzC"}
@@ -6,7 +6,7 @@ import type { InlineConfig } from "vite";
6
6
  *
7
7
  * Admin dashboard configurations.
8
8
  */
9
- export type AdminOptions = {
9
+ export interface AdminOptions {
10
10
  /**
11
11
  * Whether to disable the admin dashboard. If set to `true`, the admin dashboard is disabled,
12
12
  * in both development and production environments. The default value is `false`.
@@ -96,7 +96,7 @@ export type AdminOptions = {
96
96
  * @privateRemarks TODO Add example
97
97
  */
98
98
  vite?: (config: InlineConfig) => InlineConfig;
99
- };
99
+ }
100
100
  /**
101
101
  * @interface
102
102
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OA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AM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
1
+ {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IACnB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;;;;;;;;;OAaG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAA;CAC9C;AAED;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;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AAO,EAAE,CACL;QACE,OAAO,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACjC,GACD,MAAM,CACT,EAAE,CAAA;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,OAAO,CAAC,EAAE,MAAM,CACd,MAAM,EACN,OAAO,GAAG,OAAO,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CACzE,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;CACzE,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { OrderDTO } from "../../order";
2
+ import { StockLocationDTO } from "../../stock-location";
2
3
  import { CreateFulfillmentAddressDTO } from "./fulfillment-address";
3
4
  import { CreateFulfillmentItemDTO } from "./fulfillment-item";
4
5
  import { CreateFulfillmentLabelDTO } from "./fulfillment-label";
@@ -10,6 +11,10 @@ export interface CreateFulfillmentDTO {
10
11
  * The associated location's ID.
11
12
  */
12
13
  location_id: string;
14
+ /**
15
+ * The associated location's data.
16
+ */
17
+ location?: StockLocationDTO;
13
18
  /**
14
19
  * The date the fulfillment was packed.
15
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,2BAA2B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IAAI,CAAA;IAEzC;;OAEG;IACH,MAAM,CAAC,EAAE,CACL,IAAI,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,GACjD;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CACjB,EAAE,CAAA;CACJ"}
@@ -1,7 +1,19 @@
1
+ import { StorePaymentCollection } from "../../payment";
2
+ import { StoreProduct, StoreProductVariant } from "../../product";
3
+ import { StoreRegion } from "../../region";
1
4
  import { BaseCart, BaseCartAddress, BaseCartLineItem, BaseCartShippingMethod } from "../common";
2
- export interface StoreCart extends BaseCart {
5
+ export interface StoreCart extends Omit<BaseCart, "items"> {
6
+ shipping_address?: StoreCartAddress;
7
+ billing_address?: StoreCartAddress;
8
+ items?: StoreCartLineItem[];
9
+ shipping_methods?: StoreCartShippingMethod[];
10
+ payment_collection?: StorePaymentCollection;
11
+ region?: StoreRegion;
3
12
  }
4
- export interface StoreCartLineItem extends BaseCartLineItem {
13
+ export interface StoreCartLineItem extends Omit<BaseCartLineItem, "product" | "variant" | "cart"> {
14
+ product?: StoreProduct;
15
+ variant?: StoreProductVariant;
16
+ cart: StoreCart;
5
17
  }
6
18
  export interface StoreCartAddress extends BaseCartAddress {
7
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/cart/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,SAAU,SAAQ,QAAQ;CAAG;AAC9C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/cart/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EACL,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC;IACxD,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC3B,gBAAgB,CAAC,EAAE,uBAAuB,EAAE,CAAA;IAC5C,kBAAkB,CAAC,EAAE,sBAAsB,CAAA;IAC3C,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AACD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IAC/F,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,IAAI,EAAE,SAAS,CAAA;CAChB;AACD,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG"}
@@ -1,4 +1,9 @@
1
+ import { AdminOrder, AdminOrderShippingMethod } from "../../order";
2
+ import { AdminReturn } from "../../return";
1
3
  import { BaseClaim } from "../common";
2
4
  export interface AdminClaim extends BaseClaim {
5
+ order: AdminOrder;
6
+ return: AdminReturn;
7
+ shipping_methods?: AdminOrderShippingMethod[];
3
8
  }
4
9
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,KAAK,EAAE,UAAU,CAAA;IACjB,MAAM,EAAE,WAAW,CAAA;IACnB,gBAAgB,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC9C"}
@@ -1,5 +1,6 @@
1
- import { OrderDTO, OrderPreviewDTO } from "../../../order";
1
+ import { OrderDTO } from "../../../order";
2
2
  import { DeleteResponse, PaginatedResponse } from "../../common";
3
+ import { AdminOrderPreview } from "../../order";
3
4
  import { AdminReturn } from "../../return";
4
5
  import { AdminClaim } from "./entities";
5
6
  export interface AdminClaimResponse {
@@ -14,11 +15,11 @@ export interface AdminClaimOrderResponse {
14
15
  claim: AdminClaim;
15
16
  }
16
17
  export interface AdminClaimPreviewResponse {
17
- order_preview: OrderPreviewDTO;
18
+ order_preview: AdminOrderPreview;
18
19
  claim: AdminClaim;
19
20
  }
20
21
  export interface AdminClaimReturnPreviewResponse {
21
- order_preview: OrderPreviewDTO;
22
+ order_preview: AdminOrderPreview;
22
23
  return: AdminReturn;
23
24
  }
24
25
  export interface AdminClaimRequestResponse extends AdminClaimPreviewResponse {
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,M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UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,iBAAiB,CAAA;IAChC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,aAAa,EAAE,iBAAiB,CAAA;IAChC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,yBAA0B,SAAQ,yBAAyB;IAC1E,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,wBAAyB,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG"}
@@ -21,7 +21,7 @@ export interface BaseClaim {
21
21
  type: OrderClaimType;
22
22
  order_id: string;
23
23
  return_id?: string;
24
- display_id: string;
24
+ display_id: number;
25
25
  order_version: string;
26
26
  refund_amount?: number;
27
27
  created_by?: string;
@@ -1,5 +1,6 @@
1
- import { OrderDTO, OrderPreviewDTO } from "../../../order";
1
+ import { OrderDTO } from "../../../order";
2
2
  import { DeleteResponse, PaginatedResponse } from "../../common";
3
+ import { AdminOrderPreview } from "../../order";
3
4
  import { AdminReturn } from "../../return";
4
5
  import { AdminExchange } from "./entities";
5
6
  export interface AdminExchangeResponse {
@@ -13,14 +14,14 @@ export interface AdminExchangeOrderResponse {
13
14
  exchange: AdminExchange;
14
15
  }
15
16
  export interface AdminExchangePreviewResponse {
16
- order_preview: OrderPreviewDTO;
17
+ order_preview: AdminOrderPreview;
17
18
  exchange: AdminExchange;
18
19
  }
19
20
  export interface AdminExchangeRequestResponse extends AdminExchangePreviewResponse {
20
21
  return: AdminReturn;
21
22
  }
22
23
  export interface AdminExchangeReturnResponse {
23
- order_preview: OrderPreviewDTO;
24
+ order_preview: AdminOrderPreview;
24
25
  return: AdminReturn;
25
26
  }
26
27
  export interface AdminExchangeDeleteResponse extends DeleteResponse<"exchange"> {
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,E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,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,QAAQ,CAAA;IACf,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,aAAa,EAAE,iBAAiB,CAAA;IAChC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BACf,SAAQ,4BAA4B;IACpC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,aAAa,EAAE,iBAAiB,CAAA;IAChC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,UAAU,CAAC;CAAG"}
@@ -1,26 +1,38 @@
1
+ import { AdminClaim } from "../../claim";
1
2
  import { AdminCustomer } from "../../customer";
3
+ import { AdminExchange } from "../../exchange";
2
4
  import { AdminPaymentCollection } from "../../payment/admin";
3
- import { AdminProductVariant } from "../../product";
5
+ import { AdminProduct, AdminProductVariant } from "../../product";
4
6
  import { AdminRegionCountry } from "../../region";
7
+ import { AdminReturn } from "../../return";
5
8
  import { AdminSalesChannel } from "../../sales-channel";
6
9
  import { BaseOrder, BaseOrderAddress, BaseOrderChange, BaseOrderChangeAction, BaseOrderFulfillment, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
7
- export interface AdminOrder extends BaseOrder {
10
+ export interface AdminOrder extends Omit<BaseOrder, "items"> {
8
11
  payment_collections: AdminPaymentCollection[];
9
- fulfillments?: BaseOrderFulfillment[];
12
+ fulfillments?: AdminOrderFulfillment[];
10
13
  sales_channel?: AdminSalesChannel;
11
14
  customer?: AdminCustomer;
12
15
  shipping_address?: AdminOrderAddress | null;
13
16
  billing_address?: AdminOrderAddress | null;
14
17
  items: AdminOrderLineItem[];
18
+ shipping_methods: AdminOrderShippingMethod[];
15
19
  }
16
- export interface AdminOrderLineItem extends BaseOrderLineItem {
17
- variant?: AdminProductVariant;
20
+ export interface AdminOrderChange extends Omit<BaseOrderChange, "order" | "claim" | "return_order" | "exchange" | "actions"> {
21
+ order: AdminOrder;
22
+ claim: AdminClaim;
23
+ return_order: AdminReturn;
24
+ exchange: AdminExchange;
25
+ actions: AdminOrderChangeAction[];
18
26
  }
19
- export interface AdminOrderChange extends BaseOrderChange {
27
+ export interface AdminOrderChangeAction extends Omit<BaseOrderChangeAction, "order_change" | "order"> {
28
+ order_change: AdminOrderChange;
29
+ order: AdminOrder | null;
20
30
  }
21
31
  export interface AdminOrderFulfillment extends BaseOrderFulfillment {
22
32
  }
23
- export interface AdminOrderLineItem extends BaseOrderLineItem {
33
+ export interface AdminOrderLineItem extends Omit<BaseOrderLineItem, "variant" | "product"> {
34
+ variant?: AdminProductVariant;
35
+ product?: AdminProduct;
24
36
  }
25
37
  export interface AdminOrderAddress extends BaseOrderAddress {
26
38
  country?: AdminRegionCountry;
@@ -29,12 +41,12 @@ export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
29
41
  }
30
42
  export interface AdminOrderPreview extends Omit<AdminOrder, "items" | "shipping_methods"> {
31
43
  return_requested_total: number;
32
- order_change: BaseOrderChange;
33
- items: (BaseOrderLineItem & {
34
- actions?: BaseOrderChangeAction[];
44
+ order_change: AdminOrderChange;
45
+ items: (AdminOrderLineItem & {
46
+ actions?: AdminOrderChangeAction[];
35
47
  })[];
36
- shipping_methods: (BaseOrderShippingMethod & {
37
- actions?: BaseOrderChangeAction[];
48
+ shipping_methods: (AdminOrderShippingMethod & {
49
+ actions?: AdminOrderChangeAction[];
38
50
  })[];
39
51
  }
40
52
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM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Order, AdminOrderPreview } from "./entities";
2
+ import { AdminOrder, AdminOrderChange, AdminOrderPreview } from "./entities";
4
3
  export interface AdminOrderResponse {
5
4
  order: AdminOrder;
6
5
  }
7
6
  export interface AdminOrderChangesResponse {
8
- order_changes: BaseOrderChange[];
7
+ order_changes: AdminOrderChange[];
9
8
  }
10
9
  export type AdminOrderListResponse = PaginatedResponse<{
11
10
  orders: AdminOrder[];
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,eAAe,EAAE,CAAA;CACjC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE5E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,gBAAgB,EAAE,CAAA;CAClC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
@@ -1,8 +1,11 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
+ import { ChangeActionType, OrderChangeStatus } from "../../order";
2
3
  import { BaseClaim } from "../claim/common";
3
4
  import { FindParams } from "../common";
5
+ import { BaseExchange } from "../exchange/common";
4
6
  import { BasePaymentCollection } from "../payment/common";
5
7
  import { BaseProduct, BaseProductVariant } from "../product/common";
8
+ import { BaseReturn } from "../return/common";
6
9
  export interface BaseOrderSummary {
7
10
  total: number;
8
11
  subtotal: number;
@@ -12,11 +15,6 @@ export interface BaseOrderSummary {
12
15
  returned_total: number;
13
16
  return_request_total: number;
14
17
  write_off_total: number;
15
- projected_total: number;
16
- net_total: number;
17
- net_subtotal: number;
18
- net_total_tax: number;
19
- balance: number;
20
18
  paid_total: number;
21
19
  refunded_total: number;
22
20
  }
@@ -167,49 +165,18 @@ export interface BaseOrderShippingDetail {
167
165
  id: string;
168
166
  shipping_method_id: string;
169
167
  shipping_method: BaseOrderShippingMethod;
170
- claim_id: string;
171
- exchange_id: string;
172
- return_id: string;
168
+ claim_id?: string;
169
+ exchange_id?: string;
170
+ return_id?: string;
173
171
  created_at: Date;
174
172
  updated_at: Date;
175
173
  }
176
- export interface BaseOrderChange {
177
- id: string;
178
- order_id: string;
179
- actions: BaseOrderChangeAction[];
180
- status: string;
181
- requested_by: string | null;
182
- requested_at: Date | string | null;
183
- confirmed_by: string | null;
184
- confirmed_at: Date | string | null;
185
- declined_by: string | null;
186
- declined_reason: string | null;
187
- metadata: Record<string, unknown> | null;
188
- declined_at: Date | string | null;
189
- canceled_by: string | null;
190
- canceled_at: Date | string | null;
191
- created_at: Date | string;
192
- updated_at: Date | string;
193
- }
194
- export interface BaseOrderChangeAction {
195
- id: string;
196
- order_change_id: string | null;
197
- order_change: BaseOrderChange | null;
198
- order_id: string | null;
199
- reference: string;
200
- reference_id: string;
201
- action: string;
202
- details: Record<string, unknown> | null;
203
- internal_note: string | null;
204
- created_at: Date | string;
205
- updated_at: Date | string;
206
- }
207
174
  export interface BaseOrderTransaction {
208
175
  id: string;
209
176
  order_id: string;
210
177
  amount: number;
211
178
  currency_code: string;
212
- reference: string;
179
+ reference: "capture" | "refund";
213
180
  reference_id: string;
214
181
  metadata: Record<string, unknown> | null;
215
182
  created_at: Date | string;
@@ -251,7 +218,7 @@ export interface BaseOrder {
251
218
  fulfillment_status: FulfillmentStatus;
252
219
  transactions?: BaseOrderTransaction[];
253
220
  summary: BaseOrderSummary;
254
- metadata: Record<string, unknown> | null;
221
+ metadata?: Record<string, unknown> | null;
255
222
  created_at: string | Date;
256
223
  updated_at: string | Date;
257
224
  original_item_total: number;
@@ -326,13 +293,13 @@ export interface BaseOrderChange {
326
293
  *
327
294
  * @expandable
328
295
  */
329
- return_order: any;
296
+ return_order: BaseReturn;
330
297
  /**
331
298
  * The associated exchange order
332
299
  *
333
300
  * @expandable
334
301
  */
335
- exchange: any;
302
+ exchange: BaseExchange;
336
303
  /**
337
304
  * The associated claim order
338
305
  *
@@ -348,7 +315,7 @@ export interface BaseOrderChange {
348
315
  /**
349
316
  * The status of the order change
350
317
  */
351
- status: string;
318
+ status: OrderChangeStatus;
352
319
  /**
353
320
  * The requested by of the order change
354
321
  */
@@ -356,7 +323,7 @@ export interface BaseOrderChange {
356
323
  /**
357
324
  * When the order change was requested
358
325
  */
359
- requested_at: Date | string | null;
326
+ requested_at: Date | null;
360
327
  /**
361
328
  * The confirmed by of the order change
362
329
  */
@@ -364,7 +331,7 @@ export interface BaseOrderChange {
364
331
  /**
365
332
  * When the order change was confirmed
366
333
  */
367
- confirmed_at: Date | string | null;
334
+ confirmed_at: Date | null;
368
335
  /**
369
336
  * The declined by of the order change
370
337
  */
@@ -380,7 +347,7 @@ export interface BaseOrderChange {
380
347
  /**
381
348
  * When the order change was declined
382
349
  */
383
- declined_at: Date | string | null;
350
+ declined_at: Date | null;
384
351
  /**
385
352
  * The canceled by of the order change
386
353
  */
@@ -388,7 +355,7 @@ export interface BaseOrderChange {
388
355
  /**
389
356
  * When the order change was canceled
390
357
  */
391
- canceled_at: Date | string | null;
358
+ canceled_at: Date | null;
392
359
  /**
393
360
  * When the order change was created
394
361
  */
@@ -441,7 +408,7 @@ export interface BaseOrderChangeAction {
441
408
  /**
442
409
  * The reference of the order change action
443
410
  */
444
- reference: string;
411
+ reference: "claim" | "exchange" | "return" | "order_shipping_method";
445
412
  /**
446
413
  * The ID of the reference
447
414
  */
@@ -449,7 +416,7 @@ export interface BaseOrderChangeAction {
449
416
  /**
450
417
  * The action of the order change action
451
418
  */
452
- action: string;
419
+ action: ChangeActionType;
453
420
  /**
454
421
  * The details of the order change action
455
422
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MA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,CAAA;IAExB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAE9B;;;;OAIG;IACH,YAAY,EAAE,eAAe,GAAG,IAAI,CAAA;IAEpC;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;;;OAIG;IACH,KAAK,EAAE,SAAS,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,SAAS,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,uBAAuB,CAAA;IAEpE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAA;IAExB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEvC;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B"}
@@ -1,10 +1,26 @@
1
- import { BaseOrder, BaseOrderAddress, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
2
- export interface StoreOrder extends BaseOrder {
1
+ import { StoreCustomer } from "../../customer";
2
+ import { StorePaymentCollection } from "../../payment";
3
+ import { StoreProduct, StoreProductVariant } from "../../product";
4
+ import { StoreRegionCountry } from "../../region";
5
+ import { BaseOrder, BaseOrderAddress, BaseOrderFulfillment, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
6
+ export interface StoreOrder extends Omit<BaseOrder, "items"> {
7
+ shipping_address?: StoreOrderAddress | null;
8
+ billing_address?: StoreOrderAddress | null;
9
+ items: StoreOrderLineItem[] | null;
10
+ shipping_methods: StoreOrderShippingMethod[] | null;
11
+ payment_collections?: StorePaymentCollection[];
12
+ fulfillments?: StoreOrderFulfillment[];
13
+ customer?: StoreCustomer;
3
14
  }
4
- export interface StoreOrderLineItem extends BaseOrderLineItem {
15
+ export interface StoreOrderLineItem extends Omit<BaseOrderLineItem, "product" | "variant"> {
16
+ variant?: StoreProductVariant;
17
+ product?: StoreProduct;
5
18
  }
6
19
  export interface StoreOrderAddress extends BaseOrderAddress {
20
+ country?: StoreRegionCountry;
7
21
  }
8
22
  export interface StoreOrderShippingMethod extends BaseOrderShippingMethod {
9
23
  }
24
+ export interface StoreOrderFulfillment extends BaseOrderFulfillment {
25
+ }
10
26
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC1D,gBAAgB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC3C,eAAe,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC1C,KAAK,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAA;IAClC,gBAAgB,EAAE,wBAAwB,EAAE,GAAG,IAAI,CAAA;IACnD,mBAAmB,CAAC,EAAE,sBAAsB,EAAE,CAAA;IAC9C,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAA;IACtC,QAAQ,CAAC,EAAE,aAAa,CAAA;CACzB;AACD,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,SAAS,CAAC;IACxF,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,OAAO,CAAC,EAAE,YAAY,CAAA;CACvB;AACD,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B;AACD,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG"}
@@ -1,10 +1,10 @@
1
- import { OrderChangeDTO, OrderPreviewDTO } from "../../../order";
2
1
  import { DeleteResponse } from "../../common";
2
+ import { AdminOrderChange, AdminOrderPreview } from "../../order/admin";
3
3
  export interface AdminOrderEditPreviewResponse {
4
- order_preview: OrderPreviewDTO;
4
+ order_preview: AdminOrderPreview;
5
5
  }
6
6
  export interface AdminOrderEditResponse {
7
- order_change: OrderChangeDTO;
7
+ order_change: AdminOrderChange;
8
8
  }
9
9
  export type AdminOrderEditDeleteResponse = DeleteResponse<"order-edit">;
10
10
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order-edit/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,cAAc,CAAA;CAC7B;AAED,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order-edit/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAEvE,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA"}
@@ -3,10 +3,17 @@ export interface AdminPaymentProvider extends BasePaymentProvider {
3
3
  is_enabled: boolean;
4
4
  }
5
5
  export interface AdminPayment extends BasePayment {
6
+ refunds?: AdminRefund[];
7
+ payment_collection?: AdminPaymentCollection;
8
+ payment_session?: AdminPaymentSession;
6
9
  }
7
10
  export interface AdminPaymentCollection extends BasePaymentCollection {
11
+ payments?: AdminPayment[];
12
+ payment_sessions?: AdminPaymentSession[];
13
+ payment_providers: AdminPaymentProvider[];
8
14
  }
9
15
  export interface AdminPaymentSession extends BasePaymentSession {
16
+ payment_collection?: AdminPaymentCollection;
10
17
  }
11
18
  export interface AdminRefund extends BaseRefund {
12
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACb,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,WAAW;CAAG;AACpD,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,iBAAkB,SAAQ,YAAY;CAAG"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACb,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,OAAO,CAAC,EAAE,WAAW,EAAE,CAAA;IACvB,kBAAkB,CAAC,EAAE,sBAAsB,CAAA;IAC3C,eAAe,CAAC,EAAE,mBAAmB,CAAA;CACtC;AACD,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB,gBAAgB,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACxC,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C;AACD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,kBAAkB,CAAC,EAAE,sBAAsB,CAAA;CAC5C;AACD,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,iBAAkB,SAAQ,YAAY;CAAG"}
@@ -2,7 +2,10 @@ import { BasePaymentCollection, BasePaymentProvider, BasePaymentSession } from "
2
2
  export interface StorePaymentProvider extends BasePaymentProvider {
3
3
  }
4
4
  export interface StorePaymentCollection extends BasePaymentCollection {
5
+ payment_sessions?: StorePaymentSession[];
6
+ payment_providers: StorePaymentProvider[];
5
7
  }
6
8
  export interface StorePaymentSession extends BasePaymentSession {
9
+ payment_collection?: StorePaymentCollection;
7
10
  }
8
11
  //# sourceMappingURL=entities.d.ts.map