@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10
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 +0 -2
- package/sdk/application/ApplicationClient.js +0 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
- package/sdk/application/Cart/CartApplicationClient.js +60 -1262
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
- package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
- package/sdk/application/Common/CommonApplicationClient.js +5 -90
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
- package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
- package/sdk/application/Content/ContentApplicationClient.js +126 -942
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
- package/sdk/application/Lead/LeadApplicationClient.js +32 -201
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
- package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
- package/sdk/application/Order/OrderApplicationClient.js +86 -555
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
- package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
- package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +34 -294
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +47 -1817
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
- package/sdk/application/index.d.ts +0 -19
- package/sdk/application/index.js +0 -35
- 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 +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- 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 +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
- package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- 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 +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- 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 +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
- package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
- package/sdk/platform/Order/OrderPlatformClient.js +275 -528
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
- package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- 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 +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
- package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
- 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 +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +19 -793
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +14 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -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 -4340
- package/sdk/application/Cart/CartApplicationModel.js +0 -2718
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
- package/sdk/application/Cart/CartApplicationValidator.js +0 -546
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
- 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 -2544
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
- 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 -2189
- package/sdk/application/Content/ContentApplicationModel.js +0 -1640
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
- package/sdk/application/Content/ContentApplicationValidator.js +0 -269
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
- 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 -2034
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
- package/sdk/application/Order/OrderApplicationModel.js +0 -1669
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
- package/sdk/application/Order/OrderApplicationValidator.js +0 -210
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
- 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 -1744
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
- 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 -54
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
- 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
|
@@ -2,7 +2,7 @@ export = PaymentPlatformValidator;
|
|
|
2
2
|
/**
|
|
3
3
|
* @typedef ActivateAndDectivatePayoutParam
|
|
4
4
|
* @property {string} uniqueTransferNo - Unique transfer id
|
|
5
|
-
* @property {PaymentPlatformModel.
|
|
5
|
+
* @property {PaymentPlatformModel.UpdatePayoutRequest} body
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* @typedef DeletePayoutParam
|
|
@@ -24,20 +24,20 @@ export = PaymentPlatformValidator;
|
|
|
24
24
|
*/
|
|
25
25
|
/**
|
|
26
26
|
* @typedef SavePayoutParam
|
|
27
|
-
* @property {PaymentPlatformModel.
|
|
27
|
+
* @property {PaymentPlatformModel.PayoutRequest} body
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
30
|
* @typedef SaveSubscriptionSetupIntentParam
|
|
31
|
-
* @property {PaymentPlatformModel.
|
|
31
|
+
* @property {PaymentPlatformModel.SaveSubscriptionSetupIntentRequest} body
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
34
|
* @typedef UpdatePayoutParam
|
|
35
35
|
* @property {string} uniqueTransferNo - Unique transfer id
|
|
36
|
-
* @property {PaymentPlatformModel.
|
|
36
|
+
* @property {PaymentPlatformModel.PayoutRequest} body
|
|
37
37
|
*/
|
|
38
38
|
/**
|
|
39
39
|
* @typedef VerifyIfscCodeParam
|
|
40
|
-
* @property {string}
|
|
40
|
+
* @property {string} ifscCode
|
|
41
41
|
*/
|
|
42
42
|
declare class PaymentPlatformValidator {
|
|
43
43
|
/** @returns {ActivateAndDectivatePayoutParam} */
|
|
@@ -69,7 +69,7 @@ type ActivateAndDectivatePayoutParam = {
|
|
|
69
69
|
* - Unique transfer id
|
|
70
70
|
*/
|
|
71
71
|
uniqueTransferNo: string;
|
|
72
|
-
body: PaymentPlatformModel.
|
|
72
|
+
body: PaymentPlatformModel.UpdatePayoutRequest;
|
|
73
73
|
};
|
|
74
74
|
type DeletePayoutParam = {
|
|
75
75
|
/**
|
|
@@ -94,20 +94,20 @@ type GetSubscriptionPaymentMethodParam = {
|
|
|
94
94
|
uniqueExternalId?: string;
|
|
95
95
|
};
|
|
96
96
|
type SavePayoutParam = {
|
|
97
|
-
body: PaymentPlatformModel.
|
|
97
|
+
body: PaymentPlatformModel.PayoutRequest;
|
|
98
98
|
};
|
|
99
99
|
type SaveSubscriptionSetupIntentParam = {
|
|
100
|
-
body: PaymentPlatformModel.
|
|
100
|
+
body: PaymentPlatformModel.SaveSubscriptionSetupIntentRequest;
|
|
101
101
|
};
|
|
102
102
|
type UpdatePayoutParam = {
|
|
103
103
|
/**
|
|
104
104
|
* - Unique transfer id
|
|
105
105
|
*/
|
|
106
106
|
uniqueTransferNo: string;
|
|
107
|
-
body: PaymentPlatformModel.
|
|
107
|
+
body: PaymentPlatformModel.PayoutRequest;
|
|
108
108
|
};
|
|
109
109
|
type VerifyIfscCodeParam = {
|
|
110
|
-
ifscCode
|
|
110
|
+
ifscCode: string;
|
|
111
111
|
};
|
|
112
112
|
type GetSubscriptionConfigParam = any;
|
|
113
113
|
import PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
@@ -5,7 +5,7 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
5
5
|
/**
|
|
6
6
|
* @typedef ActivateAndDectivatePayoutParam
|
|
7
7
|
* @property {string} uniqueTransferNo - Unique transfer id
|
|
8
|
-
* @property {PaymentPlatformModel.
|
|
8
|
+
* @property {PaymentPlatformModel.UpdatePayoutRequest} body
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -33,23 +33,23 @@ const PaymentPlatformModel = require("./PaymentPlatformModel");
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @typedef SavePayoutParam
|
|
36
|
-
* @property {PaymentPlatformModel.
|
|
36
|
+
* @property {PaymentPlatformModel.PayoutRequest} body
|
|
37
37
|
*/
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* @typedef SaveSubscriptionSetupIntentParam
|
|
41
|
-
* @property {PaymentPlatformModel.
|
|
41
|
+
* @property {PaymentPlatformModel.SaveSubscriptionSetupIntentRequest} body
|
|
42
42
|
*/
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* @typedef UpdatePayoutParam
|
|
46
46
|
* @property {string} uniqueTransferNo - Unique transfer id
|
|
47
|
-
* @property {PaymentPlatformModel.
|
|
47
|
+
* @property {PaymentPlatformModel.PayoutRequest} body
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* @typedef VerifyIfscCodeParam
|
|
52
|
-
* @property {string}
|
|
52
|
+
* @property {string} ifscCode
|
|
53
53
|
*/
|
|
54
54
|
|
|
55
55
|
class PaymentPlatformValidator {
|
|
@@ -57,7 +57,7 @@ class PaymentPlatformValidator {
|
|
|
57
57
|
static activateAndDectivatePayout() {
|
|
58
58
|
return Joi.object({
|
|
59
59
|
uniqueTransferNo: Joi.string().allow("").required(),
|
|
60
|
-
body: PaymentPlatformModel.
|
|
60
|
+
body: PaymentPlatformModel.UpdatePayoutRequest().required(),
|
|
61
61
|
}).required();
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -98,14 +98,14 @@ class PaymentPlatformValidator {
|
|
|
98
98
|
/** @returns {SavePayoutParam} */
|
|
99
99
|
static savePayout() {
|
|
100
100
|
return Joi.object({
|
|
101
|
-
body: PaymentPlatformModel.
|
|
101
|
+
body: PaymentPlatformModel.PayoutRequest().required(),
|
|
102
102
|
}).required();
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/** @returns {SaveSubscriptionSetupIntentParam} */
|
|
106
106
|
static saveSubscriptionSetupIntent() {
|
|
107
107
|
return Joi.object({
|
|
108
|
-
body: PaymentPlatformModel.
|
|
108
|
+
body: PaymentPlatformModel.SaveSubscriptionSetupIntentRequest().required(),
|
|
109
109
|
}).required();
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -113,14 +113,14 @@ class PaymentPlatformValidator {
|
|
|
113
113
|
static updatePayout() {
|
|
114
114
|
return Joi.object({
|
|
115
115
|
uniqueTransferNo: Joi.string().allow("").required(),
|
|
116
|
-
body: PaymentPlatformModel.
|
|
116
|
+
body: PaymentPlatformModel.PayoutRequest().required(),
|
|
117
117
|
}).required();
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/** @returns {VerifyIfscCodeParam} */
|
|
121
121
|
static verifyIfscCode() {
|
|
122
122
|
return Joi.object({
|
|
123
|
-
ifscCode: Joi.string().allow(""),
|
|
123
|
+
ifscCode: Joi.string().allow("").required(),
|
|
124
124
|
}).required();
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -22,6 +22,7 @@ declare class PlatformClient {
|
|
|
22
22
|
content: Content;
|
|
23
23
|
discount: Discount;
|
|
24
24
|
fileStorage: FileStorage;
|
|
25
|
+
finance: Finance;
|
|
25
26
|
lead: Lead;
|
|
26
27
|
serviceability: Serviceability;
|
|
27
28
|
order: Order;
|
|
@@ -64,6 +65,7 @@ import Configuration = require("./Configuration/ConfigurationPlatformClient");
|
|
|
64
65
|
import Content = require("./Content/ContentPlatformClient");
|
|
65
66
|
import Discount = require("./Discount/DiscountPlatformClient");
|
|
66
67
|
import FileStorage = require("./FileStorage/FileStoragePlatformClient");
|
|
68
|
+
import Finance = require("./Finance/FinancePlatformClient");
|
|
67
69
|
import Lead = require("./Lead/LeadPlatformClient");
|
|
68
70
|
import Serviceability = require("./Serviceability/ServiceabilityPlatformClient");
|
|
69
71
|
import Order = require("./Order/OrderPlatformClient");
|
|
@@ -18,6 +18,8 @@ const Discount = require("./Discount/DiscountPlatformClient");
|
|
|
18
18
|
|
|
19
19
|
const FileStorage = require("./FileStorage/FileStoragePlatformClient");
|
|
20
20
|
|
|
21
|
+
const Finance = require("./Finance/FinancePlatformClient");
|
|
22
|
+
|
|
21
23
|
const Lead = require("./Lead/LeadPlatformClient");
|
|
22
24
|
|
|
23
25
|
const Serviceability = require("./Serviceability/ServiceabilityPlatformClient");
|
|
@@ -68,6 +70,8 @@ class PlatformClient {
|
|
|
68
70
|
|
|
69
71
|
this.fileStorage = new FileStorage(config);
|
|
70
72
|
|
|
73
|
+
this.finance = new Finance(config);
|
|
74
|
+
|
|
71
75
|
this.lead = new Lead(config);
|
|
72
76
|
|
|
73
77
|
this.serviceability = new Serviceability(config);
|
|
@@ -83,12 +83,12 @@ declare class Rewards {
|
|
|
83
83
|
* @param {RewardsPlatformApplicationValidator.ShowGiveawaysParam} arg - Arg object
|
|
84
84
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
85
85
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
86
|
-
* @returns {Promise<RewardsPlatformModel.
|
|
86
|
+
* @returns {Promise<RewardsPlatformModel.GiveawayResponse>} - Success response
|
|
87
87
|
* @name showGiveaways
|
|
88
88
|
* @summary: List giveaways
|
|
89
89
|
* @description: Retrieve and display available giveaways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/showGiveaways/).
|
|
90
90
|
*/
|
|
91
|
-
showGiveaways({ pageId, pageSize, requestHeaders }?: RewardsPlatformApplicationValidator.ShowGiveawaysParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.
|
|
91
|
+
showGiveaways({ pageId, pageSize, requestHeaders }?: RewardsPlatformApplicationValidator.ShowGiveawaysParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.GiveawayResponse>;
|
|
92
92
|
/**
|
|
93
93
|
* @param {RewardsPlatformApplicationValidator.ShowOffersParam} arg - Arg object
|
|
94
94
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -574,7 +574,7 @@ class Rewards {
|
|
|
574
574
|
* @param {RewardsPlatformApplicationValidator.ShowGiveawaysParam} arg - Arg object
|
|
575
575
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
576
576
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
577
|
-
* @returns {Promise<RewardsPlatformModel.
|
|
577
|
+
* @returns {Promise<RewardsPlatformModel.GiveawayResponse>} - Success response
|
|
578
578
|
* @name showGiveaways
|
|
579
579
|
* @summary: List giveaways
|
|
580
580
|
* @description: Retrieve and display available giveaways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/showGiveaways/).
|
|
@@ -634,7 +634,7 @@ class Rewards {
|
|
|
634
634
|
|
|
635
635
|
const {
|
|
636
636
|
error: res_error,
|
|
637
|
-
} = RewardsPlatformModel.
|
|
637
|
+
} = RewardsPlatformModel.GiveawayResponse().validate(responseData, {
|
|
638
638
|
abortEarly: false,
|
|
639
639
|
allowUnknown: true,
|
|
640
640
|
});
|
|
@@ -25,7 +25,7 @@ export = RewardsPlatformApplicationValidator;
|
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
27
|
* @typedef SetRewardsConfigurationParam
|
|
28
|
-
* @property {RewardsPlatformModel.
|
|
28
|
+
* @property {RewardsPlatformModel.ConfigurationRequest} body
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
31
|
* @typedef ShowGiveawaysParam
|
|
@@ -114,7 +114,7 @@ type SaveGiveAwayParam = {
|
|
|
114
114
|
body: RewardsPlatformModel.Giveaway;
|
|
115
115
|
};
|
|
116
116
|
type SetRewardsConfigurationParam = {
|
|
117
|
-
body: RewardsPlatformModel.
|
|
117
|
+
body: RewardsPlatformModel.ConfigurationRequest;
|
|
118
118
|
};
|
|
119
119
|
type ShowGiveawaysParam = {
|
|
120
120
|
/**
|
|
@@ -34,7 +34,7 @@ const RewardsPlatformModel = require("./RewardsPlatformModel");
|
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* @typedef SetRewardsConfigurationParam
|
|
37
|
-
* @property {RewardsPlatformModel.
|
|
37
|
+
* @property {RewardsPlatformModel.ConfigurationRequest} body
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -110,7 +110,7 @@ class RewardsPlatformApplicationValidator {
|
|
|
110
110
|
/** @returns {SetRewardsConfigurationParam} */
|
|
111
111
|
static setRewardsConfiguration() {
|
|
112
112
|
return Joi.object({
|
|
113
|
-
body: RewardsPlatformModel.
|
|
113
|
+
body: RewardsPlatformModel.ConfigurationRequest().required(),
|
|
114
114
|
}).required();
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -7,7 +7,7 @@ export = RewardsPlatformModel;
|
|
|
7
7
|
* @property {string} [message]
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
* @typedef
|
|
10
|
+
* @typedef GiveawayResponse
|
|
11
11
|
* @property {Giveaway[]} [items]
|
|
12
12
|
* @property {Page} [page]
|
|
13
13
|
*/
|
|
@@ -158,14 +158,14 @@ export = RewardsPlatformModel;
|
|
|
158
158
|
* @property {boolean} [success]
|
|
159
159
|
*/
|
|
160
160
|
/**
|
|
161
|
-
* @typedef
|
|
161
|
+
* @typedef ConfigurationRequest
|
|
162
162
|
* @property {string[]} [valid_android_packages]
|
|
163
163
|
* @property {string} [terms_conditions_link]
|
|
164
164
|
*/
|
|
165
165
|
declare class RewardsPlatformModel {
|
|
166
166
|
}
|
|
167
167
|
declare namespace RewardsPlatformModel {
|
|
168
|
-
export { E,
|
|
168
|
+
export { E, GiveawayResponse, Giveaway, Schedule, RewardsAudience, Asset, RewardsRule, Page, Offer, ShareMessages, UserRes, Points, RewardUser, Referral, AppUser, HistoryRes, PointsHistory, ConfigurationRes, SetConfigurationRes, ConfigurationRequest };
|
|
169
169
|
}
|
|
170
170
|
/** @returns {E} */
|
|
171
171
|
declare function E(): E;
|
|
@@ -175,9 +175,9 @@ type E = {
|
|
|
175
175
|
info?: string;
|
|
176
176
|
message?: string;
|
|
177
177
|
};
|
|
178
|
-
/** @returns {
|
|
179
|
-
declare function
|
|
180
|
-
type
|
|
178
|
+
/** @returns {GiveawayResponse} */
|
|
179
|
+
declare function GiveawayResponse(): GiveawayResponse;
|
|
180
|
+
type GiveawayResponse = {
|
|
181
181
|
items?: Giveaway[];
|
|
182
182
|
page?: Page;
|
|
183
183
|
};
|
|
@@ -374,9 +374,9 @@ declare function SetConfigurationRes(): SetConfigurationRes;
|
|
|
374
374
|
type SetConfigurationRes = {
|
|
375
375
|
success?: boolean;
|
|
376
376
|
};
|
|
377
|
-
/** @returns {
|
|
378
|
-
declare function
|
|
379
|
-
type
|
|
377
|
+
/** @returns {ConfigurationRequest} */
|
|
378
|
+
declare function ConfigurationRequest(): ConfigurationRequest;
|
|
379
|
+
type ConfigurationRequest = {
|
|
380
380
|
valid_android_packages?: string[];
|
|
381
381
|
terms_conditions_link?: string;
|
|
382
382
|
};
|
|
@@ -9,7 +9,7 @@ const Joi = require("joi");
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @typedef
|
|
12
|
+
* @typedef GiveawayResponse
|
|
13
13
|
* @property {Giveaway[]} [items]
|
|
14
14
|
* @property {Page} [page]
|
|
15
15
|
*/
|
|
@@ -178,7 +178,7 @@ const Joi = require("joi");
|
|
|
178
178
|
*/
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
|
-
* @typedef
|
|
181
|
+
* @typedef ConfigurationRequest
|
|
182
182
|
* @property {string[]} [valid_android_packages]
|
|
183
183
|
* @property {string} [terms_conditions_link]
|
|
184
184
|
*/
|
|
@@ -194,8 +194,8 @@ class RewardsPlatformModel {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
/** @returns {
|
|
198
|
-
static
|
|
197
|
+
/** @returns {GiveawayResponse} */
|
|
198
|
+
static GiveawayResponse() {
|
|
199
199
|
return Joi.object({
|
|
200
200
|
items: Joi.array().items(RewardsPlatformModel.Giveaway()),
|
|
201
201
|
page: RewardsPlatformModel.Page(),
|
|
@@ -276,7 +276,7 @@ class RewardsPlatformModel {
|
|
|
276
276
|
banner_image: RewardsPlatformModel.Asset(),
|
|
277
277
|
created_at: Joi.string().allow(""),
|
|
278
278
|
name: Joi.string().allow(""),
|
|
279
|
-
rule: Joi.
|
|
279
|
+
rule: Joi.any(),
|
|
280
280
|
share: RewardsPlatformModel.ShareMessages(),
|
|
281
281
|
sub_text: Joi.string().allow(""),
|
|
282
282
|
text: Joi.string().allow(""),
|
|
@@ -368,7 +368,7 @@ class RewardsPlatformModel {
|
|
|
368
368
|
claimed: Joi.boolean(),
|
|
369
369
|
created_at: Joi.string().allow(""),
|
|
370
370
|
expires_on: Joi.string().allow(""),
|
|
371
|
-
meta: Joi.
|
|
371
|
+
meta: Joi.any(),
|
|
372
372
|
points: Joi.number(),
|
|
373
373
|
remaining_points: Joi.number(),
|
|
374
374
|
text_1: Joi.string().allow(""),
|
|
@@ -397,8 +397,8 @@ class RewardsPlatformModel {
|
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
/** @returns {
|
|
401
|
-
static
|
|
400
|
+
/** @returns {ConfigurationRequest} */
|
|
401
|
+
static ConfigurationRequest() {
|
|
402
402
|
return Joi.object({
|
|
403
403
|
valid_android_packages: Joi.array().items(Joi.string().allow("")),
|
|
404
404
|
terms_conditions_link: Joi.string().allow(""),
|
|
@@ -9,27 +9,28 @@ declare class Serviceability {
|
|
|
9
9
|
*
|
|
10
10
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
11
11
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
12
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
12
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
|
|
13
13
|
* - Success response
|
|
14
14
|
*
|
|
15
15
|
* @name createCourierPartnerRule
|
|
16
16
|
* @summary: Create rourier rule
|
|
17
17
|
* @description: Creates a rule within the delivery configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createCourierPartnerRule/).
|
|
18
18
|
*/
|
|
19
|
-
createCourierPartnerRule({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateCourierPartnerRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
19
|
+
createCourierPartnerRule({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateCourierPartnerRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>;
|
|
20
20
|
/**
|
|
21
21
|
* @param {ServiceabilityPlatformApplicationValidator.CreateStoreRulesParam} arg
|
|
22
22
|
* - Arg object
|
|
23
23
|
*
|
|
24
24
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
25
25
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
26
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
27
|
-
* Success response
|
|
26
|
+
* @returns {Promise<ServiceabilityPlatformModel.StoreRuleResponseSchema>}
|
|
27
|
+
* - Success response
|
|
28
|
+
*
|
|
28
29
|
* @name createStoreRules
|
|
29
30
|
* @summary: Create store rule
|
|
30
31
|
* @description: Create a rule within the order routing rules - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createStoreRules/).
|
|
31
32
|
*/
|
|
32
|
-
createStoreRules({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateStoreRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
33
|
+
createStoreRules({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.CreateStoreRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.StoreRuleResponseSchema>;
|
|
33
34
|
/**
|
|
34
35
|
* @param {ServiceabilityPlatformApplicationValidator.GetApplicationConfigParam} arg
|
|
35
36
|
* - Arg object
|
|
@@ -62,56 +63,42 @@ declare class Serviceability {
|
|
|
62
63
|
*
|
|
63
64
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
64
65
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
65
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
66
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
|
|
66
67
|
* - Success response
|
|
67
68
|
*
|
|
68
69
|
* @name getApplicationServiceabilitySelfShipment
|
|
69
70
|
* @summary: Get self ship configuration
|
|
70
71
|
* @description: Retrieves the self ship setup for a single application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getApplicationServiceabilitySelfShipment/).
|
|
71
72
|
*/
|
|
72
|
-
getApplicationServiceabilitySelfShipment({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
73
|
+
getApplicationServiceabilitySelfShipment({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>;
|
|
73
74
|
/**
|
|
74
75
|
* @param {ServiceabilityPlatformApplicationValidator.GetCourierPartnerRuleParam} arg
|
|
75
76
|
* - Arg object
|
|
76
77
|
*
|
|
77
78
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
78
79
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
79
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
80
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
|
|
80
81
|
* - Success response
|
|
81
82
|
*
|
|
82
83
|
* @name getCourierPartnerRule
|
|
83
84
|
* @summary: Get courier rule
|
|
84
85
|
* @description: Retrieves a single rule within the delivery configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerRule/).
|
|
85
86
|
*/
|
|
86
|
-
getCourierPartnerRule({ ruleId, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetCourierPartnerRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
87
|
+
getCourierPartnerRule({ ruleId, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetCourierPartnerRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>;
|
|
87
88
|
/**
|
|
88
89
|
* @param {ServiceabilityPlatformApplicationValidator.GetCourierPartnerRulesParam} arg
|
|
89
90
|
* - Arg object
|
|
90
91
|
*
|
|
91
92
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
92
93
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
93
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
94
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResponse>}
|
|
94
95
|
* - Success response
|
|
95
96
|
*
|
|
96
97
|
* @name getCourierPartnerRules
|
|
97
98
|
* @summary: Get courier rules
|
|
98
99
|
* @description: Retrieve a list of rules within the delivery configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerRules/).
|
|
99
100
|
*/
|
|
100
|
-
getCourierPartnerRules({ pageNo, pageSize, status, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetCourierPartnerRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
101
|
-
/**
|
|
102
|
-
* @param {ServiceabilityPlatformApplicationValidator.GetCourierPartnersParam} arg
|
|
103
|
-
* - Arg object
|
|
104
|
-
*
|
|
105
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
106
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
107
|
-
* @returns {Promise<ServiceabilityPlatformModel.ShipmentCourierPartnerResult>}
|
|
108
|
-
* - Success response
|
|
109
|
-
*
|
|
110
|
-
* @name getCourierPartners
|
|
111
|
-
* @summary: Serviceable Courier Partners.
|
|
112
|
-
* @description: Get all the serviceable courier partners of a destination and the shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartners/).
|
|
113
|
-
*/
|
|
114
|
-
getCourierPartners({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetCourierPartnersParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ShipmentCourierPartnerResult>;
|
|
101
|
+
getCourierPartnerRules({ pageNo, pageSize, status, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetCourierPartnerRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResponse>;
|
|
115
102
|
/**
|
|
116
103
|
* @param {ServiceabilityPlatformApplicationValidator.GetStoreRuleParam} arg
|
|
117
104
|
* - Arg object
|
|
@@ -131,13 +118,14 @@ declare class Serviceability {
|
|
|
131
118
|
*
|
|
132
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
133
120
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
134
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
135
|
-
* Success response
|
|
121
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetStoreRulesApiResponse>}
|
|
122
|
+
* - Success response
|
|
123
|
+
*
|
|
136
124
|
* @name getStoreRules
|
|
137
125
|
* @summary: Get store rules
|
|
138
126
|
* @description: Retrieves an existing order routing setup for a single application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getStoreRules/).
|
|
139
127
|
*/
|
|
140
|
-
getStoreRules({ pageNo, pageSize, status, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetStoreRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
128
|
+
getStoreRules({ pageNo, pageSize, status, requestHeaders }?: ServiceabilityPlatformApplicationValidator.GetStoreRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoreRulesApiResponse>;
|
|
141
129
|
/**
|
|
142
130
|
* @param {ServiceabilityPlatformApplicationValidator.InsertApplicationConfigParam} arg
|
|
143
131
|
* - Arg object
|
|
@@ -157,14 +145,14 @@ declare class Serviceability {
|
|
|
157
145
|
*
|
|
158
146
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
159
147
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
160
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
148
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
|
|
161
149
|
* - Success response
|
|
162
150
|
*
|
|
163
151
|
* @name patchApplicationServiceabilitySelfShipment
|
|
164
152
|
* @summary: Update self ship configuration
|
|
165
153
|
* @description: Updates self ship setup for an existing application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/patchApplicationServiceabilitySelfShipment/).
|
|
166
154
|
*/
|
|
167
|
-
patchApplicationServiceabilitySelfShipment({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.PatchApplicationServiceabilitySelfShipmentParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
155
|
+
patchApplicationServiceabilitySelfShipment({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.PatchApplicationServiceabilitySelfShipmentParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>;
|
|
168
156
|
/**
|
|
169
157
|
* @param {ServiceabilityPlatformApplicationValidator.UpdateApplicationConfigurationParam} arg
|
|
170
158
|
* - Arg object
|
|
@@ -184,94 +172,96 @@ declare class Serviceability {
|
|
|
184
172
|
*
|
|
185
173
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
186
174
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
187
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
175
|
+
* @returns {Promise<ServiceabilityPlatformModel.RulePriorityResponse>} -
|
|
188
176
|
* Success response
|
|
189
177
|
* @name updateCourierPartnerRulePriority
|
|
190
178
|
* @summary: Update courier partner rule priority
|
|
191
179
|
* @description: Updates a courier partner rule priority for a single application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCourierPartnerRulePriority/).
|
|
192
180
|
*/
|
|
193
|
-
updateCourierPartnerRulePriority({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateCourierPartnerRulePriorityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
181
|
+
updateCourierPartnerRulePriority({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateCourierPartnerRulePriorityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.RulePriorityResponse>;
|
|
194
182
|
/**
|
|
195
183
|
* @param {ServiceabilityPlatformApplicationValidator.UpdateCourierRuleParam} arg
|
|
196
184
|
* - Arg object
|
|
197
185
|
*
|
|
198
186
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
199
187
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
200
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
188
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
|
|
201
189
|
* - Success response
|
|
202
190
|
*
|
|
203
191
|
* @name updateCourierRule
|
|
204
192
|
* @summary: Update courier rule
|
|
205
193
|
* @description: Updates an existing rule within the delivery configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCourierRule/).
|
|
206
194
|
*/
|
|
207
|
-
updateCourierRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateCourierRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
195
|
+
updateCourierRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateCourierRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>;
|
|
208
196
|
/**
|
|
209
197
|
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeAuditHistoryParam} arg
|
|
210
198
|
* - Arg object
|
|
211
199
|
*
|
|
212
200
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
213
201
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
214
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
202
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>}
|
|
215
203
|
* - Success response
|
|
216
204
|
*
|
|
217
205
|
* @name updatePincodeAuditHistory
|
|
218
206
|
* @summary: Get audit trail
|
|
219
207
|
* @description: Retrieves the history of changes made to cash on delivery settings for pincodes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeAuditHistory/).
|
|
220
208
|
*/
|
|
221
|
-
updatePincodeAuditHistory({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeAuditHistoryParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
209
|
+
updatePincodeAuditHistory({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeAuditHistoryParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>;
|
|
222
210
|
/**
|
|
223
211
|
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeBulkViewParam} arg
|
|
224
212
|
* - Arg object
|
|
225
213
|
*
|
|
226
214
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
227
215
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
228
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
229
|
-
* Success response
|
|
216
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>}
|
|
217
|
+
* - Success response
|
|
218
|
+
*
|
|
230
219
|
* @name updatePincodeBulkView
|
|
231
220
|
* @summary: Bulk update pincode COD support
|
|
232
221
|
* @description: Updates the cash on delivery settings for multiple specified pin codes simultaneously. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeBulkView/).
|
|
233
222
|
*/
|
|
234
|
-
updatePincodeBulkView({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeBulkViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
223
|
+
updatePincodeBulkView({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeBulkViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>;
|
|
235
224
|
/**
|
|
236
225
|
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeCoDListingParam} arg
|
|
237
226
|
* - Arg object
|
|
238
227
|
*
|
|
239
228
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
240
229
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
241
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
230
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>}
|
|
242
231
|
* - Success response
|
|
243
232
|
*
|
|
244
233
|
* @name updatePincodeCoDListing
|
|
245
234
|
* @summary: Get COD enabled pincodes
|
|
246
235
|
* @description: Retrieves a list of pincodes along with the count based on whether cash on delivery settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeCoDListing/).
|
|
247
236
|
*/
|
|
248
|
-
updatePincodeCoDListing({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeCoDListingParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
237
|
+
updatePincodeCoDListing({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeCoDListingParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>;
|
|
249
238
|
/**
|
|
250
239
|
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeMopViewParam} arg
|
|
251
240
|
* - Arg object
|
|
252
241
|
*
|
|
253
242
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
254
243
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
255
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
244
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeMOPresponse>} -
|
|
245
|
+
* Success response
|
|
256
246
|
* @name updatePincodeMopView
|
|
257
247
|
* @summary: Update pincode COD support
|
|
258
248
|
* @description: Modify and update views related to pincode MOP (Mode of Payment). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeMopView/).
|
|
259
249
|
*/
|
|
260
|
-
updatePincodeMopView({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeMopViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
250
|
+
updatePincodeMopView({ body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeMopViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PincodeMOPresponse>;
|
|
261
251
|
/**
|
|
262
252
|
* @param {ServiceabilityPlatformApplicationValidator.UpdateStoreRulesParam} arg
|
|
263
253
|
* - Arg object
|
|
264
254
|
*
|
|
265
255
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
266
256
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
267
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
257
|
+
* @returns {Promise<ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema>}
|
|
268
258
|
* - Success response
|
|
269
259
|
*
|
|
270
260
|
* @name updateStoreRules
|
|
271
261
|
* @summary: Update store rule
|
|
272
262
|
* @description: Updates an existing rule within the order routing rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateStoreRules/).
|
|
273
263
|
*/
|
|
274
|
-
updateStoreRules({ ruleUid, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateStoreRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
264
|
+
updateStoreRules({ ruleUid, body, requestHeaders }?: ServiceabilityPlatformApplicationValidator.UpdateStoreRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema>;
|
|
275
265
|
/**
|
|
276
266
|
* @param {ServiceabilityPlatformApplicationValidator.UpdateStoreRulesConfigParam} arg
|
|
277
267
|
* - Arg object
|