@gofynd/fdk-client-javascript 1.4.13 → 1.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
- package/sdk/application/Cart/CartApplicationClient.js +130 -53
- package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
- package/sdk/application/Cart/CartApplicationModel.js +380 -159
- package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
- package/sdk/application/Cart/CartApplicationValidator.js +34 -18
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
- package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
- package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
- package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
- package/sdk/application/Common/CommonApplicationClient.js +6 -5
- package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
- package/sdk/application/Common/CommonApplicationModel.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
- package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
- package/sdk/application/Content/ContentApplicationClient.js +54 -75
- package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
- package/sdk/application/Content/ContentApplicationModel.js +83 -32
- package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
- package/sdk/application/Content/ContentApplicationValidator.js +15 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
- package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
- package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
- package/sdk/application/Lead/LeadApplicationClient.js +2 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationModel.js +19 -19
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
- package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
- package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
- package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
- package/sdk/application/Order/OrderApplicationClient.js +96 -13
- package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
- package/sdk/application/Order/OrderApplicationModel.js +278 -73
- package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
- package/sdk/application/Order/OrderApplicationValidator.js +15 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
- package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
- package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
- package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
- package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
- package/sdk/application/Share/ShareApplicationModel.js +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
- package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
- package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
- package/sdk/application/User/UserApplicationClient.d.ts +10 -10
- package/sdk/application/User/UserApplicationClient.js +10 -10
- package/sdk/application/User/UserApplicationModel.d.ts +17 -17
- package/sdk/application/User/UserApplicationModel.js +16 -16
- package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
- package/sdk/application/User/UserApplicationValidator.js +2 -2
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
- package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
- package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
- package/sdk/application/index.d.ts +1 -0
- package/sdk/application/index.js +2 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
- package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
- package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
- package/sdk/platform/Order/OrderPlatformClient.js +589 -229
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
- package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
- package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
- package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +791 -5
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export = ServiceabilityPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
3
|
+
* @typedef UpdateZoneConfigDetails
|
|
4
4
|
* @property {string} [serviceability_type]
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* @typedef
|
|
7
|
+
* @typedef ServiceabilityErrorResult
|
|
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 ApplicationServiceabilityConfigResult
|
|
20
|
+
* @property {ServiceabilityErrorResult} [error]
|
|
21
21
|
* @property {ApplicationServiceabilityConfig} [data]
|
|
22
22
|
* @property {boolean} success
|
|
23
23
|
*/
|
|
24
24
|
/**
|
|
25
|
-
* @typedef
|
|
25
|
+
* @typedef EntityRegionView_Details
|
|
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 getAppRegionZonesResult
|
|
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_Result
|
|
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 ListViewResult
|
|
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_Result
|
|
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 ZoneUpdateDetails
|
|
158
158
|
* @property {string} identifier
|
|
159
159
|
* @property {UpdateZoneData} data
|
|
160
160
|
*/
|
|
161
161
|
/**
|
|
162
|
-
* @typedef
|
|
162
|
+
* @typedef ZoneSuccessResult
|
|
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 GetSingleZoneDataViewResult
|
|
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 ZoneResult
|
|
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 GetZoneFromPincodeViewDetails
|
|
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 GetZoneFromPincodeViewResult
|
|
236
236
|
* @property {string} serviceability_type
|
|
237
237
|
* @property {Zone[]} zones
|
|
238
238
|
*/
|
|
239
239
|
/**
|
|
240
|
-
* @typedef
|
|
240
|
+
* @typedef GetZoneFromApplicationIdViewResult
|
|
241
241
|
* @property {ZoneDataItem[]} page
|
|
242
242
|
* @property {ListViewItems[]} items
|
|
243
243
|
*/
|
|
244
244
|
/**
|
|
245
|
-
* @typedef
|
|
245
|
+
* @typedef ServiceabilityPageResult
|
|
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 ManagerResult
|
|
259
259
|
* @property {string} [email]
|
|
260
260
|
* @property {MobileNo} [mobile_no]
|
|
261
261
|
* @property {string} [name]
|
|
262
262
|
*/
|
|
263
263
|
/**
|
|
264
|
-
* @typedef
|
|
264
|
+
* @typedef ModifiedByResult
|
|
265
265
|
* @property {string} [username]
|
|
266
266
|
* @property {string} [user_id]
|
|
267
267
|
*/
|
|
268
268
|
/**
|
|
269
|
-
* @typedef
|
|
269
|
+
* @typedef IntegrationTypeResult
|
|
270
270
|
* @property {string} [inventory]
|
|
271
271
|
* @property {string} [order]
|
|
272
272
|
*/
|
|
273
273
|
/**
|
|
274
|
-
* @typedef
|
|
274
|
+
* @typedef ProductReturnConfigResult
|
|
275
275
|
* @property {boolean} [on_same_store]
|
|
276
276
|
*/
|
|
277
277
|
/**
|
|
278
|
-
* @typedef
|
|
278
|
+
* @typedef ContactNumberResult
|
|
279
279
|
* @property {string} [number]
|
|
280
280
|
* @property {number} [country_code]
|
|
281
281
|
*/
|
|
282
282
|
/**
|
|
283
|
-
* @typedef
|
|
283
|
+
* @typedef AddressResult
|
|
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 CreatedByResult
|
|
296
296
|
* @property {string} [username]
|
|
297
297
|
* @property {string} [user_id]
|
|
298
298
|
*/
|
|
299
299
|
/**
|
|
300
|
-
* @typedef
|
|
300
|
+
* @typedef EwayBillResult
|
|
301
301
|
* @property {boolean} [enabled]
|
|
302
302
|
*/
|
|
303
303
|
/**
|
|
304
|
-
* @typedef
|
|
304
|
+
* @typedef EinvoiceResult
|
|
305
305
|
* @property {boolean} [enabled]
|
|
306
306
|
*/
|
|
307
307
|
/**
|
|
308
|
-
* @typedef
|
|
309
|
-
* @property {
|
|
310
|
-
* @property {
|
|
308
|
+
* @typedef GstCredentialsResult
|
|
309
|
+
* @property {EwayBillResult} [e_waybill]
|
|
310
|
+
* @property {EinvoiceResult} [e_invoice]
|
|
311
311
|
*/
|
|
312
312
|
/**
|
|
313
|
-
* @typedef
|
|
313
|
+
* @typedef WarningsResult
|
|
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 TimmingResult
|
|
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 DocumentsResult
|
|
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 LogisticsResult
|
|
350
350
|
* @property {boolean} [override]
|
|
351
351
|
* @property {Dp} [dp]
|
|
352
352
|
*/
|
|
353
353
|
/**
|
|
354
|
-
* @typedef
|
|
354
|
+
* @typedef ItemResult
|
|
355
355
|
* @property {string} [created_on]
|
|
356
|
-
* @property {
|
|
357
|
-
* @property {
|
|
358
|
-
* @property {
|
|
356
|
+
* @property {ManagerResult} [manager]
|
|
357
|
+
* @property {ModifiedByResult} [modified_by]
|
|
358
|
+
* @property {IntegrationTypeResult} [integration_type]
|
|
359
359
|
* @property {string} [verified_on]
|
|
360
|
-
* @property {
|
|
361
|
-
* @property {
|
|
362
|
-
* @property {
|
|
360
|
+
* @property {ProductReturnConfigResult} [product_return_config]
|
|
361
|
+
* @property {ContactNumberResult[]} [contact_numbers]
|
|
362
|
+
* @property {ModifiedByResult} [verified_by]
|
|
363
363
|
* @property {string} [stage]
|
|
364
|
-
* @property {
|
|
364
|
+
* @property {AddressResult} [address]
|
|
365
365
|
* @property {string} [modified_on]
|
|
366
|
-
* @property {
|
|
367
|
-
* @property {
|
|
366
|
+
* @property {CreatedByResult} [created_by]
|
|
367
|
+
* @property {GstCredentialsResult} [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 {WarningsResult} [warnings]
|
|
374
374
|
* @property {string} [name]
|
|
375
|
-
* @property {
|
|
376
|
-
* @property {
|
|
375
|
+
* @property {TimmingResult[]} [timing]
|
|
376
|
+
* @property {DocumentsResult[]} [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 {LogisticsResult} [logistics]
|
|
382
382
|
* @property {string[]} [notification_emails]
|
|
383
383
|
*/
|
|
384
384
|
/**
|
|
385
|
-
* @typedef
|
|
386
|
-
* @property {
|
|
387
|
-
* @property {
|
|
385
|
+
* @typedef GetStoresViewResult
|
|
386
|
+
* @property {ServiceabilityPageResult} page
|
|
387
|
+
* @property {ItemResult[]} [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 PincodeMopUpdateResult
|
|
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 PincodeMOPResult
|
|
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 {PincodeMopUpdateResult[]} [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 PincodeBulkViewResult
|
|
425
425
|
* @property {string} batch_id
|
|
426
426
|
* @property {string} s3_url
|
|
427
427
|
*/
|
|
428
428
|
/**
|
|
429
|
-
* @typedef
|
|
429
|
+
* @typedef PincodeCodStatusListingDetails
|
|
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 PincodeCodStatusListingResult
|
|
438
438
|
* @property {string} country
|
|
439
|
-
* @property {
|
|
439
|
+
* @property {PincodeCodStatusListingResult[]} 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 PincodeMopUpdateAuditHistoryDetails
|
|
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 PincodeMopUpdateAuditHistoryResult
|
|
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 PincodeMopUpdateAuditHistoryResultData
|
|
490
490
|
* @property {string} [entity_type]
|
|
491
491
|
* @property {PincodeMopUpdateAuditHistoryPaging} page
|
|
492
|
-
* @property {
|
|
492
|
+
* @property {PincodeMopUpdateAuditHistoryResult[]} 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 CourierAccountDetailsBody
|
|
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 ErrorResult
|
|
539
539
|
* @property {string} value
|
|
540
540
|
* @property {string} message
|
|
541
541
|
* @property {string} type
|
|
542
542
|
*/
|
|
543
543
|
/**
|
|
544
|
-
* @typedef
|
|
544
|
+
* @typedef CourierPartnerAccountFailureResult
|
|
545
545
|
* @property {boolean} success
|
|
546
|
-
* @property {
|
|
546
|
+
* @property {ErrorResult[]} 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 CourierPartnerRuleCPListResult
|
|
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 CourierPartnerRuleResult
|
|
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 {CourierPartnerRuleCPListResult[]} [cp_list]
|
|
579
579
|
*/
|
|
580
580
|
/**
|
|
581
581
|
* @typedef CourierPartnerList
|
|
@@ -632,15 +632,80 @@ export = ServiceabilityPlatformModel;
|
|
|
632
632
|
* @property {string[]} sort
|
|
633
633
|
*/
|
|
634
634
|
/**
|
|
635
|
-
* @typedef
|
|
635
|
+
* @typedef FailureResult
|
|
636
636
|
* @property {boolean} success
|
|
637
|
-
* @property {
|
|
637
|
+
* @property {ErrorResult[]} error
|
|
638
638
|
*/
|
|
639
639
|
/**
|
|
640
|
-
* @typedef
|
|
641
|
-
* @property {
|
|
640
|
+
* @typedef CourierPartnerRulesListResult
|
|
641
|
+
* @property {CourierPartnerRuleResult[]} 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
|
+
*/
|
|
644
709
|
/**
|
|
645
710
|
* @typedef CompanyConfig
|
|
646
711
|
* @property {string[]} rule_ids
|
|
@@ -658,14 +723,14 @@ export = ServiceabilityPlatformModel;
|
|
|
658
723
|
* @property {ZoneConfig} [zones]
|
|
659
724
|
*/
|
|
660
725
|
/**
|
|
661
|
-
* @typedef
|
|
726
|
+
* @typedef BulkRegionJobDetails
|
|
662
727
|
* @property {string} [file_path]
|
|
663
728
|
* @property {string} country
|
|
664
729
|
* @property {string} action
|
|
665
730
|
* @property {string} region
|
|
666
731
|
*/
|
|
667
732
|
/**
|
|
668
|
-
* @typedef
|
|
733
|
+
* @typedef BulkRegionResultItemData
|
|
669
734
|
* @property {string} file_path
|
|
670
735
|
* @property {number} [failed]
|
|
671
736
|
* @property {Object[]} [failed_records]
|
|
@@ -679,22 +744,22 @@ export = ServiceabilityPlatformModel;
|
|
|
679
744
|
* @property {string} [error_file_path]
|
|
680
745
|
*/
|
|
681
746
|
/**
|
|
682
|
-
* @typedef
|
|
683
|
-
* @property {
|
|
747
|
+
* @typedef BulkRegionResult
|
|
748
|
+
* @property {BulkRegionResultItemData[]} items
|
|
684
749
|
* @property {Page} page
|
|
685
750
|
*/
|
|
686
751
|
/**
|
|
687
|
-
* @typedef
|
|
752
|
+
* @typedef SelfShipResult
|
|
688
753
|
* @property {boolean} is_active
|
|
689
754
|
* @property {number} tat
|
|
690
755
|
*/
|
|
691
756
|
/**
|
|
692
757
|
* @typedef ApplicationSelfShipConfig
|
|
693
|
-
* @property {
|
|
758
|
+
* @property {SelfShipResult} [self_ship]
|
|
694
759
|
*/
|
|
695
760
|
/**
|
|
696
|
-
* @typedef
|
|
697
|
-
* @property {
|
|
761
|
+
* @typedef ApplicationSelfShipConfigResult
|
|
762
|
+
* @property {ServiceabilityErrorResult} [error]
|
|
698
763
|
* @property {ApplicationSelfShipConfig} [data]
|
|
699
764
|
* @property {boolean} success
|
|
700
765
|
*/
|
|
@@ -747,12 +812,12 @@ export = ServiceabilityPlatformModel;
|
|
|
747
812
|
* @property {string} [name]
|
|
748
813
|
*/
|
|
749
814
|
/**
|
|
750
|
-
* @typedef
|
|
815
|
+
* @typedef GetStoreRulesApiResult
|
|
751
816
|
* @property {StoreRuleDataSchema[]} [items]
|
|
752
817
|
* @property {Page} [page]
|
|
753
818
|
*/
|
|
754
819
|
/**
|
|
755
|
-
* @typedef
|
|
820
|
+
* @typedef CreateStoreRuleDetailsSchema
|
|
756
821
|
* @property {string} [name]
|
|
757
822
|
* @property {boolean} [is_active]
|
|
758
823
|
* @property {StoreRuleConditionSchema} [conditions]
|
|
@@ -762,7 +827,7 @@ export = ServiceabilityPlatformModel;
|
|
|
762
827
|
* @property {string[]} [sort]
|
|
763
828
|
*/
|
|
764
829
|
/**
|
|
765
|
-
* @typedef
|
|
830
|
+
* @typedef StoreRuleResultSchema
|
|
766
831
|
* @property {string} [id]
|
|
767
832
|
* @property {string} [name]
|
|
768
833
|
* @property {string} [type]
|
|
@@ -774,7 +839,7 @@ export = ServiceabilityPlatformModel;
|
|
|
774
839
|
* @property {boolean} [is_active]
|
|
775
840
|
*/
|
|
776
841
|
/**
|
|
777
|
-
* @typedef
|
|
842
|
+
* @typedef StoreRuleUpdateResultSchema
|
|
778
843
|
* @property {string} [id]
|
|
779
844
|
* @property {string} [name]
|
|
780
845
|
* @property {string} [type]
|
|
@@ -791,8 +856,8 @@ export = ServiceabilityPlatformModel;
|
|
|
791
856
|
* @typedef ServiceabilityModel
|
|
792
857
|
* @property {number} lm_cod_limit
|
|
793
858
|
* @property {boolean} is_qc
|
|
794
|
-
* @property {string} pickup_cutoff
|
|
795
|
-
* @property {string} route_code
|
|
859
|
+
* @property {string} [pickup_cutoff]
|
|
860
|
+
* @property {string} [route_code]
|
|
796
861
|
* @property {boolean} is_first_mile
|
|
797
862
|
* @property {boolean} is_return
|
|
798
863
|
* @property {boolean} is_installation
|
|
@@ -832,7 +897,7 @@ export = ServiceabilityPlatformModel;
|
|
|
832
897
|
* @property {CourierPartnerSchemeFeatures} feature
|
|
833
898
|
*/
|
|
834
899
|
/**
|
|
835
|
-
* @typedef
|
|
900
|
+
* @typedef CourierAccountResult
|
|
836
901
|
* @property {string} account_id
|
|
837
902
|
* @property {string} scheme_id
|
|
838
903
|
* @property {boolean} is_self_ship
|
|
@@ -841,8 +906,8 @@ export = ServiceabilityPlatformModel;
|
|
|
841
906
|
* @property {CourierPartnerSchemeModel} scheme_rules
|
|
842
907
|
*/
|
|
843
908
|
/**
|
|
844
|
-
* @typedef
|
|
845
|
-
* @property {
|
|
909
|
+
* @typedef CompanyCourierPartnerAccountListResult
|
|
910
|
+
* @property {CourierAccountResult[]} items
|
|
846
911
|
* @property {Page} page
|
|
847
912
|
*/
|
|
848
913
|
/**
|
|
@@ -866,7 +931,7 @@ export = ServiceabilityPlatformModel;
|
|
|
866
931
|
* @property {boolean} [auto_calculate]
|
|
867
932
|
*/
|
|
868
933
|
/**
|
|
869
|
-
* @typedef
|
|
934
|
+
* @typedef PackageMaterialResult
|
|
870
935
|
* @property {string} name
|
|
871
936
|
* @property {string} [id]
|
|
872
937
|
* @property {number} [item_id]
|
|
@@ -904,7 +969,7 @@ export = ServiceabilityPlatformModel;
|
|
|
904
969
|
* @property {PackageRuleCategory} [category_id]
|
|
905
970
|
*/
|
|
906
971
|
/**
|
|
907
|
-
* @typedef
|
|
972
|
+
* @typedef PackageRuleResult
|
|
908
973
|
* @property {string} [id]
|
|
909
974
|
* @property {string} name
|
|
910
975
|
* @property {number} company_id
|
|
@@ -921,12 +986,12 @@ export = ServiceabilityPlatformModel;
|
|
|
921
986
|
*/
|
|
922
987
|
/**
|
|
923
988
|
* @typedef PackageMaterialRuleList
|
|
924
|
-
* @property {
|
|
989
|
+
* @property {PackageRuleResult} [items]
|
|
925
990
|
* @property {Page} [page]
|
|
926
991
|
*/
|
|
927
992
|
/**
|
|
928
993
|
* @typedef PackageMaterialList
|
|
929
|
-
* @property {
|
|
994
|
+
* @property {PackageMaterialResult} [items]
|
|
930
995
|
* @property {Page} [page]
|
|
931
996
|
*/
|
|
932
997
|
/**
|
|
@@ -947,12 +1012,12 @@ export = ServiceabilityPlatformModel;
|
|
|
947
1012
|
* @property {number} [max]
|
|
948
1013
|
*/
|
|
949
1014
|
/**
|
|
950
|
-
* @typedef
|
|
1015
|
+
* @typedef RulePriorityDetails
|
|
951
1016
|
* @property {string} rule_id
|
|
952
1017
|
* @property {number} priority
|
|
953
1018
|
*/
|
|
954
1019
|
/**
|
|
955
|
-
* @typedef
|
|
1020
|
+
* @typedef RulePriorityResult
|
|
956
1021
|
* @property {boolean} [success]
|
|
957
1022
|
*/
|
|
958
1023
|
/**
|
|
@@ -980,7 +1045,7 @@ export = ServiceabilityPlatformModel;
|
|
|
980
1045
|
* @typedef OptimalLocationsArticles
|
|
981
1046
|
* @property {number} item_id
|
|
982
1047
|
* @property {string} size
|
|
983
|
-
* @property {
|
|
1048
|
+
* @property {number} quantity
|
|
984
1049
|
* @property {string} [group_id]
|
|
985
1050
|
* @property {boolean} [is_primary_item]
|
|
986
1051
|
* @property {Object} [meta]
|
|
@@ -990,15 +1055,15 @@ export = ServiceabilityPlatformModel;
|
|
|
990
1055
|
* @property {number} [seller_id]
|
|
991
1056
|
*/
|
|
992
1057
|
/**
|
|
993
|
-
* @typedef
|
|
1058
|
+
* @typedef OptimlLocationsDetailsSchema
|
|
994
1059
|
* @property {string} channel_id
|
|
995
1060
|
* @property {string} channel_type
|
|
996
1061
|
* @property {string} [channel_identifier]
|
|
997
1062
|
* @property {LocationDetailsServiceability} to_serviceability
|
|
998
|
-
* @property {OptimalLocationsArticles} [
|
|
1063
|
+
* @property {OptimalLocationsArticles[]} [articles]
|
|
999
1064
|
*/
|
|
1000
1065
|
/**
|
|
1001
|
-
* @typedef
|
|
1066
|
+
* @typedef OptimalLocationArticlesResult
|
|
1002
1067
|
* @property {number} item_id
|
|
1003
1068
|
* @property {string} size
|
|
1004
1069
|
* @property {number} quantity
|
|
@@ -1015,28 +1080,37 @@ export = ServiceabilityPlatformModel;
|
|
|
1015
1080
|
* @property {string} uid
|
|
1016
1081
|
*/
|
|
1017
1082
|
/**
|
|
1018
|
-
* @typedef
|
|
1083
|
+
* @typedef OptimalLocationAssignedStoresResult
|
|
1019
1084
|
* @property {number} store_id
|
|
1020
|
-
* @property {
|
|
1085
|
+
* @property {OptimalLocationArticlesResult[]} articles
|
|
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.
|
|
1021
1096
|
*/
|
|
1022
1097
|
/**
|
|
1023
|
-
* @typedef
|
|
1024
|
-
* @property {
|
|
1025
|
-
* @property {ErrorResponse[]} [faulty_articles]
|
|
1098
|
+
* @typedef StandardError
|
|
1099
|
+
* @property {string} message - A brief description of the error.
|
|
1026
1100
|
*/
|
|
1027
1101
|
declare class ServiceabilityPlatformModel {
|
|
1028
1102
|
}
|
|
1029
1103
|
declare namespace ServiceabilityPlatformModel {
|
|
1030
|
-
export {
|
|
1104
|
+
export { UpdateZoneConfigDetails, ServiceabilityErrorResult, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResult, EntityRegionView_Details, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResult, PageSchema, EntityRegionView_Items, EntityRegionView_Result, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResult, CompanyStoreView_PageItems, CompanyStoreView_Result, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneData, ZoneUpdateDetails, ZoneSuccessResult, GetZoneDataViewItems, GetSingleZoneDataViewResult, GetZoneByIdSchema, CreateZoneData, ZoneResult, GetZoneFromPincodeViewDetails, Zone, GetZoneFromPincodeViewResult, GetZoneFromApplicationIdViewResult, ServiceabilityPageResult, MobileNo, ManagerResult, ModifiedByResult, IntegrationTypeResult, ProductReturnConfigResult, ContactNumberResult, AddressResult, CreatedByResult, EwayBillResult, EinvoiceResult, GstCredentialsResult, WarningsResult, OpeningClosing, TimmingResult, DocumentsResult, Dp, LogisticsResult, ItemResult, GetStoresViewResult, PincodeMopData, PincodeMopUpdateResult, PincodeMOPResult, CommonError, PincodeMopBulkData, PincodeBulkViewResult, PincodeCodStatusListingDetails, PincodeCodStatusListingResult, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryDetails, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResult, PincodeMopUpdateAuditHistoryResultData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, CourierAccountDetailsBody, ErrorResult, CourierPartnerAccountFailureResult, Page, CourierPartnerRuleCPListResult, CourierPartnerRuleResult, CourierPartnerList, LocationRuleValues, LocationRule, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRule, FailureResult, CourierPartnerRulesListResult, ShipmentsArticles, ShipmentDimension, Shipments, ShipmentCourierPartnerDetails, CourierPartnerPromise, CourierPartners, ShipmentCourierPartners, ShipmentCourierPartnerResult, ShipmentsCourierPartnersServiceability, CompanyConfig, ZoneConfig, ApplicationConfig, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, SelfShipResult, ApplicationSelfShipConfig, ApplicationSelfShipConfigResult, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResult, CreateStoreRuleDetailsSchema, StoreRuleResultSchema, StoreRuleUpdateResultSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierAccountResult, CompanyCourierPartnerAccountListResult, PackageMaterial, PackageMaterialResult, PackageMaterialRule, PackageRule, PackageRuleResult, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageMaterialRuleQuantity, RulePriorityDetails, RulePriorityResult, ArticleAssignment, ServiceabilityLocation, LocationDetailsServiceability, OptimalLocationsArticles, OptimlLocationsDetailsSchema, OptimalLocationArticlesResult, OptimalLocationAssignedStoresResult, OptimalLocationsResult, ValidationError, StandardError };
|
|
1031
1105
|
}
|
|
1032
|
-
/** @returns {
|
|
1033
|
-
declare function
|
|
1034
|
-
type
|
|
1106
|
+
/** @returns {UpdateZoneConfigDetails} */
|
|
1107
|
+
declare function UpdateZoneConfigDetails(): UpdateZoneConfigDetails;
|
|
1108
|
+
type UpdateZoneConfigDetails = {
|
|
1035
1109
|
serviceability_type?: string;
|
|
1036
1110
|
};
|
|
1037
|
-
/** @returns {
|
|
1038
|
-
declare function
|
|
1039
|
-
type
|
|
1111
|
+
/** @returns {ServiceabilityErrorResult} */
|
|
1112
|
+
declare function ServiceabilityErrorResult(): ServiceabilityErrorResult;
|
|
1113
|
+
type ServiceabilityErrorResult = {
|
|
1040
1114
|
message: string;
|
|
1041
1115
|
value: string;
|
|
1042
1116
|
type: string;
|
|
@@ -1048,16 +1122,16 @@ type ApplicationServiceabilityConfig = {
|
|
|
1048
1122
|
serviceability_type: string;
|
|
1049
1123
|
channel_type: string;
|
|
1050
1124
|
};
|
|
1051
|
-
/** @returns {
|
|
1052
|
-
declare function
|
|
1053
|
-
type
|
|
1054
|
-
error?:
|
|
1125
|
+
/** @returns {ApplicationServiceabilityConfigResult} */
|
|
1126
|
+
declare function ApplicationServiceabilityConfigResult(): ApplicationServiceabilityConfigResult;
|
|
1127
|
+
type ApplicationServiceabilityConfigResult = {
|
|
1128
|
+
error?: ServiceabilityErrorResult;
|
|
1055
1129
|
data?: ApplicationServiceabilityConfig;
|
|
1056
1130
|
success: boolean;
|
|
1057
1131
|
};
|
|
1058
|
-
/** @returns {
|
|
1059
|
-
declare function
|
|
1060
|
-
type
|
|
1132
|
+
/** @returns {EntityRegionView_Details} */
|
|
1133
|
+
declare function EntityRegionView_Details(): EntityRegionView_Details;
|
|
1134
|
+
type EntityRegionView_Details = {
|
|
1061
1135
|
sub_type: string[];
|
|
1062
1136
|
parent_id?: string[];
|
|
1063
1137
|
};
|
|
@@ -1077,9 +1151,9 @@ type EntityRegionView_page = {
|
|
|
1077
1151
|
size: number;
|
|
1078
1152
|
current: number;
|
|
1079
1153
|
};
|
|
1080
|
-
/** @returns {
|
|
1081
|
-
declare function
|
|
1082
|
-
type
|
|
1154
|
+
/** @returns {getAppRegionZonesResult} */
|
|
1155
|
+
declare function getAppRegionZonesResult(): getAppRegionZonesResult;
|
|
1156
|
+
type getAppRegionZonesResult = {
|
|
1083
1157
|
page: PageSchema[];
|
|
1084
1158
|
items: ListViewItems[];
|
|
1085
1159
|
};
|
|
@@ -1099,9 +1173,9 @@ type EntityRegionView_Items = {
|
|
|
1099
1173
|
uid: string;
|
|
1100
1174
|
name: string;
|
|
1101
1175
|
};
|
|
1102
|
-
/** @returns {
|
|
1103
|
-
declare function
|
|
1104
|
-
type
|
|
1176
|
+
/** @returns {EntityRegionView_Result} */
|
|
1177
|
+
declare function EntityRegionView_Result(): EntityRegionView_Result;
|
|
1178
|
+
type EntityRegionView_Result = {
|
|
1105
1179
|
error: EntityRegionView_Error;
|
|
1106
1180
|
page: EntityRegionView_page;
|
|
1107
1181
|
data: EntityRegionView_Items[];
|
|
@@ -1178,9 +1252,9 @@ type ListViewItems = {
|
|
|
1178
1252
|
*/
|
|
1179
1253
|
channels: ListViewChannels[];
|
|
1180
1254
|
};
|
|
1181
|
-
/** @returns {
|
|
1182
|
-
declare function
|
|
1183
|
-
type
|
|
1255
|
+
/** @returns {ListViewResult} */
|
|
1256
|
+
declare function ListViewResult(): ListViewResult;
|
|
1257
|
+
type ListViewResult = {
|
|
1184
1258
|
page: ZoneDataItem;
|
|
1185
1259
|
items: ListViewItems[];
|
|
1186
1260
|
};
|
|
@@ -1193,9 +1267,9 @@ type CompanyStoreView_PageItems = {
|
|
|
1193
1267
|
size: number;
|
|
1194
1268
|
current: number;
|
|
1195
1269
|
};
|
|
1196
|
-
/** @returns {
|
|
1197
|
-
declare function
|
|
1198
|
-
type
|
|
1270
|
+
/** @returns {CompanyStoreView_Result} */
|
|
1271
|
+
declare function CompanyStoreView_Result(): CompanyStoreView_Result;
|
|
1272
|
+
type CompanyStoreView_Result = {
|
|
1199
1273
|
page: CompanyStoreView_PageItems[];
|
|
1200
1274
|
items?: any[];
|
|
1201
1275
|
};
|
|
@@ -1233,15 +1307,15 @@ type UpdateZoneData = {
|
|
|
1233
1307
|
mapping: ZoneMappingType[];
|
|
1234
1308
|
assignment_preference?: string;
|
|
1235
1309
|
};
|
|
1236
|
-
/** @returns {
|
|
1237
|
-
declare function
|
|
1238
|
-
type
|
|
1310
|
+
/** @returns {ZoneUpdateDetails} */
|
|
1311
|
+
declare function ZoneUpdateDetails(): ZoneUpdateDetails;
|
|
1312
|
+
type ZoneUpdateDetails = {
|
|
1239
1313
|
identifier: string;
|
|
1240
1314
|
data: UpdateZoneData;
|
|
1241
1315
|
};
|
|
1242
|
-
/** @returns {
|
|
1243
|
-
declare function
|
|
1244
|
-
type
|
|
1316
|
+
/** @returns {ZoneSuccessResult} */
|
|
1317
|
+
declare function ZoneSuccessResult(): ZoneSuccessResult;
|
|
1318
|
+
type ZoneSuccessResult = {
|
|
1245
1319
|
status_code: number;
|
|
1246
1320
|
success: boolean;
|
|
1247
1321
|
};
|
|
@@ -1261,9 +1335,9 @@ type GetZoneDataViewItems = {
|
|
|
1261
1335
|
assignment_preference?: string;
|
|
1262
1336
|
stores_count: number;
|
|
1263
1337
|
};
|
|
1264
|
-
/** @returns {
|
|
1265
|
-
declare function
|
|
1266
|
-
type
|
|
1338
|
+
/** @returns {GetSingleZoneDataViewResult} */
|
|
1339
|
+
declare function GetSingleZoneDataViewResult(): GetSingleZoneDataViewResult;
|
|
1340
|
+
type GetSingleZoneDataViewResult = {
|
|
1267
1341
|
data: GetZoneDataViewItems;
|
|
1268
1342
|
};
|
|
1269
1343
|
/** @returns {GetZoneByIdSchema} */
|
|
@@ -1295,16 +1369,16 @@ type CreateZoneData = {
|
|
|
1295
1369
|
mapping: ZoneMappingType[];
|
|
1296
1370
|
assignment_preference?: string;
|
|
1297
1371
|
};
|
|
1298
|
-
/** @returns {
|
|
1299
|
-
declare function
|
|
1300
|
-
type
|
|
1372
|
+
/** @returns {ZoneResult} */
|
|
1373
|
+
declare function ZoneResult(): ZoneResult;
|
|
1374
|
+
type ZoneResult = {
|
|
1301
1375
|
status_code: number;
|
|
1302
1376
|
zone_id: string;
|
|
1303
1377
|
success: boolean;
|
|
1304
1378
|
};
|
|
1305
|
-
/** @returns {
|
|
1306
|
-
declare function
|
|
1307
|
-
type
|
|
1379
|
+
/** @returns {GetZoneFromPincodeViewDetails} */
|
|
1380
|
+
declare function GetZoneFromPincodeViewDetails(): GetZoneFromPincodeViewDetails;
|
|
1381
|
+
type GetZoneFromPincodeViewDetails = {
|
|
1308
1382
|
country: string;
|
|
1309
1383
|
pincode: string;
|
|
1310
1384
|
};
|
|
@@ -1320,21 +1394,21 @@ type Zone = {
|
|
|
1320
1394
|
store_ids: number[];
|
|
1321
1395
|
assignment_preference: string;
|
|
1322
1396
|
};
|
|
1323
|
-
/** @returns {
|
|
1324
|
-
declare function
|
|
1325
|
-
type
|
|
1397
|
+
/** @returns {GetZoneFromPincodeViewResult} */
|
|
1398
|
+
declare function GetZoneFromPincodeViewResult(): GetZoneFromPincodeViewResult;
|
|
1399
|
+
type GetZoneFromPincodeViewResult = {
|
|
1326
1400
|
serviceability_type: string;
|
|
1327
1401
|
zones: Zone[];
|
|
1328
1402
|
};
|
|
1329
|
-
/** @returns {
|
|
1330
|
-
declare function
|
|
1331
|
-
type
|
|
1403
|
+
/** @returns {GetZoneFromApplicationIdViewResult} */
|
|
1404
|
+
declare function GetZoneFromApplicationIdViewResult(): GetZoneFromApplicationIdViewResult;
|
|
1405
|
+
type GetZoneFromApplicationIdViewResult = {
|
|
1332
1406
|
page: ZoneDataItem[];
|
|
1333
1407
|
items: ListViewItems[];
|
|
1334
1408
|
};
|
|
1335
|
-
/** @returns {
|
|
1336
|
-
declare function
|
|
1337
|
-
type
|
|
1409
|
+
/** @returns {ServiceabilityPageResult} */
|
|
1410
|
+
declare function ServiceabilityPageResult(): ServiceabilityPageResult;
|
|
1411
|
+
type ServiceabilityPageResult = {
|
|
1338
1412
|
type?: string;
|
|
1339
1413
|
has_next?: boolean;
|
|
1340
1414
|
item_total?: number;
|
|
@@ -1347,39 +1421,39 @@ type MobileNo = {
|
|
|
1347
1421
|
number?: string;
|
|
1348
1422
|
country_code?: number;
|
|
1349
1423
|
};
|
|
1350
|
-
/** @returns {
|
|
1351
|
-
declare function
|
|
1352
|
-
type
|
|
1424
|
+
/** @returns {ManagerResult} */
|
|
1425
|
+
declare function ManagerResult(): ManagerResult;
|
|
1426
|
+
type ManagerResult = {
|
|
1353
1427
|
email?: string;
|
|
1354
1428
|
mobile_no?: MobileNo;
|
|
1355
1429
|
name?: string;
|
|
1356
1430
|
};
|
|
1357
|
-
/** @returns {
|
|
1358
|
-
declare function
|
|
1359
|
-
type
|
|
1431
|
+
/** @returns {ModifiedByResult} */
|
|
1432
|
+
declare function ModifiedByResult(): ModifiedByResult;
|
|
1433
|
+
type ModifiedByResult = {
|
|
1360
1434
|
username?: string;
|
|
1361
1435
|
user_id?: string;
|
|
1362
1436
|
};
|
|
1363
|
-
/** @returns {
|
|
1364
|
-
declare function
|
|
1365
|
-
type
|
|
1437
|
+
/** @returns {IntegrationTypeResult} */
|
|
1438
|
+
declare function IntegrationTypeResult(): IntegrationTypeResult;
|
|
1439
|
+
type IntegrationTypeResult = {
|
|
1366
1440
|
inventory?: string;
|
|
1367
1441
|
order?: string;
|
|
1368
1442
|
};
|
|
1369
|
-
/** @returns {
|
|
1370
|
-
declare function
|
|
1371
|
-
type
|
|
1443
|
+
/** @returns {ProductReturnConfigResult} */
|
|
1444
|
+
declare function ProductReturnConfigResult(): ProductReturnConfigResult;
|
|
1445
|
+
type ProductReturnConfigResult = {
|
|
1372
1446
|
on_same_store?: boolean;
|
|
1373
1447
|
};
|
|
1374
|
-
/** @returns {
|
|
1375
|
-
declare function
|
|
1376
|
-
type
|
|
1448
|
+
/** @returns {ContactNumberResult} */
|
|
1449
|
+
declare function ContactNumberResult(): ContactNumberResult;
|
|
1450
|
+
type ContactNumberResult = {
|
|
1377
1451
|
number?: string;
|
|
1378
1452
|
country_code?: number;
|
|
1379
1453
|
};
|
|
1380
|
-
/** @returns {
|
|
1381
|
-
declare function
|
|
1382
|
-
type
|
|
1454
|
+
/** @returns {AddressResult} */
|
|
1455
|
+
declare function AddressResult(): AddressResult;
|
|
1456
|
+
type AddressResult = {
|
|
1383
1457
|
city?: string;
|
|
1384
1458
|
address1?: string;
|
|
1385
1459
|
pincode?: number;
|
|
@@ -1390,31 +1464,31 @@ type AddressResponse = {
|
|
|
1390
1464
|
latitude?: number;
|
|
1391
1465
|
longitude?: number;
|
|
1392
1466
|
};
|
|
1393
|
-
/** @returns {
|
|
1394
|
-
declare function
|
|
1395
|
-
type
|
|
1467
|
+
/** @returns {CreatedByResult} */
|
|
1468
|
+
declare function CreatedByResult(): CreatedByResult;
|
|
1469
|
+
type CreatedByResult = {
|
|
1396
1470
|
username?: string;
|
|
1397
1471
|
user_id?: string;
|
|
1398
1472
|
};
|
|
1399
|
-
/** @returns {
|
|
1400
|
-
declare function
|
|
1401
|
-
type
|
|
1473
|
+
/** @returns {EwayBillResult} */
|
|
1474
|
+
declare function EwayBillResult(): EwayBillResult;
|
|
1475
|
+
type EwayBillResult = {
|
|
1402
1476
|
enabled?: boolean;
|
|
1403
1477
|
};
|
|
1404
|
-
/** @returns {
|
|
1405
|
-
declare function
|
|
1406
|
-
type
|
|
1478
|
+
/** @returns {EinvoiceResult} */
|
|
1479
|
+
declare function EinvoiceResult(): EinvoiceResult;
|
|
1480
|
+
type EinvoiceResult = {
|
|
1407
1481
|
enabled?: boolean;
|
|
1408
1482
|
};
|
|
1409
|
-
/** @returns {
|
|
1410
|
-
declare function
|
|
1411
|
-
type
|
|
1412
|
-
e_waybill?:
|
|
1413
|
-
e_invoice?:
|
|
1483
|
+
/** @returns {GstCredentialsResult} */
|
|
1484
|
+
declare function GstCredentialsResult(): GstCredentialsResult;
|
|
1485
|
+
type GstCredentialsResult = {
|
|
1486
|
+
e_waybill?: EwayBillResult;
|
|
1487
|
+
e_invoice?: EinvoiceResult;
|
|
1414
1488
|
};
|
|
1415
|
-
/** @returns {
|
|
1416
|
-
declare function
|
|
1417
|
-
type
|
|
1489
|
+
/** @returns {WarningsResult} */
|
|
1490
|
+
declare function WarningsResult(): WarningsResult;
|
|
1491
|
+
type WarningsResult = {
|
|
1418
1492
|
store_address?: string;
|
|
1419
1493
|
};
|
|
1420
1494
|
/** @returns {OpeningClosing} */
|
|
@@ -1423,17 +1497,17 @@ type OpeningClosing = {
|
|
|
1423
1497
|
minute?: number;
|
|
1424
1498
|
hour?: number;
|
|
1425
1499
|
};
|
|
1426
|
-
/** @returns {
|
|
1427
|
-
declare function
|
|
1428
|
-
type
|
|
1500
|
+
/** @returns {TimmingResult} */
|
|
1501
|
+
declare function TimmingResult(): TimmingResult;
|
|
1502
|
+
type TimmingResult = {
|
|
1429
1503
|
open?: boolean;
|
|
1430
1504
|
weekday?: string;
|
|
1431
1505
|
closing?: OpeningClosing;
|
|
1432
1506
|
opening?: OpeningClosing;
|
|
1433
1507
|
};
|
|
1434
|
-
/** @returns {
|
|
1435
|
-
declare function
|
|
1436
|
-
type
|
|
1508
|
+
/** @returns {DocumentsResult} */
|
|
1509
|
+
declare function DocumentsResult(): DocumentsResult;
|
|
1510
|
+
type DocumentsResult = {
|
|
1437
1511
|
legal_name?: string;
|
|
1438
1512
|
value?: string;
|
|
1439
1513
|
type?: string;
|
|
@@ -1453,49 +1527,49 @@ type Dp = {
|
|
|
1453
1527
|
transport_mode?: string;
|
|
1454
1528
|
assign_dp_from_sb?: boolean;
|
|
1455
1529
|
};
|
|
1456
|
-
/** @returns {
|
|
1457
|
-
declare function
|
|
1458
|
-
type
|
|
1530
|
+
/** @returns {LogisticsResult} */
|
|
1531
|
+
declare function LogisticsResult(): LogisticsResult;
|
|
1532
|
+
type LogisticsResult = {
|
|
1459
1533
|
override?: boolean;
|
|
1460
1534
|
dp?: Dp;
|
|
1461
1535
|
};
|
|
1462
|
-
/** @returns {
|
|
1463
|
-
declare function
|
|
1464
|
-
type
|
|
1536
|
+
/** @returns {ItemResult} */
|
|
1537
|
+
declare function ItemResult(): ItemResult;
|
|
1538
|
+
type ItemResult = {
|
|
1465
1539
|
created_on?: string;
|
|
1466
|
-
manager?:
|
|
1467
|
-
modified_by?:
|
|
1468
|
-
integration_type?:
|
|
1540
|
+
manager?: ManagerResult;
|
|
1541
|
+
modified_by?: ModifiedByResult;
|
|
1542
|
+
integration_type?: IntegrationTypeResult;
|
|
1469
1543
|
verified_on?: string;
|
|
1470
|
-
product_return_config?:
|
|
1471
|
-
contact_numbers?:
|
|
1472
|
-
verified_by?:
|
|
1544
|
+
product_return_config?: ProductReturnConfigResult;
|
|
1545
|
+
contact_numbers?: ContactNumberResult[];
|
|
1546
|
+
verified_by?: ModifiedByResult;
|
|
1473
1547
|
stage?: string;
|
|
1474
|
-
address?:
|
|
1548
|
+
address?: AddressResult;
|
|
1475
1549
|
modified_on?: string;
|
|
1476
|
-
created_by?:
|
|
1477
|
-
gst_credentials?:
|
|
1550
|
+
created_by?: CreatedByResult;
|
|
1551
|
+
gst_credentials?: GstCredentialsResult;
|
|
1478
1552
|
display_name?: string;
|
|
1479
1553
|
company_id?: number;
|
|
1480
1554
|
uid?: number;
|
|
1481
1555
|
_custom_json?: any;
|
|
1482
1556
|
code?: string;
|
|
1483
|
-
warnings?:
|
|
1557
|
+
warnings?: WarningsResult;
|
|
1484
1558
|
name?: string;
|
|
1485
|
-
timing?:
|
|
1486
|
-
documents?:
|
|
1559
|
+
timing?: TimmingResult[];
|
|
1560
|
+
documents?: DocumentsResult[];
|
|
1487
1561
|
store_type?: string;
|
|
1488
1562
|
sub_type?: string;
|
|
1489
1563
|
company?: number;
|
|
1490
1564
|
_cls?: string;
|
|
1491
|
-
logistics?:
|
|
1565
|
+
logistics?: LogisticsResult;
|
|
1492
1566
|
notification_emails?: string[];
|
|
1493
1567
|
};
|
|
1494
|
-
/** @returns {
|
|
1495
|
-
declare function
|
|
1496
|
-
type
|
|
1497
|
-
page:
|
|
1498
|
-
items?:
|
|
1568
|
+
/** @returns {GetStoresViewResult} */
|
|
1569
|
+
declare function GetStoresViewResult(): GetStoresViewResult;
|
|
1570
|
+
type GetStoresViewResult = {
|
|
1571
|
+
page: ServiceabilityPageResult;
|
|
1572
|
+
items?: ItemResult[];
|
|
1499
1573
|
};
|
|
1500
1574
|
/** @returns {PincodeMopData} */
|
|
1501
1575
|
declare function PincodeMopData(): PincodeMopData;
|
|
@@ -1504,24 +1578,24 @@ type PincodeMopData = {
|
|
|
1504
1578
|
country: string;
|
|
1505
1579
|
action: string;
|
|
1506
1580
|
};
|
|
1507
|
-
/** @returns {
|
|
1508
|
-
declare function
|
|
1509
|
-
type
|
|
1581
|
+
/** @returns {PincodeMopUpdateResult} */
|
|
1582
|
+
declare function PincodeMopUpdateResult(): PincodeMopUpdateResult;
|
|
1583
|
+
type PincodeMopUpdateResult = {
|
|
1510
1584
|
pincode: number;
|
|
1511
1585
|
channel_id: string;
|
|
1512
1586
|
country: string;
|
|
1513
1587
|
is_active: boolean;
|
|
1514
1588
|
};
|
|
1515
|
-
/** @returns {
|
|
1516
|
-
declare function
|
|
1517
|
-
type
|
|
1589
|
+
/** @returns {PincodeMOPResult} */
|
|
1590
|
+
declare function PincodeMOPResult(): PincodeMOPResult;
|
|
1591
|
+
type PincodeMOPResult = {
|
|
1518
1592
|
success: boolean;
|
|
1519
1593
|
status_code: number;
|
|
1520
1594
|
batch_id: string;
|
|
1521
1595
|
country: string;
|
|
1522
1596
|
action: string;
|
|
1523
1597
|
pincodes?: number[];
|
|
1524
|
-
updated_pincodes?:
|
|
1598
|
+
updated_pincodes?: PincodeMopUpdateResult[];
|
|
1525
1599
|
};
|
|
1526
1600
|
/** @returns {CommonError} */
|
|
1527
1601
|
declare function CommonError(): CommonError;
|
|
@@ -1536,26 +1610,26 @@ type PincodeMopBulkData = {
|
|
|
1536
1610
|
batch_id: string;
|
|
1537
1611
|
s3_url: string;
|
|
1538
1612
|
};
|
|
1539
|
-
/** @returns {
|
|
1540
|
-
declare function
|
|
1541
|
-
type
|
|
1613
|
+
/** @returns {PincodeBulkViewResult} */
|
|
1614
|
+
declare function PincodeBulkViewResult(): PincodeBulkViewResult;
|
|
1615
|
+
type PincodeBulkViewResult = {
|
|
1542
1616
|
batch_id: string;
|
|
1543
1617
|
s3_url: string;
|
|
1544
1618
|
};
|
|
1545
|
-
/** @returns {
|
|
1546
|
-
declare function
|
|
1547
|
-
type
|
|
1619
|
+
/** @returns {PincodeCodStatusListingDetails} */
|
|
1620
|
+
declare function PincodeCodStatusListingDetails(): PincodeCodStatusListingDetails;
|
|
1621
|
+
type PincodeCodStatusListingDetails = {
|
|
1548
1622
|
country?: string;
|
|
1549
1623
|
is_active?: boolean;
|
|
1550
1624
|
pincode?: number;
|
|
1551
1625
|
current?: number;
|
|
1552
1626
|
page_size?: number;
|
|
1553
1627
|
};
|
|
1554
|
-
/** @returns {
|
|
1555
|
-
declare function
|
|
1556
|
-
type
|
|
1628
|
+
/** @returns {PincodeCodStatusListingResult} */
|
|
1629
|
+
declare function PincodeCodStatusListingResult(): PincodeCodStatusListingResult;
|
|
1630
|
+
type PincodeCodStatusListingResult = {
|
|
1557
1631
|
country: string;
|
|
1558
|
-
data:
|
|
1632
|
+
data: PincodeCodStatusListingResult[];
|
|
1559
1633
|
success: boolean;
|
|
1560
1634
|
errors?: Error[];
|
|
1561
1635
|
page: PincodeCodStatusListingPage;
|
|
@@ -1583,9 +1657,9 @@ type PincodeCodStatusListingSummary = {
|
|
|
1583
1657
|
total_active_pincodes: number;
|
|
1584
1658
|
total_inactive_pincodes: number;
|
|
1585
1659
|
};
|
|
1586
|
-
/** @returns {
|
|
1587
|
-
declare function
|
|
1588
|
-
type
|
|
1660
|
+
/** @returns {PincodeMopUpdateAuditHistoryDetails} */
|
|
1661
|
+
declare function PincodeMopUpdateAuditHistoryDetails(): PincodeMopUpdateAuditHistoryDetails;
|
|
1662
|
+
type PincodeMopUpdateAuditHistoryDetails = {
|
|
1589
1663
|
entity_type: string;
|
|
1590
1664
|
file_name?: string;
|
|
1591
1665
|
};
|
|
@@ -1598,9 +1672,9 @@ type PincodeMopUpdateAuditHistoryPaging = {
|
|
|
1598
1672
|
has_next?: boolean;
|
|
1599
1673
|
item_total?: number;
|
|
1600
1674
|
};
|
|
1601
|
-
/** @returns {
|
|
1602
|
-
declare function
|
|
1603
|
-
type
|
|
1675
|
+
/** @returns {PincodeMopUpdateAuditHistoryResult} */
|
|
1676
|
+
declare function PincodeMopUpdateAuditHistoryResult(): PincodeMopUpdateAuditHistoryResult;
|
|
1677
|
+
type PincodeMopUpdateAuditHistoryResult = {
|
|
1604
1678
|
batch_id?: string;
|
|
1605
1679
|
entity_type?: string;
|
|
1606
1680
|
error_file_s3_url?: string;
|
|
@@ -1610,12 +1684,12 @@ type PincodeMopUpdateAuditHistoryResponse = {
|
|
|
1610
1684
|
updated_by?: string;
|
|
1611
1685
|
success?: boolean;
|
|
1612
1686
|
};
|
|
1613
|
-
/** @returns {
|
|
1614
|
-
declare function
|
|
1615
|
-
type
|
|
1687
|
+
/** @returns {PincodeMopUpdateAuditHistoryResultData} */
|
|
1688
|
+
declare function PincodeMopUpdateAuditHistoryResultData(): PincodeMopUpdateAuditHistoryResultData;
|
|
1689
|
+
type PincodeMopUpdateAuditHistoryResultData = {
|
|
1616
1690
|
entity_type?: string;
|
|
1617
1691
|
page: PincodeMopUpdateAuditHistoryPaging;
|
|
1618
|
-
data:
|
|
1692
|
+
data: PincodeMopUpdateAuditHistoryResult[];
|
|
1619
1693
|
};
|
|
1620
1694
|
/** @returns {ArithmeticOperations} */
|
|
1621
1695
|
declare function ArithmeticOperations(): ArithmeticOperations;
|
|
@@ -1655,9 +1729,9 @@ type CourierAccount = {
|
|
|
1655
1729
|
stage: string;
|
|
1656
1730
|
is_own_account: boolean;
|
|
1657
1731
|
};
|
|
1658
|
-
/** @returns {
|
|
1659
|
-
declare function
|
|
1660
|
-
type
|
|
1732
|
+
/** @returns {CourierAccountDetailsBody} */
|
|
1733
|
+
declare function CourierAccountDetailsBody(): CourierAccountDetailsBody;
|
|
1734
|
+
type CourierAccountDetailsBody = {
|
|
1661
1735
|
extension_id: string;
|
|
1662
1736
|
account_id?: string;
|
|
1663
1737
|
scheme_id: string;
|
|
@@ -1665,18 +1739,18 @@ type CourierAccountRequestBody = {
|
|
|
1665
1739
|
stage: string;
|
|
1666
1740
|
is_own_account: boolean;
|
|
1667
1741
|
};
|
|
1668
|
-
/** @returns {
|
|
1669
|
-
declare function
|
|
1670
|
-
type
|
|
1742
|
+
/** @returns {ErrorResult} */
|
|
1743
|
+
declare function ErrorResult(): ErrorResult;
|
|
1744
|
+
type ErrorResult = {
|
|
1671
1745
|
value: string;
|
|
1672
1746
|
message: string;
|
|
1673
1747
|
type: string;
|
|
1674
1748
|
};
|
|
1675
|
-
/** @returns {
|
|
1676
|
-
declare function
|
|
1677
|
-
type
|
|
1749
|
+
/** @returns {CourierPartnerAccountFailureResult} */
|
|
1750
|
+
declare function CourierPartnerAccountFailureResult(): CourierPartnerAccountFailureResult;
|
|
1751
|
+
type CourierPartnerAccountFailureResult = {
|
|
1678
1752
|
success: boolean;
|
|
1679
|
-
error:
|
|
1753
|
+
error: ErrorResult[];
|
|
1680
1754
|
};
|
|
1681
1755
|
/** @returns {Page} */
|
|
1682
1756
|
declare function Page(): Page;
|
|
@@ -1710,17 +1784,17 @@ type Page = {
|
|
|
1710
1784
|
*/
|
|
1711
1785
|
size?: number;
|
|
1712
1786
|
};
|
|
1713
|
-
/** @returns {
|
|
1714
|
-
declare function
|
|
1715
|
-
type
|
|
1787
|
+
/** @returns {CourierPartnerRuleCPListResult} */
|
|
1788
|
+
declare function CourierPartnerRuleCPListResult(): CourierPartnerRuleCPListResult;
|
|
1789
|
+
type CourierPartnerRuleCPListResult = {
|
|
1716
1790
|
account_id?: string;
|
|
1717
1791
|
extension_id?: string;
|
|
1718
1792
|
is_self_ship?: boolean;
|
|
1719
1793
|
scheme_rules?: any;
|
|
1720
1794
|
};
|
|
1721
|
-
/** @returns {
|
|
1722
|
-
declare function
|
|
1723
|
-
type
|
|
1795
|
+
/** @returns {CourierPartnerRuleResult} */
|
|
1796
|
+
declare function CourierPartnerRuleResult(): CourierPartnerRuleResult;
|
|
1797
|
+
type CourierPartnerRuleResult = {
|
|
1724
1798
|
is_active?: boolean;
|
|
1725
1799
|
application_id?: string;
|
|
1726
1800
|
company_id?: number;
|
|
@@ -1732,7 +1806,7 @@ type CourierPartnerRuleResponse = {
|
|
|
1732
1806
|
modified_on?: string;
|
|
1733
1807
|
name?: string;
|
|
1734
1808
|
type?: string;
|
|
1735
|
-
cp_list?:
|
|
1809
|
+
cp_list?: CourierPartnerRuleCPListResult[];
|
|
1736
1810
|
};
|
|
1737
1811
|
/** @returns {CourierPartnerList} */
|
|
1738
1812
|
declare function CourierPartnerList(): CourierPartnerList;
|
|
@@ -1795,18 +1869,185 @@ type CourierPartnerRule = {
|
|
|
1795
1869
|
conditions: CourierPartnerRuleConditions;
|
|
1796
1870
|
sort: string[];
|
|
1797
1871
|
};
|
|
1798
|
-
/** @returns {
|
|
1799
|
-
declare function
|
|
1800
|
-
type
|
|
1872
|
+
/** @returns {FailureResult} */
|
|
1873
|
+
declare function FailureResult(): FailureResult;
|
|
1874
|
+
type FailureResult = {
|
|
1801
1875
|
success: boolean;
|
|
1802
|
-
error:
|
|
1876
|
+
error: ErrorResult[];
|
|
1803
1877
|
};
|
|
1804
|
-
/** @returns {
|
|
1805
|
-
declare function
|
|
1806
|
-
type
|
|
1807
|
-
items:
|
|
1878
|
+
/** @returns {CourierPartnerRulesListResult} */
|
|
1879
|
+
declare function CourierPartnerRulesListResult(): CourierPartnerRulesListResult;
|
|
1880
|
+
type CourierPartnerRulesListResult = {
|
|
1881
|
+
items: CourierPartnerRuleResult[];
|
|
1808
1882
|
page: Page;
|
|
1809
1883
|
};
|
|
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
|
+
};
|
|
1810
2051
|
/** @returns {CompanyConfig} */
|
|
1811
2052
|
declare function CompanyConfig(): CompanyConfig;
|
|
1812
2053
|
type CompanyConfig = {
|
|
@@ -1826,17 +2067,17 @@ type ApplicationConfig = {
|
|
|
1826
2067
|
sort?: string[];
|
|
1827
2068
|
zones?: ZoneConfig;
|
|
1828
2069
|
};
|
|
1829
|
-
/** @returns {
|
|
1830
|
-
declare function
|
|
1831
|
-
type
|
|
2070
|
+
/** @returns {BulkRegionJobDetails} */
|
|
2071
|
+
declare function BulkRegionJobDetails(): BulkRegionJobDetails;
|
|
2072
|
+
type BulkRegionJobDetails = {
|
|
1832
2073
|
file_path?: string;
|
|
1833
2074
|
country: string;
|
|
1834
2075
|
action: string;
|
|
1835
2076
|
region: string;
|
|
1836
2077
|
};
|
|
1837
|
-
/** @returns {
|
|
1838
|
-
declare function
|
|
1839
|
-
type
|
|
2078
|
+
/** @returns {BulkRegionResultItemData} */
|
|
2079
|
+
declare function BulkRegionResultItemData(): BulkRegionResultItemData;
|
|
2080
|
+
type BulkRegionResultItemData = {
|
|
1840
2081
|
file_path: string;
|
|
1841
2082
|
failed?: number;
|
|
1842
2083
|
failed_records?: any[];
|
|
@@ -1849,27 +2090,27 @@ type BulkRegionResponseItemData = {
|
|
|
1849
2090
|
total?: number;
|
|
1850
2091
|
error_file_path?: string;
|
|
1851
2092
|
};
|
|
1852
|
-
/** @returns {
|
|
1853
|
-
declare function
|
|
1854
|
-
type
|
|
1855
|
-
items:
|
|
2093
|
+
/** @returns {BulkRegionResult} */
|
|
2094
|
+
declare function BulkRegionResult(): BulkRegionResult;
|
|
2095
|
+
type BulkRegionResult = {
|
|
2096
|
+
items: BulkRegionResultItemData[];
|
|
1856
2097
|
page: Page;
|
|
1857
2098
|
};
|
|
1858
|
-
/** @returns {
|
|
1859
|
-
declare function
|
|
1860
|
-
type
|
|
2099
|
+
/** @returns {SelfShipResult} */
|
|
2100
|
+
declare function SelfShipResult(): SelfShipResult;
|
|
2101
|
+
type SelfShipResult = {
|
|
1861
2102
|
is_active: boolean;
|
|
1862
2103
|
tat: number;
|
|
1863
2104
|
};
|
|
1864
2105
|
/** @returns {ApplicationSelfShipConfig} */
|
|
1865
2106
|
declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
|
|
1866
2107
|
type ApplicationSelfShipConfig = {
|
|
1867
|
-
self_ship?:
|
|
2108
|
+
self_ship?: SelfShipResult;
|
|
1868
2109
|
};
|
|
1869
|
-
/** @returns {
|
|
1870
|
-
declare function
|
|
1871
|
-
type
|
|
1872
|
-
error?:
|
|
2110
|
+
/** @returns {ApplicationSelfShipConfigResult} */
|
|
2111
|
+
declare function ApplicationSelfShipConfigResult(): ApplicationSelfShipConfigResult;
|
|
2112
|
+
type ApplicationSelfShipConfigResult = {
|
|
2113
|
+
error?: ServiceabilityErrorResult;
|
|
1873
2114
|
data?: ApplicationSelfShipConfig;
|
|
1874
2115
|
success: boolean;
|
|
1875
2116
|
};
|
|
@@ -1926,15 +2167,15 @@ type StorePrioritySchema = {
|
|
|
1926
2167
|
id?: string;
|
|
1927
2168
|
name?: string;
|
|
1928
2169
|
};
|
|
1929
|
-
/** @returns {
|
|
1930
|
-
declare function
|
|
1931
|
-
type
|
|
2170
|
+
/** @returns {GetStoreRulesApiResult} */
|
|
2171
|
+
declare function GetStoreRulesApiResult(): GetStoreRulesApiResult;
|
|
2172
|
+
type GetStoreRulesApiResult = {
|
|
1932
2173
|
items?: StoreRuleDataSchema[];
|
|
1933
2174
|
page?: Page;
|
|
1934
2175
|
};
|
|
1935
|
-
/** @returns {
|
|
1936
|
-
declare function
|
|
1937
|
-
type
|
|
2176
|
+
/** @returns {CreateStoreRuleDetailsSchema} */
|
|
2177
|
+
declare function CreateStoreRuleDetailsSchema(): CreateStoreRuleDetailsSchema;
|
|
2178
|
+
type CreateStoreRuleDetailsSchema = {
|
|
1938
2179
|
name?: string;
|
|
1939
2180
|
is_active?: boolean;
|
|
1940
2181
|
conditions?: StoreRuleConditionSchema;
|
|
@@ -1943,9 +2184,9 @@ type CreateStoreRuleRequestSchema = {
|
|
|
1943
2184
|
store_priority?: StorePrioritySchema[];
|
|
1944
2185
|
sort?: string[];
|
|
1945
2186
|
};
|
|
1946
|
-
/** @returns {
|
|
1947
|
-
declare function
|
|
1948
|
-
type
|
|
2187
|
+
/** @returns {StoreRuleResultSchema} */
|
|
2188
|
+
declare function StoreRuleResultSchema(): StoreRuleResultSchema;
|
|
2189
|
+
type StoreRuleResultSchema = {
|
|
1949
2190
|
id?: string;
|
|
1950
2191
|
name?: string;
|
|
1951
2192
|
type?: string;
|
|
@@ -1956,9 +2197,9 @@ type StoreRuleResponseSchema = {
|
|
|
1956
2197
|
conditions?: StoreRuleConditionSchema;
|
|
1957
2198
|
is_active?: boolean;
|
|
1958
2199
|
};
|
|
1959
|
-
/** @returns {
|
|
1960
|
-
declare function
|
|
1961
|
-
type
|
|
2200
|
+
/** @returns {StoreRuleUpdateResultSchema} */
|
|
2201
|
+
declare function StoreRuleUpdateResultSchema(): StoreRuleUpdateResultSchema;
|
|
2202
|
+
type StoreRuleUpdateResultSchema = {
|
|
1962
2203
|
id?: string;
|
|
1963
2204
|
name?: string;
|
|
1964
2205
|
type?: string;
|
|
@@ -1976,8 +2217,8 @@ declare function ServiceabilityModel(): ServiceabilityModel;
|
|
|
1976
2217
|
type ServiceabilityModel = {
|
|
1977
2218
|
lm_cod_limit: number;
|
|
1978
2219
|
is_qc: boolean;
|
|
1979
|
-
pickup_cutoff
|
|
1980
|
-
route_code
|
|
2220
|
+
pickup_cutoff?: string;
|
|
2221
|
+
route_code?: string;
|
|
1981
2222
|
is_first_mile: boolean;
|
|
1982
2223
|
is_return: boolean;
|
|
1983
2224
|
is_installation: boolean;
|
|
@@ -2018,9 +2259,9 @@ type CourierPartnerSchemeModel = {
|
|
|
2018
2259
|
stage: string;
|
|
2019
2260
|
feature: CourierPartnerSchemeFeatures;
|
|
2020
2261
|
};
|
|
2021
|
-
/** @returns {
|
|
2022
|
-
declare function
|
|
2023
|
-
type
|
|
2262
|
+
/** @returns {CourierAccountResult} */
|
|
2263
|
+
declare function CourierAccountResult(): CourierAccountResult;
|
|
2264
|
+
type CourierAccountResult = {
|
|
2024
2265
|
account_id: string;
|
|
2025
2266
|
scheme_id: string;
|
|
2026
2267
|
is_self_ship: boolean;
|
|
@@ -2028,10 +2269,10 @@ type CourierAccountResponse = {
|
|
|
2028
2269
|
is_own_account: boolean;
|
|
2029
2270
|
scheme_rules: CourierPartnerSchemeModel;
|
|
2030
2271
|
};
|
|
2031
|
-
/** @returns {
|
|
2032
|
-
declare function
|
|
2033
|
-
type
|
|
2034
|
-
items:
|
|
2272
|
+
/** @returns {CompanyCourierPartnerAccountListResult} */
|
|
2273
|
+
declare function CompanyCourierPartnerAccountListResult(): CompanyCourierPartnerAccountListResult;
|
|
2274
|
+
type CompanyCourierPartnerAccountListResult = {
|
|
2275
|
+
items: CourierAccountResult[];
|
|
2035
2276
|
page: Page;
|
|
2036
2277
|
};
|
|
2037
2278
|
/** @returns {PackageMaterial} */
|
|
@@ -2055,9 +2296,9 @@ type PackageMaterial = {
|
|
|
2055
2296
|
package_vol_weight?: number;
|
|
2056
2297
|
auto_calculate?: boolean;
|
|
2057
2298
|
};
|
|
2058
|
-
/** @returns {
|
|
2059
|
-
declare function
|
|
2060
|
-
type
|
|
2299
|
+
/** @returns {PackageMaterialResult} */
|
|
2300
|
+
declare function PackageMaterialResult(): PackageMaterialResult;
|
|
2301
|
+
type PackageMaterialResult = {
|
|
2061
2302
|
name: string;
|
|
2062
2303
|
id?: string;
|
|
2063
2304
|
item_id?: number;
|
|
@@ -2096,9 +2337,9 @@ type PackageRule = {
|
|
|
2096
2337
|
product_id?: PackageRuleProduct;
|
|
2097
2338
|
category_id?: PackageRuleCategory;
|
|
2098
2339
|
};
|
|
2099
|
-
/** @returns {
|
|
2100
|
-
declare function
|
|
2101
|
-
type
|
|
2340
|
+
/** @returns {PackageRuleResult} */
|
|
2341
|
+
declare function PackageRuleResult(): PackageRuleResult;
|
|
2342
|
+
type PackageRuleResult = {
|
|
2102
2343
|
id?: string;
|
|
2103
2344
|
name: string;
|
|
2104
2345
|
company_id: number;
|
|
@@ -2117,13 +2358,13 @@ type Channel = {
|
|
|
2117
2358
|
/** @returns {PackageMaterialRuleList} */
|
|
2118
2359
|
declare function PackageMaterialRuleList(): PackageMaterialRuleList;
|
|
2119
2360
|
type PackageMaterialRuleList = {
|
|
2120
|
-
items?:
|
|
2361
|
+
items?: PackageRuleResult;
|
|
2121
2362
|
page?: Page;
|
|
2122
2363
|
};
|
|
2123
2364
|
/** @returns {PackageMaterialList} */
|
|
2124
2365
|
declare function PackageMaterialList(): PackageMaterialList;
|
|
2125
2366
|
type PackageMaterialList = {
|
|
2126
|
-
items?:
|
|
2367
|
+
items?: PackageMaterialResult;
|
|
2127
2368
|
page?: Page;
|
|
2128
2369
|
};
|
|
2129
2370
|
/** @returns {PackageRuleProduct} */
|
|
@@ -2147,15 +2388,15 @@ type PackageMaterialRuleQuantity = {
|
|
|
2147
2388
|
min?: number;
|
|
2148
2389
|
max?: number;
|
|
2149
2390
|
};
|
|
2150
|
-
/** @returns {
|
|
2151
|
-
declare function
|
|
2152
|
-
type
|
|
2391
|
+
/** @returns {RulePriorityDetails} */
|
|
2392
|
+
declare function RulePriorityDetails(): RulePriorityDetails;
|
|
2393
|
+
type RulePriorityDetails = {
|
|
2153
2394
|
rule_id: string;
|
|
2154
2395
|
priority: number;
|
|
2155
2396
|
};
|
|
2156
|
-
/** @returns {
|
|
2157
|
-
declare function
|
|
2158
|
-
type
|
|
2397
|
+
/** @returns {RulePriorityResult} */
|
|
2398
|
+
declare function RulePriorityResult(): RulePriorityResult;
|
|
2399
|
+
type RulePriorityResult = {
|
|
2159
2400
|
success?: boolean;
|
|
2160
2401
|
};
|
|
2161
2402
|
/** @returns {ArticleAssignment} */
|
|
@@ -2214,7 +2455,7 @@ declare function OptimalLocationsArticles(): OptimalLocationsArticles;
|
|
|
2214
2455
|
type OptimalLocationsArticles = {
|
|
2215
2456
|
item_id: number;
|
|
2216
2457
|
size: string;
|
|
2217
|
-
quantity:
|
|
2458
|
+
quantity: number;
|
|
2218
2459
|
group_id?: string;
|
|
2219
2460
|
is_primary_item?: boolean;
|
|
2220
2461
|
meta?: any;
|
|
@@ -2223,18 +2464,18 @@ type OptimalLocationsArticles = {
|
|
|
2223
2464
|
assign_locations: number[];
|
|
2224
2465
|
seller_id?: number;
|
|
2225
2466
|
};
|
|
2226
|
-
/** @returns {
|
|
2227
|
-
declare function
|
|
2228
|
-
type
|
|
2467
|
+
/** @returns {OptimlLocationsDetailsSchema} */
|
|
2468
|
+
declare function OptimlLocationsDetailsSchema(): OptimlLocationsDetailsSchema;
|
|
2469
|
+
type OptimlLocationsDetailsSchema = {
|
|
2229
2470
|
channel_id: string;
|
|
2230
2471
|
channel_type: string;
|
|
2231
2472
|
channel_identifier?: string;
|
|
2232
2473
|
to_serviceability: LocationDetailsServiceability;
|
|
2233
|
-
|
|
2474
|
+
articles?: OptimalLocationsArticles[];
|
|
2234
2475
|
};
|
|
2235
|
-
/** @returns {
|
|
2236
|
-
declare function
|
|
2237
|
-
type
|
|
2476
|
+
/** @returns {OptimalLocationArticlesResult} */
|
|
2477
|
+
declare function OptimalLocationArticlesResult(): OptimalLocationArticlesResult;
|
|
2478
|
+
type OptimalLocationArticlesResult = {
|
|
2238
2479
|
item_id: number;
|
|
2239
2480
|
size: string;
|
|
2240
2481
|
quantity: number;
|
|
@@ -2250,15 +2491,35 @@ type OptimalLocationArticlesResponse = {
|
|
|
2250
2491
|
_id: string;
|
|
2251
2492
|
uid: string;
|
|
2252
2493
|
};
|
|
2253
|
-
/** @returns {
|
|
2254
|
-
declare function
|
|
2255
|
-
type
|
|
2494
|
+
/** @returns {OptimalLocationAssignedStoresResult} */
|
|
2495
|
+
declare function OptimalLocationAssignedStoresResult(): OptimalLocationAssignedStoresResult;
|
|
2496
|
+
type OptimalLocationAssignedStoresResult = {
|
|
2256
2497
|
store_id: number;
|
|
2257
|
-
articles:
|
|
2498
|
+
articles: OptimalLocationArticlesResult[];
|
|
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;
|
|
2258
2517
|
};
|
|
2259
|
-
/** @returns {
|
|
2260
|
-
declare function
|
|
2261
|
-
type
|
|
2262
|
-
|
|
2263
|
-
|
|
2518
|
+
/** @returns {StandardError} */
|
|
2519
|
+
declare function StandardError(): StandardError;
|
|
2520
|
+
type StandardError = {
|
|
2521
|
+
/**
|
|
2522
|
+
* - A brief description of the error.
|
|
2523
|
+
*/
|
|
2524
|
+
message: string;
|
|
2264
2525
|
};
|