@wix/ecom 1.0.629 → 1.0.631
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 +6 -6
- package/type-bundles/context.bundle.d.ts +636 -0
- package/type-bundles/index.bundle.d.ts +868 -0
- package/type-bundles/meta.bundle.d.ts +1016 -98
|
@@ -3498,6 +3498,8 @@ interface LineItem$5 {
|
|
|
3498
3498
|
* @readonly
|
|
3499
3499
|
*/
|
|
3500
3500
|
taxGroupId?: string | null;
|
|
3501
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
3502
|
+
catalogOverrideFields?: CatalogOverrideFields$3;
|
|
3501
3503
|
}
|
|
3502
3504
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
3503
3505
|
interface CatalogReference$4 {
|
|
@@ -5072,6 +5074,26 @@ interface GetCurrentCartResponseNonNullableFields$1 {
|
|
|
5072
5074
|
_id: string;
|
|
5073
5075
|
appId: string;
|
|
5074
5076
|
};
|
|
5077
|
+
catalogOverrideFields?: {
|
|
5078
|
+
productName?: {
|
|
5079
|
+
original: string;
|
|
5080
|
+
};
|
|
5081
|
+
descriptionLines: {
|
|
5082
|
+
plainText?: {
|
|
5083
|
+
original: string;
|
|
5084
|
+
};
|
|
5085
|
+
colorInfo?: {
|
|
5086
|
+
original: string;
|
|
5087
|
+
};
|
|
5088
|
+
name?: {
|
|
5089
|
+
original: string;
|
|
5090
|
+
};
|
|
5091
|
+
}[];
|
|
5092
|
+
physicalProperties?: {
|
|
5093
|
+
shippable: boolean;
|
|
5094
|
+
};
|
|
5095
|
+
image: string;
|
|
5096
|
+
};
|
|
5075
5097
|
}[];
|
|
5076
5098
|
buyerInfo?: {
|
|
5077
5099
|
visitorId: string;
|
|
@@ -5174,6 +5196,26 @@ interface UpdateCartResponseNonNullableFields$1 {
|
|
|
5174
5196
|
_id: string;
|
|
5175
5197
|
appId: string;
|
|
5176
5198
|
};
|
|
5199
|
+
catalogOverrideFields?: {
|
|
5200
|
+
productName?: {
|
|
5201
|
+
original: string;
|
|
5202
|
+
};
|
|
5203
|
+
descriptionLines: {
|
|
5204
|
+
plainText?: {
|
|
5205
|
+
original: string;
|
|
5206
|
+
};
|
|
5207
|
+
colorInfo?: {
|
|
5208
|
+
original: string;
|
|
5209
|
+
};
|
|
5210
|
+
name?: {
|
|
5211
|
+
original: string;
|
|
5212
|
+
};
|
|
5213
|
+
}[];
|
|
5214
|
+
physicalProperties?: {
|
|
5215
|
+
shippable: boolean;
|
|
5216
|
+
};
|
|
5217
|
+
image: string;
|
|
5218
|
+
};
|
|
5177
5219
|
}[];
|
|
5178
5220
|
buyerInfo?: {
|
|
5179
5221
|
visitorId: string;
|
|
@@ -5276,6 +5318,26 @@ interface AddToCartResponseNonNullableFields$1 {
|
|
|
5276
5318
|
_id: string;
|
|
5277
5319
|
appId: string;
|
|
5278
5320
|
};
|
|
5321
|
+
catalogOverrideFields?: {
|
|
5322
|
+
productName?: {
|
|
5323
|
+
original: string;
|
|
5324
|
+
};
|
|
5325
|
+
descriptionLines: {
|
|
5326
|
+
plainText?: {
|
|
5327
|
+
original: string;
|
|
5328
|
+
};
|
|
5329
|
+
colorInfo?: {
|
|
5330
|
+
original: string;
|
|
5331
|
+
};
|
|
5332
|
+
name?: {
|
|
5333
|
+
original: string;
|
|
5334
|
+
};
|
|
5335
|
+
}[];
|
|
5336
|
+
physicalProperties?: {
|
|
5337
|
+
shippable: boolean;
|
|
5338
|
+
};
|
|
5339
|
+
image: string;
|
|
5340
|
+
};
|
|
5279
5341
|
}[];
|
|
5280
5342
|
buyerInfo?: {
|
|
5281
5343
|
visitorId: string;
|
|
@@ -5378,6 +5440,26 @@ interface RemoveLineItemsResponseNonNullableFields$2 {
|
|
|
5378
5440
|
_id: string;
|
|
5379
5441
|
appId: string;
|
|
5380
5442
|
};
|
|
5443
|
+
catalogOverrideFields?: {
|
|
5444
|
+
productName?: {
|
|
5445
|
+
original: string;
|
|
5446
|
+
};
|
|
5447
|
+
descriptionLines: {
|
|
5448
|
+
plainText?: {
|
|
5449
|
+
original: string;
|
|
5450
|
+
};
|
|
5451
|
+
colorInfo?: {
|
|
5452
|
+
original: string;
|
|
5453
|
+
};
|
|
5454
|
+
name?: {
|
|
5455
|
+
original: string;
|
|
5456
|
+
};
|
|
5457
|
+
}[];
|
|
5458
|
+
physicalProperties?: {
|
|
5459
|
+
shippable: boolean;
|
|
5460
|
+
};
|
|
5461
|
+
image: string;
|
|
5462
|
+
};
|
|
5381
5463
|
}[];
|
|
5382
5464
|
buyerInfo?: {
|
|
5383
5465
|
visitorId: string;
|
|
@@ -5483,6 +5565,26 @@ interface RemoveCouponResponseNonNullableFields$2 {
|
|
|
5483
5565
|
_id: string;
|
|
5484
5566
|
appId: string;
|
|
5485
5567
|
};
|
|
5568
|
+
catalogOverrideFields?: {
|
|
5569
|
+
productName?: {
|
|
5570
|
+
original: string;
|
|
5571
|
+
};
|
|
5572
|
+
descriptionLines: {
|
|
5573
|
+
plainText?: {
|
|
5574
|
+
original: string;
|
|
5575
|
+
};
|
|
5576
|
+
colorInfo?: {
|
|
5577
|
+
original: string;
|
|
5578
|
+
};
|
|
5579
|
+
name?: {
|
|
5580
|
+
original: string;
|
|
5581
|
+
};
|
|
5582
|
+
}[];
|
|
5583
|
+
physicalProperties?: {
|
|
5584
|
+
shippable: boolean;
|
|
5585
|
+
};
|
|
5586
|
+
image: string;
|
|
5587
|
+
};
|
|
5486
5588
|
}[];
|
|
5487
5589
|
buyerInfo?: {
|
|
5488
5590
|
visitorId: string;
|
|
@@ -5585,6 +5687,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$2 {
|
|
|
5585
5687
|
_id: string;
|
|
5586
5688
|
appId: string;
|
|
5587
5689
|
};
|
|
5690
|
+
catalogOverrideFields?: {
|
|
5691
|
+
productName?: {
|
|
5692
|
+
original: string;
|
|
5693
|
+
};
|
|
5694
|
+
descriptionLines: {
|
|
5695
|
+
plainText?: {
|
|
5696
|
+
original: string;
|
|
5697
|
+
};
|
|
5698
|
+
colorInfo?: {
|
|
5699
|
+
original: string;
|
|
5700
|
+
};
|
|
5701
|
+
name?: {
|
|
5702
|
+
original: string;
|
|
5703
|
+
};
|
|
5704
|
+
}[];
|
|
5705
|
+
physicalProperties?: {
|
|
5706
|
+
shippable: boolean;
|
|
5707
|
+
};
|
|
5708
|
+
image: string;
|
|
5709
|
+
};
|
|
5588
5710
|
}[];
|
|
5589
5711
|
buyerInfo?: {
|
|
5590
5712
|
visitorId: string;
|
|
@@ -5687,6 +5809,26 @@ interface EstimateTotalsResponseNonNullableFields$1 {
|
|
|
5687
5809
|
_id: string;
|
|
5688
5810
|
appId: string;
|
|
5689
5811
|
};
|
|
5812
|
+
catalogOverrideFields?: {
|
|
5813
|
+
productName?: {
|
|
5814
|
+
original: string;
|
|
5815
|
+
};
|
|
5816
|
+
descriptionLines: {
|
|
5817
|
+
plainText?: {
|
|
5818
|
+
original: string;
|
|
5819
|
+
};
|
|
5820
|
+
colorInfo?: {
|
|
5821
|
+
original: string;
|
|
5822
|
+
};
|
|
5823
|
+
name?: {
|
|
5824
|
+
original: string;
|
|
5825
|
+
};
|
|
5826
|
+
}[];
|
|
5827
|
+
physicalProperties?: {
|
|
5828
|
+
shippable: boolean;
|
|
5829
|
+
};
|
|
5830
|
+
image: string;
|
|
5831
|
+
};
|
|
5690
5832
|
}[];
|
|
5691
5833
|
buyerInfo?: {
|
|
5692
5834
|
visitorId: string;
|
|
@@ -6389,6 +6531,26 @@ interface CreateCartResponseNonNullableFields$1 {
|
|
|
6389
6531
|
_id: string;
|
|
6390
6532
|
appId: string;
|
|
6391
6533
|
};
|
|
6534
|
+
catalogOverrideFields?: {
|
|
6535
|
+
productName?: {
|
|
6536
|
+
original: string;
|
|
6537
|
+
};
|
|
6538
|
+
descriptionLines: {
|
|
6539
|
+
plainText?: {
|
|
6540
|
+
original: string;
|
|
6541
|
+
};
|
|
6542
|
+
colorInfo?: {
|
|
6543
|
+
original: string;
|
|
6544
|
+
};
|
|
6545
|
+
name?: {
|
|
6546
|
+
original: string;
|
|
6547
|
+
};
|
|
6548
|
+
}[];
|
|
6549
|
+
physicalProperties?: {
|
|
6550
|
+
shippable: boolean;
|
|
6551
|
+
};
|
|
6552
|
+
image: string;
|
|
6553
|
+
};
|
|
6392
6554
|
}[];
|
|
6393
6555
|
buyerInfo?: {
|
|
6394
6556
|
visitorId: string;
|
|
@@ -6491,6 +6653,26 @@ interface GetCartResponseNonNullableFields$1 {
|
|
|
6491
6653
|
_id: string;
|
|
6492
6654
|
appId: string;
|
|
6493
6655
|
};
|
|
6656
|
+
catalogOverrideFields?: {
|
|
6657
|
+
productName?: {
|
|
6658
|
+
original: string;
|
|
6659
|
+
};
|
|
6660
|
+
descriptionLines: {
|
|
6661
|
+
plainText?: {
|
|
6662
|
+
original: string;
|
|
6663
|
+
};
|
|
6664
|
+
colorInfo?: {
|
|
6665
|
+
original: string;
|
|
6666
|
+
};
|
|
6667
|
+
name?: {
|
|
6668
|
+
original: string;
|
|
6669
|
+
};
|
|
6670
|
+
}[];
|
|
6671
|
+
physicalProperties?: {
|
|
6672
|
+
shippable: boolean;
|
|
6673
|
+
};
|
|
6674
|
+
image: string;
|
|
6675
|
+
};
|
|
6494
6676
|
}[];
|
|
6495
6677
|
buyerInfo?: {
|
|
6496
6678
|
visitorId: string;
|
|
@@ -6778,6 +6960,26 @@ declare function createCart(httpClient: HttpClient): (options?: CreateCartOption
|
|
|
6778
6960
|
_id: string;
|
|
6779
6961
|
appId: string;
|
|
6780
6962
|
} | undefined;
|
|
6963
|
+
catalogOverrideFields?: {
|
|
6964
|
+
productName?: {
|
|
6965
|
+
original: string;
|
|
6966
|
+
} | undefined;
|
|
6967
|
+
descriptionLines: {
|
|
6968
|
+
plainText?: {
|
|
6969
|
+
original: string;
|
|
6970
|
+
} | undefined;
|
|
6971
|
+
colorInfo?: {
|
|
6972
|
+
original: string;
|
|
6973
|
+
} | undefined;
|
|
6974
|
+
name?: {
|
|
6975
|
+
original: string;
|
|
6976
|
+
} | undefined;
|
|
6977
|
+
}[];
|
|
6978
|
+
physicalProperties?: {
|
|
6979
|
+
shippable: boolean;
|
|
6980
|
+
} | undefined;
|
|
6981
|
+
image: string;
|
|
6982
|
+
} | undefined;
|
|
6781
6983
|
}[];
|
|
6782
6984
|
buyerInfo?: {
|
|
6783
6985
|
visitorId: string;
|
|
@@ -6878,6 +7080,26 @@ declare function updateCart(httpClient: HttpClient): (_id: string | null, option
|
|
|
6878
7080
|
_id: string;
|
|
6879
7081
|
appId: string;
|
|
6880
7082
|
} | undefined;
|
|
7083
|
+
catalogOverrideFields?: {
|
|
7084
|
+
productName?: {
|
|
7085
|
+
original: string;
|
|
7086
|
+
} | undefined;
|
|
7087
|
+
descriptionLines: {
|
|
7088
|
+
plainText?: {
|
|
7089
|
+
original: string;
|
|
7090
|
+
} | undefined;
|
|
7091
|
+
colorInfo?: {
|
|
7092
|
+
original: string;
|
|
7093
|
+
} | undefined;
|
|
7094
|
+
name?: {
|
|
7095
|
+
original: string;
|
|
7096
|
+
} | undefined;
|
|
7097
|
+
}[];
|
|
7098
|
+
physicalProperties?: {
|
|
7099
|
+
shippable: boolean;
|
|
7100
|
+
} | undefined;
|
|
7101
|
+
image: string;
|
|
7102
|
+
} | undefined;
|
|
6881
7103
|
}[];
|
|
6882
7104
|
buyerInfo?: {
|
|
6883
7105
|
visitorId: string;
|
|
@@ -6978,6 +7200,26 @@ declare function getCart(httpClient: HttpClient): (_id: string) => Promise<Cart$
|
|
|
6978
7200
|
_id: string;
|
|
6979
7201
|
appId: string;
|
|
6980
7202
|
} | undefined;
|
|
7203
|
+
catalogOverrideFields?: {
|
|
7204
|
+
productName?: {
|
|
7205
|
+
original: string;
|
|
7206
|
+
} | undefined;
|
|
7207
|
+
descriptionLines: {
|
|
7208
|
+
plainText?: {
|
|
7209
|
+
original: string;
|
|
7210
|
+
} | undefined;
|
|
7211
|
+
colorInfo?: {
|
|
7212
|
+
original: string;
|
|
7213
|
+
} | undefined;
|
|
7214
|
+
name?: {
|
|
7215
|
+
original: string;
|
|
7216
|
+
} | undefined;
|
|
7217
|
+
}[];
|
|
7218
|
+
physicalProperties?: {
|
|
7219
|
+
shippable: boolean;
|
|
7220
|
+
} | undefined;
|
|
7221
|
+
image: string;
|
|
7222
|
+
} | undefined;
|
|
6981
7223
|
}[];
|
|
6982
7224
|
buyerInfo?: {
|
|
6983
7225
|
visitorId: string;
|
|
@@ -7219,6 +7461,8 @@ interface LineItem$4 {
|
|
|
7219
7461
|
* @readonly
|
|
7220
7462
|
*/
|
|
7221
7463
|
taxGroupId?: string | null;
|
|
7464
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
7465
|
+
catalogOverrideFields?: CatalogOverrideFields$2;
|
|
7222
7466
|
}
|
|
7223
7467
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
7224
7468
|
interface CatalogReference$3 {
|
|
@@ -8793,6 +9037,26 @@ interface GetCurrentCartResponseNonNullableFields {
|
|
|
8793
9037
|
_id: string;
|
|
8794
9038
|
appId: string;
|
|
8795
9039
|
};
|
|
9040
|
+
catalogOverrideFields?: {
|
|
9041
|
+
productName?: {
|
|
9042
|
+
original: string;
|
|
9043
|
+
};
|
|
9044
|
+
descriptionLines: {
|
|
9045
|
+
plainText?: {
|
|
9046
|
+
original: string;
|
|
9047
|
+
};
|
|
9048
|
+
colorInfo?: {
|
|
9049
|
+
original: string;
|
|
9050
|
+
};
|
|
9051
|
+
name?: {
|
|
9052
|
+
original: string;
|
|
9053
|
+
};
|
|
9054
|
+
}[];
|
|
9055
|
+
physicalProperties?: {
|
|
9056
|
+
shippable: boolean;
|
|
9057
|
+
};
|
|
9058
|
+
image: string;
|
|
9059
|
+
};
|
|
8796
9060
|
}[];
|
|
8797
9061
|
buyerInfo?: {
|
|
8798
9062
|
visitorId: string;
|
|
@@ -8895,6 +9159,26 @@ interface UpdateCartResponseNonNullableFields {
|
|
|
8895
9159
|
_id: string;
|
|
8896
9160
|
appId: string;
|
|
8897
9161
|
};
|
|
9162
|
+
catalogOverrideFields?: {
|
|
9163
|
+
productName?: {
|
|
9164
|
+
original: string;
|
|
9165
|
+
};
|
|
9166
|
+
descriptionLines: {
|
|
9167
|
+
plainText?: {
|
|
9168
|
+
original: string;
|
|
9169
|
+
};
|
|
9170
|
+
colorInfo?: {
|
|
9171
|
+
original: string;
|
|
9172
|
+
};
|
|
9173
|
+
name?: {
|
|
9174
|
+
original: string;
|
|
9175
|
+
};
|
|
9176
|
+
}[];
|
|
9177
|
+
physicalProperties?: {
|
|
9178
|
+
shippable: boolean;
|
|
9179
|
+
};
|
|
9180
|
+
image: string;
|
|
9181
|
+
};
|
|
8898
9182
|
}[];
|
|
8899
9183
|
buyerInfo?: {
|
|
8900
9184
|
visitorId: string;
|
|
@@ -8997,6 +9281,26 @@ interface AddToCartResponseNonNullableFields {
|
|
|
8997
9281
|
_id: string;
|
|
8998
9282
|
appId: string;
|
|
8999
9283
|
};
|
|
9284
|
+
catalogOverrideFields?: {
|
|
9285
|
+
productName?: {
|
|
9286
|
+
original: string;
|
|
9287
|
+
};
|
|
9288
|
+
descriptionLines: {
|
|
9289
|
+
plainText?: {
|
|
9290
|
+
original: string;
|
|
9291
|
+
};
|
|
9292
|
+
colorInfo?: {
|
|
9293
|
+
original: string;
|
|
9294
|
+
};
|
|
9295
|
+
name?: {
|
|
9296
|
+
original: string;
|
|
9297
|
+
};
|
|
9298
|
+
}[];
|
|
9299
|
+
physicalProperties?: {
|
|
9300
|
+
shippable: boolean;
|
|
9301
|
+
};
|
|
9302
|
+
image: string;
|
|
9303
|
+
};
|
|
9000
9304
|
}[];
|
|
9001
9305
|
buyerInfo?: {
|
|
9002
9306
|
visitorId: string;
|
|
@@ -9099,6 +9403,26 @@ interface RemoveLineItemsResponseNonNullableFields$1 {
|
|
|
9099
9403
|
_id: string;
|
|
9100
9404
|
appId: string;
|
|
9101
9405
|
};
|
|
9406
|
+
catalogOverrideFields?: {
|
|
9407
|
+
productName?: {
|
|
9408
|
+
original: string;
|
|
9409
|
+
};
|
|
9410
|
+
descriptionLines: {
|
|
9411
|
+
plainText?: {
|
|
9412
|
+
original: string;
|
|
9413
|
+
};
|
|
9414
|
+
colorInfo?: {
|
|
9415
|
+
original: string;
|
|
9416
|
+
};
|
|
9417
|
+
name?: {
|
|
9418
|
+
original: string;
|
|
9419
|
+
};
|
|
9420
|
+
}[];
|
|
9421
|
+
physicalProperties?: {
|
|
9422
|
+
shippable: boolean;
|
|
9423
|
+
};
|
|
9424
|
+
image: string;
|
|
9425
|
+
};
|
|
9102
9426
|
}[];
|
|
9103
9427
|
buyerInfo?: {
|
|
9104
9428
|
visitorId: string;
|
|
@@ -9204,6 +9528,26 @@ interface RemoveCouponResponseNonNullableFields$1 {
|
|
|
9204
9528
|
_id: string;
|
|
9205
9529
|
appId: string;
|
|
9206
9530
|
};
|
|
9531
|
+
catalogOverrideFields?: {
|
|
9532
|
+
productName?: {
|
|
9533
|
+
original: string;
|
|
9534
|
+
};
|
|
9535
|
+
descriptionLines: {
|
|
9536
|
+
plainText?: {
|
|
9537
|
+
original: string;
|
|
9538
|
+
};
|
|
9539
|
+
colorInfo?: {
|
|
9540
|
+
original: string;
|
|
9541
|
+
};
|
|
9542
|
+
name?: {
|
|
9543
|
+
original: string;
|
|
9544
|
+
};
|
|
9545
|
+
}[];
|
|
9546
|
+
physicalProperties?: {
|
|
9547
|
+
shippable: boolean;
|
|
9548
|
+
};
|
|
9549
|
+
image: string;
|
|
9550
|
+
};
|
|
9207
9551
|
}[];
|
|
9208
9552
|
buyerInfo?: {
|
|
9209
9553
|
visitorId: string;
|
|
@@ -9306,6 +9650,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields$1 {
|
|
|
9306
9650
|
_id: string;
|
|
9307
9651
|
appId: string;
|
|
9308
9652
|
};
|
|
9653
|
+
catalogOverrideFields?: {
|
|
9654
|
+
productName?: {
|
|
9655
|
+
original: string;
|
|
9656
|
+
};
|
|
9657
|
+
descriptionLines: {
|
|
9658
|
+
plainText?: {
|
|
9659
|
+
original: string;
|
|
9660
|
+
};
|
|
9661
|
+
colorInfo?: {
|
|
9662
|
+
original: string;
|
|
9663
|
+
};
|
|
9664
|
+
name?: {
|
|
9665
|
+
original: string;
|
|
9666
|
+
};
|
|
9667
|
+
}[];
|
|
9668
|
+
physicalProperties?: {
|
|
9669
|
+
shippable: boolean;
|
|
9670
|
+
};
|
|
9671
|
+
image: string;
|
|
9672
|
+
};
|
|
9309
9673
|
}[];
|
|
9310
9674
|
buyerInfo?: {
|
|
9311
9675
|
visitorId: string;
|
|
@@ -9408,6 +9772,26 @@ interface EstimateTotalsResponseNonNullableFields {
|
|
|
9408
9772
|
_id: string;
|
|
9409
9773
|
appId: string;
|
|
9410
9774
|
};
|
|
9775
|
+
catalogOverrideFields?: {
|
|
9776
|
+
productName?: {
|
|
9777
|
+
original: string;
|
|
9778
|
+
};
|
|
9779
|
+
descriptionLines: {
|
|
9780
|
+
plainText?: {
|
|
9781
|
+
original: string;
|
|
9782
|
+
};
|
|
9783
|
+
colorInfo?: {
|
|
9784
|
+
original: string;
|
|
9785
|
+
};
|
|
9786
|
+
name?: {
|
|
9787
|
+
original: string;
|
|
9788
|
+
};
|
|
9789
|
+
}[];
|
|
9790
|
+
physicalProperties?: {
|
|
9791
|
+
shippable: boolean;
|
|
9792
|
+
};
|
|
9793
|
+
image: string;
|
|
9794
|
+
};
|
|
9411
9795
|
}[];
|
|
9412
9796
|
buyerInfo?: {
|
|
9413
9797
|
visitorId: string;
|
|
@@ -10110,6 +10494,26 @@ interface CreateCartResponseNonNullableFields {
|
|
|
10110
10494
|
_id: string;
|
|
10111
10495
|
appId: string;
|
|
10112
10496
|
};
|
|
10497
|
+
catalogOverrideFields?: {
|
|
10498
|
+
productName?: {
|
|
10499
|
+
original: string;
|
|
10500
|
+
};
|
|
10501
|
+
descriptionLines: {
|
|
10502
|
+
plainText?: {
|
|
10503
|
+
original: string;
|
|
10504
|
+
};
|
|
10505
|
+
colorInfo?: {
|
|
10506
|
+
original: string;
|
|
10507
|
+
};
|
|
10508
|
+
name?: {
|
|
10509
|
+
original: string;
|
|
10510
|
+
};
|
|
10511
|
+
}[];
|
|
10512
|
+
physicalProperties?: {
|
|
10513
|
+
shippable: boolean;
|
|
10514
|
+
};
|
|
10515
|
+
image: string;
|
|
10516
|
+
};
|
|
10113
10517
|
}[];
|
|
10114
10518
|
buyerInfo?: {
|
|
10115
10519
|
visitorId: string;
|
|
@@ -10212,6 +10616,26 @@ interface GetCartResponseNonNullableFields {
|
|
|
10212
10616
|
_id: string;
|
|
10213
10617
|
appId: string;
|
|
10214
10618
|
};
|
|
10619
|
+
catalogOverrideFields?: {
|
|
10620
|
+
productName?: {
|
|
10621
|
+
original: string;
|
|
10622
|
+
};
|
|
10623
|
+
descriptionLines: {
|
|
10624
|
+
plainText?: {
|
|
10625
|
+
original: string;
|
|
10626
|
+
};
|
|
10627
|
+
colorInfo?: {
|
|
10628
|
+
original: string;
|
|
10629
|
+
};
|
|
10630
|
+
name?: {
|
|
10631
|
+
original: string;
|
|
10632
|
+
};
|
|
10633
|
+
}[];
|
|
10634
|
+
physicalProperties?: {
|
|
10635
|
+
shippable: boolean;
|
|
10636
|
+
};
|
|
10637
|
+
image: string;
|
|
10638
|
+
};
|
|
10215
10639
|
}[];
|
|
10216
10640
|
buyerInfo?: {
|
|
10217
10641
|
visitorId: string;
|
|
@@ -10410,6 +10834,26 @@ declare function getCurrentCart(httpClient: HttpClient): () => Promise<Cart & {
|
|
|
10410
10834
|
_id: string;
|
|
10411
10835
|
appId: string;
|
|
10412
10836
|
} | undefined;
|
|
10837
|
+
catalogOverrideFields?: {
|
|
10838
|
+
productName?: {
|
|
10839
|
+
original: string;
|
|
10840
|
+
} | undefined;
|
|
10841
|
+
descriptionLines: {
|
|
10842
|
+
plainText?: {
|
|
10843
|
+
original: string;
|
|
10844
|
+
} | undefined;
|
|
10845
|
+
colorInfo?: {
|
|
10846
|
+
original: string;
|
|
10847
|
+
} | undefined;
|
|
10848
|
+
name?: {
|
|
10849
|
+
original: string;
|
|
10850
|
+
} | undefined;
|
|
10851
|
+
}[];
|
|
10852
|
+
physicalProperties?: {
|
|
10853
|
+
shippable: boolean;
|
|
10854
|
+
} | undefined;
|
|
10855
|
+
image: string;
|
|
10856
|
+
} | undefined;
|
|
10413
10857
|
}[];
|
|
10414
10858
|
buyerInfo?: {
|
|
10415
10859
|
visitorId: string;
|
|
@@ -10510,6 +10954,26 @@ declare function updateCurrentCart(httpClient: HttpClient): (options?: UpdateCur
|
|
|
10510
10954
|
_id: string;
|
|
10511
10955
|
appId: string;
|
|
10512
10956
|
} | undefined;
|
|
10957
|
+
catalogOverrideFields?: {
|
|
10958
|
+
productName?: {
|
|
10959
|
+
original: string;
|
|
10960
|
+
} | undefined;
|
|
10961
|
+
descriptionLines: {
|
|
10962
|
+
plainText?: {
|
|
10963
|
+
original: string;
|
|
10964
|
+
} | undefined;
|
|
10965
|
+
colorInfo?: {
|
|
10966
|
+
original: string;
|
|
10967
|
+
} | undefined;
|
|
10968
|
+
name?: {
|
|
10969
|
+
original: string;
|
|
10970
|
+
} | undefined;
|
|
10971
|
+
}[];
|
|
10972
|
+
physicalProperties?: {
|
|
10973
|
+
shippable: boolean;
|
|
10974
|
+
} | undefined;
|
|
10975
|
+
image: string;
|
|
10976
|
+
} | undefined;
|
|
10513
10977
|
}[];
|
|
10514
10978
|
buyerInfo?: {
|
|
10515
10979
|
visitorId: string;
|
|
@@ -10899,6 +11363,8 @@ interface LineItem$3 {
|
|
|
10899
11363
|
* @readonly
|
|
10900
11364
|
*/
|
|
10901
11365
|
depositAmount?: MultiCurrencyPrice$1;
|
|
11366
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
11367
|
+
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
10902
11368
|
}
|
|
10903
11369
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
10904
11370
|
interface CatalogReference$2 {
|
|
@@ -12957,6 +13423,26 @@ interface CreateCheckoutResponseNonNullableFields {
|
|
|
12957
13423
|
formattedAmount: string;
|
|
12958
13424
|
formattedConvertedAmount: string;
|
|
12959
13425
|
};
|
|
13426
|
+
catalogOverrideFields?: {
|
|
13427
|
+
productName?: {
|
|
13428
|
+
original: string;
|
|
13429
|
+
};
|
|
13430
|
+
descriptionLines: {
|
|
13431
|
+
plainText?: {
|
|
13432
|
+
original: string;
|
|
13433
|
+
};
|
|
13434
|
+
colorInfo?: {
|
|
13435
|
+
original: string;
|
|
13436
|
+
};
|
|
13437
|
+
name?: {
|
|
13438
|
+
original: string;
|
|
13439
|
+
};
|
|
13440
|
+
}[];
|
|
13441
|
+
physicalProperties?: {
|
|
13442
|
+
shippable: boolean;
|
|
13443
|
+
};
|
|
13444
|
+
image: string;
|
|
13445
|
+
};
|
|
12960
13446
|
}[];
|
|
12961
13447
|
billingInfo?: {
|
|
12962
13448
|
contactDetails?: {
|
|
@@ -13639,6 +14125,26 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
13639
14125
|
formattedAmount: string;
|
|
13640
14126
|
formattedConvertedAmount: string;
|
|
13641
14127
|
};
|
|
14128
|
+
catalogOverrideFields?: {
|
|
14129
|
+
productName?: {
|
|
14130
|
+
original: string;
|
|
14131
|
+
};
|
|
14132
|
+
descriptionLines: {
|
|
14133
|
+
plainText?: {
|
|
14134
|
+
original: string;
|
|
14135
|
+
};
|
|
14136
|
+
colorInfo?: {
|
|
14137
|
+
original: string;
|
|
14138
|
+
};
|
|
14139
|
+
name?: {
|
|
14140
|
+
original: string;
|
|
14141
|
+
};
|
|
14142
|
+
}[];
|
|
14143
|
+
physicalProperties?: {
|
|
14144
|
+
shippable: boolean;
|
|
14145
|
+
};
|
|
14146
|
+
image: string;
|
|
14147
|
+
};
|
|
13642
14148
|
}[];
|
|
13643
14149
|
billingInfo?: {
|
|
13644
14150
|
contactDetails?: {
|
|
@@ -14324,6 +14830,26 @@ interface UpdateCheckoutResponseNonNullableFields {
|
|
|
14324
14830
|
formattedAmount: string;
|
|
14325
14831
|
formattedConvertedAmount: string;
|
|
14326
14832
|
};
|
|
14833
|
+
catalogOverrideFields?: {
|
|
14834
|
+
productName?: {
|
|
14835
|
+
original: string;
|
|
14836
|
+
};
|
|
14837
|
+
descriptionLines: {
|
|
14838
|
+
plainText?: {
|
|
14839
|
+
original: string;
|
|
14840
|
+
};
|
|
14841
|
+
colorInfo?: {
|
|
14842
|
+
original: string;
|
|
14843
|
+
};
|
|
14844
|
+
name?: {
|
|
14845
|
+
original: string;
|
|
14846
|
+
};
|
|
14847
|
+
}[];
|
|
14848
|
+
physicalProperties?: {
|
|
14849
|
+
shippable: boolean;
|
|
14850
|
+
};
|
|
14851
|
+
image: string;
|
|
14852
|
+
};
|
|
14327
14853
|
}[];
|
|
14328
14854
|
billingInfo?: {
|
|
14329
14855
|
contactDetails?: {
|
|
@@ -15006,6 +15532,26 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
15006
15532
|
formattedAmount: string;
|
|
15007
15533
|
formattedConvertedAmount: string;
|
|
15008
15534
|
};
|
|
15535
|
+
catalogOverrideFields?: {
|
|
15536
|
+
productName?: {
|
|
15537
|
+
original: string;
|
|
15538
|
+
};
|
|
15539
|
+
descriptionLines: {
|
|
15540
|
+
plainText?: {
|
|
15541
|
+
original: string;
|
|
15542
|
+
};
|
|
15543
|
+
colorInfo?: {
|
|
15544
|
+
original: string;
|
|
15545
|
+
};
|
|
15546
|
+
name?: {
|
|
15547
|
+
original: string;
|
|
15548
|
+
};
|
|
15549
|
+
}[];
|
|
15550
|
+
physicalProperties?: {
|
|
15551
|
+
shippable: boolean;
|
|
15552
|
+
};
|
|
15553
|
+
image: string;
|
|
15554
|
+
};
|
|
15009
15555
|
}[];
|
|
15010
15556
|
billingInfo?: {
|
|
15011
15557
|
contactDetails?: {
|
|
@@ -15688,6 +16234,26 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
15688
16234
|
formattedAmount: string;
|
|
15689
16235
|
formattedConvertedAmount: string;
|
|
15690
16236
|
};
|
|
16237
|
+
catalogOverrideFields?: {
|
|
16238
|
+
productName?: {
|
|
16239
|
+
original: string;
|
|
16240
|
+
};
|
|
16241
|
+
descriptionLines: {
|
|
16242
|
+
plainText?: {
|
|
16243
|
+
original: string;
|
|
16244
|
+
};
|
|
16245
|
+
colorInfo?: {
|
|
16246
|
+
original: string;
|
|
16247
|
+
};
|
|
16248
|
+
name?: {
|
|
16249
|
+
original: string;
|
|
16250
|
+
};
|
|
16251
|
+
}[];
|
|
16252
|
+
physicalProperties?: {
|
|
16253
|
+
shippable: boolean;
|
|
16254
|
+
};
|
|
16255
|
+
image: string;
|
|
16256
|
+
};
|
|
15691
16257
|
}[];
|
|
15692
16258
|
billingInfo?: {
|
|
15693
16259
|
contactDetails?: {
|
|
@@ -16370,6 +16936,26 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
16370
16936
|
formattedAmount: string;
|
|
16371
16937
|
formattedConvertedAmount: string;
|
|
16372
16938
|
};
|
|
16939
|
+
catalogOverrideFields?: {
|
|
16940
|
+
productName?: {
|
|
16941
|
+
original: string;
|
|
16942
|
+
};
|
|
16943
|
+
descriptionLines: {
|
|
16944
|
+
plainText?: {
|
|
16945
|
+
original: string;
|
|
16946
|
+
};
|
|
16947
|
+
colorInfo?: {
|
|
16948
|
+
original: string;
|
|
16949
|
+
};
|
|
16950
|
+
name?: {
|
|
16951
|
+
original: string;
|
|
16952
|
+
};
|
|
16953
|
+
}[];
|
|
16954
|
+
physicalProperties?: {
|
|
16955
|
+
shippable: boolean;
|
|
16956
|
+
};
|
|
16957
|
+
image: string;
|
|
16958
|
+
};
|
|
16373
16959
|
}[];
|
|
16374
16960
|
billingInfo?: {
|
|
16375
16961
|
contactDetails?: {
|
|
@@ -17052,6 +17638,26 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
17052
17638
|
formattedAmount: string;
|
|
17053
17639
|
formattedConvertedAmount: string;
|
|
17054
17640
|
};
|
|
17641
|
+
catalogOverrideFields?: {
|
|
17642
|
+
productName?: {
|
|
17643
|
+
original: string;
|
|
17644
|
+
};
|
|
17645
|
+
descriptionLines: {
|
|
17646
|
+
plainText?: {
|
|
17647
|
+
original: string;
|
|
17648
|
+
};
|
|
17649
|
+
colorInfo?: {
|
|
17650
|
+
original: string;
|
|
17651
|
+
};
|
|
17652
|
+
name?: {
|
|
17653
|
+
original: string;
|
|
17654
|
+
};
|
|
17655
|
+
}[];
|
|
17656
|
+
physicalProperties?: {
|
|
17657
|
+
shippable: boolean;
|
|
17658
|
+
};
|
|
17659
|
+
image: string;
|
|
17660
|
+
};
|
|
17055
17661
|
}[];
|
|
17056
17662
|
billingInfo?: {
|
|
17057
17663
|
contactDetails?: {
|
|
@@ -17734,6 +18340,26 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
17734
18340
|
formattedAmount: string;
|
|
17735
18341
|
formattedConvertedAmount: string;
|
|
17736
18342
|
};
|
|
18343
|
+
catalogOverrideFields?: {
|
|
18344
|
+
productName?: {
|
|
18345
|
+
original: string;
|
|
18346
|
+
};
|
|
18347
|
+
descriptionLines: {
|
|
18348
|
+
plainText?: {
|
|
18349
|
+
original: string;
|
|
18350
|
+
};
|
|
18351
|
+
colorInfo?: {
|
|
18352
|
+
original: string;
|
|
18353
|
+
};
|
|
18354
|
+
name?: {
|
|
18355
|
+
original: string;
|
|
18356
|
+
};
|
|
18357
|
+
}[];
|
|
18358
|
+
physicalProperties?: {
|
|
18359
|
+
shippable: boolean;
|
|
18360
|
+
};
|
|
18361
|
+
image: string;
|
|
18362
|
+
};
|
|
17737
18363
|
}[];
|
|
17738
18364
|
billingInfo?: {
|
|
17739
18365
|
contactDetails?: {
|
|
@@ -18420,6 +19046,26 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
18420
19046
|
formattedAmount: string;
|
|
18421
19047
|
formattedConvertedAmount: string;
|
|
18422
19048
|
};
|
|
19049
|
+
catalogOverrideFields?: {
|
|
19050
|
+
productName?: {
|
|
19051
|
+
original: string;
|
|
19052
|
+
};
|
|
19053
|
+
descriptionLines: {
|
|
19054
|
+
plainText?: {
|
|
19055
|
+
original: string;
|
|
19056
|
+
};
|
|
19057
|
+
colorInfo?: {
|
|
19058
|
+
original: string;
|
|
19059
|
+
};
|
|
19060
|
+
name?: {
|
|
19061
|
+
original: string;
|
|
19062
|
+
};
|
|
19063
|
+
}[];
|
|
19064
|
+
physicalProperties?: {
|
|
19065
|
+
shippable: boolean;
|
|
19066
|
+
};
|
|
19067
|
+
image: string;
|
|
19068
|
+
};
|
|
18423
19069
|
}[];
|
|
18424
19070
|
billingInfo?: {
|
|
18425
19071
|
contactDetails?: {
|
|
@@ -19362,6 +20008,26 @@ declare function createCheckout(httpClient: HttpClient): (options?: CreateChecko
|
|
|
19362
20008
|
formattedAmount: string;
|
|
19363
20009
|
formattedConvertedAmount: string;
|
|
19364
20010
|
} | undefined;
|
|
20011
|
+
catalogOverrideFields?: {
|
|
20012
|
+
productName?: {
|
|
20013
|
+
original: string;
|
|
20014
|
+
} | undefined;
|
|
20015
|
+
descriptionLines: {
|
|
20016
|
+
plainText?: {
|
|
20017
|
+
original: string;
|
|
20018
|
+
} | undefined;
|
|
20019
|
+
colorInfo?: {
|
|
20020
|
+
original: string;
|
|
20021
|
+
} | undefined;
|
|
20022
|
+
name?: {
|
|
20023
|
+
original: string;
|
|
20024
|
+
} | undefined;
|
|
20025
|
+
}[];
|
|
20026
|
+
physicalProperties?: {
|
|
20027
|
+
shippable: boolean;
|
|
20028
|
+
} | undefined;
|
|
20029
|
+
image: string;
|
|
20030
|
+
} | undefined;
|
|
19365
20031
|
}[];
|
|
19366
20032
|
billingInfo?: {
|
|
19367
20033
|
contactDetails?: {
|
|
@@ -20044,6 +20710,26 @@ declare function updateCheckout(httpClient: HttpClient): (_id: string | null, ch
|
|
|
20044
20710
|
formattedAmount: string;
|
|
20045
20711
|
formattedConvertedAmount: string;
|
|
20046
20712
|
} | undefined;
|
|
20713
|
+
catalogOverrideFields?: {
|
|
20714
|
+
productName?: {
|
|
20715
|
+
original: string;
|
|
20716
|
+
} | undefined;
|
|
20717
|
+
descriptionLines: {
|
|
20718
|
+
plainText?: {
|
|
20719
|
+
original: string;
|
|
20720
|
+
} | undefined;
|
|
20721
|
+
colorInfo?: {
|
|
20722
|
+
original: string;
|
|
20723
|
+
} | undefined;
|
|
20724
|
+
name?: {
|
|
20725
|
+
original: string;
|
|
20726
|
+
} | undefined;
|
|
20727
|
+
}[];
|
|
20728
|
+
physicalProperties?: {
|
|
20729
|
+
shippable: boolean;
|
|
20730
|
+
} | undefined;
|
|
20731
|
+
image: string;
|
|
20732
|
+
} | undefined;
|
|
20047
20733
|
}[];
|
|
20048
20734
|
billingInfo?: {
|
|
20049
20735
|
contactDetails?: {
|
|
@@ -21158,6 +21844,12 @@ interface CheckoutCustomization {
|
|
|
21158
21844
|
* Default: `false`
|
|
21159
21845
|
*/
|
|
21160
21846
|
lockedCoupon?: boolean;
|
|
21847
|
+
/**
|
|
21848
|
+
* Whether to disable manual payment option for this checkout.
|
|
21849
|
+
*
|
|
21850
|
+
* Default: `false`
|
|
21851
|
+
*/
|
|
21852
|
+
disabledManualPayment?: boolean;
|
|
21161
21853
|
}
|
|
21162
21854
|
interface WebClientCustomization {
|
|
21163
21855
|
/**
|
|
@@ -21166,6 +21858,12 @@ interface WebClientCustomization {
|
|
|
21166
21858
|
* Default: `false`
|
|
21167
21859
|
*/
|
|
21168
21860
|
disabledContinueShoppingButton?: boolean;
|
|
21861
|
+
/**
|
|
21862
|
+
* Whether to disable policy agreement checkout in the checkout page
|
|
21863
|
+
*
|
|
21864
|
+
* Default: `false`
|
|
21865
|
+
*/
|
|
21866
|
+
disabledPolicyAgreementCheckbox?: boolean;
|
|
21169
21867
|
}
|
|
21170
21868
|
interface V1LineItem {
|
|
21171
21869
|
/**
|
|
@@ -21181,6 +21879,8 @@ interface V1LineItem {
|
|
|
21181
21879
|
* > **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
21880
|
*/
|
|
21183
21881
|
catalogReference?: CatalogReference$1;
|
|
21882
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
21883
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
21184
21884
|
}
|
|
21185
21885
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
21186
21886
|
interface CatalogReference$1 {
|
|
@@ -21912,6 +22612,8 @@ interface LineItem$2 {
|
|
|
21912
22612
|
* @readonly
|
|
21913
22613
|
*/
|
|
21914
22614
|
depositAmount?: MultiCurrencyPrice;
|
|
22615
|
+
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
22616
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
21915
22617
|
}
|
|
21916
22618
|
interface MultiCurrencyPrice {
|
|
21917
22619
|
/** Amount. */
|
|
@@ -22782,6 +23484,18 @@ interface CustomSettings {
|
|
|
22782
23484
|
* Default: `false`
|
|
22783
23485
|
*/
|
|
22784
23486
|
lockCouponCode?: boolean;
|
|
23487
|
+
/**
|
|
23488
|
+
* Whether to disable policy agreement checkout in the checkout page
|
|
23489
|
+
*
|
|
23490
|
+
* Default: `false`
|
|
23491
|
+
*/
|
|
23492
|
+
disabledPolicyAgreementCheckbox?: boolean;
|
|
23493
|
+
/**
|
|
23494
|
+
* Whether to disable manual payment option for this checkout.
|
|
23495
|
+
*
|
|
23496
|
+
* Default: `false`
|
|
23497
|
+
*/
|
|
23498
|
+
disabledManualPayment?: boolean;
|
|
22785
23499
|
}
|
|
22786
23500
|
interface CreateAndRedirectToCheckoutRequest {
|
|
22787
23501
|
/** ID of the checkout template to use to create a checkout. */
|
|
@@ -22911,9 +23625,11 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
|
|
|
22911
23625
|
customization?: {
|
|
22912
23626
|
webClient?: {
|
|
22913
23627
|
disabledContinueShoppingButton: boolean;
|
|
23628
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
22914
23629
|
};
|
|
22915
23630
|
lockedGiftCard: boolean;
|
|
22916
23631
|
lockedCoupon: boolean;
|
|
23632
|
+
disabledManualPayment: boolean;
|
|
22917
23633
|
};
|
|
22918
23634
|
lineItems: {
|
|
22919
23635
|
quantity: number;
|
|
@@ -22921,6 +23637,26 @@ interface CreateCheckoutTemplateResponseNonNullableFields {
|
|
|
22921
23637
|
catalogItemId: string;
|
|
22922
23638
|
appId: string;
|
|
22923
23639
|
};
|
|
23640
|
+
catalogOverrideFields?: {
|
|
23641
|
+
productName?: {
|
|
23642
|
+
original: string;
|
|
23643
|
+
};
|
|
23644
|
+
descriptionLines: {
|
|
23645
|
+
plainText?: {
|
|
23646
|
+
original: string;
|
|
23647
|
+
};
|
|
23648
|
+
colorInfo?: {
|
|
23649
|
+
original: string;
|
|
23650
|
+
};
|
|
23651
|
+
name?: {
|
|
23652
|
+
original: string;
|
|
23653
|
+
};
|
|
23654
|
+
}[];
|
|
23655
|
+
physicalProperties?: {
|
|
23656
|
+
shippable: boolean;
|
|
23657
|
+
};
|
|
23658
|
+
image: string;
|
|
23659
|
+
};
|
|
22924
23660
|
}[];
|
|
22925
23661
|
};
|
|
22926
23662
|
}
|
|
@@ -22930,9 +23666,11 @@ interface GetCheckoutTemplateResponseNonNullableFields {
|
|
|
22930
23666
|
customization?: {
|
|
22931
23667
|
webClient?: {
|
|
22932
23668
|
disabledContinueShoppingButton: boolean;
|
|
23669
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
22933
23670
|
};
|
|
22934
23671
|
lockedGiftCard: boolean;
|
|
22935
23672
|
lockedCoupon: boolean;
|
|
23673
|
+
disabledManualPayment: boolean;
|
|
22936
23674
|
};
|
|
22937
23675
|
lineItems: {
|
|
22938
23676
|
quantity: number;
|
|
@@ -22940,6 +23678,26 @@ interface GetCheckoutTemplateResponseNonNullableFields {
|
|
|
22940
23678
|
catalogItemId: string;
|
|
22941
23679
|
appId: string;
|
|
22942
23680
|
};
|
|
23681
|
+
catalogOverrideFields?: {
|
|
23682
|
+
productName?: {
|
|
23683
|
+
original: string;
|
|
23684
|
+
};
|
|
23685
|
+
descriptionLines: {
|
|
23686
|
+
plainText?: {
|
|
23687
|
+
original: string;
|
|
23688
|
+
};
|
|
23689
|
+
colorInfo?: {
|
|
23690
|
+
original: string;
|
|
23691
|
+
};
|
|
23692
|
+
name?: {
|
|
23693
|
+
original: string;
|
|
23694
|
+
};
|
|
23695
|
+
}[];
|
|
23696
|
+
physicalProperties?: {
|
|
23697
|
+
shippable: boolean;
|
|
23698
|
+
};
|
|
23699
|
+
image: string;
|
|
23700
|
+
};
|
|
22943
23701
|
}[];
|
|
22944
23702
|
};
|
|
22945
23703
|
}
|
|
@@ -22949,9 +23707,11 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
|
|
|
22949
23707
|
customization?: {
|
|
22950
23708
|
webClient?: {
|
|
22951
23709
|
disabledContinueShoppingButton: boolean;
|
|
23710
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
22952
23711
|
};
|
|
22953
23712
|
lockedGiftCard: boolean;
|
|
22954
23713
|
lockedCoupon: boolean;
|
|
23714
|
+
disabledManualPayment: boolean;
|
|
22955
23715
|
};
|
|
22956
23716
|
lineItems: {
|
|
22957
23717
|
quantity: number;
|
|
@@ -22959,6 +23719,26 @@ interface UpdateCheckoutTemplateResponseNonNullableFields {
|
|
|
22959
23719
|
catalogItemId: string;
|
|
22960
23720
|
appId: string;
|
|
22961
23721
|
};
|
|
23722
|
+
catalogOverrideFields?: {
|
|
23723
|
+
productName?: {
|
|
23724
|
+
original: string;
|
|
23725
|
+
};
|
|
23726
|
+
descriptionLines: {
|
|
23727
|
+
plainText?: {
|
|
23728
|
+
original: string;
|
|
23729
|
+
};
|
|
23730
|
+
colorInfo?: {
|
|
23731
|
+
original: string;
|
|
23732
|
+
};
|
|
23733
|
+
name?: {
|
|
23734
|
+
original: string;
|
|
23735
|
+
};
|
|
23736
|
+
}[];
|
|
23737
|
+
physicalProperties?: {
|
|
23738
|
+
shippable: boolean;
|
|
23739
|
+
};
|
|
23740
|
+
image: string;
|
|
23741
|
+
};
|
|
22962
23742
|
}[];
|
|
22963
23743
|
};
|
|
22964
23744
|
}
|
|
@@ -22968,9 +23748,11 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
|
|
|
22968
23748
|
customization?: {
|
|
22969
23749
|
webClient?: {
|
|
22970
23750
|
disabledContinueShoppingButton: boolean;
|
|
23751
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
22971
23752
|
};
|
|
22972
23753
|
lockedGiftCard: boolean;
|
|
22973
23754
|
lockedCoupon: boolean;
|
|
23755
|
+
disabledManualPayment: boolean;
|
|
22974
23756
|
};
|
|
22975
23757
|
lineItems: {
|
|
22976
23758
|
quantity: number;
|
|
@@ -22978,6 +23760,26 @@ interface QueryCheckoutTemplatesResponseNonNullableFields {
|
|
|
22978
23760
|
catalogItemId: string;
|
|
22979
23761
|
appId: string;
|
|
22980
23762
|
};
|
|
23763
|
+
catalogOverrideFields?: {
|
|
23764
|
+
productName?: {
|
|
23765
|
+
original: string;
|
|
23766
|
+
};
|
|
23767
|
+
descriptionLines: {
|
|
23768
|
+
plainText?: {
|
|
23769
|
+
original: string;
|
|
23770
|
+
};
|
|
23771
|
+
colorInfo?: {
|
|
23772
|
+
original: string;
|
|
23773
|
+
};
|
|
23774
|
+
name?: {
|
|
23775
|
+
original: string;
|
|
23776
|
+
};
|
|
23777
|
+
}[];
|
|
23778
|
+
physicalProperties?: {
|
|
23779
|
+
shippable: boolean;
|
|
23780
|
+
};
|
|
23781
|
+
image: string;
|
|
23782
|
+
};
|
|
22981
23783
|
}[];
|
|
22982
23784
|
}[];
|
|
22983
23785
|
}
|
|
@@ -23142,9 +23944,11 @@ declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTempla
|
|
|
23142
23944
|
customization?: {
|
|
23143
23945
|
webClient?: {
|
|
23144
23946
|
disabledContinueShoppingButton: boolean;
|
|
23947
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
23145
23948
|
} | undefined;
|
|
23146
23949
|
lockedGiftCard: boolean;
|
|
23147
23950
|
lockedCoupon: boolean;
|
|
23951
|
+
disabledManualPayment: boolean;
|
|
23148
23952
|
} | undefined;
|
|
23149
23953
|
lineItems: {
|
|
23150
23954
|
quantity: number;
|
|
@@ -23152,6 +23956,26 @@ declare function createCheckoutTemplate(httpClient: HttpClient): (checkoutTempla
|
|
|
23152
23956
|
catalogItemId: string;
|
|
23153
23957
|
appId: string;
|
|
23154
23958
|
} | undefined;
|
|
23959
|
+
catalogOverrideFields?: {
|
|
23960
|
+
productName?: {
|
|
23961
|
+
original: string;
|
|
23962
|
+
} | undefined;
|
|
23963
|
+
descriptionLines: {
|
|
23964
|
+
plainText?: {
|
|
23965
|
+
original: string;
|
|
23966
|
+
} | undefined;
|
|
23967
|
+
colorInfo?: {
|
|
23968
|
+
original: string;
|
|
23969
|
+
} | undefined;
|
|
23970
|
+
name?: {
|
|
23971
|
+
original: string;
|
|
23972
|
+
} | undefined;
|
|
23973
|
+
}[];
|
|
23974
|
+
physicalProperties?: {
|
|
23975
|
+
shippable: boolean;
|
|
23976
|
+
} | undefined;
|
|
23977
|
+
image: string;
|
|
23978
|
+
} | undefined;
|
|
23155
23979
|
}[];
|
|
23156
23980
|
}>;
|
|
23157
23981
|
declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
@@ -23159,9 +23983,11 @@ declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateI
|
|
|
23159
23983
|
customization?: {
|
|
23160
23984
|
webClient?: {
|
|
23161
23985
|
disabledContinueShoppingButton: boolean;
|
|
23986
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
23162
23987
|
} | undefined;
|
|
23163
23988
|
lockedGiftCard: boolean;
|
|
23164
23989
|
lockedCoupon: boolean;
|
|
23990
|
+
disabledManualPayment: boolean;
|
|
23165
23991
|
} | undefined;
|
|
23166
23992
|
lineItems: {
|
|
23167
23993
|
quantity: number;
|
|
@@ -23169,6 +23995,26 @@ declare function getCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateI
|
|
|
23169
23995
|
catalogItemId: string;
|
|
23170
23996
|
appId: string;
|
|
23171
23997
|
} | undefined;
|
|
23998
|
+
catalogOverrideFields?: {
|
|
23999
|
+
productName?: {
|
|
24000
|
+
original: string;
|
|
24001
|
+
} | undefined;
|
|
24002
|
+
descriptionLines: {
|
|
24003
|
+
plainText?: {
|
|
24004
|
+
original: string;
|
|
24005
|
+
} | undefined;
|
|
24006
|
+
colorInfo?: {
|
|
24007
|
+
original: string;
|
|
24008
|
+
} | undefined;
|
|
24009
|
+
name?: {
|
|
24010
|
+
original: string;
|
|
24011
|
+
} | undefined;
|
|
24012
|
+
}[];
|
|
24013
|
+
physicalProperties?: {
|
|
24014
|
+
shippable: boolean;
|
|
24015
|
+
} | undefined;
|
|
24016
|
+
image: string;
|
|
24017
|
+
} | undefined;
|
|
23172
24018
|
}[];
|
|
23173
24019
|
}>;
|
|
23174
24020
|
declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
@@ -23176,9 +24022,11 @@ declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string |
|
|
|
23176
24022
|
customization?: {
|
|
23177
24023
|
webClient?: {
|
|
23178
24024
|
disabledContinueShoppingButton: boolean;
|
|
24025
|
+
disabledPolicyAgreementCheckbox: boolean;
|
|
23179
24026
|
} | undefined;
|
|
23180
24027
|
lockedGiftCard: boolean;
|
|
23181
24028
|
lockedCoupon: boolean;
|
|
24029
|
+
disabledManualPayment: boolean;
|
|
23182
24030
|
} | undefined;
|
|
23183
24031
|
lineItems: {
|
|
23184
24032
|
quantity: number;
|
|
@@ -23186,6 +24034,26 @@ declare function updateCheckoutTemplate(httpClient: HttpClient): (_id: string |
|
|
|
23186
24034
|
catalogItemId: string;
|
|
23187
24035
|
appId: string;
|
|
23188
24036
|
} | undefined;
|
|
24037
|
+
catalogOverrideFields?: {
|
|
24038
|
+
productName?: {
|
|
24039
|
+
original: string;
|
|
24040
|
+
} | undefined;
|
|
24041
|
+
descriptionLines: {
|
|
24042
|
+
plainText?: {
|
|
24043
|
+
original: string;
|
|
24044
|
+
} | undefined;
|
|
24045
|
+
colorInfo?: {
|
|
24046
|
+
original: string;
|
|
24047
|
+
} | undefined;
|
|
24048
|
+
name?: {
|
|
24049
|
+
original: string;
|
|
24050
|
+
} | undefined;
|
|
24051
|
+
}[];
|
|
24052
|
+
physicalProperties?: {
|
|
24053
|
+
shippable: boolean;
|
|
24054
|
+
} | undefined;
|
|
24055
|
+
image: string;
|
|
24056
|
+
} | undefined;
|
|
23189
24057
|
}[];
|
|
23190
24058
|
}>;
|
|
23191
24059
|
declare function deleteCheckoutTemplate(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|