@wix/ecom 1.0.625 → 1.0.626
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 +274 -0
- package/type-bundles/index.bundle.d.ts +366 -0
- package/type-bundles/meta.bundle.d.ts +598 -100
|
@@ -10899,6 +10899,8 @@ 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;
|
|
10902
10904
|
}
|
|
10903
10905
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
10904
10906
|
interface CatalogReference$2 {
|
|
@@ -12957,6 +12959,26 @@ interface CreateCheckoutResponseNonNullableFields {
|
|
|
12957
12959
|
formattedAmount: string;
|
|
12958
12960
|
formattedConvertedAmount: string;
|
|
12959
12961
|
};
|
|
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
|
+
};
|
|
12960
12982
|
}[];
|
|
12961
12983
|
billingInfo?: {
|
|
12962
12984
|
contactDetails?: {
|
|
@@ -13639,6 +13661,26 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
13639
13661
|
formattedAmount: string;
|
|
13640
13662
|
formattedConvertedAmount: string;
|
|
13641
13663
|
};
|
|
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
|
+
};
|
|
13642
13684
|
}[];
|
|
13643
13685
|
billingInfo?: {
|
|
13644
13686
|
contactDetails?: {
|
|
@@ -14324,6 +14366,26 @@ interface UpdateCheckoutResponseNonNullableFields {
|
|
|
14324
14366
|
formattedAmount: string;
|
|
14325
14367
|
formattedConvertedAmount: string;
|
|
14326
14368
|
};
|
|
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
|
+
};
|
|
14327
14389
|
}[];
|
|
14328
14390
|
billingInfo?: {
|
|
14329
14391
|
contactDetails?: {
|
|
@@ -15006,6 +15068,26 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
15006
15068
|
formattedAmount: string;
|
|
15007
15069
|
formattedConvertedAmount: string;
|
|
15008
15070
|
};
|
|
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
|
+
};
|
|
15009
15091
|
}[];
|
|
15010
15092
|
billingInfo?: {
|
|
15011
15093
|
contactDetails?: {
|
|
@@ -15688,6 +15770,26 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
15688
15770
|
formattedAmount: string;
|
|
15689
15771
|
formattedConvertedAmount: string;
|
|
15690
15772
|
};
|
|
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
|
+
};
|
|
15691
15793
|
}[];
|
|
15692
15794
|
billingInfo?: {
|
|
15693
15795
|
contactDetails?: {
|
|
@@ -16370,6 +16472,26 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
16370
16472
|
formattedAmount: string;
|
|
16371
16473
|
formattedConvertedAmount: string;
|
|
16372
16474
|
};
|
|
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
|
+
};
|
|
16373
16495
|
}[];
|
|
16374
16496
|
billingInfo?: {
|
|
16375
16497
|
contactDetails?: {
|
|
@@ -17052,6 +17174,26 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
17052
17174
|
formattedAmount: string;
|
|
17053
17175
|
formattedConvertedAmount: string;
|
|
17054
17176
|
};
|
|
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
|
+
};
|
|
17055
17197
|
}[];
|
|
17056
17198
|
billingInfo?: {
|
|
17057
17199
|
contactDetails?: {
|
|
@@ -17734,6 +17876,26 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
17734
17876
|
formattedAmount: string;
|
|
17735
17877
|
formattedConvertedAmount: string;
|
|
17736
17878
|
};
|
|
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
|
+
};
|
|
17737
17899
|
}[];
|
|
17738
17900
|
billingInfo?: {
|
|
17739
17901
|
contactDetails?: {
|
|
@@ -18420,6 +18582,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
18420
18582
|
formattedAmount: string;
|
|
18421
18583
|
formattedConvertedAmount: string;
|
|
18422
18584
|
};
|
|
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
|
+
};
|
|
18423
18605
|
}[];
|
|
18424
18606
|
billingInfo?: {
|
|
18425
18607
|
contactDetails?: {
|
|
@@ -19362,6 +19544,26 @@ declare function createCheckout(httpClient: HttpClient): (options?: CreateChecko
|
|
|
19362
19544
|
formattedAmount: string;
|
|
19363
19545
|
formattedConvertedAmount: string;
|
|
19364
19546
|
} | 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;
|
|
19365
19567
|
}[];
|
|
19366
19568
|
billingInfo?: {
|
|
19367
19569
|
contactDetails?: {
|
|
@@ -20044,6 +20246,26 @@ declare function updateCheckout(httpClient: HttpClient): (_id: string | null, ch
|
|
|
20044
20246
|
formattedAmount: string;
|
|
20045
20247
|
formattedConvertedAmount: string;
|
|
20046
20248
|
} | 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;
|
|
20047
20269
|
}[];
|
|
20048
20270
|
billingInfo?: {
|
|
20049
20271
|
contactDetails?: {
|
|
@@ -21181,6 +21403,8 @@ interface V1LineItem {
|
|
|
21181
21403
|
* > **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).
|
|
21182
21404
|
*/
|
|
21183
21405
|
catalogReference?: CatalogReference$1;
|
|
21406
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
21407
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
21184
21408
|
}
|
|
21185
21409
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
21186
21410
|
interface CatalogReference$1 {
|
|
@@ -21912,6 +22136,8 @@ interface LineItem$2 {
|
|
|
21912
22136
|
* @readonly
|
|
21913
22137
|
*/
|
|
21914
22138
|
depositAmount?: MultiCurrencyPrice;
|
|
22139
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
22140
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
21915
22141
|
}
|
|
21916
22142
|
interface MultiCurrencyPrice {
|
|
21917
22143
|
/** Amount. */
|
|
@@ -22921,6 +23147,26 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
|
|
|
22921
23147
|
catalogItemId: string;
|
|
22922
23148
|
appId: string;
|
|
22923
23149
|
};
|
|
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
|
+
};
|
|
22924
23170
|
}[];
|
|
22925
23171
|
};
|
|
22926
23172
|
}
|
|
@@ -22940,6 +23186,26 @@ interface GetCheckoutTemplateResponseNonNullableFields {
|
|
|
22940
23186
|
catalogItemId: string;
|
|
22941
23187
|
appId: string;
|
|
22942
23188
|
};
|
|
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
|
+
};
|
|
22943
23209
|
}[];
|
|
22944
23210
|
};
|
|
22945
23211
|
}
|
|
@@ -22959,6 +23225,26 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
|
|
|
22959
23225
|
catalogItemId: string;
|
|
22960
23226
|
appId: string;
|
|
22961
23227
|
};
|
|
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
|
+
};
|
|
22962
23248
|
}[];
|
|
22963
23249
|
};
|
|
22964
23250
|
}
|
|
@@ -22978,6 +23264,26 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
|
|
|
22978
23264
|
catalogItemId: string;
|
|
22979
23265
|
appId: string;
|
|
22980
23266
|
};
|
|
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
|
+
};
|
|
22981
23287
|
}[];
|
|
22982
23288
|
}[];
|
|
22983
23289
|
}
|
|
@@ -23152,6 +23458,26 @@ declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTempla
|
|
|
23152
23458
|
catalogItemId: string;
|
|
23153
23459
|
appId: string;
|
|
23154
23460
|
} | 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;
|
|
23155
23481
|
}[];
|
|
23156
23482
|
}>;
|
|
23157
23483
|
declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
@@ -23169,6 +23495,26 @@ declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateI
|
|
|
23169
23495
|
catalogItemId: string;
|
|
23170
23496
|
appId: string;
|
|
23171
23497
|
} | 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;
|
|
23172
23518
|
}[];
|
|
23173
23519
|
}>;
|
|
23174
23520
|
declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
@@ -23186,6 +23532,26 @@ declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string |
|
|
|
23186
23532
|
catalogItemId: string;
|
|
23187
23533
|
appId: string;
|
|
23188
23534
|
} | 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;
|
|
23189
23555
|
}[];
|
|
23190
23556
|
}>;
|
|
23191
23557
|
declare function deleteCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|