@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
@@ -4,24 +4,80 @@ import { FulfillmentDTO } from "../fulfillment";
4
4
  import { PaymentCollectionDTO } from "../payment";
5
5
  import { BigNumberInput, BigNumberRawValue, BigNumberValue } from "../totals";
6
6
  import { ClaimReason } from "./mutations";
7
+ /**
8
+ * The change action's type.
9
+ */
7
10
  export type ChangeActionType = "CANCEL" | "CANCEL_RETURN_ITEM" | "FULFILL_ITEM" | "CANCEL_ITEM_FULFILLMENT" | "ITEM_ADD" | "ITEM_REMOVE" | "RECEIVE_DAMAGED_RETURN_ITEM" | "RECEIVE_RETURN_ITEM" | "RETURN_ITEM" | "SHIPPING_ADD" | "SHIPPING_REMOVE" | "SHIP_ITEM" | "WRITE_OFF_ITEM" | "REINSTATE_ITEM";
11
+ /**
12
+ * @interface
13
+ *
14
+ * The order summary details.
15
+ */
8
16
  export type OrderSummaryDTO = {
17
+ /**
18
+ * The total of the order summary.
19
+ */
9
20
  total: BigNumberValue;
21
+ /**
22
+ * The subtotal of the order summary.
23
+ */
10
24
  subtotal: BigNumberValue;
25
+ /**
26
+ * The total tax of the order summary.
27
+ */
11
28
  total_tax: BigNumberValue;
29
+ /**
30
+ * The ordered total of the order summary.
31
+ */
12
32
  ordered_total: BigNumberValue;
33
+ /**
34
+ * The fulfilled total of the order summary.
35
+ */
13
36
  fulfilled_total: BigNumberValue;
37
+ /**
38
+ * The returned total of the order summary.
39
+ */
14
40
  returned_total: BigNumberValue;
41
+ /**
42
+ * The return request total of the order summary.
43
+ */
15
44
  return_request_total: BigNumberValue;
45
+ /**
46
+ * The write off total of the order summary.
47
+ */
16
48
  write_off_total: BigNumberValue;
49
+ /**
50
+ * The projected total of the order summary.
51
+ */
17
52
  projected_total: BigNumberValue;
53
+ /**
54
+ * The net total of the order summary.
55
+ */
18
56
  net_total: BigNumberValue;
57
+ /**
58
+ * The net subtotal of the order summary.
59
+ */
19
60
  net_subtotal: BigNumberValue;
61
+ /**
62
+ * The net total tax of the order summary.
63
+ */
20
64
  net_total_tax: BigNumberValue;
65
+ /**
66
+ * The balance of the order summary.
67
+ */
21
68
  balance: BigNumberValue;
69
+ /**
70
+ * The paid total of the order summary.
71
+ */
22
72
  paid_total: BigNumberValue;
73
+ /**
74
+ * The refunded total of the order summary.
75
+ */
23
76
  refunded_total: BigNumberValue;
24
77
  };
78
+ /**
79
+ * The adjustment line details.
80
+ */
25
81
  export interface OrderAdjustmentLineDTO {
26
82
  /**
27
83
  * The ID of the adjustment line
@@ -60,68 +116,85 @@ export interface OrderAdjustmentLineDTO {
60
116
  */
61
117
  updated_at: Date | string;
62
118
  }
119
+ /**
120
+ * The shipping method adjustment details.
121
+ */
63
122
  export interface OrderShippingMethodAdjustmentDTO extends OrderAdjustmentLineDTO {
64
123
  /**
65
- * The associated shipping method
124
+ * The associated shipping method.
125
+ *
126
+ * @expandable
66
127
  */
67
128
  shipping_method: OrderShippingMethodDTO;
68
129
  /**
69
- * The ID of the associated shipping method
130
+ * The ID of the associated shipping method.
70
131
  */
71
132
  shipping_method_id: string;
72
133
  }
134
+ /**
135
+ * The line item adjustment details.
136
+ */
73
137
  export interface OrderLineItemAdjustmentDTO extends OrderAdjustmentLineDTO {
74
138
  /**
75
- * The associated line item
139
+ * The associated line item.
140
+ *
76
141
  * @expandable
77
142
  */
78
143
  item: OrderLineItemDTO;
79
144
  /**
80
- * The associated line item
145
+ * The ID of the associated line item.
81
146
  */
82
147
  item_id: string;
83
148
  }
149
+ /**
150
+ * The tax line details.
151
+ */
84
152
  export interface OrderTaxLineDTO {
85
153
  /**
86
- * The ID of the tax line
154
+ * The ID of the tax line.
87
155
  */
88
156
  id: string;
89
157
  /**
90
- * The description of the tax line
158
+ * The description of the tax line.
91
159
  */
92
160
  description?: string;
93
161
  /**
94
- * The ID of the associated tax rate
162
+ * The ID of the associated tax rate.
95
163
  */
96
164
  tax_rate_id?: string;
97
165
  /**
98
- * The code of the tax line
166
+ * The code of the tax line.
99
167
  */
100
168
  code: string;
101
169
  /**
102
- * The rate of the tax line
170
+ * The rate of the tax line.
103
171
  */
104
172
  rate: number;
105
173
  /**
106
- * The ID of the associated provider
174
+ * The ID of the associated provider.
107
175
  */
108
176
  provider_id?: string;
109
177
  /**
110
- * When the tax line was created
178
+ * When the tax line was created.
111
179
  */
112
180
  created_at: Date | string;
113
181
  /**
114
- * When the tax line was updated
182
+ * When the tax line was updated.
115
183
  */
116
184
  updated_at: Date | string;
117
185
  }
186
+ /**
187
+ * The shipping method tax line details.
188
+ */
118
189
  export interface OrderShippingMethodTaxLineDTO extends OrderTaxLineDTO {
119
190
  /**
120
- * The associated shipping method
191
+ * The associated shipping method.
192
+ *
193
+ * @expandable
121
194
  */
122
195
  shipping_method: OrderShippingMethodDTO;
123
196
  /**
124
- * The ID of the associated shipping method
197
+ * The ID of the associated shipping method.
125
198
  */
126
199
  shipping_method_id: string;
127
200
  /**
@@ -141,13 +214,18 @@ export interface OrderShippingMethodTaxLineDTO extends OrderTaxLineDTO {
141
214
  */
142
215
  raw_subtotal: BigNumberRawValue;
143
216
  }
