@wix/auto_sdk_ecom_draft-orders 1.0.20 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.d.ts +3 -2
  2. package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.js +3 -1
  3. package/build/cjs/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
  4. package/build/cjs/src/ecom-v1-draft-order-draft-orders.http.d.ts +40 -25
  5. package/build/cjs/src/ecom-v1-draft-order-draft-orders.http.js +153 -26
  6. package/build/cjs/src/ecom-v1-draft-order-draft-orders.http.js.map +1 -1
  7. package/build/cjs/src/ecom-v1-draft-order-draft-orders.meta.d.ts +3 -0
  8. package/build/cjs/src/ecom-v1-draft-order-draft-orders.meta.js +20 -1
  9. package/build/cjs/src/ecom-v1-draft-order-draft-orders.meta.js.map +1 -1
  10. package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.d.ts +82 -52
  11. package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.js +16 -10
  12. package/build/cjs/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
  13. package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.d.ts +288 -102
  14. package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.js +23 -9
  15. package/build/cjs/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
  16. package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.d.ts +473 -213
  17. package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.js +581 -136
  18. package/build/cjs/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
  19. package/build/es/src/ecom-v1-draft-order-draft-orders.context.d.ts +3 -2
  20. package/build/es/src/ecom-v1-draft-order-draft-orders.context.js +2 -1
  21. package/build/es/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
  22. package/build/es/src/ecom-v1-draft-order-draft-orders.http.d.ts +40 -25
  23. package/build/es/src/ecom-v1-draft-order-draft-orders.http.js +151 -25
  24. package/build/es/src/ecom-v1-draft-order-draft-orders.http.js.map +1 -1
  25. package/build/es/src/ecom-v1-draft-order-draft-orders.meta.d.ts +3 -0
  26. package/build/es/src/ecom-v1-draft-order-draft-orders.meta.js +18 -0
  27. package/build/es/src/ecom-v1-draft-order-draft-orders.meta.js.map +1 -1
  28. package/build/es/src/ecom-v1-draft-order-draft-orders.public.d.ts +82 -52
  29. package/build/es/src/ecom-v1-draft-order-draft-orders.public.js +14 -9
  30. package/build/es/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
  31. package/build/es/src/ecom-v1-draft-order-draft-orders.types.d.ts +288 -102
  32. package/build/es/src/ecom-v1-draft-order-draft-orders.types.js +23 -9
  33. package/build/es/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
  34. package/build/es/src/ecom-v1-draft-order-draft-orders.universal.d.ts +473 -213
  35. package/build/es/src/ecom-v1-draft-order-draft-orders.universal.js +578 -135
  36. package/build/es/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
  37. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.d.ts +3 -2
  38. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.js +3 -1
  39. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
  40. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.http.d.ts +40 -25
  41. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.http.js +153 -26
  42. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.http.js.map +1 -1
  43. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.meta.d.ts +3 -0
  44. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.meta.js +20 -1
  45. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.meta.js.map +1 -1
  46. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.d.ts +82 -52
  47. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.js +16 -10
  48. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
  49. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.d.ts +288 -102
  50. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.js +23 -9
  51. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
  52. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.d.ts +369 -379
  53. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.js +581 -136
  54. package/build/internal/cjs/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
  55. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.d.ts +3 -2
  56. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.js +2 -1
  57. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.context.js.map +1 -1
  58. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.http.d.ts +40 -25
  59. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.http.js +151 -25
  60. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.http.js.map +1 -1
  61. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.meta.d.ts +3 -0
  62. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.meta.js +18 -0
  63. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.meta.js.map +1 -1
  64. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.d.ts +82 -52
  65. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.js +14 -9
  66. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.public.js.map +1 -1
  67. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.d.ts +288 -102
  68. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.js +23 -9
  69. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.types.js.map +1 -1
  70. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.d.ts +369 -379
  71. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.js +578 -135
  72. package/build/internal/es/src/ecom-v1-draft-order-draft-orders.universal.js.map +1 -1
  73. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderResponse, CommitDraftOrderOptions, CommitDraftOrderResponse, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesResponse, CreateCustomDiscountsOptions, CreateCustomDiscountsResponse, CreateDraftOrderResponse, CreateEmptyDraftOrderResponse, DeleteCustomAdditionalFeesResponse, DeleteCustomDiscountsResponse, DraftOrdersQueryBuilder, GetDraftOrderResponse, GetOrderDraftabilityStatusResponse, IdAndApplied, SetAdditionalFeesResponse, SetDiscountsResponse, UpdateLineItemsOptions, UpdateLineItemsResponse } from './ecom-v1-draft-order-draft-orders.universal.js';
