@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.1
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 +1304 -4979
- package/sdk/platform/Cart/CartPlatformModel.js +1217 -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 +341 -602
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +284 -483
- 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
|
*/
|
|
@@ -154,12 +154,12 @@ export = ServiceabilityPlatformModel;
|
|
|
154
154
|
* @property {string} [assignment_preference]
|
|
155
155
|
*/
|
|
156
156
|
/**
|
|
157
|
-
* @typedef
|
|
157
|
+
* @typedef ZoneUpdateRequest
|
|
158
158
|
* @property {string} identifier
|
|
159
159
|
* @property {UpdateZoneData} data
|
|
160
160
|
*/
|
|
161
161
|
/**
|
|
162
|
-
* @typedef
|
|
162
|
+
* @typedef ZoneSuccessResponse
|
|
163
163
|
* @property {number} status_code
|
|
164
164
|
* @property {boolean} success
|
|
165
165
|
*/
|
|
@@ -179,7 +179,7 @@ export = ServiceabilityPlatformModel;
|
|
|
179
179
|
* @property {number} stores_count
|
|
180
180
|
*/
|
|
181
181
|
/**
|
|
182
|
-
* @typedef
|
|
182
|
+
* @typedef GetSingleZoneDataViewResponse
|
|
183
183
|
* @property {GetZoneDataViewItems} data
|
|
184
184
|
*/
|
|
185
185
|
/**
|
|
@@ -210,13 +210,13 @@ export = ServiceabilityPlatformModel;
|
|
|
210
210
|
* @property {string} [assignment_preference]
|
|
211
211
|
*/
|
|
212
212
|
/**
|
|
213
|
-
* @typedef
|
|
213
|
+
* @typedef ZoneResponse
|
|
214
214
|
* @property {number} status_code
|
|
215
215
|
* @property {string} zone_id
|
|
216
216
|
* @property {boolean} success
|
|
217
217
|
*/
|
|
218
218
|
/**
|
|
219
|
-
* @typedef
|
|
219
|
+
* @typedef GetZoneFromPincodeViewRequest
|
|
220
220
|
* @property {string} country
|
|
221
221
|
* @property {string} pincode
|
|
222
222
|
*/
|
|
@@ -232,17 +232,17 @@ export = ServiceabilityPlatformModel;
|
|
|
232
232
|
* @property {string} assignment_preference
|
|
233
233
|
*/
|
|
234
234
|
/**
|
|
235
|
-
* @typedef
|
|
235
|
+
* @typedef GetZoneFromPincodeViewResponse
|
|
236
236
|
* @property {string} serviceability_type
|
|
237
237
|
* @property {Zone[]} zones
|
|
238
238
|
*/
|
|
239
239
|
/**
|
|
240
|
-
* @typedef
|
|
240
|
+
* @typedef GetZoneFromApplicationIdViewResponse
|
|
241
241
|
* @property {ZoneDataItem[]} page
|
|
242
242
|
* @property {ListViewItems[]} items
|
|
243
243
|
*/
|
|
244
244
|
/**
|
|
245
|
-
* @typedef
|
|
245
|
+
* @typedef ServiceabilityPageResponse
|
|
246
246
|
* @property {string} [type]
|
|
247
247
|
* @property {boolean} [has_next]
|
|
248
248
|
* @property {number} [item_total]
|
|
@@ -255,32 +255,32 @@ export = ServiceabilityPlatformModel;
|
|
|
255
255
|
* @property {number} [country_code]
|
|
256
256
|
*/
|
|
257
257
|
/**
|
|
258
|
-
* @typedef
|
|
258
|
+
* @typedef ManagerResponse
|
|
259
259
|
* @property {string} [email]
|
|
260
260
|
* @property {MobileNo} [mobile_no]
|
|
261
261
|
* @property {string} [name]
|
|
262
262
|
*/
|
|
263
263
|
/**
|
|
264
|
-
* @typedef
|
|
264
|
+
* @typedef ModifiedByResponse
|
|
265
265
|
* @property {string} [username]
|
|
266
266
|
* @property {string} [user_id]
|
|
267
267
|
*/
|
|
268
268
|
/**
|
|
269
|
-
* @typedef
|
|
269
|
+
* @typedef IntegrationTypeResponse
|
|
270
270
|
* @property {string} [inventory]
|
|
271
271
|
* @property {string} [order]
|
|
272
272
|
*/
|
|
273
273
|
/**
|
|
274
|
-
* @typedef
|
|
274
|
+
* @typedef ProductReturnConfigResponse
|
|
275
275
|
* @property {boolean} [on_same_store]
|
|
276
276
|
*/
|
|
277
277
|
/**
|
|
278
|
-
* @typedef
|
|
278
|
+
* @typedef ContactNumberResponse
|
|
279
279
|
* @property {string} [number]
|
|
280
280
|
* @property {number} [country_code]
|
|
281
281
|
*/
|
|
282
282
|
/**
|
|
283
|
-
* @typedef
|
|
283
|
+
* @typedef AddressResponse
|
|
284
284
|
* @property {string} [city]
|
|
285
285
|
* @property {string} [address1]
|
|
286
286
|
* @property {number} [pincode]
|
|
@@ -292,25 +292,25 @@ export = ServiceabilityPlatformModel;
|
|
|
292
292
|
* @property {number} [longitude]
|
|
293
293
|
*/
|
|
294
294
|
/**
|
|
295
|
-
* @typedef
|
|
295
|
+
* @typedef CreatedByResponse
|
|
296
296
|
* @property {string} [username]
|
|
297
297
|
* @property {string} [user_id]
|
|
298
298
|
*/
|
|
299
299
|
/**
|
|
300
|
-
* @typedef
|
|
300
|
+
* @typedef EwayBillResponse
|
|
301
301
|
* @property {boolean} [enabled]
|
|
302
302
|
*/
|
|
303
303
|
/**
|
|
304
|
-
* @typedef
|
|
304
|
+
* @typedef EinvoiceResponse
|
|
305
305
|
* @property {boolean} [enabled]
|
|
306
306
|
*/
|
|
307
307
|
/**
|
|
308
|
-
* @typedef
|
|
309
|
-
* @property {
|
|
310
|
-
* @property {
|
|
308
|
+
* @typedef GstCredentialsResponse
|
|
309
|
+
* @property {EwayBillResponse} [e_waybill]
|
|
310
|
+
* @property {EinvoiceResponse} [e_invoice]
|
|
311
311
|
*/
|
|
312
312
|
/**
|
|
313
|
-
* @typedef
|
|
313
|
+
* @typedef WarningsResponse
|
|
314
314
|
* @property {string} [store_address]
|
|
315
315
|
*/
|
|
316
316
|
/**
|
|
@@ -319,14 +319,14 @@ export = ServiceabilityPlatformModel;
|
|
|
319
319
|
* @property {number} [hour]
|
|
320
320
|
*/
|
|
321
321
|
/**
|
|
322
|
-
* @typedef
|
|
322
|
+
* @typedef TimmingResponse
|
|
323
323
|
* @property {boolean} [open]
|
|
324
324
|
* @property {string} [weekday]
|
|
325
325
|
* @property {OpeningClosing} [closing]
|
|
326
326
|
* @property {OpeningClosing} [opening]
|
|
327
327
|
*/
|
|
328
328
|
/**
|
|
329
|
-
* @typedef
|
|
329
|
+
* @typedef DocumentsResponse
|
|
330
330
|
* @property {string} [legal_name]
|
|
331
331
|
* @property {string} [value]
|
|
332
332
|
* @property {string} [type]
|
|
@@ -346,45 +346,45 @@ export = ServiceabilityPlatformModel;
|
|
|
346
346
|
* @property {boolean} [assign_dp_from_sb]
|
|
347
347
|
*/
|
|
348
348
|
/**
|
|
349
|
-
* @typedef
|
|
349
|
+
* @typedef LogisticsResponse
|
|
350
350
|
* @property {boolean} [override]
|
|
351
351
|
* @property {Dp} [dp]
|
|
352
352
|
*/
|
|
353
353
|
/**
|
|
354
|
-
* @typedef
|
|
354
|
+
* @typedef ItemResponse
|
|
355
355
|
* @property {string} [created_on]
|
|
356
|
-
* @property {
|
|
357
|
-
* @property {
|
|
358
|
-
* @property {
|
|
356
|
+
* @property {ManagerResponse} [manager]
|
|
357
|
+
* @property {ModifiedByResponse} [modified_by]
|
|
358
|
+
* @property {IntegrationTypeResponse} [integration_type]
|
|
359
359
|
* @property {string} [verified_on]
|
|
360
|
-
* @property {
|
|
361
|
-
* @property {
|
|
362
|
-
* @property {
|
|
360
|
+
* @property {ProductReturnConfigResponse} [product_return_config]
|
|
361
|
+
* @property {ContactNumberResponse[]} [contact_numbers]
|
|
362
|
+
* @property {ModifiedByResponse} [verified_by]
|
|
363
363
|
* @property {string} [stage]
|
|
364
|
-
* @property {
|
|
364
|
+
* @property {AddressResponse} [address]
|
|
365
365
|
* @property {string} [modified_on]
|
|
366
|
-
* @property {
|
|
367
|
-
* @property {
|
|
366
|
+
* @property {CreatedByResponse} [created_by]
|
|
367
|
+
* @property {GstCredentialsResponse} [gst_credentials]
|
|
368
368
|
* @property {string} [display_name]
|
|
369
369
|
* @property {number} [company_id]
|
|
370
370
|
* @property {number} [uid]
|
|
371
371
|
* @property {Object} [_custom_json]
|
|
372
372
|
* @property {string} [code]
|
|
373
|
-
* @property {
|
|
373
|
+
* @property {WarningsResponse} [warnings]
|
|
374
374
|
* @property {string} [name]
|
|
375
|
-
* @property {
|
|
376
|
-
* @property {
|
|
375
|
+
* @property {TimmingResponse[]} [timing]
|
|
376
|
+
* @property {DocumentsResponse[]} [documents]
|
|
377
377
|
* @property {string} [store_type]
|
|
378
378
|
* @property {string} [sub_type]
|
|
379
379
|
* @property {number} [company]
|
|
380
380
|
* @property {string} [_cls]
|
|
381
|
-
* @property {
|
|
381
|
+
* @property {LogisticsResponse} [logistics]
|
|
382
382
|
* @property {string[]} [notification_emails]
|
|
383
383
|
*/
|
|
384
384
|
/**
|
|
385
|
-
* @typedef
|
|
386
|
-
* @property {
|
|
387
|
-
* @property {
|
|
385
|
+
* @typedef GetStoresViewResponse
|
|
386
|
+
* @property {ServiceabilityPageResponse} page
|
|
387
|
+
* @property {ItemResponse[]} [items]
|
|
388
388
|
*/
|
|
389
389
|
/**
|
|
390
390
|
* @typedef PincodeMopData
|
|
@@ -393,21 +393,21 @@ export = ServiceabilityPlatformModel;
|
|
|
393
393
|
* @property {string} action
|
|
394
394
|
*/
|
|
395
395
|
/**
|
|
396
|
-
* @typedef
|
|
396
|
+
* @typedef PincodeMopUpdateResponse
|
|
397
397
|
* @property {number} pincode
|
|
398
398
|
* @property {string} channel_id
|
|
399
399
|
* @property {string} country
|
|
400
400
|
* @property {boolean} is_active
|
|
401
401
|
*/
|
|
402
402
|
/**
|
|
403
|
-
* @typedef
|
|
403
|
+
* @typedef PincodeMOPresponse
|
|
404
404
|
* @property {boolean} success
|
|
405
405
|
* @property {number} status_code
|
|
406
406
|
* @property {string} batch_id
|
|
407
407
|
* @property {string} country
|
|
408
408
|
* @property {string} action
|
|
409
409
|
* @property {number[]} [pincodes]
|
|
410
|
-
* @property {
|
|
410
|
+
* @property {PincodeMopUpdateResponse[]} [updated_pincodes]
|
|
411
411
|
*/
|
|
412
412
|
/**
|
|
413
413
|
* @typedef CommonError
|
|
@@ -421,12 +421,12 @@ export = ServiceabilityPlatformModel;
|
|
|
421
421
|
* @property {string} s3_url
|
|
422
422
|
*/
|
|
423
423
|
/**
|
|
424
|
-
* @typedef
|
|
424
|
+
* @typedef PincodeBulkViewResponse
|
|
425
425
|
* @property {string} batch_id
|
|
426
426
|
* @property {string} s3_url
|
|
427
427
|
*/
|
|
428
428
|
/**
|
|
429
|
-
* @typedef
|
|
429
|
+
* @typedef PincodeCodStatusListingRequest
|
|
430
430
|
* @property {string} [country]
|
|
431
431
|
* @property {boolean} [is_active]
|
|
432
432
|
* @property {number} [pincode]
|
|
@@ -434,9 +434,9 @@ export = ServiceabilityPlatformModel;
|
|
|
434
434
|
* @property {number} [page_size]
|
|
435
435
|
*/
|
|
436
436
|
/**
|
|
437
|
-
* @typedef
|
|
437
|
+
* @typedef PincodeCodStatusListingResponse
|
|
438
438
|
* @property {string} country
|
|
439
|
-
* @property {
|
|
439
|
+
* @property {PincodeCodStatusListingResponse[]} data
|
|
440
440
|
* @property {boolean} success
|
|
441
441
|
* @property {Error[]} [errors]
|
|
442
442
|
* @property {PincodeCodStatusListingPage} page
|
|
@@ -462,7 +462,7 @@ export = ServiceabilityPlatformModel;
|
|
|
462
462
|
* @property {number} total_inactive_pincodes
|
|
463
463
|
*/
|
|
464
464
|
/**
|
|
465
|
-
* @typedef
|
|
465
|
+
* @typedef PincodeMopUpdateAuditHistoryRequest
|
|
466
466
|
* @property {string} entity_type
|
|
467
467
|
* @property {string} [file_name]
|
|
468
468
|
*/
|
|
@@ -475,7 +475,7 @@ export = ServiceabilityPlatformModel;
|
|
|
475
475
|
* @property {number} [item_total]
|
|
476
476
|
*/
|
|
477
477
|
/**
|
|
478
|
-
* @typedef
|
|
478
|
+
* @typedef PincodeMopUpdateAuditHistoryResponse
|
|
479
479
|
* @property {string} [batch_id]
|
|
480
480
|
* @property {string} [entity_type]
|
|
481
481
|
* @property {string} [error_file_s3_url]
|
|
@@ -486,10 +486,10 @@ export = ServiceabilityPlatformModel;
|
|
|
486
486
|
* @property {boolean} [success]
|
|
487
487
|
*/
|
|
488
488
|
/**
|
|
489
|
-
* @typedef
|
|
489
|
+
* @typedef PincodeMopUpdateAuditHistoryResponseData
|
|
490
490
|
* @property {string} [entity_type]
|
|
491
491
|
* @property {PincodeMopUpdateAuditHistoryPaging} page
|
|
492
|
-
* @property {
|
|
492
|
+
* @property {PincodeMopUpdateAuditHistoryResponse[]} data
|
|
493
493
|
*/
|
|
494
494
|
/**
|
|
495
495
|
* @typedef ArithmeticOperations
|
|
@@ -526,7 +526,7 @@ export = ServiceabilityPlatformModel;
|
|
|
526
526
|
* @property {boolean} is_own_account
|
|
527
527
|
*/
|
|
528
528
|
/**
|
|
529
|
-
* @typedef
|
|
529
|
+
* @typedef CourierAccountRequestBody
|
|
530
530
|
* @property {string} extension_id
|
|
531
531
|
* @property {string} [account_id]
|
|
532
532
|
* @property {string} scheme_id
|
|
@@ -535,15 +535,15 @@ export = ServiceabilityPlatformModel;
|
|
|
535
535
|
* @property {boolean} is_own_account
|
|
536
536
|
*/
|
|
537
537
|
/**
|
|
538
|
-
* @typedef
|
|
538
|
+
* @typedef ErrorResponse
|
|
539
539
|
* @property {string} value
|
|
540
540
|
* @property {string} message
|
|
541
541
|
* @property {string} type
|
|
542
542
|
*/
|
|
543
543
|
/**
|
|
544
|
-
* @typedef
|
|
544
|
+
* @typedef CourierPartnerAccountFailureResponse
|
|
545
545
|
* @property {boolean} success
|
|
546
|
-
* @property {
|
|
546
|
+
* @property {ErrorResponse[]} error
|
|
547
547
|
*/
|
|
548
548
|
/**
|
|
549
549
|
* @typedef Page
|
|
@@ -556,14 +556,14 @@ export = ServiceabilityPlatformModel;
|
|
|
556
556
|
* @property {number} [size] - The number of items per page.
|
|
557
557
|
*/
|
|
558
558
|
/**
|
|
559
|
-
* @typedef
|
|
559
|
+
* @typedef CourierPartnerRuleCPListResponse
|
|
560
560
|
* @property {string} [account_id]
|
|
561
561
|
* @property {string} [extension_id]
|
|
562
562
|
* @property {boolean} [is_self_ship]
|
|
563
563
|
* @property {Object} [scheme_rules]
|
|
564
564
|
*/
|
|
565
565
|
/**
|
|
566
|
-
* @typedef
|
|
566
|
+
* @typedef CourierPartnerRuleResponse
|
|
567
567
|
* @property {boolean} [is_active]
|
|
568
568
|
* @property {string} [application_id]
|
|
569
569
|
* @property {number} [company_id]
|
|
@@ -575,7 +575,7 @@ export = ServiceabilityPlatformModel;
|
|
|
575
575
|
* @property {string} [modified_on]
|
|
576
576
|
* @property {string} [name]
|
|
577
577
|
* @property {string} [type]
|
|
578
|
-
* @property {
|
|
578
|
+
* @property {CourierPartnerRuleCPListResponse[]} [cp_list]
|
|
579
579
|
*/
|
|
580
580
|
/**
|
|
581
581
|
* @typedef CourierPartnerList
|
|
@@ -632,80 +632,15 @@ export = ServiceabilityPlatformModel;
|
|
|
632
632
|
* @property {string[]} sort
|
|
633
633
|
*/
|
|
634
634
|
/**
|
|
635
|
-
* @typedef
|
|
635
|
+
* @typedef FailureResponse
|
|
636
636
|
* @property {boolean} success
|
|
637
|
-
* @property {
|
|
637
|
+
* @property {ErrorResponse[]} error
|
|
638
638
|
*/
|
|
639
639
|
/**
|
|
640
|
-
* @typedef
|
|
641
|
-
* @property {
|
|
640
|
+
* @typedef CourierPartnerRulesListResponse
|
|
641
|
+
* @property {CourierPartnerRuleResponse[]} items
|
|
642
642
|
* @property {Page} page
|
|
643
643
|
*/
|
|
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
644
|
/**
|
|
710
645
|
* @typedef CompanyConfig
|
|
711
646
|
* @property {string[]} rule_ids
|
|
@@ -723,14 +658,14 @@ export = ServiceabilityPlatformModel;
|
|
|
723
658
|
* @property {ZoneConfig} [zones]
|
|
724
659
|
*/
|
|
725
660
|
/**
|
|
726
|
-
* @typedef
|
|
661
|
+
* @typedef BulkRegionJobSerializer
|
|
727
662
|
* @property {string} [file_path]
|
|
728
663
|
* @property {string} country
|
|
729
664
|
* @property {string} action
|
|
730
665
|
* @property {string} region
|
|
731
666
|
*/
|
|
732
667
|
/**
|
|
733
|
-
* @typedef
|
|
668
|
+
* @typedef BulkRegionResponseItemData
|
|
734
669
|
* @property {string} file_path
|
|
735
670
|
* @property {number} [failed]
|
|
736
671
|
* @property {Object[]} [failed_records]
|
|
@@ -744,22 +679,22 @@ export = ServiceabilityPlatformModel;
|
|
|
744
679
|
* @property {string} [error_file_path]
|
|
745
680
|
*/
|
|
746
681
|
/**
|
|
747
|
-
* @typedef
|
|
748
|
-
* @property {
|
|
682
|
+
* @typedef BulkRegionResponse
|
|
683
|
+
* @property {BulkRegionResponseItemData[]} items
|
|
749
684
|
* @property {Page} page
|
|
750
685
|
*/
|
|
751
686
|
/**
|
|
752
|
-
* @typedef
|
|
687
|
+
* @typedef SelfShipResponse
|
|
753
688
|
* @property {boolean} is_active
|
|
754
689
|
* @property {number} tat
|
|
755
690
|
*/
|
|
756
691
|
/**
|
|
757
692
|
* @typedef ApplicationSelfShipConfig
|
|
758
|
-
* @property {
|
|
693
|
+
* @property {Object} [self_ship]
|
|
759
694
|
*/
|
|
760
695
|
/**
|
|
761
|
-
* @typedef
|
|
762
|
-
* @property {
|
|
696
|
+
* @typedef ApplicationSelfShipConfigResponse
|
|
697
|
+
* @property {ServiceabilityErrorResponse} [error]
|
|
763
698
|
* @property {ApplicationSelfShipConfig} [data]
|
|
764
699
|
* @property {boolean} success
|
|
765
700
|
*/
|
|
@@ -812,12 +747,12 @@ export = ServiceabilityPlatformModel;
|
|
|
812
747
|
* @property {string} [name]
|
|
813
748
|
*/
|
|
814
749
|
/**
|
|
815
|
-
* @typedef
|
|
750
|
+
* @typedef GetStoreRulesApiResponse
|
|
816
751
|
* @property {StoreRuleDataSchema[]} [items]
|
|
817
752
|
* @property {Page} [page]
|
|
818
753
|
*/
|
|
819
754
|
/**
|
|
820
|
-
* @typedef
|
|
755
|
+
* @typedef CreateStoreRuleRequestSchema
|
|
821
756
|
* @property {string} [name]
|
|
822
757
|
* @property {boolean} [is_active]
|
|
823
758
|
* @property {StoreRuleConditionSchema} [conditions]
|
|
@@ -827,7 +762,7 @@ export = ServiceabilityPlatformModel;
|
|
|
827
762
|
* @property {string[]} [sort]
|
|
828
763
|
*/
|
|
829
764
|
/**
|
|
830
|
-
* @typedef
|
|
765
|
+
* @typedef StoreRuleResponseSchema
|
|
831
766
|
* @property {string} [id]
|
|
832
767
|
* @property {string} [name]
|
|
833
768
|
* @property {string} [type]
|
|
@@ -839,7 +774,7 @@ export = ServiceabilityPlatformModel;
|
|
|
839
774
|
* @property {boolean} [is_active]
|
|
840
775
|
*/
|
|
841
776
|
/**
|
|
842
|
-
* @typedef
|
|
777
|
+
* @typedef StoreRuleUpdateResponseSchema
|
|
843
778
|
* @property {string} [id]
|
|
844
779
|
* @property {string} [name]
|
|
845
780
|
* @property {string} [type]
|
|
@@ -856,8 +791,8 @@ export = ServiceabilityPlatformModel;
|
|
|
856
791
|
* @typedef ServiceabilityModel
|
|
857
792
|
* @property {number} lm_cod_limit
|
|
858
793
|
* @property {boolean} is_qc
|
|
859
|
-
* @property {string}
|
|
860
|
-
* @property {string}
|
|
794
|
+
* @property {string} pickup_cutoff
|
|
795
|
+
* @property {string} route_code
|
|
861
796
|
* @property {boolean} is_first_mile
|
|
862
797
|
* @property {boolean} is_return
|
|
863
798
|
* @property {boolean} is_installation
|
|
@@ -897,7 +832,7 @@ export = ServiceabilityPlatformModel;
|
|
|
897
832
|
* @property {CourierPartnerSchemeFeatures} feature
|
|
898
833
|
*/
|
|
899
834
|
/**
|
|
900
|
-
* @typedef
|
|
835
|
+
* @typedef CourierAccountResponse
|
|
901
836
|
* @property {string} account_id
|
|
902
837
|
* @property {string} scheme_id
|
|
903
838
|
* @property {boolean} is_self_ship
|
|
@@ -906,8 +841,8 @@ export = ServiceabilityPlatformModel;
|
|
|
906
841
|
* @property {CourierPartnerSchemeModel} scheme_rules
|
|
907
842
|
*/
|
|
908
843
|
/**
|
|
909
|
-
* @typedef
|
|
910
|
-
* @property {
|
|
844
|
+
* @typedef CompanyCourierPartnerAccountListResponse
|
|
845
|
+
* @property {CourierAccountResponse[]} items
|
|
911
846
|
* @property {Page} page
|
|
912
847
|
*/
|
|
913
848
|
/**
|
|
@@ -931,7 +866,7 @@ export = ServiceabilityPlatformModel;
|
|
|
931
866
|
* @property {boolean} [auto_calculate]
|
|
932
867
|
*/
|
|
933
868
|
/**
|
|
934
|
-
* @typedef
|
|
869
|
+
* @typedef PackageMaterialResponse
|
|
935
870
|
* @property {string} name
|
|
936
871
|
* @property {string} [id]
|
|
937
872
|
* @property {number} [item_id]
|
|
@@ -969,7 +904,7 @@ export = ServiceabilityPlatformModel;
|
|
|
969
904
|
* @property {PackageRuleCategory} [category_id]
|
|
970
905
|
*/
|
|
971
906
|
/**
|
|
972
|
-
* @typedef
|
|
907
|
+
* @typedef PackageRuleResponse
|
|
973
908
|
* @property {string} [id]
|
|
974
909
|
* @property {string} name
|
|
975
910
|
* @property {number} company_id
|
|
@@ -986,12 +921,12 @@ export = ServiceabilityPlatformModel;
|
|
|
986
921
|
*/
|
|
987
922
|
/**
|
|
988
923
|
* @typedef PackageMaterialRuleList
|
|
989
|
-
* @property {
|
|
924
|
+
* @property {PackageRuleResponse} [items]
|
|
990
925
|
* @property {Page} [page]
|
|
991
926
|
*/
|
|
992
927
|
/**
|
|
993
928
|
* @typedef PackageMaterialList
|
|
994
|
-
* @property {
|
|
929
|
+
* @property {PackageMaterialResponse} [items]
|
|
995
930
|
* @property {Page} [page]
|
|
996
931
|
*/
|
|
997
932
|
/**
|
|
@@ -1012,12 +947,12 @@ export = ServiceabilityPlatformModel;
|
|
|
1012
947
|
* @property {number} [max]
|
|
1013
948
|
*/
|
|
1014
949
|
/**
|
|
1015
|
-
* @typedef
|
|
950
|
+
* @typedef RulePriorityRequest
|
|
1016
951
|
* @property {string} rule_id
|
|
1017
952
|
* @property {number} priority
|
|
1018
953
|
*/
|
|
1019
954
|
/**
|
|
1020
|
-
* @typedef
|
|
955
|
+
* @typedef RulePriorityResponse
|
|
1021
956
|
* @property {boolean} [success]
|
|
1022
957
|
*/
|
|
1023
958
|
/**
|
|
@@ -1045,7 +980,7 @@ export = ServiceabilityPlatformModel;
|
|
|
1045
980
|
* @typedef OptimalLocationsArticles
|
|
1046
981
|
* @property {number} item_id
|
|
1047
982
|
* @property {string} size
|
|
1048
|
-
* @property {
|
|
983
|
+
* @property {string} quantity
|
|
1049
984
|
* @property {string} [group_id]
|
|
1050
985
|
* @property {boolean} [is_primary_item]
|
|
1051
986
|
* @property {Object} [meta]
|
|
@@ -1055,15 +990,15 @@ export = ServiceabilityPlatformModel;
|
|
|
1055
990
|
* @property {number} [seller_id]
|
|
1056
991
|
*/
|
|
1057
992
|
/**
|
|
1058
|
-
* @typedef
|
|
993
|
+
* @typedef OptimlLocationsRequestSchema
|
|
1059
994
|
* @property {string} channel_id
|
|
1060
995
|
* @property {string} channel_type
|
|
1061
996
|
* @property {string} [channel_identifier]
|
|
1062
997
|
* @property {LocationDetailsServiceability} to_serviceability
|
|
1063
|
-
* @property {OptimalLocationsArticles
|
|
998
|
+
* @property {OptimalLocationsArticles} [article]
|
|
1064
999
|
*/
|
|
1065
1000
|
/**
|
|
1066
|
-
* @typedef
|
|
1001
|
+
* @typedef OptimalLocationArticlesResponse
|
|
1067
1002
|
* @property {number} item_id
|
|
1068
1003
|
* @property {string} size
|
|
1069
1004
|
* @property {number} quantity
|
|
@@ -1080,37 +1015,28 @@ export = ServiceabilityPlatformModel;
|
|
|
1080
1015
|
* @property {string} uid
|
|
1081
1016
|
*/
|
|
1082
1017
|
/**
|
|
1083
|
-
* @typedef
|
|
1018
|
+
* @typedef OptimalLocationAssignedStoresResponse
|
|
1084
1019
|
* @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.
|
|
1020
|
+
* @property {OptimalLocationArticlesResponse[]} articles
|
|
1096
1021
|
*/
|
|
1097
1022
|
/**
|
|
1098
|
-
* @typedef
|
|
1099
|
-
* @property {
|
|
1023
|
+
* @typedef OptimalLocationsResponse
|
|
1024
|
+
* @property {OptimalLocationAssignedStoresResponse[]} assigned_stores
|
|
1025
|
+
* @property {ErrorResponse[]} [faulty_articles]
|
|
1100
1026
|
*/
|
|
1101
1027
|
declare class ServiceabilityPlatformModel {
|
|
1102
1028
|
}
|
|
1103
1029
|
declare namespace ServiceabilityPlatformModel {
|
|
1104
|
-
export {
|
|
1030
|
+
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, ZoneMappingType, 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
1031
|
}
|
|
1106
|
-
/** @returns {
|
|
1107
|
-
declare function
|
|
1108
|
-
type
|
|
1032
|
+
/** @returns {UpdateZoneConfigRequest} */
|
|
1033
|
+
declare function UpdateZoneConfigRequest(): UpdateZoneConfigRequest;
|
|
1034
|
+
type UpdateZoneConfigRequest = {
|
|
1109
1035
|
serviceability_type?: string;
|
|
1110
1036
|
};
|
|
1111
|
-
/** @returns {
|
|
1112
|
-
declare function
|
|
1113
|
-
type
|
|
1037
|
+
/** @returns {ServiceabilityErrorResponse} */
|
|
1038
|
+
declare function ServiceabilityErrorResponse(): ServiceabilityErrorResponse;
|
|
1039
|
+
type ServiceabilityErrorResponse = {
|
|
1114
1040
|
message: string;
|
|
1115
1041
|
value: string;
|
|
1116
1042
|
type: string;
|
|
@@ -1122,16 +1048,16 @@ type ApplicationServiceabilityConfig = {
|
|
|
1122
1048
|
serviceability_type: string;
|
|
1123
1049
|
channel_type: string;
|
|
1124
1050
|
};
|
|
1125
|
-
/** @returns {
|
|
1126
|
-
declare function
|
|
1127
|
-
type
|
|
1128
|
-
error?:
|
|
1051
|
+
/** @returns {ApplicationServiceabilityConfigResponse} */
|
|
1052
|
+
declare function ApplicationServiceabilityConfigResponse(): ApplicationServiceabilityConfigResponse;
|
|
1053
|
+
type ApplicationServiceabilityConfigResponse = {
|
|
1054
|
+
error?: ServiceabilityErrorResponse;
|
|
1129
1055
|
data?: ApplicationServiceabilityConfig;
|
|
1130
1056
|
success: boolean;
|
|
1131
1057
|
};
|
|
1132
|
-
/** @returns {
|
|
1133
|
-
declare function
|
|
1134
|
-
type
|
|
1058
|
+
/** @returns {EntityRegionView_Request} */
|
|
1059
|
+
declare function EntityRegionView_Request(): EntityRegionView_Request;
|
|
1060
|
+
type EntityRegionView_Request = {
|
|
1135
1061
|
sub_type: string[];
|
|
1136
1062
|
parent_id?: string[];
|
|
1137
1063
|
};
|
|
@@ -1151,9 +1077,9 @@ type EntityRegionView_page = {
|
|
|
1151
1077
|
size: number;
|
|
1152
1078
|
current: number;
|
|
1153
1079
|
};
|
|
1154
|
-
/** @returns {
|
|
1155
|
-
declare function
|
|
1156
|
-
type
|
|
1080
|
+
/** @returns {getAppRegionZonesResponse} */
|
|
1081
|
+
declare function getAppRegionZonesResponse(): getAppRegionZonesResponse;
|
|
1082
|
+
type getAppRegionZonesResponse = {
|
|
1157
1083
|
page: PageSchema[];
|
|
1158
1084
|
items: ListViewItems[];
|
|
1159
1085
|
};
|
|
@@ -1173,9 +1099,9 @@ type EntityRegionView_Items = {
|
|
|
1173
1099
|
uid: string;
|
|
1174
1100
|
name: string;
|
|
1175
1101
|
};
|
|
1176
|
-
/** @returns {
|
|
1177
|
-
declare function
|
|
1178
|
-
type
|
|
1102
|
+
/** @returns {EntityRegionView_Response} */
|
|
1103
|
+
declare function EntityRegionView_Response(): EntityRegionView_Response;
|
|
1104
|
+
type EntityRegionView_Response = {
|
|
1179
1105
|
error: EntityRegionView_Error;
|
|
1180
1106
|
page: EntityRegionView_page;
|
|
1181
1107
|
data: EntityRegionView_Items[];
|
|
@@ -1252,9 +1178,9 @@ type ListViewItems = {
|
|
|
1252
1178
|
*/
|
|
1253
1179
|
channels: ListViewChannels[];
|
|
1254
1180
|
};
|
|
1255
|
-
/** @returns {
|
|
1256
|
-
declare function
|
|
1257
|
-
type
|
|
1181
|
+
/** @returns {ListViewResponse} */
|
|
1182
|
+
declare function ListViewResponse(): ListViewResponse;
|
|
1183
|
+
type ListViewResponse = {
|
|
1258
1184
|
page: ZoneDataItem;
|
|
1259
1185
|
items: ListViewItems[];
|
|
1260
1186
|
};
|
|
@@ -1267,9 +1193,9 @@ type CompanyStoreView_PageItems = {
|
|
|
1267
1193
|
size: number;
|
|
1268
1194
|
current: number;
|
|
1269
1195
|
};
|
|
1270
|
-
/** @returns {
|
|
1271
|
-
declare function
|
|
1272
|
-
type
|
|
1196
|
+
/** @returns {CompanyStoreView_Response} */
|
|
1197
|
+
declare function CompanyStoreView_Response(): CompanyStoreView_Response;
|
|
1198
|
+
type CompanyStoreView_Response = {
|
|
1273
1199
|
page: CompanyStoreView_PageItems[];
|
|
1274
1200
|
items?: any[];
|
|
1275
1201
|
};
|
|
@@ -1307,15 +1233,15 @@ type UpdateZoneData = {
|
|
|
1307
1233
|
mapping: ZoneMappingType[];
|
|
1308
1234
|
assignment_preference?: string;
|
|
1309
1235
|
};
|
|
1310
|
-
/** @returns {
|
|
1311
|
-
declare function
|
|
1312
|
-
type
|
|
1236
|
+
/** @returns {ZoneUpdateRequest} */
|
|
1237
|
+
declare function ZoneUpdateRequest(): ZoneUpdateRequest;
|
|
1238
|
+
type ZoneUpdateRequest = {
|
|
1313
1239
|
identifier: string;
|
|
1314
1240
|
data: UpdateZoneData;
|
|
1315
1241
|
};
|
|
1316
|
-
/** @returns {
|
|
1317
|
-
declare function
|
|
1318
|
-
type
|
|
1242
|
+
/** @returns {ZoneSuccessResponse} */
|
|
1243
|
+
declare function ZoneSuccessResponse(): ZoneSuccessResponse;
|
|
1244
|
+
type ZoneSuccessResponse = {
|
|
1319
1245
|
status_code: number;
|
|
1320
1246
|
success: boolean;
|
|
1321
1247
|
};
|
|
@@ -1335,9 +1261,9 @@ type GetZoneDataViewItems = {
|
|
|
1335
1261
|
assignment_preference?: string;
|
|
1336
1262
|
stores_count: number;
|
|
1337
1263
|
};
|
|
1338
|
-
/** @returns {
|
|
1339
|
-
declare function
|
|
1340
|
-
type
|
|
1264
|
+
/** @returns {GetSingleZoneDataViewResponse} */
|
|
1265
|
+
declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
|
|
1266
|
+
type GetSingleZoneDataViewResponse = {
|
|
1341
1267
|
data: GetZoneDataViewItems;
|
|
1342
1268
|
};
|
|
1343
1269
|
/** @returns {GetZoneByIdSchema} */
|
|
@@ -1369,16 +1295,16 @@ type CreateZoneData = {
|
|
|
1369
1295
|
mapping: ZoneMappingType[];
|
|
1370
1296
|
assignment_preference?: string;
|
|
1371
1297
|
};
|
|
1372
|
-
/** @returns {
|
|
1373
|
-
declare function
|
|
1374
|
-
type
|
|
1298
|
+
/** @returns {ZoneResponse} */
|
|
1299
|
+
declare function ZoneResponse(): ZoneResponse;
|
|
1300
|
+
type ZoneResponse = {
|
|
1375
1301
|
status_code: number;
|
|
1376
1302
|
zone_id: string;
|
|
1377
1303
|
success: boolean;
|
|
1378
1304
|
};
|
|
1379
|
-
/** @returns {
|
|
1380
|
-
declare function
|
|
1381
|
-
type
|
|
1305
|
+
/** @returns {GetZoneFromPincodeViewRequest} */
|
|
1306
|
+
declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
|
|
1307
|
+
type GetZoneFromPincodeViewRequest = {
|
|
1382
1308
|
country: string;
|
|
1383
1309
|
pincode: string;
|
|
1384
1310
|
};
|
|
@@ -1394,21 +1320,21 @@ type Zone = {
|
|
|
1394
1320
|
store_ids: number[];
|
|
1395
1321
|
assignment_preference: string;
|
|
1396
1322
|
};
|
|
1397
|
-
/** @returns {
|
|
1398
|
-
declare function
|
|
1399
|
-
type
|
|
1323
|
+
/** @returns {GetZoneFromPincodeViewResponse} */
|
|
1324
|
+
declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
|
|
1325
|
+
type GetZoneFromPincodeViewResponse = {
|
|
1400
1326
|
serviceability_type: string;
|
|
1401
1327
|
zones: Zone[];
|
|
1402
1328
|
};
|
|
1403
|
-
/** @returns {
|
|
1404
|
-
declare function
|
|
1405
|
-
type
|
|
1329
|
+
/** @returns {GetZoneFromApplicationIdViewResponse} */
|
|
1330
|
+
declare function GetZoneFromApplicationIdViewResponse(): GetZoneFromApplicationIdViewResponse;
|
|
1331
|
+
type GetZoneFromApplicationIdViewResponse = {
|
|
1406
1332
|
page: ZoneDataItem[];
|
|
1407
1333
|
items: ListViewItems[];
|
|
1408
1334
|
};
|
|
1409
|
-
/** @returns {
|
|
1410
|
-
declare function
|
|
1411
|
-
type
|
|
1335
|
+
/** @returns {ServiceabilityPageResponse} */
|
|
1336
|
+
declare function ServiceabilityPageResponse(): ServiceabilityPageResponse;
|
|
1337
|
+
type ServiceabilityPageResponse = {
|
|
1412
1338
|
type?: string;
|
|
1413
1339
|
has_next?: boolean;
|
|
1414
1340
|
item_total?: number;
|
|
@@ -1421,39 +1347,39 @@ type MobileNo = {
|
|
|
1421
1347
|
number?: string;
|
|
1422
1348
|
country_code?: number;
|
|
1423
1349
|
};
|
|
1424
|
-
/** @returns {
|
|
1425
|
-
declare function
|
|
1426
|
-
type
|
|
1350
|
+
/** @returns {ManagerResponse} */
|
|
1351
|
+
declare function ManagerResponse(): ManagerResponse;
|
|
1352
|
+
type ManagerResponse = {
|
|
1427
1353
|
email?: string;
|
|
1428
1354
|
mobile_no?: MobileNo;
|
|
1429
1355
|
name?: string;
|
|
1430
1356
|
};
|
|
1431
|
-
/** @returns {
|
|
1432
|
-
declare function
|
|
1433
|
-
type
|
|
1357
|
+
/** @returns {ModifiedByResponse} */
|
|
1358
|
+
declare function ModifiedByResponse(): ModifiedByResponse;
|
|
1359
|
+
type ModifiedByResponse = {
|
|
1434
1360
|
username?: string;
|
|
1435
1361
|
user_id?: string;
|
|
1436
1362
|
};
|
|
1437
|
-
/** @returns {
|
|
1438
|
-
declare function
|
|
1439
|
-
type
|
|
1363
|
+
/** @returns {IntegrationTypeResponse} */
|
|
1364
|
+
declare function IntegrationTypeResponse(): IntegrationTypeResponse;
|
|
1365
|
+
type IntegrationTypeResponse = {
|
|
1440
1366
|
inventory?: string;
|
|
1441
1367
|
order?: string;
|
|
1442
1368
|
};
|
|
1443
|
-
/** @returns {
|
|
1444
|
-
declare function
|
|
1445
|
-
type
|
|
1369
|
+
/** @returns {ProductReturnConfigResponse} */
|
|
1370
|
+
declare function ProductReturnConfigResponse(): ProductReturnConfigResponse;
|
|
1371
|
+
type ProductReturnConfigResponse = {
|
|
1446
1372
|
on_same_store?: boolean;
|
|
1447
1373
|
};
|
|
1448
|
-
/** @returns {
|
|
1449
|
-
declare function
|
|
1450
|
-
type
|
|
1374
|
+
/** @returns {ContactNumberResponse} */
|
|
1375
|
+
declare function ContactNumberResponse(): ContactNumberResponse;
|
|
1376
|
+
type ContactNumberResponse = {
|
|
1451
1377
|
number?: string;
|
|
1452
1378
|
country_code?: number;
|
|
1453
1379
|
};
|
|
1454
|
-
/** @returns {
|
|
1455
|
-
declare function
|
|
1456
|
-
type
|
|
1380
|
+
/** @returns {AddressResponse} */
|
|
1381
|
+
declare function AddressResponse(): AddressResponse;
|
|
1382
|
+
type AddressResponse = {
|
|
1457
1383
|
city?: string;
|
|
1458
1384
|
address1?: string;
|
|
1459
1385
|
pincode?: number;
|
|
@@ -1464,31 +1390,31 @@ type AddressResult = {
|
|
|
1464
1390
|
latitude?: number;
|
|
1465
1391
|
longitude?: number;
|
|
1466
1392
|
};
|
|
1467
|
-
/** @returns {
|
|
1468
|
-
declare function
|
|
1469
|
-
type
|
|
1393
|
+
/** @returns {CreatedByResponse} */
|
|
1394
|
+
declare function CreatedByResponse(): CreatedByResponse;
|
|
1395
|
+
type CreatedByResponse = {
|
|
1470
1396
|
username?: string;
|
|
1471
1397
|
user_id?: string;
|
|
1472
1398
|
};
|
|
1473
|
-
/** @returns {
|
|
1474
|
-
declare function
|
|
1475
|
-
type
|
|
1399
|
+
/** @returns {EwayBillResponse} */
|
|
1400
|
+
declare function EwayBillResponse(): EwayBillResponse;
|
|
1401
|
+
type EwayBillResponse = {
|
|
1476
1402
|
enabled?: boolean;
|
|
1477
1403
|
};
|
|
1478
|
-
/** @returns {
|
|
1479
|
-
declare function
|
|
1480
|
-
type
|
|
1404
|
+
/** @returns {EinvoiceResponse} */
|
|
1405
|
+
declare function EinvoiceResponse(): EinvoiceResponse;
|
|
1406
|
+
type EinvoiceResponse = {
|
|
1481
1407
|
enabled?: boolean;
|
|
1482
1408
|
};
|
|
1483
|
-
/** @returns {
|
|
1484
|
-
declare function
|
|
1485
|
-
type
|
|
1486
|
-
e_waybill?:
|
|
1487
|
-
e_invoice?:
|
|
1409
|
+
/** @returns {GstCredentialsResponse} */
|
|
1410
|
+
declare function GstCredentialsResponse(): GstCredentialsResponse;
|
|
1411
|
+
type GstCredentialsResponse = {
|
|
1412
|
+
e_waybill?: EwayBillResponse;
|
|
1413
|
+
e_invoice?: EinvoiceResponse;
|
|
1488
1414
|
};
|
|
1489
|
-
/** @returns {
|
|
1490
|
-
declare function
|
|
1491
|
-
type
|
|
1415
|
+
/** @returns {WarningsResponse} */
|
|
1416
|
+
declare function WarningsResponse(): WarningsResponse;
|
|
1417
|
+
type WarningsResponse = {
|
|
1492
1418
|
store_address?: string;
|
|
1493
1419
|
};
|
|
1494
1420
|
/** @returns {OpeningClosing} */
|
|
@@ -1497,17 +1423,17 @@ type OpeningClosing = {
|
|
|
1497
1423
|
minute?: number;
|
|
1498
1424
|
hour?: number;
|
|
1499
1425
|
};
|
|
1500
|
-
/** @returns {
|
|
1501
|
-
declare function
|
|
1502
|
-
type
|
|
1426
|
+
/** @returns {TimmingResponse} */
|
|
1427
|
+
declare function TimmingResponse(): TimmingResponse;
|
|
1428
|
+
type TimmingResponse = {
|
|
1503
1429
|
open?: boolean;
|
|
1504
1430
|
weekday?: string;
|
|
1505
1431
|
closing?: OpeningClosing;
|
|
1506
1432
|
opening?: OpeningClosing;
|
|
1507
1433
|
};
|
|
1508
|
-
/** @returns {
|
|
1509
|
-
declare function
|
|
1510
|
-
type
|
|
1434
|
+
/** @returns {DocumentsResponse} */
|
|
1435
|
+
declare function DocumentsResponse(): DocumentsResponse;
|
|
1436
|
+
type DocumentsResponse = {
|
|
1511
1437
|
legal_name?: string;
|
|
1512
1438
|
value?: string;
|
|
1513
1439
|
type?: string;
|
|
@@ -1527,49 +1453,49 @@ type Dp = {
|
|
|
1527
1453
|
transport_mode?: string;
|
|
1528
1454
|
assign_dp_from_sb?: boolean;
|
|
1529
1455
|
};
|
|
1530
|
-
/** @returns {
|
|
1531
|
-
declare function
|
|
1532
|
-
type
|
|
1456
|
+
/** @returns {LogisticsResponse} */
|
|
1457
|
+
declare function LogisticsResponse(): LogisticsResponse;
|
|
1458
|
+
type LogisticsResponse = {
|
|
1533
1459
|
override?: boolean;
|
|
1534
1460
|
dp?: Dp;
|
|
1535
1461
|
};
|
|
1536
|
-
/** @returns {
|
|
1537
|
-
declare function
|
|
1538
|
-
type
|
|
1462
|
+
/** @returns {ItemResponse} */
|
|
1463
|
+
declare function ItemResponse(): ItemResponse;
|
|
1464
|
+
type ItemResponse = {
|
|
1539
1465
|
created_on?: string;
|
|
1540
|
-
manager?:
|
|
1541
|
-
modified_by?:
|
|
1542
|
-
integration_type?:
|
|
1466
|
+
manager?: ManagerResponse;
|
|
1467
|
+
modified_by?: ModifiedByResponse;
|
|
1468
|
+
integration_type?: IntegrationTypeResponse;
|
|
1543
1469
|
verified_on?: string;
|
|
1544
|
-
product_return_config?:
|
|
1545
|
-
contact_numbers?:
|
|
1546
|
-
verified_by?:
|
|
1470
|
+
product_return_config?: ProductReturnConfigResponse;
|
|
1471
|
+
contact_numbers?: ContactNumberResponse[];
|
|
1472
|
+
verified_by?: ModifiedByResponse;
|
|
1547
1473
|
stage?: string;
|
|
1548
|
-
address?:
|
|
1474
|
+
address?: AddressResponse;
|
|
1549
1475
|
modified_on?: string;
|
|
1550
|
-
created_by?:
|
|
1551
|
-
gst_credentials?:
|
|
1476
|
+
created_by?: CreatedByResponse;
|
|
1477
|
+
gst_credentials?: GstCredentialsResponse;
|
|
1552
1478
|
display_name?: string;
|
|
1553
1479
|
company_id?: number;
|
|
1554
1480
|
uid?: number;
|
|
1555
1481
|
_custom_json?: any;
|
|
1556
1482
|
code?: string;
|
|
1557
|
-
warnings?:
|
|
1483
|
+
warnings?: WarningsResponse;
|
|
1558
1484
|
name?: string;
|
|
1559
|
-
timing?:
|
|
1560
|
-
documents?:
|
|
1485
|
+
timing?: TimmingResponse[];
|
|
1486
|
+
documents?: DocumentsResponse[];
|
|
1561
1487
|
store_type?: string;
|
|
1562
1488
|
sub_type?: string;
|
|
1563
1489
|
company?: number;
|
|
1564
1490
|
_cls?: string;
|
|
1565
|
-
logistics?:
|
|
1491
|
+
logistics?: LogisticsResponse;
|
|
1566
1492
|
notification_emails?: string[];
|
|
1567
1493
|
};
|
|
1568
|
-
/** @returns {
|
|
1569
|
-
declare function
|
|
1570
|
-
type
|
|
1571
|
-
page:
|
|
1572
|
-
items?:
|
|
1494
|
+
/** @returns {GetStoresViewResponse} */
|
|
1495
|
+
declare function GetStoresViewResponse(): GetStoresViewResponse;
|
|
1496
|
+
type GetStoresViewResponse = {
|
|
1497
|
+
page: ServiceabilityPageResponse;
|
|
1498
|
+
items?: ItemResponse[];
|
|
1573
1499
|
};
|
|
1574
1500
|
/** @returns {PincodeMopData} */
|
|
1575
1501
|
declare function PincodeMopData(): PincodeMopData;
|
|
@@ -1578,24 +1504,24 @@ type PincodeMopData = {
|
|
|
1578
1504
|
country: string;
|
|
1579
1505
|
action: string;
|
|
1580
1506
|
};
|
|
1581
|
-
/** @returns {
|
|
1582
|
-
declare function
|
|
1583
|
-
type
|
|
1507
|
+
/** @returns {PincodeMopUpdateResponse} */
|
|
1508
|
+
declare function PincodeMopUpdateResponse(): PincodeMopUpdateResponse;
|
|
1509
|
+
type PincodeMopUpdateResponse = {
|
|
1584
1510
|
pincode: number;
|
|
1585
1511
|
channel_id: string;
|
|
1586
1512
|
country: string;
|
|
1587
1513
|
is_active: boolean;
|
|
1588
1514
|
};
|
|
1589
|
-
/** @returns {
|
|
1590
|
-
declare function
|
|
1591
|
-
type
|
|
1515
|
+
/** @returns {PincodeMOPresponse} */
|
|
1516
|
+
declare function PincodeMOPresponse(): PincodeMOPresponse;
|
|
1517
|
+
type PincodeMOPresponse = {
|
|
1592
1518
|
success: boolean;
|
|
1593
1519
|
status_code: number;
|
|
1594
1520
|
batch_id: string;
|
|
1595
1521
|
country: string;
|
|
1596
1522
|
action: string;
|
|
1597
1523
|
pincodes?: number[];
|
|
1598
|
-
updated_pincodes?:
|
|
1524
|
+
updated_pincodes?: PincodeMopUpdateResponse[];
|
|
1599
1525
|
};
|
|
1600
1526
|
/** @returns {CommonError} */
|
|
1601
1527
|
declare function CommonError(): CommonError;
|
|
@@ -1610,26 +1536,26 @@ type PincodeMopBulkData = {
|
|
|
1610
1536
|
batch_id: string;
|
|
1611
1537
|
s3_url: string;
|
|
1612
1538
|
};
|
|
1613
|
-
/** @returns {
|
|
1614
|
-
declare function
|
|
1615
|
-
type
|
|
1539
|
+
/** @returns {PincodeBulkViewResponse} */
|
|
1540
|
+
declare function PincodeBulkViewResponse(): PincodeBulkViewResponse;
|
|
1541
|
+
type PincodeBulkViewResponse = {
|
|
1616
1542
|
batch_id: string;
|
|
1617
1543
|
s3_url: string;
|
|
1618
1544
|
};
|
|
1619
|
-
/** @returns {
|
|
1620
|
-
declare function
|
|
1621
|
-
type
|
|
1545
|
+
/** @returns {PincodeCodStatusListingRequest} */
|
|
1546
|
+
declare function PincodeCodStatusListingRequest(): PincodeCodStatusListingRequest;
|
|
1547
|
+
type PincodeCodStatusListingRequest = {
|
|
1622
1548
|
country?: string;
|
|
1623
1549
|
is_active?: boolean;
|
|
1624
1550
|
pincode?: number;
|
|
1625
1551
|
current?: number;
|
|
1626
1552
|
page_size?: number;
|
|
1627
1553
|
};
|
|
1628
|
-
/** @returns {
|
|
1629
|
-
declare function
|
|
1630
|
-
type
|
|
1554
|
+
/** @returns {PincodeCodStatusListingResponse} */
|
|
1555
|
+
declare function PincodeCodStatusListingResponse(): PincodeCodStatusListingResponse;
|
|
1556
|
+
type PincodeCodStatusListingResponse = {
|
|
1631
1557
|
country: string;
|
|
1632
|
-
data:
|
|
1558
|
+
data: PincodeCodStatusListingResponse[];
|
|
1633
1559
|
success: boolean;
|
|
1634
1560
|
errors?: Error[];
|
|
1635
1561
|
page: PincodeCodStatusListingPage;
|
|
@@ -1657,9 +1583,9 @@ type PincodeCodStatusListingSummary = {
|
|
|
1657
1583
|
total_active_pincodes: number;
|
|
1658
1584
|
total_inactive_pincodes: number;
|
|
1659
1585
|
};
|
|
1660
|
-
/** @returns {
|
|
1661
|
-
declare function
|
|
1662
|
-
type
|
|
1586
|
+
/** @returns {PincodeMopUpdateAuditHistoryRequest} */
|
|
1587
|
+
declare function PincodeMopUpdateAuditHistoryRequest(): PincodeMopUpdateAuditHistoryRequest;
|
|
1588
|
+
type PincodeMopUpdateAuditHistoryRequest = {
|
|
1663
1589
|
entity_type: string;
|
|
1664
1590
|
file_name?: string;
|
|
1665
1591
|
};
|
|
@@ -1672,9 +1598,9 @@ type PincodeMopUpdateAuditHistoryPaging = {
|
|
|
1672
1598
|
has_next?: boolean;
|
|
1673
1599
|
item_total?: number;
|
|
1674
1600
|
};
|
|
1675
|
-
/** @returns {
|
|
1676
|
-
declare function
|
|
1677
|
-
type
|
|
1601
|
+
/** @returns {PincodeMopUpdateAuditHistoryResponse} */
|
|
1602
|
+
declare function PincodeMopUpdateAuditHistoryResponse(): PincodeMopUpdateAuditHistoryResponse;
|
|
1603
|
+
type PincodeMopUpdateAuditHistoryResponse = {
|
|
1678
1604
|
batch_id?: string;
|
|
1679
1605
|
entity_type?: string;
|
|
1680
1606
|
error_file_s3_url?: string;
|
|
@@ -1684,12 +1610,12 @@ type PincodeMopUpdateAuditHistoryResult = {
|
|
|
1684
1610
|
updated_by?: string;
|
|
1685
1611
|
success?: boolean;
|
|
1686
1612
|
};
|
|
1687
|
-
/** @returns {
|
|
1688
|
-
declare function
|
|
1689
|
-
type
|
|
1613
|
+
/** @returns {PincodeMopUpdateAuditHistoryResponseData} */
|
|
1614
|
+
declare function PincodeMopUpdateAuditHistoryResponseData(): PincodeMopUpdateAuditHistoryResponseData;
|
|
1615
|
+
type PincodeMopUpdateAuditHistoryResponseData = {
|
|
1690
1616
|
entity_type?: string;
|
|
1691
1617
|
page: PincodeMopUpdateAuditHistoryPaging;
|
|
1692
|
-
data:
|
|
1618
|
+
data: PincodeMopUpdateAuditHistoryResponse[];
|
|
1693
1619
|
};
|
|
1694
1620
|
/** @returns {ArithmeticOperations} */
|
|
1695
1621
|
declare function ArithmeticOperations(): ArithmeticOperations;
|
|
@@ -1729,9 +1655,9 @@ type CourierAccount = {
|
|
|
1729
1655
|
stage: string;
|
|
1730
1656
|
is_own_account: boolean;
|
|
1731
1657
|
};
|
|
1732
|
-
/** @returns {
|
|
1733
|
-
declare function
|
|
1734
|
-
type
|
|
1658
|
+
/** @returns {CourierAccountRequestBody} */
|
|
1659
|
+
declare function CourierAccountRequestBody(): CourierAccountRequestBody;
|
|
1660
|
+
type CourierAccountRequestBody = {
|
|
1735
1661
|
extension_id: string;
|
|
1736
1662
|
account_id?: string;
|
|
1737
1663
|
scheme_id: string;
|
|
@@ -1739,18 +1665,18 @@ type CourierAccountDetailsBody = {
|
|
|
1739
1665
|
stage: string;
|
|
1740
1666
|
is_own_account: boolean;
|
|
1741
1667
|
};
|
|
1742
|
-
/** @returns {
|
|
1743
|
-
declare function
|
|
1744
|
-
type
|
|
1668
|
+
/** @returns {ErrorResponse} */
|
|
1669
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
1670
|
+
type ErrorResponse = {
|
|
1745
1671
|
value: string;
|
|
1746
1672
|
message: string;
|
|
1747
1673
|
type: string;
|
|
1748
1674
|
};
|
|
1749
|
-
/** @returns {
|
|
1750
|
-
declare function
|
|
1751
|
-
type
|
|
1675
|
+
/** @returns {CourierPartnerAccountFailureResponse} */
|
|
1676
|
+
declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
|
|
1677
|
+
type CourierPartnerAccountFailureResponse = {
|
|
1752
1678
|
success: boolean;
|
|
1753
|
-
error:
|
|
1679
|
+
error: ErrorResponse[];
|
|
1754
1680
|
};
|
|
1755
1681
|
/** @returns {Page} */
|
|
1756
1682
|
declare function Page(): Page;
|
|
@@ -1784,17 +1710,17 @@ type Page = {
|
|
|
1784
1710
|
*/
|
|
1785
1711
|
size?: number;
|
|
1786
1712
|
};
|
|
1787
|
-
/** @returns {
|
|
1788
|
-
declare function
|
|
1789
|
-
type
|
|
1713
|
+
/** @returns {CourierPartnerRuleCPListResponse} */
|
|
1714
|
+
declare function CourierPartnerRuleCPListResponse(): CourierPartnerRuleCPListResponse;
|
|
1715
|
+
type CourierPartnerRuleCPListResponse = {
|
|
1790
1716
|
account_id?: string;
|
|
1791
1717
|
extension_id?: string;
|
|
1792
1718
|
is_self_ship?: boolean;
|
|
1793
1719
|
scheme_rules?: any;
|
|
1794
1720
|
};
|
|
1795
|
-
/** @returns {
|
|
1796
|
-
declare function
|
|
1797
|
-
type
|
|
1721
|
+
/** @returns {CourierPartnerRuleResponse} */
|
|
1722
|
+
declare function CourierPartnerRuleResponse(): CourierPartnerRuleResponse;
|
|
1723
|
+
type CourierPartnerRuleResponse = {
|
|
1798
1724
|
is_active?: boolean;
|
|
1799
1725
|
application_id?: string;
|
|
1800
1726
|
company_id?: number;
|
|
@@ -1806,7 +1732,7 @@ type CourierPartnerRuleResult = {
|
|
|
1806
1732
|
modified_on?: string;
|
|
1807
1733
|
name?: string;
|
|
1808
1734
|
type?: string;
|
|
1809
|
-
cp_list?:
|
|
1735
|
+
cp_list?: CourierPartnerRuleCPListResponse[];
|
|
1810
1736
|
};
|
|
1811
1737
|
/** @returns {CourierPartnerList} */
|
|
1812
1738
|
declare function CourierPartnerList(): CourierPartnerList;
|
|
@@ -1869,185 +1795,18 @@ type CourierPartnerRule = {
|
|
|
1869
1795
|
conditions: CourierPartnerRuleConditions;
|
|
1870
1796
|
sort: string[];
|
|
1871
1797
|
};
|
|
1872
|
-
/** @returns {
|
|
1873
|
-
declare function
|
|
1874
|
-
type
|
|
1798
|
+
/** @returns {FailureResponse} */
|
|
1799
|
+
declare function FailureResponse(): FailureResponse;
|
|
1800
|
+
type FailureResponse = {
|
|
1875
1801
|
success: boolean;
|
|
1876
|
-
error:
|
|
1802
|
+
error: ErrorResponse[];
|
|
1877
1803
|
};
|
|
1878
|
-
/** @returns {
|
|
1879
|
-
declare function
|
|
1880
|
-
type
|
|
1881
|
-
items:
|
|
1804
|
+
/** @returns {CourierPartnerRulesListResponse} */
|
|
1805
|
+
declare function CourierPartnerRulesListResponse(): CourierPartnerRulesListResponse;
|
|
1806
|
+
type CourierPartnerRulesListResponse = {
|
|
1807
|
+
items: CourierPartnerRuleResponse[];
|
|
1882
1808
|
page: Page;
|
|
1883
1809
|
};
|
|
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
1810
|
/** @returns {CompanyConfig} */
|
|
2052
1811
|
declare function CompanyConfig(): CompanyConfig;
|
|
2053
1812
|
type CompanyConfig = {
|
|
@@ -2067,17 +1826,17 @@ type ApplicationConfig = {
|
|
|
2067
1826
|
sort?: string[];
|
|
2068
1827
|
zones?: ZoneConfig;
|
|
2069
1828
|
};
|
|
2070
|
-
/** @returns {
|
|
2071
|
-
declare function
|
|
2072
|
-
type
|
|
1829
|
+
/** @returns {BulkRegionJobSerializer} */
|
|
1830
|
+
declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
|
|
1831
|
+
type BulkRegionJobSerializer = {
|
|
2073
1832
|
file_path?: string;
|
|
2074
1833
|
country: string;
|
|
2075
1834
|
action: string;
|
|
2076
1835
|
region: string;
|
|
2077
1836
|
};
|
|
2078
|
-
/** @returns {
|
|
2079
|
-
declare function
|
|
2080
|
-
type
|
|
1837
|
+
/** @returns {BulkRegionResponseItemData} */
|
|
1838
|
+
declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
|
|
1839
|
+
type BulkRegionResponseItemData = {
|
|
2081
1840
|
file_path: string;
|
|
2082
1841
|
failed?: number;
|
|
2083
1842
|
failed_records?: any[];
|
|
@@ -2090,27 +1849,27 @@ type BulkRegionResultItemData = {
|
|
|
2090
1849
|
total?: number;
|
|
2091
1850
|
error_file_path?: string;
|
|
2092
1851
|
};
|
|
2093
|
-
/** @returns {
|
|
2094
|
-
declare function
|
|
2095
|
-
type
|
|
2096
|
-
items:
|
|
1852
|
+
/** @returns {BulkRegionResponse} */
|
|
1853
|
+
declare function BulkRegionResponse(): BulkRegionResponse;
|
|
1854
|
+
type BulkRegionResponse = {
|
|
1855
|
+
items: BulkRegionResponseItemData[];
|
|
2097
1856
|
page: Page;
|
|
2098
1857
|
};
|
|
2099
|
-
/** @returns {
|
|
2100
|
-
declare function
|
|
2101
|
-
type
|
|
1858
|
+
/** @returns {SelfShipResponse} */
|
|
1859
|
+
declare function SelfShipResponse(): SelfShipResponse;
|
|
1860
|
+
type SelfShipResponse = {
|
|
2102
1861
|
is_active: boolean;
|
|
2103
1862
|
tat: number;
|
|
2104
1863
|
};
|
|
2105
1864
|
/** @returns {ApplicationSelfShipConfig} */
|
|
2106
1865
|
declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
|
|
2107
1866
|
type ApplicationSelfShipConfig = {
|
|
2108
|
-
self_ship?:
|
|
1867
|
+
self_ship?: any;
|
|
2109
1868
|
};
|
|
2110
|
-
/** @returns {
|
|
2111
|
-
declare function
|
|
2112
|
-
type
|
|
2113
|
-
error?:
|
|
1869
|
+
/** @returns {ApplicationSelfShipConfigResponse} */
|
|
1870
|
+
declare function ApplicationSelfShipConfigResponse(): ApplicationSelfShipConfigResponse;
|
|
1871
|
+
type ApplicationSelfShipConfigResponse = {
|
|
1872
|
+
error?: ServiceabilityErrorResponse;
|
|
2114
1873
|
data?: ApplicationSelfShipConfig;
|
|
2115
1874
|
success: boolean;
|
|
2116
1875
|
};
|
|
@@ -2167,15 +1926,15 @@ type StorePrioritySchema = {
|
|
|
2167
1926
|
id?: string;
|
|
2168
1927
|
name?: string;
|
|
2169
1928
|
};
|
|
2170
|
-
/** @returns {
|
|
2171
|
-
declare function
|
|
2172
|
-
type
|
|
1929
|
+
/** @returns {GetStoreRulesApiResponse} */
|
|
1930
|
+
declare function GetStoreRulesApiResponse(): GetStoreRulesApiResponse;
|
|
1931
|
+
type GetStoreRulesApiResponse = {
|
|
2173
1932
|
items?: StoreRuleDataSchema[];
|
|
2174
1933
|
page?: Page;
|
|
2175
1934
|
};
|
|
2176
|
-
/** @returns {
|
|
2177
|
-
declare function
|
|
2178
|
-
type
|
|
1935
|
+
/** @returns {CreateStoreRuleRequestSchema} */
|
|
1936
|
+
declare function CreateStoreRuleRequestSchema(): CreateStoreRuleRequestSchema;
|
|
1937
|
+
type CreateStoreRuleRequestSchema = {
|
|
2179
1938
|
name?: string;
|
|
2180
1939
|
is_active?: boolean;
|
|
2181
1940
|
conditions?: StoreRuleConditionSchema;
|
|
@@ -2184,9 +1943,9 @@ type CreateStoreRuleDetailsSchema = {
|
|
|
2184
1943
|
store_priority?: StorePrioritySchema[];
|
|
2185
1944
|
sort?: string[];
|
|
2186
1945
|
};
|
|
2187
|
-
/** @returns {
|
|
2188
|
-
declare function
|
|
2189
|
-
type
|
|
1946
|
+
/** @returns {StoreRuleResponseSchema} */
|
|
1947
|
+
declare function StoreRuleResponseSchema(): StoreRuleResponseSchema;
|
|
1948
|
+
type StoreRuleResponseSchema = {
|
|
2190
1949
|
id?: string;
|
|
2191
1950
|
name?: string;
|
|
2192
1951
|
type?: string;
|
|
@@ -2197,9 +1956,9 @@ type StoreRuleResultSchema = {
|
|
|
2197
1956
|
conditions?: StoreRuleConditionSchema;
|
|
2198
1957
|
is_active?: boolean;
|
|
2199
1958
|
};
|
|
2200
|
-
/** @returns {
|
|
2201
|
-
declare function
|
|
2202
|
-
type
|
|
1959
|
+
/** @returns {StoreRuleUpdateResponseSchema} */
|
|
1960
|
+
declare function StoreRuleUpdateResponseSchema(): StoreRuleUpdateResponseSchema;
|
|
1961
|
+
type StoreRuleUpdateResponseSchema = {
|
|
2203
1962
|
id?: string;
|
|
2204
1963
|
name?: string;
|
|
2205
1964
|
type?: string;
|
|
@@ -2217,8 +1976,8 @@ declare function ServiceabilityModel(): ServiceabilityModel;
|
|
|
2217
1976
|
type ServiceabilityModel = {
|
|
2218
1977
|
lm_cod_limit: number;
|
|
2219
1978
|
is_qc: boolean;
|
|
2220
|
-
pickup_cutoff
|
|
2221
|
-
route_code
|
|
1979
|
+
pickup_cutoff: string;
|
|
1980
|
+
route_code: string;
|
|
2222
1981
|
is_first_mile: boolean;
|
|
2223
1982
|
is_return: boolean;
|
|
2224
1983
|
is_installation: boolean;
|
|
@@ -2259,9 +2018,9 @@ type CourierPartnerSchemeModel = {
|
|
|
2259
2018
|
stage: string;
|
|
2260
2019
|
feature: CourierPartnerSchemeFeatures;
|
|
2261
2020
|
};
|
|
2262
|
-
/** @returns {
|
|
2263
|
-
declare function
|
|
2264
|
-
type
|
|
2021
|
+
/** @returns {CourierAccountResponse} */
|
|
2022
|
+
declare function CourierAccountResponse(): CourierAccountResponse;
|
|
2023
|
+
type CourierAccountResponse = {
|
|
2265
2024
|
account_id: string;
|
|
2266
2025
|
scheme_id: string;
|
|
2267
2026
|
is_self_ship: boolean;
|
|
@@ -2269,10 +2028,10 @@ type CourierAccountResult = {
|
|
|
2269
2028
|
is_own_account: boolean;
|
|
2270
2029
|
scheme_rules: CourierPartnerSchemeModel;
|
|
2271
2030
|
};
|
|
2272
|
-
/** @returns {
|
|
2273
|
-
declare function
|
|
2274
|
-
type
|
|
2275
|
-
items:
|
|
2031
|
+
/** @returns {CompanyCourierPartnerAccountListResponse} */
|
|
2032
|
+
declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
|
|
2033
|
+
type CompanyCourierPartnerAccountListResponse = {
|
|
2034
|
+
items: CourierAccountResponse[];
|
|
2276
2035
|
page: Page;
|
|
2277
2036
|
};
|
|
2278
2037
|
/** @returns {PackageMaterial} */
|
|
@@ -2296,9 +2055,9 @@ type PackageMaterial = {
|
|
|
2296
2055
|
package_vol_weight?: number;
|
|
2297
2056
|
auto_calculate?: boolean;
|
|
2298
2057
|
};
|
|
2299
|
-
/** @returns {
|
|
2300
|
-
declare function
|
|
2301
|
-
type
|
|
2058
|
+
/** @returns {PackageMaterialResponse} */
|
|
2059
|
+
declare function PackageMaterialResponse(): PackageMaterialResponse;
|
|
2060
|
+
type PackageMaterialResponse = {
|
|
2302
2061
|
name: string;
|
|
2303
2062
|
id?: string;
|
|
2304
2063
|
item_id?: number;
|
|
@@ -2337,9 +2096,9 @@ type PackageRule = {
|
|
|
2337
2096
|
product_id?: PackageRuleProduct;
|
|
2338
2097
|
category_id?: PackageRuleCategory;
|
|
2339
2098
|
};
|
|
2340
|
-
/** @returns {
|
|
2341
|
-
declare function
|
|
2342
|
-
type
|
|
2099
|
+
/** @returns {PackageRuleResponse} */
|
|
2100
|
+
declare function PackageRuleResponse(): PackageRuleResponse;
|
|
2101
|
+
type PackageRuleResponse = {
|
|
2343
2102
|
id?: string;
|
|
2344
2103
|
name: string;
|
|
2345
2104
|
company_id: number;
|
|
@@ -2358,13 +2117,13 @@ type Channel = {
|
|
|
2358
2117
|
/** @returns {PackageMaterialRuleList} */
|
|
2359
2118
|
declare function PackageMaterialRuleList(): PackageMaterialRuleList;
|
|
2360
2119
|
type PackageMaterialRuleList = {
|
|
2361
|
-
items?:
|
|
2120
|
+
items?: PackageRuleResponse;
|
|
2362
2121
|
page?: Page;
|
|
2363
2122
|
};
|
|
2364
2123
|
/** @returns {PackageMaterialList} */
|
|
2365
2124
|
declare function PackageMaterialList(): PackageMaterialList;
|
|
2366
2125
|
type PackageMaterialList = {
|
|
2367
|
-
items?:
|
|
2126
|
+
items?: PackageMaterialResponse;
|
|
2368
2127
|
page?: Page;
|
|
2369
2128
|
};
|
|
2370
2129
|
/** @returns {PackageRuleProduct} */
|
|
@@ -2388,15 +2147,15 @@ type PackageMaterialRuleQuantity = {
|
|
|
2388
2147
|
min?: number;
|
|
2389
2148
|
max?: number;
|
|
2390
2149
|
};
|
|
2391
|
-
/** @returns {
|
|
2392
|
-
declare function
|
|
2393
|
-
type
|
|
2150
|
+
/** @returns {RulePriorityRequest} */
|
|
2151
|
+
declare function RulePriorityRequest(): RulePriorityRequest;
|
|
2152
|
+
type RulePriorityRequest = {
|
|
2394
2153
|
rule_id: string;
|
|
2395
2154
|
priority: number;
|
|
2396
2155
|
};
|
|
2397
|
-
/** @returns {
|
|
2398
|
-
declare function
|
|
2399
|
-
type
|
|
2156
|
+
/** @returns {RulePriorityResponse} */
|
|
2157
|
+
declare function RulePriorityResponse(): RulePriorityResponse;
|
|
2158
|
+
type RulePriorityResponse = {
|
|
2400
2159
|
success?: boolean;
|
|
2401
2160
|
};
|
|
2402
2161
|
/** @returns {ArticleAssignment} */
|
|
@@ -2455,7 +2214,7 @@ declare function OptimalLocationsArticles(): OptimalLocationsArticles;
|
|
|
2455
2214
|
type OptimalLocationsArticles = {
|
|
2456
2215
|
item_id: number;
|
|
2457
2216
|
size: string;
|
|
2458
|
-
quantity:
|
|
2217
|
+
quantity: string;
|
|
2459
2218
|
group_id?: string;
|
|
2460
2219
|
is_primary_item?: boolean;
|
|
2461
2220
|
meta?: any;
|
|
@@ -2464,18 +2223,18 @@ type OptimalLocationsArticles = {
|
|
|
2464
2223
|
assign_locations: number[];
|
|
2465
2224
|
seller_id?: number;
|
|
2466
2225
|
};
|
|
2467
|
-
/** @returns {
|
|
2468
|
-
declare function
|
|
2469
|
-
type
|
|
2226
|
+
/** @returns {OptimlLocationsRequestSchema} */
|
|
2227
|
+
declare function OptimlLocationsRequestSchema(): OptimlLocationsRequestSchema;
|
|
2228
|
+
type OptimlLocationsRequestSchema = {
|
|
2470
2229
|
channel_id: string;
|
|
2471
2230
|
channel_type: string;
|
|
2472
2231
|
channel_identifier?: string;
|
|
2473
2232
|
to_serviceability: LocationDetailsServiceability;
|
|
2474
|
-
|
|
2233
|
+
article?: OptimalLocationsArticles;
|
|
2475
2234
|
};
|
|
2476
|
-
/** @returns {
|
|
2477
|
-
declare function
|
|
2478
|
-
type
|
|
2235
|
+
/** @returns {OptimalLocationArticlesResponse} */
|
|
2236
|
+
declare function OptimalLocationArticlesResponse(): OptimalLocationArticlesResponse;
|
|
2237
|
+
type OptimalLocationArticlesResponse = {
|
|
2479
2238
|
item_id: number;
|
|
2480
2239
|
size: string;
|
|
2481
2240
|
quantity: number;
|
|
@@ -2491,35 +2250,15 @@ type OptimalLocationArticlesResult = {
|
|
|
2491
2250
|
_id: string;
|
|
2492
2251
|
uid: string;
|
|
2493
2252
|
};
|
|
2494
|
-
/** @returns {
|
|
2495
|
-
declare function
|
|
2496
|
-
type
|
|
2253
|
+
/** @returns {OptimalLocationAssignedStoresResponse} */
|
|
2254
|
+
declare function OptimalLocationAssignedStoresResponse(): OptimalLocationAssignedStoresResponse;
|
|
2255
|
+
type OptimalLocationAssignedStoresResponse = {
|
|
2497
2256
|
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[];
|
|
2505
|
-
};
|
|
2506
|
-
/** @returns {ValidationError} */
|
|
2507
|
-
declare function ValidationError(): ValidationError;
|
|
2508
|
-
type ValidationError = {
|
|
2509
|
-
/**
|
|
2510
|
-
* - A brief description of the error encountered.
|
|
2511
|
-
*/
|
|
2512
|
-
message: string;
|
|
2513
|
-
/**
|
|
2514
|
-
* - The field in the request that caused the error.
|
|
2515
|
-
*/
|
|
2516
|
-
field: string;
|
|
2257
|
+
articles: OptimalLocationArticlesResponse[];
|
|
2517
2258
|
};
|
|
2518
|
-
/** @returns {
|
|
2519
|
-
declare function
|
|
2520
|
-
type
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
*/
|
|
2524
|
-
message: string;
|
|
2259
|
+
/** @returns {OptimalLocationsResponse} */
|
|
2260
|
+
declare function OptimalLocationsResponse(): OptimalLocationsResponse;
|
|
2261
|
+
type OptimalLocationsResponse = {
|
|
2262
|
+
assigned_stores: OptimalLocationAssignedStoresResponse[];
|
|
2263
|
+
faulty_articles?: ErrorResponse[];
|
|
2525
2264
|
};
|