@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.4.0-beta.1

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 (231) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  4. package/sdk/application/Cart/CartApplicationClient.js +5 -3
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
  6. package/sdk/application/Cart/CartApplicationModel.js +74 -0
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
  8. package/sdk/application/Cart/CartApplicationValidator.js +4 -0
  9. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
  11. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
  12. package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
  13. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
  14. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
  15. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
  16. package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
  17. package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
  18. package/sdk/application/Content/ContentApplicationClient.js +246 -0
  19. package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
  20. package/sdk/application/Content/ContentApplicationModel.js +252 -0
  21. package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
  22. package/sdk/application/Content/ContentApplicationValidator.js +41 -0
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
  26. package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
  27. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
  28. package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  30. package/sdk/application/Order/OrderApplicationClient.js +32 -8
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
  32. package/sdk/application/Order/OrderApplicationModel.js +6 -0
  33. package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
  34. package/sdk/application/Order/OrderApplicationValidator.js +8 -0
  35. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
  36. package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
  37. package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
  39. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
  40. package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  44. package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
  46. package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
  47. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
  48. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
  49. package/sdk/application/User/UserApplicationClient.d.ts +33 -0
  50. package/sdk/application/User/UserApplicationClient.js +239 -0
  51. package/sdk/application/User/UserApplicationModel.d.ts +28 -13
  52. package/sdk/application/User/UserApplicationModel.js +36 -12
  53. package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
  54. package/sdk/application/User/UserApplicationValidator.js +36 -0
  55. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +3 -15
  56. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
  57. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  58. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  59. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  60. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  61. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  62. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  67. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  68. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  69. package/sdk/partner/PartnerClient.d.ts +6 -0
  70. package/sdk/partner/PartnerClient.js +9 -0
  71. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  72. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  73. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  74. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  75. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  76. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  77. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  78. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  79. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  80. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  81. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  82. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  83. package/sdk/partner/index.d.ts +3 -0
  84. package/sdk/partner/index.js +6 -0
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  87. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  89. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  97. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  122. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  123. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  124. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  125. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  126. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  127. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3641 -1059
  128. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +351 -1
  129. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +410 -0
  130. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  131. package/sdk/platform/Content/ContentPlatformClient.js +2011 -0
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +1100 -1
  133. package/sdk/platform/Content/ContentPlatformModel.js +1362 -46
  134. package/sdk/platform/Content/ContentPlatformValidator.d.ts +247 -0
  135. package/sdk/platform/Content/ContentPlatformValidator.js +319 -0
  136. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  137. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  138. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  139. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  142. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  143. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  144. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +18 -19
  145. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -18
  146. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  147. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  148. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  149. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  150. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  151. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  157. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  163. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
  165. package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  167. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  168. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  169. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  170. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  171. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  172. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  173. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  174. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  175. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  176. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/PlatformApplicationClient.js +4 -4
  178. package/sdk/platform/PlatformClient.d.ts +4 -2
  179. package/sdk/platform/PlatformClient.js +8 -4
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  190. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  191. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  192. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  193. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  194. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  195. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  196. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  197. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  198. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  199. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  200. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  201. package/sdk/platform/User/UserPlatformModel.js +256 -5
  202. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  203. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  204. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  205. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  206. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  207. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  208. package/sdk/platform/index.d.ts +1 -1
  209. package/sdk/platform/index.js +2 -2
  210. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  211. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  212. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  213. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  214. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  215. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  216. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  217. package/sdk/public/Content/ContentPublicClient.js +114 -0
  218. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  219. package/sdk/public/Content/ContentPublicModel.js +60 -0
  220. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  221. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  222. package/sdk/public/PublicClient.d.ts +4 -0
  223. package/sdk/public/PublicClient.js +8 -0
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  225. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  227. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  230. package/sdk/public/index.d.ts +2 -0
  231. package/sdk/public/index.js +4 -0
@@ -12,15 +12,10 @@ export = ServiceabilityPlatformModel;
12
12
  * @property {string} [state]
13
13
  */
14
14
  /**
15
- * @typedef ApplicationCompanyDpViewRequest
16
- * @property {string} [dp_id]
17
- */
18
- /**
19
- * @typedef ApplicationCompanyDpViewResponse
20
- * @property {string} application_id
21
- * @property {number} company_id
22
- * @property {number} [courier_partner_id]
23
- * @property {boolean} success
15
+ * @typedef ApplicationConfig
16
+ * @property {string[]} [rule_ids]
17
+ * @property {string[]} [sort]
18
+ * @property {ZoneConfig} [zones]
24
19
  */
25
20
  /**
26
21
  * @typedef ApplicationSelfShipConfig
@@ -44,6 +39,44 @@ export = ServiceabilityPlatformModel;
44
39
  * @property {ServiceabilityErrorResponse} [error]
45
40
  * @property {boolean} success
46
41
  */
42
+ /**
43
+ * @typedef ArithmeticOperations
44
+ * @property {number} [gt]
45
+ * @property {number} [gte]
46
+ * @property {number} [lt]
47
+ * @property {number} [lte]
48
+ */
49
+ /**
50
+ * @typedef BulkRegionJobSerializer
51
+ * @property {string} action
52
+ * @property {string} country
53
+ * @property {string} [file_path]
54
+ * @property {string} region
55
+ */
56
+ /**
57
+ * @typedef BulkRegionResponse
58
+ * @property {BulkRegionResponseItemData[]} items
59
+ * @property {Page} page
60
+ */
61
+ /**
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]
74
+ */
75
+ /**
76
+ * @typedef Channel
77
+ * @property {string} [id]
78
+ * @property {string} [type]
79
+ */
47
80
  /**
48
81
  * @typedef CommonError
49
82
  * @property {Object} [error]
@@ -51,18 +84,15 @@ export = ServiceabilityPlatformModel;
51
84
  * @property {string} [success]
52
85
  */
53
86
  /**
54
- * @typedef CompanyDpAccountListResponse
55
- * @property {Dp1[]} items
56
- * @property {Page} page
57
- * @property {boolean} success
58
- */
59
- /**
60
- * @typedef CompanyDpAccountRequest
61
- * @property {Dp1[]} data
87
+ * @typedef CompanyConfig
88
+ * @property {boolean} [logistics_as_actual]
89
+ * @property {string[]} rule_ids
90
+ * @property {string[]} sort
62
91
  */
63
92
  /**
64
- * @typedef CompanyDpAccountResponse
65
- * @property {boolean} success
93
+ * @typedef CompanyCourierPartnerAccountListResponse
94
+ * @property {CourierAccountResponse[]} items
95
+ * @property {Page} page
66
96
  */
67
97
  /**
68
98
  * @typedef CompanyStoreView_PageItems
@@ -82,11 +112,116 @@ export = ServiceabilityPlatformModel;
82
112
  * @property {number} [country_code]
83
113
  * @property {string} [number]
84
114
  */