2
+ import { AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderResponse, CommitDraftOrderOptions, CommitDraftOrderResponse, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesResponse, CreateCustomDiscountsOptions, CreateCustomDiscountsResponse, CreateDraftOrderResponse, CreateEmptyDraftOrderResponse, CreateOrderFromDraftOptions, CreateOrderFromDraftResponse, DeleteCustomAdditionalFeesResponse, DeleteCustomDiscountsResponse, DraftOrdersQueryBuilder, GetDraftOrderResponse, GetOrderDraftabilityStatusResponse, IdAndApplied, LineItemChangeDetails, SetAdditionalFeesResponse, SetBillingInfoOptions, SetBillingInfoResponse, SetBusinessLocationOptions, SetBusinessLocationResponse, SetBuyerInfoOptions, SetBuyerInfoResponse, SetDiscountsResponse, SetRecipientInfoOptions, SetRecipientInfoResponse, SetShippingInfoOptions, SetShippingInfoResponse, SetTaxExemptionOptions, SetTaxExemptionResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateLineItemsResponse } from './ecom-v1-draft-order-draft-orders.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
@@ -9,8 +9,8 @@ interface CreateDraftOrderSignature {
9
9
  * Creates or gets a draft order.
10
10
  *
11
11
  * When passing the ID of an order that is already in draft, the existing draft order will be returned.
12
- * To complete a draft and update the order, call [Commit Draft Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/draft-orders/commit-draft-order).
13
- * @param - To create a draft from existing order, provide its id. Otherwise, an empty draft will be created.
12
+ * To complete a draft and update the order, call Commit Draft Order([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/draft-orders/commit-draft-order) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/draft-orders/commit-draft-order)).
13
+ * @param - Existing order ID to create draft from.
14
14
  */
15
15
  (orderId: string): Promise<CreateDraftOrderResponse>;
16
16
  }
@@ -25,7 +25,7 @@ export declare function addLineItemsToDraftOrder(httpClient: HttpClient): AddLin
25
25
  interface AddLineItemsToDraftOrderSignature {
26
26
  /**
27
27
  * Adds line items to a draft order.
28
- * @param - The draft order id
28
+ * @param - Draft order ID.
29
29
  */
30
30
  (draftOrderId: string, options?: AddLineItemsToDraftOrderOptions | undefined): Promise<AddLineItemsToDraftOrderResponse>;
31
31
  }
@@ -39,26 +39,32 @@ interface UpdateLineItemsSignature {
39
39
  * > + Passing a quantity of `0` will remove the line item.
40
40
  * > + Price cannot be updated for line items with `paymentOption: MEMBERSHIP`.
41
41
  * > + Quantity cannot be decreased fulfilled line items. To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-fulfillments/list-fulfillments-for-single-order).
42
- * @param - The draft order id
42
+ * @param - Draft order ID.
43
+ * @param - Details of changes to apply per line item.
43
44
  */
44
- (draftOrderId: string, options?: UpdateLineItemsOptions | undefined): Promise<UpdateLineItemsResponse>;
45
+ (draftOrderId: string, lineItemChanges: LineItemChangeDetails[]): Promise<UpdateLineItemsResponse>;
45
46
  }
46
47
  export declare function setDiscounts(httpClient: HttpClient): SetDiscountsSignature;
47
48
  interface SetDiscountsSignature {
48
49
  /**
49
- * Sets and enables or disables discounts on a draft order.
50
+ * Applies or unapplies discounts on a draft order.
50
51
  *
51
- * Any discounts not passed will not change.
52
- * @param - The draft order id
53
- * @param - The discount ids to opt-in. all existing discounts not listed are to be opted-out.
52
+ * Unapplied discounts are still part of draft order, but do not affect balance.
53
+ * Existing discounts, not mentioned in request, will keep their current state.
54
+ * @param - Draft order ID.
55
+ * @param - Discount IDs to apply/unapply.
56
+ * Existing discounts, not mentioned in request, will keep their current state.
54
57
  */
55
58
  (draftOrderId: string, discounts: IdAndApplied[]): Promise<SetDiscountsResponse>;
56
59
  }
57
60
  export declare function createCustomDiscounts(httpClient: HttpClient): CreateCustomDiscountsSignature;
