@wix/ecom 1.0.626 → 1.0.627
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/package.json +4 -4
- package/type-bundles/context.bundle.d.ts +0 -274
- package/type-bundles/index.bundle.d.ts +0 -366
- package/type-bundles/meta.bundle.d.ts +98 -596
|
@@ -10899,8 +10899,6 @@ interface LineItem$3 {
|
|
|
10899
10899
|
* @readonly
|
|
10900
10900
|
*/
|
|
10901
10901
|
depositAmount?: MultiCurrencyPrice$1;
|
|
10902
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
10903
|
-
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
10904
10902
|
}
|
|
10905
10903
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
10906
10904
|
interface CatalogReference$2 {
|
|
@@ -12959,26 +12957,6 @@ interface CreateCheckoutResponseNonNullableFields {
|
|
|
12959
12957
|
formattedAmount: string;
|
|
12960
12958
|
formattedConvertedAmount: string;
|
|
12961
12959
|
};
|
|
12962
|
-
catalogOverrideFields?: {
|
|
12963
|
-
productName?: {
|
|
12964
|
-
original: string;
|
|
12965
|
-
};
|
|
12966
|
-
descriptionLines: {
|
|
12967
|
-
plainText?: {
|
|
12968
|
-
original: string;
|
|
12969
|
-
};
|
|
12970
|
-
colorInfo?: {
|
|
12971
|
-
original: string;
|
|
12972
|
-
};
|
|
12973
|
-
name?: {
|
|
12974
|
-
original: string;
|
|
12975
|
-
};
|
|
12976
|
-
}[];
|
|
12977
|
-
physicalProperties?: {
|
|
12978
|
-
shippable: boolean;
|
|
12979
|
-
};
|
|
12980
|
-
image: string;
|
|
12981
|
-
};
|
|
12982
12960
|
}[];
|
|
12983
12961
|
billingInfo?: {
|
|
12984
12962
|
contactDetails?: {
|
|
@@ -13661,26 +13639,6 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
13661
13639
|
formattedAmount: string;
|
|
13662
13640
|
formattedConvertedAmount: string;
|
|
13663
13641
|
};
|
|
13664
|
-
catalogOverrideFields?: {
|
|
13665
|
-
productName?: {
|
|
13666
|
-
original: string;
|
|
13667
|
-
};
|
|
13668
|
-
descriptionLines: {
|
|
13669
|
-
plainText?: {
|
|
13670
|
-
original: string;
|
|
13671
|
-
};
|
|
13672
|
-
colorInfo?: {
|
|
13673
|
-
original: string;
|
|
13674
|
-
};
|
|
13675
|
-
name?: {
|
|
13676
|
-
original: string;
|
|
13677
|
-
};
|
|
13678
|
-
}[];
|
|
13679
|
-
physicalProperties?: {
|
|
13680
|
-
shippable: boolean;
|
|
13681
|
-
};
|
|
13682
|
-
image: string;
|
|
13683
|
-
};
|
|
13684
13642
|
}[];
|
|
13685
13643
|
billingInfo?: {
|
|
13686
13644
|
contactDetails?: {
|
|
@@ -14366,26 +14324,6 @@ interface UpdateCheckoutResponseNonNullableFields {
|
|
|
14366
14324
|
formattedAmount: string;
|
|
14367
14325
|
formattedConvertedAmount: string;
|
|
14368
14326
|
};
|
|
14369
|
-
catalogOverrideFields?: {
|
|
14370
|
-
productName?: {
|
|
14371
|
-
original: string;
|
|
14372
|
-
};
|
|
14373
|
-
descriptionLines: {
|
|
14374
|
-
plainText?: {
|
|
14375
|
-
original: string;
|
|
14376
|
-
};
|
|
14377
|
-
colorInfo?: {
|
|
14378
|
-
original: string;
|
|
14379
|
-
};
|
|
14380
|
-
name?: {
|
|
14381
|
-
original: string;
|
|
14382
|
-
};
|
|
14383
|
-
}[];
|
|
14384
|
-
physicalProperties?: {
|
|
14385
|
-
shippable: boolean;
|
|
14386
|
-
};
|
|
14387
|
-
image: string;
|
|
14388
|
-
};
|
|
14389
14327
|
}[];
|
|
14390
14328
|
billingInfo?: {
|
|
14391
14329
|
contactDetails?: {
|
|
@@ -15068,26 +15006,6 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
15068
15006
|
formattedAmount: string;
|
|
15069
15007
|
formattedConvertedAmount: string;
|
|
15070
15008
|
};
|
|
15071
|
-
catalogOverrideFields?: {
|
|
15072
|
-
productName?: {
|
|
15073
|
-
original: string;
|
|
15074
|
-
};
|
|
15075
|
-
descriptionLines: {
|
|
15076
|
-
plainText?: {
|
|
15077
|
-
original: string;
|
|
15078
|
-
};
|
|
15079
|
-
colorInfo?: {
|
|
15080
|
-
original: string;
|
|
15081
|
-
};
|
|
15082
|
-
name?: {
|
|
15083
|
-
original: string;
|
|
15084
|
-
};
|
|
15085
|
-
}[];
|
|
15086
|
-
physicalProperties?: {
|
|
15087
|
-
shippable: boolean;
|
|
15088
|
-
};
|
|
15089
|
-
image: string;
|
|
15090
|
-
};
|
|
15091
15009
|
}[];
|
|
15092
15010
|
billingInfo?: {
|
|
15093
15011
|
contactDetails?: {
|
|
@@ -15770,26 +15688,6 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
15770
15688
|
formattedAmount: string;
|
|
15771
15689
|
formattedConvertedAmount: string;
|
|
15772
15690
|
};
|
|
15773
|
-
catalogOverrideFields?: {
|
|
15774
|
-
productName?: {
|
|
15775
|
-
original: string;
|
|
15776
|
-
};
|
|
15777
|
-
descriptionLines: {
|
|
15778
|
-
plainText?: {
|
|
15779
|
-
original: string;
|
|
15780
|
-
};
|
|
15781
|
-
colorInfo?: {
|
|
15782
|
-
original: string;
|
|
15783
|
-
};
|
|
15784
|
-
name?: {
|
|
15785
|
-
original: string;
|
|
15786
|
-
};
|
|
15787
|
-
}[];
|
|
15788
|
-
physicalProperties?: {
|
|
15789
|
-
shippable: boolean;
|
|
15790
|
-
};
|
|
15791
|
-
image: string;
|
|
15792
|
-
};
|
|
15793
15691
|
}[];
|
|
15794
15692
|
billingInfo?: {
|
|
15795
15693
|
contactDetails?: {
|
|
@@ -16472,26 +16370,6 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
16472
16370
|
formattedAmount: string;
|
|
16473
16371
|
formattedConvertedAmount: string;
|
|
16474
16372
|
};
|
|
16475
|
-
catalogOverrideFields?: {
|
|
16476
|
-
productName?: {
|
|
16477
|
-
original: string;
|
|
16478
|
-
};
|
|
16479
|
-
descriptionLines: {
|
|
16480
|
-
plainText?: {
|
|
16481
|
-
original: string;
|
|
16482
|
-
};
|
|
16483
|
-
colorInfo?: {
|
|
16484
|
-
original: string;
|
|
16485
|
-
};
|
|
16486
|
-
name?: {
|
|
16487
|
-
original: string;
|
|
16488
|
-
};
|
|
16489
|
-
}[];
|
|
16490
|
-
physicalProperties?: {
|
|
16491
|
-
shippable: boolean;
|
|
16492
|
-
};
|
|
16493
|
-
image: string;
|
|
16494
|
-
};
|
|
16495
16373
|
}[];
|
|
16496
16374
|
billingInfo?: {
|
|
16497
16375
|
contactDetails?: {
|
|
@@ -17174,26 +17052,6 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
17174
17052
|
formattedAmount: string;
|
|
17175
17053
|
formattedConvertedAmount: string;
|
|
17176
17054
|
};
|
|
17177
|
-
catalogOverrideFields?: {
|
|
17178
|
-
productName?: {
|
|
17179
|
-
original: string;
|
|
17180
|
-
};
|
|
17181
|
-
descriptionLines: {
|
|
17182
|
-
plainText?: {
|
|
17183
|
-
original: string;
|
|
17184
|
-
};
|
|
17185
|
-
colorInfo?: {
|
|
17186
|
-
original: string;
|
|
17187
|
-
};
|
|
17188
|
-
name?: {
|
|
17189
|
-
original: string;
|
|
17190
|
-
};
|
|
17191
|
-
}[];
|
|
17192
|
-
physicalProperties?: {
|
|
17193
|
-
shippable: boolean;
|
|
17194
|
-
};
|
|
17195
|
-
image: string;
|
|
17196
|
-
};
|
|
17197
17055
|
}[];
|
|
17198
17056
|
billingInfo?: {
|
|
17199
17057
|
contactDetails?: {
|
|
@@ -17876,26 +17734,6 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
17876
17734
|
formattedAmount: string;
|
|
17877
17735
|
formattedConvertedAmount: string;
|
|
17878
17736
|
};
|
|
17879
|
-
catalogOverrideFields?: {
|
|
17880
|
-
productName?: {
|
|
17881
|
-
original: string;
|
|
17882
|
-
};
|
|
17883
|
-
descriptionLines: {
|
|
17884
|
-
plainText?: {
|
|
17885
|
-
original: string;
|
|
17886
|
-
};
|
|
17887
|
-
colorInfo?: {
|
|
17888
|
-
original: string;
|
|
17889
|
-
};
|
|
17890
|
-
name?: {
|
|
17891
|
-
original: string;
|
|
17892
|
-
};
|
|
17893
|
-
}[];
|
|
17894
|
-
physicalProperties?: {
|
|
17895
|
-
shippable: boolean;
|
|
17896
|
-
};
|
|
17897
|
-
image: string;
|
|
17898
|
-
};
|
|
17899
17737
|
}[];
|
|
17900
17738
|
billingInfo?: {
|
|
17901
17739
|
contactDetails?: {
|
|
@@ -18582,26 +18420,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
18582
18420
|
formattedAmount: string;
|
|
18583
18421
|
formattedConvertedAmount: string;
|
|
18584
18422
|
};
|
|
18585
|
-
catalogOverrideFields?: {
|
|
18586
|
-
productName?: {
|
|
18587
|
-
original: string;
|
|
18588
|
-
};
|
|
18589
|
-
descriptionLines: {
|
|
18590
|
-
plainText?: {
|
|
18591
|
-
original: string;
|
|
18592
|
-
};
|
|
18593
|
-
colorInfo?: {
|
|
18594
|
-
original: string;
|
|
18595
|
-
};
|
|
18596
|
-
name?: {
|
|
18597
|
-
original: string;
|
|
18598
|
-
};
|
|
18599
|
-
}[];
|
|
18600
|
-
physicalProperties?: {
|
|
18601
|
-
shippable: boolean;
|
|
18602
|
-
};
|
|
18603
|
-
image: string;
|
|
18604
|
-
};
|
|
18605
18423
|
}[];
|
|
18606
18424
|
billingInfo?: {
|
|
18607
18425
|
contactDetails?: {
|
|
@@ -19544,26 +19362,6 @@ declare function createCheckout(httpClient: HttpClient): (options?: CreateChecko
|
|
|
19544
19362
|
formattedAmount: string;
|
|
19545
19363
|
formattedConvertedAmount: string;
|
|
19546
19364
|
} | undefined;
|
|
19547
|
-
catalogOverrideFields?: {
|
|
19548
|
-
productName?: {
|
|
19549
|
-
original: string;
|
|
19550
|
-
} | undefined;
|
|
19551
|
-
descriptionLines: {
|
|
19552
|
-
plainText?: {
|
|
19553
|
-
original: string;
|
|
19554
|
-
} | undefined;
|
|
19555
|
-
colorInfo?: {
|
|
19556
|
-
original: string;
|
|
19557
|
-
} | undefined;
|
|
19558
|
-
name?: {
|
|
19559
|
-
original: string;
|
|
19560
|
-
} | undefined;
|
|
19561
|
-
}[];
|
|
19562
|
-
physicalProperties?: {
|
|
19563
|
-
shippable: boolean;
|
|
19564
|
-
} | undefined;
|
|
19565
|
-
image: string;
|
|
19566
|
-
} | undefined;
|
|
19567
19365
|
}[];
|
|
19568
19366
|
billingInfo?: {
|
|
19569
19367
|
contactDetails?: {
|
|
@@ -20246,26 +20044,6 @@ declare function updateCheckout(httpClient: HttpClient): (_id: string | null, ch
|
|
|
20246
20044
|
formattedAmount: string;
|
|
20247
20045
|
formattedConvertedAmount: string;
|
|
20248
20046
|
} | undefined;
|
|
20249
|
-
catalogOverrideFields?: {
|
|
20250
|
-
productName?: {
|
|
20251
|
-
original: string;
|
|
20252
|
-
} | undefined;
|
|
20253
|
-
descriptionLines: {
|
|
20254
|
-
plainText?: {
|
|
20255
|
-
original: string;
|
|
20256
|
-
} | undefined;
|
|
20257
|
-
colorInfo?: {
|
|
20258
|
-
original: string;
|
|
20259
|
-
} | undefined;
|
|
20260
|
-
name?: {
|
|
20261
|
-
original: string;
|
|
20262
|
-
} | undefined;
|
|
20263
|
-
}[];
|
|
20264
|
-
physicalProperties?: {
|
|
20265
|
-
shippable: boolean;
|
|
20266
|
-
} | undefined;
|
|
20267
|
-
image: string;
|
|
20268
|
-
} | undefined;
|
|
20269
20047
|
}[];
|
|
20270
20048
|
billingInfo?: {
|
|
20271
20049
|
contactDetails?: {
|
|
@@ -21403,8 +21181,6 @@ interface V1LineItem {
|
|
|
21403
21181
|
* > **Note:** For more information on what to pass to `lineItems.catalogReference`, see [eCommerce Integration in the Wix Stores Catalog API](https://dev.wix.com/api/rest/wix-stores/catalog/ecommerce-integration).
|
|
21404
21182
|
*/
|
|
21405
21183
|
catalogReference?: CatalogReference$1;
|
|
21406
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
21407
|
-
catalogOverrideFields?: CatalogOverrideFields;
|
|
21408
21184
|
}
|
|
21409
21185
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
21410
21186
|
interface CatalogReference$1 {
|
|
@@ -22136,8 +21912,6 @@ interface LineItem$2 {
|
|
|
22136
21912
|
* @readonly
|
|
22137
21913
|
*/
|
|
22138
21914
|
depositAmount?: MultiCurrencyPrice;
|
|
22139
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
22140
|
-
catalogOverrideFields?: CatalogOverrideFields;
|
|
22141
21915
|
}
|
|
22142
21916
|
interface MultiCurrencyPrice {
|
|
22143
21917
|
/** Amount. */
|
|
@@ -23147,26 +22921,6 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
|
|
|
23147
22921
|
catalogItemId: string;
|
|
23148
22922
|
appId: string;
|
|
23149
22923
|
};
|
|
23150
|
-
catalogOverrideFields?: {
|
|
23151
|
-
productName?: {
|
|
23152
|
-
original: string;
|
|
23153
|
-
};
|
|
23154
|
-
descriptionLines: {
|
|
23155
|
-
plainText?: {
|
|
23156
|
-
original: string;
|
|
23157
|
-
};
|
|
23158
|
-
colorInfo?: {
|
|
23159
|
-
original: string;
|
|
23160
|
-
};
|
|
23161
|
-
name?: {
|
|
23162
|
-
original: string;
|
|
23163
|
-
};
|
|
23164
|
-
}[];
|
|
23165
|
-
physicalProperties?: {
|
|
23166
|
-
shippable: boolean;
|
|
23167
|
-
};
|
|
23168
|
-
image: string;
|
|
23169
|
-
};
|
|
23170
22924
|
}[];
|
|
23171
22925
|
};
|
|
23172
22926
|
}
|
|
@@ -23186,26 +22940,6 @@ interface GetCheckoutTemplateResponseNonNullableFields {
|
|
|
23186
22940
|
catalogItemId: string;
|
|
23187
22941
|
appId: string;
|
|
23188
22942
|
};
|
|
23189
|
-
catalogOverrideFields?: {
|
|
23190
|
-
productName?: {
|
|
23191
|
-
original: string;
|
|
23192
|
-
};
|
|
23193
|
-
descriptionLines: {
|
|
23194
|
-
plainText?: {
|
|
23195
|
-
original: string;
|
|
23196
|
-
};
|
|
23197
|
-
colorInfo?: {
|
|
23198
|
-
original: string;
|
|
23199
|
-
};
|
|
23200
|
-
name?: {
|
|
23201
|
-
original: string;
|
|
23202
|
-
};
|
|
23203
|
-
}[];
|
|
23204
|
-
physicalProperties?: {
|
|
23205
|
-
shippable: boolean;
|
|
23206
|
-
};
|
|
23207
|
-
image: string;
|
|
23208
|
-
};
|
|
23209
22943
|
}[];
|
|
23210
22944
|
};
|
|
23211
22945
|
}
|
|
@@ -23225,26 +22959,6 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
|
|
|
23225
22959
|
catalogItemId: string;
|
|
23226
22960
|
appId: string;
|
|
23227
22961
|
};
|
|
23228
|
-
catalogOverrideFields?: {
|
|
23229
|
-
productName?: {
|
|
23230
|
-
original: string;
|
|
23231
|
-
};
|
|
23232
|
-
descriptionLines: {
|
|
23233
|
-
plainText?: {
|
|
23234
|
-
original: string;
|
|
23235
|
-
};
|
|
23236
|
-
colorInfo?: {
|
|
23237
|
-
original: string;
|
|
23238
|
-
};
|
|
23239
|
-
name?: {
|
|
23240
|
-
original: string;
|
|
23241
|
-
};
|
|
23242
|
-
}[];
|
|
23243
|
-
physicalProperties?: {
|
|
23244
|
-
shippable: boolean;
|
|
23245
|
-
};
|
|
23246
|
-
image: string;
|
|
23247
|
-
};
|
|
23248
22962
|
}[];
|
|
23249
22963
|
};
|
|
23250
22964
|
}
|
|
@@ -23264,26 +22978,6 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
|
|
|
23264
22978
|
catalogItemId: string;
|
|
23265
22979
|
appId: string;
|
|
23266
22980
|
};
|
|
23267
|
-
catalogOverrideFields?: {
|
|
23268
|
-
productName?: {
|
|
23269
|
-
original: string;
|
|
23270
|
-
};
|
|
23271
|
-
descriptionLines: {
|
|
23272
|
-
plainText?: {
|
|
23273
|
-
original: string;
|
|
23274
|
-
};
|
|
23275
|
-
colorInfo?: {
|
|
23276
|
-
original: string;
|
|
23277
|
-
};
|
|
23278
|
-
name?: {
|
|
23279
|
-
original: string;
|
|
23280
|
-
};
|
|
23281
|
-
}[];
|
|
23282
|
-
physicalProperties?: {
|
|
23283
|
-
shippable: boolean;
|
|
23284
|
-
};
|
|
23285
|
-
image: string;
|
|
23286
|
-
};
|
|
23287
22981
|
}[];
|
|
23288
22982
|
}[];
|
|
23289
22983
|
}
|
|
@@ -23458,26 +23152,6 @@ declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTempla
|
|
|
23458
23152
|
catalogItemId: string;
|
|
23459
23153
|
appId: string;
|
|
23460
23154
|
} | undefined;
|
|
23461
|
-
catalogOverrideFields?: {
|
|
23462
|
-
productName?: {
|
|
23463
|
-
original: string;
|
|
23464
|
-
} | undefined;
|
|
23465
|
-
descriptionLines: {
|
|
23466
|
-
plainText?: {
|
|
23467
|
-
original: string;
|
|
23468
|
-
} | undefined;
|
|
23469
|
-
colorInfo?: {
|
|
23470
|
-
original: string;
|
|
23471
|
-
} | undefined;
|
|
23472
|
-
name?: {
|
|
23473
|
-
original: string;
|
|
23474
|
-
} | undefined;
|
|
23475
|
-
}[];
|
|
23476
|
-
physicalProperties?: {
|
|
23477
|
-
shippable: boolean;
|
|
23478
|
-
} | undefined;
|
|
23479
|
-
image: string;
|
|
23480
|
-
} | undefined;
|
|
23481
23155
|
}[];
|
|
23482
23156
|
}>;
|
|
23483
23157
|
declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
@@ -23495,26 +23169,6 @@ declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateI
|
|
|
23495
23169
|
catalogItemId: string;
|
|
23496
23170
|
appId: string;
|
|
23497
23171
|
} | undefined;
|
|
23498
|
-
catalogOverrideFields?: {
|
|
23499
|
-
productName?: {
|
|
23500
|
-
original: string;
|
|
23501
|
-
} | undefined;
|
|
23502
|
-
descriptionLines: {
|
|
23503
|
-
plainText?: {
|
|
23504
|
-
original: string;
|
|
23505
|
-
} | undefined;
|
|
23506
|
-
colorInfo?: {
|
|
23507
|
-
original: string;
|
|
23508
|
-
} | undefined;
|
|
23509
|
-
name?: {
|
|
23510
|
-
original: string;
|
|
23511
|
-
} | undefined;
|
|
23512
|
-
}[];
|
|
23513
|
-
physicalProperties?: {
|
|
23514
|
-
shippable: boolean;
|
|
23515
|
-
} | undefined;
|
|
23516
|
-
image: string;
|
|
23517
|
-
} | undefined;
|
|
23518
23172
|
}[];
|
|
23519
23173
|
}>;
|
|
23520
23174
|
declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
@@ -23532,26 +23186,6 @@ declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string |
|
|
|
23532
23186
|
catalogItemId: string;
|
|
23533
23187
|
appId: string;
|
|
23534
23188
|
} | undefined;
|
|
23535
|
-
catalogOverrideFields?: {
|
|
23536
|
-
productName?: {
|
|
23537
|
-
original: string;
|
|
23538
|
-
} | undefined;
|
|
23539
|
-
descriptionLines: {
|
|
23540
|
-
plainText?: {
|
|
23541
|
-
original: string;
|
|
23542
|
-
} | undefined;
|
|
23543
|
-
colorInfo?: {
|
|
23544
|
-
original: string;
|
|
23545
|
-
} | undefined;
|
|
23546
|
-
name?: {
|
|
23547
|
-
original: string;
|
|
23548
|
-
} | undefined;
|
|
23549
|
-
}[];
|
|
23550
|
-
physicalProperties?: {
|
|
23551
|
-
shippable: boolean;
|
|
23552
|
-
} | undefined;
|
|
23553
|
-
image: string;
|
|
23554
|
-
} | undefined;
|
|
23555
23189
|
}[];
|
|
23556
23190
|
}>;
|
|
23557
23191
|
declare function deleteCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|