@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
|
@@ -3,7 +3,7 @@ export = CatalogPlatformValidator;
|
|
|
3
3
|
* @typedef AddInventoryParam
|
|
4
4
|
* @property {number} itemId - Item code of the product of which size is to be get.
|
|
5
5
|
* @property {string} size - Size in which inventory is to be added.
|
|
6
|
-
* @property {CatalogPlatformModel.
|
|
6
|
+
* @property {CatalogPlatformModel.InventoryRequest} body
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* @typedef AllSizesParam
|
|
@@ -16,7 +16,7 @@ export = CatalogPlatformValidator;
|
|
|
16
16
|
/**
|
|
17
17
|
* @typedef CreateBulkInventoryParam
|
|
18
18
|
* @property {string} batchId - Batch Id of the bulk create job.
|
|
19
|
-
* @property {CatalogPlatformModel.
|
|
19
|
+
* @property {CatalogPlatformModel.InventoryBulkRequest} body
|
|
20
20
|
*/
|
|
21
21
|
/**
|
|
22
22
|
* @typedef CreateBulkInventoryJobParam
|
|
@@ -28,17 +28,17 @@ export = CatalogPlatformValidator;
|
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
30
|
* @typedef CreateInventoryExportParam
|
|
31
|
-
* @property {CatalogPlatformModel.
|
|
31
|
+
* @property {CatalogPlatformModel.InventoryCreateRequest} body
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
34
|
* @typedef CreateInventoryExportJobParam
|
|
35
|
-
* @property {CatalogPlatformModel.
|
|
35
|
+
* @property {CatalogPlatformModel.InventoryExportRequest} body
|
|
36
36
|
*/
|
|
37
37
|
/**
|
|
38
38
|
* @typedef CreateMarketplaceOptinParam
|
|
39
39
|
* @property {string} marketplaceSlug - The marketplace for which the detail
|
|
40
40
|
* needs to be retrieved.
|
|
41
|
-
* @property {CatalogPlatformModel.
|
|
41
|
+
* @property {CatalogPlatformModel.OptInPostRequest} body
|
|
42
42
|
*/
|
|
43
43
|
/**
|
|
44
44
|
* @typedef CreateProductParam
|
|
@@ -50,7 +50,7 @@ export = CatalogPlatformValidator;
|
|
|
50
50
|
*/
|
|
51
51
|
/**
|
|
52
52
|
* @typedef CreateProductBundleParam
|
|
53
|
-
* @property {CatalogPlatformModel.
|
|
53
|
+
* @property {CatalogPlatformModel.ProductBundleRequest} body
|
|
54
54
|
*/
|
|
55
55
|
/**
|
|
56
56
|
* @typedef CreateProductExportJobParam
|
|
@@ -59,7 +59,7 @@ export = CatalogPlatformValidator;
|
|
|
59
59
|
/**
|
|
60
60
|
* @typedef CreateProductsInBulkParam
|
|
61
61
|
* @property {string} batchId - Batch Id in which assets to be uploaded.
|
|
62
|
-
* @property {CatalogPlatformModel.
|
|
62
|
+
* @property {CatalogPlatformModel.BulkProductRequest} body
|
|
63
63
|
*/
|
|
64
64
|
/**
|
|
65
65
|
* @typedef CreateSizeGuideParam
|
|
@@ -413,13 +413,13 @@ export = CatalogPlatformValidator;
|
|
|
413
413
|
/**
|
|
414
414
|
* @typedef UpdateMarketplaceOptinParam
|
|
415
415
|
* @property {string} marketplaceSlug - Slug of the marketplace .
|
|
416
|
-
* @property {CatalogPlatformModel.
|
|
416
|
+
* @property {CatalogPlatformModel.UpdateMarketplaceOptinRequest} body
|
|
417
417
|
*/
|
|
418
418
|
/**
|
|
419
419
|
* @typedef UpdateProductBundleParam
|
|
420
420
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
421
421
|
* detail. Pass the `id` of the keywords which you want to delete.
|
|
422
|
-
* @property {CatalogPlatformModel.
|
|
422
|
+
* @property {CatalogPlatformModel.ProductBundleUpdateRequest} body
|
|
423
423
|
*/
|
|
424
424
|
/**
|
|
425
425
|
* @typedef UpdateRealtimeInventoryParam
|
|
@@ -617,7 +617,7 @@ type AddInventoryParam = {
|
|
|
617
617
|
* - Size in which inventory is to be added.
|
|
618
618
|
*/
|
|
619
619
|
size: string;
|
|
620
|
-
body: CatalogPlatformModel.
|
|
620
|
+
body: CatalogPlatformModel.InventoryRequest;
|
|
621
621
|
};
|
|
622
622
|
type AllSizesParam = {
|
|
623
623
|
/**
|
|
@@ -633,7 +633,7 @@ type CreateBulkInventoryParam = {
|
|
|
633
633
|
* - Batch Id of the bulk create job.
|
|
634
634
|
*/
|
|
635
635
|
batchId: string;
|
|
636
|
-
body: CatalogPlatformModel.
|
|
636
|
+
body: CatalogPlatformModel.InventoryBulkRequest;
|
|
637
637
|
};
|
|
638
638
|
type CreateBulkInventoryJobParam = {
|
|
639
639
|
body: CatalogPlatformModel.BulkJob;
|
|
@@ -642,10 +642,10 @@ type CreateBulkProductUploadJobParam = {
|
|
|
642
642
|
body: CatalogPlatformModel.BulkJob;
|
|
643
643
|
};
|
|
644
644
|
type CreateInventoryExportParam = {
|
|
645
|
-
body: CatalogPlatformModel.
|
|
645
|
+
body: CatalogPlatformModel.InventoryCreateRequest;
|
|
646
646
|
};
|
|
647
647
|
type CreateInventoryExportJobParam = {
|
|
648
|
-
body: CatalogPlatformModel.
|
|
648
|
+
body: CatalogPlatformModel.InventoryExportRequest;
|
|
649
649
|
};
|
|
650
650
|
type CreateMarketplaceOptinParam = {
|
|
651
651
|
/**
|
|
@@ -653,7 +653,7 @@ type CreateMarketplaceOptinParam = {
|
|
|
653
653
|
* needs to be retrieved.
|
|
654
654
|
*/
|
|
655
655
|
marketplaceSlug: string;
|
|
656
|
-
body: CatalogPlatformModel.
|
|
656
|
+
body: CatalogPlatformModel.OptInPostRequest;
|
|
657
657
|
};
|
|
658
658
|
type CreateProductParam = {
|
|
659
659
|
body: CatalogPlatformModel.ProductCreateUpdateSchemaV2;
|
|
@@ -662,7 +662,7 @@ type CreateProductAssetsInBulkParam = {
|
|
|
662
662
|
body: CatalogPlatformModel.ProductBulkAssets;
|
|
663
663
|
};
|
|
664
664
|
type CreateProductBundleParam = {
|
|
665
|
-
body: CatalogPlatformModel.
|
|
665
|
+
body: CatalogPlatformModel.ProductBundleRequest;
|
|
666
666
|
};
|
|
667
667
|
type CreateProductExportJobParam = {
|
|
668
668
|
body: CatalogPlatformModel.ProductTemplateDownloadsExport;
|
|
@@ -672,7 +672,7 @@ type CreateProductsInBulkParam = {
|
|
|
672
672
|
* - Batch Id in which assets to be uploaded.
|
|
673
673
|
*/
|
|
674
674
|
batchId: string;
|
|
675
|
-
body: CatalogPlatformModel.
|
|
675
|
+
body: CatalogPlatformModel.BulkProductRequest;
|
|
676
676
|
};
|
|
677
677
|
type CreateSizeGuideParam = {
|
|
678
678
|
body: CatalogPlatformModel.ValidateSizeGuide;
|
|
@@ -1392,7 +1392,7 @@ type UpdateMarketplaceOptinParam = {
|
|
|
1392
1392
|
* - Slug of the marketplace .
|
|
1393
1393
|
*/
|
|
1394
1394
|
marketplaceSlug: string;
|
|
1395
|
-
body: CatalogPlatformModel.
|
|
1395
|
+
body: CatalogPlatformModel.UpdateMarketplaceOptinRequest;
|
|
1396
1396
|
};
|
|
1397
1397
|
type UpdateProductBundleParam = {
|
|
1398
1398
|
/**
|
|
@@ -1400,7 +1400,7 @@ type UpdateProductBundleParam = {
|
|
|
1400
1400
|
* detail. Pass the `id` of the keywords which you want to delete.
|
|
1401
1401
|
*/
|
|
1402
1402
|
id: string;
|
|
1403
|
-
body: CatalogPlatformModel.
|
|
1403
|
+
body: CatalogPlatformModel.ProductBundleUpdateRequest;
|
|
1404
1404
|
};
|
|
1405
1405
|
type UpdateRealtimeInventoryParam = {
|
|
1406
1406
|
/**
|
|
@@ -6,7 +6,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
6
6
|
* @typedef AddInventoryParam
|
|
7
7
|
* @property {number} itemId - Item code of the product of which size is to be get.
|
|
8
8
|
* @property {string} size - Size in which inventory is to be added.
|
|
9
|
-
* @property {CatalogPlatformModel.
|
|
9
|
+
* @property {CatalogPlatformModel.InventoryRequest} body
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -22,7 +22,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
22
22
|
/**
|
|
23
23
|
* @typedef CreateBulkInventoryParam
|
|
24
24
|
* @property {string} batchId - Batch Id of the bulk create job.
|
|
25
|
-
* @property {CatalogPlatformModel.
|
|
25
|
+
* @property {CatalogPlatformModel.InventoryBulkRequest} body
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -37,19 +37,19 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* @typedef CreateInventoryExportParam
|
|
40
|
-
* @property {CatalogPlatformModel.
|
|
40
|
+
* @property {CatalogPlatformModel.InventoryCreateRequest} body
|
|
41
41
|
*/
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* @typedef CreateInventoryExportJobParam
|
|
45
|
-
* @property {CatalogPlatformModel.
|
|
45
|
+
* @property {CatalogPlatformModel.InventoryExportRequest} body
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* @typedef CreateMarketplaceOptinParam
|
|
50
50
|
* @property {string} marketplaceSlug - The marketplace for which the detail
|
|
51
51
|
* needs to be retrieved.
|
|
52
|
-
* @property {CatalogPlatformModel.
|
|
52
|
+
* @property {CatalogPlatformModel.OptInPostRequest} body
|
|
53
53
|
*/
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -64,7 +64,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* @typedef CreateProductBundleParam
|
|
67
|
-
* @property {CatalogPlatformModel.
|
|
67
|
+
* @property {CatalogPlatformModel.ProductBundleRequest} body
|
|
68
68
|
*/
|
|
69
69
|
|
|
70
70
|
/**
|
|
@@ -75,7 +75,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
75
75
|
/**
|
|
76
76
|
* @typedef CreateProductsInBulkParam
|
|
77
77
|
* @property {string} batchId - Batch Id in which assets to be uploaded.
|
|
78
|
-
* @property {CatalogPlatformModel.
|
|
78
|
+
* @property {CatalogPlatformModel.BulkProductRequest} body
|
|
79
79
|
*/
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -483,14 +483,14 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
483
483
|
/**
|
|
484
484
|
* @typedef UpdateMarketplaceOptinParam
|
|
485
485
|
* @property {string} marketplaceSlug - Slug of the marketplace .
|
|
486
|
-
* @property {CatalogPlatformModel.
|
|
486
|
+
* @property {CatalogPlatformModel.UpdateMarketplaceOptinRequest} body
|
|
487
487
|
*/
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
490
|
* @typedef UpdateProductBundleParam
|
|
491
491
|
* @property {string} id - A `id` is a unique identifier for a particular
|
|
492
492
|
* detail. Pass the `id` of the keywords which you want to delete.
|
|
493
|
-
* @property {CatalogPlatformModel.
|
|
493
|
+
* @property {CatalogPlatformModel.ProductBundleUpdateRequest} body
|
|
494
494
|
*/
|
|
495
495
|
|
|
496
496
|
/**
|
|
@@ -538,7 +538,7 @@ class CatalogPlatformValidator {
|
|
|
538
538
|
return Joi.object({
|
|
539
539
|
itemId: Joi.number().required(),
|
|
540
540
|
size: Joi.string().allow("").required(),
|
|
541
|
-
body: CatalogPlatformModel.
|
|
541
|
+
body: CatalogPlatformModel.InventoryRequest().required(),
|
|
542
542
|
}).required();
|
|
543
543
|
}
|
|
544
544
|
|
|
@@ -560,7 +560,7 @@ class CatalogPlatformValidator {
|
|
|
560
560
|
static createBulkInventory() {
|
|
561
561
|
return Joi.object({
|
|
562
562
|
batchId: Joi.string().allow("").required(),
|
|
563
|
-
body: CatalogPlatformModel.
|
|
563
|
+
body: CatalogPlatformModel.InventoryBulkRequest().required(),
|
|
564
564
|
}).required();
|
|
565
565
|
}
|
|
566
566
|
|
|
@@ -581,14 +581,14 @@ class CatalogPlatformValidator {
|
|
|
581
581
|
/** @returns {CreateInventoryExportParam} */
|
|
582
582
|
static createInventoryExport() {
|
|
583
583
|
return Joi.object({
|
|
584
|
-
body: CatalogPlatformModel.
|
|
584
|
+
body: CatalogPlatformModel.InventoryCreateRequest().required(),
|
|
585
585
|
}).required();
|
|
586
586
|
}
|
|
587
587
|
|
|
588
588
|
/** @returns {CreateInventoryExportJobParam} */
|
|
589
589
|
static createInventoryExportJob() {
|
|
590
590
|
return Joi.object({
|
|
591
|
-
body: CatalogPlatformModel.
|
|
591
|
+
body: CatalogPlatformModel.InventoryExportRequest().required(),
|
|
592
592
|
}).required();
|
|
593
593
|
}
|
|
594
594
|
|
|
@@ -596,7 +596,7 @@ class CatalogPlatformValidator {
|
|
|
596
596
|
static createMarketplaceOptin() {
|
|
597
597
|
return Joi.object({
|
|
598
598
|
marketplaceSlug: Joi.string().allow("").required(),
|
|
599
|
-
body: CatalogPlatformModel.
|
|
599
|
+
body: CatalogPlatformModel.OptInPostRequest().required(),
|
|
600
600
|
}).required();
|
|
601
601
|
}
|
|
602
602
|
|
|
@@ -617,7 +617,7 @@ class CatalogPlatformValidator {
|
|
|
617
617
|
/** @returns {CreateProductBundleParam} */
|
|
618
618
|
static createProductBundle() {
|
|
619
619
|
return Joi.object({
|
|
620
|
-
body: CatalogPlatformModel.
|
|
620
|
+
body: CatalogPlatformModel.ProductBundleRequest().required(),
|
|
621
621
|
}).required();
|
|
622
622
|
}
|
|
623
623
|
|
|
@@ -632,7 +632,7 @@ class CatalogPlatformValidator {
|
|
|
632
632
|
static createProductsInBulk() {
|
|
633
633
|
return Joi.object({
|
|
634
634
|
batchId: Joi.string().allow("").required(),
|
|
635
|
-
body: CatalogPlatformModel.
|
|
635
|
+
body: CatalogPlatformModel.BulkProductRequest().required(),
|
|
636
636
|
}).required();
|
|
637
637
|
}
|
|
638
638
|
|
|
@@ -1094,7 +1094,7 @@ class CatalogPlatformValidator {
|
|
|
1094
1094
|
static updateMarketplaceOptin() {
|
|
1095
1095
|
return Joi.object({
|
|
1096
1096
|
marketplaceSlug: Joi.string().allow("").required(),
|
|
1097
|
-
body: CatalogPlatformModel.
|
|
1097
|
+
body: CatalogPlatformModel.UpdateMarketplaceOptinRequest().required(),
|
|
1098
1098
|
}).required();
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
@@ -1102,7 +1102,7 @@ class CatalogPlatformValidator {
|
|
|
1102
1102
|
static updateProductBundle() {
|
|
1103
1103
|
return Joi.object({
|
|
1104
1104
|
id: Joi.string().allow("").required(),
|
|
1105
|
-
body: CatalogPlatformModel.
|
|
1105
|
+
body: CatalogPlatformModel.ProductBundleUpdateRequest().required(),
|
|
1106
1106
|
}).required();
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
@@ -16,13 +16,12 @@ declare class Common {
|
|
|
16
16
|
* @param {CommonPlatformValidator.SearchApplicationParam} arg - Arg object
|
|
17
17
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
18
18
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
19
|
-
* @returns {Promise<CommonPlatformModel.
|
|
20
|
-
* Success response
|
|
19
|
+
* @returns {Promise<CommonPlatformModel.ApplicationResponse>} - Success response
|
|
21
20
|
* @name searchApplication
|
|
22
21
|
* @summary: List sales channel categories
|
|
23
22
|
* @description: This API retrieves details for a specific sales channel based on the provided search criteria. The search can be performed using the name of the sales channel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/common/searchApplication/).
|
|
24
23
|
*/
|
|
25
|
-
searchApplication({ authorization, query, requestHeaders }?: CommonPlatformValidator.SearchApplicationParam, { responseHeaders }?: object): Promise<CommonPlatformModel.
|
|
24
|
+
searchApplication({ authorization, query, requestHeaders }?: CommonPlatformValidator.SearchApplicationParam, { responseHeaders }?: object): Promise<CommonPlatformModel.ApplicationResponse>;
|
|
26
25
|
}
|
|
27
26
|
import CommonPlatformValidator = require("./CommonPlatformValidator");
|
|
28
27
|
import CommonPlatformModel = require("./CommonPlatformModel");
|
|
@@ -93,8 +93,7 @@ class Common {
|
|
|
93
93
|
* @param {CommonPlatformValidator.SearchApplicationParam} arg - Arg object
|
|
94
94
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
95
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<CommonPlatformModel.
|
|
97
|
-
* Success response
|
|
96
|
+
* @returns {Promise<CommonPlatformModel.ApplicationResponse>} - Success response
|
|
98
97
|
* @name searchApplication
|
|
99
98
|
* @summary: List sales channel categories
|
|
100
99
|
* @description: This API retrieves details for a specific sales channel based on the provided search criteria. The search can be performed using the name of the sales channel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/common/searchApplication/).
|
|
@@ -148,7 +147,7 @@ class Common {
|
|
|
148
147
|
|
|
149
148
|
const {
|
|
150
149
|
error: res_error,
|
|
151
|
-
} = CommonPlatformModel.
|
|
150
|
+
} = CommonPlatformModel.ApplicationResponse().validate(responseData, {
|
|
152
151
|
abortEarly: false,
|
|
153
152
|
allowUnknown: true,
|
|
154
153
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export = CommonPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef ApplicationResponse
|
|
4
4
|
* @property {Application} [application]
|
|
5
5
|
* @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
|
|
6
6
|
* of the current sales channel supported currency
|
|
@@ -104,7 +104,7 @@ export = CommonPlatformModel;
|
|
|
104
104
|
* @property {string} [message] - Response message for not found
|
|
105
105
|
*/
|
|
106
106
|
/**
|
|
107
|
-
* @typedef
|
|
107
|
+
* @typedef BadRequest
|
|
108
108
|
* @property {string} [message] - Failure message (in a string format)
|
|
109
109
|
*/
|
|
110
110
|
/**
|
|
@@ -145,11 +145,11 @@ export = CommonPlatformModel;
|
|
|
145
145
|
declare class CommonPlatformModel {
|
|
146
146
|
}
|
|
147
147
|
declare namespace CommonPlatformModel {
|
|
148
|
-
export {
|
|
148
|
+
export { ApplicationResponse, Domain, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, NotFound, BadRequest, LocationDefaultLanguage, LocationDefaultCurrency, LocationCountry, Locations };
|
|
149
149
|
}
|
|
150
|
-
/** @returns {
|
|
151
|
-
declare function
|
|
152
|
-
type
|
|
150
|
+
/** @returns {ApplicationResponse} */
|
|
151
|
+
declare function ApplicationResponse(): ApplicationResponse;
|
|
152
|
+
type ApplicationResponse = {
|
|
153
153
|
application?: Application;
|
|
154
154
|
/**
|
|
155
155
|
* - The unique identifier (24-digit Mongo Object ID)
|
|
@@ -372,9 +372,9 @@ type NotFound = {
|
|
|
372
372
|
*/
|
|
373
373
|
message?: string;
|
|
374
374
|
};
|
|
375
|
-
/** @returns {
|
|
376
|
-
declare function
|
|
377
|
-
type
|
|
375
|
+
/** @returns {BadRequest} */
|
|
376
|
+
declare function BadRequest(): BadRequest;
|
|
377
|
+
type BadRequest = {
|
|
378
378
|
/**
|
|
379
379
|
* - Failure message (in a string format)
|
|
380
380
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @typedef
|
|
4
|
+
* @typedef ApplicationResponse
|
|
5
5
|
* @property {Application} [application]
|
|
6
6
|
* @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
|
|
7
7
|
* of the current sales channel supported currency
|
|
@@ -115,7 +115,7 @@ const Joi = require("joi");
|
|
|
115
115
|
*/
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* @typedef
|
|
118
|
+
* @typedef BadRequest
|
|
119
119
|
* @property {string} [message] - Failure message (in a string format)
|
|
120
120
|
*/
|
|
121
121
|
|
|
@@ -159,8 +159,8 @@ const Joi = require("joi");
|
|
|
159
159
|
*/
|
|
160
160
|
|
|
161
161
|
class CommonPlatformModel {
|
|
162
|
-
/** @returns {
|
|
163
|
-
static
|
|
162
|
+
/** @returns {ApplicationResponse} */
|
|
163
|
+
static ApplicationResponse() {
|
|
164
164
|
return Joi.object({
|
|
165
165
|
application: CommonPlatformModel.Application(),
|
|
166
166
|
_id: Joi.string().allow(""),
|
|
@@ -272,8 +272,8 @@ class CommonPlatformModel {
|
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
/** @returns {
|
|
276
|
-
static
|
|
275
|
+
/** @returns {BadRequest} */
|
|
276
|
+
static BadRequest() {
|
|
277
277
|
return Joi.object({
|
|
278
278
|
message: Joi.string().allow(""),
|
|
279
279
|
});
|
|
@@ -93,14 +93,14 @@ declare class Communication {
|
|
|
93
93
|
*
|
|
94
94
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
95
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
96
|
+
* @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
|
|
97
97
|
* - Success response
|
|
98
98
|
*
|
|
99
99
|
* @name createEventSubscriptions
|
|
100
100
|
* @summary: Create an event subscription
|
|
101
101
|
* @description: Creates a new event subscription. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/createEventSubscriptions/).
|
|
102
102
|
*/
|
|
103
|
-
createEventSubscriptions({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
103
|
+
createEventSubscriptions({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>;
|
|
104
104
|
/**
|
|
105
105
|
* @param {CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam} arg
|
|
106
106
|
* - Arg object
|
|
@@ -108,7 +108,7 @@ declare class Communication {
|
|
|
108
108
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
109
109
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
110
110
|
* @returns {Promise<
|
|
111
|
-
* CommunicationPlatformModel.
|
|
111
|
+
* CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse[]
|
|
112
112
|
* >}
|
|
113
113
|
* - Success response
|
|
114
114
|
*
|
|
@@ -116,7 +116,7 @@ declare class Communication {
|
|
|
116
116
|
* @summary: Create event subscriptions in bulk
|
|
117
117
|
* @description: Creates a new event subscription in bulk. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/createEventSubscriptionsByBulk/).
|
|
118
118
|
*/
|
|
119
|
-
createEventSubscriptionsByBulk({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
119
|
+
createEventSubscriptionsByBulk({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse[]>;
|
|
120
120
|
/**
|
|
121
121
|
* @param {CommunicationPlatformApplicationValidator.CreateJobsParam} arg - Arg object
|
|
122
122
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -229,14 +229,14 @@ declare class Communication {
|
|
|
229
229
|
*
|
|
230
230
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
231
231
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
232
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
232
|
+
* @returns {Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>}
|
|
233
233
|
* - Success response
|
|
234
234
|
*
|
|
235
235
|
* @name editEventSubscriptions
|
|
236
236
|
* @summary: Update an event subscriptions
|
|
237
237
|
* @description: Modifys the configuration and settings of a specific event subscription. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/editEventSubscriptions/).
|
|
238
238
|
*/
|
|
239
|
-
editEventSubscriptions({ id, body, requestHeaders }?: CommunicationPlatformApplicationValidator.EditEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
239
|
+
editEventSubscriptions({ id, body, requestHeaders }?: CommunicationPlatformApplicationValidator.EditEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscriptionsBulkUpdateResponse>;
|
|
240
240
|
/**
|
|
241
241
|
* @param {CommunicationPlatformApplicationValidator.GetAppProvidersParam} arg
|
|
242
242
|
* - Arg object
|
|
@@ -463,14 +463,14 @@ declare class Communication {
|
|
|
463
463
|
*
|
|
464
464
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
465
465
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
466
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
466
|
+
* @returns {Promise<CommunicationPlatformModel.GlobalVariablesGetResponse>}
|
|
467
467
|
* - Success response
|
|
468
468
|
*
|
|
469
469
|
* @name getGlobalVariables
|
|
470
470
|
* @summary: Get all global variables
|
|
471
471
|
* @description: Retrieves a list of communication global variables. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/getGlobalVariables/).
|
|
472
472
|
*/
|
|
473
|
-
getGlobalVariables({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
473
|
+
getGlobalVariables({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CommunicationPlatformModel.GlobalVariablesGetResponse>;
|
|
474
474
|
/**
|
|
475
475
|
* @param {CommunicationPlatformApplicationValidator.GetJobLogsParam} arg - Arg object
|
|
476
476
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -655,38 +655,38 @@ declare class Communication {
|
|
|
655
655
|
*
|
|
656
656
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
657
657
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
658
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
658
|
+
* @returns {Promise<CommunicationPlatformModel.GlobalVariablesPostResponse>}
|
|
659
659
|
* - Success response
|
|
660
660
|
*
|
|
661
661
|
* @name postGlobalVariables
|
|
662
662
|
* @summary: Create global variables
|
|
663
663
|
* @description: Updates and creates communication global variables. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/postGlobalVariables/).
|
|
664
664
|
*/
|
|
665
|
-
postGlobalVariables({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.PostGlobalVariablesParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
665
|
+
postGlobalVariables({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.PostGlobalVariablesParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.GlobalVariablesPostResponse>;
|
|
666
666
|
/**
|
|
667
667
|
* @param {CommunicationPlatformApplicationValidator.SendCommunicationAsynchronouslyParam} arg
|
|
668
668
|
* - Arg object
|
|
669
669
|
*
|
|
670
670
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
671
671
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
672
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
672
|
+
* @returns {Promise<CommunicationPlatformModel.EngineResponse>} - Success response
|
|
673
673
|
* @name sendCommunicationAsynchronously
|
|
674
674
|
* @summary: Send communication asynchronously
|
|
675
675
|
* @description: Sends communications to sellers with deffered delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/sendCommunicationAsynchronously/).
|
|
676
676
|
*/
|
|
677
|
-
sendCommunicationAsynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationAsynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
677
|
+
sendCommunicationAsynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationAsynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EngineResponse>;
|
|
678
678
|
/**
|
|
679
679
|
* @param {CommunicationPlatformApplicationValidator.SendCommunicationSynchronouslyParam} arg
|
|
680
680
|
* - Arg object
|
|
681
681
|
*
|
|
682
682
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
683
683
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
684
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
684
|
+
* @returns {Promise<CommunicationPlatformModel.EngineResponse>} - Success response
|
|
685
685
|
* @name sendCommunicationSynchronously
|
|
686
686
|
* @summary: Send communication synchronously
|
|
687
687
|
* @description: Sends real-time communications to sellers with immediate delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/sendCommunicationSynchronously/).
|
|
688
688
|
*/
|
|
689
|
-
sendCommunicationSynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationSynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
689
|
+
sendCommunicationSynchronously({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.SendCommunicationSynchronouslyParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EngineResponse>;
|
|
690
690
|
/**
|
|
691
691
|
* @param {CommunicationPlatformApplicationValidator.SendOtpParam} arg - Arg object
|
|
692
692
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -703,12 +703,13 @@ declare class Communication {
|
|
|
703
703
|
*
|
|
704
704
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
705
705
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
706
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
706
|
+
* @returns {Promise<CommunicationPlatformModel.TriggerJobResponse>} -
|
|
707
|
+
* Success response
|
|
707
708
|
* @name triggerCampaignJob
|
|
708
709
|
* @summary: Trigger a campaign job
|
|
709
710
|
* @description: Initiates a job to execute a communication campaign. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/triggerCampaignJob/).
|
|
710
711
|
*/
|
|
711
|
-
triggerCampaignJob({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.TriggerCampaignJobParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
712
|
+
triggerCampaignJob({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.TriggerCampaignJobParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.TriggerJobResponse>;
|
|
712
713
|
/**
|
|
713
714
|
* @param {CommunicationPlatformApplicationValidator.UpdateAppProvidersParam} arg
|
|
714
715
|
* - Arg object
|