@gofynd/fdk-client-javascript 1.1.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,6 +1,196 @@
|
|
|
1
1
|
const Joi = require("joi");
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @typedef AppUser
|
|
5
|
+
* @property {string} [_id]
|
|
6
|
+
* @property {boolean} [active]
|
|
7
|
+
* @property {string} [application_id]
|
|
8
|
+
* @property {string} [block_reason]
|
|
9
|
+
* @property {string} [updated_at]
|
|
10
|
+
* @property {string} [updated_by]
|
|
11
|
+
* @property {string} [user_id]
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @typedef Asset
|
|
16
|
+
* @property {string} [aspect_ratio]
|
|
17
|
+
* @property {string} [id]
|
|
18
|
+
* @property {string} [secure_url]
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @typedef ConfigurationRequest
|
|
23
|
+
* @property {string} [terms_conditions_link]
|
|
24
|
+
* @property {string[]} [valid_android_packages]
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @typedef ConfigurationRes
|
|
29
|
+
* @property {string} [application_id]
|
|
30
|
+
* @property {boolean} [success]
|
|
31
|
+
* @property {string} [terms_conditions_link] - A URL that redirects to the
|
|
32
|
+
* referral information suport page link
|
|
33
|
+
* @property {string[]} [valid_android_packages] - Contains array of string
|
|
34
|
+
* items, Valid android package names.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @typedef E
|
|
39
|
+
* @property {number} [code]
|
|
40
|
+
* @property {string} [exception]
|
|
41
|
+
* @property {string} [info]
|
|
42
|
+
* @property {string} [message]
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @typedef Giveaway
|
|
47
|
+
* @property {string} [_id]
|
|
48
|
+
* @property {Schedule} [_schedule]
|
|
49
|
+
* @property {boolean} [active]
|
|
50
|
+
* @property {string} [application_id]
|
|
51
|
+
* @property {RewardsAudience} [audience]
|
|
52
|
+
* @property {Asset} [banner_image]
|
|
53
|
+
* @property {string} [created_at]
|
|
54
|
+
* @property {string} [description]
|
|
55
|
+
* @property {string} [name]
|
|
56
|
+
* @property {RewardsRule} [rule]
|
|
57
|
+
* @property {string} [title]
|
|
58
|
+
* @property {string} [updated_at]
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @typedef GiveawayAudience
|
|
63
|
+
* @property {string} [audience_id]
|
|
64
|
+
* @property {number} [current_count]
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @typedef GiveawayResponse
|
|
69
|
+
* @property {Giveaway[]} [items]
|
|
70
|
+
* @property {Page} [page]
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @typedef HistoryRes
|
|
75
|
+
* @property {PointsHistory[]} [items] - History is the list of points transaction.
|
|
76
|
+
* @property {Page} [page]
|
|
77
|
+
* @property {number} [points]
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @typedef Offer
|
|
82
|
+
* @property {Schedule} [_schedule]
|
|
83
|
+
* @property {boolean} [active]
|
|
84
|
+
* @property {string} [application_id]
|
|
85
|
+
* @property {Asset} [banner_image]
|
|
86
|
+
* @property {string} [created_at]
|
|
87
|
+
* @property {string} [name]
|
|
88
|
+
* @property {Object} [rule]
|
|
89
|
+
* @property {ShareMessages} [share]
|
|
90
|
+
* @property {string} [sub_text]
|
|
91
|
+
* @property {string} [text]
|
|
92
|
+
* @property {string} [type]
|
|
93
|
+
* @property {string} [updated_at]
|
|
94
|
+
* @property {string} [updated_by]
|
|
95
|
+
* @property {string} [url]
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @typedef Page
|
|
100
|
+
* @property {number} [current]
|
|
101
|
+
* @property {boolean} [has_next]
|
|
102
|
+
* @property {boolean} [has_previous]
|
|
103
|
+
* @property {number} [item_total]
|
|
104
|
+
* @property {string} [next_id]
|
|
105
|
+
* @property {number} [size]
|
|
106
|
+
* @property {string} type
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @typedef Points
|
|
111
|
+
* @property {number} [available]
|
|
112
|
+
*/
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @typedef PointsHistory
|
|
116
|
+
* @property {string} [_id]
|
|
117
|
+
* @property {string} [application_id]
|
|
118
|
+
* @property {boolean} [claimed]
|
|
119
|
+
* @property {string} [created_at]
|
|
120
|
+
* @property {string} [expires_on]
|
|
121
|
+
* @property {Object} [meta]
|
|
122
|
+
* @property {number} [points]
|
|
123
|
+
* @property {number} [remaining_points]
|
|
124
|
+
* @property {string} [text_1]
|
|
125
|
+
* @property {string} [text_2]
|
|
126
|
+
* @property {string} [text_3]
|
|
127
|
+
* @property {string} [txn_name]
|
|
128
|
+
* @property {string} [updated_at]
|
|
129
|
+
* @property {string} [user_id]
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @typedef Referral
|
|
134
|
+
* @property {string} [code]
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @typedef RewardsAudience
|
|
139
|
+
* @property {string} [header_user_id]
|
|
140
|
+
* @property {string} [id]
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @typedef RewardsRule
|
|
145
|
+
* @property {number} [amount]
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @typedef RewardUser
|
|
150
|
+
* @property {string} [_id]
|
|
151
|
+
* @property {boolean} [active]
|
|
152
|
+
* @property {string} [created_at]
|
|
153
|
+
* @property {Referral} [referral]
|
|
154
|
+
* @property {number} [uid]
|
|
155
|
+
* @property {string} [updated_at]
|
|
156
|
+
* @property {string} [user_block_reason]
|
|
157
|
+
* @property {string} [user_id]
|
|
158
|
+
*/
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @typedef Schedule
|
|
162
|
+
* @property {string} [cron]
|
|
163
|
+
* @property {number} [duration]
|
|
164
|
+
* @property {string} [end]
|
|
165
|
+
* @property {string} [start]
|
|
166
|
+
*/
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @typedef SetConfigurationRes
|
|
170
|
+
* @property {boolean} [success]
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @typedef ShareMessages
|
|
175
|
+
* @property {number} [email]
|
|
176
|
+
* @property {string} [facebook]
|
|
177
|
+
* @property {string} [fallback]
|
|
178
|
+
* @property {string} [message]
|
|
179
|
+
* @property {string} [messenger]
|
|
180
|
+
* @property {string} [sms]
|
|
181
|
+
* @property {string} [text]
|
|
182
|
+
* @property {string} [twitter]
|
|
183
|
+
* @property {string} [whatsapp]
|
|
184
|
+
*/
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @typedef UserRes
|
|
188
|
+
* @property {Points} [points]
|
|
189
|
+
* @property {RewardUser} [user]
|
|
190
|
+
*/
|
|
191
|
+
|
|
192
|
+
class RewardsPlatformModel {
|
|
193
|
+
/** @returns {AppUser} */
|
|
4
194
|
static AppUser() {
|
|
5
195
|
return Joi.object({
|
|
6
196
|
_id: Joi.string().allow(""),
|
|
@@ -12,6 +202,8 @@ class RewardsModel {
|
|
|
12
202
|
user_id: Joi.string().allow(""),
|
|
13
203
|
});
|
|
14
204
|
}
|
|
205
|
+
|
|
206
|
+
/** @returns {Asset} */
|
|
15
207
|
static Asset() {
|
|
16
208
|
return Joi.object({
|
|
17
209
|
aspect_ratio: Joi.string().allow(""),
|
|
@@ -19,12 +211,16 @@ class RewardsModel {
|
|
|
19
211
|
secure_url: Joi.string().allow(""),
|
|
20
212
|
});
|
|
21
213
|
}
|
|
214
|
+
|
|
215
|
+
/** @returns {ConfigurationRequest} */
|
|
22
216
|
static ConfigurationRequest() {
|
|
23
217
|
return Joi.object({
|
|
24
218
|
terms_conditions_link: Joi.string().allow(""),
|
|
25
219
|
valid_android_packages: Joi.array().items(Joi.string().allow("")),
|
|
26
220
|
});
|
|
27
221
|
}
|
|
222
|
+
|
|
223
|
+
/** @returns {ConfigurationRes} */
|
|
28
224
|
static ConfigurationRes() {
|
|
29
225
|
return Joi.object({
|
|
30
226
|
application_id: Joi.string().allow(""),
|
|
@@ -33,6 +229,8 @@ class RewardsModel {
|
|
|
33
229
|
valid_android_packages: Joi.array().items(Joi.string().allow("")),
|
|
34
230
|
});
|
|
35
231
|
}
|
|
232
|
+
|
|
233
|
+
/** @returns {E} */
|
|
36
234
|
static E() {
|
|
37
235
|
return Joi.object({
|
|
38
236
|
code: Joi.number(),
|
|
@@ -41,51 +239,61 @@ class RewardsModel {
|
|
|
41
239
|
message: Joi.string().allow(""),
|
|
42
240
|
});
|
|
43
241
|
}
|
|
242
|
+
|
|
243
|
+
/** @returns {Giveaway} */
|
|
44
244
|
static Giveaway() {
|
|
45
245
|
return Joi.object({
|
|
46
246
|
_id: Joi.string().allow(""),
|
|
47
|
-
_schedule:
|
|
247
|
+
_schedule: RewardsPlatformModel.Schedule(),
|
|
48
248
|
active: Joi.boolean(),
|
|
49
249
|
application_id: Joi.string().allow(""),
|
|
50
|
-
audience:
|
|
51
|
-
banner_image:
|
|
250
|
+
audience: RewardsPlatformModel.RewardsAudience(),
|
|
251
|
+
banner_image: RewardsPlatformModel.Asset(),
|
|
52
252
|
created_at: Joi.string().allow(""),
|
|
53
253
|
description: Joi.string().allow(""),
|
|
54
254
|
name: Joi.string().allow(""),
|
|
55
|
-
rule:
|
|
255
|
+
rule: RewardsPlatformModel.RewardsRule(),
|
|
56
256
|
title: Joi.string().allow(""),
|
|
57
257
|
updated_at: Joi.string().allow(""),
|
|
58
258
|
});
|
|
59
259
|
}
|
|
260
|
+
|
|
261
|
+
/** @returns {GiveawayAudience} */
|
|
60
262
|
static GiveawayAudience() {
|
|
61
263
|
return Joi.object({
|
|
62
264
|
audience_id: Joi.string().allow(""),
|
|
63
265
|
current_count: Joi.number(),
|
|
64
266
|
});
|
|
65
267
|
}
|
|
268
|
+
|
|
269
|
+
/** @returns {GiveawayResponse} */
|
|
66
270
|
static GiveawayResponse() {
|
|
67
271
|
return Joi.object({
|
|
68
|
-
items: Joi.array().items(
|
|
69
|
-
page:
|
|
272
|
+
items: Joi.array().items(RewardsPlatformModel.Giveaway()),
|
|
273
|
+
page: RewardsPlatformModel.Page(),
|
|
70
274
|
});
|
|
71
275
|
}
|
|
276
|
+
|
|
277
|
+
/** @returns {HistoryRes} */
|
|
72
278
|
static HistoryRes() {
|
|
73
279
|
return Joi.object({
|
|
74
|
-
items: Joi.array().items(
|
|
75
|
-
page:
|
|
280
|
+
items: Joi.array().items(RewardsPlatformModel.PointsHistory()),
|
|
281
|
+
page: RewardsPlatformModel.Page(),
|
|
76
282
|
points: Joi.number(),
|
|
77
283
|
});
|
|
78
284
|
}
|
|
285
|
+
|
|
286
|
+
/** @returns {Offer} */
|
|
79
287
|
static Offer() {
|
|
80
288
|
return Joi.object({
|
|
81
|
-
_schedule:
|
|
289
|
+
_schedule: RewardsPlatformModel.Schedule(),
|
|
82
290
|
active: Joi.boolean(),
|
|
83
291
|
application_id: Joi.string().allow(""),
|
|
84
|
-
banner_image:
|
|
292
|
+
banner_image: RewardsPlatformModel.Asset(),
|
|
85
293
|
created_at: Joi.string().allow(""),
|
|
86
294
|
name: Joi.string().allow(""),
|
|
87
295
|
rule: Joi.any(),
|
|
88
|
-
share:
|
|
296
|
+
share: RewardsPlatformModel.ShareMessages(),
|
|
89
297
|
sub_text: Joi.string().allow(""),
|
|
90
298
|
text: Joi.string().allow(""),
|
|
91
299
|
type: Joi.string().allow(""),
|
|
@@ -94,6 +302,8 @@ class RewardsModel {
|
|
|
94
302
|
url: Joi.string().allow(""),
|
|
95
303
|
});
|
|
96
304
|
}
|
|
305
|
+
|
|
306
|
+
/** @returns {Page} */
|
|
97
307
|
static Page() {
|
|
98
308
|
return Joi.object({
|
|
99
309
|
current: Joi.number(),
|
|
@@ -105,11 +315,15 @@ class RewardsModel {
|
|
|
105
315
|
type: Joi.string().allow("").required(),
|
|
106
316
|
});
|
|
107
317
|
}
|
|
318
|
+
|
|
319
|
+
/** @returns {Points} */
|
|
108
320
|
static Points() {
|
|
109
321
|
return Joi.object({
|
|
110
322
|
available: Joi.number(),
|
|
111
323
|
});
|
|
112
324
|
}
|
|
325
|
+
|
|
326
|
+
/** @returns {PointsHistory} */
|
|
113
327
|
static PointsHistory() {
|
|
114
328
|
return Joi.object({
|
|
115
329
|
_id: Joi.string().allow(""),
|
|
@@ -128,34 +342,44 @@ class RewardsModel {
|
|
|
128
342
|
user_id: Joi.string().allow(""),
|
|
129
343
|
});
|
|
130
344
|
}
|
|
345
|
+
|
|
346
|
+
/** @returns {Referral} */
|
|
131
347
|
static Referral() {
|
|
132
348
|
return Joi.object({
|
|
133
349
|
code: Joi.string().allow(""),
|
|
134
350
|
});
|
|
135
351
|
}
|
|
352
|
+
|
|
353
|
+
/** @returns {RewardsAudience} */
|
|
136
354
|
static RewardsAudience() {
|
|
137
355
|
return Joi.object({
|
|
138
356
|
header_user_id: Joi.string().allow(""),
|
|
139
357
|
id: Joi.string().allow(""),
|
|
140
358
|
});
|
|
141
359
|
}
|
|
360
|
+
|
|
361
|
+
/** @returns {RewardsRule} */
|
|
142
362
|
static RewardsRule() {
|
|
143
363
|
return Joi.object({
|
|
144
364
|
amount: Joi.number(),
|
|
145
365
|
});
|
|
146
366
|
}
|
|
367
|
+
|
|
368
|
+
/** @returns {RewardUser} */
|
|
147
369
|
static RewardUser() {
|
|
148
370
|
return Joi.object({
|
|
149
371
|
_id: Joi.string().allow(""),
|
|
150
372
|
active: Joi.boolean(),
|
|
151
373
|
created_at: Joi.string().allow(""),
|
|
152
|
-
referral:
|
|
374
|
+
referral: RewardsPlatformModel.Referral(),
|
|
153
375
|
uid: Joi.number(),
|
|
154
376
|
updated_at: Joi.string().allow(""),
|
|
155
377
|
user_block_reason: Joi.string().allow(""),
|
|
156
378
|
user_id: Joi.string().allow(""),
|
|
157
379
|
});
|
|
158
380
|
}
|
|
381
|
+
|
|
382
|
+
/** @returns {Schedule} */
|
|
159
383
|
static Schedule() {
|
|
160
384
|
return Joi.object({
|
|
161
385
|
cron: Joi.string().allow(""),
|
|
@@ -164,11 +388,15 @@ class RewardsModel {
|
|
|
164
388
|
start: Joi.string().allow(""),
|
|
165
389
|
});
|
|
166
390
|
}
|
|
391
|
+
|
|
392
|
+
/** @returns {SetConfigurationRes} */
|
|
167
393
|
static SetConfigurationRes() {
|
|
168
394
|
return Joi.object({
|
|
169
395
|
success: Joi.boolean(),
|
|
170
396
|
});
|
|
171
397
|
}
|
|
398
|
+
|
|
399
|
+
/** @returns {ShareMessages} */
|
|
172
400
|
static ShareMessages() {
|
|
173
401
|
return Joi.object({
|
|
174
402
|
email: Joi.number(),
|
|
@@ -182,11 +410,13 @@ class RewardsModel {
|
|
|
182
410
|
whatsapp: Joi.string().allow(""),
|
|
183
411
|
});
|
|
184
412
|
}
|
|
413
|
+
|
|
414
|
+
/** @returns {UserRes} */
|
|
185
415
|
static UserRes() {
|
|
186
416
|
return Joi.object({
|
|
187
|
-
points:
|
|
188
|
-
user:
|
|
417
|
+
points: RewardsPlatformModel.Points(),
|
|
418
|
+
user: RewardsPlatformModel.RewardUser(),
|
|
189
419
|
});
|
|
190
420
|
}
|
|
191
421
|
}
|
|
192
|
-
module.exports =
|
|
422
|
+
module.exports = RewardsPlatformModel;
|
|
@@ -4,131 +4,162 @@ declare class Serviceability {
|
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {
|
|
9
|
-
* @returns {Promise<ApplicationCompanyDpViewResponse>}
|
|
7
|
+
* @param {ServiceabilityPlatformApplicationValidator.AddAppDpParam} arg - Arg object
|
|
8
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationCompanyDpViewResponse>}
|
|
10
|
+
* - Success response
|
|
11
|
+
*
|
|
12
|
+
* @name addAppDp
|
|
10
13
|
* @summary: Add application dp data
|
|
11
|
-
* @description: This API add application dp data.
|
|
14
|
+
* @description: This API add application dp data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/addAppDp/).
|
|
12
15
|
*/
|
|
13
|
-
addAppDp({ body }?: {
|
|
14
|
-
body: ApplicationCompanyDpViewRequest;
|
|
15
|
-
}): Promise<ApplicationCompanyDpViewResponse>;
|
|
16
|
+
addAppDp({ body }?: ServiceabilityPlatformApplicationValidator.AddAppDpParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ApplicationCompanyDpViewResponse>;
|
|
16
17
|
/**
|
|
17
|
-
* @param {
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @
|
|
18
|
+
* @param {ServiceabilityPlatformApplicationValidator.DeleteAppDpParam} arg
|
|
19
|
+
* - Arg object
|
|
20
|
+
*
|
|
21
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationCompanyDpViewResponse>}
|
|
23
|
+
* - Success response
|
|
24
|
+
*
|
|
25
|
+
* @name deleteAppDp
|
|
21
26
|
* @summary: Delete application dp data
|
|
22
|
-
* @description: This API remove application dp data.
|
|
27
|
+
* @description: This API remove application dp data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/deleteAppDp/).
|
|
23
28
|
*/
|
|
24
|
-
deleteAppDp({ courierPartnerId }?: {
|
|
25
|
-
courierPartnerId: number;
|
|
26
|
-
}): Promise<ApplicationCompanyDpViewResponse>;
|
|
29
|
+
deleteAppDp({ courierPartnerId }?: ServiceabilityPlatformApplicationValidator.DeleteAppDpParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ApplicationCompanyDpViewResponse>;
|
|
27
30
|
/**
|
|
28
|
-
* @param {
|
|
29
|
-
* @returns {Promise<ApplicationServiceabilityConfigResponse>}
|
|
31
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
32
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationServiceabilityConfigResponse>}
|
|
33
|
+
* - Success response
|
|
34
|
+
*
|
|
35
|
+
* @name getApplicationServiceability
|
|
30
36
|
* @summary: Zone configuration of application.
|
|
31
|
-
* @description: This API returns serviceability config of the application.
|
|
37
|
+
* @description: This API returns serviceability config of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getApplicationServiceability/).
|
|
32
38
|
*/
|
|
33
|
-
getApplicationServiceability({}?:
|
|
39
|
+
getApplicationServiceability({ headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ApplicationServiceabilityConfigResponse>;
|
|
34
40
|
/**
|
|
35
|
-
* @param {
|
|
36
|
-
* @returns {Promise<ApplicationSelfShipConfigResponse>}
|
|
41
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
42
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
|
|
43
|
+
* - Success response
|
|
44
|
+
*
|
|
45
|
+
* @name getApplicationServiceabilitySelfShipment
|
|
37
46
|
* @summary: Self-ship configuration of application.
|
|
38
|
-
* @description: This API returns Self-ship configuration of the application.
|
|
47
|
+
* @description: This API returns Self-ship configuration of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getApplicationServiceabilitySelfShipment/).
|
|
39
48
|
*/
|
|
40
|
-
getApplicationServiceabilitySelfShipment({}?:
|
|
49
|
+
getApplicationServiceabilitySelfShipment({ headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>;
|
|
41
50
|
/**
|
|
42
|
-
* @param {
|
|
43
|
-
* @returns {Promise<DPApplicationRuleResponse>}
|
|
51
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
52
|
+
* @returns {Promise<ServiceabilityPlatformModel.DPApplicationRuleResponse>}
|
|
53
|
+
* - Success response
|
|
54
|
+
*
|
|
55
|
+
* @name getDpApplicationRules
|
|
44
56
|
* @summary: Get All DpApplicationRules rules added at application level from database.
|
|
45
|
-
* @description: This API returns response of all rules of DpApplicationRules from mongo database.
|
|
57
|
+
* @description: This API returns response of all rules of DpApplicationRules from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getDpApplicationRules/).
|
|
46
58
|
*/
|
|
47
|
-
getDpApplicationRules({}?:
|
|
59
|
+
getDpApplicationRules({ headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DPApplicationRuleResponse>;
|
|
48
60
|
/**
|
|
49
|
-
* @param {
|
|
50
|
-
*
|
|
51
|
-
*
|
|
61
|
+
* @param {ServiceabilityPlatformApplicationValidator.GetZoneFromPincodeViewParam} arg
|
|
62
|
+
* - Arg object
|
|
63
|
+
*
|
|
64
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
65
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetZoneFromPincodeViewResponse>}
|
|
66
|
+
* - Success response
|
|
67
|
+
*
|
|
68
|
+
* @name getZoneFromPincodeView
|
|
52
69
|
* @summary: GET zone from the Pincode.
|
|
53
|
-
* @description: This API returns zone from the Pincode View.
|
|
70
|
+
* @description: This API returns zone from the Pincode View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZoneFromPincodeView/).
|
|
54
71
|
*/
|
|
55
|
-
getZoneFromPincodeView({ body }?: {
|
|
56
|
-
body: GetZoneFromPincodeViewRequest;
|
|
57
|
-
}): Promise<GetZoneFromPincodeViewResponse>;
|
|
72
|
+
getZoneFromPincodeView({ body }?: ServiceabilityPlatformApplicationValidator.GetZoneFromPincodeViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.GetZoneFromPincodeViewResponse>;
|
|
58
73
|
/**
|
|
59
|
-
* @param {
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* @param {
|
|
63
|
-
* @
|
|
64
|
-
*
|
|
74
|
+
* @param {ServiceabilityPlatformApplicationValidator.GetZonesFromApplicationIdViewParam} arg
|
|
75
|
+
* - Arg object
|
|
76
|
+
*
|
|
77
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
78
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetZoneFromApplicationIdViewResponse>}
|
|
79
|
+
* - Success response
|
|
80
|
+
*
|
|
81
|
+
* @name getZonesFromApplicationIdView
|
|
65
82
|
* @summary: GET zones from the application_id.
|
|
66
|
-
* @description: This API returns zones from the application_id View.
|
|
83
|
+
* @description: This API returns zones from the application_id View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZonesFromApplicationIdView/).
|
|
67
84
|
*/
|
|
68
|
-
getZonesFromApplicationIdView({ pageNo, pageSize, zoneId, q }?: {
|
|
69
|
-
pageNo?: number;
|
|
70
|
-
pageSize?: number;
|
|
71
|
-
zoneId?: string[];
|
|
72
|
-
q?: string;
|
|
73
|
-
}): Promise<GetZoneFromApplicationIdViewResponse>;
|
|
85
|
+
getZonesFromApplicationIdView({ pageNo, pageSize, zoneId, q }?: ServiceabilityPlatformApplicationValidator.GetZonesFromApplicationIdViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.GetZoneFromApplicationIdViewResponse>;
|
|
74
86
|
/**
|
|
75
|
-
* @param {
|
|
76
|
-
*
|
|
77
|
-
*
|
|
87
|
+
* @param {ServiceabilityPlatformApplicationValidator.PatchApplicationServiceabilitySelfShipmentParam} arg
|
|
88
|
+
* - Arg object
|
|
89
|
+
*
|
|
90
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
91
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
|
|
92
|
+
* - Success response
|
|
93
|
+
*
|
|
94
|
+
* @name patchApplicationServiceabilitySelfShipment
|
|
78
95
|
* @summary: Self-ship configuration of application.
|
|
79
|
-
* @description: This API updates Self-ship configuration of the application.
|
|
96
|
+
* @description: This API updates Self-ship configuration of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/patchApplicationServiceabilitySelfShipment/).
|
|
80
97
|
*/
|
|
81
|
-
patchApplicationServiceabilitySelfShipment({ body }?: {
|
|
82
|
-
body: SelfShipResponse;
|
|
83
|
-
}): Promise<ApplicationSelfShipConfigResponse>;
|
|
98
|
+
patchApplicationServiceabilitySelfShipment({ body }?: ServiceabilityPlatformApplicationValidator.PatchApplicationServiceabilitySelfShipmentParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>;
|
|
84
99
|
/**
|
|
85
|
-
* @param {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
100
|
+
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeAuditHistoryParam} arg
|
|
101
|
+
* - Arg object
|
|
102
|
+
*
|
|
103
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
104
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>}
|
|
105
|
+
* - Success response
|
|
106
|
+
*
|
|
107
|
+
* @name updatePincodeAuditHistory
|
|
88
108
|
* @summary: Auditlog configuration of application.
|
|
89
|
-
* @description: This API returns Audit logs of Pincode.
|
|
109
|
+
* @description: This API returns Audit logs of Pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeAuditHistory/).
|
|
90
110
|
*/
|
|
91
|
-
updatePincodeAuditHistory({ body }?: {
|
|
92
|
-
body: PincodeMopUpdateAuditHistoryRequest;
|
|
93
|
-
}): Promise<PincodeMopUpdateAuditHistoryResponseData>;
|
|
111
|
+
updatePincodeAuditHistory({ body }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeAuditHistoryParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>;
|
|
94
112
|
/**
|
|
95
|
-
* @param {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
113
|
+
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeBulkViewParam} arg
|
|
114
|
+
* - Arg object
|
|
115
|
+
*
|
|
116
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
117
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>}
|
|
118
|
+
* - Success response
|
|
119
|
+
*
|
|
120
|
+
* @name updatePincodeBulkView
|
|
98
121
|
* @summary: Bulk Update of pincode in the application.
|
|
99
|
-
* @description: This API constructs bulk write operations to update the MOP data for each pincode in the payload.
|
|
122
|
+
* @description: This API constructs bulk write operations to update the MOP data for each pincode in the payload. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeBulkView/).
|
|
100
123
|
*/
|
|
101
|
-
updatePincodeBulkView({ body }?: {
|
|
102
|
-
body: PincodeMopBulkData;
|
|
103
|
-
}): Promise<PincodeBulkViewResponse>;
|
|
124
|
+
updatePincodeBulkView({ body }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeBulkViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>;
|
|
104
125
|
/**
|
|
105
|
-
* @param {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
126
|
+
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeCoDListingParam} arg
|
|
127
|
+
* - Arg object
|
|
128
|
+
*
|
|
129
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
130
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>}
|
|
131
|
+
* - Success response
|
|
132
|
+
*
|
|
133
|
+
* @name updatePincodeCoDListing
|
|
108
134
|
* @summary: Pincode count view of application.
|
|
109
|
-
* @description: This API returns count of active pincode.
|
|
135
|
+
* @description: This API returns count of active pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeCoDListing/).
|
|
110
136
|
*/
|
|
111
|
-
updatePincodeCoDListing({ body }?: {
|
|
112
|
-
body: PincodeCodStatusListingRequest;
|
|
113
|
-
}): Promise<PincodeCodStatusListingResponse>;
|
|
137
|
+
updatePincodeCoDListing({ body }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeCoDListingParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>;
|
|
114
138
|
/**
|
|
115
|
-
* @param {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
139
|
+
* @param {ServiceabilityPlatformApplicationValidator.UpdatePincodeMopViewParam} arg
|
|
140
|
+
* - Arg object
|
|
141
|
+
*
|
|
142
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
143
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeMOPresponse>} -
|
|
144
|
+
* Success response
|
|
145
|
+
* @name updatePincodeMopView
|
|
118
146
|
* @summary: PincodeView update of MOP.
|
|
119
|
-
* @description: This API updates Pincode method of payment.
|
|
147
|
+
* @description: This API updates Pincode method of payment. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeMopView/).
|
|
120
148
|
*/
|
|
121
|
-
updatePincodeMopView({ body }?: {
|
|
122
|
-
body: PincodeMopData;
|
|
123
|
-
}): Promise<PincodeMOPresponse>;
|
|
149
|
+
updatePincodeMopView({ body }?: ServiceabilityPlatformApplicationValidator.UpdatePincodeMopViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.PincodeMOPresponse>;
|
|
124
150
|
/**
|
|
125
|
-
* @param {
|
|
126
|
-
*
|
|
127
|
-
*
|
|
151
|
+
* @param {ServiceabilityPlatformApplicationValidator.UpsertDpApplicationRulesParam} arg
|
|
152
|
+
* - Arg object
|
|
153
|
+
*
|
|
154
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
155
|
+
* @returns {Promise<ServiceabilityPlatformModel.DPApplicationRuleResponse>}
|
|
156
|
+
* - Success response
|
|
157
|
+
*
|
|
158
|
+
* @name upsertDpApplicationRules
|
|
128
159
|
* @summary: Upsert of DpApplicationRules in database.
|
|
129
|
-
* @description: This API returns response of upsert of DpApplicationRules in mongo database.
|
|
160
|
+
* @description: This API returns response of upsert of DpApplicationRules in mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/upsertDpApplicationRules/).
|
|
130
161
|
*/
|
|
131
|
-
upsertDpApplicationRules({ body }?: {
|
|
132
|
-
body: DPApplicationRuleRequest;
|
|
133
|
-
}): Promise<DPApplicationRuleResponse>;
|
|
162
|
+
upsertDpApplicationRules({ body }?: ServiceabilityPlatformApplicationValidator.UpsertDpApplicationRulesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DPApplicationRuleResponse>;
|
|
134
163
|
}
|
|
164
|
+
import ServiceabilityPlatformApplicationValidator = require("./ServiceabilityPlatformApplicationValidator");
|
|
165
|
+
import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|