115
+ /**
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
123
+ */
124
+ /**
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
132
+ */
133
+ /**
134
+ * @typedef CourierPartnerAccountFailureResponse
135
+ * @property {ErrorResponse[]} error
136
+ * @property {boolean} success
137
+ */
138
+ /**
139
+ * @typedef CourierPartnerList
140
+ * @property {string} account_id
141
+ * @property {string} extension_id
142
+ * @property {boolean} is_self_ship
143
+ * @property {string} name
144
+ */
145
+ /**
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
152
+ */
153
+ /**
154
+ * @typedef CourierPartnerRuleConditions
155
+ * @property {IntComparisonOperations} [brand_ids]
156
+ * @property {IntComparisonOperations} [category_ids]
157
+ * @property {IntComparisonOperations} [department_ids]
158
+ * @property {LocationRule} [forward]
159
+ * @property {ArithmeticOperations} [order_place_date]
160
+ * @property {StringComparisonOperations} [payment_mode]
161
+ * @property {IntComparisonOperations} [product_ids]
162
+ * @property {StringComparisonOperations} [product_tags]
163
+ * @property {LocationRule} [reverse]
164
+ * @property {ArithmeticOperations} [shipment_cost]
165
+ * @property {ArithmeticOperations} [shipment_volumetric_weight]
166
+ * @property {ArithmeticOperations} [shipment_weight]
167
+ * @property {IntComparisonOperations} [store_ids]
168
+ * @property {StringComparisonOperations} [store_tags]
169
+ * @property {StringComparisonOperations} [store_type]
170
+ * @property {StringComparisonOperations} [zone_ids]
171
+ */
172
+ /**
173
+ * @typedef CourierPartnerRulesListResponse
174
+ * @property {CourierPartnerRule[]} items
175
+ * @property {Page} page
176
+ */
177
+ /**
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]
197
+ */
198
+ /**
199
+ * @typedef CourierPartnerSchemeModel
200
+ * @property {string} delivery_type
201
+ * @property {string} extension_id
202
+ * @property {CourierPartnerSchemeFeatures} feature
203
+ * @property {string[]} payment_mode
204
+ * @property {string} region
205
+ * @property {string} scheme_id
206
+ * @property {string} stage
207
+ * @property {string} transport_type
208
+ * @property {ArithmeticOperations} weight
209
+ */
85
210
  /**
86
211
  * @typedef CreatedByResponse
87
212
  * @property {string} [user_id]
88
213
  * @property {string} [username]
89
214
  */
215
+ /**
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
+ */
90
225
  /**
91
226
  * @typedef CreateZoneData
92
227
  * @property {string} [assignment_preference]
@@ -95,11 +230,18 @@ export = ServiceabilityPlatformModel;
95
230
  * @property {boolean} is_active
96
231
  * @property {ZoneMappingType[]} mapping
97
232
  * @property {string} name
98
- * @property {ZoneProductTypes} product
99
233
  * @property {string} region_type
100
234
  * @property {string} slug
101
235
  * @property {number[]} store_ids
102
236
  */
237
+ /**
238
+ * @typedef CustomerRadiusSchema
239
+ * @property {number} [gt]
240
+ * @property {number} [gte]
241
+ * @property {number} [lt]
242
+ * @property {number} [lte]
243
+ * @property {string} unit
244
+ */
103
245
  /**
104
246
  * @typedef DocumentsResponse
105
247
  * @property {string} [legal_name]
@@ -120,113 +262,6 @@ export = ServiceabilityPlatformModel;
120
262
  * @property {number} [rvp_priority]
121
263
  * @property {string} [transport_mode]
122
264
  */
123
- /**
124
- * @typedef Dp1
125
- * @property {string} account_id
126
- * @property {string} dp_id
127
- * @property {boolean} is_self_ship
128
- * @property {string} name
129
- * @property {string} plan_id
130
- * @property {Object} plan_rules
131
- * @property {string} stage
132
- */
133
- /**
134
- * @typedef DpAccountFailureResponse
135
- * @property {ErrorResponse[]} error
136
- * @property {number} status_code
137
- * @property {boolean} success
138
- */
139
- /**
140
- * @typedef DPApplicationRuleRequest
141
- * @property {string[]} shipping_rules
142
- */
143
- /**
144
- * @typedef DPApplicationRuleResponse
145
- * @property {DpRuleResponse[]} data
146
- * @property {boolean} status_code
147
- * @property {boolean} success
148
- */
149
- /**
150
- * @typedef DPCompanyRuleRequest
151
- * @property {string[]} rule_ids
152
- */
153
- /**
154
- * @typedef DPCompanyRuleResponse
155
- * @property {DpRuleResponse[]} data
156
- * @property {number} status_code
157
- * @property {boolean} success
158
- */
159
- /**
160
- * @typedef DpIds
161
- * @property {boolean} enabled
162
- * @property {Object} [meta]
163
- * @property {number} priority
164
- */
165
- /**
166
- * @typedef DpMultipleRuleSuccessResponse
167
- * @property {DpRule[]} items
168
- * @property {Page} page
169
- * @property {boolean} success
170
- */
171
- /**
172
- * @typedef DpRule
173
- * @property {number} [company_id]
174
- * @property {Object[]} conditions
175
- * @property {Object} dp_ids
176
- * @property {boolean} [is_active]
177
- * @property {string} name
178
- */
179
- /**
180
- * @typedef DpRuleRequest
181
- * @property {number} [company_id]
182
- * @property {Object[]} conditions
183
- * @property {Object} dp_ids
184
- * @property {boolean} [is_active]
185
- * @property {string} name
186
- */
187
- /**
188
- * @typedef DpRuleResponse
189
- * @property {number} company_id
190
- * @property {string[]} conditions
191
- * @property {Object} [created_by]
192
- * @property {string} [created_on]
193
- * @property {Object} dp_ids
194
- * @property {boolean} [is_active]
195
- * @property {Object} [modified_by]
196
- * @property {string} [modified_on]
197
- * @property {string} name
198
- * @property {string} uid
199
- */
200
- /**
201
- * @typedef DpRuleSuccessResponse
202
- * @property {DpRule} data
203
- * @property {number} status_code
204
- * @property {boolean} success
205
- */
206
- /**
207
- * @typedef DpRulesUpdateRequest
208
- * @property {Object[]} conditions
209
- * @property {Object} dp_ids
210
- * @property {boolean} is_active
211
- * @property {string} name
212
- */
213
- /**
214
- * @typedef DpRuleUpdateSuccessResponse
215
- * @property {DpRuleResponse} data
216
- * @property {number} status_code
217
- * @property {boolean} success
218
- */
219
- /**
220
- * @typedef DpSchemaInRuleListing
221
- * @property {string} account_id
222
- * @property {string} dp_id
223
- * @property {boolean} is_self_ship
224
- * @property {string} name
225
- * @property {string} plan_id
226
- * @property {Object} plan_rules
227
- * @property {number} priority
228
- * @property {string} stage
229
- */
230
265
  /**
231
266
  * @typedef EinvoiceResponse
232
267
  * @property {boolean} [enabled]
@@ -239,7 +274,6 @@ export = ServiceabilityPlatformModel;
239
274
  */
240
275
  /**
241
276
  * @typedef EntityRegionView_Items
242
- * @property {string} [display_name]
243
277
  * @property {string} name
244
278
  * @property {string} sub_type
245
279
  * @property {string} uid
@@ -259,8 +293,8 @@ export = ServiceabilityPlatformModel;
259
293
  */
260
294
  /**
261
295
  * @typedef EntityRegionView_Response
296
+ * @property {EntityRegionView_Items[]} data
262
297
  * @property {EntityRegionView_Error} error
263
- * @property {EntityRegionView_Items[]} [items]
264
298
  * @property {EntityRegionView_page} page
265
299
  * @property {boolean} success
266
300
  */