58
61
  interface CreateCustomDiscountsSignature {
59
62
  /**
60
- * Adds merchant discounts to the order.
61
- * @param - The draft order id
63
+ * Create custom discounts on a draft order.
64
+ *
65
+ * Newly added discounts are unapplied by default.
66
+ * To apply them, use Set Discounts ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/draft-orders/set-discounts) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/draft-orders/set-discounts)).
67
+ * @param - Draft order ID.
62
68
  */
63
69
  (draftOrderId: string, options?: CreateCustomDiscountsOptions | undefined): Promise<CreateCustomDiscountsResponse>;
64
70
  }
@@ -66,28 +72,32 @@ export declare function deleteCustomDiscounts(httpClient: HttpClient): DeleteCus
66
72
  interface DeleteCustomDiscountsSignature {
67
73
  /**
68
74
  * Remove custom discounts from the order.
69
- * @param - The draft order id
70
- * @param - The discounts to remove
75
+ * @param - Draft order ID.
76
+ * @param - Ids of discounts to remove.
71
77
  */
72
78
  (draftOrderId: string, discountIds: string[]): Promise<DeleteCustomDiscountsResponse>;
73
79
  }
74
80
  export declare function setAdditionalFees(httpClient: HttpClient): SetAdditionalFeesSignature;
75
81
  interface SetAdditionalFeesSignature {
76
82
  /**
77
- * Set which additional fees existing on the draft order are to be opt-in.
78
- * All existing additional fees not provided on the call are opted-out.
79
- * @param - The draft order id
80
- * @param - The additional fees ids to opt-in. all existing additional fees not listed are to be opted-out
83
+ * Applies or unapplies additional fees on a draft order.
84
+ *
85
+ * Unapplied fees are still part of draft order, but do not affect balance.
86
+ * Existing additional fees, not mentioned in request, will keep their current state.
87
+ * @param - Draft order ID.
88
+ * @param - Additional fee IDs to apply/unapply.
89
+ * Existing additional fees, not mentioned in this list, will keep their current state.
81
90
  */
82
91
  (draftOrderId: string, additionalFees: IdAndApplied[]): Promise<SetAdditionalFeesResponse>;
83
92
  }
84
93
  export declare function createCustomAdditionalFees(httpClient: HttpClient): CreateCustomAdditionalFeesSignature;
85
94
  interface CreateCustomAdditionalFeesSignature {
86
95
  /**
87
- * Create custom additional fees to the order.
88
- * added additional fees are by default opted-out.
89
- * To opt-in them, please call SetAdditionalFees with the added additional fee ids.
90
- * @param - The draft order id
96
+ * Creates custom additional fees on a draft order.
97
+ *
98
+ * Newly added additional fees are unapplied by default.
99
+ * To apply them, use Set Additional Fees ([REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/draft-orders/set-additional-fees) | [SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/draft-orders/set-additional-fees)).
100
+ * @param - Draft order ID.
91
101
  */
92
102
  (draftOrderId: string, options?: CreateCustomAdditionalFeesOptions | undefined): Promise<CreateCustomAdditionalFeesResponse>;
93
103
  }
@@ -95,84 +105,93 @@ export declare function deleteCustomAdditionalFees(httpClient: HttpClient): Dele
95
105
  interface DeleteCustomAdditionalFeesSignature {
96
106
  /**
97
107
  * Remove custom additional fees from the order.
98
- * @param - The draft order id
99
- * @param - The additional fees to remove
108
+ * @param - Draft order ID.
109
+ * @param - Ids of additional fees to remove.
100
110
  */
101
111
  (draftOrderId: string, customAdditionalFees: string[]): Promise<DeleteCustomAdditionalFeesResponse>;
102
112
  }
103
113
  export declare function setShippingInfo(httpClient: HttpClient): SetShippingInfoSignature;
104
114
  interface SetShippingInfoSignature {
105
115
  /**
106
- * Sets shipping info to a draft order.
116
+ * Sets shipping information on a draft order.
117
+ * @param - Draft order ID.
107
118
  */
108
- (): Promise<void>;
119
+ (draftOrderId: string, options?: SetShippingInfoOptions | undefined): Promise<SetShippingInfoResponse>;
109
120
  }
110
121
  export declare function setBuyerInfo(httpClient: HttpClient): SetBuyerInfoSignature;
111
122
  interface SetBuyerInfoSignature {
112
123
  /**
113
- * Sets buyer info to a draft order.
124
+ * Sets buyer info on a draft order.
125
+ * @param - Draft order ID.
114
126
  */
115
- (): Promise<void>;
127
+ (draftOrderId: string, options?: SetBuyerInfoOptions | undefined): Promise<SetBuyerInfoResponse>;
116
128
  }