217
+ /**
218
+ * The line item tax line details.
219
+ */
144
220
  export interface OrderLineItemTaxLineDTO extends OrderTaxLineDTO {
145
221
  /**
146
- * The associated line item
222
+ * The associated line item.
223
+ *
224
+ * @expandable
147
225
  */
148
226
  item: OrderLineItemDTO;
149
227
  /**
150
- * The ID of the associated line item
228
+ * The ID of the associated line item.
151
229
  */
152
230
  item_id: string;
153
231
  /**
@@ -167,53 +245,56 @@ export interface OrderLineItemTaxLineDTO extends OrderTaxLineDTO {
167
245
  */
168
246
  raw_subtotal: BigNumberRawValue;
169
247
  }
248
+ /**
249
+ * The address details.
250
+ */
170
251
  export interface OrderAddressDTO {
171
252
  /**
172
- * The ID of the address
253
+ * The ID of the address.
173
254
  */
174
255
  id: string;
175
256
  /**
176
- * The customer ID of the address
257
+ * The customer ID of the address.
177
258
  */
178
259
  customer_id?: string;
179
260
  /**
180
- * The first name of the address
261
+ * The first name of the address.
181
262
  */
182
263
  first_name?: string;
183
264
  /**
184
- * The last name of the address
265
+ * The last name of the address.
185
266
  */
186
267
  last_name?: string;
187
268
  /**
188
- * The phone number of the address
269
+ * The phone number of the address.
189
270
  */
190
271
  phone?: string;
191
272
  /**
192
- * The company of the address
273
+ * The company of the address.
193
274
  */
194
275
  company?: string;
195
276
  /**
196
- * The first address line of the address
277
+ * The first address line of the address.
197
278
  */
198
279
  address_1?: string;
199
280
  /**
200
- * The second address line of the address
281
+ * The second address line of the address.
201
282
  */
202
283
  address_2?: string;
203
284
  /**
204
- * The city of the address
285
+ * The city of the address.
205
286
  */
206
287
  city?: string;
207
288
  /**
208
- * The country code of the address
289
+ * The country code of the address.
209
290
  */
210
291
  country_code?: string;
211
292
  /**
212
- * The province/state of the address
293
+ * The province/state of the address.
213
294
  */
214
295
  province?: string;
215
296
  /**
216
- * The postal code of the address
297
+ * The postal code of the address.
217
298
  */
218
299
  postal_code?: string;
219
300
  /**
@@ -229,37 +310,40 @@ export interface OrderAddressDTO {
229
310
  */
230
311
  updated_at: Date | string;
231
312
  }
313
+ /**
314
+ * The order shipping method details.
315
+ */
232
316
  export interface OrderShippingMethodDTO {
233
317
  /**
234
- * The ID of the shipping method
318
+ * The ID of the shipping method.
235
319
  */
236
320
  id: string;
237
321
  /**
238
- * The ID of the associated order
322
+ * The ID of the associated order.
239
323
  */
240
324
  order_id: string;
241
325
  /**
242
- * The name of the shipping method
326
+ * The name of the shipping method.
243
327
  */
244
328
  name: string;
245
329
  /**
246
- * The description of the shipping method
330
+ * The description of the shipping method.
247
331
  */
248
332
  description?: string;
249
333
  /**
250
- * The price of the shipping method
334
+ * The price of the shipping method.
251
335
  */
252
336
  amount: BigNumberValue;
253
337
  /**
254
- * The raw price of the shipping method
338
+ * The raw price of the shipping method.
255
339
  */
256
340
  raw_amount: BigNumberRawValue;
257
341
  /**
258
- * Whether the shipping method price is tax inclusive or not
342
+ * Whether the shipping method price is tax inclusive or not.
259
343
  */
260
344
  is_tax_inclusive: boolean;
261
345
  /**
262
- * The ID of the shipping option the method was created from
346
+ * The ID of the shipping option the method was created from.
263
347
  */
264
348
  shipping_option_id?: string;
265
349
  /**
@@ -355,6 +439,9 @@ export interface OrderShippingMethodDTO {
355
439
  */
356
440
  raw_discount_tax_total: BigNumberRawValue;
357
441
  }
442
+ /**
443
+ * The order line item totals details.
444
+ */
358
445
  export interface OrderLineItemTotalsDTO {
359
446
  /**
360
447
  * The original total of the order line item.
@@ -461,105 +548,108 @@ export interface OrderLineItemTotalsDTO {
461
548
  */
462
549
  raw_refundable_total_per_unit: BigNumberRawValue;
463
550
  }