@@ -283,18 +317,42 @@ export = ServiceabilityPlatformModel;
283
317
  /**
284
318
  * @typedef FailureResponse
285
319
  * @property {ErrorResponse[]} error
286
- * @property {number} status_code
287
320
  * @property {boolean} success
288
321
  */
322
+ /**
323
+ * @typedef getAppRegionZonesResponse
324
+ * @property {ListViewItems[]} items
325
+ * @property {PageSchema[]} page
326
+ */
289
327
  /**
290
328
  * @typedef GetSingleZoneDataViewResponse
291
329
  * @property {GetZoneDataViewItems} data
292
330
  */
331
+ /**
332
+ * @typedef GetStoreRulesApiResponse
333
+ * @property {StoreRuleDataSchema[]} [items]
334
+ * @property {Page} [page]
335
+ */
293
336
  /**
294
337
  * @typedef GetStoresViewResponse
295
338
  * @property {ItemResponse[]} [items]
296
339
  * @property {ServiceabilityPageResponse} page
297
340
  */
341
+ /**
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
355
+ */
298
356
  /**
299
357
  * @typedef GetZoneDataViewChannels
300
358
  * @property {string} channel_id
@@ -308,9 +366,8 @@ export = ServiceabilityPlatformModel;
308
366
  * @property {boolean} is_active
309
367
  * @property {ZoneMappingType[]} mapping
310
368
  * @property {string} name
311
- * @property {number} pincodes_count
312
369
  * @property {ZoneProductTypes} product
313
- * @property {string} region_type
370
+ * @property {string} [region_type]
314
371
  * @property {string} slug
315
372
  * @property {number[]} store_ids
316
373
  * @property {number} stores_count
@@ -336,6 +393,10 @@ export = ServiceabilityPlatformModel;
336
393
  * @property {EinvoiceResponse} [e_invoice]
337
394
  * @property {EwayBillResponse} [e_waybill]
338
395
  */
396
+ /**
397
+ * @typedef IntComparisonOperations
398
+ * @property {number[]} [includes]
399
+ */
339
400
  /**
340
401
  * @typedef IntegrationTypeResponse
341
402
  * @property {string} [inventory]
@@ -379,12 +440,12 @@ export = ServiceabilityPlatformModel;
379
440
  */
380
441
  /**
381
442
  * @typedef ListViewItems
382
- * @property {ListViewChannels[]} channels
443
+ * @property {ListViewChannels} channels
383
444
  * @property {number} company_id
384
445
  * @property {boolean} is_active
385
446
  * @property {string} name
386
- * @property {number} pincodes_count
387
447
  * @property {ListViewProduct} product
448
+ * @property {number} regions_count
388
449
  * @property {string} slug
389
450
  * @property {number} stores_count
390
451
  * @property {string} zone_id
@@ -397,8 +458,7 @@ export = ServiceabilityPlatformModel;
397
458
  /**
398
459
  * @typedef ListViewResponse
399
460
  * @property {ListViewItems[]} items
400
- * @property {ZoneDataItem} page
401
- * @property {ListViewSummary} summary
461
+ * @property {ZoneDataItem[]} page
402
462
  */
403
463
  /**
404
464
  * @typedef ListViewSummary
@@ -406,6 +466,20 @@ export = ServiceabilityPlatformModel;
406
466
  * @property {number} total_pincodes_served
407
467
  * @property {number} total_zones
408
468
  */
469
+ /**
470
+ * @typedef LocationRule
471
+ * @property {LocationRuleValues[]} [includes]
472
+ * @property {string} [type]
473
+ */
474
+ /**
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]
482
+ */
409
483
  /**
410
484
  * @typedef LogisticsResponse
411
485
  * @property {Dp} [dp]
@@ -432,6 +506,102 @@ export = ServiceabilityPlatformModel;
432
506
  * @property {number} [hour]
433
507
  * @property {number} [minute]
434
508
  */
509
+ /**
510
+ * @typedef PackageMaterial
511
+ * @property {boolean} [auto_calculate]
512
+ * @property {Channel[]} channels
513
+ * @property {number} error_rate
514
+ * @property {number} height
515
+ * @property {number} length
516
+ * @property {number} [max_weight]
517
+ * @property {string[]} [media]
518
+ * @property {string} name
519
+ * @property {string} package_type
520
+ * @property {number} [package_vol_weight]
521
+ * @property {PackageMaterialRule[]} [rules]
522
+ * @property {string} size
523
+ * @property {string} status
524
+ * @property {number[]} store_ids
525
+ * @property {boolean} [track_inventory]
526
+ * @property {number} weight
527
+ * @property {number} width
528
+ */
529
+ /**
530
+ * @typedef PackageMaterialList
531
+ * @property {PackageMaterialResponse} [items]
532
+ * @property {Page} [page]
533
+ */
534
+ /**
535
+ * @typedef PackageMaterialResponse
536
+ * @property {boolean} [auto_calculate]
537
+ * @property {Channel[]} channels
538
+ * @property {number} error_rate
539
+ * @property {number} height
540
+ * @property {string} [id]
541
+ * @property {number} [item_id]
542
+ * @property {number} length
543
+ * @property {number} [max_weight]
544
+ * @property {string[]} [media]
545
+ * @property {string} name
546
+ * @property {string} package_type
547
+ * @property {number} [package_vol_weight]
548
+ * @property {PackageMaterialRule[]} [rules]
549
+ * @property {string} size
550
+ * @property {string} status
551
+ * @property {number[]} store_ids
552
+ * @property {boolean} [track_inventory]
553
+ * @property {number} weight
554
+ * @property {number} width
555
+ */
556
+ /**
557
+ * @typedef PackageMaterialRule
558
+ * @property {PackageMaterialRuleQuantity} [quantity]
559
+ * @property {string} [rule_id]
560
+ * @property {number} [weight]
561
+ */
562
+ /**
563
+ * @typedef PackageMaterialRuleList
564
+ * @property {PackageRuleResponse} [items]
565
+ * @property {Page} [page]
566
+ */
567
+ /**
568
+ * @typedef PackageMaterialRuleQuantity
569
+ * @property {number} [max]
570
+ * @property {number} [min]
571
+ */
572
+ /**
573
+ * @typedef PackageRule
574
+ * @property {PackageRuleCategory} [category_id]
575
+ * @property {number} company_id
576
+ * @property {boolean} [is_active]
577
+ * @property {string} name
578
+ * @property {PackageRuleProduct} [product_id]
579
+ * @property {PackageRuleProductTag} [product_tag]
580
+ * @property {string} type
581
+ */
582
+ /**
583
+ * @typedef PackageRuleCategory
584
+ * @property {number[]} [includes]
585
+ */
586
+ /**
587
+ * @typedef PackageRuleProduct
588
+ * @property {number[]} [includes]
589
+ */
590
+ /**
591
+ * @typedef PackageRuleProductTag
592
+ * @property {string[]} [includes]
593
+ */
594
+ /**
595
+ * @typedef PackageRuleResponse
596
+ * @property {PackageRuleCategory} [category_id]
597
+ * @property {number} company_id
598
+ * @property {string} [id]
599
+ * @property {boolean} [is_active]
600
+ * @property {string} name
601
+ * @property {PackageRuleProduct} [product_id]
602
+ * @property {PackageRuleProductTag} [product_tag]
603
+ * @property {string} type
604
+ */
435
605
  /**
436
606
  * @typedef Page
437
607
  * @property {number} [current]
@@ -442,6 +612,14 @@ export = ServiceabilityPlatformModel;
442
612
  * @property {number} [size]
443
613
  * @property {string} type
444
614
  */