117
129
  export declare function setRecipientInfo(httpClient: HttpClient): SetRecipientInfoSignature;
118
130
  interface SetRecipientInfoSignature {
119
131
  /**
120
- * Sets recipient info to a draft order.
132
+ * Sets recipient info on a draft order.
133
+ * @param - Draft order ID.
121
134
  */
122
- (): Promise<void>;
135
+ (draftOrderId: string, options?: SetRecipientInfoOptions | undefined): Promise<SetRecipientInfoResponse>;
123
136
  }
124
137
  export declare function setBillingInfo(httpClient: HttpClient): SetBillingInfoSignature;
125
138
  interface SetBillingInfoSignature {
126
139
  /**
127
- * Sets billing info to a draft order.
140
+ * Sets billing info on a draft order.
141
+ * @param - Draft order ID.
128
142
  */
129
- (): Promise<void>;
143
+ (draftOrderId: string, options?: SetBillingInfoOptions | undefined): Promise<SetBillingInfoResponse>;
130
144
  }
131
145
  export declare function getDraftOrder(httpClient: HttpClient): GetDraftOrderSignature;
132
146
  interface GetDraftOrderSignature {
133
147
  /**
134
- * Get an order.
135
- * When order is in draft status, it's re-estimated and return with latest tax and totals
148
+ * Gets a draft order.
149
+ *
150
+ * Draft order is recalculated and contains latest tax and totals (unless already committed).
136
151
  * Automatic discounts and automatic additional fees will reflect the latest prices and eligibility.
137
152
  * Calculation will be based on current draft order content - items, shipping info and eligible discounts and additional fees.
138
- * When order is in committed status, it's returned with it's calculation at the moment it was committed.
139
- * @param - The draft order id
153
+ * When retrieving an already committed draft, it's not recalculated and contains data calculated during commit.
154
+ * @param - Draft order ID.
140
155
  */
141
156
  (draftOrderId: string): Promise<GetDraftOrderResponse>;
142
157
  }
143
158
  export declare function getOrderDraftabilityStatus(httpClient: HttpClient): GetOrderDraftabilityStatusSignature;
144
159
  interface GetOrderDraftabilityStatusSignature {
145
160
  /**
146
- * Checks whether a draft can be created for this order
147
- * @param - Order ID.
161
+ * Checks whether a draft can be created for this order.
162
+ * @param - Order Id.
148
163
  */
149
164
  (orderId: string): Promise<GetOrderDraftabilityStatusResponse>;
150
165
  }
151
166
  export declare function commitDraftOrder(httpClient: HttpClient): CommitDraftOrderSignature;
152
167
  interface CommitDraftOrderSignature {
153
168
  /**
154
- * Commit latest changes to the baseline order and control what side-effects will be applied.
169
+ * Commit latest changes to the baseline order and control which side-effects are executed.
170
+ *
155
171
  * Commit cannot be undone or reverted.
156
- * Order-edit become closed for editing, however it's kept for reference and can be retrieved.
157
- * @param - The draft order id
172
+ * Committed draft will become closed for further modifications, however it's kept for reference and can be retrieved.
173
+ * @param - Draft order ID.
158
174
  */
159
175
  (draftOrderId: string, options?: CommitDraftOrderOptions | undefined): Promise<CommitDraftOrderResponse>;
160
176
  }
161
177
  export declare function createOrderFromDraft(httpClient: HttpClient): CreateOrderFromDraftSignature;
162
178
  interface CreateOrderFromDraftSignature {
163
179
  /**
164
- * Create new order and control what side-effects will be applied
180
+ * Creates a new order while specifying which side-effects are executed.
181
+ *
165
182
  * Commit cannot be undone or reverted.
166
- * Order-edit become closed for editing, however it's kept for reference and can be retrieved.
183
+ * Committed draft will become closed for further modifications, however it's kept for reference and can be retrieved.
184
+ * @param - Draft order ID.
167
185
  */
168
- (): Promise<void>;
186
+ (draftOrderId: string, options?: CreateOrderFromDraftOptions | undefined): Promise<CreateOrderFromDraftResponse>;
169
187
  }
170
188
  export declare function deleteDraftOrder(httpClient: HttpClient): DeleteDraftOrderSignature;
