@wix/auto_sdk_ecom_draft-orders 1.0.57 → 1.0.59
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +174 -152
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +146 -141
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +174 -152
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +146 -141
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +228 -157
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +146 -141
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +228 -157
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +146 -141
- package/package.json +2 -2
|
@@ -198,6 +198,161 @@ interface PriceDescription {
|
|
|
198
198
|
*/
|
|
199
199
|
translated?: string | null;
|
|
200
200
|
}
|
|
201
|
+
interface ProductName {
|
|
202
|
+
/**
|
|
203
|
+
* __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
204
|
+
*
|
|
205
|
+
* Min: 1 character.
|
|
206
|
+
* Max: 200 characters.
|
|
207
|
+
* @minLength 1
|
|
208
|
+
* @maxLength 200
|
|
209
|
+
*/
|
|
210
|
+
original?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Item name translated into the buyer's language.
|
|
213
|
+
*
|
|
214
|
+
* Min: 1 character.
|
|
215
|
+
* Max: 400 characters.
|
|
216
|
+
* Default: Same as `original`.
|
|
217
|
+
* @minLength 1
|
|
218
|
+
* @maxLength 400
|
|
219
|
+
*/
|
|
220
|
+
translated?: string | null;
|
|
221
|
+
}
|
|
222
|
+
interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
223
|
+
/** Description line plain text value. */
|
|
224
|
+
plainText?: PlainTextValue;
|
|
225
|
+
/** Description line color value. */
|
|
226
|
+
colorInfo?: Color;
|
|
227
|
+
/** Description line name. */
|
|
228
|
+
name?: DescriptionLineName;
|
|
229
|
+
/**
|
|
230
|
+
* Whether the description line originates from a modifier.
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
modifierDescriptionLine?: boolean;
|
|
234
|
+
}
|
|
235
|
+
/** @oneof */
|
|
236
|
+
interface DescriptionLineValueOneOf {
|
|
237
|
+
/** Description line plain text value. */
|
|
238
|
+
plainText?: PlainTextValue;
|
|
239
|
+
/** Description line color value. */
|
|
240
|
+
colorInfo?: Color;
|
|
241
|
+
}
|
|
242
|
+
/** @oneof */
|
|
243
|
+
interface DescriptionLineDescriptionLineValueOneOf {
|
|
244
|
+
}
|
|
245
|
+
interface DescriptionLineName {
|
|
246
|
+
/**
|
|
247
|
+
* Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
248
|
+
* @maxLength 100
|
|
249
|
+
*/
|
|
250
|
+
original?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Description line name translated into the buyer's language.
|
|
253
|
+
*
|
|
254
|
+
* Default: Same as `original`.
|
|
255
|
+
* @maxLength 200
|
|
256
|
+
*/
|
|
257
|
+
translated?: string | null;
|
|
258
|
+
}
|
|
259
|
+
interface PlainTextValue {
|
|
260
|
+
/**
|
|
261
|
+
* Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
262
|
+
* @maxLength 600
|
|
263
|
+
*/
|
|
264
|
+
original?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Description line plain text value translated into the buyer's language.
|
|
267
|
+
*
|
|
268
|
+
* Default: Same as `original`.
|
|
269
|
+
* @maxLength 600
|
|
270
|
+
*/
|
|
271
|
+
translated?: string | null;
|
|
272
|
+
}
|
|
273
|
+
interface Color {
|
|
274
|
+
/**
|
|
275
|
+
* Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
276
|
+
* @maxLength 500
|
|
277
|
+
*/
|
|
278
|
+
original?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Description line color name translated into the buyer's language.
|
|
281
|
+
*
|
|
282
|
+
* Default: Same as `original`.
|
|
283
|
+
* @maxLength 500
|
|
284
|
+
*/
|
|
285
|
+
translated?: string | null;
|
|
286
|
+
/** HEX or RGB color code for display. */
|
|
287
|
+
code?: string | null;
|
|
288
|
+
}
|
|
289
|
+
declare enum DescriptionLineType {
|
|
290
|
+
/** Unrecognized type. */
|
|
291
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
292
|
+
/** Plain text type. */
|
|
293
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
294
|
+
/** Color type. */
|
|
295
|
+
COLOR = "COLOR"
|
|
296
|
+
}
|
|
297
|
+
/** @enumType */
|
|
298
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
299
|
+
interface ModifierGroup {
|
|
300
|
+
/**
|
|
301
|
+
* Modifier group ID.
|
|
302
|
+
* @minLength 1
|
|
303
|
+
* @maxLength 36
|
|
304
|
+
*/
|
|
305
|
+
_id?: string;
|
|
306
|
+
/** Modifier group name. */
|
|
307
|
+
name?: TranslatableString;
|
|
308
|
+
/**
|
|
309
|
+
* List of modifiers in this group.
|
|
310
|
+
* @minSize 1
|
|
311
|
+
* @maxSize 10
|
|
312
|
+
*/
|
|
313
|
+
modifiers?: ItemModifier[];
|
|
314
|
+
}
|
|
315
|
+
interface TranslatableString {
|
|
316
|
+
/**
|
|
317
|
+
* __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
318
|
+
*
|
|
319
|
+
* Min: 1 character.
|
|
320
|
+
* Max: 200 characters.
|
|
321
|
+
* @minLength 1
|
|
322
|
+
* @maxLength 200
|
|
323
|
+
*/
|
|
324
|
+
original?: string;
|
|
325
|
+
/**
|
|
326
|
+
* String translated into the buyer's language.
|
|
327
|
+
*
|
|
328
|
+
* Min: 1 character.
|
|
329
|
+
* Max: 400 characters.
|
|
330
|
+
* Default: Same as `original`.
|
|
331
|
+
* @minLength 1
|
|
332
|
+
* @maxLength 400
|
|
333
|
+
*/
|
|
334
|
+
translated?: string | null;
|
|
335
|
+
}
|
|
336
|
+
interface ItemModifier {
|
|
337
|
+
/**
|
|
338
|
+
* Modifier ID.
|
|
339
|
+
* @minLength 1
|
|
340
|
+
* @maxLength 36
|
|
341
|
+
*/
|
|
342
|
+
_id?: string;
|
|
343
|
+
/**
|
|
344
|
+
* The quantity of this modifier.
|
|
345
|
+
* @min 1
|
|
346
|
+
* @max 100000
|
|
347
|
+
*/
|
|
348
|
+
quantity?: number | null;
|
|
349
|
+
/** Primary display label for the modifier. */
|
|
350
|
+
label?: TranslatableString;
|
|
351
|
+
/** Additional details. */
|
|
352
|
+
details?: TranslatableString;
|
|
353
|
+
/** The price of the modifier. */
|
|
354
|
+
price?: Price;
|
|
355
|
+
}
|
|
201
356
|
interface OrderLineItem {
|
|
202
357
|
/**
|
|
203
358
|
* Line item ID.
|
|
@@ -329,27 +484,6 @@ interface OrderLineItem {
|
|
|
329
484
|
*/
|
|
330
485
|
modifierGroups?: ModifierGroup[];
|
|
331
486
|
}
|
|
332
|
-
interface ProductName {
|
|
333
|
-
/**
|
|
334
|
-
* __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
335
|
-
*
|
|
336
|
-
* Min: 1 character.
|
|
337
|
-
* Max: 200 characters.
|
|
338
|
-
* @minLength 1
|
|
339
|
-
* @maxLength 200
|
|
340
|
-
*/
|
|
341
|
-
original?: string;
|
|
342
|
-
/**
|
|
343
|
-
* Item name translated into the buyer's language.
|
|
344
|
-
*
|
|
345
|
-
* Min: 1 character.
|
|
346
|
-
* Max: 400 characters.
|
|
347
|
-
* Default: Same as `original`.
|
|
348
|
-
* @minLength 1
|
|
349
|
-
* @maxLength 400
|
|
350
|
-
*/
|
|
351
|
-
translated?: string | null;
|
|
352
|
-
}
|
|
353
487
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
354
488
|
interface CatalogReference {
|
|
355
489
|
/**
|
|
@@ -377,83 +511,6 @@ interface CatalogReference {
|
|
|
377
511
|
*/
|
|
378
512
|
options?: Record<string, any> | null;
|
|
379
513
|
}
|
|
380
|
-
interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
381
|
-
/** Description line plain text value. */
|
|
382
|
-
plainText?: PlainTextValue;
|
|
383
|
-
/** Description line color value. */
|
|
384
|
-
colorInfo?: Color;
|
|
385
|
-
/** Description line name. */
|
|
386
|
-
name?: DescriptionLineName;
|
|
387
|
-
/**
|
|
388
|
-
* Whether the description line originates from a modifier.
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
|
-
modifierDescriptionLine?: boolean;
|
|
392
|
-
}
|
|
393
|
-
/** @oneof */
|
|
394
|
-
interface DescriptionLineValueOneOf {
|
|
395
|
-
/** Description line plain text value. */
|
|
396
|
-
plainText?: PlainTextValue;
|
|
397
|
-
/** Description line color value. */
|
|
398
|
-
colorInfo?: Color;
|
|
399
|
-
}
|
|
400
|
-
/** @oneof */
|
|
401
|
-
interface DescriptionLineDescriptionLineValueOneOf {
|
|
402
|
-
}
|
|
403
|
-
interface DescriptionLineName {
|
|
404
|
-
/**
|
|
405
|
-
* Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
406
|
-
* @maxLength 100
|
|
407
|
-
*/
|
|
408
|
-
original?: string;
|
|
409
|
-
/**
|
|
410
|
-
* Description line name translated into the buyer's language.
|
|
411
|
-
*
|
|
412
|
-
* Default: Same as `original`.
|
|
413
|
-
* @maxLength 200
|
|
414
|
-
*/
|
|
415
|
-
translated?: string | null;
|
|
416
|
-
}
|
|
417
|
-
interface PlainTextValue {
|
|
418
|
-
/**
|
|
419
|
-
* Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
420
|
-
* @maxLength 600
|
|
421
|
-
*/
|
|
422
|
-
original?: string;
|
|
423
|
-
/**
|
|
424
|
-
* Description line plain text value translated into the buyer's language.
|
|
425
|
-
*
|
|
426
|
-
* Default: Same as `original`.
|
|
427
|
-
* @maxLength 600
|
|
428
|
-
*/
|
|
429
|
-
translated?: string | null;
|
|
430
|
-
}
|
|
431
|
-
interface Color {
|
|
432
|
-
/**
|
|
433
|
-
* Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
434
|
-
* @maxLength 500
|
|
435
|
-
*/
|
|
436
|
-
original?: string;
|
|
437
|
-
/**
|
|
438
|
-
* Description line color name translated into the buyer's language.
|
|
439
|
-
*
|
|
440
|
-
* Default: Same as `original`.
|
|
441
|
-
* @maxLength 500
|
|
442
|
-
*/
|
|
443
|
-
translated?: string | null;
|
|
444
|
-
/** HEX or RGB color code for display. */
|
|
445
|
-
code?: string | null;
|
|
446
|
-
}
|
|
447
|
-
declare enum DescriptionLineType {
|
|
448
|
-
/** Unrecognized type. */
|
|
449
|
-
UNRECOGNISED = "UNRECOGNISED",
|
|
450
|
-
/** Plain text type. */
|
|
451
|
-
PLAIN_TEXT = "PLAIN_TEXT",
|
|
452
|
-
/** Color type. */
|
|
453
|
-
COLOR = "COLOR"
|
|
454
|
-
}
|
|
455
|
-
/** @enumType */
|
|
456
|
-
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
457
514
|
interface FocalPoint {
|
|
458
515
|
/** X-coordinate of the focal point. */
|
|
459
516
|
x?: number;
|
|
@@ -820,63 +877,6 @@ interface ExtendedFields {
|
|
|
820
877
|
*/
|
|
821
878
|
namespaces?: Record<string, Record<string, any>>;
|
|
822
879
|
}
|
|
823
|
-
interface ModifierGroup {
|
|
824
|
-
/**
|
|
825
|
-
* Modifier group ID.
|
|
826
|
-
* @minLength 1
|
|
827
|
-
* @maxLength 36
|
|
828
|
-
*/
|
|
829
|
-
_id?: string;
|
|
830
|
-
/** Modifier group name. */
|
|
831
|
-
name?: TranslatableString;
|
|
832
|
-
/**
|
|
833
|
-
* List of modifiers in this group.
|
|
834
|
-
* @minSize 1
|
|
835
|
-
* @maxSize 10
|
|
836
|
-
*/
|
|
837
|
-
modifiers?: ItemModifier[];
|
|
838
|
-
}
|
|
839
|
-
interface TranslatableString {
|
|
840
|
-
/**
|
|
841
|
-
* __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
842
|
-
*
|
|
843
|
-
* Min: 1 character.
|
|
844
|
-
* Max: 200 characters.
|
|
845
|
-
* @minLength 1
|
|
846
|
-
* @maxLength 200
|
|
847
|
-
*/
|
|
848
|
-
original?: string;
|
|
849
|
-
/**
|
|
850
|
-
* String translated into the buyer's language.
|
|
851
|
-
*
|
|
852
|
-
* Min: 1 character.
|
|
853
|
-
* Max: 400 characters.
|
|
854
|
-
* Default: Same as `original`.
|
|
855
|
-
* @minLength 1
|
|
856
|
-
* @maxLength 400
|
|
857
|
-
*/
|
|
858
|
-
translated?: string | null;
|
|
859
|
-
}
|
|
860
|
-
interface ItemModifier {
|
|
861
|
-
/**
|
|
862
|
-
* Modifier ID.
|
|
863
|
-
* @minLength 1
|
|
864
|
-
* @maxLength 36
|
|
865
|
-
*/
|
|
866
|
-
_id?: string;
|
|
867
|
-
/**
|
|
868
|
-
* The quantity of this modifier.
|
|
869
|
-
* @min 1
|
|
870
|
-
* @max 100000
|
|
871
|
-
*/
|
|
872
|
-
quantity?: number | null;
|
|
873
|
-
/** Primary display label for the modifier. */
|
|
874
|
-
label?: TranslatableString;
|
|
875
|
-
/** Additional details. */
|
|
876
|
-
details?: TranslatableString;
|
|
877
|
-
/** The price of the modifier. */
|
|
878
|
-
price?: Price;
|
|
879
|
-
}
|
|
880
880
|
interface ItemChangedDetails {
|
|
881
881
|
/**
|
|
882
882
|
* Line item quantity before change.
|
|
@@ -888,6 +888,22 @@ interface ItemChangedDetails {
|
|
|
888
888
|
priceBeforeChange?: Price;
|
|
889
889
|
/** Line item price description before change. */
|
|
890
890
|
priceDescriptionBeforeChange?: PriceDescription;
|
|
891
|
+
/**
|
|
892
|
+
* Line Item product name before change.
|
|
893
|
+
* @internal
|
|
894
|
+
*/
|
|
895
|
+
productNameBeforeChange?: ProductName;
|
|
896
|
+
/**
|
|
897
|
+
* Line item description lines before change
|
|
898
|
+
* @internal
|
|
899
|
+
* @maxSize 20
|
|
900
|
+
*/
|
|
901
|
+
descriptionLinesBeforeChange?: DescriptionLine[];
|
|
902
|
+
/**
|
|
903
|
+
* Line item modifier groups before change.
|
|
904
|
+
* @maxSize 10
|
|
905
|
+
*/
|
|
906
|
+
modifierGroupsBeforeChange?: ModifierGroup[];
|
|
891
907
|
}
|
|
892
908
|
interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
|
|
893
909
|
/** Whether shipping info was added as part of the draft. */
|
|
@@ -2014,6 +2030,26 @@ interface CatalogReferenceLineItem {
|
|
|
2014
2030
|
* @maxSize 5
|
|
2015
2031
|
*/
|
|
2016
2032
|
locations?: LocationAndQuantity[];
|
|
2033
|
+
/**
|
|
2034
|
+
* Line Item product name to override.
|
|
2035
|
+
* @internal
|
|
2036
|
+
*/
|
|
2037
|
+
productName?: ProductName;
|
|
2038
|
+
/**
|
|
2039
|
+
* Line item description lines to override
|
|
2040
|
+
* @internal
|
|
2041
|
+
*/
|
|
2042
|
+
descriptionLinesInfo?: DescriptionLinesOverride;
|
|
2043
|
+
}
|
|
2044
|
+
interface DescriptionLinesOverride {
|
|
2045
|
+
/**
|
|
2046
|
+
* Line item description lines to override.
|
|
2047
|
+
*
|
|
2048
|
+
* To remove all description lines on this line item, pass an empty array.
|
|
2049
|
+
* @internal
|
|
2050
|
+
* @maxSize 20
|
|
2051
|
+
*/
|
|
2052
|
+
descriptionLines?: DescriptionLine[];
|
|
2017
2053
|
}
|
|
2018
2054
|
interface CustomLineItem {
|
|
2019
2055
|
/**
|
|
@@ -2144,6 +2180,30 @@ interface LineItemChangeDetails {
|
|
|
2144
2180
|
* For example, when price is `0` but additional details about the actual price are needed - `"Starts at $67"`.
|
|
2145
2181
|
*/
|
|
2146
2182
|
newPriceDescription?: PriceDescription;
|
|
2183
|
+
/**
|
|
2184
|
+
* New product name.
|
|
2185
|
+
* @internal
|
|
2186
|
+
*/
|
|
2187
|
+
newProductName?: ProductName;
|
|
2188
|
+
/**
|
|
2189
|
+
* New description lines.
|
|
2190
|
+
* @internal
|
|
2191
|
+
*/
|
|
2192
|
+
newDescriptionLines?: DescriptionLinesOverride;
|
|
2193
|
+
/**
|
|
2194
|
+
* New modifier groups.
|
|
2195
|
+
* @internal
|
|
2196
|
+
*/
|
|
2197
|
+
newModifierGroups?: ModifiersGroupsOverride;
|
|
2198
|
+
}
|
|
2199
|
+
interface ModifiersGroupsOverride {
|
|
2200
|
+
/**
|
|
2201
|
+
* Line item modifiers to override.
|
|
2202
|
+
*
|
|
2203
|
+
* To remove all modifiers on this line item, pass an empty array.
|
|
2204
|
+
* @maxSize 10
|
|
2205
|
+
*/
|
|
2206
|
+
modifierGroups?: ModifierGroup[];
|
|
2147
2207
|
}
|
|
2148
2208
|
interface UpdateLineItemsResponse {
|
|
2149
2209
|
/** Draft order calculated with the latest changes. */
|
|
@@ -3040,12 +3100,17 @@ interface LineItemChanges {
|
|
|
3040
3100
|
* @format GUID
|
|
3041
3101
|
*/
|
|
3042
3102
|
_id?: string;
|
|
3043
|
-
/** Item name. */
|
|
3103
|
+
/** Item name after change. */
|
|
3044
3104
|
name?: ProductName;
|
|
3045
3105
|
/** Item quantity change. */
|
|
3046
3106
|
quantity?: LineItemQuantityChange;
|
|
3047
3107
|
/** Item price change. */
|
|
3048
3108
|
price?: LineItemPriceChange;
|
|
3109
|
+
/**
|
|
3110
|
+
* Item product name change.
|
|
3111
|
+
* @internal
|
|
3112
|
+
*/
|
|
3113
|
+
productName?: LineItemProductNameChange;
|
|
3049
3114
|
}
|
|
3050
3115
|
interface LineItemQuantityChange {
|
|
3051
3116
|
/**
|
|
@@ -3081,6 +3146,12 @@ interface LineItemPriceChange {
|
|
|
3081
3146
|
/** Item price after update. */
|
|
3082
3147
|
newPrice?: Price;
|
|
3083
3148
|
}
|
|
3149
|
+
interface LineItemProductNameChange {
|
|
3150
|
+
/** Item product name before update. */
|
|
3151
|
+
originalProductName?: ProductName;
|
|
3152
|
+
/** Item product name after update. */
|
|
3153
|
+
newProductName?: ProductName;
|
|
3154
|
+
}
|
|
3084
3155
|
interface ManagedLineItem {
|
|
3085
3156
|
/**
|
|
3086
3157
|
* Line item ID.
|
|
@@ -5084,4 +5155,4 @@ interface SetBusinessLocationOptions {
|
|
|
5084
5155
|
businessLocation?: Location;
|
|
5085
5156
|
}
|
|
5086
5157
|
|
|
5087
|
-
export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDiscount, type LineItemExchangeData, type LineItemPriceChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
|
|
5158
|
+
export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDiscount, type LineItemExchangeData, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
|