615
+ /**
616
+ * @typedef PageSchema
617
+ * @property {number} current
618
+ * @property {boolean} has_next
619
+ * @property {number} item_total
620
+ * @property {number} size
621
+ * @property {string} type
622
+ */
445
623
  /**
446
624
  * @typedef PincodeBulkViewResponse
447
625
  * @property {string} batch_id
@@ -554,6 +732,33 @@ export = ServiceabilityPlatformModel;
554
732
  * @property {boolean} success
555
733
  * @property {string} to_pincode
556
734
  */
735
+ /**
736
+ * @typedef RulePriorityRequest
737
+ * @property {number} priority
738
+ * @property {string} rule_id
739
+ */
740
+ /**
741
+ * @typedef RulePriorityResponse
742
+ * @property {boolean} [success]
743
+ */
744
+ /**
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]
751
+ */
752
+ /**
753
+ * @typedef SchemeRulesFeatures
754
+ * @property {boolean} [battery_operated]
755
+ * @property {boolean} [e_waybill]
756
+ * @property {boolean} [flammable]
757
+ * @property {boolean} [hazmat]
758
+ * @property {boolean} [multi_part_shipments]
759
+ * @property {boolean} [quality_check]
760
+ * @property {boolean} [quick_response_code]
761
+ */
557
762
  /**
558
763
  * @typedef SelfShipResponse
559
764
  * @property {boolean} is_active
@@ -565,6 +770,17 @@ export = ServiceabilityPlatformModel;
565
770
  * @property {string} type
566
771
  * @property {string} value
567
772
  */
773
+ /**
774
+ * @typedef ServiceabilityModel
775
+ * @property {boolean} is_first_mile
776
+ * @property {boolean} is_installation
777
+ * @property {boolean} is_last_mile
778
+ * @property {boolean} is_qc
779
+ * @property {boolean} is_return
780
+ * @property {number} lm_cod_limit
781
+ * @property {string} pickup_cutoff
782
+ * @property {string} route_code
783
+ */
568
784
  /**
569
785
  * @typedef ServiceabilityPageResponse
570
786
  * @property {number} [current]
@@ -574,8 +790,74 @@ export = ServiceabilityPlatformModel;
574
790
  * @property {string} [type]
575
791
  */
576
792
  /**
577
- * @typedef ServiceabilityPayloadSchema
578
- * @property {string} serviceability_type
793
+ * @typedef StorePrioritySchema
794
+ * @property {string} [id]
795
+ * @property {string} [name]
796
+ */
797
+ /**
798
+ * @typedef StoreRuleConditionSchema
799
+ * @property {IntComparisonOperations} [brand_ids]
800
+ * @property {IntComparisonOperations} [category_ids]
801
+ * @property {CustomerRadiusSchema} [customer_radius]
802
+ * @property {IntComparisonOperations} [department_ids]
803
+ * @property {ArithmeticOperations} [order_place_date]
804
+ * @property {IntComparisonOperations} [product_ids]
805
+ * @property {StringComparisonOperations} [product_tags]
806
+ * @property {StringComparisonOperations} [store_tags]
807
+ * @property {StringComparisonOperations} [store_type]
808
+ * @property {LocationRule} [to_location]
809
+ * @property {StringComparisonOperations} [zone_ids]
810
+ */
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
+ /**
820
+ * @typedef StoreRuleDataSchema
821
+ * @property {string} [application_id]
822
+ * @property {number} [company_id]
823
+ * @property {StoreRuleConditionSchema} [conditions]
824
+ * @property {string} [id]
825
+ * @property {boolean} [is_active]
826
+ * @property {string} [name]
827
+ * @property {string[]} [sort]
828
+ * @property {StorePrioritySchema[]} [store_priority]
829
+ * @property {string[]} [tag_based_priority]
830
+ * @property {string[]} [type_based_priority]
831
+ */
832
+ /**
833
+ * @typedef StoreRuleResponseSchema
834
+ * @property {StoreRuleConditionSchema} [conditions]
835
+ * @property {string} [id]
836
+ * @property {boolean} [is_active]
837
+ * @property {string} [name]
838
+ * @property {string[]} [sort]
839
+ * @property {StorePrioritySchema[]} [store_priority]
840
+ * @property {string[]} [tag_based_priority]
841
+ * @property {string} [type]
842
+ * @property {string[]} [type_based_priority]
843
+ */
844
+ /**
845
+ * @typedef StoreRuleUpdateResponseSchema
846
+ * @property {string} [application_id]
847
+ * @property {number} [company_id]
848
+ * @property {StoreRuleConditionSchema} [conditions]
849
+ * @property {string} [id]
850
+ * @property {boolean} [is_active]
851
+ * @property {string} [name]
852
+ * @property {string[]} [sort]
853
+ * @property {StorePrioritySchema[]} [store_priority]
854
+ * @property {string[]} [tag_based_priority]
855
+ * @property {string} [type]
856
+ * @property {string[]} [type_based_priority]
857
+ */
858
+ /**
859
+ * @typedef StringComparisonOperations
860
+ * @property {string[]} [includes]
579
861
  */
580
862
  /**
581
863
  * @typedef TimmingResponse
@@ -584,6 +866,10 @@ export = ServiceabilityPlatformModel;
584
866
  * @property {OpeningClosing} [opening]
585
867
  * @property {string} [weekday]
586
868
  */
869
+ /**
870
+ * @typedef UpdateZoneConfigRequest
871
+ * @property {string} [serviceability_type]
872
+ */
587
873
  /**
588
874
  * @typedef UpdateZoneData
589
875
  * @property {string} [assignment_preference]
@@ -613,6 +899,10 @@ export = ServiceabilityPlatformModel;
613
899
  * @property {string} type
614
900
  * @property {string} zone_id
615
901
  */
902
+ /**
903
+ * @typedef ZoneConfig
904
+ * @property {string} [serviceability_type]
905
+ */
616
906
  /**
617
907
  * @typedef ZoneDataItem
618
908
  * @property {number} current
@@ -632,11 +922,6 @@ export = ServiceabilityPlatformModel;
632
922
  * @property {string[]} tags
633
923
  * @property {string} type
634
924
  */
