@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export = ServiceabilityPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef UpdateZoneConfigRequest
|
|
4
4
|
* @property {string} [serviceability_type]
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* @typedef
|
|
7
|
+
* @typedef ServiceabilityErrorResponse
|
|
8
8
|
* @property {string} message
|
|
9
9
|
* @property {string} value
|
|
10
10
|
* @property {string} type
|
|
@@ -16,13 +16,13 @@ export = ServiceabilityPlatformModel;
|
|
|
16
16
|
* @property {string} channel_type
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
-
* @typedef
|
|
20
|
-
* @property {
|
|
19
|
+
* @typedef ApplicationServiceabilityConfigResponse
|
|
20
|
+
* @property {ServiceabilityErrorResponse} [error]
|
|
21
21
|
* @property {ApplicationServiceabilityConfig} [data]
|
|
22
22
|
* @property {boolean} success
|
|
23
23
|
*/
|
|
24
24
|
/**
|
|
25
|
-
* @typedef
|
|
25
|
+
* @typedef EntityRegionView_Request
|
|
26
26
|
* @property {string[]} sub_type
|
|
27
27
|
* @property {string[]} [parent_id]
|
|
28
28
|
*/
|
|
@@ -41,7 +41,7 @@ export = ServiceabilityPlatformModel;
|
|
|
41
41
|
* @property {number} current
|
|
42
42
|
*/
|
|
43
43
|
/**
|
|
44
|
-
* @typedef
|
|
44
|
+
* @typedef getAppRegionZonesResponse
|
|
45
45
|
* @property {PageSchema[]} page
|
|
46
46
|
* @property {ListViewItems[]} items
|
|
47
47
|
*/
|
|
@@ -60,7 +60,7 @@ export = ServiceabilityPlatformModel;
|
|
|
60
60
|
* @property {string} name
|
|
61
61
|
*/
|
|
62
62
|
/**
|
|
63
|
-
* @typedef
|
|
63
|
+
* @typedef EntityRegionView_Response
|
|
64
64
|
* @property {EntityRegionView_Error} error
|
|
65
65
|
* @property {EntityRegionView_page} page
|
|
66
66
|
* @property {EntityRegionView_Items[]} data
|
|
@@ -106,7 +106,7 @@ export = ServiceabilityPlatformModel;
|
|
|
106
106
|
* @property {ListViewChannels[]} channels - The name of the zone.
|
|
107
107
|
*/
|
|
108
108
|
/**
|
|
109
|
-
* @typedef
|
|
109
|
+
* @typedef ListViewResponse
|
|
110
110
|
* @property {ZoneDataItem} page
|
|
111
111
|
* @property {ListViewItems[]} items
|
|
112
112
|
*/
|
|
@@ -119,7 +119,7 @@ export = ServiceabilityPlatformModel;
|
|
|
119
119
|
* @property {number} current
|
|
120
120
|
*/
|
|
121
121
|
/**
|
|
122
|
-
* @typedef
|
|
122
|
+
* @typedef CompanyStoreView_Response
|
|
123
123
|
* @property {CompanyStoreView_PageItems[]} page
|
|
124
124
|
* @property {Object[]} [items]
|
|
125
125
|
*/
|
|
@@ -133,11 +133,23 @@ export = ServiceabilityPlatformModel;
|
|
|
133
133
|
* @property {string} type
|
|
134
134
|
* @property {string[]} tags
|
|
135
135
|
*/
|
|
136
|
+
/**
|
|
137
|
+
* @typedef ZoneMappingDetailType
|
|
138
|
+
* @property {string} country - Uid for the country.
|
|
139
|
+
* @property {ZoneMappingRegions[]} [regions] - List of regions with its details.
|
|
140
|
+
*/
|
|
136
141
|
/**
|
|
137
142
|
* @typedef ZoneMappingType
|
|
138
143
|
* @property {string} country
|
|
139
|
-
* @property {string[]}
|
|
140
|
-
|
|
144
|
+
* @property {string[]} regions
|
|
145
|
+
*/
|
|
146
|
+
/**
|
|
147
|
+
* @typedef ZoneMappingRegions
|
|
148
|
+
* @property {string} [display_name] - Name of the region that is in proper casing.
|
|
149
|
+
* @property {string[]} [parent_id]
|
|
150
|
+
* @property {string} [parent_uid] - Unique identifier for that regions parent.
|
|
151
|
+
* @property {string} [sub_type] - What type does the region belong to.
|
|
152
|
+
* @property {string} [uid] - Unique identifier for that region.
|
|
141
153
|
*/
|
|
142
154
|
/**
|
|
143
155
|
* @typedef UpdateZoneData
|
|
@@ -151,15 +163,14 @@ export = ServiceabilityPlatformModel;
|
|
|
151
163
|
* @property {number[]} store_ids
|
|
152
164
|
* @property {string} region_type
|
|
153
165
|
* @property {ZoneMappingType[]} mapping
|
|
154
|
-
* @property {string} [assignment_preference]
|
|
155
166
|
*/
|
|
156
167
|
/**
|
|
157
|
-
* @typedef
|
|
168
|
+
* @typedef ZoneUpdateRequest
|
|
158
169
|
* @property {string} identifier
|
|
159
170
|
* @property {UpdateZoneData} data
|
|
160
171
|
*/
|
|
161
172
|
/**
|
|
162
|
-
* @typedef
|
|
173
|
+
* @typedef ZoneSuccessResponse
|
|
163
174
|
* @property {number} status_code
|
|
164
175
|
* @property {boolean} success
|
|
165
176
|
*/
|
|
@@ -175,11 +186,10 @@ export = ServiceabilityPlatformModel;
|
|
|
175
186
|
* @property {number[]} store_ids
|
|
176
187
|
* @property {string} [region_type]
|
|
177
188
|
* @property {ZoneMappingType[]} mapping
|
|
178
|
-
* @property {string} [assignment_preference]
|
|
179
189
|
* @property {number} stores_count
|
|
180
190
|
*/
|
|
181
191
|
/**
|
|
182
|
-
* @typedef
|
|
192
|
+
* @typedef GetSingleZoneDataViewResponse
|
|
183
193
|
* @property {GetZoneDataViewItems} data
|
|
184
194
|
*/
|
|
185
195
|
/**
|
|
@@ -193,9 +203,7 @@ export = ServiceabilityPlatformModel;
|
|
|
193
203
|
* @property {ZoneProductTypes} product
|
|
194
204
|
* @property {number[]} store_ids
|
|
195
205
|
* @property {string} region_type
|
|
196
|
-
* @property {
|
|
197
|
-
* @property {string} [assignment_preference]
|
|
198
|
-
* @property {number} stores_count
|
|
206
|
+
* @property {ZoneMappingDetailType[]} mapping - Country to region mapping for the zone.
|
|
199
207
|
*/
|
|
200
208
|
/**
|
|
201
209
|
* @typedef CreateZoneData
|
|
@@ -205,18 +213,18 @@ export = ServiceabilityPlatformModel;
|
|
|
205
213
|
* @property {boolean} is_active
|
|
206
214
|
* @property {GetZoneDataViewChannels[]} channels
|
|
207
215
|
* @property {number[]} store_ids
|
|
216
|
+
* @property {ZoneProductTypes} product
|
|
208
217
|
* @property {string} region_type
|
|
209
218
|
* @property {ZoneMappingType[]} mapping
|
|
210
|
-
* @property {string} [assignment_preference]
|
|
211
219
|
*/
|
|
212
220
|
/**
|
|
213
|
-
* @typedef
|
|
221
|
+
* @typedef ZoneResponse
|
|
214
222
|
* @property {number} status_code
|
|
215
223
|
* @property {string} zone_id
|
|
216
224
|
* @property {boolean} success
|
|
217
225
|
*/
|
|
218
226
|
/**
|
|
219
|
-
* @typedef
|
|
227
|
+
* @typedef GetZoneFromPincodeViewRequest
|
|
220
228
|
* @property {string} country
|
|
221
229
|
* @property {string} pincode
|
|
222
230
|
*/
|
|
@@ -229,20 +237,19 @@ export = ServiceabilityPlatformModel;
|
|
|
229
237
|
* @property {string} slug
|
|
230
238
|
* @property {boolean} is_active
|
|
231
239
|
* @property {number[]} store_ids
|
|
232
|
-
* @property {string} assignment_preference
|
|
233
240
|
*/
|
|
234
241
|
/**
|
|
235
|
-
* @typedef
|
|
242
|
+
* @typedef GetZoneFromPincodeViewResponse
|
|
236
243
|
* @property {string} serviceability_type
|
|
237
244
|
* @property {Zone[]} zones
|
|
238
245
|
*/
|
|
239
246
|
/**
|
|
240
|
-
* @typedef
|
|
247
|
+
* @typedef GetZoneFromApplicationIdViewResponse
|
|
241
248
|
* @property {ZoneDataItem[]} page
|
|
242
249
|
* @property {ListViewItems[]} items
|
|
243
250
|
*/
|
|
244
251
|
/**
|
|
245
|
-
* @typedef
|
|
252
|
+
* @typedef ServiceabilityPageResponse
|
|
246
253
|
* @property {string} [type]
|
|
247
254
|
* @property {boolean} [has_next]
|
|
248
255
|
* @property {number} [item_total]
|
|
@@ -255,32 +262,32 @@ export = ServiceabilityPlatformModel;
|
|
|
255
262
|
* @property {number} [country_code]
|
|
256
263
|
*/
|
|
257
264
|
/**
|
|
258
|
-
* @typedef
|
|
265
|
+
* @typedef ManagerResponse
|
|
259
266
|
* @property {string} [email]
|
|
260
267
|
* @property {MobileNo} [mobile_no]
|
|
261
268
|
* @property {string} [name]
|
|
262
269
|
*/
|
|
263
270
|
/**
|
|
264
|
-
* @typedef
|
|
271
|
+
* @typedef ModifiedByResponse
|
|
265
272
|
* @property {string} [username]
|
|
266
273
|
* @property {string} [user_id]
|
|
267
274
|
*/
|
|
268
275
|
/**
|
|
269
|
-
* @typedef
|
|
276
|
+
* @typedef IntegrationTypeResponse
|
|
270
277
|
* @property {string} [inventory]
|
|
271
278
|
* @property {string} [order]
|
|
272
279
|
*/
|
|
273
280
|
/**
|
|
274
|
-
* @typedef
|
|
281
|
+
* @typedef ProductReturnConfigResponse
|
|
275
282
|
* @property {boolean} [on_same_store]
|
|
276
283
|
*/
|
|
277
284
|
/**
|
|
278
|
-
* @typedef
|
|
285
|
+
* @typedef ContactNumberResponse
|
|
279
286
|
* @property {string} [number]
|
|
280
287
|
* @property {number} [country_code]
|
|
281
288
|
*/
|
|
282
289
|
/**
|
|
283
|
-
* @typedef
|
|
290
|
+
* @typedef AddressResponse
|
|
284
291
|
* @property {string} [city]
|
|
285
292
|
* @property {string} [address1]
|
|
286
293
|
* @property {number} [pincode]
|
|
@@ -292,25 +299,25 @@ export = ServiceabilityPlatformModel;
|
|
|
292
299
|
* @property {number} [longitude]
|
|
293
300
|
*/
|
|
294
301
|
/**
|
|
295
|
-
* @typedef
|
|
302
|
+
* @typedef CreatedByResponse
|
|
296
303
|
* @property {string} [username]
|
|
297
304
|
* @property {string} [user_id]
|
|
298
305
|
*/
|
|
299
306
|
/**
|
|
300
|
-
* @typedef
|
|
307
|
+
* @typedef EwayBillResponse
|
|
301
308
|
* @property {boolean} [enabled]
|
|
302
309
|
*/
|
|
303
310
|
/**
|
|
304
|
-
* @typedef
|
|
311
|
+
* @typedef EinvoiceResponse
|
|
305
312
|
* @property {boolean} [enabled]
|
|
306
313
|
*/
|
|
307
314
|
/**
|
|
308
|
-
* @typedef
|
|
309
|
-
* @property {
|
|
310
|
-
* @property {
|
|
315
|
+
* @typedef GstCredentialsResponse
|
|
316
|
+
* @property {EwayBillResponse} [e_waybill]
|
|
317
|
+
* @property {EinvoiceResponse} [e_invoice]
|
|
311
318
|
*/
|
|
312
319
|
/**
|
|
313
|
-
* @typedef
|
|
320
|
+
* @typedef WarningsResponse
|
|
314
321
|
* @property {string} [store_address]
|
|
315
322
|
*/
|
|
316
323
|
/**
|
|
@@ -319,14 +326,14 @@ export = ServiceabilityPlatformModel;
|
|
|
319
326
|
* @property {number} [hour]
|
|
320
327
|
*/
|
|
321
328
|
/**
|
|
322
|
-
* @typedef
|
|
329
|
+
* @typedef TimmingResponse
|
|
323
330
|
* @property {boolean} [open]
|
|
324
331
|
* @property {string} [weekday]
|
|
325
332
|
* @property {OpeningClosing} [closing]
|
|
326
333
|
* @property {OpeningClosing} [opening]
|
|
327
334
|
*/
|
|
328
335
|
/**
|
|
329
|
-
* @typedef
|
|
336
|
+
* @typedef DocumentsResponse
|
|
330
337
|
* @property {string} [legal_name]
|
|
331
338
|
* @property {string} [value]
|
|
332
339
|
* @property {string} [type]
|
|
@@ -346,45 +353,45 @@ export = ServiceabilityPlatformModel;
|
|
|
346
353
|
* @property {boolean} [assign_dp_from_sb]
|
|
347
354
|
*/
|
|
348
355
|
/**
|
|
349
|
-
* @typedef
|
|
356
|
+
* @typedef LogisticsResponse
|
|
350
357
|
* @property {boolean} [override]
|
|
351
358
|
* @property {Dp} [dp]
|
|
352
359
|
*/
|
|
353
360
|
/**
|
|
354
|
-
* @typedef
|
|
361
|
+
* @typedef ItemResponse
|
|
355
362
|
* @property {string} [created_on]
|
|
356
|
-
* @property {
|
|
357
|
-
* @property {
|
|
358
|
-
* @property {
|
|
363
|
+
* @property {ManagerResponse} [manager]
|
|
364
|
+
* @property {ModifiedByResponse} [modified_by]
|
|
365
|
+
* @property {IntegrationTypeResponse} [integration_type]
|
|
359
366
|
* @property {string} [verified_on]
|
|
360
|
-
* @property {
|
|
361
|
-
* @property {
|
|
362
|
-
* @property {
|
|
367
|
+
* @property {ProductReturnConfigResponse} [product_return_config]
|
|
368
|
+
* @property {ContactNumberResponse[]} [contact_numbers]
|
|
369
|
+
* @property {ModifiedByResponse} [verified_by]
|
|
363
370
|
* @property {string} [stage]
|
|
364
|
-
* @property {
|
|
371
|
+
* @property {AddressResponse} [address]
|
|
365
372
|
* @property {string} [modified_on]
|
|
366
|
-
* @property {
|
|
367
|
-
* @property {
|
|
373
|
+
* @property {CreatedByResponse} [created_by]
|
|
374
|
+
* @property {GstCredentialsResponse} [gst_credentials]
|
|
368
375
|
* @property {string} [display_name]
|
|
369
376
|
* @property {number} [company_id]
|
|
370
377
|
* @property {number} [uid]
|
|
371
378
|
* @property {Object} [_custom_json]
|
|
372
379
|
* @property {string} [code]
|
|
373
|
-
* @property {
|
|
380
|
+
* @property {WarningsResponse} [warnings]
|
|
374
381
|
* @property {string} [name]
|
|
375
|
-
* @property {
|
|
376
|
-
* @property {
|
|
382
|
+
* @property {TimmingResponse[]} [timing]
|
|
383
|
+
* @property {DocumentsResponse[]} [documents]
|
|
377
384
|
* @property {string} [store_type]
|
|
378
385
|
* @property {string} [sub_type]
|
|
379
386
|
* @property {number} [company]
|
|
380
387
|
* @property {string} [_cls]
|
|
381
|
-
* @property {
|
|
388
|
+
* @property {LogisticsResponse} [logistics]
|
|
382
389
|
* @property {string[]} [notification_emails]
|
|
383
390
|
*/
|
|
384
391
|
/**
|
|
385
|
-
* @typedef
|
|
386
|
-
* @property {
|
|
387
|
-
* @property {
|
|
392
|
+
* @typedef GetStoresViewResponse
|
|
393
|
+
* @property {ServiceabilityPageResponse} page
|
|
394
|
+
* @property {ItemResponse[]} [items]
|
|
388
395
|
*/
|
|
389
396
|
/**
|
|
390
397
|
* @typedef PincodeMopData
|
|
@@ -393,21 +400,21 @@ export = ServiceabilityPlatformModel;
|
|
|
393
400
|
* @property {string} action
|
|
394
401
|
*/
|
|
395
402
|
/**
|
|
396
|
-
* @typedef
|
|
403
|
+
* @typedef PincodeMopUpdateResponse
|
|
397
404
|
* @property {number} pincode
|
|
398
405
|
* @property {string} channel_id
|
|
399
406
|
* @property {string} country
|
|
400
407
|
* @property {boolean} is_active
|
|
401
408
|
*/
|
|
402
409
|
/**
|
|
403
|
-
* @typedef
|
|
410
|
+
* @typedef PincodeMOPresponse
|
|
404
411
|
* @property {boolean} success
|
|
405
412
|
* @property {number} status_code
|
|
406
413
|
* @property {string} batch_id
|
|
407
414
|
* @property {string} country
|
|
408
415
|
* @property {string} action
|
|
409
416
|
* @property {number[]} [pincodes]
|
|
410
|
-
* @property {
|
|
417
|
+
* @property {PincodeMopUpdateResponse[]} [updated_pincodes]
|
|
411
418
|
*/
|
|
412
419
|
/**
|
|
413
420
|
* @typedef CommonError
|
|
@@ -421,12 +428,12 @@ export = ServiceabilityPlatformModel;
|
|
|
421
428
|
* @property {string} s3_url
|
|
422
429
|
*/
|
|
423
430
|
/**
|
|
424
|
-
* @typedef
|
|
431
|
+
* @typedef PincodeBulkViewResponse
|
|
425
432
|
* @property {string} batch_id
|
|
426
433
|
* @property {string} s3_url
|
|
427
434
|
*/
|
|
428
435
|
/**
|
|
429
|
-
* @typedef
|
|
436
|
+
* @typedef PincodeCodStatusListingRequest
|
|
430
437
|
* @property {string} [country]
|
|
431
438
|
* @property {boolean} [is_active]
|
|
432
439
|
* @property {number} [pincode]
|
|
@@ -434,9 +441,9 @@ export = ServiceabilityPlatformModel;
|
|
|
434
441
|
* @property {number} [page_size]
|
|
435
442
|
*/
|
|
436
443
|
/**
|
|
437
|
-
* @typedef
|
|
444
|
+
* @typedef PincodeCodStatusListingResponse
|
|
438
445
|
* @property {string} country
|
|
439
|
-
* @property {
|
|
446
|
+
* @property {PincodeCodStatusListingResponse[]} data
|
|
440
447
|
* @property {boolean} success
|
|
441
448
|
* @property {Error[]} [errors]
|
|
442
449
|
* @property {PincodeCodStatusListingPage} page
|
|
@@ -462,7 +469,7 @@ export = ServiceabilityPlatformModel;
|
|
|
462
469
|
* @property {number} total_inactive_pincodes
|
|
463
470
|
*/
|
|
464
471
|
/**
|
|
465
|
-
* @typedef
|
|
472
|
+
* @typedef PincodeMopUpdateAuditHistoryRequest
|
|
466
473
|
* @property {string} entity_type
|
|
467
474
|
* @property {string} [file_name]
|
|
468
475
|
*/
|
|
@@ -475,7 +482,7 @@ export = ServiceabilityPlatformModel;
|
|
|
475
482
|
* @property {number} [item_total]
|
|
476
483
|
*/
|
|
477
484
|
/**
|
|
478
|
-
* @typedef
|
|
485
|
+
* @typedef PincodeMopUpdateAuditHistoryResponse
|
|
479
486
|
* @property {string} [batch_id]
|
|
480
487
|
* @property {string} [entity_type]
|
|
481
488
|
* @property {string} [error_file_s3_url]
|
|
@@ -486,10 +493,10 @@ export = ServiceabilityPlatformModel;
|
|
|
486
493
|
* @property {boolean} [success]
|
|
487
494
|
*/
|
|
488
495
|
/**
|
|
489
|
-
* @typedef
|
|
496
|
+
* @typedef PincodeMopUpdateAuditHistoryResponseData
|
|
490
497
|
* @property {string} [entity_type]
|
|
491
498
|
* @property {PincodeMopUpdateAuditHistoryPaging} page
|
|
492
|
-
* @property {
|
|
499
|
+
* @property {PincodeMopUpdateAuditHistoryResponse[]} data
|
|
493
500
|
*/
|
|
494
501
|
/**
|
|
495
502
|
* @typedef ArithmeticOperations
|
|
@@ -526,7 +533,7 @@ export = ServiceabilityPlatformModel;
|
|
|
526
533
|
* @property {boolean} is_own_account
|
|
527
534
|
*/
|
|
528
535
|
/**
|
|
529
|
-
* @typedef
|
|
536
|
+
* @typedef CourierAccountRequestBody
|
|
530
537
|
* @property {string} extension_id
|
|
531
538
|
* @property {string} [account_id]
|
|
532
539
|
* @property {string} scheme_id
|
|
@@ -535,15 +542,15 @@ export = ServiceabilityPlatformModel;
|
|
|
535
542
|
* @property {boolean} is_own_account
|
|
536
543
|
*/
|
|
537
544
|
/**
|
|
538
|
-
* @typedef
|
|
545
|
+
* @typedef ErrorResponse
|
|
539
546
|
* @property {string} value
|
|
540
547
|
* @property {string} message
|
|
541
548
|
* @property {string} type
|
|
542
549
|
*/
|
|
543
550
|
/**
|
|
544
|
-
* @typedef
|
|
551
|
+
* @typedef CourierPartnerAccountFailureResponse
|
|
545
552
|
* @property {boolean} success
|
|
546
|
-
* @property {
|
|
553
|
+
* @property {ErrorResponse[]} error
|
|
547
554
|
*/
|
|
548
555
|
/**
|
|
549
556
|
* @typedef Page
|
|
@@ -556,14 +563,14 @@ export = ServiceabilityPlatformModel;
|
|
|
556
563
|
* @property {number} [size] - The number of items per page.
|
|
557
564
|
*/
|
|
558
565
|
/**
|
|
559
|
-
* @typedef
|
|
566
|
+
* @typedef CourierPartnerRuleCPListResponse
|
|
560
567
|
* @property {string} [account_id]
|
|
561
568
|
* @property {string} [extension_id]
|
|
562
569
|
* @property {boolean} [is_self_ship]
|
|
563
570
|
* @property {Object} [scheme_rules]
|
|
564
571
|
*/
|
|
565
572
|
/**
|
|
566
|
-
* @typedef
|
|
573
|
+
* @typedef CourierPartnerRuleResponse
|
|
567
574
|
* @property {boolean} [is_active]
|
|
568
575
|
* @property {string} [application_id]
|
|
569
576
|
* @property {number} [company_id]
|
|
@@ -575,7 +582,7 @@ export = ServiceabilityPlatformModel;
|
|
|
575
582
|
* @property {string} [modified_on]
|
|
576
583
|
* @property {string} [name]
|
|
577
584
|
* @property {string} [type]
|
|
578
|
-
* @property {
|
|
585
|
+
* @property {CourierPartnerRuleCPListResponse[]} [cp_list]
|
|
579
586
|
*/
|
|
580
587
|
/**
|
|
581
588
|
* @typedef CourierPartnerList
|
|
@@ -632,80 +639,15 @@ export = ServiceabilityPlatformModel;
|
|
|
632
639
|
* @property {string[]} sort
|
|
633
640
|
*/
|
|
634
641
|
/**
|
|
635
|
-
* @typedef
|
|
642
|
+
* @typedef FailureResponse
|
|
636
643
|
* @property {boolean} success
|
|
637
|
-
* @property {
|
|
644
|
+
* @property {ErrorResponse[]} error
|
|
638
645
|
*/
|
|
639
646
|
/**
|
|
640
|
-
* @typedef
|
|
641
|
-
* @property {
|
|
647
|
+
* @typedef CourierPartnerRulesListResponse
|
|
648
|
+
* @property {CourierPartnerRuleResponse[]} items
|
|
642
649
|
* @property {Page} page
|
|
643
650
|
*/
|
|
644
|
-
/**
|
|
645
|
-
* @typedef ShipmentsArticles
|
|
646
|
-
* @property {number} [item_id] - Unique identifier of the item.
|
|
647
|
-
* @property {number} [category_id] - Unique identifier of the category.
|
|
648
|
-
* @property {number} [brand_id] - Unique identifier of the brand.
|
|
649
|
-
* @property {number} [department_id] - Unique identifier of the department.
|
|
650
|
-
* @property {string[]} [tags] - Tags associated with the item.
|
|
651
|
-
*/
|
|
652
|
-
/**
|
|
653
|
-
* @typedef ShipmentDimension
|
|
654
|
-
* @property {number} height - Height of the shipment in centimeters.
|
|
655
|
-
* @property {number} length - Length of the shipment in centimeters.
|
|
656
|
-
* @property {number} width - Width of the shipment in centimeters.
|
|
657
|
-
*/
|
|
658
|
-
/**
|
|
659
|
-
* @typedef Shipments
|
|
660
|
-
* @property {string} [id] - Unique identifier of the shipment.
|
|
661
|
-
* @property {number} [location_id] - Unique identifier of the selling location.
|
|
662
|
-
* @property {string[]} [location_tags] - Tags associated with the selling location.
|
|
663
|
-
* @property {number} [shipment_weight] - Weight of the shipment.
|
|
664
|
-
* @property {number} [shipment_volumetric_weight] - Volumetric weight of the shipment.
|
|
665
|
-
* @property {number} [shipment_cost] - Total Cost of the shipment.
|
|
666
|
-
* @property {ShipmentDimension} [shipment_dimension]
|
|
667
|
-
* @property {string[]} [courier_partner_schemes] - A List of courier schemes.
|
|
668
|
-
* @property {ShipmentsArticles[]} [articles] - List of articles in the shipment.
|
|
669
|
-
*/
|
|
670
|
-
/**
|
|
671
|
-
* @typedef ShipmentCourierPartnerDetails
|
|
672
|
-
* @property {ShipmentsCourierPartnersServiceability} from_location
|
|
673
|
-
* @property {ShipmentsCourierPartnersServiceability} to_location
|
|
674
|
-
* @property {Shipments[]} [shipments] - List of shipments.
|
|
675
|
-
* @property {string} [journey] - Journey type of the shipment forward or return.
|
|
676
|
-
* @property {string} [payment_mode] - Payment mode opted for the shipment.
|
|
677
|
-
*/
|
|
678
|
-
/**
|
|
679
|
-
* @typedef CourierPartnerPromise
|
|
680
|
-
* @property {string} min - The earliest possible timestamp.
|
|
681
|
-
* @property {string} max - The latest possible timestamp.
|
|
682
|
-
*/
|
|
683
|
-
/**
|
|
684
|
-
* @typedef CourierPartners
|
|
685
|
-
* @property {string} [extension_id] - Unique identifier of courier partner extension.
|
|
686
|
-
* @property {string} [scheme_id] - Unique identifier of courier partner scheme.
|
|
687
|
-
* @property {string} [name] - Name of the courier partner.
|
|
688
|
-
* @property {CourierPartnerPromise} [delivery_promise]
|
|
689
|
-
*/
|
|
690
|
-
/**
|
|
691
|
-
* @typedef ShipmentCourierPartners
|
|
692
|
-
* @property {string} [id] - Unique identifier of the shipment.
|
|
693
|
-
* @property {CourierPartners[]} [courier_partners] - Courier partners of the shipment.
|
|
694
|
-
*/
|
|
695
|
-
/**
|
|
696
|
-
* @typedef ShipmentCourierPartnerResult
|
|
697
|
-
* @property {CourierPartners[]} [courier_partners]
|
|
698
|
-
* @property {ShipmentCourierPartners[]} [shipments]
|
|
699
|
-
*/
|
|
700
|
-
/**
|
|
701
|
-
* @typedef ShipmentsCourierPartnersServiceability
|
|
702
|
-
* @property {string} [pincode] - Postal code or PIN code of the address area.
|
|
703
|
-
* @property {string} [sector_code] - Specifies the sector or district code of
|
|
704
|
-
* the address if applicable.
|
|
705
|
-
* @property {string} [state_code] - Indicates the state or province code of the address.
|
|
706
|
-
* @property {string} [city_code] - Denote the city or municipality code of the address.
|
|
707
|
-
* @property {string} country_code - ISO2 code for the country of the address.
|
|
708
|
-
*/
|
|
709
651
|
/**
|
|
710
652
|
* @typedef CompanyConfig
|
|
711
653
|
* @property {string[]} rule_ids
|
|
@@ -723,14 +665,14 @@ export = ServiceabilityPlatformModel;
|
|
|
723
665
|
* @property {ZoneConfig} [zones]
|
|
724
666
|
*/
|
|
725
667
|
/**
|
|
726
|
-
* @typedef
|
|
668
|
+
* @typedef BulkRegionJobSerializer
|
|
727
669
|
* @property {string} [file_path]
|
|
728
670
|
* @property {string} country
|
|
729
671
|
* @property {string} action
|
|
730
672
|
* @property {string} region
|
|
731
673
|
*/
|
|
732
674
|
/**
|
|
733
|
-
* @typedef
|
|
675
|
+
* @typedef BulkRegionResponseItemData
|
|
734
676
|
* @property {string} file_path
|
|
735
677
|
* @property {number} [failed]
|
|
736
678
|
* @property {Object[]} [failed_records]
|
|
@@ -744,22 +686,22 @@ export = ServiceabilityPlatformModel;
|
|
|
744
686
|
* @property {string} [error_file_path]
|
|
745
687
|
*/
|
|
746
688
|
/**
|
|
747
|
-
* @typedef
|
|
748
|
-
* @property {
|
|
689
|
+
* @typedef BulkRegionResponse
|
|
690
|
+
* @property {BulkRegionResponseItemData[]} items
|
|
749
691
|
* @property {Page} page
|
|
750
692
|
*/
|
|
751
693
|
/**
|
|
752
|
-
* @typedef
|
|
694
|
+
* @typedef SelfShipResponse
|
|
753
695
|
* @property {boolean} is_active
|
|
754
696
|
* @property {number} tat
|
|
755
697
|
*/
|
|
756
698
|
/**
|
|
757
699
|
* @typedef ApplicationSelfShipConfig
|
|
758
|
-
* @property {
|
|
700
|
+
* @property {Object} [self_ship]
|
|
759
701
|
*/
|
|
760
702
|
/**
|
|
761
|
-
* @typedef
|
|
762
|
-
* @property {
|
|
703
|
+
* @typedef ApplicationSelfShipConfigResponse
|
|
704
|
+
* @property {ServiceabilityErrorResponse} [error]
|
|
763
705
|
* @property {ApplicationSelfShipConfig} [data]
|
|
764
706
|
* @property {boolean} success
|
|
765
707
|
*/
|
|
@@ -812,12 +754,12 @@ export = ServiceabilityPlatformModel;
|
|
|
812
754
|
* @property {string} [name]
|
|
813
755
|
*/
|
|
814
756
|
/**
|
|
815
|
-
* @typedef
|
|
757
|
+
* @typedef GetStoreRulesApiResponse
|
|
816
758
|
* @property {StoreRuleDataSchema[]} [items]
|
|
817
759
|
* @property {Page} [page]
|
|
818
760
|
*/
|
|
819
761
|
/**
|
|
820
|
-
* @typedef
|
|
762
|
+
* @typedef CreateStoreRuleRequestSchema
|
|
821
763
|
* @property {string} [name]
|
|
822
764
|
* @property {boolean} [is_active]
|
|
823
765
|
* @property {StoreRuleConditionSchema} [conditions]
|
|
@@ -827,7 +769,7 @@ export = ServiceabilityPlatformModel;
|
|
|
827
769
|
* @property {string[]} [sort]
|
|
828
770
|
*/
|
|
829
771
|
/**
|
|
830
|
-
* @typedef
|
|
772
|
+
* @typedef StoreRuleResponseSchema
|
|
831
773
|
* @property {string} [id]
|
|
832
774
|
* @property {string} [name]
|
|
833
775
|
* @property {string} [type]
|
|
@@ -839,7 +781,7 @@ export = ServiceabilityPlatformModel;
|
|
|
839
781
|
* @property {boolean} [is_active]
|
|
840
782
|
*/
|
|
841
783
|
/**
|
|
842
|
-
* @typedef
|
|
784
|
+
* @typedef StoreRuleUpdateResponseSchema
|
|
843
785
|
* @property {string} [id]
|
|
844
786
|
* @property {string} [name]
|
|
845
787
|
* @property {string} [type]
|
|
@@ -856,8 +798,8 @@ export = ServiceabilityPlatformModel;
|
|
|
856
798
|
* @typedef ServiceabilityModel
|
|
857
799
|
* @property {number} lm_cod_limit
|
|
858
800
|
* @property {boolean} is_qc
|
|
859
|
-
* @property {string}
|
|
860
|
-
* @property {string}
|
|
801
|
+
* @property {string} pickup_cutoff
|
|
802
|
+
* @property {string} route_code
|
|
861
803
|
* @property {boolean} is_first_mile
|
|
862
804
|
* @property {boolean} is_return
|
|
863
805
|
* @property {boolean} is_installation
|
|
@@ -897,7 +839,7 @@ export = ServiceabilityPlatformModel;
|
|
|
897
839
|
* @property {CourierPartnerSchemeFeatures} feature
|
|
898
840
|
*/
|
|
899
841
|
/**
|
|
900
|
-
* @typedef
|
|
842
|
+
* @typedef CourierAccountResponse
|
|
901
843
|
* @property {string} account_id
|
|
902
844
|
* @property {string} scheme_id
|
|
903
845
|
* @property {boolean} is_self_ship
|
|
@@ -906,8 +848,8 @@ export = ServiceabilityPlatformModel;
|
|
|
906
848
|
* @property {CourierPartnerSchemeModel} scheme_rules
|
|
907
849
|
*/
|
|
908
850
|
/**
|
|
909
|
-
* @typedef
|
|
910
|
-
* @property {
|
|
851
|
+
* @typedef CompanyCourierPartnerAccountListResponse
|
|
852
|
+
* @property {CourierAccountResponse[]} items
|
|
911
853
|
* @property {Page} page
|
|
912
854
|
*/
|
|
913
855
|
/**
|
|
@@ -931,7 +873,7 @@ export = ServiceabilityPlatformModel;
|
|
|
931
873
|
* @property {boolean} [auto_calculate]
|
|
932
874
|
*/
|
|
933
875
|
/**
|
|
934
|
-
* @typedef
|
|
876
|
+
* @typedef PackageMaterialResponse
|
|
935
877
|
* @property {string} name
|
|
936
878
|
* @property {string} [id]
|
|
937
879
|
* @property {number} [item_id]
|
|
@@ -969,7 +911,7 @@ export = ServiceabilityPlatformModel;
|
|
|
969
911
|
* @property {PackageRuleCategory} [category_id]
|
|
970
912
|
*/
|
|
971
913
|
/**
|
|
972
|
-
* @typedef
|
|
914
|
+
* @typedef PackageRuleResponse
|
|
973
915
|
* @property {string} [id]
|
|
974
916
|
* @property {string} name
|
|
975
917
|
* @property {number} company_id
|
|
@@ -986,12 +928,12 @@ export = ServiceabilityPlatformModel;
|
|
|
986
928
|
*/
|
|
987
929
|
/**
|
|
988
930
|
* @typedef PackageMaterialRuleList
|
|
989
|
-
* @property {
|
|
931
|
+
* @property {PackageRuleResponse} [items]
|
|
990
932
|
* @property {Page} [page]
|
|
991
933
|
*/
|
|
992
934
|
/**
|
|
993
935
|
* @typedef PackageMaterialList
|
|
994
|
-
* @property {
|
|
936
|
+
* @property {PackageMaterialResponse} [items]
|
|
995
937
|
* @property {Page} [page]
|
|
996
938
|
*/
|
|
997
939
|
/**
|
|
@@ -1012,12 +954,12 @@ export = ServiceabilityPlatformModel;
|
|
|
1012
954
|
* @property {number} [max]
|
|
1013
955
|
*/
|
|
1014
956
|
/**
|
|
1015
|
-
* @typedef
|
|
957
|
+
* @typedef RulePriorityRequest
|
|
1016
958
|
* @property {string} rule_id
|
|
1017
959
|
* @property {number} priority
|
|
1018
960
|
*/
|
|
1019
961
|
/**
|
|
1020
|
-
* @typedef
|
|
962
|
+
* @typedef RulePriorityResponse
|
|
1021
963
|
* @property {boolean} [success]
|
|
1022
964
|
*/
|
|
1023
965
|
/**
|
|
@@ -1045,7 +987,7 @@ export = ServiceabilityPlatformModel;
|
|
|
1045
987
|
* @typedef OptimalLocationsArticles
|
|
1046
988
|
* @property {number} item_id
|
|
1047
989
|
* @property {string} size
|
|
1048
|
-
* @property {
|
|
990
|
+
* @property {string} quantity
|
|
1049
991
|
* @property {string} [group_id]
|
|
1050
992
|
* @property {boolean} [is_primary_item]
|
|
1051
993
|
* @property {Object} [meta]
|
|
@@ -1055,15 +997,15 @@ export = ServiceabilityPlatformModel;
|
|
|
1055
997
|
* @property {number} [seller_id]
|
|
1056
998
|
*/
|
|
1057
999
|
/**
|
|
1058
|
-
* @typedef
|
|
1000
|
+
* @typedef OptimlLocationsRequestSchema
|
|
1059
1001
|
* @property {string} channel_id
|
|
1060
1002
|
* @property {string} channel_type
|
|
1061
1003
|
* @property {string} [channel_identifier]
|
|
1062
1004
|
* @property {LocationDetailsServiceability} to_serviceability
|
|
1063
|
-
* @property {OptimalLocationsArticles
|
|
1005
|
+
* @property {OptimalLocationsArticles} [article]
|
|
1064
1006
|
*/
|
|
1065
1007
|
/**
|
|
1066
|
-
* @typedef
|
|
1008
|
+
* @typedef OptimalLocationArticlesResponse
|
|
1067
1009
|
* @property {number} item_id
|
|
1068
1010
|
* @property {string} size
|
|
1069
1011
|
* @property {number} quantity
|
|
@@ -1080,37 +1022,28 @@ export = ServiceabilityPlatformModel;
|
|
|
1080
1022
|
* @property {string} uid
|
|
1081
1023
|
*/
|
|
1082
1024
|
/**
|
|
1083
|
-
* @typedef
|
|
1025
|
+
* @typedef OptimalLocationAssignedStoresResponse
|
|
1084
1026
|
* @property {number} store_id
|
|
1085
|
-
* @property {
|
|
1086
|
-
*/
|
|
1087
|
-
/**
|
|
1088
|
-
* @typedef OptimalLocationsResult
|
|
1089
|
-
* @property {OptimalLocationAssignedStoresResult[]} assigned_stores
|
|
1090
|
-
* @property {ErrorResult[]} [faulty_articles]
|
|
1091
|
-
*/
|
|
1092
|
-
/**
|
|
1093
|
-
* @typedef ValidationError
|
|
1094
|
-
* @property {string} message - A brief description of the error encountered.
|
|
1095
|
-
* @property {string} field - The field in the request that caused the error.
|
|
1027
|
+
* @property {OptimalLocationArticlesResponse[]} articles
|
|
1096
1028
|
*/
|
|
1097
1029
|
/**
|
|
1098
|
-
* @typedef
|
|
1099
|
-
* @property {
|
|
1030
|
+
* @typedef OptimalLocationsResponse
|
|
1031
|
+
* @property {OptimalLocationAssignedStoresResponse[]} assigned_stores
|
|
1032
|
+
* @property {ErrorResponse[]} [faulty_articles]
|
|
1100
1033
|
*/
|
|
1101
1034
|
declare class ServiceabilityPlatformModel {
|
|
1102
1035
|
}
|
|
1103
1036
|
declare namespace ServiceabilityPlatformModel {
|
|
1104
|
-
export {
|
|
1037
|
+
export { UpdateZoneConfigRequest, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResponse, PageSchema, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingDetailType, ZoneMappingType, ZoneMappingRegions, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, GetZoneByIdSchema, CreateZoneData, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, CourierAccountRequestBody, ErrorResponse, CourierPartnerAccountFailureResponse, Page, CourierPartnerRuleCPListResponse, CourierPartnerRuleResponse, CourierPartnerList, LocationRuleValues, LocationRule, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRule, FailureResponse, CourierPartnerRulesListResponse, CompanyConfig, ZoneConfig, ApplicationConfig, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResponse, CreateStoreRuleRequestSchema, StoreRuleResponseSchema, StoreRuleUpdateResponseSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierAccountResponse, CompanyCourierPartnerAccountListResponse, PackageMaterial, PackageMaterialResponse, PackageMaterialRule, PackageRule, PackageRuleResponse, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageMaterialRuleQuantity, RulePriorityRequest, RulePriorityResponse, ArticleAssignment, ServiceabilityLocation, LocationDetailsServiceability, OptimalLocationsArticles, OptimlLocationsRequestSchema, OptimalLocationArticlesResponse, OptimalLocationAssignedStoresResponse, OptimalLocationsResponse };
|
|
1105
1038
|
}
|
|
1106
|
-
/** @returns {
|
|
1107
|
-
declare function
|
|
1108
|
-
type
|
|
1039
|
+
/** @returns {UpdateZoneConfigRequest} */
|
|
1040
|
+
declare function UpdateZoneConfigRequest(): UpdateZoneConfigRequest;
|
|
1041
|
+
type UpdateZoneConfigRequest = {
|
|
1109
1042
|
serviceability_type?: string;
|
|
1110
1043
|
};
|
|
1111
|
-
/** @returns {
|
|
1112
|
-
declare function
|
|
1113
|
-
type
|
|
1044
|
+
/** @returns {ServiceabilityErrorResponse} */
|
|
1045
|
+
declare function ServiceabilityErrorResponse(): ServiceabilityErrorResponse;
|
|
1046
|
+
type ServiceabilityErrorResponse = {
|
|
1114
1047
|
message: string;
|
|
1115
1048
|
value: string;
|
|
1116
1049
|
type: string;
|
|
@@ -1122,16 +1055,16 @@ type ApplicationServiceabilityConfig = {
|
|
|
1122
1055
|
serviceability_type: string;
|
|
1123
1056
|
channel_type: string;
|
|
1124
1057
|
};
|
|
1125
|
-
/** @returns {
|
|
1126
|
-
declare function
|
|
1127
|
-
type
|
|
1128
|
-
error?:
|
|
1058
|
+
/** @returns {ApplicationServiceabilityConfigResponse} */
|
|
1059
|
+
declare function ApplicationServiceabilityConfigResponse(): ApplicationServiceabilityConfigResponse;
|
|
1060
|
+
type ApplicationServiceabilityConfigResponse = {
|
|
1061
|
+
error?: ServiceabilityErrorResponse;
|
|
1129
1062
|
data?: ApplicationServiceabilityConfig;
|
|
1130
1063
|
success: boolean;
|
|
1131
1064
|
};
|
|
1132
|
-
/** @returns {
|
|
1133
|
-
declare function
|
|
1134
|
-
type
|
|
1065
|
+
/** @returns {EntityRegionView_Request} */
|
|
1066
|
+
declare function EntityRegionView_Request(): EntityRegionView_Request;
|
|
1067
|
+
type EntityRegionView_Request = {
|
|
1135
1068
|
sub_type: string[];
|
|
1136
1069
|
parent_id?: string[];
|
|
1137
1070
|
};
|
|
@@ -1151,9 +1084,9 @@ type EntityRegionView_page = {
|
|
|
1151
1084
|
size: number;
|
|
1152
1085
|
current: number;
|
|
1153
1086
|
};
|
|
1154
|
-
/** @returns {
|
|
1155
|
-
declare function
|
|
1156
|
-
type
|
|
1087
|
+
/** @returns {getAppRegionZonesResponse} */
|
|
1088
|
+
declare function getAppRegionZonesResponse(): getAppRegionZonesResponse;
|
|
1089
|
+
type getAppRegionZonesResponse = {
|
|
1157
1090
|
page: PageSchema[];
|
|
1158
1091
|
items: ListViewItems[];
|
|
1159
1092
|
};
|
|
@@ -1173,9 +1106,9 @@ type EntityRegionView_Items = {
|
|
|
1173
1106
|
uid: string;
|
|
1174
1107
|
name: string;
|
|
1175
1108
|
};
|
|
1176
|
-
/** @returns {
|
|
1177
|
-
declare function
|
|
1178
|
-
type
|
|
1109
|
+
/** @returns {EntityRegionView_Response} */
|
|
1110
|
+
declare function EntityRegionView_Response(): EntityRegionView_Response;
|
|
1111
|
+
type EntityRegionView_Response = {
|
|
1179
1112
|
error: EntityRegionView_Error;
|
|
1180
1113
|
page: EntityRegionView_page;
|
|
1181
1114
|
data: EntityRegionView_Items[];
|
|
@@ -1252,9 +1185,9 @@ type ListViewItems = {
|
|
|
1252
1185
|
*/
|
|
1253
1186
|
channels: ListViewChannels[];
|
|
1254
1187
|
};
|
|
1255
|
-
/** @returns {
|
|
1256
|
-
declare function
|
|
1257
|
-
type
|
|
1188
|
+
/** @returns {ListViewResponse} */
|
|
1189
|
+
declare function ListViewResponse(): ListViewResponse;
|
|
1190
|
+
type ListViewResponse = {
|
|
1258
1191
|
page: ZoneDataItem;
|
|
1259
1192
|
items: ListViewItems[];
|
|
1260
1193
|
};
|
|
@@ -1267,9 +1200,9 @@ type CompanyStoreView_PageItems = {
|
|
|
1267
1200
|
size: number;
|
|
1268
1201
|
current: number;
|
|
1269
1202
|
};
|
|
1270
|
-
/** @returns {
|
|
1271
|
-
declare function
|
|
1272
|
-
type
|
|
1203
|
+
/** @returns {CompanyStoreView_Response} */
|
|
1204
|
+
declare function CompanyStoreView_Response(): CompanyStoreView_Response;
|
|
1205
|
+
type CompanyStoreView_Response = {
|
|
1273
1206
|
page: CompanyStoreView_PageItems[];
|
|
1274
1207
|
items?: any[];
|
|
1275
1208
|
};
|
|
@@ -1285,12 +1218,44 @@ type ZoneProductTypes = {
|
|
|
1285
1218
|
type: string;
|
|
1286
1219
|
tags: string[];
|
|
1287
1220
|
};
|
|
1221
|
+
/** @returns {ZoneMappingDetailType} */
|
|
1222
|
+
declare function ZoneMappingDetailType(): ZoneMappingDetailType;
|
|
1223
|
+
type ZoneMappingDetailType = {
|
|
1224
|
+
/**
|
|
1225
|
+
* - Uid for the country.
|
|
1226
|
+
*/
|
|
1227
|
+
country: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* - List of regions with its details.
|
|
1230
|
+
*/
|
|
1231
|
+
regions?: ZoneMappingRegions[];
|
|
1232
|
+
};
|
|
1288
1233
|
/** @returns {ZoneMappingType} */
|
|
1289
1234
|
declare function ZoneMappingType(): ZoneMappingType;
|
|
1290
1235
|
type ZoneMappingType = {
|
|
1291
1236
|
country: string;
|
|
1292
|
-
|
|
1293
|
-
|
|
1237
|
+
regions: string[];
|
|
1238
|
+
};
|
|
1239
|
+
/** @returns {ZoneMappingRegions} */
|
|
1240
|
+
declare function ZoneMappingRegions(): ZoneMappingRegions;
|
|
1241
|
+
type ZoneMappingRegions = {
|
|
1242
|
+
/**
|
|
1243
|
+
* - Name of the region that is in proper casing.
|
|
1244
|
+
*/
|
|
1245
|
+
display_name?: string;
|
|
1246
|
+
parent_id?: string[];
|
|
1247
|
+
/**
|
|
1248
|
+
* - Unique identifier for that regions parent.
|
|
1249
|
+
*/
|
|
1250
|
+
parent_uid?: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* - What type does the region belong to.
|
|
1253
|
+
*/
|
|
1254
|
+
sub_type?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* - Unique identifier for that region.
|
|
1257
|
+
*/
|
|
1258
|
+
uid?: string;
|
|
1294
1259
|
};
|
|
1295
1260
|
/** @returns {UpdateZoneData} */
|
|
1296
1261
|
declare function UpdateZoneData(): UpdateZoneData;
|
|
@@ -1305,17 +1270,16 @@ type UpdateZoneData = {
|
|
|
1305
1270
|
store_ids: number[];
|
|
1306
1271
|
region_type: string;
|
|
1307
1272
|
mapping: ZoneMappingType[];
|
|
1308
|
-
assignment_preference?: string;
|
|
1309
1273
|
};
|
|
1310
|
-
/** @returns {
|
|
1311
|
-
declare function
|
|
1312
|
-
type
|
|
1274
|
+
/** @returns {ZoneUpdateRequest} */
|
|
1275
|
+
declare function ZoneUpdateRequest(): ZoneUpdateRequest;
|
|
1276
|
+
type ZoneUpdateRequest = {
|
|
1313
1277
|
identifier: string;
|
|
1314
1278
|
data: UpdateZoneData;
|
|
1315
1279
|
};
|
|
1316
|
-
/** @returns {
|
|
1317
|
-
declare function
|
|
1318
|
-
type
|
|
1280
|
+
/** @returns {ZoneSuccessResponse} */
|
|
1281
|
+
declare function ZoneSuccessResponse(): ZoneSuccessResponse;
|
|
1282
|
+
type ZoneSuccessResponse = {
|
|
1319
1283
|
status_code: number;
|
|
1320
1284
|
success: boolean;
|
|
1321
1285
|
};
|
|
@@ -1332,12 +1296,11 @@ type GetZoneDataViewItems = {
|
|
|
1332
1296
|
store_ids: number[];
|
|
1333
1297
|
region_type?: string;
|
|
1334
1298
|
mapping: ZoneMappingType[];
|
|
1335
|
-
assignment_preference?: string;
|
|
1336
1299
|
stores_count: number;
|
|
1337
1300
|
};
|
|
1338
|
-
/** @returns {
|
|
1339
|
-
declare function
|
|
1340
|
-
type
|
|
1301
|
+
/** @returns {GetSingleZoneDataViewResponse} */
|
|
1302
|
+
declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
|
|
1303
|
+
type GetSingleZoneDataViewResponse = {
|
|
1341
1304
|
data: GetZoneDataViewItems;
|
|
1342
1305
|
};
|
|
1343
1306
|
/** @returns {GetZoneByIdSchema} */
|
|
@@ -1352,9 +1315,10 @@ type GetZoneByIdSchema = {
|
|
|
1352
1315
|
product: ZoneProductTypes;
|
|
1353
1316
|
store_ids: number[];
|
|
1354
1317
|
region_type: string;
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1318
|
+
/**
|
|
1319
|
+
* - Country to region mapping for the zone.
|
|
1320
|
+
*/
|
|
1321
|
+
mapping: ZoneMappingDetailType[];
|
|
1358
1322
|
};
|
|
1359
1323
|
/** @returns {CreateZoneData} */
|
|
1360
1324
|
declare function CreateZoneData(): CreateZoneData;
|
|
@@ -1365,20 +1329,20 @@ type CreateZoneData = {
|
|
|
1365
1329
|
is_active: boolean;
|
|
1366
1330
|
channels: GetZoneDataViewChannels[];
|
|
1367
1331
|
store_ids: number[];
|
|
1332
|
+
product: ZoneProductTypes;
|
|
1368
1333
|
region_type: string;
|
|
1369
1334
|
mapping: ZoneMappingType[];
|
|
1370
|
-
assignment_preference?: string;
|
|
1371
1335
|
};
|
|
1372
|
-
/** @returns {
|
|
1373
|
-
declare function
|
|
1374
|
-
type
|
|
1336
|
+
/** @returns {ZoneResponse} */
|
|
1337
|
+
declare function ZoneResponse(): ZoneResponse;
|
|
1338
|
+
type ZoneResponse = {
|
|
1375
1339
|
status_code: number;
|
|
1376
1340
|
zone_id: string;
|
|
1377
1341
|
success: boolean;
|
|
1378
1342
|
};
|
|
1379
|
-
/** @returns {
|
|
1380
|
-
declare function
|
|
1381
|
-
type
|
|
1343
|
+
/** @returns {GetZoneFromPincodeViewRequest} */
|
|
1344
|
+
declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
|
|
1345
|
+
type GetZoneFromPincodeViewRequest = {
|
|
1382
1346
|
country: string;
|
|
1383
1347
|
pincode: string;
|
|
1384
1348
|
};
|
|
@@ -1392,23 +1356,22 @@ type Zone = {
|
|
|
1392
1356
|
slug: string;
|
|
1393
1357
|
is_active: boolean;
|
|
1394
1358
|
store_ids: number[];
|
|
1395
|
-
assignment_preference: string;
|
|
1396
1359
|
};
|
|
1397
|
-
/** @returns {
|
|
1398
|
-
declare function
|
|
1399
|
-
type
|
|
1360
|
+
/** @returns {GetZoneFromPincodeViewResponse} */
|
|
1361
|
+
declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
|
|
1362
|
+
type GetZoneFromPincodeViewResponse = {
|
|
1400
1363
|
serviceability_type: string;
|
|
1401
1364
|
zones: Zone[];
|
|
1402
1365
|
};
|
|
1403
|
-
/** @returns {
|
|
1404
|
-
declare function
|
|
1405
|
-
type
|
|
1366
|
+
/** @returns {GetZoneFromApplicationIdViewResponse} */
|
|
1367
|
+
declare function GetZoneFromApplicationIdViewResponse(): GetZoneFromApplicationIdViewResponse;
|
|
1368
|
+
type GetZoneFromApplicationIdViewResponse = {
|
|
1406
1369
|
page: ZoneDataItem[];
|
|
1407
1370
|
items: ListViewItems[];
|
|
1408
1371
|
};
|
|
1409
|
-
/** @returns {
|
|
1410
|
-
declare function
|
|
1411
|
-
type
|
|
1372
|
+
/** @returns {ServiceabilityPageResponse} */
|
|
1373
|
+
declare function ServiceabilityPageResponse(): ServiceabilityPageResponse;
|
|
1374
|
+
type ServiceabilityPageResponse = {
|
|
1412
1375
|
type?: string;
|
|
1413
1376
|
has_next?: boolean;
|
|
1414
1377
|
item_total?: number;
|
|
@@ -1421,39 +1384,39 @@ type MobileNo = {
|
|
|
1421
1384
|
number?: string;
|
|
1422
1385
|
country_code?: number;
|
|
1423
1386
|
};
|
|
1424
|
-
/** @returns {
|
|
1425
|
-
declare function
|
|
1426
|
-
type
|
|
1387
|
+
/** @returns {ManagerResponse} */
|
|
1388
|
+
declare function ManagerResponse(): ManagerResponse;
|
|
1389
|
+
type ManagerResponse = {
|
|
1427
1390
|
email?: string;
|
|
1428
1391
|
mobile_no?: MobileNo;
|
|
1429
1392
|
name?: string;
|
|
1430
1393
|
};
|
|
1431
|
-
/** @returns {
|
|
1432
|
-
declare function
|
|
1433
|
-
type
|
|
1394
|
+
/** @returns {ModifiedByResponse} */
|
|
1395
|
+
declare function ModifiedByResponse(): ModifiedByResponse;
|
|
1396
|
+
type ModifiedByResponse = {
|
|
1434
1397
|
username?: string;
|
|
1435
1398
|
user_id?: string;
|
|
1436
1399
|
};
|
|
1437
|
-
/** @returns {
|
|
1438
|
-
declare function
|
|
1439
|
-
type
|
|
1400
|
+
/** @returns {IntegrationTypeResponse} */
|
|
1401
|
+
declare function IntegrationTypeResponse(): IntegrationTypeResponse;
|
|
1402
|
+
type IntegrationTypeResponse = {
|
|
1440
1403
|
inventory?: string;
|
|
1441
1404
|
order?: string;
|
|
1442
1405
|
};
|
|
1443
|
-
/** @returns {
|
|
1444
|
-
declare function
|
|
1445
|
-
type
|
|
1406
|
+
/** @returns {ProductReturnConfigResponse} */
|
|
1407
|
+
declare function ProductReturnConfigResponse(): ProductReturnConfigResponse;
|
|
1408
|
+
type ProductReturnConfigResponse = {
|
|
1446
1409
|
on_same_store?: boolean;
|
|
1447
1410
|
};
|
|
1448
|
-
/** @returns {
|
|
1449
|
-
declare function
|
|
1450
|
-
type
|
|
1411
|
+
/** @returns {ContactNumberResponse} */
|
|
1412
|
+
declare function ContactNumberResponse(): ContactNumberResponse;
|
|
1413
|
+
type ContactNumberResponse = {
|
|
1451
1414
|
number?: string;
|
|
1452
1415
|
country_code?: number;
|
|
1453
1416
|
};
|
|
1454
|
-
/** @returns {
|
|
1455
|
-
declare function
|
|
1456
|
-
type
|
|
1417
|
+
/** @returns {AddressResponse} */
|
|
1418
|
+
declare function AddressResponse(): AddressResponse;
|
|
1419
|
+
type AddressResponse = {
|
|
1457
1420
|
city?: string;
|
|
1458
1421
|
address1?: string;
|
|
1459
1422
|
pincode?: number;
|
|
@@ -1464,31 +1427,31 @@ type AddressResult = {
|
|
|
1464
1427
|
latitude?: number;
|
|
1465
1428
|
longitude?: number;
|
|
1466
1429
|
};
|
|
1467
|
-
/** @returns {
|
|
1468
|
-
declare function
|
|
1469
|
-
type
|
|
1430
|
+
/** @returns {CreatedByResponse} */
|
|
1431
|
+
declare function CreatedByResponse(): CreatedByResponse;
|
|
1432
|
+
type CreatedByResponse = {
|
|
1470
1433
|
username?: string;
|
|
1471
1434
|
user_id?: string;
|
|
1472
1435
|
};
|
|
1473
|
-
/** @returns {
|
|
1474
|
-
declare function
|
|
1475
|
-
type
|
|
1436
|
+
/** @returns {EwayBillResponse} */
|
|
1437
|
+
declare function EwayBillResponse(): EwayBillResponse;
|
|
1438
|
+
type EwayBillResponse = {
|
|
1476
1439
|
enabled?: boolean;
|
|
1477
1440
|
};
|
|
1478
|
-
/** @returns {
|
|
1479
|
-
declare function
|
|
1480
|
-
type
|
|
1441
|
+
/** @returns {EinvoiceResponse} */
|
|
1442
|
+
declare function EinvoiceResponse(): EinvoiceResponse;
|
|
1443
|
+
type EinvoiceResponse = {
|
|
1481
1444
|
enabled?: boolean;
|
|
1482
1445
|
};
|
|
1483
|
-
/** @returns {
|
|
1484
|
-
declare function
|
|
1485
|
-
type
|
|
1486
|
-
e_waybill?:
|
|
1487
|
-
e_invoice?:
|
|
1446
|
+
/** @returns {GstCredentialsResponse} */
|
|
1447
|
+
declare function GstCredentialsResponse(): GstCredentialsResponse;
|
|
1448
|
+
type GstCredentialsResponse = {
|
|
1449
|
+
e_waybill?: EwayBillResponse;
|
|
1450
|
+
e_invoice?: EinvoiceResponse;
|
|
1488
1451
|
};
|
|
1489
|
-
/** @returns {
|
|
1490
|
-
declare function
|
|
1491
|
-
type
|
|
1452
|
+
/** @returns {WarningsResponse} */
|
|
1453
|
+
declare function WarningsResponse(): WarningsResponse;
|
|
1454
|
+
type WarningsResponse = {
|
|
1492
1455
|
store_address?: string;
|
|
1493
1456
|
};
|
|
1494
1457
|
/** @returns {OpeningClosing} */
|
|
@@ -1497,17 +1460,17 @@ type OpeningClosing = {
|
|
|
1497
1460
|
minute?: number;
|
|
1498
1461
|
hour?: number;
|
|
1499
1462
|
};
|
|
1500
|
-
/** @returns {
|
|
1501
|
-
declare function
|
|
1502
|
-
type
|
|
1463
|
+
/** @returns {TimmingResponse} */
|
|
1464
|
+
declare function TimmingResponse(): TimmingResponse;
|
|
1465
|
+
type TimmingResponse = {
|
|
1503
1466
|
open?: boolean;
|
|
1504
1467
|
weekday?: string;
|
|
1505
1468
|
closing?: OpeningClosing;
|
|
1506
1469
|
opening?: OpeningClosing;
|
|
1507
1470
|
};
|
|
1508
|
-
/** @returns {
|
|
1509
|
-
declare function
|
|
1510
|
-
type
|
|
1471
|
+
/** @returns {DocumentsResponse} */
|
|
1472
|
+
declare function DocumentsResponse(): DocumentsResponse;
|
|
1473
|
+
type DocumentsResponse = {
|
|
1511
1474
|
legal_name?: string;
|
|
1512
1475
|
value?: string;
|
|
1513
1476
|
type?: string;
|
|
@@ -1527,49 +1490,49 @@ type Dp = {
|
|
|
1527
1490
|
transport_mode?: string;
|
|
1528
1491
|
assign_dp_from_sb?: boolean;
|
|
1529
1492
|
};
|
|
1530
|
-
/** @returns {
|
|
1531
|
-
declare function
|
|
1532
|
-
type
|
|
1493
|
+
/** @returns {LogisticsResponse} */
|
|
1494
|
+
declare function LogisticsResponse(): LogisticsResponse;
|
|
1495
|
+
type LogisticsResponse = {
|
|
1533
1496
|
override?: boolean;
|
|
1534
1497
|
dp?: Dp;
|
|
1535
1498
|
};
|
|
1536
|
-
/** @returns {
|
|
1537
|
-
declare function
|
|
1538
|
-
type
|
|
1499
|
+
/** @returns {ItemResponse} */
|
|
1500
|
+
declare function ItemResponse(): ItemResponse;
|
|
1501
|
+
type ItemResponse = {
|
|
1539
1502
|
created_on?: string;
|
|
1540
|
-
manager?:
|
|
1541
|
-
modified_by?:
|
|
1542
|
-
integration_type?:
|
|
1503
|
+
manager?: ManagerResponse;
|
|
1504
|
+
modified_by?: ModifiedByResponse;
|
|
1505
|
+
integration_type?: IntegrationTypeResponse;
|
|
1543
1506
|
verified_on?: string;
|
|
1544
|
-
product_return_config?:
|
|
1545
|
-
contact_numbers?:
|
|
1546
|
-
verified_by?:
|
|
1507
|
+
product_return_config?: ProductReturnConfigResponse;
|
|
1508
|
+
contact_numbers?: ContactNumberResponse[];
|
|
1509
|
+
verified_by?: ModifiedByResponse;
|
|
1547
1510
|
stage?: string;
|
|
1548
|
-
address?:
|
|
1511
|
+
address?: AddressResponse;
|
|
1549
1512
|
modified_on?: string;
|
|
1550
|
-
created_by?:
|
|
1551
|
-
gst_credentials?:
|
|
1513
|
+
created_by?: CreatedByResponse;
|
|
1514
|
+
gst_credentials?: GstCredentialsResponse;
|
|
1552
1515
|
display_name?: string;
|
|
1553
1516
|
company_id?: number;
|
|
1554
1517
|
uid?: number;
|
|
1555
1518
|
_custom_json?: any;
|
|
1556
1519
|
code?: string;
|
|
1557
|
-
warnings?:
|
|
1520
|
+
warnings?: WarningsResponse;
|
|
1558
1521
|
name?: string;
|
|
1559
|
-
timing?:
|
|
1560
|
-
documents?:
|
|
1522
|
+
timing?: TimmingResponse[];
|
|
1523
|
+
documents?: DocumentsResponse[];
|
|
1561
1524
|
store_type?: string;
|
|
1562
1525
|
sub_type?: string;
|
|
1563
1526
|
company?: number;
|
|
1564
1527
|
_cls?: string;
|
|
1565
|
-
logistics?:
|
|
1528
|
+
logistics?: LogisticsResponse;
|
|
1566
1529
|
notification_emails?: string[];
|
|
1567
1530
|
};
|
|
1568
|
-
/** @returns {
|
|
1569
|
-
declare function
|
|
1570
|
-
type
|
|
1571
|
-
page:
|
|
1572
|
-
items?:
|
|
1531
|
+
/** @returns {GetStoresViewResponse} */
|
|
1532
|
+
declare function GetStoresViewResponse(): GetStoresViewResponse;
|
|
1533
|
+
type GetStoresViewResponse = {
|
|
1534
|
+
page: ServiceabilityPageResponse;
|
|
1535
|
+
items?: ItemResponse[];
|
|
1573
1536
|
};
|
|
1574
1537
|
/** @returns {PincodeMopData} */
|
|
1575
1538
|
declare function PincodeMopData(): PincodeMopData;
|
|
@@ -1578,24 +1541,24 @@ type PincodeMopData = {
|
|
|
1578
1541
|
country: string;
|
|
1579
1542
|
action: string;
|
|
1580
1543
|
};
|
|
1581
|
-
/** @returns {
|
|
1582
|
-
declare function
|
|
1583
|
-
type
|
|
1544
|
+
/** @returns {PincodeMopUpdateResponse} */
|
|
1545
|
+
declare function PincodeMopUpdateResponse(): PincodeMopUpdateResponse;
|
|
1546
|
+
type PincodeMopUpdateResponse = {
|
|
1584
1547
|
pincode: number;
|
|
1585
1548
|
channel_id: string;
|
|
1586
1549
|
country: string;
|
|
1587
1550
|
is_active: boolean;
|
|
1588
1551
|
};
|
|
1589
|
-
/** @returns {
|
|
1590
|
-
declare function
|
|
1591
|
-
type
|
|
1552
|
+
/** @returns {PincodeMOPresponse} */
|
|
1553
|
+
declare function PincodeMOPresponse(): PincodeMOPresponse;
|
|
1554
|
+
type PincodeMOPresponse = {
|
|
1592
1555
|
success: boolean;
|
|
1593
1556
|
status_code: number;
|
|
1594
1557
|
batch_id: string;
|
|
1595
1558
|
country: string;
|
|
1596
1559
|
action: string;
|
|
1597
1560
|
pincodes?: number[];
|
|
1598
|
-
updated_pincodes?:
|
|
1561
|
+
updated_pincodes?: PincodeMopUpdateResponse[];
|
|
1599
1562
|
};
|
|
1600
1563
|
/** @returns {CommonError} */
|
|
1601
1564
|
declare function CommonError(): CommonError;
|
|
@@ -1610,26 +1573,26 @@ type PincodeMopBulkData = {
|
|
|
1610
1573
|
batch_id: string;
|
|
1611
1574
|
s3_url: string;
|
|
1612
1575
|
};
|
|
1613
|
-
/** @returns {
|
|
1614
|
-
declare function
|
|
1615
|
-
type
|
|
1576
|
+
/** @returns {PincodeBulkViewResponse} */
|
|
1577
|
+
declare function PincodeBulkViewResponse(): PincodeBulkViewResponse;
|
|
1578
|
+
type PincodeBulkViewResponse = {
|
|
1616
1579
|
batch_id: string;
|
|
1617
1580
|
s3_url: string;
|
|
1618
1581
|
};
|
|
1619
|
-
/** @returns {
|
|
1620
|
-
declare function
|
|
1621
|
-
type
|
|
1582
|
+
/** @returns {PincodeCodStatusListingRequest} */
|
|
1583
|
+
declare function PincodeCodStatusListingRequest(): PincodeCodStatusListingRequest;
|
|
1584
|
+
type PincodeCodStatusListingRequest = {
|
|
1622
1585
|
country?: string;
|
|
1623
1586
|
is_active?: boolean;
|
|
1624
1587
|
pincode?: number;
|
|
1625
1588
|
current?: number;
|
|
1626
1589
|
page_size?: number;
|
|
1627
1590
|
};
|
|
1628
|
-
/** @returns {
|
|
1629
|
-
declare function
|
|
1630
|
-
type
|
|
1591
|
+
/** @returns {PincodeCodStatusListingResponse} */
|
|
1592
|
+
declare function PincodeCodStatusListingResponse(): PincodeCodStatusListingResponse;
|
|
1593
|
+
type PincodeCodStatusListingResponse = {
|
|
1631
1594
|
country: string;
|
|
1632
|
-
data:
|
|
1595
|
+
data: PincodeCodStatusListingResponse[];
|
|
1633
1596
|
success: boolean;
|
|
1634
1597
|
errors?: Error[];
|
|
1635
1598
|
page: PincodeCodStatusListingPage;
|
|
@@ -1657,9 +1620,9 @@ type PincodeCodStatusListingSummary = {
|
|
|
1657
1620
|
total_active_pincodes: number;
|
|
1658
1621
|
total_inactive_pincodes: number;
|
|
1659
1622
|
};
|
|
1660
|
-
/** @returns {
|
|
1661
|
-
declare function
|
|
1662
|
-
type
|
|
1623
|
+
/** @returns {PincodeMopUpdateAuditHistoryRequest} */
|
|
1624
|
+
declare function PincodeMopUpdateAuditHistoryRequest(): PincodeMopUpdateAuditHistoryRequest;
|
|
1625
|
+
type PincodeMopUpdateAuditHistoryRequest = {
|
|
1663
1626
|
entity_type: string;
|
|
1664
1627
|
file_name?: string;
|
|
1665
1628
|
};
|
|
@@ -1672,9 +1635,9 @@ type PincodeMopUpdateAuditHistoryPaging = {
|
|
|
1672
1635
|
has_next?: boolean;
|
|
1673
1636
|
item_total?: number;
|
|
1674
1637
|
};
|
|
1675
|
-
/** @returns {
|
|
1676
|
-
declare function
|
|
1677
|
-
type
|
|
1638
|
+
/** @returns {PincodeMopUpdateAuditHistoryResponse} */
|
|
1639
|
+
declare function PincodeMopUpdateAuditHistoryResponse(): PincodeMopUpdateAuditHistoryResponse;
|
|
1640
|
+
type PincodeMopUpdateAuditHistoryResponse = {
|
|
1678
1641
|
batch_id?: string;
|
|
1679
1642
|
entity_type?: string;
|
|
1680
1643
|
error_file_s3_url?: string;
|
|
@@ -1684,12 +1647,12 @@ type PincodeMopUpdateAuditHistoryResult = {
|
|
|
1684
1647
|
updated_by?: string;
|
|
1685
1648
|
success?: boolean;
|
|
1686
1649
|
};
|
|
1687
|
-
/** @returns {
|
|
1688
|
-
declare function
|
|
1689
|
-
type
|
|
1650
|
+
/** @returns {PincodeMopUpdateAuditHistoryResponseData} */
|
|
1651
|
+
declare function PincodeMopUpdateAuditHistoryResponseData(): PincodeMopUpdateAuditHistoryResponseData;
|
|
1652
|
+
type PincodeMopUpdateAuditHistoryResponseData = {
|
|
1690
1653
|
entity_type?: string;
|
|
1691
1654
|
page: PincodeMopUpdateAuditHistoryPaging;
|
|
1692
|
-
data:
|
|
1655
|
+
data: PincodeMopUpdateAuditHistoryResponse[];
|
|
1693
1656
|
};
|
|
1694
1657
|
/** @returns {ArithmeticOperations} */
|
|
1695
1658
|
declare function ArithmeticOperations(): ArithmeticOperations;
|
|
@@ -1729,9 +1692,9 @@ type CourierAccount = {
|
|
|
1729
1692
|
stage: string;
|
|
1730
1693
|
is_own_account: boolean;
|
|
1731
1694
|
};
|
|
1732
|
-
/** @returns {
|
|
1733
|
-
declare function
|
|
1734
|
-
type
|
|
1695
|
+
/** @returns {CourierAccountRequestBody} */
|
|
1696
|
+
declare function CourierAccountRequestBody(): CourierAccountRequestBody;
|
|
1697
|
+
type CourierAccountRequestBody = {
|
|
1735
1698
|
extension_id: string;
|
|
1736
1699
|
account_id?: string;
|
|
1737
1700
|
scheme_id: string;
|
|
@@ -1739,18 +1702,18 @@ type CourierAccountDetailsBody = {
|
|
|
1739
1702
|
stage: string;
|
|
1740
1703
|
is_own_account: boolean;
|
|
1741
1704
|
};
|
|
1742
|
-
/** @returns {
|
|
1743
|
-
declare function
|
|
1744
|
-
type
|
|
1705
|
+
/** @returns {ErrorResponse} */
|
|
1706
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
1707
|
+
type ErrorResponse = {
|
|
1745
1708
|
value: string;
|
|
1746
1709
|
message: string;
|
|
1747
1710
|
type: string;
|
|
1748
1711
|
};
|
|
1749
|
-
/** @returns {
|
|
1750
|
-
declare function
|
|
1751
|
-
type
|
|
1712
|
+
/** @returns {CourierPartnerAccountFailureResponse} */
|
|
1713
|
+
declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
|
|
1714
|
+
type CourierPartnerAccountFailureResponse = {
|
|
1752
1715
|
success: boolean;
|
|
1753
|
-
error:
|
|
1716
|
+
error: ErrorResponse[];
|
|
1754
1717
|
};
|
|
1755
1718
|
/** @returns {Page} */
|
|
1756
1719
|
declare function Page(): Page;
|
|
@@ -1784,17 +1747,17 @@ type Page = {
|
|
|
1784
1747
|
*/
|
|
1785
1748
|
size?: number;
|
|
1786
1749
|
};
|
|
1787
|
-
/** @returns {
|
|
1788
|
-
declare function
|
|
1789
|
-
type
|
|
1750
|
+
/** @returns {CourierPartnerRuleCPListResponse} */
|
|
1751
|
+
declare function CourierPartnerRuleCPListResponse(): CourierPartnerRuleCPListResponse;
|
|
1752
|
+
type CourierPartnerRuleCPListResponse = {
|
|
1790
1753
|
account_id?: string;
|
|
1791
1754
|
extension_id?: string;
|
|
1792
1755
|
is_self_ship?: boolean;
|
|
1793
1756
|
scheme_rules?: any;
|
|
1794
1757
|
};
|
|
1795
|
-
/** @returns {
|
|
1796
|
-
declare function
|
|
1797
|
-
type
|
|
1758
|
+
/** @returns {CourierPartnerRuleResponse} */
|
|
1759
|
+
declare function CourierPartnerRuleResponse(): CourierPartnerRuleResponse;
|
|
1760
|
+
type CourierPartnerRuleResponse = {
|
|
1798
1761
|
is_active?: boolean;
|
|
1799
1762
|
application_id?: string;
|
|
1800
1763
|
company_id?: number;
|
|
@@ -1806,7 +1769,7 @@ type CourierPartnerRuleResult = {
|
|
|
1806
1769
|
modified_on?: string;
|
|
1807
1770
|
name?: string;
|
|
1808
1771
|
type?: string;
|
|
1809
|
-
cp_list?:
|
|
1772
|
+
cp_list?: CourierPartnerRuleCPListResponse[];
|
|
1810
1773
|
};
|
|
1811
1774
|
/** @returns {CourierPartnerList} */
|
|
1812
1775
|
declare function CourierPartnerList(): CourierPartnerList;
|
|
@@ -1869,185 +1832,18 @@ type CourierPartnerRule = {
|
|
|
1869
1832
|
conditions: CourierPartnerRuleConditions;
|
|
1870
1833
|
sort: string[];
|
|
1871
1834
|
};
|
|
1872
|
-
/** @returns {
|
|
1873
|
-
declare function
|
|
1874
|
-
type
|
|
1835
|
+
/** @returns {FailureResponse} */
|
|
1836
|
+
declare function FailureResponse(): FailureResponse;
|
|
1837
|
+
type FailureResponse = {
|
|
1875
1838
|
success: boolean;
|
|
1876
|
-
error:
|
|
1839
|
+
error: ErrorResponse[];
|
|
1877
1840
|
};
|
|
1878
|
-
/** @returns {
|
|
1879
|
-
declare function
|
|
1880
|
-
type
|
|
1881
|
-
items:
|
|
1841
|
+
/** @returns {CourierPartnerRulesListResponse} */
|
|
1842
|
+
declare function CourierPartnerRulesListResponse(): CourierPartnerRulesListResponse;
|
|
1843
|
+
type CourierPartnerRulesListResponse = {
|
|
1844
|
+
items: CourierPartnerRuleResponse[];
|
|
1882
1845
|
page: Page;
|
|
1883
1846
|
};
|
|
1884
|
-
/** @returns {ShipmentsArticles} */
|
|
1885
|
-
declare function ShipmentsArticles(): ShipmentsArticles;
|
|
1886
|
-
type ShipmentsArticles = {
|
|
1887
|
-
/**
|
|
1888
|
-
* - Unique identifier of the item.
|
|
1889
|
-
*/
|
|
1890
|
-
item_id?: number;
|
|
1891
|
-
/**
|
|
1892
|
-
* - Unique identifier of the category.
|
|
1893
|
-
*/
|
|
1894
|
-
category_id?: number;
|
|
1895
|
-
/**
|
|
1896
|
-
* - Unique identifier of the brand.
|
|
1897
|
-
*/
|
|
1898
|
-
brand_id?: number;
|
|
1899
|
-
/**
|
|
1900
|
-
* - Unique identifier of the department.
|
|
1901
|
-
*/
|
|
1902
|
-
department_id?: number;
|
|
1903
|
-
/**
|
|
1904
|
-
* - Tags associated with the item.
|
|
1905
|
-
*/
|
|
1906
|
-
tags?: string[];
|
|
1907
|
-
};
|
|
1908
|
-
/** @returns {ShipmentDimension} */
|
|
1909
|
-
declare function ShipmentDimension(): ShipmentDimension;
|
|
1910
|
-
type ShipmentDimension = {
|
|
1911
|
-
/**
|
|
1912
|
-
* - Height of the shipment in centimeters.
|
|
1913
|
-
*/
|
|
1914
|
-
height: number;
|
|
1915
|
-
/**
|
|
1916
|
-
* - Length of the shipment in centimeters.
|
|
1917
|
-
*/
|
|
1918
|
-
length: number;
|
|
1919
|
-
/**
|
|
1920
|
-
* - Width of the shipment in centimeters.
|
|
1921
|
-
*/
|
|
1922
|
-
width: number;
|
|
1923
|
-
};
|
|
1924
|
-
/** @returns {Shipments} */
|
|
1925
|
-
declare function Shipments(): Shipments;
|
|
1926
|
-
type Shipments = {
|
|
1927
|
-
/**
|
|
1928
|
-
* - Unique identifier of the shipment.
|
|
1929
|
-
*/
|
|
1930
|
-
id?: string;
|
|
1931
|
-
/**
|
|
1932
|
-
* - Unique identifier of the selling location.
|
|
1933
|
-
*/
|
|
1934
|
-
location_id?: number;
|
|
1935
|
-
/**
|
|
1936
|
-
* - Tags associated with the selling location.
|
|
1937
|
-
*/
|
|
1938
|
-
location_tags?: string[];
|
|
1939
|
-
/**
|
|
1940
|
-
* - Weight of the shipment.
|
|
1941
|
-
*/
|
|
1942
|
-
shipment_weight?: number;
|
|
1943
|
-
/**
|
|
1944
|
-
* - Volumetric weight of the shipment.
|
|
1945
|
-
*/
|
|
1946
|
-
shipment_volumetric_weight?: number;
|
|
1947
|
-
/**
|
|
1948
|
-
* - Total Cost of the shipment.
|
|
1949
|
-
*/
|
|
1950
|
-
shipment_cost?: number;
|
|
1951
|
-
shipment_dimension?: ShipmentDimension;
|
|
1952
|
-
/**
|
|
1953
|
-
* - A List of courier schemes.
|
|
1954
|
-
*/
|
|
1955
|
-
courier_partner_schemes?: string[];
|
|
1956
|
-
/**
|
|
1957
|
-
* - List of articles in the shipment.
|
|
1958
|
-
*/
|
|
1959
|
-
articles?: ShipmentsArticles[];
|
|
1960
|
-
};
|
|
1961
|
-
/** @returns {ShipmentCourierPartnerDetails} */
|
|
1962
|
-
declare function ShipmentCourierPartnerDetails(): ShipmentCourierPartnerDetails;
|
|
1963
|
-
type ShipmentCourierPartnerDetails = {
|
|
1964
|
-
from_location: ShipmentsCourierPartnersServiceability;
|
|
1965
|
-
to_location: ShipmentsCourierPartnersServiceability;
|
|
1966
|
-
/**
|
|
1967
|
-
* - List of shipments.
|
|
1968
|
-
*/
|
|
1969
|
-
shipments?: Shipments[];
|
|
1970
|
-
/**
|
|
1971
|
-
* - Journey type of the shipment forward or return.
|
|
1972
|
-
*/
|
|
1973
|
-
journey?: string;
|
|
1974
|
-
/**
|
|
1975
|
-
* - Payment mode opted for the shipment.
|
|
1976
|
-
*/
|
|
1977
|
-
payment_mode?: string;
|
|
1978
|
-
};
|
|
1979
|
-
/** @returns {CourierPartnerPromise} */
|
|
1980
|
-
declare function CourierPartnerPromise(): CourierPartnerPromise;
|
|
1981
|
-
type CourierPartnerPromise = {
|
|
1982
|
-
/**
|
|
1983
|
-
* - The earliest possible timestamp.
|
|
1984
|
-
*/
|
|
1985
|
-
min: string;
|
|
1986
|
-
/**
|
|
1987
|
-
* - The latest possible timestamp.
|
|
1988
|
-
*/
|
|
1989
|
-
max: string;
|
|
1990
|
-
};
|
|
1991
|
-
/** @returns {CourierPartners} */
|
|
1992
|
-
declare function CourierPartners(): CourierPartners;
|
|
1993
|
-
type CourierPartners = {
|
|
1994
|
-
/**
|
|
1995
|
-
* - Unique identifier of courier partner extension.
|
|
1996
|
-
*/
|
|
1997
|
-
extension_id?: string;
|
|
1998
|
-
/**
|
|
1999
|
-
* - Unique identifier of courier partner scheme.
|
|
2000
|
-
*/
|
|
2001
|
-
scheme_id?: string;
|
|
2002
|
-
/**
|
|
2003
|
-
* - Name of the courier partner.
|
|
2004
|
-
*/
|
|
2005
|
-
name?: string;
|
|
2006
|
-
delivery_promise?: CourierPartnerPromise;
|
|
2007
|
-
};
|
|
2008
|
-
/** @returns {ShipmentCourierPartners} */
|
|
2009
|
-
declare function ShipmentCourierPartners(): ShipmentCourierPartners;
|
|
2010
|
-
type ShipmentCourierPartners = {
|
|
2011
|
-
/**
|
|
2012
|
-
* - Unique identifier of the shipment.
|
|
2013
|
-
*/
|
|
2014
|
-
id?: string;
|
|
2015
|
-
/**
|
|
2016
|
-
* - Courier partners of the shipment.
|
|
2017
|
-
*/
|
|
2018
|
-
courier_partners?: CourierPartners[];
|
|
2019
|
-
};
|
|
2020
|
-
/** @returns {ShipmentCourierPartnerResult} */
|
|
2021
|
-
declare function ShipmentCourierPartnerResult(): ShipmentCourierPartnerResult;
|
|
2022
|
-
type ShipmentCourierPartnerResult = {
|
|
2023
|
-
courier_partners?: CourierPartners[];
|
|
2024
|
-
shipments?: ShipmentCourierPartners[];
|
|
2025
|
-
};
|
|
2026
|
-
/** @returns {ShipmentsCourierPartnersServiceability} */
|
|
2027
|
-
declare function ShipmentsCourierPartnersServiceability(): ShipmentsCourierPartnersServiceability;
|
|
2028
|
-
type ShipmentsCourierPartnersServiceability = {
|
|
2029
|
-
/**
|
|
2030
|
-
* - Postal code or PIN code of the address area.
|
|
2031
|
-
*/
|
|
2032
|
-
pincode?: string;
|
|
2033
|
-
/**
|
|
2034
|
-
* - Specifies the sector or district code of
|
|
2035
|
-
* the address if applicable.
|
|
2036
|
-
*/
|
|
2037
|
-
sector_code?: string;
|
|
2038
|
-
/**
|
|
2039
|
-
* - Indicates the state or province code of the address.
|
|
2040
|
-
*/
|
|
2041
|
-
state_code?: string;
|
|
2042
|
-
/**
|
|
2043
|
-
* - Denote the city or municipality code of the address.
|
|
2044
|
-
*/
|
|
2045
|
-
city_code?: string;
|
|
2046
|
-
/**
|
|
2047
|
-
* - ISO2 code for the country of the address.
|
|
2048
|
-
*/
|
|
2049
|
-
country_code: string;
|
|
2050
|
-
};
|
|
2051
1847
|
/** @returns {CompanyConfig} */
|
|
2052
1848
|
declare function CompanyConfig(): CompanyConfig;
|
|
2053
1849
|
type CompanyConfig = {
|
|
@@ -2067,17 +1863,17 @@ type ApplicationConfig = {
|
|
|
2067
1863
|
sort?: string[];
|
|
2068
1864
|
zones?: ZoneConfig;
|
|
2069
1865
|
};
|
|
2070
|
-
/** @returns {
|
|
2071
|
-
declare function
|
|
2072
|
-
type
|
|
1866
|
+
/** @returns {BulkRegionJobSerializer} */
|
|
1867
|
+
declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
|
|
1868
|
+
type BulkRegionJobSerializer = {
|
|
2073
1869
|
file_path?: string;
|
|
2074
1870
|
country: string;
|
|
2075
1871
|
action: string;
|
|
2076
1872
|
region: string;
|
|
2077
1873
|
};
|
|
2078
|
-
/** @returns {
|
|
2079
|
-
declare function
|
|
2080
|
-
type
|
|
1874
|
+
/** @returns {BulkRegionResponseItemData} */
|
|
1875
|
+
declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
|
|
1876
|
+
type BulkRegionResponseItemData = {
|
|
2081
1877
|
file_path: string;
|
|
2082
1878
|
failed?: number;
|
|
2083
1879
|
failed_records?: any[];
|
|
@@ -2090,27 +1886,27 @@ type BulkRegionResultItemData = {
|
|
|
2090
1886
|
total?: number;
|
|
2091
1887
|
error_file_path?: string;
|
|
2092
1888
|
};
|
|
2093
|
-
/** @returns {
|
|
2094
|
-
declare function
|
|
2095
|
-
type
|
|
2096
|
-
items:
|
|
1889
|
+
/** @returns {BulkRegionResponse} */
|
|
1890
|
+
declare function BulkRegionResponse(): BulkRegionResponse;
|
|
1891
|
+
type BulkRegionResponse = {
|
|
1892
|
+
items: BulkRegionResponseItemData[];
|
|
2097
1893
|
page: Page;
|
|
2098
1894
|
};
|
|
2099
|
-
/** @returns {
|
|
2100
|
-
declare function
|
|
2101
|
-
type
|
|
1895
|
+
/** @returns {SelfShipResponse} */
|
|
1896
|
+
declare function SelfShipResponse(): SelfShipResponse;
|
|
1897
|
+
type SelfShipResponse = {
|
|
2102
1898
|
is_active: boolean;
|
|
2103
1899
|
tat: number;
|
|
2104
1900
|
};
|
|
2105
1901
|
/** @returns {ApplicationSelfShipConfig} */
|
|
2106
1902
|
declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
|
|
2107
1903
|
type ApplicationSelfShipConfig = {
|
|
2108
|
-
self_ship?:
|
|
1904
|
+
self_ship?: any;
|
|
2109
1905
|
};
|
|
2110
|
-
/** @returns {
|
|
2111
|
-
declare function
|
|
2112
|
-
type
|
|
2113
|
-
error?:
|
|
1906
|
+
/** @returns {ApplicationSelfShipConfigResponse} */
|
|
1907
|
+
declare function ApplicationSelfShipConfigResponse(): ApplicationSelfShipConfigResponse;
|
|
1908
|
+
type ApplicationSelfShipConfigResponse = {
|
|
1909
|
+
error?: ServiceabilityErrorResponse;
|
|
2114
1910
|
data?: ApplicationSelfShipConfig;
|
|
2115
1911
|
success: boolean;
|
|
2116
1912
|
};
|
|
@@ -2167,15 +1963,15 @@ type StorePrioritySchema = {
|
|
|
2167
1963
|
id?: string;
|
|
2168
1964
|
name?: string;
|
|
2169
1965
|
};
|
|
2170
|
-
/** @returns {
|
|
2171
|
-
declare function
|
|
2172
|
-
type
|
|
1966
|
+
/** @returns {GetStoreRulesApiResponse} */
|
|
1967
|
+
declare function GetStoreRulesApiResponse(): GetStoreRulesApiResponse;
|
|
1968
|
+
type GetStoreRulesApiResponse = {
|
|
2173
1969
|
items?: StoreRuleDataSchema[];
|
|
2174
1970
|
page?: Page;
|
|
2175
1971
|
};
|
|
2176
|
-
/** @returns {
|
|
2177
|
-
declare function
|
|
2178
|
-
type
|
|
1972
|
+
/** @returns {CreateStoreRuleRequestSchema} */
|
|
1973
|
+
declare function CreateStoreRuleRequestSchema(): CreateStoreRuleRequestSchema;
|
|
1974
|
+
type CreateStoreRuleRequestSchema = {
|
|
2179
1975
|
name?: string;
|
|
2180
1976
|
is_active?: boolean;
|
|
2181
1977
|
conditions?: StoreRuleConditionSchema;
|
|
@@ -2184,9 +1980,9 @@ type CreateStoreRuleDetailsSchema = {
|
|
|
2184
1980
|
store_priority?: StorePrioritySchema[];
|
|
2185
1981
|
sort?: string[];
|
|
2186
1982
|
};
|
|
2187
|
-
/** @returns {
|
|
2188
|
-
declare function
|
|
2189
|
-
type
|
|
1983
|
+
/** @returns {StoreRuleResponseSchema} */
|
|
1984
|
+
declare function StoreRuleResponseSchema(): StoreRuleResponseSchema;
|
|
1985
|
+
type StoreRuleResponseSchema = {
|
|
2190
1986
|
id?: string;
|
|
2191
1987
|
name?: string;
|
|
2192
1988
|
type?: string;
|
|
@@ -2197,9 +1993,9 @@ type StoreRuleResultSchema = {
|
|
|
2197
1993
|
conditions?: StoreRuleConditionSchema;
|
|
2198
1994
|
is_active?: boolean;
|
|
2199
1995
|
};
|
|
2200
|
-
/** @returns {
|
|
2201
|
-
declare function
|
|
2202
|
-
type
|
|
1996
|
+
/** @returns {StoreRuleUpdateResponseSchema} */
|
|
1997
|
+
declare function StoreRuleUpdateResponseSchema(): StoreRuleUpdateResponseSchema;
|
|
1998
|
+
type StoreRuleUpdateResponseSchema = {
|
|
2203
1999
|
id?: string;
|
|
2204
2000
|
name?: string;
|
|
2205
2001
|
type?: string;
|
|
@@ -2217,8 +2013,8 @@ declare function ServiceabilityModel(): ServiceabilityModel;
|
|
|
2217
2013
|
type ServiceabilityModel = {
|
|
2218
2014
|
lm_cod_limit: number;
|
|
2219
2015
|
is_qc: boolean;
|
|
2220
|
-
pickup_cutoff
|
|
2221
|
-
route_code
|
|
2016
|
+
pickup_cutoff: string;
|
|
2017
|
+
route_code: string;
|
|
2222
2018
|
is_first_mile: boolean;
|
|
2223
2019
|
is_return: boolean;
|
|
2224
2020
|
is_installation: boolean;
|
|
@@ -2259,9 +2055,9 @@ type CourierPartnerSchemeModel = {
|
|
|
2259
2055
|
stage: string;
|
|
2260
2056
|
feature: CourierPartnerSchemeFeatures;
|
|
2261
2057
|
};
|
|
2262
|
-
/** @returns {
|
|
2263
|
-
declare function
|
|
2264
|
-
type
|
|
2058
|
+
/** @returns {CourierAccountResponse} */
|
|
2059
|
+
declare function CourierAccountResponse(): CourierAccountResponse;
|
|
2060
|
+
type CourierAccountResponse = {
|
|
2265
2061
|
account_id: string;
|
|
2266
2062
|
scheme_id: string;
|
|
2267
2063
|
is_self_ship: boolean;
|
|
@@ -2269,10 +2065,10 @@ type CourierAccountResult = {
|
|
|
2269
2065
|
is_own_account: boolean;
|
|
2270
2066
|
scheme_rules: CourierPartnerSchemeModel;
|
|
2271
2067
|
};
|
|
2272
|
-
/** @returns {
|
|
2273
|
-
declare function
|
|
2274
|
-
type
|
|
2275
|
-
items:
|
|
2068
|
+
/** @returns {CompanyCourierPartnerAccountListResponse} */
|
|
2069
|
+
declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
|
|
2070
|
+
type CompanyCourierPartnerAccountListResponse = {
|
|
2071
|
+
items: CourierAccountResponse[];
|
|
2276
2072
|
page: Page;
|
|
2277
2073
|
};
|
|
2278
2074
|
/** @returns {PackageMaterial} */
|
|
@@ -2296,9 +2092,9 @@ type PackageMaterial = {
|
|
|
2296
2092
|
package_vol_weight?: number;
|
|
2297
2093
|
auto_calculate?: boolean;
|
|
2298
2094
|
};
|
|
2299
|
-
/** @returns {
|
|
2300
|
-
declare function
|
|
2301
|
-
type
|
|
2095
|
+
/** @returns {PackageMaterialResponse} */
|
|
2096
|
+
declare function PackageMaterialResponse(): PackageMaterialResponse;
|
|
2097
|
+
type PackageMaterialResponse = {
|
|
2302
2098
|
name: string;
|
|
2303
2099
|
id?: string;
|
|
2304
2100
|
item_id?: number;
|
|
@@ -2337,9 +2133,9 @@ type PackageRule = {
|
|
|
2337
2133
|
product_id?: PackageRuleProduct;
|
|
2338
2134
|
category_id?: PackageRuleCategory;
|
|
2339
2135
|
};
|
|
2340
|
-
/** @returns {
|
|
2341
|
-
declare function
|
|
2342
|
-
type
|
|
2136
|
+
/** @returns {PackageRuleResponse} */
|
|
2137
|
+
declare function PackageRuleResponse(): PackageRuleResponse;
|
|
2138
|
+
type PackageRuleResponse = {
|
|
2343
2139
|
id?: string;
|
|
2344
2140
|
name: string;
|
|
2345
2141
|
company_id: number;
|
|
@@ -2358,13 +2154,13 @@ type Channel = {
|
|
|
2358
2154
|
/** @returns {PackageMaterialRuleList} */
|
|
2359
2155
|
declare function PackageMaterialRuleList(): PackageMaterialRuleList;
|
|
2360
2156
|
type PackageMaterialRuleList = {
|
|
2361
|
-
items?:
|
|
2157
|
+
items?: PackageRuleResponse;
|
|
2362
2158
|
page?: Page;
|
|
2363
2159
|
};
|
|
2364
2160
|
/** @returns {PackageMaterialList} */
|
|
2365
2161
|
declare function PackageMaterialList(): PackageMaterialList;
|
|
2366
2162
|
type PackageMaterialList = {
|
|
2367
|
-
items?:
|
|
2163
|
+
items?: PackageMaterialResponse;
|
|
2368
2164
|
page?: Page;
|
|
2369
2165
|
};
|
|
2370
2166
|
/** @returns {PackageRuleProduct} */
|
|
@@ -2388,15 +2184,15 @@ type PackageMaterialRuleQuantity = {
|
|
|
2388
2184
|
min?: number;
|
|
2389
2185
|
max?: number;
|
|
2390
2186
|
};
|
|
2391
|
-
/** @returns {
|
|
2392
|
-
declare function
|
|
2393
|
-
type
|
|
2187
|
+
/** @returns {RulePriorityRequest} */
|
|
2188
|
+
declare function RulePriorityRequest(): RulePriorityRequest;
|
|
2189
|
+
type RulePriorityRequest = {
|
|
2394
2190
|
rule_id: string;
|
|
2395
2191
|
priority: number;
|
|
2396
2192
|
};
|
|
2397
|
-
/** @returns {
|
|
2398
|
-
declare function
|
|
2399
|
-
type
|
|
2193
|
+
/** @returns {RulePriorityResponse} */
|
|
2194
|
+
declare function RulePriorityResponse(): RulePriorityResponse;
|
|
2195
|
+
type RulePriorityResponse = {
|
|
2400
2196
|
success?: boolean;
|
|
2401
2197
|
};
|
|
2402
2198
|
/** @returns {ArticleAssignment} */
|
|
@@ -2455,7 +2251,7 @@ declare function OptimalLocationsArticles(): OptimalLocationsArticles;
|
|
|
2455
2251
|
type OptimalLocationsArticles = {
|
|
2456
2252
|
item_id: number;
|
|
2457
2253
|
size: string;
|
|
2458
|
-
quantity:
|
|
2254
|
+
quantity: string;
|
|
2459
2255
|
group_id?: string;
|
|
2460
2256
|
is_primary_item?: boolean;
|
|
2461
2257
|
meta?: any;
|
|
@@ -2464,18 +2260,18 @@ type OptimalLocationsArticles = {
|
|
|
2464
2260
|
assign_locations: number[];
|
|
2465
2261
|
seller_id?: number;
|
|
2466
2262
|
};
|
|
2467
|
-
/** @returns {
|
|
2468
|
-
declare function
|
|
2469
|
-
type
|
|
2263
|
+
/** @returns {OptimlLocationsRequestSchema} */
|
|
2264
|
+
declare function OptimlLocationsRequestSchema(): OptimlLocationsRequestSchema;
|
|
2265
|
+
type OptimlLocationsRequestSchema = {
|
|
2470
2266
|
channel_id: string;
|
|
2471
2267
|
channel_type: string;
|
|
2472
2268
|
channel_identifier?: string;
|
|
2473
2269
|
to_serviceability: LocationDetailsServiceability;
|
|
2474
|
-
|
|
2270
|
+
article?: OptimalLocationsArticles;
|
|
2475
2271
|
};
|
|
2476
|
-
/** @returns {
|
|
2477
|
-
declare function
|
|
2478
|
-
type
|
|
2272
|
+
/** @returns {OptimalLocationArticlesResponse} */
|
|
2273
|
+
declare function OptimalLocationArticlesResponse(): OptimalLocationArticlesResponse;
|
|
2274
|
+
type OptimalLocationArticlesResponse = {
|
|
2479
2275
|
item_id: number;
|
|
2480
2276
|
size: string;
|
|
2481
2277
|
quantity: number;
|
|
@@ -2491,35 +2287,15 @@ type OptimalLocationArticlesResult = {
|
|
|
2491
2287
|
_id: string;
|
|
2492
2288
|
uid: string;
|
|
2493
2289
|
};
|
|
2494
|
-
/** @returns {
|
|
2495
|
-
declare function
|
|
2496
|
-
type
|
|
2290
|
+
/** @returns {OptimalLocationAssignedStoresResponse} */
|
|
2291
|
+
declare function OptimalLocationAssignedStoresResponse(): OptimalLocationAssignedStoresResponse;
|
|
2292
|
+
type OptimalLocationAssignedStoresResponse = {
|
|
2497
2293
|
store_id: number;
|
|
2498
|
-
articles:
|
|
2499
|
-
};
|
|
2500
|
-
/** @returns {OptimalLocationsResult} */
|
|
2501
|
-
declare function OptimalLocationsResult(): OptimalLocationsResult;
|
|
2502
|
-
type OptimalLocationsResult = {
|
|
2503
|
-
assigned_stores: OptimalLocationAssignedStoresResult[];
|
|
2504
|
-
faulty_articles?: ErrorResult[];
|
|
2294
|
+
articles: OptimalLocationArticlesResponse[];
|
|
2505
2295
|
};
|
|
2506
|
-
/** @returns {
|
|
2507
|
-
declare function
|
|
2508
|
-
type
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
*/
|
|
2512
|
-
message: string;
|
|
2513
|
-
/**
|
|
2514
|
-
* - The field in the request that caused the error.
|
|
2515
|
-
*/
|
|
2516
|
-
field: string;
|
|
2517
|
-
};
|
|
2518
|
-
/** @returns {StandardError} */
|
|
2519
|
-
declare function StandardError(): StandardError;
|
|
2520
|
-
type StandardError = {
|
|
2521
|
-
/**
|
|
2522
|
-
* - A brief description of the error.
|
|
2523
|
-
*/
|
|
2524
|
-
message: string;
|
|
2296
|
+
/** @returns {OptimalLocationsResponse} */
|
|
2297
|
+
declare function OptimalLocationsResponse(): OptimalLocationsResponse;
|
|
2298
|
+
type OptimalLocationsResponse = {
|
|
2299
|
+
assigned_stores: OptimalLocationAssignedStoresResponse[];
|
|
2300
|
+
faulty_articles?: ErrorResponse[];
|
|
2525
2301
|
};
|