@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.4

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