635
- /**
636
- * @typedef ZoneRequest
637
- * @property {CreateZoneData} data
638
- * @property {string} identifier
639
- */
640
925
  /**
641
926
  * @typedef ZoneResponse
642
927
  * @property {number} status_code
@@ -656,7 +941,7 @@ export = ServiceabilityPlatformModel;
656
941
  declare class ServiceabilityPlatformModel {
657
942
  }
658
943
  declare namespace ServiceabilityPlatformModel {
659
- export { AddressResponse, ApplicationCompanyDpViewRequest, ApplicationCompanyDpViewResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, CommonError, CompanyDpAccountListResponse, CompanyDpAccountRequest, CompanyDpAccountResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, ContactNumberResponse, CreatedByResponse, CreateZoneData, DocumentsResponse, Dp, Dp1, DpAccountFailureResponse, DPApplicationRuleRequest, DPApplicationRuleResponse, DPCompanyRuleRequest, DPCompanyRuleResponse, DpIds, DpMultipleRuleSuccessResponse, DpRule, DpRuleRequest, DpRuleResponse, DpRuleSuccessResponse, DpRulesUpdateRequest, DpRuleUpdateSuccessResponse, DpSchemaInRuleListing, EinvoiceResponse, EntityRegionView_Error, EntityRegionView_Items, EntityRegionView_page, EntityRegionView_Request, EntityRegionView_Response, Error, ErrorResponse, EwayBillResponse, FailureResponse, GetSingleZoneDataViewResponse, GetStoresViewResponse, GetZoneDataViewChannels, GetZoneDataViewItems, GetZoneFromApplicationIdViewResponse, GetZoneFromPincodeViewRequest, GetZoneFromPincodeViewResponse, GstCredentialsResponse, IntegrationTypeResponse, ItemResponse, ListViewChannels, ListViewItems, ListViewProduct, ListViewResponse, ListViewSummary, LogisticsResponse, ManagerResponse, MobileNo, ModifiedByResponse, OpeningClosing, Page, PincodeBulkViewResponse, PincodeCodStatusListingPage, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, PincodeCodStatusListingSummary, PincodeMopBulkData, PincodeMopData, PincodeMOPresponse, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, PincodeMopUpdateResponse, ProductReturnConfigResponse, ReAssignStoreRequest, ReAssignStoreResponse, SelfShipResponse, ServiceabilityErrorResponse, ServiceabilityPageResponse, ServiceabilityPayloadSchema, TimmingResponse, UpdateZoneData, WarningsResponse, Zone, ZoneDataItem, ZoneMappingType, ZoneProductTypes, ZoneRequest, ZoneResponse, ZoneSuccessResponse, ZoneUpdateRequest };
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 };
660
945
  }
661
946
  /** @returns {AddressResponse} */
662
947
  declare function AddressResponse(): AddressResponse;
@@ -671,18 +956,12 @@ type AddressResponse = {
671
956
  pincode?: number;
672
957
  state?: string;
673
958
  };
674
- /** @returns {ApplicationCompanyDpViewRequest} */
675
- declare function ApplicationCompanyDpViewRequest(): ApplicationCompanyDpViewRequest;
676
- type ApplicationCompanyDpViewRequest = {
677
- dp_id?: string;
678
- };
679
- /** @returns {ApplicationCompanyDpViewResponse} */
680
- declare function ApplicationCompanyDpViewResponse(): ApplicationCompanyDpViewResponse;
681
- type ApplicationCompanyDpViewResponse = {
682
- application_id: string;
683
- company_id: number;
684
- courier_partner_id?: number;
685
- success: boolean;
959
+ /** @returns {ApplicationConfig} */
960
+ declare function ApplicationConfig(): ApplicationConfig;
961
+ type ApplicationConfig = {
962
+ rule_ids?: string[];
963
+ sort?: string[];
964
+ zones?: ZoneConfig;
686
965
  };
687
966
  /** @returns {ApplicationSelfShipConfig} */
688
967
  declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
@@ -710,6 +989,49 @@ type ApplicationServiceabilityConfigResponse = {
710
989
  error?: ServiceabilityErrorResponse;
711
990
  success: boolean;
712
991
  };
992
+ /** @returns {ArithmeticOperations} */
993
+ declare function ArithmeticOperations(): ArithmeticOperations;
994
+ type ArithmeticOperations = {
995
+ gt?: number;
996
+ gte?: number;
997
+ lt?: number;
998
+ lte?: number;
999
+ };
1000
+ /** @returns {BulkRegionJobSerializer} */
1001
+ declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
1002
+ type BulkRegionJobSerializer = {
1003
+ action: string;
1004
+ country: string;
1005
+ file_path?: string;
1006
+ region: string;
1007
+ };
1008
+ /** @returns {BulkRegionResponse} */
1009
+ declare function BulkRegionResponse(): BulkRegionResponse;
1010
+ type BulkRegionResponse = {
1011
+ items: BulkRegionResponseItemData[];
1012
+ page: Page;
1013
+ };
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;
1028
+ };
1029
+ /** @returns {Channel} */
1030
+ declare function Channel(): Channel;
1031
+ type Channel = {
1032
+ id?: string;
1033
+ type?: string;
1034
+ };
713
1035
  /** @returns {CommonError} */
714
1036
  declare function CommonError(): CommonError;
