@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.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/README.md +1 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
- package/sdk/application/Cart/CartApplicationClient.js +173 -511
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
- package/sdk/application/Content/ContentApplicationClient.js +183 -366
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
- package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- 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 +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- 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 +172 -251
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
- package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
- package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
- package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
- package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
- package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
- package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
- package/sdk/platform/Share/SharePlatformModel.js +45 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- 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 +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- 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 +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -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/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- 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 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -5,9 +5,9 @@ export = CartPlatformApplicationValidator;
|
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* @typedef AddItemsParam
|
|
8
|
-
* @property {string} cartId - Current Cart
|
|
8
|
+
* @property {string} cartId - Current Cart id of user cart
|
|
9
9
|
* @property {boolean} [b]
|
|
10
|
-
* @property {CartPlatformModel.
|
|
10
|
+
* @property {CartPlatformModel.AddCartCreation} body
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* @typedef AddPriceAdjustmentParam
|
|
@@ -15,19 +15,25 @@ export = CartPlatformApplicationValidator;
|
|
|
15
15
|
*/
|
|
16
16
|
/**
|
|
17
17
|
* @typedef ApplyCouponParam
|
|
18
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
19
|
+
* source header, to be used to identify source of order creation.
|
|
18
20
|
* @property {boolean} [i]
|
|
19
21
|
* @property {boolean} [b]
|
|
20
22
|
* @property {boolean} [p]
|
|
21
23
|
* @property {string} [id]
|
|
22
24
|
* @property {boolean} [buyNow]
|
|
23
|
-
* @property {CartPlatformModel.
|
|
25
|
+
* @property {CartPlatformModel.ApplyCouponDetails} body
|
|
24
26
|
*/
|
|
25
27
|
/**
|
|
26
28
|
* @typedef CheckCartServiceabilityParam
|
|
27
|
-
* @property {CartPlatformModel.
|
|
29
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
30
|
+
* source header, to be used to identify source of order creation.
|
|
31
|
+
* @property {CartPlatformModel.OpenApiCartServiceabilityCreation} body
|
|
28
32
|
*/
|
|
29
33
|
/**
|
|
30
34
|
* @typedef CheckoutCartParam
|
|
35
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
36
|
+
* source header, to be used to identify source of order creation.
|
|
31
37
|
* @property {CartPlatformModel.OpenApiPlatformCheckoutReq} body
|
|
32
38
|
*/
|
|
33
39
|
/**
|
|
@@ -45,18 +51,23 @@ export = CartPlatformApplicationValidator;
|
|
|
45
51
|
/**
|
|
46
52
|
* @typedef DeleteCartParam
|
|
47
53
|
* @property {string} [id] - The unique identifier of the cart.
|
|
48
|
-
* @property {
|
|
49
|
-
* @property {CartPlatformModel.DeleteCartRequest} body
|
|
54
|
+
* @property {CartPlatformModel.DeleteCartDetails} body
|
|
50
55
|
*/
|
|
51
56
|
/**
|
|
52
|
-
* @typedef
|
|
53
|
-
* @property {string}
|
|
54
|
-
|
|
57
|
+
* @typedef DeleteCouponParam
|
|
58
|
+
* @property {string} id
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef DeletePromotionParam
|
|
62
|
+
* @property {string} id
|
|
55
63
|
*/
|
|
56
64
|
/**
|
|
57
65
|
* @typedef FetchAndvalidateCartItemsParam
|
|
58
|
-
* @property {CartPlatformModel.
|
|
66
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
67
|
+
* source header, to be used to identify source of order creation.
|
|
68
|
+
* @property {CartPlatformModel.OpenapiCartDetailsCreation} body
|
|
59
69
|
*/
|
|
70
|
+
/** @typedef FetchCartMetaConfigParam */
|
|
60
71
|
/**
|
|
61
72
|
* @typedef GetAbandonedCartParam
|
|
62
73
|
* @property {number} [pageNo]
|
|
@@ -109,8 +120,13 @@ export = CartPlatformApplicationValidator;
|
|
|
109
120
|
*/
|
|
110
121
|
/**
|
|
111
122
|
* @typedef GetCartParam
|
|
123
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
124
|
+
* source header, to be used to identify source of order creation.
|
|
112
125
|
* @property {string} [id] - The unique identifier of the cart
|
|
113
126
|
* @property {string} [userId] - Option to fetch cart for the provided user_id.
|
|
127
|
+
* @property {string} [orderType] - The order type of shipment HomeDelivery - If
|
|
128
|
+
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
129
|
+
* wants the handover of an order at the store itself.
|
|
114
130
|
* @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
|
|
115
131
|
* all the items added in the cart.
|
|
116
132
|
* @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
|
|
@@ -118,7 +134,6 @@ export = CartPlatformApplicationValidator;
|
|
|
118
134
|
* @property {number} [assignCardId] - Token of user's debit or credit card
|
|
119
135
|
* @property {boolean} [buyNow] - This is a boolen value. Select `true` to
|
|
120
136
|
* set/initialize buy now cart
|
|
121
|
-
* @property {string} [cartType] - The type of cart
|
|
122
137
|
*/
|
|
123
138
|
/**
|
|
124
139
|
* @typedef GetCartListParam
|
|
@@ -126,15 +141,9 @@ export = CartPlatformApplicationValidator;
|
|
|
126
141
|
* @property {string} [toDate]
|
|
127
142
|
* @property {string} [filterOn]
|
|
128
143
|
*/
|
|
129
|
-
/**
|
|
130
|
-
* @typedef GetCartMetaConfigParam
|
|
131
|
-
* @property {string} cartMetaId - CartMeta mongo _id for fetching single cart
|
|
132
|
-
* meta data for editing
|
|
133
|
-
*/
|
|
134
|
-
/** @typedef GetCartMetaConfigsParam */
|
|
135
144
|
/**
|
|
136
145
|
* @typedef GetCartShareLinkParam
|
|
137
|
-
* @property {CartPlatformModel.
|
|
146
|
+
* @property {CartPlatformModel.GetShareCartLinkCreation} body
|
|
138
147
|
*/
|
|
139
148
|
/**
|
|
140
149
|
* @typedef GetCartSharedItemsParam
|
|
@@ -149,7 +158,6 @@ export = CartPlatformApplicationValidator;
|
|
|
149
158
|
* @property {string} [code]
|
|
150
159
|
*/
|
|
151
160
|
/** @typedef GetCouponOptionValuesParam */
|
|
152
|
-
/** @typedef GetCouponTagsParam */
|
|
153
161
|
/**
|
|
154
162
|
* @typedef GetCouponsParam
|
|
155
163
|
* @property {number} [pageNo]
|
|
@@ -160,21 +168,27 @@ export = CartPlatformApplicationValidator;
|
|
|
160
168
|
* @property {boolean} [isDisplay]
|
|
161
169
|
* @property {string} [typeSlug]
|
|
162
170
|
* @property {string} [code]
|
|
171
|
+
* @property {string} [createdBy]
|
|
172
|
+
* @property {string} [reviewedBy]
|
|
173
|
+
* @property {string} [approvedStartTime]
|
|
174
|
+
* @property {string} [approvedEndTime]
|
|
175
|
+
* @property {string} [reviewStartTime]
|
|
176
|
+
* @property {string} [reviewEndTime]
|
|
177
|
+
* @property {string} [status]
|
|
163
178
|
*/
|
|
164
179
|
/**
|
|
165
180
|
* @typedef GetItemCountParam
|
|
166
181
|
* @property {string} [id] - The unique identifier of the cart.
|
|
167
182
|
* @property {boolean} [buyNow] - Boolean value to get buy_now cart.
|
|
168
|
-
* @property {string} [cartType] - The type of cart
|
|
169
183
|
*/
|
|
170
184
|
/**
|
|
171
185
|
* @typedef GetPriceAdjustmentsParam
|
|
172
|
-
* @property {string} cartId - Cart
|
|
186
|
+
* @property {string} cartId - Cart id of user cart
|
|
173
187
|
*/
|
|
174
188
|
/**
|
|
175
189
|
* @typedef GetPromosCouponConfigParam
|
|
176
|
-
* @property {string} [entityType] -
|
|
177
|
-
* @property {boolean} [isHidden] -
|
|
190
|
+
* @property {string} [entityType] - Entity type as promotion or coupon
|
|
191
|
+
* @property {boolean} [isHidden] - Promotion coupon config shown or not
|
|
178
192
|
*/
|
|
179
193
|
/**
|
|
180
194
|
* @typedef GetPromotionByIdParam
|
|
@@ -184,7 +198,21 @@ export = CartPlatformApplicationValidator;
|
|
|
184
198
|
* @typedef GetPromotionCodeExistsParam
|
|
185
199
|
* @property {string} [code]
|
|
186
200
|
*/
|
|
187
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* @typedef GetPromotionOffersParam
|
|
203
|
+
* @property {string} [slug] - A short, human-readable, URL-friendly identifier
|
|
204
|
+
* of a product. You can get slug value from the endpoint
|
|
205
|
+
* /service/application/catalog/v1.0/products/
|
|
206
|
+
* @property {number} [pageSize] - Number of offers to be fetched to show
|
|
207
|
+
* @property {string} [promotionGroup] - Type of promotion groups
|
|
208
|
+
* @property {number} [storeId] - Unique identifier of a store
|
|
209
|
+
* @property {string} [cartType] - The type of cart
|
|
210
|
+
*/
|
|
211
|
+
/**
|
|
212
|
+
* @typedef GetPromotionPaymentOffersParam
|
|
213
|
+
* @property {string} [id] - Cart id of the user cart
|
|
214
|
+
* @property {number} [uid] - Cart uid of the user cart
|
|
215
|
+
*/
|
|
188
216
|
/**
|
|
189
217
|
* @typedef GetPromotionsParam
|
|
190
218
|
* @property {number} [pageNo]
|
|
@@ -195,6 +223,13 @@ export = CartPlatformApplicationValidator;
|
|
|
195
223
|
* @property {string} [promotionType]
|
|
196
224
|
* @property {string} [fpPanel]
|
|
197
225
|
* @property {string} [promotionId]
|
|
226
|
+
* @property {string} [createdBy]
|
|
227
|
+
* @property {string} [reviewedBy]
|
|
228
|
+
* @property {string} [approvedStartTime]
|
|
229
|
+
* @property {string} [approvedEndTime]
|
|
230
|
+
* @property {string} [reviewStartTime]
|
|
231
|
+
* @property {string} [reviewEndTime]
|
|
232
|
+
* @property {string} [status]
|
|
198
233
|
*/
|
|
199
234
|
/**
|
|
200
235
|
* @typedef GetShipmentsParam
|
|
@@ -217,34 +252,44 @@ export = CartPlatformApplicationValidator;
|
|
|
217
252
|
*/
|
|
218
253
|
/**
|
|
219
254
|
* @typedef OverrideCartParam
|
|
255
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
256
|
+
* source header, to be used to identify source of order creation.
|
|
220
257
|
* @property {CartPlatformModel.OverrideCheckoutReq} body
|
|
221
258
|
*/
|
|
222
259
|
/**
|
|
223
260
|
* @typedef PlatformAddItemsParam
|
|
261
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
262
|
+
* source header, to be used to identify source of order creation.
|
|
224
263
|
* @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
|
|
225
264
|
* all the items added in the cart.
|
|
226
265
|
* @property {boolean} [b] - This is a boolean value. Select `true` to retrieve
|
|
227
266
|
* the price breakup of cart items.
|
|
228
267
|
* @property {boolean} [buyNow] - This is a boolen value. Select `true` to
|
|
229
268
|
* set/initialize buy now cart
|
|
269
|
+
* @property {string} [orderType] - The order type of shipment HomeDelivery - If
|
|
270
|
+
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
271
|
+
* wants the handover of an order at the store itself.
|
|
230
272
|
* @property {string} [id] - The unique identifier of the cart
|
|
231
|
-
* @property {
|
|
232
|
-
* @property {CartPlatformModel.PlatformAddCartRequest} body
|
|
273
|
+
* @property {CartPlatformModel.PlatformAddCartDetails} body
|
|
233
274
|
*/
|
|
234
275
|
/**
|
|
235
276
|
* @typedef PlatformCheckoutCartParam
|
|
277
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
278
|
+
* source header, to be used to identify source of order creation.
|
|
236
279
|
* @property {string} [id] - The unique identifier of the cart
|
|
237
|
-
* @property {
|
|
238
|
-
* @property {CartPlatformModel.PlatformCartCheckoutDetailRequest} body
|
|
280
|
+
* @property {CartPlatformModel.PlatformCartCheckoutDetailCreation} body
|
|
239
281
|
*/
|
|
240
282
|
/**
|
|
241
283
|
* @typedef PlatformCheckoutCartV2Param
|
|
284
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
285
|
+
* source header, to be used to identify source of order creation.
|
|
242
286
|
* @property {string} [id] - The unique identifier of the cart
|
|
243
|
-
* @property {
|
|
244
|
-
* @property {CartPlatformModel.PlatformCartCheckoutDetailV2Request} body
|
|
287
|
+
* @property {CartPlatformModel.PlatformCartCheckoutDetailV2Creation} body
|
|
245
288
|
*/
|
|
246
289
|
/**
|
|
247
290
|
* @typedef PlatformUpdateCartParam
|
|
291
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
292
|
+
* source header, to be used to identify source of order creation.
|
|
248
293
|
* @property {string} [id] - The unique identifier of the cart
|
|
249
294
|
* @property {boolean} [i] - This is a boolean value. Select `true` to retrieve
|
|
250
295
|
* all the items added in the cart.
|
|
@@ -255,8 +300,7 @@ export = CartPlatformApplicationValidator;
|
|
|
255
300
|
* the price breakup of cart items.
|
|
256
301
|
* @property {boolean} [buyNow] - This is a boolen value. Select `true` to
|
|
257
302
|
* set/initialize buy now cart
|
|
258
|
-
* @property {
|
|
259
|
-
* @property {CartPlatformModel.PlatformUpdateCartRequest} body
|
|
303
|
+
* @property {CartPlatformModel.PlatformUpdateCartDetails} body
|
|
260
304
|
*/
|
|
261
305
|
/**
|
|
262
306
|
* @typedef RemoveAddressParam
|
|
@@ -265,9 +309,10 @@ export = CartPlatformApplicationValidator;
|
|
|
265
309
|
*/
|
|
266
310
|
/**
|
|
267
311
|
* @typedef RemoveCouponParam
|
|
312
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
313
|
+
* source header, to be used to identify source of order creation.
|
|
268
314
|
* @property {string} [uid]
|
|
269
315
|
* @property {boolean} [buyNow]
|
|
270
|
-
* @property {string} [cartType] - The type of cart
|
|
271
316
|
*/
|
|
272
317
|
/**
|
|
273
318
|
* @typedef RemovePriceAdjustmentParam
|
|
@@ -275,28 +320,30 @@ export = CartPlatformApplicationValidator;
|
|
|
275
320
|
*/
|
|
276
321
|
/**
|
|
277
322
|
* @typedef SelectAddressParam
|
|
323
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
324
|
+
* source header, to be used to identify source of order creation.
|
|
278
325
|
* @property {string} [cartId]
|
|
279
326
|
* @property {boolean} [buyNow]
|
|
280
327
|
* @property {boolean} [i]
|
|
281
328
|
* @property {boolean} [b]
|
|
282
|
-
* @property {CartPlatformModel.
|
|
329
|
+
* @property {CartPlatformModel.PlatformSelectCartAddress} body
|
|
283
330
|
*/
|
|
284
331
|
/**
|
|
285
332
|
* @typedef SelectPaymentModeParam
|
|
333
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
334
|
+
* source header, to be used to identify source of order creation.
|
|
286
335
|
* @property {string} [id]
|
|
287
336
|
* @property {boolean} [buyNow]
|
|
288
|
-
* @property {string} [orderType]
|
|
289
|
-
*
|
|
290
|
-
* wants the handover of an order at the store itself.
|
|
291
|
-
* @property {CartPlatformModel.UpdateCartPaymentRequest} body
|
|
337
|
+
* @property {string} [orderType]
|
|
338
|
+
* @property {CartPlatformModel.CartPaymentUpdate} body
|
|
292
339
|
*/
|
|
293
340
|
/**
|
|
294
341
|
* @typedef SelectPaymentModeV2Param
|
|
342
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
343
|
+
* source header, to be used to identify source of order creation.
|
|
295
344
|
* @property {string} [id]
|
|
296
345
|
* @property {boolean} [buyNow]
|
|
297
|
-
* @property {string} [orderType]
|
|
298
|
-
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
299
|
-
* wants the handover of an order at the store itself.
|
|
346
|
+
* @property {string} [orderType]
|
|
300
347
|
* @property {CartPlatformModel.UpdateCartPaymentRequestV2} body
|
|
301
348
|
*/
|
|
302
349
|
/**
|
|
@@ -306,21 +353,20 @@ export = CartPlatformApplicationValidator;
|
|
|
306
353
|
*/
|
|
307
354
|
/**
|
|
308
355
|
* @typedef UpdateCartParam
|
|
309
|
-
* @property {string} cartId - Current Cart
|
|
356
|
+
* @property {string} cartId - Current Cart id of user cart
|
|
310
357
|
* @property {boolean} [b]
|
|
311
|
-
* @property {CartPlatformModel.
|
|
358
|
+
* @property {CartPlatformModel.UpdateCartCreation} body
|
|
312
359
|
*/
|
|
313
360
|
/**
|
|
314
361
|
* @typedef UpdateCartMetaParam
|
|
315
362
|
* @property {string} [id]
|
|
316
363
|
* @property {boolean} [buyNow]
|
|
317
|
-
* @property {
|
|
318
|
-
* @property {CartPlatformModel.PlatformCartMetaRequest} body
|
|
364
|
+
* @property {CartPlatformModel.PlatformCartMetaCreation} body
|
|
319
365
|
*/
|
|
320
366
|
/**
|
|
321
367
|
* @typedef UpdateCartMetaConfigParam
|
|
322
|
-
* @property {string} cartMetaId - CartMeta
|
|
323
|
-
*
|
|
368
|
+
* @property {string} cartMetaId - CartMeta id for fetching single cart meta
|
|
369
|
+
* data for editing
|
|
324
370
|
* @property {CartPlatformModel.CartMetaConfigUpdate} body
|
|
325
371
|
*/
|
|
326
372
|
/**
|
|
@@ -371,10 +417,12 @@ export = CartPlatformApplicationValidator;
|
|
|
371
417
|
* @property {string} [orderType] - The order type of shipment HomeDelivery - If
|
|
372
418
|
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
373
419
|
* wants the handover of an order at the store itself.
|
|
374
|
-
* @property {CartPlatformModel.
|
|
420
|
+
* @property {CartPlatformModel.UpdateCartShipmentCreation} body
|
|
375
421
|
*/
|
|
376
422
|
/**
|
|
377
423
|
* @typedef ValidateCouponForPaymentParam
|
|
424
|
+
* @property {CartPlatformModel.OrderingSource} [xOrderingSource] - Ordering
|
|
425
|
+
* source header, to be used to identify source of order creation.
|
|
378
426
|
* @property {string} [id]
|
|
379
427
|
* @property {boolean} [buyNow]
|
|
380
428
|
* @property {string} [addressId]
|
|
@@ -382,11 +430,6 @@ export = CartPlatformApplicationValidator;
|
|
|
382
430
|
* @property {string} [paymentIdentifier]
|
|
383
431
|
* @property {string} [aggregatorName]
|
|
384
432
|
* @property {string} [merchantCode]
|
|
385
|
-
* @property {string} [iin] - Debit/Credit card prefix (first 6 digit)
|
|
386
|
-
* @property {string} [network] - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY
|
|
387
|
-
* @property {string} [type] - Card type, e.g. Credit, Debit
|
|
388
|
-
* @property {string} [cardId] - Saved card token reference id
|
|
389
|
-
* @property {string} [cartType] - Type of the cart
|
|
390
433
|
*/
|
|
391
434
|
declare class CartPlatformApplicationValidator {
|
|
392
435
|
/** @returns {AddAddressParam} */
|
|
@@ -409,10 +452,14 @@ declare class CartPlatformApplicationValidator {
|
|
|
409
452
|
static createPromotion(): CreatePromotionParam;
|
|
410
453
|
/** @returns {DeleteCartParam} */
|
|
411
454
|
static deleteCart(): DeleteCartParam;
|
|
412
|
-
/** @returns {
|
|
413
|
-
static
|
|
455
|
+
/** @returns {DeleteCouponParam} */
|
|
456
|
+
static deleteCoupon(): DeleteCouponParam;
|
|
457
|
+
/** @returns {DeletePromotionParam} */
|
|
458
|
+
static deletePromotion(): DeletePromotionParam;
|
|
414
459
|
/** @returns {FetchAndvalidateCartItemsParam} */
|
|
415
460
|
static fetchAndvalidateCartItems(): FetchAndvalidateCartItemsParam;
|
|
461
|
+
/** @returns {FetchCartMetaConfigParam} */
|
|
462
|
+
static fetchCartMetaConfig(): any;
|
|
416
463
|
/** @returns {GetAbandonedCartParam} */
|
|
417
464
|
static getAbandonedCart(): GetAbandonedCartParam;
|
|
418
465
|
/** @returns {GetAbandonedCartDetailsParam} */
|
|
@@ -429,10 +476,6 @@ declare class CartPlatformApplicationValidator {
|
|
|
429
476
|
static getCart(): GetCartParam;
|
|
430
477
|
/** @returns {GetCartListParam} */
|
|
431
478
|
static getCartList(): GetCartListParam;
|
|
432
|
-
/** @returns {GetCartMetaConfigParam} */
|
|
433
|
-
static getCartMetaConfig(): GetCartMetaConfigParam;
|
|
434
|
-
/** @returns {GetCartMetaConfigsParam} */
|
|
435
|
-
static getCartMetaConfigs(): any;
|
|
436
479
|
/** @returns {GetCartShareLinkParam} */
|
|
437
480
|
static getCartShareLink(): GetCartShareLinkParam;
|
|
438
481
|
/** @returns {GetCartSharedItemsParam} */
|
|
@@ -443,8 +486,6 @@ declare class CartPlatformApplicationValidator {
|
|
|
443
486
|
static getCouponCodeExists(): GetCouponCodeExistsParam;
|
|
444
487
|
/** @returns {GetCouponOptionValuesParam} */
|
|
445
488
|
static getCouponOptionValues(): any;
|
|
446
|
-
/** @returns {GetCouponTagsParam} */
|
|
447
|
-
static getCouponTags(): any;
|
|
448
489
|
/** @returns {GetCouponsParam} */
|
|
449
490
|
static getCoupons(): GetCouponsParam;
|
|
450
491
|
/** @returns {GetItemCountParam} */
|
|
@@ -457,8 +498,10 @@ declare class CartPlatformApplicationValidator {
|
|
|
457
498
|
static getPromotionById(): GetPromotionByIdParam;
|
|
458
499
|
/** @returns {GetPromotionCodeExistsParam} */
|
|
459
500
|
static getPromotionCodeExists(): GetPromotionCodeExistsParam;
|
|
460
|
-
/** @returns {
|
|
461
|
-
static
|
|
501
|
+
/** @returns {GetPromotionOffersParam} */
|
|
502
|
+
static getPromotionOffers(): GetPromotionOffersParam;
|
|
503
|
+
/** @returns {GetPromotionPaymentOffersParam} */
|
|
504
|
+
static getPromotionPaymentOffers(): GetPromotionPaymentOffersParam;
|
|
462
505
|
/** @returns {GetPromotionsParam} */
|
|
463
506
|
static getPromotions(): GetPromotionsParam;
|
|
464
507
|
/** @returns {GetShipmentsParam} */
|
|
@@ -515,34 +558,49 @@ declare class CartPlatformApplicationValidator {
|
|
|
515
558
|
static validateCouponForPayment(): ValidateCouponForPaymentParam;
|
|
516
559
|
}
|
|
517
560
|
declare namespace CartPlatformApplicationValidator {
|
|
518
|
-
export { AddAddressParam, AddItemsParam, AddPriceAdjustmentParam, ApplyCouponParam, CheckCartServiceabilityParam, CheckoutCartParam, CreateCartMetaConfigParam, CreateCouponParam, CreatePromotionParam, DeleteCartParam,
|
|
561
|
+
export { AddAddressParam, AddItemsParam, AddPriceAdjustmentParam, ApplyCouponParam, CheckCartServiceabilityParam, CheckoutCartParam, CreateCartMetaConfigParam, CreateCouponParam, CreatePromotionParam, DeleteCartParam, DeleteCouponParam, DeletePromotionParam, FetchAndvalidateCartItemsParam, FetchCartMetaConfigParam, GetAbandonedCartParam, GetAbandonedCartDetailsParam, GetAddressByIdParam, GetAddressesParam, GetAppCouponsParam, GetAvailableDeliveryModesParam, GetCartParam, GetCartListParam, GetCartShareLinkParam, GetCartSharedItemsParam, GetCouponByIdParam, GetCouponCodeExistsParam, GetCouponOptionValuesParam, GetCouponsParam, GetItemCountParam, GetPriceAdjustmentsParam, GetPromosCouponConfigParam, GetPromotionByIdParam, GetPromotionCodeExistsParam, GetPromotionOffersParam, GetPromotionPaymentOffersParam, GetPromotionsParam, GetShipmentsParam, GetStoreAddressByUidParam, OverrideCartParam, PlatformAddItemsParam, PlatformCheckoutCartParam, PlatformCheckoutCartV2Param, PlatformUpdateCartParam, RemoveAddressParam, RemoveCouponParam, RemovePriceAdjustmentParam, SelectAddressParam, SelectPaymentModeParam, SelectPaymentModeV2Param, UpdateAddressParam, UpdateCartParam, UpdateCartMetaParam, UpdateCartMetaConfigParam, UpdateCartUserParam, UpdateCartWithSharedItemsParam, UpdateCouponParam, UpdateCouponPartiallyParam, UpdatePriceAdjustmentParam, UpdatePromotionParam, UpdatePromotionPartiallyParam, UpdateShipmentsParam, ValidateCouponForPaymentParam };
|
|
519
562
|
}
|
|
520
563
|
type AddAddressParam = {
|
|
521
564
|
body: CartPlatformModel.PlatformAddress;
|
|
522
565
|
};
|
|
523
566
|
type AddItemsParam = {
|
|
524
567
|
/**
|
|
525
|
-
* - Current Cart
|
|
568
|
+
* - Current Cart id of user cart
|
|
526
569
|
*/
|
|
527
570
|
cartId: string;
|
|
528
571
|
b?: boolean;
|
|
529
|
-
body: CartPlatformModel.
|
|
572
|
+
body: CartPlatformModel.AddCartCreation;
|
|
530
573
|
};
|
|
531
574
|
type AddPriceAdjustmentParam = {
|
|
532
575
|
body: CartPlatformModel.PriceAdjustmentAdd;
|
|
533
576
|
};
|
|
534
577
|
type ApplyCouponParam = {
|
|
578
|
+
/**
|
|
579
|
+
* - Ordering
|
|
580
|
+
* source header, to be used to identify source of order creation.
|
|
581
|
+
*/
|
|
582
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
535
583
|
i?: boolean;
|
|
536
584
|
b?: boolean;
|
|
537
585
|
p?: boolean;
|
|
538
586
|
id?: string;
|
|
539
587
|
buyNow?: boolean;
|
|
540
|
-
body: CartPlatformModel.
|
|
588
|
+
body: CartPlatformModel.ApplyCouponDetails;
|
|
541
589
|
};
|
|
542
590
|
type CheckCartServiceabilityParam = {
|
|
543
|
-
|
|
591
|
+
/**
|
|
592
|
+
* - Ordering
|
|
593
|
+
* source header, to be used to identify source of order creation.
|
|
594
|
+
*/
|
|
595
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
596
|
+
body: CartPlatformModel.OpenApiCartServiceabilityCreation;
|
|
544
597
|
};
|
|
545
598
|
type CheckoutCartParam = {
|
|
599
|
+
/**
|
|
600
|
+
* - Ordering
|
|
601
|
+
* source header, to be used to identify source of order creation.
|
|
602
|
+
*/
|
|
603
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
546
604
|
body: CartPlatformModel.OpenApiPlatformCheckoutReq;
|
|
547
605
|
};
|
|
548
606
|
type CreateCartMetaConfigParam = {
|
|
@@ -559,21 +617,21 @@ type DeleteCartParam = {
|
|
|
559
617
|
* - The unique identifier of the cart.
|
|
560
618
|
*/
|
|
561
619
|
id?: string;
|
|
562
|
-
|
|
563
|
-
* - The type of cart
|
|
564
|
-
*/
|
|
565
|
-
cartType?: string;
|
|
566
|
-
body: CartPlatformModel.DeleteCartRequest;
|
|
620
|
+
body: CartPlatformModel.DeleteCartDetails;
|
|
567
621
|
};
|
|
568
|
-
type
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
cartMetaId: string;
|
|
622
|
+
type DeleteCouponParam = {
|
|
623
|
+
id: string;
|
|
624
|
+
};
|
|
625
|
+
type DeletePromotionParam = {
|
|
626
|
+
id: string;
|
|
574
627
|
};
|
|
575
628
|
type FetchAndvalidateCartItemsParam = {
|
|
576
|
-
|
|
629
|
+
/**
|
|
630
|
+
* - Ordering
|
|
631
|
+
* source header, to be used to identify source of order creation.
|
|
632
|
+
*/
|
|
633
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
634
|
+
body: CartPlatformModel.OpenapiCartDetailsCreation;
|
|
577
635
|
};
|
|
578
636
|
type GetAbandonedCartParam = {
|
|
579
637
|
pageNo?: number;
|
|
@@ -620,6 +678,11 @@ type GetAvailableDeliveryModesParam = {
|
|
|
620
678
|
id?: string;
|
|
621
679
|
};
|
|
622
680
|
type GetCartParam = {
|
|
681
|
+
/**
|
|
682
|
+
* - Ordering
|
|
683
|
+
* source header, to be used to identify source of order creation.
|
|
684
|
+
*/
|
|
685
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
623
686
|
/**
|
|
624
687
|
* - The unique identifier of the cart
|
|
625
688
|
*/
|
|
@@ -628,6 +691,12 @@ type GetCartParam = {
|
|
|
628
691
|
* - Option to fetch cart for the provided user_id.
|
|
629
692
|
*/
|
|
630
693
|
userId?: string;
|
|
694
|
+
/**
|
|
695
|
+
* - The order type of shipment HomeDelivery - If
|
|
696
|
+
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
697
|
+
* wants the handover of an order at the store itself.
|
|
698
|
+
*/
|
|
699
|
+
orderType?: string;
|
|
631
700
|
/**
|
|
632
701
|
* - This is a boolean value. Select `true` to retrieve
|
|
633
702
|
* all the items added in the cart.
|
|
@@ -647,25 +716,14 @@ type GetCartParam = {
|
|
|
647
716
|
* set/initialize buy now cart
|
|
648
717
|
*/
|
|
649
718
|
buyNow?: boolean;
|
|
650
|
-
/**
|
|
651
|
-
* - The type of cart
|
|
652
|
-
*/
|
|
653
|
-
cartType?: string;
|
|
654
719
|
};
|
|
655
720
|
type GetCartListParam = {
|
|
656
721
|
fromDate?: string;
|
|
657
722
|
toDate?: string;
|
|
658
723
|
filterOn?: string;
|
|
659
724
|
};
|
|
660
|
-
type GetCartMetaConfigParam = {
|
|
661
|
-
/**
|
|
662
|
-
* - CartMeta mongo _id for fetching single cart
|
|
663
|
-
* meta data for editing
|
|
664
|
-
*/
|
|
665
|
-
cartMetaId: string;
|
|
666
|
-
};
|
|
667
725
|
type GetCartShareLinkParam = {
|
|
668
|
-
body: CartPlatformModel.
|
|
726
|
+
body: CartPlatformModel.GetShareCartLinkCreation;
|
|
669
727
|
};
|
|
670
728
|
type GetCartSharedItemsParam = {
|
|
671
729
|
/**
|
|
@@ -688,6 +746,13 @@ type GetCouponsParam = {
|
|
|
688
746
|
isDisplay?: boolean;
|
|
689
747
|
typeSlug?: string;
|
|
690
748
|
code?: string;
|
|
749
|
+
createdBy?: string;
|
|
750
|
+
reviewedBy?: string;
|
|
751
|
+
approvedStartTime?: string;
|
|
752
|
+
approvedEndTime?: string;
|
|
753
|
+
reviewStartTime?: string;
|
|
754
|
+
reviewEndTime?: string;
|
|
755
|
+
status?: string;
|
|
691
756
|
};
|
|
692
757
|
type GetItemCountParam = {
|
|
693
758
|
/**
|
|
@@ -698,24 +763,20 @@ type GetItemCountParam = {
|
|
|
698
763
|
* - Boolean value to get buy_now cart.
|
|
699
764
|
*/
|
|
700
765
|
buyNow?: boolean;
|
|
701
|
-
/**
|
|
702
|
-
* - The type of cart
|
|
703
|
-
*/
|
|
704
|
-
cartType?: string;
|
|
705
766
|
};
|
|
706
767
|
type GetPriceAdjustmentsParam = {
|
|
707
768
|
/**
|
|
708
|
-
* - Cart
|
|
769
|
+
* - Cart id of user cart
|
|
709
770
|
*/
|
|
710
771
|
cartId: string;
|
|
711
772
|
};
|
|
712
773
|
type GetPromosCouponConfigParam = {
|
|
713
774
|
/**
|
|
714
|
-
* -
|
|
775
|
+
* - Entity type as promotion or coupon
|
|
715
776
|
*/
|
|
716
777
|
entityType?: string;
|
|
717
778
|
/**
|
|
718
|
-
* -
|
|
779
|
+
* - Promotion coupon config shown or not
|
|
719
780
|
*/
|
|
720
781
|
isHidden?: boolean;
|
|
721
782
|
};
|
|
@@ -725,6 +786,40 @@ type GetPromotionByIdParam = {
|
|
|
725
786
|
type GetPromotionCodeExistsParam = {
|
|
726
787
|
code?: string;
|
|
727
788
|
};
|
|
789
|
+
type GetPromotionOffersParam = {
|
|
790
|
+
/**
|
|
791
|
+
* - A short, human-readable, URL-friendly identifier
|
|
792
|
+
* of a product. You can get slug value from the endpoint
|
|
793
|
+
* /service/application/catalog/v1.0/products/
|
|
794
|
+
*/
|
|
795
|
+
slug?: string;
|
|
796
|
+
/**
|
|
797
|
+
* - Number of offers to be fetched to show
|
|
798
|
+
*/
|
|
799
|
+
pageSize?: number;
|
|
800
|
+
/**
|
|
801
|
+
* - Type of promotion groups
|
|
802
|
+
*/
|
|
803
|
+
promotionGroup?: string;
|
|
804
|
+
/**
|
|
805
|
+
* - Unique identifier of a store
|
|
806
|
+
*/
|
|
807
|
+
storeId?: number;
|
|
808
|
+
/**
|
|
809
|
+
* - The type of cart
|
|
810
|
+
*/
|
|
811
|
+
cartType?: string;
|
|
812
|
+
};
|
|
813
|
+
type GetPromotionPaymentOffersParam = {
|
|
814
|
+
/**
|
|
815
|
+
* - Cart id of the user cart
|
|
816
|
+
*/
|
|
817
|
+
id?: string;
|
|
818
|
+
/**
|
|
819
|
+
* - Cart uid of the user cart
|
|
820
|
+
*/
|
|
821
|
+
uid?: number;
|
|
822
|
+
};
|
|
728
823
|
type GetPromotionsParam = {
|
|
729
824
|
pageNo?: number;
|
|
730
825
|
pageSize?: number;
|
|
@@ -734,6 +829,13 @@ type GetPromotionsParam = {
|
|
|
734
829
|
promotionType?: string;
|
|
735
830
|
fpPanel?: string;
|
|
736
831
|
promotionId?: string;
|
|
832
|
+
createdBy?: string;
|
|
833
|
+
reviewedBy?: string;
|
|
834
|
+
approvedStartTime?: string;
|
|
835
|
+
approvedEndTime?: string;
|
|
836
|
+
reviewStartTime?: string;
|
|
837
|
+
reviewEndTime?: string;
|
|
838
|
+
status?: string;
|
|
737
839
|
};
|
|
738
840
|
type GetShipmentsParam = {
|
|
739
841
|
pickAtStoreUid?: number;
|
|
@@ -771,9 +873,19 @@ type GetStoreAddressByUidParam = {
|
|
|
771
873
|
storeUid: number;
|
|
772
874
|
};
|
|
773
875
|
type OverrideCartParam = {
|
|
876
|
+
/**
|
|
877
|
+
* - Ordering
|
|
878
|
+
* source header, to be used to identify source of order creation.
|
|
879
|
+
*/
|
|
880
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
774
881
|
body: CartPlatformModel.OverrideCheckoutReq;
|
|
775
882
|
};
|
|
776
883
|
type PlatformAddItemsParam = {
|
|
884
|
+
/**
|
|
885
|
+
* - Ordering
|
|
886
|
+
* source header, to be used to identify source of order creation.
|
|
887
|
+
*/
|
|
888
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
777
889
|
/**
|
|
778
890
|
* - This is a boolean value. Select `true` to retrieve
|
|
779
891
|
* all the items added in the cart.
|
|
@@ -790,38 +902,47 @@ type PlatformAddItemsParam = {
|
|
|
790
902
|
*/
|
|
791
903
|
buyNow?: boolean;
|
|
792
904
|
/**
|
|
793
|
-
* - The
|
|
905
|
+
* - The order type of shipment HomeDelivery - If
|
|
906
|
+
* the customer wants the order home-delivered PickAtStore - If the customer
|
|
907
|
+
* wants the handover of an order at the store itself.
|
|
794
908
|
*/
|
|
795
|
-
|
|
909
|
+
orderType?: string;
|
|
796
910
|
/**
|
|
797
|
-
* - The
|
|
911
|
+
* - The unique identifier of the cart
|
|
798
912
|
*/
|
|
799
|
-
|
|
800
|
-
body: CartPlatformModel.
|
|
913
|
+
id?: string;
|
|
914
|
+
body: CartPlatformModel.PlatformAddCartDetails;
|
|
801
915
|
};
|
|
802
916
|
type PlatformCheckoutCartParam = {
|
|
803
917
|
/**
|
|
804
|
-
* -
|
|
918
|
+
* - Ordering
|
|
919
|
+
* source header, to be used to identify source of order creation.
|
|
805
920
|
*/
|
|
806
|
-
|
|
921
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
807
922
|
/**
|
|
808
|
-
* - The
|
|
923
|
+
* - The unique identifier of the cart
|
|
809
924
|
*/
|
|
810
|
-
|
|
811
|
-
body: CartPlatformModel.
|
|
925
|
+
id?: string;
|
|
926
|
+
body: CartPlatformModel.PlatformCartCheckoutDetailCreation;
|
|
812
927
|
};
|
|
813
928
|
type PlatformCheckoutCartV2Param = {
|
|
814
929
|
/**
|
|
815
|
-
* -
|
|
930
|
+
* - Ordering
|
|
931
|
+
* source header, to be used to identify source of order creation.
|
|
816
932
|
*/
|
|
817
|
-
|
|
933
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
818
934
|
/**
|
|
819
|
-
* - The
|
|
935
|
+
* - The unique identifier of the cart
|
|
820
936
|
*/
|
|
821
|
-
|
|
822
|
-
body: CartPlatformModel.
|
|
937
|
+
id?: string;
|
|
938
|
+
body: CartPlatformModel.PlatformCartCheckoutDetailV2Creation;
|
|
823
939
|
};
|
|
824
940
|
type PlatformUpdateCartParam = {
|
|
941
|
+
/**
|
|
942
|
+
* - Ordering
|
|
943
|
+
* source header, to be used to identify source of order creation.
|
|
944
|
+
*/
|
|
945
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
825
946
|
/**
|
|
826
947
|
* - The unique identifier of the cart
|
|
827
948
|
*/
|
|
@@ -847,11 +968,7 @@ type PlatformUpdateCartParam = {
|
|
|
847
968
|
* set/initialize buy now cart
|
|
848
969
|
*/
|
|
849
970
|
buyNow?: boolean;
|
|
850
|
-
|
|
851
|
-
* - The type of cart
|
|
852
|
-
*/
|
|
853
|
-
cartType?: string;
|
|
854
|
-
body: CartPlatformModel.PlatformUpdateCartRequest;
|
|
971
|
+
body: CartPlatformModel.PlatformUpdateCartDetails;
|
|
855
972
|
};
|
|
856
973
|
type RemoveAddressParam = {
|
|
857
974
|
/**
|
|
@@ -864,42 +981,48 @@ type RemoveAddressParam = {
|
|
|
864
981
|
userId?: string;
|
|
865
982
|
};
|
|
866
983
|
type RemoveCouponParam = {
|
|
867
|
-
uid?: string;
|
|
868
|
-
buyNow?: boolean;
|
|
869
984
|
/**
|
|
870
|
-
* -
|
|
985
|
+
* - Ordering
|
|
986
|
+
* source header, to be used to identify source of order creation.
|
|
871
987
|
*/
|
|
872
|
-
|
|
988
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
989
|
+
uid?: string;
|
|
990
|
+
buyNow?: boolean;
|
|
873
991
|
};
|
|
874
992
|
type RemovePriceAdjustmentParam = {
|
|
875
993
|
id: string;
|
|
876
994
|
};
|
|
877
995
|
type SelectAddressParam = {
|
|
996
|
+
/**
|
|
997
|
+
* - Ordering
|
|
998
|
+
* source header, to be used to identify source of order creation.
|
|
999
|
+
*/
|
|
1000
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
878
1001
|
cartId?: string;
|
|
879
1002
|
buyNow?: boolean;
|
|
880
1003
|
i?: boolean;
|
|
881
1004
|
b?: boolean;
|
|
882
|
-
body: CartPlatformModel.
|
|
1005
|
+
body: CartPlatformModel.PlatformSelectCartAddress;
|
|
883
1006
|
};
|
|
884
1007
|
type SelectPaymentModeParam = {
|
|
885
|
-
id?: string;
|
|
886
|
-
buyNow?: boolean;
|
|
887
1008
|
/**
|
|
888
|
-
* -
|
|
889
|
-
*
|
|
890
|
-
* wants the handover of an order at the store itself.
|
|
1009
|
+
* - Ordering
|
|
1010
|
+
* source header, to be used to identify source of order creation.
|
|
891
1011
|
*/
|
|
1012
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
1013
|
+
id?: string;
|
|
1014
|
+
buyNow?: boolean;
|
|
892
1015
|
orderType?: string;
|
|
893
|
-
body: CartPlatformModel.
|
|
1016
|
+
body: CartPlatformModel.CartPaymentUpdate;
|
|
894
1017
|
};
|
|
895
1018
|
type SelectPaymentModeV2Param = {
|
|
896
|
-
id?: string;
|
|
897
|
-
buyNow?: boolean;
|
|
898
1019
|
/**
|
|
899
|
-
* -
|
|
900
|
-
*
|
|
901
|
-
* wants the handover of an order at the store itself.
|
|
1020
|
+
* - Ordering
|
|
1021
|
+
* source header, to be used to identify source of order creation.
|
|
902
1022
|
*/
|
|
1023
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
1024
|
+
id?: string;
|
|
1025
|
+
buyNow?: boolean;
|
|
903
1026
|
orderType?: string;
|
|
904
1027
|
body: CartPlatformModel.UpdateCartPaymentRequestV2;
|
|
905
1028
|
};
|
|
@@ -912,22 +1035,21 @@ type UpdateAddressParam = {
|
|
|
912
1035
|
};
|
|
913
1036
|
type UpdateCartParam = {
|
|
914
1037
|
/**
|
|
915
|
-
* - Current Cart
|
|
1038
|
+
* - Current Cart id of user cart
|
|
916
1039
|
*/
|
|
917
1040
|
cartId: string;
|
|
918
1041
|
b?: boolean;
|
|
919
|
-
body: CartPlatformModel.
|
|
1042
|
+
body: CartPlatformModel.UpdateCartCreation;
|
|
920
1043
|
};
|
|
921
1044
|
type UpdateCartMetaParam = {
|
|
922
1045
|
id?: string;
|
|
923
1046
|
buyNow?: boolean;
|
|
924
|
-
|
|
925
|
-
body: CartPlatformModel.PlatformCartMetaRequest;
|
|
1047
|
+
body: CartPlatformModel.PlatformCartMetaCreation;
|
|
926
1048
|
};
|
|
927
1049
|
type UpdateCartMetaConfigParam = {
|
|
928
1050
|
/**
|
|
929
|
-
* - CartMeta
|
|
930
|
-
*
|
|
1051
|
+
* - CartMeta id for fetching single cart meta
|
|
1052
|
+
* data for editing
|
|
931
1053
|
*/
|
|
932
1054
|
cartMetaId: string;
|
|
933
1055
|
body: CartPlatformModel.CartMetaConfigUpdate;
|
|
@@ -996,9 +1118,14 @@ type UpdateShipmentsParam = {
|
|
|
996
1118
|
* wants the handover of an order at the store itself.
|
|
997
1119
|
*/
|
|
998
1120
|
orderType?: string;
|
|
999
|
-
body: CartPlatformModel.
|
|
1121
|
+
body: CartPlatformModel.UpdateCartShipmentCreation;
|
|
1000
1122
|
};
|
|
1001
1123
|
type ValidateCouponForPaymentParam = {
|
|
1124
|
+
/**
|
|
1125
|
+
* - Ordering
|
|
1126
|
+
* source header, to be used to identify source of order creation.
|
|
1127
|
+
*/
|
|
1128
|
+
xOrderingSource?: CartPlatformModel.OrderingSource;
|
|
1002
1129
|
id?: string;
|
|
1003
1130
|
buyNow?: boolean;
|
|
1004
1131
|
addressId?: string;
|
|
@@ -1006,29 +1133,7 @@ type ValidateCouponForPaymentParam = {
|
|
|
1006
1133
|
paymentIdentifier?: string;
|
|
1007
1134
|
aggregatorName?: string;
|
|
1008
1135
|
merchantCode?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* - Debit/Credit card prefix (first 6 digit)
|
|
1011
|
-
*/
|
|
1012
|
-
iin?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* - Credit/Debit card issuer, e.g. VISA, MASTERCARD, RUPAY
|
|
1015
|
-
*/
|
|
1016
|
-
network?: string;
|
|
1017
|
-
/**
|
|
1018
|
-
* - Card type, e.g. Credit, Debit
|
|
1019
|
-
*/
|
|
1020
|
-
type?: string;
|
|
1021
|
-
/**
|
|
1022
|
-
* - Saved card token reference id
|
|
1023
|
-
*/
|
|
1024
|
-
cardId?: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* - Type of the cart
|
|
1027
|
-
*/
|
|
1028
|
-
cartType?: string;
|
|
1029
1136
|
};
|
|
1030
|
-
type
|
|
1137
|
+
type FetchCartMetaConfigParam = any;
|
|
1031
1138
|
type GetCouponOptionValuesParam = any;
|
|
1032
|
-
type GetCouponTagsParam = any;
|
|
1033
|
-
type GetPromotionTagsParam = any;
|
|
1034
1139
|
import CartPlatformModel = require("./CartPlatformModel");
|