551
+ /**
552
+ * The line item details.
553
+ */
464
554
  export interface OrderLineItemDTO extends OrderLineItemTotalsDTO {
465
555
  /**
466
- * The ID of the order line item.
556
+ * The ID of the line item.
467
557
  */
468
558
  id: string;
469
559
  /**
470
- * The title of the order line item.
560
+ * The title of the line item.
471
561
  */
472
562
  title: string;
473
563
  /**
474
- * The subtitle of the order line item.
564
+ * The subtitle of the line item.
475
565
  */
476
566
  subtitle?: string | null;
477
567
  /**
478
- * The thumbnail of the order line item.
568
+ * The thumbnail of the line item.
479
569
  */
480
570
  thumbnail?: string | null;
481
571
  /**
482
- * The ID of the variant associated with the order line item.
572
+ * The ID of the variant associated with the line item.
483
573
  */
484
574
  variant_id?: string | null;
485
575
  /**
486
- * The ID of the product associated with the order line item.
576
+ * The ID of the product associated with the line item.
487
577
  */
488
578
  product_id?: string | null;
489
579
  /**
490
- * The title of the product associated with the order line item.
580
+ * The title of the product associated with the line item.
491
581
  */
492
582
  product_title?: string | null;
493
583
  /**
494
- * The description of the product associated with the order line item.
584
+ * The description of the product associated with the line item.
495
585
  */
496
586
  product_description?: string | null;
497
587
  /**
498
- * The subtitle of the product associated with the order line item.
588
+ * The subtitle of the product associated with the line item.
499
589
  */
500
590
  product_subtitle?: string | null;
501
591
  /**
502
- * The type of the product associated with the order line item.
592
+ * The type of the product associated with the line item.
503
593
  */
504
594
  product_type?: string | null;
505
595
  /**
506
- * The collection of the product associated with the order line item.
596
+ * The collection of the product associated with the line item.
507
597
  */
508
598
  product_collection?: string | null;
509
599
  /**
510
- * The handle of the product associated with the order line item.
600
+ * The handle of the product associated with the line item.
511
601
  */
512
602
  product_handle?: string | null;
513
603
  /**
514
- * The SKU (stock keeping unit) of the variant associated with the order line item.
604
+ * The SKU (stock keeping unit) of the variant associated with the line item.
515
605
  */
516
606
  variant_sku?: string | null;
517
607
  /**
518
- * The barcode of the variant associated with the order line item.
608
+ * The barcode of the variant associated with the line item.
519
609
  */
520
610
  variant_barcode?: string | null;
521
611
  /**
522
- * The title of the variant associated with the order line item.
612
+ * The title of the variant associated with the line item.
523
613
  */
524
614
  variant_title?: string | null;
525
615
  /**
526
- * The option values of the variant associated with the order line item.
616
+ * The option values of the variant associated with the line item.
527
617
  */
528
618
  variant_option_values?: Record<string, unknown> | null;
529
619
  /**
530
- * Indicates whether the order line item requires shipping.
620
+ * Indicates whether the line item requires shipping.
531
621
  */
532
622
  requires_shipping: boolean;
533
623
  /**
534
- * Indicates whether the order line item is discountable.
624
+ * Indicates whether the line item is discountable.
535
625
  */
536
626
  is_discountable: boolean;
537
627
  /**
538
- * Indicates whether the order line item price is tax inclusive.
628
+ * Indicates whether the line item price is tax inclusive.
539
629
  */
540
630
  is_tax_inclusive: boolean;
541
631
  /**
542
- * The compare at unit price of the order line item.
632
+ * The compare at unit price of the line item.
543
633
  */
544
634
  compare_at_unit_price?: number;
545
635
  /**
546
- * The raw compare at unit price of the order line item.
636
+ * The raw compare at unit price of the line item.
547
637
  */
548
638
  raw_compare_at_unit_price?: BigNumberRawValue;
549
639
  /**
550
- * The unit price of the order line item.
640
+ * The unit price of the line item.
551
641
  */
552
642
  unit_price: number;
553
643
  /**
554
- * The raw unit price of the order line item.
644
+ * The raw unit price of the line item.
555
645
  */
556
646
  raw_unit_price: BigNumberRawValue;
557
647
  /**
558
- * The quantity of the order line item.
648
+ * The quantity of the line item.
559
649
  */
560
650
  quantity: number;
561
651
  /**
562
- * The raw quantity of the order line item.
652
+ * The raw quantity of the line item.
563
653
  */
564
654
  raw_quantity: BigNumberRawValue;
565
655
  /**
@@ -579,11 +669,11 @@ export interface OrderLineItemDTO extends OrderLineItemTotalsDTO {
579
669
  */
580
670
  detail: OrderItemDTO;
581
671
  /**
582
- * The date when the order line item was created.
672
+ * The date when the line item was created.
583
673
  */
584
674
  created_at: Date;
585
675
  /**
586
- * The date when the order line item was last updated.
676
+ * The date when the line item was last updated.
587
677
  */
588
678
  updated_at: Date;
589
679
  /**
@@ -591,9 +681,12 @@ export interface OrderLineItemDTO extends OrderLineItemTotalsDTO {
591
681
  */
592
682
  metadata?: Record<string, unknown> | null;
593
683
  }
684
+ /**
685
+ * The order item details.
686
+ */
594
687
  export interface OrderItemDTO {
595
688
  /**
596
- * The ID of the order detail.
689
+ * The ID of the order item.
597
690
  */
598
691
  id: string;
599
692
  /**
@@ -601,7 +694,9 @@ export interface OrderItemDTO {
601
694
  */
602
695
  item_id: string;
603
696
  /**
604
- * The Line Item of the order detail.
697
+ * The associated line item.
698
+ *
699
+ * @expandable
605
700
  */
606
701
  item: OrderLineItemDTO;
607
702
  /**
@@ -673,7 +768,13 @@ export interface OrderItemDTO {
673
768
  */
674
769
  updated_at: Date;
675
770
  }
771
+ /**
772
+ * The order's status.
773
+ */
676
774
  type OrderStatus = "pending" | "completed" | "draft" | "archived" | "canceled" | "requires_action";
775
+ /**
776
+ * The order details.
777
+ */
677
778
  export interface OrderDTO {
678
779
  /**
679
780
  * The ID of the order.
@@ -685,6 +786,8 @@ export interface OrderDTO {
685
786
  version: number;
686
787
  /**
687
788
  * The active order change, if any.
789
+ *
790
+ * @expandable
688
791
  */
689
792
  order_change?: OrderChangeDTO;
690
793
  /**
@@ -743,6 +846,8 @@ export interface OrderDTO {
743
846
  transactions?: OrderTransactionDTO[];
744
847
  /**
745
848
  * The summary of the order totals.
849
+ *
850
+ * @expandable
746
851
  */
747
852
  summary?: OrderSummaryDTO;
748
853
  /**
@@ -938,85 +1043,313 @@ export interface OrderDTO {
938
1043
  */
939
1044
  raw_original_shipping_tax_total: BigNumberRawValue;
940
1045
  }
1046
+ /**
1047
+ * The return's status.
1048
+ */
941
1049
  type ReturnStatus = "requested" | "received" | "partially_received" | "canceled";
