@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.3

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