@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10
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 +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -1,1399 +1,942 @@
|
|
|
1
1
|
export = ServiceabilityPlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {string}
|
|
5
|
-
* @property {string} [address2]
|
|
6
|
-
* @property {string} [city]
|
|
7
|
-
* @property {string} [country]
|
|
8
|
-
* @property {string} [landmark]
|
|
9
|
-
* @property {number} [latitude]
|
|
10
|
-
* @property {number} [longitude]
|
|
11
|
-
* @property {number} [pincode]
|
|
12
|
-
* @property {string} [state]
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @typedef ApplicationConfig
|
|
16
|
-
* @property {string[]} [rule_ids]
|
|
17
|
-
* @property {string[]} [sort]
|
|
18
|
-
* @property {ZoneConfig} [zones]
|
|
19
|
-
*/
|
|
20
|
-
/**
|
|
21
|
-
* @typedef ApplicationSelfShipConfig
|
|
22
|
-
* @property {Object} [self_ship]
|
|
3
|
+
* @typedef ServiceabilityPayloadSchema
|
|
4
|
+
* @property {string} serviceability_type
|
|
23
5
|
*/
|
|
24
6
|
/**
|
|
25
|
-
* @typedef
|
|
26
|
-
* @property {
|
|
27
|
-
* @property {
|
|
28
|
-
* @property {
|
|
7
|
+
* @typedef ServiceabilityErrorResponse
|
|
8
|
+
* @property {string} message
|
|
9
|
+
* @property {string} value
|
|
10
|
+
* @property {string} type
|
|
29
11
|
*/
|
|
30
12
|
/**
|
|
31
13
|
* @typedef ApplicationServiceabilityConfig
|
|
32
14
|
* @property {string} channel_id
|
|
33
|
-
* @property {string} channel_type
|
|
34
15
|
* @property {string} serviceability_type
|
|
16
|
+
* @property {string} channel_type
|
|
35
17
|
*/
|
|
36
18
|
/**
|
|
37
19
|
* @typedef ApplicationServiceabilityConfigResponse
|
|
38
|
-
* @property {ApplicationServiceabilityConfig} [data]
|
|
39
20
|
* @property {ServiceabilityErrorResponse} [error]
|
|
21
|
+
* @property {ApplicationServiceabilityConfig} [data]
|
|
40
22
|
* @property {boolean} success
|
|
41
23
|
*/
|
|
42
24
|
/**
|
|
43
|
-
* @typedef
|
|
44
|
-
* @property {
|
|
45
|
-
* @property {
|
|
46
|
-
* @property {number} [lt]
|
|
47
|
-
* @property {number} [lte]
|
|
48
|
-
*/
|
|
49
|
-
/**
|
|
50
|
-
* @typedef BulkRegionJobSerializer
|
|
51
|
-
* @property {string} action
|
|
52
|
-
* @property {string} country
|
|
53
|
-
* @property {string} [file_path]
|
|
54
|
-
* @property {string} region
|
|
25
|
+
* @typedef EntityRegionView_Request
|
|
26
|
+
* @property {string[]} sub_type
|
|
27
|
+
* @property {string[]} [parent_id]
|
|
55
28
|
*/
|
|
56
29
|
/**
|
|
57
|
-
* @typedef
|
|
58
|
-
* @property {
|
|
59
|
-
* @property {
|
|
30
|
+
* @typedef EntityRegionView_Error
|
|
31
|
+
* @property {string} [message]
|
|
32
|
+
* @property {string} [value]
|
|
33
|
+
* @property {string} [type]
|
|
60
34
|
*/
|
|
61
35
|
/**
|
|
62
|
-
* @typedef
|
|
63
|
-
* @property {string}
|
|
64
|
-
* @property {
|
|
65
|
-
* @property {
|
|
66
|
-
* @property {
|
|
67
|
-
* @property {number}
|
|
68
|
-
* @property {Object[]} [failed_records]
|
|
69
|
-
* @property {string} file_path
|
|
70
|
-
* @property {string} region
|
|
71
|
-
* @property {string} status
|
|
72
|
-
* @property {number} [success]
|
|
73
|
-
* @property {number} [total]
|
|
74
|
-
*/
|
|
75
|
-
/**
|
|
76
|
-
* @typedef Channel
|
|
77
|
-
* @property {string} [id]
|
|
78
|
-
* @property {string} [type]
|
|
36
|
+
* @typedef EntityRegionView_page
|
|
37
|
+
* @property {string} type
|
|
38
|
+
* @property {boolean} has_next
|
|
39
|
+
* @property {number} item_total
|
|
40
|
+
* @property {number} size
|
|
41
|
+
* @property {number} current
|
|
79
42
|
*/
|
|
80
43
|
/**
|
|
81
|
-
* @typedef
|
|
82
|
-
* @property {
|
|
83
|
-
* @property {string}
|
|
84
|
-
* @property {string}
|
|
44
|
+
* @typedef EntityRegionView_Items
|
|
45
|
+
* @property {string} sub_type
|
|
46
|
+
* @property {string} uid
|
|
47
|
+
* @property {string} name
|
|
48
|
+
* @property {string} [display_name]
|
|
85
49
|
*/
|
|
86
50
|
/**
|
|
87
|
-
* @typedef
|
|
88
|
-
* @property {
|
|
89
|
-
* @property {
|
|
90
|
-
* @property {
|
|
51
|
+
* @typedef EntityRegionView_Response
|
|
52
|
+
* @property {EntityRegionView_Error} error
|
|
53
|
+
* @property {EntityRegionView_page} page
|
|
54
|
+
* @property {EntityRegionView_Items[]} [items]
|
|
55
|
+
* @property {boolean} success
|
|
91
56
|
*/
|
|
92
57
|
/**
|
|
93
|
-
* @typedef
|
|
94
|
-
* @property {
|
|
95
|
-
* @property {
|
|
58
|
+
* @typedef ListViewSummary
|
|
59
|
+
* @property {number} total_zones
|
|
60
|
+
* @property {number} total_pincodes_served
|
|
61
|
+
* @property {number} total_active_zones
|
|
96
62
|
*/
|
|
97
63
|
/**
|
|
98
|
-
* @typedef
|
|
99
|
-
* @property {number} current
|
|
64
|
+
* @typedef ZoneDataItem
|
|
100
65
|
* @property {boolean} has_next
|
|
101
66
|
* @property {number} item_total
|
|
102
67
|
* @property {number} size
|
|
68
|
+
* @property {number} current
|
|
103
69
|
* @property {string} type
|
|
104
70
|
*/
|
|
105
71
|
/**
|
|
106
|
-
* @typedef
|
|
107
|
-
* @property {
|
|
108
|
-
* @property {
|
|
109
|
-
*/
|
|
110
|
-
/**
|
|
111
|
-
* @typedef ContactNumberResponse
|
|
112
|
-
* @property {number} [country_code]
|
|
113
|
-
* @property {string} [number]
|
|
72
|
+
* @typedef ListViewProduct
|
|
73
|
+
* @property {number} count
|
|
74
|
+
* @property {string} type
|
|
114
75
|
*/
|
|
115
76
|
/**
|
|
116
|
-
* @typedef
|
|
117
|
-
* @property {string}
|
|
118
|
-
* @property {string}
|
|
119
|
-
* @property {boolean} is_own_account
|
|
120
|
-
* @property {boolean} is_self_ship
|
|
121
|
-
* @property {string} scheme_id
|
|
122
|
-
* @property {string} stage
|
|
77
|
+
* @typedef ListViewChannels
|
|
78
|
+
* @property {string} channel_id
|
|
79
|
+
* @property {string} channel_type
|
|
123
80
|
*/
|
|
124
81
|
/**
|
|
125
|
-
* @typedef
|
|
126
|
-
* @property {string}
|
|
127
|
-
* @property {
|
|
128
|
-
* @property {
|
|
129
|
-
* @property {
|
|
130
|
-
* @property {
|
|
131
|
-
* @property {
|
|
82
|
+
* @typedef ListViewItems
|
|
83
|
+
* @property {string} zone_id
|
|
84
|
+
* @property {string} name
|
|
85
|
+
* @property {string} slug
|
|
86
|
+
* @property {number} stores_count
|
|
87
|
+
* @property {boolean} is_active
|
|
88
|
+
* @property {ListViewProduct} product
|
|
89
|
+
* @property {number} pincodes_count
|
|
90
|
+
* @property {number} company_id
|
|
91
|
+
* @property {ListViewChannels[]} channels
|
|
132
92
|
*/
|
|
133
93
|
/**
|
|
134
|
-
* @typedef
|
|
135
|
-
* @property {
|
|
136
|
-
* @property {
|
|
94
|
+
* @typedef ListViewResponse
|
|
95
|
+
* @property {ListViewSummary} summary
|
|
96
|
+
* @property {ZoneDataItem} page
|
|
97
|
+
* @property {ListViewItems[]} items
|
|
137
98
|
*/
|
|
138
99
|
/**
|
|
139
|
-
* @typedef
|
|
140
|
-
* @property {string}
|
|
141
|
-
* @property {
|
|
142
|
-
* @property {
|
|
143
|
-
* @property {
|
|
100
|
+
* @typedef CompanyStoreView_PageItems
|
|
101
|
+
* @property {string} type
|
|
102
|
+
* @property {boolean} has_next
|
|
103
|
+
* @property {number} item_total
|
|
104
|
+
* @property {number} size
|
|
105
|
+
* @property {number} current
|
|
144
106
|
*/
|
|
145
107
|
/**
|
|
146
|
-
* @typedef
|
|
147
|
-
* @property {
|
|
148
|
-
* @property {
|
|
149
|
-
* @property {boolean} is_active
|
|
150
|
-
* @property {string} name
|
|
151
|
-
* @property {string[]} sort
|
|
152
|
-
*/
|
|
153
|
-
/**
|
|
154
|
-
* @typedef CourierPartnerRuleConditions
|
|
155
|
-
* @property {IntComparisonOperations} [brand_ids]
|
|
156
|
-
* @property {IntComparisonOperations} [category_ids]
|
|
157
|
-
* @property {IntComparisonOperations} [department_ids]
|
|
158
|
-
* @property {LocationRule} [forward]
|
|
159
|
-
* @property {ArithmeticOperations} [order_place_date]
|
|
160
|
-
* @property {StringComparisonOperations} [payment_mode]
|
|
161
|
-
* @property {IntComparisonOperations} [product_ids]
|
|
162
|
-
* @property {StringComparisonOperations} [product_tags]
|
|
163
|
-
* @property {LocationRule} [reverse]
|
|
164
|
-
* @property {ArithmeticOperations} [shipment_cost]
|
|
165
|
-
* @property {ArithmeticOperations} [shipment_volumetric_weight]
|
|
166
|
-
* @property {ArithmeticOperations} [shipment_weight]
|
|
167
|
-
* @property {IntComparisonOperations} [store_ids]
|
|
168
|
-
* @property {StringComparisonOperations} [store_tags]
|
|
169
|
-
* @property {StringComparisonOperations} [store_type]
|
|
170
|
-
* @property {StringComparisonOperations} [zone_ids]
|
|
171
|
-
*/
|
|
172
|
-
/**
|
|
173
|
-
* @typedef CourierPartnerRulesListResponse
|
|
174
|
-
* @property {CourierPartnerRule[]} items
|
|
175
|
-
* @property {Page} page
|
|
108
|
+
* @typedef CompanyStoreView_Response
|
|
109
|
+
* @property {CompanyStoreView_PageItems[]} page
|
|
110
|
+
* @property {Object[]} [items]
|
|
176
111
|
*/
|
|
177
112
|
/**
|
|
178
|
-
* @typedef
|
|
179
|
-
* @property {
|
|
180
|
-
* @property {
|
|
181
|
-
* @property {boolean} [doorstep_exchange]
|
|
182
|
-
* @property {boolean} [doorstep_qc]
|
|
183
|
-
* @property {boolean} [doorstep_return]
|
|
184
|
-
* @property {boolean} [ewaybill]
|
|
185
|
-
* @property {boolean} [fragile_goods]
|
|
186
|
-
* @property {boolean} [mps]
|
|
187
|
-
* @property {boolean} [multi_pick_multi_drop]
|
|
188
|
-
* @property {boolean} [multi_pick_single_drop]
|
|
189
|
-
* @property {boolean} [ndr]
|
|
190
|
-
* @property {number} [ndr_attempts]
|
|
191
|
-
* @property {boolean} [openbox_delivery]
|
|
192
|
-
* @property {boolean} [product_installation]
|
|
193
|
-
* @property {boolean} [qr]
|
|
194
|
-
* @property {boolean} [restricted_goods]
|
|
195
|
-
* @property {boolean} [single_pick_multi_drop]
|
|
196
|
-
* @property {string} [status_updates]
|
|
197
|
-
*/
|
|
198
|
-
/**
|
|
199
|
-
* @typedef CourierPartnerSchemeModel
|
|
200
|
-
* @property {string} delivery_type
|
|
201
|
-
* @property {string} extension_id
|
|
202
|
-
* @property {CourierPartnerSchemeFeatures} feature
|
|
203
|
-
* @property {string[]} payment_mode
|
|
204
|
-
* @property {string} region
|
|
205
|
-
* @property {string} scheme_id
|
|
206
|
-
* @property {string} stage
|
|
207
|
-
* @property {string} transport_type
|
|
208
|
-
* @property {ArithmeticOperations} weight
|
|
113
|
+
* @typedef GetZoneDataViewChannels
|
|
114
|
+
* @property {string} channel_id
|
|
115
|
+
* @property {string} channel_type
|
|
209
116
|
*/
|
|
210
117
|
/**
|
|
211
|
-
* @typedef
|
|
212
|
-
* @property {string}
|
|
213
|
-
* @property {string}
|
|
118
|
+
* @typedef ZoneProductTypes
|
|
119
|
+
* @property {string} type
|
|
120
|
+
* @property {string[]} tags
|
|
214
121
|
*/
|
|
215
122
|
/**
|
|
216
|
-
* @typedef
|
|
217
|
-
* @property {
|
|
218
|
-
* @property {
|
|
219
|
-
* @property {string} [
|
|
220
|
-
* @property {string[]} [sort]
|
|
221
|
-
* @property {StorePrioritySchema[]} [store_priority]
|
|
222
|
-
* @property {string[]} [tag_based_priority]
|
|
223
|
-
* @property {string[]} [type_based_priority]
|
|
123
|
+
* @typedef ZoneMappingType
|
|
124
|
+
* @property {string} country
|
|
125
|
+
* @property {string[]} [pincode]
|
|
126
|
+
* @property {string[]} [state]
|
|
224
127
|
*/
|
|
225
128
|
/**
|
|
226
|
-
* @typedef
|
|
227
|
-
* @property {string}
|
|
228
|
-
* @property {GetZoneDataViewChannels[]} channels
|
|
229
|
-
* @property {number} company_id
|
|
230
|
-
* @property {boolean} is_active
|
|
231
|
-
* @property {ZoneMappingType[]} mapping
|
|
129
|
+
* @typedef UpdateZoneData
|
|
130
|
+
* @property {string} zone_id
|
|
232
131
|
* @property {string} name
|
|
233
|
-
* @property {string} region_type
|
|
234
132
|
* @property {string} slug
|
|
133
|
+
* @property {number} company_id
|
|
134
|
+
* @property {boolean} is_active
|
|
135
|
+
* @property {GetZoneDataViewChannels[]} channels
|
|
136
|
+
* @property {ZoneProductTypes} product
|
|
235
137
|
* @property {number[]} store_ids
|
|
138
|
+
* @property {string} region_type
|
|
139
|
+
* @property {ZoneMappingType[]} mapping
|
|
140
|
+
* @property {string} [assignment_preference]
|
|
236
141
|
*/
|
|
237
142
|
/**
|
|
238
|
-
* @typedef
|
|
239
|
-
* @property {
|
|
240
|
-
* @property {
|
|
241
|
-
* @property {number} [lt]
|
|
242
|
-
* @property {number} [lte]
|
|
243
|
-
* @property {string} unit
|
|
244
|
-
*/
|
|
245
|
-
/**
|
|
246
|
-
* @typedef DocumentsResponse
|
|
247
|
-
* @property {string} [legal_name]
|
|
248
|
-
* @property {string} [type]
|
|
249
|
-
* @property {string} [value]
|
|
250
|
-
* @property {boolean} [verified]
|
|
143
|
+
* @typedef ZoneUpdateRequest
|
|
144
|
+
* @property {string} identifier
|
|
145
|
+
* @property {UpdateZoneData} data
|
|
251
146
|
*/
|
|
252
147
|
/**
|
|
253
|
-
* @typedef
|
|
254
|
-
* @property {number}
|
|
255
|
-
* @property {boolean}
|
|
256
|
-
* @property {string} [external_account_id]
|
|
257
|
-
* @property {number} [fm_priority]
|
|
258
|
-
* @property {string} [internal_account_id]
|
|
259
|
-
* @property {number} [lm_priority]
|
|
260
|
-
* @property {string[]} [operations]
|
|
261
|
-
* @property {string} [payment_mode]
|
|
262
|
-
* @property {number} [rvp_priority]
|
|
263
|
-
* @property {string} [transport_mode]
|
|
148
|
+
* @typedef ZoneSuccessResponse
|
|
149
|
+
* @property {number} status_code
|
|
150
|
+
* @property {boolean} success
|
|
264
151
|
*/
|
|
265
152
|
/**
|
|
266
|
-
* @typedef
|
|
267
|
-
* @property {
|
|
153
|
+
* @typedef GetZoneDataViewItems
|
|
154
|
+
* @property {string} zone_id
|
|
155
|
+
* @property {string} name
|
|
156
|
+
* @property {string} slug
|
|
157
|
+
* @property {number} [company_id]
|
|
158
|
+
* @property {boolean} is_active
|
|
159
|
+
* @property {GetZoneDataViewChannels[]} channels
|
|
160
|
+
* @property {ZoneProductTypes} product
|
|
161
|
+
* @property {number[]} store_ids
|
|
162
|
+
* @property {string} region_type
|
|
163
|
+
* @property {ZoneMappingType[]} mapping
|
|
164
|
+
* @property {string} [assignment_preference]
|
|
165
|
+
* @property {number} stores_count
|
|
166
|
+
* @property {number} pincodes_count
|
|
268
167
|
*/
|
|
269
168
|
/**
|
|
270
|
-
* @typedef
|
|
271
|
-
* @property {
|
|
272
|
-
* @property {string} [type]
|
|
273
|
-
* @property {string} [value]
|
|
169
|
+
* @typedef GetSingleZoneDataViewResponse
|
|
170
|
+
* @property {GetZoneDataViewItems} data
|
|
274
171
|
*/
|
|
275
172
|
/**
|
|
276
|
-
* @typedef
|
|
173
|
+
* @typedef CreateZoneData
|
|
277
174
|
* @property {string} name
|
|
278
|
-
* @property {string}
|
|
279
|
-
* @property {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
* @
|
|
283
|
-
* @property {number}
|
|
284
|
-
* @property {
|
|
285
|
-
* @property {
|
|
286
|
-
* @property {
|
|
287
|
-
* @property {string} type
|
|
175
|
+
* @property {string} slug
|
|
176
|
+
* @property {number} company_id
|
|
177
|
+
* @property {boolean} is_active
|
|
178
|
+
* @property {GetZoneDataViewChannels[]} channels
|
|
179
|
+
* @property {ZoneProductTypes} product
|
|
180
|
+
* @property {number[]} store_ids
|
|
181
|
+
* @property {string} region_type
|
|
182
|
+
* @property {ZoneMappingType[]} mapping
|
|
183
|
+
* @property {string} [assignment_preference]
|
|
288
184
|
*/
|
|
289
185
|
/**
|
|
290
|
-
* @typedef
|
|
291
|
-
* @property {string
|
|
292
|
-
* @property {
|
|
186
|
+
* @typedef ZoneRequest
|
|
187
|
+
* @property {string} identifier
|
|
188
|
+
* @property {CreateZoneData} data
|
|
293
189
|
*/
|
|
294
190
|
/**
|
|
295
|
-
* @typedef
|
|
296
|
-
* @property {
|
|
297
|
-
* @property {
|
|
298
|
-
* @property {EntityRegionView_page} page
|
|
191
|
+
* @typedef ZoneResponse
|
|
192
|
+
* @property {number} status_code
|
|
193
|
+
* @property {string} zone_id
|
|
299
194
|
* @property {boolean} success
|
|
300
195
|
*/
|
|
301
196
|
/**
|
|
302
|
-
* @typedef
|
|
303
|
-
* @property {string}
|
|
304
|
-
* @property {string}
|
|
305
|
-
* @property {string} [value]
|
|
197
|
+
* @typedef GetZoneFromPincodeViewRequest
|
|
198
|
+
* @property {string} country
|
|
199
|
+
* @property {string} pincode
|
|
306
200
|
*/
|
|
307
201
|
/**
|
|
308
|
-
* @typedef
|
|
309
|
-
* @property {string}
|
|
202
|
+
* @typedef Zone
|
|
203
|
+
* @property {string} zone_id
|
|
310
204
|
* @property {string} type
|
|
311
|
-
* @property {string}
|
|
205
|
+
* @property {string} name
|
|
206
|
+
* @property {string[]} tags
|
|
207
|
+
* @property {string} slug
|
|
208
|
+
* @property {boolean} is_active
|
|
209
|
+
* @property {number[]} store_ids
|
|
210
|
+
* @property {string} assignment_preference
|
|
312
211
|
*/
|
|
313
212
|
/**
|
|
314
|
-
* @typedef
|
|
315
|
-
* @property {
|
|
213
|
+
* @typedef GetZoneFromPincodeViewResponse
|
|
214
|
+
* @property {string} serviceability_type
|
|
215
|
+
* @property {Zone[]} zones
|
|
316
216
|
*/
|
|
317
217
|
/**
|
|
318
|
-
* @typedef
|
|
319
|
-
* @property {
|
|
320
|
-
* @property {
|
|
218
|
+
* @typedef GetZoneFromApplicationIdViewResponse
|
|
219
|
+
* @property {ZoneDataItem[]} page
|
|
220
|
+
* @property {ListViewItems[]} items
|
|
321
221
|
*/
|
|
322
222
|
/**
|
|
323
|
-
* @typedef
|
|
324
|
-
* @property {
|
|
325
|
-
* @property {
|
|
223
|
+
* @typedef ServiceabilityPageResponse
|
|
224
|
+
* @property {string} [type]
|
|
225
|
+
* @property {boolean} [has_next]
|
|
226
|
+
* @property {number} [item_total]
|
|
227
|
+
* @property {number} [size]
|
|
228
|
+
* @property {number} [current]
|
|
326
229
|
*/
|
|
327
230
|
/**
|
|
328
|
-
* @typedef
|
|
329
|
-
* @property {
|
|
231
|
+
* @typedef MobileNo
|
|
232
|
+
* @property {string} [number]
|
|
233
|
+
* @property {number} [country_code]
|
|
330
234
|
*/
|
|
331
235
|
/**
|
|
332
|
-
* @typedef
|
|
333
|
-
* @property {
|
|
334
|
-
* @property {
|
|
236
|
+
* @typedef ManagerResponse
|
|
237
|
+
* @property {string} [email]
|
|
238
|
+
* @property {MobileNo} [mobile_no]
|
|
239
|
+
* @property {string} [name]
|
|
335
240
|
*/
|
|
336
241
|
/**
|
|
337
|
-
* @typedef
|
|
338
|
-
* @property {
|
|
339
|
-
* @property {
|
|
242
|
+
* @typedef ModifiedByResponse
|
|
243
|
+
* @property {string} [username]
|
|
244
|
+
* @property {string} [user_id]
|
|
340
245
|
*/
|
|
341
246
|
/**
|
|
342
|
-
* @typedef
|
|
343
|
-
* @property {string} [
|
|
344
|
-
* @property {
|
|
345
|
-
* @property {number} [company_id]
|
|
346
|
-
* @property {boolean} is_active
|
|
347
|
-
* @property {ZoneMappingType[]} mapping
|
|
348
|
-
* @property {string} name
|
|
349
|
-
* @property {ZoneProductTypes} product
|
|
350
|
-
* @property {string} region_type
|
|
351
|
-
* @property {string} slug
|
|
352
|
-
* @property {number[]} store_ids
|
|
353
|
-
* @property {number} stores_count
|
|
354
|
-
* @property {string} zone_id
|
|
247
|
+
* @typedef IntegrationTypeResponse
|
|
248
|
+
* @property {string} [inventory]
|
|
249
|
+
* @property {string} [order]
|
|
355
250
|
*/
|
|
356
251
|
/**
|
|
357
|
-
* @typedef
|
|
358
|
-
* @property {
|
|
359
|
-
* @property {string} channel_type
|
|
252
|
+
* @typedef ProductReturnConfigResponse
|
|
253
|
+
* @property {boolean} [on_same_store]
|
|
360
254
|
*/
|
|
361
255
|
/**
|
|
362
|
-
* @typedef
|
|
363
|
-
* @property {string} [
|
|
364
|
-
* @property {
|
|
365
|
-
* @property {number} [company_id]
|
|
366
|
-
* @property {boolean} is_active
|
|
367
|
-
* @property {ZoneMappingType[]} mapping
|
|
368
|
-
* @property {string} name
|
|
369
|
-
* @property {ZoneProductTypes} product
|
|
370
|
-
* @property {string} [region_type]
|
|
371
|
-
* @property {string} slug
|
|
372
|
-
* @property {number[]} store_ids
|
|
373
|
-
* @property {number} stores_count
|
|
374
|
-
* @property {string} zone_id
|
|
256
|
+
* @typedef ContactNumberResponse
|
|
257
|
+
* @property {string} [number]
|
|
258
|
+
* @property {number} [country_code]
|
|
375
259
|
*/
|
|
376
260
|
/**
|
|
377
|
-
* @typedef
|
|
378
|
-
* @property {
|
|
379
|
-
* @property {
|
|
261
|
+
* @typedef AddressResponse
|
|
262
|
+
* @property {string} [city]
|
|
263
|
+
* @property {string} [address1]
|
|
264
|
+
* @property {number} [pincode]
|
|
265
|
+
* @property {string} [address2]
|
|
266
|
+
* @property {string} [landmark]
|
|
267
|
+
* @property {string} [state]
|
|
268
|
+
* @property {string} [country]
|
|
269
|
+
* @property {number} [latitude]
|
|
270
|
+
* @property {number} [longitude]
|
|
380
271
|
*/
|
|
381
272
|
/**
|
|
382
|
-
* @typedef
|
|
383
|
-
* @property {string}
|
|
384
|
-
* @property {string}
|
|
273
|
+
* @typedef CreatedByResponse
|
|
274
|
+
* @property {string} [username]
|
|
275
|
+
* @property {string} [user_id]
|
|
385
276
|
*/
|
|
386
277
|
/**
|
|
387
|
-
* @typedef
|
|
388
|
-
* @property {
|
|
389
|
-
|
|
278
|
+
* @typedef EwayBillResponse
|
|
279
|
+
* @property {boolean} [enabled]
|
|
280
|
+
*/
|
|
281
|
+
/**
|
|
282
|
+
* @typedef EinvoiceResponse
|
|
283
|
+
* @property {boolean} [enabled]
|
|
390
284
|
*/
|
|
391
285
|
/**
|
|
392
286
|
* @typedef GstCredentialsResponse
|
|
393
|
-
* @property {EinvoiceResponse} [e_invoice]
|
|
394
287
|
* @property {EwayBillResponse} [e_waybill]
|
|
288
|
+
* @property {EinvoiceResponse} [e_invoice]
|
|
395
289
|
*/
|
|
396
290
|
/**
|
|
397
|
-
* @typedef
|
|
398
|
-
* @property {
|
|
291
|
+
* @typedef WarningsResponse
|
|
292
|
+
* @property {string} [store_address]
|
|
399
293
|
*/
|
|
400
294
|
/**
|
|
401
|
-
* @typedef
|
|
402
|
-
* @property {
|
|
403
|
-
* @property {
|
|
295
|
+
* @typedef OpeningClosing
|
|
296
|
+
* @property {number} [minute]
|
|
297
|
+
* @property {number} [hour]
|
|
298
|
+
*/
|
|
299
|
+
/**
|
|
300
|
+
* @typedef TimmingResponse
|
|
301
|
+
* @property {boolean} [open]
|
|
302
|
+
* @property {string} [weekday]
|
|
303
|
+
* @property {OpeningClosing} [closing]
|
|
304
|
+
* @property {OpeningClosing} [opening]
|
|
305
|
+
*/
|
|
306
|
+
/**
|
|
307
|
+
* @typedef DocumentsResponse
|
|
308
|
+
* @property {string} [legal_name]
|
|
309
|
+
* @property {string} [value]
|
|
310
|
+
* @property {string} [type]
|
|
311
|
+
* @property {boolean} [verified]
|
|
312
|
+
*/
|
|
313
|
+
/**
|
|
314
|
+
* @typedef Dp
|
|
315
|
+
* @property {number} [fm_priority]
|
|
316
|
+
* @property {number} [rvp_priority]
|
|
317
|
+
* @property {number} [lm_priority]
|
|
318
|
+
* @property {string} [internal_account_id]
|
|
319
|
+
* @property {number} [area_code]
|
|
320
|
+
* @property {string} [payment_mode]
|
|
321
|
+
* @property {string[]} [operations]
|
|
322
|
+
* @property {string} [external_account_id]
|
|
323
|
+
* @property {string} [transport_mode]
|
|
324
|
+
* @property {boolean} [assign_dp_from_sb]
|
|
325
|
+
*/
|
|
326
|
+
/**
|
|
327
|
+
* @typedef LogisticsResponse
|
|
328
|
+
* @property {boolean} [override]
|
|
329
|
+
* @property {Dp} [dp]
|
|
404
330
|
*/
|
|
405
331
|
/**
|
|
406
332
|
* @typedef ItemResponse
|
|
407
|
-
* @property {string} [_cls]
|
|
408
|
-
* @property {Object} [_custom_json]
|
|
409
|
-
* @property {AddressResponse} [address]
|
|
410
|
-
* @property {string} [code]
|
|
411
|
-
* @property {number} [company]
|
|
412
|
-
* @property {number} [company_id]
|
|
413
|
-
* @property {ContactNumberResponse[]} [contact_numbers]
|
|
414
|
-
* @property {CreatedByResponse} [created_by]
|
|
415
333
|
* @property {string} [created_on]
|
|
416
|
-
* @property {string} [display_name]
|
|
417
|
-
* @property {DocumentsResponse[]} [documents]
|
|
418
|
-
* @property {GstCredentialsResponse} [gst_credentials]
|
|
419
|
-
* @property {IntegrationTypeResponse} [integration_type]
|
|
420
|
-
* @property {LogisticsResponse} [logistics]
|
|
421
334
|
* @property {ManagerResponse} [manager]
|
|
422
335
|
* @property {ModifiedByResponse} [modified_by]
|
|
423
|
-
* @property {
|
|
424
|
-
* @property {string} [
|
|
425
|
-
* @property {string[]} [notification_emails]
|
|
336
|
+
* @property {IntegrationTypeResponse} [integration_type]
|
|
337
|
+
* @property {string} [verified_on]
|
|
426
338
|
* @property {ProductReturnConfigResponse} [product_return_config]
|
|
339
|
+
* @property {ContactNumberResponse[]} [contact_numbers]
|
|
340
|
+
* @property {ModifiedByResponse} [verified_by]
|
|
427
341
|
* @property {string} [stage]
|
|
428
|
-
* @property {
|
|
429
|
-
* @property {string} [
|
|
430
|
-
* @property {
|
|
342
|
+
* @property {AddressResponse} [address]
|
|
343
|
+
* @property {string} [modified_on]
|
|
344
|
+
* @property {CreatedByResponse} [created_by]
|
|
345
|
+
* @property {GstCredentialsResponse} [gst_credentials]
|
|
346
|
+
* @property {string} [display_name]
|
|
347
|
+
* @property {number} [company_id]
|
|
431
348
|
* @property {number} [uid]
|
|
432
|
-
* @property {
|
|
433
|
-
* @property {string} [
|
|
349
|
+
* @property {Object} [_custom_json]
|
|
350
|
+
* @property {string} [code]
|
|
434
351
|
* @property {WarningsResponse} [warnings]
|
|
352
|
+
* @property {string} [name]
|
|
353
|
+
* @property {TimmingResponse[]} [timing]
|
|
354
|
+
* @property {DocumentsResponse[]} [documents]
|
|
355
|
+
* @property {string} [store_type]
|
|
356
|
+
* @property {string} [sub_type]
|
|
357
|
+
* @property {number} [company]
|
|
358
|
+
* @property {string} [_cls]
|
|
359
|
+
* @property {LogisticsResponse} [logistics]
|
|
360
|
+
* @property {string[]} [notification_emails]
|
|
435
361
|
*/
|
|
436
362
|
/**
|
|
437
|
-
* @typedef
|
|
438
|
-
* @property {
|
|
439
|
-
* @property {
|
|
363
|
+
* @typedef GetStoresViewResponse
|
|
364
|
+
* @property {ServiceabilityPageResponse} page
|
|
365
|
+
* @property {ItemResponse[]} [items]
|
|
440
366
|
*/
|
|
441
367
|
/**
|
|
442
|
-
* @typedef
|
|
443
|
-
* @property {
|
|
444
|
-
* @property {
|
|
445
|
-
* @property {
|
|
446
|
-
* @property {string}
|
|
447
|
-
* @property {
|
|
448
|
-
* @property {number} regions_count
|
|
449
|
-
* @property {string} slug
|
|
450
|
-
* @property {number} stores_count
|
|
451
|
-
* @property {string} zone_id
|
|
368
|
+
* @typedef ReAssignStoreRequest
|
|
369
|
+
* @property {string} to_pincode
|
|
370
|
+
* @property {string} identifier
|
|
371
|
+
* @property {Object} configuration
|
|
372
|
+
* @property {string[]} ignored_locations
|
|
373
|
+
* @property {Object[]} articles
|
|
452
374
|
*/
|
|
453
375
|
/**
|
|
454
|
-
* @typedef
|
|
455
|
-
* @property {
|
|
456
|
-
* @property {
|
|
376
|
+
* @typedef ReAssignStoreResponse
|
|
377
|
+
* @property {string} to_pincode
|
|
378
|
+
* @property {boolean} success
|
|
379
|
+
* @property {Object} error
|
|
380
|
+
* @property {Object[]} [articles]
|
|
457
381
|
*/
|
|
458
382
|
/**
|
|
459
|
-
* @typedef
|
|
460
|
-
* @property {
|
|
461
|
-
* @property {
|
|
383
|
+
* @typedef ApplicationCompanyDpViewResponse
|
|
384
|
+
* @property {number} [courier_partner_id]
|
|
385
|
+
* @property {number} company_id
|
|
386
|
+
* @property {string} application_id
|
|
387
|
+
* @property {boolean} success
|
|
462
388
|
*/
|
|
463
389
|
/**
|
|
464
|
-
* @typedef
|
|
465
|
-
* @property {
|
|
466
|
-
* @property {number} total_pincodes_served
|
|
467
|
-
* @property {number} total_zones
|
|
390
|
+
* @typedef ApplicationCompanyDpViewRequest
|
|
391
|
+
* @property {string} [dp_id]
|
|
468
392
|
*/
|
|
469
393
|
/**
|
|
470
|
-
* @typedef
|
|
471
|
-
* @property {
|
|
472
|
-
* @property {string}
|
|
394
|
+
* @typedef PincodeMopData
|
|
395
|
+
* @property {number[]} pincodes
|
|
396
|
+
* @property {string} country
|
|
397
|
+
* @property {string} action
|
|
473
398
|
*/
|
|
474
399
|
/**
|
|
475
|
-
* @typedef
|
|
476
|
-
* @property {
|
|
477
|
-
* @property {string}
|
|
478
|
-
* @property {string}
|
|
479
|
-
* @property {
|
|
480
|
-
* @property {string[]} [parent_ids]
|
|
481
|
-
* @property {string} [sub_type]
|
|
400
|
+
* @typedef PincodeMopUpdateResponse
|
|
401
|
+
* @property {number} pincode
|
|
402
|
+
* @property {string} channel_id
|
|
403
|
+
* @property {string} country
|
|
404
|
+
* @property {boolean} is_active
|
|
482
405
|
*/
|
|
483
406
|
/**
|
|
484
|
-
* @typedef
|
|
485
|
-
* @property {
|
|
486
|
-
* @property {
|
|
407
|
+
* @typedef PincodeMOPresponse
|
|
408
|
+
* @property {boolean} success
|
|
409
|
+
* @property {number} status_code
|
|
410
|
+
* @property {string} batch_id
|
|
411
|
+
* @property {string} country
|
|
412
|
+
* @property {string} action
|
|
413
|
+
* @property {number[]} [pincodes]
|
|
414
|
+
* @property {PincodeMopUpdateResponse[]} [updated_pincodes]
|
|
487
415
|
*/
|
|
488
416
|
/**
|
|
489
|
-
* @typedef
|
|
490
|
-
* @property {string} [
|
|
491
|
-
* @property {
|
|
492
|
-
* @property {string} [
|
|
417
|
+
* @typedef CommonError
|
|
418
|
+
* @property {string} [status_code]
|
|
419
|
+
* @property {Object} [error]
|
|
420
|
+
* @property {string} [success]
|
|
493
421
|
*/
|
|
494
422
|
/**
|
|
495
|
-
* @typedef
|
|
496
|
-
* @property {
|
|
497
|
-
* @property {string}
|
|
423
|
+
* @typedef PincodeMopBulkData
|
|
424
|
+
* @property {string} batch_id
|
|
425
|
+
* @property {string} s3_url
|
|
498
426
|
*/
|
|
499
427
|
/**
|
|
500
|
-
* @typedef
|
|
501
|
-
* @property {string}
|
|
502
|
-
* @property {string}
|
|
503
|
-
*/
|
|
504
|
-
/**
|
|
505
|
-
* @typedef OpeningClosing
|
|
506
|
-
* @property {number} [hour]
|
|
507
|
-
* @property {number} [minute]
|
|
508
|
-
*/
|
|
509
|
-
/**
|
|
510
|
-
* @typedef PackageMaterial
|
|
511
|
-
* @property {boolean} [auto_calculate]
|
|
512
|
-
* @property {Channel[]} channels
|
|
513
|
-
* @property {number} error_rate
|
|
514
|
-
* @property {number} height
|
|
515
|
-
* @property {number} length
|
|
516
|
-
* @property {number} [max_weight]
|
|
517
|
-
* @property {string[]} [media]
|
|
518
|
-
* @property {string} name
|
|
519
|
-
* @property {string} package_type
|
|
520
|
-
* @property {number} [package_vol_weight]
|
|
521
|
-
* @property {PackageMaterialRule[]} [rules]
|
|
522
|
-
* @property {string} size
|
|
523
|
-
* @property {string} status
|
|
524
|
-
* @property {number[]} store_ids
|
|
525
|
-
* @property {boolean} [track_inventory]
|
|
526
|
-
* @property {number} weight
|
|
527
|
-
* @property {number} width
|
|
528
|
-
*/
|
|
529
|
-
/**
|
|
530
|
-
* @typedef PackageMaterialList
|
|
531
|
-
* @property {PackageMaterialResponse} [items]
|
|
532
|
-
* @property {Page} [page]
|
|
533
|
-
*/
|
|
534
|
-
/**
|
|
535
|
-
* @typedef PackageMaterialResponse
|
|
536
|
-
* @property {boolean} [auto_calculate]
|
|
537
|
-
* @property {Channel[]} channels
|
|
538
|
-
* @property {number} error_rate
|
|
539
|
-
* @property {number} height
|
|
540
|
-
* @property {string} [id]
|
|
541
|
-
* @property {number} [item_id]
|
|
542
|
-
* @property {number} length
|
|
543
|
-
* @property {number} [max_weight]
|
|
544
|
-
* @property {string[]} [media]
|
|
545
|
-
* @property {string} name
|
|
546
|
-
* @property {string} package_type
|
|
547
|
-
* @property {number} [package_vol_weight]
|
|
548
|
-
* @property {PackageMaterialRule[]} [rules]
|
|
549
|
-
* @property {string} size
|
|
550
|
-
* @property {string} status
|
|
551
|
-
* @property {number[]} store_ids
|
|
552
|
-
* @property {boolean} [track_inventory]
|
|
553
|
-
* @property {number} weight
|
|
554
|
-
* @property {number} width
|
|
555
|
-
*/
|
|
556
|
-
/**
|
|
557
|
-
* @typedef PackageMaterialRule
|
|
558
|
-
* @property {PackageMaterialRuleQuantity} [quantity]
|
|
559
|
-
* @property {string} [rule_id]
|
|
560
|
-
* @property {number} [weight]
|
|
561
|
-
*/
|
|
562
|
-
/**
|
|
563
|
-
* @typedef PackageMaterialRuleList
|
|
564
|
-
* @property {PackageRuleResponse} [items]
|
|
565
|
-
* @property {Page} [page]
|
|
566
|
-
*/
|
|
567
|
-
/**
|
|
568
|
-
* @typedef PackageMaterialRuleQuantity
|
|
569
|
-
* @property {number} [max]
|
|
570
|
-
* @property {number} [min]
|
|
571
|
-
*/
|
|
572
|
-
/**
|
|
573
|
-
* @typedef PackageRule
|
|
574
|
-
* @property {PackageRuleCategory} [category_id]
|
|
575
|
-
* @property {number} company_id
|
|
576
|
-
* @property {boolean} [is_active]
|
|
577
|
-
* @property {string} name
|
|
578
|
-
* @property {PackageRuleProduct} [product_id]
|
|
579
|
-
* @property {PackageRuleProductTag} [product_tag]
|
|
580
|
-
* @property {string} type
|
|
581
|
-
*/
|
|
582
|
-
/**
|
|
583
|
-
* @typedef PackageRuleCategory
|
|
584
|
-
* @property {number[]} [includes]
|
|
585
|
-
*/
|
|
586
|
-
/**
|
|
587
|
-
* @typedef PackageRuleProduct
|
|
588
|
-
* @property {number[]} [includes]
|
|
589
|
-
*/
|
|
590
|
-
/**
|
|
591
|
-
* @typedef PackageRuleProductTag
|
|
592
|
-
* @property {string[]} [includes]
|
|
593
|
-
*/
|
|
594
|
-
/**
|
|
595
|
-
* @typedef PackageRuleResponse
|
|
596
|
-
* @property {PackageRuleCategory} [category_id]
|
|
597
|
-
* @property {number} company_id
|
|
598
|
-
* @property {string} [id]
|
|
599
|
-
* @property {boolean} [is_active]
|
|
600
|
-
* @property {string} name
|
|
601
|
-
* @property {PackageRuleProduct} [product_id]
|
|
602
|
-
* @property {PackageRuleProductTag} [product_tag]
|
|
603
|
-
* @property {string} type
|
|
604
|
-
*/
|
|
605
|
-
/**
|
|
606
|
-
* @typedef Page
|
|
607
|
-
* @property {number} [current]
|
|
608
|
-
* @property {boolean} [has_next]
|
|
609
|
-
* @property {boolean} [has_previous]
|
|
610
|
-
* @property {number} [item_total]
|
|
611
|
-
* @property {string} [next_id]
|
|
612
|
-
* @property {number} [size]
|
|
613
|
-
* @property {string} type
|
|
614
|
-
*/
|
|
615
|
-
/**
|
|
616
|
-
* @typedef PageSchema
|
|
617
|
-
* @property {number} current
|
|
618
|
-
* @property {boolean} has_next
|
|
619
|
-
* @property {number} item_total
|
|
620
|
-
* @property {number} size
|
|
621
|
-
* @property {string} type
|
|
622
|
-
*/
|
|
623
|
-
/**
|
|
624
|
-
* @typedef PincodeBulkViewResponse
|
|
625
|
-
* @property {string} batch_id
|
|
626
|
-
* @property {string} s3_url
|
|
627
|
-
*/
|
|
628
|
-
/**
|
|
629
|
-
* @typedef PincodeCodStatusListingPage
|
|
630
|
-
* @property {number} current
|
|
631
|
-
* @property {boolean} has_next
|
|
632
|
-
* @property {number} item_total
|
|
633
|
-
* @property {number} size
|
|
634
|
-
* @property {string} type
|
|
428
|
+
* @typedef PincodeBulkViewResponse
|
|
429
|
+
* @property {string} batch_id
|
|
430
|
+
* @property {string} s3_url
|
|
635
431
|
*/
|
|
636
432
|
/**
|
|
637
433
|
* @typedef PincodeCodStatusListingRequest
|
|
638
434
|
* @property {string} [country]
|
|
639
|
-
* @property {number} [current]
|
|
640
435
|
* @property {boolean} [is_active]
|
|
641
|
-
* @property {number} [page_size]
|
|
642
436
|
* @property {number} [pincode]
|
|
437
|
+
* @property {number} [current]
|
|
438
|
+
* @property {number} [page_size]
|
|
643
439
|
*/
|
|
644
440
|
/**
|
|
645
441
|
* @typedef PincodeCodStatusListingResponse
|
|
646
442
|
* @property {string} country
|
|
647
443
|
* @property {PincodeCodStatusListingResponse[]} data
|
|
444
|
+
* @property {boolean} success
|
|
648
445
|
* @property {Error[]} [errors]
|
|
649
446
|
* @property {PincodeCodStatusListingPage} page
|
|
650
|
-
* @property {boolean} success
|
|
651
447
|
* @property {PincodeCodStatusListingSummary} summary
|
|
652
448
|
*/
|
|
653
449
|
/**
|
|
654
|
-
* @typedef
|
|
655
|
-
* @property {
|
|
656
|
-
* @property {
|
|
450
|
+
* @typedef Error
|
|
451
|
+
* @property {string} [type]
|
|
452
|
+
* @property {string} [value]
|
|
453
|
+
* @property {string} [message]
|
|
657
454
|
*/
|
|
658
455
|
/**
|
|
659
|
-
* @typedef
|
|
660
|
-
* @property {string}
|
|
661
|
-
* @property {
|
|
456
|
+
* @typedef PincodeCodStatusListingPage
|
|
457
|
+
* @property {string} type
|
|
458
|
+
* @property {boolean} has_next
|
|
459
|
+
* @property {number} item_total
|
|
460
|
+
* @property {number} size
|
|
461
|
+
* @property {number} current
|
|
662
462
|
*/
|
|
663
463
|
/**
|
|
664
|
-
* @typedef
|
|
665
|
-
* @property {
|
|
666
|
-
* @property {
|
|
667
|
-
* @property {number[]} pincodes
|
|
464
|
+
* @typedef PincodeCodStatusListingSummary
|
|
465
|
+
* @property {number} total_active_pincodes
|
|
466
|
+
* @property {number} total_inactive_pincodes
|
|
668
467
|
*/
|
|
669
468
|
/**
|
|
670
|
-
* @typedef
|
|
671
|
-
* @property {string}
|
|
672
|
-
* @property {string}
|
|
673
|
-
* @property {string} country
|
|
674
|
-
* @property {number[]} [pincodes]
|
|
675
|
-
* @property {number} status_code
|
|
676
|
-
* @property {boolean} success
|
|
677
|
-
* @property {PincodeMopUpdateResponse[]} [updated_pincodes]
|
|
469
|
+
* @typedef PincodeMopUpdateAuditHistoryRequest
|
|
470
|
+
* @property {string} entity_type
|
|
471
|
+
* @property {string} [file_name]
|
|
678
472
|
*/
|
|
679
473
|
/**
|
|
680
474
|
* @typedef PincodeMopUpdateAuditHistoryPaging
|
|
475
|
+
* @property {string} [type]
|
|
476
|
+
* @property {number} [size]
|
|
681
477
|
* @property {number} [current]
|
|
682
478
|
* @property {boolean} [has_next]
|
|
683
479
|
* @property {number} [item_total]
|
|
684
|
-
* @property {number} [size]
|
|
685
|
-
* @property {string} [type]
|
|
686
|
-
*/
|
|
687
|
-
/**
|
|
688
|
-
* @typedef PincodeMopUpdateAuditHistoryRequest
|
|
689
|
-
* @property {string} entity_type
|
|
690
|
-
* @property {string} [file_name]
|
|
691
480
|
*/
|
|
692
481
|
/**
|
|
693
482
|
* @typedef PincodeMopUpdateAuditHistoryResponse
|
|
694
483
|
* @property {string} [batch_id]
|
|
695
484
|
* @property {string} [entity_type]
|
|
696
485
|
* @property {string} [error_file_s3_url]
|
|
697
|
-
* @property {string} [file_name]
|
|
698
486
|
* @property {string} [s3_url]
|
|
699
|
-
* @property {
|
|
487
|
+
* @property {string} [file_name]
|
|
700
488
|
* @property {string} [updated_at]
|
|
701
489
|
* @property {string} [updated_by]
|
|
490
|
+
* @property {boolean} [success]
|
|
702
491
|
*/
|
|
703
492
|
/**
|
|
704
493
|
* @typedef PincodeMopUpdateAuditHistoryResponseData
|
|
705
|
-
* @property {PincodeMopUpdateAuditHistoryResponse[]} data
|
|
706
494
|
* @property {string} [entity_type]
|
|
707
495
|
* @property {PincodeMopUpdateAuditHistoryPaging} page
|
|
496
|
+
* @property {PincodeMopUpdateAuditHistoryResponse[]} data
|
|
708
497
|
*/
|
|
709
498
|
/**
|
|
710
|
-
* @typedef
|
|
711
|
-
* @property {
|
|
712
|
-
* @property {string}
|
|
713
|
-
* @property {
|
|
714
|
-
* @property {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
* @
|
|
718
|
-
* @property {boolean} [on_same_store]
|
|
499
|
+
* @typedef Dp1
|
|
500
|
+
* @property {boolean} is_self_ship
|
|
501
|
+
* @property {string} name
|
|
502
|
+
* @property {string} plan_id
|
|
503
|
+
* @property {string} stage
|
|
504
|
+
* @property {string} account_id
|
|
505
|
+
* @property {string} dp_id
|
|
506
|
+
* @property {Object} plan_rules
|
|
719
507
|
*/
|
|
720
508
|
/**
|
|
721
|
-
* @typedef
|
|
722
|
-
* @property {
|
|
723
|
-
* @property {Object} configuration
|
|
724
|
-
* @property {string} identifier
|
|
725
|
-
* @property {string[]} ignored_locations
|
|
726
|
-
* @property {string} to_pincode
|
|
509
|
+
* @typedef CompanyDpAccountRequest
|
|
510
|
+
* @property {Dp1[]} data
|
|
727
511
|
*/
|
|
728
512
|
/**
|
|
729
|
-
* @typedef
|
|
730
|
-
* @property {Object[]} [articles]
|
|
731
|
-
* @property {Object} error
|
|
513
|
+
* @typedef CompanyDpAccountResponse
|
|
732
514
|
* @property {boolean} success
|
|
733
|
-
* @property {string} to_pincode
|
|
734
515
|
*/
|
|
735
516
|
/**
|
|
736
|
-
* @typedef
|
|
737
|
-
* @property {
|
|
738
|
-
* @property {string}
|
|
517
|
+
* @typedef ErrorResponse
|
|
518
|
+
* @property {string} message
|
|
519
|
+
* @property {string} value
|
|
520
|
+
* @property {string} type
|
|
739
521
|
*/
|
|
740
522
|
/**
|
|
741
|
-
* @typedef
|
|
742
|
-
* @property {
|
|
523
|
+
* @typedef DpAccountFailureResponse
|
|
524
|
+
* @property {number} status_code
|
|
525
|
+
* @property {ErrorResponse[]} error
|
|
526
|
+
* @property {boolean} success
|
|
743
527
|
*/
|
|
744
528
|
/**
|
|
745
|
-
* @typedef
|
|
746
|
-
* @property {
|
|
747
|
-
* @property {string
|
|
748
|
-
* @property {
|
|
749
|
-
* @property {
|
|
750
|
-
* @property {
|
|
529
|
+
* @typedef Page
|
|
530
|
+
* @property {number} [item_total]
|
|
531
|
+
* @property {string} [next_id]
|
|
532
|
+
* @property {boolean} [has_previous]
|
|
533
|
+
* @property {boolean} [has_next]
|
|
534
|
+
* @property {number} [current]
|
|
535
|
+
* @property {string} type
|
|
536
|
+
* @property {number} [size]
|
|
751
537
|
*/
|
|
752
538
|
/**
|
|
753
|
-
* @typedef
|
|
754
|
-
* @property {boolean}
|
|
755
|
-
* @property {
|
|
756
|
-
* @property {
|
|
757
|
-
* @property {boolean} [hazmat]
|
|
758
|
-
* @property {boolean} [multi_part_shipments]
|
|
759
|
-
* @property {boolean} [quality_check]
|
|
760
|
-
* @property {boolean} [quick_response_code]
|
|
539
|
+
* @typedef CompanyDpAccountListResponse
|
|
540
|
+
* @property {boolean} success
|
|
541
|
+
* @property {Page} page
|
|
542
|
+
* @property {Dp1[]} items
|
|
761
543
|
*/
|
|
762
544
|
/**
|
|
763
|
-
* @typedef
|
|
545
|
+
* @typedef DpRulesUpdateRequest
|
|
764
546
|
* @property {boolean} is_active
|
|
765
|
-
* @property {
|
|
547
|
+
* @property {Object[]} conditions
|
|
548
|
+
* @property {Object} dp_ids
|
|
549
|
+
* @property {string} name
|
|
766
550
|
*/
|
|
767
551
|
/**
|
|
768
|
-
* @typedef
|
|
769
|
-
* @property {string}
|
|
770
|
-
* @property {string}
|
|
771
|
-
* @property {
|
|
552
|
+
* @typedef DpRuleResponse
|
|
553
|
+
* @property {string} [created_on]
|
|
554
|
+
* @property {string} name
|
|
555
|
+
* @property {Object} [modified_by]
|
|
556
|
+
* @property {Object} dp_ids
|
|
557
|
+
* @property {boolean} [is_active]
|
|
558
|
+
* @property {string} [modified_on]
|
|
559
|
+
* @property {string} uid
|
|
560
|
+
* @property {Object} [created_by]
|
|
561
|
+
* @property {number} company_id
|
|
562
|
+
* @property {string[]} conditions
|
|
772
563
|
*/
|
|
773
564
|
/**
|
|
774
|
-
* @typedef
|
|
775
|
-
* @property {
|
|
776
|
-
* @property {
|
|
777
|
-
* @property {boolean}
|
|
778
|
-
* @property {boolean} is_qc
|
|
779
|
-
* @property {boolean} is_return
|
|
780
|
-
* @property {number} lm_cod_limit
|
|
781
|
-
* @property {string} pickup_cutoff
|
|
782
|
-
* @property {string} route_code
|
|
565
|
+
* @typedef DpRuleUpdateSuccessResponse
|
|
566
|
+
* @property {number} status_code
|
|
567
|
+
* @property {DpRuleResponse} data
|
|
568
|
+
* @property {boolean} success
|
|
783
569
|
*/
|
|
784
570
|
/**
|
|
785
|
-
* @typedef
|
|
786
|
-
* @property {number}
|
|
787
|
-
* @property {
|
|
788
|
-
* @property {
|
|
789
|
-
* @property {number} [size]
|
|
790
|
-
* @property {string} [type]
|
|
571
|
+
* @typedef FailureResponse
|
|
572
|
+
* @property {number} status_code
|
|
573
|
+
* @property {ErrorResponse[]} error
|
|
574
|
+
* @property {boolean} success
|
|
791
575
|
*/
|
|
792
576
|
/**
|
|
793
|
-
* @typedef
|
|
794
|
-
* @property {
|
|
795
|
-
* @property {string}
|
|
577
|
+
* @typedef DpSchemaInRuleListing
|
|
578
|
+
* @property {boolean} is_self_ship
|
|
579
|
+
* @property {string} name
|
|
580
|
+
* @property {string} plan_id
|
|
581
|
+
* @property {string} stage
|
|
582
|
+
* @property {string} account_id
|
|
583
|
+
* @property {number} priority
|
|
584
|
+
* @property {string} dp_id
|
|
585
|
+
* @property {Object} plan_rules
|
|
796
586
|
*/
|
|
797
587
|
/**
|
|
798
|
-
* @typedef
|
|
799
|
-
* @property {
|
|
800
|
-
* @property {
|
|
801
|
-
* @property {
|
|
802
|
-
* @property {
|
|
803
|
-
* @property {
|
|
804
|
-
* @property {IntComparisonOperations} [product_ids]
|
|
805
|
-
* @property {StringComparisonOperations} [product_tags]
|
|
806
|
-
* @property {StringComparisonOperations} [store_tags]
|
|
807
|
-
* @property {StringComparisonOperations} [store_type]
|
|
808
|
-
* @property {LocationRule} [to_location]
|
|
809
|
-
* @property {StringComparisonOperations} [zone_ids]
|
|
588
|
+
* @typedef DpRule
|
|
589
|
+
* @property {string} name
|
|
590
|
+
* @property {Object} dp_ids
|
|
591
|
+
* @property {boolean} [is_active]
|
|
592
|
+
* @property {number} [company_id]
|
|
593
|
+
* @property {Object[]} conditions
|
|
810
594
|
*/
|
|
811
595
|
/**
|
|
812
|
-
* @typedef
|
|
813
|
-
* @property {
|
|
814
|
-
* @property {
|
|
815
|
-
* @property {
|
|
816
|
-
* @property {string[]} [tag_based_priority]
|
|
817
|
-
* @property {string[]} [type_based_priority]
|
|
596
|
+
* @typedef DpRuleSuccessResponse
|
|
597
|
+
* @property {number} status_code
|
|
598
|
+
* @property {DpRule} data
|
|
599
|
+
* @property {boolean} success
|
|
818
600
|
*/
|
|
819
601
|
/**
|
|
820
|
-
* @typedef
|
|
821
|
-
* @property {
|
|
822
|
-
* @property {number}
|
|
823
|
-
* @property {
|
|
824
|
-
* @property {string} [id]
|
|
825
|
-
* @property {boolean} [is_active]
|
|
826
|
-
* @property {string} [name]
|
|
827
|
-
* @property {string[]} [sort]
|
|
828
|
-
* @property {StorePrioritySchema[]} [store_priority]
|
|
829
|
-
* @property {string[]} [tag_based_priority]
|
|
830
|
-
* @property {string[]} [type_based_priority]
|
|
602
|
+
* @typedef DpIds
|
|
603
|
+
* @property {boolean} enabled
|
|
604
|
+
* @property {number} priority
|
|
605
|
+
* @property {Object} [meta]
|
|
831
606
|
*/
|
|
832
607
|
/**
|
|
833
|
-
* @typedef
|
|
834
|
-
* @property {
|
|
835
|
-
* @property {
|
|
608
|
+
* @typedef DpRuleRequest
|
|
609
|
+
* @property {string} name
|
|
610
|
+
* @property {Object} dp_ids
|
|
836
611
|
* @property {boolean} [is_active]
|
|
837
|
-
* @property {string} [name]
|
|
838
|
-
* @property {string[]} [sort]
|
|
839
|
-
* @property {StorePrioritySchema[]} [store_priority]
|
|
840
|
-
* @property {string[]} [tag_based_priority]
|
|
841
|
-
* @property {string} [type]
|
|
842
|
-
* @property {string[]} [type_based_priority]
|
|
843
|
-
*/
|
|
844
|
-
/**
|
|
845
|
-
* @typedef StoreRuleUpdateResponseSchema
|
|
846
|
-
* @property {string} [application_id]
|
|
847
612
|
* @property {number} [company_id]
|
|
848
|
-
* @property {
|
|
849
|
-
* @property {string} [id]
|
|
850
|
-
* @property {boolean} [is_active]
|
|
851
|
-
* @property {string} [name]
|
|
852
|
-
* @property {string[]} [sort]
|
|
853
|
-
* @property {StorePrioritySchema[]} [store_priority]
|
|
854
|
-
* @property {string[]} [tag_based_priority]
|
|
855
|
-
* @property {string} [type]
|
|
856
|
-
* @property {string[]} [type_based_priority]
|
|
613
|
+
* @property {Object[]} conditions
|
|
857
614
|
*/
|
|
858
615
|
/**
|
|
859
|
-
* @typedef
|
|
860
|
-
* @property {
|
|
616
|
+
* @typedef DpMultipleRuleSuccessResponse
|
|
617
|
+
* @property {boolean} success
|
|
618
|
+
* @property {Page} page
|
|
619
|
+
* @property {DpRule[]} items
|
|
861
620
|
*/
|
|
862
621
|
/**
|
|
863
|
-
* @typedef
|
|
864
|
-
* @property {
|
|
865
|
-
* @property {boolean} [open]
|
|
866
|
-
* @property {OpeningClosing} [opening]
|
|
867
|
-
* @property {string} [weekday]
|
|
622
|
+
* @typedef DPCompanyRuleRequest
|
|
623
|
+
* @property {string[]} rule_ids
|
|
868
624
|
*/
|
|
869
625
|
/**
|
|
870
|
-
* @typedef
|
|
871
|
-
* @property {
|
|
626
|
+
* @typedef DPCompanyRuleResponse
|
|
627
|
+
* @property {number} status_code
|
|
628
|
+
* @property {DpRuleResponse[]} data
|
|
629
|
+
* @property {boolean} success
|
|
872
630
|
*/
|
|
873
631
|
/**
|
|
874
|
-
* @typedef
|
|
875
|
-
* @property {string}
|
|
876
|
-
* @property {GetZoneDataViewChannels[]} channels
|
|
877
|
-
* @property {number} company_id
|
|
878
|
-
* @property {boolean} is_active
|
|
879
|
-
* @property {ZoneMappingType[]} mapping
|
|
880
|
-
* @property {string} name
|
|
881
|
-
* @property {ZoneProductTypes} product
|
|
882
|
-
* @property {string} region_type
|
|
883
|
-
* @property {string} slug
|
|
884
|
-
* @property {number[]} store_ids
|
|
885
|
-
* @property {string} zone_id
|
|
632
|
+
* @typedef DPApplicationRuleRequest
|
|
633
|
+
* @property {string[]} shipping_rules
|
|
886
634
|
*/
|
|
887
635
|
/**
|
|
888
|
-
* @typedef
|
|
889
|
-
* @property {
|
|
636
|
+
* @typedef DPApplicationRuleResponse
|
|
637
|
+
* @property {boolean} status_code
|
|
638
|
+
* @property {DpRuleResponse[]} data
|
|
639
|
+
* @property {boolean} success
|
|
890
640
|
*/
|
|
891
641
|
/**
|
|
892
|
-
* @typedef
|
|
893
|
-
* @property {string} assignment_preference
|
|
642
|
+
* @typedef SelfShipResponse
|
|
894
643
|
* @property {boolean} is_active
|
|
895
|
-
* @property {
|
|
896
|
-
* @property {string} slug
|
|
897
|
-
* @property {number[]} store_ids
|
|
898
|
-
* @property {string[]} tags
|
|
899
|
-
* @property {string} type
|
|
900
|
-
* @property {string} zone_id
|
|
644
|
+
* @property {number} tat
|
|
901
645
|
*/
|
|
902
646
|
/**
|
|
903
|
-
* @typedef
|
|
904
|
-
* @property {
|
|
647
|
+
* @typedef ApplicationSelfShipConfig
|
|
648
|
+
* @property {Object} [self_ship]
|
|
905
649
|
*/
|
|
906
650
|
/**
|
|
907
|
-
* @typedef
|
|
908
|
-
* @property {
|
|
909
|
-
* @property {
|
|
910
|
-
* @property {
|
|
911
|
-
* @property {number} size
|
|
912
|
-
* @property {string} type
|
|
913
|
-
*/
|
|
914
|
-
/**
|
|
915
|
-
* @typedef ZoneMappingType
|
|
916
|
-
* @property {string} country
|
|
917
|
-
* @property {string[]} [pincode]
|
|
918
|
-
* @property {string[]} [state]
|
|
919
|
-
*/
|
|
920
|
-
/**
|
|
921
|
-
* @typedef ZoneProductTypes
|
|
922
|
-
* @property {string[]} tags
|
|
923
|
-
* @property {string} type
|
|
924
|
-
*/
|
|
925
|
-
/**
|
|
926
|
-
* @typedef ZoneResponse
|
|
927
|
-
* @property {number} status_code
|
|
928
|
-
* @property {boolean} success
|
|
929
|
-
* @property {string} zone_id
|
|
930
|
-
*/
|
|
931
|
-
/**
|
|
932
|
-
* @typedef ZoneSuccessResponse
|
|
933
|
-
* @property {number} status_code
|
|
934
|
-
* @property {boolean} success
|
|
935
|
-
*/
|
|
936
|
-
/**
|
|
937
|
-
* @typedef ZoneUpdateRequest
|
|
938
|
-
* @property {UpdateZoneData} data
|
|
939
|
-
* @property {string} identifier
|
|
651
|
+
* @typedef ApplicationSelfShipConfigResponse
|
|
652
|
+
* @property {ServiceabilityErrorResponse} [error]
|
|
653
|
+
* @property {ApplicationSelfShipConfig} [data]
|
|
654
|
+
* @property {boolean} success
|
|
940
655
|
*/
|
|
941
656
|
declare class ServiceabilityPlatformModel {
|
|
942
657
|
}
|
|
943
658
|
declare namespace ServiceabilityPlatformModel {
|
|
944
|
-
export {
|
|
659
|
+
export { ServiceabilityPayloadSchema, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, CreateZoneData, ZoneRequest, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, ReAssignStoreRequest, ReAssignStoreResponse, ApplicationCompanyDpViewResponse, ApplicationCompanyDpViewRequest, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, Dp1, CompanyDpAccountRequest, CompanyDpAccountResponse, ErrorResponse, DpAccountFailureResponse, Page, CompanyDpAccountListResponse, DpRulesUpdateRequest, DpRuleResponse, DpRuleUpdateSuccessResponse, FailureResponse, DpSchemaInRuleListing, DpRule, DpRuleSuccessResponse, DpIds, DpRuleRequest, DpMultipleRuleSuccessResponse, DPCompanyRuleRequest, DPCompanyRuleResponse, DPApplicationRuleRequest, DPApplicationRuleResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse };
|
|
945
660
|
}
|
|
946
|
-
/** @returns {
|
|
947
|
-
declare function
|
|
948
|
-
type
|
|
949
|
-
|
|
950
|
-
address2?: string;
|
|
951
|
-
city?: string;
|
|
952
|
-
country?: string;
|
|
953
|
-
landmark?: string;
|
|
954
|
-
latitude?: number;
|
|
955
|
-
longitude?: number;
|
|
956
|
-
pincode?: number;
|
|
957
|
-
state?: string;
|
|
958
|
-
};
|
|
959
|
-
/** @returns {ApplicationConfig} */
|
|
960
|
-
declare function ApplicationConfig(): ApplicationConfig;
|
|
961
|
-
type ApplicationConfig = {
|
|
962
|
-
rule_ids?: string[];
|
|
963
|
-
sort?: string[];
|
|
964
|
-
zones?: ZoneConfig;
|
|
965
|
-
};
|
|
966
|
-
/** @returns {ApplicationSelfShipConfig} */
|
|
967
|
-
declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
|
|
968
|
-
type ApplicationSelfShipConfig = {
|
|
969
|
-
self_ship?: any;
|
|
661
|
+
/** @returns {ServiceabilityPayloadSchema} */
|
|
662
|
+
declare function ServiceabilityPayloadSchema(): ServiceabilityPayloadSchema;
|
|
663
|
+
type ServiceabilityPayloadSchema = {
|
|
664
|
+
serviceability_type: string;
|
|
970
665
|
};
|
|
971
|
-
/** @returns {
|
|
972
|
-
declare function
|
|
973
|
-
type
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
666
|
+
/** @returns {ServiceabilityErrorResponse} */
|
|
667
|
+
declare function ServiceabilityErrorResponse(): ServiceabilityErrorResponse;
|
|
668
|
+
type ServiceabilityErrorResponse = {
|
|
669
|
+
message: string;
|
|
670
|
+
value: string;
|
|
671
|
+
type: string;
|
|
977
672
|
};
|
|
978
673
|
/** @returns {ApplicationServiceabilityConfig} */
|
|
979
674
|
declare function ApplicationServiceabilityConfig(): ApplicationServiceabilityConfig;
|
|
980
675
|
type ApplicationServiceabilityConfig = {
|
|
981
676
|
channel_id: string;
|
|
982
|
-
channel_type: string;
|
|
983
677
|
serviceability_type: string;
|
|
678
|
+
channel_type: string;
|
|
984
679
|
};
|
|
985
680
|
/** @returns {ApplicationServiceabilityConfigResponse} */
|
|
986
681
|
declare function ApplicationServiceabilityConfigResponse(): ApplicationServiceabilityConfigResponse;
|
|
987
682
|
type ApplicationServiceabilityConfigResponse = {
|
|
988
|
-
data?: ApplicationServiceabilityConfig;
|
|
989
683
|
error?: ServiceabilityErrorResponse;
|
|
684
|
+
data?: ApplicationServiceabilityConfig;
|
|
990
685
|
success: boolean;
|
|
991
686
|
};
|
|
992
|
-
/** @returns {
|
|
993
|
-
declare function
|
|
994
|
-
type
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
lt?: number;
|
|
998
|
-
lte?: number;
|
|
999
|
-
};
|
|
1000
|
-
/** @returns {BulkRegionJobSerializer} */
|
|
1001
|
-
declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
|
|
1002
|
-
type BulkRegionJobSerializer = {
|
|
1003
|
-
action: string;
|
|
1004
|
-
country: string;
|
|
1005
|
-
file_path?: string;
|
|
1006
|
-
region: string;
|
|
1007
|
-
};
|
|
1008
|
-
/** @returns {BulkRegionResponse} */
|
|
1009
|
-
declare function BulkRegionResponse(): BulkRegionResponse;
|
|
1010
|
-
type BulkRegionResponse = {
|
|
1011
|
-
items: BulkRegionResponseItemData[];
|
|
1012
|
-
page: Page;
|
|
687
|
+
/** @returns {EntityRegionView_Request} */
|
|
688
|
+
declare function EntityRegionView_Request(): EntityRegionView_Request;
|
|
689
|
+
type EntityRegionView_Request = {
|
|
690
|
+
sub_type: string[];
|
|
691
|
+
parent_id?: string[];
|
|
1013
692
|
};
|
|
1014
|
-
/** @returns {
|
|
1015
|
-
declare function
|
|
1016
|
-
type
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
country: string;
|
|
1020
|
-
error_file_path?: string;
|
|
1021
|
-
failed?: number;
|
|
1022
|
-
failed_records?: any[];
|
|
1023
|
-
file_path: string;
|
|
1024
|
-
region: string;
|
|
1025
|
-
status: string;
|
|
1026
|
-
success?: number;
|
|
1027
|
-
total?: number;
|
|
1028
|
-
};
|
|
1029
|
-
/** @returns {Channel} */
|
|
1030
|
-
declare function Channel(): Channel;
|
|
1031
|
-
type Channel = {
|
|
1032
|
-
id?: string;
|
|
693
|
+
/** @returns {EntityRegionView_Error} */
|
|
694
|
+
declare function EntityRegionView_Error(): EntityRegionView_Error;
|
|
695
|
+
type EntityRegionView_Error = {
|
|
696
|
+
message?: string;
|
|
697
|
+
value?: string;
|
|
1033
698
|
type?: string;
|
|
1034
699
|
};
|
|
1035
|
-
/** @returns {
|
|
1036
|
-
declare function
|
|
1037
|
-
type
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
700
|
+
/** @returns {EntityRegionView_page} */
|
|
701
|
+
declare function EntityRegionView_page(): EntityRegionView_page;
|
|
702
|
+
type EntityRegionView_page = {
|
|
703
|
+
type: string;
|
|
704
|
+
has_next: boolean;
|
|
705
|
+
item_total: number;
|
|
706
|
+
size: number;
|
|
707
|
+
current: number;
|
|
1041
708
|
};
|
|
1042
|
-
/** @returns {
|
|
1043
|
-
declare function
|
|
1044
|
-
type
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
709
|
+
/** @returns {EntityRegionView_Items} */
|
|
710
|
+
declare function EntityRegionView_Items(): EntityRegionView_Items;
|
|
711
|
+
type EntityRegionView_Items = {
|
|
712
|
+
sub_type: string;
|
|
713
|
+
uid: string;
|
|
714
|
+
name: string;
|
|
715
|
+
display_name?: string;
|
|
1048
716
|
};
|
|
1049
|
-
/** @returns {
|
|
1050
|
-
declare function
|
|
1051
|
-
type
|
|
1052
|
-
|
|
1053
|
-
page:
|
|
717
|
+
/** @returns {EntityRegionView_Response} */
|
|
718
|
+
declare function EntityRegionView_Response(): EntityRegionView_Response;
|
|
719
|
+
type EntityRegionView_Response = {
|
|
720
|
+
error: EntityRegionView_Error;
|
|
721
|
+
page: EntityRegionView_page;
|
|
722
|
+
items?: EntityRegionView_Items[];
|
|
723
|
+
success: boolean;
|
|
724
|
+
};
|
|
725
|
+
/** @returns {ListViewSummary} */
|
|
726
|
+
declare function ListViewSummary(): ListViewSummary;
|
|
727
|
+
type ListViewSummary = {
|
|
728
|
+
total_zones: number;
|
|
729
|
+
total_pincodes_served: number;
|
|
730
|
+
total_active_zones: number;
|
|
731
|
+
};
|
|
732
|
+
/** @returns {ZoneDataItem} */
|
|
733
|
+
declare function ZoneDataItem(): ZoneDataItem;
|
|
734
|
+
type ZoneDataItem = {
|
|
735
|
+
has_next: boolean;
|
|
736
|
+
item_total: number;
|
|
737
|
+
size: number;
|
|
738
|
+
current: number;
|
|
739
|
+
type: string;
|
|
740
|
+
};
|
|
741
|
+
/** @returns {ListViewProduct} */
|
|
742
|
+
declare function ListViewProduct(): ListViewProduct;
|
|
743
|
+
type ListViewProduct = {
|
|
744
|
+
count: number;
|
|
745
|
+
type: string;
|
|
746
|
+
};
|
|
747
|
+
/** @returns {ListViewChannels} */
|
|
748
|
+
declare function ListViewChannels(): ListViewChannels;
|
|
749
|
+
type ListViewChannels = {
|
|
750
|
+
channel_id: string;
|
|
751
|
+
channel_type: string;
|
|
752
|
+
};
|
|
753
|
+
/** @returns {ListViewItems} */
|
|
754
|
+
declare function ListViewItems(): ListViewItems;
|
|
755
|
+
type ListViewItems = {
|
|
756
|
+
zone_id: string;
|
|
757
|
+
name: string;
|
|
758
|
+
slug: string;
|
|
759
|
+
stores_count: number;
|
|
760
|
+
is_active: boolean;
|
|
761
|
+
product: ListViewProduct;
|
|
762
|
+
pincodes_count: number;
|
|
763
|
+
company_id: number;
|
|
764
|
+
channels: ListViewChannels[];
|
|
765
|
+
};
|
|
766
|
+
/** @returns {ListViewResponse} */
|
|
767
|
+
declare function ListViewResponse(): ListViewResponse;
|
|
768
|
+
type ListViewResponse = {
|
|
769
|
+
summary: ListViewSummary;
|
|
770
|
+
page: ZoneDataItem;
|
|
771
|
+
items: ListViewItems[];
|
|
1054
772
|
};
|
|
1055
773
|
/** @returns {CompanyStoreView_PageItems} */
|
|
1056
774
|
declare function CompanyStoreView_PageItems(): CompanyStoreView_PageItems;
|
|
1057
775
|
type CompanyStoreView_PageItems = {
|
|
1058
|
-
|
|
776
|
+
type: string;
|
|
1059
777
|
has_next: boolean;
|
|
1060
778
|
item_total: number;
|
|
1061
779
|
size: number;
|
|
1062
|
-
|
|
780
|
+
current: number;
|
|
1063
781
|
};
|
|
1064
782
|
/** @returns {CompanyStoreView_Response} */
|
|
1065
783
|
declare function CompanyStoreView_Response(): CompanyStoreView_Response;
|
|
1066
784
|
type CompanyStoreView_Response = {
|
|
1067
|
-
items?: any[];
|
|
1068
785
|
page: CompanyStoreView_PageItems[];
|
|
786
|
+
items?: any[];
|
|
1069
787
|
};
|
|
1070
|
-
/** @returns {
|
|
1071
|
-
declare function
|
|
1072
|
-
type
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
};
|
|
1076
|
-
/** @returns {CourierAccount} */
|
|
1077
|
-
declare function CourierAccount(): CourierAccount;
|
|
1078
|
-
type CourierAccount = {
|
|
1079
|
-
account_id: string;
|
|
1080
|
-
extension_id: string;
|
|
1081
|
-
is_own_account: boolean;
|
|
1082
|
-
is_self_ship: boolean;
|
|
1083
|
-
scheme_id: string;
|
|
1084
|
-
stage: string;
|
|
788
|
+
/** @returns {GetZoneDataViewChannels} */
|
|
789
|
+
declare function GetZoneDataViewChannels(): GetZoneDataViewChannels;
|
|
790
|
+
type GetZoneDataViewChannels = {
|
|
791
|
+
channel_id: string;
|
|
792
|
+
channel_type: string;
|
|
1085
793
|
};
|
|
1086
|
-
/** @returns {
|
|
1087
|
-
declare function
|
|
1088
|
-
type
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
is_self_ship: boolean;
|
|
1092
|
-
scheme_id: string;
|
|
1093
|
-
scheme_rules: CourierPartnerSchemeModel;
|
|
1094
|
-
stage: string;
|
|
794
|
+
/** @returns {ZoneProductTypes} */
|
|
795
|
+
declare function ZoneProductTypes(): ZoneProductTypes;
|
|
796
|
+
type ZoneProductTypes = {
|
|
797
|
+
type: string;
|
|
798
|
+
tags: string[];
|
|
1095
799
|
};
|
|
1096
|
-
/** @returns {
|
|
1097
|
-
declare function
|
|
1098
|
-
type
|
|
1099
|
-
|
|
1100
|
-
|
|
800
|
+
/** @returns {ZoneMappingType} */
|
|
801
|
+
declare function ZoneMappingType(): ZoneMappingType;
|
|
802
|
+
type ZoneMappingType = {
|
|
803
|
+
country: string;
|
|
804
|
+
pincode?: string[];
|
|
805
|
+
state?: string[];
|
|
1101
806
|
};
|
|
1102
|
-
/** @returns {
|
|
1103
|
-
declare function
|
|
1104
|
-
type
|
|
1105
|
-
|
|
1106
|
-
extension_id: string;
|
|
1107
|
-
is_self_ship: boolean;
|
|
807
|
+
/** @returns {UpdateZoneData} */
|
|
808
|
+
declare function UpdateZoneData(): UpdateZoneData;
|
|
809
|
+
type UpdateZoneData = {
|
|
810
|
+
zone_id: string;
|
|
1108
811
|
name: string;
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
declare function CourierPartnerRule(): CourierPartnerRule;
|
|
1112
|
-
type CourierPartnerRule = {
|
|
1113
|
-
conditions: CourierPartnerRuleConditions;
|
|
1114
|
-
cp_list?: CourierPartnerList[];
|
|
812
|
+
slug: string;
|
|
813
|
+
company_id: number;
|
|
1115
814
|
is_active: boolean;
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
brand_ids?: IntComparisonOperations;
|
|
1123
|
-
category_ids?: IntComparisonOperations;
|
|
1124
|
-
department_ids?: IntComparisonOperations;
|
|
1125
|
-
forward?: LocationRule;
|
|
1126
|
-
order_place_date?: ArithmeticOperations;
|
|
1127
|
-
payment_mode?: StringComparisonOperations;
|
|
1128
|
-
product_ids?: IntComparisonOperations;
|
|
1129
|
-
product_tags?: StringComparisonOperations;
|
|
1130
|
-
reverse?: LocationRule;
|
|
1131
|
-
shipment_cost?: ArithmeticOperations;
|
|
1132
|
-
shipment_volumetric_weight?: ArithmeticOperations;
|
|
1133
|
-
shipment_weight?: ArithmeticOperations;
|
|
1134
|
-
store_ids?: IntComparisonOperations;
|
|
1135
|
-
store_tags?: StringComparisonOperations;
|
|
1136
|
-
store_type?: StringComparisonOperations;
|
|
1137
|
-
zone_ids?: StringComparisonOperations;
|
|
1138
|
-
};
|
|
1139
|
-
/** @returns {CourierPartnerRulesListResponse} */
|
|
1140
|
-
declare function CourierPartnerRulesListResponse(): CourierPartnerRulesListResponse;
|
|
1141
|
-
type CourierPartnerRulesListResponse = {
|
|
1142
|
-
items: CourierPartnerRule[];
|
|
1143
|
-
page: Page;
|
|
815
|
+
channels: GetZoneDataViewChannels[];
|
|
816
|
+
product: ZoneProductTypes;
|
|
817
|
+
store_ids: number[];
|
|
818
|
+
region_type: string;
|
|
819
|
+
mapping: ZoneMappingType[];
|
|
820
|
+
assignment_preference?: string;
|
|
1144
821
|
};
|
|
1145
|
-
/** @returns {
|
|
1146
|
-
declare function
|
|
1147
|
-
type
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
doorstep_exchange?: boolean;
|
|
1151
|
-
doorstep_qc?: boolean;
|
|
1152
|
-
doorstep_return?: boolean;
|
|
1153
|
-
ewaybill?: boolean;
|
|
1154
|
-
fragile_goods?: boolean;
|
|
1155
|
-
mps?: boolean;
|
|
1156
|
-
multi_pick_multi_drop?: boolean;
|
|
1157
|
-
multi_pick_single_drop?: boolean;
|
|
1158
|
-
ndr?: boolean;
|
|
1159
|
-
ndr_attempts?: number;
|
|
1160
|
-
openbox_delivery?: boolean;
|
|
1161
|
-
product_installation?: boolean;
|
|
1162
|
-
qr?: boolean;
|
|
1163
|
-
restricted_goods?: boolean;
|
|
1164
|
-
single_pick_multi_drop?: boolean;
|
|
1165
|
-
status_updates?: string;
|
|
1166
|
-
};
|
|
1167
|
-
/** @returns {CourierPartnerSchemeModel} */
|
|
1168
|
-
declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
|
|
1169
|
-
type CourierPartnerSchemeModel = {
|
|
1170
|
-
delivery_type: string;
|
|
1171
|
-
extension_id: string;
|
|
1172
|
-
feature: CourierPartnerSchemeFeatures;
|
|
1173
|
-
payment_mode: string[];
|
|
1174
|
-
region: string;
|
|
1175
|
-
scheme_id: string;
|
|
1176
|
-
stage: string;
|
|
1177
|
-
transport_type: string;
|
|
1178
|
-
weight: ArithmeticOperations;
|
|
822
|
+
/** @returns {ZoneUpdateRequest} */
|
|
823
|
+
declare function ZoneUpdateRequest(): ZoneUpdateRequest;
|
|
824
|
+
type ZoneUpdateRequest = {
|
|
825
|
+
identifier: string;
|
|
826
|
+
data: UpdateZoneData;
|
|
1179
827
|
};
|
|
1180
|
-
/** @returns {
|
|
1181
|
-
declare function
|
|
1182
|
-
type
|
|
1183
|
-
|
|
1184
|
-
|
|
828
|
+
/** @returns {ZoneSuccessResponse} */
|
|
829
|
+
declare function ZoneSuccessResponse(): ZoneSuccessResponse;
|
|
830
|
+
type ZoneSuccessResponse = {
|
|
831
|
+
status_code: number;
|
|
832
|
+
success: boolean;
|
|
1185
833
|
};
|
|
1186
|
-
/** @returns {
|
|
1187
|
-
declare function
|
|
1188
|
-
type
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
834
|
+
/** @returns {GetZoneDataViewItems} */
|
|
835
|
+
declare function GetZoneDataViewItems(): GetZoneDataViewItems;
|
|
836
|
+
type GetZoneDataViewItems = {
|
|
837
|
+
zone_id: string;
|
|
838
|
+
name: string;
|
|
839
|
+
slug: string;
|
|
840
|
+
company_id?: number;
|
|
841
|
+
is_active: boolean;
|
|
842
|
+
channels: GetZoneDataViewChannels[];
|
|
843
|
+
product: ZoneProductTypes;
|
|
844
|
+
store_ids: number[];
|
|
845
|
+
region_type: string;
|
|
846
|
+
mapping: ZoneMappingType[];
|
|
847
|
+
assignment_preference?: string;
|
|
848
|
+
stores_count: number;
|
|
849
|
+
pincodes_count: number;
|
|
850
|
+
};
|
|
851
|
+
/** @returns {GetSingleZoneDataViewResponse} */
|
|
852
|
+
declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
|
|
853
|
+
type GetSingleZoneDataViewResponse = {
|
|
854
|
+
data: GetZoneDataViewItems;
|
|
1196
855
|
};
|
|
1197
856
|
/** @returns {CreateZoneData} */
|
|
1198
857
|
declare function CreateZoneData(): CreateZoneData;
|
|
1199
858
|
type CreateZoneData = {
|
|
1200
|
-
assignment_preference?: string;
|
|
1201
|
-
channels: GetZoneDataViewChannels[];
|
|
1202
|
-
company_id: number;
|
|
1203
|
-
is_active: boolean;
|
|
1204
|
-
mapping: ZoneMappingType[];
|
|
1205
859
|
name: string;
|
|
1206
|
-
region_type: string;
|
|
1207
860
|
slug: string;
|
|
861
|
+
company_id: number;
|
|
862
|
+
is_active: boolean;
|
|
863
|
+
channels: GetZoneDataViewChannels[];
|
|
864
|
+
product: ZoneProductTypes;
|
|
1208
865
|
store_ids: number[];
|
|
866
|
+
region_type: string;
|
|
867
|
+
mapping: ZoneMappingType[];
|
|
868
|
+
assignment_preference?: string;
|
|
1209
869
|
};
|
|
1210
|
-
/** @returns {
|
|
1211
|
-
declare function
|
|
1212
|
-
type
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
lt?: number;
|
|
1216
|
-
lte?: number;
|
|
1217
|
-
unit: string;
|
|
1218
|
-
};
|
|
1219
|
-
/** @returns {DocumentsResponse} */
|
|
1220
|
-
declare function DocumentsResponse(): DocumentsResponse;
|
|
1221
|
-
type DocumentsResponse = {
|
|
1222
|
-
legal_name?: string;
|
|
1223
|
-
type?: string;
|
|
1224
|
-
value?: string;
|
|
1225
|
-
verified?: boolean;
|
|
1226
|
-
};
|
|
1227
|
-
/** @returns {Dp} */
|
|
1228
|
-
declare function Dp(): Dp;
|
|
1229
|
-
type Dp = {
|
|
1230
|
-
area_code?: number;
|
|
1231
|
-
assign_dp_from_sb?: boolean;
|
|
1232
|
-
external_account_id?: string;
|
|
1233
|
-
fm_priority?: number;
|
|
1234
|
-
internal_account_id?: string;
|
|
1235
|
-
lm_priority?: number;
|
|
1236
|
-
operations?: string[];
|
|
1237
|
-
payment_mode?: string;
|
|
1238
|
-
rvp_priority?: number;
|
|
1239
|
-
transport_mode?: string;
|
|
1240
|
-
};
|
|
1241
|
-
/** @returns {EinvoiceResponse} */
|
|
1242
|
-
declare function EinvoiceResponse(): EinvoiceResponse;
|
|
1243
|
-
type EinvoiceResponse = {
|
|
1244
|
-
enabled?: boolean;
|
|
1245
|
-
};
|
|
1246
|
-
/** @returns {EntityRegionView_Error} */
|
|
1247
|
-
declare function EntityRegionView_Error(): EntityRegionView_Error;
|
|
1248
|
-
type EntityRegionView_Error = {
|
|
1249
|
-
message?: string;
|
|
1250
|
-
type?: string;
|
|
1251
|
-
value?: string;
|
|
1252
|
-
};
|
|
1253
|
-
/** @returns {EntityRegionView_Items} */
|
|
1254
|
-
declare function EntityRegionView_Items(): EntityRegionView_Items;
|
|
1255
|
-
type EntityRegionView_Items = {
|
|
1256
|
-
name: string;
|
|
1257
|
-
sub_type: string;
|
|
1258
|
-
uid: string;
|
|
1259
|
-
};
|
|
1260
|
-
/** @returns {EntityRegionView_page} */
|
|
1261
|
-
declare function EntityRegionView_page(): EntityRegionView_page;
|
|
1262
|
-
type EntityRegionView_page = {
|
|
1263
|
-
current: number;
|
|
1264
|
-
has_next: boolean;
|
|
1265
|
-
item_total: number;
|
|
1266
|
-
size: number;
|
|
1267
|
-
type: string;
|
|
1268
|
-
};
|
|
1269
|
-
/** @returns {EntityRegionView_Request} */
|
|
1270
|
-
declare function EntityRegionView_Request(): EntityRegionView_Request;
|
|
1271
|
-
type EntityRegionView_Request = {
|
|
1272
|
-
parent_id?: string[];
|
|
1273
|
-
sub_type: string[];
|
|
870
|
+
/** @returns {ZoneRequest} */
|
|
871
|
+
declare function ZoneRequest(): ZoneRequest;
|
|
872
|
+
type ZoneRequest = {
|
|
873
|
+
identifier: string;
|
|
874
|
+
data: CreateZoneData;
|
|
1274
875
|
};
|
|
1275
|
-
/** @returns {
|
|
1276
|
-
declare function
|
|
1277
|
-
type
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
page: EntityRegionView_page;
|
|
876
|
+
/** @returns {ZoneResponse} */
|
|
877
|
+
declare function ZoneResponse(): ZoneResponse;
|
|
878
|
+
type ZoneResponse = {
|
|
879
|
+
status_code: number;
|
|
880
|
+
zone_id: string;
|
|
1281
881
|
success: boolean;
|
|
1282
882
|
};
|
|
1283
|
-
/** @returns {
|
|
1284
|
-
declare function
|
|
1285
|
-
type
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
value?: string;
|
|
883
|
+
/** @returns {GetZoneFromPincodeViewRequest} */
|
|
884
|
+
declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
|
|
885
|
+
type GetZoneFromPincodeViewRequest = {
|
|
886
|
+
country: string;
|
|
887
|
+
pincode: string;
|
|
1289
888
|
};
|
|
1290
|
-
/** @returns {
|
|
1291
|
-
declare function
|
|
1292
|
-
type
|
|
1293
|
-
|
|
889
|
+
/** @returns {Zone} */
|
|
890
|
+
declare function Zone(): Zone;
|
|
891
|
+
type Zone = {
|
|
892
|
+
zone_id: string;
|
|
1294
893
|
type: string;
|
|
1295
|
-
value: string;
|
|
1296
|
-
};
|
|
1297
|
-
/** @returns {EwayBillResponse} */
|
|
1298
|
-
declare function EwayBillResponse(): EwayBillResponse;
|
|
1299
|
-
type EwayBillResponse = {
|
|
1300
|
-
enabled?: boolean;
|
|
1301
|
-
};
|
|
1302
|
-
/** @returns {FailureResponse} */
|
|
1303
|
-
declare function FailureResponse(): FailureResponse;
|
|
1304
|
-
type FailureResponse = {
|
|
1305
|
-
error: ErrorResponse[];
|
|
1306
|
-
success: boolean;
|
|
1307
|
-
};
|
|
1308
|
-
/** @returns {getAppRegionZonesResponse} */
|
|
1309
|
-
declare function getAppRegionZonesResponse(): getAppRegionZonesResponse;
|
|
1310
|
-
type getAppRegionZonesResponse = {
|
|
1311
|
-
items: ListViewItems[];
|
|
1312
|
-
page: PageSchema[];
|
|
1313
|
-
};
|
|
1314
|
-
/** @returns {GetSingleZoneDataViewResponse} */
|
|
1315
|
-
declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
|
|
1316
|
-
type GetSingleZoneDataViewResponse = {
|
|
1317
|
-
data: GetZoneDataViewItems;
|
|
1318
|
-
};
|
|
1319
|
-
/** @returns {GetStoreRulesApiResponse} */
|
|
1320
|
-
declare function GetStoreRulesApiResponse(): GetStoreRulesApiResponse;
|
|
1321
|
-
type GetStoreRulesApiResponse = {
|
|
1322
|
-
items?: StoreRuleDataSchema[];
|
|
1323
|
-
page?: Page;
|
|
1324
|
-
};
|
|
1325
|
-
/** @returns {GetStoresViewResponse} */
|
|
1326
|
-
declare function GetStoresViewResponse(): GetStoresViewResponse;
|
|
1327
|
-
type GetStoresViewResponse = {
|
|
1328
|
-
items?: ItemResponse[];
|
|
1329
|
-
page: ServiceabilityPageResponse;
|
|
1330
|
-
};
|
|
1331
|
-
/** @returns {GetZoneByIdSchema} */
|
|
1332
|
-
declare function GetZoneByIdSchema(): GetZoneByIdSchema;
|
|
1333
|
-
type GetZoneByIdSchema = {
|
|
1334
|
-
assignment_preference?: string;
|
|
1335
|
-
channels: GetZoneDataViewChannels[];
|
|
1336
|
-
company_id?: number;
|
|
1337
|
-
is_active: boolean;
|
|
1338
|
-
mapping: ZoneMappingType[];
|
|
1339
894
|
name: string;
|
|
1340
|
-
|
|
1341
|
-
region_type: string;
|
|
895
|
+
tags: string[];
|
|
1342
896
|
slug: string;
|
|
1343
|
-
store_ids: number[];
|
|
1344
|
-
stores_count: number;
|
|
1345
|
-
zone_id: string;
|
|
1346
|
-
};
|
|
1347
|
-
/** @returns {GetZoneDataViewChannels} */
|
|
1348
|
-
declare function GetZoneDataViewChannels(): GetZoneDataViewChannels;
|
|
1349
|
-
type GetZoneDataViewChannels = {
|
|
1350
|
-
channel_id: string;
|
|
1351
|
-
channel_type: string;
|
|
1352
|
-
};
|
|
1353
|
-
/** @returns {GetZoneDataViewItems} */
|
|
1354
|
-
declare function GetZoneDataViewItems(): GetZoneDataViewItems;
|
|
1355
|
-
type GetZoneDataViewItems = {
|
|
1356
|
-
assignment_preference?: string;
|
|
1357
|
-
channels: GetZoneDataViewChannels[];
|
|
1358
|
-
company_id?: number;
|
|
1359
897
|
is_active: boolean;
|
|
1360
|
-
mapping: ZoneMappingType[];
|
|
1361
|
-
name: string;
|
|
1362
|
-
product: ZoneProductTypes;
|
|
1363
|
-
region_type?: string;
|
|
1364
|
-
slug: string;
|
|
1365
898
|
store_ids: number[];
|
|
1366
|
-
|
|
1367
|
-
|
|
899
|
+
assignment_preference: string;
|
|
900
|
+
};
|
|
901
|
+
/** @returns {GetZoneFromPincodeViewResponse} */
|
|
902
|
+
declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
|
|
903
|
+
type GetZoneFromPincodeViewResponse = {
|
|
904
|
+
serviceability_type: string;
|
|
905
|
+
zones: Zone[];
|
|
1368
906
|
};
|
|
1369
907
|
/** @returns {GetZoneFromApplicationIdViewResponse} */
|
|
1370
908
|
declare function GetZoneFromApplicationIdViewResponse(): GetZoneFromApplicationIdViewResponse;
|
|
1371
909
|
type GetZoneFromApplicationIdViewResponse = {
|
|
1372
|
-
items: ListViewItems[];
|
|
1373
910
|
page: ZoneDataItem[];
|
|
911
|
+
items: ListViewItems[];
|
|
1374
912
|
};
|
|
1375
|
-
/** @returns {
|
|
1376
|
-
declare function
|
|
1377
|
-
type
|
|
1378
|
-
|
|
1379
|
-
|
|
913
|
+
/** @returns {ServiceabilityPageResponse} */
|
|
914
|
+
declare function ServiceabilityPageResponse(): ServiceabilityPageResponse;
|
|
915
|
+
type ServiceabilityPageResponse = {
|
|
916
|
+
type?: string;
|
|
917
|
+
has_next?: boolean;
|
|
918
|
+
item_total?: number;
|
|
919
|
+
size?: number;
|
|
920
|
+
current?: number;
|
|
1380
921
|
};
|
|
1381
|
-
/** @returns {
|
|
1382
|
-
declare function
|
|
1383
|
-
type
|
|
1384
|
-
|
|
1385
|
-
|
|
922
|
+
/** @returns {MobileNo} */
|
|
923
|
+
declare function MobileNo(): MobileNo;
|
|
924
|
+
type MobileNo = {
|
|
925
|
+
number?: string;
|
|
926
|
+
country_code?: number;
|
|
1386
927
|
};
|
|
1387
|
-
/** @returns {
|
|
1388
|
-
declare function
|
|
1389
|
-
type
|
|
1390
|
-
|
|
1391
|
-
|
|
928
|
+
/** @returns {ManagerResponse} */
|
|
929
|
+
declare function ManagerResponse(): ManagerResponse;
|
|
930
|
+
type ManagerResponse = {
|
|
931
|
+
email?: string;
|
|
932
|
+
mobile_no?: MobileNo;
|
|
933
|
+
name?: string;
|
|
1392
934
|
};
|
|
1393
|
-
/** @returns {
|
|
1394
|
-
declare function
|
|
1395
|
-
type
|
|
1396
|
-
|
|
935
|
+
/** @returns {ModifiedByResponse} */
|
|
936
|
+
declare function ModifiedByResponse(): ModifiedByResponse;
|
|
937
|
+
type ModifiedByResponse = {
|
|
938
|
+
username?: string;
|
|
939
|
+
user_id?: string;
|
|
1397
940
|
};
|
|
1398
941
|
/** @returns {IntegrationTypeResponse} */
|
|
1399
942
|
declare function IntegrationTypeResponse(): IntegrationTypeResponse;
|
|
@@ -1401,249 +944,205 @@ type IntegrationTypeResponse = {
|
|
|
1401
944
|
inventory?: string;
|
|
1402
945
|
order?: string;
|
|
1403
946
|
};
|
|
1404
|
-
/** @returns {
|
|
1405
|
-
declare function
|
|
1406
|
-
type
|
|
1407
|
-
|
|
1408
|
-
_custom_json?: any;
|
|
1409
|
-
address?: AddressResponse;
|
|
1410
|
-
code?: string;
|
|
1411
|
-
company?: number;
|
|
1412
|
-
company_id?: number;
|
|
1413
|
-
contact_numbers?: ContactNumberResponse[];
|
|
1414
|
-
created_by?: CreatedByResponse;
|
|
1415
|
-
created_on?: string;
|
|
1416
|
-
display_name?: string;
|
|
1417
|
-
documents?: DocumentsResponse[];
|
|
1418
|
-
gst_credentials?: GstCredentialsResponse;
|
|
1419
|
-
integration_type?: IntegrationTypeResponse;
|
|
1420
|
-
logistics?: LogisticsResponse;
|
|
1421
|
-
manager?: ManagerResponse;
|
|
1422
|
-
modified_by?: ModifiedByResponse;
|
|
1423
|
-
modified_on?: string;
|
|
1424
|
-
name?: string;
|
|
1425
|
-
notification_emails?: string[];
|
|
1426
|
-
product_return_config?: ProductReturnConfigResponse;
|
|
1427
|
-
stage?: string;
|
|
1428
|
-
store_type?: string;
|
|
1429
|
-
sub_type?: string;
|
|
1430
|
-
timing?: TimmingResponse[];
|
|
1431
|
-
uid?: number;
|
|
1432
|
-
verified_by?: ModifiedByResponse;
|
|
1433
|
-
verified_on?: string;
|
|
1434
|
-
warnings?: WarningsResponse;
|
|
947
|
+
/** @returns {ProductReturnConfigResponse} */
|
|
948
|
+
declare function ProductReturnConfigResponse(): ProductReturnConfigResponse;
|
|
949
|
+
type ProductReturnConfigResponse = {
|
|
950
|
+
on_same_store?: boolean;
|
|
1435
951
|
};
|
|
1436
|
-
/** @returns {
|
|
1437
|
-
declare function
|
|
1438
|
-
type
|
|
1439
|
-
|
|
1440
|
-
|
|
952
|
+
/** @returns {ContactNumberResponse} */
|
|
953
|
+
declare function ContactNumberResponse(): ContactNumberResponse;
|
|
954
|
+
type ContactNumberResponse = {
|
|
955
|
+
number?: string;
|
|
956
|
+
country_code?: number;
|
|
1441
957
|
};
|
|
1442
|
-
/** @returns {
|
|
1443
|
-
declare function
|
|
1444
|
-
type
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
958
|
+
/** @returns {AddressResponse} */
|
|
959
|
+
declare function AddressResponse(): AddressResponse;
|
|
960
|
+
type AddressResponse = {
|
|
961
|
+
city?: string;
|
|
962
|
+
address1?: string;
|
|
963
|
+
pincode?: number;
|
|
964
|
+
address2?: string;
|
|
965
|
+
landmark?: string;
|
|
966
|
+
state?: string;
|
|
967
|
+
country?: string;
|
|
968
|
+
latitude?: number;
|
|
969
|
+
longitude?: number;
|
|
1454
970
|
};
|
|
1455
|
-
/** @returns {
|
|
1456
|
-
declare function
|
|
1457
|
-
type
|
|
1458
|
-
|
|
1459
|
-
|
|
971
|
+
/** @returns {CreatedByResponse} */
|
|
972
|
+
declare function CreatedByResponse(): CreatedByResponse;
|
|
973
|
+
type CreatedByResponse = {
|
|
974
|
+
username?: string;
|
|
975
|
+
user_id?: string;
|
|
1460
976
|
};
|
|
1461
|
-
/** @returns {
|
|
1462
|
-
declare function
|
|
1463
|
-
type
|
|
1464
|
-
|
|
1465
|
-
page: ZoneDataItem[];
|
|
977
|
+
/** @returns {EwayBillResponse} */
|
|
978
|
+
declare function EwayBillResponse(): EwayBillResponse;
|
|
979
|
+
type EwayBillResponse = {
|
|
980
|
+
enabled?: boolean;
|
|
1466
981
|
};
|
|
1467
|
-
/** @returns {
|
|
1468
|
-
declare function
|
|
1469
|
-
type
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
982
|
+
/** @returns {EinvoiceResponse} */
|
|
983
|
+
declare function EinvoiceResponse(): EinvoiceResponse;
|
|
984
|
+
type EinvoiceResponse = {
|
|
985
|
+
enabled?: boolean;
|
|
986
|
+
};
|
|
987
|
+
/** @returns {GstCredentialsResponse} */
|
|
988
|
+
declare function GstCredentialsResponse(): GstCredentialsResponse;
|
|
989
|
+
type GstCredentialsResponse = {
|
|
990
|
+
e_waybill?: EwayBillResponse;
|
|
991
|
+
e_invoice?: EinvoiceResponse;
|
|
1473
992
|
};
|
|
1474
|
-
/** @returns {
|
|
1475
|
-
declare function
|
|
1476
|
-
type
|
|
1477
|
-
|
|
993
|
+
/** @returns {WarningsResponse} */
|
|
994
|
+
declare function WarningsResponse(): WarningsResponse;
|
|
995
|
+
type WarningsResponse = {
|
|
996
|
+
store_address?: string;
|
|
997
|
+
};
|
|
998
|
+
/** @returns {OpeningClosing} */
|
|
999
|
+
declare function OpeningClosing(): OpeningClosing;
|
|
1000
|
+
type OpeningClosing = {
|
|
1001
|
+
minute?: number;
|
|
1002
|
+
hour?: number;
|
|
1003
|
+
};
|
|
1004
|
+
/** @returns {TimmingResponse} */
|
|
1005
|
+
declare function TimmingResponse(): TimmingResponse;
|
|
1006
|
+
type TimmingResponse = {
|
|
1007
|
+
open?: boolean;
|
|
1008
|
+
weekday?: string;
|
|
1009
|
+
closing?: OpeningClosing;
|
|
1010
|
+
opening?: OpeningClosing;
|
|
1011
|
+
};
|
|
1012
|
+
/** @returns {DocumentsResponse} */
|
|
1013
|
+
declare function DocumentsResponse(): DocumentsResponse;
|
|
1014
|
+
type DocumentsResponse = {
|
|
1015
|
+
legal_name?: string;
|
|
1016
|
+
value?: string;
|
|
1478
1017
|
type?: string;
|
|
1018
|
+
verified?: boolean;
|
|
1479
1019
|
};
|
|
1480
|
-
/** @returns {
|
|
1481
|
-
declare function
|
|
1482
|
-
type
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1020
|
+
/** @returns {Dp} */
|
|
1021
|
+
declare function Dp(): Dp;
|
|
1022
|
+
type Dp = {
|
|
1023
|
+
fm_priority?: number;
|
|
1024
|
+
rvp_priority?: number;
|
|
1025
|
+
lm_priority?: number;
|
|
1026
|
+
internal_account_id?: string;
|
|
1027
|
+
area_code?: number;
|
|
1028
|
+
payment_mode?: string;
|
|
1029
|
+
operations?: string[];
|
|
1030
|
+
external_account_id?: string;
|
|
1031
|
+
transport_mode?: string;
|
|
1032
|
+
assign_dp_from_sb?: boolean;
|
|
1489
1033
|
};
|
|
1490
1034
|
/** @returns {LogisticsResponse} */
|
|
1491
1035
|
declare function LogisticsResponse(): LogisticsResponse;
|
|
1492
1036
|
type LogisticsResponse = {
|
|
1493
|
-
dp?: Dp;
|
|
1494
1037
|
override?: boolean;
|
|
1038
|
+
dp?: Dp;
|
|
1495
1039
|
};
|
|
1496
|
-
/** @returns {
|
|
1497
|
-
declare function
|
|
1498
|
-
type
|
|
1499
|
-
|
|
1500
|
-
|
|
1040
|
+
/** @returns {ItemResponse} */
|
|
1041
|
+
declare function ItemResponse(): ItemResponse;
|
|
1042
|
+
type ItemResponse = {
|
|
1043
|
+
created_on?: string;
|
|
1044
|
+
manager?: ManagerResponse;
|
|
1045
|
+
modified_by?: ModifiedByResponse;
|
|
1046
|
+
integration_type?: IntegrationTypeResponse;
|
|
1047
|
+
verified_on?: string;
|
|
1048
|
+
product_return_config?: ProductReturnConfigResponse;
|
|
1049
|
+
contact_numbers?: ContactNumberResponse[];
|
|
1050
|
+
verified_by?: ModifiedByResponse;
|
|
1051
|
+
stage?: string;
|
|
1052
|
+
address?: AddressResponse;
|
|
1053
|
+
modified_on?: string;
|
|
1054
|
+
created_by?: CreatedByResponse;
|
|
1055
|
+
gst_credentials?: GstCredentialsResponse;
|
|
1056
|
+
display_name?: string;
|
|
1057
|
+
company_id?: number;
|
|
1058
|
+
uid?: number;
|
|
1059
|
+
_custom_json?: any;
|
|
1060
|
+
code?: string;
|
|
1061
|
+
warnings?: WarningsResponse;
|
|
1501
1062
|
name?: string;
|
|
1063
|
+
timing?: TimmingResponse[];
|
|
1064
|
+
documents?: DocumentsResponse[];
|
|
1065
|
+
store_type?: string;
|
|
1066
|
+
sub_type?: string;
|
|
1067
|
+
company?: number;
|
|
1068
|
+
_cls?: string;
|
|
1069
|
+
logistics?: LogisticsResponse;
|
|
1070
|
+
notification_emails?: string[];
|
|
1502
1071
|
};
|
|
1503
|
-
/** @returns {
|
|
1504
|
-
declare function
|
|
1505
|
-
type
|
|
1506
|
-
|
|
1507
|
-
|
|
1072
|
+
/** @returns {GetStoresViewResponse} */
|
|
1073
|
+
declare function GetStoresViewResponse(): GetStoresViewResponse;
|
|
1074
|
+
type GetStoresViewResponse = {
|
|
1075
|
+
page: ServiceabilityPageResponse;
|
|
1076
|
+
items?: ItemResponse[];
|
|
1508
1077
|
};
|
|
1509
|
-
/** @returns {
|
|
1510
|
-
declare function
|
|
1511
|
-
type
|
|
1512
|
-
|
|
1513
|
-
|
|
1078
|
+
/** @returns {ReAssignStoreRequest} */
|
|
1079
|
+
declare function ReAssignStoreRequest(): ReAssignStoreRequest;
|
|
1080
|
+
type ReAssignStoreRequest = {
|
|
1081
|
+
to_pincode: string;
|
|
1082
|
+
identifier: string;
|
|
1083
|
+
configuration: any;
|
|
1084
|
+
ignored_locations: string[];
|
|
1085
|
+
articles: any[];
|
|
1514
1086
|
};
|
|
1515
|
-
/** @returns {
|
|
1516
|
-
declare function
|
|
1517
|
-
type
|
|
1518
|
-
|
|
1519
|
-
|
|
1087
|
+
/** @returns {ReAssignStoreResponse} */
|
|
1088
|
+
declare function ReAssignStoreResponse(): ReAssignStoreResponse;
|
|
1089
|
+
type ReAssignStoreResponse = {
|
|
1090
|
+
to_pincode: string;
|
|
1091
|
+
success: boolean;
|
|
1092
|
+
error: any;
|
|
1093
|
+
articles?: any[];
|
|
1520
1094
|
};
|
|
1521
|
-
/** @returns {
|
|
1522
|
-
declare function
|
|
1523
|
-
type
|
|
1524
|
-
|
|
1525
|
-
channels: Channel[];
|
|
1526
|
-
error_rate: number;
|
|
1527
|
-
height: number;
|
|
1528
|
-
length: number;
|
|
1529
|
-
max_weight?: number;
|
|
1530
|
-
media?: string[];
|
|
1531
|
-
name: string;
|
|
1532
|
-
package_type: string;
|
|
1533
|
-
package_vol_weight?: number;
|
|
1534
|
-
rules?: PackageMaterialRule[];
|
|
1535
|
-
size: string;
|
|
1536
|
-
status: string;
|
|
1537
|
-
store_ids: number[];
|
|
1538
|
-
track_inventory?: boolean;
|
|
1539
|
-
weight: number;
|
|
1540
|
-
width: number;
|
|
1541
|
-
};
|
|
1542
|
-
/** @returns {PackageMaterialList} */
|
|
1543
|
-
declare function PackageMaterialList(): PackageMaterialList;
|
|
1544
|
-
type PackageMaterialList = {
|
|
1545
|
-
items?: PackageMaterialResponse;
|
|
1546
|
-
page?: Page;
|
|
1547
|
-
};
|
|
1548
|
-
/** @returns {PackageMaterialResponse} */
|
|
1549
|
-
declare function PackageMaterialResponse(): PackageMaterialResponse;
|
|
1550
|
-
type PackageMaterialResponse = {
|
|
1551
|
-
auto_calculate?: boolean;
|
|
1552
|
-
channels: Channel[];
|
|
1553
|
-
error_rate: number;
|
|
1554
|
-
height: number;
|
|
1555
|
-
id?: string;
|
|
1556
|
-
item_id?: number;
|
|
1557
|
-
length: number;
|
|
1558
|
-
max_weight?: number;
|
|
1559
|
-
media?: string[];
|
|
1560
|
-
name: string;
|
|
1561
|
-
package_type: string;
|
|
1562
|
-
package_vol_weight?: number;
|
|
1563
|
-
rules?: PackageMaterialRule[];
|
|
1564
|
-
size: string;
|
|
1565
|
-
status: string;
|
|
1566
|
-
store_ids: number[];
|
|
1567
|
-
track_inventory?: boolean;
|
|
1568
|
-
weight: number;
|
|
1569
|
-
width: number;
|
|
1570
|
-
};
|
|
1571
|
-
/** @returns {PackageMaterialRule} */
|
|
1572
|
-
declare function PackageMaterialRule(): PackageMaterialRule;
|
|
1573
|
-
type PackageMaterialRule = {
|
|
1574
|
-
quantity?: PackageMaterialRuleQuantity;
|
|
1575
|
-
rule_id?: string;
|
|
1576
|
-
weight?: number;
|
|
1577
|
-
};
|
|
1578
|
-
/** @returns {PackageMaterialRuleList} */
|
|
1579
|
-
declare function PackageMaterialRuleList(): PackageMaterialRuleList;
|
|
1580
|
-
type PackageMaterialRuleList = {
|
|
1581
|
-
items?: PackageRuleResponse;
|
|
1582
|
-
page?: Page;
|
|
1583
|
-
};
|
|
1584
|
-
/** @returns {PackageMaterialRuleQuantity} */
|
|
1585
|
-
declare function PackageMaterialRuleQuantity(): PackageMaterialRuleQuantity;
|
|
1586
|
-
type PackageMaterialRuleQuantity = {
|
|
1587
|
-
max?: number;
|
|
1588
|
-
min?: number;
|
|
1589
|
-
};
|
|
1590
|
-
/** @returns {PackageRule} */
|
|
1591
|
-
declare function PackageRule(): PackageRule;
|
|
1592
|
-
type PackageRule = {
|
|
1593
|
-
category_id?: PackageRuleCategory;
|
|
1095
|
+
/** @returns {ApplicationCompanyDpViewResponse} */
|
|
1096
|
+
declare function ApplicationCompanyDpViewResponse(): ApplicationCompanyDpViewResponse;
|
|
1097
|
+
type ApplicationCompanyDpViewResponse = {
|
|
1098
|
+
courier_partner_id?: number;
|
|
1594
1099
|
company_id: number;
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
product_id?: PackageRuleProduct;
|
|
1598
|
-
product_tag?: PackageRuleProductTag;
|
|
1599
|
-
type: string;
|
|
1100
|
+
application_id: string;
|
|
1101
|
+
success: boolean;
|
|
1600
1102
|
};
|
|
1601
|
-
/** @returns {
|
|
1602
|
-
declare function
|
|
1603
|
-
type
|
|
1604
|
-
|
|
1605
|
-
};
|
|
1606
|
-
/** @returns {PackageRuleProduct} */
|
|
1607
|
-
declare function PackageRuleProduct(): PackageRuleProduct;
|
|
1608
|
-
type PackageRuleProduct = {
|
|
1609
|
-
includes?: number[];
|
|
1610
|
-
};
|
|
1611
|
-
/** @returns {PackageRuleProductTag} */
|
|
1612
|
-
declare function PackageRuleProductTag(): PackageRuleProductTag;
|
|
1613
|
-
type PackageRuleProductTag = {
|
|
1614
|
-
includes?: string[];
|
|
1615
|
-
};
|
|
1616
|
-
/** @returns {PackageRuleResponse} */
|
|
1617
|
-
declare function PackageRuleResponse(): PackageRuleResponse;
|
|
1618
|
-
type PackageRuleResponse = {
|
|
1619
|
-
category_id?: PackageRuleCategory;
|
|
1620
|
-
company_id: number;
|
|
1621
|
-
id?: string;
|
|
1622
|
-
is_active?: boolean;
|
|
1623
|
-
name: string;
|
|
1624
|
-
product_id?: PackageRuleProduct;
|
|
1625
|
-
product_tag?: PackageRuleProductTag;
|
|
1626
|
-
type: string;
|
|
1103
|
+
/** @returns {ApplicationCompanyDpViewRequest} */
|
|
1104
|
+
declare function ApplicationCompanyDpViewRequest(): ApplicationCompanyDpViewRequest;
|
|
1105
|
+
type ApplicationCompanyDpViewRequest = {
|
|
1106
|
+
dp_id?: string;
|
|
1627
1107
|
};
|
|
1628
|
-
/** @returns {
|
|
1629
|
-
declare function
|
|
1630
|
-
type
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
item_total?: number;
|
|
1635
|
-
next_id?: string;
|
|
1636
|
-
size?: number;
|
|
1637
|
-
type: string;
|
|
1108
|
+
/** @returns {PincodeMopData} */
|
|
1109
|
+
declare function PincodeMopData(): PincodeMopData;
|
|
1110
|
+
type PincodeMopData = {
|
|
1111
|
+
pincodes: number[];
|
|
1112
|
+
country: string;
|
|
1113
|
+
action: string;
|
|
1638
1114
|
};
|
|
1639
|
-
/** @returns {
|
|
1640
|
-
declare function
|
|
1641
|
-
type
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1115
|
+
/** @returns {PincodeMopUpdateResponse} */
|
|
1116
|
+
declare function PincodeMopUpdateResponse(): PincodeMopUpdateResponse;
|
|
1117
|
+
type PincodeMopUpdateResponse = {
|
|
1118
|
+
pincode: number;
|
|
1119
|
+
channel_id: string;
|
|
1120
|
+
country: string;
|
|
1121
|
+
is_active: boolean;
|
|
1122
|
+
};
|
|
1123
|
+
/** @returns {PincodeMOPresponse} */
|
|
1124
|
+
declare function PincodeMOPresponse(): PincodeMOPresponse;
|
|
1125
|
+
type PincodeMOPresponse = {
|
|
1126
|
+
success: boolean;
|
|
1127
|
+
status_code: number;
|
|
1128
|
+
batch_id: string;
|
|
1129
|
+
country: string;
|
|
1130
|
+
action: string;
|
|
1131
|
+
pincodes?: number[];
|
|
1132
|
+
updated_pincodes?: PincodeMopUpdateResponse[];
|
|
1133
|
+
};
|
|
1134
|
+
/** @returns {CommonError} */
|
|
1135
|
+
declare function CommonError(): CommonError;
|
|
1136
|
+
type CommonError = {
|
|
1137
|
+
status_code?: string;
|
|
1138
|
+
error?: any;
|
|
1139
|
+
success?: string;
|
|
1140
|
+
};
|
|
1141
|
+
/** @returns {PincodeMopBulkData} */
|
|
1142
|
+
declare function PincodeMopBulkData(): PincodeMopBulkData;
|
|
1143
|
+
type PincodeMopBulkData = {
|
|
1144
|
+
batch_id: string;
|
|
1145
|
+
s3_url: string;
|
|
1647
1146
|
};
|
|
1648
1147
|
/** @returns {PincodeBulkViewResponse} */
|
|
1649
1148
|
declare function PincodeBulkViewResponse(): PincodeBulkViewResponse;
|
|
@@ -1651,78 +1150,61 @@ type PincodeBulkViewResponse = {
|
|
|
1651
1150
|
batch_id: string;
|
|
1652
1151
|
s3_url: string;
|
|
1653
1152
|
};
|
|
1654
|
-
/** @returns {PincodeCodStatusListingPage} */
|
|
1655
|
-
declare function PincodeCodStatusListingPage(): PincodeCodStatusListingPage;
|
|
1656
|
-
type PincodeCodStatusListingPage = {
|
|
1657
|
-
current: number;
|
|
1658
|
-
has_next: boolean;
|
|
1659
|
-
item_total: number;
|
|
1660
|
-
size: number;
|
|
1661
|
-
type: string;
|
|
1662
|
-
};
|
|
1663
1153
|
/** @returns {PincodeCodStatusListingRequest} */
|
|
1664
1154
|
declare function PincodeCodStatusListingRequest(): PincodeCodStatusListingRequest;
|
|
1665
1155
|
type PincodeCodStatusListingRequest = {
|
|
1666
1156
|
country?: string;
|
|
1667
|
-
current?: number;
|
|
1668
1157
|
is_active?: boolean;
|
|
1669
|
-
page_size?: number;
|
|
1670
1158
|
pincode?: number;
|
|
1159
|
+
current?: number;
|
|
1160
|
+
page_size?: number;
|
|
1671
1161
|
};
|
|
1672
1162
|
/** @returns {PincodeCodStatusListingResponse} */
|
|
1673
1163
|
declare function PincodeCodStatusListingResponse(): PincodeCodStatusListingResponse;
|
|
1674
1164
|
type PincodeCodStatusListingResponse = {
|
|
1675
1165
|
country: string;
|
|
1676
1166
|
data: PincodeCodStatusListingResponse[];
|
|
1167
|
+
success: boolean;
|
|
1677
1168
|
errors?: Error[];
|
|
1678
1169
|
page: PincodeCodStatusListingPage;
|
|
1679
|
-
success: boolean;
|
|
1680
1170
|
summary: PincodeCodStatusListingSummary;
|
|
1681
1171
|
};
|
|
1172
|
+
/** @returns {Error} */
|
|
1173
|
+
declare function Error(): Error;
|
|
1174
|
+
type Error = {
|
|
1175
|
+
type?: string;
|
|
1176
|
+
value?: string;
|
|
1177
|
+
message?: string;
|
|
1178
|
+
};
|
|
1179
|
+
/** @returns {PincodeCodStatusListingPage} */
|
|
1180
|
+
declare function PincodeCodStatusListingPage(): PincodeCodStatusListingPage;
|
|
1181
|
+
type PincodeCodStatusListingPage = {
|
|
1182
|
+
type: string;
|
|
1183
|
+
has_next: boolean;
|
|
1184
|
+
item_total: number;
|
|
1185
|
+
size: number;
|
|
1186
|
+
current: number;
|
|
1187
|
+
};
|
|
1682
1188
|
/** @returns {PincodeCodStatusListingSummary} */
|
|
1683
1189
|
declare function PincodeCodStatusListingSummary(): PincodeCodStatusListingSummary;
|
|
1684
1190
|
type PincodeCodStatusListingSummary = {
|
|
1685
1191
|
total_active_pincodes: number;
|
|
1686
1192
|
total_inactive_pincodes: number;
|
|
1687
1193
|
};
|
|
1688
|
-
/** @returns {
|
|
1689
|
-
declare function
|
|
1690
|
-
type
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
};
|
|
1694
|
-
/** @returns {PincodeMopData} */
|
|
1695
|
-
declare function PincodeMopData(): PincodeMopData;
|
|
1696
|
-
type PincodeMopData = {
|
|
1697
|
-
action: string;
|
|
1698
|
-
country: string;
|
|
1699
|
-
pincodes: number[];
|
|
1700
|
-
};
|
|
1701
|
-
/** @returns {PincodeMOPresponse} */
|
|
1702
|
-
declare function PincodeMOPresponse(): PincodeMOPresponse;
|
|
1703
|
-
type PincodeMOPresponse = {
|
|
1704
|
-
action: string;
|
|
1705
|
-
batch_id: string;
|
|
1706
|
-
country: string;
|
|
1707
|
-
pincodes?: number[];
|
|
1708
|
-
status_code: number;
|
|
1709
|
-
success: boolean;
|
|
1710
|
-
updated_pincodes?: PincodeMopUpdateResponse[];
|
|
1194
|
+
/** @returns {PincodeMopUpdateAuditHistoryRequest} */
|
|
1195
|
+
declare function PincodeMopUpdateAuditHistoryRequest(): PincodeMopUpdateAuditHistoryRequest;
|
|
1196
|
+
type PincodeMopUpdateAuditHistoryRequest = {
|
|
1197
|
+
entity_type: string;
|
|
1198
|
+
file_name?: string;
|
|
1711
1199
|
};
|
|
1712
1200
|
/** @returns {PincodeMopUpdateAuditHistoryPaging} */
|
|
1713
1201
|
declare function PincodeMopUpdateAuditHistoryPaging(): PincodeMopUpdateAuditHistoryPaging;
|
|
1714
1202
|
type PincodeMopUpdateAuditHistoryPaging = {
|
|
1203
|
+
type?: string;
|
|
1204
|
+
size?: number;
|
|
1715
1205
|
current?: number;
|
|
1716
1206
|
has_next?: boolean;
|
|
1717
1207
|
item_total?: number;
|
|
1718
|
-
size?: number;
|
|
1719
|
-
type?: string;
|
|
1720
|
-
};
|
|
1721
|
-
/** @returns {PincodeMopUpdateAuditHistoryRequest} */
|
|
1722
|
-
declare function PincodeMopUpdateAuditHistoryRequest(): PincodeMopUpdateAuditHistoryRequest;
|
|
1723
|
-
type PincodeMopUpdateAuditHistoryRequest = {
|
|
1724
|
-
entity_type: string;
|
|
1725
|
-
file_name?: string;
|
|
1726
1208
|
};
|
|
1727
1209
|
/** @returns {PincodeMopUpdateAuditHistoryResponse} */
|
|
1728
1210
|
declare function PincodeMopUpdateAuditHistoryResponse(): PincodeMopUpdateAuditHistoryResponse;
|
|
@@ -1730,279 +1212,198 @@ type PincodeMopUpdateAuditHistoryResponse = {
|
|
|
1730
1212
|
batch_id?: string;
|
|
1731
1213
|
entity_type?: string;
|
|
1732
1214
|
error_file_s3_url?: string;
|
|
1733
|
-
file_name?: string;
|
|
1734
1215
|
s3_url?: string;
|
|
1735
|
-
|
|
1216
|
+
file_name?: string;
|
|
1736
1217
|
updated_at?: string;
|
|
1737
1218
|
updated_by?: string;
|
|
1219
|
+
success?: boolean;
|
|
1738
1220
|
};
|
|
1739
1221
|
/** @returns {PincodeMopUpdateAuditHistoryResponseData} */
|
|
1740
1222
|
declare function PincodeMopUpdateAuditHistoryResponseData(): PincodeMopUpdateAuditHistoryResponseData;
|
|
1741
1223
|
type PincodeMopUpdateAuditHistoryResponseData = {
|
|
1742
|
-
data: PincodeMopUpdateAuditHistoryResponse[];
|
|
1743
1224
|
entity_type?: string;
|
|
1744
1225
|
page: PincodeMopUpdateAuditHistoryPaging;
|
|
1226
|
+
data: PincodeMopUpdateAuditHistoryResponse[];
|
|
1745
1227
|
};
|
|
1746
|
-
/** @returns {
|
|
1747
|
-
declare function
|
|
1748
|
-
type
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
type ProductReturnConfigResponse = {
|
|
1757
|
-
on_same_store?: boolean;
|
|
1228
|
+
/** @returns {Dp1} */
|
|
1229
|
+
declare function Dp1(): Dp1;
|
|
1230
|
+
type Dp1 = {
|
|
1231
|
+
is_self_ship: boolean;
|
|
1232
|
+
name: string;
|
|
1233
|
+
plan_id: string;
|
|
1234
|
+
stage: string;
|
|
1235
|
+
account_id: string;
|
|
1236
|
+
dp_id: string;
|
|
1237
|
+
plan_rules: any;
|
|
1758
1238
|
};
|
|
1759
|
-
/** @returns {
|
|
1760
|
-
declare function
|
|
1761
|
-
type
|
|
1762
|
-
|
|
1763
|
-
configuration: any;
|
|
1764
|
-
identifier: string;
|
|
1765
|
-
ignored_locations: string[];
|
|
1766
|
-
to_pincode: string;
|
|
1239
|
+
/** @returns {CompanyDpAccountRequest} */
|
|
1240
|
+
declare function CompanyDpAccountRequest(): CompanyDpAccountRequest;
|
|
1241
|
+
type CompanyDpAccountRequest = {
|
|
1242
|
+
data: Dp1[];
|
|
1767
1243
|
};
|
|
1768
|
-
/** @returns {
|
|
1769
|
-
declare function
|
|
1770
|
-
type
|
|
1771
|
-
articles?: any[];
|
|
1772
|
-
error: any;
|
|
1244
|
+
/** @returns {CompanyDpAccountResponse} */
|
|
1245
|
+
declare function CompanyDpAccountResponse(): CompanyDpAccountResponse;
|
|
1246
|
+
type CompanyDpAccountResponse = {
|
|
1773
1247
|
success: boolean;
|
|
1774
|
-
to_pincode: string;
|
|
1775
|
-
};
|
|
1776
|
-
/** @returns {RulePriorityRequest} */
|
|
1777
|
-
declare function RulePriorityRequest(): RulePriorityRequest;
|
|
1778
|
-
type RulePriorityRequest = {
|
|
1779
|
-
priority: number;
|
|
1780
|
-
rule_id: string;
|
|
1781
|
-
};
|
|
1782
|
-
/** @returns {RulePriorityResponse} */
|
|
1783
|
-
declare function RulePriorityResponse(): RulePriorityResponse;
|
|
1784
|
-
type RulePriorityResponse = {
|
|
1785
|
-
success?: boolean;
|
|
1786
|
-
};
|
|
1787
|
-
/** @returns {SchemeRules} */
|
|
1788
|
-
declare function SchemeRules(): SchemeRules;
|
|
1789
|
-
type SchemeRules = {
|
|
1790
|
-
feature?: SchemeRulesFeatures;
|
|
1791
|
-
payment_mode?: string[];
|
|
1792
|
-
region?: string;
|
|
1793
|
-
transport_type?: string[];
|
|
1794
|
-
weight?: ArithmeticOperations;
|
|
1795
|
-
};
|
|
1796
|
-
/** @returns {SchemeRulesFeatures} */
|
|
1797
|
-
declare function SchemeRulesFeatures(): SchemeRulesFeatures;
|
|
1798
|
-
type SchemeRulesFeatures = {
|
|
1799
|
-
battery_operated?: boolean;
|
|
1800
|
-
e_waybill?: boolean;
|
|
1801
|
-
flammable?: boolean;
|
|
1802
|
-
hazmat?: boolean;
|
|
1803
|
-
multi_part_shipments?: boolean;
|
|
1804
|
-
quality_check?: boolean;
|
|
1805
|
-
quick_response_code?: boolean;
|
|
1806
1248
|
};
|
|
1807
|
-
/** @returns {
|
|
1808
|
-
declare function
|
|
1809
|
-
type
|
|
1810
|
-
is_active: boolean;
|
|
1811
|
-
tat: number;
|
|
1812
|
-
};
|
|
1813
|
-
/** @returns {ServiceabilityErrorResponse} */
|
|
1814
|
-
declare function ServiceabilityErrorResponse(): ServiceabilityErrorResponse;
|
|
1815
|
-
type ServiceabilityErrorResponse = {
|
|
1249
|
+
/** @returns {ErrorResponse} */
|
|
1250
|
+
declare function ErrorResponse(): ErrorResponse;
|
|
1251
|
+
type ErrorResponse = {
|
|
1816
1252
|
message: string;
|
|
1817
|
-
type: string;
|
|
1818
1253
|
value: string;
|
|
1254
|
+
type: string;
|
|
1819
1255
|
};
|
|
1820
|
-
/** @returns {
|
|
1821
|
-
declare function
|
|
1822
|
-
type
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
is_qc: boolean;
|
|
1827
|
-
is_return: boolean;
|
|
1828
|
-
lm_cod_limit: number;
|
|
1829
|
-
pickup_cutoff: string;
|
|
1830
|
-
route_code: string;
|
|
1256
|
+
/** @returns {DpAccountFailureResponse} */
|
|
1257
|
+
declare function DpAccountFailureResponse(): DpAccountFailureResponse;
|
|
1258
|
+
type DpAccountFailureResponse = {
|
|
1259
|
+
status_code: number;
|
|
1260
|
+
error: ErrorResponse[];
|
|
1261
|
+
success: boolean;
|
|
1831
1262
|
};
|
|
1832
|
-
/** @returns {
|
|
1833
|
-
declare function
|
|
1834
|
-
type
|
|
1835
|
-
current?: number;
|
|
1836
|
-
has_next?: boolean;
|
|
1263
|
+
/** @returns {Page} */
|
|
1264
|
+
declare function Page(): Page;
|
|
1265
|
+
type Page = {
|
|
1837
1266
|
item_total?: number;
|
|
1267
|
+
next_id?: string;
|
|
1268
|
+
has_previous?: boolean;
|
|
1269
|
+
has_next?: boolean;
|
|
1270
|
+
current?: number;
|
|
1271
|
+
type: string;
|
|
1838
1272
|
size?: number;
|
|
1839
|
-
type?: string;
|
|
1840
1273
|
};
|
|
1841
|
-
/** @returns {
|
|
1842
|
-
declare function
|
|
1843
|
-
type
|
|
1844
|
-
|
|
1845
|
-
|
|
1274
|
+
/** @returns {CompanyDpAccountListResponse} */
|
|
1275
|
+
declare function CompanyDpAccountListResponse(): CompanyDpAccountListResponse;
|
|
1276
|
+
type CompanyDpAccountListResponse = {
|
|
1277
|
+
success: boolean;
|
|
1278
|
+
page: Page;
|
|
1279
|
+
items: Dp1[];
|
|
1846
1280
|
};
|
|
1847
|
-
/** @returns {
|
|
1848
|
-
declare function
|
|
1849
|
-
type
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
order_place_date?: ArithmeticOperations;
|
|
1855
|
-
product_ids?: IntComparisonOperations;
|
|
1856
|
-
product_tags?: StringComparisonOperations;
|
|
1857
|
-
store_tags?: StringComparisonOperations;
|
|
1858
|
-
store_type?: StringComparisonOperations;
|
|
1859
|
-
to_location?: LocationRule;
|
|
1860
|
-
zone_ids?: StringComparisonOperations;
|
|
1861
|
-
};
|
|
1862
|
-
/** @returns {StoreRuleConfigData} */
|
|
1863
|
-
declare function StoreRuleConfigData(): StoreRuleConfigData;
|
|
1864
|
-
type StoreRuleConfigData = {
|
|
1865
|
-
rule_ids?: string[];
|
|
1866
|
-
sort?: string[];
|
|
1867
|
-
store_priority?: StorePrioritySchema[];
|
|
1868
|
-
tag_based_priority?: string[];
|
|
1869
|
-
type_based_priority?: string[];
|
|
1870
|
-
};
|
|
1871
|
-
/** @returns {StoreRuleDataSchema} */
|
|
1872
|
-
declare function StoreRuleDataSchema(): StoreRuleDataSchema;
|
|
1873
|
-
type StoreRuleDataSchema = {
|
|
1874
|
-
application_id?: string;
|
|
1875
|
-
company_id?: number;
|
|
1876
|
-
conditions?: StoreRuleConditionSchema;
|
|
1877
|
-
id?: string;
|
|
1878
|
-
is_active?: boolean;
|
|
1879
|
-
name?: string;
|
|
1880
|
-
sort?: string[];
|
|
1881
|
-
store_priority?: StorePrioritySchema[];
|
|
1882
|
-
tag_based_priority?: string[];
|
|
1883
|
-
type_based_priority?: string[];
|
|
1884
|
-
};
|
|
1885
|
-
/** @returns {StoreRuleResponseSchema} */
|
|
1886
|
-
declare function StoreRuleResponseSchema(): StoreRuleResponseSchema;
|
|
1887
|
-
type StoreRuleResponseSchema = {
|
|
1888
|
-
conditions?: StoreRuleConditionSchema;
|
|
1889
|
-
id?: string;
|
|
1890
|
-
is_active?: boolean;
|
|
1891
|
-
name?: string;
|
|
1892
|
-
sort?: string[];
|
|
1893
|
-
store_priority?: StorePrioritySchema[];
|
|
1894
|
-
tag_based_priority?: string[];
|
|
1895
|
-
type?: string;
|
|
1896
|
-
type_based_priority?: string[];
|
|
1281
|
+
/** @returns {DpRulesUpdateRequest} */
|
|
1282
|
+
declare function DpRulesUpdateRequest(): DpRulesUpdateRequest;
|
|
1283
|
+
type DpRulesUpdateRequest = {
|
|
1284
|
+
is_active: boolean;
|
|
1285
|
+
conditions: any[];
|
|
1286
|
+
dp_ids: any;
|
|
1287
|
+
name: string;
|
|
1897
1288
|
};
|
|
1898
|
-
/** @returns {
|
|
1899
|
-
declare function
|
|
1900
|
-
type
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1289
|
+
/** @returns {DpRuleResponse} */
|
|
1290
|
+
declare function DpRuleResponse(): DpRuleResponse;
|
|
1291
|
+
type DpRuleResponse = {
|
|
1292
|
+
created_on?: string;
|
|
1293
|
+
name: string;
|
|
1294
|
+
modified_by?: any;
|
|
1295
|
+
dp_ids: any;
|
|
1905
1296
|
is_active?: boolean;
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
type_based_priority?: string[];
|
|
1912
|
-
};
|
|
1913
|
-
/** @returns {StringComparisonOperations} */
|
|
1914
|
-
declare function StringComparisonOperations(): StringComparisonOperations;
|
|
1915
|
-
type StringComparisonOperations = {
|
|
1916
|
-
includes?: string[];
|
|
1297
|
+
modified_on?: string;
|
|
1298
|
+
uid: string;
|
|
1299
|
+
created_by?: any;
|
|
1300
|
+
company_id: number;
|
|
1301
|
+
conditions: string[];
|
|
1917
1302
|
};
|
|
1918
|
-
/** @returns {
|
|
1919
|
-
declare function
|
|
1920
|
-
type
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
weekday?: string;
|
|
1303
|
+
/** @returns {DpRuleUpdateSuccessResponse} */
|
|
1304
|
+
declare function DpRuleUpdateSuccessResponse(): DpRuleUpdateSuccessResponse;
|
|
1305
|
+
type DpRuleUpdateSuccessResponse = {
|
|
1306
|
+
status_code: number;
|
|
1307
|
+
data: DpRuleResponse;
|
|
1308
|
+
success: boolean;
|
|
1925
1309
|
};
|
|
1926
|
-
/** @returns {
|
|
1927
|
-
declare function
|
|
1928
|
-
type
|
|
1929
|
-
|
|
1310
|
+
/** @returns {FailureResponse} */
|
|
1311
|
+
declare function FailureResponse(): FailureResponse;
|
|
1312
|
+
type FailureResponse = {
|
|
1313
|
+
status_code: number;
|
|
1314
|
+
error: ErrorResponse[];
|
|
1315
|
+
success: boolean;
|
|
1930
1316
|
};
|
|
1931
|
-
/** @returns {
|
|
1932
|
-
declare function
|
|
1933
|
-
type
|
|
1934
|
-
|
|
1935
|
-
channels: GetZoneDataViewChannels[];
|
|
1936
|
-
company_id: number;
|
|
1937
|
-
is_active: boolean;
|
|
1938
|
-
mapping: ZoneMappingType[];
|
|
1317
|
+
/** @returns {DpSchemaInRuleListing} */
|
|
1318
|
+
declare function DpSchemaInRuleListing(): DpSchemaInRuleListing;
|
|
1319
|
+
type DpSchemaInRuleListing = {
|
|
1320
|
+
is_self_ship: boolean;
|
|
1939
1321
|
name: string;
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
/** @returns {WarningsResponse} */
|
|
1947
|
-
declare function WarningsResponse(): WarningsResponse;
|
|
1948
|
-
type WarningsResponse = {
|
|
1949
|
-
store_address?: string;
|
|
1322
|
+
plan_id: string;
|
|
1323
|
+
stage: string;
|
|
1324
|
+
account_id: string;
|
|
1325
|
+
priority: number;
|
|
1326
|
+
dp_id: string;
|
|
1327
|
+
plan_rules: any;
|
|
1950
1328
|
};
|
|
1951
|
-
/** @returns {
|
|
1952
|
-
declare function
|
|
1953
|
-
type
|
|
1954
|
-
assignment_preference: string;
|
|
1955
|
-
is_active: boolean;
|
|
1329
|
+
/** @returns {DpRule} */
|
|
1330
|
+
declare function DpRule(): DpRule;
|
|
1331
|
+
type DpRule = {
|
|
1956
1332
|
name: string;
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
zone_id: string;
|
|
1333
|
+
dp_ids: any;
|
|
1334
|
+
is_active?: boolean;
|
|
1335
|
+
company_id?: number;
|
|
1336
|
+
conditions: any[];
|
|
1962
1337
|
};
|
|
1963
|
-
/** @returns {
|
|
1964
|
-
declare function
|
|
1965
|
-
type
|
|
1966
|
-
|
|
1338
|
+
/** @returns {DpRuleSuccessResponse} */
|
|
1339
|
+
declare function DpRuleSuccessResponse(): DpRuleSuccessResponse;
|
|
1340
|
+
type DpRuleSuccessResponse = {
|
|
1341
|
+
status_code: number;
|
|
1342
|
+
data: DpRule;
|
|
1343
|
+
success: boolean;
|
|
1967
1344
|
};
|
|
1968
|
-
/** @returns {
|
|
1969
|
-
declare function
|
|
1970
|
-
type
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
size: number;
|
|
1975
|
-
type: string;
|
|
1345
|
+
/** @returns {DpIds} */
|
|
1346
|
+
declare function DpIds(): DpIds;
|
|
1347
|
+
type DpIds = {
|
|
1348
|
+
enabled: boolean;
|
|
1349
|
+
priority: number;
|
|
1350
|
+
meta?: any;
|
|
1976
1351
|
};
|
|
1977
|
-
/** @returns {
|
|
1978
|
-
declare function
|
|
1979
|
-
type
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1352
|
+
/** @returns {DpRuleRequest} */
|
|
1353
|
+
declare function DpRuleRequest(): DpRuleRequest;
|
|
1354
|
+
type DpRuleRequest = {
|
|
1355
|
+
name: string;
|
|
1356
|
+
dp_ids: any;
|
|
1357
|
+
is_active?: boolean;
|
|
1358
|
+
company_id?: number;
|
|
1359
|
+
conditions: any[];
|
|
1983
1360
|
};
|
|
1984
|
-
/** @returns {
|
|
1985
|
-
declare function
|
|
1986
|
-
type
|
|
1987
|
-
|
|
1988
|
-
|
|
1361
|
+
/** @returns {DpMultipleRuleSuccessResponse} */
|
|
1362
|
+
declare function DpMultipleRuleSuccessResponse(): DpMultipleRuleSuccessResponse;
|
|
1363
|
+
type DpMultipleRuleSuccessResponse = {
|
|
1364
|
+
success: boolean;
|
|
1365
|
+
page: Page;
|
|
1366
|
+
items: DpRule[];
|
|
1989
1367
|
};
|
|
1990
|
-
/** @returns {
|
|
1991
|
-
declare function
|
|
1992
|
-
type
|
|
1368
|
+
/** @returns {DPCompanyRuleRequest} */
|
|
1369
|
+
declare function DPCompanyRuleRequest(): DPCompanyRuleRequest;
|
|
1370
|
+
type DPCompanyRuleRequest = {
|
|
1371
|
+
rule_ids: string[];
|
|
1372
|
+
};
|
|
1373
|
+
/** @returns {DPCompanyRuleResponse} */
|
|
1374
|
+
declare function DPCompanyRuleResponse(): DPCompanyRuleResponse;
|
|
1375
|
+
type DPCompanyRuleResponse = {
|
|
1993
1376
|
status_code: number;
|
|
1377
|
+
data: DpRuleResponse[];
|
|
1994
1378
|
success: boolean;
|
|
1995
|
-
zone_id: string;
|
|
1996
1379
|
};
|
|
1997
|
-
/** @returns {
|
|
1998
|
-
declare function
|
|
1999
|
-
type
|
|
2000
|
-
|
|
1380
|
+
/** @returns {DPApplicationRuleRequest} */
|
|
1381
|
+
declare function DPApplicationRuleRequest(): DPApplicationRuleRequest;
|
|
1382
|
+
type DPApplicationRuleRequest = {
|
|
1383
|
+
shipping_rules: string[];
|
|
1384
|
+
};
|
|
1385
|
+
/** @returns {DPApplicationRuleResponse} */
|
|
1386
|
+
declare function DPApplicationRuleResponse(): DPApplicationRuleResponse;
|
|
1387
|
+
type DPApplicationRuleResponse = {
|
|
1388
|
+
status_code: boolean;
|
|
1389
|
+
data: DpRuleResponse[];
|
|
2001
1390
|
success: boolean;
|
|
2002
1391
|
};
|
|
2003
|
-
/** @returns {
|
|
2004
|
-
declare function
|
|
2005
|
-
type
|
|
2006
|
-
|
|
2007
|
-
|
|
1392
|
+
/** @returns {SelfShipResponse} */
|
|
1393
|
+
declare function SelfShipResponse(): SelfShipResponse;
|
|
1394
|
+
type SelfShipResponse = {
|
|
1395
|
+
is_active: boolean;
|
|
1396
|
+
tat: number;
|
|
1397
|
+
};
|
|
1398
|
+
/** @returns {ApplicationSelfShipConfig} */
|
|
1399
|
+
declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
|
|
1400
|
+
type ApplicationSelfShipConfig = {
|
|
1401
|
+
self_ship?: any;
|
|
1402
|
+
};
|
|
1403
|
+
/** @returns {ApplicationSelfShipConfigResponse} */
|
|
1404
|
+
declare function ApplicationSelfShipConfigResponse(): ApplicationSelfShipConfigResponse;
|
|
1405
|
+
type ApplicationSelfShipConfigResponse = {
|
|
1406
|
+
error?: ServiceabilityErrorResponse;
|
|
1407
|
+
data?: ApplicationSelfShipConfig;
|
|
1408
|
+
success: boolean;
|
|
2008
1409
|
};
|