1050
+ /**
1051
+ * The return details.
1052
+ */
942
1053
  export interface ReturnDTO extends Omit<OrderDTO, "status" | "version" | "items"> {
1054
+ /**
1055
+ * The ID of the return.
1056
+ */
943
1057
  id: string;
1058
+ /**
1059
+ * The status of the return.
1060
+ */
944
1061
  status: ReturnStatus;
1062
+ /**
1063
+ * The refund amount of the return.
1064
+ */
945
1065
  refund_amount?: BigNumberValue;
1066
+ /**
1067
+ * The associated order's ID.
1068
+ */
946
1069
  order_id: string;
1070
+ /**
1071
+ * The items of the return
1072
+ */
947
1073
  items: OrderReturnItemDTO[];
948
1074
  }
1075
+ /**
1076
+ * The order return item details.
1077
+ */
949
1078
  export interface OrderReturnItemDTO {
1079
+ /**
1080
+ * The ID of the order return item.
1081
+ */
950
1082
  id: string;
1083
+ /**
1084
+ * The associated return's ID.
1085
+ */
951
1086
  return_id: string;
1087
+ /**
1088
+ * The associated order's ID.
1089
+ */
952
1090
  order_id: string;
1091
+ /**
1092
+ * The associated line item's ID.
1093
+ */
953
1094
  item_id: string;
1095
+ /**
1096
+ * The associated reason's ID.
1097
+ */
954
1098
  reason_id?: string | null;
1099
+ /**
1100
+ * The quantity of the item to return.
1101
+ */
955
1102
  quantity: number;
1103
+ /**
1104
+ * The raw quantity of the item to return.
1105
+ */
956
1106
  raw_quantity: BigNumberRawValue;
1107
+ /**
1108
+ * The received quantity of the return item.
1109
+ */
957
1110
  received_quantity?: number;
1111
+ /**
1112
+ * The raw received quantity of the return item.
1113
+ */
958
1114
  raw_received_quantity?: BigNumberRawValue;
1115
+ /**
1116
+ * Holds custom data in key-value pairs.
1117
+ */
959
1118
  metadata?: Record<string, unknown> | null;
1119
+ /**
1120
+ * The creation date of the return item.
1121
+ */
960
1122
  created_at?: Date | string;
1123
+ /**
1124
+ * The update date of the return item.
1125
+ */
961
1126
  updated_at?: Date | string;
962
1127
  }
1128
+ /**
1129
+ * The order claim item details.
1130
+ */
963
1131
  export interface OrderClaimItemDTO {
1132
+ /**
1133
+ * The ID of the order claim item.
1134
+ */
964
1135
  id: string;
1136
+ /**
1137
+ * The associated claim's ID.
1138
+ */
965
1139
  claim_id: string;
1140
+ /**
1141
+ * The associated order's ID.
1142
+ */
966
1143
  order_id: string;
1144
+ /**
1145
+ * The associated item's ID.
1146
+ */
967
1147
  item_id: string;
1148
+ /**
1149
+ * The quantity of the order claim item
1150
+ */
968
1151
  quantity: number;
1152
+ /**
1153
+ * The reason of the order claim item
1154
+ */
969
1155
  reason: ClaimReason;
1156
+ /**
1157
+ * The raw quantity of the order claim item
1158
+ */
970
1159
  raw_quantity: BigNumberRawValue;
1160
+ /**
1161
+ * Holds custom data in key-value pairs.
1162
+ */
971
1163
  metadata?: Record<string, unknown> | null;
1164
+ /**
1165
+ * The creation date of the order claim item
1166
+ */
972
1167
  created_at?: Date | string;
1168
+ /**
1169
+ * The update date of the order claim item
1170
+ */
973
1171
  updated_at?: Date | string;
974
1172
  }
1173
+ /**
1174
+ * The order claim item image details.
1175
+ */
975
1176
  export interface OrderClaimItemImageDTO {
1177
+ /**
1178
+ * The ID of the order claim item image.
1179
+ */
976
1180
  id: string;
1181
+ /**
1182
+ * The associated claim item's ID.
1183
+ */
977
1184
  claim_item_id: string;
1185
+ /**
1186
+ * The url of the order claim item image
1187
+ */
978
1188
  url: string;
1189
+ /**
1190
+ * Holds custom data in key-value pairs.
1191
+ */
979
1192
  metadata?: Record<string, unknown> | null;
1193
+ /**
1194
+ * The creation date of the order claim item image
1195
+ */
980
1196
  created_at?: Date | string;
1197
+ /**
1198
+ * The update date of the order claim item image
1199
+ */
981
1200
  updated_at?: Date | string;
982
1201
  }
1202
+ /**
1203
+ * The order exchange item details.
1204
+ */
983
1205
  export interface OrderExchangeItemDTO {
1206
+ /**
1207
+ * The ID of the order exchange item.
1208
+ */
984
1209
  id: string;
1210
+ /**
1211
+ * The associated exchange's ID.
1212
+ */
985
1213
  exchange_id: string;
1214
+ /**
1215
+ * The associated order's ID.
1216
+ */
986
1217
  order_id: string;
1218
+ /**
1219
+ * The associated item's ID.
1220
+ */
987
1221
  item_id: string;
1222
+ /**
1223
+ * The quantity of the order exchange item
1224
+ */
988
1225
  quantity: number;
1226
+ /**
1227
+ * The raw quantity of the order exchange item
1228
+ */
989
1229
  raw_quantity: BigNumberRawValue;
1230
+ /**
1231
+ * Holds custom data in key-value pairs.
1232
+ */
990
1233
  metadata?: Record<string, unknown> | null;
1234
+ /**
1235
+ * The creation date of the order exchange item
1236
+ */
991
1237
  created_at?: Date | string;
1238
+ /**
1239
+ * The update date of the order exchange item
1240
+ */
992
1241
  updated_at?: Date | string;
993
1242
  }
