@gofynd/fdk-client-javascript 1.4.13 → 1.4.14
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 +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
- package/sdk/application/Content/ContentApplicationModel.js +83 -32
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- 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 +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
- package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- 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 +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
- package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
- package/sdk/platform/Order/OrderPlatformClient.js +589 -229
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
- package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
- package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- 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 +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/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/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -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.BulkRegionResultItemData>}
|
|
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.BulkRegionResultItemData>;
|
|
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.BulkRegionResultItemData>}
|
|
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.BulkRegionResultItemData>;
|
|
30
30
|
/**
|
|
31
31
|
* @param {ServiceabilityPlatformValidator.CreateCourierPartnerAccountParam} arg
|
|
32
32
|
* - Arg object
|
|
@@ -45,72 +45,69 @@ 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
|
-
*
|
|
50
|
-
*
|
|
48
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
|
|
49
|
+
* Success response
|
|
51
50
|
* @name createPackageMaterial
|
|
52
51
|
* @summary: Create packaging material
|
|
53
52
|
* @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
|
|
54
53
|
*/
|
|
55
|
-
createPackageMaterial({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
54
|
+
createPackageMaterial({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
|
|
56
55
|
/**
|
|
57
56
|
* @param {ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam} arg
|
|
58
57
|
* - Arg object
|
|
59
58
|
*
|
|
60
59
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
61
60
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
62
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
61
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
|
|
63
62
|
* Success response
|
|
64
63
|
* @name createPackageMaterialRule
|
|
65
64
|
* @summary: Create packaging rule
|
|
66
65
|
* @description: Creates a packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterialRule/).
|
|
67
66
|
*/
|
|
68
|
-
createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
67
|
+
createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
|
|
69
68
|
/**
|
|
70
69
|
* @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
|
|
71
70
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
72
71
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
73
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
72
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneResult>} - Success response
|
|
74
73
|
* @name createZone
|
|
75
74
|
* @summary: Create zone
|
|
76
75
|
* @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
|
|
77
76
|
*/
|
|
78
|
-
createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
77
|
+
createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneResult>;
|
|
79
78
|
/**
|
|
80
79
|
* @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
|
|
81
80
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
82
81
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
83
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
82
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResult>} -
|
|
84
83
|
* Success response
|
|
85
84
|
* @name getAllStores
|
|
86
85
|
* @summary: Get all stores
|
|
87
86
|
* @description: Retrieves a list of locations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getAllStores/).
|
|
88
87
|
*/
|
|
89
|
-
getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
88
|
+
getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoresViewResult>;
|
|
90
89
|
/**
|
|
91
90
|
* @param {ServiceabilityPlatformValidator.GetBulkServiceabilityParam} arg
|
|
92
91
|
* - Arg object
|
|
93
92
|
*
|
|
94
93
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
94
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
97
|
-
* Success response
|
|
95
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
98
96
|
* @name getBulkServiceability
|
|
99
97
|
* @summary: Bulk update history
|
|
100
98
|
* @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/).
|
|
101
99
|
*/
|
|
102
|
-
getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
100
|
+
getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResult>;
|
|
103
101
|
/**
|
|
104
102
|
* @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
|
|
105
103
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
106
104
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
107
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
108
|
-
* Success response
|
|
105
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
109
106
|
* @name getBulkTat
|
|
110
107
|
* @summary: Locality TAT change history
|
|
111
108
|
* @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/).
|
|
112
109
|
*/
|
|
113
|
-
getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
110
|
+
getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResult>;
|
|
114
111
|
/**
|
|
115
112
|
* @param {ServiceabilityPlatformValidator.GetCompanyConfigurationParam} arg
|
|
116
113
|
* - Arg object
|
|
@@ -129,39 +126,38 @@ declare class Serviceability {
|
|
|
129
126
|
*
|
|
130
127
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
131
128
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
132
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
129
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
|
|
133
130
|
* Success response
|
|
134
131
|
* @name getCourierPartnerAccount
|
|
135
132
|
* @summary: Get courier account
|
|
136
133
|
* @description: Retrieves a single courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccount/).
|
|
137
134
|
*/
|
|
138
|
-
getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
135
|
+
getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResult>;
|
|
139
136
|
/**
|
|
140
137
|
* @param {ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam} arg
|
|
141
138
|
* - Arg object
|
|
142
139
|
*
|
|
143
140
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
144
141
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
145
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
142
|
+
* @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>}
|
|
146
143
|
* - Success response
|
|
147
144
|
*
|
|
148
145
|
* @name getCourierPartnerAccounts
|
|
149
146
|
* @summary: List courier accounts
|
|
150
147
|
* @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccounts/).
|
|
151
148
|
*/
|
|
152
|
-
getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
149
|
+
getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>;
|
|
153
150
|
/**
|
|
154
151
|
* @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
155
152
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
156
153
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
157
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
158
|
-
*
|
|
159
|
-
*
|
|
154
|
+
* @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResult>} -
|
|
155
|
+
* Success response
|
|
160
156
|
* @name getOptimalLocations
|
|
161
157
|
* @summary: Get selling locations
|
|
162
158
|
* @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/).
|
|
163
159
|
*/
|
|
164
|
-
getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
160
|
+
getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.OptimalLocationsResult>;
|
|
165
161
|
/**
|
|
166
162
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialListParam} arg
|
|
167
163
|
* - Arg object
|
|
@@ -181,13 +177,13 @@ declare class Serviceability {
|
|
|
181
177
|
*
|
|
182
178
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
183
179
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
184
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
180
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
|
|
185
181
|
* Success response
|
|
186
182
|
* @name getPackageMaterialRule
|
|
187
183
|
* @summary: Get packaging material rule
|
|
188
184
|
* @description: Retrieve packaging rule details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterialRule/).
|
|
189
185
|
*/
|
|
190
|
-
getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
186
|
+
getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
|
|
191
187
|
/**
|
|
192
188
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialRulesParam} arg
|
|
193
189
|
* - Arg object
|
|
@@ -206,14 +202,13 @@ declare class Serviceability {
|
|
|
206
202
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
|
|
207
203
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
208
204
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
209
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
210
|
-
*
|
|
211
|
-
*
|
|
205
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
|
|
206
|
+
* Success response
|
|
212
207
|
* @name getPackageMaterials
|
|
213
208
|
* @summary: Get packaging material
|
|
214
209
|
* @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
|
|
215
210
|
*/
|
|
216
|
-
getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
211
|
+
getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
|
|
217
212
|
/**
|
|
218
213
|
* @param {ServiceabilityPlatformValidator.GetServiceabilityParam} arg - Arg object
|
|
219
214
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -240,12 +235,12 @@ declare class Serviceability {
|
|
|
240
235
|
* @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
|
|
241
236
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
242
237
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
243
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
238
|
+
* @returns {Promise<ServiceabilityPlatformModel.ListViewResult>} - Success response
|
|
244
239
|
* @name getZones
|
|
245
240
|
* @summary: Get zones
|
|
246
241
|
* @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
|
|
247
242
|
*/
|
|
248
|
-
getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
243
|
+
getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResult>;
|
|
249
244
|
/**
|
|
250
245
|
* @param {ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam} arg
|
|
251
246
|
* - Arg object
|
|
@@ -264,40 +259,39 @@ declare class Serviceability {
|
|
|
264
259
|
*
|
|
265
260
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
266
261
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
267
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
262
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
|
|
268
263
|
* Success response
|
|
269
264
|
* @name updateCourierPartnerAccount
|
|
270
265
|
* @summary: Update courier account
|
|
271
266
|
* @description: Updates an existing courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCourierPartnerAccount/).
|
|
272
267
|
*/
|
|
273
|
-
updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
268
|
+
updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResult>;
|
|
274
269
|
/**
|
|
275
270
|
* @param {ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam} arg
|
|
276
271
|
* - Arg object
|
|
277
272
|
*
|
|
278
273
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
279
274
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
280
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
275
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
|
|
281
276
|
* Success response
|
|
282
277
|
* @name updatePackageMaterialRule
|
|
283
278
|
* @summary: Update packaging rule
|
|
284
279
|
* @description: Update an existing packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterialRule/).
|
|
285
280
|
*/
|
|
286
|
-
updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
281
|
+
updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
|
|
287
282
|
/**
|
|
288
283
|
* @param {ServiceabilityPlatformValidator.UpdatePackageMaterialsParam} arg
|
|
289
284
|
* - Arg object
|
|
290
285
|
*
|
|
291
286
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
292
287
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
293
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
294
|
-
*
|
|
295
|
-
*
|
|
288
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
|
|
289
|
+
* Success response
|
|
296
290
|
* @name updatePackageMaterials
|
|
297
291
|
* @summary: Update packaging material
|
|
298
292
|
* @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
|
|
299
293
|
*/
|
|
300
|
-
updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
294
|
+
updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
|
|
301
295
|
/**
|
|
302
296
|
* @param {ServiceabilityPlatformValidator.UpdateServiceabilityParam} arg - Arg object
|
|
303
297
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -313,13 +307,13 @@ declare class Serviceability {
|
|
|
313
307
|
* @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
|
|
314
308
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
315
309
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
316
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
310
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResult>} -
|
|
317
311
|
* Success response
|
|
318
312
|
* @name updateZoneById
|
|
319
313
|
* @summary: Update a zone
|
|
320
314
|
* @description: Update an existing delivery zone . - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateZoneById/).
|
|
321
315
|
*/
|
|
322
|
-
updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.
|
|
316
|
+
updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSuccessResult>;
|
|
323
317
|
}
|
|
324
318
|
import ServiceabilityPlatformValidator = require("./ServiceabilityPlatformValidator");
|
|
325
319
|
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.BulkRegionResultItemData>}
|
|
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.BulkRegionResultItemData().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.BulkRegionResultItemData>}
|
|
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.BulkRegionResultItemData().validate(
|
|
172
172
|
responseData,
|
|
173
173
|
{ abortEarly: false, allowUnknown: true }
|
|
174
174
|
);
|
|
@@ -276,9 +276,8 @@ 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
|
-
*
|
|
281
|
-
*
|
|
279
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
|
|
280
|
+
* Success response
|
|
282
281
|
* @name createPackageMaterial
|
|
283
282
|
* @summary: Create packaging material
|
|
284
283
|
* @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
|
|
@@ -336,7 +335,7 @@ class Serviceability {
|
|
|
336
335
|
|
|
337
336
|
const {
|
|
338
337
|
error: res_error,
|
|
339
|
-
} = ServiceabilityPlatformModel.
|
|
338
|
+
} = ServiceabilityPlatformModel.PackageMaterialResult().validate(
|
|
340
339
|
responseData,
|
|
341
340
|
{ abortEarly: false, allowUnknown: true }
|
|
342
341
|
);
|
|
@@ -361,7 +360,7 @@ class Serviceability {
|
|
|
361
360
|
*
|
|
362
361
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
363
362
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
364
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
363
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
|
|
365
364
|
* Success response
|
|
366
365
|
* @name createPackageMaterialRule
|
|
367
366
|
* @summary: Create packaging rule
|
|
@@ -420,10 +419,10 @@ class Serviceability {
|
|
|
420
419
|
|
|
421
420
|
const {
|
|
422
421
|
error: res_error,
|
|
423
|
-
} = ServiceabilityPlatformModel.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
);
|
|
422
|
+
} = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
|
|
423
|
+
abortEarly: false,
|
|
424
|
+
allowUnknown: true,
|
|
425
|
+
});
|
|
427
426
|
|
|
428
427
|
if (res_error) {
|
|
429
428
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -443,7 +442,7 @@ class Serviceability {
|
|
|
443
442
|
* @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
|
|
444
443
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
445
444
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
446
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
445
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneResult>} - Success response
|
|
447
446
|
* @name createZone
|
|
448
447
|
* @summary: Create zone
|
|
449
448
|
* @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
|
|
@@ -499,7 +498,7 @@ class Serviceability {
|
|
|
499
498
|
|
|
500
499
|
const {
|
|
501
500
|
error: res_error,
|
|
502
|
-
} = ServiceabilityPlatformModel.
|
|
501
|
+
} = ServiceabilityPlatformModel.ZoneResult().validate(responseData, {
|
|
503
502
|
abortEarly: false,
|
|
504
503
|
allowUnknown: true,
|
|
505
504
|
});
|
|
@@ -522,7 +521,7 @@ class Serviceability {
|
|
|
522
521
|
* @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
|
|
523
522
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
524
523
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
525
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
524
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResult>} -
|
|
526
525
|
* Success response
|
|
527
526
|
* @name getAllStores
|
|
528
527
|
* @summary: Get all stores
|
|
@@ -575,7 +574,7 @@ class Serviceability {
|
|
|
575
574
|
|
|
576
575
|
const {
|
|
577
576
|
error: res_error,
|
|
578
|
-
} = ServiceabilityPlatformModel.
|
|
577
|
+
} = ServiceabilityPlatformModel.GetStoresViewResult().validate(
|
|
579
578
|
responseData,
|
|
580
579
|
{ abortEarly: false, allowUnknown: true }
|
|
581
580
|
);
|
|
@@ -600,8 +599,7 @@ class Serviceability {
|
|
|
600
599
|
*
|
|
601
600
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
602
601
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
603
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
604
|
-
* Success response
|
|
602
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
605
603
|
* @name getBulkServiceability
|
|
606
604
|
* @summary: Bulk update history
|
|
607
605
|
* @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/).
|
|
@@ -701,10 +699,10 @@ class Serviceability {
|
|
|
701
699
|
|
|
702
700
|
const {
|
|
703
701
|
error: res_error,
|
|
704
|
-
} = ServiceabilityPlatformModel.
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
);
|
|
702
|
+
} = ServiceabilityPlatformModel.BulkRegionResult().validate(responseData, {
|
|
703
|
+
abortEarly: false,
|
|
704
|
+
allowUnknown: true,
|
|
705
|
+
});
|
|
708
706
|
|
|
709
707
|
if (res_error) {
|
|
710
708
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -724,8 +722,7 @@ class Serviceability {
|
|
|
724
722
|
* @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
|
|
725
723
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
726
724
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
727
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
728
|
-
* Success response
|
|
725
|
+
* @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
|
|
729
726
|
* @name getBulkTat
|
|
730
727
|
* @summary: Locality TAT change history
|
|
731
728
|
* @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/).
|
|
@@ -823,10 +820,10 @@ class Serviceability {
|
|
|
823
820
|
|
|
824
821
|
const {
|
|
825
822
|
error: res_error,
|
|
826
|
-
} = ServiceabilityPlatformModel.
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
);
|
|
823
|
+
} = ServiceabilityPlatformModel.BulkRegionResult().validate(responseData, {
|
|
824
|
+
abortEarly: false,
|
|
825
|
+
allowUnknown: true,
|
|
826
|
+
});
|
|
830
827
|
|
|
831
828
|
if (res_error) {
|
|
832
829
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -927,7 +924,7 @@ class Serviceability {
|
|
|
927
924
|
*
|
|
928
925
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
929
926
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
930
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
927
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
|
|
931
928
|
* Success response
|
|
932
929
|
* @name getCourierPartnerAccount
|
|
933
930
|
* @summary: Get courier account
|
|
@@ -986,7 +983,7 @@ class Serviceability {
|
|
|
986
983
|
|
|
987
984
|
const {
|
|
988
985
|
error: res_error,
|
|
989
|
-
} = ServiceabilityPlatformModel.
|
|
986
|
+
} = ServiceabilityPlatformModel.CourierAccountResult().validate(
|
|
990
987
|
responseData,
|
|
991
988
|
{ abortEarly: false, allowUnknown: true }
|
|
992
989
|
);
|
|
@@ -1011,7 +1008,7 @@ class Serviceability {
|
|
|
1011
1008
|
*
|
|
1012
1009
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1013
1010
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1014
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1011
|
+
* @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>}
|
|
1015
1012
|
* - Success response
|
|
1016
1013
|
*
|
|
1017
1014
|
* @name getCourierPartnerAccounts
|
|
@@ -1086,7 +1083,7 @@ class Serviceability {
|
|
|
1086
1083
|
|
|
1087
1084
|
const {
|
|
1088
1085
|
error: res_error,
|
|
1089
|
-
} = ServiceabilityPlatformModel.
|
|
1086
|
+
} = ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult().validate(
|
|
1090
1087
|
responseData,
|
|
1091
1088
|
{ abortEarly: false, allowUnknown: true }
|
|
1092
1089
|
);
|
|
@@ -1109,9 +1106,8 @@ class Serviceability {
|
|
|
1109
1106
|
* @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
|
|
1110
1107
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1111
1108
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1112
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1109
|
+
* @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResult>} -
|
|
1110
|
+
* Success response
|
|
1115
1111
|
* @name getOptimalLocations
|
|
1116
1112
|
* @summary: Get selling locations
|
|
1117
1113
|
* @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/).
|
|
@@ -1169,7 +1165,7 @@ class Serviceability {
|
|
|
1169
1165
|
|
|
1170
1166
|
const {
|
|
1171
1167
|
error: res_error,
|
|
1172
|
-
} = ServiceabilityPlatformModel.
|
|
1168
|
+
} = ServiceabilityPlatformModel.OptimalLocationsResult().validate(
|
|
1173
1169
|
responseData,
|
|
1174
1170
|
{ abortEarly: false, allowUnknown: true }
|
|
1175
1171
|
);
|
|
@@ -1293,7 +1289,7 @@ class Serviceability {
|
|
|
1293
1289
|
*
|
|
1294
1290
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1295
1291
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1296
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1292
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
|
|
1297
1293
|
* Success response
|
|
1298
1294
|
* @name getPackageMaterialRule
|
|
1299
1295
|
* @summary: Get packaging material rule
|
|
@@ -1352,10 +1348,10 @@ class Serviceability {
|
|
|
1352
1348
|
|
|
1353
1349
|
const {
|
|
1354
1350
|
error: res_error,
|
|
1355
|
-
} = ServiceabilityPlatformModel.
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
);
|
|
1351
|
+
} = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
|
|
1352
|
+
abortEarly: false,
|
|
1353
|
+
allowUnknown: true,
|
|
1354
|
+
});
|
|
1359
1355
|
|
|
1360
1356
|
if (res_error) {
|
|
1361
1357
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1467,9 +1463,8 @@ class Serviceability {
|
|
|
1467
1463
|
* @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
|
|
1468
1464
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1469
1465
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1470
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1471
|
-
*
|
|
1472
|
-
*
|
|
1466
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
|
|
1467
|
+
* Success response
|
|
1473
1468
|
* @name getPackageMaterials
|
|
1474
1469
|
* @summary: Get packaging material
|
|
1475
1470
|
* @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
|
|
@@ -1527,7 +1522,7 @@ class Serviceability {
|
|
|
1527
1522
|
|
|
1528
1523
|
const {
|
|
1529
1524
|
error: res_error,
|
|
1530
|
-
} = ServiceabilityPlatformModel.
|
|
1525
|
+
} = ServiceabilityPlatformModel.PackageMaterialResult().validate(
|
|
1531
1526
|
responseData,
|
|
1532
1527
|
{ abortEarly: false, allowUnknown: true }
|
|
1533
1528
|
);
|
|
@@ -1718,7 +1713,7 @@ class Serviceability {
|
|
|
1718
1713
|
* @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
|
|
1719
1714
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1720
1715
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1721
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1716
|
+
* @returns {Promise<ServiceabilityPlatformModel.ListViewResult>} - Success response
|
|
1722
1717
|
* @name getZones
|
|
1723
1718
|
* @summary: Get zones
|
|
1724
1719
|
* @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
|
|
@@ -1814,7 +1809,7 @@ class Serviceability {
|
|
|
1814
1809
|
|
|
1815
1810
|
const {
|
|
1816
1811
|
error: res_error,
|
|
1817
|
-
} = ServiceabilityPlatformModel.
|
|
1812
|
+
} = ServiceabilityPlatformModel.ListViewResult().validate(responseData, {
|
|
1818
1813
|
abortEarly: false,
|
|
1819
1814
|
allowUnknown: true,
|
|
1820
1815
|
});
|
|
@@ -1922,7 +1917,7 @@ class Serviceability {
|
|
|
1922
1917
|
*
|
|
1923
1918
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1924
1919
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1925
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1920
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
|
|
1926
1921
|
* Success response
|
|
1927
1922
|
* @name updateCourierPartnerAccount
|
|
1928
1923
|
* @summary: Update courier account
|
|
@@ -1983,7 +1978,7 @@ class Serviceability {
|
|
|
1983
1978
|
|
|
1984
1979
|
const {
|
|
1985
1980
|
error: res_error,
|
|
1986
|
-
} = ServiceabilityPlatformModel.
|
|
1981
|
+
} = ServiceabilityPlatformModel.CourierAccountResult().validate(
|
|
1987
1982
|
responseData,
|
|
1988
1983
|
{ abortEarly: false, allowUnknown: true }
|
|
1989
1984
|
);
|
|
@@ -2008,7 +2003,7 @@ class Serviceability {
|
|
|
2008
2003
|
*
|
|
2009
2004
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2010
2005
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2011
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
2006
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
|
|
2012
2007
|
* Success response
|
|
2013
2008
|
* @name updatePackageMaterialRule
|
|
2014
2009
|
* @summary: Update packaging rule
|
|
@@ -2069,10 +2064,10 @@ class Serviceability {
|
|
|
2069
2064
|
|
|
2070
2065
|
const {
|
|
2071
2066
|
error: res_error,
|
|
2072
|
-
} = ServiceabilityPlatformModel.
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
);
|
|
2067
|
+
} = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
|
|
2068
|
+
abortEarly: false,
|
|
2069
|
+
allowUnknown: true,
|
|
2070
|
+
});
|
|
2076
2071
|
|
|
2077
2072
|
if (res_error) {
|
|
2078
2073
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -2094,9 +2089,8 @@ class Serviceability {
|
|
|
2094
2089
|
*
|
|
2095
2090
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2096
2091
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2097
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
2098
|
-
*
|
|
2099
|
-
*
|
|
2092
|
+
* @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
|
|
2093
|
+
* Success response
|
|
2100
2094
|
* @name updatePackageMaterials
|
|
2101
2095
|
* @summary: Update packaging material
|
|
2102
2096
|
* @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
|
|
@@ -2156,7 +2150,7 @@ class Serviceability {
|
|
|
2156
2150
|
|
|
2157
2151
|
const {
|
|
2158
2152
|
error: res_error,
|
|
2159
|
-
} = ServiceabilityPlatformModel.
|
|
2153
|
+
} = ServiceabilityPlatformModel.PackageMaterialResult().validate(
|
|
2160
2154
|
responseData,
|
|
2161
2155
|
{ abortEarly: false, allowUnknown: true }
|
|
2162
2156
|
);
|
|
@@ -2269,7 +2263,7 @@ class Serviceability {
|
|
|
2269
2263
|
* @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
|
|
2270
2264
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2271
2265
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2272
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
2266
|
+
* @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResult>} -
|
|
2273
2267
|
* Success response
|
|
2274
2268
|
* @name updateZoneById
|
|
2275
2269
|
* @summary: Update a zone
|
|
@@ -2328,10 +2322,10 @@ class Serviceability {
|
|
|
2328
2322
|
|
|
2329
2323
|
const {
|
|
2330
2324
|
error: res_error,
|
|
2331
|
-
} = ServiceabilityPlatformModel.
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
);
|
|
2325
|
+
} = ServiceabilityPlatformModel.ZoneSuccessResult().validate(responseData, {
|
|
2326
|
+
abortEarly: false,
|
|
2327
|
+
allowUnknown: true,
|
|
2328
|
+
});
|
|
2335
2329
|
|
|
2336
2330
|
if (res_error) {
|
|
2337
2331
|
if (this.config.options.strictResponseCheck === true) {
|