@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.3
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
- package/sdk/application/Cart/CartApplicationClient.js +111 -1200
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
- package/sdk/application/Content/ContentApplicationClient.js +46 -990
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
- package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
- package/sdk/application/Order/OrderApplicationClient.js +52 -507
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
- package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
- package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +44 -1820
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- 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 +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +5046 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1979 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
- package/sdk/platform/Order/OrderPlatformClient.js +416 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
- package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
- package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- 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 +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- 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/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +795 -7
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
- 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
|
@@ -7,66 +7,65 @@ declare class Cart {
|
|
|
7
7
|
* @param {CartPlatformApplicationValidator.AddAddressParam} arg - Arg object
|
|
8
8
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
9
9
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
10
|
-
* @returns {Promise<CartPlatformModel.
|
|
10
|
+
* @returns {Promise<CartPlatformModel.SaveAddressDetails>} - Success response
|
|
11
11
|
* @name addAddress
|
|
12
12
|
* @summary: Creates a new address for a customer
|
|
13
13
|
* @description: Customers can add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/addAddress/).
|
|
14
14
|
*/
|
|
15
|
-
addAddress({ body, requestHeaders }?: CartPlatformApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
15
|
+
addAddress({ body, requestHeaders }?: CartPlatformApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.SaveAddressDetails>;
|
|
16
16
|
/**
|
|
17
17
|
* @param {CartPlatformApplicationValidator.AddItemsParam} arg - Arg object
|
|
18
18
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
19
19
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
20
|
-
* @returns {Promise<CartPlatformModel.
|
|
20
|
+
* @returns {Promise<CartPlatformModel.AddCartDetailResult>} - Success response
|
|
21
21
|
* @name addItems
|
|
22
22
|
* @summary: Add items to cart
|
|
23
23
|
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/addItems/).
|
|
24
24
|
*/
|
|
25
|
-
addItems({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
25
|
+
addItems({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
|
|
26
26
|
/**
|
|
27
27
|
* @param {CartPlatformApplicationValidator.AddPriceAdjustmentParam} arg - Arg object
|
|
28
28
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
29
29
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
30
|
-
* @returns {Promise<CartPlatformModel.
|
|
30
|
+
* @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
|
|
31
31
|
* @name addPriceAdjustment
|
|
32
32
|
* @summary: Create price adjustments
|
|
33
33
|
* @description: Create custom price adjustments for items in the cart, facilitating the application of discounts or promotions. Price adjustments can be tailored based on specific sales channel contexts, enhancing flexibility in pricing strategies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/addPriceAdjustment/).
|
|
34
34
|
*/
|
|
35
|
-
addPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.AddPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
35
|
+
addPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.AddPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
|
|
36
36
|
/**
|
|
37
37
|
* @param {CartPlatformApplicationValidator.ApplyCouponParam} arg - Arg object
|
|
38
38
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
39
39
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
40
|
-
* @returns {Promise<CartPlatformModel.
|
|
40
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
41
41
|
* @name applyCoupon
|
|
42
42
|
* @summary: Apply coupon
|
|
43
43
|
* @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/applyCoupon/).
|
|
44
44
|
*/
|
|
45
|
-
applyCoupon({ body, i, b, p, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
45
|
+
applyCoupon({ body, i, b, p, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
46
46
|
/**
|
|
47
47
|
* @param {CartPlatformApplicationValidator.CheckCartServiceabilityParam} arg
|
|
48
48
|
* - Arg object
|
|
49
49
|
*
|
|
50
50
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
51
51
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
52
|
-
* @returns {Promise<CartPlatformModel.
|
|
53
|
-
*
|
|
54
|
-
*
|
|
52
|
+
* @returns {Promise<CartPlatformModel.OpenApiCartServiceabilityResult>} -
|
|
53
|
+
* Success response
|
|
55
54
|
* @name checkCartServiceability
|
|
56
55
|
* @summary: Check cart serviceability
|
|
57
56
|
* @description: Verify the serviceability of items in the cart at a specific pin code and ensure accurate delivery promises. System checks each item's availability and delivery feasibility, providing real-time information on serviceability and estimated delivery times. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/checkCartServiceability/).
|
|
58
57
|
*/
|
|
59
|
-
checkCartServiceability({ body, requestHeaders }?: CartPlatformApplicationValidator.CheckCartServiceabilityParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
58
|
+
checkCartServiceability({ body, requestHeaders }?: CartPlatformApplicationValidator.CheckCartServiceabilityParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCartServiceabilityResult>;
|
|
60
59
|
/**
|
|
61
60
|
* @param {CartPlatformApplicationValidator.CheckoutCartParam} arg - Arg object
|
|
62
61
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
62
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
64
|
-
* @returns {Promise<CartPlatformModel.
|
|
63
|
+
* @returns {Promise<CartPlatformModel.OpenApiCheckoutResult>} - Success response
|
|
65
64
|
* @name checkoutCart
|
|
66
65
|
* @summary: Checkout cart
|
|
67
66
|
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/checkoutCart/).
|
|
68
67
|
*/
|
|
69
|
-
checkoutCart({ body, requestHeaders }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
68
|
+
checkoutCart({ body, requestHeaders }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCheckoutResult>;
|
|
70
69
|
/**
|
|
71
70
|
* @param {CartPlatformApplicationValidator.CreateCartMetaConfigParam} arg
|
|
72
71
|
* - Arg object
|
|
@@ -83,44 +82,64 @@ declare class Cart {
|
|
|
83
82
|
* @param {CartPlatformApplicationValidator.CreateCouponParam} arg - Arg object
|
|
84
83
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
85
84
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
86
|
-
* @returns {Promise<CartPlatformModel.
|
|
85
|
+
* @returns {Promise<CartPlatformModel.CouponCreateResult>} - Success response
|
|
87
86
|
* @name createCoupon
|
|
88
87
|
* @summary: Create a coupon
|
|
89
88
|
* @description: Creates a new coupon based on the selected coupon type. Sellers can choose from multiple supported coupon types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable coupon criteria to meet specific business requirements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/createCoupon/).
|
|
90
89
|
*/
|
|
91
|
-
createCoupon({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
90
|
+
createCoupon({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponCreateResult>;
|
|
92
91
|
/**
|
|
93
92
|
* @param {CartPlatformApplicationValidator.CreatePromotionParam} arg - Arg object
|
|
94
93
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
94
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<CartPlatformModel.
|
|
95
|
+
* @returns {Promise<CartPlatformModel.PromotionAddResult>} - Success response
|
|
97
96
|
* @name createPromotion
|
|
98
97
|
* @summary: Create a promotion
|
|
99
98
|
* @description: Creates a new promotion based on the selected promotion type. Sellers can choose from multiple supported promotion types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable promotion criteria to meet specific business requirements. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/createPromotion/).
|
|
100
99
|
*/
|
|
101
|
-
createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
100
|
+
createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionAddResult>;
|
|
102
101
|
/**
|
|
103
102
|
* @param {CartPlatformApplicationValidator.DeleteCartParam} arg - Arg object
|
|
104
103
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
105
104
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
106
|
-
* @returns {Promise<CartPlatformModel.
|
|
105
|
+
* @returns {Promise<CartPlatformModel.DeleteCartDetailResult>} - Success response
|
|
107
106
|
* @name deleteCart
|
|
108
107
|
* @summary: Delete a cart
|
|
109
108
|
* @description: Delete all items from the user's cart and resets it to its initial state, providing a clean slate for new selections. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/deleteCart/).
|
|
110
109
|
*/
|
|
111
|
-
deleteCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
110
|
+
deleteCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteCartDetailResult>;
|
|
111
|
+
/**
|
|
112
|
+
* @param {CartPlatformApplicationValidator.DeleteCouponParam} arg - Arg object
|
|
113
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
115
|
+
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
116
|
+
* @name deleteCoupon
|
|
117
|
+
* @summary: Delete a coupon which is in draft state
|
|
118
|
+
* @description: Delete details of a draft coupon by providing its unique identifier to delete information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/deleteCoupon/).
|
|
119
|
+
*/
|
|
120
|
+
deleteCoupon({ id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
121
|
+
/**
|
|
122
|
+
* @param {CartPlatformApplicationValidator.DeletePromotionParam} arg - Arg object
|
|
123
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
124
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
125
|
+
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
126
|
+
* @name deletePromotion
|
|
127
|
+
* @summary: Delete a promotion which is in draft state
|
|
128
|
+
* @description: Delete details of a draft promotion by providing its unique identifier to delete information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/deletePromotion/).
|
|
129
|
+
*/
|
|
130
|
+
deletePromotion({ id, requestHeaders }?: CartPlatformApplicationValidator.DeletePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
112
131
|
/**
|
|
113
132
|
* @param {CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam} arg
|
|
114
133
|
* - Arg object
|
|
115
134
|
*
|
|
116
135
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
117
136
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
118
|
-
* @returns {Promise<CartPlatformModel.
|
|
137
|
+
* @returns {Promise<CartPlatformModel.OpenapiCartDetailsResult>} - Success response
|
|
119
138
|
* @name fetchAndvalidateCartItems
|
|
120
139
|
* @summary: Get and validate cart items
|
|
121
140
|
* @description: Retrieve cart details for a provided list of cart items and validate its contents. This ensures accuracy and completeness in cart information, including item quantities, prices, discounts, and applicable taxes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/fetchAndvalidateCartItems/).
|
|
122
141
|
*/
|
|
123
|
-
fetchAndvalidateCartItems({ body, requestHeaders }?: CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
142
|
+
fetchAndvalidateCartItems({ body, requestHeaders }?: CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenapiCartDetailsResult>;
|
|
124
143
|
/**
|
|
125
144
|
* @param {CartPlatformApplicationValidator.FetchCartMetaConfigParam} arg - Arg object
|
|
126
145
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -135,24 +154,24 @@ declare class Cart {
|
|
|
135
154
|
* @param {CartPlatformApplicationValidator.GetAbandonedCartParam} arg - Arg object
|
|
136
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
137
156
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
138
|
-
* @returns {Promise<CartPlatformModel.
|
|
157
|
+
* @returns {Promise<CartPlatformModel.AbandonedCartResult>} - Success response
|
|
139
158
|
* @name getAbandonedCart
|
|
140
159
|
* @summary: Get abandoned carts
|
|
141
160
|
* @description: Retrieve the list of abandoned carts that have been active for the specified period of time and have not yet been archived for the specific sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAbandonedCart/).
|
|
142
161
|
*/
|
|
143
|
-
getAbandonedCart({ pageNo, pageSize, fromDate, toDate, anonymousCart, lastId, sortOn, requestHeaders, }?: CartPlatformApplicationValidator.GetAbandonedCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
162
|
+
getAbandonedCart({ pageNo, pageSize, fromDate, toDate, anonymousCart, lastId, sortOn, requestHeaders, }?: CartPlatformApplicationValidator.GetAbandonedCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.AbandonedCartResult>;
|
|
144
163
|
/**
|
|
145
164
|
* @param {CartPlatformApplicationValidator.GetAbandonedCartDetailsParam} arg
|
|
146
165
|
* - Arg object
|
|
147
166
|
*
|
|
148
167
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
149
168
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
150
|
-
* @returns {Promise<CartPlatformModel.
|
|
169
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
151
170
|
* @name getAbandonedCartDetails
|
|
152
171
|
* @summary: Get abandoned cart details
|
|
153
172
|
* @description: Retrieves abandoned cart details linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAbandonedCartDetails/).
|
|
154
173
|
*/
|
|
155
|
-
getAbandonedCartDetails({ id, i, b, c, requestHeaders }?: CartPlatformApplicationValidator.GetAbandonedCartDetailsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
174
|
+
getAbandonedCartDetails({ id, i, b, c, requestHeaders }?: CartPlatformApplicationValidator.GetAbandonedCartDetailsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
156
175
|
/**
|
|
157
176
|
* @param {CartPlatformApplicationValidator.GetAddressByIdParam} arg - Arg object
|
|
158
177
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -167,75 +186,75 @@ declare class Cart {
|
|
|
167
186
|
* @param {CartPlatformApplicationValidator.GetAddressesParam} arg - Arg object
|
|
168
187
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
169
188
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
170
|
-
* @returns {Promise<CartPlatformModel.
|
|
189
|
+
* @returns {Promise<CartPlatformModel.PlatformGetAddressesDetails>} -
|
|
171
190
|
* Success response
|
|
172
191
|
* @name getAddresses
|
|
173
192
|
* @summary: Get a list of addresses for a customer
|
|
174
193
|
* @description: Retrieves a list of all addresses saved by the customer, simplifying the checkout process by offering pre-saved address options for delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAddresses/).
|
|
175
194
|
*/
|
|
176
|
-
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
195
|
+
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformGetAddressesDetails>;
|
|
177
196
|
/**
|
|
178
197
|
* @param {CartPlatformApplicationValidator.GetAppCouponsParam} arg - Arg object
|
|
179
198
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
180
199
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
|
-
* @returns {Promise<CartPlatformModel.
|
|
200
|
+
* @returns {Promise<CartPlatformModel.GetCouponResult>} - Success response
|
|
182
201
|
* @name getAppCoupons
|
|
183
|
-
* @summary: List coupons
|
|
202
|
+
* @summary: List of coupons
|
|
184
203
|
* @description: Retrieve a list of all available coupons that customer can apply to their carts. It provides details about each coupon, including its code, discount amount, and applicable conditions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAppCoupons/).
|
|
185
204
|
*/
|
|
186
|
-
getAppCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartPlatformApplicationValidator.GetAppCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
205
|
+
getAppCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartPlatformApplicationValidator.GetAppCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetCouponResult>;
|
|
187
206
|
/**
|
|
188
207
|
* @param {CartPlatformApplicationValidator.GetAvailableDeliveryModesParam} arg
|
|
189
208
|
* - Arg object
|
|
190
209
|
*
|
|
191
210
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
211
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
193
|
-
* @returns {Promise<CartPlatformModel.
|
|
212
|
+
* @returns {Promise<CartPlatformModel.CartDeliveryModesDetails>} - Success response
|
|
194
213
|
* @name getAvailableDeliveryModes
|
|
195
214
|
* @summary: Get delivery modes
|
|
196
215
|
* @description: Retrieve a list of delivery modes (home delivery/store pickup) along with a list of available pickup stores for a given cart at a specified PIN Code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getAvailableDeliveryModes/).
|
|
197
216
|
*/
|
|
198
|
-
getAvailableDeliveryModes({ areaCode, id, requestHeaders }?: CartPlatformApplicationValidator.GetAvailableDeliveryModesParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
217
|
+
getAvailableDeliveryModes({ areaCode, id, requestHeaders }?: CartPlatformApplicationValidator.GetAvailableDeliveryModesParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDeliveryModesDetails>;
|
|
199
218
|
/**
|
|
200
219
|
* @param {CartPlatformApplicationValidator.GetCartParam} arg - Arg object
|
|
201
220
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
221
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
203
|
-
* @returns {Promise<CartPlatformModel.
|
|
222
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
204
223
|
* @name getCart
|
|
205
224
|
* @summary: Get a cart
|
|
206
225
|
* @description: Retrieve details of a cart linked to a specific customer using either the customer's ID or a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCart/).
|
|
207
226
|
*/
|
|
208
|
-
getCart({ id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
227
|
+
getCart({ id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
209
228
|
/**
|
|
210
229
|
* @param {CartPlatformApplicationValidator.GetCartListParam} arg - Arg object
|
|
211
230
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
212
231
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
213
|
-
* @returns {Promise<CartPlatformModel.
|
|
232
|
+
* @returns {Promise<CartPlatformModel.MultiCartResult>} - Success response
|
|
214
233
|
* @name getCartList
|
|
215
|
-
* @summary: List carts
|
|
216
|
-
* @description: Retrieve the list of active carts associated with a specific customer.
|
|
234
|
+
* @summary: List of carts
|
|
235
|
+
* @description: Retrieve the list of active carts associated with a specific customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCartList/).
|
|
217
236
|
*/
|
|
218
|
-
getCartList({ fromDate, toDate, filterOn, requestHeaders }?: CartPlatformApplicationValidator.GetCartListParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
237
|
+
getCartList({ fromDate, toDate, filterOn, requestHeaders }?: CartPlatformApplicationValidator.GetCartListParam, { responseHeaders }?: object): Promise<CartPlatformModel.MultiCartResult>;
|
|
219
238
|
/**
|
|
220
239
|
* @param {CartPlatformApplicationValidator.GetCartShareLinkParam} arg - Arg object
|
|
221
240
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
222
241
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
223
|
-
* @returns {Promise<CartPlatformModel.
|
|
242
|
+
* @returns {Promise<CartPlatformModel.GetShareCartLinkResult>} - Success response
|
|
224
243
|
* @name getCartShareLink
|
|
225
244
|
* @summary: Share cart link
|
|
226
245
|
* @description: Generate a unique shareable link for the customer's cart for a specific sales channel. This link enables easy sharing of the cart contents with other users, facilitating collaborative shopping experiences. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCartShareLink/).
|
|
227
246
|
*/
|
|
228
|
-
getCartShareLink({ body, requestHeaders }?: CartPlatformApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
247
|
+
getCartShareLink({ body, requestHeaders }?: CartPlatformApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetShareCartLinkResult>;
|
|
229
248
|
/**
|
|
230
249
|
* @param {CartPlatformApplicationValidator.GetCartSharedItemsParam} arg - Arg object
|
|
231
250
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
232
251
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
233
|
-
* @returns {Promise<CartPlatformModel.
|
|
252
|
+
* @returns {Promise<CartPlatformModel.SharedCartResult>} - Success response
|
|
234
253
|
* @name getCartSharedItems
|
|
235
254
|
* @summary: List shared cart items
|
|
236
255
|
* @description: Retrieve the cart items from the shared cart link based on unique token. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCartSharedItems/).
|
|
237
256
|
*/
|
|
238
|
-
getCartSharedItems({ token, requestHeaders }?: CartPlatformApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
257
|
+
getCartSharedItems({ token, requestHeaders }?: CartPlatformApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResult>;
|
|
239
258
|
/**
|
|
240
259
|
* @param {CartPlatformApplicationValidator.GetCouponByIdParam} arg - Arg object
|
|
241
260
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -272,54 +291,54 @@ declare class Cart {
|
|
|
272
291
|
* @param {CartPlatformApplicationValidator.GetCouponsParam} arg - Arg object
|
|
273
292
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
274
293
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
275
|
-
* @returns {Promise<CartPlatformModel.
|
|
294
|
+
* @returns {Promise<CartPlatformModel.CouponsResult>} - Success response
|
|
276
295
|
* @name getCoupons
|
|
277
|
-
* @summary: List coupons
|
|
296
|
+
* @summary: List of coupons
|
|
278
297
|
* @description: Retrieve a list of all created coupons for specific sales channel. It also supports searching based on text search, pagination and other flags to filter coupons. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCoupons/).
|
|
279
298
|
*/
|
|
280
|
-
getCoupons({ pageNo, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, requestHeaders, }?: CartPlatformApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
299
|
+
getCoupons({ pageNo, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, createdBy, reviewedBy, approvedStartTime, approvedEndTime, reviewStartTime, reviewEndTime, status, requestHeaders, }?: CartPlatformApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponsResult>;
|
|
281
300
|
/**
|
|
282
301
|
* @param {CartPlatformApplicationValidator.GetItemCountParam} arg - Arg object
|
|
283
302
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
284
303
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
285
|
-
* @returns {Promise<CartPlatformModel.
|
|
304
|
+
* @returns {Promise<CartPlatformModel.CartItemCountResult>} - Success response
|
|
286
305
|
* @name getItemCount
|
|
287
306
|
* @summary: Get a cart items count
|
|
288
307
|
* @description: Retrieve the total count of items currently present in the customer's cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getItemCount/).
|
|
289
308
|
*/
|
|
290
|
-
getItemCount({ id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
309
|
+
getItemCount({ id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartItemCountResult>;
|
|
291
310
|
/**
|
|
292
311
|
* @param {CartPlatformApplicationValidator.GetPriceAdjustmentsParam} arg - Arg object
|
|
293
312
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
294
313
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
295
|
-
* @returns {Promise<CartPlatformModel.
|
|
314
|
+
* @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
|
|
296
315
|
* @name getPriceAdjustments
|
|
297
316
|
* @summary: Get a list of all price adjustments associated with a cart
|
|
298
317
|
* @description: This API helps to get price adjustments data associated to a particular cart - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPriceAdjustments/).
|
|
299
318
|
*/
|
|
300
|
-
getPriceAdjustments({ cartId, requestHeaders }?: CartPlatformApplicationValidator.GetPriceAdjustmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
319
|
+
getPriceAdjustments({ cartId, requestHeaders }?: CartPlatformApplicationValidator.GetPriceAdjustmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
|
|
301
320
|
/**
|
|
302
321
|
* @param {CartPlatformApplicationValidator.GetPromosCouponConfigParam} arg
|
|
303
322
|
* - Arg object
|
|
304
323
|
*
|
|
305
324
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
306
325
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
307
|
-
* @returns {Promise<CartPlatformModel.
|
|
326
|
+
* @returns {Promise<CartPlatformModel.ActivePromosResult>} - Success response
|
|
308
327
|
* @name getPromosCouponConfig
|
|
309
328
|
* @summary: Get promotion and coupon type
|
|
310
329
|
* @description: Retrieve the configuration settings related to promotions and coupons for a specific seller. It provides details of the supported types of coupons and promotions along with their descriptions, examples, and related attributes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromosCouponConfig/).
|
|
311
330
|
*/
|
|
312
|
-
getPromosCouponConfig({ entityType, isHidden, requestHeaders }?: CartPlatformApplicationValidator.GetPromosCouponConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
331
|
+
getPromosCouponConfig({ entityType, isHidden, requestHeaders }?: CartPlatformApplicationValidator.GetPromosCouponConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.ActivePromosResult>;
|
|
313
332
|
/**
|
|
314
333
|
* @param {CartPlatformApplicationValidator.GetPromotionByIdParam} arg - Arg object
|
|
315
334
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
316
335
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
317
|
-
* @returns {Promise<CartPlatformModel.
|
|
336
|
+
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
318
337
|
* @name getPromotionById
|
|
319
|
-
* @summary: Get a promotion
|
|
338
|
+
* @summary: Get a specific promotion
|
|
320
339
|
* @description: Retrieve details of a specific promotion by providing its unique identifier to obtain information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionById/).
|
|
321
340
|
*/
|
|
322
|
-
getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
341
|
+
getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
|
|
323
342
|
/**
|
|
324
343
|
* @param {CartPlatformApplicationValidator.GetPromotionCodeExistsParam} arg
|
|
325
344
|
* - Arg object
|
|
@@ -336,120 +355,132 @@ declare class Cart {
|
|
|
336
355
|
* @param {CartPlatformApplicationValidator.GetPromotionOffersParam} arg - Arg object
|
|
337
356
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
338
357
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
339
|
-
* @returns {Promise<CartPlatformModel.
|
|
358
|
+
* @returns {Promise<CartPlatformModel.PromotionOffersDetails>} - Success response
|
|
340
359
|
* @name getPromotionOffers
|
|
341
|
-
* @summary: List available promotion offers
|
|
360
|
+
* @summary: List of all available promotion offers
|
|
342
361
|
* @description: Retrieve a list of all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionOffers/).
|
|
343
362
|
*/
|
|
344
|
-
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
363
|
+
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, sortBy, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionOffersDetails>;
|
|
345
364
|
/**
|
|
346
365
|
* @param {CartPlatformApplicationValidator.GetPromotionPaymentOffersParam} arg
|
|
347
366
|
* - Arg object
|
|
348
367
|
*
|
|
349
368
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
350
369
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
351
|
-
* @returns {Promise<CartPlatformModel.
|
|
370
|
+
* @returns {Promise<CartPlatformModel.PromotionPaymentOffersDetails>} -
|
|
352
371
|
* Success response
|
|
353
372
|
* @name getPromotionPaymentOffers
|
|
354
373
|
* @summary: Fetch available promotions payment offers
|
|
355
374
|
* @description: Use this API to get top 5 payment offers available for current product - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionPaymentOffers/).
|
|
356
375
|
*/
|
|
357
|
-
getPromotionPaymentOffers({ id, uid, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionPaymentOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
376
|
+
getPromotionPaymentOffers({ id, uid, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionPaymentOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionPaymentOffersDetails>;
|
|
358
377
|
/**
|
|
359
378
|
* @param {CartPlatformApplicationValidator.GetPromotionsParam} arg - Arg object
|
|
360
379
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
361
380
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
362
|
-
* @returns {Promise<CartPlatformModel.
|
|
381
|
+
* @returns {Promise<CartPlatformModel.PromotionsResult>} - Success response
|
|
363
382
|
* @name getPromotions
|
|
364
|
-
* @summary: List promotions
|
|
383
|
+
* @summary: List of promotions
|
|
365
384
|
* @description: Retrieve a list of all created promotions for specific sales channel. It also supports efficient text search and pagination functionalities, ensuring optimized promotion listing for streamlined navigation and management. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getPromotions/).
|
|
366
385
|
*/
|
|
367
|
-
getPromotions({ pageNo, pageSize, q, isActive, promoGroup, promotionType, fpPanel, promotionId, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
386
|
+
getPromotions({ pageNo, pageSize, q, isActive, promoGroup, promotionType, fpPanel, promotionId, createdBy, reviewedBy, approvedStartTime, approvedEndTime, reviewStartTime, reviewEndTime, status, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionsResult>;
|
|
368
387
|
/**
|
|
369
388
|
* @param {CartPlatformApplicationValidator.GetShipmentsParam} arg - Arg object
|
|
370
389
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
371
390
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
372
|
-
* @returns {Promise<CartPlatformModel.
|
|
391
|
+
* @returns {Promise<CartPlatformModel.PlatformCartShipmentsResult>} -
|
|
373
392
|
* Success response
|
|
374
393
|
* @name getShipments
|
|
375
394
|
* @summary: Get shipments details
|
|
376
395
|
* @description: Use this API to get shipment details, expected delivery date, items and price breakup of the shipment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getShipments/).
|
|
377
396
|
*/
|
|
378
|
-
getShipments({ pickAtStoreUid, orderingStoreId, i, p, id, addressId, areaCode, orderType, requestHeaders, }?: CartPlatformApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
397
|
+
getShipments({ pickAtStoreUid, orderingStoreId, i, p, id, addressId, areaCode, orderType, requestHeaders, }?: CartPlatformApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResult>;
|
|
379
398
|
/**
|
|
380
399
|
* @param {CartPlatformApplicationValidator.GetStoreAddressByUidParam} arg
|
|
381
400
|
* - Arg object
|
|
382
401
|
*
|
|
383
402
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
384
403
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
385
|
-
* @returns {Promise<CartPlatformModel.
|
|
404
|
+
* @returns {Promise<CartPlatformModel.StoreDetails>} - Success response
|
|
386
405
|
* @name getStoreAddressByUid
|
|
387
406
|
* @summary: Get Store Address
|
|
388
407
|
* @description: Retrieve store details by entering the unique identifier of the pickup stores. Store details include the seller's name, contact information such as email address or phone number and business address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getStoreAddressByUid/).
|
|
389
408
|
*/
|
|
390
|
-
getStoreAddressByUid({ storeUid, requestHeaders }?: CartPlatformApplicationValidator.GetStoreAddressByUidParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
409
|
+
getStoreAddressByUid({ storeUid, requestHeaders }?: CartPlatformApplicationValidator.GetStoreAddressByUidParam, { responseHeaders }?: object): Promise<CartPlatformModel.StoreDetails>;
|
|
391
410
|
/**
|
|
392
411
|
* @param {CartPlatformApplicationValidator.OverrideCartParam} arg - Arg object
|
|
393
412
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
394
413
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
395
|
-
* @returns {Promise<CartPlatformModel.
|
|
414
|
+
* @returns {Promise<CartPlatformModel.OverrideCheckoutResult>} - Success response
|
|
396
415
|
* @name overrideCart
|
|
397
416
|
* @summary: Update cart checkout
|
|
398
417
|
* @description: Overrides the cart's checkout process with a new provided cart items. It provides flexibility in customizing checkout flows to meet specific business requirements, enhancing the user experience and optimizing order processing workflows. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/overrideCart/).
|
|
399
418
|
*/
|
|
400
|
-
overrideCart({ body, requestHeaders }?: CartPlatformApplicationValidator.OverrideCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
419
|
+
overrideCart({ body, requestHeaders }?: CartPlatformApplicationValidator.OverrideCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OverrideCheckoutResult>;
|
|
401
420
|
/**
|
|
402
421
|
* @param {CartPlatformApplicationValidator.PlatformAddItemsParam} arg - Arg object
|
|
403
422
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
404
423
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
405
|
-
* @returns {Promise<CartPlatformModel.
|
|
424
|
+
* @returns {Promise<CartPlatformModel.AddCartDetailResult>} - Success response
|
|
406
425
|
* @name platformAddItems
|
|
407
426
|
* @summary: Add items to cart
|
|
408
427
|
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/platformAddItems/).
|
|
409
428
|
*/
|
|
410
|
-
platformAddItems({ body, i, b, buyNow, orderType, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
429
|
+
platformAddItems({ body, i, b, buyNow, orderType, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
|
|
430
|
+
/**
|
|
431
|
+
* @param {CartPlatformApplicationValidator.PlatformCheckoutCartParam} arg
|
|
432
|
+
* - Arg object
|
|
433
|
+
*
|
|
434
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
435
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
436
|
+
* @returns {Promise<CartPlatformModel.CartCheckoutResult>} - Success response
|
|
437
|
+
* @name platformCheckoutCart
|
|
438
|
+
* @summary: Checkout cart
|
|
439
|
+
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/platformCheckoutCart/).
|
|
440
|
+
*/
|
|
441
|
+
platformCheckoutCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResult>;
|
|
411
442
|
/**
|
|
412
443
|
* @param {CartPlatformApplicationValidator.PlatformCheckoutCartV2Param} arg
|
|
413
444
|
* - Arg object
|
|
414
445
|
*
|
|
415
446
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
416
447
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
417
|
-
* @returns {Promise<CartPlatformModel.
|
|
448
|
+
* @returns {Promise<CartPlatformModel.CartCheckoutDetails>} - Success response
|
|
418
449
|
* @name platformCheckoutCartV2
|
|
419
450
|
* @summary: Checkout cart
|
|
420
451
|
* @description: The checkout cart initiates the order creation process based on the items in the user’s cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/platformCheckoutCartV2/).
|
|
421
452
|
*/
|
|
422
|
-
platformCheckoutCartV2({ body, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
453
|
+
platformCheckoutCartV2({ body, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutDetails>;
|
|
423
454
|
/**
|
|
424
455
|
* @param {CartPlatformApplicationValidator.PlatformUpdateCartParam} arg - Arg object
|
|
425
456
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
426
457
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
427
|
-
* @returns {Promise<CartPlatformModel.
|
|
458
|
+
* @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
|
|
428
459
|
* @name platformUpdateCart
|
|
429
460
|
* @summary: Update cart items
|
|
430
461
|
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/platformUpdateCart/).
|
|
431
462
|
*/
|
|
432
|
-
platformUpdateCart({ body, id, i, orderType, b, buyNow, requestHeaders }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
463
|
+
platformUpdateCart({ body, id, i, orderType, b, buyNow, requestHeaders }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
|
|
433
464
|
/**
|
|
434
465
|
* @param {CartPlatformApplicationValidator.RemoveAddressParam} arg - Arg object
|
|
435
466
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
436
467
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
437
|
-
* @returns {Promise<CartPlatformModel.
|
|
468
|
+
* @returns {Promise<CartPlatformModel.DeleteAddressResult>} - Success response
|
|
438
469
|
* @name removeAddress
|
|
439
470
|
* @summary: Removes an address from a customer's address list
|
|
440
471
|
* @description: Remove an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeAddress/).
|
|
441
472
|
*/
|
|
442
|
-
removeAddress({ id, userId, requestHeaders }?: CartPlatformApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
473
|
+
removeAddress({ id, userId, requestHeaders }?: CartPlatformApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteAddressResult>;
|
|
443
474
|
/**
|
|
444
475
|
* @param {CartPlatformApplicationValidator.RemoveCouponParam} arg - Arg object
|
|
445
476
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
446
477
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
447
|
-
* @returns {Promise<CartPlatformModel.
|
|
478
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
448
479
|
* @name removeCoupon
|
|
449
480
|
* @summary: Remove coupon
|
|
450
481
|
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeCoupon/).
|
|
451
482
|
*/
|
|
452
|
-
removeCoupon({ uid, buyNow, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
483
|
+
removeCoupon({ uid, buyNow, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
453
484
|
/**
|
|
454
485
|
* @param {CartPlatformApplicationValidator.RemovePriceAdjustmentParam} arg
|
|
455
486
|
* - Arg object
|
|
@@ -466,62 +497,62 @@ declare class Cart {
|
|
|
466
497
|
* @param {CartPlatformApplicationValidator.SelectAddressParam} arg - Arg object
|
|
467
498
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
468
499
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
469
|
-
* @returns {Promise<CartPlatformModel.
|
|
500
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
470
501
|
* @name selectAddress
|
|
471
502
|
* @summary: Select customer address for order processing
|
|
472
503
|
* @description: Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/selectAddress/).
|
|
473
504
|
*/
|
|
474
|
-
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
505
|
+
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
475
506
|
/**
|
|
476
507
|
* @param {CartPlatformApplicationValidator.SelectPaymentModeParam} arg - Arg object
|
|
477
508
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
478
509
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
479
|
-
* @returns {Promise<CartPlatformModel.
|
|
510
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
480
511
|
* @name selectPaymentMode
|
|
481
512
|
* @summary: Select payment mode
|
|
482
513
|
* @description: Customers can select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/selectPaymentMode/).
|
|
483
514
|
*/
|
|
484
|
-
selectPaymentMode({ body, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
515
|
+
selectPaymentMode({ body, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
485
516
|
/**
|
|
486
517
|
* @param {CartPlatformApplicationValidator.SelectPaymentModeV2Param} arg - Arg object
|
|
487
518
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
488
519
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
489
|
-
* @returns {Promise<CartPlatformModel.
|
|
520
|
+
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
490
521
|
* @name selectPaymentModeV2
|
|
491
522
|
* @summary: Select payment mode (latest)
|
|
492
523
|
* @description: Selection of payment mode that supports multiple MOP(mode of payment). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/selectPaymentModeV2/).
|
|
493
524
|
*/
|
|
494
|
-
selectPaymentModeV2({ body, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
525
|
+
selectPaymentModeV2({ body, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
495
526
|
/**
|
|
496
527
|
* @param {CartPlatformApplicationValidator.UpdateAddressParam} arg - Arg object
|
|
497
528
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
498
529
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
499
|
-
* @returns {Promise<CartPlatformModel.
|
|
530
|
+
* @returns {Promise<CartPlatformModel.UpdateAddressDetails>} - Success response
|
|
500
531
|
* @name updateAddress
|
|
501
532
|
* @summary: Updates an existing customer address
|
|
502
533
|
* @description: Update the user address - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateAddress/).
|
|
503
534
|
*/
|
|
504
|
-
updateAddress({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
535
|
+
updateAddress({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateAddressDetails>;
|
|
505
536
|
/**
|
|
506
537
|
* @param {CartPlatformApplicationValidator.UpdateCartParam} arg - Arg object
|
|
507
538
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
508
539
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
509
|
-
* @returns {Promise<CartPlatformModel.
|
|
540
|
+
* @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
|
|
510
541
|
* @name updateCart
|
|
511
542
|
* @summary: Update cart items
|
|
512
543
|
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCart/).
|
|
513
544
|
*/
|
|
514
|
-
updateCart({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
545
|
+
updateCart({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
|
|
515
546
|
/**
|
|
516
547
|
* @param {CartPlatformApplicationValidator.UpdateCartMetaParam} arg - Arg object
|
|
517
548
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
518
549
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
519
|
-
* @returns {Promise<CartPlatformModel.
|
|
550
|
+
* @returns {Promise<CartPlatformModel.CartMetaDetails>} - Success response
|
|
520
551
|
* @name updateCartMeta
|
|
521
552
|
* @summary: Update cart metadata
|
|
522
553
|
* @description: Add or modify metadata associated with a cart, which includes customer preferences, delivery instructions, or any special requirements related to the cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartMeta/).
|
|
523
554
|
*/
|
|
524
|
-
updateCartMeta({ body, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
555
|
+
updateCartMeta({ body, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaDetails>;
|
|
525
556
|
/**
|
|
526
557
|
* @param {CartPlatformApplicationValidator.UpdateCartMetaConfigParam} arg
|
|
527
558
|
* - Arg object
|
|
@@ -538,34 +569,34 @@ declare class Cart {
|
|
|
538
569
|
* @param {CartPlatformApplicationValidator.UpdateCartUserParam} arg - Arg object
|
|
539
570
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
540
571
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
541
|
-
* @returns {Promise<CartPlatformModel.
|
|
572
|
+
* @returns {Promise<CartPlatformModel.UserCartMappingResult>} - Success response
|
|
542
573
|
* @name updateCartUser
|
|
543
574
|
* @summary: Update user of a cart
|
|
544
575
|
* @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartUser/).
|
|
545
576
|
*/
|
|
546
|
-
updateCartUser({ body, id, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartUserParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
577
|
+
updateCartUser({ body, id, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartUserParam, { responseHeaders }?: object): Promise<CartPlatformModel.UserCartMappingResult>;
|
|
547
578
|
/**
|
|
548
579
|
* @param {CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam} arg
|
|
549
580
|
* - Arg object
|
|
550
581
|
*
|
|
551
582
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
552
583
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
553
|
-
* @returns {Promise<CartPlatformModel.
|
|
584
|
+
* @returns {Promise<CartPlatformModel.SharedCartResult>} - Success response
|
|
554
585
|
* @name updateCartWithSharedItems
|
|
555
586
|
* @summary: Update shared cart items
|
|
556
587
|
* @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartWithSharedItems/).
|
|
557
588
|
*/
|
|
558
|
-
updateCartWithSharedItems({ token, action, cartId, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
589
|
+
updateCartWithSharedItems({ token, action, cartId, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResult>;
|
|
559
590
|
/**
|
|
560
591
|
* @param {CartPlatformApplicationValidator.UpdateCouponParam} arg - Arg object
|
|
561
592
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
562
593
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
563
|
-
* @returns {Promise<CartPlatformModel.
|
|
594
|
+
* @returns {Promise<CartPlatformModel.CouponCreateResult>} - Success response
|
|
564
595
|
* @name updateCoupon
|
|
565
596
|
* @summary: Update a coupon
|
|
566
597
|
* @description: Update the details of an existing coupon by specifying its unique identifier. This includes modifying coupon attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCoupon/).
|
|
567
598
|
*/
|
|
568
|
-
updateCoupon({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
599
|
+
updateCoupon({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponCreateResult>;
|
|
569
600
|
/**
|
|
570
601
|
* @param {CartPlatformApplicationValidator.UpdateCouponPartiallyParam} arg
|
|
571
602
|
* - Arg object
|
|
@@ -584,22 +615,22 @@ declare class Cart {
|
|
|
584
615
|
*
|
|
585
616
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
586
617
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
587
|
-
* @returns {Promise<CartPlatformModel.
|
|
618
|
+
* @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
|
|
588
619
|
* @name updatePriceAdjustment
|
|
589
620
|
* @summary: Update price adjustments
|
|
590
621
|
* @description: Modify price adjustments for specific items in the cart. By providing the seller ID, sales channel ID, and price adjustment ID, seller can apply discounts or other adjustments to the prices of cart items, facilitating dynamic pricing strategies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updatePriceAdjustment/).
|
|
591
622
|
*/
|
|
592
|
-
updatePriceAdjustment({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
623
|
+
updatePriceAdjustment({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
|
|
593
624
|
/**
|
|
594
625
|
* @param {CartPlatformApplicationValidator.UpdatePromotionParam} arg - Arg object
|
|
595
626
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
596
627
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
597
|
-
* @returns {Promise<CartPlatformModel.
|
|
628
|
+
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
598
629
|
* @name updatePromotion
|
|
599
630
|
* @summary: Update a promotion
|
|
600
631
|
* @description: Update the details of an existing promotion by specifying its unique identifier. This includes modifying promotion attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotion/).
|
|
601
632
|
*/
|
|
602
|
-
updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
633
|
+
updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
|
|
603
634
|
/**
|
|
604
635
|
* @param {CartPlatformApplicationValidator.UpdatePromotionPartiallyParam} arg
|
|
605
636
|
* - Arg object
|
|
@@ -616,13 +647,13 @@ declare class Cart {
|
|
|
616
647
|
* @param {CartPlatformApplicationValidator.UpdateShipmentsParam} arg - Arg object
|
|
617
648
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
618
649
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
619
|
-
* @returns {Promise<CartPlatformModel.
|
|
650
|
+
* @returns {Promise<CartPlatformModel.PlatformCartShipmentsResult>} -
|
|
620
651
|
* Success response
|
|
621
652
|
* @name updateShipments
|
|
622
653
|
* @summary: Update shipments
|
|
623
654
|
* @description: Update the quantity or delivery type of the shipments. Customers can switch the order type from Home Delivery to Pick At Store and vice versa. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateShipments/).
|
|
624
655
|
*/
|
|
625
|
-
updateShipments({ body, i, p, id, addressId, areaCode, orderType, requestHeaders }?: CartPlatformApplicationValidator.UpdateShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
656
|
+
updateShipments({ body, i, p, id, addressId, areaCode, orderType, requestHeaders }?: CartPlatformApplicationValidator.UpdateShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResult>;
|
|
626
657
|
/**
|
|
627
658
|
* @param {CartPlatformApplicationValidator.ValidateCouponForPaymentParam} arg
|
|
628
659
|
* - Arg object
|