1243
+ /**
1244
+ * The claim details.
1245
+ */
994
1246
  export interface OrderClaimDTO extends Omit<OrderDTO, "status" | "version" | "items"> {
1247
+ /**
1248
+ * The ID of the associated order.
1249
+ */
995
1250
  order_id: string;
1251
+ /**
1252
+ * The items to be received from the customer
1253
+ * if the claim's type is `replace`.
1254
+ */
996
1255
  claim_items: any[];
1256
+ /**
1257
+ * The items to be sent to the customer
1258
+ * if the claim's type is `replace`.
1259
+ */
997
1260
  additional_items: any[];
1261
+ /**
1262
+ * The associated return, if the claim's type is `replace`.
1263
+ */
998
1264
  return?: ReturnDTO;
1265
+ /**
1266
+ * The ID of the associated return, if the claim's type is `replace`.
1267
+ */
999
1268
  return_id?: string;
1269
+ /**
1270
+ * Whether the customer should receive notifications related
1271
+ * to updates on the claim.
1272
+ */
1000
1273
  no_notification?: boolean;
1274
+ /**
1275
+ * The refund amount of the claim.
1276
+ */
1001
1277
  refund_amount?: BigNumberValue;
1002
1278
  }
1279
+ /**
1280
+ * The exchange details.
1281
+ */
1003
1282
  export interface OrderExchangeDTO extends Omit<OrderDTO, "status" | "version" | "items"> {
1283
+ /**
1284
+ * The associated order's ID.
1285
+ */
1004
1286
  order_id: string;
1287
+ /**
1288
+ * The items to be returned from the customer.
1289
+ */
1005
1290
  return_items: any[];
1291
+ /**
1292
+ * The items to be sent to the customer.
1293
+ */
1006
1294
  additional_items: any[];
1295
+ /**
1296
+ * Whether the customer should receive notifications related
1297
+ * to updates on the exchange.
1298
+ */
1007
1299
  no_notification?: boolean;
1300
+ /**
1301
+ * The difference due of the order exchange.
1302
+ *
1303
+ * - If less than `0`, the merchant owes the customer this amount.
1304
+ * - If greater than `0`, the customer owes the merchange this amount.
1305
+ * - If equal to `0`, no payment is required by either sides.
1306
+ */
1008
1307
  difference_due?: BigNumberValue;
1308
+ /**
1309
+ * The associated return.
1310
+ */
1009
1311
  return?: ReturnDTO;
1312
+ /**
1313
+ * The associated return's ID.
1314
+ */
1010
1315
  return_id?: string;
1011
1316
  }
1317
+ /**
1318
+ * The payment's status.
1319
+ */
1012
1320
  export type PaymentStatus = "not_paid" | "awaiting" | "authorized" | "partially_authorized" | "captured" | "partially_captured" | "partially_refunded" | "refunded" | "canceled" | "requires_action";
1321
+ /**
1322
+ * The fulfillment's status.
1323
+ */
1013
1324
  export type FulfillmentStatus = "not_fulfilled" | "partially_fulfilled" | "fulfilled" | "partially_shipped" | "shipped" | "partially_delivered" | "delivered" | "canceled";
1325
+ /**
1326
+ * The data of the order details.
1327
+ */
1014
1328
  export interface OrderDetailDTO extends OrderDTO {
1329
+ /**
1330
+ * The associated payment collections.
1331
+ *
1332
+ * @expandable
1333
+ */
1015
1334
  payment_collections: PaymentCollectionDTO[];
1335
+ /**
1336
+ * The payment status of the order detail.
1337
+ */
1016
1338
  payment_status: PaymentStatus;
1339
+ /**
1340
+ * The associated fulfillments.
1341
+ *
1342
+ * @expandable
1343
+ */
1017
1344
  fulfillments: FulfillmentDTO[];
1345
+ /**
1346
+ * The fulfillment status of the order detail.
1347
+ */
1018
1348
  fulfillment_status: FulfillmentStatus;
1019
1349
  }
1350
+ /**
1351
+ * The order change details.
1352
+ */
1020
1353
  export interface OrderChangeDTO {
1021
1354
  /**
1022
1355
  * The ID of the order change
@@ -1129,6 +1462,9 @@ export interface OrderChangeDTO {
1129
1462
  */
1130
1463
  updated_at: Date | string;
1131
1464
  }
1465
+ /**
1466
+ * The order change action details.
1467
+ */
1132
1468
  export interface OrderChangeActionDTO {
1133
1469
  /**
1134
1470
  * The ID of the order change action
@@ -1148,8 +1484,17 @@ export interface OrderChangeActionDTO {
1148
1484
  * The ID of the associated order
1149
1485
  */
1150
1486
  order_id: string | null;
1487
+ /**
1488
+ * The ID of the associated return.
1489
+ */
1151
1490
  return_id: string | null;
1491
+ /**
1492
+ * The ID of the associated claim.
1493
+ */
1152
1494
  claim_id: string | null;
1495
+ /**
1496
+ * The ID of the associated exchange.
1497
+ */
1153
1498
  exchange_id: string | null;
1154
1499
  /**
1155
1500
  * The associated order
@@ -1186,6 +1531,9 @@ export interface OrderChangeActionDTO {
1186
1531
  */
1187
1532
  updated_at: Date | string;
1188
1533
  }
1534
+ /**
1535
+ * The order transaction details.
1536
+ */
1189
1537
  export interface OrderTransactionDTO {
1190
1538
  /**
1191
1539
  * The ID of the transaction
@@ -1230,6 +1578,9 @@ export interface OrderTransactionDTO {
1230
1578
  */
1231
1579
  updated_at: Date | string;
1232
1580
  }
1581
+ /**
1582
+ * The order transaction details.
1583
+ */
1233
1584
  export interface OrderTransactionDTO {
1234
1585
  /**
1235
1586
  * The ID of the transaction
@@ -1278,6 +1629,9 @@ export interface OrderTransactionDTO {
1278
1629
  */
1279
1630
  updated_at: Date | string;
1280
1631
  }