715
1037
  type CommonError = {
@@ -717,22 +1039,18 @@ type CommonError = {
717
1039
  status_code?: string;
718
1040
  success?: string;
719
1041
  };
720
- /** @returns {CompanyDpAccountListResponse} */
721
- declare function CompanyDpAccountListResponse(): CompanyDpAccountListResponse;
722
- type CompanyDpAccountListResponse = {
723
- items: Dp1[];
724
- page: Page;
725
- success: boolean;
726
- };
727
- /** @returns {CompanyDpAccountRequest} */
728
- declare function CompanyDpAccountRequest(): CompanyDpAccountRequest;
729
- type CompanyDpAccountRequest = {
730
- data: Dp1[];
1042
+ /** @returns {CompanyConfig} */
1043
+ declare function CompanyConfig(): CompanyConfig;
1044
+ type CompanyConfig = {
1045
+ logistics_as_actual?: boolean;
1046
+ rule_ids: string[];
1047
+ sort: string[];
731
1048
  };
732
- /** @returns {CompanyDpAccountResponse} */
733
- declare function CompanyDpAccountResponse(): CompanyDpAccountResponse;
734
- type CompanyDpAccountResponse = {
735
- success: boolean;
1049
+ /** @returns {CompanyCourierPartnerAccountListResponse} */
1050
+ declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
1051
+ type CompanyCourierPartnerAccountListResponse = {
1052
+ items: CourierAccountResponse[];
1053
+ page: Page;
736
1054
  };
737
1055
  /** @returns {CompanyStoreView_PageItems} */
738
1056
  declare function CompanyStoreView_PageItems(): CompanyStoreView_PageItems;
@@ -755,12 +1073,127 @@ type ContactNumberResponse = {
755
1073
  country_code?: number;
756
1074
  number?: string;
757
1075
  };
1076
+ /** @returns {CourierAccount} */
1077
+ declare function CourierAccount(): CourierAccount;
1078
+ type CourierAccount = {
1079
+ account_id: string;
1080
+ extension_id: string;
1081
+ is_own_account: boolean;
1082
+ is_self_ship: boolean;
1083
+ scheme_id: string;
1084
+ stage: string;
1085
+ };
1086
+ /** @returns {CourierAccountResponse} */
1087
+ declare function CourierAccountResponse(): CourierAccountResponse;
1088
+ type CourierAccountResponse = {
1089
+ account_id: string;
1090
+ is_own_account: boolean;
1091
+ is_self_ship: boolean;
1092
+ scheme_id: string;
1093
+ scheme_rules: CourierPartnerSchemeModel;
1094
+ stage: string;
1095
+ };
1096
+ /** @returns {CourierPartnerAccountFailureResponse} */
1097
+ declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
1098
+ type CourierPartnerAccountFailureResponse = {
1099
+ error: ErrorResponse[];
1100
+ success: boolean;
1101
+ };
1102
+ /** @returns {CourierPartnerList} */
1103
+ declare function CourierPartnerList(): CourierPartnerList;
1104
+ type CourierPartnerList = {
1105
+ account_id: string;
1106
+ extension_id: string;
1107
+ is_self_ship: boolean;
1108
+ name: string;
1109
+ };
1110
+ /** @returns {CourierPartnerRule} */
1111
+ declare function CourierPartnerRule(): CourierPartnerRule;
1112
+ type CourierPartnerRule = {
1113
+ conditions: CourierPartnerRuleConditions;
1114
+ cp_list?: CourierPartnerList[];
1115
+ 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;
1138
+ };
1139
+ /** @returns {CourierPartnerRulesListResponse} */
1140
+ declare function CourierPartnerRulesListResponse(): CourierPartnerRulesListResponse;
1141
+ type CourierPartnerRulesListResponse = {
1142
+ items: CourierPartnerRule[];
1143
+ page: Page;
1144
+ };
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;
1166
+ };
1167
+ /** @returns {CourierPartnerSchemeModel} */
1168
+ declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
1169
+ type CourierPartnerSchemeModel = {
1170
+ delivery_type: string;
1171
+ extension_id: string;
1172
+ feature: CourierPartnerSchemeFeatures;
1173
+ payment_mode: string[];
1174
+ region: string;
1175
+ scheme_id: string;
1176
+ stage: string;
1177
+ transport_type: string;
1178
+ weight: ArithmeticOperations;
1179
+ };
758
1180
  /** @returns {CreatedByResponse} */
759
1181
  declare function CreatedByResponse(): CreatedByResponse;
760
1182
  type CreatedByResponse = {
761
1183
  user_id?: string;
762
1184
  username?: string;
763
1185
  };
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[];
1196
+ };
764
1197
  /** @returns {CreateZoneData} */
765
1198
  declare function CreateZoneData(): CreateZoneData;
766
1199
  type CreateZoneData = {
@@ -770,11 +1203,19 @@ type CreateZoneData = {
770
1203
  is_active: boolean;
771
1204
  mapping: ZoneMappingType[];
772
1205
  name: string;
773
- product: ZoneProductTypes;
774
1206
  region_type: string;
775
1207
  slug: string;
776
1208
  store_ids: number[];
777
1209
  };
1210
+ /** @returns {CustomerRadiusSchema} */
1211
+ declare function CustomerRadiusSchema(): CustomerRadiusSchema;
1212
+ type CustomerRadiusSchema = {
1213
+ gt?: number;
1214
+ gte?: number;
1215
+ lt?: number;
1216
+ lte?: number;
1217
+ unit: string;
1218
+ };
778
1219
  /** @returns {DocumentsResponse} */
779
1220
  declare function DocumentsResponse(): DocumentsResponse;
780
1221
  type DocumentsResponse = {
@@ -797,128 +1238,6 @@ type Dp = {
797
1238
  rvp_priority?: number;
798
1239
  transport_mode?: string;
799
1240
  };
800
- /** @returns {Dp1} */
801
- declare function Dp1(): Dp1;
802
- type Dp1 = {
803
- account_id: string;
804
- dp_id: string;
805
- is_self_ship: boolean;
806
- name: string;
807
- plan_id: string;
808
- plan_rules: any;
809
- stage: string;
810
- };
811
- /** @returns {DpAccountFailureResponse} */
812
- declare function DpAccountFailureResponse(): DpAccountFailureResponse;
813
- type DpAccountFailureResponse = {
814
- error: ErrorResponse[];
815
- status_code: number;
816
- success: boolean;
817
- };
818
- /** @returns {DPApplicationRuleRequest} */
819
- declare function DPApplicationRuleRequest(): DPApplicationRuleRequest;
820
- type DPApplicationRuleRequest = {
821
- shipping_rules: string[];
822
- };
823
- /** @returns {DPApplicationRuleResponse} */
824
- declare function DPApplicationRuleResponse(): DPApplicationRuleResponse;
825
- type DPApplicationRuleResponse = {
826
- data: DpRuleResponse[];
827
- status_code: boolean;
828
- success: boolean;
829
- };
830
- /** @returns {DPCompanyRuleRequest} */
831
- declare function DPCompanyRuleRequest(): DPCompanyRuleRequest;
832
- type DPCompanyRuleRequest = {
833
- rule_ids: string[];
834
- };
835
- /** @returns {DPCompanyRuleResponse} */
836
- declare function DPCompanyRuleResponse(): DPCompanyRuleResponse;
837
- type DPCompanyRuleResponse = {
838
- data: DpRuleResponse[];
839
- status_code: number;
840
- success: boolean;
841
- };
842
- /** @returns {DpIds} */
843
- declare function DpIds(): DpIds;
844
- type DpIds = {
845
- enabled: boolean;
846
- meta?: any;
847
- priority: number;
848
- };
849
- /** @returns {DpMultipleRuleSuccessResponse} */
850
- declare function DpMultipleRuleSuccessResponse(): DpMultipleRuleSuccessResponse;
851
- type DpMultipleRuleSuccessResponse = {
852
- items: DpRule[];
853
- page: Page;
854
- success: boolean;
855
- };
856
- /** @returns {DpRule} */
857
- declare function DpRule(): DpRule;
858
- type DpRule = {
859
- company_id?: number;
860
- conditions: any[];
861
- dp_ids: any;
862
- is_active?: boolean;
863
- name: string;
864
- };
865
- /** @returns {DpRuleRequest} */
866
- declare function DpRuleRequest(): DpRuleRequest;
867
- type DpRuleRequest = {
868
- company_id?: number;
869
- conditions: any[];
870
- dp_ids: any;
871
- is_active?: boolean;
872
- name: string;
873
- };
874
- /** @returns {DpRuleResponse} */
875
- declare function DpRuleResponse(): DpRuleResponse;
876
- type DpRuleResponse = {
877
- company_id: number;
878
- conditions: string[];
879
- created_by?: any;
880
- created_on?: string;
881
- dp_ids: any;
882
- is_active?: boolean;
883
- modified_by?: any;
884
- modified_on?: string;
885
- name: string;
886
- uid: string;
887
- };
888
- /** @returns {DpRuleSuccessResponse} */
889
- declare function DpRuleSuccessResponse(): DpRuleSuccessResponse;
890
- type DpRuleSuccessResponse = {
891
- data: DpRule;
892
- status_code: number;
893
- success: boolean;
894
- };
895
- /** @returns {DpRulesUpdateRequest} */
896
- declare function DpRulesUpdateRequest(): DpRulesUpdateRequest;
897
- type DpRulesUpdateRequest = {
898
- conditions: any[];
899
- dp_ids: any;
900
- is_active: boolean;
901
- name: string;
902
- };
903
- /** @returns {DpRuleUpdateSuccessResponse} */
904
- declare function DpRuleUpdateSuccessResponse(): DpRuleUpdateSuccessResponse;
905
- type DpRuleUpdateSuccessResponse = {
906
- data: DpRuleResponse;
907
- status_code: number;
908
- success: boolean;
909
- };
910
- /** @returns {DpSchemaInRuleListing} */
911
- declare function DpSchemaInRuleListing(): DpSchemaInRuleListing;
912
- type DpSchemaInRuleListing = {
913
- account_id: string;
914
- dp_id: string;
915
- is_self_ship: boolean;
916
- name: string;
917
- plan_id: string;
918
- plan_rules: any;
919
- priority: number;
920
- stage: string;
921
- };
922
1241
  /** @returns {EinvoiceResponse} */
923
1242
  declare function EinvoiceResponse(): EinvoiceResponse;
924
1243
  type EinvoiceResponse = {
@@ -934,7 +1253,6 @@ type EntityRegionView_Error = {
934
1253
  /** @returns {EntityRegionView_Items} */
935
1254
  declare function EntityRegionView_Items(): EntityRegionView_Items;
936
1255
  type EntityRegionView_Items = {
937
- display_name?: string;
938
1256
  name: string;
939
1257
  sub_type: string;
940
1258
  uid: string;
@@ -957,8 +1275,8 @@ type EntityRegionView_Request = {
957
1275
  /** @returns {EntityRegionView_Response} */
958
1276
  declare function EntityRegionView_Response(): EntityRegionView_Response;
959
1277
  type EntityRegionView_Response = {
1278
+ data: EntityRegionView_Items[];
960
1279
  error: EntityRegionView_Error;
961
- items?: EntityRegionView_Items[];
962
1280
  page: EntityRegionView_page;
963
1281
  success: boolean;
964
1282
  };
@@ -985,20 +1303,47 @@ type EwayBillResponse = {
985
1303
  declare function FailureResponse(): FailureResponse;
986
1304
  type FailureResponse = {
987
1305
  error: ErrorResponse[];
988
- status_code: number;
989
1306
  success: boolean;
990
1307
  };
1308
+ /** @returns {getAppRegionZonesResponse} */
1309
+ declare function getAppRegionZonesResponse(): getAppRegionZonesResponse;
1310
+ type getAppRegionZonesResponse = {
1311
+ items: ListViewItems[];
1312
+ page: PageSchema[];
1313
+ };
991
1314
  /** @returns {GetSingleZoneDataViewResponse} */
992
1315
  declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
993
1316
  type GetSingleZoneDataViewResponse = {
994
1317
  data: GetZoneDataViewItems;
995
1318
  };
1319
+ /** @returns {GetStoreRulesApiResponse} */
1320
+ declare function GetStoreRulesApiResponse(): GetStoreRulesApiResponse;
1321
+ type GetStoreRulesApiResponse = {
1322
+ items?: StoreRuleDataSchema[];
1323
+ page?: Page;
1324
+ };
996
1325
  /** @returns {GetStoresViewResponse} */
997
1326
  declare function GetStoresViewResponse(): GetStoresViewResponse;
998
1327
  type GetStoresViewResponse = {
999
1328
  items?: ItemResponse[];
1000
1329
  page: ServiceabilityPageResponse;
1001
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
+ };
1002
1347
  /** @returns {GetZoneDataViewChannels} */
1003
1348
  declare function GetZoneDataViewChannels(): GetZoneDataViewChannels;
1004
1349
  type GetZoneDataViewChannels = {
@@ -1014,9 +1359,8 @@ type GetZoneDataViewItems = {
1014
1359
  is_active: boolean;
1015
1360
  mapping: ZoneMappingType[];
1016
1361
  name: string;
1017
- pincodes_count: number;
1018
1362
  product: ZoneProductTypes;
1019
- region_type: string;
1363
+ region_type?: string;
1020
1364
  slug: string;
1021
1365
  store_ids: number[];
1022
1366
  stores_count: number;
@@ -1046,6 +1390,11 @@ type GstCredentialsResponse = {
1046
1390
  e_invoice?: EinvoiceResponse;
1047
1391
  e_waybill?: EwayBillResponse;
1048
1392
  };
1393
+ /** @returns {IntComparisonOperations} */
1394
+ declare function IntComparisonOperations(): IntComparisonOperations;
1395
+ type IntComparisonOperations = {
1396
+ includes?: number[];
1397
+ };
1049
1398
  /** @returns {IntegrationTypeResponse} */
1050
1399
  declare function IntegrationTypeResponse(): IntegrationTypeResponse;
1051
1400
  type IntegrationTypeResponse = {
@@ -1093,12 +1442,12 @@ type ListViewChannels = {
1093
1442
  /** @returns {ListViewItems} */
1094
1443
  declare function ListViewItems(): ListViewItems;
1095
1444
  type ListViewItems = {
1096
- channels: ListViewChannels[];
1445
+ channels: ListViewChannels;
1097
1446
  company_id: number;
1098
1447
  is_active: boolean;
1099
1448
  name: string;
1100
- pincodes_count: number;
1101
1449
  product: ListViewProduct;
1450
+ regions_count: number;
1102
1451
  slug: string;
1103
1452
  stores_count: number;
1104
1453
  zone_id: string;
@@ -1113,8 +1462,7 @@ type ListViewProduct = {
1113
1462
  declare function ListViewResponse(): ListViewResponse;
1114
1463
  type ListViewResponse = {
1115
1464
  items: ListViewItems[];
1116
- page: ZoneDataItem;
1117
- summary: ListViewSummary;
1465
+ page: ZoneDataItem[];
1118
1466
  };
1119
1467
  /** @returns {ListViewSummary} */
1120
1468
  declare function ListViewSummary(): ListViewSummary;
@@ -1123,6 +1471,22 @@ type ListViewSummary = {
1123
1471
  total_pincodes_served: number;
1124
1472
  total_zones: number;
1125
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;
1485
+ name?: string;
1486
+ parent_id?: string;
1487
+ parent_ids?: string[];
1488
+ sub_type?: string;
1489
+ };
1126
1490
  /** @returns {LogisticsResponse} */
1127
1491
  declare function LogisticsResponse(): LogisticsResponse;
1128
1492
  type LogisticsResponse = {
@@ -1154,6 +1518,113 @@ type OpeningClosing = {
1154
1518
  hour?: number;
1155
1519
  minute?: number;
1156
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[];
1605
+ };
1606
+ /** @returns {PackageRuleProduct} */
1607
+ declare function PackageRuleProduct(): PackageRuleProduct;
1608
+ type PackageRuleProduct = {
1609
+ includes?: number[];
1610
+ };
1611
+ /** @returns {PackageRuleProductTag} */
1612
+ declare function PackageRuleProductTag(): PackageRuleProductTag;
1613
+ type PackageRuleProductTag = {
1614
+ includes?: string[];
1615
+ };
1616
+ /** @returns {PackageRuleResponse} */
1617
+ declare function PackageRuleResponse(): PackageRuleResponse;
1618
+ type PackageRuleResponse = {
1619
+ category_id?: PackageRuleCategory;
1620
+ company_id: number;
1621
+ id?: string;
1622
+ is_active?: boolean;
1623
+ name: string;
1624
+ product_id?: PackageRuleProduct;
1625
+ product_tag?: PackageRuleProductTag;
1626
+ type: string;
1627
+ };
1157
1628
  /** @returns {Page} */
1158
1629
  declare function Page(): Page;
1159
1630
  type Page = {
@@ -1165,6 +1636,15 @@ type Page = {
1165
1636
  size?: number;
1166
1637
  type: string;
1167
1638
  };
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;
1647
+ };
1168
1648
  /** @returns {PincodeBulkViewResponse} */
1169
1649
  declare function PincodeBulkViewResponse(): PincodeBulkViewResponse;
1170
1650
  type PincodeBulkViewResponse = {
@@ -1293,6 +1773,37 @@ type ReAssignStoreResponse = {
1293
1773
  success: boolean;
1294
1774
  to_pincode: string;
1295
1775
  };
1776
+ /** @returns {RulePriorityRequest} */
1777
+ declare function RulePriorityRequest(): RulePriorityRequest;
1778
+ type RulePriorityRequest = {
1779
+ priority: number;
1780
+ rule_id: string;
1781
+ };
1782
+ /** @returns {RulePriorityResponse} */
1783
+ declare function RulePriorityResponse(): RulePriorityResponse;
1784
+ type RulePriorityResponse = {
1785
+ success?: boolean;
1786
+ };
1787
+ /** @returns {SchemeRules} */
1788
+ declare function SchemeRules(): SchemeRules;
1789
+ type SchemeRules = {
1790
+ feature?: SchemeRulesFeatures;
1791
+ payment_mode?: string[];
1792
+ region?: string;
1793
+ transport_type?: string[];
1794
+ weight?: ArithmeticOperations;
1795
+ };
1796
+ /** @returns {SchemeRulesFeatures} */
1797
+ declare function SchemeRulesFeatures(): SchemeRulesFeatures;
1798
+ type SchemeRulesFeatures = {
1799
+ battery_operated?: boolean;
1800
+ e_waybill?: boolean;
1801
+ flammable?: boolean;
1802
+ hazmat?: boolean;
1803
+ multi_part_shipments?: boolean;
1804
+ quality_check?: boolean;
1805
+ quick_response_code?: boolean;
1806
+ };
1296
1807
  /** @returns {SelfShipResponse} */
1297
1808
  declare function SelfShipResponse(): SelfShipResponse;
1298
1809
  type SelfShipResponse = {
@@ -1306,6 +1817,18 @@ type ServiceabilityErrorResponse = {
1306
1817
  type: string;
1307
1818
  value: string;
1308
1819
  };
1820
+ /** @returns {ServiceabilityModel} */
1821
+ declare function ServiceabilityModel(): ServiceabilityModel;
1822
+ type ServiceabilityModel = {
1823
+ is_first_mile: boolean;
1824
+ is_installation: boolean;
1825
+ is_last_mile: boolean;
1826
+ is_qc: boolean;
1827
+ is_return: boolean;
1828
+ lm_cod_limit: number;
1829
+ pickup_cutoff: string;
1830
+ route_code: string;
1831
+ };
1309
1832
  /** @returns {ServiceabilityPageResponse} */
1310
1833
  declare function ServiceabilityPageResponse(): ServiceabilityPageResponse;
1311
1834
  type ServiceabilityPageResponse = {
@@ -1315,10 +1838,82 @@ type ServiceabilityPageResponse = {
1315
1838
  size?: number;
1316
1839
  type?: string;
1317
1840
  };
1318
- /** @returns {ServiceabilityPayloadSchema} */
1319
- declare function ServiceabilityPayloadSchema(): ServiceabilityPayloadSchema;
1320
- type ServiceabilityPayloadSchema = {
1321
- serviceability_type: string;
1841
+ /** @returns {StorePrioritySchema} */
1842
+ declare function StorePrioritySchema(): StorePrioritySchema;
1843
+ type StorePrioritySchema = {
1844
+ 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;
1861
+ };
1862
+ /** @returns {StoreRuleConfigData} */
1863
+ declare function StoreRuleConfigData(): StoreRuleConfigData;
1864
+ type StoreRuleConfigData = {
1865
+ rule_ids?: string[];
1866
+ sort?: string[];
1867
+ store_priority?: StorePrioritySchema[];
1868
+ tag_based_priority?: string[];
1869
+ type_based_priority?: string[];
1870
+ };
1871
+ /** @returns {StoreRuleDataSchema} */
1872
+ declare function StoreRuleDataSchema(): StoreRuleDataSchema;
1873
+ type StoreRuleDataSchema = {
1874
+ application_id?: string;
1875
+ company_id?: number;
1876
+ conditions?: StoreRuleConditionSchema;
1877
+ id?: string;
1878
+ is_active?: boolean;
1879
+ name?: string;
1880
+ sort?: string[];
1881
+ store_priority?: StorePrioritySchema[];
1882
+ tag_based_priority?: string[];
1883
+ type_based_priority?: string[];
1884
+ };
1885
+ /** @returns {StoreRuleResponseSchema} */
1886
+ declare function StoreRuleResponseSchema(): StoreRuleResponseSchema;
1887
+ type StoreRuleResponseSchema = {
1888
+ conditions?: StoreRuleConditionSchema;
1889
+ id?: string;
1890
+ is_active?: boolean;
1891
+ name?: string;
1892
+ sort?: string[];
1893
+ store_priority?: StorePrioritySchema[];
1894
+ tag_based_priority?: string[];
1895
+ type?: string;
1896
+ type_based_priority?: string[];
1897
+ };
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[];
1910
+ type?: string;
1911
+ type_based_priority?: string[];
1912
+ };
1913
+ /** @returns {StringComparisonOperations} */
1914
+ declare function StringComparisonOperations(): StringComparisonOperations;
1915
+ type StringComparisonOperations = {
1916
+ includes?: string[];
1322
1917
  };
1323
1918
  /** @returns {TimmingResponse} */
1324
1919
  declare function TimmingResponse(): TimmingResponse;
@@ -1328,6 +1923,11 @@ type TimmingResponse = {
1328
1923
  opening?: OpeningClosing;
1329
1924
  weekday?: string;
1330
1925
  };
1926
+ /** @returns {UpdateZoneConfigRequest} */
1927
+ declare function UpdateZoneConfigRequest(): UpdateZoneConfigRequest;
1928
+ type UpdateZoneConfigRequest = {
1929
+ serviceability_type?: string;
1930
+ };
1331
1931
  /** @returns {UpdateZoneData} */
1332
1932
  declare function UpdateZoneData(): UpdateZoneData;
1333
1933
  type UpdateZoneData = {
@@ -1360,6 +1960,11 @@ type Zone = {
1360
1960
  type: string;
1361
1961
  zone_id: string;
1362
1962
  };
1963
+ /** @returns {ZoneConfig} */
1964
+ declare function ZoneConfig(): ZoneConfig;
1965
+ type ZoneConfig = {
1966
+ serviceability_type?: string;
1967
+ };
1363
1968
  /** @returns {ZoneDataItem} */
1364
1969
  declare function ZoneDataItem(): ZoneDataItem;
1365
1970
  type ZoneDataItem = {
@@ -1382,12 +1987,6 @@ type ZoneProductTypes = {
1382
1987
  tags: string[];
1383
1988
  type: string;
1384
1989
  };
1385
- /** @returns {ZoneRequest} */
1386
- declare function ZoneRequest(): ZoneRequest;
1387
- type ZoneRequest = {
1388
- data: CreateZoneData;
1389
- identifier: string;
1390
- };
1391
1990
  /** @returns {ZoneResponse} */
1392
1991
  declare function ZoneResponse(): ZoneResponse;
1393
1992
  type ZoneResponse = {