171
189
  interface DeleteDraftOrderSignature {
172
190
  /**
173
- * Delete order-edit entity with all pending changes.
174
- * Order-edit in status 'COMMITTED' cannot be deleted.
175
- * @param - The draft order id
191
+ * Deletes a draft order along with all its pending changes.
192
+ *
193
+ * Draft orders in status 'COMMITTED' cannot be deleted.
194
+ * @param - Draft order ID.
176
195
  */
177
196
  (draftOrderId: string): Promise<void>;
178
197
  }
@@ -192,18 +211,29 @@ interface QueryDraftOrdersSignature {
192
211
  */
193
212
  (): DraftOrdersQueryBuilder;
194
213
  }
214
+ export declare function updateExtendedFields(httpClient: HttpClient): UpdateExtendedFieldsSignature;
215
+ interface UpdateExtendedFieldsSignature {
216
+ /**
217
+ * Updates extended fields on a draft order.
218
+ * @param - ID of the entity to update.
219
+ * @param - Identifier for the app whose extended fields are being updated.
220
+ */
221
+ (_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse>;
222
+ }
195
223
  export declare function setTaxExemption(httpClient: HttpClient): SetTaxExemptionSignature;
196
224
  interface SetTaxExemptionSignature {
197
225
  /**
198
- * Sets tax exemption to a draft order.
226
+ * Sets tax exemption on a draft order.
227
+ * @param - Draft order ID.
199
228
  */
200
- (): Promise<void>;
229
+ (draftOrderId: string, options: SetTaxExemptionOptions): Promise<SetTaxExemptionResponse>;
201
230
  }
202
231
  export declare function setBusinessLocation(httpClient: HttpClient): SetBusinessLocationSignature;
203
232
  interface SetBusinessLocationSignature {
204
233
  /**
205
- * Sets business location to a draft order.
234
+ * Sets business location on a draft order.
235
+ * @param - Draft order ID.
206
236
  */
207
- (): Promise<void>;
237
+ (draftOrderId: string, options?: SetBusinessLocationOptions | undefined): Promise<SetBusinessLocationResponse>;
208
238
  }
209
- export { ActionEvent, Activity, ActivityContentOneOf, ActivityType, AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderResponse, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, Address, AddressLocation, AddressWithContact, AdjustmentType, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AttributionSource, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, Color, CommitDraftOrderOptions, CommitDraftOrderRequest, CommitDraftOrderResponse, Coupon, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesResponse, CreateCustomDiscountsOptions, CreateCustomDiscountsRequest, CreateCustomDiscountsResponse, CreateDraftOrderRequest, CreateDraftOrderResponse, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderResponse, CreateOrderFromDraftRequest, CreateOrderFromDraftResponse, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomField, CustomLineItem, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesResponse, DeleteCustomDiscountsRequest, DeleteCustomDiscountsResponse, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DigitalFile, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrdersQueryBuilder, DraftOrdersQueryResult, EditingStatus, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftEditabilityStatusRequest, GetDraftEditabilityStatusResponse, GetDraftOrderRequest, GetDraftOrderResponse, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusResponse, GiftCardPaymentRefund, IdAndApplied, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemDetails, ItemDetailsChangeTypeOneOf, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItemAmount, LineItemChangeDetails, LineItemChanges, LineItemDiscount, LineItemExchangeData, LineItemPriceChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, NewExchangeOrderCreated, NonDraftableReason, Order, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderStatus, OrderTaxBreakdown, OrderTaxInfo, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupMethod, PlainTextValue, Price, PriceDescription, PriceSummary, ProductName, QueryDraftOrdersRequest, QueryDraftOrdersResponse, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestoreInfo, RuleType, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetAdditionalFeesResponse, SetBillingInfoRequest, SetBillingInfoResponse, SetBusinessLocationRequest, SetBusinessLocationResponse, SetBuyerInfoRequest, SetBuyerInfoResponse, SetDiscountsRequest, SetDiscountsResponse, SetRecipientInfoRequest, SetRecipientInfoResponse, SetShippingInfoRequest, SetShippingInfoResponse, SetTaxExemptionRequest, SetTaxExemptionResponse, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, SourceType, StreetAddress, SubscriptionDescription, SubscriptionFrequency, SubscriptionInfo, SubscriptionSettings, SubscriptionTitle, SystemError, TagList, Tags, TaxDetails, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TotalPriceChange, TranslatedValue, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, UpdateLineItemsOptions, UpdateLineItemsRequest, UpdateLineItemsResponse, UpdateShippingInfoRequest, UpdateShippingInfoResponse, V1BalanceSummary, V1CreatedBy, V1CreatedByStringOneOf, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, V1DeliveryTimeSlot, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, WebhookIdentityType, WeightUnit, WixReceipt, } from './ecom-v1-draft-order-draft-orders.universal.js';
239
+ export { ActionEvent, Activity, ActivityContentOneOf, ActivityType, AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderRequest, AddLineItemsToDraftOrderResponse, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, Address, AddressLocation, AddressWithContact, AdjustmentType, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AttributionSource, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, Color, CommitDraftOrderOptions, CommitDraftOrderRequest, CommitDraftOrderResponse, Coupon, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesRequest, CreateCustomAdditionalFeesResponse, CreateCustomDiscountsOptions, CreateCustomDiscountsRequest, CreateCustomDiscountsResponse, CreateDraftOrderRequest, CreateDraftOrderResponse, CreateEmptyDraftOrderRequest, CreateEmptyDraftOrderResponse, CreateOrderFromDraftOptions, CreateOrderFromDraftRequest, CreateOrderFromDraftResponse, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomField, CustomLineItem, DeleteCustomAdditionalFeesRequest, DeleteCustomAdditionalFeesResponse, DeleteCustomDiscountsRequest, DeleteCustomDiscountsResponse, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DigitalFile, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrdersQueryBuilder, DraftOrdersQueryResult, EditingStatus, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftOrderRequest, GetDraftOrderResponse, GetOrderDraftabilityStatusRequest, GetOrderDraftabilityStatusResponse, GiftCardPaymentRefund, IdAndApplied, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemDetails, ItemDetailsChangeTypeOneOf, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItemAmount, LineItemChangeDetails, LineItemChanges, LineItemDiscount, LineItemExchangeData, LineItemPriceChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, NewExchangeOrderCreated, NonDraftableReason, Order, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderStatus, OrderTaxBreakdown, OrderTaxInfo, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupMethod, PlainTextValue, Price, PriceDescription, PriceSummary, ProductName, QueryDraftOrdersRequest, QueryDraftOrdersResponse, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestoreInfo, RuleType, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetAdditionalFeesResponse, SetBillingInfoOptions, SetBillingInfoRequest, SetBillingInfoResponse, SetBusinessLocationOptions, SetBusinessLocationRequest, SetBusinessLocationResponse, SetBuyerInfoOptions, SetBuyerInfoRequest, SetBuyerInfoResponse, SetDiscountsRequest, SetDiscountsResponse, SetRecipientInfoOptions, SetRecipientInfoRequest, SetRecipientInfoResponse, SetShippingInfoOptions, SetShippingInfoRequest, SetShippingInfoResponse, SetTaxExemptionOptions, SetTaxExemptionRequest, SetTaxExemptionResponse, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, SourceType, StreetAddress, SubscriptionDescription, SubscriptionFrequency, SubscriptionInfo, SubscriptionSettings, SubscriptionTitle, SystemError, TagList, Tags, TaxDetails, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TotalPriceChange, TranslatedValue, UpdateExtendedFieldsOptions, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, UpdateLineItemsRequest, UpdateLineItemsResponse, UpdateShippingInfoRequest, UpdateShippingInfoResponse, V1BalanceSummary, V1CreatedBy, V1CreatedByStringOneOf, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, V1DeliveryTimeSlot, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, WebhookIdentityType, WeightUnit, WixReceipt, } from './ecom-v1-draft-order-draft-orders.universal.js';
@@ -1,4 +1,4 @@
1
- import { addLineItemsToDraftOrder as universalAddLineItemsToDraftOrder, commitDraftOrder as universalCommitDraftOrder, createCustomAdditionalFees as universalCreateCustomAdditionalFees, createCustomDiscounts as universalCreateCustomDiscounts, createDraftOrder as universalCreateDraftOrder, createEmptyDraftOrder as universalCreateEmptyDraftOrder, createOrderFromDraft as universalCreateOrderFromDraft, deleteCustomAdditionalFees as universalDeleteCustomAdditionalFees, deleteCustomDiscounts as universalDeleteCustomDiscounts, deleteDraftOrder as universalDeleteDraftOrder, getDraftOrder as universalGetDraftOrder, getOrderDraftabilityStatus as universalGetOrderDraftabilityStatus, queryDraftOrders as universalQueryDraftOrders, setAdditionalFees as universalSetAdditionalFees, setBillingInfo as universalSetBillingInfo, setBusinessLocation as universalSetBusinessLocation, setBuyerInfo as universalSetBuyerInfo, setDiscounts as universalSetDiscounts, setRecipientInfo as universalSetRecipientInfo, setShippingInfo as universalSetShippingInfo, setTaxExemption as universalSetTaxExemption, updateLineItems as universalUpdateLineItems, } from './ecom-v1-draft-order-draft-orders.universal.js';
1
+ import { addLineItemsToDraftOrder as universalAddLineItemsToDraftOrder, commitDraftOrder as universalCommitDraftOrder, createCustomAdditionalFees as universalCreateCustomAdditionalFees, createCustomDiscounts as universalCreateCustomDiscounts, createDraftOrder as universalCreateDraftOrder, createEmptyDraftOrder as universalCreateEmptyDraftOrder, createOrderFromDraft as universalCreateOrderFromDraft, deleteCustomAdditionalFees as universalDeleteCustomAdditionalFees, deleteCustomDiscounts as universalDeleteCustomDiscounts, deleteDraftOrder as universalDeleteDraftOrder, getDraftOrder as universalGetDraftOrder, getOrderDraftabilityStatus as universalGetOrderDraftabilityStatus, queryDraftOrders as universalQueryDraftOrders, setAdditionalFees as universalSetAdditionalFees, setBillingInfo as universalSetBillingInfo, setBusinessLocation as universalSetBusinessLocation, setBuyerInfo as universalSetBuyerInfo, setDiscounts as universalSetDiscounts, setRecipientInfo as universalSetRecipientInfo, setShippingInfo as universalSetShippingInfo, setTaxExemption as universalSetTaxExemption, updateExtendedFields as universalUpdateExtendedFields, updateLineItems as universalUpdateLineItems, } from './ecom-v1-draft-order-draft-orders.universal.js';
2
2
  export const __metadata = { PACKAGE_NAME: '@wix/ecom' };
3
3
  export function createDraftOrder(httpClient) {
4
4
  return (orderId) => universalCreateDraftOrder(orderId,
@@ -16,7 +16,7 @@ export function addLineItemsToDraftOrder(httpClient) {
16
16
  { httpClient });
17
17
  }
18
18
  export function updateLineItems(httpClient) {
19
- return (draftOrderId, options) => universalUpdateLineItems(draftOrderId, options,
19
+ return (draftOrderId, lineItemChanges) => universalUpdateLineItems(draftOrderId, lineItemChanges,
20
20
  // @ts-ignore
21
21
  { httpClient });
22
22
  }
@@ -51,22 +51,22 @@ export function deleteCustomAdditionalFees(httpClient) {
51
51
  { httpClient });
52
52
  }
53
53
  export function setShippingInfo(httpClient) {
54
- return () => universalSetShippingInfo(
54
+ return (draftOrderId, options) => universalSetShippingInfo(draftOrderId, options,
55
55
  // @ts-ignore
56
56
  { httpClient });
57
57
  }
58
58
  export function setBuyerInfo(httpClient) {
59
- return () => universalSetBuyerInfo(
59
+ return (draftOrderId, options) => universalSetBuyerInfo(draftOrderId, options,
60
60
  // @ts-ignore
61
61
  { httpClient });
62
62
  }
63
63
  export function setRecipientInfo(httpClient) {
64
- return () => universalSetRecipientInfo(
64
+ return (draftOrderId, options) => universalSetRecipientInfo(draftOrderId, options,
65
65
  // @ts-ignore
66
66
  { httpClient });
67
67
  }
68
68
  export function setBillingInfo(httpClient) {
69
- return () => universalSetBillingInfo(
69
+ return (draftOrderId, options) => universalSetBillingInfo(draftOrderId, options,
70
70
  // @ts-ignore
71
71
  { httpClient });
72
72
  }
@@ -86,7 +86,7 @@ export function commitDraftOrder(httpClient) {
86
86
  { httpClient });
87
87
  }
88
88
  export function createOrderFromDraft(httpClient) {
89
- return () => universalCreateOrderFromDraft(
89
+ return (draftOrderId, options) => universalCreateOrderFromDraft(draftOrderId, options,
90
90
  // @ts-ignore
91
91
  { httpClient });
92
92
  }
@@ -100,13 +100,18 @@ export function queryDraftOrders(httpClient) {
100
100
  // @ts-ignore
101
101
  { httpClient });
102
102
  }
103
+ export function updateExtendedFields(httpClient) {
104
+ return (_id, namespace, options) => universalUpdateExtendedFields(_id, namespace, options,
105
+ // @ts-ignore
106
+ { httpClient });
107
+ }
103
108
  export function setTaxExemption(httpClient) {
104
- return () => universalSetTaxExemption(
109
+ return (draftOrderId, options) => universalSetTaxExemption(draftOrderId, options,
105
110
  // @ts-ignore
106
111
  { httpClient });
107
112
  }
108
113
  export function setBusinessLocation(httpClient) {
109
- return () => universalSetBusinessLocation(
114
+ return (draftOrderId, options) => universalSetBusinessLocation(draftOrderId, options,
110
115
  // @ts-ignore
111
116
  { httpClient });
112
117
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ecom-v1-draft-order-draft-orders.public.js","sourceRoot":"","sources":["../../../../src/ecom-v1-draft-order-draft-orders.public.ts"],"names":[],"mappings":"AACA,OAAO,EAqBL,wBAAwB,IAAI,iCAAiC,EAC7D,gBAAgB,IAAI,yBAAyB,EAC7C,0BAA0B,IAAI,mCAAmC,EACjE,qBAAqB,IAAI,8BAA8B,EACvD,gBAAgB,IAAI,yBAAyB,EAC7C,qBAAqB,IAAI,8BAA8B,EACvD,oBAAoB,IAAI,6BAA6B,EACrD,0BAA0B,IAAI,mCAAmC,EACjE,qBAAqB,IAAI,8BAA8B,EACvD,gBAAgB,IAAI,yBAAyB,EAC7C,aAAa,IAAI,sBAAsB,EACvC,0BAA0B,IAAI,mCAAmC,EACjE,gBAAgB,IAAI,yBAAyB,EAC7C,iBAAiB,IAAI,0BAA0B,EAC/C,cAAc,IAAI,uBAAuB,EACzC,mBAAmB,IAAI,4BAA4B,EACnD,YAAY,IAAI,qBAAqB,EACrC,YAAY,IAAI,qBAAqB,EACrC,gBAAgB,IAAI,yBAAyB,EAC7C,eAAe,IAAI,wBAAwB,EAC3C,eAAe,IAAI,wBAAwB,EAC3C,eAAe,IAAI,wBAAwB,GAC5C,MAAM,iDAAiD,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,gBAAgB,CAC9B,UAAsB;IAEtB,OAA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EAOX,iBAAiB,EAKjB,aAAa,EAIb,yBAAyB,EACzB,YAAY,EAuBZ,QAAQ,EA2BR,SAAS,EAET,UAAU,EAGV,qBAAqB,EAWrB,kBAAkB,EAqBlB,OAAO,EACP,mBAAmB,EACnB,UAAU,GAEX,MAAM,iDAAiD,CAAC"}
1
+ {"version":3,"file":"ecom-v1-draft-order-draft-orders.public.js","sourceRoot":"","sources":["../../../../src/ecom-v1-draft-order-draft-orders.public.ts"],"names":[],"mappings":"AACA,OAAO,EAqCL,wBAAwB,IAAI,iCAAiC,EAC7D,gBAAgB,IAAI,yBAAyB,EAC7C,0BAA0B,IAAI,mCAAmC,EACjE,qBAAqB,IAAI,8BAA8B,EACvD,gBAAgB,IAAI,yBAAyB,EAC7C,qBAAqB,IAAI,8BAA8B,EACvD,oBAAoB,IAAI,6BAA6B,EACrD,0BAA0B,IAAI,mCAAmC,EACjE,qBAAqB,IAAI,8BAA8B,EACvD,gBAAgB,IAAI,yBAAyB,EAC7C,aAAa,IAAI,sBAAsB,EACvC,0BAA0B,IAAI,mCAAmC,EACjE,gBAAgB,IAAI,yBAAyB,EAC7C,iBAAiB,IAAI,0BAA0B,EAC/C,cAAc,IAAI,uBAAuB,EACzC,mBAAmB,IAAI,4BAA4B,EACnD,YAAY,IAAI,qBAAqB,EACrC,YAAY,IAAI,qBAAqB,EACrC,gBAAgB,IAAI,yBAAyB,EAC7C,eAAe,IAAI,wBAAwB,EAC3C,eAAe,IAAI,wBAAwB,EAC3C,oBAAoB,IAAI,6BAA6B,EACrD,eAAe,IAAI,wBAAwB,GAC5C,MAAM,iDAAiD,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,OAAe,EAAE,EAAE,CACzB,yBAAyB,CACvB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;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