1632
+ /**
1633
+ * The order return reason details.
1634
+ */
1281
1635
  export interface OrderReturnReasonDTO {
1282
1636
  /**
1283
1637
  * The ID of the return reason
@@ -1299,7 +1653,13 @@ export interface OrderReturnReasonDTO {
1299
1653
  * The parent return reason ID
1300
1654
  */
1301
1655
  parent_return_reason_id?: string;
1656
+ /**
1657
+ * The associated order return reason.
1658
+ */
1302
1659
  parent_return_reason?: OrderReturnReasonDTO;
1660
+ /**
1661
+ * The return reason children of the order return reason.
1662
+ */
1303
1663
  return_reason_children?: OrderReturnReasonDTO[];
1304
1664
  /**
1305
1665
  * The metadata of the return reason
@@ -1314,132 +1674,462 @@ export interface OrderReturnReasonDTO {
1314
1674
  */
1315
1675
  updated_at: Date | string;
1316
1676
  }
1677
+ /**
1678
+ * The filters to apply on the retrieved orders.
1679
+ */
1317
1680
  export interface FilterableOrderProps extends BaseFilterable<FilterableOrderProps> {
1681
+ /**
1682
+ * The IDs to filter the orders by.
1683
+ */
1318
1684
  id?: string | string[];
1685
+ /**
1686
+ * Filter orders by their associated sales channel's ID.
1687
+ */
1319
1688
  sales_channel_id?: string | string[] | OperatorMap<string>;
1689
+ /**
1690
+ * Filter orders by their associated customer's ID.
1691
+ */
1320
1692
  customer_id?: string | string[] | OperatorMap<string>;
1693
+ /**
1694
+ * Filter orders by their associated region's ID.
1695
+ */
1321
1696
  region_id?: string | string[] | OperatorMap<string>;
1697
+ /**
1698
+ * Filter the orders by their creation date.
1699
+ */
1322
1700
  created_at?: OperatorMap<string>;
1701
+ /**
1702
+ * Filter orders by their update date.
1703
+ */
1323
1704
  updated_at?: OperatorMap<string>;
1324
1705
  }
1706
+ /**
1707
+ * The filters to apply on the retrieved order addresss.
1708
+ */
1325
1709
  export interface FilterableOrderAddressProps extends BaseFilterable<FilterableOrderAddressProps> {
1710
+ /**
1711
+ * The IDs to filter the order addresss by.
1712
+ */
1326
1713
  id?: string | string[];
1327
1714
  }
1715
+ /**
1716
+ * The filters to apply on the retrieved order line items.
1717
+ */
1328
1718
  export interface FilterableOrderLineItemProps extends BaseFilterable<FilterableOrderLineItemProps> {
1719
+ /**
1720
+ * The IDs to filter the order line items by.
1721
+ */
1329
1722
  id?: string | string[];
1723
+ /**
1724
+ * Filter line items by their associated order's ID.
1725
+ */
1330
1726
  order_id?: string | string[];
1727
+ /**
1728
+ * Filter by line items' title.
1729
+ */
1331
1730
  title?: string;
1731
+ /**
1732
+ * Filter line items by their associated variant's ID.
1733
+ */
1332
1734
  variant_id?: string | string[];
1735
+ /**
1736
+ * Filter line items by their associated product's ID.
1737
+ */
1333
1738
  product_id?: string | string[];
1334
1739
  }
1740
+ /**
1741
+ * The filters to apply on the retrieved line item adjustments.
1742
+ */
1335
1743
  export interface FilterableOrderLineItemAdjustmentProps extends BaseFilterable<FilterableOrderLineItemAdjustmentProps> {
1744
+ /**
1745
+ * The IDs to filter the line item adjustments by.
1746
+ */
1336
1747
  id?: string | string[];
1748
+ /**
1749
+ * Filter adjustments by their associated item's ID.
1750
+ */
1337
1751
  item_id?: string | string[];
1752
+ /**
1753
+ * Filter adjustments by their associated promotion's ID.
1754
+ */
1338
1755
  promotion_id?: string | string[];
1756
+ /**
1757
+ * Filter adjustments by their associated provider's ID.
1758
+ */
1339
1759
  provider_id?: string | string[];
1760
+ /**
1761
+ * The filters to apply on the associated line items.
1762
+ */
1340
1763
  item?: FilterableOrderLineItemProps;
1341
1764
  }
1765
+ /**
1766
+ * The filters to apply on the retrieved shipping methods.
1767
+ */
1342
1768
  export interface FilterableOrderShippingMethodProps extends BaseFilterable<FilterableOrderShippingMethodProps> {
1769
+ /**
1770
+ * The IDs to filter the shipping methods by.
1771
+ */
1343
1772
  id?: string | string[];
1773
+ /**
1774
+ * Filter the shipping methods by their associated order's ID.
1775
+ */
1344
1776
  order_id?: string | string[];
1777
+ /**
1778
+ * Filter shipping methods by their name.
1779
+ */
1345
1780
  name?: string;
1781
+ /**
1782
+ * Filter the shipping methods by their associated shipping option's ID.
1783
+ */
1346
1784
  shipping_option_id?: string | string[];
1347
1785
  }
1786
+ /**
1787
+ * The filters to apply on the retrieved shipping method adjustments.
1788
+ */
1348
1789
  export interface FilterableOrderShippingMethodAdjustmentProps extends BaseFilterable<FilterableOrderShippingMethodAdjustmentProps> {
1790
+ /**
1791
+ * The IDs to filter the shipping method adjustments by.
1792
+ */
1349
1793
  id?: string | string[];
1794
+ /**
1795
+ * Filter the adjustments by their associated shipping method's ID.
1796
+ */
1350
1797
  shipping_method_id?: string | string[];
1798
+ /**
1799
+ * Filter the adjustments by their associated promotion's ID.
1800
+ */
1351
1801
  promotion_id?: string | string[];
1802
+ /**
1803
+ * Filter the adjustments by their associated provider's ID.
1804
+ */
1352
1805
  provider_id?: string | string[];
1806
+ /**
1807
+ * The filters to apply on the associated shipping methods.
1808
+ */
1353
1809
  shipping_method?: FilterableOrderShippingMethodProps;
1354
1810
  }
