@gofynd/fdk-client-javascript 1.4.15-beta.14 → 1.4.15-beta.15
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/README.md +23 -26
- package/package.json +5 -1
- package/sdk/application/ApplicationClient.d.ts +5 -6
- package/sdk/application/ApplicationClient.js +24 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
- package/sdk/application/Cart/CartApplicationClient.js +444 -76
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
- package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
- package/sdk/application/Content/ContentApplicationClient.js +274 -111
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
- package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
- package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
- package/sdk/application/Order/OrderApplicationClient.js +217 -17
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
- package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
- package/sdk/application/User/UserApplicationClient.d.ts +103 -53
- package/sdk/application/User/UserApplicationClient.js +308 -49
- package/sdk/common/AxiosHelper.js +11 -4
- package/sdk/common/Constant.d.ts +27 -4
- package/sdk/common/Constant.js +33 -6
- package/sdk/common/utils.d.ts +10 -0
- package/sdk/common/utils.js +24 -3
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
- package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
- package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
- package/sdk/partner/PartnerClient.d.ts +5 -2
- package/sdk/partner/PartnerClient.js +21 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
- package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
- package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
- package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
- package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
- package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
- package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9573 -2678
- package/sdk/platform/Catalog/CatalogPlatformModel.js +5033 -1973
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
- package/sdk/platform/Common/CommonPlatformModel.js +25 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
- package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
- package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
- package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
- package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
- package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
- package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
- package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
- package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
- package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
- package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
- package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
- package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
- package/sdk/platform/PlatformApplicationClient.js +0 -4
- package/sdk/platform/PlatformClient.d.ts +5 -4
- package/sdk/platform/PlatformClient.js +32 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
- package/sdk/platform/Share/SharePlatformModel.js +31 -6
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
- package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
- package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
- package/sdk/platform/User/UserPlatformModel.js +607 -46
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
- package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
- package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -2
- package/sdk/platform/index.js +0 -4
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
- package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
- package/sdk/public/Content/ContentPublicClient.js +1067 -17
- package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
- package/sdk/public/Content/ContentPublicModel.js +751 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
- package/sdk/public/Content/ContentPublicValidator.js +119 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +5 -2
- package/sdk/public/PublicClient.js +16 -6
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/utility.d.ts +3 -0
- package/utility.js +7 -0
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
- package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
- package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
|
@@ -3,15 +3,11 @@ export = CartPlatformApplicationValidator;
|
|
|
3
3
|
* @typedef AddAddressParam
|
|
4
4
|
* @property {CartPlatformModel.PlatformAddress} body
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* @typedef AddBulkPriceAdjustmentParam
|
|
8
|
-
* @property {CartPlatformModel.BulkPriceAdjustmentAddRequest} body
|
|
9
|
-
*/
|
|
10
6
|
/**
|
|
11
7
|
* @typedef AddItemsParam
|
|
12
|
-
* @property {string} cartId - Current Cart
|
|
8
|
+
* @property {string} cartId - Current Cart id of user cart
|
|
13
9
|
* @property {boolean} [b]
|
|
14
|
-
* @property {CartPlatformModel.
|
|
10
|
+
* @property {CartPlatformModel.AddCartCreation} body
|
|
15
11
|
*/
|
|
16
12
|
/**
|
|
17
13
|
* @typedef AddPriceAdjustmentParam
|
|
@@ -19,19 +15,53 @@ export = CartPlatformApplicationValidator;
|
|
|
19
15
|
*/
|
|
20
16
|
/**
|
|
21
17
|
* @typedef ApplyCouponParam
|
|
18
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
19
|
+
* identify source of order creation.
|
|
20
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
21
|
+
* used to identify source type of order creation.
|
|
22
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
23
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
24
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
22
25
|
* @property {boolean} [i]
|
|
23
26
|
* @property {boolean} [b]
|
|
24
27
|
* @property {boolean} [p]
|
|
25
28
|
* @property {string} [id]
|
|
26
29
|
* @property {boolean} [buyNow]
|
|
27
|
-
* @property {CartPlatformModel.
|
|
30
|
+
* @property {CartPlatformModel.ApplyCouponDetails} body
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* @typedef ApplyLoyaltyPointsParam
|
|
34
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
35
|
+
* identify source of order creation.
|
|
36
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
37
|
+
* used to identify source type of order creation.
|
|
38
|
+
* @property {string} [id] - The unique identifier of the cart.
|
|
39
|
+
* @property {boolean} [i] - Select `true` to retrieve all the items added in the cart.
|
|
40
|
+
* @property {boolean} [b] - Select `true` to retrieve the price breakup of cart items.
|
|
41
|
+
* @property {boolean} [buyNow] - This is boolean to get buy_now cart.
|
|
42
|
+
* @property {CartPlatformModel.RedeemLoyaltyPoints} body
|
|
28
43
|
*/
|
|
29
44
|
/**
|
|
30
45
|
* @typedef CheckCartServiceabilityParam
|
|
31
|
-
* @property {
|
|
46
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
47
|
+
* identify source of order creation.
|
|
48
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
49
|
+
* used to identify source type of order creation.
|
|
50
|
+
* @property {CartPlatformModel.OpenApiCartServiceabilityCreation} body
|
|
32
51
|
*/
|
|
33
52
|
/**
|
|
34
53
|
* @typedef CheckoutCartParam
|
|
54
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
55
|
+
* identify source of order creation.
|
|
56
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
57
|
+
* used to identify source type of order creation.
|
|
58
|
+
* @property {string} [xAnonymousCart] - It allows operations on cross-platform
|
|
59
|
+
* anonymous carts. When provided, the system retrieves the cart using only
|
|
60
|
+
* the cart_id, ignoring the user_id. Use this when interacting with an
|
|
61
|
+
* anonymous or guest cart across platforms.
|
|
62
|
+
* @property {string} [xLocationDetail] - Location details for the cart checkout
|
|
63
|
+
* @property {string} [xCurrencyCode] - Currency code for transactions. Defaults
|
|
64
|
+
* to INR if the location is India.
|
|
35
65
|
* @property {CartPlatformModel.OpenApiPlatformCheckoutReq} body
|
|
36
66
|
*/
|
|
37
67
|
/**
|
|
@@ -42,6 +72,10 @@ export = CartPlatformApplicationValidator;
|
|
|
42
72
|
* @typedef CreateCouponParam
|
|
43
73
|
* @property {CartPlatformModel.CouponAdd} body
|
|
44
74
|
*/
|
|
75
|
+
/**
|
|
76
|
+
* @typedef CreateOfferParam
|
|
77
|
+
* @property {CartPlatformModel.OfferSchema} body
|
|
78
|
+
*/
|
|
45
79
|
/**
|
|
46
80
|
* @typedef CreatePromotionParam
|
|
47
81
|
* @property {CartPlatformModel.PromotionAdd} body
|
|
@@ -49,11 +83,29 @@ export = CartPlatformApplicationValidator;
|
|
|
49
83
|
/**
|
|
50
84
|
* @typedef DeleteCartParam
|
|
51
85
|
* @property {string} [id] - The unique identifier of the cart.
|
|
52
|
-
* @property {CartPlatformModel.
|
|
86
|
+
* @property {CartPlatformModel.DeleteCartDetails} body
|
|
87
|
+
*/
|
|
88
|
+
/**
|
|
89
|
+
* @typedef DeleteCouponParam
|
|
90
|
+
* @property {string} id
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* @typedef DeleteOfferParam
|
|
94
|
+
* @property {string} id
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* @typedef DeletePromotionParam
|
|
98
|
+
* @property {string} id
|
|
53
99
|
*/
|
|
54
100
|
/**
|
|
55
101
|
* @typedef FetchAndvalidateCartItemsParam
|
|
56
|
-
* @property {
|
|
102
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
103
|
+
* identify source of order creation.
|
|
104
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
105
|
+
* used to identify source type of order creation.
|
|
106
|
+
* @property {string} [xLocationDetail] - Location details for the cart checkout
|
|
107
|
+
* @property {string} [xCurrencyCode] - Currency code for transactions.
|
|
108
|
+
* @property {CartPlatformModel.OpenapiCartDetailsCreation} body
|
|
57
109
|
*/
|
|
58
110
|
/** @typedef FetchCartMetaConfigParam */
|
|
59
111
|
/**
|
|
@@ -108,6 +160,13 @@ export = CartPlatformApplicationValidator;
|
|
|
108
160
|
*/
|
|
109
161
|
/**
|
|
110
162
|
* @typedef GetCartParam
|
|
163
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
164
|
+
* identify source of order creation.
|
|
165
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
166
|
+
* used to identify source type of order creation.
|
|
167
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
168
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
169
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
111
170
|
* @property {string} [id] - The unique identifier of the cart
|
|
112
171
|
* @property {string} [userId] - Option to fetch cart for the provided user_id.
|
|
113
172
|
* @property {string} [orderType] - The order type of shipment HomeDelivery - If
|
|
@@ -129,7 +188,7 @@ export = CartPlatformApplicationValidator;
|
|
|
129
188
|
*/
|
|
130
189
|
/**
|
|
131
190
|
* @typedef GetCartShareLinkParam
|
|
132
|
-
* @property {CartPlatformModel.
|
|
191
|
+
* @property {CartPlatformModel.GetShareCartLinkCreation} body
|
|
133
192
|
*/
|
|
134
193
|
/**
|
|
135
194
|
* @typedef GetCartSharedItemsParam
|
|
@@ -154,20 +213,52 @@ export = CartPlatformApplicationValidator;
|
|
|
154
213
|
* @property {boolean} [isDisplay]
|
|
155
214
|
* @property {string} [typeSlug]
|
|
156
215
|
* @property {string} [code]
|
|
216
|
+
* @property {string} [createdBy]
|
|
217
|
+
* @property {string} [reviewedBy]
|
|
218
|
+
* @property {string} [approvedStartTime]
|
|
219
|
+
* @property {string} [approvedEndTime]
|
|
220
|
+
* @property {string} [reviewStartTime]
|
|
221
|
+
* @property {string} [reviewEndTime]
|
|
222
|
+
* @property {string} [status]
|
|
157
223
|
*/
|
|
158
224
|
/**
|
|
159
225
|
* @typedef GetItemCountParam
|
|
160
226
|
* @property {string} [id] - The unique identifier of the cart.
|
|
161
227
|
* @property {boolean} [buyNow] - Boolean value to get buy_now cart.
|
|
162
228
|
*/
|
|
229
|
+
/**
|
|
230
|
+
* @typedef GetOfferByIdParam
|
|
231
|
+
* @property {string} id
|
|
232
|
+
*/
|
|
233
|
+
/**
|
|
234
|
+
* @typedef GetOffersParam
|
|
235
|
+
* @property {number} [pageNo] - Current page no as per pagination
|
|
236
|
+
* @property {number} [pageSize] - Offers max records fetched in single request
|
|
237
|
+
* @property {string} [search] - Filter by offer name
|
|
238
|
+
* @property {string} [mode] - Filter by offer mode
|
|
239
|
+
* @property {string} [type] - Filter by offer type
|
|
240
|
+
* @property {string} [promoGroup]
|
|
241
|
+
* @property {boolean} [excludeContractOffers] - Filter non contract offers
|
|
242
|
+
* @property {string} [offerId] - Filter by offer id
|
|
243
|
+
* @property {string} [createdBy] - Filter by offer created by user id
|
|
244
|
+
* @property {string} [reviewedBy] - Filter by offer reviewer user id
|
|
245
|
+
* @property {string} [approvedStartTime] - Filter offer by start time date
|
|
246
|
+
* range when status is in approved state
|
|
247
|
+
* @property {string} [approvedEndTime] - Filter offer by end time date range
|
|
248
|
+
* when status is in approved state
|
|
249
|
+
* @property {string} [status] - Filter your offers effortlessly by status, such
|
|
250
|
+
* as draft, review and more
|
|
251
|
+
* @property {string} [code] - Filter by offer code in case of coupons
|
|
252
|
+
* @property {boolean} [isPublic] - Filter offers which are public
|
|
253
|
+
*/
|
|
163
254
|
/**
|
|
164
255
|
* @typedef GetPriceAdjustmentsParam
|
|
165
|
-
* @property {string} cartId - Cart
|
|
256
|
+
* @property {string} cartId - Cart id of user cart
|
|
166
257
|
*/
|
|
167
258
|
/**
|
|
168
259
|
* @typedef GetPromosCouponConfigParam
|
|
169
|
-
* @property {string} [entityType] -
|
|
170
|
-
* @property {boolean} [isHidden] -
|
|
260
|
+
* @property {string} [entityType] - Entity type as promotion or coupon
|
|
261
|
+
* @property {boolean} [isHidden] - Promotion coupon config shown or not
|
|
171
262
|
*/
|
|
172
263
|
/**
|
|
173
264
|
* @typedef GetPromotionByIdParam
|
|
@@ -184,13 +275,17 @@ export = CartPlatformApplicationValidator;
|
|
|
184
275
|
* /service/application/catalog/v1.0/products/
|
|
185
276
|
* @property {number} [pageSize] - Number of offers to be fetched to show
|
|
186
277
|
* @property {string} [promotionGroup] - Type of promotion groups
|
|
187
|
-
* @property {number} [storeId] -
|
|
278
|
+
* @property {number} [storeId] - Unique identifier of a store
|
|
188
279
|
* @property {string} [cartType] - The type of cart
|
|
280
|
+
* @property {string} [promotionType] - Type of promotion to be fetched
|
|
281
|
+
* @property {string} [cartId] - The unique identifier of the user cart.
|
|
282
|
+
* @property {boolean} [autoApply] - Indicates whether to filter promotions
|
|
283
|
+
* based on their auto_apply status.
|
|
189
284
|
*/
|
|
190
285
|
/**
|
|
191
286
|
* @typedef GetPromotionPaymentOffersParam
|
|
192
|
-
* @property {string} [id] - Cart id
|
|
193
|
-
* @property {number} [uid] - Cart uid
|
|
287
|
+
* @property {string} [id] - Cart id of the user cart
|
|
288
|
+
* @property {number} [uid] - Cart uid of the user cart
|
|
194
289
|
*/
|
|
195
290
|
/**
|
|
196
291
|
* @typedef GetPromotionsParam
|
|
@@ -202,6 +297,13 @@ export = CartPlatformApplicationValidator;
|
|
|
202
297
|
* @property {string} [promotionType]
|
|
203
298
|
* @property {string} [fpPanel]
|
|
204
299
|
* @property {string} [promotionId]
|
|
300
|
+
* @property {string} [createdBy]
|
|
301
|
+
* @property {string} [reviewedBy]
|
|
302
|
+
* @property {string} [approvedStartTime]
|
|
303
|
+
* @property {string} [approvedEndTime]
|
|
304
|
+
* @property {string} [reviewStartTime]
|
|
305
|
+
* @property {string} [reviewEndTime]
|
|
306
|
+
* @property {string} [status]
|
|
205
307
|
*/
|
|
206
308
|
/**
|
|
207
309
|
* @typedef GetShipmentsParam
|
|
@@ -224,34 +326,75 @@ export = CartPlatformApplicationValidator;
|
|
|
224
326
|
*/
|
|
225
327
|
/**
|
|
226
328
|
* @typedef OverrideCartParam
|
|
329
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
330
|
+
* identify source of order creation.
|
|
331
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
332
|
+
* used to identify source type of order creation.
|
|
333
|
+
* @property {string} [xLocationDetail] - Location details for the cart checkout
|
|
334
|
+
* @property {string} [xCurrencyCode] - Currency code for transactions. Defaults
|
|
335
|
+
* to INR if the location is India.
|
|
227
336
|
* @property {CartPlatformModel.OverrideCheckoutReq} body
|
|
228
337
|
*/
|
|
229
338
|
/**
|
|
230
339
|
* @typedef PlatformAddItemsParam
|
|
340
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
341
|
+
* identify source of order creation.
|
|
342
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
343
|
+
* used to identify source type of order creation.
|
|
344
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
345
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
346
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
231
347
|
* @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
|
|
232
348
|
* all the items added in the cart.
|
|
233
349
|
* @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
|
|
234
350
|
* the price breakup of cart items.
|
|
351
|
+
* @property {boolean} [includeCartCalculation] - Set to `false` to skip
|
|
352
|
+
* recalculating and fetching the updated cart after the edit. Defaults to `true`.
|
|
235
353
|
* @property {boolean} [buyNow] - This is a boolen value. Select `true` to
|
|
236
354
|
* set/initialize buy now cart
|
|
237
355
|
* @property {string} [orderType] - The order type of shipment HomeDelivery - If
|
|
238
356
|
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
239
357
|
* wants the handover of an order at the store itself.
|
|
240
358
|
* @property {string} [id] - The unique identifier of the cart
|
|
241
|
-
* @property {CartPlatformModel.
|
|
359
|
+
* @property {CartPlatformModel.PlatformAddCartDetails} body
|
|
242
360
|
*/
|
|
243
361
|
/**
|
|
244
362
|
* @typedef PlatformCheckoutCartParam
|
|
363
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
364
|
+
* identify source of order creation.
|
|
365
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
366
|
+
* used to identify source type of order creation.
|
|
367
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
368
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
369
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
245
370
|
* @property {string} [id] - The unique identifier of the cart
|
|
246
|
-
* @property {CartPlatformModel.
|
|
371
|
+
* @property {CartPlatformModel.PlatformCartCheckoutDetailCreation} body
|
|
247
372
|
*/
|
|
248
373
|
/**
|
|
249
374
|
* @typedef PlatformCheckoutCartV2Param
|
|
250
|
-
* @property {string} [
|
|
251
|
-
*
|
|
375
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
376
|
+
* identify source of order creation
|
|
377
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
378
|
+
* used to identify source type of order creation.
|
|
379
|
+
* @property {string} [xAnonymousCart] - It allows operations on cross-platform
|
|
380
|
+
* anonymous carts. When provided, the system retrieves the cart using only
|
|
381
|
+
* the cart_id, ignoring the user_id. Use this when interacting with an
|
|
382
|
+
* anonymous or guest cart across platforms.
|
|
383
|
+
* @property {string} [xLocationDetail] - Location information for the cart
|
|
384
|
+
* @property {string} [xCurrencyCode] - Currency code for the transaction.
|
|
385
|
+
* Defaults to INR if the order location is India.
|
|
386
|
+
* @property {string} [id] - Unique identifier of the cart
|
|
387
|
+
* @property {CartPlatformModel.PlatformCartCheckoutDetailV2Creation} body
|
|
252
388
|
*/
|
|
253
389
|
/**
|
|
254
390
|
* @typedef PlatformUpdateCartParam
|
|
391
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
392
|
+
* identify source of order creation.
|
|
393
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
394
|
+
* used to identify source type of order creation.
|
|
395
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
396
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
397
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
255
398
|
* @property {string} [id] - The unique identifier of the cart
|
|
256
399
|
* @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
|
|
257
400
|
* all the items added in the cart.
|
|
@@ -260,22 +403,26 @@ export = CartPlatformApplicationValidator;
|
|
|
260
403
|
* wants the handover of an order at the store itself.
|
|
261
404
|
* @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
|
|
262
405
|
* the price breakup of cart items.
|
|
406
|
+
* @property {boolean} [includeCartCalculation] - Set to `false` to skip
|
|
407
|
+
* recalculating and fetching the updated cart after the edit. Defaults to `true`.
|
|
263
408
|
* @property {boolean} [buyNow] - This is a boolen value. Select `true` to
|
|
264
409
|
* set/initialize buy now cart
|
|
265
|
-
* @property {CartPlatformModel.
|
|
410
|
+
* @property {CartPlatformModel.PlatformUpdateCartDetails} body
|
|
266
411
|
*/
|
|
267
412
|
/**
|
|
268
413
|
* @typedef RemoveAddressParam
|
|
269
414
|
* @property {string} id - ID allotted to the selected address
|
|
270
415
|
* @property {string} [userId] - Option to delete address for the provided user_id.
|
|
271
416
|
*/
|
|
272
|
-
/**
|
|
273
|
-
* @typedef RemoveBulkPriceAdjustmentParam
|
|
274
|
-
* @property {string} priceAdjustmentIds - List of Price Adjustment IDs to be
|
|
275
|
-
* removed (comma-separated)
|
|
276
|
-
*/
|
|
277
417
|
/**
|
|
278
418
|
* @typedef RemoveCouponParam
|
|
419
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
420
|
+
* identify source of order creation.
|
|
421
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
422
|
+
* used to identify source type of order creation.
|
|
423
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
424
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
425
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
279
426
|
* @property {string} [uid]
|
|
280
427
|
* @property {boolean} [buyNow]
|
|
281
428
|
*/
|
|
@@ -285,28 +432,42 @@ export = CartPlatformApplicationValidator;
|
|
|
285
432
|
*/
|
|
286
433
|
/**
|
|
287
434
|
* @typedef SelectAddressParam
|
|
435
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
436
|
+
* identify source of order creation.
|
|
437
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
438
|
+
* used to identify source type of order creation.
|
|
439
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
440
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
441
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
288
442
|
* @property {string} [cartId]
|
|
289
443
|
* @property {boolean} [buyNow]
|
|
290
444
|
* @property {boolean} [i]
|
|
291
445
|
* @property {boolean} [b]
|
|
292
|
-
* @property {CartPlatformModel.
|
|
446
|
+
* @property {CartPlatformModel.PlatformSelectCartAddress} body
|
|
293
447
|
*/
|
|
294
448
|
/**
|
|
295
449
|
* @typedef SelectPaymentModeParam
|
|
450
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
451
|
+
* identify source of order creation.
|
|
452
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
453
|
+
* used to identify source type of order creation.
|
|
454
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
455
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
456
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
296
457
|
* @property {string} [id]
|
|
297
458
|
* @property {boolean} [buyNow]
|
|
298
|
-
* @property {string} [orderType]
|
|
299
|
-
*
|
|
300
|
-
* wants the handover of an order at the store itself.
|
|
301
|
-
* @property {CartPlatformModel.UpdateCartPaymentRequest} body
|
|
459
|
+
* @property {string} [orderType]
|
|
460
|
+
* @property {CartPlatformModel.CartPaymentUpdate} body
|
|
302
461
|
*/
|
|
303
462
|
/**
|
|
304
463
|
* @typedef SelectPaymentModeV2Param
|
|
464
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
465
|
+
* identify source of order creation.
|
|
466
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
467
|
+
* used to identify source type of order creation.
|
|
305
468
|
* @property {string} [id]
|
|
306
469
|
* @property {boolean} [buyNow]
|
|
307
|
-
* @property {string} [orderType]
|
|
308
|
-
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
309
|
-
* wants the handover of an order at the store itself.
|
|
470
|
+
* @property {string} [orderType]
|
|
310
471
|
* @property {CartPlatformModel.UpdateCartPaymentRequestV2} body
|
|
311
472
|
*/
|
|
312
473
|
/**
|
|
@@ -314,26 +475,45 @@ export = CartPlatformApplicationValidator;
|
|
|
314
475
|
* @property {string} id - ID allotted to the selected address
|
|
315
476
|
* @property {CartPlatformModel.PlatformAddress} body
|
|
316
477
|
*/
|
|
317
|
-
/**
|
|
318
|
-
* @typedef UpdateBulkPriceAdjustmentParam
|
|
319
|
-
* @property {CartPlatformModel.BulkPriceAdjustmentUpdateRequest} body
|
|
320
|
-
*/
|
|
321
478
|
/**
|
|
322
479
|
* @typedef UpdateCartParam
|
|
323
|
-
* @property {string} cartId - Current Cart
|
|
480
|
+
* @property {string} cartId - Current Cart id of user cart
|
|
324
481
|
* @property {boolean} [b]
|
|
325
|
-
* @property {CartPlatformModel.
|
|
482
|
+
* @property {CartPlatformModel.UpdateCartCreation} body
|
|
483
|
+
*/
|
|
484
|
+
/**
|
|
485
|
+
* @typedef UpdateCartBreakupParam
|
|
486
|
+
* @property {string} [xOrderingSource] - Identifier for the ordering source
|
|
487
|
+
* (e.g., web, mobile app, POS). Used to determine the origin of the order
|
|
488
|
+
* request and apply source-specific rules.
|
|
489
|
+
* @property {string} [xOrderingSourceType] - Identifier for the ordering source
|
|
490
|
+
* type (e.g., storefront, store_os_pos, kiosk). Used to determine the source
|
|
491
|
+
* type for order governance and validations.
|
|
492
|
+
* @property {string} [xAnonymousCart] - Anonymous cart header used to perform
|
|
493
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
494
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
495
|
+
* @property {string} [id] - Unique identifier of the cart for which the breakup
|
|
496
|
+
* needs to be updated.
|
|
497
|
+
* @property {boolean} [i] - Set to `true` to include all items currently added
|
|
498
|
+
* to the cart in the response.
|
|
499
|
+
* @property {boolean} [b] - Set to `true` to include the detailed price breakup
|
|
500
|
+
* of each cart item in the response.
|
|
501
|
+
* @property {boolean} [includeCartCalculation] - Set to `false` to skip
|
|
502
|
+
* recalculating and fetching the updated cart after the edit. Defaults to `true`.
|
|
503
|
+
* @property {boolean} [buyNow] - Set to `true` to initialize a "Buy Now" cart
|
|
504
|
+
* flow, enabling direct checkout for a single item.
|
|
505
|
+
* @property {CartPlatformModel.UpdateCartBreakup} body
|
|
326
506
|
*/
|
|
327
507
|
/**
|
|
328
508
|
* @typedef UpdateCartMetaParam
|
|
329
509
|
* @property {string} [id]
|
|
330
510
|
* @property {boolean} [buyNow]
|
|
331
|
-
* @property {CartPlatformModel.
|
|
511
|
+
* @property {CartPlatformModel.PlatformCartMetaCreation} body
|
|
332
512
|
*/
|
|
333
513
|
/**
|
|
334
514
|
* @typedef UpdateCartMetaConfigParam
|
|
335
|
-
* @property {string} cartMetaId - CartMeta
|
|
336
|
-
*
|
|
515
|
+
* @property {string} cartMetaId - CartMeta id for fetching single cart meta
|
|
516
|
+
* data for editing
|
|
337
517
|
* @property {CartPlatformModel.CartMetaConfigUpdate} body
|
|
338
518
|
*/
|
|
339
519
|
/**
|
|
@@ -357,6 +537,16 @@ export = CartPlatformApplicationValidator;
|
|
|
357
537
|
* @property {string} id
|
|
358
538
|
* @property {CartPlatformModel.CouponPartialUpdate} body
|
|
359
539
|
*/
|
|
540
|
+
/**
|
|
541
|
+
* @typedef UpdateOfferParam
|
|
542
|
+
* @property {string} id
|
|
543
|
+
* @property {CartPlatformModel.OfferSchema} body
|
|
544
|
+
*/
|
|
545
|
+
/**
|
|
546
|
+
* @typedef UpdateOfferPartiallyParam
|
|
547
|
+
* @property {string} id
|
|
548
|
+
* @property {CartPlatformModel.OfferPartialUpdate} body
|
|
549
|
+
*/
|
|
360
550
|
/**
|
|
361
551
|
* @typedef UpdatePriceAdjustmentParam
|
|
362
552
|
* @property {string} id
|
|
@@ -384,10 +574,14 @@ export = CartPlatformApplicationValidator;
|
|
|
384
574
|
* @property {string} [orderType] - The order type of shipment HomeDelivery - If
|
|
385
575
|
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
386
576
|
* wants the handover of an order at the store itself.
|
|
387
|
-
* @property {CartPlatformModel.
|
|
577
|
+
* @property {CartPlatformModel.UpdateCartShipmentCreation} body
|
|
388
578
|
*/
|
|
389
579
|
/**
|
|
390
580
|
* @typedef ValidateCouponForPaymentParam
|
|
581
|
+
* @property {string} [xOrderingSource] - Ordering source header, to be used to
|
|
582
|
+
* identify source of order creation.
|
|
583
|
+
* @property {string} [xOrderingSourceType] - Ordering source type header, to be
|
|
584
|
+
* used to identify source type of order creation.
|
|
391
585
|
* @property {string} [id]
|
|
392
586
|
* @property {boolean} [buyNow]
|
|
393
587
|
* @property {string} [addressId]
|
|
@@ -399,14 +593,14 @@ export = CartPlatformApplicationValidator;
|
|
|
399
593
|
declare class CartPlatformApplicationValidator {
|
|
400
594
|
/** @returns {AddAddressParam} */
|
|
401
595
|
static addAddress(): AddAddressParam;
|
|
402
|
-
/** @returns {AddBulkPriceAdjustmentParam} */
|
|
403
|
-
static addBulkPriceAdjustment(): AddBulkPriceAdjustmentParam;
|
|
404
596
|
/** @returns {AddItemsParam} */
|
|
405
597
|
static addItems(): AddItemsParam;
|
|
406
598
|
/** @returns {AddPriceAdjustmentParam} */
|
|
407
599
|
static addPriceAdjustment(): AddPriceAdjustmentParam;
|
|
408
600
|
/** @returns {ApplyCouponParam} */
|
|
409
601
|
static applyCoupon(): ApplyCouponParam;
|
|
602
|
+
/** @returns {ApplyLoyaltyPointsParam} */
|
|
603
|
+
static applyLoyaltyPoints(): ApplyLoyaltyPointsParam;
|
|
410
604
|
/** @returns {CheckCartServiceabilityParam} */
|
|
411
605
|
static checkCartServiceability(): CheckCartServiceabilityParam;
|
|
412
606
|
/** @returns {CheckoutCartParam} */
|
|
@@ -415,10 +609,18 @@ declare class CartPlatformApplicationValidator {
|
|
|
415
609
|
static createCartMetaConfig(): CreateCartMetaConfigParam;
|
|
416
610
|
/** @returns {CreateCouponParam} */
|
|
417
611
|
static createCoupon(): CreateCouponParam;
|
|
612
|
+
/** @returns {CreateOfferParam} */
|
|
613
|
+
static createOffer(): CreateOfferParam;
|
|
418
614
|
/** @returns {CreatePromotionParam} */
|
|
419
615
|
static createPromotion(): CreatePromotionParam;
|
|
420
616
|
/** @returns {DeleteCartParam} */
|
|
421
617
|
static deleteCart(): DeleteCartParam;
|
|
618
|
+
/** @returns {DeleteCouponParam} */
|
|
619
|
+
static deleteCoupon(): DeleteCouponParam;
|
|
620
|
+
/** @returns {DeleteOfferParam} */
|
|
621
|
+
static deleteOffer(): DeleteOfferParam;
|
|
622
|
+
/** @returns {DeletePromotionParam} */
|
|
623
|
+
static deletePromotion(): DeletePromotionParam;
|
|
422
624
|
/** @returns {FetchAndvalidateCartItemsParam} */
|
|
423
625
|
static fetchAndvalidateCartItems(): FetchAndvalidateCartItemsParam;
|
|
424
626
|
/** @returns {FetchCartMetaConfigParam} */
|
|
@@ -453,6 +655,10 @@ declare class CartPlatformApplicationValidator {
|
|
|
453
655
|
static getCoupons(): GetCouponsParam;
|
|
454
656
|
/** @returns {GetItemCountParam} */
|
|
455
657
|
static getItemCount(): GetItemCountParam;
|
|
658
|
+
/** @returns {GetOfferByIdParam} */
|
|
659
|
+
static getOfferById(): GetOfferByIdParam;
|
|
660
|
+
/** @returns {GetOffersParam} */
|
|
661
|
+
static getOffers(): GetOffersParam;
|
|
456
662
|
/** @returns {GetPriceAdjustmentsParam} */
|
|
457
663
|
static getPriceAdjustments(): GetPriceAdjustmentsParam;
|
|
458
664
|
/** @returns {GetPromosCouponConfigParam} */
|
|
@@ -483,8 +689,6 @@ declare class CartPlatformApplicationValidator {
|
|
|
483
689
|
static platformUpdateCart(): PlatformUpdateCartParam;
|
|
484
690
|
/** @returns {RemoveAddressParam} */
|
|
485
691
|
static removeAddress(): RemoveAddressParam;
|
|
486
|
-
/** @returns {RemoveBulkPriceAdjustmentParam} */
|
|
487
|
-
static removeBulkPriceAdjustment(): RemoveBulkPriceAdjustmentParam;
|
|
488
692
|
/** @returns {RemoveCouponParam} */
|
|
489
693
|
static removeCoupon(): RemoveCouponParam;
|
|
490
694
|
/** @returns {RemovePriceAdjustmentParam} */
|
|
@@ -497,10 +701,10 @@ declare class CartPlatformApplicationValidator {
|
|
|
497
701
|
static selectPaymentModeV2(): SelectPaymentModeV2Param;
|
|
498
702
|
/** @returns {UpdateAddressParam} */
|
|
499
703
|
static updateAddress(): UpdateAddressParam;
|
|
500
|
-
/** @returns {UpdateBulkPriceAdjustmentParam} */
|
|
501
|
-
static updateBulkPriceAdjustment(): UpdateBulkPriceAdjustmentParam;
|
|
502
704
|
/** @returns {UpdateCartParam} */
|
|
503
705
|
static updateCart(): UpdateCartParam;
|
|
706
|
+
/** @returns {UpdateCartBreakupParam} */
|
|
707
|
+
static updateCartBreakup(): UpdateCartBreakupParam;
|
|
504
708
|
/** @returns {UpdateCartMetaParam} */
|
|
505
709
|
static updateCartMeta(): UpdateCartMetaParam;
|
|
506
710
|
/** @returns {UpdateCartMetaConfigParam} */
|
|
@@ -513,6 +717,10 @@ declare class CartPlatformApplicationValidator {
|
|
|
513
717
|
static updateCoupon(): UpdateCouponParam;
|
|
514
718
|
/** @returns {UpdateCouponPartiallyParam} */
|
|
515
719
|
static updateCouponPartially(): UpdateCouponPartiallyParam;
|
|
720
|
+
/** @returns {UpdateOfferParam} */
|
|
721
|
+
static updateOffer(): UpdateOfferParam;
|
|
722
|
+
/** @returns {UpdateOfferPartiallyParam} */
|
|
723
|
+
static updateOfferPartially(): UpdateOfferPartiallyParam;
|
|
516
724
|
/** @returns {UpdatePriceAdjustmentParam} */
|
|
517
725
|
static updatePriceAdjustment(): UpdatePriceAdjustmentParam;
|
|
518
726
|
/** @returns {UpdatePromotionParam} */
|
|
@@ -525,37 +733,115 @@ declare class CartPlatformApplicationValidator {
|
|
|
525
733
|
static validateCouponForPayment(): ValidateCouponForPaymentParam;
|
|
526
734
|
}
|
|
527
735
|
declare namespace CartPlatformApplicationValidator {
|
|
528
|
-
export { AddAddressParam,
|
|
736
|
+
export { AddAddressParam, AddItemsParam, AddPriceAdjustmentParam, ApplyCouponParam, ApplyLoyaltyPointsParam, CheckCartServiceabilityParam, CheckoutCartParam, CreateCartMetaConfigParam, CreateCouponParam, CreateOfferParam, CreatePromotionParam, DeleteCartParam, DeleteCouponParam, DeleteOfferParam, DeletePromotionParam, FetchAndvalidateCartItemsParam, FetchCartMetaConfigParam, GetAbandonedCartParam, GetAbandonedCartDetailsParam, GetAddressByIdParam, GetAddressesParam, GetAppCouponsParam, GetAvailableDeliveryModesParam, GetCartParam, GetCartListParam, GetCartShareLinkParam, GetCartSharedItemsParam, GetCouponByIdParam, GetCouponCodeExistsParam, GetCouponOptionValuesParam, GetCouponsParam, GetItemCountParam, GetOfferByIdParam, GetOffersParam, GetPriceAdjustmentsParam, GetPromosCouponConfigParam, GetPromotionByIdParam, GetPromotionCodeExistsParam, GetPromotionOffersParam, GetPromotionPaymentOffersParam, GetPromotionsParam, GetShipmentsParam, GetStoreAddressByUidParam, OverrideCartParam, PlatformAddItemsParam, PlatformCheckoutCartParam, PlatformCheckoutCartV2Param, PlatformUpdateCartParam, RemoveAddressParam, RemoveCouponParam, RemovePriceAdjustmentParam, SelectAddressParam, SelectPaymentModeParam, SelectPaymentModeV2Param, UpdateAddressParam, UpdateCartParam, UpdateCartBreakupParam, UpdateCartMetaParam, UpdateCartMetaConfigParam, UpdateCartUserParam, UpdateCartWithSharedItemsParam, UpdateCouponParam, UpdateCouponPartiallyParam, UpdateOfferParam, UpdateOfferPartiallyParam, UpdatePriceAdjustmentParam, UpdatePromotionParam, UpdatePromotionPartiallyParam, UpdateShipmentsParam, ValidateCouponForPaymentParam };
|
|
529
737
|
}
|
|
530
738
|
type AddAddressParam = {
|
|
531
739
|
body: CartPlatformModel.PlatformAddress;
|
|
532
740
|
};
|
|
533
|
-
type AddBulkPriceAdjustmentParam = {
|
|
534
|
-
body: CartPlatformModel.BulkPriceAdjustmentAddRequest;
|
|
535
|
-
};
|
|
536
741
|
type AddItemsParam = {
|
|
537
742
|
/**
|
|
538
|
-
* - Current Cart
|
|
743
|
+
* - Current Cart id of user cart
|
|
539
744
|
*/
|
|
540
745
|
cartId: string;
|
|
541
746
|
b?: boolean;
|
|
542
|
-
body: CartPlatformModel.
|
|
747
|
+
body: CartPlatformModel.AddCartCreation;
|
|
543
748
|
};
|
|
544
749
|
type AddPriceAdjustmentParam = {
|
|
545
750
|
body: CartPlatformModel.PriceAdjustmentAdd;
|
|
546
751
|
};
|
|
547
752
|
type ApplyCouponParam = {
|
|
753
|
+
/**
|
|
754
|
+
* - Ordering source header, to be used to
|
|
755
|
+
* identify source of order creation.
|
|
756
|
+
*/
|
|
757
|
+
xOrderingSource?: string;
|
|
758
|
+
/**
|
|
759
|
+
* - Ordering source type header, to be
|
|
760
|
+
* used to identify source type of order creation.
|
|
761
|
+
*/
|
|
762
|
+
xOrderingSourceType?: string;
|
|
763
|
+
/**
|
|
764
|
+
* - Anonymous cart header used to perform
|
|
765
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
766
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
767
|
+
*/
|
|
768
|
+
xAnonymousCart?: string;
|
|
548
769
|
i?: boolean;
|
|
549
770
|
b?: boolean;
|
|
550
771
|
p?: boolean;
|
|
551
772
|
id?: string;
|
|
552
773
|
buyNow?: boolean;
|
|
553
|
-
body: CartPlatformModel.
|
|
774
|
+
body: CartPlatformModel.ApplyCouponDetails;
|
|
775
|
+
};
|
|
776
|
+
type ApplyLoyaltyPointsParam = {
|
|
777
|
+
/**
|
|
778
|
+
* - Ordering source header, to be used to
|
|
779
|
+
* identify source of order creation.
|
|
780
|
+
*/
|
|
781
|
+
xOrderingSource?: string;
|
|
782
|
+
/**
|
|
783
|
+
* - Ordering source type header, to be
|
|
784
|
+
* used to identify source type of order creation.
|
|
785
|
+
*/
|
|
786
|
+
xOrderingSourceType?: string;
|
|
787
|
+
/**
|
|
788
|
+
* - The unique identifier of the cart.
|
|
789
|
+
*/
|
|
790
|
+
id?: string;
|
|
791
|
+
/**
|
|
792
|
+
* - Select `true` to retrieve all the items added in the cart.
|
|
793
|
+
*/
|
|
794
|
+
i?: boolean;
|
|
795
|
+
/**
|
|
796
|
+
* - Select `true` to retrieve the price breakup of cart items.
|
|
797
|
+
*/
|
|
798
|
+
b?: boolean;
|
|
799
|
+
/**
|
|
800
|
+
* - This is boolean to get buy_now cart.
|
|
801
|
+
*/
|
|
802
|
+
buyNow?: boolean;
|
|
803
|
+
body: CartPlatformModel.RedeemLoyaltyPoints;
|
|
554
804
|
};
|
|
555
805
|
type CheckCartServiceabilityParam = {
|
|
556
|
-
|
|
806
|
+
/**
|
|
807
|
+
* - Ordering source header, to be used to
|
|
808
|
+
* identify source of order creation.
|
|
809
|
+
*/
|
|
810
|
+
xOrderingSource?: string;
|
|
811
|
+
/**
|
|
812
|
+
* - Ordering source type header, to be
|
|
813
|
+
* used to identify source type of order creation.
|
|
814
|
+
*/
|
|
815
|
+
xOrderingSourceType?: string;
|
|
816
|
+
body: CartPlatformModel.OpenApiCartServiceabilityCreation;
|
|
557
817
|
};
|
|
558
818
|
type CheckoutCartParam = {
|
|
819
|
+
/**
|
|
820
|
+
* - Ordering source header, to be used to
|
|
821
|
+
* identify source of order creation.
|
|
822
|
+
*/
|
|
823
|
+
xOrderingSource?: string;
|
|
824
|
+
/**
|
|
825
|
+
* - Ordering source type header, to be
|
|
826
|
+
* used to identify source type of order creation.
|
|
827
|
+
*/
|
|
828
|
+
xOrderingSourceType?: string;
|
|
829
|
+
/**
|
|
830
|
+
* - It allows operations on cross-platform
|
|
831
|
+
* anonymous carts. When provided, the system retrieves the cart using only
|
|
832
|
+
* the cart_id, ignoring the user_id. Use this when interacting with an
|
|
833
|
+
* anonymous or guest cart across platforms.
|
|
834
|
+
*/
|
|
835
|
+
xAnonymousCart?: string;
|
|
836
|
+
/**
|
|
837
|
+
* - Location details for the cart checkout
|
|
838
|
+
*/
|
|
839
|
+
xLocationDetail?: string;
|
|
840
|
+
/**
|
|
841
|
+
* - Currency code for transactions. Defaults
|
|
842
|
+
* to INR if the location is India.
|
|
843
|
+
*/
|
|
844
|
+
xCurrencyCode?: string;
|
|
559
845
|
body: CartPlatformModel.OpenApiPlatformCheckoutReq;
|
|
560
846
|
};
|
|
561
847
|
type CreateCartMetaConfigParam = {
|
|
@@ -564,6 +850,9 @@ type CreateCartMetaConfigParam = {
|
|
|
564
850
|
type CreateCouponParam = {
|
|
565
851
|
body: CartPlatformModel.CouponAdd;
|
|
566
852
|
};
|
|
853
|
+
type CreateOfferParam = {
|
|
854
|
+
body: CartPlatformModel.OfferSchema;
|
|
855
|
+
};
|
|
567
856
|
type CreatePromotionParam = {
|
|
568
857
|
body: CartPlatformModel.PromotionAdd;
|
|
569
858
|
};
|
|
@@ -572,10 +861,37 @@ type DeleteCartParam = {
|
|
|
572
861
|
* - The unique identifier of the cart.
|
|
573
862
|
*/
|
|
574
863
|
id?: string;
|
|
575
|
-
body: CartPlatformModel.
|
|
864
|
+
body: CartPlatformModel.DeleteCartDetails;
|
|
865
|
+
};
|
|
866
|
+
type DeleteCouponParam = {
|
|
867
|
+
id: string;
|
|
868
|
+
};
|
|
869
|
+
type DeleteOfferParam = {
|
|
870
|
+
id: string;
|
|
871
|
+
};
|
|
872
|
+
type DeletePromotionParam = {
|
|
873
|
+
id: string;
|
|
576
874
|
};
|
|
577
875
|
type FetchAndvalidateCartItemsParam = {
|
|
578
|
-
|
|
876
|
+
/**
|
|
877
|
+
* - Ordering source header, to be used to
|
|
878
|
+
* identify source of order creation.
|
|
879
|
+
*/
|
|
880
|
+
xOrderingSource?: string;
|
|
881
|
+
/**
|
|
882
|
+
* - Ordering source type header, to be
|
|
883
|
+
* used to identify source type of order creation.
|
|
884
|
+
*/
|
|
885
|
+
xOrderingSourceType?: string;
|
|
886
|
+
/**
|
|
887
|
+
* - Location details for the cart checkout
|
|
888
|
+
*/
|
|
889
|
+
xLocationDetail?: string;
|
|
890
|
+
/**
|
|
891
|
+
* - Currency code for transactions.
|
|
892
|
+
*/
|
|
893
|
+
xCurrencyCode?: string;
|
|
894
|
+
body: CartPlatformModel.OpenapiCartDetailsCreation;
|
|
579
895
|
};
|
|
580
896
|
type GetAbandonedCartParam = {
|
|
581
897
|
pageNo?: number;
|
|
@@ -622,6 +938,22 @@ type GetAvailableDeliveryModesParam = {
|
|
|
622
938
|
id?: string;
|
|
623
939
|
};
|
|
624
940
|
type GetCartParam = {
|
|
941
|
+
/**
|
|
942
|
+
* - Ordering source header, to be used to
|
|
943
|
+
* identify source of order creation.
|
|
944
|
+
*/
|
|
945
|
+
xOrderingSource?: string;
|
|
946
|
+
/**
|
|
947
|
+
* - Ordering source type header, to be
|
|
948
|
+
* used to identify source type of order creation.
|
|
949
|
+
*/
|
|
950
|
+
xOrderingSourceType?: string;
|
|
951
|
+
/**
|
|
952
|
+
* - Anonymous cart header used to perform
|
|
953
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
954
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
955
|
+
*/
|
|
956
|
+
xAnonymousCart?: string;
|
|
625
957
|
/**
|
|
626
958
|
* - The unique identifier of the cart
|
|
627
959
|
*/
|
|
@@ -662,7 +994,7 @@ type GetCartListParam = {
|
|
|
662
994
|
filterOn?: string;
|
|
663
995
|
};
|
|
664
996
|
type GetCartShareLinkParam = {
|
|
665
|
-
body: CartPlatformModel.
|
|
997
|
+
body: CartPlatformModel.GetShareCartLinkCreation;
|
|
666
998
|
};
|
|
667
999
|
type GetCartSharedItemsParam = {
|
|
668
1000
|
/**
|
|
@@ -685,6 +1017,13 @@ type GetCouponsParam = {
|
|
|
685
1017
|
isDisplay?: boolean;
|
|
686
1018
|
typeSlug?: string;
|
|
687
1019
|
code?: string;
|
|
1020
|
+
createdBy?: string;
|
|
1021
|
+
reviewedBy?: string;
|
|
1022
|
+
approvedStartTime?: string;
|
|
1023
|
+
approvedEndTime?: string;
|
|
1024
|
+
reviewStartTime?: string;
|
|
1025
|
+
reviewEndTime?: string;
|
|
1026
|
+
status?: string;
|
|
688
1027
|
};
|
|
689
1028
|
type GetItemCountParam = {
|
|
690
1029
|
/**
|
|
@@ -696,19 +1035,84 @@ type GetItemCountParam = {
|
|
|
696
1035
|
*/
|
|
697
1036
|
buyNow?: boolean;
|
|
698
1037
|
};
|
|
1038
|
+
type GetOfferByIdParam = {
|
|
1039
|
+
id: string;
|
|
1040
|
+
};
|
|
1041
|
+
type GetOffersParam = {
|
|
1042
|
+
/**
|
|
1043
|
+
* - Current page no as per pagination
|
|
1044
|
+
*/
|
|
1045
|
+
pageNo?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* - Offers max records fetched in single request
|
|
1048
|
+
*/
|
|
1049
|
+
pageSize?: number;
|
|
1050
|
+
/**
|
|
1051
|
+
* - Filter by offer name
|
|
1052
|
+
*/
|
|
1053
|
+
search?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* - Filter by offer mode
|
|
1056
|
+
*/
|
|
1057
|
+
mode?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* - Filter by offer type
|
|
1060
|
+
*/
|
|
1061
|
+
type?: string;
|
|
1062
|
+
promoGroup?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* - Filter non contract offers
|
|
1065
|
+
*/
|
|
1066
|
+
excludeContractOffers?: boolean;
|
|
1067
|
+
/**
|
|
1068
|
+
* - Filter by offer id
|
|
1069
|
+
*/
|
|
1070
|
+
offerId?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* - Filter by offer created by user id
|
|
1073
|
+
*/
|
|
1074
|
+
createdBy?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* - Filter by offer reviewer user id
|
|
1077
|
+
*/
|
|
1078
|
+
reviewedBy?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* - Filter offer by start time date
|
|
1081
|
+
* range when status is in approved state
|
|
1082
|
+
*/
|
|
1083
|
+
approvedStartTime?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* - Filter offer by end time date range
|
|
1086
|
+
* when status is in approved state
|
|
1087
|
+
*/
|
|
1088
|
+
approvedEndTime?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* - Filter your offers effortlessly by status, such
|
|
1091
|
+
* as draft, review and more
|
|
1092
|
+
*/
|
|
1093
|
+
status?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* - Filter by offer code in case of coupons
|
|
1096
|
+
*/
|
|
1097
|
+
code?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* - Filter offers which are public
|
|
1100
|
+
*/
|
|
1101
|
+
isPublic?: boolean;
|
|
1102
|
+
};
|
|
699
1103
|
type GetPriceAdjustmentsParam = {
|
|
700
1104
|
/**
|
|
701
|
-
* - Cart
|
|
1105
|
+
* - Cart id of user cart
|
|
702
1106
|
*/
|
|
703
1107
|
cartId: string;
|
|
704
1108
|
};
|
|
705
1109
|
type GetPromosCouponConfigParam = {
|
|
706
1110
|
/**
|
|
707
|
-
* -
|
|
1111
|
+
* - Entity type as promotion or coupon
|
|
708
1112
|
*/
|
|
709
1113
|
entityType?: string;
|
|
710
1114
|
/**
|
|
711
|
-
* -
|
|
1115
|
+
* - Promotion coupon config shown or not
|
|
712
1116
|
*/
|
|
713
1117
|
isHidden?: boolean;
|
|
714
1118
|
};
|
|
@@ -734,21 +1138,34 @@ type GetPromotionOffersParam = {
|
|
|
734
1138
|
*/
|
|
735
1139
|
promotionGroup?: string;
|
|
736
1140
|
/**
|
|
737
|
-
* -
|
|
1141
|
+
* - Unique identifier of a store
|
|
738
1142
|
*/
|
|
739
1143
|
storeId?: number;
|
|
740
1144
|
/**
|
|
741
1145
|
* - The type of cart
|
|
742
1146
|
*/
|
|
743
1147
|
cartType?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* - Type of promotion to be fetched
|
|
1150
|
+
*/
|
|
1151
|
+
promotionType?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* - The unique identifier of the user cart.
|
|
1154
|
+
*/
|
|
1155
|
+
cartId?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* - Indicates whether to filter promotions
|
|
1158
|
+
* based on their auto_apply status.
|
|
1159
|
+
*/
|
|
1160
|
+
autoApply?: boolean;
|
|
744
1161
|
};
|
|
745
1162
|
type GetPromotionPaymentOffersParam = {
|
|
746
1163
|
/**
|
|
747
|
-
* - Cart id
|
|
1164
|
+
* - Cart id of the user cart
|
|
748
1165
|
*/
|
|
749
1166
|
id?: string;
|
|
750
1167
|
/**
|
|
751
|
-
* - Cart uid
|
|
1168
|
+
* - Cart uid of the user cart
|
|
752
1169
|
*/
|
|
753
1170
|
uid?: number;
|
|
754
1171
|
};
|
|
@@ -761,6 +1178,13 @@ type GetPromotionsParam = {
|
|
|
761
1178
|
promotionType?: string;
|
|
762
1179
|
fpPanel?: string;
|
|
763
1180
|
promotionId?: string;
|
|
1181
|
+
createdBy?: string;
|
|
1182
|
+
reviewedBy?: string;
|
|
1183
|
+
approvedStartTime?: string;
|
|
1184
|
+
approvedEndTime?: string;
|
|
1185
|
+
reviewStartTime?: string;
|
|
1186
|
+
reviewEndTime?: string;
|
|
1187
|
+
status?: string;
|
|
764
1188
|
};
|
|
765
1189
|
type GetShipmentsParam = {
|
|
766
1190
|
pickAtStoreUid?: number;
|
|
@@ -798,9 +1222,44 @@ type GetStoreAddressByUidParam = {
|
|
|
798
1222
|
storeUid: number;
|
|
799
1223
|
};
|
|
800
1224
|
type OverrideCartParam = {
|
|
1225
|
+
/**
|
|
1226
|
+
* - Ordering source header, to be used to
|
|
1227
|
+
* identify source of order creation.
|
|
1228
|
+
*/
|
|
1229
|
+
xOrderingSource?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* - Ordering source type header, to be
|
|
1232
|
+
* used to identify source type of order creation.
|
|
1233
|
+
*/
|
|
1234
|
+
xOrderingSourceType?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* - Location details for the cart checkout
|
|
1237
|
+
*/
|
|
1238
|
+
xLocationDetail?: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* - Currency code for transactions. Defaults
|
|
1241
|
+
* to INR if the location is India.
|
|
1242
|
+
*/
|
|
1243
|
+
xCurrencyCode?: string;
|
|
801
1244
|
body: CartPlatformModel.OverrideCheckoutReq;
|
|
802
1245
|
};
|
|
803
1246
|
type PlatformAddItemsParam = {
|
|
1247
|
+
/**
|
|
1248
|
+
* - Ordering source header, to be used to
|
|
1249
|
+
* identify source of order creation.
|
|
1250
|
+
*/
|
|
1251
|
+
xOrderingSource?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* - Ordering source type header, to be
|
|
1254
|
+
* used to identify source type of order creation.
|
|
1255
|
+
*/
|
|
1256
|
+
xOrderingSourceType?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* - Anonymous cart header used to perform
|
|
1259
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1260
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
1261
|
+
*/
|
|
1262
|
+
xAnonymousCart?: string;
|
|
804
1263
|
/**
|
|
805
1264
|
* - This is a boolean value. Select `true` to retrieve
|
|
806
1265
|
* all the items added in the cart.
|
|
@@ -811,6 +1270,11 @@ type PlatformAddItemsParam = {
|
|
|
811
1270
|
* the price breakup of cart items.
|
|
812
1271
|
*/
|
|
813
1272
|
b?: boolean;
|
|
1273
|
+
/**
|
|
1274
|
+
* - Set to `false` to skip
|
|
1275
|
+
* recalculating and fetching the updated cart after the edit. Defaults to `true`.
|
|
1276
|
+
*/
|
|
1277
|
+
includeCartCalculation?: boolean;
|
|
814
1278
|
/**
|
|
815
1279
|
* - This is a boolen value. Select `true` to
|
|
816
1280
|
* set/initialize buy now cart
|
|
@@ -826,23 +1290,81 @@ type PlatformAddItemsParam = {
|
|
|
826
1290
|
* - The unique identifier of the cart
|
|
827
1291
|
*/
|
|
828
1292
|
id?: string;
|
|
829
|
-
body: CartPlatformModel.
|
|
1293
|
+
body: CartPlatformModel.PlatformAddCartDetails;
|
|
830
1294
|
};
|
|
831
1295
|
type PlatformCheckoutCartParam = {
|
|
1296
|
+
/**
|
|
1297
|
+
* - Ordering source header, to be used to
|
|
1298
|
+
* identify source of order creation.
|
|
1299
|
+
*/
|
|
1300
|
+
xOrderingSource?: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* - Ordering source type header, to be
|
|
1303
|
+
* used to identify source type of order creation.
|
|
1304
|
+
*/
|
|
1305
|
+
xOrderingSourceType?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* - Anonymous cart header used to perform
|
|
1308
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1309
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
1310
|
+
*/
|
|
1311
|
+
xAnonymousCart?: string;
|
|
832
1312
|
/**
|
|
833
1313
|
* - The unique identifier of the cart
|
|
834
1314
|
*/
|
|
835
1315
|
id?: string;
|
|
836
|
-
body: CartPlatformModel.
|
|
1316
|
+
body: CartPlatformModel.PlatformCartCheckoutDetailCreation;
|
|
837
1317
|
};
|
|
838
1318
|
type PlatformCheckoutCartV2Param = {
|
|
839
1319
|
/**
|
|
840
|
-
* -
|
|
1320
|
+
* - Ordering source header, to be used to
|
|
1321
|
+
* identify source of order creation
|
|
1322
|
+
*/
|
|
1323
|
+
xOrderingSource?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* - Ordering source type header, to be
|
|
1326
|
+
* used to identify source type of order creation.
|
|
1327
|
+
*/
|
|
1328
|
+
xOrderingSourceType?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* - It allows operations on cross-platform
|
|
1331
|
+
* anonymous carts. When provided, the system retrieves the cart using only
|
|
1332
|
+
* the cart_id, ignoring the user_id. Use this when interacting with an
|
|
1333
|
+
* anonymous or guest cart across platforms.
|
|
1334
|
+
*/
|
|
1335
|
+
xAnonymousCart?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* - Location information for the cart
|
|
1338
|
+
*/
|
|
1339
|
+
xLocationDetail?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* - Currency code for the transaction.
|
|
1342
|
+
* Defaults to INR if the order location is India.
|
|
1343
|
+
*/
|
|
1344
|
+
xCurrencyCode?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* - Unique identifier of the cart
|
|
841
1347
|
*/
|
|
842
1348
|
id?: string;
|
|
843
|
-
body: CartPlatformModel.
|
|
1349
|
+
body: CartPlatformModel.PlatformCartCheckoutDetailV2Creation;
|
|
844
1350
|
};
|
|
845
1351
|
type PlatformUpdateCartParam = {
|
|
1352
|
+
/**
|
|
1353
|
+
* - Ordering source header, to be used to
|
|
1354
|
+
* identify source of order creation.
|
|
1355
|
+
*/
|
|
1356
|
+
xOrderingSource?: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* - Ordering source type header, to be
|
|
1359
|
+
* used to identify source type of order creation.
|
|
1360
|
+
*/
|
|
1361
|
+
xOrderingSourceType?: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* - Anonymous cart header used to perform
|
|
1364
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1365
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
1366
|
+
*/
|
|
1367
|
+
xAnonymousCart?: string;
|
|
846
1368
|
/**
|
|
847
1369
|
* - The unique identifier of the cart
|
|
848
1370
|
*/
|
|
@@ -863,12 +1385,17 @@ type PlatformUpdateCartParam = {
|
|
|
863
1385
|
* the price breakup of cart items.
|
|
864
1386
|
*/
|
|
865
1387
|
b?: boolean;
|
|
1388
|
+
/**
|
|
1389
|
+
* - Set to `false` to skip
|
|
1390
|
+
* recalculating and fetching the updated cart after the edit. Defaults to `true`.
|
|
1391
|
+
*/
|
|
1392
|
+
includeCartCalculation?: boolean;
|
|
866
1393
|
/**
|
|
867
1394
|
* - This is a boolen value. Select `true` to
|
|
868
1395
|
* set/initialize buy now cart
|
|
869
1396
|
*/
|
|
870
1397
|
buyNow?: boolean;
|
|
871
|
-
body: CartPlatformModel.
|
|
1398
|
+
body: CartPlatformModel.PlatformUpdateCartDetails;
|
|
872
1399
|
};
|
|
873
1400
|
type RemoveAddressParam = {
|
|
874
1401
|
/**
|
|
@@ -880,14 +1407,23 @@ type RemoveAddressParam = {
|
|
|
880
1407
|
*/
|
|
881
1408
|
userId?: string;
|
|
882
1409
|
};
|
|
883
|
-
type
|
|
1410
|
+
type RemoveCouponParam = {
|
|
884
1411
|
/**
|
|
885
|
-
* -
|
|
886
|
-
*
|
|
1412
|
+
* - Ordering source header, to be used to
|
|
1413
|
+
* identify source of order creation.
|
|
887
1414
|
*/
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
type
|
|
1415
|
+
xOrderingSource?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* - Ordering source type header, to be
|
|
1418
|
+
* used to identify source type of order creation.
|
|
1419
|
+
*/
|
|
1420
|
+
xOrderingSourceType?: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* - Anonymous cart header used to perform
|
|
1423
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1424
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
1425
|
+
*/
|
|
1426
|
+
xAnonymousCart?: string;
|
|
891
1427
|
uid?: string;
|
|
892
1428
|
buyNow?: boolean;
|
|
893
1429
|
};
|
|
@@ -895,31 +1431,63 @@ type RemovePriceAdjustmentParam = {
|
|
|
895
1431
|
id: string;
|
|
896
1432
|
};
|
|
897
1433
|
type SelectAddressParam = {
|
|
1434
|
+
/**
|
|
1435
|
+
* - Ordering source header, to be used to
|
|
1436
|
+
* identify source of order creation.
|
|
1437
|
+
*/
|
|
1438
|
+
xOrderingSource?: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* - Ordering source type header, to be
|
|
1441
|
+
* used to identify source type of order creation.
|
|
1442
|
+
*/
|
|
1443
|
+
xOrderingSourceType?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* - Anonymous cart header used to perform
|
|
1446
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1447
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
1448
|
+
*/
|
|
1449
|
+
xAnonymousCart?: string;
|
|
898
1450
|
cartId?: string;
|
|
899
1451
|
buyNow?: boolean;
|
|
900
1452
|
i?: boolean;
|
|
901
1453
|
b?: boolean;
|
|
902
|
-
body: CartPlatformModel.
|
|
1454
|
+
body: CartPlatformModel.PlatformSelectCartAddress;
|
|
903
1455
|
};
|
|
904
1456
|
type SelectPaymentModeParam = {
|
|
905
|
-
id?: string;
|
|
906
|
-
buyNow?: boolean;
|
|
907
1457
|
/**
|
|
908
|
-
* -
|
|
909
|
-
*
|
|
910
|
-
|
|
1458
|
+
* - Ordering source header, to be used to
|
|
1459
|
+
* identify source of order creation.
|
|
1460
|
+
*/
|
|
1461
|
+
xOrderingSource?: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* - Ordering source type header, to be
|
|
1464
|
+
* used to identify source type of order creation.
|
|
1465
|
+
*/
|
|
1466
|
+
xOrderingSourceType?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* - Anonymous cart header used to perform
|
|
1469
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1470
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
911
1471
|
*/
|
|
1472
|
+
xAnonymousCart?: string;
|
|
1473
|
+
id?: string;
|
|
1474
|
+
buyNow?: boolean;
|
|
912
1475
|
orderType?: string;
|
|
913
|
-
body: CartPlatformModel.
|
|
1476
|
+
body: CartPlatformModel.CartPaymentUpdate;
|
|
914
1477
|
};
|
|
915
1478
|
type SelectPaymentModeV2Param = {
|
|
916
|
-
id?: string;
|
|
917
|
-
buyNow?: boolean;
|
|
918
1479
|
/**
|
|
919
|
-
* -
|
|
920
|
-
*
|
|
921
|
-
* wants the handover of an order at the store itself.
|
|
1480
|
+
* - Ordering source header, to be used to
|
|
1481
|
+
* identify source of order creation.
|
|
922
1482
|
*/
|
|
1483
|
+
xOrderingSource?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* - Ordering source type header, to be
|
|
1486
|
+
* used to identify source type of order creation.
|
|
1487
|
+
*/
|
|
1488
|
+
xOrderingSourceType?: string;
|
|
1489
|
+
id?: string;
|
|
1490
|
+
buyNow?: boolean;
|
|
923
1491
|
orderType?: string;
|
|
924
1492
|
body: CartPlatformModel.UpdateCartPaymentRequestV2;
|
|
925
1493
|
};
|
|
@@ -930,26 +1498,69 @@ type UpdateAddressParam = {
|
|
|
930
1498
|
id: string;
|
|
931
1499
|
body: CartPlatformModel.PlatformAddress;
|
|
932
1500
|
};
|
|
933
|
-
type UpdateBulkPriceAdjustmentParam = {
|
|
934
|
-
body: CartPlatformModel.BulkPriceAdjustmentUpdateRequest;
|
|
935
|
-
};
|
|
936
1501
|
type UpdateCartParam = {
|
|
937
1502
|
/**
|
|
938
|
-
* - Current Cart
|
|
1503
|
+
* - Current Cart id of user cart
|
|
939
1504
|
*/
|
|
940
1505
|
cartId: string;
|
|
941
1506
|
b?: boolean;
|
|
942
|
-
body: CartPlatformModel.
|
|
1507
|
+
body: CartPlatformModel.UpdateCartCreation;
|
|
1508
|
+
};
|
|
1509
|
+
type UpdateCartBreakupParam = {
|
|
1510
|
+
/**
|
|
1511
|
+
* - Identifier for the ordering source
|
|
1512
|
+
* (e.g., web, mobile app, POS). Used to determine the origin of the order
|
|
1513
|
+
* request and apply source-specific rules.
|
|
1514
|
+
*/
|
|
1515
|
+
xOrderingSource?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* - Identifier for the ordering source
|
|
1518
|
+
* type (e.g., storefront, store_os_pos, kiosk). Used to determine the source
|
|
1519
|
+
* type for order governance and validations.
|
|
1520
|
+
*/
|
|
1521
|
+
xOrderingSourceType?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* - Anonymous cart header used to perform
|
|
1524
|
+
* operations on cross-platform anonymous cart. When enabled, the system
|
|
1525
|
+
* fetches the cart only based on cart_id instead of user_id.
|
|
1526
|
+
*/
|
|
1527
|
+
xAnonymousCart?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* - Unique identifier of the cart for which the breakup
|
|
1530
|
+
* needs to be updated.
|
|
1531
|
+
*/
|
|
1532
|
+
id?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* - Set to `true` to include all items currently added
|
|
1535
|
+
* to the cart in the response.
|
|
1536
|
+
*/
|
|
1537
|
+
i?: boolean;
|
|
1538
|
+
/**
|
|
1539
|
+
* - Set to `true` to include the detailed price breakup
|
|
1540
|
+
* of each cart item in the response.
|
|
1541
|
+
*/
|
|
1542
|
+
b?: boolean;
|
|
1543
|
+
/**
|
|
1544
|
+
* - Set to `false` to skip
|
|
1545
|
+
* recalculating and fetching the updated cart after the edit. Defaults to `true`.
|
|
1546
|
+
*/
|
|
1547
|
+
includeCartCalculation?: boolean;
|
|
1548
|
+
/**
|
|
1549
|
+
* - Set to `true` to initialize a "Buy Now" cart
|
|
1550
|
+
* flow, enabling direct checkout for a single item.
|
|
1551
|
+
*/
|
|
1552
|
+
buyNow?: boolean;
|
|
1553
|
+
body: CartPlatformModel.UpdateCartBreakup;
|
|
943
1554
|
};
|
|
944
1555
|
type UpdateCartMetaParam = {
|
|
945
1556
|
id?: string;
|
|
946
1557
|
buyNow?: boolean;
|
|
947
|
-
body: CartPlatformModel.
|
|
1558
|
+
body: CartPlatformModel.PlatformCartMetaCreation;
|
|
948
1559
|
};
|
|
949
1560
|
type UpdateCartMetaConfigParam = {
|
|
950
1561
|
/**
|
|
951
|
-
* - CartMeta
|
|
952
|
-
*
|
|
1562
|
+
* - CartMeta id for fetching single cart meta
|
|
1563
|
+
* data for editing
|
|
953
1564
|
*/
|
|
954
1565
|
cartMetaId: string;
|
|
955
1566
|
body: CartPlatformModel.CartMetaConfigUpdate;
|
|
@@ -977,6 +1588,14 @@ type UpdateCouponPartiallyParam = {
|
|
|
977
1588
|
id: string;
|
|
978
1589
|
body: CartPlatformModel.CouponPartialUpdate;
|
|
979
1590
|
};
|
|
1591
|
+
type UpdateOfferParam = {
|
|
1592
|
+
id: string;
|
|
1593
|
+
body: CartPlatformModel.OfferSchema;
|
|
1594
|
+
};
|
|
1595
|
+
type UpdateOfferPartiallyParam = {
|
|
1596
|
+
id: string;
|
|
1597
|
+
body: CartPlatformModel.OfferPartialUpdate;
|
|
1598
|
+
};
|
|
980
1599
|
type UpdatePriceAdjustmentParam = {
|
|
981
1600
|
id: string;
|
|
982
1601
|
body: CartPlatformModel.PriceAdjustmentUpdate;
|
|
@@ -1018,9 +1637,19 @@ type UpdateShipmentsParam = {
|
|
|
1018
1637
|
* wants the handover of an order at the store itself.
|
|
1019
1638
|
*/
|
|
1020
1639
|
orderType?: string;
|
|
1021
|
-
body: CartPlatformModel.
|
|
1640
|
+
body: CartPlatformModel.UpdateCartShipmentCreation;
|
|
1022
1641
|
};
|
|
1023
1642
|
type ValidateCouponForPaymentParam = {
|
|
1643
|
+
/**
|
|
1644
|
+
* - Ordering source header, to be used to
|
|
1645
|
+
* identify source of order creation.
|
|
1646
|
+
*/
|
|
1647
|
+
xOrderingSource?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* - Ordering source type header, to be
|
|
1650
|
+
* used to identify source type of order creation.
|
|
1651
|
+
*/
|
|
1652
|
+
xOrderingSourceType?: string;
|
|
1024
1653
|
id?: string;
|
|
1025
1654
|
buyNow?: boolean;
|
|
1026
1655
|
addressId?: string;
|