@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10

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