1811
+ /**
1812
+ * The filters to apply on the retrieved line item tax lines.
1813
+ */
1355
1814
  export interface FilterableOrderLineItemTaxLineProps extends BaseFilterable<FilterableOrderLineItemTaxLineProps> {
1815
+ /**
1816
+ * The IDs to filter the line item tax lines by.
1817
+ */
1356
1818
  id?: string | string[];
1819
+ /**
1820
+ * Filter line item tax lines by their description.
1821
+ */
1357
1822
  description?: string;
1823
+ /**
1824
+ * Filter line item tax lines by their code.
1825
+ */
1358
1826
  code?: string | string[];
1827
+ /**
1828
+ * Filter the tax lines by their associated tax rate's ID.
1829
+ */
1359
1830
  tax_rate_id?: string | string[];
1831
+ /**
1832
+ * Filter the tax lines by their associated provider's ID.
1833
+ */
1360
1834
  provider_id?: string | string[];
1835
+ /**
1836
+ * Filter the tax lines by their associated item's ID.
1837
+ */
1361
1838
  item_id?: string | string[];
1839
+ /**
1840
+ * The filters to apply on the associated line items.
1841
+ */
1362
1842
  item?: FilterableOrderLineItemProps;
1363
1843
  }
1844
+ /**
1845
+ * The filters to apply on the retrieved shipping method tax lines.
1846
+ */
1364
1847
  export interface FilterableOrderShippingMethodTaxLineProps extends BaseFilterable<FilterableOrderShippingMethodTaxLineProps> {
1848
+ /**
1849
+ * The IDs to filter the order shipping method tax lines by.
1850
+ */
1365
1851
  id?: string | string[];
1852
+ /**
1853
+ * Filter the tax lines by their description
1854
+ */
1366
1855
  description?: string;
1856
+ /**
1857
+ * Filter the tax lines by their code.
1858
+ */
1367
1859
  code?: string | string[];
1860
+ /**
1861
+ * Filter the tax lines by their associated tax rate's ID.
1862
+ */
1368
1863
  tax_rate_id?: string | string[];
1864
+ /**
1865
+ * Filter the tax lines by their associated provider's ID.
1866
+ */
1369
1867
  provider_id?: string | string[];
1868
+ /**
1869
+ * Filter the tax lines by their associated shipping method's ID.
1870
+ */
1370
1871
  shipping_method_id?: string | string[];
1872
+ /**
1873
+ * The filters to apply on the retrieved associated shipping methods.
1874
+ */
1371
1875
  shipping_method?: FilterableOrderShippingMethodProps;
1372
1876
  }
1877
+ /**
1878
+ * The filters to apply on the retrieved order changes.
1879
+ */
1373
1880
  export interface FilterableOrderChangeProps extends BaseFilterable<FilterableOrderChangeProps> {
1881
+ /**
1882
+ * The IDs to filter the order changes by.
1883
+ */
1374
1884
  id?: string | string[] | OperatorMap<string>;
1885
+ /**
1886
+ * Filter the changes by their associated order's ID.
1887
+ */
1375
1888
  order_id?: string | string[] | OperatorMap<string>;
1889
+ /**
1890
+ * Filter the order changes by their status.
1891
+ */
1376
1892
  status?: string | string[] | OperatorMap<string>;
1893
+ /**
1894
+ * Filter the order changes by who requested them.
1895
+ */
1377
1896
  requested_by?: string | string[] | OperatorMap<string>;
1897
+ /**
1898
+ * Filter the order changes by who confirmed them.
1899
+ */
1378
1900
  confirmed_by?: string | string[] | OperatorMap<string>;
1901
+ /**
1902
+ * Filter the order changes by who declined them.
1903
+ */
1379
1904
  declined_by?: string | string[] | OperatorMap<string>;
1905
+ /**
1906
+ * Filter the order changes by who canceled them.
1907
+ */
1380
1908
  canceled_by?: string | string[] | OperatorMap<string>;
1909
+ /**
1910
+ * Filter the order changes by their creation date.
1911
+ */
1381
1912
  created_at?: OperatorMap<string>;
1913
+ /**
1914
+ * Filter the order changes by their update date.
1915
+ */
1382
1916
  updated_at?: OperatorMap<string>;
1917
+ /**
1918
+ * Filter the order changes by their deletion date.
1919
+ */
1383
1920
  deleted_at?: OperatorMap<string>;
1921
+ /**
1922
+ * Filter the order changes by their cancelation date.
1923
+ */
1384
1924
  canceled_at?: OperatorMap<string>;
1385
1925
  }
1926
+ /**
1927
+ * The filters to apply on the retrieved order change actions.
1928
+ */
1386
1929
  export interface FilterableOrderChangeActionProps extends BaseFilterable<FilterableOrderChangeActionProps> {
1930
+ /**
1931
+ * The IDs to filter the order change actions by.
1932
+ */
1387
1933
  id?: string | string[] | OperatorMap<string>;
1934
+ /**
1935
+ * Filter the actions by their associated order change's ID.
1936
+ */
1388
1937
  order_change_id?: string | string[] | OperatorMap<string>;
1938
+ /**
1939
+ * Filter the actions by their reference.
1940
+ */
1389
1941
  reference?: string | string[] | OperatorMap<string>;
1942
+ /**
1943
+ * Filter the actions by their reference ID.
1944
+ */
1390
1945
  reference_id?: string | string[] | OperatorMap<string>;
1391
1946
  }
1947
+ /**
1948
+ * The filters to apply on the retrieved transactions.
1949
+ */
1392
1950
  export interface FilterableOrderTransactionProps extends BaseFilterable<FilterableOrderTransactionProps> {
1951
+ /**
1952
+ * The IDs to filter the transactions by.
1953
+ */
1393
1954
  id?: string | string[] | OperatorMap<string>;
1955
+ /**
1956
+ * Filter the transactions by their associated order's ID.
1957
+ */
1394
1958
  order_id?: string | string[] | OperatorMap<string>;
1959
+ /**
1960
+ * Filter the transactions by their currency code.
1961
+ */
1395
1962
  currency_code?: string | string[] | OperatorMap<string>;
1963
+ /**
1964
+ * Filter the transactions by their reference.
1965
+ */
1396
1966
  reference?: string | string[] | OperatorMap<string>;
1967
+ /**
1968
+ * Filter the transactions by their associated reference's ID.
1969
+ */
1397
1970
  reference_id?: string | string[] | OperatorMap<string>;
1971
+ /**
1972
+ * Filter the transactions by their creation date.
1973
+ */
1398
1974
  created_at?: OperatorMap<string>;
1399
1975
  }
