@medusajs/types 1.12.0-snapshot-20240802122417 → 1.12.0-snapshot-20240807192059

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/cart/workflows.d.ts +0 -3
  2. package/dist/cart/workflows.d.ts.map +1 -1
  3. package/dist/http/claim/admin/payloads.d.ts +3 -3
  4. package/dist/http/claim/admin/payloads.d.ts.map +1 -1
  5. package/dist/http/claim/common.d.ts +3 -3
  6. package/dist/http/claim/common.d.ts.map +1 -1
  7. package/dist/http/common/additional_data.d.ts +8 -0
  8. package/dist/http/common/additional_data.d.ts.map +1 -0
  9. package/dist/http/common/additional_data.js +3 -0
  10. package/dist/http/common/additional_data.js.map +1 -0
  11. package/dist/http/common/index.d.ts +1 -0
  12. package/dist/http/common/index.d.ts.map +1 -1
  13. package/dist/http/common/index.js +1 -0
  14. package/dist/http/common/index.js.map +1 -1
  15. package/dist/http/fulfillment-set/admin/entities.d.ts +3 -0
  16. package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
  17. package/dist/http/order/admin.d.ts +14 -1
  18. package/dist/http/order/admin.d.ts.map +1 -1
  19. package/dist/http/order/common.d.ts +183 -1
  20. package/dist/http/order/common.d.ts.map +1 -1
  21. package/dist/http/payment/admin.d.ts +17 -1
  22. package/dist/http/payment/admin.d.ts.map +1 -1
  23. package/dist/http/payment/common.d.ts +38 -0
  24. package/dist/http/payment/common.d.ts.map +1 -1
  25. package/dist/http/return/admin.d.ts +2 -2
  26. package/dist/http/return/admin.d.ts.map +1 -1
  27. package/dist/order/common.d.ts +755 -65
  28. package/dist/order/common.d.ts.map +1 -1
  29. package/dist/order/mutations.d.ts +1268 -3
  30. package/dist/order/mutations.d.ts.map +1 -1
  31. package/dist/order/service.d.ts +3202 -657
  32. package/dist/order/service.d.ts.map +1 -1
  33. package/dist/payment/common.d.ts +44 -0
  34. package/dist/payment/common.d.ts.map +1 -1
  35. package/dist/payment/mutations.d.ts +40 -0
  36. package/dist/payment/mutations.d.ts.map +1 -1
  37. package/dist/payment/service.d.ts +157 -2
  38. package/dist/payment/service.d.ts.map +1 -1
  39. package/dist/product/common.d.ts +4 -0
  40. package/dist/product/common.d.ts.map +1 -1
  41. package/dist/workflow/order/create-fulfillment.d.ts +2 -0
  42. package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
  43. package/dist/workflow/order/items.d.ts +1 -1
  44. package/dist/workflow/order/items.d.ts.map +1 -1
  45. package/package.json +1 -1
@@ -79,9 +79,6 @@ export interface UpdateCartWorkflowInputDTO {
79
79
  }
80
80
  export interface CreatePaymentCollectionForCartWorkflowInputDTO {
81
81
  cart_id: string;
82
- region_id: string;
83
- currency_code: string;
84
- amount: BigNumberInput;
85
82
  metadata?: Record<string, unknown>;
86
83
  }
