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