commerce-sdk-isomorphic 1.10.4 → 1.11.0
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/CHANGELOG.md +8 -0
- package/README.md +31 -12
- package/lib/index.cjs.d.ts +1078 -36
- package/lib/index.cjs.js +1 -1
- package/lib/index.esm.d.ts +1078 -36
- package/lib/index.esm.js +1 -1
- package/package.json +1 -1
package/lib/index.esm.d.ts
CHANGED
|
@@ -501,6 +501,7 @@ type Basket = {
|
|
|
501
501
|
currency?: string;
|
|
502
502
|
customerInfo?: CustomerInfo;
|
|
503
503
|
giftCertificateItems?: Array<GiftCertificateItem>;
|
|
504
|
+
groupedTaxItems?: Array<GroupedTaxItem>;
|
|
504
505
|
inventoryReservationExpiry?: any;
|
|
505
506
|
lastModified?: any;
|
|
506
507
|
merchandizeTotalTax?: number;
|
|
@@ -518,6 +519,8 @@ type Basket = {
|
|
|
518
519
|
sourceCode?: string;
|
|
519
520
|
taxTotal?: number;
|
|
520
521
|
taxation?: string;
|
|
522
|
+
taxRoundedAtGroup?: boolean;
|
|
523
|
+
temporaryBasket?: boolean;
|
|
521
524
|
} & {
|
|
522
525
|
[key: string]: any;
|
|
523
526
|
};
|
|
@@ -550,6 +553,10 @@ type ProductListLink = {
|
|
|
550
553
|
} & {
|
|
551
554
|
[key: string]: any;
|
|
552
555
|
};
|
|
556
|
+
type GroupedTaxItem = {
|
|
557
|
+
taxRate?: number;
|
|
558
|
+
taxValue?: number;
|
|
559
|
+
};
|
|
553
560
|
type Order = {
|
|
554
561
|
adjustedMerchandizeTotalTax?: number;
|
|
555
562
|
adjustedShippingTotalTax?: number;
|
|
@@ -574,6 +581,7 @@ type Order = {
|
|
|
574
581
|
orderPriceAdjustments?: Array<PriceAdjustment>;
|
|
575
582
|
orderToken?: string;
|
|
576
583
|
orderTotal?: number;
|
|
584
|
+
orderViewCode?: string;
|
|
577
585
|
paymentInstruments?: Array<OrderPaymentInstrument>;
|
|
578
586
|
paymentStatus?: string;
|
|
579
587
|
productItems?: Array<ProductItem>;
|
|
@@ -651,6 +659,7 @@ type ShopperBasketsPathParameters = {
|
|
|
651
659
|
*/
|
|
652
660
|
type ShopperBasketsQueryParameters = {
|
|
653
661
|
taxMode?: string;
|
|
662
|
+
temporary?: boolean;
|
|
654
663
|
siteId?: string;
|
|
655
664
|
locale?: string;
|
|
656
665
|
overrideExisting?: boolean;
|
|
@@ -688,7 +697,7 @@ type ShopperBasketsParameters = ShopperBasketsPathParameters & BaseUriParameters
|
|
|
688
697
|
* ```
|
|
689
698
|
*
|
|
690
699
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
691
|
-
* API Version: 0.
|
|
700
|
+
* API Version: 2.0.0<br />
|
|
692
701
|
* Last Updated: <br />
|
|
693
702
|
* </span>
|
|
694
703
|
|
|
@@ -717,6 +726,7 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
717
726
|
* @param taxMode - Determines how taxes are calculated.
|
|
718
727
|
|
|
719
728
|
The default value is `internal` where the tax calculation is done automatically based on internal tax tables. Setting `taxMode` to `external` allows manual modification of the tax rates and values. External tax data is mandatory for product line items, option line items, shipping line items, coupon line items, and bonus discount line item. Gift certificate line items are optional and use zero tax rate by default, which can be overwritten. Price adjustments cannot be set because they are either calculated or inherited. Depending on the type, the tax rate is either obtained from the related line item or computed as a prorate of the basket.
|
|
729
|
+
* @param temporary - If true, set the basket as temporary.
|
|
720
730
|
* @param siteId -
|
|
721
731
|
* @param locale - A descriptor to provide locale context for a geographical region by both a language and/or country code. The locale pattern in the query param follows the ISO 639-1 for the language code (e.g. en, de, fr) and ISO 3166-1 for the country code (e.g. US, DE, AT). The param can be a combination of language code and country code or can just refer to the language code.
|
|
722
732
|
Below are some valid examples:
|
|
@@ -735,8 +745,11 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
735
745
|
parameters?: CompositeParameters<{
|
|
736
746
|
organizationId: string;
|
|
737
747
|
taxMode?: string;
|
|
748
|
+
temporary?: boolean;
|
|
738
749
|
siteId: string;
|
|
739
750
|
locale?: string;
|
|
751
|
+
} & {
|
|
752
|
+
[key in `c_${string}`]: any;
|
|
740
753
|
}, ConfigParameters>;
|
|
741
754
|
headers?: {
|
|
742
755
|
[key: string]: string;
|
|
@@ -756,6 +769,7 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
756
769
|
* @param taxMode - Determines how taxes are calculated.
|
|
757
770
|
|
|
758
771
|
The default value is `internal` where the tax calculation is done automatically based on internal tax tables. Setting `taxMode` to `external` allows manual modification of the tax rates and values. External tax data is mandatory for product line items, option line items, shipping line items, coupon line items, and bonus discount line item. Gift certificate line items are optional and use zero tax rate by default, which can be overwritten. Price adjustments cannot be set because they are either calculated or inherited. Depending on the type, the tax rate is either obtained from the related line item or computed as a prorate of the basket.
|
|
772
|
+
* @param temporary - If true, set the basket as temporary.
|
|
759
773
|
* @param siteId -
|
|
760
774
|
* @param locale - A descriptor to provide locale context for a geographical region by both a language and/or country code. The locale pattern in the query param follows the ISO 639-1 for the language code (e.g. en, de, fr) and ISO 3166-1 for the country code (e.g. US, DE, AT). The param can be a combination of language code and country code or can just refer to the language code.
|
|
761
775
|
Below are some valid examples:
|
|
@@ -774,8 +788,11 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
774
788
|
parameters?: CompositeParameters<{
|
|
775
789
|
organizationId: string;
|
|
776
790
|
taxMode?: string;
|
|
791
|
+
temporary?: boolean;
|
|
777
792
|
siteId: string;
|
|
778
793
|
locale?: string;
|
|
794
|
+
} & {
|
|
795
|
+
[key in `c_${string}`]: any;
|
|
779
796
|
}, ConfigParameters>;
|
|
780
797
|
headers?: {
|
|
781
798
|
[key: string]: string;
|
|
@@ -819,6 +836,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
819
836
|
overrideExisting?: boolean;
|
|
820
837
|
siteId: string;
|
|
821
838
|
locale?: string;
|
|
839
|
+
} & {
|
|
840
|
+
[key in `c_${string}`]: any;
|
|
822
841
|
}, ConfigParameters>;
|
|
823
842
|
headers?: {
|
|
824
843
|
[key: string]: string;
|
|
@@ -859,6 +878,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
859
878
|
overrideExisting?: boolean;
|
|
860
879
|
siteId: string;
|
|
861
880
|
locale?: string;
|
|
881
|
+
} & {
|
|
882
|
+
[key in `c_${string}`]: any;
|
|
862
883
|
}, ConfigParameters>;
|
|
863
884
|
headers?: {
|
|
864
885
|
[key: string]: string;
|
|
@@ -938,6 +959,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
938
959
|
productItemMergeMode?: string;
|
|
939
960
|
siteId: string;
|
|
940
961
|
locale?: string;
|
|
962
|
+
} & {
|
|
963
|
+
[key in `c_${string}`]: any;
|
|
941
964
|
}, ConfigParameters>;
|
|
942
965
|
headers?: {
|
|
943
966
|
[key: string]: string;
|
|
@@ -1015,6 +1038,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1015
1038
|
productItemMergeMode?: string;
|
|
1016
1039
|
siteId: string;
|
|
1017
1040
|
locale?: string;
|
|
1041
|
+
} & {
|
|
1042
|
+
[key in `c_${string}`]: any;
|
|
1018
1043
|
}, ConfigParameters>;
|
|
1019
1044
|
headers?: {
|
|
1020
1045
|
[key: string]: string;
|
|
@@ -1041,6 +1066,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1041
1066
|
organizationId: string;
|
|
1042
1067
|
basketId: string;
|
|
1043
1068
|
siteId: string;
|
|
1069
|
+
} & {
|
|
1070
|
+
[key in `c_${string}`]: any;
|
|
1044
1071
|
}, ConfigParameters>;
|
|
1045
1072
|
headers?: {
|
|
1046
1073
|
[key: string]: string;
|
|
@@ -1065,6 +1092,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1065
1092
|
organizationId: string;
|
|
1066
1093
|
basketId: string;
|
|
1067
1094
|
siteId: string;
|
|
1095
|
+
} & {
|
|
1096
|
+
[key in `c_${string}`]: any;
|
|
1068
1097
|
}, ConfigParameters>;
|
|
1069
1098
|
headers?: {
|
|
1070
1099
|
[key: string]: string;
|
|
@@ -1098,6 +1127,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1098
1127
|
basketId: string;
|
|
1099
1128
|
siteId: string;
|
|
1100
1129
|
locale?: string;
|
|
1130
|
+
} & {
|
|
1131
|
+
[key in `c_${string}`]: any;
|
|
1101
1132
|
}, ConfigParameters>;
|
|
1102
1133
|
headers?: {
|
|
1103
1134
|
[key: string]: string;
|
|
@@ -1129,6 +1160,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1129
1160
|
basketId: string;
|
|
1130
1161
|
siteId: string;
|
|
1131
1162
|
locale?: string;
|
|
1163
|
+
} & {
|
|
1164
|
+
[key in `c_${string}`]: any;
|
|
1132
1165
|
}, ConfigParameters>;
|
|
1133
1166
|
headers?: {
|
|
1134
1167
|
[key: string]: string;
|
|
@@ -1164,6 +1197,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1164
1197
|
basketId: string;
|
|
1165
1198
|
siteId: string;
|
|
1166
1199
|
locale?: string;
|
|
1200
|
+
} & {
|
|
1201
|
+
[key in `c_${string}`]: any;
|
|
1167
1202
|
}, ConfigParameters>;
|
|
1168
1203
|
headers?: {
|
|
1169
1204
|
[key: string]: string;
|
|
@@ -1198,6 +1233,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1198
1233
|
basketId: string;
|
|
1199
1234
|
siteId: string;
|
|
1200
1235
|
locale?: string;
|
|
1236
|
+
} & {
|
|
1237
|
+
[key in `c_${string}`]: any;
|
|
1201
1238
|
}, ConfigParameters>;
|
|
1202
1239
|
headers?: {
|
|
1203
1240
|
[key: string]: string;
|
|
@@ -1232,6 +1269,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1232
1269
|
basketId: string;
|
|
1233
1270
|
siteId: string;
|
|
1234
1271
|
locale?: string;
|
|
1272
|
+
} & {
|
|
1273
|
+
[key in `c_${string}`]: any;
|
|
1235
1274
|
}, ConfigParameters>;
|
|
1236
1275
|
headers?: {
|
|
1237
1276
|
[key: string]: string;
|
|
@@ -1263,6 +1302,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1263
1302
|
basketId: string;
|
|
1264
1303
|
siteId: string;
|
|
1265
1304
|
locale?: string;
|
|
1305
|
+
} & {
|
|
1306
|
+
[key in `c_${string}`]: any;
|
|
1266
1307
|
}, ConfigParameters>;
|
|
1267
1308
|
headers?: {
|
|
1268
1309
|
[key: string]: string;
|
|
@@ -1303,6 +1344,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1303
1344
|
removeExternalTax?: boolean;
|
|
1304
1345
|
siteId: string;
|
|
1305
1346
|
locale?: string;
|
|
1347
|
+
} & {
|
|
1348
|
+
[key in `c_${string}`]: any;
|
|
1306
1349
|
}, ConfigParameters>;
|
|
1307
1350
|
headers?: {
|
|
1308
1351
|
[key: string]: string;
|
|
@@ -1342,6 +1385,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1342
1385
|
removeExternalTax?: boolean;
|
|
1343
1386
|
siteId: string;
|
|
1344
1387
|
locale?: string;
|
|
1388
|
+
} & {
|
|
1389
|
+
[key in `c_${string}`]: any;
|
|
1345
1390
|
}, ConfigParameters>;
|
|
1346
1391
|
headers?: {
|
|
1347
1392
|
[key: string]: string;
|
|
@@ -1377,6 +1422,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1377
1422
|
basketId: string;
|
|
1378
1423
|
siteId: string;
|
|
1379
1424
|
locale?: string;
|
|
1425
|
+
} & {
|
|
1426
|
+
[key in `c_${string}`]: any;
|
|
1380
1427
|
}, ConfigParameters>;
|
|
1381
1428
|
headers?: {
|
|
1382
1429
|
[key: string]: string;
|
|
@@ -1410,6 +1457,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1410
1457
|
basketId: string;
|
|
1411
1458
|
siteId: string;
|
|
1412
1459
|
locale?: string;
|
|
1460
|
+
} & {
|
|
1461
|
+
[key in `c_${string}`]: any;
|
|
1413
1462
|
}, ConfigParameters>;
|
|
1414
1463
|
headers?: {
|
|
1415
1464
|
[key: string]: string;
|
|
@@ -1446,6 +1495,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1446
1495
|
couponItemId: string;
|
|
1447
1496
|
siteId: string;
|
|
1448
1497
|
locale?: string;
|
|
1498
|
+
} & {
|
|
1499
|
+
[key in `c_${string}`]: any;
|
|
1449
1500
|
}, ConfigParameters>;
|
|
1450
1501
|
headers?: {
|
|
1451
1502
|
[key: string]: string;
|
|
@@ -1479,6 +1530,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1479
1530
|
couponItemId: string;
|
|
1480
1531
|
siteId: string;
|
|
1481
1532
|
locale?: string;
|
|
1533
|
+
} & {
|
|
1534
|
+
[key in `c_${string}`]: any;
|
|
1482
1535
|
}, ConfigParameters>;
|
|
1483
1536
|
headers?: {
|
|
1484
1537
|
[key: string]: string;
|
|
@@ -1513,6 +1566,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1513
1566
|
basketId: string;
|
|
1514
1567
|
siteId: string;
|
|
1515
1568
|
locale?: string;
|
|
1569
|
+
} & {
|
|
1570
|
+
[key in `c_${string}`]: any;
|
|
1516
1571
|
}, ConfigParameters>;
|
|
1517
1572
|
headers?: {
|
|
1518
1573
|
[key: string]: string;
|
|
@@ -1546,6 +1601,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1546
1601
|
basketId: string;
|
|
1547
1602
|
siteId: string;
|
|
1548
1603
|
locale?: string;
|
|
1604
|
+
} & {
|
|
1605
|
+
[key in `c_${string}`]: any;
|
|
1549
1606
|
}, ConfigParameters>;
|
|
1550
1607
|
headers?: {
|
|
1551
1608
|
[key: string]: string;
|
|
@@ -1581,6 +1638,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1581
1638
|
basketId: string;
|
|
1582
1639
|
siteId: string;
|
|
1583
1640
|
locale?: string;
|
|
1641
|
+
} & {
|
|
1642
|
+
[key in `c_${string}`]: any;
|
|
1584
1643
|
}, ConfigParameters>;
|
|
1585
1644
|
headers?: {
|
|
1586
1645
|
[key: string]: string;
|
|
@@ -1614,6 +1673,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1614
1673
|
basketId: string;
|
|
1615
1674
|
siteId: string;
|
|
1616
1675
|
locale?: string;
|
|
1676
|
+
} & {
|
|
1677
|
+
[key in `c_${string}`]: any;
|
|
1617
1678
|
}, ConfigParameters>;
|
|
1618
1679
|
headers?: {
|
|
1619
1680
|
[key: string]: string;
|
|
@@ -1650,6 +1711,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1650
1711
|
giftCertificateItemId: string;
|
|
1651
1712
|
siteId: string;
|
|
1652
1713
|
locale?: string;
|
|
1714
|
+
} & {
|
|
1715
|
+
[key in `c_${string}`]: any;
|
|
1653
1716
|
}, ConfigParameters>;
|
|
1654
1717
|
headers?: {
|
|
1655
1718
|
[key: string]: string;
|
|
@@ -1683,6 +1746,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1683
1746
|
giftCertificateItemId: string;
|
|
1684
1747
|
siteId: string;
|
|
1685
1748
|
locale?: string;
|
|
1749
|
+
} & {
|
|
1750
|
+
[key in `c_${string}`]: any;
|
|
1686
1751
|
}, ConfigParameters>;
|
|
1687
1752
|
headers?: {
|
|
1688
1753
|
[key: string]: string;
|
|
@@ -1719,6 +1784,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1719
1784
|
giftCertificateItemId: string;
|
|
1720
1785
|
siteId: string;
|
|
1721
1786
|
locale?: string;
|
|
1787
|
+
} & {
|
|
1788
|
+
[key in `c_${string}`]: any;
|
|
1722
1789
|
}, ConfigParameters>;
|
|
1723
1790
|
headers?: {
|
|
1724
1791
|
[key: string]: string;
|
|
@@ -1754,6 +1821,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1754
1821
|
giftCertificateItemId: string;
|
|
1755
1822
|
siteId: string;
|
|
1756
1823
|
locale?: string;
|
|
1824
|
+
} & {
|
|
1825
|
+
[key in `c_${string}`]: any;
|
|
1757
1826
|
}, ConfigParameters>;
|
|
1758
1827
|
headers?: {
|
|
1759
1828
|
[key: string]: string;
|
|
@@ -1814,6 +1883,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1814
1883
|
basketId: string;
|
|
1815
1884
|
siteId: string;
|
|
1816
1885
|
locale?: string;
|
|
1886
|
+
} & {
|
|
1887
|
+
[key in `c_${string}`]: any;
|
|
1817
1888
|
}, ConfigParameters>;
|
|
1818
1889
|
headers?: {
|
|
1819
1890
|
[key: string]: string;
|
|
@@ -1872,6 +1943,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1872
1943
|
basketId: string;
|
|
1873
1944
|
siteId: string;
|
|
1874
1945
|
locale?: string;
|
|
1946
|
+
} & {
|
|
1947
|
+
[key in `c_${string}`]: any;
|
|
1875
1948
|
}, ConfigParameters>;
|
|
1876
1949
|
headers?: {
|
|
1877
1950
|
[key: string]: string;
|
|
@@ -1908,6 +1981,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1908
1981
|
itemId: string;
|
|
1909
1982
|
siteId: string;
|
|
1910
1983
|
locale?: string;
|
|
1984
|
+
} & {
|
|
1985
|
+
[key in `c_${string}`]: any;
|
|
1911
1986
|
}, ConfigParameters>;
|
|
1912
1987
|
headers?: {
|
|
1913
1988
|
[key: string]: string;
|
|
@@ -1941,6 +2016,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
1941
2016
|
itemId: string;
|
|
1942
2017
|
siteId: string;
|
|
1943
2018
|
locale?: string;
|
|
2019
|
+
} & {
|
|
2020
|
+
[key in `c_${string}`]: any;
|
|
1944
2021
|
}, ConfigParameters>;
|
|
1945
2022
|
headers?: {
|
|
1946
2023
|
[key: string]: string;
|
|
@@ -2006,6 +2083,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2006
2083
|
removeExternalTax?: boolean;
|
|
2007
2084
|
siteId: string;
|
|
2008
2085
|
locale?: string;
|
|
2086
|
+
} & {
|
|
2087
|
+
[key in `c_${string}`]: any;
|
|
2009
2088
|
}, ConfigParameters>;
|
|
2010
2089
|
headers?: {
|
|
2011
2090
|
[key: string]: string;
|
|
@@ -2070,6 +2149,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2070
2149
|
removeExternalTax?: boolean;
|
|
2071
2150
|
siteId: string;
|
|
2072
2151
|
locale?: string;
|
|
2152
|
+
} & {
|
|
2153
|
+
[key in `c_${string}`]: any;
|
|
2073
2154
|
}, ConfigParameters>;
|
|
2074
2155
|
headers?: {
|
|
2075
2156
|
[key: string]: string;
|
|
@@ -2100,6 +2181,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2100
2181
|
basketId: string;
|
|
2101
2182
|
itemId: string;
|
|
2102
2183
|
siteId: string;
|
|
2184
|
+
} & {
|
|
2185
|
+
[key in `c_${string}`]: any;
|
|
2103
2186
|
}, ConfigParameters>;
|
|
2104
2187
|
headers?: {
|
|
2105
2188
|
[key: string]: string;
|
|
@@ -2128,6 +2211,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2128
2211
|
basketId: string;
|
|
2129
2212
|
itemId: string;
|
|
2130
2213
|
siteId: string;
|
|
2214
|
+
} & {
|
|
2215
|
+
[key in `c_${string}`]: any;
|
|
2131
2216
|
}, ConfigParameters>;
|
|
2132
2217
|
headers?: {
|
|
2133
2218
|
[key: string]: string;
|
|
@@ -2163,6 +2248,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2163
2248
|
basketId: string;
|
|
2164
2249
|
siteId: string;
|
|
2165
2250
|
locale?: string;
|
|
2251
|
+
} & {
|
|
2252
|
+
[key in `c_${string}`]: any;
|
|
2166
2253
|
}, ConfigParameters>;
|
|
2167
2254
|
headers?: {
|
|
2168
2255
|
[key: string]: string;
|
|
@@ -2196,6 +2283,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2196
2283
|
basketId: string;
|
|
2197
2284
|
siteId: string;
|
|
2198
2285
|
locale?: string;
|
|
2286
|
+
} & {
|
|
2287
|
+
[key in `c_${string}`]: any;
|
|
2199
2288
|
}, ConfigParameters>;
|
|
2200
2289
|
headers?: {
|
|
2201
2290
|
[key: string]: string;
|
|
@@ -2232,6 +2321,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2232
2321
|
paymentInstrumentId: string;
|
|
2233
2322
|
siteId: string;
|
|
2234
2323
|
locale?: string;
|
|
2324
|
+
} & {
|
|
2325
|
+
[key in `c_${string}`]: any;
|
|
2235
2326
|
}, ConfigParameters>;
|
|
2236
2327
|
headers?: {
|
|
2237
2328
|
[key: string]: string;
|
|
@@ -2265,6 +2356,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2265
2356
|
paymentInstrumentId: string;
|
|
2266
2357
|
siteId: string;
|
|
2267
2358
|
locale?: string;
|
|
2359
|
+
} & {
|
|
2360
|
+
[key in `c_${string}`]: any;
|
|
2268
2361
|
}, ConfigParameters>;
|
|
2269
2362
|
headers?: {
|
|
2270
2363
|
[key: string]: string;
|
|
@@ -2305,6 +2398,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2305
2398
|
removeExternalTax?: boolean;
|
|
2306
2399
|
siteId: string;
|
|
2307
2400
|
locale?: string;
|
|
2401
|
+
} & {
|
|
2402
|
+
[key in `c_${string}`]: any;
|
|
2308
2403
|
}, ConfigParameters>;
|
|
2309
2404
|
headers?: {
|
|
2310
2405
|
[key: string]: string;
|
|
@@ -2344,6 +2439,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2344
2439
|
removeExternalTax?: boolean;
|
|
2345
2440
|
siteId: string;
|
|
2346
2441
|
locale?: string;
|
|
2442
|
+
} & {
|
|
2443
|
+
[key in `c_${string}`]: any;
|
|
2347
2444
|
}, ConfigParameters>;
|
|
2348
2445
|
headers?: {
|
|
2349
2446
|
[key: string]: string;
|
|
@@ -2378,6 +2475,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2378
2475
|
basketId: string;
|
|
2379
2476
|
siteId: string;
|
|
2380
2477
|
locale?: string;
|
|
2478
|
+
} & {
|
|
2479
|
+
[key in `c_${string}`]: any;
|
|
2381
2480
|
}, ConfigParameters>;
|
|
2382
2481
|
headers?: {
|
|
2383
2482
|
[key: string]: string;
|
|
@@ -2409,6 +2508,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2409
2508
|
basketId: string;
|
|
2410
2509
|
siteId: string;
|
|
2411
2510
|
locale?: string;
|
|
2511
|
+
} & {
|
|
2512
|
+
[key in `c_${string}`]: any;
|
|
2412
2513
|
}, ConfigParameters>;
|
|
2413
2514
|
headers?: {
|
|
2414
2515
|
[key: string]: string;
|
|
@@ -2443,6 +2544,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2443
2544
|
basketId: string;
|
|
2444
2545
|
siteId: string;
|
|
2445
2546
|
locale?: string;
|
|
2547
|
+
} & {
|
|
2548
|
+
[key in `c_${string}`]: any;
|
|
2446
2549
|
}, ConfigParameters>;
|
|
2447
2550
|
headers?: {
|
|
2448
2551
|
[key: string]: string;
|
|
@@ -2476,6 +2579,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2476
2579
|
basketId: string;
|
|
2477
2580
|
siteId: string;
|
|
2478
2581
|
locale?: string;
|
|
2582
|
+
} & {
|
|
2583
|
+
[key in `c_${string}`]: any;
|
|
2479
2584
|
}, ConfigParameters>;
|
|
2480
2585
|
headers?: {
|
|
2481
2586
|
[key: string]: string;
|
|
@@ -2512,6 +2617,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2512
2617
|
priceAdjustmentId: string;
|
|
2513
2618
|
siteId: string;
|
|
2514
2619
|
locale?: string;
|
|
2620
|
+
} & {
|
|
2621
|
+
[key in `c_${string}`]: any;
|
|
2515
2622
|
}, ConfigParameters>;
|
|
2516
2623
|
headers?: {
|
|
2517
2624
|
[key: string]: string;
|
|
@@ -2545,6 +2652,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2545
2652
|
priceAdjustmentId: string;
|
|
2546
2653
|
siteId: string;
|
|
2547
2654
|
locale?: string;
|
|
2655
|
+
} & {
|
|
2656
|
+
[key in `c_${string}`]: any;
|
|
2548
2657
|
}, ConfigParameters>;
|
|
2549
2658
|
headers?: {
|
|
2550
2659
|
[key: string]: string;
|
|
@@ -2579,6 +2688,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2579
2688
|
basketId: string;
|
|
2580
2689
|
priceAdjustmentId: string;
|
|
2581
2690
|
siteId: string;
|
|
2691
|
+
} & {
|
|
2692
|
+
[key in `c_${string}`]: any;
|
|
2582
2693
|
}, ConfigParameters>;
|
|
2583
2694
|
headers?: {
|
|
2584
2695
|
[key: string]: string;
|
|
@@ -2612,6 +2723,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2612
2723
|
basketId: string;
|
|
2613
2724
|
priceAdjustmentId: string;
|
|
2614
2725
|
siteId: string;
|
|
2726
|
+
} & {
|
|
2727
|
+
[key in `c_${string}`]: any;
|
|
2615
2728
|
}, ConfigParameters>;
|
|
2616
2729
|
headers?: {
|
|
2617
2730
|
[key: string]: string;
|
|
@@ -2639,6 +2752,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2639
2752
|
organizationId: string;
|
|
2640
2753
|
basketId: string;
|
|
2641
2754
|
siteId: string;
|
|
2755
|
+
} & {
|
|
2756
|
+
[key in `c_${string}`]: any;
|
|
2642
2757
|
}, ConfigParameters>;
|
|
2643
2758
|
headers?: {
|
|
2644
2759
|
[key: string]: string;
|
|
@@ -2663,6 +2778,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2663
2778
|
organizationId: string;
|
|
2664
2779
|
basketId: string;
|
|
2665
2780
|
siteId: string;
|
|
2781
|
+
} & {
|
|
2782
|
+
[key in `c_${string}`]: any;
|
|
2666
2783
|
}, ConfigParameters>;
|
|
2667
2784
|
headers?: {
|
|
2668
2785
|
[key: string]: string;
|
|
@@ -2690,6 +2807,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2690
2807
|
organizationId: string;
|
|
2691
2808
|
basketId: string;
|
|
2692
2809
|
siteId: string;
|
|
2810
|
+
} & {
|
|
2811
|
+
[key in `c_${string}`]: any;
|
|
2693
2812
|
}, ConfigParameters>;
|
|
2694
2813
|
headers?: {
|
|
2695
2814
|
[key: string]: string;
|
|
@@ -2716,6 +2835,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2716
2835
|
organizationId: string;
|
|
2717
2836
|
basketId: string;
|
|
2718
2837
|
siteId: string;
|
|
2838
|
+
} & {
|
|
2839
|
+
[key in `c_${string}`]: any;
|
|
2719
2840
|
}, ConfigParameters>;
|
|
2720
2841
|
headers?: {
|
|
2721
2842
|
[key: string]: string;
|
|
@@ -2762,6 +2883,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2762
2883
|
basketId: string;
|
|
2763
2884
|
siteId: string;
|
|
2764
2885
|
locale?: string;
|
|
2886
|
+
} & {
|
|
2887
|
+
[key in `c_${string}`]: any;
|
|
2765
2888
|
}, ConfigParameters>;
|
|
2766
2889
|
headers?: {
|
|
2767
2890
|
[key: string]: string;
|
|
@@ -2806,6 +2929,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2806
2929
|
basketId: string;
|
|
2807
2930
|
siteId: string;
|
|
2808
2931
|
locale?: string;
|
|
2932
|
+
} & {
|
|
2933
|
+
[key in `c_${string}`]: any;
|
|
2809
2934
|
}, ConfigParameters>;
|
|
2810
2935
|
headers?: {
|
|
2811
2936
|
[key: string]: string;
|
|
@@ -2844,6 +2969,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2844
2969
|
shipmentId: string;
|
|
2845
2970
|
siteId: string;
|
|
2846
2971
|
locale?: string;
|
|
2972
|
+
} & {
|
|
2973
|
+
[key in `c_${string}`]: any;
|
|
2847
2974
|
}, ConfigParameters>;
|
|
2848
2975
|
headers?: {
|
|
2849
2976
|
[key: string]: string;
|
|
@@ -2879,6 +3006,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2879
3006
|
shipmentId: string;
|
|
2880
3007
|
siteId: string;
|
|
2881
3008
|
locale?: string;
|
|
3009
|
+
} & {
|
|
3010
|
+
[key in `c_${string}`]: any;
|
|
2882
3011
|
}, ConfigParameters>;
|
|
2883
3012
|
headers?: {
|
|
2884
3013
|
[key: string]: string;
|
|
@@ -2925,6 +3054,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2925
3054
|
shipmentId: string;
|
|
2926
3055
|
siteId: string;
|
|
2927
3056
|
locale?: string;
|
|
3057
|
+
} & {
|
|
3058
|
+
[key in `c_${string}`]: any;
|
|
2928
3059
|
}, ConfigParameters>;
|
|
2929
3060
|
headers?: {
|
|
2930
3061
|
[key: string]: string;
|
|
@@ -2970,6 +3101,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
2970
3101
|
shipmentId: string;
|
|
2971
3102
|
siteId: string;
|
|
2972
3103
|
locale?: string;
|
|
3104
|
+
} & {
|
|
3105
|
+
[key in `c_${string}`]: any;
|
|
2973
3106
|
}, ConfigParameters>;
|
|
2974
3107
|
headers?: {
|
|
2975
3108
|
[key: string]: string;
|
|
@@ -3013,6 +3146,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3013
3146
|
removeExternalTax?: boolean;
|
|
3014
3147
|
siteId: string;
|
|
3015
3148
|
locale?: string;
|
|
3149
|
+
} & {
|
|
3150
|
+
[key in `c_${string}`]: any;
|
|
3016
3151
|
}, ConfigParameters>;
|
|
3017
3152
|
headers?: {
|
|
3018
3153
|
[key: string]: string;
|
|
@@ -3054,6 +3189,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3054
3189
|
removeExternalTax?: boolean;
|
|
3055
3190
|
siteId: string;
|
|
3056
3191
|
locale?: string;
|
|
3192
|
+
} & {
|
|
3193
|
+
[key in `c_${string}`]: any;
|
|
3057
3194
|
}, ConfigParameters>;
|
|
3058
3195
|
headers?: {
|
|
3059
3196
|
[key: string]: string;
|
|
@@ -3091,6 +3228,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3091
3228
|
shipmentId: string;
|
|
3092
3229
|
siteId: string;
|
|
3093
3230
|
locale?: string;
|
|
3231
|
+
} & {
|
|
3232
|
+
[key in `c_${string}`]: any;
|
|
3094
3233
|
}, ConfigParameters>;
|
|
3095
3234
|
headers?: {
|
|
3096
3235
|
[key: string]: string;
|
|
@@ -3126,6 +3265,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3126
3265
|
shipmentId: string;
|
|
3127
3266
|
siteId: string;
|
|
3128
3267
|
locale?: string;
|
|
3268
|
+
} & {
|
|
3269
|
+
[key in `c_${string}`]: any;
|
|
3129
3270
|
}, ConfigParameters>;
|
|
3130
3271
|
headers?: {
|
|
3131
3272
|
[key: string]: string;
|
|
@@ -3162,6 +3303,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3162
3303
|
shipmentId: string;
|
|
3163
3304
|
siteId: string;
|
|
3164
3305
|
locale?: string;
|
|
3306
|
+
} & {
|
|
3307
|
+
[key in `c_${string}`]: any;
|
|
3165
3308
|
}, ConfigParameters>;
|
|
3166
3309
|
headers?: {
|
|
3167
3310
|
[key: string]: string;
|
|
@@ -3195,6 +3338,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3195
3338
|
shipmentId: string;
|
|
3196
3339
|
siteId: string;
|
|
3197
3340
|
locale?: string;
|
|
3341
|
+
} & {
|
|
3342
|
+
[key in `c_${string}`]: any;
|
|
3198
3343
|
}, ConfigParameters>;
|
|
3199
3344
|
headers?: {
|
|
3200
3345
|
[key: string]: string;
|
|
@@ -3230,6 +3375,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3230
3375
|
exchange?: boolean;
|
|
3231
3376
|
siteId: string;
|
|
3232
3377
|
locale?: string;
|
|
3378
|
+
} & {
|
|
3379
|
+
[key in `c_${string}`]: any;
|
|
3233
3380
|
}, ConfigParameters>;
|
|
3234
3381
|
headers?: {
|
|
3235
3382
|
[key: string]: string;
|
|
@@ -3263,6 +3410,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3263
3410
|
exchange?: boolean;
|
|
3264
3411
|
siteId: string;
|
|
3265
3412
|
locale?: string;
|
|
3413
|
+
} & {
|
|
3414
|
+
[key in `c_${string}`]: any;
|
|
3266
3415
|
}, ConfigParameters>;
|
|
3267
3416
|
headers?: {
|
|
3268
3417
|
[key: string]: string;
|
|
@@ -3289,6 +3438,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3289
3438
|
organizationId: string;
|
|
3290
3439
|
basketId: string;
|
|
3291
3440
|
siteId: string;
|
|
3441
|
+
} & {
|
|
3442
|
+
[key in `c_${string}`]: any;
|
|
3292
3443
|
}, ConfigParameters>;
|
|
3293
3444
|
headers?: {
|
|
3294
3445
|
[key: string]: string;
|
|
@@ -3313,6 +3464,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3313
3464
|
organizationId: string;
|
|
3314
3465
|
basketId: string;
|
|
3315
3466
|
siteId: string;
|
|
3467
|
+
} & {
|
|
3468
|
+
[key in `c_${string}`]: any;
|
|
3316
3469
|
}, ConfigParameters>;
|
|
3317
3470
|
headers?: {
|
|
3318
3471
|
[key: string]: string;
|
|
@@ -3340,6 +3493,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3340
3493
|
organizationId: string;
|
|
3341
3494
|
basketId: string;
|
|
3342
3495
|
siteId: string;
|
|
3496
|
+
} & {
|
|
3497
|
+
[key in `c_${string}`]: any;
|
|
3343
3498
|
}, ConfigParameters>;
|
|
3344
3499
|
headers?: {
|
|
3345
3500
|
[key: string]: string;
|
|
@@ -3366,6 +3521,8 @@ declare class ShopperBaskets<ConfigParameters extends ShopperBasketsParameters &
|
|
|
3366
3521
|
organizationId: string;
|
|
3367
3522
|
basketId: string;
|
|
3368
3523
|
siteId: string;
|
|
3524
|
+
} & {
|
|
3525
|
+
[key in `c_${string}`]: any;
|
|
3369
3526
|
}, ConfigParameters>;
|
|
3370
3527
|
headers?: {
|
|
3371
3528
|
[key: string]: string;
|
|
@@ -4016,6 +4173,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
4016
4173
|
currency?: string;
|
|
4017
4174
|
customerInfo?: CustomerInfo;
|
|
4018
4175
|
giftCertificateItems?: Array<GiftCertificateItem>;
|
|
4176
|
+
groupedTaxItems?: Array<GroupedTaxItem>;
|
|
4019
4177
|
inventoryReservationExpiry?: any;
|
|
4020
4178
|
lastModified?: any;
|
|
4021
4179
|
merchandizeTotalTax?: number;
|
|
@@ -4033,9 +4191,15 @@ declare namespace ShopperBasketsTypes {
|
|
|
4033
4191
|
sourceCode?: string;
|
|
4034
4192
|
taxTotal?: number;
|
|
4035
4193
|
taxation?: string;
|
|
4194
|
+
taxRoundedAtGroup?: boolean;
|
|
4195
|
+
temporaryBasket?: boolean;
|
|
4036
4196
|
} & {
|
|
4037
4197
|
[key: string]: any;
|
|
4038
4198
|
};
|
|
4199
|
+
type OrderLookupRequest = {
|
|
4200
|
+
email: string;
|
|
4201
|
+
orderViewCode: string;
|
|
4202
|
+
};
|
|
4039
4203
|
type OrderPaymentInstrumentRequest = {
|
|
4040
4204
|
amount?: number;
|
|
4041
4205
|
bankRoutingNumber?: string;
|
|
@@ -4065,6 +4229,10 @@ declare namespace ShopperBasketsTypes {
|
|
|
4065
4229
|
} & {
|
|
4066
4230
|
[key: string]: any;
|
|
4067
4231
|
};
|
|
4232
|
+
type GroupedTaxItem = {
|
|
4233
|
+
taxRate?: number;
|
|
4234
|
+
taxValue?: number;
|
|
4235
|
+
};
|
|
4068
4236
|
type Order = {
|
|
4069
4237
|
adjustedMerchandizeTotalTax?: number;
|
|
4070
4238
|
adjustedShippingTotalTax?: number;
|
|
@@ -4089,6 +4257,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
4089
4257
|
orderPriceAdjustments?: Array<PriceAdjustment>;
|
|
4090
4258
|
orderToken?: string;
|
|
4091
4259
|
orderTotal?: number;
|
|
4260
|
+
orderViewCode?: string;
|
|
4092
4261
|
paymentInstruments?: Array<OrderPaymentInstrument>;
|
|
4093
4262
|
paymentStatus?: string;
|
|
4094
4263
|
productItems?: Array<ProductItem>;
|
|
@@ -4190,6 +4359,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
4190
4359
|
*/
|
|
4191
4360
|
type ShopperBasketsQueryParameters = {
|
|
4192
4361
|
taxMode?: string;
|
|
4362
|
+
temporary?: boolean;
|
|
4193
4363
|
siteId?: string;
|
|
4194
4364
|
locale?: string;
|
|
4195
4365
|
overrideExisting?: boolean;
|
|
@@ -4227,7 +4397,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
4227
4397
|
* ```
|
|
4228
4398
|
*
|
|
4229
4399
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
4230
|
-
* API Version: 0.
|
|
4400
|
+
* API Version: 2.0.0<br />
|
|
4231
4401
|
* Last Updated: <br />
|
|
4232
4402
|
* </span>
|
|
4233
4403
|
|
|
@@ -4256,6 +4426,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
4256
4426
|
* @param taxMode - Determines how taxes are calculated.
|
|
4257
4427
|
|
|
4258
4428
|
The default value is `internal` where the tax calculation is done automatically based on internal tax tables. Setting `taxMode` to `external` allows manual modification of the tax rates and values. External tax data is mandatory for product line items, option line items, shipping line items, coupon line items, and bonus discount line item. Gift certificate line items are optional and use zero tax rate by default, which can be overwritten. Price adjustments cannot be set because they are either calculated or inherited. Depending on the type, the tax rate is either obtained from the related line item or computed as a prorate of the basket.
|
|
4429
|
+
* @param temporary - If true, set the basket as temporary.
|
|
4259
4430
|
* @param siteId -
|
|
4260
4431
|
* @param locale - A descriptor to provide locale context for a geographical region by both a language and/or country code. The locale pattern in the query param follows the ISO 639-1 for the language code (e.g. en, de, fr) and ISO 3166-1 for the country code (e.g. US, DE, AT). The param can be a combination of language code and country code or can just refer to the language code.
|
|
4261
4432
|
Below are some valid examples:
|
|
@@ -4274,8 +4445,11 @@ declare namespace ShopperBasketsTypes {
|
|
|
4274
4445
|
parameters?: CompositeParameters<{
|
|
4275
4446
|
organizationId: string;
|
|
4276
4447
|
taxMode?: string;
|
|
4448
|
+
temporary?: boolean;
|
|
4277
4449
|
siteId: string;
|
|
4278
4450
|
locale?: string;
|
|
4451
|
+
} & {
|
|
4452
|
+
[key in `c_${string}`]: any;
|
|
4279
4453
|
}, ConfigParameters>;
|
|
4280
4454
|
headers?: {
|
|
4281
4455
|
[key: string]: string;
|
|
@@ -4295,6 +4469,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
4295
4469
|
* @param taxMode - Determines how taxes are calculated.
|
|
4296
4470
|
|
|
4297
4471
|
The default value is `internal` where the tax calculation is done automatically based on internal tax tables. Setting `taxMode` to `external` allows manual modification of the tax rates and values. External tax data is mandatory for product line items, option line items, shipping line items, coupon line items, and bonus discount line item. Gift certificate line items are optional and use zero tax rate by default, which can be overwritten. Price adjustments cannot be set because they are either calculated or inherited. Depending on the type, the tax rate is either obtained from the related line item or computed as a prorate of the basket.
|
|
4472
|
+
* @param temporary - If true, set the basket as temporary.
|
|
4298
4473
|
* @param siteId -
|
|
4299
4474
|
* @param locale - A descriptor to provide locale context for a geographical region by both a language and/or country code. The locale pattern in the query param follows the ISO 639-1 for the language code (e.g. en, de, fr) and ISO 3166-1 for the country code (e.g. US, DE, AT). The param can be a combination of language code and country code or can just refer to the language code.
|
|
4300
4475
|
Below are some valid examples:
|
|
@@ -4313,8 +4488,11 @@ declare namespace ShopperBasketsTypes {
|
|
|
4313
4488
|
parameters?: CompositeParameters<{
|
|
4314
4489
|
organizationId: string;
|
|
4315
4490
|
taxMode?: string;
|
|
4491
|
+
temporary?: boolean;
|
|
4316
4492
|
siteId: string;
|
|
4317
4493
|
locale?: string;
|
|
4494
|
+
} & {
|
|
4495
|
+
[key in `c_${string}`]: any;
|
|
4318
4496
|
}, ConfigParameters>;
|
|
4319
4497
|
headers?: {
|
|
4320
4498
|
[key: string]: string;
|
|
@@ -4358,6 +4536,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4358
4536
|
overrideExisting?: boolean;
|
|
4359
4537
|
siteId: string;
|
|
4360
4538
|
locale?: string;
|
|
4539
|
+
} & {
|
|
4540
|
+
[key in `c_${string}`]: any;
|
|
4361
4541
|
}, ConfigParameters>;
|
|
4362
4542
|
headers?: {
|
|
4363
4543
|
[key: string]: string;
|
|
@@ -4398,6 +4578,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4398
4578
|
overrideExisting?: boolean;
|
|
4399
4579
|
siteId: string;
|
|
4400
4580
|
locale?: string;
|
|
4581
|
+
} & {
|
|
4582
|
+
[key in `c_${string}`]: any;
|
|
4401
4583
|
}, ConfigParameters>;
|
|
4402
4584
|
headers?: {
|
|
4403
4585
|
[key: string]: string;
|
|
@@ -4477,6 +4659,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4477
4659
|
productItemMergeMode?: string;
|
|
4478
4660
|
siteId: string;
|
|
4479
4661
|
locale?: string;
|
|
4662
|
+
} & {
|
|
4663
|
+
[key in `c_${string}`]: any;
|
|
4480
4664
|
}, ConfigParameters>;
|
|
4481
4665
|
headers?: {
|
|
4482
4666
|
[key: string]: string;
|
|
@@ -4554,6 +4738,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4554
4738
|
productItemMergeMode?: string;
|
|
4555
4739
|
siteId: string;
|
|
4556
4740
|
locale?: string;
|
|
4741
|
+
} & {
|
|
4742
|
+
[key in `c_${string}`]: any;
|
|
4557
4743
|
}, ConfigParameters>;
|
|
4558
4744
|
headers?: {
|
|
4559
4745
|
[key: string]: string;
|
|
@@ -4580,6 +4766,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4580
4766
|
organizationId: string;
|
|
4581
4767
|
basketId: string;
|
|
4582
4768
|
siteId: string;
|
|
4769
|
+
} & {
|
|
4770
|
+
[key in `c_${string}`]: any;
|
|
4583
4771
|
}, ConfigParameters>;
|
|
4584
4772
|
headers?: {
|
|
4585
4773
|
[key: string]: string;
|
|
@@ -4604,6 +4792,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4604
4792
|
organizationId: string;
|
|
4605
4793
|
basketId: string;
|
|
4606
4794
|
siteId: string;
|
|
4795
|
+
} & {
|
|
4796
|
+
[key in `c_${string}`]: any;
|
|
4607
4797
|
}, ConfigParameters>;
|
|
4608
4798
|
headers?: {
|
|
4609
4799
|
[key: string]: string;
|
|
@@ -4637,6 +4827,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4637
4827
|
basketId: string;
|
|
4638
4828
|
siteId: string;
|
|
4639
4829
|
locale?: string;
|
|
4830
|
+
} & {
|
|
4831
|
+
[key in `c_${string}`]: any;
|
|
4640
4832
|
}, ConfigParameters>;
|
|
4641
4833
|
headers?: {
|
|
4642
4834
|
[key: string]: string;
|
|
@@ -4668,6 +4860,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4668
4860
|
basketId: string;
|
|
4669
4861
|
siteId: string;
|
|
4670
4862
|
locale?: string;
|
|
4863
|
+
} & {
|
|
4864
|
+
[key in `c_${string}`]: any;
|
|
4671
4865
|
}, ConfigParameters>;
|
|
4672
4866
|
headers?: {
|
|
4673
4867
|
[key: string]: string;
|
|
@@ -4703,6 +4897,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4703
4897
|
basketId: string;
|
|
4704
4898
|
siteId: string;
|
|
4705
4899
|
locale?: string;
|
|
4900
|
+
} & {
|
|
4901
|
+
[key in `c_${string}`]: any;
|
|
4706
4902
|
}, ConfigParameters>;
|
|
4707
4903
|
headers?: {
|
|
4708
4904
|
[key: string]: string;
|
|
@@ -4737,6 +4933,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4737
4933
|
basketId: string;
|
|
4738
4934
|
siteId: string;
|
|
4739
4935
|
locale?: string;
|
|
4936
|
+
} & {
|
|
4937
|
+
[key in `c_${string}`]: any;
|
|
4740
4938
|
}, ConfigParameters>;
|
|
4741
4939
|
headers?: {
|
|
4742
4940
|
[key: string]: string;
|
|
@@ -4771,6 +4969,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4771
4969
|
basketId: string;
|
|
4772
4970
|
siteId: string;
|
|
4773
4971
|
locale?: string;
|
|
4972
|
+
} & {
|
|
4973
|
+
[key in `c_${string}`]: any;
|
|
4774
4974
|
}, ConfigParameters>;
|
|
4775
4975
|
headers?: {
|
|
4776
4976
|
[key: string]: string;
|
|
@@ -4802,6 +5002,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4802
5002
|
basketId: string;
|
|
4803
5003
|
siteId: string;
|
|
4804
5004
|
locale?: string;
|
|
5005
|
+
} & {
|
|
5006
|
+
[key in `c_${string}`]: any;
|
|
4805
5007
|
}, ConfigParameters>;
|
|
4806
5008
|
headers?: {
|
|
4807
5009
|
[key: string]: string;
|
|
@@ -4842,6 +5044,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4842
5044
|
removeExternalTax?: boolean;
|
|
4843
5045
|
siteId: string;
|
|
4844
5046
|
locale?: string;
|
|
5047
|
+
} & {
|
|
5048
|
+
[key in `c_${string}`]: any;
|
|
4845
5049
|
}, ConfigParameters>;
|
|
4846
5050
|
headers?: {
|
|
4847
5051
|
[key: string]: string;
|
|
@@ -4881,6 +5085,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4881
5085
|
removeExternalTax?: boolean;
|
|
4882
5086
|
siteId: string;
|
|
4883
5087
|
locale?: string;
|
|
5088
|
+
} & {
|
|
5089
|
+
[key in `c_${string}`]: any;
|
|
4884
5090
|
}, ConfigParameters>;
|
|
4885
5091
|
headers?: {
|
|
4886
5092
|
[key: string]: string;
|
|
@@ -4916,6 +5122,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4916
5122
|
basketId: string;
|
|
4917
5123
|
siteId: string;
|
|
4918
5124
|
locale?: string;
|
|
5125
|
+
} & {
|
|
5126
|
+
[key in `c_${string}`]: any;
|
|
4919
5127
|
}, ConfigParameters>;
|
|
4920
5128
|
headers?: {
|
|
4921
5129
|
[key: string]: string;
|
|
@@ -4949,6 +5157,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4949
5157
|
basketId: string;
|
|
4950
5158
|
siteId: string;
|
|
4951
5159
|
locale?: string;
|
|
5160
|
+
} & {
|
|
5161
|
+
[key in `c_${string}`]: any;
|
|
4952
5162
|
}, ConfigParameters>;
|
|
4953
5163
|
headers?: {
|
|
4954
5164
|
[key: string]: string;
|
|
@@ -4985,6 +5195,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
4985
5195
|
couponItemId: string;
|
|
4986
5196
|
siteId: string;
|
|
4987
5197
|
locale?: string;
|
|
5198
|
+
} & {
|
|
5199
|
+
[key in `c_${string}`]: any;
|
|
4988
5200
|
}, ConfigParameters>;
|
|
4989
5201
|
headers?: {
|
|
4990
5202
|
[key: string]: string;
|
|
@@ -5018,6 +5230,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5018
5230
|
couponItemId: string;
|
|
5019
5231
|
siteId: string;
|
|
5020
5232
|
locale?: string;
|
|
5233
|
+
} & {
|
|
5234
|
+
[key in `c_${string}`]: any;
|
|
5021
5235
|
}, ConfigParameters>;
|
|
5022
5236
|
headers?: {
|
|
5023
5237
|
[key: string]: string;
|
|
@@ -5052,6 +5266,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5052
5266
|
basketId: string;
|
|
5053
5267
|
siteId: string;
|
|
5054
5268
|
locale?: string;
|
|
5269
|
+
} & {
|
|
5270
|
+
[key in `c_${string}`]: any;
|
|
5055
5271
|
}, ConfigParameters>;
|
|
5056
5272
|
headers?: {
|
|
5057
5273
|
[key: string]: string;
|
|
@@ -5085,6 +5301,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5085
5301
|
basketId: string;
|
|
5086
5302
|
siteId: string;
|
|
5087
5303
|
locale?: string;
|
|
5304
|
+
} & {
|
|
5305
|
+
[key in `c_${string}`]: any;
|
|
5088
5306
|
}, ConfigParameters>;
|
|
5089
5307
|
headers?: {
|
|
5090
5308
|
[key: string]: string;
|
|
@@ -5120,6 +5338,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5120
5338
|
basketId: string;
|
|
5121
5339
|
siteId: string;
|
|
5122
5340
|
locale?: string;
|
|
5341
|
+
} & {
|
|
5342
|
+
[key in `c_${string}`]: any;
|
|
5123
5343
|
}, ConfigParameters>;
|
|
5124
5344
|
headers?: {
|
|
5125
5345
|
[key: string]: string;
|
|
@@ -5153,6 +5373,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5153
5373
|
basketId: string;
|
|
5154
5374
|
siteId: string;
|
|
5155
5375
|
locale?: string;
|
|
5376
|
+
} & {
|
|
5377
|
+
[key in `c_${string}`]: any;
|
|
5156
5378
|
}, ConfigParameters>;
|
|
5157
5379
|
headers?: {
|
|
5158
5380
|
[key: string]: string;
|
|
@@ -5189,6 +5411,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5189
5411
|
giftCertificateItemId: string;
|
|
5190
5412
|
siteId: string;
|
|
5191
5413
|
locale?: string;
|
|
5414
|
+
} & {
|
|
5415
|
+
[key in `c_${string}`]: any;
|
|
5192
5416
|
}, ConfigParameters>;
|
|
5193
5417
|
headers?: {
|
|
5194
5418
|
[key: string]: string;
|
|
@@ -5222,6 +5446,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5222
5446
|
giftCertificateItemId: string;
|
|
5223
5447
|
siteId: string;
|
|
5224
5448
|
locale?: string;
|
|
5449
|
+
} & {
|
|
5450
|
+
[key in `c_${string}`]: any;
|
|
5225
5451
|
}, ConfigParameters>;
|
|
5226
5452
|
headers?: {
|
|
5227
5453
|
[key: string]: string;
|
|
@@ -5258,6 +5484,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5258
5484
|
giftCertificateItemId: string;
|
|
5259
5485
|
siteId: string;
|
|
5260
5486
|
locale?: string;
|
|
5487
|
+
} & {
|
|
5488
|
+
[key in `c_${string}`]: any;
|
|
5261
5489
|
}, ConfigParameters>;
|
|
5262
5490
|
headers?: {
|
|
5263
5491
|
[key: string]: string;
|
|
@@ -5293,6 +5521,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5293
5521
|
giftCertificateItemId: string;
|
|
5294
5522
|
siteId: string;
|
|
5295
5523
|
locale?: string;
|
|
5524
|
+
} & {
|
|
5525
|
+
[key in `c_${string}`]: any;
|
|
5296
5526
|
}, ConfigParameters>;
|
|
5297
5527
|
headers?: {
|
|
5298
5528
|
[key: string]: string;
|
|
@@ -5353,6 +5583,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5353
5583
|
basketId: string;
|
|
5354
5584
|
siteId: string;
|
|
5355
5585
|
locale?: string;
|
|
5586
|
+
} & {
|
|
5587
|
+
[key in `c_${string}`]: any;
|
|
5356
5588
|
}, ConfigParameters>;
|
|
5357
5589
|
headers?: {
|
|
5358
5590
|
[key: string]: string;
|
|
@@ -5411,6 +5643,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5411
5643
|
basketId: string;
|
|
5412
5644
|
siteId: string;
|
|
5413
5645
|
locale?: string;
|
|
5646
|
+
} & {
|
|
5647
|
+
[key in `c_${string}`]: any;
|
|
5414
5648
|
}, ConfigParameters>;
|
|
5415
5649
|
headers?: {
|
|
5416
5650
|
[key: string]: string;
|
|
@@ -5447,6 +5681,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5447
5681
|
itemId: string;
|
|
5448
5682
|
siteId: string;
|
|
5449
5683
|
locale?: string;
|
|
5684
|
+
} & {
|
|
5685
|
+
[key in `c_${string}`]: any;
|
|
5450
5686
|
}, ConfigParameters>;
|
|
5451
5687
|
headers?: {
|
|
5452
5688
|
[key: string]: string;
|
|
@@ -5480,6 +5716,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5480
5716
|
itemId: string;
|
|
5481
5717
|
siteId: string;
|
|
5482
5718
|
locale?: string;
|
|
5719
|
+
} & {
|
|
5720
|
+
[key in `c_${string}`]: any;
|
|
5483
5721
|
}, ConfigParameters>;
|
|
5484
5722
|
headers?: {
|
|
5485
5723
|
[key: string]: string;
|
|
@@ -5545,6 +5783,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5545
5783
|
removeExternalTax?: boolean;
|
|
5546
5784
|
siteId: string;
|
|
5547
5785
|
locale?: string;
|
|
5786
|
+
} & {
|
|
5787
|
+
[key in `c_${string}`]: any;
|
|
5548
5788
|
}, ConfigParameters>;
|
|
5549
5789
|
headers?: {
|
|
5550
5790
|
[key: string]: string;
|
|
@@ -5609,6 +5849,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5609
5849
|
removeExternalTax?: boolean;
|
|
5610
5850
|
siteId: string;
|
|
5611
5851
|
locale?: string;
|
|
5852
|
+
} & {
|
|
5853
|
+
[key in `c_${string}`]: any;
|
|
5612
5854
|
}, ConfigParameters>;
|
|
5613
5855
|
headers?: {
|
|
5614
5856
|
[key: string]: string;
|
|
@@ -5639,6 +5881,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5639
5881
|
basketId: string;
|
|
5640
5882
|
itemId: string;
|
|
5641
5883
|
siteId: string;
|
|
5884
|
+
} & {
|
|
5885
|
+
[key in `c_${string}`]: any;
|
|
5642
5886
|
}, ConfigParameters>;
|
|
5643
5887
|
headers?: {
|
|
5644
5888
|
[key: string]: string;
|
|
@@ -5667,6 +5911,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5667
5911
|
basketId: string;
|
|
5668
5912
|
itemId: string;
|
|
5669
5913
|
siteId: string;
|
|
5914
|
+
} & {
|
|
5915
|
+
[key in `c_${string}`]: any;
|
|
5670
5916
|
}, ConfigParameters>;
|
|
5671
5917
|
headers?: {
|
|
5672
5918
|
[key: string]: string;
|
|
@@ -5702,6 +5948,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5702
5948
|
basketId: string;
|
|
5703
5949
|
siteId: string;
|
|
5704
5950
|
locale?: string;
|
|
5951
|
+
} & {
|
|
5952
|
+
[key in `c_${string}`]: any;
|
|
5705
5953
|
}, ConfigParameters>;
|
|
5706
5954
|
headers?: {
|
|
5707
5955
|
[key: string]: string;
|
|
@@ -5735,6 +5983,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5735
5983
|
basketId: string;
|
|
5736
5984
|
siteId: string;
|
|
5737
5985
|
locale?: string;
|
|
5986
|
+
} & {
|
|
5987
|
+
[key in `c_${string}`]: any;
|
|
5738
5988
|
}, ConfigParameters>;
|
|
5739
5989
|
headers?: {
|
|
5740
5990
|
[key: string]: string;
|
|
@@ -5771,6 +6021,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5771
6021
|
paymentInstrumentId: string;
|
|
5772
6022
|
siteId: string;
|
|
5773
6023
|
locale?: string;
|
|
6024
|
+
} & {
|
|
6025
|
+
[key in `c_${string}`]: any;
|
|
5774
6026
|
}, ConfigParameters>;
|
|
5775
6027
|
headers?: {
|
|
5776
6028
|
[key: string]: string;
|
|
@@ -5804,6 +6056,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5804
6056
|
paymentInstrumentId: string;
|
|
5805
6057
|
siteId: string;
|
|
5806
6058
|
locale?: string;
|
|
6059
|
+
} & {
|
|
6060
|
+
[key in `c_${string}`]: any;
|
|
5807
6061
|
}, ConfigParameters>;
|
|
5808
6062
|
headers?: {
|
|
5809
6063
|
[key: string]: string;
|
|
@@ -5844,6 +6098,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5844
6098
|
removeExternalTax?: boolean;
|
|
5845
6099
|
siteId: string;
|
|
5846
6100
|
locale?: string;
|
|
6101
|
+
} & {
|
|
6102
|
+
[key in `c_${string}`]: any;
|
|
5847
6103
|
}, ConfigParameters>;
|
|
5848
6104
|
headers?: {
|
|
5849
6105
|
[key: string]: string;
|
|
@@ -5883,6 +6139,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5883
6139
|
removeExternalTax?: boolean;
|
|
5884
6140
|
siteId: string;
|
|
5885
6141
|
locale?: string;
|
|
6142
|
+
} & {
|
|
6143
|
+
[key in `c_${string}`]: any;
|
|
5886
6144
|
}, ConfigParameters>;
|
|
5887
6145
|
headers?: {
|
|
5888
6146
|
[key: string]: string;
|
|
@@ -5917,6 +6175,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5917
6175
|
basketId: string;
|
|
5918
6176
|
siteId: string;
|
|
5919
6177
|
locale?: string;
|
|
6178
|
+
} & {
|
|
6179
|
+
[key in `c_${string}`]: any;
|
|
5920
6180
|
}, ConfigParameters>;
|
|
5921
6181
|
headers?: {
|
|
5922
6182
|
[key: string]: string;
|
|
@@ -5948,6 +6208,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5948
6208
|
basketId: string;
|
|
5949
6209
|
siteId: string;
|
|
5950
6210
|
locale?: string;
|
|
6211
|
+
} & {
|
|
6212
|
+
[key in `c_${string}`]: any;
|
|
5951
6213
|
}, ConfigParameters>;
|
|
5952
6214
|
headers?: {
|
|
5953
6215
|
[key: string]: string;
|
|
@@ -5982,6 +6244,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
5982
6244
|
basketId: string;
|
|
5983
6245
|
siteId: string;
|
|
5984
6246
|
locale?: string;
|
|
6247
|
+
} & {
|
|
6248
|
+
[key in `c_${string}`]: any;
|
|
5985
6249
|
}, ConfigParameters>;
|
|
5986
6250
|
headers?: {
|
|
5987
6251
|
[key: string]: string;
|
|
@@ -6015,6 +6279,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6015
6279
|
basketId: string;
|
|
6016
6280
|
siteId: string;
|
|
6017
6281
|
locale?: string;
|
|
6282
|
+
} & {
|
|
6283
|
+
[key in `c_${string}`]: any;
|
|
6018
6284
|
}, ConfigParameters>;
|
|
6019
6285
|
headers?: {
|
|
6020
6286
|
[key: string]: string;
|
|
@@ -6051,6 +6317,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6051
6317
|
priceAdjustmentId: string;
|
|
6052
6318
|
siteId: string;
|
|
6053
6319
|
locale?: string;
|
|
6320
|
+
} & {
|
|
6321
|
+
[key in `c_${string}`]: any;
|
|
6054
6322
|
}, ConfigParameters>;
|
|
6055
6323
|
headers?: {
|
|
6056
6324
|
[key: string]: string;
|
|
@@ -6084,6 +6352,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6084
6352
|
priceAdjustmentId: string;
|
|
6085
6353
|
siteId: string;
|
|
6086
6354
|
locale?: string;
|
|
6355
|
+
} & {
|
|
6356
|
+
[key in `c_${string}`]: any;
|
|
6087
6357
|
}, ConfigParameters>;
|
|
6088
6358
|
headers?: {
|
|
6089
6359
|
[key: string]: string;
|
|
@@ -6118,6 +6388,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6118
6388
|
basketId: string;
|
|
6119
6389
|
priceAdjustmentId: string;
|
|
6120
6390
|
siteId: string;
|
|
6391
|
+
} & {
|
|
6392
|
+
[key in `c_${string}`]: any;
|
|
6121
6393
|
}, ConfigParameters>;
|
|
6122
6394
|
headers?: {
|
|
6123
6395
|
[key: string]: string;
|
|
@@ -6151,6 +6423,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6151
6423
|
basketId: string;
|
|
6152
6424
|
priceAdjustmentId: string;
|
|
6153
6425
|
siteId: string;
|
|
6426
|
+
} & {
|
|
6427
|
+
[key in `c_${string}`]: any;
|
|
6154
6428
|
}, ConfigParameters>;
|
|
6155
6429
|
headers?: {
|
|
6156
6430
|
[key: string]: string;
|
|
@@ -6178,6 +6452,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6178
6452
|
organizationId: string;
|
|
6179
6453
|
basketId: string;
|
|
6180
6454
|
siteId: string;
|
|
6455
|
+
} & {
|
|
6456
|
+
[key in `c_${string}`]: any;
|
|
6181
6457
|
}, ConfigParameters>;
|
|
6182
6458
|
headers?: {
|
|
6183
6459
|
[key: string]: string;
|
|
@@ -6202,6 +6478,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6202
6478
|
organizationId: string;
|
|
6203
6479
|
basketId: string;
|
|
6204
6480
|
siteId: string;
|
|
6481
|
+
} & {
|
|
6482
|
+
[key in `c_${string}`]: any;
|
|
6205
6483
|
}, ConfigParameters>;
|
|
6206
6484
|
headers?: {
|
|
6207
6485
|
[key: string]: string;
|
|
@@ -6229,6 +6507,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6229
6507
|
organizationId: string;
|
|
6230
6508
|
basketId: string;
|
|
6231
6509
|
siteId: string;
|
|
6510
|
+
} & {
|
|
6511
|
+
[key in `c_${string}`]: any;
|
|
6232
6512
|
}, ConfigParameters>;
|
|
6233
6513
|
headers?: {
|
|
6234
6514
|
[key: string]: string;
|
|
@@ -6255,6 +6535,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6255
6535
|
organizationId: string;
|
|
6256
6536
|
basketId: string;
|
|
6257
6537
|
siteId: string;
|
|
6538
|
+
} & {
|
|
6539
|
+
[key in `c_${string}`]: any;
|
|
6258
6540
|
}, ConfigParameters>;
|
|
6259
6541
|
headers?: {
|
|
6260
6542
|
[key: string]: string;
|
|
@@ -6301,6 +6583,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6301
6583
|
basketId: string;
|
|
6302
6584
|
siteId: string;
|
|
6303
6585
|
locale?: string;
|
|
6586
|
+
} & {
|
|
6587
|
+
[key in `c_${string}`]: any;
|
|
6304
6588
|
}, ConfigParameters>;
|
|
6305
6589
|
headers?: {
|
|
6306
6590
|
[key: string]: string;
|
|
@@ -6345,6 +6629,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6345
6629
|
basketId: string;
|
|
6346
6630
|
siteId: string;
|
|
6347
6631
|
locale?: string;
|
|
6632
|
+
} & {
|
|
6633
|
+
[key in `c_${string}`]: any;
|
|
6348
6634
|
}, ConfigParameters>;
|
|
6349
6635
|
headers?: {
|
|
6350
6636
|
[key: string]: string;
|
|
@@ -6383,6 +6669,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6383
6669
|
shipmentId: string;
|
|
6384
6670
|
siteId: string;
|
|
6385
6671
|
locale?: string;
|
|
6672
|
+
} & {
|
|
6673
|
+
[key in `c_${string}`]: any;
|
|
6386
6674
|
}, ConfigParameters>;
|
|
6387
6675
|
headers?: {
|
|
6388
6676
|
[key: string]: string;
|
|
@@ -6418,6 +6706,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6418
6706
|
shipmentId: string;
|
|
6419
6707
|
siteId: string;
|
|
6420
6708
|
locale?: string;
|
|
6709
|
+
} & {
|
|
6710
|
+
[key in `c_${string}`]: any;
|
|
6421
6711
|
}, ConfigParameters>;
|
|
6422
6712
|
headers?: {
|
|
6423
6713
|
[key: string]: string;
|
|
@@ -6464,6 +6754,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6464
6754
|
shipmentId: string;
|
|
6465
6755
|
siteId: string;
|
|
6466
6756
|
locale?: string;
|
|
6757
|
+
} & {
|
|
6758
|
+
[key in `c_${string}`]: any;
|
|
6467
6759
|
}, ConfigParameters>;
|
|
6468
6760
|
headers?: {
|
|
6469
6761
|
[key: string]: string;
|
|
@@ -6509,6 +6801,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6509
6801
|
shipmentId: string;
|
|
6510
6802
|
siteId: string;
|
|
6511
6803
|
locale?: string;
|
|
6804
|
+
} & {
|
|
6805
|
+
[key in `c_${string}`]: any;
|
|
6512
6806
|
}, ConfigParameters>;
|
|
6513
6807
|
headers?: {
|
|
6514
6808
|
[key: string]: string;
|
|
@@ -6552,6 +6846,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6552
6846
|
removeExternalTax?: boolean;
|
|
6553
6847
|
siteId: string;
|
|
6554
6848
|
locale?: string;
|
|
6849
|
+
} & {
|
|
6850
|
+
[key in `c_${string}`]: any;
|
|
6555
6851
|
}, ConfigParameters>;
|
|
6556
6852
|
headers?: {
|
|
6557
6853
|
[key: string]: string;
|
|
@@ -6593,6 +6889,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6593
6889
|
removeExternalTax?: boolean;
|
|
6594
6890
|
siteId: string;
|
|
6595
6891
|
locale?: string;
|
|
6892
|
+
} & {
|
|
6893
|
+
[key in `c_${string}`]: any;
|
|
6596
6894
|
}, ConfigParameters>;
|
|
6597
6895
|
headers?: {
|
|
6598
6896
|
[key: string]: string;
|
|
@@ -6630,6 +6928,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6630
6928
|
shipmentId: string;
|
|
6631
6929
|
siteId: string;
|
|
6632
6930
|
locale?: string;
|
|
6931
|
+
} & {
|
|
6932
|
+
[key in `c_${string}`]: any;
|
|
6633
6933
|
}, ConfigParameters>;
|
|
6634
6934
|
headers?: {
|
|
6635
6935
|
[key: string]: string;
|
|
@@ -6665,6 +6965,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6665
6965
|
shipmentId: string;
|
|
6666
6966
|
siteId: string;
|
|
6667
6967
|
locale?: string;
|
|
6968
|
+
} & {
|
|
6969
|
+
[key in `c_${string}`]: any;
|
|
6668
6970
|
}, ConfigParameters>;
|
|
6669
6971
|
headers?: {
|
|
6670
6972
|
[key: string]: string;
|
|
@@ -6701,6 +7003,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6701
7003
|
shipmentId: string;
|
|
6702
7004
|
siteId: string;
|
|
6703
7005
|
locale?: string;
|
|
7006
|
+
} & {
|
|
7007
|
+
[key in `c_${string}`]: any;
|
|
6704
7008
|
}, ConfigParameters>;
|
|
6705
7009
|
headers?: {
|
|
6706
7010
|
[key: string]: string;
|
|
@@ -6734,6 +7038,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6734
7038
|
shipmentId: string;
|
|
6735
7039
|
siteId: string;
|
|
6736
7040
|
locale?: string;
|
|
7041
|
+
} & {
|
|
7042
|
+
[key in `c_${string}`]: any;
|
|
6737
7043
|
}, ConfigParameters>;
|
|
6738
7044
|
headers?: {
|
|
6739
7045
|
[key: string]: string;
|
|
@@ -6769,6 +7075,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6769
7075
|
exchange?: boolean;
|
|
6770
7076
|
siteId: string;
|
|
6771
7077
|
locale?: string;
|
|
7078
|
+
} & {
|
|
7079
|
+
[key in `c_${string}`]: any;
|
|
6772
7080
|
}, ConfigParameters>;
|
|
6773
7081
|
headers?: {
|
|
6774
7082
|
[key: string]: string;
|
|
@@ -6802,6 +7110,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6802
7110
|
exchange?: boolean;
|
|
6803
7111
|
siteId: string;
|
|
6804
7112
|
locale?: string;
|
|
7113
|
+
} & {
|
|
7114
|
+
[key in `c_${string}`]: any;
|
|
6805
7115
|
}, ConfigParameters>;
|
|
6806
7116
|
headers?: {
|
|
6807
7117
|
[key: string]: string;
|
|
@@ -6828,6 +7138,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6828
7138
|
organizationId: string;
|
|
6829
7139
|
basketId: string;
|
|
6830
7140
|
siteId: string;
|
|
7141
|
+
} & {
|
|
7142
|
+
[key in `c_${string}`]: any;
|
|
6831
7143
|
}, ConfigParameters>;
|
|
6832
7144
|
headers?: {
|
|
6833
7145
|
[key: string]: string;
|
|
@@ -6852,6 +7164,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6852
7164
|
organizationId: string;
|
|
6853
7165
|
basketId: string;
|
|
6854
7166
|
siteId: string;
|
|
7167
|
+
} & {
|
|
7168
|
+
[key in `c_${string}`]: any;
|
|
6855
7169
|
}, ConfigParameters>;
|
|
6856
7170
|
headers?: {
|
|
6857
7171
|
[key: string]: string;
|
|
@@ -6879,6 +7193,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6879
7193
|
organizationId: string;
|
|
6880
7194
|
basketId: string;
|
|
6881
7195
|
siteId: string;
|
|
7196
|
+
} & {
|
|
7197
|
+
[key in `c_${string}`]: any;
|
|
6882
7198
|
}, ConfigParameters>;
|
|
6883
7199
|
headers?: {
|
|
6884
7200
|
[key: string]: string;
|
|
@@ -6905,6 +7221,8 @@ declare namespace ShopperBasketsTypes {
|
|
|
6905
7221
|
organizationId: string;
|
|
6906
7222
|
basketId: string;
|
|
6907
7223
|
siteId: string;
|
|
7224
|
+
} & {
|
|
7225
|
+
[key in `c_${string}`]: any;
|
|
6908
7226
|
}, ConfigParameters>;
|
|
6909
7227
|
headers?: {
|
|
6910
7228
|
[key: string]: string;
|
|
@@ -6916,6 +7234,7 @@ declare namespace ShopperBasketsTypes {
|
|
|
6916
7234
|
type ShopperContext = {
|
|
6917
7235
|
effectiveDateTime?: any;
|
|
6918
7236
|
sourceCode?: any;
|
|
7237
|
+
customerGroupIds?: Array<string>;
|
|
6919
7238
|
customQualifiers?: {} & {
|
|
6920
7239
|
[key: string]: any;
|
|
6921
7240
|
};
|
|
@@ -7068,7 +7387,7 @@ type ShopperContextsParameters = ShopperContextsPathParameters & BaseUriParamete
|
|
|
7068
7387
|
* ```
|
|
7069
7388
|
*
|
|
7070
7389
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
7071
|
-
* API Version: 0.0.
|
|
7390
|
+
* API Version: 0.0.23<br />
|
|
7072
7391
|
* Last Updated: <br />
|
|
7073
7392
|
* </span>
|
|
7074
7393
|
|
|
@@ -7103,6 +7422,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7103
7422
|
organizationId: string;
|
|
7104
7423
|
usid: string;
|
|
7105
7424
|
siteId?: string;
|
|
7425
|
+
} & {
|
|
7426
|
+
[key in `c_${string}`]: any;
|
|
7106
7427
|
}, ConfigParameters>;
|
|
7107
7428
|
headers?: {
|
|
7108
7429
|
[key: string]: string;
|
|
@@ -7127,6 +7448,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7127
7448
|
organizationId: string;
|
|
7128
7449
|
usid: string;
|
|
7129
7450
|
siteId?: string;
|
|
7451
|
+
} & {
|
|
7452
|
+
[key in `c_${string}`]: any;
|
|
7130
7453
|
}, ConfigParameters>;
|
|
7131
7454
|
headers?: {
|
|
7132
7455
|
[key: string]: string;
|
|
@@ -7154,6 +7477,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7154
7477
|
organizationId: string;
|
|
7155
7478
|
usid: string;
|
|
7156
7479
|
siteId?: string;
|
|
7480
|
+
} & {
|
|
7481
|
+
[key in `c_${string}`]: any;
|
|
7157
7482
|
}, ConfigParameters>;
|
|
7158
7483
|
headers?: {
|
|
7159
7484
|
[key: string]: string;
|
|
@@ -7180,6 +7505,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7180
7505
|
organizationId: string;
|
|
7181
7506
|
usid: string;
|
|
7182
7507
|
siteId?: string;
|
|
7508
|
+
} & {
|
|
7509
|
+
[key in `c_${string}`]: any;
|
|
7183
7510
|
}, ConfigParameters>;
|
|
7184
7511
|
headers?: {
|
|
7185
7512
|
[key: string]: string;
|
|
@@ -7207,6 +7534,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7207
7534
|
organizationId: string;
|
|
7208
7535
|
usid: string;
|
|
7209
7536
|
siteId?: string;
|
|
7537
|
+
} & {
|
|
7538
|
+
[key in `c_${string}`]: any;
|
|
7210
7539
|
}, ConfigParameters>;
|
|
7211
7540
|
headers?: {
|
|
7212
7541
|
[key: string]: string;
|
|
@@ -7231,13 +7560,15 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7231
7560
|
organizationId: string;
|
|
7232
7561
|
usid: string;
|
|
7233
7562
|
siteId?: string;
|
|
7563
|
+
} & {
|
|
7564
|
+
[key in `c_${string}`]: any;
|
|
7234
7565
|
}, ConfigParameters>;
|
|
7235
7566
|
headers?: {
|
|
7236
7567
|
[key: string]: string;
|
|
7237
7568
|
};
|
|
7238
7569
|
}>, rawResponse?: T): Promise<T extends true ? Response : void>;
|
|
7239
7570
|
/**
|
|
7240
|
-
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a
|
|
7571
|
+
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a `custom qualifier/assignment qualifer` or an `effectiveDateTime` or a `sourceCode` or a `customerGroupIds` is already present in the existing shopper context, its value is replaced by the corresponding value from the patch body. If a `custom qualifers'` or a `assignment qualifiers'` value is set to `null`, it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to an empty string (\"\"), it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to `null`, it's ignored. If an `effectiveDateTime` or `sourceCode` or `custom/assignment qualifiiers'` value is new, it's added to the existing Shopper context. If `customerGroupIds` is set to empty array `[]` the existing value in shopper context is deleted.
|
|
7241
7572
|
*
|
|
7242
7573
|
* If you would like to get a raw Response object use the other updateShopperContext function.
|
|
7243
7574
|
*
|
|
@@ -7258,6 +7589,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7258
7589
|
organizationId: string;
|
|
7259
7590
|
usid: string;
|
|
7260
7591
|
siteId?: string;
|
|
7592
|
+
} & {
|
|
7593
|
+
[key in `c_${string}`]: any;
|
|
7261
7594
|
}, ConfigParameters>;
|
|
7262
7595
|
headers?: {
|
|
7263
7596
|
[key: string]: string;
|
|
@@ -7265,7 +7598,7 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7265
7598
|
body: ShopperContext;
|
|
7266
7599
|
}>): Promise<ShopperContext>;
|
|
7267
7600
|
/**
|
|
7268
|
-
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a
|
|
7601
|
+
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a `custom qualifier/assignment qualifer` or an `effectiveDateTime` or a `sourceCode` or a `customerGroupIds` is already present in the existing shopper context, its value is replaced by the corresponding value from the patch body. If a `custom qualifers'` or a `assignment qualifiers'` value is set to `null`, it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to an empty string (\"\"), it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to `null`, it's ignored. If an `effectiveDateTime` or `sourceCode` or `custom/assignment qualifiiers'` value is new, it's added to the existing Shopper context. If `customerGroupIds` is set to empty array `[]` the existing value in shopper context is deleted.
|
|
7269
7602
|
*
|
|
7270
7603
|
* @param options - An object containing the options for this method.
|
|
7271
7604
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -7284,6 +7617,8 @@ declare class ShopperContexts<ConfigParameters extends ShopperContextsParameters
|
|
|
7284
7617
|
organizationId: string;
|
|
7285
7618
|
usid: string;
|
|
7286
7619
|
siteId?: string;
|
|
7620
|
+
} & {
|
|
7621
|
+
[key in `c_${string}`]: any;
|
|
7287
7622
|
}, ConfigParameters>;
|
|
7288
7623
|
headers?: {
|
|
7289
7624
|
[key: string]: string;
|
|
@@ -7385,6 +7720,7 @@ declare namespace ShopperContextsTypes {
|
|
|
7385
7720
|
type ShopperContext = {
|
|
7386
7721
|
effectiveDateTime?: any;
|
|
7387
7722
|
sourceCode?: any;
|
|
7723
|
+
customerGroupIds?: Array<string>;
|
|
7388
7724
|
customQualifiers?: {} & {
|
|
7389
7725
|
[key: string]: any;
|
|
7390
7726
|
};
|
|
@@ -7692,7 +8028,7 @@ declare namespace ShopperContextsTypes {
|
|
|
7692
8028
|
* ```
|
|
7693
8029
|
*
|
|
7694
8030
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
7695
|
-
* API Version: 0.0.
|
|
8031
|
+
* API Version: 0.0.23<br />
|
|
7696
8032
|
* Last Updated: <br />
|
|
7697
8033
|
* </span>
|
|
7698
8034
|
|
|
@@ -7727,6 +8063,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7727
8063
|
organizationId: string;
|
|
7728
8064
|
usid: string;
|
|
7729
8065
|
siteId?: string;
|
|
8066
|
+
} & {
|
|
8067
|
+
[key in `c_${string}`]: any;
|
|
7730
8068
|
}, ConfigParameters>;
|
|
7731
8069
|
headers?: {
|
|
7732
8070
|
[key: string]: string;
|
|
@@ -7751,6 +8089,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7751
8089
|
organizationId: string;
|
|
7752
8090
|
usid: string;
|
|
7753
8091
|
siteId?: string;
|
|
8092
|
+
} & {
|
|
8093
|
+
[key in `c_${string}`]: any;
|
|
7754
8094
|
}, ConfigParameters>;
|
|
7755
8095
|
headers?: {
|
|
7756
8096
|
[key: string]: string;
|
|
@@ -7778,6 +8118,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7778
8118
|
organizationId: string;
|
|
7779
8119
|
usid: string;
|
|
7780
8120
|
siteId?: string;
|
|
8121
|
+
} & {
|
|
8122
|
+
[key in `c_${string}`]: any;
|
|
7781
8123
|
}, ConfigParameters>;
|
|
7782
8124
|
headers?: {
|
|
7783
8125
|
[key: string]: string;
|
|
@@ -7804,6 +8146,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7804
8146
|
organizationId: string;
|
|
7805
8147
|
usid: string;
|
|
7806
8148
|
siteId?: string;
|
|
8149
|
+
} & {
|
|
8150
|
+
[key in `c_${string}`]: any;
|
|
7807
8151
|
}, ConfigParameters>;
|
|
7808
8152
|
headers?: {
|
|
7809
8153
|
[key: string]: string;
|
|
@@ -7831,6 +8175,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7831
8175
|
organizationId: string;
|
|
7832
8176
|
usid: string;
|
|
7833
8177
|
siteId?: string;
|
|
8178
|
+
} & {
|
|
8179
|
+
[key in `c_${string}`]: any;
|
|
7834
8180
|
}, ConfigParameters>;
|
|
7835
8181
|
headers?: {
|
|
7836
8182
|
[key: string]: string;
|
|
@@ -7855,13 +8201,15 @@ declare namespace ShopperContextsTypes {
|
|
|
7855
8201
|
organizationId: string;
|
|
7856
8202
|
usid: string;
|
|
7857
8203
|
siteId?: string;
|
|
8204
|
+
} & {
|
|
8205
|
+
[key in `c_${string}`]: any;
|
|
7858
8206
|
}, ConfigParameters>;
|
|
7859
8207
|
headers?: {
|
|
7860
8208
|
[key: string]: string;
|
|
7861
8209
|
};
|
|
7862
8210
|
}>, rawResponse?: T): Promise<T extends true ? Response : void>;
|
|
7863
8211
|
/**
|
|
7864
|
-
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a
|
|
8212
|
+
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a `custom qualifier/assignment qualifer` or an `effectiveDateTime` or a `sourceCode` or a `customerGroupIds` is already present in the existing shopper context, its value is replaced by the corresponding value from the patch body. If a `custom qualifers'` or a `assignment qualifiers'` value is set to `null`, it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to an empty string (\"\"), it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to `null`, it's ignored. If an `effectiveDateTime` or `sourceCode` or `custom/assignment qualifiiers'` value is new, it's added to the existing Shopper context. If `customerGroupIds` is set to empty array `[]` the existing value in shopper context is deleted.
|
|
7865
8213
|
*
|
|
7866
8214
|
* If you would like to get a raw Response object use the other updateShopperContext function.
|
|
7867
8215
|
*
|
|
@@ -7882,6 +8230,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7882
8230
|
organizationId: string;
|
|
7883
8231
|
usid: string;
|
|
7884
8232
|
siteId?: string;
|
|
8233
|
+
} & {
|
|
8234
|
+
[key in `c_${string}`]: any;
|
|
7885
8235
|
}, ConfigParameters>;
|
|
7886
8236
|
headers?: {
|
|
7887
8237
|
[key: string]: string;
|
|
@@ -7889,7 +8239,7 @@ declare namespace ShopperContextsTypes {
|
|
|
7889
8239
|
body: ShopperContext;
|
|
7890
8240
|
}>): Promise<ShopperContext>;
|
|
7891
8241
|
/**
|
|
7892
|
-
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a
|
|
8242
|
+
* Updates the shopper's context based on the Shopper JWT. If the shopper context exists, it's updated with the patch body. If a `custom qualifier/assignment qualifer` or an `effectiveDateTime` or a `sourceCode` or a `customerGroupIds` is already present in the existing shopper context, its value is replaced by the corresponding value from the patch body. If a `custom qualifers'` or a `assignment qualifiers'` value is set to `null`, it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to an empty string (\"\"), it's deleted from existing shopper context. If `effectiveDateTime` or `sourceCode` value is set to `null`, it's ignored. If an `effectiveDateTime` or `sourceCode` or `custom/assignment qualifiiers'` value is new, it's added to the existing Shopper context. If `customerGroupIds` is set to empty array `[]` the existing value in shopper context is deleted.
|
|
7893
8243
|
*
|
|
7894
8244
|
* @param options - An object containing the options for this method.
|
|
7895
8245
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -7908,6 +8258,8 @@ declare namespace ShopperContextsTypes {
|
|
|
7908
8258
|
organizationId: string;
|
|
7909
8259
|
usid: string;
|
|
7910
8260
|
siteId?: string;
|
|
8261
|
+
} & {
|
|
8262
|
+
[key in `c_${string}`]: any;
|
|
7911
8263
|
}, ConfigParameters>;
|
|
7912
8264
|
headers?: {
|
|
7913
8265
|
[key: string]: string;
|
|
@@ -8943,6 +9295,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
8943
9295
|
parameters?: CompositeParameters<{
|
|
8944
9296
|
organizationId: string;
|
|
8945
9297
|
siteId: string;
|
|
9298
|
+
} & {
|
|
9299
|
+
[key in `c_${string}`]: any;
|
|
8946
9300
|
}, ConfigParameters>;
|
|
8947
9301
|
headers?: {
|
|
8948
9302
|
[key: string]: string;
|
|
@@ -8967,6 +9321,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
8967
9321
|
parameters?: CompositeParameters<{
|
|
8968
9322
|
organizationId: string;
|
|
8969
9323
|
siteId: string;
|
|
9324
|
+
} & {
|
|
9325
|
+
[key in `c_${string}`]: any;
|
|
8970
9326
|
}, ConfigParameters>;
|
|
8971
9327
|
headers?: {
|
|
8972
9328
|
[key: string]: string;
|
|
@@ -8998,6 +9354,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
8998
9354
|
parameters?: CompositeParameters<{
|
|
8999
9355
|
organizationId: string;
|
|
9000
9356
|
siteId: string;
|
|
9357
|
+
} & {
|
|
9358
|
+
[key in `c_${string}`]: any;
|
|
9001
9359
|
}, ConfigParameters>;
|
|
9002
9360
|
headers?: {
|
|
9003
9361
|
[key: string]: string;
|
|
@@ -9026,6 +9384,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9026
9384
|
parameters?: CompositeParameters<{
|
|
9027
9385
|
organizationId: string;
|
|
9028
9386
|
siteId: string;
|
|
9387
|
+
} & {
|
|
9388
|
+
[key in `c_${string}`]: any;
|
|
9029
9389
|
}, ConfigParameters>;
|
|
9030
9390
|
headers?: {
|
|
9031
9391
|
[key: string]: string;
|
|
@@ -9076,6 +9436,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9076
9436
|
organizationId: string;
|
|
9077
9437
|
clientId: string;
|
|
9078
9438
|
siteId: string;
|
|
9439
|
+
} & {
|
|
9440
|
+
[key in `c_${string}`]: any;
|
|
9079
9441
|
}, ConfigParameters>;
|
|
9080
9442
|
headers?: {
|
|
9081
9443
|
[key: string]: string;
|
|
@@ -9125,6 +9487,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9125
9487
|
organizationId: string;
|
|
9126
9488
|
clientId: string;
|
|
9127
9489
|
siteId: string;
|
|
9490
|
+
} & {
|
|
9491
|
+
[key in `c_${string}`]: any;
|
|
9128
9492
|
}, ConfigParameters>;
|
|
9129
9493
|
headers?: {
|
|
9130
9494
|
[key: string]: string;
|
|
@@ -9158,6 +9522,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9158
9522
|
parameters?: CompositeParameters<{
|
|
9159
9523
|
organizationId: string;
|
|
9160
9524
|
siteId: string;
|
|
9525
|
+
} & {
|
|
9526
|
+
[key in `c_${string}`]: any;
|
|
9161
9527
|
}, ConfigParameters>;
|
|
9162
9528
|
headers?: {
|
|
9163
9529
|
[key: string]: string;
|
|
@@ -9189,6 +9555,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9189
9555
|
parameters?: CompositeParameters<{
|
|
9190
9556
|
organizationId: string;
|
|
9191
9557
|
siteId: string;
|
|
9558
|
+
} & {
|
|
9559
|
+
[key in `c_${string}`]: any;
|
|
9192
9560
|
}, ConfigParameters>;
|
|
9193
9561
|
headers?: {
|
|
9194
9562
|
[key: string]: string;
|
|
@@ -9215,6 +9583,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9215
9583
|
parameters?: CompositeParameters<{
|
|
9216
9584
|
organizationId: string;
|
|
9217
9585
|
siteId: string;
|
|
9586
|
+
} & {
|
|
9587
|
+
[key in `c_${string}`]: any;
|
|
9218
9588
|
}, ConfigParameters>;
|
|
9219
9589
|
headers?: {
|
|
9220
9590
|
[key: string]: string;
|
|
@@ -9239,6 +9609,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9239
9609
|
parameters?: CompositeParameters<{
|
|
9240
9610
|
organizationId: string;
|
|
9241
9611
|
siteId: string;
|
|
9612
|
+
} & {
|
|
9613
|
+
[key in `c_${string}`]: any;
|
|
9242
9614
|
}, ConfigParameters>;
|
|
9243
9615
|
headers?: {
|
|
9244
9616
|
[key: string]: string;
|
|
@@ -9265,6 +9637,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9265
9637
|
parameters?: CompositeParameters<{
|
|
9266
9638
|
organizationId: string;
|
|
9267
9639
|
siteId: string;
|
|
9640
|
+
} & {
|
|
9641
|
+
[key in `c_${string}`]: any;
|
|
9268
9642
|
}, ConfigParameters>;
|
|
9269
9643
|
headers?: {
|
|
9270
9644
|
[key: string]: string;
|
|
@@ -9289,6 +9663,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9289
9663
|
parameters?: CompositeParameters<{
|
|
9290
9664
|
organizationId: string;
|
|
9291
9665
|
siteId: string;
|
|
9666
|
+
} & {
|
|
9667
|
+
[key in `c_${string}`]: any;
|
|
9292
9668
|
}, ConfigParameters>;
|
|
9293
9669
|
headers?: {
|
|
9294
9670
|
[key: string]: string;
|
|
@@ -9315,6 +9691,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9315
9691
|
parameters?: CompositeParameters<{
|
|
9316
9692
|
organizationId: string;
|
|
9317
9693
|
siteId: string;
|
|
9694
|
+
} & {
|
|
9695
|
+
[key in `c_${string}`]: any;
|
|
9318
9696
|
}, ConfigParameters>;
|
|
9319
9697
|
headers?: {
|
|
9320
9698
|
[key: string]: string;
|
|
@@ -9339,6 +9717,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9339
9717
|
parameters?: CompositeParameters<{
|
|
9340
9718
|
organizationId: string;
|
|
9341
9719
|
siteId: string;
|
|
9720
|
+
} & {
|
|
9721
|
+
[key in `c_${string}`]: any;
|
|
9342
9722
|
}, ConfigParameters>;
|
|
9343
9723
|
headers?: {
|
|
9344
9724
|
[key: string]: string;
|
|
@@ -9368,6 +9748,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9368
9748
|
externalId: string;
|
|
9369
9749
|
authenticationProviderId: string;
|
|
9370
9750
|
siteId: string;
|
|
9751
|
+
} & {
|
|
9752
|
+
[key in `c_${string}`]: any;
|
|
9371
9753
|
}, ConfigParameters>;
|
|
9372
9754
|
headers?: {
|
|
9373
9755
|
[key: string]: string;
|
|
@@ -9394,6 +9776,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9394
9776
|
externalId: string;
|
|
9395
9777
|
authenticationProviderId: string;
|
|
9396
9778
|
siteId: string;
|
|
9779
|
+
} & {
|
|
9780
|
+
[key in `c_${string}`]: any;
|
|
9397
9781
|
}, ConfigParameters>;
|
|
9398
9782
|
headers?: {
|
|
9399
9783
|
[key: string]: string;
|
|
@@ -9420,6 +9804,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9420
9804
|
organizationId: string;
|
|
9421
9805
|
customerId: string;
|
|
9422
9806
|
siteId: string;
|
|
9807
|
+
} & {
|
|
9808
|
+
[key in `c_${string}`]: any;
|
|
9423
9809
|
}, ConfigParameters>;
|
|
9424
9810
|
headers?: {
|
|
9425
9811
|
[key: string]: string;
|
|
@@ -9444,6 +9830,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9444
9830
|
organizationId: string;
|
|
9445
9831
|
customerId: string;
|
|
9446
9832
|
siteId: string;
|
|
9833
|
+
} & {
|
|
9834
|
+
[key in `c_${string}`]: any;
|
|
9447
9835
|
}, ConfigParameters>;
|
|
9448
9836
|
headers?: {
|
|
9449
9837
|
[key: string]: string;
|
|
@@ -9471,6 +9859,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9471
9859
|
organizationId: string;
|
|
9472
9860
|
customerId: string;
|
|
9473
9861
|
siteId: string;
|
|
9862
|
+
} & {
|
|
9863
|
+
[key in `c_${string}`]: any;
|
|
9474
9864
|
}, ConfigParameters>;
|
|
9475
9865
|
headers?: {
|
|
9476
9866
|
[key: string]: string;
|
|
@@ -9497,6 +9887,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9497
9887
|
organizationId: string;
|
|
9498
9888
|
customerId: string;
|
|
9499
9889
|
siteId: string;
|
|
9890
|
+
} & {
|
|
9891
|
+
[key in `c_${string}`]: any;
|
|
9500
9892
|
}, ConfigParameters>;
|
|
9501
9893
|
headers?: {
|
|
9502
9894
|
[key: string]: string;
|
|
@@ -9525,6 +9917,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9525
9917
|
organizationId: string;
|
|
9526
9918
|
customerId: string;
|
|
9527
9919
|
siteId: string;
|
|
9920
|
+
} & {
|
|
9921
|
+
[key in `c_${string}`]: any;
|
|
9528
9922
|
}, ConfigParameters>;
|
|
9529
9923
|
headers?: {
|
|
9530
9924
|
[key: string]: string;
|
|
@@ -9551,6 +9945,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9551
9945
|
organizationId: string;
|
|
9552
9946
|
customerId: string;
|
|
9553
9947
|
siteId: string;
|
|
9948
|
+
} & {
|
|
9949
|
+
[key in `c_${string}`]: any;
|
|
9554
9950
|
}, ConfigParameters>;
|
|
9555
9951
|
headers?: {
|
|
9556
9952
|
[key: string]: string;
|
|
@@ -9580,6 +9976,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9580
9976
|
customerId: string;
|
|
9581
9977
|
addressName: string;
|
|
9582
9978
|
siteId: string;
|
|
9979
|
+
} & {
|
|
9980
|
+
[key in `c_${string}`]: any;
|
|
9583
9981
|
}, ConfigParameters>;
|
|
9584
9982
|
headers?: {
|
|
9585
9983
|
[key: string]: string;
|
|
@@ -9606,6 +10004,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9606
10004
|
customerId: string;
|
|
9607
10005
|
addressName: string;
|
|
9608
10006
|
siteId: string;
|
|
10007
|
+
} & {
|
|
10008
|
+
[key in `c_${string}`]: any;
|
|
9609
10009
|
}, ConfigParameters>;
|
|
9610
10010
|
headers?: {
|
|
9611
10011
|
[key: string]: string;
|
|
@@ -9634,6 +10034,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9634
10034
|
customerId: string;
|
|
9635
10035
|
addressName: string;
|
|
9636
10036
|
siteId: string;
|
|
10037
|
+
} & {
|
|
10038
|
+
[key in `c_${string}`]: any;
|
|
9637
10039
|
}, ConfigParameters>;
|
|
9638
10040
|
headers?: {
|
|
9639
10041
|
[key: string]: string;
|
|
@@ -9660,6 +10062,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9660
10062
|
customerId: string;
|
|
9661
10063
|
addressName: string;
|
|
9662
10064
|
siteId: string;
|
|
10065
|
+
} & {
|
|
10066
|
+
[key in `c_${string}`]: any;
|
|
9663
10067
|
}, ConfigParameters>;
|
|
9664
10068
|
headers?: {
|
|
9665
10069
|
[key: string]: string;
|
|
@@ -9689,6 +10093,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9689
10093
|
customerId: string;
|
|
9690
10094
|
addressName: string;
|
|
9691
10095
|
siteId: string;
|
|
10096
|
+
} & {
|
|
10097
|
+
[key in `c_${string}`]: any;
|
|
9692
10098
|
}, ConfigParameters>;
|
|
9693
10099
|
headers?: {
|
|
9694
10100
|
[key: string]: string;
|
|
@@ -9717,6 +10123,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9717
10123
|
customerId: string;
|
|
9718
10124
|
addressName: string;
|
|
9719
10125
|
siteId: string;
|
|
10126
|
+
} & {
|
|
10127
|
+
[key in `c_${string}`]: any;
|
|
9720
10128
|
}, ConfigParameters>;
|
|
9721
10129
|
headers?: {
|
|
9722
10130
|
[key: string]: string;
|
|
@@ -9744,6 +10152,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9744
10152
|
organizationId: string;
|
|
9745
10153
|
customerId: string;
|
|
9746
10154
|
siteId: string;
|
|
10155
|
+
} & {
|
|
10156
|
+
[key in `c_${string}`]: any;
|
|
9747
10157
|
}, ConfigParameters>;
|
|
9748
10158
|
headers?: {
|
|
9749
10159
|
[key: string]: string;
|
|
@@ -9768,6 +10178,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9768
10178
|
organizationId: string;
|
|
9769
10179
|
customerId: string;
|
|
9770
10180
|
siteId: string;
|
|
10181
|
+
} & {
|
|
10182
|
+
[key in `c_${string}`]: any;
|
|
9771
10183
|
}, ConfigParameters>;
|
|
9772
10184
|
headers?: {
|
|
9773
10185
|
[key: string]: string;
|
|
@@ -9806,6 +10218,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9806
10218
|
siteId: string;
|
|
9807
10219
|
offset?: any;
|
|
9808
10220
|
limit?: number;
|
|
10221
|
+
} & {
|
|
10222
|
+
[key in `c_${string}`]: any;
|
|
9809
10223
|
}, ConfigParameters>;
|
|
9810
10224
|
headers?: {
|
|
9811
10225
|
[key: string]: string;
|
|
@@ -9842,6 +10256,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9842
10256
|
siteId: string;
|
|
9843
10257
|
offset?: any;
|
|
9844
10258
|
limit?: number;
|
|
10259
|
+
} & {
|
|
10260
|
+
[key in `c_${string}`]: any;
|
|
9845
10261
|
}, ConfigParameters>;
|
|
9846
10262
|
headers?: {
|
|
9847
10263
|
[key: string]: string;
|
|
@@ -9869,6 +10285,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9869
10285
|
organizationId: string;
|
|
9870
10286
|
customerId: string;
|
|
9871
10287
|
siteId: string;
|
|
10288
|
+
} & {
|
|
10289
|
+
[key in `c_${string}`]: any;
|
|
9872
10290
|
}, ConfigParameters>;
|
|
9873
10291
|
headers?: {
|
|
9874
10292
|
[key: string]: string;
|
|
@@ -9895,6 +10313,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9895
10313
|
organizationId: string;
|
|
9896
10314
|
customerId: string;
|
|
9897
10315
|
siteId: string;
|
|
10316
|
+
} & {
|
|
10317
|
+
[key in `c_${string}`]: any;
|
|
9898
10318
|
}, ConfigParameters>;
|
|
9899
10319
|
headers?: {
|
|
9900
10320
|
[key: string]: string;
|
|
@@ -9923,6 +10343,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9923
10343
|
organizationId: string;
|
|
9924
10344
|
customerId: string;
|
|
9925
10345
|
siteId: string;
|
|
10346
|
+
} & {
|
|
10347
|
+
[key in `c_${string}`]: any;
|
|
9926
10348
|
}, ConfigParameters>;
|
|
9927
10349
|
headers?: {
|
|
9928
10350
|
[key: string]: string;
|
|
@@ -9949,6 +10371,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9949
10371
|
organizationId: string;
|
|
9950
10372
|
customerId: string;
|
|
9951
10373
|
siteId: string;
|
|
10374
|
+
} & {
|
|
10375
|
+
[key in `c_${string}`]: any;
|
|
9952
10376
|
}, ConfigParameters>;
|
|
9953
10377
|
headers?: {
|
|
9954
10378
|
[key: string]: string;
|
|
@@ -9978,6 +10402,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
9978
10402
|
customerId: string;
|
|
9979
10403
|
paymentInstrumentId: string;
|
|
9980
10404
|
siteId: string;
|
|
10405
|
+
} & {
|
|
10406
|
+
[key in `c_${string}`]: any;
|
|
9981
10407
|
}, ConfigParameters>;
|
|
9982
10408
|
headers?: {
|
|
9983
10409
|
[key: string]: string;
|
|
@@ -10004,6 +10430,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10004
10430
|
customerId: string;
|
|
10005
10431
|
paymentInstrumentId: string;
|
|
10006
10432
|
siteId: string;
|
|
10433
|
+
} & {
|
|
10434
|
+
[key in `c_${string}`]: any;
|
|
10007
10435
|
}, ConfigParameters>;
|
|
10008
10436
|
headers?: {
|
|
10009
10437
|
[key: string]: string;
|
|
@@ -10032,6 +10460,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10032
10460
|
customerId: string;
|
|
10033
10461
|
paymentInstrumentId: string;
|
|
10034
10462
|
siteId: string;
|
|
10463
|
+
} & {
|
|
10464
|
+
[key in `c_${string}`]: any;
|
|
10035
10465
|
}, ConfigParameters>;
|
|
10036
10466
|
headers?: {
|
|
10037
10467
|
[key: string]: string;
|
|
@@ -10058,6 +10488,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10058
10488
|
customerId: string;
|
|
10059
10489
|
paymentInstrumentId: string;
|
|
10060
10490
|
siteId: string;
|
|
10491
|
+
} & {
|
|
10492
|
+
[key in `c_${string}`]: any;
|
|
10061
10493
|
}, ConfigParameters>;
|
|
10062
10494
|
headers?: {
|
|
10063
10495
|
[key: string]: string;
|
|
@@ -10084,6 +10516,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10084
10516
|
organizationId: string;
|
|
10085
10517
|
customerId: string;
|
|
10086
10518
|
siteId: string;
|
|
10519
|
+
} & {
|
|
10520
|
+
[key in `c_${string}`]: any;
|
|
10087
10521
|
}, ConfigParameters>;
|
|
10088
10522
|
headers?: {
|
|
10089
10523
|
[key: string]: string;
|
|
@@ -10108,6 +10542,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10108
10542
|
organizationId: string;
|
|
10109
10543
|
customerId: string;
|
|
10110
10544
|
siteId: string;
|
|
10545
|
+
} & {
|
|
10546
|
+
[key in `c_${string}`]: any;
|
|
10111
10547
|
}, ConfigParameters>;
|
|
10112
10548
|
headers?: {
|
|
10113
10549
|
[key: string]: string;
|
|
@@ -10135,6 +10571,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10135
10571
|
organizationId: string;
|
|
10136
10572
|
customerId: string;
|
|
10137
10573
|
siteId: string;
|
|
10574
|
+
} & {
|
|
10575
|
+
[key in `c_${string}`]: any;
|
|
10138
10576
|
}, ConfigParameters>;
|
|
10139
10577
|
headers?: {
|
|
10140
10578
|
[key: string]: string;
|
|
@@ -10161,6 +10599,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10161
10599
|
organizationId: string;
|
|
10162
10600
|
customerId: string;
|
|
10163
10601
|
siteId: string;
|
|
10602
|
+
} & {
|
|
10603
|
+
[key in `c_${string}`]: any;
|
|
10164
10604
|
}, ConfigParameters>;
|
|
10165
10605
|
headers?: {
|
|
10166
10606
|
[key: string]: string;
|
|
@@ -10190,6 +10630,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10190
10630
|
customerId: string;
|
|
10191
10631
|
listId: string;
|
|
10192
10632
|
siteId: string;
|
|
10633
|
+
} & {
|
|
10634
|
+
[key in `c_${string}`]: any;
|
|
10193
10635
|
}, ConfigParameters>;
|
|
10194
10636
|
headers?: {
|
|
10195
10637
|
[key: string]: string;
|
|
@@ -10216,6 +10658,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10216
10658
|
customerId: string;
|
|
10217
10659
|
listId: string;
|
|
10218
10660
|
siteId: string;
|
|
10661
|
+
} & {
|
|
10662
|
+
[key in `c_${string}`]: any;
|
|
10219
10663
|
}, ConfigParameters>;
|
|
10220
10664
|
headers?: {
|
|
10221
10665
|
[key: string]: string;
|
|
@@ -10244,6 +10688,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10244
10688
|
customerId: string;
|
|
10245
10689
|
listId: string;
|
|
10246
10690
|
siteId: string;
|
|
10691
|
+
} & {
|
|
10692
|
+
[key in `c_${string}`]: any;
|
|
10247
10693
|
}, ConfigParameters>;
|
|
10248
10694
|
headers?: {
|
|
10249
10695
|
[key: string]: string;
|
|
@@ -10270,6 +10716,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10270
10716
|
customerId: string;
|
|
10271
10717
|
listId: string;
|
|
10272
10718
|
siteId: string;
|
|
10719
|
+
} & {
|
|
10720
|
+
[key in `c_${string}`]: any;
|
|
10273
10721
|
}, ConfigParameters>;
|
|
10274
10722
|
headers?: {
|
|
10275
10723
|
[key: string]: string;
|
|
@@ -10299,6 +10747,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10299
10747
|
customerId: string;
|
|
10300
10748
|
listId: string;
|
|
10301
10749
|
siteId: string;
|
|
10750
|
+
} & {
|
|
10751
|
+
[key in `c_${string}`]: any;
|
|
10302
10752
|
}, ConfigParameters>;
|
|
10303
10753
|
headers?: {
|
|
10304
10754
|
[key: string]: string;
|
|
@@ -10327,6 +10777,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10327
10777
|
customerId: string;
|
|
10328
10778
|
listId: string;
|
|
10329
10779
|
siteId: string;
|
|
10780
|
+
} & {
|
|
10781
|
+
[key in `c_${string}`]: any;
|
|
10330
10782
|
}, ConfigParameters>;
|
|
10331
10783
|
headers?: {
|
|
10332
10784
|
[key: string]: string;
|
|
@@ -10368,6 +10820,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10368
10820
|
customerId: string;
|
|
10369
10821
|
listId: string;
|
|
10370
10822
|
siteId: string;
|
|
10823
|
+
} & {
|
|
10824
|
+
[key in `c_${string}`]: any;
|
|
10371
10825
|
}, ConfigParameters>;
|
|
10372
10826
|
headers?: {
|
|
10373
10827
|
[key: string]: string;
|
|
@@ -10407,6 +10861,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10407
10861
|
customerId: string;
|
|
10408
10862
|
listId: string;
|
|
10409
10863
|
siteId: string;
|
|
10864
|
+
} & {
|
|
10865
|
+
[key in `c_${string}`]: any;
|
|
10410
10866
|
}, ConfigParameters>;
|
|
10411
10867
|
headers?: {
|
|
10412
10868
|
[key: string]: string;
|
|
@@ -10438,6 +10894,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10438
10894
|
listId: string;
|
|
10439
10895
|
itemId: string;
|
|
10440
10896
|
siteId: string;
|
|
10897
|
+
} & {
|
|
10898
|
+
[key in `c_${string}`]: any;
|
|
10441
10899
|
}, ConfigParameters>;
|
|
10442
10900
|
headers?: {
|
|
10443
10901
|
[key: string]: string;
|
|
@@ -10466,6 +10924,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10466
10924
|
listId: string;
|
|
10467
10925
|
itemId: string;
|
|
10468
10926
|
siteId: string;
|
|
10927
|
+
} & {
|
|
10928
|
+
[key in `c_${string}`]: any;
|
|
10469
10929
|
}, ConfigParameters>;
|
|
10470
10930
|
headers?: {
|
|
10471
10931
|
[key: string]: string;
|
|
@@ -10496,6 +10956,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10496
10956
|
listId: string;
|
|
10497
10957
|
itemId: string;
|
|
10498
10958
|
siteId: string;
|
|
10959
|
+
} & {
|
|
10960
|
+
[key in `c_${string}`]: any;
|
|
10499
10961
|
}, ConfigParameters>;
|
|
10500
10962
|
headers?: {
|
|
10501
10963
|
[key: string]: string;
|
|
@@ -10524,6 +10986,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10524
10986
|
listId: string;
|
|
10525
10987
|
itemId: string;
|
|
10526
10988
|
siteId: string;
|
|
10989
|
+
} & {
|
|
10990
|
+
[key in `c_${string}`]: any;
|
|
10527
10991
|
}, ConfigParameters>;
|
|
10528
10992
|
headers?: {
|
|
10529
10993
|
[key: string]: string;
|
|
@@ -10564,6 +11028,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10564
11028
|
listId: string;
|
|
10565
11029
|
itemId: string;
|
|
10566
11030
|
siteId: string;
|
|
11031
|
+
} & {
|
|
11032
|
+
[key in `c_${string}`]: any;
|
|
10567
11033
|
}, ConfigParameters>;
|
|
10568
11034
|
headers?: {
|
|
10569
11035
|
[key: string]: string;
|
|
@@ -10603,6 +11069,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10603
11069
|
listId: string;
|
|
10604
11070
|
itemId: string;
|
|
10605
11071
|
siteId: string;
|
|
11072
|
+
} & {
|
|
11073
|
+
[key in `c_${string}`]: any;
|
|
10606
11074
|
}, ConfigParameters>;
|
|
10607
11075
|
headers?: {
|
|
10608
11076
|
[key: string]: string;
|
|
@@ -10634,6 +11102,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10634
11102
|
firstName?: string;
|
|
10635
11103
|
lastName?: string;
|
|
10636
11104
|
siteId: string;
|
|
11105
|
+
} & {
|
|
11106
|
+
[key in `c_${string}`]: any;
|
|
10637
11107
|
}, ConfigParameters>;
|
|
10638
11108
|
headers?: {
|
|
10639
11109
|
[key: string]: string;
|
|
@@ -10662,6 +11132,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10662
11132
|
firstName?: string;
|
|
10663
11133
|
lastName?: string;
|
|
10664
11134
|
siteId: string;
|
|
11135
|
+
} & {
|
|
11136
|
+
[key in `c_${string}`]: any;
|
|
10665
11137
|
}, ConfigParameters>;
|
|
10666
11138
|
headers?: {
|
|
10667
11139
|
[key: string]: string;
|
|
@@ -10688,6 +11160,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10688
11160
|
organizationId: string;
|
|
10689
11161
|
listId: string;
|
|
10690
11162
|
siteId: string;
|
|
11163
|
+
} & {
|
|
11164
|
+
[key in `c_${string}`]: any;
|
|
10691
11165
|
}, ConfigParameters>;
|
|
10692
11166
|
headers?: {
|
|
10693
11167
|
[key: string]: string;
|
|
@@ -10712,6 +11186,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10712
11186
|
organizationId: string;
|
|
10713
11187
|
listId: string;
|
|
10714
11188
|
siteId: string;
|
|
11189
|
+
} & {
|
|
11190
|
+
[key in `c_${string}`]: any;
|
|
10715
11191
|
}, ConfigParameters>;
|
|
10716
11192
|
headers?: {
|
|
10717
11193
|
[key: string]: string;
|
|
@@ -10740,6 +11216,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10740
11216
|
listId: string;
|
|
10741
11217
|
itemId: string;
|
|
10742
11218
|
siteId: string;
|
|
11219
|
+
} & {
|
|
11220
|
+
[key in `c_${string}`]: any;
|
|
10743
11221
|
}, ConfigParameters>;
|
|
10744
11222
|
headers?: {
|
|
10745
11223
|
[key: string]: string;
|
|
@@ -10766,6 +11244,8 @@ declare class ShopperCustomers<ConfigParameters extends ShopperCustomersParamete
|
|
|
10766
11244
|
listId: string;
|
|
10767
11245
|
itemId: string;
|
|
10768
11246
|
siteId: string;
|
|
11247
|
+
} & {
|
|
11248
|
+
[key in `c_${string}`]: any;
|
|
10769
11249
|
}, ConfigParameters>;
|
|
10770
11250
|
headers?: {
|
|
10771
11251
|
[key: string]: string;
|
|
@@ -12054,6 +12534,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12054
12534
|
parameters?: CompositeParameters<{
|
|
12055
12535
|
organizationId: string;
|
|
12056
12536
|
siteId: string;
|
|
12537
|
+
} & {
|
|
12538
|
+
[key in `c_${string}`]: any;
|
|
12057
12539
|
}, ConfigParameters>;
|
|
12058
12540
|
headers?: {
|
|
12059
12541
|
[key: string]: string;
|
|
@@ -12078,6 +12560,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12078
12560
|
parameters?: CompositeParameters<{
|
|
12079
12561
|
organizationId: string;
|
|
12080
12562
|
siteId: string;
|
|
12563
|
+
} & {
|
|
12564
|
+
[key in `c_${string}`]: any;
|
|
12081
12565
|
}, ConfigParameters>;
|
|
12082
12566
|
headers?: {
|
|
12083
12567
|
[key: string]: string;
|
|
@@ -12109,6 +12593,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12109
12593
|
parameters?: CompositeParameters<{
|
|
12110
12594
|
organizationId: string;
|
|
12111
12595
|
siteId: string;
|
|
12596
|
+
} & {
|
|
12597
|
+
[key in `c_${string}`]: any;
|
|
12112
12598
|
}, ConfigParameters>;
|
|
12113
12599
|
headers?: {
|
|
12114
12600
|
[key: string]: string;
|
|
@@ -12137,6 +12623,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12137
12623
|
parameters?: CompositeParameters<{
|
|
12138
12624
|
organizationId: string;
|
|
12139
12625
|
siteId: string;
|
|
12626
|
+
} & {
|
|
12627
|
+
[key in `c_${string}`]: any;
|
|
12140
12628
|
}, ConfigParameters>;
|
|
12141
12629
|
headers?: {
|
|
12142
12630
|
[key: string]: string;
|
|
@@ -12187,6 +12675,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12187
12675
|
organizationId: string;
|
|
12188
12676
|
clientId: string;
|
|
12189
12677
|
siteId: string;
|
|
12678
|
+
} & {
|
|
12679
|
+
[key in `c_${string}`]: any;
|
|
12190
12680
|
}, ConfigParameters>;
|
|
12191
12681
|
headers?: {
|
|
12192
12682
|
[key: string]: string;
|
|
@@ -12236,6 +12726,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12236
12726
|
organizationId: string;
|
|
12237
12727
|
clientId: string;
|
|
12238
12728
|
siteId: string;
|
|
12729
|
+
} & {
|
|
12730
|
+
[key in `c_${string}`]: any;
|
|
12239
12731
|
}, ConfigParameters>;
|
|
12240
12732
|
headers?: {
|
|
12241
12733
|
[key: string]: string;
|
|
@@ -12269,6 +12761,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12269
12761
|
parameters?: CompositeParameters<{
|
|
12270
12762
|
organizationId: string;
|
|
12271
12763
|
siteId: string;
|
|
12764
|
+
} & {
|
|
12765
|
+
[key in `c_${string}`]: any;
|
|
12272
12766
|
}, ConfigParameters>;
|
|
12273
12767
|
headers?: {
|
|
12274
12768
|
[key: string]: string;
|
|
@@ -12300,6 +12794,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12300
12794
|
parameters?: CompositeParameters<{
|
|
12301
12795
|
organizationId: string;
|
|
12302
12796
|
siteId: string;
|
|
12797
|
+
} & {
|
|
12798
|
+
[key in `c_${string}`]: any;
|
|
12303
12799
|
}, ConfigParameters>;
|
|
12304
12800
|
headers?: {
|
|
12305
12801
|
[key: string]: string;
|
|
@@ -12326,6 +12822,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12326
12822
|
parameters?: CompositeParameters<{
|
|
12327
12823
|
organizationId: string;
|
|
12328
12824
|
siteId: string;
|
|
12825
|
+
} & {
|
|
12826
|
+
[key in `c_${string}`]: any;
|
|
12329
12827
|
}, ConfigParameters>;
|
|
12330
12828
|
headers?: {
|
|
12331
12829
|
[key: string]: string;
|
|
@@ -12350,6 +12848,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12350
12848
|
parameters?: CompositeParameters<{
|
|
12351
12849
|
organizationId: string;
|
|
12352
12850
|
siteId: string;
|
|
12851
|
+
} & {
|
|
12852
|
+
[key in `c_${string}`]: any;
|
|
12353
12853
|
}, ConfigParameters>;
|
|
12354
12854
|
headers?: {
|
|
12355
12855
|
[key: string]: string;
|
|
@@ -12376,6 +12876,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12376
12876
|
parameters?: CompositeParameters<{
|
|
12377
12877
|
organizationId: string;
|
|
12378
12878
|
siteId: string;
|
|
12879
|
+
} & {
|
|
12880
|
+
[key in `c_${string}`]: any;
|
|
12379
12881
|
}, ConfigParameters>;
|
|
12380
12882
|
headers?: {
|
|
12381
12883
|
[key: string]: string;
|
|
@@ -12400,6 +12902,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12400
12902
|
parameters?: CompositeParameters<{
|
|
12401
12903
|
organizationId: string;
|
|
12402
12904
|
siteId: string;
|
|
12905
|
+
} & {
|
|
12906
|
+
[key in `c_${string}`]: any;
|
|
12403
12907
|
}, ConfigParameters>;
|
|
12404
12908
|
headers?: {
|
|
12405
12909
|
[key: string]: string;
|
|
@@ -12426,6 +12930,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12426
12930
|
parameters?: CompositeParameters<{
|
|
12427
12931
|
organizationId: string;
|
|
12428
12932
|
siteId: string;
|
|
12933
|
+
} & {
|
|
12934
|
+
[key in `c_${string}`]: any;
|
|
12429
12935
|
}, ConfigParameters>;
|
|
12430
12936
|
headers?: {
|
|
12431
12937
|
[key: string]: string;
|
|
@@ -12450,6 +12956,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12450
12956
|
parameters?: CompositeParameters<{
|
|
12451
12957
|
organizationId: string;
|
|
12452
12958
|
siteId: string;
|
|
12959
|
+
} & {
|
|
12960
|
+
[key in `c_${string}`]: any;
|
|
12453
12961
|
}, ConfigParameters>;
|
|
12454
12962
|
headers?: {
|
|
12455
12963
|
[key: string]: string;
|
|
@@ -12479,6 +12987,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12479
12987
|
externalId: string;
|
|
12480
12988
|
authenticationProviderId: string;
|
|
12481
12989
|
siteId: string;
|
|
12990
|
+
} & {
|
|
12991
|
+
[key in `c_${string}`]: any;
|
|
12482
12992
|
}, ConfigParameters>;
|
|
12483
12993
|
headers?: {
|
|
12484
12994
|
[key: string]: string;
|
|
@@ -12505,6 +13015,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12505
13015
|
externalId: string;
|
|
12506
13016
|
authenticationProviderId: string;
|
|
12507
13017
|
siteId: string;
|
|
13018
|
+
} & {
|
|
13019
|
+
[key in `c_${string}`]: any;
|
|
12508
13020
|
}, ConfigParameters>;
|
|
12509
13021
|
headers?: {
|
|
12510
13022
|
[key: string]: string;
|
|
@@ -12531,6 +13043,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12531
13043
|
organizationId: string;
|
|
12532
13044
|
customerId: string;
|
|
12533
13045
|
siteId: string;
|
|
13046
|
+
} & {
|
|
13047
|
+
[key in `c_${string}`]: any;
|
|
12534
13048
|
}, ConfigParameters>;
|
|
12535
13049
|
headers?: {
|
|
12536
13050
|
[key: string]: string;
|
|
@@ -12555,6 +13069,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12555
13069
|
organizationId: string;
|
|
12556
13070
|
customerId: string;
|
|
12557
13071
|
siteId: string;
|
|
13072
|
+
} & {
|
|
13073
|
+
[key in `c_${string}`]: any;
|
|
12558
13074
|
}, ConfigParameters>;
|
|
12559
13075
|
headers?: {
|
|
12560
13076
|
[key: string]: string;
|
|
@@ -12582,6 +13098,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12582
13098
|
organizationId: string;
|
|
12583
13099
|
customerId: string;
|
|
12584
13100
|
siteId: string;
|
|
13101
|
+
} & {
|
|
13102
|
+
[key in `c_${string}`]: any;
|
|
12585
13103
|
}, ConfigParameters>;
|
|
12586
13104
|
headers?: {
|
|
12587
13105
|
[key: string]: string;
|
|
@@ -12608,6 +13126,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12608
13126
|
organizationId: string;
|
|
12609
13127
|
customerId: string;
|
|
12610
13128
|
siteId: string;
|
|
13129
|
+
} & {
|
|
13130
|
+
[key in `c_${string}`]: any;
|
|
12611
13131
|
}, ConfigParameters>;
|
|
12612
13132
|
headers?: {
|
|
12613
13133
|
[key: string]: string;
|
|
@@ -12636,6 +13156,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12636
13156
|
organizationId: string;
|
|
12637
13157
|
customerId: string;
|
|
12638
13158
|
siteId: string;
|
|
13159
|
+
} & {
|
|
13160
|
+
[key in `c_${string}`]: any;
|
|
12639
13161
|
}, ConfigParameters>;
|
|
12640
13162
|
headers?: {
|
|
12641
13163
|
[key: string]: string;
|
|
@@ -12662,6 +13184,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12662
13184
|
organizationId: string;
|
|
12663
13185
|
customerId: string;
|
|
12664
13186
|
siteId: string;
|
|
13187
|
+
} & {
|
|
13188
|
+
[key in `c_${string}`]: any;
|
|
12665
13189
|
}, ConfigParameters>;
|
|
12666
13190
|
headers?: {
|
|
12667
13191
|
[key: string]: string;
|
|
@@ -12691,6 +13215,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12691
13215
|
customerId: string;
|
|
12692
13216
|
addressName: string;
|
|
12693
13217
|
siteId: string;
|
|
13218
|
+
} & {
|
|
13219
|
+
[key in `c_${string}`]: any;
|
|
12694
13220
|
}, ConfigParameters>;
|
|
12695
13221
|
headers?: {
|
|
12696
13222
|
[key: string]: string;
|
|
@@ -12717,6 +13243,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12717
13243
|
customerId: string;
|
|
12718
13244
|
addressName: string;
|
|
12719
13245
|
siteId: string;
|
|
13246
|
+
} & {
|
|
13247
|
+
[key in `c_${string}`]: any;
|
|
12720
13248
|
}, ConfigParameters>;
|
|
12721
13249
|
headers?: {
|
|
12722
13250
|
[key: string]: string;
|
|
@@ -12745,6 +13273,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12745
13273
|
customerId: string;
|
|
12746
13274
|
addressName: string;
|
|
12747
13275
|
siteId: string;
|
|
13276
|
+
} & {
|
|
13277
|
+
[key in `c_${string}`]: any;
|
|
12748
13278
|
}, ConfigParameters>;
|
|
12749
13279
|
headers?: {
|
|
12750
13280
|
[key: string]: string;
|
|
@@ -12771,6 +13301,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12771
13301
|
customerId: string;
|
|
12772
13302
|
addressName: string;
|
|
12773
13303
|
siteId: string;
|
|
13304
|
+
} & {
|
|
13305
|
+
[key in `c_${string}`]: any;
|
|
12774
13306
|
}, ConfigParameters>;
|
|
12775
13307
|
headers?: {
|
|
12776
13308
|
[key: string]: string;
|
|
@@ -12800,6 +13332,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12800
13332
|
customerId: string;
|
|
12801
13333
|
addressName: string;
|
|
12802
13334
|
siteId: string;
|
|
13335
|
+
} & {
|
|
13336
|
+
[key in `c_${string}`]: any;
|
|
12803
13337
|
}, ConfigParameters>;
|
|
12804
13338
|
headers?: {
|
|
12805
13339
|
[key: string]: string;
|
|
@@ -12828,6 +13362,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12828
13362
|
customerId: string;
|
|
12829
13363
|
addressName: string;
|
|
12830
13364
|
siteId: string;
|
|
13365
|
+
} & {
|
|
13366
|
+
[key in `c_${string}`]: any;
|
|
12831
13367
|
}, ConfigParameters>;
|
|
12832
13368
|
headers?: {
|
|
12833
13369
|
[key: string]: string;
|
|
@@ -12855,6 +13391,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12855
13391
|
organizationId: string;
|
|
12856
13392
|
customerId: string;
|
|
12857
13393
|
siteId: string;
|
|
13394
|
+
} & {
|
|
13395
|
+
[key in `c_${string}`]: any;
|
|
12858
13396
|
}, ConfigParameters>;
|
|
12859
13397
|
headers?: {
|
|
12860
13398
|
[key: string]: string;
|
|
@@ -12879,6 +13417,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12879
13417
|
organizationId: string;
|
|
12880
13418
|
customerId: string;
|
|
12881
13419
|
siteId: string;
|
|
13420
|
+
} & {
|
|
13421
|
+
[key in `c_${string}`]: any;
|
|
12882
13422
|
}, ConfigParameters>;
|
|
12883
13423
|
headers?: {
|
|
12884
13424
|
[key: string]: string;
|
|
@@ -12917,6 +13457,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12917
13457
|
siteId: string;
|
|
12918
13458
|
offset?: any;
|
|
12919
13459
|
limit?: number;
|
|
13460
|
+
} & {
|
|
13461
|
+
[key in `c_${string}`]: any;
|
|
12920
13462
|
}, ConfigParameters>;
|
|
12921
13463
|
headers?: {
|
|
12922
13464
|
[key: string]: string;
|
|
@@ -12953,6 +13495,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12953
13495
|
siteId: string;
|
|
12954
13496
|
offset?: any;
|
|
12955
13497
|
limit?: number;
|
|
13498
|
+
} & {
|
|
13499
|
+
[key in `c_${string}`]: any;
|
|
12956
13500
|
}, ConfigParameters>;
|
|
12957
13501
|
headers?: {
|
|
12958
13502
|
[key: string]: string;
|
|
@@ -12980,6 +13524,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
12980
13524
|
organizationId: string;
|
|
12981
13525
|
customerId: string;
|
|
12982
13526
|
siteId: string;
|
|
13527
|
+
} & {
|
|
13528
|
+
[key in `c_${string}`]: any;
|
|
12983
13529
|
}, ConfigParameters>;
|
|
12984
13530
|
headers?: {
|
|
12985
13531
|
[key: string]: string;
|
|
@@ -13006,6 +13552,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13006
13552
|
organizationId: string;
|
|
13007
13553
|
customerId: string;
|
|
13008
13554
|
siteId: string;
|
|
13555
|
+
} & {
|
|
13556
|
+
[key in `c_${string}`]: any;
|
|
13009
13557
|
}, ConfigParameters>;
|
|
13010
13558
|
headers?: {
|
|
13011
13559
|
[key: string]: string;
|
|
@@ -13034,6 +13582,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13034
13582
|
organizationId: string;
|
|
13035
13583
|
customerId: string;
|
|
13036
13584
|
siteId: string;
|
|
13585
|
+
} & {
|
|
13586
|
+
[key in `c_${string}`]: any;
|
|
13037
13587
|
}, ConfigParameters>;
|
|
13038
13588
|
headers?: {
|
|
13039
13589
|
[key: string]: string;
|
|
@@ -13060,6 +13610,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13060
13610
|
organizationId: string;
|
|
13061
13611
|
customerId: string;
|
|
13062
13612
|
siteId: string;
|
|
13613
|
+
} & {
|
|
13614
|
+
[key in `c_${string}`]: any;
|
|
13063
13615
|
}, ConfigParameters>;
|
|
13064
13616
|
headers?: {
|
|
13065
13617
|
[key: string]: string;
|
|
@@ -13089,6 +13641,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13089
13641
|
customerId: string;
|
|
13090
13642
|
paymentInstrumentId: string;
|
|
13091
13643
|
siteId: string;
|
|
13644
|
+
} & {
|
|
13645
|
+
[key in `c_${string}`]: any;
|
|
13092
13646
|
}, ConfigParameters>;
|
|
13093
13647
|
headers?: {
|
|
13094
13648
|
[key: string]: string;
|
|
@@ -13115,6 +13669,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13115
13669
|
customerId: string;
|
|
13116
13670
|
paymentInstrumentId: string;
|
|
13117
13671
|
siteId: string;
|
|
13672
|
+
} & {
|
|
13673
|
+
[key in `c_${string}`]: any;
|
|
13118
13674
|
}, ConfigParameters>;
|
|
13119
13675
|
headers?: {
|
|
13120
13676
|
[key: string]: string;
|
|
@@ -13143,6 +13699,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13143
13699
|
customerId: string;
|
|
13144
13700
|
paymentInstrumentId: string;
|
|
13145
13701
|
siteId: string;
|
|
13702
|
+
} & {
|
|
13703
|
+
[key in `c_${string}`]: any;
|
|
13146
13704
|
}, ConfigParameters>;
|
|
13147
13705
|
headers?: {
|
|
13148
13706
|
[key: string]: string;
|
|
@@ -13169,6 +13727,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13169
13727
|
customerId: string;
|
|
13170
13728
|
paymentInstrumentId: string;
|
|
13171
13729
|
siteId: string;
|
|
13730
|
+
} & {
|
|
13731
|
+
[key in `c_${string}`]: any;
|
|
13172
13732
|
}, ConfigParameters>;
|
|
13173
13733
|
headers?: {
|
|
13174
13734
|
[key: string]: string;
|
|
@@ -13195,6 +13755,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13195
13755
|
organizationId: string;
|
|
13196
13756
|
customerId: string;
|
|
13197
13757
|
siteId: string;
|
|
13758
|
+
} & {
|
|
13759
|
+
[key in `c_${string}`]: any;
|
|
13198
13760
|
}, ConfigParameters>;
|
|
13199
13761
|
headers?: {
|
|
13200
13762
|
[key: string]: string;
|
|
@@ -13219,6 +13781,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13219
13781
|
organizationId: string;
|
|
13220
13782
|
customerId: string;
|
|
13221
13783
|
siteId: string;
|
|
13784
|
+
} & {
|
|
13785
|
+
[key in `c_${string}`]: any;
|
|
13222
13786
|
}, ConfigParameters>;
|
|
13223
13787
|
headers?: {
|
|
13224
13788
|
[key: string]: string;
|
|
@@ -13246,6 +13810,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13246
13810
|
organizationId: string;
|
|
13247
13811
|
customerId: string;
|
|
13248
13812
|
siteId: string;
|
|
13813
|
+
} & {
|
|
13814
|
+
[key in `c_${string}`]: any;
|
|
13249
13815
|
}, ConfigParameters>;
|
|
13250
13816
|
headers?: {
|
|
13251
13817
|
[key: string]: string;
|
|
@@ -13272,6 +13838,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13272
13838
|
organizationId: string;
|
|
13273
13839
|
customerId: string;
|
|
13274
13840
|
siteId: string;
|
|
13841
|
+
} & {
|
|
13842
|
+
[key in `c_${string}`]: any;
|
|
13275
13843
|
}, ConfigParameters>;
|
|
13276
13844
|
headers?: {
|
|
13277
13845
|
[key: string]: string;
|
|
@@ -13301,6 +13869,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13301
13869
|
customerId: string;
|
|
13302
13870
|
listId: string;
|
|
13303
13871
|
siteId: string;
|
|
13872
|
+
} & {
|
|
13873
|
+
[key in `c_${string}`]: any;
|
|
13304
13874
|
}, ConfigParameters>;
|
|
13305
13875
|
headers?: {
|
|
13306
13876
|
[key: string]: string;
|
|
@@ -13327,6 +13897,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13327
13897
|
customerId: string;
|
|
13328
13898
|
listId: string;
|
|
13329
13899
|
siteId: string;
|
|
13900
|
+
} & {
|
|
13901
|
+
[key in `c_${string}`]: any;
|
|
13330
13902
|
}, ConfigParameters>;
|
|
13331
13903
|
headers?: {
|
|
13332
13904
|
[key: string]: string;
|
|
@@ -13355,6 +13927,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13355
13927
|
customerId: string;
|
|
13356
13928
|
listId: string;
|
|
13357
13929
|
siteId: string;
|
|
13930
|
+
} & {
|
|
13931
|
+
[key in `c_${string}`]: any;
|
|
13358
13932
|
}, ConfigParameters>;
|
|
13359
13933
|
headers?: {
|
|
13360
13934
|
[key: string]: string;
|
|
@@ -13381,6 +13955,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13381
13955
|
customerId: string;
|
|
13382
13956
|
listId: string;
|
|
13383
13957
|
siteId: string;
|
|
13958
|
+
} & {
|
|
13959
|
+
[key in `c_${string}`]: any;
|
|
13384
13960
|
}, ConfigParameters>;
|
|
13385
13961
|
headers?: {
|
|
13386
13962
|
[key: string]: string;
|
|
@@ -13410,6 +13986,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13410
13986
|
customerId: string;
|
|
13411
13987
|
listId: string;
|
|
13412
13988
|
siteId: string;
|
|
13989
|
+
} & {
|
|
13990
|
+
[key in `c_${string}`]: any;
|
|
13413
13991
|
}, ConfigParameters>;
|
|
13414
13992
|
headers?: {
|
|
13415
13993
|
[key: string]: string;
|
|
@@ -13438,6 +14016,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13438
14016
|
customerId: string;
|
|
13439
14017
|
listId: string;
|
|
13440
14018
|
siteId: string;
|
|
14019
|
+
} & {
|
|
14020
|
+
[key in `c_${string}`]: any;
|
|
13441
14021
|
}, ConfigParameters>;
|
|
13442
14022
|
headers?: {
|
|
13443
14023
|
[key: string]: string;
|
|
@@ -13479,6 +14059,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13479
14059
|
customerId: string;
|
|
13480
14060
|
listId: string;
|
|
13481
14061
|
siteId: string;
|
|
14062
|
+
} & {
|
|
14063
|
+
[key in `c_${string}`]: any;
|
|
13482
14064
|
}, ConfigParameters>;
|
|
13483
14065
|
headers?: {
|
|
13484
14066
|
[key: string]: string;
|
|
@@ -13518,6 +14100,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13518
14100
|
customerId: string;
|
|
13519
14101
|
listId: string;
|
|
13520
14102
|
siteId: string;
|
|
14103
|
+
} & {
|
|
14104
|
+
[key in `c_${string}`]: any;
|
|
13521
14105
|
}, ConfigParameters>;
|
|
13522
14106
|
headers?: {
|
|
13523
14107
|
[key: string]: string;
|
|
@@ -13549,6 +14133,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13549
14133
|
listId: string;
|
|
13550
14134
|
itemId: string;
|
|
13551
14135
|
siteId: string;
|
|
14136
|
+
} & {
|
|
14137
|
+
[key in `c_${string}`]: any;
|
|
13552
14138
|
}, ConfigParameters>;
|
|
13553
14139
|
headers?: {
|
|
13554
14140
|
[key: string]: string;
|
|
@@ -13577,6 +14163,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13577
14163
|
listId: string;
|
|
13578
14164
|
itemId: string;
|
|
13579
14165
|
siteId: string;
|
|
14166
|
+
} & {
|
|
14167
|
+
[key in `c_${string}`]: any;
|
|
13580
14168
|
}, ConfigParameters>;
|
|
13581
14169
|
headers?: {
|
|
13582
14170
|
[key: string]: string;
|
|
@@ -13607,6 +14195,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13607
14195
|
listId: string;
|
|
13608
14196
|
itemId: string;
|
|
13609
14197
|
siteId: string;
|
|
14198
|
+
} & {
|
|
14199
|
+
[key in `c_${string}`]: any;
|
|
13610
14200
|
}, ConfigParameters>;
|
|
13611
14201
|
headers?: {
|
|
13612
14202
|
[key: string]: string;
|
|
@@ -13635,6 +14225,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13635
14225
|
listId: string;
|
|
13636
14226
|
itemId: string;
|
|
13637
14227
|
siteId: string;
|
|
14228
|
+
} & {
|
|
14229
|
+
[key in `c_${string}`]: any;
|
|
13638
14230
|
}, ConfigParameters>;
|
|
13639
14231
|
headers?: {
|
|
13640
14232
|
[key: string]: string;
|
|
@@ -13675,6 +14267,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13675
14267
|
listId: string;
|
|
13676
14268
|
itemId: string;
|
|
13677
14269
|
siteId: string;
|
|
14270
|
+
} & {
|
|
14271
|
+
[key in `c_${string}`]: any;
|
|
13678
14272
|
}, ConfigParameters>;
|
|
13679
14273
|
headers?: {
|
|
13680
14274
|
[key: string]: string;
|
|
@@ -13714,6 +14308,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13714
14308
|
listId: string;
|
|
13715
14309
|
itemId: string;
|
|
13716
14310
|
siteId: string;
|
|
14311
|
+
} & {
|
|
14312
|
+
[key in `c_${string}`]: any;
|
|
13717
14313
|
}, ConfigParameters>;
|
|
13718
14314
|
headers?: {
|
|
13719
14315
|
[key: string]: string;
|
|
@@ -13745,6 +14341,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13745
14341
|
firstName?: string;
|
|
13746
14342
|
lastName?: string;
|
|
13747
14343
|
siteId: string;
|
|
14344
|
+
} & {
|
|
14345
|
+
[key in `c_${string}`]: any;
|
|
13748
14346
|
}, ConfigParameters>;
|
|
13749
14347
|
headers?: {
|
|
13750
14348
|
[key: string]: string;
|
|
@@ -13773,6 +14371,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13773
14371
|
firstName?: string;
|
|
13774
14372
|
lastName?: string;
|
|
13775
14373
|
siteId: string;
|
|
14374
|
+
} & {
|
|
14375
|
+
[key in `c_${string}`]: any;
|
|
13776
14376
|
}, ConfigParameters>;
|
|
13777
14377
|
headers?: {
|
|
13778
14378
|
[key: string]: string;
|
|
@@ -13799,6 +14399,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13799
14399
|
organizationId: string;
|
|
13800
14400
|
listId: string;
|
|
13801
14401
|
siteId: string;
|
|
14402
|
+
} & {
|
|
14403
|
+
[key in `c_${string}`]: any;
|
|
13802
14404
|
}, ConfigParameters>;
|
|
13803
14405
|
headers?: {
|
|
13804
14406
|
[key: string]: string;
|
|
@@ -13823,6 +14425,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13823
14425
|
organizationId: string;
|
|
13824
14426
|
listId: string;
|
|
13825
14427
|
siteId: string;
|
|
14428
|
+
} & {
|
|
14429
|
+
[key in `c_${string}`]: any;
|
|
13826
14430
|
}, ConfigParameters>;
|
|
13827
14431
|
headers?: {
|
|
13828
14432
|
[key: string]: string;
|
|
@@ -13851,6 +14455,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13851
14455
|
listId: string;
|
|
13852
14456
|
itemId: string;
|
|
13853
14457
|
siteId: string;
|
|
14458
|
+
} & {
|
|
14459
|
+
[key in `c_${string}`]: any;
|
|
13854
14460
|
}, ConfigParameters>;
|
|
13855
14461
|
headers?: {
|
|
13856
14462
|
[key: string]: string;
|
|
@@ -13877,6 +14483,8 @@ declare namespace ShopperCustomersTypes {
|
|
|
13877
14483
|
listId: string;
|
|
13878
14484
|
itemId: string;
|
|
13879
14485
|
siteId: string;
|
|
14486
|
+
} & {
|
|
14487
|
+
[key in `c_${string}`]: any;
|
|
13880
14488
|
}, ConfigParameters>;
|
|
13881
14489
|
headers?: {
|
|
13882
14490
|
[key: string]: string;
|
|
@@ -14181,6 +14789,8 @@ declare class ShopperDiscoverySearch<ConfigParameters extends ShopperDiscoverySe
|
|
|
14181
14789
|
locale: string;
|
|
14182
14790
|
offset?: any;
|
|
14183
14791
|
limit?: number;
|
|
14792
|
+
} & {
|
|
14793
|
+
[key in `c_${string}`]: any;
|
|
14184
14794
|
}, ConfigParameters>;
|
|
14185
14795
|
headers?: {
|
|
14186
14796
|
[key: string]: string;
|
|
@@ -14213,6 +14823,8 @@ declare class ShopperDiscoverySearch<ConfigParameters extends ShopperDiscoverySe
|
|
|
14213
14823
|
locale: string;
|
|
14214
14824
|
offset?: any;
|
|
14215
14825
|
limit?: number;
|
|
14826
|
+
} & {
|
|
14827
|
+
[key in `c_${string}`]: any;
|
|
14216
14828
|
}, ConfigParameters>;
|
|
14217
14829
|
headers?: {
|
|
14218
14830
|
[key: string]: string;
|
|
@@ -14246,6 +14858,8 @@ declare class ShopperDiscoverySearch<ConfigParameters extends ShopperDiscoverySe
|
|
|
14246
14858
|
suggestionTypes: Array<string>;
|
|
14247
14859
|
searchText?: string;
|
|
14248
14860
|
locale: string;
|
|
14861
|
+
} & {
|
|
14862
|
+
[key in `c_${string}`]: any;
|
|
14249
14863
|
}, ConfigParameters>;
|
|
14250
14864
|
headers?: {
|
|
14251
14865
|
[key: string]: string;
|
|
@@ -14276,6 +14890,8 @@ declare class ShopperDiscoverySearch<ConfigParameters extends ShopperDiscoverySe
|
|
|
14276
14890
|
suggestionTypes: Array<string>;
|
|
14277
14891
|
searchText?: string;
|
|
14278
14892
|
locale: string;
|
|
14893
|
+
} & {
|
|
14894
|
+
[key in `c_${string}`]: any;
|
|
14279
14895
|
}, ConfigParameters>;
|
|
14280
14896
|
headers?: {
|
|
14281
14897
|
[key: string]: string;
|
|
@@ -14849,6 +15465,8 @@ declare namespace ShopperDiscoverySearchTypes {
|
|
|
14849
15465
|
locale: string;
|
|
14850
15466
|
offset?: any;
|
|
14851
15467
|
limit?: number;
|
|
15468
|
+
} & {
|
|
15469
|
+
[key in `c_${string}`]: any;
|
|
14852
15470
|
}, ConfigParameters>;
|
|
14853
15471
|
headers?: {
|
|
14854
15472
|
[key: string]: string;
|
|
@@ -14881,6 +15499,8 @@ declare namespace ShopperDiscoverySearchTypes {
|
|
|
14881
15499
|
locale: string;
|
|
14882
15500
|
offset?: any;
|
|
14883
15501
|
limit?: number;
|
|
15502
|
+
} & {
|
|
15503
|
+
[key in `c_${string}`]: any;
|
|
14884
15504
|
}, ConfigParameters>;
|
|
14885
15505
|
headers?: {
|
|
14886
15506
|
[key: string]: string;
|
|
@@ -14914,6 +15534,8 @@ declare namespace ShopperDiscoverySearchTypes {
|
|
|
14914
15534
|
suggestionTypes: Array<string>;
|
|
14915
15535
|
searchText?: string;
|
|
14916
15536
|
locale: string;
|
|
15537
|
+
} & {
|
|
15538
|
+
[key in `c_${string}`]: any;
|
|
14917
15539
|
}, ConfigParameters>;
|
|
14918
15540
|
headers?: {
|
|
14919
15541
|
[key: string]: string;
|
|
@@ -14944,6 +15566,8 @@ declare namespace ShopperDiscoverySearchTypes {
|
|
|
14944
15566
|
suggestionTypes: Array<string>;
|
|
14945
15567
|
searchText?: string;
|
|
14946
15568
|
locale: string;
|
|
15569
|
+
} & {
|
|
15570
|
+
[key in `c_${string}`]: any;
|
|
14947
15571
|
}, ConfigParameters>;
|
|
14948
15572
|
headers?: {
|
|
14949
15573
|
[key: string]: string;
|
|
@@ -15199,6 +15823,8 @@ declare class ShopperExperience<ConfigParameters extends ShopperExperienceParame
|
|
|
15199
15823
|
parameters?: string;
|
|
15200
15824
|
siteId: string;
|
|
15201
15825
|
locale?: string;
|
|
15826
|
+
} & {
|
|
15827
|
+
[key in `c_${string}`]: any;
|
|
15202
15828
|
}, ConfigParameters>;
|
|
15203
15829
|
headers?: {
|
|
15204
15830
|
[key: string]: string;
|
|
@@ -15244,6 +15870,8 @@ declare class ShopperExperience<ConfigParameters extends ShopperExperienceParame
|
|
|
15244
15870
|
parameters?: string;
|
|
15245
15871
|
siteId: string;
|
|
15246
15872
|
locale?: string;
|
|
15873
|
+
} & {
|
|
15874
|
+
[key in `c_${string}`]: any;
|
|
15247
15875
|
}, ConfigParameters>;
|
|
15248
15876
|
headers?: {
|
|
15249
15877
|
[key: string]: string;
|
|
@@ -15285,6 +15913,8 @@ declare class ShopperExperience<ConfigParameters extends ShopperExperienceParame
|
|
|
15285
15913
|
parameters?: string;
|
|
15286
15914
|
siteId: string;
|
|
15287
15915
|
locale?: string;
|
|
15916
|
+
} & {
|
|
15917
|
+
[key in `c_${string}`]: any;
|
|
15288
15918
|
}, ConfigParameters>;
|
|
15289
15919
|
headers?: {
|
|
15290
15920
|
[key: string]: string;
|
|
@@ -15324,6 +15954,8 @@ declare class ShopperExperience<ConfigParameters extends ShopperExperienceParame
|
|
|
15324
15954
|
parameters?: string;
|
|
15325
15955
|
siteId: string;
|
|
15326
15956
|
locale?: string;
|
|
15957
|
+
} & {
|
|
15958
|
+
[key in `c_${string}`]: any;
|
|
15327
15959
|
}, ConfigParameters>;
|
|
15328
15960
|
headers?: {
|
|
15329
15961
|
[key: string]: string;
|
|
@@ -15824,6 +16456,8 @@ declare namespace ShopperExperienceTypes {
|
|
|
15824
16456
|
parameters?: string;
|
|
15825
16457
|
siteId: string;
|
|
15826
16458
|
locale?: string;
|
|
16459
|
+
} & {
|
|
16460
|
+
[key in `c_${string}`]: any;
|
|
15827
16461
|
}, ConfigParameters>;
|
|
15828
16462
|
headers?: {
|
|
15829
16463
|
[key: string]: string;
|
|
@@ -15869,6 +16503,8 @@ declare namespace ShopperExperienceTypes {
|
|
|
15869
16503
|
parameters?: string;
|
|
15870
16504
|
siteId: string;
|
|
15871
16505
|
locale?: string;
|
|
16506
|
+
} & {
|
|
16507
|
+
[key in `c_${string}`]: any;
|
|
15872
16508
|
}, ConfigParameters>;
|
|
15873
16509
|
headers?: {
|
|
15874
16510
|
[key: string]: string;
|
|
@@ -15910,6 +16546,8 @@ declare namespace ShopperExperienceTypes {
|
|
|
15910
16546
|
parameters?: string;
|
|
15911
16547
|
siteId: string;
|
|
15912
16548
|
locale?: string;
|
|
16549
|
+
} & {
|
|
16550
|
+
[key in `c_${string}`]: any;
|
|
15913
16551
|
}, ConfigParameters>;
|
|
15914
16552
|
headers?: {
|
|
15915
16553
|
[key: string]: string;
|
|
@@ -15949,6 +16587,8 @@ declare namespace ShopperExperienceTypes {
|
|
|
15949
16587
|
parameters?: string;
|
|
15950
16588
|
siteId: string;
|
|
15951
16589
|
locale?: string;
|
|
16590
|
+
} & {
|
|
16591
|
+
[key in `c_${string}`]: any;
|
|
15952
16592
|
}, ConfigParameters>;
|
|
15953
16593
|
headers?: {
|
|
15954
16594
|
[key: string]: string;
|
|
@@ -16152,6 +16792,8 @@ declare class ShopperGiftCertificates<ConfigParameters extends ShopperGiftCertif
|
|
|
16152
16792
|
parameters?: CompositeParameters<{
|
|
16153
16793
|
organizationId: string;
|
|
16154
16794
|
siteId: string;
|
|
16795
|
+
} & {
|
|
16796
|
+
[key in `c_${string}`]: any;
|
|
16155
16797
|
}, ConfigParameters>;
|
|
16156
16798
|
headers?: {
|
|
16157
16799
|
[key: string]: string;
|
|
@@ -16176,6 +16818,8 @@ declare class ShopperGiftCertificates<ConfigParameters extends ShopperGiftCertif
|
|
|
16176
16818
|
parameters?: CompositeParameters<{
|
|
16177
16819
|
organizationId: string;
|
|
16178
16820
|
siteId: string;
|
|
16821
|
+
} & {
|
|
16822
|
+
[key in `c_${string}`]: any;
|
|
16179
16823
|
}, ConfigParameters>;
|
|
16180
16824
|
headers?: {
|
|
16181
16825
|
[key: string]: string;
|
|
@@ -16625,6 +17269,8 @@ declare namespace ShopperGiftCertificatesTypes {
|
|
|
16625
17269
|
parameters?: CompositeParameters<{
|
|
16626
17270
|
organizationId: string;
|
|
16627
17271
|
siteId: string;
|
|
17272
|
+
} & {
|
|
17273
|
+
[key in `c_${string}`]: any;
|
|
16628
17274
|
}, ConfigParameters>;
|
|
16629
17275
|
headers?: {
|
|
16630
17276
|
[key: string]: string;
|
|
@@ -16649,6 +17295,8 @@ declare namespace ShopperGiftCertificatesTypes {
|
|
|
16649
17295
|
parameters?: CompositeParameters<{
|
|
16650
17296
|
organizationId: string;
|
|
16651
17297
|
siteId: string;
|
|
17298
|
+
} & {
|
|
17299
|
+
[key in `c_${string}`]: any;
|
|
16652
17300
|
}, ConfigParameters>;
|
|
16653
17301
|
headers?: {
|
|
16654
17302
|
[key: string]: string;
|
|
@@ -16677,6 +17325,7 @@ type TrustedAgentTokenRequest = {
|
|
|
16677
17325
|
grant_type: string;
|
|
16678
17326
|
login_id: string;
|
|
16679
17327
|
idp_origin: string;
|
|
17328
|
+
usid?: string;
|
|
16680
17329
|
} & {
|
|
16681
17330
|
[key: string]: any;
|
|
16682
17331
|
};
|
|
@@ -16900,6 +17549,7 @@ type ShopperLoginQueryParameters = {
|
|
|
16900
17549
|
state?: string;
|
|
16901
17550
|
usid?: string;
|
|
16902
17551
|
code_challenge?: string;
|
|
17552
|
+
ui_locales?: string;
|
|
16903
17553
|
login_id?: string;
|
|
16904
17554
|
idp_origin?: string;
|
|
16905
17555
|
};
|
|
@@ -16930,7 +17580,7 @@ type ShopperLoginParameters = ShopperLoginPathParameters & BaseUriParameters & S
|
|
|
16930
17580
|
* ```
|
|
16931
17581
|
*
|
|
16932
17582
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
16933
|
-
* API Version: 1.39.
|
|
17583
|
+
* API Version: 1.39.20<br />
|
|
16934
17584
|
* Last Updated: <br />
|
|
16935
17585
|
* </span>
|
|
16936
17586
|
|
|
@@ -16977,6 +17627,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
16977
17627
|
authenticateCustomer(options: RequireParametersUnlessAllAreOptional<{
|
|
16978
17628
|
parameters?: CompositeParameters<{
|
|
16979
17629
|
organizationId: string;
|
|
17630
|
+
} & {
|
|
17631
|
+
[key in `c_${string}`]: any;
|
|
16980
17632
|
}, ConfigParameters>;
|
|
16981
17633
|
headers?: {
|
|
16982
17634
|
[key: string]: string;
|
|
@@ -17014,6 +17666,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17014
17666
|
authenticateCustomer<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17015
17667
|
parameters?: CompositeParameters<{
|
|
17016
17668
|
organizationId: string;
|
|
17669
|
+
} & {
|
|
17670
|
+
[key in `c_${string}`]: any;
|
|
17017
17671
|
}, ConfigParameters>;
|
|
17018
17672
|
headers?: {
|
|
17019
17673
|
[key: string]: string;
|
|
@@ -17038,6 +17692,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17038
17692
|
authorizePasswordlessCustomer(options: RequireParametersUnlessAllAreOptional<{
|
|
17039
17693
|
parameters?: CompositeParameters<{
|
|
17040
17694
|
organizationId: string;
|
|
17695
|
+
} & {
|
|
17696
|
+
[key in `c_${string}`]: any;
|
|
17041
17697
|
}, ConfigParameters>;
|
|
17042
17698
|
headers?: {
|
|
17043
17699
|
[key: string]: string;
|
|
@@ -17060,6 +17716,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17060
17716
|
authorizePasswordlessCustomer<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17061
17717
|
parameters?: CompositeParameters<{
|
|
17062
17718
|
organizationId: string;
|
|
17719
|
+
} & {
|
|
17720
|
+
[key in `c_${string}`]: any;
|
|
17063
17721
|
}, ConfigParameters>;
|
|
17064
17722
|
headers?: {
|
|
17065
17723
|
[key: string]: string;
|
|
@@ -17095,6 +17753,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17095
17753
|
refresh_token: string;
|
|
17096
17754
|
channel_id?: string;
|
|
17097
17755
|
hint?: string;
|
|
17756
|
+
} & {
|
|
17757
|
+
[key in `c_${string}`]: any;
|
|
17098
17758
|
}, ConfigParameters>;
|
|
17099
17759
|
headers?: {
|
|
17100
17760
|
[key: string]: string;
|
|
@@ -17127,6 +17787,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17127
17787
|
refresh_token: string;
|
|
17128
17788
|
channel_id?: string;
|
|
17129
17789
|
hint?: string;
|
|
17790
|
+
} & {
|
|
17791
|
+
[key in `c_${string}`]: any;
|
|
17130
17792
|
}, ConfigParameters>;
|
|
17131
17793
|
headers?: {
|
|
17132
17794
|
[key: string]: string;
|
|
@@ -17164,6 +17826,9 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17164
17826
|
The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.
|
|
17165
17827
|
|
|
17166
17828
|
The `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.
|
|
17829
|
+
* @param ui_locales - End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For example, the value `fr-CA fr en` represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation).
|
|
17830
|
+
|
|
17831
|
+
In most cases the IDP supports one language tag and has a default language set on the server. SLAS will support the space-separated list and pass them to the IDP.
|
|
17167
17832
|
* @param headers - An object literal of key value pairs of the headers to be
|
|
17168
17833
|
* sent with this request.
|
|
17169
17834
|
*
|
|
@@ -17182,6 +17847,9 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17182
17847
|
hint?: string;
|
|
17183
17848
|
channel_id?: string;
|
|
17184
17849
|
code_challenge: string;
|
|
17850
|
+
ui_locales?: string;
|
|
17851
|
+
} & {
|
|
17852
|
+
[key in `c_${string}`]: any;
|
|
17185
17853
|
}, ConfigParameters>;
|
|
17186
17854
|
headers?: {
|
|
17187
17855
|
[key: string]: string;
|
|
@@ -17217,6 +17885,9 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17217
17885
|
The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.
|
|
17218
17886
|
|
|
17219
17887
|
The `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.
|
|
17888
|
+
* @param ui_locales - End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For example, the value `fr-CA fr en` represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation).
|
|
17889
|
+
|
|
17890
|
+
In most cases the IDP supports one language tag and has a default language set on the server. SLAS will support the space-separated list and pass them to the IDP.
|
|
17220
17891
|
* @param headers - An object literal of key value pairs of the headers to be
|
|
17221
17892
|
* sent with this request.
|
|
17222
17893
|
* @param rawResponse - Set to true to return entire Response object instead of DTO.
|
|
@@ -17235,6 +17906,9 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17235
17906
|
hint?: string;
|
|
17236
17907
|
channel_id?: string;
|
|
17237
17908
|
code_challenge: string;
|
|
17909
|
+
ui_locales?: string;
|
|
17910
|
+
} & {
|
|
17911
|
+
[key in `c_${string}`]: any;
|
|
17238
17912
|
}, ConfigParameters>;
|
|
17239
17913
|
headers?: {
|
|
17240
17914
|
[key: string]: string;
|
|
@@ -17270,6 +17944,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17270
17944
|
getAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17271
17945
|
parameters?: CompositeParameters<{
|
|
17272
17946
|
organizationId: string;
|
|
17947
|
+
} & {
|
|
17948
|
+
[key in `c_${string}`]: any;
|
|
17273
17949
|
}, ConfigParameters>;
|
|
17274
17950
|
headers?: {
|
|
17275
17951
|
[key: string]: string;
|
|
@@ -17304,6 +17980,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17304
17980
|
getAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17305
17981
|
parameters?: CompositeParameters<{
|
|
17306
17982
|
organizationId: string;
|
|
17983
|
+
} & {
|
|
17984
|
+
[key in `c_${string}`]: any;
|
|
17307
17985
|
}, ConfigParameters>;
|
|
17308
17986
|
headers?: {
|
|
17309
17987
|
[key: string]: string;
|
|
@@ -17316,6 +17994,10 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17316
17994
|
For public client id requests the grant_type must be set to `session_bridge`.
|
|
17317
17995
|
|
|
17318
17996
|
For private client_id and secret the grant_type must be set to `client_credentials` along with a basic authorization header.
|
|
17997
|
+
|
|
17998
|
+
**DEPRECATED** - As of January 31, 2024, SLAS will no longer support the SESB `dwsid` parameter for `guest` users for `session-bridge/token` calls. It is recommended to transition over to using a SESB `dwsgst` token.
|
|
17999
|
+
|
|
18000
|
+
The `dwsid` will still be needed for `registered` user `session-bridge/token` calls.
|
|
17319
18001
|
*
|
|
17320
18002
|
* If you would like to get a raw Response object use the other getSessionBridgeAccessToken function.
|
|
17321
18003
|
*
|
|
@@ -17332,6 +18014,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17332
18014
|
getSessionBridgeAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17333
18015
|
parameters?: CompositeParameters<{
|
|
17334
18016
|
organizationId: string;
|
|
18017
|
+
} & {
|
|
18018
|
+
[key in `c_${string}`]: any;
|
|
17335
18019
|
}, ConfigParameters>;
|
|
17336
18020
|
headers?: {
|
|
17337
18021
|
[key: string]: string;
|
|
@@ -17344,6 +18028,10 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17344
18028
|
For public client id requests the grant_type must be set to `session_bridge`.
|
|
17345
18029
|
|
|
17346
18030
|
For private client_id and secret the grant_type must be set to `client_credentials` along with a basic authorization header.
|
|
18031
|
+
|
|
18032
|
+
**DEPRECATED** - As of January 31, 2024, SLAS will no longer support the SESB `dwsid` parameter for `guest` users for `session-bridge/token` calls. It is recommended to transition over to using a SESB `dwsgst` token.
|
|
18033
|
+
|
|
18034
|
+
The `dwsid` will still be needed for `registered` user `session-bridge/token` calls.
|
|
17347
18035
|
*
|
|
17348
18036
|
* @param options - An object containing the options for this method.
|
|
17349
18037
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -17358,6 +18046,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17358
18046
|
getSessionBridgeAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17359
18047
|
parameters?: CompositeParameters<{
|
|
17360
18048
|
organizationId: string;
|
|
18049
|
+
} & {
|
|
18050
|
+
[key in `c_${string}`]: any;
|
|
17361
18051
|
}, ConfigParameters>;
|
|
17362
18052
|
headers?: {
|
|
17363
18053
|
[key: string]: string;
|
|
@@ -17367,9 +18057,7 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17367
18057
|
/**
|
|
17368
18058
|
* Get a shopper JWT access token for a registered customer whose credentials are stored using a third party system.
|
|
17369
18059
|
|
|
17370
|
-
For
|
|
17371
|
-
|
|
17372
|
-
For internal trusted-system requests, the bearer token must be a C2C JWT.
|
|
18060
|
+
For trusted-system requests, a basic authorization header that includes a SLAS client ID and SLAS client secret can be used in place of the bearer token.
|
|
17373
18061
|
*
|
|
17374
18062
|
* If you would like to get a raw Response object use the other getTrustedSystemAccessToken function.
|
|
17375
18063
|
*
|
|
@@ -17386,6 +18074,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17386
18074
|
getTrustedSystemAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17387
18075
|
parameters?: CompositeParameters<{
|
|
17388
18076
|
organizationId: string;
|
|
18077
|
+
} & {
|
|
18078
|
+
[key in `c_${string}`]: any;
|
|
17389
18079
|
}, ConfigParameters>;
|
|
17390
18080
|
headers?: {
|
|
17391
18081
|
[key: string]: string;
|
|
@@ -17395,9 +18085,7 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17395
18085
|
/**
|
|
17396
18086
|
* Get a shopper JWT access token for a registered customer whose credentials are stored using a third party system.
|
|
17397
18087
|
|
|
17398
|
-
For
|
|
17399
|
-
|
|
17400
|
-
For internal trusted-system requests, the bearer token must be a C2C JWT.
|
|
18088
|
+
For trusted-system requests, a basic authorization header that includes a SLAS client ID and SLAS client secret can be used in place of the bearer token.
|
|
17401
18089
|
*
|
|
17402
18090
|
* @param options - An object containing the options for this method.
|
|
17403
18091
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -17412,6 +18100,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17412
18100
|
getTrustedSystemAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17413
18101
|
parameters?: CompositeParameters<{
|
|
17414
18102
|
organizationId: string;
|
|
18103
|
+
} & {
|
|
18104
|
+
[key in `c_${string}`]: any;
|
|
17415
18105
|
}, ConfigParameters>;
|
|
17416
18106
|
headers?: {
|
|
17417
18107
|
[key: string]: string;
|
|
@@ -17426,7 +18116,7 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17426
18116
|
* @param options - An object containing the options for this method.
|
|
17427
18117
|
* @param parameters - An object containing the parameters for this method.
|
|
17428
18118
|
* @param organizationId -
|
|
17429
|
-
* @param client_id - The SLAS public client ID or SLAS private client ID for use with
|
|
18119
|
+
* @param client_id - The SLAS public client ID or SLAS private client ID for use with trusted-agent requests. When using a private client ID a PKCE code challenge is not required.
|
|
17430
18120
|
* @param channel_id - The channel (ECOM site) that the user is associated with.
|
|
17431
18121
|
* @param code_challenge - PKCE code challenge. Created by the caller.
|
|
17432
18122
|
|
|
@@ -17460,6 +18150,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17460
18150
|
idp_origin: string;
|
|
17461
18151
|
redirect_uri: string;
|
|
17462
18152
|
response_type: string;
|
|
18153
|
+
} & {
|
|
18154
|
+
[key in `c_${string}`]: any;
|
|
17463
18155
|
}, ConfigParameters>;
|
|
17464
18156
|
headers?: {
|
|
17465
18157
|
[key: string]: string;
|
|
@@ -17471,7 +18163,7 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17471
18163
|
* @param options - An object containing the options for this method.
|
|
17472
18164
|
* @param parameters - An object containing the parameters for this method.
|
|
17473
18165
|
* @param organizationId -
|
|
17474
|
-
* @param client_id - The SLAS public client ID or SLAS private client ID for use with
|
|
18166
|
+
* @param client_id - The SLAS public client ID or SLAS private client ID for use with trusted-agent requests. When using a private client ID a PKCE code challenge is not required.
|
|
17475
18167
|
* @param channel_id - The channel (ECOM site) that the user is associated with.
|
|
17476
18168
|
* @param code_challenge - PKCE code challenge. Created by the caller.
|
|
17477
18169
|
|
|
@@ -17505,6 +18197,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17505
18197
|
idp_origin: string;
|
|
17506
18198
|
redirect_uri: string;
|
|
17507
18199
|
response_type: string;
|
|
18200
|
+
} & {
|
|
18201
|
+
[key in `c_${string}`]: any;
|
|
17508
18202
|
}, ConfigParameters>;
|
|
17509
18203
|
headers?: {
|
|
17510
18204
|
[key: string]: string;
|
|
@@ -17532,6 +18226,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17532
18226
|
getTrustedAgentAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17533
18227
|
parameters?: CompositeParameters<{
|
|
17534
18228
|
organizationId: string;
|
|
18229
|
+
} & {
|
|
18230
|
+
[key in `c_${string}`]: any;
|
|
17535
18231
|
}, ConfigParameters>;
|
|
17536
18232
|
headers?: {
|
|
17537
18233
|
[key: string]: string;
|
|
@@ -17558,6 +18254,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17558
18254
|
getTrustedAgentAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17559
18255
|
parameters?: CompositeParameters<{
|
|
17560
18256
|
organizationId: string;
|
|
18257
|
+
} & {
|
|
18258
|
+
[key in `c_${string}`]: any;
|
|
17561
18259
|
}, ConfigParameters>;
|
|
17562
18260
|
headers?: {
|
|
17563
18261
|
[key: string]: string;
|
|
@@ -17582,6 +18280,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17582
18280
|
getPasswordResetToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17583
18281
|
parameters?: CompositeParameters<{
|
|
17584
18282
|
organizationId: string;
|
|
18283
|
+
} & {
|
|
18284
|
+
[key in `c_${string}`]: any;
|
|
17585
18285
|
}, ConfigParameters>;
|
|
17586
18286
|
headers?: {
|
|
17587
18287
|
[key: string]: string;
|
|
@@ -17604,6 +18304,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17604
18304
|
getPasswordResetToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17605
18305
|
parameters?: CompositeParameters<{
|
|
17606
18306
|
organizationId: string;
|
|
18307
|
+
} & {
|
|
18308
|
+
[key in `c_${string}`]: any;
|
|
17607
18309
|
}, ConfigParameters>;
|
|
17608
18310
|
headers?: {
|
|
17609
18311
|
[key: string]: string;
|
|
@@ -17628,6 +18330,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17628
18330
|
resetPassword(options: RequireParametersUnlessAllAreOptional<{
|
|
17629
18331
|
parameters?: CompositeParameters<{
|
|
17630
18332
|
organizationId: string;
|
|
18333
|
+
} & {
|
|
18334
|
+
[key in `c_${string}`]: any;
|
|
17631
18335
|
}, ConfigParameters>;
|
|
17632
18336
|
headers?: {
|
|
17633
18337
|
[key: string]: string;
|
|
@@ -17650,6 +18354,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17650
18354
|
resetPassword<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17651
18355
|
parameters?: CompositeParameters<{
|
|
17652
18356
|
organizationId: string;
|
|
18357
|
+
} & {
|
|
18358
|
+
[key in `c_${string}`]: any;
|
|
17653
18359
|
}, ConfigParameters>;
|
|
17654
18360
|
headers?: {
|
|
17655
18361
|
[key: string]: string;
|
|
@@ -17674,6 +18380,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17674
18380
|
getPasswordLessAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17675
18381
|
parameters?: CompositeParameters<{
|
|
17676
18382
|
organizationId: string;
|
|
18383
|
+
} & {
|
|
18384
|
+
[key in `c_${string}`]: any;
|
|
17677
18385
|
}, ConfigParameters>;
|
|
17678
18386
|
headers?: {
|
|
17679
18387
|
[key: string]: string;
|
|
@@ -17696,6 +18404,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17696
18404
|
getPasswordLessAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17697
18405
|
parameters?: CompositeParameters<{
|
|
17698
18406
|
organizationId: string;
|
|
18407
|
+
} & {
|
|
18408
|
+
[key in `c_${string}`]: any;
|
|
17699
18409
|
}, ConfigParameters>;
|
|
17700
18410
|
headers?: {
|
|
17701
18411
|
[key: string]: string;
|
|
@@ -17720,6 +18430,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17720
18430
|
revokeToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17721
18431
|
parameters?: CompositeParameters<{
|
|
17722
18432
|
organizationId: string;
|
|
18433
|
+
} & {
|
|
18434
|
+
[key in `c_${string}`]: any;
|
|
17723
18435
|
}, ConfigParameters>;
|
|
17724
18436
|
headers?: {
|
|
17725
18437
|
[key: string]: string;
|
|
@@ -17742,6 +18454,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17742
18454
|
revokeToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17743
18455
|
parameters?: CompositeParameters<{
|
|
17744
18456
|
organizationId: string;
|
|
18457
|
+
} & {
|
|
18458
|
+
[key in `c_${string}`]: any;
|
|
17745
18459
|
}, ConfigParameters>;
|
|
17746
18460
|
headers?: {
|
|
17747
18461
|
[key: string]: string;
|
|
@@ -17766,6 +18480,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17766
18480
|
introspectToken(options: RequireParametersUnlessAllAreOptional<{
|
|
17767
18481
|
parameters?: CompositeParameters<{
|
|
17768
18482
|
organizationId: string;
|
|
18483
|
+
} & {
|
|
18484
|
+
[key in `c_${string}`]: any;
|
|
17769
18485
|
}, ConfigParameters>;
|
|
17770
18486
|
headers?: {
|
|
17771
18487
|
[key: string]: string;
|
|
@@ -17788,6 +18504,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17788
18504
|
introspectToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
17789
18505
|
parameters?: CompositeParameters<{
|
|
17790
18506
|
organizationId: string;
|
|
18507
|
+
} & {
|
|
18508
|
+
[key in `c_${string}`]: any;
|
|
17791
18509
|
}, ConfigParameters>;
|
|
17792
18510
|
headers?: {
|
|
17793
18511
|
[key: string]: string;
|
|
@@ -17813,6 +18531,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17813
18531
|
parameters?: CompositeParameters<{
|
|
17814
18532
|
organizationId: string;
|
|
17815
18533
|
channel_id?: string;
|
|
18534
|
+
} & {
|
|
18535
|
+
[key in `c_${string}`]: any;
|
|
17816
18536
|
}, ConfigParameters>;
|
|
17817
18537
|
headers?: {
|
|
17818
18538
|
[key: string]: string;
|
|
@@ -17835,6 +18555,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17835
18555
|
parameters?: CompositeParameters<{
|
|
17836
18556
|
organizationId: string;
|
|
17837
18557
|
channel_id?: string;
|
|
18558
|
+
} & {
|
|
18559
|
+
[key in `c_${string}`]: any;
|
|
17838
18560
|
}, ConfigParameters>;
|
|
17839
18561
|
headers?: {
|
|
17840
18562
|
[key: string]: string;
|
|
@@ -17860,6 +18582,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17860
18582
|
getWellknownOpenidConfiguration(options?: RequireParametersUnlessAllAreOptional<{
|
|
17861
18583
|
parameters?: CompositeParameters<{
|
|
17862
18584
|
organizationId: string;
|
|
18585
|
+
} & {
|
|
18586
|
+
[key in `c_${string}`]: any;
|
|
17863
18587
|
}, ConfigParameters>;
|
|
17864
18588
|
headers?: {
|
|
17865
18589
|
[key: string]: string;
|
|
@@ -17883,6 +18607,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17883
18607
|
getWellknownOpenidConfiguration<T extends boolean>(options?: RequireParametersUnlessAllAreOptional<{
|
|
17884
18608
|
parameters?: CompositeParameters<{
|
|
17885
18609
|
organizationId: string;
|
|
18610
|
+
} & {
|
|
18611
|
+
[key in `c_${string}`]: any;
|
|
17886
18612
|
}, ConfigParameters>;
|
|
17887
18613
|
headers?: {
|
|
17888
18614
|
[key: string]: string;
|
|
@@ -17908,6 +18634,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17908
18634
|
getJwksUri(options?: RequireParametersUnlessAllAreOptional<{
|
|
17909
18635
|
parameters?: CompositeParameters<{
|
|
17910
18636
|
organizationId: string;
|
|
18637
|
+
} & {
|
|
18638
|
+
[key in `c_${string}`]: any;
|
|
17911
18639
|
}, ConfigParameters>;
|
|
17912
18640
|
headers?: {
|
|
17913
18641
|
[key: string]: string;
|
|
@@ -17931,6 +18659,8 @@ declare class ShopperLogin<ConfigParameters extends ShopperLoginParameters & Rec
|
|
|
17931
18659
|
getJwksUri<T extends boolean>(options?: RequireParametersUnlessAllAreOptional<{
|
|
17932
18660
|
parameters?: CompositeParameters<{
|
|
17933
18661
|
organizationId: string;
|
|
18662
|
+
} & {
|
|
18663
|
+
[key in `c_${string}`]: any;
|
|
17934
18664
|
}, ConfigParameters>;
|
|
17935
18665
|
headers?: {
|
|
17936
18666
|
[key: string]: string;
|
|
@@ -18048,6 +18778,7 @@ declare namespace ShopperLoginTypes {
|
|
|
18048
18778
|
grant_type: string;
|
|
18049
18779
|
login_id: string;
|
|
18050
18780
|
idp_origin: string;
|
|
18781
|
+
usid?: string;
|
|
18051
18782
|
} & {
|
|
18052
18783
|
[key: string]: any;
|
|
18053
18784
|
};
|
|
@@ -18444,6 +19175,7 @@ declare namespace ShopperLoginTypes {
|
|
|
18444
19175
|
state?: string;
|
|
18445
19176
|
usid?: string;
|
|
18446
19177
|
code_challenge?: string;
|
|
19178
|
+
ui_locales?: string;
|
|
18447
19179
|
login_id?: string;
|
|
18448
19180
|
idp_origin?: string;
|
|
18449
19181
|
};
|
|
@@ -18474,7 +19206,7 @@ declare namespace ShopperLoginTypes {
|
|
|
18474
19206
|
* ```
|
|
18475
19207
|
*
|
|
18476
19208
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
18477
|
-
* API Version: 1.39.
|
|
19209
|
+
* API Version: 1.39.20<br />
|
|
18478
19210
|
* Last Updated: <br />
|
|
18479
19211
|
* </span>
|
|
18480
19212
|
|
|
@@ -18521,6 +19253,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18521
19253
|
authenticateCustomer(options: RequireParametersUnlessAllAreOptional<{
|
|
18522
19254
|
parameters?: CompositeParameters<{
|
|
18523
19255
|
organizationId: string;
|
|
19256
|
+
} & {
|
|
19257
|
+
[key in `c_${string}`]: any;
|
|
18524
19258
|
}, ConfigParameters>;
|
|
18525
19259
|
headers?: {
|
|
18526
19260
|
[key: string]: string;
|
|
@@ -18558,6 +19292,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18558
19292
|
authenticateCustomer<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
18559
19293
|
parameters?: CompositeParameters<{
|
|
18560
19294
|
organizationId: string;
|
|
19295
|
+
} & {
|
|
19296
|
+
[key in `c_${string}`]: any;
|
|
18561
19297
|
}, ConfigParameters>;
|
|
18562
19298
|
headers?: {
|
|
18563
19299
|
[key: string]: string;
|
|
@@ -18582,6 +19318,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18582
19318
|
authorizePasswordlessCustomer(options: RequireParametersUnlessAllAreOptional<{
|
|
18583
19319
|
parameters?: CompositeParameters<{
|
|
18584
19320
|
organizationId: string;
|
|
19321
|
+
} & {
|
|
19322
|
+
[key in `c_${string}`]: any;
|
|
18585
19323
|
}, ConfigParameters>;
|
|
18586
19324
|
headers?: {
|
|
18587
19325
|
[key: string]: string;
|
|
@@ -18604,6 +19342,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18604
19342
|
authorizePasswordlessCustomer<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
18605
19343
|
parameters?: CompositeParameters<{
|
|
18606
19344
|
organizationId: string;
|
|
19345
|
+
} & {
|
|
19346
|
+
[key in `c_${string}`]: any;
|
|
18607
19347
|
}, ConfigParameters>;
|
|
18608
19348
|
headers?: {
|
|
18609
19349
|
[key: string]: string;
|
|
@@ -18639,6 +19379,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18639
19379
|
refresh_token: string;
|
|
18640
19380
|
channel_id?: string;
|
|
18641
19381
|
hint?: string;
|
|
19382
|
+
} & {
|
|
19383
|
+
[key in `c_${string}`]: any;
|
|
18642
19384
|
}, ConfigParameters>;
|
|
18643
19385
|
headers?: {
|
|
18644
19386
|
[key: string]: string;
|
|
@@ -18671,6 +19413,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18671
19413
|
refresh_token: string;
|
|
18672
19414
|
channel_id?: string;
|
|
18673
19415
|
hint?: string;
|
|
19416
|
+
} & {
|
|
19417
|
+
[key in `c_${string}`]: any;
|
|
18674
19418
|
}, ConfigParameters>;
|
|
18675
19419
|
headers?: {
|
|
18676
19420
|
[key: string]: string;
|
|
@@ -18708,6 +19452,9 @@ declare namespace ShopperLoginTypes {
|
|
|
18708
19452
|
The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.
|
|
18709
19453
|
|
|
18710
19454
|
The `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.
|
|
19455
|
+
* @param ui_locales - End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For example, the value `fr-CA fr en` represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation).
|
|
19456
|
+
|
|
19457
|
+
In most cases the IDP supports one language tag and has a default language set on the server. SLAS will support the space-separated list and pass them to the IDP.
|
|
18711
19458
|
* @param headers - An object literal of key value pairs of the headers to be
|
|
18712
19459
|
* sent with this request.
|
|
18713
19460
|
*
|
|
@@ -18726,6 +19473,9 @@ declare namespace ShopperLoginTypes {
|
|
|
18726
19473
|
hint?: string;
|
|
18727
19474
|
channel_id?: string;
|
|
18728
19475
|
code_challenge: string;
|
|
19476
|
+
ui_locales?: string;
|
|
19477
|
+
} & {
|
|
19478
|
+
[key in `c_${string}`]: any;
|
|
18729
19479
|
}, ConfigParameters>;
|
|
18730
19480
|
headers?: {
|
|
18731
19481
|
[key: string]: string;
|
|
@@ -18761,6 +19511,9 @@ declare namespace ShopperLoginTypes {
|
|
|
18761
19511
|
The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.
|
|
18762
19512
|
|
|
18763
19513
|
The `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.
|
|
19514
|
+
* @param ui_locales - End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For example, the value `fr-CA fr en` represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation).
|
|
19515
|
+
|
|
19516
|
+
In most cases the IDP supports one language tag and has a default language set on the server. SLAS will support the space-separated list and pass them to the IDP.
|
|
18764
19517
|
* @param headers - An object literal of key value pairs of the headers to be
|
|
18765
19518
|
* sent with this request.
|
|
18766
19519
|
* @param rawResponse - Set to true to return entire Response object instead of DTO.
|
|
@@ -18779,6 +19532,9 @@ declare namespace ShopperLoginTypes {
|
|
|
18779
19532
|
hint?: string;
|
|
18780
19533
|
channel_id?: string;
|
|
18781
19534
|
code_challenge: string;
|
|
19535
|
+
ui_locales?: string;
|
|
19536
|
+
} & {
|
|
19537
|
+
[key in `c_${string}`]: any;
|
|
18782
19538
|
}, ConfigParameters>;
|
|
18783
19539
|
headers?: {
|
|
18784
19540
|
[key: string]: string;
|
|
@@ -18814,6 +19570,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18814
19570
|
getAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
18815
19571
|
parameters?: CompositeParameters<{
|
|
18816
19572
|
organizationId: string;
|
|
19573
|
+
} & {
|
|
19574
|
+
[key in `c_${string}`]: any;
|
|
18817
19575
|
}, ConfigParameters>;
|
|
18818
19576
|
headers?: {
|
|
18819
19577
|
[key: string]: string;
|
|
@@ -18848,6 +19606,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18848
19606
|
getAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
18849
19607
|
parameters?: CompositeParameters<{
|
|
18850
19608
|
organizationId: string;
|
|
19609
|
+
} & {
|
|
19610
|
+
[key in `c_${string}`]: any;
|
|
18851
19611
|
}, ConfigParameters>;
|
|
18852
19612
|
headers?: {
|
|
18853
19613
|
[key: string]: string;
|
|
@@ -18860,6 +19620,10 @@ declare namespace ShopperLoginTypes {
|
|
|
18860
19620
|
For public client id requests the grant_type must be set to `session_bridge`.
|
|
18861
19621
|
|
|
18862
19622
|
For private client_id and secret the grant_type must be set to `client_credentials` along with a basic authorization header.
|
|
19623
|
+
|
|
19624
|
+
**DEPRECATED** - As of January 31, 2024, SLAS will no longer support the SESB `dwsid` parameter for `guest` users for `session-bridge/token` calls. It is recommended to transition over to using a SESB `dwsgst` token.
|
|
19625
|
+
|
|
19626
|
+
The `dwsid` will still be needed for `registered` user `session-bridge/token` calls.
|
|
18863
19627
|
*
|
|
18864
19628
|
* If you would like to get a raw Response object use the other getSessionBridgeAccessToken function.
|
|
18865
19629
|
*
|
|
@@ -18876,6 +19640,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18876
19640
|
getSessionBridgeAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
18877
19641
|
parameters?: CompositeParameters<{
|
|
18878
19642
|
organizationId: string;
|
|
19643
|
+
} & {
|
|
19644
|
+
[key in `c_${string}`]: any;
|
|
18879
19645
|
}, ConfigParameters>;
|
|
18880
19646
|
headers?: {
|
|
18881
19647
|
[key: string]: string;
|
|
@@ -18888,6 +19654,10 @@ declare namespace ShopperLoginTypes {
|
|
|
18888
19654
|
For public client id requests the grant_type must be set to `session_bridge`.
|
|
18889
19655
|
|
|
18890
19656
|
For private client_id and secret the grant_type must be set to `client_credentials` along with a basic authorization header.
|
|
19657
|
+
|
|
19658
|
+
**DEPRECATED** - As of January 31, 2024, SLAS will no longer support the SESB `dwsid` parameter for `guest` users for `session-bridge/token` calls. It is recommended to transition over to using a SESB `dwsgst` token.
|
|
19659
|
+
|
|
19660
|
+
The `dwsid` will still be needed for `registered` user `session-bridge/token` calls.
|
|
18891
19661
|
*
|
|
18892
19662
|
* @param options - An object containing the options for this method.
|
|
18893
19663
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -18902,6 +19672,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18902
19672
|
getSessionBridgeAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
18903
19673
|
parameters?: CompositeParameters<{
|
|
18904
19674
|
organizationId: string;
|
|
19675
|
+
} & {
|
|
19676
|
+
[key in `c_${string}`]: any;
|
|
18905
19677
|
}, ConfigParameters>;
|
|
18906
19678
|
headers?: {
|
|
18907
19679
|
[key: string]: string;
|
|
@@ -18911,9 +19683,7 @@ declare namespace ShopperLoginTypes {
|
|
|
18911
19683
|
/**
|
|
18912
19684
|
* Get a shopper JWT access token for a registered customer whose credentials are stored using a third party system.
|
|
18913
19685
|
|
|
18914
|
-
For
|
|
18915
|
-
|
|
18916
|
-
For internal trusted-system requests, the bearer token must be a C2C JWT.
|
|
19686
|
+
For trusted-system requests, a basic authorization header that includes a SLAS client ID and SLAS client secret can be used in place of the bearer token.
|
|
18917
19687
|
*
|
|
18918
19688
|
* If you would like to get a raw Response object use the other getTrustedSystemAccessToken function.
|
|
18919
19689
|
*
|
|
@@ -18930,6 +19700,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18930
19700
|
getTrustedSystemAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
18931
19701
|
parameters?: CompositeParameters<{
|
|
18932
19702
|
organizationId: string;
|
|
19703
|
+
} & {
|
|
19704
|
+
[key in `c_${string}`]: any;
|
|
18933
19705
|
}, ConfigParameters>;
|
|
18934
19706
|
headers?: {
|
|
18935
19707
|
[key: string]: string;
|
|
@@ -18939,9 +19711,7 @@ declare namespace ShopperLoginTypes {
|
|
|
18939
19711
|
/**
|
|
18940
19712
|
* Get a shopper JWT access token for a registered customer whose credentials are stored using a third party system.
|
|
18941
19713
|
|
|
18942
|
-
For
|
|
18943
|
-
|
|
18944
|
-
For internal trusted-system requests, the bearer token must be a C2C JWT.
|
|
19714
|
+
For trusted-system requests, a basic authorization header that includes a SLAS client ID and SLAS client secret can be used in place of the bearer token.
|
|
18945
19715
|
*
|
|
18946
19716
|
* @param options - An object containing the options for this method.
|
|
18947
19717
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -18956,6 +19726,8 @@ declare namespace ShopperLoginTypes {
|
|
|
18956
19726
|
getTrustedSystemAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
18957
19727
|
parameters?: CompositeParameters<{
|
|
18958
19728
|
organizationId: string;
|
|
19729
|
+
} & {
|
|
19730
|
+
[key in `c_${string}`]: any;
|
|
18959
19731
|
}, ConfigParameters>;
|
|
18960
19732
|
headers?: {
|
|
18961
19733
|
[key: string]: string;
|
|
@@ -18970,7 +19742,7 @@ declare namespace ShopperLoginTypes {
|
|
|
18970
19742
|
* @param options - An object containing the options for this method.
|
|
18971
19743
|
* @param parameters - An object containing the parameters for this method.
|
|
18972
19744
|
* @param organizationId -
|
|
18973
|
-
* @param client_id - The SLAS public client ID or SLAS private client ID for use with
|
|
19745
|
+
* @param client_id - The SLAS public client ID or SLAS private client ID for use with trusted-agent requests. When using a private client ID a PKCE code challenge is not required.
|
|
18974
19746
|
* @param channel_id - The channel (ECOM site) that the user is associated with.
|
|
18975
19747
|
* @param code_challenge - PKCE code challenge. Created by the caller.
|
|
18976
19748
|
|
|
@@ -19004,6 +19776,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19004
19776
|
idp_origin: string;
|
|
19005
19777
|
redirect_uri: string;
|
|
19006
19778
|
response_type: string;
|
|
19779
|
+
} & {
|
|
19780
|
+
[key in `c_${string}`]: any;
|
|
19007
19781
|
}, ConfigParameters>;
|
|
19008
19782
|
headers?: {
|
|
19009
19783
|
[key: string]: string;
|
|
@@ -19015,7 +19789,7 @@ declare namespace ShopperLoginTypes {
|
|
|
19015
19789
|
* @param options - An object containing the options for this method.
|
|
19016
19790
|
* @param parameters - An object containing the parameters for this method.
|
|
19017
19791
|
* @param organizationId -
|
|
19018
|
-
* @param client_id - The SLAS public client ID or SLAS private client ID for use with
|
|
19792
|
+
* @param client_id - The SLAS public client ID or SLAS private client ID for use with trusted-agent requests. When using a private client ID a PKCE code challenge is not required.
|
|
19019
19793
|
* @param channel_id - The channel (ECOM site) that the user is associated with.
|
|
19020
19794
|
* @param code_challenge - PKCE code challenge. Created by the caller.
|
|
19021
19795
|
|
|
@@ -19049,6 +19823,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19049
19823
|
idp_origin: string;
|
|
19050
19824
|
redirect_uri: string;
|
|
19051
19825
|
response_type: string;
|
|
19826
|
+
} & {
|
|
19827
|
+
[key in `c_${string}`]: any;
|
|
19052
19828
|
}, ConfigParameters>;
|
|
19053
19829
|
headers?: {
|
|
19054
19830
|
[key: string]: string;
|
|
@@ -19076,6 +19852,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19076
19852
|
getTrustedAgentAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
19077
19853
|
parameters?: CompositeParameters<{
|
|
19078
19854
|
organizationId: string;
|
|
19855
|
+
} & {
|
|
19856
|
+
[key in `c_${string}`]: any;
|
|
19079
19857
|
}, ConfigParameters>;
|
|
19080
19858
|
headers?: {
|
|
19081
19859
|
[key: string]: string;
|
|
@@ -19102,6 +19880,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19102
19880
|
getTrustedAgentAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
19103
19881
|
parameters?: CompositeParameters<{
|
|
19104
19882
|
organizationId: string;
|
|
19883
|
+
} & {
|
|
19884
|
+
[key in `c_${string}`]: any;
|
|
19105
19885
|
}, ConfigParameters>;
|
|
19106
19886
|
headers?: {
|
|
19107
19887
|
[key: string]: string;
|
|
@@ -19126,6 +19906,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19126
19906
|
getPasswordResetToken(options: RequireParametersUnlessAllAreOptional<{
|
|
19127
19907
|
parameters?: CompositeParameters<{
|
|
19128
19908
|
organizationId: string;
|
|
19909
|
+
} & {
|
|
19910
|
+
[key in `c_${string}`]: any;
|
|
19129
19911
|
}, ConfigParameters>;
|
|
19130
19912
|
headers?: {
|
|
19131
19913
|
[key: string]: string;
|
|
@@ -19148,6 +19930,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19148
19930
|
getPasswordResetToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
19149
19931
|
parameters?: CompositeParameters<{
|
|
19150
19932
|
organizationId: string;
|
|
19933
|
+
} & {
|
|
19934
|
+
[key in `c_${string}`]: any;
|
|
19151
19935
|
}, ConfigParameters>;
|
|
19152
19936
|
headers?: {
|
|
19153
19937
|
[key: string]: string;
|
|
@@ -19172,6 +19956,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19172
19956
|
resetPassword(options: RequireParametersUnlessAllAreOptional<{
|
|
19173
19957
|
parameters?: CompositeParameters<{
|
|
19174
19958
|
organizationId: string;
|
|
19959
|
+
} & {
|
|
19960
|
+
[key in `c_${string}`]: any;
|
|
19175
19961
|
}, ConfigParameters>;
|
|
19176
19962
|
headers?: {
|
|
19177
19963
|
[key: string]: string;
|
|
@@ -19194,6 +19980,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19194
19980
|
resetPassword<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
19195
19981
|
parameters?: CompositeParameters<{
|
|
19196
19982
|
organizationId: string;
|
|
19983
|
+
} & {
|
|
19984
|
+
[key in `c_${string}`]: any;
|
|
19197
19985
|
}, ConfigParameters>;
|
|
19198
19986
|
headers?: {
|
|
19199
19987
|
[key: string]: string;
|
|
@@ -19218,6 +20006,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19218
20006
|
getPasswordLessAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
19219
20007
|
parameters?: CompositeParameters<{
|
|
19220
20008
|
organizationId: string;
|
|
20009
|
+
} & {
|
|
20010
|
+
[key in `c_${string}`]: any;
|
|
19221
20011
|
}, ConfigParameters>;
|
|
19222
20012
|
headers?: {
|
|
19223
20013
|
[key: string]: string;
|
|
@@ -19240,6 +20030,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19240
20030
|
getPasswordLessAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
19241
20031
|
parameters?: CompositeParameters<{
|
|
19242
20032
|
organizationId: string;
|
|
20033
|
+
} & {
|
|
20034
|
+
[key in `c_${string}`]: any;
|
|
19243
20035
|
}, ConfigParameters>;
|
|
19244
20036
|
headers?: {
|
|
19245
20037
|
[key: string]: string;
|
|
@@ -19264,6 +20056,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19264
20056
|
revokeToken(options: RequireParametersUnlessAllAreOptional<{
|
|
19265
20057
|
parameters?: CompositeParameters<{
|
|
19266
20058
|
organizationId: string;
|
|
20059
|
+
} & {
|
|
20060
|
+
[key in `c_${string}`]: any;
|
|
19267
20061
|
}, ConfigParameters>;
|
|
19268
20062
|
headers?: {
|
|
19269
20063
|
[key: string]: string;
|
|
@@ -19286,6 +20080,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19286
20080
|
revokeToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
19287
20081
|
parameters?: CompositeParameters<{
|
|
19288
20082
|
organizationId: string;
|
|
20083
|
+
} & {
|
|
20084
|
+
[key in `c_${string}`]: any;
|
|
19289
20085
|
}, ConfigParameters>;
|
|
19290
20086
|
headers?: {
|
|
19291
20087
|
[key: string]: string;
|
|
@@ -19310,6 +20106,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19310
20106
|
introspectToken(options: RequireParametersUnlessAllAreOptional<{
|
|
19311
20107
|
parameters?: CompositeParameters<{
|
|
19312
20108
|
organizationId: string;
|
|
20109
|
+
} & {
|
|
20110
|
+
[key in `c_${string}`]: any;
|
|
19313
20111
|
}, ConfigParameters>;
|
|
19314
20112
|
headers?: {
|
|
19315
20113
|
[key: string]: string;
|
|
@@ -19332,6 +20130,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19332
20130
|
introspectToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
19333
20131
|
parameters?: CompositeParameters<{
|
|
19334
20132
|
organizationId: string;
|
|
20133
|
+
} & {
|
|
20134
|
+
[key in `c_${string}`]: any;
|
|
19335
20135
|
}, ConfigParameters>;
|
|
19336
20136
|
headers?: {
|
|
19337
20137
|
[key: string]: string;
|
|
@@ -19357,6 +20157,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19357
20157
|
parameters?: CompositeParameters<{
|
|
19358
20158
|
organizationId: string;
|
|
19359
20159
|
channel_id?: string;
|
|
20160
|
+
} & {
|
|
20161
|
+
[key in `c_${string}`]: any;
|
|
19360
20162
|
}, ConfigParameters>;
|
|
19361
20163
|
headers?: {
|
|
19362
20164
|
[key: string]: string;
|
|
@@ -19379,6 +20181,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19379
20181
|
parameters?: CompositeParameters<{
|
|
19380
20182
|
organizationId: string;
|
|
19381
20183
|
channel_id?: string;
|
|
20184
|
+
} & {
|
|
20185
|
+
[key in `c_${string}`]: any;
|
|
19382
20186
|
}, ConfigParameters>;
|
|
19383
20187
|
headers?: {
|
|
19384
20188
|
[key: string]: string;
|
|
@@ -19404,6 +20208,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19404
20208
|
getWellknownOpenidConfiguration(options?: RequireParametersUnlessAllAreOptional<{
|
|
19405
20209
|
parameters?: CompositeParameters<{
|
|
19406
20210
|
organizationId: string;
|
|
20211
|
+
} & {
|
|
20212
|
+
[key in `c_${string}`]: any;
|
|
19407
20213
|
}, ConfigParameters>;
|
|
19408
20214
|
headers?: {
|
|
19409
20215
|
[key: string]: string;
|
|
@@ -19427,6 +20233,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19427
20233
|
getWellknownOpenidConfiguration<T extends boolean>(options?: RequireParametersUnlessAllAreOptional<{
|
|
19428
20234
|
parameters?: CompositeParameters<{
|
|
19429
20235
|
organizationId: string;
|
|
20236
|
+
} & {
|
|
20237
|
+
[key in `c_${string}`]: any;
|
|
19430
20238
|
}, ConfigParameters>;
|
|
19431
20239
|
headers?: {
|
|
19432
20240
|
[key: string]: string;
|
|
@@ -19452,6 +20260,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19452
20260
|
getJwksUri(options?: RequireParametersUnlessAllAreOptional<{
|
|
19453
20261
|
parameters?: CompositeParameters<{
|
|
19454
20262
|
organizationId: string;
|
|
20263
|
+
} & {
|
|
20264
|
+
[key in `c_${string}`]: any;
|
|
19455
20265
|
}, ConfigParameters>;
|
|
19456
20266
|
headers?: {
|
|
19457
20267
|
[key: string]: string;
|
|
@@ -19475,6 +20285,8 @@ declare namespace ShopperLoginTypes {
|
|
|
19475
20285
|
getJwksUri<T extends boolean>(options?: RequireParametersUnlessAllAreOptional<{
|
|
19476
20286
|
parameters?: CompositeParameters<{
|
|
19477
20287
|
organizationId: string;
|
|
20288
|
+
} & {
|
|
20289
|
+
[key in `c_${string}`]: any;
|
|
19478
20290
|
}, ConfigParameters>;
|
|
19479
20291
|
headers?: {
|
|
19480
20292
|
[key: string]: string;
|
|
@@ -20069,6 +20881,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20069
20881
|
organizationId: string;
|
|
20070
20882
|
siteId: string;
|
|
20071
20883
|
locale?: string;
|
|
20884
|
+
} & {
|
|
20885
|
+
[key in `c_${string}`]: any;
|
|
20072
20886
|
}, ConfigParameters>;
|
|
20073
20887
|
headers?: {
|
|
20074
20888
|
[key: string]: string;
|
|
@@ -20100,6 +20914,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20100
20914
|
organizationId: string;
|
|
20101
20915
|
siteId: string;
|
|
20102
20916
|
locale?: string;
|
|
20917
|
+
} & {
|
|
20918
|
+
[key in `c_${string}`]: any;
|
|
20103
20919
|
}, ConfigParameters>;
|
|
20104
20920
|
headers?: {
|
|
20105
20921
|
[key: string]: string;
|
|
@@ -20134,6 +20950,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20134
20950
|
orderNo: string;
|
|
20135
20951
|
siteId: string;
|
|
20136
20952
|
locale?: string;
|
|
20953
|
+
} & {
|
|
20954
|
+
[key in `c_${string}`]: any;
|
|
20137
20955
|
}, ConfigParameters>;
|
|
20138
20956
|
headers?: {
|
|
20139
20957
|
[key: string]: string;
|
|
@@ -20165,6 +20983,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20165
20983
|
orderNo: string;
|
|
20166
20984
|
siteId: string;
|
|
20167
20985
|
locale?: string;
|
|
20986
|
+
} & {
|
|
20987
|
+
[key in `c_${string}`]: any;
|
|
20168
20988
|
}, ConfigParameters>;
|
|
20169
20989
|
headers?: {
|
|
20170
20990
|
[key: string]: string;
|
|
@@ -20204,6 +21024,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20204
21024
|
orderNo: string;
|
|
20205
21025
|
siteId: string;
|
|
20206
21026
|
locale?: string;
|
|
21027
|
+
} & {
|
|
21028
|
+
[key in `c_${string}`]: any;
|
|
20207
21029
|
}, ConfigParameters>;
|
|
20208
21030
|
headers?: {
|
|
20209
21031
|
[key: string]: string;
|
|
@@ -20242,6 +21064,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20242
21064
|
orderNo: string;
|
|
20243
21065
|
siteId: string;
|
|
20244
21066
|
locale?: string;
|
|
21067
|
+
} & {
|
|
21068
|
+
[key in `c_${string}`]: any;
|
|
20245
21069
|
}, ConfigParameters>;
|
|
20246
21070
|
headers?: {
|
|
20247
21071
|
[key: string]: string;
|
|
@@ -20278,6 +21102,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20278
21102
|
paymentInstrumentId: string;
|
|
20279
21103
|
siteId: string;
|
|
20280
21104
|
locale?: string;
|
|
21105
|
+
} & {
|
|
21106
|
+
[key in `c_${string}`]: any;
|
|
20281
21107
|
}, ConfigParameters>;
|
|
20282
21108
|
headers?: {
|
|
20283
21109
|
[key: string]: string;
|
|
@@ -20311,6 +21137,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20311
21137
|
paymentInstrumentId: string;
|
|
20312
21138
|
siteId: string;
|
|
20313
21139
|
locale?: string;
|
|
21140
|
+
} & {
|
|
21141
|
+
[key in `c_${string}`]: any;
|
|
20314
21142
|
}, ConfigParameters>;
|
|
20315
21143
|
headers?: {
|
|
20316
21144
|
[key: string]: string;
|
|
@@ -20353,6 +21181,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20353
21181
|
paymentInstrumentId: string;
|
|
20354
21182
|
siteId: string;
|
|
20355
21183
|
locale?: string;
|
|
21184
|
+
} & {
|
|
21185
|
+
[key in `c_${string}`]: any;
|
|
20356
21186
|
}, ConfigParameters>;
|
|
20357
21187
|
headers?: {
|
|
20358
21188
|
[key: string]: string;
|
|
@@ -20394,6 +21224,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20394
21224
|
paymentInstrumentId: string;
|
|
20395
21225
|
siteId: string;
|
|
20396
21226
|
locale?: string;
|
|
21227
|
+
} & {
|
|
21228
|
+
[key in `c_${string}`]: any;
|
|
20397
21229
|
}, ConfigParameters>;
|
|
20398
21230
|
headers?: {
|
|
20399
21231
|
[key: string]: string;
|
|
@@ -20428,6 +21260,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20428
21260
|
orderNo: string;
|
|
20429
21261
|
siteId: string;
|
|
20430
21262
|
locale?: string;
|
|
21263
|
+
} & {
|
|
21264
|
+
[key in `c_${string}`]: any;
|
|
20431
21265
|
}, ConfigParameters>;
|
|
20432
21266
|
headers?: {
|
|
20433
21267
|
[key: string]: string;
|
|
@@ -20459,6 +21293,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20459
21293
|
orderNo: string;
|
|
20460
21294
|
siteId: string;
|
|
20461
21295
|
locale?: string;
|
|
21296
|
+
} & {
|
|
21297
|
+
[key in `c_${string}`]: any;
|
|
20462
21298
|
}, ConfigParameters>;
|
|
20463
21299
|
headers?: {
|
|
20464
21300
|
[key: string]: string;
|
|
@@ -20487,6 +21323,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20487
21323
|
organizationId: string;
|
|
20488
21324
|
orderNo: string;
|
|
20489
21325
|
siteId: string;
|
|
21326
|
+
} & {
|
|
21327
|
+
[key in `c_${string}`]: any;
|
|
20490
21328
|
}, ConfigParameters>;
|
|
20491
21329
|
headers?: {
|
|
20492
21330
|
[key: string]: string;
|
|
@@ -20513,6 +21351,8 @@ declare class ShopperOrders<ConfigParameters extends ShopperOrdersParameters & R
|
|
|
20513
21351
|
organizationId: string;
|
|
20514
21352
|
orderNo: string;
|
|
20515
21353
|
siteId: string;
|
|
21354
|
+
} & {
|
|
21355
|
+
[key in `c_${string}`]: any;
|
|
20516
21356
|
}, ConfigParameters>;
|
|
20517
21357
|
headers?: {
|
|
20518
21358
|
[key: string]: string;
|
|
@@ -21400,6 +22240,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21400
22240
|
organizationId: string;
|
|
21401
22241
|
siteId: string;
|
|
21402
22242
|
locale?: string;
|
|
22243
|
+
} & {
|
|
22244
|
+
[key in `c_${string}`]: any;
|
|
21403
22245
|
}, ConfigParameters>;
|
|
21404
22246
|
headers?: {
|
|
21405
22247
|
[key: string]: string;
|
|
@@ -21431,6 +22273,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21431
22273
|
organizationId: string;
|
|
21432
22274
|
siteId: string;
|
|
21433
22275
|
locale?: string;
|
|
22276
|
+
} & {
|
|
22277
|
+
[key in `c_${string}`]: any;
|
|
21434
22278
|
}, ConfigParameters>;
|
|
21435
22279
|
headers?: {
|
|
21436
22280
|
[key: string]: string;
|
|
@@ -21465,6 +22309,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21465
22309
|
orderNo: string;
|
|
21466
22310
|
siteId: string;
|
|
21467
22311
|
locale?: string;
|
|
22312
|
+
} & {
|
|
22313
|
+
[key in `c_${string}`]: any;
|
|
21468
22314
|
}, ConfigParameters>;
|
|
21469
22315
|
headers?: {
|
|
21470
22316
|
[key: string]: string;
|
|
@@ -21496,6 +22342,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21496
22342
|
orderNo: string;
|
|
21497
22343
|
siteId: string;
|
|
21498
22344
|
locale?: string;
|
|
22345
|
+
} & {
|
|
22346
|
+
[key in `c_${string}`]: any;
|
|
21499
22347
|
}, ConfigParameters>;
|
|
21500
22348
|
headers?: {
|
|
21501
22349
|
[key: string]: string;
|
|
@@ -21535,6 +22383,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21535
22383
|
orderNo: string;
|
|
21536
22384
|
siteId: string;
|
|
21537
22385
|
locale?: string;
|
|
22386
|
+
} & {
|
|
22387
|
+
[key in `c_${string}`]: any;
|
|
21538
22388
|
}, ConfigParameters>;
|
|
21539
22389
|
headers?: {
|
|
21540
22390
|
[key: string]: string;
|
|
@@ -21573,6 +22423,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21573
22423
|
orderNo: string;
|
|
21574
22424
|
siteId: string;
|
|
21575
22425
|
locale?: string;
|
|
22426
|
+
} & {
|
|
22427
|
+
[key in `c_${string}`]: any;
|
|
21576
22428
|
}, ConfigParameters>;
|
|
21577
22429
|
headers?: {
|
|
21578
22430
|
[key: string]: string;
|
|
@@ -21609,6 +22461,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21609
22461
|
paymentInstrumentId: string;
|
|
21610
22462
|
siteId: string;
|
|
21611
22463
|
locale?: string;
|
|
22464
|
+
} & {
|
|
22465
|
+
[key in `c_${string}`]: any;
|
|
21612
22466
|
}, ConfigParameters>;
|
|
21613
22467
|
headers?: {
|
|
21614
22468
|
[key: string]: string;
|
|
@@ -21642,6 +22496,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21642
22496
|
paymentInstrumentId: string;
|
|
21643
22497
|
siteId: string;
|
|
21644
22498
|
locale?: string;
|
|
22499
|
+
} & {
|
|
22500
|
+
[key in `c_${string}`]: any;
|
|
21645
22501
|
}, ConfigParameters>;
|
|
21646
22502
|
headers?: {
|
|
21647
22503
|
[key: string]: string;
|
|
@@ -21684,6 +22540,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21684
22540
|
paymentInstrumentId: string;
|
|
21685
22541
|
siteId: string;
|
|
21686
22542
|
locale?: string;
|
|
22543
|
+
} & {
|
|
22544
|
+
[key in `c_${string}`]: any;
|
|
21687
22545
|
}, ConfigParameters>;
|
|
21688
22546
|
headers?: {
|
|
21689
22547
|
[key: string]: string;
|
|
@@ -21725,6 +22583,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21725
22583
|
paymentInstrumentId: string;
|
|
21726
22584
|
siteId: string;
|
|
21727
22585
|
locale?: string;
|
|
22586
|
+
} & {
|
|
22587
|
+
[key in `c_${string}`]: any;
|
|
21728
22588
|
}, ConfigParameters>;
|
|
21729
22589
|
headers?: {
|
|
21730
22590
|
[key: string]: string;
|
|
@@ -21759,6 +22619,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21759
22619
|
orderNo: string;
|
|
21760
22620
|
siteId: string;
|
|
21761
22621
|
locale?: string;
|
|
22622
|
+
} & {
|
|
22623
|
+
[key in `c_${string}`]: any;
|
|
21762
22624
|
}, ConfigParameters>;
|
|
21763
22625
|
headers?: {
|
|
21764
22626
|
[key: string]: string;
|
|
@@ -21790,6 +22652,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21790
22652
|
orderNo: string;
|
|
21791
22653
|
siteId: string;
|
|
21792
22654
|
locale?: string;
|
|
22655
|
+
} & {
|
|
22656
|
+
[key in `c_${string}`]: any;
|
|
21793
22657
|
}, ConfigParameters>;
|
|
21794
22658
|
headers?: {
|
|
21795
22659
|
[key: string]: string;
|
|
@@ -21818,6 +22682,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21818
22682
|
organizationId: string;
|
|
21819
22683
|
orderNo: string;
|
|
21820
22684
|
siteId: string;
|
|
22685
|
+
} & {
|
|
22686
|
+
[key in `c_${string}`]: any;
|
|
21821
22687
|
}, ConfigParameters>;
|
|
21822
22688
|
headers?: {
|
|
21823
22689
|
[key: string]: string;
|
|
@@ -21844,6 +22710,8 @@ declare namespace ShopperOrdersTypes {
|
|
|
21844
22710
|
organizationId: string;
|
|
21845
22711
|
orderNo: string;
|
|
21846
22712
|
siteId: string;
|
|
22713
|
+
} & {
|
|
22714
|
+
[key in `c_${string}`]: any;
|
|
21847
22715
|
}, ConfigParameters>;
|
|
21848
22716
|
headers?: {
|
|
21849
22717
|
[key: string]: string;
|
|
@@ -22295,6 +23163,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22295
23163
|
allImages?: boolean;
|
|
22296
23164
|
perPricebook?: boolean;
|
|
22297
23165
|
siteId: string;
|
|
23166
|
+
} & {
|
|
23167
|
+
[key in `c_${string}`]: any;
|
|
22298
23168
|
}, ConfigParameters>;
|
|
22299
23169
|
headers?: {
|
|
22300
23170
|
[key: string]: string;
|
|
@@ -22333,6 +23203,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22333
23203
|
allImages?: boolean;
|
|
22334
23204
|
perPricebook?: boolean;
|
|
22335
23205
|
siteId: string;
|
|
23206
|
+
} & {
|
|
23207
|
+
[key in `c_${string}`]: any;
|
|
22336
23208
|
}, ConfigParameters>;
|
|
22337
23209
|
headers?: {
|
|
22338
23210
|
[key: string]: string;
|
|
@@ -22373,6 +23245,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22373
23245
|
allImages?: boolean;
|
|
22374
23246
|
perPricebook?: boolean;
|
|
22375
23247
|
siteId: string;
|
|
23248
|
+
} & {
|
|
23249
|
+
[key in `c_${string}`]: any;
|
|
22376
23250
|
}, ConfigParameters>;
|
|
22377
23251
|
headers?: {
|
|
22378
23252
|
[key: string]: string;
|
|
@@ -22411,6 +23285,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22411
23285
|
allImages?: boolean;
|
|
22412
23286
|
perPricebook?: boolean;
|
|
22413
23287
|
siteId: string;
|
|
23288
|
+
} & {
|
|
23289
|
+
[key in `c_${string}`]: any;
|
|
22414
23290
|
}, ConfigParameters>;
|
|
22415
23291
|
headers?: {
|
|
22416
23292
|
[key: string]: string;
|
|
@@ -22441,6 +23317,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22441
23317
|
levels?: number;
|
|
22442
23318
|
locale?: string;
|
|
22443
23319
|
siteId: string;
|
|
23320
|
+
} & {
|
|
23321
|
+
[key in `c_${string}`]: any;
|
|
22444
23322
|
}, ConfigParameters>;
|
|
22445
23323
|
headers?: {
|
|
22446
23324
|
[key: string]: string;
|
|
@@ -22469,6 +23347,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22469
23347
|
levels?: number;
|
|
22470
23348
|
locale?: string;
|
|
22471
23349
|
siteId: string;
|
|
23350
|
+
} & {
|
|
23351
|
+
[key in `c_${string}`]: any;
|
|
22472
23352
|
}, ConfigParameters>;
|
|
22473
23353
|
headers?: {
|
|
22474
23354
|
[key: string]: string;
|
|
@@ -22501,6 +23381,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22501
23381
|
levels?: number;
|
|
22502
23382
|
locale?: string;
|
|
22503
23383
|
siteId: string;
|
|
23384
|
+
} & {
|
|
23385
|
+
[key in `c_${string}`]: any;
|
|
22504
23386
|
}, ConfigParameters>;
|
|
22505
23387
|
headers?: {
|
|
22506
23388
|
[key: string]: string;
|
|
@@ -22531,6 +23413,8 @@ declare class ShopperProducts<ConfigParameters extends ShopperProductsParameters
|
|
|
22531
23413
|
levels?: number;
|
|
22532
23414
|
locale?: string;
|
|
22533
23415
|
siteId: string;
|
|
23416
|
+
} & {
|
|
23417
|
+
[key in `c_${string}`]: any;
|
|
22534
23418
|
}, ConfigParameters>;
|
|
22535
23419
|
headers?: {
|
|
22536
23420
|
[key: string]: string;
|
|
@@ -23227,6 +24111,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23227
24111
|
allImages?: boolean;
|
|
23228
24112
|
perPricebook?: boolean;
|
|
23229
24113
|
siteId: string;
|
|
24114
|
+
} & {
|
|
24115
|
+
[key in `c_${string}`]: any;
|
|
23230
24116
|
}, ConfigParameters>;
|
|
23231
24117
|
headers?: {
|
|
23232
24118
|
[key: string]: string;
|
|
@@ -23265,6 +24151,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23265
24151
|
allImages?: boolean;
|
|
23266
24152
|
perPricebook?: boolean;
|
|
23267
24153
|
siteId: string;
|
|
24154
|
+
} & {
|
|
24155
|
+
[key in `c_${string}`]: any;
|
|
23268
24156
|
}, ConfigParameters>;
|
|
23269
24157
|
headers?: {
|
|
23270
24158
|
[key: string]: string;
|
|
@@ -23305,6 +24193,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23305
24193
|
allImages?: boolean;
|
|
23306
24194
|
perPricebook?: boolean;
|
|
23307
24195
|
siteId: string;
|
|
24196
|
+
} & {
|
|
24197
|
+
[key in `c_${string}`]: any;
|
|
23308
24198
|
}, ConfigParameters>;
|
|
23309
24199
|
headers?: {
|
|
23310
24200
|
[key: string]: string;
|
|
@@ -23343,6 +24233,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23343
24233
|
allImages?: boolean;
|
|
23344
24234
|
perPricebook?: boolean;
|
|
23345
24235
|
siteId: string;
|
|
24236
|
+
} & {
|
|
24237
|
+
[key in `c_${string}`]: any;
|
|
23346
24238
|
}, ConfigParameters>;
|
|
23347
24239
|
headers?: {
|
|
23348
24240
|
[key: string]: string;
|
|
@@ -23373,6 +24265,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23373
24265
|
levels?: number;
|
|
23374
24266
|
locale?: string;
|
|
23375
24267
|
siteId: string;
|
|
24268
|
+
} & {
|
|
24269
|
+
[key in `c_${string}`]: any;
|
|
23376
24270
|
}, ConfigParameters>;
|
|
23377
24271
|
headers?: {
|
|
23378
24272
|
[key: string]: string;
|
|
@@ -23401,6 +24295,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23401
24295
|
levels?: number;
|
|
23402
24296
|
locale?: string;
|
|
23403
24297
|
siteId: string;
|
|
24298
|
+
} & {
|
|
24299
|
+
[key in `c_${string}`]: any;
|
|
23404
24300
|
}, ConfigParameters>;
|
|
23405
24301
|
headers?: {
|
|
23406
24302
|
[key: string]: string;
|
|
@@ -23433,6 +24329,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23433
24329
|
levels?: number;
|
|
23434
24330
|
locale?: string;
|
|
23435
24331
|
siteId: string;
|
|
24332
|
+
} & {
|
|
24333
|
+
[key in `c_${string}`]: any;
|
|
23436
24334
|
}, ConfigParameters>;
|
|
23437
24335
|
headers?: {
|
|
23438
24336
|
[key: string]: string;
|
|
@@ -23463,6 +24361,8 @@ declare namespace ShopperProductsTypes {
|
|
|
23463
24361
|
levels?: number;
|
|
23464
24362
|
locale?: string;
|
|
23465
24363
|
siteId: string;
|
|
24364
|
+
} & {
|
|
24365
|
+
[key in `c_${string}`]: any;
|
|
23466
24366
|
}, ConfigParameters>;
|
|
23467
24367
|
headers?: {
|
|
23468
24368
|
[key: string]: string;
|
|
@@ -23614,6 +24514,8 @@ declare class ShopperPromotions<ConfigParameters extends ShopperPromotionsParame
|
|
|
23614
24514
|
siteId: string;
|
|
23615
24515
|
ids: string;
|
|
23616
24516
|
locale?: string;
|
|
24517
|
+
} & {
|
|
24518
|
+
[key in `c_${string}`]: any;
|
|
23617
24519
|
}, ConfigParameters>;
|
|
23618
24520
|
headers?: {
|
|
23619
24521
|
[key: string]: string;
|
|
@@ -23640,6 +24542,8 @@ declare class ShopperPromotions<ConfigParameters extends ShopperPromotionsParame
|
|
|
23640
24542
|
siteId: string;
|
|
23641
24543
|
ids: string;
|
|
23642
24544
|
locale?: string;
|
|
24545
|
+
} & {
|
|
24546
|
+
[key in `c_${string}`]: any;
|
|
23643
24547
|
}, ConfigParameters>;
|
|
23644
24548
|
headers?: {
|
|
23645
24549
|
[key: string]: string;
|
|
@@ -23676,6 +24580,8 @@ declare class ShopperPromotions<ConfigParameters extends ShopperPromotionsParame
|
|
|
23676
24580
|
startDate?: string;
|
|
23677
24581
|
endDate?: string;
|
|
23678
24582
|
currency?: string;
|
|
24583
|
+
} & {
|
|
24584
|
+
[key in `c_${string}`]: any;
|
|
23679
24585
|
}, ConfigParameters>;
|
|
23680
24586
|
headers?: {
|
|
23681
24587
|
[key: string]: string;
|
|
@@ -23710,6 +24616,8 @@ declare class ShopperPromotions<ConfigParameters extends ShopperPromotionsParame
|
|
|
23710
24616
|
startDate?: string;
|
|
23711
24617
|
endDate?: string;
|
|
23712
24618
|
currency?: string;
|
|
24619
|
+
} & {
|
|
24620
|
+
[key in `c_${string}`]: any;
|
|
23713
24621
|
}, ConfigParameters>;
|
|
23714
24622
|
headers?: {
|
|
23715
24623
|
[key: string]: string;
|
|
@@ -24166,6 +25074,8 @@ declare namespace ShopperPromotionsTypes {
|
|
|
24166
25074
|
siteId: string;
|
|
24167
25075
|
ids: string;
|
|
24168
25076
|
locale?: string;
|
|
25077
|
+
} & {
|
|
25078
|
+
[key in `c_${string}`]: any;
|
|
24169
25079
|
}, ConfigParameters>;
|
|
24170
25080
|
headers?: {
|
|
24171
25081
|
[key: string]: string;
|
|
@@ -24192,6 +25102,8 @@ declare namespace ShopperPromotionsTypes {
|
|
|
24192
25102
|
siteId: string;
|
|
24193
25103
|
ids: string;
|
|
24194
25104
|
locale?: string;
|
|
25105
|
+
} & {
|
|
25106
|
+
[key in `c_${string}`]: any;
|
|
24195
25107
|
}, ConfigParameters>;
|
|
24196
25108
|
headers?: {
|
|
24197
25109
|
[key: string]: string;
|
|
@@ -24228,6 +25140,8 @@ declare namespace ShopperPromotionsTypes {
|
|
|
24228
25140
|
startDate?: string;
|
|
24229
25141
|
endDate?: string;
|
|
24230
25142
|
currency?: string;
|
|
25143
|
+
} & {
|
|
25144
|
+
[key in `c_${string}`]: any;
|
|
24231
25145
|
}, ConfigParameters>;
|
|
24232
25146
|
headers?: {
|
|
24233
25147
|
[key: string]: string;
|
|
@@ -24262,6 +25176,8 @@ declare namespace ShopperPromotionsTypes {
|
|
|
24262
25176
|
startDate?: string;
|
|
24263
25177
|
endDate?: string;
|
|
24264
25178
|
currency?: string;
|
|
25179
|
+
} & {
|
|
25180
|
+
[key in `c_${string}`]: any;
|
|
24265
25181
|
}, ConfigParameters>;
|
|
24266
25182
|
headers?: {
|
|
24267
25183
|
[key: string]: string;
|
|
@@ -24601,6 +25517,8 @@ declare class ShopperSearch<ConfigParameters extends ShopperSearchParameters & R
|
|
|
24601
25517
|
expand?: Array<string>;
|
|
24602
25518
|
offset?: any;
|
|
24603
25519
|
limit?: number;
|
|
25520
|
+
} & {
|
|
25521
|
+
[key in `c_${string}`]: any;
|
|
24604
25522
|
}, ConfigParameters>;
|
|
24605
25523
|
headers?: {
|
|
24606
25524
|
[key: string]: string;
|
|
@@ -24650,6 +25568,8 @@ declare class ShopperSearch<ConfigParameters extends ShopperSearchParameters & R
|
|
|
24650
25568
|
expand?: Array<string>;
|
|
24651
25569
|
offset?: any;
|
|
24652
25570
|
limit?: number;
|
|
25571
|
+
} & {
|
|
25572
|
+
[key in `c_${string}`]: any;
|
|
24653
25573
|
}, ConfigParameters>;
|
|
24654
25574
|
headers?: {
|
|
24655
25575
|
[key: string]: string;
|
|
@@ -24682,6 +25602,8 @@ declare class ShopperSearch<ConfigParameters extends ShopperSearchParameters & R
|
|
|
24682
25602
|
limit?: number;
|
|
24683
25603
|
currency?: string;
|
|
24684
25604
|
locale?: string;
|
|
25605
|
+
} & {
|
|
25606
|
+
[key in `c_${string}`]: any;
|
|
24685
25607
|
}, ConfigParameters>;
|
|
24686
25608
|
headers?: {
|
|
24687
25609
|
[key: string]: string;
|
|
@@ -24712,6 +25634,8 @@ declare class ShopperSearch<ConfigParameters extends ShopperSearchParameters & R
|
|
|
24712
25634
|
limit?: number;
|
|
24713
25635
|
currency?: string;
|
|
24714
25636
|
locale?: string;
|
|
25637
|
+
} & {
|
|
25638
|
+
[key in `c_${string}`]: any;
|
|
24715
25639
|
}, ConfigParameters>;
|
|
24716
25640
|
headers?: {
|
|
24717
25641
|
[key: string]: string;
|
|
@@ -25353,6 +26277,8 @@ declare namespace ShopperSearchTypes {
|
|
|
25353
26277
|
expand?: Array<string>;
|
|
25354
26278
|
offset?: any;
|
|
25355
26279
|
limit?: number;
|
|
26280
|
+
} & {
|
|
26281
|
+
[key in `c_${string}`]: any;
|
|
25356
26282
|
}, ConfigParameters>;
|
|
25357
26283
|
headers?: {
|
|
25358
26284
|
[key: string]: string;
|
|
@@ -25402,6 +26328,8 @@ declare namespace ShopperSearchTypes {
|
|
|
25402
26328
|
expand?: Array<string>;
|
|
25403
26329
|
offset?: any;
|
|
25404
26330
|
limit?: number;
|
|
26331
|
+
} & {
|
|
26332
|
+
[key in `c_${string}`]: any;
|
|
25405
26333
|
}, ConfigParameters>;
|
|
25406
26334
|
headers?: {
|
|
25407
26335
|
[key: string]: string;
|
|
@@ -25434,6 +26362,8 @@ declare namespace ShopperSearchTypes {
|
|
|
25434
26362
|
limit?: number;
|
|
25435
26363
|
currency?: string;
|
|
25436
26364
|
locale?: string;
|
|
26365
|
+
} & {
|
|
26366
|
+
[key in `c_${string}`]: any;
|
|
25437
26367
|
}, ConfigParameters>;
|
|
25438
26368
|
headers?: {
|
|
25439
26369
|
[key: string]: string;
|
|
@@ -25464,6 +26394,8 @@ declare namespace ShopperSearchTypes {
|
|
|
25464
26394
|
limit?: number;
|
|
25465
26395
|
currency?: string;
|
|
25466
26396
|
locale?: string;
|
|
26397
|
+
} & {
|
|
26398
|
+
[key in `c_${string}`]: any;
|
|
25467
26399
|
}, ConfigParameters>;
|
|
25468
26400
|
headers?: {
|
|
25469
26401
|
[key: string]: string;
|
|
@@ -25629,6 +26561,7 @@ declare namespace helpers {
|
|
|
25629
26561
|
grant_type: string;
|
|
25630
26562
|
login_id: string;
|
|
25631
26563
|
idp_origin: string;
|
|
26564
|
+
usid?: string;
|
|
25632
26565
|
} & {
|
|
25633
26566
|
[key: string]: any;
|
|
25634
26567
|
};
|
|
@@ -26025,6 +26958,7 @@ declare namespace helpers {
|
|
|
26025
26958
|
state?: string;
|
|
26026
26959
|
usid?: string;
|
|
26027
26960
|
code_challenge?: string;
|
|
26961
|
+
ui_locales?: string;
|
|
26028
26962
|
login_id?: string;
|
|
26029
26963
|
idp_origin?: string;
|
|
26030
26964
|
};
|
|
@@ -26055,7 +26989,7 @@ declare namespace helpers {
|
|
|
26055
26989
|
* ```
|
|
26056
26990
|
*
|
|
26057
26991
|
* <span style="font-size:.7em; display:block; text-align: right">
|
|
26058
|
-
* API Version: 1.39.
|
|
26992
|
+
* API Version: 1.39.20<br />
|
|
26059
26993
|
* Last Updated: <br />
|
|
26060
26994
|
* </span>
|
|
26061
26995
|
|
|
@@ -26102,6 +27036,8 @@ declare namespace helpers {
|
|
|
26102
27036
|
authenticateCustomer(options: RequireParametersUnlessAllAreOptional<{
|
|
26103
27037
|
parameters?: CompositeParameters<{
|
|
26104
27038
|
organizationId: string;
|
|
27039
|
+
} & {
|
|
27040
|
+
[key in `c_${string}`]: any;
|
|
26105
27041
|
}, ConfigParameters>;
|
|
26106
27042
|
headers?: {
|
|
26107
27043
|
[key: string]: string;
|
|
@@ -26139,6 +27075,8 @@ declare namespace helpers {
|
|
|
26139
27075
|
authenticateCustomer<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26140
27076
|
parameters?: CompositeParameters<{
|
|
26141
27077
|
organizationId: string;
|
|
27078
|
+
} & {
|
|
27079
|
+
[key in `c_${string}`]: any;
|
|
26142
27080
|
}, ConfigParameters>;
|
|
26143
27081
|
headers?: {
|
|
26144
27082
|
[key: string]: string;
|
|
@@ -26163,6 +27101,8 @@ declare namespace helpers {
|
|
|
26163
27101
|
authorizePasswordlessCustomer(options: RequireParametersUnlessAllAreOptional<{
|
|
26164
27102
|
parameters?: CompositeParameters<{
|
|
26165
27103
|
organizationId: string;
|
|
27104
|
+
} & {
|
|
27105
|
+
[key in `c_${string}`]: any;
|
|
26166
27106
|
}, ConfigParameters>;
|
|
26167
27107
|
headers?: {
|
|
26168
27108
|
[key: string]: string;
|
|
@@ -26185,6 +27125,8 @@ declare namespace helpers {
|
|
|
26185
27125
|
authorizePasswordlessCustomer<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26186
27126
|
parameters?: CompositeParameters<{
|
|
26187
27127
|
organizationId: string;
|
|
27128
|
+
} & {
|
|
27129
|
+
[key in `c_${string}`]: any;
|
|
26188
27130
|
}, ConfigParameters>;
|
|
26189
27131
|
headers?: {
|
|
26190
27132
|
[key: string]: string;
|
|
@@ -26220,6 +27162,8 @@ declare namespace helpers {
|
|
|
26220
27162
|
refresh_token: string;
|
|
26221
27163
|
channel_id?: string;
|
|
26222
27164
|
hint?: string;
|
|
27165
|
+
} & {
|
|
27166
|
+
[key in `c_${string}`]: any;
|
|
26223
27167
|
}, ConfigParameters>;
|
|
26224
27168
|
headers?: {
|
|
26225
27169
|
[key: string]: string;
|
|
@@ -26252,6 +27196,8 @@ declare namespace helpers {
|
|
|
26252
27196
|
refresh_token: string;
|
|
26253
27197
|
channel_id?: string;
|
|
26254
27198
|
hint?: string;
|
|
27199
|
+
} & {
|
|
27200
|
+
[key in `c_${string}`]: any;
|
|
26255
27201
|
}, ConfigParameters>;
|
|
26256
27202
|
headers?: {
|
|
26257
27203
|
[key: string]: string;
|
|
@@ -26289,6 +27235,9 @@ declare namespace helpers {
|
|
|
26289
27235
|
The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.
|
|
26290
27236
|
|
|
26291
27237
|
The `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.
|
|
27238
|
+
* @param ui_locales - End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For example, the value `fr-CA fr en` represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation).
|
|
27239
|
+
|
|
27240
|
+
In most cases the IDP supports one language tag and has a default language set on the server. SLAS will support the space-separated list and pass them to the IDP.
|
|
26292
27241
|
* @param headers - An object literal of key value pairs of the headers to be
|
|
26293
27242
|
* sent with this request.
|
|
26294
27243
|
*
|
|
@@ -26307,6 +27256,9 @@ declare namespace helpers {
|
|
|
26307
27256
|
hint?: string;
|
|
26308
27257
|
channel_id?: string;
|
|
26309
27258
|
code_challenge: string;
|
|
27259
|
+
ui_locales?: string;
|
|
27260
|
+
} & {
|
|
27261
|
+
[key in `c_${string}`]: any;
|
|
26310
27262
|
}, ConfigParameters>;
|
|
26311
27263
|
headers?: {
|
|
26312
27264
|
[key: string]: string;
|
|
@@ -26342,6 +27294,9 @@ declare namespace helpers {
|
|
|
26342
27294
|
The `code_challenge` is created by SHA256 hashing the `code_verifier` and Base64 encoding the resulting hash.
|
|
26343
27295
|
|
|
26344
27296
|
The `code_verifier` should be a high entropy cryptographically random string with a minimum of 43 characters and a maximum of 128 characters.
|
|
27297
|
+
* @param ui_locales - End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For example, the value `fr-CA fr en` represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation).
|
|
27298
|
+
|
|
27299
|
+
In most cases the IDP supports one language tag and has a default language set on the server. SLAS will support the space-separated list and pass them to the IDP.
|
|
26345
27300
|
* @param headers - An object literal of key value pairs of the headers to be
|
|
26346
27301
|
* sent with this request.
|
|
26347
27302
|
* @param rawResponse - Set to true to return entire Response object instead of DTO.
|
|
@@ -26360,6 +27315,9 @@ declare namespace helpers {
|
|
|
26360
27315
|
hint?: string;
|
|
26361
27316
|
channel_id?: string;
|
|
26362
27317
|
code_challenge: string;
|
|
27318
|
+
ui_locales?: string;
|
|
27319
|
+
} & {
|
|
27320
|
+
[key in `c_${string}`]: any;
|
|
26363
27321
|
}, ConfigParameters>;
|
|
26364
27322
|
headers?: {
|
|
26365
27323
|
[key: string]: string;
|
|
@@ -26395,6 +27353,8 @@ declare namespace helpers {
|
|
|
26395
27353
|
getAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26396
27354
|
parameters?: CompositeParameters<{
|
|
26397
27355
|
organizationId: string;
|
|
27356
|
+
} & {
|
|
27357
|
+
[key in `c_${string}`]: any;
|
|
26398
27358
|
}, ConfigParameters>;
|
|
26399
27359
|
headers?: {
|
|
26400
27360
|
[key: string]: string;
|
|
@@ -26429,6 +27389,8 @@ declare namespace helpers {
|
|
|
26429
27389
|
getAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26430
27390
|
parameters?: CompositeParameters<{
|
|
26431
27391
|
organizationId: string;
|
|
27392
|
+
} & {
|
|
27393
|
+
[key in `c_${string}`]: any;
|
|
26432
27394
|
}, ConfigParameters>;
|
|
26433
27395
|
headers?: {
|
|
26434
27396
|
[key: string]: string;
|
|
@@ -26441,6 +27403,10 @@ declare namespace helpers {
|
|
|
26441
27403
|
For public client id requests the grant_type must be set to `session_bridge`.
|
|
26442
27404
|
|
|
26443
27405
|
For private client_id and secret the grant_type must be set to `client_credentials` along with a basic authorization header.
|
|
27406
|
+
|
|
27407
|
+
**DEPRECATED** - As of January 31, 2024, SLAS will no longer support the SESB `dwsid` parameter for `guest` users for `session-bridge/token` calls. It is recommended to transition over to using a SESB `dwsgst` token.
|
|
27408
|
+
|
|
27409
|
+
The `dwsid` will still be needed for `registered` user `session-bridge/token` calls.
|
|
26444
27410
|
*
|
|
26445
27411
|
* If you would like to get a raw Response object use the other getSessionBridgeAccessToken function.
|
|
26446
27412
|
*
|
|
@@ -26457,6 +27423,8 @@ declare namespace helpers {
|
|
|
26457
27423
|
getSessionBridgeAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26458
27424
|
parameters?: CompositeParameters<{
|
|
26459
27425
|
organizationId: string;
|
|
27426
|
+
} & {
|
|
27427
|
+
[key in `c_${string}`]: any;
|
|
26460
27428
|
}, ConfigParameters>;
|
|
26461
27429
|
headers?: {
|
|
26462
27430
|
[key: string]: string;
|
|
@@ -26469,6 +27437,10 @@ declare namespace helpers {
|
|
|
26469
27437
|
For public client id requests the grant_type must be set to `session_bridge`.
|
|
26470
27438
|
|
|
26471
27439
|
For private client_id and secret the grant_type must be set to `client_credentials` along with a basic authorization header.
|
|
27440
|
+
|
|
27441
|
+
**DEPRECATED** - As of January 31, 2024, SLAS will no longer support the SESB `dwsid` parameter for `guest` users for `session-bridge/token` calls. It is recommended to transition over to using a SESB `dwsgst` token.
|
|
27442
|
+
|
|
27443
|
+
The `dwsid` will still be needed for `registered` user `session-bridge/token` calls.
|
|
26472
27444
|
*
|
|
26473
27445
|
* @param options - An object containing the options for this method.
|
|
26474
27446
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -26483,6 +27455,8 @@ declare namespace helpers {
|
|
|
26483
27455
|
getSessionBridgeAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26484
27456
|
parameters?: CompositeParameters<{
|
|
26485
27457
|
organizationId: string;
|
|
27458
|
+
} & {
|
|
27459
|
+
[key in `c_${string}`]: any;
|
|
26486
27460
|
}, ConfigParameters>;
|
|
26487
27461
|
headers?: {
|
|
26488
27462
|
[key: string]: string;
|
|
@@ -26492,9 +27466,7 @@ declare namespace helpers {
|
|
|
26492
27466
|
/**
|
|
26493
27467
|
* Get a shopper JWT access token for a registered customer whose credentials are stored using a third party system.
|
|
26494
27468
|
|
|
26495
|
-
For
|
|
26496
|
-
|
|
26497
|
-
For internal trusted-system requests, the bearer token must be a C2C JWT.
|
|
27469
|
+
For trusted-system requests, a basic authorization header that includes a SLAS client ID and SLAS client secret can be used in place of the bearer token.
|
|
26498
27470
|
*
|
|
26499
27471
|
* If you would like to get a raw Response object use the other getTrustedSystemAccessToken function.
|
|
26500
27472
|
*
|
|
@@ -26511,6 +27483,8 @@ declare namespace helpers {
|
|
|
26511
27483
|
getTrustedSystemAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26512
27484
|
parameters?: CompositeParameters<{
|
|
26513
27485
|
organizationId: string;
|
|
27486
|
+
} & {
|
|
27487
|
+
[key in `c_${string}`]: any;
|
|
26514
27488
|
}, ConfigParameters>;
|
|
26515
27489
|
headers?: {
|
|
26516
27490
|
[key: string]: string;
|
|
@@ -26520,9 +27494,7 @@ declare namespace helpers {
|
|
|
26520
27494
|
/**
|
|
26521
27495
|
* Get a shopper JWT access token for a registered customer whose credentials are stored using a third party system.
|
|
26522
27496
|
|
|
26523
|
-
For
|
|
26524
|
-
|
|
26525
|
-
For internal trusted-system requests, the bearer token must be a C2C JWT.
|
|
27497
|
+
For trusted-system requests, a basic authorization header that includes a SLAS client ID and SLAS client secret can be used in place of the bearer token.
|
|
26526
27498
|
*
|
|
26527
27499
|
* @param options - An object containing the options for this method.
|
|
26528
27500
|
* @param parameters - An object containing the parameters for this method.
|
|
@@ -26537,6 +27509,8 @@ declare namespace helpers {
|
|
|
26537
27509
|
getTrustedSystemAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26538
27510
|
parameters?: CompositeParameters<{
|
|
26539
27511
|
organizationId: string;
|
|
27512
|
+
} & {
|
|
27513
|
+
[key in `c_${string}`]: any;
|
|
26540
27514
|
}, ConfigParameters>;
|
|
26541
27515
|
headers?: {
|
|
26542
27516
|
[key: string]: string;
|
|
@@ -26551,7 +27525,7 @@ declare namespace helpers {
|
|
|
26551
27525
|
* @param options - An object containing the options for this method.
|
|
26552
27526
|
* @param parameters - An object containing the parameters for this method.
|
|
26553
27527
|
* @param organizationId -
|
|
26554
|
-
* @param client_id - The SLAS public client ID or SLAS private client ID for use with
|
|
27528
|
+
* @param client_id - The SLAS public client ID or SLAS private client ID for use with trusted-agent requests. When using a private client ID a PKCE code challenge is not required.
|
|
26555
27529
|
* @param channel_id - The channel (ECOM site) that the user is associated with.
|
|
26556
27530
|
* @param code_challenge - PKCE code challenge. Created by the caller.
|
|
26557
27531
|
|
|
@@ -26585,6 +27559,8 @@ declare namespace helpers {
|
|
|
26585
27559
|
idp_origin: string;
|
|
26586
27560
|
redirect_uri: string;
|
|
26587
27561
|
response_type: string;
|
|
27562
|
+
} & {
|
|
27563
|
+
[key in `c_${string}`]: any;
|
|
26588
27564
|
}, ConfigParameters>;
|
|
26589
27565
|
headers?: {
|
|
26590
27566
|
[key: string]: string;
|
|
@@ -26596,7 +27572,7 @@ declare namespace helpers {
|
|
|
26596
27572
|
* @param options - An object containing the options for this method.
|
|
26597
27573
|
* @param parameters - An object containing the parameters for this method.
|
|
26598
27574
|
* @param organizationId -
|
|
26599
|
-
* @param client_id - The SLAS public client ID or SLAS private client ID for use with
|
|
27575
|
+
* @param client_id - The SLAS public client ID or SLAS private client ID for use with trusted-agent requests. When using a private client ID a PKCE code challenge is not required.
|
|
26600
27576
|
* @param channel_id - The channel (ECOM site) that the user is associated with.
|
|
26601
27577
|
* @param code_challenge - PKCE code challenge. Created by the caller.
|
|
26602
27578
|
|
|
@@ -26630,6 +27606,8 @@ declare namespace helpers {
|
|
|
26630
27606
|
idp_origin: string;
|
|
26631
27607
|
redirect_uri: string;
|
|
26632
27608
|
response_type: string;
|
|
27609
|
+
} & {
|
|
27610
|
+
[key in `c_${string}`]: any;
|
|
26633
27611
|
}, ConfigParameters>;
|
|
26634
27612
|
headers?: {
|
|
26635
27613
|
[key: string]: string;
|
|
@@ -26657,6 +27635,8 @@ declare namespace helpers {
|
|
|
26657
27635
|
getTrustedAgentAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26658
27636
|
parameters?: CompositeParameters<{
|
|
26659
27637
|
organizationId: string;
|
|
27638
|
+
} & {
|
|
27639
|
+
[key in `c_${string}`]: any;
|
|
26660
27640
|
}, ConfigParameters>;
|
|
26661
27641
|
headers?: {
|
|
26662
27642
|
[key: string]: string;
|
|
@@ -26683,6 +27663,8 @@ declare namespace helpers {
|
|
|
26683
27663
|
getTrustedAgentAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26684
27664
|
parameters?: CompositeParameters<{
|
|
26685
27665
|
organizationId: string;
|
|
27666
|
+
} & {
|
|
27667
|
+
[key in `c_${string}`]: any;
|
|
26686
27668
|
}, ConfigParameters>;
|
|
26687
27669
|
headers?: {
|
|
26688
27670
|
[key: string]: string;
|
|
@@ -26707,6 +27689,8 @@ declare namespace helpers {
|
|
|
26707
27689
|
getPasswordResetToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26708
27690
|
parameters?: CompositeParameters<{
|
|
26709
27691
|
organizationId: string;
|
|
27692
|
+
} & {
|
|
27693
|
+
[key in `c_${string}`]: any;
|
|
26710
27694
|
}, ConfigParameters>;
|
|
26711
27695
|
headers?: {
|
|
26712
27696
|
[key: string]: string;
|
|
@@ -26729,6 +27713,8 @@ declare namespace helpers {
|
|
|
26729
27713
|
getPasswordResetToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26730
27714
|
parameters?: CompositeParameters<{
|
|
26731
27715
|
organizationId: string;
|
|
27716
|
+
} & {
|
|
27717
|
+
[key in `c_${string}`]: any;
|
|
26732
27718
|
}, ConfigParameters>;
|
|
26733
27719
|
headers?: {
|
|
26734
27720
|
[key: string]: string;
|
|
@@ -26753,6 +27739,8 @@ declare namespace helpers {
|
|
|
26753
27739
|
resetPassword(options: RequireParametersUnlessAllAreOptional<{
|
|
26754
27740
|
parameters?: CompositeParameters<{
|
|
26755
27741
|
organizationId: string;
|
|
27742
|
+
} & {
|
|
27743
|
+
[key in `c_${string}`]: any;
|
|
26756
27744
|
}, ConfigParameters>;
|
|
26757
27745
|
headers?: {
|
|
26758
27746
|
[key: string]: string;
|
|
@@ -26775,6 +27763,8 @@ declare namespace helpers {
|
|
|
26775
27763
|
resetPassword<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26776
27764
|
parameters?: CompositeParameters<{
|
|
26777
27765
|
organizationId: string;
|
|
27766
|
+
} & {
|
|
27767
|
+
[key in `c_${string}`]: any;
|
|
26778
27768
|
}, ConfigParameters>;
|
|
26779
27769
|
headers?: {
|
|
26780
27770
|
[key: string]: string;
|
|
@@ -26799,6 +27789,8 @@ declare namespace helpers {
|
|
|
26799
27789
|
getPasswordLessAccessToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26800
27790
|
parameters?: CompositeParameters<{
|
|
26801
27791
|
organizationId: string;
|
|
27792
|
+
} & {
|
|
27793
|
+
[key in `c_${string}`]: any;
|
|
26802
27794
|
}, ConfigParameters>;
|
|
26803
27795
|
headers?: {
|
|
26804
27796
|
[key: string]: string;
|
|
@@ -26821,6 +27813,8 @@ declare namespace helpers {
|
|
|
26821
27813
|
getPasswordLessAccessToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26822
27814
|
parameters?: CompositeParameters<{
|
|
26823
27815
|
organizationId: string;
|
|
27816
|
+
} & {
|
|
27817
|
+
[key in `c_${string}`]: any;
|
|
26824
27818
|
}, ConfigParameters>;
|
|
26825
27819
|
headers?: {
|
|
26826
27820
|
[key: string]: string;
|
|
@@ -26845,6 +27839,8 @@ declare namespace helpers {
|
|
|
26845
27839
|
revokeToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26846
27840
|
parameters?: CompositeParameters<{
|
|
26847
27841
|
organizationId: string;
|
|
27842
|
+
} & {
|
|
27843
|
+
[key in `c_${string}`]: any;
|
|
26848
27844
|
}, ConfigParameters>;
|
|
26849
27845
|
headers?: {
|
|
26850
27846
|
[key: string]: string;
|
|
@@ -26867,6 +27863,8 @@ declare namespace helpers {
|
|
|
26867
27863
|
revokeToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26868
27864
|
parameters?: CompositeParameters<{
|
|
26869
27865
|
organizationId: string;
|
|
27866
|
+
} & {
|
|
27867
|
+
[key in `c_${string}`]: any;
|
|
26870
27868
|
}, ConfigParameters>;
|
|
26871
27869
|
headers?: {
|
|
26872
27870
|
[key: string]: string;
|
|
@@ -26891,6 +27889,8 @@ declare namespace helpers {
|
|
|
26891
27889
|
introspectToken(options: RequireParametersUnlessAllAreOptional<{
|
|
26892
27890
|
parameters?: CompositeParameters<{
|
|
26893
27891
|
organizationId: string;
|
|
27892
|
+
} & {
|
|
27893
|
+
[key in `c_${string}`]: any;
|
|
26894
27894
|
}, ConfigParameters>;
|
|
26895
27895
|
headers?: {
|
|
26896
27896
|
[key: string]: string;
|
|
@@ -26913,6 +27913,8 @@ declare namespace helpers {
|
|
|
26913
27913
|
introspectToken<T extends boolean>(options: RequireParametersUnlessAllAreOptional<{
|
|
26914
27914
|
parameters?: CompositeParameters<{
|
|
26915
27915
|
organizationId: string;
|
|
27916
|
+
} & {
|
|
27917
|
+
[key in `c_${string}`]: any;
|
|
26916
27918
|
}, ConfigParameters>;
|
|
26917
27919
|
headers?: {
|
|
26918
27920
|
[key: string]: string;
|
|
@@ -26938,6 +27940,8 @@ declare namespace helpers {
|
|
|
26938
27940
|
parameters?: CompositeParameters<{
|
|
26939
27941
|
organizationId: string;
|
|
26940
27942
|
channel_id?: string;
|
|
27943
|
+
} & {
|
|
27944
|
+
[key in `c_${string}`]: any;
|
|
26941
27945
|
}, ConfigParameters>;
|
|
26942
27946
|
headers?: {
|
|
26943
27947
|
[key: string]: string;
|
|
@@ -26960,6 +27964,8 @@ declare namespace helpers {
|
|
|
26960
27964
|
parameters?: CompositeParameters<{
|
|
26961
27965
|
organizationId: string;
|
|
26962
27966
|
channel_id?: string;
|
|
27967
|
+
} & {
|
|
27968
|
+
[key in `c_${string}`]: any;
|
|
26963
27969
|
}, ConfigParameters>;
|
|
26964
27970
|
headers?: {
|
|
26965
27971
|
[key: string]: string;
|
|
@@ -26985,6 +27991,8 @@ declare namespace helpers {
|
|
|
26985
27991
|
getWellknownOpenidConfiguration(options?: RequireParametersUnlessAllAreOptional<{
|
|
26986
27992
|
parameters?: CompositeParameters<{
|
|
26987
27993
|
organizationId: string;
|
|
27994
|
+
} & {
|
|
27995
|
+
[key in `c_${string}`]: any;
|
|
26988
27996
|
}, ConfigParameters>;
|
|
26989
27997
|
headers?: {
|
|
26990
27998
|
[key: string]: string;
|
|
@@ -27008,6 +28016,8 @@ declare namespace helpers {
|
|
|
27008
28016
|
getWellknownOpenidConfiguration<T extends boolean>(options?: RequireParametersUnlessAllAreOptional<{
|
|
27009
28017
|
parameters?: CompositeParameters<{
|
|
27010
28018
|
organizationId: string;
|
|
28019
|
+
} & {
|
|
28020
|
+
[key in `c_${string}`]: any;
|
|
27011
28021
|
}, ConfigParameters>;
|
|
27012
28022
|
headers?: {
|
|
27013
28023
|
[key: string]: string;
|
|
@@ -27033,6 +28043,8 @@ declare namespace helpers {
|
|
|
27033
28043
|
getJwksUri(options?: RequireParametersUnlessAllAreOptional<{
|
|
27034
28044
|
parameters?: CompositeParameters<{
|
|
27035
28045
|
organizationId: string;
|
|
28046
|
+
} & {
|
|
28047
|
+
[key in `c_${string}`]: any;
|
|
27036
28048
|
}, ConfigParameters>;
|
|
27037
28049
|
headers?: {
|
|
27038
28050
|
[key: string]: string;
|
|
@@ -27056,6 +28068,8 @@ declare namespace helpers {
|
|
|
27056
28068
|
getJwksUri<T extends boolean>(options?: RequireParametersUnlessAllAreOptional<{
|
|
27057
28069
|
parameters?: CompositeParameters<{
|
|
27058
28070
|
organizationId: string;
|
|
28071
|
+
} & {
|
|
28072
|
+
[key in `c_${string}`]: any;
|
|
27059
28073
|
}, ConfigParameters>;
|
|
27060
28074
|
headers?: {
|
|
27061
28075
|
[key: string]: string;
|
|
@@ -27107,6 +28121,26 @@ declare namespace helpers {
|
|
|
27107
28121
|
url: string;
|
|
27108
28122
|
usid: string;
|
|
27109
28123
|
}>;
|
|
28124
|
+
/**
|
|
28125
|
+
* A single function to execute the ShopperLogin Private Client Guest Login as described in the [API documentation](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas-private-client.html).
|
|
28126
|
+
* **Note**: this func can run on client side. Only use this one when the slas client secret is secured.
|
|
28127
|
+
* @param slasClient - a configured instance of the ShopperLogin SDK client
|
|
28128
|
+
* @param credentials - client secret used for authentication
|
|
28129
|
+
* @param credentials.clientSecret - secret associated with client ID
|
|
28130
|
+
* @param parameters - parameters to pass in the API calls.
|
|
28131
|
+
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
|
|
28132
|
+
* @returns TokenResponse
|
|
28133
|
+
*/
|
|
28134
|
+
function loginGuestUserPrivate(slasClient: ShopperLogin<{
|
|
28135
|
+
shortCode: string;
|
|
28136
|
+
organizationId: string;
|
|
28137
|
+
clientId: string;
|
|
28138
|
+
siteId: string;
|
|
28139
|
+
}>, parameters: {
|
|
28140
|
+
usid?: string;
|
|
28141
|
+
}, credentials: {
|
|
28142
|
+
clientSecret: string;
|
|
28143
|
+
}): Promise<TokenResponse>;
|
|
27110
28144
|
/**
|
|
27111
28145
|
* A single function to execute the ShopperLogin Public Client Guest Login with proof key for code exchange flow as described in the [API documentation](https://developer.salesforce.com/docs/commerce/commerce-api/references?meta=shopper-login:Summary).
|
|
27112
28146
|
* @param slasClient a configured instance of the ShopperLogin SDK client.
|
|
@@ -27126,10 +28160,12 @@ declare namespace helpers {
|
|
|
27126
28160
|
}): Promise<TokenResponse>;
|
|
27127
28161
|
/**
|
|
27128
28162
|
* A single function to execute the ShopperLogin Public Client Registered User B2C Login with proof key for code exchange flow as described in the [API documentation](https://developer.salesforce.com/docs/commerce/commerce-api/references?meta=shopper-login:Summary).
|
|
28163
|
+
* **Note**: this func can run on client side. Only use private slas when the slas client secret is secured.
|
|
27129
28164
|
* @param slasClient a configured instance of the ShopperLogin SDK client.
|
|
27130
|
-
* @param credentials - the id and password to login with.
|
|
28165
|
+
* @param credentials - the id and password and clientSecret (if applicable) to login with.
|
|
27131
28166
|
* @param credentials.username - the id of the user to login with.
|
|
27132
28167
|
* @param credentials.password - the password of the user to login with.
|
|
28168
|
+
* @param credentials.clientSecret? - secret associated with client ID
|
|
27133
28169
|
* @param parameters - parameters to pass in the API calls.
|
|
27134
28170
|
* @param parameters.redirectURI - Per OAuth standard, a valid app route. Must be listed in your SLAS configuration. On server, this will not be actually called. On browser, this will be called, but ignored.
|
|
27135
28171
|
* @param parameters.usid? - Unique Shopper Identifier to enable personalization.
|
|
@@ -27143,15 +28179,19 @@ declare namespace helpers {
|
|
|
27143
28179
|
}>, credentials: {
|
|
27144
28180
|
username: string;
|
|
27145
28181
|
password: string;
|
|
28182
|
+
clientSecret?: string;
|
|
27146
28183
|
}, parameters: {
|
|
27147
28184
|
redirectURI: string;
|
|
27148
28185
|
usid?: string;
|
|
27149
28186
|
}): Promise<TokenResponse>;
|
|
27150
28187
|
/**
|
|
27151
28188
|
* Exchange a refresh token for a new access token.
|
|
28189
|
+
* **Note**: this func can run on client side. Only use private slas when the slas client secret is secured.
|
|
27152
28190
|
* @param slasClient a configured instance of the ShopperLogin SDK client.
|
|
27153
28191
|
* @param parameters - parameters to pass in the API calls.
|
|
27154
28192
|
* @param parameters.refreshToken - a valid refresh token to exchange for a new access token (and refresh token).
|
|
28193
|
+
* @param credentials - the clientSecret (if applicable) to login with.
|
|
28194
|
+
* @param credentials.clientSecret - secret associated with client ID
|
|
27155
28195
|
* @returns TokenResponse
|
|
27156
28196
|
*/
|
|
27157
28197
|
function refreshAccessToken(slasClient: ShopperLogin<{
|
|
@@ -27161,6 +28201,8 @@ declare namespace helpers {
|
|
|
27161
28201
|
siteId: string;
|
|
27162
28202
|
}>, parameters: {
|
|
27163
28203
|
refreshToken: string;
|
|
28204
|
+
}, credentials?: {
|
|
28205
|
+
clientSecret?: string;
|
|
27164
28206
|
}): Promise<TokenResponse>;
|
|
27165
28207
|
/**
|
|
27166
28208
|
* Logout a shopper. The shoppers access token and refresh token will be revoked and if the shopper authenticated with ECOM the OCAPI JWT will also be revoked.
|