87
84
  export interface CartWorkflowDTO extends CartDTO {
@@ -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,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,cAAc,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CA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
16
16
  interface AdminClaimUpdateItem {
17
17
  quantity?: number;
18
- reason_id?: ClaimReason;
18
+ reason_id?: string | null;
19
19
  description?: string;
20
- internal_note?: string;
20
+ internal_note?: string | null;
21
21
  }
22
22
  interface AdminClaimAddShippingMethod {
23
23
  shipping_option_id: string;
@@ -27,7 +27,7 @@ interface AdminClaimAddShippingMethod {
27
27
  metadata?: Record<string, unknown> | null;
28
28
  }
29
29
  interface AdminClaimUpdateShippingMethod {
30
- custom_price?: number;
30
+ custom_price?: number | null;
31
31
  internal_note?: string;
32
32
  metadata?: Record<string, unknown> | null;
33
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/payloads.ts"],"names":[],"mappings":"AAAA,aAAK,WAAW;IACd,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;CAChB;AAED,UAAU,kBAAkB;IAC1B,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,WAAW,CAAA;QACpB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB,EAAE,CAAA;CACJ;AAED,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,UAAU,2BAA2B;IACnC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,UAA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AAG;AACxE,MAAM,WAAW,2BAA4B,SAAQ,oBAAoB;CAAG;AAE5E,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB;CAAG;AACzE,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB;CAAG;AAE7E,MAAM,WAAW,4BACf,SAAQ,2BAA2B;CAAG;AACxC,MAAM,WAAW,+BACf,SAAQ,8BAA8B;CAAG;AAE3C,MAAM,WAAW,6BACf,SAAQ,2BAA2B;CAAG;AACxC,MAAM,WAAW,gCACf,SAAQ,8BAA8B;CAAG;AAE3C,MAAM,WAAW,iBAAiB;CAEjC;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
@@ -1,8 +1,8 @@
1
1
  import { OperatorMap } from "../../dal";
2
- import { FindParams } from "../common";
3
2
  import { ClaimReason, ReturnDTO } from "../../order";
4
- import { BaseOrder } from "../order/common";
5
3
  import { BigNumberRawValue } from "../../totals";
4
+ import { FindParams } from "../common";
5
+ import { BaseOrder } from "../order/common";
6
6
  export interface BaseClaimItem {
7
7
  id: string;
8
8
  claim_id: string;
@@ -17,7 +17,7 @@ export interface BaseClaimItem {
17
17
  }
18
18
  export interface BaseClaim extends Omit<BaseOrder, "status" | "version" | "items"> {
19
19
  order_id: string;
20
- claim_items: BaseClaimItem;
20
+ claim_items: BaseClaimItem[];
21
21
  additional_items: any[];
22
22
  return?: ReturnDTO;
23
23
  return_id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/claim/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,c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EAAE,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Represents the additional_data property accepted in HTTP
3
+ * requests to allow arbitrary values
4
+ */
5
+ export type AdditionalData = {
6
+ additional_data?: Record<string, unknown>;
7
+ };
8
+ //# sourceMappingURL=additional_data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"additional_data.d.ts","sourceRoot":"","sources":["../../../src/http/common/additional_data.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC1C,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=additional_data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"additional_data.js","sourceRoot":"","sources":["../../../src/http/common/additional_data.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export * from "./request";
2
2
  export * from "./response";
3
+ export * from "./additional_data";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./request"), exports);
18
18
  __exportStar(require("./response"), exports);
19
+ __exportStar(require("./additional_data"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,oDAAiC"}
@@ -1,5 +1,6 @@
1
1
  import { GeoZoneType } from "../../../fulfillment";
2
2
  import { AdminShippingOption } from "../../shipping-option";
3
+ import { AdminStockLocation } from "../../stock-locations";
3
4
  export interface AdminGeoZone {
4
5
  id: string;
5
6
  type: GeoZoneType;
@@ -15,6 +16,7 @@ export interface AdminServiceZone {
15
16
  id: string;
16
17
  name: string;
17
18
  fulfillment_set_id: string;
19
+ fulfillment_set: AdminFulfillmentSet;
18
20
  geo_zones: AdminGeoZone[];
19
21
  shipping_options: AdminShippingOption[];
20
22
  created_at: string;
@@ -25,6 +27,7 @@ export interface AdminFulfillmentSet {
25
27
  id: string;
26
28
  name: string;
27
29
  type: string;
30
+ location: AdminStockLocation;
28
31
  service_zones: AdminServiceZone[];
29
32
  created_at: string;
30
33
  updated_at: string;
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,MA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,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACjD,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,mBAAmB,CAAA;IACpC,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,aAAa,EAAE,gBAAgB,EAAE,CAAA;IACjC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
@@ -1,5 +1,5 @@
1
1
  import { AdminPaymentCollection } from "../payment/admin";
2
- import { BaseOrder, BaseOrderAddress, BaseOrderFilters, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
2
+ import { BaseOrder, BaseOrderAddress, BaseOrderChange, BaseOrderChangeAction, BaseOrderFilters, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
3
3
  export interface AdminOrder extends BaseOrder {
4
4
  payment_collections: AdminPaymentCollection[];
5
5
  }
@@ -42,4 +42,17 @@ export interface AdminCreateOrderShipment {
42
42
  export interface AdminCancelOrderFulfillment {
43
43
  no_notification?: boolean;
44
44
  }
45
+ export interface AdminOrderPreview extends Omit<AdminOrder, "items" | "shipping_methods"> {
46
+ return_requested_total: number;
47
+ order_change: BaseOrderChange;
48
+ items: (BaseOrderLineItem & {
49
+ actions?: BaseOrderChangeAction[];
50
+ })[];
51
+ shipping_methods: (BaseOrderShippingMethod & {
52
+ actions?: BaseOrderChangeAction[];
53
+ })[];
54
+ }
55
+ export interface AdminOrderPreviewResponse {
56
+ order: AdminOrderPreview;
57
+ }
45
58
  //# sourceMappingURL=admin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAA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AAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE;QACP,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,MAAM,CAAA;KAClB,EAAE,CAAA;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAID,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACtD,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,eAAe,CAAA;IAC7B,KAAK,EAAE,CAAC,iBAAiB,GAAG;QAAE,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACpE,gBAAgB,EAAE,CAAC,uBAAuB,GAAG;QAC3C,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB"}
@@ -1,5 +1,6 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
2
  import { BigNumberValue } from "../../totals";
3
+ import { BaseClaim } from "../claim/common";
3
4
  import { BasePaymentCollection } from "../payment/common";
4
5
  import { BaseProduct, BaseProductVariant } from "../product/common";
5
6
  export interface BaseOrderSummary {
@@ -105,7 +106,7 @@ export interface BaseOrderLineItem {
105
106
  title: string;
106
107
  subtitle: string | null;
107
108
  thumbnail: string | null;
108
- variant?: BaseProductVariant;
109
+ variant?: BaseProductVariant | null;
109
110
  variant_id: string | null;
110
111
  product?: BaseProduct;
111
112
  product_id: string | null;
@@ -267,5 +268,186 @@ export interface BaseOrderFilters extends BaseFilterable<BaseOrderFilters> {
267
268
  id?: string[] | string | OperatorMap<string | string[]>;
268
269
  status?: string[] | string | OperatorMap<string | string[]>;
269
270
  }
271
+ export interface BaseOrderChange {
272
+ /**
273
+ * The ID of the order change
274
+ */
275
+ id: string;
276
+ /**
277
+ * The version of the order change
278
+ */
279
+ version: number;
280
+ /**
281
+ * The type of the order change
282
+ */
283
+ change_type?: "return" | "exchange" | "claim" | "edit";
284
+ /**
285
+ * The ID of the associated order
286
+ */
287
+ order_id: string;
288
+ /**
289
+ * The ID of the associated return order
290
+ */
291
+ return_id: string;
292
+ /**
293
+ * The ID of the associated exchange order
294
+ */
295
+ exchange_id: string;
296
+ /**
297
+ * The ID of the associated claim order
298
+ */
299
+ claim_id: string;
300
+ /**
301
+ * The associated order
302
+ *
303
+ * @expandable
304
+ */
305
+ order: BaseOrder;
306
+ /**
307
+ * The associated return order
308
+ *
309
+ * @expandable
310
+ */
311
+ return_order: any;
312
+ /**
313
+ * The associated exchange order
314
+ *
315
+ * @expandable
316
+ */
317
+ exchange: any;
318
+ /**
319
+ * The associated claim order
320
+ *
321
+ * @expandable
322
+ */
323
+ claim: BaseClaim;
324
+ /**
325
+ * The actions of the order change
326
+ *
327
+ * @expandable
328
+ */
329
+ actions: BaseOrderChangeAction[];
330
+ /**
331
+ * The status of the order change
332
+ */
333
+ status: string;
334
+ /**
335
+ * The requested by of the order change
336
+ */
337
+ requested_by: string | null;
338
+ /**
339
+ * When the order change was requested
340
+ */
341
+ requested_at: Date | string | null;
342
+ /**
343
+ * The confirmed by of the order change
344
+ */
345
+ confirmed_by: string | null;
346
+ /**
347
+ * When the order change was confirmed
348
+ */
349
+ confirmed_at: Date | string | null;
350
+ /**
351
+ * The declined by of the order change
352
+ */
353
+ declined_by: string | null;
354
+ /**
355
+ * The declined reason of the order change
356
+ */
357
+ declined_reason: string | null;
358
+ /**
359
+ * The metadata of the order change
360
+ */
361
+ metadata: Record<string, unknown> | null;
362
+ /**
363
+ * When the order change was declined
364
+ */
365
+ declined_at: Date | string | null;
366
+ /**
367
+ * The canceled by of the order change
368
+ */
369
+ canceled_by: string | null;
370
+ /**
371
+ * When the order change was canceled
372
+ */
373
+ canceled_at: Date | string | null;
374
+ /**
375
+ * When the order change was created
376
+ */
377
+ created_at: Date | string;
378
+ /**
379
+ * When the order change was updated
380
+ */
381
+ updated_at: Date | string;
382
+ }
383
+ /**
384
+ * The order change action details.
385
+ */
386
+ export interface BaseOrderChangeAction {
387
+ /**
388
+ * The ID of the order change action
389
+ */
390
+ id: string;
391
+ /**
392
+ * The ID of the associated order change
393
+ */
394
+ order_change_id: string | null;
395
+ /**
396
+ * The associated order change
397
+ *
398
+ * @expandable
399
+ */
400
+ order_change: BaseOrderChange | null;
401
+ /**
402
+ * The ID of the associated order
403
+ */
404
+ order_id: string | null;
405
+ /**
406
+ * The ID of the associated return.
407
+ */
408
+ return_id: string | null;
409
+ /**
410
+ * The ID of the associated claim.
411
+ */
412
+ claim_id: string | null;
413
+ /**
414
+ * The ID of the associated exchange.
415
+ */
416
+ exchange_id: string | null;
417
+ /**
418
+ * The associated order
419
+ *
420
+ * @expandable
421
+ */
422
+ order: BaseOrder | null;
423
+ /**
424
+ * The reference of the order change action
425
+ */
426
+ reference: string;
427
+ /**
428
+ * The ID of the reference
429
+ */
430
+ reference_id: string;
431
+ /**
432
+ * The action of the order change action
433
+ */
434
+ action: string;
435
+ /**
436
+ * The details of the order change action
437
+ */
438
+ details: Record<string, unknown> | null;
439
+ /**
440
+ * The internal note of the order change action
441
+ */
442
+ internal_note: string | null;
443
+ /**
444
+ * When the order change action was created
445
+ */
446
+ created_at: Date | string;
447
+ /**
448
+ * When the order change action was updated
449
+ */
450
+ updated_at: Date | string;
451
+ }
270
452
  export {};
271
453
  //# sourceMappingURL=common.d.ts.map
@@ -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,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,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,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA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AAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B"}
@@ -1,4 +1,5 @@
1
- import { BasePayment, BasePaymentCollection, BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentProvider, BasePaymentProviderFilters, BasePaymentSession, BasePaymentSessionFilters } from "./common";
1
+ import { BaseFilterable } from "../../dal";
2
+ import { BasePayment, BasePaymentCollection, BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentProvider, BasePaymentProviderFilters, BasePaymentSession, BasePaymentSessionFilters, RefundReason } from "./common";
2
3
  export interface AdminPaymentProvider extends BasePaymentProvider {
3
4
  is_enabled: boolean;
4
5
  }
@@ -29,4 +30,19 @@ export interface AdminPaymentsResponse {
29
30
  }
30
31
  export interface AdminPaymentFilters extends BasePaymentFilters {
31
32
  }
33
+ export interface AdminRefundReason extends RefundReason {
34
+ }
35
+ export interface RefundReasonFilters extends BaseFilterable<AdminRefundReason> {
36
+ id?: string | string[];
37
+ }
38
+ export interface RefundReasonResponse {
39
+ refund_reason: AdminRefundReason;
40
+ }
41
+ export interface RefundReasonsResponse {
42
+ refund_reasons: AdminRefundReason[];
43
+ }
44
+ export interface AdminCreateRefundReason {
45
+ label: string;
46
+ description?: string;
47
+ }
32
48
  //# sourceMappingURL=admin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,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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MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAIlE,MAAM,WAAW,iBAAkB,SAAQ,YAAY;CAAG;AAC1D,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC5E,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
@@ -207,6 +207,18 @@ export interface BaseRefund {
207
207
  * The refunded amount.
208
208
  */
209
209
  amount: BigNumberValue;
210
+ /**
211
+ * The id of the refund_reason that is associated with the refund
212
+ */
213
+ refund_reason_id?: string | null;
214
+ /**
215
+ * The id of the refund_reason that is associated with the refund
216
+ */
217
+ refund_reason?: RefundReason | null;
218
+ /**
219
+ * A field to add some additional information about the refund
220
+ */
221
+ note?: string | null;
210
222
  /**
211
223
  * The creation date of the refund.
212
224
  */
@@ -270,6 +282,32 @@ export interface BasePaymentSession {
270
282
  */
271
283
  payment?: BasePayment;
272
284
  }
285
+ export interface RefundReason {
286
+ /**
287
+ * The ID of the refund reason
288
+ */
289
+ id: string;
290
+ /**
291
+ * The label of the refund reason
292
+ */
293
+ label: string;
294
+ /**
295
+ * The description of the refund reason
296
+ */
297
+ description?: string | null;
298
+ /**
299
+ * The metadata of the refund reason
300
+ */
301
+ metadata: Record<string, unknown> | null;
302
+ /**
303
+ * When the refund reason was created
304
+ */
305
+ created_at: Date | string;
306
+ /**
307
+ * When the refund reason was updated
308
+ */
309
+ updated_at: Date | string;
310
+ }
273
311
  /**
274
312
  * The filters to apply on the retrieved payment collection.
275
313
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GACnC,UAAU,GACV,UAAU,GACV,YAAY,GACZ,sBAAsB,GACtB,UAAU,CAAA;AAEd;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAChC,YAAY,GACZ,SAAS,GACT,eAAe,GACf,OAAO,GACP,UAAU,CAAA;AAEd,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAA;IAElC;;OAEG;IACH,eAAe,CAAC,EAAE,cAAc,CAAA;IAEhC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,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;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAEnD;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,0BACf,SAAQ,cAAc,CAAC,0BAA0B,CAAC;IAClD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAC5E,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB"}
@@ -48,8 +48,8 @@ export interface AdminAddReturnItems {
48
48
  }
49
49
  export interface AdminUpdateReturnItems {
50
50
  quantity?: number;
51
- internal_note?: string;
52
- reason_id?: string;
51
+ internal_note?: string | null;
52
+ reason_id?: string | null;
53
53
  }
54
54
  export interface AdminAddReturnShipping {
55
55
  shipping_option_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/return/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEtC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAA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