@gofynd/fdk-client-javascript 1.1.6 → 1.2.0

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 (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -1,97 +1,1400 @@
1
- export = ServiceabilityModel;
2
- declare class ServiceabilityModel {
3
- static AddressResponse(): any;
4
- static ApplicationCompanyDpViewRequest(): any;
5
- static ApplicationCompanyDpViewResponse(): any;
6
- static ApplicationSelfShipConfig(): any;
7
- static ApplicationSelfShipConfigResponse(): any;
8
- static ApplicationServiceabilityConfig(): any;
9
- static ApplicationServiceabilityConfigResponse(): any;
10
- static CommonError(): any;
11
- static CompanyDpAccountListResponse(): any;
12
- static CompanyDpAccountRequest(): any;
13
- static CompanyDpAccountResponse(): any;
14
- static CompanyStoreView_PageItems(): any;
15
- static CompanyStoreView_Response(): any;
16
- static ContactNumberResponse(): any;
17
- static CreatedByResponse(): any;
18
- static CreateZoneData(): any;
19
- static DocumentsResponse(): any;
20
- static Dp(): any;
21
- static Dp1(): any;
22
- static DpAccountFailureResponse(): any;
23
- static DPApplicationRuleRequest(): any;
24
- static DPApplicationRuleResponse(): any;
25
- static DPCompanyRuleRequest(): any;
26
- static DPCompanyRuleResponse(): any;
27
- static DpIds(): any;
28
- static DpMultipleRuleSuccessResponse(): any;
29
- static DpRule(): any;
30
- static DpRuleRequest(): any;
31
- static DpRuleResponse(): any;
32
- static DpRuleSuccessResponse(): any;
33
- static DpRulesUpdateRequest(): any;
34
- static DpRuleUpdateSuccessResponse(): any;
35
- static DpSchemaInRuleListing(): any;
36
- static EinvoiceResponse(): any;
37
- static EntityRegionView_Error(): any;
38
- static EntityRegionView_Items(): any;
39
- static EntityRegionView_page(): any;
40
- static EntityRegionView_Request(): any;
41
- static EntityRegionView_Response(): any;
42
- static Error(): any;
43
- static ErrorResponse(): any;
44
- static EwayBillResponse(): any;
45
- static FailureResponse(): any;
46
- static GetSingleZoneDataViewResponse(): any;
47
- static GetStoresViewResponse(): any;
48
- static GetZoneDataViewChannels(): any;
49
- static GetZoneDataViewItems(): any;
50
- static GetZoneFromApplicationIdViewResponse(): any;
51
- static GetZoneFromPincodeViewRequest(): any;
52
- static GetZoneFromPincodeViewResponse(): any;
53
- static GstCredentialsResponse(): any;
54
- static IntegrationTypeResponse(): any;
55
- static ItemResponse(): any;
56
- static ListViewChannels(): any;
57
- static ListViewItems(): any;
58
- static ListViewProduct(): any;
59
- static ListViewResponse(): any;
60
- static ListViewSummary(): any;
61
- static LogisticsResponse(): any;
62
- static ManagerResponse(): any;
63
- static MobileNo(): any;
64
- static ModifiedByResponse(): any;
65
- static OpeningClosing(): any;
66
- static Page(): any;
67
- static PincodeBulkViewResponse(): any;
68
- static PincodeCodStatusListingPage(): any;
69
- static PincodeCodStatusListingRequest(): any;
70
- static PincodeCodStatusListingResponse(): any;
71
- static PincodeCodStatusListingSummary(): any;
72
- static PincodeMopBulkData(): any;
73
- static PincodeMopData(): any;
74
- static PincodeMOPresponse(): any;
75
- static PincodeMopUpdateAuditHistoryPaging(): any;
76
- static PincodeMopUpdateAuditHistoryRequest(): any;
77
- static PincodeMopUpdateAuditHistoryResponse(): any;
78
- static PincodeMopUpdateAuditHistoryResponseData(): any;
79
- static PincodeMopUpdateResponse(): any;
80
- static ProductReturnConfigResponse(): any;
81
- static ReAssignStoreRequest(): any;
82
- static ReAssignStoreResponse(): any;
83
- static SelfShipResponse(): any;
84
- static ServiceabilityErrorResponse(): any;
85
- static ServiceabilityPageResponse(): any;
86
- static TimmingResponse(): any;
87
- static UpdateZoneData(): any;
88
- static WarningsResponse(): any;
89
- static Zone(): any;
90
- static ZoneDataItem(): any;
91
- static ZoneMappingType(): any;
92
- static ZoneProductTypes(): any;
93
- static ZoneRequest(): any;
94
- static ZoneResponse(): any;
95
- static ZoneSuccessResponse(): any;
96
- static ZoneUpdateRequest(): any;
1
+ export = ServiceabilityPlatformModel;
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 ApplicationCompanyDpViewRequest
16
+ * @property {string} [dp_id]
17
+ */
18
+ /**
19
+ * @typedef ApplicationCompanyDpViewResponse
20
+ * @property {string} application_id
21
+ * @property {number} company_id
22
+ * @property {number} [courier_partner_id]
23
+ * @property {boolean} success
24
+ */
25
+ /**
26
+ * @typedef ApplicationSelfShipConfig
27
+ * @property {SelfShipResponse} [self_ship]
28
+ */
29
+ /**
30
+ * @typedef ApplicationSelfShipConfigResponse
31
+ * @property {ApplicationSelfShipConfig} [data]
32
+ * @property {ServiceabilityErrorResponse} [error]
33
+ * @property {boolean} success
34
+ */
35
+ /**
36
+ * @typedef ApplicationServiceabilityConfig
37
+ * @property {string} channel_id
38
+ * @property {string} channel_type
39
+ * @property {string} serviceability_type
40
+ */
41
+ /**
42
+ * @typedef ApplicationServiceabilityConfigResponse
43
+ * @property {ApplicationServiceabilityConfig} [data]
44
+ * @property {ServiceabilityErrorResponse} [error]
45
+ * @property {boolean} success
46
+ */
47
+ /**
48
+ * @typedef CommonError
49
+ * @property {Object} [error]
50
+ * @property {string} [status_code]
51
+ * @property {string} [success]
52
+ */
53
+ /**
54
+ * @typedef CompanyDpAccountListResponse
55
+ * @property {Dp1[]} items
56
+ * @property {Page} page
57
+ * @property {boolean} success
58
+ */
59
+ /**
60
+ * @typedef CompanyDpAccountRequest
61
+ * @property {Dp1[]} data
62
+ */
63
+ /**
64
+ * @typedef CompanyDpAccountResponse
65
+ * @property {boolean} success
66
+ */
67
+ /**
68
+ * @typedef CompanyStoreView_PageItems
69
+ * @property {number} current
70
+ * @property {boolean} has_next
71
+ * @property {number} item_total
72
+ * @property {number} size
73
+ * @property {string} type
74
+ */
75
+ /**
76
+ * @typedef CompanyStoreView_Response
77
+ * @property {Object[]} [items]
78
+ * @property {CompanyStoreView_PageItems[]} page
79
+ */
80
+ /**
81
+ * @typedef ContactNumberResponse
82
+ * @property {number} [country_code]
83
+ * @property {string} [number]
84
+ */
85
+ /**
86
+ * @typedef CreatedByResponse
87
+ * @property {string} [user_id]
88
+ * @property {string} [username]
89
+ */
90
+ /**
91
+ * @typedef CreateZoneData
92
+ * @property {string} [assignment_preference]
93
+ * @property {GetZoneDataViewChannels[]} channels
94
+ * @property {number} company_id
95
+ * @property {boolean} is_active
96
+ * @property {ZoneMappingType[]} mapping
97
+ * @property {string} name
98
+ * @property {ZoneProductTypes} product
99
+ * @property {string} region_type
100
+ * @property {string} slug
101
+ * @property {number[]} store_ids
102
+ */
103
+ /**
104
+ * @typedef DocumentsResponse
105
+ * @property {string} [legal_name]
106
+ * @property {string} [type]
107
+ * @property {string} [value]
108
+ * @property {boolean} [verified]
109
+ */
110
+ /**
111
+ * @typedef Dp
112
+ * @property {number} [area_code]
113
+ * @property {boolean} [assign_dp_from_sb]
114
+ * @property {string} [external_account_id]
115
+ * @property {number} [fm_priority]
116
+ * @property {string} [internal_account_id]
117
+ * @property {number} [lm_priority]
118
+ * @property {string[]} [operations]
119
+ * @property {string} [payment_mode]
120
+ * @property {number} [rvp_priority]
121
+ * @property {string} [transport_mode]
122
+ */
123
+ /**
124
+ * @typedef Dp1
125
+ * @property {string} account_id
126
+ * @property {string} dp_id
127
+ * @property {boolean} is_self_ship
128
+ * @property {string} name
129
+ * @property {string} plan_id
130
+ * @property {Object} plan_rules
131
+ * @property {string} stage
132
+ */
133
+ /**
134
+ * @typedef DpAccountFailureResponse
135
+ * @property {ErrorResponse[]} error
136
+ * @property {number} status_code
137
+ * @property {boolean} success
138
+ */
139
+ /**
140
+ * @typedef DPApplicationRuleRequest
141
+ * @property {string[]} shipping_rules
142
+ */
143
+ /**
144
+ * @typedef DPApplicationRuleResponse
145
+ * @property {DpRuleResponse[]} data
146
+ * @property {boolean} status_code
147
+ * @property {boolean} success
148
+ */
149
+ /**
150
+ * @typedef DPCompanyRuleRequest
151
+ * @property {string[]} rule_ids
152
+ */
153
+ /**
154
+ * @typedef DPCompanyRuleResponse
155
+ * @property {DpRuleResponse[]} data
156
+ * @property {number} status_code
157
+ * @property {boolean} success
158
+ */
159
+ /**
160
+ * @typedef DpIds
161
+ * @property {boolean} enabled
162
+ * @property {Object} [meta]
163
+ * @property {number} priority
164
+ */
165
+ /**
166
+ * @typedef DpMultipleRuleSuccessResponse
167
+ * @property {DpRule[]} items
168
+ * @property {Page} page
169
+ * @property {boolean} success
170
+ */
171
+ /**
172
+ * @typedef DpRule
173
+ * @property {number} [company_id]
174
+ * @property {Object[]} conditions
175
+ * @property {Object} dp_ids
176
+ * @property {boolean} [is_active]
177
+ * @property {string} name
178
+ */
179
+ /**
180
+ * @typedef DpRuleRequest
181
+ * @property {number} [company_id]
182
+ * @property {Object[]} conditions
183
+ * @property {Object} dp_ids
184
+ * @property {boolean} [is_active]
185
+ * @property {string} name
186
+ */
187
+ /**
188
+ * @typedef DpRuleResponse
189
+ * @property {number} company_id
190
+ * @property {string[]} conditions
191
+ * @property {Object} [created_by]
192
+ * @property {string} [created_on]
193
+ * @property {Object} dp_ids
194
+ * @property {boolean} [is_active]
195
+ * @property {Object} [modified_by]
196
+ * @property {string} [modified_on]
197
+ * @property {string} name
198
+ * @property {string} uid
199
+ */
200
+ /**
201
+ * @typedef DpRuleSuccessResponse
202
+ * @property {DpRule} data
203
+ * @property {number} status_code
204
+ * @property {boolean} success
205
+ */
206
+ /**
207
+ * @typedef DpRulesUpdateRequest
208
+ * @property {Object[]} conditions
209
+ * @property {Object} dp_ids
210
+ * @property {boolean} is_active
211
+ * @property {string} name
212
+ */
213
+ /**
214
+ * @typedef DpRuleUpdateSuccessResponse
215
+ * @property {DpRuleResponse} data
216
+ * @property {number} status_code
217
+ * @property {boolean} success
218
+ */
219
+ /**
220
+ * @typedef DpSchemaInRuleListing
221
+ * @property {string} account_id
222
+ * @property {string} dp_id
223
+ * @property {boolean} is_self_ship
224
+ * @property {string} name
225
+ * @property {string} plan_id
226
+ * @property {Object} plan_rules
227
+ * @property {number} priority
228
+ * @property {string} stage
229
+ */
230
+ /**
231
+ * @typedef EinvoiceResponse
232
+ * @property {boolean} [enabled]
233
+ */
234
+ /**
235
+ * @typedef EntityRegionView_Error
236
+ * @property {string} [message]
237
+ * @property {string} [type]
238
+ * @property {string} [value]
239
+ */
240
+ /**
241
+ * @typedef EntityRegionView_Items
242
+ * @property {string} [display_name]
243
+ * @property {string} name
244
+ * @property {string} sub_type
245
+ * @property {string} uid
246
+ */
247
+ /**
248
+ * @typedef EntityRegionView_page
249
+ * @property {number} current
250
+ * @property {boolean} has_next
251
+ * @property {number} item_total
252
+ * @property {number} size
253
+ * @property {string} type
254
+ */
255
+ /**
256
+ * @typedef EntityRegionView_Request
257
+ * @property {string[]} [parent_id]
258
+ * @property {string[]} sub_type
259
+ */
260
+ /**
261
+ * @typedef EntityRegionView_Response
262
+ * @property {EntityRegionView_Error} error
263
+ * @property {EntityRegionView_Items[]} [items]
264
+ * @property {EntityRegionView_page} page
265
+ * @property {boolean} success
266
+ */
267
+ /**
268
+ * @typedef Error
269
+ * @property {string} [message]
270
+ * @property {string} [type]
271
+ * @property {string} [value]
272
+ */
273
+ /**
274
+ * @typedef ErrorResponse
275
+ * @property {string} message
276
+ * @property {string} type
277
+ * @property {string} value
278
+ */
279
+ /**
280
+ * @typedef EwayBillResponse
281
+ * @property {boolean} [enabled]
282
+ */
283
+ /**
284
+ * @typedef FailureResponse
285
+ * @property {ErrorResponse[]} error
286
+ * @property {number} status_code
287
+ * @property {boolean} success
288
+ */
289
+ /**
290
+ * @typedef GetSingleZoneDataViewResponse
291
+ * @property {GetZoneDataViewItems} data
292
+ */
293
+ /**
294
+ * @typedef GetStoresViewResponse
295
+ * @property {ItemResponse[]} [items]
296
+ * @property {ServiceabilityPageResponse} page
297
+ */
298
+ /**
299
+ * @typedef GetZoneDataViewChannels
300
+ * @property {string} channel_id
301
+ * @property {string} channel_type
302
+ */
303
+ /**
304
+ * @typedef GetZoneDataViewItems
305
+ * @property {string} [assignment_preference]
306
+ * @property {GetZoneDataViewChannels[]} channels
307
+ * @property {number} [company_id]
308
+ * @property {boolean} is_active
309
+ * @property {ZoneMappingType[]} mapping
310
+ * @property {string} name
311
+ * @property {number} pincodes_count
312
+ * @property {ZoneProductTypes} product
313
+ * @property {string} region_type
314
+ * @property {string} slug
315
+ * @property {number[]} store_ids
316
+ * @property {number} stores_count
317
+ * @property {string} zone_id
318
+ */
319
+ /**
320
+ * @typedef GetZoneFromApplicationIdViewResponse
321
+ * @property {ListViewItems[]} items
322
+ * @property {ZoneDataItem[]} page
323
+ */
324
+ /**
325
+ * @typedef GetZoneFromPincodeViewRequest
326
+ * @property {string} country
327
+ * @property {string} pincode
328
+ */
329
+ /**
330
+ * @typedef GetZoneFromPincodeViewResponse
331
+ * @property {string} serviceability_type
332
+ * @property {Zone[]} zones
333
+ */
334
+ /**
335
+ * @typedef GstCredentialsResponse
336
+ * @property {EinvoiceResponse} [e_invoice]
337
+ * @property {EwayBillResponse} [e_waybill]
338
+ */
339
+ /**
340
+ * @typedef IntegrationTypeResponse
341
+ * @property {string} [inventory]
342
+ * @property {string} [order]
343
+ */
344
+ /**
345
+ * @typedef ItemResponse
346
+ * @property {string} [_cls]
347
+ * @property {Object} [_custom_json]
348
+ * @property {AddressResponse} [address]
349
+ * @property {string} [code]
350
+ * @property {number} [company]
351
+ * @property {number} [company_id]
352
+ * @property {ContactNumberResponse[]} [contact_numbers]
353
+ * @property {CreatedByResponse} [created_by]
354
+ * @property {string} [created_on]
355
+ * @property {string} [display_name]
356
+ * @property {DocumentsResponse[]} [documents]
357
+ * @property {GstCredentialsResponse} [gst_credentials]
358
+ * @property {IntegrationTypeResponse} [integration_type]
359
+ * @property {LogisticsResponse} [logistics]
360
+ * @property {ManagerResponse} [manager]
361
+ * @property {ModifiedByResponse} [modified_by]
362
+ * @property {string} [modified_on]
363
+ * @property {string} [name]
364
+ * @property {string[]} [notification_emails]
365
+ * @property {ProductReturnConfigResponse} [product_return_config]
366
+ * @property {string} [stage]
367
+ * @property {string} [store_type]
368
+ * @property {string} [sub_type]
369
+ * @property {TimmingResponse[]} [timing]
370
+ * @property {number} [uid]
371
+ * @property {ModifiedByResponse} [verified_by]
372
+ * @property {string} [verified_on]
373
+ * @property {WarningsResponse} [warnings]
374
+ */
375
+ /**
376
+ * @typedef ListViewChannels
377
+ * @property {string} channel_id
378
+ * @property {string} channel_type
379
+ */
380
+ /**
381
+ * @typedef ListViewItems
382
+ * @property {ListViewChannels[]} channels
383
+ * @property {number} company_id
384
+ * @property {boolean} is_active
385
+ * @property {string} name
386
+ * @property {number} pincodes_count
387
+ * @property {ListViewProduct} product
388
+ * @property {string} slug
389
+ * @property {number} stores_count
390
+ * @property {string} zone_id
391
+ */
392
+ /**
393
+ * @typedef ListViewProduct
394
+ * @property {number} count
395
+ * @property {string} type
396
+ */
397
+ /**
398
+ * @typedef ListViewResponse
399
+ * @property {ListViewItems[]} items
400
+ * @property {ZoneDataItem} page
401
+ * @property {ListViewSummary} summary
402
+ */
403
+ /**
404
+ * @typedef ListViewSummary
405
+ * @property {number} total_active_zones
406
+ * @property {number} total_pincodes_served
407
+ * @property {number} total_zones
408
+ */
409
+ /**
410
+ * @typedef LogisticsResponse
411
+ * @property {Dp} [dp]
412
+ * @property {boolean} [override]
413
+ */
414
+ /**
415
+ * @typedef ManagerResponse
416
+ * @property {string} [email]
417
+ * @property {MobileNo} [mobile_no]
418
+ * @property {string} [name]
419
+ */
420
+ /**
421
+ * @typedef MobileNo
422
+ * @property {number} [country_code]
423
+ * @property {string} [number]
424
+ */
425
+ /**
426
+ * @typedef ModifiedByResponse
427
+ * @property {string} [user_id]
428
+ * @property {string} [username]
429
+ */
430
+ /**
431
+ * @typedef OpeningClosing
432
+ * @property {number} [hour]
433
+ * @property {number} [minute]
434
+ */
435
+ /**
436
+ * @typedef Page
437
+ * @property {number} [current]
438
+ * @property {boolean} [has_next]
439
+ * @property {boolean} [has_previous]
440
+ * @property {number} [item_total]
441
+ * @property {string} [next_id]
442
+ * @property {number} [size]
443
+ * @property {string} type
444
+ */
445
+ /**
446
+ * @typedef PincodeBulkViewResponse
447
+ * @property {string} batch_id
448
+ * @property {string} s3_url
449
+ */
450
+ /**
451
+ * @typedef PincodeCodStatusListingPage
452
+ * @property {number} current
453
+ * @property {boolean} has_next
454
+ * @property {number} item_total
455
+ * @property {number} size
456
+ * @property {string} type
457
+ */
458
+ /**
459
+ * @typedef PincodeCodStatusListingRequest
460
+ * @property {string} [country]
461
+ * @property {number} [current]
462
+ * @property {boolean} [is_active]
463
+ * @property {number} [page_size]
464
+ * @property {number} [pincode]
465
+ */
466
+ /**
467
+ * @typedef PincodeCodStatusListingResponse
468
+ * @property {string} country
469
+ * @property {PincodeCodStatusListingResponse[]} data
470
+ * @property {Error[]} [errors]
471
+ * @property {PincodeCodStatusListingPage} page
472
+ * @property {boolean} success
473
+ * @property {PincodeCodStatusListingSummary} summary
474
+ */
475
+ /**
476
+ * @typedef PincodeCodStatusListingSummary
477
+ * @property {number} total_active_pincodes
478
+ * @property {number} total_inactive_pincodes
479
+ */
480
+ /**
481
+ * @typedef PincodeMopBulkData
482
+ * @property {string} batch_id
483
+ * @property {string} s3_url
484
+ */
485
+ /**
486
+ * @typedef PincodeMopData
487
+ * @property {string} action
488
+ * @property {string} country
489
+ * @property {number[]} pincodes
490
+ */
491
+ /**
492
+ * @typedef PincodeMOPresponse
493
+ * @property {string} action
494
+ * @property {string} batch_id
495
+ * @property {string} country
496
+ * @property {number[]} [pincodes]
497
+ * @property {number} status_code
498
+ * @property {boolean} success
499
+ * @property {PincodeMopUpdateResponse[]} [updated_pincodes]
500
+ */
501
+ /**
502
+ * @typedef PincodeMopUpdateAuditHistoryPaging
503
+ * @property {number} [current]
504
+ * @property {boolean} [has_next]
505
+ * @property {number} [item_total]
506
+ * @property {number} [size]
507
+ * @property {string} [type]
508
+ */
509
+ /**
510
+ * @typedef PincodeMopUpdateAuditHistoryRequest
511
+ * @property {string} entity_type
512
+ * @property {string} [file_name]
513
+ */
514
+ /**
515
+ * @typedef PincodeMopUpdateAuditHistoryResponse
516
+ * @property {string} [batch_id]
517
+ * @property {string} [entity_type]
518
+ * @property {string} [error_file_s3_url]
519
+ * @property {string} [file_name]
520
+ * @property {string} [s3_url]
521
+ * @property {boolean} [success]
522
+ * @property {string} [updated_at]
523
+ * @property {string} [updated_by]
524
+ */
525
+ /**
526
+ * @typedef PincodeMopUpdateAuditHistoryResponseData
527
+ * @property {PincodeMopUpdateAuditHistoryResponse[]} data
528
+ * @property {string} [entity_type]
529
+ * @property {PincodeMopUpdateAuditHistoryPaging} page
530
+ */
531
+ /**
532
+ * @typedef PincodeMopUpdateResponse
533
+ * @property {string} channel_id
534
+ * @property {string} country
535
+ * @property {boolean} is_active
536
+ * @property {number} pincode
537
+ */
538
+ /**
539
+ * @typedef ProductReturnConfigResponse
540
+ * @property {boolean} [on_same_store]
541
+ */
542
+ /**
543
+ * @typedef ReAssignStoreRequest
544
+ * @property {Object[]} articles
545
+ * @property {Object} configuration
546
+ * @property {string} identifier
547
+ * @property {string[]} ignored_locations
548
+ * @property {string} to_pincode
549
+ */
550
+ /**
551
+ * @typedef ReAssignStoreResponse
552
+ * @property {Object[]} [articles]
553
+ * @property {Object} error
554
+ * @property {boolean} success
555
+ * @property {string} to_pincode
556
+ */
557
+ /**
558
+ * @typedef SelfShipResponse
559
+ * @property {boolean} is_active
560
+ * @property {number} tat
561
+ */
562
+ /**
563
+ * @typedef ServiceabilityErrorResponse
564
+ * @property {string} message
565
+ * @property {string} type
566
+ * @property {string} value
567
+ */
568
+ /**
569
+ * @typedef ServiceabilityPageResponse
570
+ * @property {number} [current]
571
+ * @property {boolean} [has_next]
572
+ * @property {number} [item_total]
573
+ * @property {number} [size]
574
+ * @property {string} [type]
575
+ */
576
+ /**
577
+ * @typedef TimmingResponse
578
+ * @property {OpeningClosing} [closing]
579
+ * @property {boolean} [open]
580
+ * @property {OpeningClosing} [opening]
581
+ * @property {string} [weekday]
582
+ */
583
+ /**
584
+ * @typedef UpdateZoneData
585
+ * @property {string} [assignment_preference]
586
+ * @property {GetZoneDataViewChannels[]} channels
587
+ * @property {number} company_id
588
+ * @property {boolean} is_active
589
+ * @property {ZoneMappingType[]} mapping
590
+ * @property {string} name
591
+ * @property {ZoneProductTypes} product
592
+ * @property {string} region_type
593
+ * @property {string} slug
594
+ * @property {number[]} store_ids
595
+ * @property {string} zone_id
596
+ */
597
+ /**
598
+ * @typedef WarningsResponse
599
+ * @property {string} [store_address]
600
+ */
601
+ /**
602
+ * @typedef Zone
603
+ * @property {string} assignment_preference
604
+ * @property {boolean} is_active
605
+ * @property {string} name
606
+ * @property {string} slug
607
+ * @property {number[]} store_ids
608
+ * @property {string[]} tags
609
+ * @property {string} type
610
+ * @property {string} zone_id
611
+ */
612
+ /**
613
+ * @typedef ZoneDataItem
614
+ * @property {number} current
615
+ * @property {boolean} has_next
616
+ * @property {number} item_total
617
+ * @property {number} size
618
+ * @property {string} type
619
+ */
620
+ /**
621
+ * @typedef ZoneMappingType
622
+ * @property {string} country
623
+ * @property {string[]} [pincode]
624
+ * @property {string[]} [state]
625
+ */
626
+ /**
627
+ * @typedef ZoneProductTypes
628
+ * @property {string[]} tags
629
+ * @property {string} type
630
+ */
631
+ /**
632
+ * @typedef ZoneRequest
633
+ * @property {CreateZoneData} data
634
+ * @property {string} identifier
635
+ */
636
+ /**
637
+ * @typedef ZoneResponse
638
+ * @property {number} status_code
639
+ * @property {boolean} success
640
+ * @property {string} zone_id
641
+ */
642
+ /**
643
+ * @typedef ZoneSuccessResponse
644
+ * @property {number} status_code
645
+ * @property {boolean} success
646
+ */
647
+ /**
648
+ * @typedef ZoneUpdateRequest
649
+ * @property {UpdateZoneData} data
650
+ * @property {string} identifier
651
+ */
652
+ declare class ServiceabilityPlatformModel {
97
653
  }
654
+ declare namespace ServiceabilityPlatformModel {
655
+ export { AddressResponse, ApplicationCompanyDpViewRequest, ApplicationCompanyDpViewResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, CommonError, CompanyDpAccountListResponse, CompanyDpAccountRequest, CompanyDpAccountResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, ContactNumberResponse, CreatedByResponse, CreateZoneData, DocumentsResponse, Dp, Dp1, DpAccountFailureResponse, DPApplicationRuleRequest, DPApplicationRuleResponse, DPCompanyRuleRequest, DPCompanyRuleResponse, DpIds, DpMultipleRuleSuccessResponse, DpRule, DpRuleRequest, DpRuleResponse, DpRuleSuccessResponse, DpRulesUpdateRequest, DpRuleUpdateSuccessResponse, DpSchemaInRuleListing, EinvoiceResponse, EntityRegionView_Error, EntityRegionView_Items, EntityRegionView_page, EntityRegionView_Request, EntityRegionView_Response, Error, ErrorResponse, EwayBillResponse, FailureResponse, GetSingleZoneDataViewResponse, GetStoresViewResponse, GetZoneDataViewChannels, GetZoneDataViewItems, GetZoneFromApplicationIdViewResponse, GetZoneFromPincodeViewRequest, GetZoneFromPincodeViewResponse, GstCredentialsResponse, IntegrationTypeResponse, ItemResponse, ListViewChannels, ListViewItems, ListViewProduct, ListViewResponse, ListViewSummary, LogisticsResponse, ManagerResponse, MobileNo, ModifiedByResponse, OpeningClosing, Page, PincodeBulkViewResponse, PincodeCodStatusListingPage, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, PincodeCodStatusListingSummary, PincodeMopBulkData, PincodeMopData, PincodeMOPresponse, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, PincodeMopUpdateResponse, ProductReturnConfigResponse, ReAssignStoreRequest, ReAssignStoreResponse, SelfShipResponse, ServiceabilityErrorResponse, ServiceabilityPageResponse, TimmingResponse, UpdateZoneData, WarningsResponse, Zone, ZoneDataItem, ZoneMappingType, ZoneProductTypes, ZoneRequest, ZoneResponse, ZoneSuccessResponse, ZoneUpdateRequest };
656
+ }
657
+ /** @returns {AddressResponse} */
658
+ declare function AddressResponse(): AddressResponse;
659
+ type AddressResponse = {
660
+ address1?: string;
661
+ address2?: string;
662
+ city?: string;
663
+ country?: string;
664
+ landmark?: string;
665
+ latitude?: number;
666
+ longitude?: number;
667
+ pincode?: number;
668
+ state?: string;
669
+ };
670
+ /** @returns {ApplicationCompanyDpViewRequest} */
671
+ declare function ApplicationCompanyDpViewRequest(): ApplicationCompanyDpViewRequest;
672
+ type ApplicationCompanyDpViewRequest = {
673
+ dp_id?: string;
674
+ };
675
+ /** @returns {ApplicationCompanyDpViewResponse} */
676
+ declare function ApplicationCompanyDpViewResponse(): ApplicationCompanyDpViewResponse;
677
+ type ApplicationCompanyDpViewResponse = {
678
+ application_id: string;
679
+ company_id: number;
680
+ courier_partner_id?: number;
681
+ success: boolean;
682
+ };
683
+ /** @returns {ApplicationSelfShipConfig} */
684
+ declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
685
+ type ApplicationSelfShipConfig = {
686
+ self_ship?: SelfShipResponse;
687
+ };
688
+ /** @returns {ApplicationSelfShipConfigResponse} */
689
+ declare function ApplicationSelfShipConfigResponse(): ApplicationSelfShipConfigResponse;
690
+ type ApplicationSelfShipConfigResponse = {
691
+ data?: ApplicationSelfShipConfig;
692
+ error?: ServiceabilityErrorResponse;
693
+ success: boolean;
694
+ };
695
+ /** @returns {ApplicationServiceabilityConfig} */
696
+ declare function ApplicationServiceabilityConfig(): ApplicationServiceabilityConfig;
697
+ type ApplicationServiceabilityConfig = {
698
+ channel_id: string;
699
+ channel_type: string;
700
+ serviceability_type: string;
701
+ };
702
+ /** @returns {ApplicationServiceabilityConfigResponse} */
703
+ declare function ApplicationServiceabilityConfigResponse(): ApplicationServiceabilityConfigResponse;
704
+ type ApplicationServiceabilityConfigResponse = {
705
+ data?: ApplicationServiceabilityConfig;
706
+ error?: ServiceabilityErrorResponse;
707
+ success: boolean;
708
+ };
709
+ /** @returns {CommonError} */
710
+ declare function CommonError(): CommonError;
711
+ type CommonError = {
712
+ error?: any;
713
+ status_code?: string;
714
+ success?: string;
715
+ };
716
+ /** @returns {CompanyDpAccountListResponse} */
717
+ declare function CompanyDpAccountListResponse(): CompanyDpAccountListResponse;
718
+ type CompanyDpAccountListResponse = {
719
+ items: Dp1[];
720
+ page: Page;
721
+ success: boolean;
722
+ };
723
+ /** @returns {CompanyDpAccountRequest} */
724
+ declare function CompanyDpAccountRequest(): CompanyDpAccountRequest;
725
+ type CompanyDpAccountRequest = {
726
+ data: Dp1[];
727
+ };
728
+ /** @returns {CompanyDpAccountResponse} */
729
+ declare function CompanyDpAccountResponse(): CompanyDpAccountResponse;
730
+ type CompanyDpAccountResponse = {
731
+ success: boolean;
732
+ };
733
+ /** @returns {CompanyStoreView_PageItems} */
734
+ declare function CompanyStoreView_PageItems(): CompanyStoreView_PageItems;
735
+ type CompanyStoreView_PageItems = {
736
+ current: number;
737
+ has_next: boolean;
738
+ item_total: number;
739
+ size: number;
740
+ type: string;
741
+ };
742
+ /** @returns {CompanyStoreView_Response} */
743
+ declare function CompanyStoreView_Response(): CompanyStoreView_Response;
744
+ type CompanyStoreView_Response = {
745
+ items?: any[];
746
+ page: CompanyStoreView_PageItems[];
747
+ };
748
+ /** @returns {ContactNumberResponse} */
749
+ declare function ContactNumberResponse(): ContactNumberResponse;
750
+ type ContactNumberResponse = {
751
+ country_code?: number;
752
+ number?: string;
753
+ };
754
+ /** @returns {CreatedByResponse} */
755
+ declare function CreatedByResponse(): CreatedByResponse;
756
+ type CreatedByResponse = {
757
+ user_id?: string;
758
+ username?: string;
759
+ };
760
+ /** @returns {CreateZoneData} */
761
+ declare function CreateZoneData(): CreateZoneData;
762
+ type CreateZoneData = {
763
+ assignment_preference?: string;
764
+ channels: GetZoneDataViewChannels[];
765
+ company_id: number;
766
+ is_active: boolean;
767
+ mapping: ZoneMappingType[];
768
+ name: string;
769
+ product: ZoneProductTypes;
770
+ region_type: string;
771
+ slug: string;
772
+ store_ids: number[];
773
+ };
774
+ /** @returns {DocumentsResponse} */
775
+ declare function DocumentsResponse(): DocumentsResponse;
776
+ type DocumentsResponse = {
777
+ legal_name?: string;
778
+ type?: string;
779
+ value?: string;
780
+ verified?: boolean;
781
+ };
782
+ /** @returns {Dp} */
783
+ declare function Dp(): Dp;
784
+ type Dp = {
785
+ area_code?: number;
786
+ assign_dp_from_sb?: boolean;
787
+ external_account_id?: string;
788
+ fm_priority?: number;
789
+ internal_account_id?: string;
790
+ lm_priority?: number;
791
+ operations?: string[];
792
+ payment_mode?: string;
793
+ rvp_priority?: number;
794
+ transport_mode?: string;
795
+ };
796
+ /** @returns {Dp1} */
797
+ declare function Dp1(): Dp1;
798
+ type Dp1 = {
799
+ account_id: string;
800
+ dp_id: string;
801
+ is_self_ship: boolean;
802
+ name: string;
803
+ plan_id: string;
804
+ plan_rules: any;
805
+ stage: string;
806
+ };
807
+ /** @returns {DpAccountFailureResponse} */
808
+ declare function DpAccountFailureResponse(): DpAccountFailureResponse;
809
+ type DpAccountFailureResponse = {
810
+ error: ErrorResponse[];
811
+ status_code: number;
812
+ success: boolean;
813
+ };
814
+ /** @returns {DPApplicationRuleRequest} */
815
+ declare function DPApplicationRuleRequest(): DPApplicationRuleRequest;
816
+ type DPApplicationRuleRequest = {
817
+ shipping_rules: string[];
818
+ };
819
+ /** @returns {DPApplicationRuleResponse} */
820
+ declare function DPApplicationRuleResponse(): DPApplicationRuleResponse;
821
+ type DPApplicationRuleResponse = {
822
+ data: DpRuleResponse[];
823
+ status_code: boolean;
824
+ success: boolean;
825
+ };
826
+ /** @returns {DPCompanyRuleRequest} */
827
+ declare function DPCompanyRuleRequest(): DPCompanyRuleRequest;
828
+ type DPCompanyRuleRequest = {
829
+ rule_ids: string[];
830
+ };
831
+ /** @returns {DPCompanyRuleResponse} */
832
+ declare function DPCompanyRuleResponse(): DPCompanyRuleResponse;
833
+ type DPCompanyRuleResponse = {
834
+ data: DpRuleResponse[];
835
+ status_code: number;
836
+ success: boolean;
837
+ };
838
+ /** @returns {DpIds} */
839
+ declare function DpIds(): DpIds;
840
+ type DpIds = {
841
+ enabled: boolean;
842
+ meta?: any;
843
+ priority: number;
844
+ };
845
+ /** @returns {DpMultipleRuleSuccessResponse} */
846
+ declare function DpMultipleRuleSuccessResponse(): DpMultipleRuleSuccessResponse;
847
+ type DpMultipleRuleSuccessResponse = {
848
+ items: DpRule[];
849
+ page: Page;
850
+ success: boolean;
851
+ };
852
+ /** @returns {DpRule} */
853
+ declare function DpRule(): DpRule;
854
+ type DpRule = {
855
+ company_id?: number;
856
+ conditions: any[];
857
+ dp_ids: any;
858
+ is_active?: boolean;
859
+ name: string;
860
+ };
861
+ /** @returns {DpRuleRequest} */
862
+ declare function DpRuleRequest(): DpRuleRequest;
863
+ type DpRuleRequest = {
864
+ company_id?: number;
865
+ conditions: any[];
866
+ dp_ids: any;
867
+ is_active?: boolean;
868
+ name: string;
869
+ };
870
+ /** @returns {DpRuleResponse} */
871
+ declare function DpRuleResponse(): DpRuleResponse;
872
+ type DpRuleResponse = {
873
+ company_id: number;
874
+ conditions: string[];
875
+ created_by?: any;
876
+ created_on?: string;
877
+ dp_ids: any;
878
+ is_active?: boolean;
879
+ modified_by?: any;
880
+ modified_on?: string;
881
+ name: string;
882
+ uid: string;
883
+ };
884
+ /** @returns {DpRuleSuccessResponse} */
885
+ declare function DpRuleSuccessResponse(): DpRuleSuccessResponse;
886
+ type DpRuleSuccessResponse = {
887
+ data: DpRule;
888
+ status_code: number;
889
+ success: boolean;
890
+ };
891
+ /** @returns {DpRulesUpdateRequest} */
892
+ declare function DpRulesUpdateRequest(): DpRulesUpdateRequest;
893
+ type DpRulesUpdateRequest = {
894
+ conditions: any[];
895
+ dp_ids: any;
896
+ is_active: boolean;
897
+ name: string;
898
+ };
899
+ /** @returns {DpRuleUpdateSuccessResponse} */
900
+ declare function DpRuleUpdateSuccessResponse(): DpRuleUpdateSuccessResponse;
901
+ type DpRuleUpdateSuccessResponse = {
902
+ data: DpRuleResponse;
903
+ status_code: number;
904
+ success: boolean;
905
+ };
906
+ /** @returns {DpSchemaInRuleListing} */
907
+ declare function DpSchemaInRuleListing(): DpSchemaInRuleListing;
908
+ type DpSchemaInRuleListing = {
909
+ account_id: string;
910
+ dp_id: string;
911
+ is_self_ship: boolean;
912
+ name: string;
913
+ plan_id: string;
914
+ plan_rules: any;
915
+ priority: number;
916
+ stage: string;
917
+ };
918
+ /** @returns {EinvoiceResponse} */
919
+ declare function EinvoiceResponse(): EinvoiceResponse;
920
+ type EinvoiceResponse = {
921
+ enabled?: boolean;
922
+ };
923
+ /** @returns {EntityRegionView_Error} */
924
+ declare function EntityRegionView_Error(): EntityRegionView_Error;
925
+ type EntityRegionView_Error = {
926
+ message?: string;
927
+ type?: string;
928
+ value?: string;
929
+ };
930
+ /** @returns {EntityRegionView_Items} */
931
+ declare function EntityRegionView_Items(): EntityRegionView_Items;
932
+ type EntityRegionView_Items = {
933
+ display_name?: string;
934
+ name: string;
935
+ sub_type: string;
936
+ uid: string;
937
+ };
938
+ /** @returns {EntityRegionView_page} */
939
+ declare function EntityRegionView_page(): EntityRegionView_page;
940
+ type EntityRegionView_page = {
941
+ current: number;
942
+ has_next: boolean;
943
+ item_total: number;
944
+ size: number;
945
+ type: string;
946
+ };
947
+ /** @returns {EntityRegionView_Request} */
948
+ declare function EntityRegionView_Request(): EntityRegionView_Request;
949
+ type EntityRegionView_Request = {
950
+ parent_id?: string[];
951
+ sub_type: string[];
952
+ };
953
+ /** @returns {EntityRegionView_Response} */
954
+ declare function EntityRegionView_Response(): EntityRegionView_Response;
955
+ type EntityRegionView_Response = {
956
+ error: EntityRegionView_Error;
957
+ items?: EntityRegionView_Items[];
958
+ page: EntityRegionView_page;
959
+ success: boolean;
960
+ };
961
+ /** @returns {Error} */
962
+ declare function Error(): Error;
963
+ type Error = {
964
+ message?: string;
965
+ type?: string;
966
+ value?: string;
967
+ };
968
+ /** @returns {ErrorResponse} */
969
+ declare function ErrorResponse(): ErrorResponse;
970
+ type ErrorResponse = {
971
+ message: string;
972
+ type: string;
973
+ value: string;
974
+ };
975
+ /** @returns {EwayBillResponse} */
976
+ declare function EwayBillResponse(): EwayBillResponse;
977
+ type EwayBillResponse = {
978
+ enabled?: boolean;
979
+ };
980
+ /** @returns {FailureResponse} */
981
+ declare function FailureResponse(): FailureResponse;
982
+ type FailureResponse = {
983
+ error: ErrorResponse[];
984
+ status_code: number;
985
+ success: boolean;
986
+ };
987
+ /** @returns {GetSingleZoneDataViewResponse} */
988
+ declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
989
+ type GetSingleZoneDataViewResponse = {
990
+ data: GetZoneDataViewItems;
991
+ };
992
+ /** @returns {GetStoresViewResponse} */
993
+ declare function GetStoresViewResponse(): GetStoresViewResponse;
994
+ type GetStoresViewResponse = {
995
+ items?: ItemResponse[];
996
+ page: ServiceabilityPageResponse;
997
+ };
998
+ /** @returns {GetZoneDataViewChannels} */
999
+ declare function GetZoneDataViewChannels(): GetZoneDataViewChannels;
1000
+ type GetZoneDataViewChannels = {
1001
+ channel_id: string;
1002
+ channel_type: string;
1003
+ };
1004
+ /** @returns {GetZoneDataViewItems} */
1005
+ declare function GetZoneDataViewItems(): GetZoneDataViewItems;
1006
+ type GetZoneDataViewItems = {
1007
+ assignment_preference?: string;
1008
+ channels: GetZoneDataViewChannels[];
1009
+ company_id?: number;
1010
+ is_active: boolean;
1011
+ mapping: ZoneMappingType[];
1012
+ name: string;
1013
+ pincodes_count: number;
1014
+ product: ZoneProductTypes;
1015
+ region_type: string;
1016
+ slug: string;
1017
+ store_ids: number[];
1018
+ stores_count: number;
1019
+ zone_id: string;
1020
+ };
1021
+ /** @returns {GetZoneFromApplicationIdViewResponse} */
1022
+ declare function GetZoneFromApplicationIdViewResponse(): GetZoneFromApplicationIdViewResponse;
1023
+ type GetZoneFromApplicationIdViewResponse = {
1024
+ items: ListViewItems[];
1025
+ page: ZoneDataItem[];
1026
+ };
1027
+ /** @returns {GetZoneFromPincodeViewRequest} */
1028
+ declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
1029
+ type GetZoneFromPincodeViewRequest = {
1030
+ country: string;
1031
+ pincode: string;
1032
+ };
1033
+ /** @returns {GetZoneFromPincodeViewResponse} */
1034
+ declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
1035
+ type GetZoneFromPincodeViewResponse = {
1036
+ serviceability_type: string;
1037
+ zones: Zone[];
1038
+ };
1039
+ /** @returns {GstCredentialsResponse} */
1040
+ declare function GstCredentialsResponse(): GstCredentialsResponse;
1041
+ type GstCredentialsResponse = {
1042
+ e_invoice?: EinvoiceResponse;
1043
+ e_waybill?: EwayBillResponse;
1044
+ };
1045
+ /** @returns {IntegrationTypeResponse} */
1046
+ declare function IntegrationTypeResponse(): IntegrationTypeResponse;
1047
+ type IntegrationTypeResponse = {
1048
+ inventory?: string;
1049
+ order?: string;
1050
+ };
1051
+ /** @returns {ItemResponse} */
1052
+ declare function ItemResponse(): ItemResponse;
1053
+ type ItemResponse = {
1054
+ _cls?: string;
1055
+ _custom_json?: any;
1056
+ address?: AddressResponse;
1057
+ code?: string;
1058
+ company?: number;
1059
+ company_id?: number;
1060
+ contact_numbers?: ContactNumberResponse[];
1061
+ created_by?: CreatedByResponse;
1062
+ created_on?: string;
1063
+ display_name?: string;
1064
+ documents?: DocumentsResponse[];
1065
+ gst_credentials?: GstCredentialsResponse;
1066
+ integration_type?: IntegrationTypeResponse;
1067
+ logistics?: LogisticsResponse;
1068
+ manager?: ManagerResponse;
1069
+ modified_by?: ModifiedByResponse;
1070
+ modified_on?: string;
1071
+ name?: string;
1072
+ notification_emails?: string[];
1073
+ product_return_config?: ProductReturnConfigResponse;
1074
+ stage?: string;
1075
+ store_type?: string;
1076
+ sub_type?: string;
1077
+ timing?: TimmingResponse[];
1078
+ uid?: number;
1079
+ verified_by?: ModifiedByResponse;
1080
+ verified_on?: string;
1081
+ warnings?: WarningsResponse;
1082
+ };
1083
+ /** @returns {ListViewChannels} */
1084
+ declare function ListViewChannels(): ListViewChannels;
1085
+ type ListViewChannels = {
1086
+ channel_id: string;
1087
+ channel_type: string;
1088
+ };
1089
+ /** @returns {ListViewItems} */
1090
+ declare function ListViewItems(): ListViewItems;
1091
+ type ListViewItems = {
1092
+ channels: ListViewChannels[];
1093
+ company_id: number;
1094
+ is_active: boolean;
1095
+ name: string;
1096
+ pincodes_count: number;
1097
+ product: ListViewProduct;
1098
+ slug: string;
1099
+ stores_count: number;
1100
+ zone_id: string;
1101
+ };
1102
+ /** @returns {ListViewProduct} */
1103
+ declare function ListViewProduct(): ListViewProduct;
1104
+ type ListViewProduct = {
1105
+ count: number;
1106
+ type: string;
1107
+ };
1108
+ /** @returns {ListViewResponse} */
1109
+ declare function ListViewResponse(): ListViewResponse;
1110
+ type ListViewResponse = {
1111
+ items: ListViewItems[];
1112
+ page: ZoneDataItem;
1113
+ summary: ListViewSummary;
1114
+ };
1115
+ /** @returns {ListViewSummary} */
1116
+ declare function ListViewSummary(): ListViewSummary;
1117
+ type ListViewSummary = {
1118
+ total_active_zones: number;
1119
+ total_pincodes_served: number;
1120
+ total_zones: number;
1121
+ };
1122
+ /** @returns {LogisticsResponse} */
1123
+ declare function LogisticsResponse(): LogisticsResponse;
1124
+ type LogisticsResponse = {
1125
+ dp?: Dp;
1126
+ override?: boolean;
1127
+ };
1128
+ /** @returns {ManagerResponse} */
1129
+ declare function ManagerResponse(): ManagerResponse;
1130
+ type ManagerResponse = {
1131
+ email?: string;
1132
+ mobile_no?: MobileNo;
1133
+ name?: string;
1134
+ };
1135
+ /** @returns {MobileNo} */
1136
+ declare function MobileNo(): MobileNo;
1137
+ type MobileNo = {
1138
+ country_code?: number;
1139
+ number?: string;
1140
+ };
1141
+ /** @returns {ModifiedByResponse} */
1142
+ declare function ModifiedByResponse(): ModifiedByResponse;
1143
+ type ModifiedByResponse = {
1144
+ user_id?: string;
1145
+ username?: string;
1146
+ };
1147
+ /** @returns {OpeningClosing} */
1148
+ declare function OpeningClosing(): OpeningClosing;
1149
+ type OpeningClosing = {
1150
+ hour?: number;
1151
+ minute?: number;
1152
+ };
1153
+ /** @returns {Page} */
1154
+ declare function Page(): Page;
1155
+ type Page = {
1156
+ current?: number;
1157
+ has_next?: boolean;
1158
+ has_previous?: boolean;
1159
+ item_total?: number;
1160
+ next_id?: string;
1161
+ size?: number;
1162
+ type: string;
1163
+ };
1164
+ /** @returns {PincodeBulkViewResponse} */
1165
+ declare function PincodeBulkViewResponse(): PincodeBulkViewResponse;
1166
+ type PincodeBulkViewResponse = {
1167
+ batch_id: string;
1168
+ s3_url: string;
1169
+ };
1170
+ /** @returns {PincodeCodStatusListingPage} */
1171
+ declare function PincodeCodStatusListingPage(): PincodeCodStatusListingPage;
1172
+ type PincodeCodStatusListingPage = {
1173
+ current: number;
1174
+ has_next: boolean;
1175
+ item_total: number;
1176
+ size: number;
1177
+ type: string;
1178
+ };
1179
+ /** @returns {PincodeCodStatusListingRequest} */
1180
+ declare function PincodeCodStatusListingRequest(): PincodeCodStatusListingRequest;
1181
+ type PincodeCodStatusListingRequest = {
1182
+ country?: string;
1183
+ current?: number;
1184
+ is_active?: boolean;
1185
+ page_size?: number;
1186
+ pincode?: number;
1187
+ };
1188
+ /** @returns {PincodeCodStatusListingResponse} */
1189
+ declare function PincodeCodStatusListingResponse(): PincodeCodStatusListingResponse;
1190
+ type PincodeCodStatusListingResponse = {
1191
+ country: string;
1192
+ data: PincodeCodStatusListingResponse[];
1193
+ errors?: Error[];
1194
+ page: PincodeCodStatusListingPage;
1195
+ success: boolean;
1196
+ summary: PincodeCodStatusListingSummary;
1197
+ };
1198
+ /** @returns {PincodeCodStatusListingSummary} */
1199
+ declare function PincodeCodStatusListingSummary(): PincodeCodStatusListingSummary;
1200
+ type PincodeCodStatusListingSummary = {
1201
+ total_active_pincodes: number;
1202
+ total_inactive_pincodes: number;
1203
+ };
1204
+ /** @returns {PincodeMopBulkData} */
1205
+ declare function PincodeMopBulkData(): PincodeMopBulkData;
1206
+ type PincodeMopBulkData = {
1207
+ batch_id: string;
1208
+ s3_url: string;
1209
+ };
1210
+ /** @returns {PincodeMopData} */
1211
+ declare function PincodeMopData(): PincodeMopData;
1212
+ type PincodeMopData = {
1213
+ action: string;
1214
+ country: string;
1215
+ pincodes: number[];
1216
+ };
1217
+ /** @returns {PincodeMOPresponse} */
1218
+ declare function PincodeMOPresponse(): PincodeMOPresponse;
1219
+ type PincodeMOPresponse = {
1220
+ action: string;
1221
+ batch_id: string;
1222
+ country: string;
1223
+ pincodes?: number[];
1224
+ status_code: number;
1225
+ success: boolean;
1226
+ updated_pincodes?: PincodeMopUpdateResponse[];
1227
+ };
1228
+ /** @returns {PincodeMopUpdateAuditHistoryPaging} */
1229
+ declare function PincodeMopUpdateAuditHistoryPaging(): PincodeMopUpdateAuditHistoryPaging;
1230
+ type PincodeMopUpdateAuditHistoryPaging = {
1231
+ current?: number;
1232
+ has_next?: boolean;
1233
+ item_total?: number;
1234
+ size?: number;
1235
+ type?: string;
1236
+ };
1237
+ /** @returns {PincodeMopUpdateAuditHistoryRequest} */
1238
+ declare function PincodeMopUpdateAuditHistoryRequest(): PincodeMopUpdateAuditHistoryRequest;
1239
+ type PincodeMopUpdateAuditHistoryRequest = {
1240
+ entity_type: string;
1241
+ file_name?: string;
1242
+ };
1243
+ /** @returns {PincodeMopUpdateAuditHistoryResponse} */
1244
+ declare function PincodeMopUpdateAuditHistoryResponse(): PincodeMopUpdateAuditHistoryResponse;
1245
+ type PincodeMopUpdateAuditHistoryResponse = {
1246
+ batch_id?: string;
1247
+ entity_type?: string;
1248
+ error_file_s3_url?: string;
1249
+ file_name?: string;
1250
+ s3_url?: string;
1251
+ success?: boolean;
1252
+ updated_at?: string;
1253
+ updated_by?: string;
1254
+ };
1255
+ /** @returns {PincodeMopUpdateAuditHistoryResponseData} */
1256
+ declare function PincodeMopUpdateAuditHistoryResponseData(): PincodeMopUpdateAuditHistoryResponseData;
1257
+ type PincodeMopUpdateAuditHistoryResponseData = {
1258
+ data: PincodeMopUpdateAuditHistoryResponse[];
1259
+ entity_type?: string;
1260
+ page: PincodeMopUpdateAuditHistoryPaging;
1261
+ };
1262
+ /** @returns {PincodeMopUpdateResponse} */
1263
+ declare function PincodeMopUpdateResponse(): PincodeMopUpdateResponse;
1264
+ type PincodeMopUpdateResponse = {
1265
+ channel_id: string;
1266
+ country: string;
1267
+ is_active: boolean;
1268
+ pincode: number;
1269
+ };
1270
+ /** @returns {ProductReturnConfigResponse} */
1271
+ declare function ProductReturnConfigResponse(): ProductReturnConfigResponse;
1272
+ type ProductReturnConfigResponse = {
1273
+ on_same_store?: boolean;
1274
+ };
1275
+ /** @returns {ReAssignStoreRequest} */
1276
+ declare function ReAssignStoreRequest(): ReAssignStoreRequest;
1277
+ type ReAssignStoreRequest = {
1278
+ articles: any[];
1279
+ configuration: any;
1280
+ identifier: string;
1281
+ ignored_locations: string[];
1282
+ to_pincode: string;
1283
+ };
1284
+ /** @returns {ReAssignStoreResponse} */
1285
+ declare function ReAssignStoreResponse(): ReAssignStoreResponse;
1286
+ type ReAssignStoreResponse = {
1287
+ articles?: any[];
1288
+ error: any;
1289
+ success: boolean;
1290
+ to_pincode: string;
1291
+ };
1292
+ /** @returns {SelfShipResponse} */
1293
+ declare function SelfShipResponse(): SelfShipResponse;
1294
+ type SelfShipResponse = {
1295
+ is_active: boolean;
1296
+ tat: number;
1297
+ };
1298
+ /** @returns {ServiceabilityErrorResponse} */
1299
+ declare function ServiceabilityErrorResponse(): ServiceabilityErrorResponse;
1300
+ type ServiceabilityErrorResponse = {
1301
+ message: string;
1302
+ type: string;
1303
+ value: string;
1304
+ };
1305
+ /** @returns {ServiceabilityPageResponse} */
1306
+ declare function ServiceabilityPageResponse(): ServiceabilityPageResponse;
1307
+ type ServiceabilityPageResponse = {
1308
+ current?: number;
1309
+ has_next?: boolean;
1310
+ item_total?: number;
1311
+ size?: number;
1312
+ type?: string;
1313
+ };
1314
+ /** @returns {TimmingResponse} */
1315
+ declare function TimmingResponse(): TimmingResponse;
1316
+ type TimmingResponse = {
1317
+ closing?: OpeningClosing;
1318
+ open?: boolean;
1319
+ opening?: OpeningClosing;
1320
+ weekday?: string;
1321
+ };
1322
+ /** @returns {UpdateZoneData} */
1323
+ declare function UpdateZoneData(): UpdateZoneData;
1324
+ type UpdateZoneData = {
1325
+ assignment_preference?: string;
1326
+ channels: GetZoneDataViewChannels[];
1327
+ company_id: number;
1328
+ is_active: boolean;
1329
+ mapping: ZoneMappingType[];
1330
+ name: string;
1331
+ product: ZoneProductTypes;
1332
+ region_type: string;
1333
+ slug: string;
1334
+ store_ids: number[];
1335
+ zone_id: string;
1336
+ };
1337
+ /** @returns {WarningsResponse} */
1338
+ declare function WarningsResponse(): WarningsResponse;
1339
+ type WarningsResponse = {
1340
+ store_address?: string;
1341
+ };
1342
+ /** @returns {Zone} */
1343
+ declare function Zone(): Zone;
1344
+ type Zone = {
1345
+ assignment_preference: string;
1346
+ is_active: boolean;
1347
+ name: string;
1348
+ slug: string;
1349
+ store_ids: number[];
1350
+ tags: string[];
1351
+ type: string;
1352
+ zone_id: string;
1353
+ };
1354
+ /** @returns {ZoneDataItem} */
1355
+ declare function ZoneDataItem(): ZoneDataItem;
1356
+ type ZoneDataItem = {
1357
+ current: number;
1358
+ has_next: boolean;
1359
+ item_total: number;
1360
+ size: number;
1361
+ type: string;
1362
+ };
1363
+ /** @returns {ZoneMappingType} */
1364
+ declare function ZoneMappingType(): ZoneMappingType;
1365
+ type ZoneMappingType = {
1366
+ country: string;
1367
+ pincode?: string[];
1368
+ state?: string[];
1369
+ };
1370
+ /** @returns {ZoneProductTypes} */
1371
+ declare function ZoneProductTypes(): ZoneProductTypes;
1372
+ type ZoneProductTypes = {
1373
+ tags: string[];
1374
+ type: string;
1375
+ };
1376
+ /** @returns {ZoneRequest} */
1377
+ declare function ZoneRequest(): ZoneRequest;
1378
+ type ZoneRequest = {
1379
+ data: CreateZoneData;
1380
+ identifier: string;
1381
+ };
1382
+ /** @returns {ZoneResponse} */
1383
+ declare function ZoneResponse(): ZoneResponse;
1384
+ type ZoneResponse = {
1385
+ status_code: number;
1386
+ success: boolean;
1387
+ zone_id: string;
1388
+ };
1389
+ /** @returns {ZoneSuccessResponse} */
1390
+ declare function ZoneSuccessResponse(): ZoneSuccessResponse;
1391
+ type ZoneSuccessResponse = {
1392
+ status_code: number;
1393
+ success: boolean;
1394
+ };
1395
+ /** @returns {ZoneUpdateRequest} */
1396
+ declare function ZoneUpdateRequest(): ZoneUpdateRequest;
1397
+ type ZoneUpdateRequest = {
1398
+ data: UpdateZoneData;
1399
+ identifier: string;
1400
+ };