@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +53 -60
- package/sdk/application/Cart/CartApplicationClient.js +53 -130
- package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
- package/sdk/application/Cart/CartApplicationModel.js +159 -380
- package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
- package/sdk/application/Cart/CartApplicationValidator.js +18 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
- package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
- package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
- package/sdk/application/Common/CommonApplicationClient.js +5 -6
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
- package/sdk/application/Content/ContentApplicationClient.js +75 -54
- package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
- package/sdk/application/Content/ContentApplicationModel.js +32 -83
- package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
- package/sdk/application/Content/ContentApplicationValidator.js +10 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
- package/sdk/application/Lead/LeadApplicationClient.js +3 -2
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
- package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
- package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
- package/sdk/application/Order/OrderApplicationClient.js +13 -96
- package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
- package/sdk/application/Order/OrderApplicationModel.js +81 -279
- package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
- package/sdk/application/Order/OrderApplicationValidator.js +2 -15
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
- package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
- package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
- package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
- package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +0 -1
- package/sdk/application/index.js +0 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -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/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
- package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
- 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 +1321 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1226 -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 +1751 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
- 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 +124 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -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 +36 -94
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -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 +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -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 -15
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
- package/sdk/platform/Order/OrderPlatformClient.js +245 -597
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
- package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
- 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 +64 -58
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- 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 +11 -37
- package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
- 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 +5 -6
- 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 +5 -791
- 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/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- 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/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
|
@@ -6,19 +6,19 @@ declare class Serviceability {
|
|
|
6
6
|
* @param {ServiceabilityPlatformValidator.BulkServiceabilityParam} arg - Arg object
|
|
7
7
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
9
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
|
|
10
10
|
* - Success response
|
|
11
11
|
*
|
|
12
12
|
* @name bulkServiceability
|
|
13
13
|
* @summary: Bulk update serviceability of localities
|
|
14
14
|
* @description: Bulk operations involve either new serviceability settings or updating existing ones in large quantities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/bulkServiceability/).
|
|
15
15
|
*/
|
|
16
|
-
bulkServiceability({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
16
|
+
bulkServiceability({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>;
|
|
17
17
|
/**
|
|
18
18
|
* @param {ServiceabilityPlatformValidator.BulkTatParam} arg - Arg object
|
|
19
19
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
20
20
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
21
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
|
|
22
22
|
* - Success response
|
|
23
23
|
*
|
|
24
24
|
* @name bulkTat
|
|
@@ -26,7 +26,7 @@ declare class Serviceability {
|
|
|
26
26
|
* @description: Updates locality wise TAT(Turn Around Time) for particular courier scheme using CSV file.
|
|
27
27
|
* Export locality wise CSV files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/bulkTat/).
|
|
28
28
|
*/
|
|
29
|
-
bulkTat({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
29
|
+
bulkTat({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>;
|
|
30
30
|
/**
|
|
31
31
|
* @param {ServiceabilityPlatformValidator.CreateCourierPartnerAccountParam} arg
|
|
32
32
|
* - Arg object
|
|
@@ -45,69 +45,72 @@ declare class Serviceability {
|
|
|
45
45
|
*
|
|
46
46
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
47
47
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
48
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
49
|
-
* Success response
|
|
48
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
|
|
49
|
+
* - Success response
|
|
50
|
+
*
|
|
50
51
|
* @name createPackageMaterial
|
|
51
52
|
* @summary: Create packaging material
|
|
52
53
|
* @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
|
|
53
54
|
*/
|
|
54
|
-
createPackageMaterial({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
55
|
+
createPackageMaterial({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResponse>;
|
|
55
56
|
/**
|
|
56
57
|
* @param {ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam} arg
|
|
57
58
|
* - Arg object
|
|
58
59
|
*
|
|
59
60
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
60
61
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
61
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
62
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
62
63
|
* Success response
|
|
63
64
|
* @name createPackageMaterialRule
|
|
64
65
|
* @summary: Create packaging rule
|
|
65
66
|
* @description: Creates a packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterialRule/).
|
|
66
67
|
*/
|
|
67
|
-
createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
68
|
+
createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResponse>;
|
|
68
69
|
/**
|
|
69
70
|
* @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
|
|
70
71
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
71
72
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
72
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
73
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
|
|
73
74
|
* @name createZone
|
|
74
75
|
* @summary: Create zone
|
|
75
76
|
* @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
|
|
76
77
|
*/
|
|
77
|
-
createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
78
|
+
createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneResponse>;
|
|
78
79
|
/**
|
|
79
80
|
* @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
|
|
80
81
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
81
82
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
82
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
83
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
|
|
83
84
|
* Success response
|
|
84
85
|
* @name getAllStores
|
|
85
86
|
* @summary: Get all stores
|
|
86
87
|
* @description: Retrieves a list of locations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getAllStores/).
|
|
87
88
|
*/
|
|
88
|
-
getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
89
|
+
getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoresViewResponse>;
|
|
89
90
|
/**
|
|
90
91
|
* @param {ServiceabilityPlatformValidator.GetBulkServiceabilityParam} arg
|
|
91
92
|
* - Arg object
|
|
92
93
|
*
|
|
93
94
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
95
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
95
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
96
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
|
|
97
|
+
* Success response
|
|
96
98
|
* @name getBulkServiceability
|
|
97
99
|
* @summary: Bulk update history
|
|
98
100
|
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkServiceability/).
|
|
99
101
|
*/
|
|
100
|
-
getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
102
|
+
getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponse>;
|
|
101
103
|
/**
|
|
102
104
|
* @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
|
|
103
105
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
104
106
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
105
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
107
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
|
|
108
|
+
* Success response
|
|
106
109
|
* @name getBulkTat
|
|
107
110
|
* @summary: Locality TAT change history
|
|
108
111
|
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkTat/).
|
|
109
112
|
*/
|
|
110
|
-
getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
113
|
+
getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponse>;
|
|
111
114
|
/**
|
|
112
115
|
* @param {ServiceabilityPlatformValidator.GetCompanyConfigurationParam} arg
|
|
113
116
|
* - Arg object
|
|
@@ -126,38 +129,39 @@ declare class Serviceability {
|
|
|
126
129
|
*
|
|
127
130
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
128
131
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
129
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
132
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
|
|
130
133
|
* Success response
|
|
131
134
|
* @name getCourierPartnerAccount
|
|
132
135
|
* @summary: Get courier account
|
|
133
136
|
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccount/).
|
|
134
137
|
*/
|
|
135
|
-
getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
138
|
+
getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResponse>;
|
|
136
139
|
/**
|
|
137
140
|
* @param {ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam} arg
|
|
138
141
|
* - Arg object
|
|
139
142
|
*
|
|
140
143
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
141
144
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
142
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
145
|
+
* @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>}
|
|
143
146
|
* - Success response
|
|
144
147
|
*
|
|
145
148
|
* @name getCourierPartnerAccounts
|
|
146
149
|
* @summary: List courier accounts
|
|
147
150
|
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccounts/).
|
|
148
151
|
*/
|
|
149
|
-
getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
152
|
+
getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>;
|
|
150
153
|
/**
|
|
151
154
|
* @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
152
155
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
153
156
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
154
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
155
|
-
* Success response
|
|
157
|
+
* @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>}
|
|
158
|
+
* - Success response
|
|
159
|
+
*
|
|
156
160
|
* @name getOptimalLocations
|
|
157
161
|
* @summary: Get selling locations
|
|
158
162
|
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getOptimalLocations/).
|
|
159
163
|
*/
|
|
160
|
-
getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
164
|
+
getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>;
|
|
161
165
|
/**
|
|
162
166
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialListParam} arg
|
|
163
167
|
* - Arg object
|
|
@@ -177,13 +181,13 @@ declare class Serviceability {
|
|
|
177
181
|
*
|
|
178
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
179
183
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
180
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
184
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
181
185
|
* Success response
|
|
182
186
|
* @name getPackageMaterialRule
|
|
183
187
|
* @summary: Get packaging material rule
|
|
184
188
|
* @description: Retrieve packaging rule details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterialRule/).
|
|
185
189
|
*/
|
|
186
|
-
getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
190
|
+
getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResponse>;
|
|
187
191
|
/**
|
|
188
192
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialRulesParam} arg
|
|
189
193
|
* - Arg object
|
|
@@ -202,13 +206,14 @@ declare class Serviceability {
|
|
|
202
206
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
|
|
203
207
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
204
208
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
205
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
206
|
-
* Success response
|
|
209
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
|
|
210
|
+
* - Success response
|
|
211
|
+
*
|
|
207
212
|
* @name getPackageMaterials
|
|
208
213
|
* @summary: Get packaging material
|
|
209
214
|
* @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
|
|
210
215
|
*/
|
|
211
|
-
getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
216
|
+
getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResponse>;
|
|
212
217
|
/**
|
|
213
218
|
* @param {ServiceabilityPlatformValidator.GetServiceabilityParam} arg - Arg object
|
|
214
219
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -235,12 +240,12 @@ declare class Serviceability {
|
|
|
235
240
|
* @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
|
|
236
241
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
237
242
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
238
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
243
|
+
* @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
|
|
239
244
|
* @name getZones
|
|
240
245
|
* @summary: Get zones
|
|
241
246
|
* @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
|
|
242
247
|
*/
|
|
243
|
-
getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
248
|
+
getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
|
|
244
249
|
/**
|
|
245
250
|
* @param {ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam} arg
|
|
246
251
|
* - Arg object
|
|
@@ -259,39 +264,40 @@ declare class Serviceability {
|
|
|
259
264
|
*
|
|
260
265
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
261
266
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
262
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
267
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
|
|
263
268
|
* Success response
|
|
264
269
|
* @name updateCourierPartnerAccount
|
|
265
270
|
* @summary: Update courier account
|
|
266
271
|
* @description: Updates an existing courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCourierPartnerAccount/).
|
|
267
272
|
*/
|
|
268
|
-
updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
273
|
+
updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResponse>;
|
|
269
274
|
/**
|
|
270
275
|
* @param {ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam} arg
|
|
271
276
|
* - Arg object
|
|
272
277
|
*
|
|
273
278
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
274
279
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
275
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
280
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
276
281
|
* Success response
|
|
277
282
|
* @name updatePackageMaterialRule
|
|
278
283
|
* @summary: Update packaging rule
|
|
279
284
|
* @description: Update an existing packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterialRule/).
|
|
280
285
|
*/
|
|
281
|
-
updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
286
|
+
updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResponse>;
|
|
282
287
|
/**
|
|
283
288
|
* @param {ServiceabilityPlatformValidator.UpdatePackageMaterialsParam} arg
|
|
284
289
|
* - Arg object
|
|
285
290
|
*
|
|
286
291
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
287
292
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
288
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
289
|
-
* Success response
|
|
293
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
|
|
294
|
+
* - Success response
|
|
295
|
+
*
|
|
290
296
|
* @name updatePackageMaterials
|
|
291
297
|
* @summary: Update packaging material
|
|
292
298
|
* @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
|
|
293
299
|
*/
|
|
294
|
-
updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
300
|
+
updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResponse>;
|
|
295
301
|
/**
|
|
296
302
|
* @param {ServiceabilityPlatformValidator.UpdateServiceabilityParam} arg - Arg object
|
|
297
303
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -307,13 +313,13 @@ declare class Serviceability {
|
|
|
307
313
|
* @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
|
|
308
314
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
309
315
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
310
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
316
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
|
|
311
317
|
* Success response
|
|
312
318
|
* @name updateZoneById
|
|
313
319
|
* @summary: Update a zone
|
|
314
320
|
* @description: Update an existing delivery zone . - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateZoneById/).
|
|
315
321
|
*/
|
|
316
|
-
updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
322
|
+
updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>;
|
|
317
323
|
}
|
|
318
324
|
import ServiceabilityPlatformValidator = require("./ServiceabilityPlatformValidator");
|
|
319
325
|
import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
@@ -18,7 +18,7 @@ class Serviceability {
|
|
|
18
18
|
* @param {ServiceabilityPlatformValidator.BulkServiceabilityParam} arg - Arg object
|
|
19
19
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
20
20
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
21
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
|
|
22
22
|
* - Success response
|
|
23
23
|
*
|
|
24
24
|
* @name bulkServiceability
|
|
@@ -82,7 +82,7 @@ class Serviceability {
|
|
|
82
82
|
|
|
83
83
|
const {
|
|
84
84
|
error: res_error,
|
|
85
|
-
} = ServiceabilityPlatformModel.
|
|
85
|
+
} = ServiceabilityPlatformModel.BulkRegionResponseItemData().validate(
|
|
86
86
|
responseData,
|
|
87
87
|
{ abortEarly: false, allowUnknown: true }
|
|
88
88
|
);
|
|
@@ -105,7 +105,7 @@ class Serviceability {
|
|
|
105
105
|
* @param {ServiceabilityPlatformValidator.BulkTatParam} arg - Arg object
|
|
106
106
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
107
107
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
108
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
108
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
|
|
109
109
|
* - Success response
|
|
110
110
|
*
|
|
111
111
|
* @name bulkTat
|
|
@@ -168,7 +168,7 @@ class Serviceability {
|
|
|
168
168
|
|
|
169
169
|
const {
|
|
170
170
|
error: res_error,
|
|
171
|
-
} = ServiceabilityPlatformModel.
|
|
171
|
+
} = ServiceabilityPlatformModel.BulkRegionResponseItemData().validate(
|
|
172
172
|
responseData,
|
|
173
173
|
{ abortEarly: false, allowUnknown: true }
|
|
174
174
|
);
|
|
@@ -276,8 +276,9 @@ class Serviceability {
|
|
|
276
276
|
*
|
|
277
277
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
278
278
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
279
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
280
|
-
* Success response
|
|
279
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
|
|
280
|
+
* - Success response
|
|
281
|
+
*
|
|
281
282
|
* @name createPackageMaterial
|
|
282
283
|
* @summary: Create packaging material
|
|
283
284
|
* @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
|
|
@@ -335,7 +336,7 @@ class Serviceability {
|
|
|
335
336
|
|
|
336
337
|
const {
|
|
337
338
|
error: res_error,
|
|
338
|
-
} = ServiceabilityPlatformModel.
|
|
339
|
+
} = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
|
|
339
340
|
responseData,
|
|
340
341
|
{ abortEarly: false, allowUnknown: true }
|
|
341
342
|
);
|
|
@@ -360,7 +361,7 @@ class Serviceability {
|
|
|
360
361
|
*
|
|
361
362
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
362
363
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
363
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
364
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
364
365
|
* Success response
|
|
365
366
|
* @name createPackageMaterialRule
|
|
366
367
|
* @summary: Create packaging rule
|
|
@@ -419,10 +420,10 @@ class Serviceability {
|
|
|
419
420
|
|
|
420
421
|
const {
|
|
421
422
|
error: res_error,
|
|
422
|
-
} = ServiceabilityPlatformModel.
|
|
423
|
-
|
|
424
|
-
allowUnknown: true
|
|
425
|
-
|
|
423
|
+
} = ServiceabilityPlatformModel.PackageRuleResponse().validate(
|
|
424
|
+
responseData,
|
|
425
|
+
{ abortEarly: false, allowUnknown: true }
|
|
426
|
+
);
|
|
426
427
|
|
|
427
428
|
if (res_error) {
|
|
428
429
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -442,7 +443,7 @@ class Serviceability {
|
|
|
442
443
|
* @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
|
|
443
444
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
444
445
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
445
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
446
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
|
|
446
447
|
* @name createZone
|
|
447
448
|
* @summary: Create zone
|
|
448
449
|
* @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
|
|
@@ -498,7 +499,7 @@ class Serviceability {
|
|
|
498
499
|
|
|
499
500
|
const {
|
|
500
501
|
error: res_error,
|
|
501
|
-
} = ServiceabilityPlatformModel.
|
|
502
|
+
} = ServiceabilityPlatformModel.ZoneResponse().validate(responseData, {
|
|
502
503
|
abortEarly: false,
|
|
503
504
|
allowUnknown: true,
|
|
504
505
|
});
|
|
@@ -521,7 +522,7 @@ class Serviceability {
|
|
|
521
522
|
* @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
|
|
522
523
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
523
524
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
524
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
525
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
|
|
525
526
|
* Success response
|
|
526
527
|
* @name getAllStores
|
|
527
528
|
* @summary: Get all stores
|
|
@@ -574,7 +575,7 @@ class Serviceability {
|
|
|
574
575
|
|
|
575
576
|
const {
|
|
576
577
|
error: res_error,
|
|
577
|
-
} = ServiceabilityPlatformModel.
|
|
578
|
+
} = ServiceabilityPlatformModel.GetStoresViewResponse().validate(
|
|
578
579
|
responseData,
|
|
579
580
|
{ abortEarly: false, allowUnknown: true }
|
|
580
581
|
);
|
|
@@ -599,7 +600,8 @@ class Serviceability {
|
|
|
599
600
|
*
|
|
600
601
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
601
602
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
602
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
603
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
|
|
604
|
+
* Success response
|
|
603
605
|
* @name getBulkServiceability
|
|
604
606
|
* @summary: Bulk update history
|
|
605
607
|
* @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkServiceability/).
|
|
@@ -699,10 +701,10 @@ class Serviceability {
|
|
|
699
701
|
|
|
700
702
|
const {
|
|
701
703
|
error: res_error,
|
|
702
|
-
} = ServiceabilityPlatformModel.
|
|
703
|
-
|
|
704
|
-
allowUnknown: true
|
|
705
|
-
|
|
704
|
+
} = ServiceabilityPlatformModel.BulkRegionResponse().validate(
|
|
705
|
+
responseData,
|
|
706
|
+
{ abortEarly: false, allowUnknown: true }
|
|
707
|
+
);
|
|
706
708
|
|
|
707
709
|
if (res_error) {
|
|
708
710
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -722,7 +724,8 @@ class Serviceability {
|
|
|
722
724
|
* @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
|
|
723
725
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
724
726
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
725
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
727
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
|
|
728
|
+
* Success response
|
|
726
729
|
* @name getBulkTat
|
|
727
730
|
* @summary: Locality TAT change history
|
|
728
731
|
* @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkTat/).
|
|
@@ -820,10 +823,10 @@ class Serviceability {
|
|
|
820
823
|
|
|
821
824
|
const {
|
|
822
825
|
error: res_error,
|
|
823
|
-
} = ServiceabilityPlatformModel.
|
|
824
|
-
|
|
825
|
-
allowUnknown: true
|
|
826
|
-
|
|
826
|
+
} = ServiceabilityPlatformModel.BulkRegionResponse().validate(
|
|
827
|
+
responseData,
|
|
828
|
+
{ abortEarly: false, allowUnknown: true }
|
|
829
|
+
);
|
|
827
830
|
|
|
828
831
|
if (res_error) {
|
|
829
832
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -924,7 +927,7 @@ class Serviceability {
|
|
|
924
927
|
*
|
|
925
928
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
926
929
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
927
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
930
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
|
|
928
931
|
* Success response
|
|
929
932
|
* @name getCourierPartnerAccount
|
|
930
933
|
* @summary: Get courier account
|
|
@@ -983,7 +986,7 @@ class Serviceability {
|
|
|
983
986
|
|
|
984
987
|
const {
|
|
985
988
|
error: res_error,
|
|
986
|
-
} = ServiceabilityPlatformModel.
|
|
989
|
+
} = ServiceabilityPlatformModel.CourierAccountResponse().validate(
|
|
987
990
|
responseData,
|
|
988
991
|
{ abortEarly: false, allowUnknown: true }
|
|
989
992
|
);
|
|
@@ -1008,7 +1011,7 @@ class Serviceability {
|
|
|
1008
1011
|
*
|
|
1009
1012
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1010
1013
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1011
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1014
|
+
* @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>}
|
|
1012
1015
|
* - Success response
|
|
1013
1016
|
*
|
|
1014
1017
|
* @name getCourierPartnerAccounts
|
|
@@ -1083,7 +1086,7 @@ class Serviceability {
|
|
|
1083
1086
|
|
|
1084
1087
|
const {
|
|
1085
1088
|
error: res_error,
|
|
1086
|
-
} = ServiceabilityPlatformModel.
|
|
1089
|
+
} = ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse().validate(
|
|
1087
1090
|
responseData,
|
|
1088
1091
|
{ abortEarly: false, allowUnknown: true }
|
|
1089
1092
|
);
|
|
@@ -1106,8 +1109,9 @@ class Serviceability {
|
|
|
1106
1109
|
* @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
1107
1110
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1108
1111
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1109
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1110
|
-
* Success response
|
|
1112
|
+
* @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>}
|
|
1113
|
+
* - Success response
|
|
1114
|
+
*
|
|
1111
1115
|
* @name getOptimalLocations
|
|
1112
1116
|
* @summary: Get selling locations
|
|
1113
1117
|
* @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getOptimalLocations/).
|
|
@@ -1165,7 +1169,7 @@ class Serviceability {
|
|
|
1165
1169
|
|
|
1166
1170
|
const {
|
|
1167
1171
|
error: res_error,
|
|
1168
|
-
} = ServiceabilityPlatformModel.
|
|
1172
|
+
} = ServiceabilityPlatformModel.OptimalLocationsResponse().validate(
|
|
1169
1173
|
responseData,
|
|
1170
1174
|
{ abortEarly: false, allowUnknown: true }
|
|
1171
1175
|
);
|
|
@@ -1289,7 +1293,7 @@ class Serviceability {
|
|
|
1289
1293
|
*
|
|
1290
1294
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1291
1295
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1292
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1296
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
1293
1297
|
* Success response
|
|
1294
1298
|
* @name getPackageMaterialRule
|
|
1295
1299
|
* @summary: Get packaging material rule
|
|
@@ -1348,10 +1352,10 @@ class Serviceability {
|
|
|
1348
1352
|
|
|
1349
1353
|
const {
|
|
1350
1354
|
error: res_error,
|
|
1351
|
-
} = ServiceabilityPlatformModel.
|
|
1352
|
-
|
|
1353
|
-
allowUnknown: true
|
|
1354
|
-
|
|
1355
|
+
} = ServiceabilityPlatformModel.PackageRuleResponse().validate(
|
|
1356
|
+
responseData,
|
|
1357
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1358
|
+
);
|
|
1355
1359
|
|
|
1356
1360
|
if (res_error) {
|
|
1357
1361
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1463,8 +1467,9 @@ class Serviceability {
|
|
|
1463
1467
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
|
|
1464
1468
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1465
1469
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1466
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1467
|
-
* Success response
|
|
1470
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
|
|
1471
|
+
* - Success response
|
|
1472
|
+
*
|
|
1468
1473
|
* @name getPackageMaterials
|
|
1469
1474
|
* @summary: Get packaging material
|
|
1470
1475
|
* @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
|
|
@@ -1522,7 +1527,7 @@ class Serviceability {
|
|
|
1522
1527
|
|
|
1523
1528
|
const {
|
|
1524
1529
|
error: res_error,
|
|
1525
|
-
} = ServiceabilityPlatformModel.
|
|
1530
|
+
} = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
|
|
1526
1531
|
responseData,
|
|
1527
1532
|
{ abortEarly: false, allowUnknown: true }
|
|
1528
1533
|
);
|
|
@@ -1713,7 +1718,7 @@ class Serviceability {
|
|
|
1713
1718
|
* @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
|
|
1714
1719
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1715
1720
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1716
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1721
|
+
* @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
|
|
1717
1722
|
* @name getZones
|
|
1718
1723
|
* @summary: Get zones
|
|
1719
1724
|
* @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
|
|
@@ -1809,7 +1814,7 @@ class Serviceability {
|
|
|
1809
1814
|
|
|
1810
1815
|
const {
|
|
1811
1816
|
error: res_error,
|
|
1812
|
-
} = ServiceabilityPlatformModel.
|
|
1817
|
+
} = ServiceabilityPlatformModel.ListViewResponse().validate(responseData, {
|
|
1813
1818
|
abortEarly: false,
|
|
1814
1819
|
allowUnknown: true,
|
|
1815
1820
|
});
|
|
@@ -1917,7 +1922,7 @@ class Serviceability {
|
|
|
1917
1922
|
*
|
|
1918
1923
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1919
1924
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1920
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1925
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
|
|
1921
1926
|
* Success response
|
|
1922
1927
|
* @name updateCourierPartnerAccount
|
|
1923
1928
|
* @summary: Update courier account
|
|
@@ -1978,7 +1983,7 @@ class Serviceability {
|
|
|
1978
1983
|
|
|
1979
1984
|
const {
|
|
1980
1985
|
error: res_error,
|
|
1981
|
-
} = ServiceabilityPlatformModel.
|
|
1986
|
+
} = ServiceabilityPlatformModel.CourierAccountResponse().validate(
|
|
1982
1987
|
responseData,
|
|
1983
1988
|
{ abortEarly: false, allowUnknown: true }
|
|
1984
1989
|
);
|
|
@@ -2003,7 +2008,7 @@ class Serviceability {
|
|
|
2003
2008
|
*
|
|
2004
2009
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2005
2010
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2006
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
2011
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
|
|
2007
2012
|
* Success response
|
|
2008
2013
|
* @name updatePackageMaterialRule
|
|
2009
2014
|
* @summary: Update packaging rule
|
|
@@ -2064,10 +2069,10 @@ class Serviceability {
|
|
|
2064
2069
|
|
|
2065
2070
|
const {
|
|
2066
2071
|
error: res_error,
|
|
2067
|
-
} = ServiceabilityPlatformModel.
|
|
2068
|
-
|
|
2069
|
-
allowUnknown: true
|
|
2070
|
-
|
|
2072
|
+
} = ServiceabilityPlatformModel.PackageRuleResponse().validate(
|
|
2073
|
+
responseData,
|
|
2074
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2075
|
+
);
|
|
2071
2076
|
|
|
2072
2077
|
if (res_error) {
|
|
2073
2078
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2089,8 +2094,9 @@ class Serviceability {
|
|
|
2089
2094
|
*
|
|
2090
2095
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2091
2096
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2092
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
2093
|
-
* Success response
|
|
2097
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
|
|
2098
|
+
* - Success response
|
|
2099
|
+
*
|
|
2094
2100
|
* @name updatePackageMaterials
|
|
2095
2101
|
* @summary: Update packaging material
|
|
2096
2102
|
* @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
|
|
@@ -2150,7 +2156,7 @@ class Serviceability {
|
|
|
2150
2156
|
|
|
2151
2157
|
const {
|
|
2152
2158
|
error: res_error,
|
|
2153
|
-
} = ServiceabilityPlatformModel.
|
|
2159
|
+
} = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
|
|
2154
2160
|
responseData,
|
|
2155
2161
|
{ abortEarly: false, allowUnknown: true }
|
|
2156
2162
|
);
|
|
@@ -2263,7 +2269,7 @@ class Serviceability {
|
|
|
2263
2269
|
* @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
|
|
2264
2270
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2265
2271
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2266
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
2272
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
|
|
2267
2273
|
* Success response
|
|
2268
2274
|
* @name updateZoneById
|
|
2269
2275
|
* @summary: Update a zone
|
|
@@ -2322,10 +2328,10 @@ class Serviceability {
|
|
|
2322
2328
|
|
|
2323
2329
|
const {
|
|
2324
2330
|
error: res_error,
|
|
2325
|
-
} = ServiceabilityPlatformModel.
|
|
2326
|
-
|
|
2327
|
-
allowUnknown: true
|
|
2328
|
-
|
|
2331
|
+
} = ServiceabilityPlatformModel.ZoneSuccessResponse().validate(
|
|
2332
|
+
responseData,
|
|
2333
|
+
{ abortEarly: false, allowUnknown: true }
|
|
2334
|
+
);
|
|
2329
2335
|
|
|
2330
2336
|
if (res_error) {
|
|
2331
2337
|
if (this.config.options.strictResponseCheck === true) {
|