@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
|
@@ -21,7 +21,7 @@ class Serviceability {
|
|
|
21
21
|
*
|
|
22
22
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
23
23
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
24
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
24
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
|
|
25
25
|
* - Success response
|
|
26
26
|
*
|
|
27
27
|
* @name createCourierPartnerRule
|
|
@@ -79,7 +79,7 @@ class Serviceability {
|
|
|
79
79
|
|
|
80
80
|
const {
|
|
81
81
|
error: res_error,
|
|
82
|
-
} = ServiceabilityPlatformModel.
|
|
82
|
+
} = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
|
|
83
83
|
responseData,
|
|
84
84
|
{ abortEarly: false, allowUnknown: true }
|
|
85
85
|
);
|
|
@@ -104,8 +104,9 @@ class Serviceability {
|
|
|
104
104
|
*
|
|
105
105
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
106
106
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
107
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
108
|
-
* Success response
|
|
107
|
+
* @returns {Promise<ServiceabilityPlatformModel.StoreRuleResponseSchema>}
|
|
108
|
+
* - Success response
|
|
109
|
+
*
|
|
109
110
|
* @name createStoreRules
|
|
110
111
|
* @summary: Create store rule
|
|
111
112
|
* @description: Create a rule within the order routing rules - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createStoreRules/).
|
|
@@ -161,7 +162,7 @@ class Serviceability {
|
|
|
161
162
|
|
|
162
163
|
const {
|
|
163
164
|
error: res_error,
|
|
164
|
-
} = ServiceabilityPlatformModel.
|
|
165
|
+
} = ServiceabilityPlatformModel.StoreRuleResponseSchema().validate(
|
|
165
166
|
responseData,
|
|
166
167
|
{ abortEarly: false, allowUnknown: true }
|
|
167
168
|
);
|
|
@@ -342,7 +343,7 @@ class Serviceability {
|
|
|
342
343
|
*
|
|
343
344
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
344
345
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
345
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
346
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
|
|
346
347
|
* - Success response
|
|
347
348
|
*
|
|
348
349
|
* @name getApplicationServiceabilitySelfShipment
|
|
@@ -396,7 +397,7 @@ class Serviceability {
|
|
|
396
397
|
|
|
397
398
|
const {
|
|
398
399
|
error: res_error,
|
|
399
|
-
} = ServiceabilityPlatformModel.
|
|
400
|
+
} = ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse().validate(
|
|
400
401
|
responseData,
|
|
401
402
|
{ abortEarly: false, allowUnknown: true }
|
|
402
403
|
);
|
|
@@ -421,7 +422,7 @@ class Serviceability {
|
|
|
421
422
|
*
|
|
422
423
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
423
424
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
424
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
425
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
|
|
425
426
|
* - Success response
|
|
426
427
|
*
|
|
427
428
|
* @name getCourierPartnerRule
|
|
@@ -479,7 +480,7 @@ class Serviceability {
|
|
|
479
480
|
|
|
480
481
|
const {
|
|
481
482
|
error: res_error,
|
|
482
|
-
} = ServiceabilityPlatformModel.
|
|
483
|
+
} = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
|
|
483
484
|
responseData,
|
|
484
485
|
{ abortEarly: false, allowUnknown: true }
|
|
485
486
|
);
|
|
@@ -504,7 +505,7 @@ class Serviceability {
|
|
|
504
505
|
*
|
|
505
506
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
506
507
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
507
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
508
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResponse>}
|
|
508
509
|
* - Success response
|
|
509
510
|
*
|
|
510
511
|
* @name getCourierPartnerRules
|
|
@@ -569,7 +570,7 @@ class Serviceability {
|
|
|
569
570
|
|
|
570
571
|
const {
|
|
571
572
|
error: res_error,
|
|
572
|
-
} = ServiceabilityPlatformModel.
|
|
573
|
+
} = ServiceabilityPlatformModel.CourierPartnerRulesListResponse().validate(
|
|
573
574
|
responseData,
|
|
574
575
|
{ abortEarly: false, allowUnknown: true }
|
|
575
576
|
);
|
|
@@ -588,89 +589,6 @@ class Serviceability {
|
|
|
588
589
|
return response;
|
|
589
590
|
}
|
|
590
591
|
|
|
591
|
-
/**
|
|
592
|
-
* @param {ServiceabilityPlatformApplicationValidator.GetCourierPartnersParam} arg
|
|
593
|
-
* - Arg object
|
|
594
|
-
*
|
|
595
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
596
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
597
|
-
* @returns {Promise<ServiceabilityPlatformModel.ShipmentCourierPartnerResult>}
|
|
598
|
-
* - Success response
|
|
599
|
-
*
|
|
600
|
-
* @name getCourierPartners
|
|
601
|
-
* @summary: Serviceable Courier Partners.
|
|
602
|
-
* @description: Get all the serviceable courier partners of a destination and the shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartners/).
|
|
603
|
-
*/
|
|
604
|
-
async getCourierPartners(
|
|
605
|
-
{ body, requestHeaders } = { requestHeaders: {} },
|
|
606
|
-
{ responseHeaders } = { responseHeaders: false }
|
|
607
|
-
) {
|
|
608
|
-
const {
|
|
609
|
-
error,
|
|
610
|
-
} = ServiceabilityPlatformApplicationValidator.getCourierPartners().validate(
|
|
611
|
-
{
|
|
612
|
-
body,
|
|
613
|
-
},
|
|
614
|
-
{ abortEarly: false, allowUnknown: true }
|
|
615
|
-
);
|
|
616
|
-
if (error) {
|
|
617
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
// Showing warrnings if extra unknown parameters are found
|
|
621
|
-
const {
|
|
622
|
-
error: warrning,
|
|
623
|
-
} = ServiceabilityPlatformApplicationValidator.getCourierPartners().validate(
|
|
624
|
-
{
|
|
625
|
-
body,
|
|
626
|
-
},
|
|
627
|
-
{ abortEarly: false, allowUnknown: false }
|
|
628
|
-
);
|
|
629
|
-
if (warrning) {
|
|
630
|
-
Logger({
|
|
631
|
-
level: "WARN",
|
|
632
|
-
message: `Parameter Validation warrnings for platform > Serviceability > getCourierPartners \n ${warrning}`,
|
|
633
|
-
});
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
const query_params = {};
|
|
637
|
-
|
|
638
|
-
const response = await PlatformAPIClient.execute(
|
|
639
|
-
this.config,
|
|
640
|
-
"post",
|
|
641
|
-
`/service/platform/logistics/v1.0/company/${this.config.companyId}/application/${this.applicationId}/shipment/courier-partners`,
|
|
642
|
-
query_params,
|
|
643
|
-
body,
|
|
644
|
-
requestHeaders,
|
|
645
|
-
{ responseHeaders }
|
|
646
|
-
);
|
|
647
|
-
|
|
648
|
-
let responseData = response;
|
|
649
|
-
if (responseHeaders) {
|
|
650
|
-
responseData = response[0];
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
const {
|
|
654
|
-
error: res_error,
|
|
655
|
-
} = ServiceabilityPlatformModel.ShipmentCourierPartnerResult().validate(
|
|
656
|
-
responseData,
|
|
657
|
-
{ abortEarly: false, allowUnknown: true }
|
|
658
|
-
);
|
|
659
|
-
|
|
660
|
-
if (res_error) {
|
|
661
|
-
if (this.config.options.strictResponseCheck === true) {
|
|
662
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
663
|
-
} else {
|
|
664
|
-
Logger({
|
|
665
|
-
level: "WARN",
|
|
666
|
-
message: `Response Validation Warnings for platform > Serviceability > getCourierPartners \n ${res_error}`,
|
|
667
|
-
});
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
return response;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
592
|
/**
|
|
675
593
|
* @param {ServiceabilityPlatformApplicationValidator.GetStoreRuleParam} arg
|
|
676
594
|
* - Arg object
|
|
@@ -759,8 +677,9 @@ class Serviceability {
|
|
|
759
677
|
*
|
|
760
678
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
761
679
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
762
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
763
|
-
* Success response
|
|
680
|
+
* @returns {Promise<ServiceabilityPlatformModel.GetStoreRulesApiResponse>}
|
|
681
|
+
* - Success response
|
|
682
|
+
*
|
|
764
683
|
* @name getStoreRules
|
|
765
684
|
* @summary: Get store rules
|
|
766
685
|
* @description: Retrieves an existing order routing setup for a single application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getStoreRules/).
|
|
@@ -823,7 +742,7 @@ class Serviceability {
|
|
|
823
742
|
|
|
824
743
|
const {
|
|
825
744
|
error: res_error,
|
|
826
|
-
} = ServiceabilityPlatformModel.
|
|
745
|
+
} = ServiceabilityPlatformModel.GetStoreRulesApiResponse().validate(
|
|
827
746
|
responseData,
|
|
828
747
|
{ abortEarly: false, allowUnknown: true }
|
|
829
748
|
);
|
|
@@ -930,7 +849,7 @@ class Serviceability {
|
|
|
930
849
|
*
|
|
931
850
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
932
851
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
933
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
852
|
+
* @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
|
|
934
853
|
* - Success response
|
|
935
854
|
*
|
|
936
855
|
* @name patchApplicationServiceabilitySelfShipment
|
|
@@ -988,7 +907,7 @@ class Serviceability {
|
|
|
988
907
|
|
|
989
908
|
const {
|
|
990
909
|
error: res_error,
|
|
991
|
-
} = ServiceabilityPlatformModel.
|
|
910
|
+
} = ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse().validate(
|
|
992
911
|
responseData,
|
|
993
912
|
{ abortEarly: false, allowUnknown: true }
|
|
994
913
|
);
|
|
@@ -1095,7 +1014,7 @@ class Serviceability {
|
|
|
1095
1014
|
*
|
|
1096
1015
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1097
1016
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1098
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1017
|
+
* @returns {Promise<ServiceabilityPlatformModel.RulePriorityResponse>} -
|
|
1099
1018
|
* Success response
|
|
1100
1019
|
* @name updateCourierPartnerRulePriority
|
|
1101
1020
|
* @summary: Update courier partner rule priority
|
|
@@ -1152,7 +1071,7 @@ class Serviceability {
|
|
|
1152
1071
|
|
|
1153
1072
|
const {
|
|
1154
1073
|
error: res_error,
|
|
1155
|
-
} = ServiceabilityPlatformModel.
|
|
1074
|
+
} = ServiceabilityPlatformModel.RulePriorityResponse().validate(
|
|
1156
1075
|
responseData,
|
|
1157
1076
|
{ abortEarly: false, allowUnknown: true }
|
|
1158
1077
|
);
|
|
@@ -1177,7 +1096,7 @@ class Serviceability {
|
|
|
1177
1096
|
*
|
|
1178
1097
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1179
1098
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1180
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1099
|
+
* @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
|
|
1181
1100
|
* - Success response
|
|
1182
1101
|
*
|
|
1183
1102
|
* @name updateCourierRule
|
|
@@ -1237,7 +1156,7 @@ class Serviceability {
|
|
|
1237
1156
|
|
|
1238
1157
|
const {
|
|
1239
1158
|
error: res_error,
|
|
1240
|
-
} = ServiceabilityPlatformModel.
|
|
1159
|
+
} = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
|
|
1241
1160
|
responseData,
|
|
1242
1161
|
{ abortEarly: false, allowUnknown: true }
|
|
1243
1162
|
);
|
|
@@ -1262,7 +1181,7 @@ class Serviceability {
|
|
|
1262
1181
|
*
|
|
1263
1182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1264
1183
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1265
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1184
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>}
|
|
1266
1185
|
* - Success response
|
|
1267
1186
|
*
|
|
1268
1187
|
* @name updatePincodeAuditHistory
|
|
@@ -1320,7 +1239,7 @@ class Serviceability {
|
|
|
1320
1239
|
|
|
1321
1240
|
const {
|
|
1322
1241
|
error: res_error,
|
|
1323
|
-
} = ServiceabilityPlatformModel.
|
|
1242
|
+
} = ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData().validate(
|
|
1324
1243
|
responseData,
|
|
1325
1244
|
{ abortEarly: false, allowUnknown: true }
|
|
1326
1245
|
);
|
|
@@ -1345,8 +1264,9 @@ class Serviceability {
|
|
|
1345
1264
|
*
|
|
1346
1265
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1347
1266
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1348
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1349
|
-
* Success response
|
|
1267
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>}
|
|
1268
|
+
* - Success response
|
|
1269
|
+
*
|
|
1350
1270
|
* @name updatePincodeBulkView
|
|
1351
1271
|
* @summary: Bulk update pincode COD support
|
|
1352
1272
|
* @description: Updates the cash on delivery settings for multiple specified pin codes simultaneously. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeBulkView/).
|
|
@@ -1402,7 +1322,7 @@ class Serviceability {
|
|
|
1402
1322
|
|
|
1403
1323
|
const {
|
|
1404
1324
|
error: res_error,
|
|
1405
|
-
} = ServiceabilityPlatformModel.
|
|
1325
|
+
} = ServiceabilityPlatformModel.PincodeBulkViewResponse().validate(
|
|
1406
1326
|
responseData,
|
|
1407
1327
|
{ abortEarly: false, allowUnknown: true }
|
|
1408
1328
|
);
|
|
@@ -1427,7 +1347,7 @@ class Serviceability {
|
|
|
1427
1347
|
*
|
|
1428
1348
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1429
1349
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1430
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1350
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>}
|
|
1431
1351
|
* - Success response
|
|
1432
1352
|
*
|
|
1433
1353
|
* @name updatePincodeCoDListing
|
|
@@ -1485,7 +1405,7 @@ class Serviceability {
|
|
|
1485
1405
|
|
|
1486
1406
|
const {
|
|
1487
1407
|
error: res_error,
|
|
1488
|
-
} = ServiceabilityPlatformModel.
|
|
1408
|
+
} = ServiceabilityPlatformModel.PincodeCodStatusListingResponse().validate(
|
|
1489
1409
|
responseData,
|
|
1490
1410
|
{ abortEarly: false, allowUnknown: true }
|
|
1491
1411
|
);
|
|
@@ -1510,7 +1430,8 @@ class Serviceability {
|
|
|
1510
1430
|
*
|
|
1511
1431
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1512
1432
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1513
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1433
|
+
* @returns {Promise<ServiceabilityPlatformModel.PincodeMOPresponse>} -
|
|
1434
|
+
* Success response
|
|
1514
1435
|
* @name updatePincodeMopView
|
|
1515
1436
|
* @summary: Update pincode COD support
|
|
1516
1437
|
* @description: Modify and update views related to pincode MOP (Mode of Payment). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeMopView/).
|
|
@@ -1566,10 +1487,10 @@ class Serviceability {
|
|
|
1566
1487
|
|
|
1567
1488
|
const {
|
|
1568
1489
|
error: res_error,
|
|
1569
|
-
} = ServiceabilityPlatformModel.
|
|
1570
|
-
|
|
1571
|
-
allowUnknown: true
|
|
1572
|
-
|
|
1490
|
+
} = ServiceabilityPlatformModel.PincodeMOPresponse().validate(
|
|
1491
|
+
responseData,
|
|
1492
|
+
{ abortEarly: false, allowUnknown: true }
|
|
1493
|
+
);
|
|
1573
1494
|
|
|
1574
1495
|
if (res_error) {
|
|
1575
1496
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1591,7 +1512,7 @@ class Serviceability {
|
|
|
1591
1512
|
*
|
|
1592
1513
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1593
1514
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1594
|
-
* @returns {Promise<ServiceabilityPlatformModel.
|
|
1515
|
+
* @returns {Promise<ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema>}
|
|
1595
1516
|
* - Success response
|
|
1596
1517
|
*
|
|
1597
1518
|
* @name updateStoreRules
|
|
@@ -1651,7 +1572,7 @@ class Serviceability {
|
|
|
1651
1572
|
|
|
1652
1573
|
const {
|
|
1653
1574
|
error: res_error,
|
|
1654
|
-
} = ServiceabilityPlatformModel.
|
|
1575
|
+
} = ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema().validate(
|
|
1655
1576
|
responseData,
|
|
1656
1577
|
{ abortEarly: false, allowUnknown: true }
|
|
1657
1578
|
);
|
|
@@ -5,7 +5,7 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* @typedef CreateStoreRulesParam
|
|
8
|
-
* @property {ServiceabilityPlatformModel.
|
|
8
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
9
9
|
*/
|
|
10
10
|
/** @typedef GetApplicationConfigParam */
|
|
11
11
|
/** @typedef GetApplicationConfigurationParam */
|
|
@@ -20,10 +20,6 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
20
20
|
* @property {number} [pageSize] - Determines the items to be displayed in a page
|
|
21
21
|
* @property {string} [status] - Filter rules based on rule status
|
|
22
22
|
*/
|
|
23
|
-
/**
|
|
24
|
-
* @typedef GetCourierPartnersParam
|
|
25
|
-
* @property {ServiceabilityPlatformModel.ShipmentCourierPartnerDetails} body
|
|
26
|
-
*/
|
|
27
23
|
/**
|
|
28
24
|
* @typedef GetStoreRuleParam
|
|
29
25
|
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
@@ -41,7 +37,7 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
41
37
|
*/
|
|
42
38
|
/**
|
|
43
39
|
* @typedef PatchApplicationServiceabilitySelfShipmentParam
|
|
44
|
-
* @property {ServiceabilityPlatformModel.
|
|
40
|
+
* @property {ServiceabilityPlatformModel.SelfShipResponse} body
|
|
45
41
|
*/
|
|
46
42
|
/**
|
|
47
43
|
* @typedef UpdateApplicationConfigurationParam
|
|
@@ -49,7 +45,7 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
49
45
|
*/
|
|
50
46
|
/**
|
|
51
47
|
* @typedef UpdateCourierPartnerRulePriorityParam
|
|
52
|
-
* @property {ServiceabilityPlatformModel.
|
|
48
|
+
* @property {ServiceabilityPlatformModel.RulePriorityRequest} body
|
|
53
49
|
*/
|
|
54
50
|
/**
|
|
55
51
|
* @typedef UpdateCourierRuleParam
|
|
@@ -58,7 +54,7 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
58
54
|
*/
|
|
59
55
|
/**
|
|
60
56
|
* @typedef UpdatePincodeAuditHistoryParam
|
|
61
|
-
* @property {ServiceabilityPlatformModel.
|
|
57
|
+
* @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest} body
|
|
62
58
|
*/
|
|
63
59
|
/**
|
|
64
60
|
* @typedef UpdatePincodeBulkViewParam
|
|
@@ -66,7 +62,7 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
66
62
|
*/
|
|
67
63
|
/**
|
|
68
64
|
* @typedef UpdatePincodeCoDListingParam
|
|
69
|
-
* @property {ServiceabilityPlatformModel.
|
|
65
|
+
* @property {ServiceabilityPlatformModel.PincodeCodStatusListingRequest} body
|
|
70
66
|
*/
|
|
71
67
|
/**
|
|
72
68
|
* @typedef UpdatePincodeMopViewParam
|
|
@@ -76,7 +72,7 @@ export = ServiceabilityPlatformApplicationValidator;
|
|
|
76
72
|
* @typedef UpdateStoreRulesParam
|
|
77
73
|
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
78
74
|
* particular rule object.
|
|
79
|
-
* @property {ServiceabilityPlatformModel.
|
|
75
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
80
76
|
*/
|
|
81
77
|
/**
|
|
82
78
|
* @typedef UpdateStoreRulesConfigParam
|
|
@@ -97,8 +93,6 @@ declare class ServiceabilityPlatformApplicationValidator {
|
|
|
97
93
|
static getCourierPartnerRule(): GetCourierPartnerRuleParam;
|
|
98
94
|
/** @returns {GetCourierPartnerRulesParam} */
|
|
99
95
|
static getCourierPartnerRules(): GetCourierPartnerRulesParam;
|
|
100
|
-
/** @returns {GetCourierPartnersParam} */
|
|
101
|
-
static getCourierPartners(): GetCourierPartnersParam;
|
|
102
96
|
/** @returns {GetStoreRuleParam} */
|
|
103
97
|
static getStoreRule(): GetStoreRuleParam;
|
|
104
98
|
/** @returns {GetStoreRulesParam} */
|
|
@@ -127,13 +121,13 @@ declare class ServiceabilityPlatformApplicationValidator {
|
|
|
127
121
|
static updateStoreRulesConfig(): UpdateStoreRulesConfigParam;
|
|
128
122
|
}
|
|
129
123
|
declare namespace ServiceabilityPlatformApplicationValidator {
|
|
130
|
-
export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam,
|
|
124
|
+
export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetStoreRuleParam, GetStoreRulesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
|
|
131
125
|
}
|
|
132
126
|
type CreateCourierPartnerRuleParam = {
|
|
133
127
|
body: ServiceabilityPlatformModel.CourierPartnerRule;
|
|
134
128
|
};
|
|
135
129
|
type CreateStoreRulesParam = {
|
|
136
|
-
body: ServiceabilityPlatformModel.
|
|
130
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
|
|
137
131
|
};
|
|
138
132
|
type GetCourierPartnerRuleParam = {
|
|
139
133
|
/**
|
|
@@ -155,9 +149,6 @@ type GetCourierPartnerRulesParam = {
|
|
|
155
149
|
*/
|
|
156
150
|
status?: string;
|
|
157
151
|
};
|
|
158
|
-
type GetCourierPartnersParam = {
|
|
159
|
-
body: ServiceabilityPlatformModel.ShipmentCourierPartnerDetails;
|
|
160
|
-
};
|
|
161
152
|
type GetStoreRuleParam = {
|
|
162
153
|
/**
|
|
163
154
|
* - A `rule_uid` is a unique identifier for a
|
|
@@ -174,13 +165,13 @@ type InsertApplicationConfigParam = {
|
|
|
174
165
|
body: ServiceabilityPlatformModel.StoreRuleConfigData;
|
|
175
166
|
};
|
|
176
167
|
type PatchApplicationServiceabilitySelfShipmentParam = {
|
|
177
|
-
body: ServiceabilityPlatformModel.
|
|
168
|
+
body: ServiceabilityPlatformModel.SelfShipResponse;
|
|
178
169
|
};
|
|
179
170
|
type UpdateApplicationConfigurationParam = {
|
|
180
171
|
body: ServiceabilityPlatformModel.ApplicationConfig;
|
|
181
172
|
};
|
|
182
173
|
type UpdateCourierPartnerRulePriorityParam = {
|
|
183
|
-
body: ServiceabilityPlatformModel.
|
|
174
|
+
body: ServiceabilityPlatformModel.RulePriorityRequest;
|
|
184
175
|
};
|
|
185
176
|
type UpdateCourierRuleParam = {
|
|
186
177
|
/**
|
|
@@ -190,13 +181,13 @@ type UpdateCourierRuleParam = {
|
|
|
190
181
|
body: ServiceabilityPlatformModel.CourierPartnerRule;
|
|
191
182
|
};
|
|
192
183
|
type UpdatePincodeAuditHistoryParam = {
|
|
193
|
-
body: ServiceabilityPlatformModel.
|
|
184
|
+
body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest;
|
|
194
185
|
};
|
|
195
186
|
type UpdatePincodeBulkViewParam = {
|
|
196
187
|
body: ServiceabilityPlatformModel.PincodeMopBulkData;
|
|
197
188
|
};
|
|
198
189
|
type UpdatePincodeCoDListingParam = {
|
|
199
|
-
body: ServiceabilityPlatformModel.
|
|
190
|
+
body: ServiceabilityPlatformModel.PincodeCodStatusListingRequest;
|
|
200
191
|
};
|
|
201
192
|
type UpdatePincodeMopViewParam = {
|
|
202
193
|
body: ServiceabilityPlatformModel.PincodeMopData;
|
|
@@ -207,7 +198,7 @@ type UpdateStoreRulesParam = {
|
|
|
207
198
|
* particular rule object.
|
|
208
199
|
*/
|
|
209
200
|
ruleUid: string;
|
|
210
|
-
body: ServiceabilityPlatformModel.
|
|
201
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
|
|
211
202
|
};
|
|
212
203
|
type UpdateStoreRulesConfigParam = {
|
|
213
204
|
body: ServiceabilityPlatformModel.StoreRuleConfigData;
|
|
@@ -9,7 +9,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @typedef CreateStoreRulesParam
|
|
12
|
-
* @property {ServiceabilityPlatformModel.
|
|
12
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/** @typedef GetApplicationConfigParam */
|
|
@@ -30,11 +30,6 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
30
30
|
* @property {string} [status] - Filter rules based on rule status
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* @typedef GetCourierPartnersParam
|
|
35
|
-
* @property {ServiceabilityPlatformModel.ShipmentCourierPartnerDetails} body
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
33
|
/**
|
|
39
34
|
* @typedef GetStoreRuleParam
|
|
40
35
|
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
@@ -55,7 +50,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
55
50
|
|
|
56
51
|
/**
|
|
57
52
|
* @typedef PatchApplicationServiceabilitySelfShipmentParam
|
|
58
|
-
* @property {ServiceabilityPlatformModel.
|
|
53
|
+
* @property {ServiceabilityPlatformModel.SelfShipResponse} body
|
|
59
54
|
*/
|
|
60
55
|
|
|
61
56
|
/**
|
|
@@ -65,7 +60,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
65
60
|
|
|
66
61
|
/**
|
|
67
62
|
* @typedef UpdateCourierPartnerRulePriorityParam
|
|
68
|
-
* @property {ServiceabilityPlatformModel.
|
|
63
|
+
* @property {ServiceabilityPlatformModel.RulePriorityRequest} body
|
|
69
64
|
*/
|
|
70
65
|
|
|
71
66
|
/**
|
|
@@ -76,7 +71,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
76
71
|
|
|
77
72
|
/**
|
|
78
73
|
* @typedef UpdatePincodeAuditHistoryParam
|
|
79
|
-
* @property {ServiceabilityPlatformModel.
|
|
74
|
+
* @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest} body
|
|
80
75
|
*/
|
|
81
76
|
|
|
82
77
|
/**
|
|
@@ -86,7 +81,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
86
81
|
|
|
87
82
|
/**
|
|
88
83
|
* @typedef UpdatePincodeCoDListingParam
|
|
89
|
-
* @property {ServiceabilityPlatformModel.
|
|
84
|
+
* @property {ServiceabilityPlatformModel.PincodeCodStatusListingRequest} body
|
|
90
85
|
*/
|
|
91
86
|
|
|
92
87
|
/**
|
|
@@ -98,7 +93,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
|
|
|
98
93
|
* @typedef UpdateStoreRulesParam
|
|
99
94
|
* @property {string} ruleUid - A `rule_uid` is a unique identifier for a
|
|
100
95
|
* particular rule object.
|
|
101
|
-
* @property {ServiceabilityPlatformModel.
|
|
96
|
+
* @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
|
|
102
97
|
*/
|
|
103
98
|
|
|
104
99
|
/**
|
|
@@ -117,7 +112,7 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
117
112
|
/** @returns {CreateStoreRulesParam} */
|
|
118
113
|
static createStoreRules() {
|
|
119
114
|
return Joi.object({
|
|
120
|
-
body: ServiceabilityPlatformModel.
|
|
115
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema().required(),
|
|
121
116
|
}).required();
|
|
122
117
|
}
|
|
123
118
|
|
|
@@ -152,13 +147,6 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
152
147
|
}).required();
|
|
153
148
|
}
|
|
154
149
|
|
|
155
|
-
/** @returns {GetCourierPartnersParam} */
|
|
156
|
-
static getCourierPartners() {
|
|
157
|
-
return Joi.object({
|
|
158
|
-
body: ServiceabilityPlatformModel.ShipmentCourierPartnerDetails().required(),
|
|
159
|
-
}).required();
|
|
160
|
-
}
|
|
161
|
-
|
|
162
150
|
/** @returns {GetStoreRuleParam} */
|
|
163
151
|
static getStoreRule() {
|
|
164
152
|
return Joi.object({
|
|
@@ -185,7 +173,7 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
185
173
|
/** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
|
|
186
174
|
static patchApplicationServiceabilitySelfShipment() {
|
|
187
175
|
return Joi.object({
|
|
188
|
-
body: ServiceabilityPlatformModel.
|
|
176
|
+
body: ServiceabilityPlatformModel.SelfShipResponse().required(),
|
|
189
177
|
}).required();
|
|
190
178
|
}
|
|
191
179
|
|
|
@@ -199,7 +187,7 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
199
187
|
/** @returns {UpdateCourierPartnerRulePriorityParam} */
|
|
200
188
|
static updateCourierPartnerRulePriority() {
|
|
201
189
|
return Joi.object({
|
|
202
|
-
body: ServiceabilityPlatformModel.
|
|
190
|
+
body: ServiceabilityPlatformModel.RulePriorityRequest().required(),
|
|
203
191
|
}).required();
|
|
204
192
|
}
|
|
205
193
|
|
|
@@ -214,7 +202,7 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
214
202
|
/** @returns {UpdatePincodeAuditHistoryParam} */
|
|
215
203
|
static updatePincodeAuditHistory() {
|
|
216
204
|
return Joi.object({
|
|
217
|
-
body: ServiceabilityPlatformModel.
|
|
205
|
+
body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest().required(),
|
|
218
206
|
}).required();
|
|
219
207
|
}
|
|
220
208
|
|
|
@@ -228,7 +216,7 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
228
216
|
/** @returns {UpdatePincodeCoDListingParam} */
|
|
229
217
|
static updatePincodeCoDListing() {
|
|
230
218
|
return Joi.object({
|
|
231
|
-
body: ServiceabilityPlatformModel.
|
|
219
|
+
body: ServiceabilityPlatformModel.PincodeCodStatusListingRequest().required(),
|
|
232
220
|
}).required();
|
|
233
221
|
}
|
|
234
222
|
|
|
@@ -243,7 +231,7 @@ class ServiceabilityPlatformApplicationValidator {
|
|
|
243
231
|
static updateStoreRules() {
|
|
244
232
|
return Joi.object({
|
|
245
233
|
ruleUid: Joi.string().allow("").required(),
|
|
246
|
-
body: ServiceabilityPlatformModel.
|
|
234
|
+
body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema().required(),
|
|
247
235
|
}).required();
|
|
248
236
|
}
|
|
249
237
|
|