1976
+ /**
1977
+ * The filters to apply on the retrieved order items.
1978
+ */
1400
1979
  export interface FilterableOrderItemProps extends BaseFilterable<FilterableOrderItemProps> {
1980
+ /**
1981
+ * The IDs to filter the order items by.
1982
+ */
1401
1983
  id?: string | string[] | OperatorMap<string>;
1984
+ /**
1985
+ * Filter the order items by their associated order's ID.
1986
+ */
1402
1987
  order_id?: string | string[] | OperatorMap<string>;
1988
+ /**
1989
+ * Filter the order items by their version.
1990
+ */
1403
1991
  version?: string | string[] | OperatorMap<string>;
1992
+ /**
1993
+ * Filter the order items by their associated line item's ID.
1994
+ */
1404
1995
  item_id?: string | string[] | OperatorMap<string>;
1405
1996
  }
1997
+ /**
1998
+ * The filters to apply on the retrieved return reasons.
1999
+ */
1406
2000
  export interface FilterableOrderReturnReasonProps extends BaseFilterable<FilterableOrderReturnReasonProps> {
2001
+ /**
2002
+ * The IDs to filter the return reasons by.
2003
+ */
1407
2004
  id?: string | string[];
2005
+ /**
2006
+ * Filter the return reason by their value.
2007
+ */
1408
2008
  value?: string | string[];
2009
+ /**
2010
+ * Filter the return reason by their label.
2011
+ */
1409
2012
  label?: string;
2013
+ /**
2014
+ * Filter the return reason by their description.
2015
+ */
1410
2016
  description?: string;
1411
2017
  }
2018
+ /**
2019
+ * The filters to apply on the retrieved returns.
2020
+ */
1412
2021
  export interface FilterableReturnProps extends BaseFilterable<FilterableReturnProps> {
2022
+ /**
2023
+ * The IDs to filter the returns by.
2024
+ */
1413
2025
  id?: string | string[];
2026
+ /**
2027
+ * Filter the returns by their associated order's ID.
2028
+ */
1414
2029
  order_id?: string | string[];
2030
+ /**
2031
+ * Filter the returns by their associated claim's ID.
2032
+ */
1415
2033
  claim_id?: string | string[];
2034
+ /**
2035
+ * Filter the returns by their associated exchange's ID.
2036
+ */
1416
2037
  exchange_id?: string | string[];
2038
+ /**
2039
+ * Filter the returns by their status.
2040
+ */
1417
2041
  status?: string | string[];
2042
+ /**
2043
+ * Filter the returns by their refund amount.
2044
+ */
1418
2045
  refund_amount?: string | string[];
1419
2046
  }
2047
+ /**
2048
+ * The filters to apply on the retrieved claims.
2049
+ */
1420
2050
  export interface FilterableOrderClaimProps extends BaseFilterable<FilterableOrderClaimProps> {
2051
+ /**
2052
+ * The IDs to filter the claims by.
2053
+ */
1421
2054
  id?: string | string[];
2055
+ /**
2056
+ * Filter the claims by their associated order's ID.
2057
+ */
1422
2058
  order_id?: string | string[];
2059
+ /**
2060
+ * Filter the claims by their associated return's ID.
2061
+ */
1423
2062
  return_id?: string | string[];
1424
2063
  }
2064
+ /**
2065
+ * The filters to apply on the retrieved exchanges.
2066
+ */
1425
2067
  export interface FilterableOrderExchangeProps extends BaseFilterable<FilterableOrderExchangeProps> {
2068
+ /**
2069
+ * The IDs to filter the exchanges by.
2070
+ */
1426
2071
  id?: string | string[];
2072
+ /**
2073
+ * Filter the exchanges by their associated order's ID.
2074
+ */
1427
2075
  order_id?: string | string[];
2076
+ /**
2077
+ * Filter the exchanges by their associated return's ID.
2078
+ */
1428
2079
  return_id?: string | string[];
2080
+ /**
2081
+ * Filter the exchanges by whether backorders are allowed.
2082
+ */
1429
2083
  allow_backorder?: boolean;
1430
2084
  }
2085
+ /**
2086
+ * The details of changes made on orders.
2087
+ */
1431
2088
  export interface OrderChangeReturn {
2089
+ /**
2090
+ * The list of items created or updated.
2091
+ */
1432
2092
  items: {
2093
+ /**
2094
+ * The associated item's ID.
2095
+ */
1433
2096
  item_id: string;
2097
+ /**
2098
+ * The associated order's ID.
2099
+ */
1434
2100
  order_id: string;
2101
+ /**
2102
+ * The item's fulfilled quantity.
2103
+ */
1435
2104
  fulfilled_quantity: BigNumberInput;
2105
+ /**
2106
+ * The item's shipped quantity.
2107
+ */
1436
2108
  shipped_quantity: BigNumberInput;
2109
+ /**
2110
+ * The item's request quantity to be returned.
2111
+ */
1437
2112
  return_requested_quantity: BigNumberInput;
2113
+ /**
2114
+ * The item's quantity that was received through a return.
2115
+ */
1438
2116
  return_received_quantity: BigNumberInput;
2117
+ /**
2118
+ * The item's quantity that was dismissed in a return.
2119
+ */
1439
2120
  return_dismissed_quantity: BigNumberInput;
2121
+ /**
2122
+ * The item's quantity that was written off.
2123
+ */
1440
2124
  written_off_quantity: BigNumberInput;
2125
+ /**
2126
+ * Other details updated in an item.
2127
+ */
1441
2128
  [key: string]: any;
1442
2129
  }[];
2130
+ /**
2131
+ * The list of shipping methods created or updated.
2132
+ */
1443
2133
  shippingMethods: any[];
1444
2134
  }
1445
2135
  export {};