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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +111 -1200
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
  20. package/sdk/application/Content/ContentApplicationClient.js +46 -990
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5067 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1988 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  137. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  167. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1893 -623
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +924 -568
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,10 +1,10 @@
1
1
  export = ServiceabilityPlatformModel;
2
2
  /**
3
- * @typedef UpdateZoneConfigRequest
3
+ * @typedef UpdateZoneConfigDetails
4
4
  * @property {string} [serviceability_type]
5
5
  */
6
6
  /**
7
- * @typedef ServiceabilityErrorResponse
7
+ * @typedef ServiceabilityErrorResult
8
8
  * @property {string} message
9
9
  * @property {string} value
10
10
  * @property {string} type
@@ -16,13 +16,13 @@ export = ServiceabilityPlatformModel;
16
16
  * @property {string} channel_type
17
17
  */
18
18
  /**
19
- * @typedef ApplicationServiceabilityConfigResponse
20
- * @property {ServiceabilityErrorResponse} [error]
19
+ * @typedef ApplicationServiceabilityConfigResult
20
+ * @property {ServiceabilityErrorResult} [error]
21
21
  * @property {ApplicationServiceabilityConfig} [data]
22
22
  * @property {boolean} success
23
23
  */
24
24
  /**
25
- * @typedef EntityRegionView_Request
25
+ * @typedef EntityRegionView_Details
26
26
  * @property {string[]} sub_type
27
27
  * @property {string[]} [parent_id]
28
28
  */
@@ -41,7 +41,7 @@ export = ServiceabilityPlatformModel;
41
41
  * @property {number} current
42
42
  */
43
43
  /**
44
- * @typedef getAppRegionZonesResponse
44
+ * @typedef getAppRegionZonesResult
45
45
  * @property {PageSchema[]} page
46
46
  * @property {ListViewItems[]} items
47
47
  */
@@ -60,7 +60,7 @@ export = ServiceabilityPlatformModel;
60
60
  * @property {string} name
61
61
  */
62
62
  /**
63
- * @typedef EntityRegionView_Response
63
+ * @typedef EntityRegionView_Result
64
64
  * @property {EntityRegionView_Error} error
65
65
  * @property {EntityRegionView_page} page
66
66
  * @property {EntityRegionView_Items[]} data
@@ -106,7 +106,7 @@ export = ServiceabilityPlatformModel;
106
106
  * @property {ListViewChannels[]} channels - The name of the zone.
107
107
  */
108
108
  /**
109
- * @typedef ListViewResponse
109
+ * @typedef ListViewResult
110
110
  * @property {ZoneDataItem} page
111
111
  * @property {ListViewItems[]} items
112
112
  */
@@ -119,7 +119,7 @@ export = ServiceabilityPlatformModel;
119
119
  * @property {number} current
120
120
  */
121
121
  /**
122
- * @typedef CompanyStoreView_Response
122
+ * @typedef CompanyStoreView_Result
123
123
  * @property {CompanyStoreView_PageItems[]} page
124
124
  * @property {Object[]} [items]
125
125
  */
@@ -130,93 +130,113 @@ export = ServiceabilityPlatformModel;
130
130
  */
131
131
  /**
132
132
  * @typedef ZoneProductTypes
133
- * @property {string} type
134
- * @property {string[]} tags
133
+ * @property {string} type - Denotes if the zone is applicable for all the
134
+ * products or specific products.
135
+ * @property {string[]} tags - List of product tags.
136
+ */
137
+ /**
138
+ * @typedef ZoneMappingDetailType
139
+ * @property {string} country - Uid for the country.
140
+ * @property {ZoneMappingRegions[]} [regions] - List of regions with its details.
135
141
  */
136
142
  /**
137
143
  * @typedef ZoneMappingType
138
- * @property {string} country
139
- * @property {string[]} [pincode]
140
- * @property {string[]} [state]
144
+ * @property {string} country - Uid for the country.
145
+ * @property {string[]} regions - List of region uid for the given country.
146
+ */
147
+ /**
148
+ * @typedef ZoneMappingRegions
149
+ * @property {string} [display_name] - Name of the region that is in proper casing.
150
+ * @property {string[]} [parent_id]
151
+ * @property {string} [parent_uid] - Unique identifier for that regions parent.
152
+ * @property {string} [sub_type] - What type does the region belong to.
153
+ * @property {string} [uid] - Unique identifier for that region.
141
154
  */
142
155
  /**
143
156
  * @typedef UpdateZoneData
144
- * @property {string} zone_id
145
- * @property {string} name
146
- * @property {string} slug
147
- * @property {number} company_id
148
- * @property {boolean} is_active
149
- * @property {GetZoneDataViewChannels[]} channels
157
+ * @property {string} zone_id - Unique identifier for the zone.
158
+ * @property {string} name - Name for the zone.
159
+ * @property {string} slug - A human-readable and unique identifier for the
160
+ * zone, derived from the name.
161
+ * @property {number} company_id - Company id associated with the zone.
162
+ * @property {boolean} is_active - A flag indicating whether the zone is active.
163
+ * @property {GetZoneDataViewChannels[]} channels - Channels for which the zone is active.
150
164
  * @property {ZoneProductTypes} product
151
- * @property {number[]} store_ids
152
- * @property {string} region_type
153
- * @property {ZoneMappingType[]} mapping
154
- * @property {string} [assignment_preference]
165
+ * @property {number[]} store_ids - A list of store identifiers associated with the zone.
166
+ * @property {string} region_type - Type of region that belongs in the zone.
167
+ * @property {ZoneMappingType[]} mapping - Country to region mapping for the zone.
155
168
  */
156
169
  /**
157
- * @typedef ZoneUpdateRequest
170
+ * @typedef ZoneUpdateDetails
158
171
  * @property {string} identifier
159
172
  * @property {UpdateZoneData} data
160
173
  */
161
174
  /**
162
- * @typedef ZoneSuccessResponse
175
+ * @typedef ZoneSuccessResult
163
176
  * @property {number} status_code
164
177
  * @property {boolean} success
165
178
  */
166
179
  /**
167
180
  * @typedef GetZoneDataViewItems
168
- * @property {string} zone_id
169
- * @property {string} name
170
- * @property {string} slug
171
- * @property {number} [company_id]
172
- * @property {boolean} is_active
173
- * @property {GetZoneDataViewChannels[]} channels
181
+ * @property {string} zone_id - The unique identifier for the zone.
182
+ * @property {string} name - The name of the zone for easy identification.
183
+ * @property {string} slug - A URL-friendly version of the zone’s name, used for
184
+ * routing or linking.
185
+ * @property {number} [company_id] - The ID of the company associated with this zone.
186
+ * @property {boolean} is_active - A flag indicating whether the zone is active
187
+ * (true) or inactive (false).
188
+ * @property {GetZoneDataViewChannels[]} channels - A list of channels available
189
+ * within this zone.
174
190
  * @property {ZoneProductTypes} product
175
- * @property {number[]} store_ids
176
- * @property {string} [region_type]
177
- * @property {ZoneMappingType[]} mapping
178
- * @property {string} [assignment_preference]
179
- * @property {number} stores_count
191
+ * @property {number[]} store_ids - A collection of store IDs linked to this zone.
192
+ * @property {string} [region_type] - The type of region the zone represents.
193
+ * @property {ZoneMappingType[]} mapping - A list of mappings defining
194
+ * relationships between this zone and other entities.
195
+ * @property {string} [assignment_preference] - The preferred method for
196
+ * assigning stores or products to the zone.
197
+ * @property {number} stores_count - The total number of stores assigned to this zone.
180
198
  */
181
199
  /**
182
- * @typedef GetSingleZoneDataViewResponse
200
+ * @typedef GetSingleZoneDataViewResult
183
201
  * @property {GetZoneDataViewItems} data
184
202
  */
185
203
  /**
186
204
  * @typedef GetZoneByIdSchema
187
- * @property {string} zone_id
188
- * @property {string} name
189
- * @property {string} slug
190
- * @property {number} [company_id]
191
- * @property {boolean} is_active
192
- * @property {GetZoneDataViewChannels[]} channels
205
+ * @property {string} zone_id - Unique identifier for the zone.
206
+ * @property {string} name - Name for the zone.
207
+ * @property {string} slug - A human-readable and unique identifier for the
208
+ * zone, derived from the name.
209
+ * @property {number} [company_id] - Company id associated with the zone.
210
+ * @property {boolean} is_active - A flag indicating whether the zone is active.
211
+ * @property {GetZoneDataViewChannels[]} channels - Channels for which the zone is active.
193
212
  * @property {ZoneProductTypes} product
194
- * @property {number[]} store_ids
195
- * @property {string} region_type
196
- * @property {ZoneMappingType[]} mapping
197
- * @property {string} [assignment_preference]
198
- * @property {number} stores_count
213
+ * @property {number[]} store_ids - A list of store identifiers associated with the zone.
214
+ * @property {string} region_type - Type of region that belongs in the zone.
215
+ * @property {ZoneMappingDetailType[]} mapping - Country to region mapping for the zone.
216
+ * @property {number} [stores_count]
199
217
  */
200
218
  /**
201
219
  * @typedef CreateZoneData
202
- * @property {string} name
203
- * @property {string} slug
204
- * @property {number} company_id
205
- * @property {boolean} is_active
206
- * @property {GetZoneDataViewChannels[]} channels
207
- * @property {number[]} store_ids
208
- * @property {string} region_type
209
- * @property {ZoneMappingType[]} mapping
210
- * @property {string} [assignment_preference]
220
+ * @property {string} name - Name of the zone.
221
+ * @property {string} slug - A human-readable and unique identifier for the
222
+ * zone, derived from the name.
223
+ * @property {number} company_id - Unique identifier of the company for which
224
+ * the zone is created.
225
+ * @property {boolean} is_active - A flag indicating whether the zone is active.
226
+ * @property {GetZoneDataViewChannels[]} channels - Channels for which the zone is active.
227
+ * @property {number[]} store_ids - A list of store identifiers associated with the zone.
228
+ * @property {string} region_type - Type of region that belongs in the zone.
229
+ * @property {ZoneMappingType[]} mapping - Country to region mapping for the zone.
230
+ * @property {ZoneProductTypes} [product]
211
231
  */
212
232
  /**
213
- * @typedef ZoneResponse
214
- * @property {number} status_code
233
+ * @typedef ZoneResult
234
+ * @property {number} [status_code]
215
235
  * @property {string} zone_id
216
236
  * @property {boolean} success
217
237
  */
218
238
  /**
219
- * @typedef GetZoneFromPincodeViewRequest
239
+ * @typedef GetZoneFromPincodeViewDetails
220
240
  * @property {string} country
221
241
  * @property {string} pincode
222
242
  */
@@ -229,20 +249,19 @@ export = ServiceabilityPlatformModel;
229
249
  * @property {string} slug
230
250
  * @property {boolean} is_active
231
251
  * @property {number[]} store_ids
232
- * @property {string} assignment_preference
233
252
  */
234
253
  /**
235
- * @typedef GetZoneFromPincodeViewResponse
254
+ * @typedef GetZoneFromPincodeViewResult
236
255
  * @property {string} serviceability_type
237
256
  * @property {Zone[]} zones
238
257
  */
239
258
  /**
240
- * @typedef GetZoneFromApplicationIdViewResponse
259
+ * @typedef GetZoneFromApplicationIdViewResult
241
260
  * @property {ZoneDataItem[]} page
242
261
  * @property {ListViewItems[]} items
243
262
  */
244
263
  /**
245
- * @typedef ServiceabilityPageResponse
264
+ * @typedef ServiceabilityPageResult
246
265
  * @property {string} [type]
247
266
  * @property {boolean} [has_next]
248
267
  * @property {number} [item_total]
@@ -255,32 +274,32 @@ export = ServiceabilityPlatformModel;
255
274
  * @property {number} [country_code]
256
275
  */
257
276
  /**
258
- * @typedef ManagerResponse
277
+ * @typedef ManagerResult
259
278
  * @property {string} [email]
260
279
  * @property {MobileNo} [mobile_no]
261
280
  * @property {string} [name]
262
281
  */
263
282
  /**
264
- * @typedef ModifiedByResponse
283
+ * @typedef ModifiedByResult
265
284
  * @property {string} [username]
266
285
  * @property {string} [user_id]
267
286
  */
268
287
  /**
269
- * @typedef IntegrationTypeResponse
288
+ * @typedef IntegrationTypeResult
270
289
  * @property {string} [inventory]
271
290
  * @property {string} [order]
272
291
  */
273
292
  /**
274
- * @typedef ProductReturnConfigResponse
293
+ * @typedef ProductReturnConfigResult
275
294
  * @property {boolean} [on_same_store]
276
295
  */
277
296
  /**
278
- * @typedef ContactNumberResponse
297
+ * @typedef ContactNumberResult
279
298
  * @property {string} [number]
280
299
  * @property {number} [country_code]
281
300
  */
282
301
  /**
283
- * @typedef AddressResponse
302
+ * @typedef AddressResult
284
303
  * @property {string} [city]
285
304
  * @property {string} [address1]
286
305
  * @property {number} [pincode]
@@ -292,25 +311,25 @@ export = ServiceabilityPlatformModel;
292
311
  * @property {number} [longitude]
293
312
  */
294
313
  /**
295
- * @typedef CreatedByResponse
314
+ * @typedef CreatedByResult
296
315
  * @property {string} [username]
297
316
  * @property {string} [user_id]
298
317
  */
299
318
  /**
300
- * @typedef EwayBillResponse
319
+ * @typedef EwayBillResult
301
320
  * @property {boolean} [enabled]
302
321
  */
303
322
  /**
304
- * @typedef EinvoiceResponse
323
+ * @typedef EinvoiceResult
305
324
  * @property {boolean} [enabled]
306
325
  */
307
326
  /**
308
- * @typedef GstCredentialsResponse
309
- * @property {EwayBillResponse} [e_waybill]
310
- * @property {EinvoiceResponse} [e_invoice]
327
+ * @typedef GstCredentialsResult
328
+ * @property {EwayBillResult} [e_waybill]
329
+ * @property {EinvoiceResult} [e_invoice]
311
330
  */
312
331
  /**
313
- * @typedef WarningsResponse
332
+ * @typedef WarningsResult
314
333
  * @property {string} [store_address]
315
334
  */
316
335
  /**
@@ -319,14 +338,14 @@ export = ServiceabilityPlatformModel;
319
338
  * @property {number} [hour]
320
339
  */
321
340
  /**
322
- * @typedef TimmingResponse
341
+ * @typedef TimmingResult
323
342
  * @property {boolean} [open]
324
343
  * @property {string} [weekday]
325
344
  * @property {OpeningClosing} [closing]
326
345
  * @property {OpeningClosing} [opening]
327
346
  */
328
347
  /**
329
- * @typedef DocumentsResponse
348
+ * @typedef DocumentsResult
330
349
  * @property {string} [legal_name]
331
350
  * @property {string} [value]
332
351
  * @property {string} [type]
@@ -346,99 +365,108 @@ export = ServiceabilityPlatformModel;
346
365
  * @property {boolean} [assign_dp_from_sb]
347
366
  */
348
367
  /**
349
- * @typedef LogisticsResponse
368
+ * @typedef LogisticsResult
350
369
  * @property {boolean} [override]
351
370
  * @property {Dp} [dp]
352
371
  */
353
372
  /**
354
- * @typedef ItemResponse
373
+ * @typedef ItemResult
355
374
  * @property {string} [created_on]
356
- * @property {ManagerResponse} [manager]
357
- * @property {ModifiedByResponse} [modified_by]
358
- * @property {IntegrationTypeResponse} [integration_type]
375
+ * @property {ManagerResult} [manager]
376
+ * @property {ModifiedByResult} [modified_by]
377
+ * @property {IntegrationTypeResult} [integration_type]
359
378
  * @property {string} [verified_on]
360
- * @property {ProductReturnConfigResponse} [product_return_config]
361
- * @property {ContactNumberResponse[]} [contact_numbers]
362
- * @property {ModifiedByResponse} [verified_by]
379
+ * @property {ProductReturnConfigResult} [product_return_config]
380
+ * @property {ContactNumberResult[]} [contact_numbers]
381
+ * @property {ModifiedByResult} [verified_by]
363
382
  * @property {string} [stage]
364
- * @property {AddressResponse} [address]
383
+ * @property {AddressResult} [address]
365
384
  * @property {string} [modified_on]
366
- * @property {CreatedByResponse} [created_by]
367
- * @property {GstCredentialsResponse} [gst_credentials]
385
+ * @property {CreatedByResult} [created_by]
386
+ * @property {GstCredentialsResult} [gst_credentials]
368
387
  * @property {string} [display_name]
369
388
  * @property {number} [company_id]
370
389
  * @property {number} [uid]
371
- * @property {Object} [_custom_json]
390
+ * @property {Object} [_custom_json] - Custom JSON for internal usage
372
391
  * @property {string} [code]
373
- * @property {WarningsResponse} [warnings]
392
+ * @property {WarningsResult} [warnings]
374
393
  * @property {string} [name]
375
- * @property {TimmingResponse[]} [timing]
376
- * @property {DocumentsResponse[]} [documents]
394
+ * @property {TimmingResult[]} [timing]
395
+ * @property {DocumentsResult[]} [documents]
377
396
  * @property {string} [store_type]
378
397
  * @property {string} [sub_type]
379
398
  * @property {number} [company]
380
399
  * @property {string} [_cls]
381
- * @property {LogisticsResponse} [logistics]
400
+ * @property {LogisticsResult} [logistics]
382
401
  * @property {string[]} [notification_emails]
383
402
  */
384
403
  /**
385
- * @typedef GetStoresViewResponse
386
- * @property {ServiceabilityPageResponse} page
387
- * @property {ItemResponse[]} [items]
404
+ * @typedef GetStoresViewResult
405
+ * @property {ServiceabilityPageResult} page
406
+ * @property {ItemResult[]} [items]
388
407
  */
389
408
  /**
390
409
  * @typedef PincodeMopData
391
- * @property {number[]} pincodes
392
- * @property {string} country
393
- * @property {string} action
410
+ * @property {number[]} pincodes - A list of pincodes.
411
+ * @property {string} country - Name of the country.
412
+ * @property {string} action - Denotes wether to activate or deavtivate pincodes
413
+ * for COD mode of payment.
394
414
  */
395
415
  /**
396
- * @typedef PincodeMopUpdateResponse
397
- * @property {number} pincode
398
- * @property {string} channel_id
399
- * @property {string} country
400
- * @property {boolean} is_active
416
+ * @typedef PincodeMopUpdateResult
417
+ * @property {number} pincode - Pincode of the region.
418
+ * @property {string} channel_id - Unique identifier of the sales channel.
419
+ * @property {string} country - Country name.
420
+ * @property {boolean} is_active - Denotes whether the pincode mode of payment
421
+ * is active or not.
401
422
  */
402
423
  /**
403
- * @typedef PincodeMOPresponse
404
- * @property {boolean} success
405
- * @property {number} status_code
406
- * @property {string} batch_id
407
- * @property {string} country
408
- * @property {string} action
409
- * @property {number[]} [pincodes]
410
- * @property {PincodeMopUpdateResponse[]} [updated_pincodes]
424
+ * @typedef PincodeMOPResult
425
+ * @property {boolean} success - Denotes if the action was successful or not.
426
+ * @property {number} status_code - Status code for the response.
427
+ * @property {string} batch_id - Unique identifier identifying the perticular request.
428
+ * @property {string} country - Name of the country.
429
+ * @property {string} action - Denotes wether to activate or deavtivate pincodes
430
+ * for COD mode of payment.
431
+ * @property {number[]} [pincodes] - List of pincodes.
432
+ * @property {PincodeMopUpdateResult[]} [updated_pincodes] - Details of the
433
+ * updated pincodes.
411
434
  */
412
435
  /**
413
436
  * @typedef CommonError
414
- * @property {string} [status_code]
437
+ * @property {string} [status_code] - Status code for the error.
415
438
  * @property {Object} [error]
416
- * @property {string} [success]
439
+ * @property {string} [success] - Whether operation was successful.
417
440
  */
418
441
  /**
419
442
  * @typedef PincodeMopBulkData
420
- * @property {string} batch_id
421
- * @property {string} s3_url
443
+ * @property {string} batch_id - Unique identifier for the request.
444
+ * @property {string} s3_url - CDN url for the uploaded file.
422
445
  */
423
446
  /**
424
- * @typedef PincodeBulkViewResponse
447
+ * @typedef PincodeBulkViewResult
425
448
  * @property {string} batch_id
426
- * @property {string} s3_url
449
+ * @property {string} s3_url - CDN url for the uploaded file.
427
450
  */
428
451
  /**
429
- * @typedef PincodeCodStatusListingRequest
430
- * @property {string} [country]
431
- * @property {boolean} [is_active]
432
- * @property {number} [pincode]
452
+ * @typedef PincodeCodStatusListingDetails
453
+ * @property {string} [country] - Name of the country.
454
+ * @property {boolean} [is_active] - Search based on the active or inactive flag.
455
+ * @property {number} [pincode] - Search based on the pincode.
433
456
  * @property {number} [current]
434
457
  * @property {number} [page_size]
435
458
  */
436
459
  /**
437
- * @typedef PincodeCodStatusListingResponse
438
- * @property {string} country
439
- * @property {PincodeCodStatusListingResponse[]} data
440
- * @property {boolean} success
441
- * @property {Error[]} [errors]
460
+ * @typedef PincodeCodStatusItem
461
+ * @property {boolean} [active] - Denoted if the pincode is active or not.
462
+ * @property {string} [pincode] - Name of the pincode.
463
+ */
464
+ /**
465
+ * @typedef PincodeCodStatusListingResult
466
+ * @property {string} country - Name of the country.
467
+ * @property {PincodeCodStatusListingResult[]} data - List of pincode details.
468
+ * @property {boolean} success - Denotes if the request was successful or not.
469
+ * @property {Error[]} [errors] - List of error object in case of unsuccessful response.
442
470
  * @property {PincodeCodStatusListingPage} page
443
471
  * @property {PincodeCodStatusListingSummary} summary
444
472
  */
@@ -458,13 +486,13 @@ export = ServiceabilityPlatformModel;
458
486
  */
459
487
  /**
460
488
  * @typedef PincodeCodStatusListingSummary
461
- * @property {number} total_active_pincodes
462
- * @property {number} total_inactive_pincodes
489
+ * @property {number} total_active_pincodes - Count of the total active pincodes.
490
+ * @property {number} total_inactive_pincodes - Count of the total inactive pincodes.
463
491
  */
464
492
  /**
465
- * @typedef PincodeMopUpdateAuditHistoryRequest
466
- * @property {string} entity_type
467
- * @property {string} [file_name]
493
+ * @typedef PincodeMopUpdateAuditHistoryDetails
494
+ * @property {string} entity_type - Type of the entity requested.
495
+ * @property {string} [file_name] - Name of the file.
468
496
  */
469
497
  /**
470
498
  * @typedef PincodeMopUpdateAuditHistoryPaging
@@ -475,21 +503,22 @@ export = ServiceabilityPlatformModel;
475
503
  * @property {number} [item_total]
476
504
  */
477
505
  /**
478
- * @typedef PincodeMopUpdateAuditHistoryResponse
479
- * @property {string} [batch_id]
480
- * @property {string} [entity_type]
481
- * @property {string} [error_file_s3_url]
482
- * @property {string} [s3_url]
483
- * @property {string} [file_name]
506
+ * @typedef PincodeMopUpdateAuditHistoryResult
507
+ * @property {string} [batch_id] - Uniquie identifier of the request.
508
+ * @property {string} [entity_type] - Type of the entity requested.
509
+ * @property {string} [error_file_s3_url] - URL for the error file.
510
+ * @property {string} [s3_url] - CDN url for the file uploaded.
511
+ * @property {string} [file_name] - Name of the file.
484
512
  * @property {string} [updated_at]
485
513
  * @property {string} [updated_by]
486
- * @property {boolean} [success]
514
+ * @property {boolean} [success] - Denotes if the request was successfully processed.
487
515
  */
488
516
  /**
489
- * @typedef PincodeMopUpdateAuditHistoryResponseData
490
- * @property {string} [entity_type]
517
+ * @typedef PincodeMopUpdateAuditHistoryResultData
518
+ * @property {string} [entity_type] - Type of the entity requested.
491
519
  * @property {PincodeMopUpdateAuditHistoryPaging} page
492
- * @property {PincodeMopUpdateAuditHistoryResponse[]} data
520
+ * @property {PincodeMopUpdateAuditHistoryResult[]} data - History records of
521
+ * the uploaded files.
493
522
  */
494
523
  /**
495
524
  * @typedef ArithmeticOperations
@@ -516,34 +545,49 @@ export = ServiceabilityPlatformModel;
516
545
  * @property {string[]} [payment_mode]
517
546
  * @property {SchemeRulesFeatures} [feature]
518
547
  */
548
+ /**
549
+ * @typedef CourierAccountUpdateDetails
550
+ * @property {string} extension_id - Unique identifier of courier partner extension.
551
+ * @property {string} scheme_id - Unique identifier of courier partner scheme.
552
+ * @property {boolean} is_self_ship - Denotes if the account is of self delivery type.
553
+ * @property {string} stage - Denotes whether the account is in enabled or disabled stage.
554
+ * @property {boolean} is_own_account - Denotes whether it is the seller's own
555
+ * account or not.
556
+ */
519
557
  /**
520
558
  * @typedef CourierAccount
521
- * @property {string} extension_id
522
- * @property {string} account_id
523
- * @property {string} scheme_id
524
- * @property {boolean} is_self_ship
525
- * @property {string} stage
526
- * @property {boolean} is_own_account
559
+ * @property {number} company_id - Company id associated with the account.
560
+ * @property {string} extension_id - Unique identifier of courier partner extension.
561
+ * @property {string} account_id - Unique identifier of courier partner scheme
562
+ * and company id combination.
563
+ * @property {string} scheme_id - Unique identifier of courier partner scheme.
564
+ * @property {boolean} is_self_ship - Denotes if the account is of self delivery type.
565
+ * @property {string} stage - Denotes whether the account is in enabled or disabled stage.
566
+ * @property {boolean} is_own_account - Denotes whether it is the seller's own
567
+ * account or not.
568
+ * @property {CourierPartnerSchemeModel} scheme_rules
527
569
  */
528
570
  /**
529
- * @typedef CourierAccountRequestBody
530
- * @property {string} extension_id
531
- * @property {string} [account_id]
532
- * @property {string} scheme_id
533
- * @property {boolean} is_self_ship
534
- * @property {string} stage
535
- * @property {boolean} is_own_account
571
+ * @typedef CourierAccountDetailsBody
572
+ * @property {string} extension_id - Unique identifier of courier partner extension.
573
+ * @property {string} [account_id] - Unique identifier of courier partner scheme
574
+ * and company id combination.
575
+ * @property {string} scheme_id - Unique identifier of courier partner scheme.
576
+ * @property {boolean} is_self_ship - Denotes if the account is of self delivery type.
577
+ * @property {string} stage - Denotes whether the account is in enabled or disabled stage.
578
+ * @property {boolean} is_own_account - Denotes whether it is the seller's own
579
+ * account or not.
536
580
  */
537
581
  /**
538
- * @typedef ErrorResponse
539
- * @property {string} value
540
- * @property {string} message
541
- * @property {string} type
582
+ * @typedef ErrorResult
583
+ * @property {string} value - Fields containing the error.
584
+ * @property {string} message - Description of the error.
585
+ * @property {string} type - Type of the error.
542
586
  */
543
587
  /**
544
- * @typedef CourierPartnerAccountFailureResponse
545
- * @property {boolean} success
546
- * @property {ErrorResponse[]} error
588
+ * @typedef CourierPartnerAccountFailureResult
589
+ * @property {boolean} success - Denotes whether the request is a success or failure.
590
+ * @property {ErrorResult[]} error
547
591
  */
548
592
  /**
549
593
  * @typedef Page
@@ -556,31 +600,38 @@ export = ServiceabilityPlatformModel;
556
600
  * @property {number} [size] - The number of items per page.
557
601
  */
558
602
  /**
559
- * @typedef CourierPartnerRuleCPListResponse
560
- * @property {string} [account_id]
561
- * @property {string} [extension_id]
562
- * @property {boolean} [is_self_ship]
563
- * @property {Object} [scheme_rules]
603
+ * @typedef CourierPartnerRuleCPListResult
604
+ * @property {string} account_id - Unique identifier of courier partner scheme
605
+ * and company id combination.
606
+ * @property {string} extension_id - Unique identifier of courier partner extension.
607
+ * @property {boolean} is_self_ship - Denotes if the account is of self delivery type.
608
+ * @property {Object} [scheme_rules] - Denotes the scheme rules associated with
609
+ * the courier partner account.
564
610
  */
565
611
  /**
566
- * @typedef CourierPartnerRuleResponse
567
- * @property {boolean} [is_active]
568
- * @property {string} [application_id]
569
- * @property {number} [company_id]
570
- * @property {CourierPartnerRuleConditions} [conditions]
571
- * @property {string[]} [sort]
572
- * @property {Object} [created_by]
573
- * @property {string} [id]
574
- * @property {Object} [modified_by]
575
- * @property {string} [modified_on]
576
- * @property {string} [name]
577
- * @property {string} [type]
578
- * @property {CourierPartnerRuleCPListResponse[]} [cp_list]
612
+ * @typedef CourierPartnerRuleResult
613
+ * @property {boolean} is_active - Denotes whether the given courier partner
614
+ * rule is inactive or active.
615
+ * @property {string} application_id - Unique identifier of the sales channel.
616
+ * @property {number} company_id - Unique identifier of the company.
617
+ * @property {CourierPartnerRuleConditions} conditions
618
+ * @property {string[]} sort - Sort Strategy of the courier partners.
619
+ * @property {Object} [created_by] - The Fynd account used to create the courier
620
+ * partner rule.
621
+ * @property {string} id - Unique identifier of the courier partner rule.
622
+ * @property {Object} [modified_by] - The Fynd account used to modify the
623
+ * courier partner rule.
624
+ * @property {string} [modified_on] - The datetime at which courier partner rule
625
+ * is modified.
626
+ * @property {string} name - Name for the courier partner rule.
627
+ * @property {string} type - The type of the rule.
628
+ * @property {CourierPartnerRuleCPListResult[]} [cp_list]
579
629
  */
580
630
  /**
581
631
  * @typedef CourierPartnerList
582
- * @property {string} extension_id
583
- * @property {string} account_id
632
+ * @property {string} extension_id - Unique identifier of courier partner extension.
633
+ * @property {string} account_id - Unique identifier of courier partner scheme
634
+ * and company id combination.
584
635
  */
585
636
  /**
586
637
  * @typedef LocationRuleValues
@@ -588,7 +639,7 @@ export = ServiceabilityPlatformModel;
588
639
  * @property {string} [sub_type]
589
640
  * @property {string} [name]
590
641
  * @property {string} [display_name]
591
- * @property {string} [parent_id]
642
+ * @property {string[]} [parent_id]
592
643
  * @property {string[]} [parent_ids]
593
644
  */
594
645
  /**
@@ -625,86 +676,168 @@ export = ServiceabilityPlatformModel;
625
676
  */
626
677
  /**
627
678
  * @typedef CourierPartnerRule
628
- * @property {boolean} is_active
629
- * @property {CourierPartnerList[]} [cp_list]
630
- * @property {string} name
679
+ * @property {boolean} is_active - Denotes whether the given courier partner
680
+ * rule is inactive or active.
681
+ * @property {CourierPartnerList[]} [cp_list] - A list of courier partners.
682
+ * @property {string} name - Name for the courier partner rule.
631
683
  * @property {CourierPartnerRuleConditions} conditions
632
- * @property {string[]} sort
684
+ * @property {string[]} sort - Sort Strategy for the courier partners.
685
+ * @property {string} [type] - Denotes the type of the rule.
633
686
  */
634
687
  /**
635
- * @typedef FailureResponse
688
+ * @typedef FailureResult
636
689
  * @property {boolean} success
637
- * @property {ErrorResponse[]} error
690
+ * @property {ErrorResult[]} error
638
691
  */
639
692
  /**
640
- * @typedef CourierPartnerRulesListResponse
641
- * @property {CourierPartnerRuleResponse[]} items
693
+ * @typedef CourierPartnerRulesListResult
694
+ * @property {CourierPartnerRuleResult[]} items
642
695
  * @property {Page} page
643
696
  */
697
+ /**
698
+ * @typedef ShipmentsArticles
699
+ * @property {number} [item_id] - Unique identifier of the item.
700
+ * @property {number} [category_id] - Unique identifier of the category.
701
+ * @property {number} [brand_id] - Unique identifier of the brand.
702
+ * @property {number} [department_id] - Unique identifier of the department.
703
+ * @property {string[]} [tags] - Tags associated with the item.
704
+ */
705
+ /**
706
+ * @typedef ShipmentDimension
707
+ * @property {number} height - Height of the shipment in centimeters.
708
+ * @property {number} length - Length of the shipment in centimeters.
709
+ * @property {number} width - Width of the shipment in centimeters.
710
+ */
711
+ /**
712
+ * @typedef Shipments
713
+ * @property {string} [id] - Unique identifier of the shipment.
714
+ * @property {number} [location_id] - Unique identifier of the selling location.
715
+ * @property {string[]} [location_tags] - Tags associated with the selling location.
716
+ * @property {number} [shipment_weight] - Weight of the shipment.
717
+ * @property {number} [shipment_volumetric_weight] - Volumetric weight of the shipment.
718
+ * @property {number} [shipment_cost] - Total Cost of the shipment.
719
+ * @property {ShipmentDimension} [shipment_dimension]
720
+ * @property {string[]} [courier_partner_schemes] - A List of courier schemes.
721
+ * @property {ShipmentsArticles[]} [articles] - List of articles in the shipment.
722
+ */
723
+ /**
724
+ * @typedef ShipmentCourierPartnerDetails
725
+ * @property {ShipmentsCourierPartnersServiceability} from_location
726
+ * @property {ShipmentsCourierPartnersServiceability} to_location
727
+ * @property {Shipments[]} [shipments] - List of shipments.
728
+ * @property {string} [journey] - Journey type of the shipment forward or return.
729
+ * @property {string} [payment_mode] - Payment mode opted for the shipment.
730
+ */
731
+ /**
732
+ * @typedef CourierPartnerPromise
733
+ * @property {string} min - The earliest possible timestamp.
734
+ * @property {string} max - The latest possible timestamp.
735
+ */
736
+ /**
737
+ * @typedef CourierPartners
738
+ * @property {string} [extension_id] - Unique identifier of courier partner extension.
739
+ * @property {string} [scheme_id] - Unique identifier of courier partner scheme.
740
+ * @property {string} [name] - Name of the courier partner.
741
+ * @property {CourierPartnerPromise} [delivery_promise]
742
+ */
743
+ /**
744
+ * @typedef ShipmentCourierPartners
745
+ * @property {string} [id] - Unique identifier of the shipment.
746
+ * @property {CourierPartners[]} [courier_partners] - Courier partners of the shipment.
747
+ */
748
+ /**
749
+ * @typedef ShipmentCourierPartnerResult
750
+ * @property {CourierPartners[]} [courier_partners]
751
+ * @property {ShipmentCourierPartners[]} [shipments]
752
+ */
753
+ /**
754
+ * @typedef ShipmentsCourierPartnersServiceability
755
+ * @property {string} [pincode] - Postal code or PIN code of the address area.
756
+ * @property {string} [sector_code] - Specifies the sector or district code of
757
+ * the address if applicable.
758
+ * @property {string} [state_code] - Indicates the state or province code of the address.
759
+ * @property {string} [city_code] - Denote the city or municipality code of the address.
760
+ * @property {string} country_code - ISO2 code for the country of the address.
761
+ */
644
762
  /**
645
763
  * @typedef CompanyConfig
646
- * @property {string[]} rule_ids
647
- * @property {string[]} sort
648
- * @property {boolean} [logistics_as_actual]
764
+ * @property {string[]} rule_ids - A list for courier partner rules.
765
+ * @property {string[]} sort - Sort strategy for the courier partners.
766
+ * @property {string} [logistics_as_actual] - Depicts if the courier partner
767
+ * rule configuration plan is subscribed by the seller for which mode.
768
+ * @property {number} company_id - Unique identifier of the company.
769
+ * @property {string} [application_id] - Unique identifier of the sales channel.
649
770
  */
650
771
  /**
651
772
  * @typedef ZoneConfig
652
- * @property {string} [serviceability_type]
773
+ * @property {string} [serviceability_type] - Serviceability type of the delivery zone.
774
+ * @property {number} [active_count] - Count of active delivery zones associated
775
+ * with the sales channel.
776
+ * @property {number} [total_count] - Count of total delivery zones associated
777
+ * with the sales channel.
653
778
  */
654
779
  /**
655
780
  * @typedef ApplicationConfig
656
- * @property {string[]} [rule_ids]
657
- * @property {string[]} [sort]
781
+ * @property {string[]} [rule_ids] - A list of courier partner rules.
782
+ * @property {string[]} [sort] - Strategy adopted to sort the courier partners.
658
783
  * @property {ZoneConfig} [zones]
659
784
  */
660
785
  /**
661
- * @typedef BulkRegionJobSerializer
662
- * @property {string} [file_path]
663
- * @property {string} country
664
- * @property {string} action
665
- * @property {string} region
786
+ * @typedef BulkRegionJobDetails
787
+ * @property {string} [file_path] - CDN path of the uploaded csv file for bulk import.
788
+ * @property {string} country - Country for which the tat or serviceability is
789
+ * to be imported or exported.
790
+ * @property {string} action - Denotes the import or export action to be performed.
791
+ * @property {string} region - Region of the country for which import or export
792
+ * is triggered.
666
793
  */
667
794
  /**
668
- * @typedef BulkRegionResponseItemData
669
- * @property {string} file_path
670
- * @property {number} [failed]
795
+ * @typedef BulkRegionResultItemData
796
+ * @property {string} [file_path] - CDN path of the file which was used for bulk import.
797
+ * @property {number} [failed] - Count of the failed records.
671
798
  * @property {Object[]} [failed_records]
672
- * @property {string} action
673
- * @property {string} batch_id
674
- * @property {string} country
675
- * @property {number} [success]
676
- * @property {string} region
677
- * @property {string} status
678
- * @property {number} [total]
679
- * @property {string} [error_file_path]
680
- */
681
- /**
682
- * @typedef BulkRegionResponse
683
- * @property {BulkRegionResponseItemData[]} items
799
+ * @property {string} action - Denotes the import or export action performed.
800
+ * @property {string} batch_id - Unique id to identify the import or export query.
801
+ * @property {string} country - Country for which the import or export action is
802
+ * performed.
803
+ * @property {number} [success] - Denoted if the import or export was successful
804
+ * or failure.
805
+ * @property {string} region - Region of the country for which import or export
806
+ * is triggered.
807
+ * @property {string} status - Current status of the import or export action performed.
808
+ * @property {number} [total] - Count of total records.
809
+ * @property {string} [error_file_path] - Path of the error file.
810
+ */
811
+ /**
812
+ * @typedef BulkRegionResult
813
+ * @property {BulkRegionResultItemData[]} items
684
814
  * @property {Page} page
685
815
  */
686
816
  /**
687
- * @typedef SelfShipResponse
817
+ * @typedef SelfShipResult
688
818
  * @property {boolean} is_active
689
819
  * @property {number} tat
690
820
  */
691
821
  /**
692
822
  * @typedef ApplicationSelfShipConfig
693
- * @property {Object} [self_ship]
823
+ * @property {SelfShipResult} [self_ship]
694
824
  */
695
825
  /**
696
- * @typedef ApplicationSelfShipConfigResponse
697
- * @property {ServiceabilityErrorResponse} [error]
826
+ * @typedef ApplicationSelfShipConfigResult
827
+ * @property {ServiceabilityErrorResult} [error]
698
828
  * @property {ApplicationSelfShipConfig} [data]
699
829
  * @property {boolean} success
700
830
  */
701
831
  /**
702
832
  * @typedef StoreRuleConfigData
703
- * @property {string[]} [rule_ids]
704
- * @property {string[]} [type_based_priority]
705
- * @property {string[]} [tag_based_priority]
706
- * @property {StorePrioritySchema[]} [store_priority]
707
- * @property {string[]} [sort]
833
+ * @property {string[]} [rule_ids] - List of rule ids which are active in the application.
834
+ * @property {string[]} [type_based_priority] - Priority of the store type to be
835
+ * used in the basic prioritization sorting of stores.
836
+ * @property {string[]} [tag_based_priority] - Priority of the store tags to be
837
+ * used in the basic prioritization sorting of stores.
838
+ * @property {StorePrioritySchema[]} [store_priority] - Priority of explicit
839
+ * stores to be used for sorting of stores.
840
+ * @property {string[]} [sort] - Criteria on which the selected stores should be sorted.
708
841
  */
709
842
  /**
710
843
  * @typedef CustomerRadiusSchema
@@ -730,69 +863,81 @@ export = ServiceabilityPlatformModel;
730
863
  */
731
864
  /**
732
865
  * @typedef StoreRuleDataSchema
733
- * @property {string} [id]
734
- * @property {string} [name]
735
- * @property {number} [company_id]
736
- * @property {string} [application_id]
737
- * @property {string[]} [type_based_priority]
738
- * @property {string[]} [tag_based_priority]
739
- * @property {StorePrioritySchema[]} [store_priority]
740
- * @property {string[]} [sort]
866
+ * @property {string} [id] - Id of the rule.
867
+ * @property {string} [name] - Name of the rule.
868
+ * @property {number} [company_id] - Company id for which the rule is created.
869
+ * @property {string} [application_id] - Application id for which the rule is created.
870
+ * @property {string[]} [type_based_priority] - Priority of the store type to be
871
+ * used in the basic prioritization sorting of stores.
872
+ * @property {string[]} [tag_based_priority] - Priority of the store tags to be
873
+ * used in the basic prioritization sorting of stores.
874
+ * @property {StorePrioritySchema[]} [store_priority] - Priority of explicit
875
+ * stores to be used for sorting of stores.
876
+ * @property {string[]} [sort] - Criteria on which the selected stores should be sorted.
741
877
  * @property {StoreRuleConditionSchema} [conditions]
742
- * @property {boolean} [is_active]
878
+ * @property {boolean} [is_active] - Denotes whether the rule is active or inactive.
743
879
  */
744
880
  /**
745
881
  * @typedef StorePrioritySchema
746
- * @property {string} [id]
747
- * @property {string} [name]
882
+ * @property {number} [id] - Id of the store.
883
+ * @property {string} [name] - Name of the store.
748
884
  */
749
885
  /**
750
- * @typedef GetStoreRulesApiResponse
886
+ * @typedef GetStoreRulesApiResult
751
887
  * @property {StoreRuleDataSchema[]} [items]
752
888
  * @property {Page} [page]
753
889
  */
754
890
  /**
755
- * @typedef CreateStoreRuleRequestSchema
756
- * @property {string} [name]
757
- * @property {boolean} [is_active]
891
+ * @typedef CreateStoreRuleDetailsSchema
892
+ * @property {string} [name] - Name of the rule.
893
+ * @property {boolean} [is_active] - Denotes if the rule is active or not.
758
894
  * @property {StoreRuleConditionSchema} [conditions]
759
- * @property {string[]} [type_based_priority]
760
- * @property {string[]} [tag_based_priority]
761
- * @property {StorePrioritySchema[]} [store_priority]
762
- * @property {string[]} [sort]
763
- */
764
- /**
765
- * @typedef StoreRuleResponseSchema
766
- * @property {string} [id]
767
- * @property {string} [name]
768
- * @property {string} [type]
769
- * @property {string[]} [type_based_priority]
770
- * @property {string[]} [tag_based_priority]
771
- * @property {StorePrioritySchema[]} [store_priority]
772
- * @property {string[]} [sort]
895
+ * @property {string[]} [type_based_priority] - Priority of the store type to be
896
+ * used in the basic prioritization sorting of stores.
897
+ * @property {string[]} [tag_based_priority] - Priority of the store tags to be
898
+ * used in the basic prioritization sorting of stores.
899
+ * @property {StorePrioritySchema[]} [store_priority] - Priority of explicit
900
+ * stores to be used for sorting of stores.
901
+ * @property {string[]} [sort] - Criteria on which the selected stores should be sorted.
902
+ */
903
+ /**
904
+ * @typedef StoreRuleResultSchema
905
+ * @property {string} [id] - Id of the rule created.
906
+ * @property {string} [name] - Name of the rule created.
907
+ * @property {string} [type] - Type of the rule created.
908
+ * @property {string[]} [type_based_priority] - Priority of the store type to be
909
+ * used in the rule for sorting of stores.
910
+ * @property {string[]} [tag_based_priority] - Priority of the store tags to be
911
+ * used in the rule for sorting of stores.
912
+ * @property {StorePrioritySchema[]} [store_priority] - Priority of explicit
913
+ * stores to be used for sorting of stores.
914
+ * @property {string[]} [sort] - Criteria on which the selected stores should be sorted.
773
915
  * @property {StoreRuleConditionSchema} [conditions]
774
- * @property {boolean} [is_active]
775
- */
776
- /**
777
- * @typedef StoreRuleUpdateResponseSchema
778
- * @property {string} [id]
779
- * @property {string} [name]
780
- * @property {string} [type]
781
- * @property {string[]} [type_based_priority]
782
- * @property {string[]} [tag_based_priority]
783
- * @property {StorePrioritySchema[]} [store_priority]
784
- * @property {string[]} [sort]
916
+ * @property {boolean} [is_active] - Denotes if the rule is active or inactive.
917
+ */
918
+ /**
919
+ * @typedef StoreRuleUpdateResultSchema
920
+ * @property {string} [id] - Id of the rule created.
921
+ * @property {string} [name] - Name of the rule created.
922
+ * @property {string} [type] - Type of the rule created.
923
+ * @property {string[]} [type_based_priority] - Priority of the store type to be
924
+ * used in the rule for sorting of stores.
925
+ * @property {string[]} [tag_based_priority] - Priority of the store tags to be
926
+ * used in the rule for sorting of stores.
927
+ * @property {StorePrioritySchema[]} [store_priority] - Priority of explicit
928
+ * stores to be used for sorting of stores.
929
+ * @property {string[]} [sort] - Criteria on which the selected stores should be sorted.
785
930
  * @property {StoreRuleConditionSchema} [conditions]
786
- * @property {boolean} [is_active]
787
- * @property {number} [company_id]
788
- * @property {string} [application_id]
931
+ * @property {boolean} [is_active] - Denotes if the rule is active or inactive.
932
+ * @property {number} [company_id] - Company id for which the rule is created.
933
+ * @property {string} [application_id] - Application id for which the rule is created.
789
934
  */
790
935
  /**
791
936
  * @typedef ServiceabilityModel
792
937
  * @property {number} lm_cod_limit
793
938
  * @property {boolean} is_qc
794
- * @property {string} pickup_cutoff
795
- * @property {string} route_code
939
+ * @property {string} [pickup_cutoff]
940
+ * @property {string} [route_code]
796
941
  * @property {boolean} is_first_mile
797
942
  * @property {boolean} is_return
798
943
  * @property {boolean} is_installation
@@ -821,112 +966,136 @@ export = ServiceabilityPlatformModel;
821
966
  */
822
967
  /**
823
968
  * @typedef CourierPartnerSchemeModel
824
- * @property {string} extension_id
825
- * @property {string} scheme_id
969
+ * @property {string} [name] - Name of the scheme.
970
+ * @property {string} extension_id - Unique identifier of courier partner extension.
971
+ * @property {string} scheme_id - Unique identifier of courier partner scheme.
972
+ * @property {ArithmeticOperations} [volumetric_weight]
826
973
  * @property {ArithmeticOperations} weight
827
- * @property {string} transport_type
828
- * @property {string} region
829
- * @property {string} delivery_type
830
- * @property {string[]} payment_mode
831
- * @property {string} stage
974
+ * @property {string} transport_type - Mode of transport associated with the
975
+ * courier partner scheme.
976
+ * @property {string} region - Serviceable region associated with the courier
977
+ * partner scheme.
978
+ * @property {string} delivery_type - Type of delivery associated with the
979
+ * courier partner scheme.
980
+ * @property {string[]} payment_mode - Mode of payment associated with the
981
+ * courier partner scheme.
982
+ * @property {string} stage - Denotes whether the courier partner scheme is in
983
+ * enabled or disabled stage.
832
984
  * @property {CourierPartnerSchemeFeatures} feature
833
985
  */
834
986
  /**
835
- * @typedef CourierAccountResponse
836
- * @property {string} account_id
837
- * @property {string} scheme_id
838
- * @property {boolean} is_self_ship
839
- * @property {string} stage
840
- * @property {boolean} is_own_account
841
- * @property {CourierPartnerSchemeModel} scheme_rules
987
+ * @typedef CourierAccountResult
988
+ * @property {number} company_id - Company id associated with the account.
989
+ * @property {string} [extension_id] - Unique identifier of courier partner extension.
990
+ * @property {string} account_id - Unique identifier of courier partner scheme
991
+ * and company id combination.
992
+ * @property {string} scheme_id - Unique identifier of courier partner scheme.
993
+ * @property {boolean} is_self_ship - Denotes if the account is of self delivery type.
994
+ * @property {string} stage - Denotes whether the account is in enabled or disabled stage.
995
+ * @property {boolean} is_own_account - Denotes whether it is the seller's own
996
+ * account or not.
997
+ * @property {CourierPartnerSchemeModel} [scheme_rules]
842
998
  */
843
999
  /**
844
- * @typedef CompanyCourierPartnerAccountListResponse
845
- * @property {CourierAccountResponse[]} items
1000
+ * @typedef CompanyCourierPartnerAccountListResult
1001
+ * @property {CourierAccountResult[]} items
846
1002
  * @property {Page} page
847
1003
  */
848
1004
  /**
849
1005
  * @typedef PackageMaterial
850
- * @property {string} name
851
- * @property {number} width
852
- * @property {number} height
853
- * @property {number} length
854
- * @property {PackageMaterialRule[]} [rules]
855
- * @property {number[]} store_ids
856
- * @property {number} weight
857
- * @property {number} error_rate
858
- * @property {string} package_type
859
- * @property {string} size
860
- * @property {string[]} [media]
861
- * @property {Channel[]} channels
862
- * @property {boolean} [track_inventory]
863
- * @property {string} status
864
- * @property {number} [max_weight]
865
- * @property {number} [package_vol_weight]
866
- * @property {boolean} [auto_calculate]
867
- */
868
- /**
869
- * @typedef PackageMaterialResponse
870
- * @property {string} name
871
- * @property {string} [id]
872
- * @property {number} [item_id]
873
- * @property {number} width
874
- * @property {number} height
875
- * @property {number} length
876
- * @property {PackageMaterialRule[]} [rules]
877
- * @property {number[]} store_ids
878
- * @property {number} weight
879
- * @property {number} error_rate
880
- * @property {string} package_type
881
- * @property {string} size
882
- * @property {string[]} [media]
883
- * @property {Channel[]} channels
884
- * @property {boolean} [track_inventory]
885
- * @property {string} status
886
- * @property {number} [max_weight]
887
- * @property {number} [package_vol_weight]
888
- * @property {boolean} [auto_calculate]
1006
+ * @property {string} name - Name of the packaging material.
1007
+ * @property {number} width - Width of the packaging material dimentions in centimeter.
1008
+ * @property {number} height - Height of the packaging material dimentions in centimeter.
1009
+ * @property {number} length - Length of the packaging material dimentions in centimeter.
1010
+ * @property {PackageMaterialRule[]} [rules] - Product group rules associated
1011
+ * with the packaging.
1012
+ * @property {number[]} store_ids - Store ids where the packaging is avaiable.
1013
+ * @property {number} weight - Package's weight in gram.
1014
+ * @property {number} error_rate - Error Rate associated with the packaging dimensions.
1015
+ * @property {string} package_type - Type of package material.
1016
+ * @property {string} size - Physical size of the packaging.
1017
+ * @property {string[]} [media] - Image urls associated with the packaging material.
1018
+ * @property {Channel[]} channels - Sales channel where packaging is applicable.
1019
+ * @property {boolean} [track_inventory] - Denotes if the track of the inventory
1020
+ * should be kept.
1021
+ * @property {string} status - Current status of the packaging material, if it
1022
+ * is active or inactive.
1023
+ * @property {number} [max_weight] - Maximum weight holding capacity.
1024
+ * @property {number} [package_vol_weight] - Volumetric weight that a packaging
1025
+ * material can carry.
1026
+ * @property {boolean} [auto_calculate] - Denotes whether the volumetric weight
1027
+ * should be auto calculated or not.
1028
+ */
1029
+ /**
1030
+ * @typedef PackageMaterialResult
1031
+ * @property {string} name - Name of the packaging material.
1032
+ * @property {string} [id] - Id of the packaging material.
1033
+ * @property {number} [item_id] - Unique identifier of an item associated with
1034
+ * the packaging material.
1035
+ * @property {number} [company_id] - Company id associated with the packaging material.
1036
+ * @property {number} width - Width of the packaging material dimentions in centimeter.
1037
+ * @property {number} height - Height of the packaging material dimentions in centimeter.
1038
+ * @property {number} length - Length of the packaging material dimentions in centimeter.
1039
+ * @property {PackageMaterialRule[]} [rules] - Product group rules associated
1040
+ * with the packaging.
1041
+ * @property {number[]} store_ids - Store ids where the packaging is avaiable.
1042
+ * @property {number} weight - Package's weight in gram.
1043
+ * @property {number} error_rate - Error Rate associated with the packaging dimensions.
1044
+ * @property {string} package_type - Type of package material.
1045
+ * @property {string} size - Physical size of the packaging.
1046
+ * @property {string[]} [media] - Image urls associated with the packaging material.
1047
+ * @property {Channel[]} channels - Sales channel where packaging is applicable.
1048
+ * @property {boolean} [track_inventory] - Denotes if the track of the inventory
1049
+ * should be kept.
1050
+ * @property {string} status - Current status of the packaging material, if it
1051
+ * is active or inactive.
1052
+ * @property {number} [max_weight] - Maximum weight holding capacity.
1053
+ * @property {number} [package_vol_weight] - Volumetric weight that a packaging
1054
+ * material can carry.
1055
+ * @property {boolean} [auto_calculate] - Denotes whether the volumetric weight
1056
+ * should be auto calculated or not.
889
1057
  */
890
1058
  /**
891
1059
  * @typedef PackageMaterialRule
892
- * @property {string} [rule_id]
1060
+ * @property {string} [rule_id] - Unique identifier of the package rule.
893
1061
  * @property {PackageMaterialRuleQuantity} [quantity]
894
- * @property {number} [weight]
1062
+ * @property {number} [weight] - Volumetric weight in gram.
895
1063
  */
896
1064
  /**
897
1065
  * @typedef PackageRule
898
- * @property {string} name
899
- * @property {number} company_id
900
- * @property {string} type
901
- * @property {boolean} [is_active]
1066
+ * @property {string} name - Name of the package rule.
1067
+ * @property {number} company_id - Unique identifier of the company.
1068
+ * @property {string} type - Type of the rule.
1069
+ * @property {boolean} [is_active] - Denotes if the rule is active or inactive.
902
1070
  * @property {PackageRuleProductTag} [product_tag]
903
1071
  * @property {PackageRuleProduct} [product_id]
904
1072
  * @property {PackageRuleCategory} [category_id]
905
1073
  */
906
1074
  /**
907
- * @typedef PackageRuleResponse
908
- * @property {string} [id]
909
- * @property {string} name
910
- * @property {number} company_id
911
- * @property {string} type
912
- * @property {boolean} [is_active]
1075
+ * @typedef PackageRuleResult
1076
+ * @property {string} [id] - Unique id of a package rule.
1077
+ * @property {string} name - Name of a package rule.
1078
+ * @property {number} company_id - Unique identifier of a company associated
1079
+ * with the package rule.
1080
+ * @property {string} type - Type of the rule created.
1081
+ * @property {boolean} [is_active] - Denotes if the rule is active or inactive.
913
1082
  * @property {PackageRuleProductTag} [product_tag]
914
1083
  * @property {PackageRuleProduct} [product_id]
915
1084
  * @property {PackageRuleCategory} [category_id]
916
1085
  */
917
1086
  /**
918
1087
  * @typedef Channel
919
- * @property {string} [type]
920
- * @property {string} [id]
1088
+ * @property {string} [type] - Type of the channel.
1089
+ * @property {string} [id] - Unique identifier of the channel.
921
1090
  */
922
1091
  /**
923
1092
  * @typedef PackageMaterialRuleList
924
- * @property {PackageRuleResponse} [items]
1093
+ * @property {PackageRuleResult} [items]
925
1094
  * @property {Page} [page]
926
1095
  */
927
1096
  /**
928
1097
  * @typedef PackageMaterialList
929
- * @property {PackageMaterialResponse} [items]
1098
+ * @property {PackageMaterialResult} [items]
930
1099
  * @property {Page} [page]
931
1100
  */
932
1101
  /**
@@ -943,17 +1112,18 @@ export = ServiceabilityPlatformModel;
943
1112
  */
944
1113
  /**
945
1114
  * @typedef PackageMaterialRuleQuantity
946
- * @property {number} [min]
947
- * @property {number} [max]
1115
+ * @property {number} [min] - Minimum product's quantity that a packaging can contain.
1116
+ * @property {number} [max] - Maximum product's quantity that a packaging can contain.
948
1117
  */
949
1118
  /**
950
- * @typedef RulePriorityRequest
951
- * @property {string} rule_id
952
- * @property {number} priority
1119
+ * @typedef RulePriorityDetails
1120
+ * @property {string} rule_id - Rule id whose priority needs to be changed.
1121
+ * @property {number} priority - New priority of the rule.
953
1122
  */
954
1123
  /**
955
- * @typedef RulePriorityResponse
956
- * @property {boolean} [success]
1124
+ * @typedef RulePriorityResult
1125
+ * @property {boolean} [success] - Denotes if the priority of the rule is
1126
+ * changes successfully or not.
957
1127
  */
958
1128
  /**
959
1129
  * @typedef ArticleAssignment
@@ -980,7 +1150,7 @@ export = ServiceabilityPlatformModel;
980
1150
  * @typedef OptimalLocationsArticles
981
1151
  * @property {number} item_id
982
1152
  * @property {string} size
983
- * @property {string} quantity
1153
+ * @property {number} quantity
984
1154
  * @property {string} [group_id]
985
1155
  * @property {boolean} [is_primary_item]
986
1156
  * @property {Object} [meta]
@@ -990,15 +1160,15 @@ export = ServiceabilityPlatformModel;
990
1160
  * @property {number} [seller_id]
991
1161
  */
992
1162
  /**
993
- * @typedef OptimlLocationsRequestSchema
1163
+ * @typedef OptimlLocationsDetailsSchema
994
1164
  * @property {string} channel_id
995
1165
  * @property {string} channel_type
996
1166
  * @property {string} [channel_identifier]
997
1167
  * @property {LocationDetailsServiceability} to_serviceability
998
- * @property {OptimalLocationsArticles} [article]
1168
+ * @property {OptimalLocationsArticles[]} [articles]
999
1169
  */
1000
1170
  /**
1001
- * @typedef OptimalLocationArticlesResponse
1171
+ * @typedef OptimalLocationArticlesResult
1002
1172
  * @property {number} item_id
1003
1173
  * @property {string} size
1004
1174
  * @property {number} quantity
@@ -1015,28 +1185,37 @@ export = ServiceabilityPlatformModel;
1015
1185
  * @property {string} uid
1016
1186
  */
1017
1187
  /**
1018
- * @typedef OptimalLocationAssignedStoresResponse
1188
+ * @typedef OptimalLocationAssignedStoresResult
1019
1189
  * @property {number} store_id
1020
- * @property {OptimalLocationArticlesResponse[]} articles
1190
+ * @property {OptimalLocationArticlesResult[]} articles
1191
+ */
1192
+ /**
1193
+ * @typedef OptimalLocationsResult
1194
+ * @property {OptimalLocationAssignedStoresResult[]} assigned_stores
1195
+ * @property {ErrorResult[]} [faulty_articles]
1021
1196
  */
1022
1197
  /**
1023
- * @typedef OptimalLocationsResponse
1024
- * @property {OptimalLocationAssignedStoresResponse[]} assigned_stores
1025
- * @property {ErrorResponse[]} [faulty_articles]
1198
+ * @typedef ValidationError
1199
+ * @property {string} message - A brief description of the error encountered.
1200
+ * @property {string} field - The field in the request that caused the error.
1201
+ */
1202
+ /**
1203
+ * @typedef StandardError
1204
+ * @property {string} message - A brief description of the error.
1026
1205
  */
1027
1206
  declare class ServiceabilityPlatformModel {
1028
1207
  }
1029
1208
  declare namespace ServiceabilityPlatformModel {
1030
- export { UpdateZoneConfigRequest, ServiceabilityErrorResponse, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResponse, EntityRegionView_Request, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResponse, PageSchema, EntityRegionView_Items, EntityRegionView_Response, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResponse, CompanyStoreView_PageItems, CompanyStoreView_Response, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingType, UpdateZoneData, ZoneUpdateRequest, ZoneSuccessResponse, GetZoneDataViewItems, GetSingleZoneDataViewResponse, GetZoneByIdSchema, CreateZoneData, ZoneResponse, GetZoneFromPincodeViewRequest, Zone, GetZoneFromPincodeViewResponse, GetZoneFromApplicationIdViewResponse, ServiceabilityPageResponse, MobileNo, ManagerResponse, ModifiedByResponse, IntegrationTypeResponse, ProductReturnConfigResponse, ContactNumberResponse, AddressResponse, CreatedByResponse, EwayBillResponse, EinvoiceResponse, GstCredentialsResponse, WarningsResponse, OpeningClosing, TimmingResponse, DocumentsResponse, Dp, LogisticsResponse, ItemResponse, GetStoresViewResponse, PincodeMopData, PincodeMopUpdateResponse, PincodeMOPresponse, CommonError, PincodeMopBulkData, PincodeBulkViewResponse, PincodeCodStatusListingRequest, PincodeCodStatusListingResponse, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryRequest, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResponse, PincodeMopUpdateAuditHistoryResponseData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccount, CourierAccountRequestBody, ErrorResponse, CourierPartnerAccountFailureResponse, Page, CourierPartnerRuleCPListResponse, CourierPartnerRuleResponse, CourierPartnerList, LocationRuleValues, LocationRule, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRule, FailureResponse, CourierPartnerRulesListResponse, CompanyConfig, ZoneConfig, ApplicationConfig, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, SelfShipResponse, ApplicationSelfShipConfig, ApplicationSelfShipConfigResponse, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResponse, CreateStoreRuleRequestSchema, StoreRuleResponseSchema, StoreRuleUpdateResponseSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierAccountResponse, CompanyCourierPartnerAccountListResponse, PackageMaterial, PackageMaterialResponse, PackageMaterialRule, PackageRule, PackageRuleResponse, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageMaterialRuleQuantity, RulePriorityRequest, RulePriorityResponse, ArticleAssignment, ServiceabilityLocation, LocationDetailsServiceability, OptimalLocationsArticles, OptimlLocationsRequestSchema, OptimalLocationArticlesResponse, OptimalLocationAssignedStoresResponse, OptimalLocationsResponse };
1209
+ export { UpdateZoneConfigDetails, ServiceabilityErrorResult, ApplicationServiceabilityConfig, ApplicationServiceabilityConfigResult, EntityRegionView_Details, EntityRegionView_Error, EntityRegionView_page, getAppRegionZonesResult, PageSchema, EntityRegionView_Items, EntityRegionView_Result, ListViewSummary, ZoneDataItem, ListViewProduct, ListViewChannels, ListViewItems, ListViewResult, CompanyStoreView_PageItems, CompanyStoreView_Result, GetZoneDataViewChannels, ZoneProductTypes, ZoneMappingDetailType, ZoneMappingType, ZoneMappingRegions, UpdateZoneData, ZoneUpdateDetails, ZoneSuccessResult, GetZoneDataViewItems, GetSingleZoneDataViewResult, GetZoneByIdSchema, CreateZoneData, ZoneResult, GetZoneFromPincodeViewDetails, Zone, GetZoneFromPincodeViewResult, GetZoneFromApplicationIdViewResult, ServiceabilityPageResult, MobileNo, ManagerResult, ModifiedByResult, IntegrationTypeResult, ProductReturnConfigResult, ContactNumberResult, AddressResult, CreatedByResult, EwayBillResult, EinvoiceResult, GstCredentialsResult, WarningsResult, OpeningClosing, TimmingResult, DocumentsResult, Dp, LogisticsResult, ItemResult, GetStoresViewResult, PincodeMopData, PincodeMopUpdateResult, PincodeMOPResult, CommonError, PincodeMopBulkData, PincodeBulkViewResult, PincodeCodStatusListingDetails, PincodeCodStatusItem, PincodeCodStatusListingResult, Error, PincodeCodStatusListingPage, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryDetails, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResult, PincodeMopUpdateAuditHistoryResultData, ArithmeticOperations, SchemeRulesFeatures, SchemeRules, CourierAccountUpdateDetails, CourierAccount, CourierAccountDetailsBody, ErrorResult, CourierPartnerAccountFailureResult, Page, CourierPartnerRuleCPListResult, CourierPartnerRuleResult, CourierPartnerList, LocationRuleValues, LocationRule, StringComparisonOperations, IntComparisonOperations, CourierPartnerRuleConditions, CourierPartnerRule, FailureResult, CourierPartnerRulesListResult, ShipmentsArticles, ShipmentDimension, Shipments, ShipmentCourierPartnerDetails, CourierPartnerPromise, CourierPartners, ShipmentCourierPartners, ShipmentCourierPartnerResult, ShipmentsCourierPartnersServiceability, CompanyConfig, ZoneConfig, ApplicationConfig, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, SelfShipResult, ApplicationSelfShipConfig, ApplicationSelfShipConfigResult, StoreRuleConfigData, CustomerRadiusSchema, StoreRuleConditionSchema, StoreRuleDataSchema, StorePrioritySchema, GetStoreRulesApiResult, CreateStoreRuleDetailsSchema, StoreRuleResultSchema, StoreRuleUpdateResultSchema, ServiceabilityModel, CourierPartnerSchemeFeatures, CourierPartnerSchemeModel, CourierAccountResult, CompanyCourierPartnerAccountListResult, PackageMaterial, PackageMaterialResult, PackageMaterialRule, PackageRule, PackageRuleResult, Channel, PackageMaterialRuleList, PackageMaterialList, PackageRuleProduct, PackageRuleProductTag, PackageRuleCategory, PackageMaterialRuleQuantity, RulePriorityDetails, RulePriorityResult, ArticleAssignment, ServiceabilityLocation, LocationDetailsServiceability, OptimalLocationsArticles, OptimlLocationsDetailsSchema, OptimalLocationArticlesResult, OptimalLocationAssignedStoresResult, OptimalLocationsResult, ValidationError, StandardError };
1031
1210
  }
1032
- /** @returns {UpdateZoneConfigRequest} */
1033
- declare function UpdateZoneConfigRequest(): UpdateZoneConfigRequest;
1034
- type UpdateZoneConfigRequest = {
1211
+ /** @returns {UpdateZoneConfigDetails} */
1212
+ declare function UpdateZoneConfigDetails(): UpdateZoneConfigDetails;
1213
+ type UpdateZoneConfigDetails = {
1035
1214
  serviceability_type?: string;
1036
1215
  };
1037
- /** @returns {ServiceabilityErrorResponse} */
1038
- declare function ServiceabilityErrorResponse(): ServiceabilityErrorResponse;
1039
- type ServiceabilityErrorResponse = {
1216
+ /** @returns {ServiceabilityErrorResult} */
1217
+ declare function ServiceabilityErrorResult(): ServiceabilityErrorResult;
1218
+ type ServiceabilityErrorResult = {
1040
1219
  message: string;
1041
1220
  value: string;
1042
1221
  type: string;
@@ -1048,16 +1227,16 @@ type ApplicationServiceabilityConfig = {
1048
1227
  serviceability_type: string;
1049
1228
  channel_type: string;
1050
1229
  };
1051
- /** @returns {ApplicationServiceabilityConfigResponse} */
1052
- declare function ApplicationServiceabilityConfigResponse(): ApplicationServiceabilityConfigResponse;
1053
- type ApplicationServiceabilityConfigResponse = {
1054
- error?: ServiceabilityErrorResponse;
1230
+ /** @returns {ApplicationServiceabilityConfigResult} */
1231
+ declare function ApplicationServiceabilityConfigResult(): ApplicationServiceabilityConfigResult;
1232
+ type ApplicationServiceabilityConfigResult = {
1233
+ error?: ServiceabilityErrorResult;
1055
1234
  data?: ApplicationServiceabilityConfig;
1056
1235
  success: boolean;
1057
1236
  };
1058
- /** @returns {EntityRegionView_Request} */
1059
- declare function EntityRegionView_Request(): EntityRegionView_Request;
1060
- type EntityRegionView_Request = {
1237
+ /** @returns {EntityRegionView_Details} */
1238
+ declare function EntityRegionView_Details(): EntityRegionView_Details;
1239
+ type EntityRegionView_Details = {
1061
1240
  sub_type: string[];
1062
1241
  parent_id?: string[];
1063
1242
  };
@@ -1077,9 +1256,9 @@ type EntityRegionView_page = {
1077
1256
  size: number;
1078
1257
  current: number;
1079
1258
  };
1080
- /** @returns {getAppRegionZonesResponse} */
1081
- declare function getAppRegionZonesResponse(): getAppRegionZonesResponse;
1082
- type getAppRegionZonesResponse = {
1259
+ /** @returns {getAppRegionZonesResult} */
1260
+ declare function getAppRegionZonesResult(): getAppRegionZonesResult;
1261
+ type getAppRegionZonesResult = {
1083
1262
  page: PageSchema[];
1084
1263
  items: ListViewItems[];
1085
1264
  };
@@ -1099,9 +1278,9 @@ type EntityRegionView_Items = {
1099
1278
  uid: string;
1100
1279
  name: string;
1101
1280
  };
1102
- /** @returns {EntityRegionView_Response} */
1103
- declare function EntityRegionView_Response(): EntityRegionView_Response;
1104
- type EntityRegionView_Response = {
1281
+ /** @returns {EntityRegionView_Result} */
1282
+ declare function EntityRegionView_Result(): EntityRegionView_Result;
1283
+ type EntityRegionView_Result = {
1105
1284
  error: EntityRegionView_Error;
1106
1285
  page: EntityRegionView_page;
1107
1286
  data: EntityRegionView_Items[];
@@ -1178,9 +1357,9 @@ type ListViewItems = {
1178
1357
  */
1179
1358
  channels: ListViewChannels[];
1180
1359
  };
1181
- /** @returns {ListViewResponse} */
1182
- declare function ListViewResponse(): ListViewResponse;
1183
- type ListViewResponse = {
1360
+ /** @returns {ListViewResult} */
1361
+ declare function ListViewResult(): ListViewResult;
1362
+ type ListViewResult = {
1184
1363
  page: ZoneDataItem;
1185
1364
  items: ListViewItems[];
1186
1365
  };
@@ -1193,9 +1372,9 @@ type CompanyStoreView_PageItems = {
1193
1372
  size: number;
1194
1373
  current: number;
1195
1374
  };
1196
- /** @returns {CompanyStoreView_Response} */
1197
- declare function CompanyStoreView_Response(): CompanyStoreView_Response;
1198
- type CompanyStoreView_Response = {
1375
+ /** @returns {CompanyStoreView_Result} */
1376
+ declare function CompanyStoreView_Result(): CompanyStoreView_Result;
1377
+ type CompanyStoreView_Result = {
1199
1378
  page: CompanyStoreView_PageItems[];
1200
1379
  items?: any[];
1201
1380
  };
@@ -1208,103 +1387,266 @@ type GetZoneDataViewChannels = {
1208
1387
  /** @returns {ZoneProductTypes} */
1209
1388
  declare function ZoneProductTypes(): ZoneProductTypes;
1210
1389
  type ZoneProductTypes = {
1390
+ /**
1391
+ * - Denotes if the zone is applicable for all the
1392
+ * products or specific products.
1393
+ */
1211
1394
  type: string;
1395
+ /**
1396
+ * - List of product tags.
1397
+ */
1212
1398
  tags: string[];
1213
1399
  };
1400
+ /** @returns {ZoneMappingDetailType} */
1401
+ declare function ZoneMappingDetailType(): ZoneMappingDetailType;
1402
+ type ZoneMappingDetailType = {
1403
+ /**
1404
+ * - Uid for the country.
1405
+ */
1406
+ country: string;
1407
+ /**
1408
+ * - List of regions with its details.
1409
+ */
1410
+ regions?: ZoneMappingRegions[];
1411
+ };
1214
1412
  /** @returns {ZoneMappingType} */
1215
1413
  declare function ZoneMappingType(): ZoneMappingType;
1216
1414
  type ZoneMappingType = {
1415
+ /**
1416
+ * - Uid for the country.
1417
+ */
1217
1418
  country: string;
1218
- pincode?: string[];
1219
- state?: string[];
1419
+ /**
1420
+ * - List of region uid for the given country.
1421
+ */
1422
+ regions: string[];
1423
+ };
1424
+ /** @returns {ZoneMappingRegions} */
1425
+ declare function ZoneMappingRegions(): ZoneMappingRegions;
1426
+ type ZoneMappingRegions = {
1427
+ /**
1428
+ * - Name of the region that is in proper casing.
1429
+ */
1430
+ display_name?: string;
1431
+ parent_id?: string[];
1432
+ /**
1433
+ * - Unique identifier for that regions parent.
1434
+ */
1435
+ parent_uid?: string;
1436
+ /**
1437
+ * - What type does the region belong to.
1438
+ */
1439
+ sub_type?: string;
1440
+ /**
1441
+ * - Unique identifier for that region.
1442
+ */
1443
+ uid?: string;
1220
1444
  };
1221
1445
  /** @returns {UpdateZoneData} */
1222
1446
  declare function UpdateZoneData(): UpdateZoneData;
1223
1447
  type UpdateZoneData = {
1448
+ /**
1449
+ * - Unique identifier for the zone.
1450
+ */
1224
1451
  zone_id: string;
1452
+ /**
1453
+ * - Name for the zone.
1454
+ */
1225
1455
  name: string;
1456
+ /**
1457
+ * - A human-readable and unique identifier for the
1458
+ * zone, derived from the name.
1459
+ */
1226
1460
  slug: string;
1461
+ /**
1462
+ * - Company id associated with the zone.
1463
+ */
1227
1464
  company_id: number;
1465
+ /**
1466
+ * - A flag indicating whether the zone is active.
1467
+ */
1228
1468
  is_active: boolean;
1469
+ /**
1470
+ * - Channels for which the zone is active.
1471
+ */
1229
1472
  channels: GetZoneDataViewChannels[];
1230
1473
  product: ZoneProductTypes;
1474
+ /**
1475
+ * - A list of store identifiers associated with the zone.
1476
+ */
1231
1477
  store_ids: number[];
1478
+ /**
1479
+ * - Type of region that belongs in the zone.
1480
+ */
1232
1481
  region_type: string;
1482
+ /**
1483
+ * - Country to region mapping for the zone.
1484
+ */
1233
1485
  mapping: ZoneMappingType[];
1234
- assignment_preference?: string;
1235
1486
  };
1236
- /** @returns {ZoneUpdateRequest} */
1237
- declare function ZoneUpdateRequest(): ZoneUpdateRequest;
1238
- type ZoneUpdateRequest = {
1487
+ /** @returns {ZoneUpdateDetails} */
1488
+ declare function ZoneUpdateDetails(): ZoneUpdateDetails;
1489
+ type ZoneUpdateDetails = {
1239
1490
  identifier: string;
1240
1491
  data: UpdateZoneData;
1241
1492
  };
1242
- /** @returns {ZoneSuccessResponse} */
1243
- declare function ZoneSuccessResponse(): ZoneSuccessResponse;
1244
- type ZoneSuccessResponse = {
1493
+ /** @returns {ZoneSuccessResult} */
1494
+ declare function ZoneSuccessResult(): ZoneSuccessResult;
1495
+ type ZoneSuccessResult = {
1245
1496
  status_code: number;
1246
1497
  success: boolean;
1247
1498
  };
1248
1499
  /** @returns {GetZoneDataViewItems} */
1249
1500
  declare function GetZoneDataViewItems(): GetZoneDataViewItems;
1250
1501
  type GetZoneDataViewItems = {
1502
+ /**
1503
+ * - The unique identifier for the zone.
1504
+ */
1251
1505
  zone_id: string;
1506
+ /**
1507
+ * - The name of the zone for easy identification.
1508
+ */
1252
1509
  name: string;
1510
+ /**
1511
+ * - A URL-friendly version of the zone’s name, used for
1512
+ * routing or linking.
1513
+ */
1253
1514
  slug: string;
1515
+ /**
1516
+ * - The ID of the company associated with this zone.
1517
+ */
1254
1518
  company_id?: number;
1519
+ /**
1520
+ * - A flag indicating whether the zone is active
1521
+ * (true) or inactive (false).
1522
+ */
1255
1523
  is_active: boolean;
1524
+ /**
1525
+ * - A list of channels available
1526
+ * within this zone.
1527
+ */
1256
1528
  channels: GetZoneDataViewChannels[];
1257
1529
  product: ZoneProductTypes;
1530
+ /**
1531
+ * - A collection of store IDs linked to this zone.
1532
+ */
1258
1533
  store_ids: number[];
1534
+ /**
1535
+ * - The type of region the zone represents.
1536
+ */
1259
1537
  region_type?: string;
1538
+ /**
1539
+ * - A list of mappings defining
1540
+ * relationships between this zone and other entities.
1541
+ */
1260
1542
  mapping: ZoneMappingType[];
1543
+ /**
1544
+ * - The preferred method for
1545
+ * assigning stores or products to the zone.
1546
+ */
1261
1547
  assignment_preference?: string;
1548
+ /**
1549
+ * - The total number of stores assigned to this zone.
1550
+ */
1262
1551
  stores_count: number;
1263
1552
  };
1264
- /** @returns {GetSingleZoneDataViewResponse} */
1265
- declare function GetSingleZoneDataViewResponse(): GetSingleZoneDataViewResponse;
1266
- type GetSingleZoneDataViewResponse = {
1553
+ /** @returns {GetSingleZoneDataViewResult} */
1554
+ declare function GetSingleZoneDataViewResult(): GetSingleZoneDataViewResult;
1555
+ type GetSingleZoneDataViewResult = {
1267
1556
  data: GetZoneDataViewItems;
1268
1557
  };
1269
1558
  /** @returns {GetZoneByIdSchema} */
1270
1559
  declare function GetZoneByIdSchema(): GetZoneByIdSchema;
1271
1560
  type GetZoneByIdSchema = {
1561
+ /**
1562
+ * - Unique identifier for the zone.
1563
+ */
1272
1564
  zone_id: string;
1565
+ /**
1566
+ * - Name for the zone.
1567
+ */
1273
1568
  name: string;
1569
+ /**
1570
+ * - A human-readable and unique identifier for the
1571
+ * zone, derived from the name.
1572
+ */
1274
1573
  slug: string;
1574
+ /**
1575
+ * - Company id associated with the zone.
1576
+ */
1275
1577
  company_id?: number;
1578
+ /**
1579
+ * - A flag indicating whether the zone is active.
1580
+ */
1276
1581
  is_active: boolean;
1582
+ /**
1583
+ * - Channels for which the zone is active.
1584
+ */
1277
1585
  channels: GetZoneDataViewChannels[];
1278
1586
  product: ZoneProductTypes;
1587
+ /**
1588
+ * - A list of store identifiers associated with the zone.
1589
+ */
1279
1590
  store_ids: number[];
1591
+ /**
1592
+ * - Type of region that belongs in the zone.
1593
+ */
1280
1594
  region_type: string;
1281
- mapping: ZoneMappingType[];
1282
- assignment_preference?: string;
1283
- stores_count: number;
1595
+ /**
1596
+ * - Country to region mapping for the zone.
1597
+ */
1598
+ mapping: ZoneMappingDetailType[];
1599
+ stores_count?: number;
1284
1600
  };
1285
1601
  /** @returns {CreateZoneData} */
1286
1602
  declare function CreateZoneData(): CreateZoneData;
1287
1603
  type CreateZoneData = {
1604
+ /**
1605
+ * - Name of the zone.
1606
+ */
1288
1607
  name: string;
1608
+ /**
1609
+ * - A human-readable and unique identifier for the
1610
+ * zone, derived from the name.
1611
+ */
1289
1612
  slug: string;
1613
+ /**
1614
+ * - Unique identifier of the company for which
1615
+ * the zone is created.
1616
+ */
1290
1617
  company_id: number;
1618
+ /**
1619
+ * - A flag indicating whether the zone is active.
1620
+ */
1291
1621
  is_active: boolean;
1622
+ /**
1623
+ * - Channels for which the zone is active.
1624
+ */
1292
1625
  channels: GetZoneDataViewChannels[];
1626
+ /**
1627
+ * - A list of store identifiers associated with the zone.
1628
+ */
1293
1629
  store_ids: number[];
1630
+ /**
1631
+ * - Type of region that belongs in the zone.
1632
+ */
1294
1633
  region_type: string;
1634
+ /**
1635
+ * - Country to region mapping for the zone.
1636
+ */
1295
1637
  mapping: ZoneMappingType[];
1296
- assignment_preference?: string;
1638
+ product?: ZoneProductTypes;
1297
1639
  };
1298
- /** @returns {ZoneResponse} */
1299
- declare function ZoneResponse(): ZoneResponse;
1300
- type ZoneResponse = {
1301
- status_code: number;
1640
+ /** @returns {ZoneResult} */
1641
+ declare function ZoneResult(): ZoneResult;
1642
+ type ZoneResult = {
1643
+ status_code?: number;
1302
1644
  zone_id: string;
1303
1645
  success: boolean;
1304
1646
  };
1305
- /** @returns {GetZoneFromPincodeViewRequest} */
1306
- declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
1307
- type GetZoneFromPincodeViewRequest = {
1647
+ /** @returns {GetZoneFromPincodeViewDetails} */
1648
+ declare function GetZoneFromPincodeViewDetails(): GetZoneFromPincodeViewDetails;
1649
+ type GetZoneFromPincodeViewDetails = {
1308
1650
  country: string;
1309
1651
  pincode: string;
1310
1652
  };
@@ -1318,23 +1660,22 @@ type Zone = {
1318
1660
  slug: string;
1319
1661
  is_active: boolean;
1320
1662
  store_ids: number[];
1321
- assignment_preference: string;
1322
1663
  };
1323
- /** @returns {GetZoneFromPincodeViewResponse} */
1324
- declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
1325
- type GetZoneFromPincodeViewResponse = {
1664
+ /** @returns {GetZoneFromPincodeViewResult} */
1665
+ declare function GetZoneFromPincodeViewResult(): GetZoneFromPincodeViewResult;
1666
+ type GetZoneFromPincodeViewResult = {
1326
1667
  serviceability_type: string;
1327
1668
  zones: Zone[];
1328
1669
  };
1329
- /** @returns {GetZoneFromApplicationIdViewResponse} */
1330
- declare function GetZoneFromApplicationIdViewResponse(): GetZoneFromApplicationIdViewResponse;
1331
- type GetZoneFromApplicationIdViewResponse = {
1670
+ /** @returns {GetZoneFromApplicationIdViewResult} */
1671
+ declare function GetZoneFromApplicationIdViewResult(): GetZoneFromApplicationIdViewResult;
1672
+ type GetZoneFromApplicationIdViewResult = {
1332
1673
  page: ZoneDataItem[];
1333
1674
  items: ListViewItems[];
1334
1675
  };
1335
- /** @returns {ServiceabilityPageResponse} */
1336
- declare function ServiceabilityPageResponse(): ServiceabilityPageResponse;
1337
- type ServiceabilityPageResponse = {
1676
+ /** @returns {ServiceabilityPageResult} */
1677
+ declare function ServiceabilityPageResult(): ServiceabilityPageResult;
1678
+ type ServiceabilityPageResult = {
1338
1679
  type?: string;
1339
1680
  has_next?: boolean;
1340
1681
  item_total?: number;
@@ -1347,39 +1688,39 @@ type MobileNo = {
1347
1688
  number?: string;
1348
1689
  country_code?: number;
1349
1690
  };
1350
- /** @returns {ManagerResponse} */
1351
- declare function ManagerResponse(): ManagerResponse;
1352
- type ManagerResponse = {
1691
+ /** @returns {ManagerResult} */
1692
+ declare function ManagerResult(): ManagerResult;
1693
+ type ManagerResult = {
1353
1694
  email?: string;
1354
1695
  mobile_no?: MobileNo;
1355
1696
  name?: string;
1356
1697
  };
1357
- /** @returns {ModifiedByResponse} */
1358
- declare function ModifiedByResponse(): ModifiedByResponse;
1359
- type ModifiedByResponse = {
1698
+ /** @returns {ModifiedByResult} */
1699
+ declare function ModifiedByResult(): ModifiedByResult;
1700
+ type ModifiedByResult = {
1360
1701
  username?: string;
1361
1702
  user_id?: string;
1362
1703
  };
1363
- /** @returns {IntegrationTypeResponse} */
1364
- declare function IntegrationTypeResponse(): IntegrationTypeResponse;
1365
- type IntegrationTypeResponse = {
1704
+ /** @returns {IntegrationTypeResult} */
1705
+ declare function IntegrationTypeResult(): IntegrationTypeResult;
1706
+ type IntegrationTypeResult = {
1366
1707
  inventory?: string;
1367
1708
  order?: string;
1368
1709
  };
1369
- /** @returns {ProductReturnConfigResponse} */
1370
- declare function ProductReturnConfigResponse(): ProductReturnConfigResponse;
1371
- type ProductReturnConfigResponse = {
1710
+ /** @returns {ProductReturnConfigResult} */
1711
+ declare function ProductReturnConfigResult(): ProductReturnConfigResult;
1712
+ type ProductReturnConfigResult = {
1372
1713
  on_same_store?: boolean;
1373
1714
  };
1374
- /** @returns {ContactNumberResponse} */
1375
- declare function ContactNumberResponse(): ContactNumberResponse;
1376
- type ContactNumberResponse = {
1715
+ /** @returns {ContactNumberResult} */
1716
+ declare function ContactNumberResult(): ContactNumberResult;
1717
+ type ContactNumberResult = {
1377
1718
  number?: string;
1378
1719
  country_code?: number;
1379
1720
  };
1380
- /** @returns {AddressResponse} */
1381
- declare function AddressResponse(): AddressResponse;
1382
- type AddressResponse = {
1721
+ /** @returns {AddressResult} */
1722
+ declare function AddressResult(): AddressResult;
1723
+ type AddressResult = {
1383
1724
  city?: string;
1384
1725
  address1?: string;
1385
1726
  pincode?: number;
@@ -1390,31 +1731,31 @@ type AddressResponse = {
1390
1731
  latitude?: number;
1391
1732
  longitude?: number;
1392
1733
  };
1393
- /** @returns {CreatedByResponse} */
1394
- declare function CreatedByResponse(): CreatedByResponse;
1395
- type CreatedByResponse = {
1734
+ /** @returns {CreatedByResult} */
1735
+ declare function CreatedByResult(): CreatedByResult;
1736
+ type CreatedByResult = {
1396
1737
  username?: string;
1397
1738
  user_id?: string;
1398
1739
  };
1399
- /** @returns {EwayBillResponse} */
1400
- declare function EwayBillResponse(): EwayBillResponse;
1401
- type EwayBillResponse = {
1740
+ /** @returns {EwayBillResult} */
1741
+ declare function EwayBillResult(): EwayBillResult;
1742
+ type EwayBillResult = {
1402
1743
  enabled?: boolean;
1403
1744
  };
1404
- /** @returns {EinvoiceResponse} */
1405
- declare function EinvoiceResponse(): EinvoiceResponse;
1406
- type EinvoiceResponse = {
1745
+ /** @returns {EinvoiceResult} */
1746
+ declare function EinvoiceResult(): EinvoiceResult;
1747
+ type EinvoiceResult = {
1407
1748
  enabled?: boolean;
1408
1749
  };
1409
- /** @returns {GstCredentialsResponse} */
1410
- declare function GstCredentialsResponse(): GstCredentialsResponse;
1411
- type GstCredentialsResponse = {
1412
- e_waybill?: EwayBillResponse;
1413
- e_invoice?: EinvoiceResponse;
1750
+ /** @returns {GstCredentialsResult} */
1751
+ declare function GstCredentialsResult(): GstCredentialsResult;
1752
+ type GstCredentialsResult = {
1753
+ e_waybill?: EwayBillResult;
1754
+ e_invoice?: EinvoiceResult;
1414
1755
  };
1415
- /** @returns {WarningsResponse} */
1416
- declare function WarningsResponse(): WarningsResponse;
1417
- type WarningsResponse = {
1756
+ /** @returns {WarningsResult} */
1757
+ declare function WarningsResult(): WarningsResult;
1758
+ type WarningsResult = {
1418
1759
  store_address?: string;
1419
1760
  };
1420
1761
  /** @returns {OpeningClosing} */
@@ -1423,17 +1764,17 @@ type OpeningClosing = {
1423
1764
  minute?: number;
1424
1765
  hour?: number;
1425
1766
  };
1426
- /** @returns {TimmingResponse} */
1427
- declare function TimmingResponse(): TimmingResponse;
1428
- type TimmingResponse = {
1767
+ /** @returns {TimmingResult} */
1768
+ declare function TimmingResult(): TimmingResult;
1769
+ type TimmingResult = {
1429
1770
  open?: boolean;
1430
1771
  weekday?: string;
1431
1772
  closing?: OpeningClosing;
1432
1773
  opening?: OpeningClosing;
1433
1774
  };
1434
- /** @returns {DocumentsResponse} */
1435
- declare function DocumentsResponse(): DocumentsResponse;
1436
- type DocumentsResponse = {
1775
+ /** @returns {DocumentsResult} */
1776
+ declare function DocumentsResult(): DocumentsResult;
1777
+ type DocumentsResult = {
1437
1778
  legal_name?: string;
1438
1779
  value?: string;
1439
1780
  type?: string;
@@ -1453,110 +1794,207 @@ type Dp = {
1453
1794
  transport_mode?: string;
1454
1795
  assign_dp_from_sb?: boolean;
1455
1796
  };
1456
- /** @returns {LogisticsResponse} */
1457
- declare function LogisticsResponse(): LogisticsResponse;
1458
- type LogisticsResponse = {
1797
+ /** @returns {LogisticsResult} */
1798
+ declare function LogisticsResult(): LogisticsResult;
1799
+ type LogisticsResult = {
1459
1800
  override?: boolean;
1460
1801
  dp?: Dp;
1461
1802
  };
1462
- /** @returns {ItemResponse} */
1463
- declare function ItemResponse(): ItemResponse;
1464
- type ItemResponse = {
1803
+ /** @returns {ItemResult} */
1804
+ declare function ItemResult(): ItemResult;
1805
+ type ItemResult = {
1465
1806
  created_on?: string;
1466
- manager?: ManagerResponse;
1467
- modified_by?: ModifiedByResponse;
1468
- integration_type?: IntegrationTypeResponse;
1807
+ manager?: ManagerResult;
1808
+ modified_by?: ModifiedByResult;
1809
+ integration_type?: IntegrationTypeResult;
1469
1810
  verified_on?: string;
1470
- product_return_config?: ProductReturnConfigResponse;
1471
- contact_numbers?: ContactNumberResponse[];
1472
- verified_by?: ModifiedByResponse;
1811
+ product_return_config?: ProductReturnConfigResult;
1812
+ contact_numbers?: ContactNumberResult[];
1813
+ verified_by?: ModifiedByResult;
1473
1814
  stage?: string;
1474
- address?: AddressResponse;
1815
+ address?: AddressResult;
1475
1816
  modified_on?: string;
1476
- created_by?: CreatedByResponse;
1477
- gst_credentials?: GstCredentialsResponse;
1817
+ created_by?: CreatedByResult;
1818
+ gst_credentials?: GstCredentialsResult;
1478
1819
  display_name?: string;
1479
1820
  company_id?: number;
1480
1821
  uid?: number;
1822
+ /**
1823
+ * - Custom JSON for internal usage
1824
+ */
1481
1825
  _custom_json?: any;
1482
1826
  code?: string;
1483
- warnings?: WarningsResponse;
1827
+ warnings?: WarningsResult;
1484
1828
  name?: string;
1485
- timing?: TimmingResponse[];
1486
- documents?: DocumentsResponse[];
1829
+ timing?: TimmingResult[];
1830
+ documents?: DocumentsResult[];
1487
1831
  store_type?: string;
1488
1832
  sub_type?: string;
1489
1833
  company?: number;
1490
1834
  _cls?: string;
1491
- logistics?: LogisticsResponse;
1835
+ logistics?: LogisticsResult;
1492
1836
  notification_emails?: string[];
1493
1837
  };
1494
- /** @returns {GetStoresViewResponse} */
1495
- declare function GetStoresViewResponse(): GetStoresViewResponse;
1496
- type GetStoresViewResponse = {
1497
- page: ServiceabilityPageResponse;
1498
- items?: ItemResponse[];
1838
+ /** @returns {GetStoresViewResult} */
1839
+ declare function GetStoresViewResult(): GetStoresViewResult;
1840
+ type GetStoresViewResult = {
1841
+ page: ServiceabilityPageResult;
1842
+ items?: ItemResult[];
1499
1843
  };
1500
1844
  /** @returns {PincodeMopData} */
1501
1845
  declare function PincodeMopData(): PincodeMopData;
1502
1846
  type PincodeMopData = {
1847
+ /**
1848
+ * - A list of pincodes.
1849
+ */
1503
1850
  pincodes: number[];
1851
+ /**
1852
+ * - Name of the country.
1853
+ */
1504
1854
  country: string;
1855
+ /**
1856
+ * - Denotes wether to activate or deavtivate pincodes
1857
+ * for COD mode of payment.
1858
+ */
1505
1859
  action: string;
1506
1860
  };
1507
- /** @returns {PincodeMopUpdateResponse} */
1508
- declare function PincodeMopUpdateResponse(): PincodeMopUpdateResponse;
1509
- type PincodeMopUpdateResponse = {
1861
+ /** @returns {PincodeMopUpdateResult} */
1862
+ declare function PincodeMopUpdateResult(): PincodeMopUpdateResult;
1863
+ type PincodeMopUpdateResult = {
1864
+ /**
1865
+ * - Pincode of the region.
1866
+ */
1510
1867
  pincode: number;
1868
+ /**
1869
+ * - Unique identifier of the sales channel.
1870
+ */
1511
1871
  channel_id: string;
1872
+ /**
1873
+ * - Country name.
1874
+ */
1512
1875
  country: string;
1876
+ /**
1877
+ * - Denotes whether the pincode mode of payment
1878
+ * is active or not.
1879
+ */
1513
1880
  is_active: boolean;
1514
1881
  };
1515
- /** @returns {PincodeMOPresponse} */
1516
- declare function PincodeMOPresponse(): PincodeMOPresponse;
1517
- type PincodeMOPresponse = {
1882
+ /** @returns {PincodeMOPResult} */
1883
+ declare function PincodeMOPResult(): PincodeMOPResult;
1884
+ type PincodeMOPResult = {
1885
+ /**
1886
+ * - Denotes if the action was successful or not.
1887
+ */
1518
1888
  success: boolean;
1889
+ /**
1890
+ * - Status code for the response.
1891
+ */
1519
1892
  status_code: number;
1893
+ /**
1894
+ * - Unique identifier identifying the perticular request.
1895
+ */
1520
1896
  batch_id: string;
1897
+ /**
1898
+ * - Name of the country.
1899
+ */
1521
1900
  country: string;
1901
+ /**
1902
+ * - Denotes wether to activate or deavtivate pincodes
1903
+ * for COD mode of payment.
1904
+ */
1522
1905
  action: string;
1906
+ /**
1907
+ * - List of pincodes.
1908
+ */
1523
1909
  pincodes?: number[];
1524
- updated_pincodes?: PincodeMopUpdateResponse[];
1910
+ /**
1911
+ * - Details of the
1912
+ * updated pincodes.
1913
+ */
1914
+ updated_pincodes?: PincodeMopUpdateResult[];
1525
1915
  };
1526
1916
  /** @returns {CommonError} */
1527
1917
  declare function CommonError(): CommonError;
1528
1918
  type CommonError = {
1919
+ /**
1920
+ * - Status code for the error.
1921
+ */
1529
1922
  status_code?: string;
1530
1923
  error?: any;
1924
+ /**
1925
+ * - Whether operation was successful.
1926
+ */
1531
1927
  success?: string;
1532
1928
  };
1533
1929
  /** @returns {PincodeMopBulkData} */
1534
1930
  declare function PincodeMopBulkData(): PincodeMopBulkData;
1535
1931
  type PincodeMopBulkData = {
1932
+ /**
1933
+ * - Unique identifier for the request.
1934
+ */
1536
1935
  batch_id: string;
1936
+ /**
1937
+ * - CDN url for the uploaded file.
1938
+ */
1537
1939
  s3_url: string;
1538
1940
  };
1539
- /** @returns {PincodeBulkViewResponse} */
1540
- declare function PincodeBulkViewResponse(): PincodeBulkViewResponse;
1541
- type PincodeBulkViewResponse = {
1941
+ /** @returns {PincodeBulkViewResult} */
1942
+ declare function PincodeBulkViewResult(): PincodeBulkViewResult;
1943
+ type PincodeBulkViewResult = {
1542
1944
  batch_id: string;
1945
+ /**
1946
+ * - CDN url for the uploaded file.
1947
+ */
1543
1948
  s3_url: string;
1544
1949
  };
1545
- /** @returns {PincodeCodStatusListingRequest} */
1546
- declare function PincodeCodStatusListingRequest(): PincodeCodStatusListingRequest;
1547
- type PincodeCodStatusListingRequest = {
1950
+ /** @returns {PincodeCodStatusListingDetails} */
1951
+ declare function PincodeCodStatusListingDetails(): PincodeCodStatusListingDetails;
1952
+ type PincodeCodStatusListingDetails = {
1953
+ /**
1954
+ * - Name of the country.
1955
+ */
1548
1956
  country?: string;
1957
+ /**
1958
+ * - Search based on the active or inactive flag.
1959
+ */
1549
1960
  is_active?: boolean;
1961
+ /**
1962
+ * - Search based on the pincode.
1963
+ */
1550
1964
  pincode?: number;
1551
1965
  current?: number;
1552
1966
  page_size?: number;
1553
1967
  };
1554
- /** @returns {PincodeCodStatusListingResponse} */
1555
- declare function PincodeCodStatusListingResponse(): PincodeCodStatusListingResponse;
1556
- type PincodeCodStatusListingResponse = {
1968
+ /** @returns {PincodeCodStatusItem} */
1969
+ declare function PincodeCodStatusItem(): PincodeCodStatusItem;
1970
+ type PincodeCodStatusItem = {
1971
+ /**
1972
+ * - Denoted if the pincode is active or not.
1973
+ */
1974
+ active?: boolean;
1975
+ /**
1976
+ * - Name of the pincode.
1977
+ */
1978
+ pincode?: string;
1979
+ };
1980
+ /** @returns {PincodeCodStatusListingResult} */
1981
+ declare function PincodeCodStatusListingResult(): PincodeCodStatusListingResult;
1982
+ type PincodeCodStatusListingResult = {
1983
+ /**
1984
+ * - Name of the country.
1985
+ */
1557
1986
  country: string;
1558
- data: PincodeCodStatusListingResponse[];
1987
+ /**
1988
+ * - List of pincode details.
1989
+ */
1990
+ data: PincodeCodStatusListingResult[];
1991
+ /**
1992
+ * - Denotes if the request was successful or not.
1993
+ */
1559
1994
  success: boolean;
1995
+ /**
1996
+ * - List of error object in case of unsuccessful response.
1997
+ */
1560
1998
  errors?: Error[];
1561
1999
  page: PincodeCodStatusListingPage;
1562
2000
  summary: PincodeCodStatusListingSummary;
@@ -1580,13 +2018,25 @@ type PincodeCodStatusListingPage = {
1580
2018
  /** @returns {PincodeCodStatusListingSummary} */
1581
2019
  declare function PincodeCodStatusListingSummary(): PincodeCodStatusListingSummary;
1582
2020
  type PincodeCodStatusListingSummary = {
2021
+ /**
2022
+ * - Count of the total active pincodes.
2023
+ */
1583
2024
  total_active_pincodes: number;
2025
+ /**
2026
+ * - Count of the total inactive pincodes.
2027
+ */
1584
2028
  total_inactive_pincodes: number;
1585
2029
  };
1586
- /** @returns {PincodeMopUpdateAuditHistoryRequest} */
1587
- declare function PincodeMopUpdateAuditHistoryRequest(): PincodeMopUpdateAuditHistoryRequest;
1588
- type PincodeMopUpdateAuditHistoryRequest = {
2030
+ /** @returns {PincodeMopUpdateAuditHistoryDetails} */
2031
+ declare function PincodeMopUpdateAuditHistoryDetails(): PincodeMopUpdateAuditHistoryDetails;
2032
+ type PincodeMopUpdateAuditHistoryDetails = {
2033
+ /**
2034
+ * - Type of the entity requested.
2035
+ */
1589
2036
  entity_type: string;
2037
+ /**
2038
+ * - Name of the file.
2039
+ */
1590
2040
  file_name?: string;
1591
2041
  };
1592
2042
  /** @returns {PincodeMopUpdateAuditHistoryPaging} */
@@ -1598,24 +2048,49 @@ type PincodeMopUpdateAuditHistoryPaging = {
1598
2048
  has_next?: boolean;
1599
2049
  item_total?: number;
1600
2050
  };
1601
- /** @returns {PincodeMopUpdateAuditHistoryResponse} */
1602
- declare function PincodeMopUpdateAuditHistoryResponse(): PincodeMopUpdateAuditHistoryResponse;
1603
- type PincodeMopUpdateAuditHistoryResponse = {
2051
+ /** @returns {PincodeMopUpdateAuditHistoryResult} */
2052
+ declare function PincodeMopUpdateAuditHistoryResult(): PincodeMopUpdateAuditHistoryResult;
2053
+ type PincodeMopUpdateAuditHistoryResult = {
2054
+ /**
2055
+ * - Uniquie identifier of the request.
2056
+ */
1604
2057
  batch_id?: string;
2058
+ /**
2059
+ * - Type of the entity requested.
2060
+ */
1605
2061
  entity_type?: string;
2062
+ /**
2063
+ * - URL for the error file.
2064
+ */
1606
2065
  error_file_s3_url?: string;
2066
+ /**
2067
+ * - CDN url for the file uploaded.
2068
+ */
1607
2069
  s3_url?: string;
2070
+ /**
2071
+ * - Name of the file.
2072
+ */
1608
2073
  file_name?: string;
1609
2074
  updated_at?: string;
1610
2075
  updated_by?: string;
2076
+ /**
2077
+ * - Denotes if the request was successfully processed.
2078
+ */
1611
2079
  success?: boolean;
1612
2080
  };
1613
- /** @returns {PincodeMopUpdateAuditHistoryResponseData} */
1614
- declare function PincodeMopUpdateAuditHistoryResponseData(): PincodeMopUpdateAuditHistoryResponseData;
1615
- type PincodeMopUpdateAuditHistoryResponseData = {
2081
+ /** @returns {PincodeMopUpdateAuditHistoryResultData} */
2082
+ declare function PincodeMopUpdateAuditHistoryResultData(): PincodeMopUpdateAuditHistoryResultData;
2083
+ type PincodeMopUpdateAuditHistoryResultData = {
2084
+ /**
2085
+ * - Type of the entity requested.
2086
+ */
1616
2087
  entity_type?: string;
1617
2088
  page: PincodeMopUpdateAuditHistoryPaging;
1618
- data: PincodeMopUpdateAuditHistoryResponse[];
2089
+ /**
2090
+ * - History records of
2091
+ * the uploaded files.
2092
+ */
2093
+ data: PincodeMopUpdateAuditHistoryResult[];
1619
2094
  };
1620
2095
  /** @returns {ArithmeticOperations} */
1621
2096
  declare function ArithmeticOperations(): ArithmeticOperations;
@@ -1645,38 +2120,120 @@ type SchemeRules = {
1645
2120
  payment_mode?: string[];
1646
2121
  feature?: SchemeRulesFeatures;
1647
2122
  };
2123
+ /** @returns {CourierAccountUpdateDetails} */
2124
+ declare function CourierAccountUpdateDetails(): CourierAccountUpdateDetails;
2125
+ type CourierAccountUpdateDetails = {
2126
+ /**
2127
+ * - Unique identifier of courier partner extension.
2128
+ */
2129
+ extension_id: string;
2130
+ /**
2131
+ * - Unique identifier of courier partner scheme.
2132
+ */
2133
+ scheme_id: string;
2134
+ /**
2135
+ * - Denotes if the account is of self delivery type.
2136
+ */
2137
+ is_self_ship: boolean;
2138
+ /**
2139
+ * - Denotes whether the account is in enabled or disabled stage.
2140
+ */
2141
+ stage: string;
2142
+ /**
2143
+ * - Denotes whether it is the seller's own
2144
+ * account or not.
2145
+ */
2146
+ is_own_account: boolean;
2147
+ };
1648
2148
  /** @returns {CourierAccount} */
1649
2149
  declare function CourierAccount(): CourierAccount;
1650
2150
  type CourierAccount = {
2151
+ /**
2152
+ * - Company id associated with the account.
2153
+ */
2154
+ company_id: number;
2155
+ /**
2156
+ * - Unique identifier of courier partner extension.
2157
+ */
1651
2158
  extension_id: string;
2159
+ /**
2160
+ * - Unique identifier of courier partner scheme
2161
+ * and company id combination.
2162
+ */
1652
2163
  account_id: string;
2164
+ /**
2165
+ * - Unique identifier of courier partner scheme.
2166
+ */
1653
2167
  scheme_id: string;
2168
+ /**
2169
+ * - Denotes if the account is of self delivery type.
2170
+ */
1654
2171
  is_self_ship: boolean;
2172
+ /**
2173
+ * - Denotes whether the account is in enabled or disabled stage.
2174
+ */
1655
2175
  stage: string;
2176
+ /**
2177
+ * - Denotes whether it is the seller's own
2178
+ * account or not.
2179
+ */
1656
2180
  is_own_account: boolean;
2181
+ scheme_rules: CourierPartnerSchemeModel;
1657
2182
  };
1658
- /** @returns {CourierAccountRequestBody} */
1659
- declare function CourierAccountRequestBody(): CourierAccountRequestBody;
1660
- type CourierAccountRequestBody = {
2183
+ /** @returns {CourierAccountDetailsBody} */
2184
+ declare function CourierAccountDetailsBody(): CourierAccountDetailsBody;
2185
+ type CourierAccountDetailsBody = {
2186
+ /**
2187
+ * - Unique identifier of courier partner extension.
2188
+ */
1661
2189
  extension_id: string;
2190
+ /**
2191
+ * - Unique identifier of courier partner scheme
2192
+ * and company id combination.
2193
+ */
1662
2194
  account_id?: string;
2195
+ /**
2196
+ * - Unique identifier of courier partner scheme.
2197
+ */
1663
2198
  scheme_id: string;
2199
+ /**
2200
+ * - Denotes if the account is of self delivery type.
2201
+ */
1664
2202
  is_self_ship: boolean;
2203
+ /**
2204
+ * - Denotes whether the account is in enabled or disabled stage.
2205
+ */
1665
2206
  stage: string;
2207
+ /**
2208
+ * - Denotes whether it is the seller's own
2209
+ * account or not.
2210
+ */
1666
2211
  is_own_account: boolean;
1667
2212
  };
1668
- /** @returns {ErrorResponse} */
1669
- declare function ErrorResponse(): ErrorResponse;
1670
- type ErrorResponse = {
2213
+ /** @returns {ErrorResult} */
2214
+ declare function ErrorResult(): ErrorResult;
2215
+ type ErrorResult = {
2216
+ /**
2217
+ * - Fields containing the error.
2218
+ */
1671
2219
  value: string;
2220
+ /**
2221
+ * - Description of the error.
2222
+ */
1672
2223
  message: string;
2224
+ /**
2225
+ * - Type of the error.
2226
+ */
1673
2227
  type: string;
1674
2228
  };
1675
- /** @returns {CourierPartnerAccountFailureResponse} */
1676
- declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
1677
- type CourierPartnerAccountFailureResponse = {
2229
+ /** @returns {CourierPartnerAccountFailureResult} */
2230
+ declare function CourierPartnerAccountFailureResult(): CourierPartnerAccountFailureResult;
2231
+ type CourierPartnerAccountFailureResult = {
2232
+ /**
2233
+ * - Denotes whether the request is a success or failure.
2234
+ */
1678
2235
  success: boolean;
1679
- error: ErrorResponse[];
2236
+ error: ErrorResult[];
1680
2237
  };
1681
2238
  /** @returns {Page} */
1682
2239
  declare function Page(): Page;
@@ -1710,34 +2267,89 @@ type Page = {
1710
2267
  */
1711
2268
  size?: number;
1712
2269
  };
1713
- /** @returns {CourierPartnerRuleCPListResponse} */
1714
- declare function CourierPartnerRuleCPListResponse(): CourierPartnerRuleCPListResponse;
1715
- type CourierPartnerRuleCPListResponse = {
1716
- account_id?: string;
1717
- extension_id?: string;
1718
- is_self_ship?: boolean;
2270
+ /** @returns {CourierPartnerRuleCPListResult} */
2271
+ declare function CourierPartnerRuleCPListResult(): CourierPartnerRuleCPListResult;
2272
+ type CourierPartnerRuleCPListResult = {
2273
+ /**
2274
+ * - Unique identifier of courier partner scheme
2275
+ * and company id combination.
2276
+ */
2277
+ account_id: string;
2278
+ /**
2279
+ * - Unique identifier of courier partner extension.
2280
+ */
2281
+ extension_id: string;
2282
+ /**
2283
+ * - Denotes if the account is of self delivery type.
2284
+ */
2285
+ is_self_ship: boolean;
2286
+ /**
2287
+ * - Denotes the scheme rules associated with
2288
+ * the courier partner account.
2289
+ */
1719
2290
  scheme_rules?: any;
1720
2291
  };
1721
- /** @returns {CourierPartnerRuleResponse} */
1722
- declare function CourierPartnerRuleResponse(): CourierPartnerRuleResponse;
1723
- type CourierPartnerRuleResponse = {
1724
- is_active?: boolean;
1725
- application_id?: string;
1726
- company_id?: number;
1727
- conditions?: CourierPartnerRuleConditions;
1728
- sort?: string[];
2292
+ /** @returns {CourierPartnerRuleResult} */
2293
+ declare function CourierPartnerRuleResult(): CourierPartnerRuleResult;
2294
+ type CourierPartnerRuleResult = {
2295
+ /**
2296
+ * - Denotes whether the given courier partner
2297
+ * rule is inactive or active.
2298
+ */
2299
+ is_active: boolean;
2300
+ /**
2301
+ * - Unique identifier of the sales channel.
2302
+ */
2303
+ application_id: string;
2304
+ /**
2305
+ * - Unique identifier of the company.
2306
+ */
2307
+ company_id: number;
2308
+ conditions: CourierPartnerRuleConditions;
2309
+ /**
2310
+ * - Sort Strategy of the courier partners.
2311
+ */
2312
+ sort: string[];
2313
+ /**
2314
+ * - The Fynd account used to create the courier
2315
+ * partner rule.
2316
+ */
1729
2317
  created_by?: any;
1730
- id?: string;
2318
+ /**
2319
+ * - Unique identifier of the courier partner rule.
2320
+ */
2321
+ id: string;
2322
+ /**
2323
+ * - The Fynd account used to modify the
2324
+ * courier partner rule.
2325
+ */
1731
2326
  modified_by?: any;
2327
+ /**
2328
+ * - The datetime at which courier partner rule
2329
+ * is modified.
2330
+ */
1732
2331
  modified_on?: string;
1733
- name?: string;
1734
- type?: string;
1735
- cp_list?: CourierPartnerRuleCPListResponse[];
2332
+ /**
2333
+ * - Name for the courier partner rule.
2334
+ */
2335
+ name: string;
2336
+ /**
2337
+ * - The type of the rule.
2338
+ */
2339
+ type: string;
2340
+ cp_list?: CourierPartnerRuleCPListResult[];
1736
2341
  };
1737
2342
  /** @returns {CourierPartnerList} */
1738
2343
  declare function CourierPartnerList(): CourierPartnerList;
1739
2344
  type CourierPartnerList = {
2345
+ /**
2346
+ * - Unique identifier of courier partner extension.
2347
+ */
1740
2348
  extension_id: string;
2349
+ /**
2350
+ * - Unique identifier of courier partner scheme
2351
+ * and company id combination.
2352
+ */
1741
2353
  account_id: string;
1742
2354
  };
1743
2355
  /** @returns {LocationRuleValues} */
@@ -1747,7 +2359,7 @@ type LocationRuleValues = {
1747
2359
  sub_type?: string;
1748
2360
  name?: string;
1749
2361
  display_name?: string;
1750
- parent_id?: string;
2362
+ parent_id?: string[];
1751
2363
  parent_ids?: string[];
1752
2364
  };
1753
2365
  /** @returns {LocationRule} */
@@ -1789,97 +2401,383 @@ type CourierPartnerRuleConditions = {
1789
2401
  /** @returns {CourierPartnerRule} */
1790
2402
  declare function CourierPartnerRule(): CourierPartnerRule;
1791
2403
  type CourierPartnerRule = {
2404
+ /**
2405
+ * - Denotes whether the given courier partner
2406
+ * rule is inactive or active.
2407
+ */
1792
2408
  is_active: boolean;
2409
+ /**
2410
+ * - A list of courier partners.
2411
+ */
1793
2412
  cp_list?: CourierPartnerList[];
2413
+ /**
2414
+ * - Name for the courier partner rule.
2415
+ */
1794
2416
  name: string;
1795
2417
  conditions: CourierPartnerRuleConditions;
2418
+ /**
2419
+ * - Sort Strategy for the courier partners.
2420
+ */
1796
2421
  sort: string[];
2422
+ /**
2423
+ * - Denotes the type of the rule.
2424
+ */
2425
+ type?: string;
1797
2426
  };
1798
- /** @returns {FailureResponse} */
1799
- declare function FailureResponse(): FailureResponse;
1800
- type FailureResponse = {
2427
+ /** @returns {FailureResult} */
2428
+ declare function FailureResult(): FailureResult;
2429
+ type FailureResult = {
1801
2430
  success: boolean;
1802
- error: ErrorResponse[];
2431
+ error: ErrorResult[];
1803
2432
  };
1804
- /** @returns {CourierPartnerRulesListResponse} */
1805
- declare function CourierPartnerRulesListResponse(): CourierPartnerRulesListResponse;
1806
- type CourierPartnerRulesListResponse = {
1807
- items: CourierPartnerRuleResponse[];
2433
+ /** @returns {CourierPartnerRulesListResult} */
2434
+ declare function CourierPartnerRulesListResult(): CourierPartnerRulesListResult;
2435
+ type CourierPartnerRulesListResult = {
2436
+ items: CourierPartnerRuleResult[];
1808
2437
  page: Page;
1809
2438
  };
2439
+ /** @returns {ShipmentsArticles} */
2440
+ declare function ShipmentsArticles(): ShipmentsArticles;
2441
+ type ShipmentsArticles = {
2442
+ /**
2443
+ * - Unique identifier of the item.
2444
+ */
2445
+ item_id?: number;
2446
+ /**
2447
+ * - Unique identifier of the category.
2448
+ */
2449
+ category_id?: number;
2450
+ /**
2451
+ * - Unique identifier of the brand.
2452
+ */
2453
+ brand_id?: number;
2454
+ /**
2455
+ * - Unique identifier of the department.
2456
+ */
2457
+ department_id?: number;
2458
+ /**
2459
+ * - Tags associated with the item.
2460
+ */
2461
+ tags?: string[];
2462
+ };
2463
+ /** @returns {ShipmentDimension} */
2464
+ declare function ShipmentDimension(): ShipmentDimension;
2465
+ type ShipmentDimension = {
2466
+ /**
2467
+ * - Height of the shipment in centimeters.
2468
+ */
2469
+ height: number;
2470
+ /**
2471
+ * - Length of the shipment in centimeters.
2472
+ */
2473
+ length: number;
2474
+ /**
2475
+ * - Width of the shipment in centimeters.
2476
+ */
2477
+ width: number;
2478
+ };
2479
+ /** @returns {Shipments} */
2480
+ declare function Shipments(): Shipments;
2481
+ type Shipments = {
2482
+ /**
2483
+ * - Unique identifier of the shipment.
2484
+ */
2485
+ id?: string;
2486
+ /**
2487
+ * - Unique identifier of the selling location.
2488
+ */
2489
+ location_id?: number;
2490
+ /**
2491
+ * - Tags associated with the selling location.
2492
+ */
2493
+ location_tags?: string[];
2494
+ /**
2495
+ * - Weight of the shipment.
2496
+ */
2497
+ shipment_weight?: number;
2498
+ /**
2499
+ * - Volumetric weight of the shipment.
2500
+ */
2501
+ shipment_volumetric_weight?: number;
2502
+ /**
2503
+ * - Total Cost of the shipment.
2504
+ */
2505
+ shipment_cost?: number;
2506
+ shipment_dimension?: ShipmentDimension;
2507
+ /**
2508
+ * - A List of courier schemes.
2509
+ */
2510
+ courier_partner_schemes?: string[];
2511
+ /**
2512
+ * - List of articles in the shipment.
2513
+ */
2514
+ articles?: ShipmentsArticles[];
2515
+ };
2516
+ /** @returns {ShipmentCourierPartnerDetails} */
2517
+ declare function ShipmentCourierPartnerDetails(): ShipmentCourierPartnerDetails;
2518
+ type ShipmentCourierPartnerDetails = {
2519
+ from_location: ShipmentsCourierPartnersServiceability;
2520
+ to_location: ShipmentsCourierPartnersServiceability;
2521
+ /**
2522
+ * - List of shipments.
2523
+ */
2524
+ shipments?: Shipments[];
2525
+ /**
2526
+ * - Journey type of the shipment forward or return.
2527
+ */
2528
+ journey?: string;
2529
+ /**
2530
+ * - Payment mode opted for the shipment.
2531
+ */
2532
+ payment_mode?: string;
2533
+ };
2534
+ /** @returns {CourierPartnerPromise} */
2535
+ declare function CourierPartnerPromise(): CourierPartnerPromise;
2536
+ type CourierPartnerPromise = {
2537
+ /**
2538
+ * - The earliest possible timestamp.
2539
+ */
2540
+ min: string;
2541
+ /**
2542
+ * - The latest possible timestamp.
2543
+ */
2544
+ max: string;
2545
+ };
2546
+ /** @returns {CourierPartners} */
2547
+ declare function CourierPartners(): CourierPartners;
2548
+ type CourierPartners = {
2549
+ /**
2550
+ * - Unique identifier of courier partner extension.
2551
+ */
2552
+ extension_id?: string;
2553
+ /**
2554
+ * - Unique identifier of courier partner scheme.
2555
+ */
2556
+ scheme_id?: string;
2557
+ /**
2558
+ * - Name of the courier partner.
2559
+ */
2560
+ name?: string;
2561
+ delivery_promise?: CourierPartnerPromise;
2562
+ };
2563
+ /** @returns {ShipmentCourierPartners} */
2564
+ declare function ShipmentCourierPartners(): ShipmentCourierPartners;
2565
+ type ShipmentCourierPartners = {
2566
+ /**
2567
+ * - Unique identifier of the shipment.
2568
+ */
2569
+ id?: string;
2570
+ /**
2571
+ * - Courier partners of the shipment.
2572
+ */
2573
+ courier_partners?: CourierPartners[];
2574
+ };
2575
+ /** @returns {ShipmentCourierPartnerResult} */
2576
+ declare function ShipmentCourierPartnerResult(): ShipmentCourierPartnerResult;
2577
+ type ShipmentCourierPartnerResult = {
2578
+ courier_partners?: CourierPartners[];
2579
+ shipments?: ShipmentCourierPartners[];
2580
+ };
2581
+ /** @returns {ShipmentsCourierPartnersServiceability} */
2582
+ declare function ShipmentsCourierPartnersServiceability(): ShipmentsCourierPartnersServiceability;
2583
+ type ShipmentsCourierPartnersServiceability = {
2584
+ /**
2585
+ * - Postal code or PIN code of the address area.
2586
+ */
2587
+ pincode?: string;
2588
+ /**
2589
+ * - Specifies the sector or district code of
2590
+ * the address if applicable.
2591
+ */
2592
+ sector_code?: string;
2593
+ /**
2594
+ * - Indicates the state or province code of the address.
2595
+ */
2596
+ state_code?: string;
2597
+ /**
2598
+ * - Denote the city or municipality code of the address.
2599
+ */
2600
+ city_code?: string;
2601
+ /**
2602
+ * - ISO2 code for the country of the address.
2603
+ */
2604
+ country_code: string;
2605
+ };
1810
2606
  /** @returns {CompanyConfig} */
1811
2607
  declare function CompanyConfig(): CompanyConfig;
1812
2608
  type CompanyConfig = {
2609
+ /**
2610
+ * - A list for courier partner rules.
2611
+ */
1813
2612
  rule_ids: string[];
2613
+ /**
2614
+ * - Sort strategy for the courier partners.
2615
+ */
1814
2616
  sort: string[];
1815
- logistics_as_actual?: boolean;
2617
+ /**
2618
+ * - Depicts if the courier partner
2619
+ * rule configuration plan is subscribed by the seller for which mode.
2620
+ */
2621
+ logistics_as_actual?: string;
2622
+ /**
2623
+ * - Unique identifier of the company.
2624
+ */
2625
+ company_id: number;
2626
+ /**
2627
+ * - Unique identifier of the sales channel.
2628
+ */
2629
+ application_id?: string;
1816
2630
  };
1817
2631
  /** @returns {ZoneConfig} */
1818
2632
  declare function ZoneConfig(): ZoneConfig;
1819
2633
  type ZoneConfig = {
2634
+ /**
2635
+ * - Serviceability type of the delivery zone.
2636
+ */
1820
2637
  serviceability_type?: string;
2638
+ /**
2639
+ * - Count of active delivery zones associated
2640
+ * with the sales channel.
2641
+ */
2642
+ active_count?: number;
2643
+ /**
2644
+ * - Count of total delivery zones associated
2645
+ * with the sales channel.
2646
+ */
2647
+ total_count?: number;
1821
2648
  };
1822
2649
  /** @returns {ApplicationConfig} */
1823
2650
  declare function ApplicationConfig(): ApplicationConfig;
1824
2651
  type ApplicationConfig = {
2652
+ /**
2653
+ * - A list of courier partner rules.
2654
+ */
1825
2655
  rule_ids?: string[];
2656
+ /**
2657
+ * - Strategy adopted to sort the courier partners.
2658
+ */
1826
2659
  sort?: string[];
1827
2660
  zones?: ZoneConfig;
1828
2661
  };
1829
- /** @returns {BulkRegionJobSerializer} */
1830
- declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
1831
- type BulkRegionJobSerializer = {
2662
+ /** @returns {BulkRegionJobDetails} */
2663
+ declare function BulkRegionJobDetails(): BulkRegionJobDetails;
2664
+ type BulkRegionJobDetails = {
2665
+ /**
2666
+ * - CDN path of the uploaded csv file for bulk import.
2667
+ */
1832
2668
  file_path?: string;
2669
+ /**
2670
+ * - Country for which the tat or serviceability is
2671
+ * to be imported or exported.
2672
+ */
1833
2673
  country: string;
2674
+ /**
2675
+ * - Denotes the import or export action to be performed.
2676
+ */
1834
2677
  action: string;
2678
+ /**
2679
+ * - Region of the country for which import or export
2680
+ * is triggered.
2681
+ */
1835
2682
  region: string;
1836
2683
  };
1837
- /** @returns {BulkRegionResponseItemData} */
1838
- declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
1839
- type BulkRegionResponseItemData = {
1840
- file_path: string;
2684
+ /** @returns {BulkRegionResultItemData} */
2685
+ declare function BulkRegionResultItemData(): BulkRegionResultItemData;
2686
+ type BulkRegionResultItemData = {
2687
+ /**
2688
+ * - CDN path of the file which was used for bulk import.
2689
+ */
2690
+ file_path?: string;
2691
+ /**
2692
+ * - Count of the failed records.
2693
+ */
1841
2694
  failed?: number;
1842
2695
  failed_records?: any[];
2696
+ /**
2697
+ * - Denotes the import or export action performed.
2698
+ */
1843
2699
  action: string;
2700
+ /**
2701
+ * - Unique id to identify the import or export query.
2702
+ */
1844
2703
  batch_id: string;
2704
+ /**
2705
+ * - Country for which the import or export action is
2706
+ * performed.
2707
+ */
1845
2708
  country: string;
2709
+ /**
2710
+ * - Denoted if the import or export was successful
2711
+ * or failure.
2712
+ */
1846
2713
  success?: number;
2714
+ /**
2715
+ * - Region of the country for which import or export
2716
+ * is triggered.
2717
+ */
1847
2718
  region: string;
2719
+ /**
2720
+ * - Current status of the import or export action performed.
2721
+ */
1848
2722
  status: string;
2723
+ /**
2724
+ * - Count of total records.
2725
+ */
1849
2726
  total?: number;
2727
+ /**
2728
+ * - Path of the error file.
2729
+ */
1850
2730
  error_file_path?: string;
1851
2731
  };
1852
- /** @returns {BulkRegionResponse} */
1853
- declare function BulkRegionResponse(): BulkRegionResponse;
1854
- type BulkRegionResponse = {
1855
- items: BulkRegionResponseItemData[];
2732
+ /** @returns {BulkRegionResult} */
2733
+ declare function BulkRegionResult(): BulkRegionResult;
2734
+ type BulkRegionResult = {
2735
+ items: BulkRegionResultItemData[];
1856
2736
  page: Page;
1857
2737
  };
1858
- /** @returns {SelfShipResponse} */
1859
- declare function SelfShipResponse(): SelfShipResponse;
1860
- type SelfShipResponse = {
2738
+ /** @returns {SelfShipResult} */
2739
+ declare function SelfShipResult(): SelfShipResult;
2740
+ type SelfShipResult = {
1861
2741
  is_active: boolean;
1862
2742
  tat: number;
1863
2743
  };
1864
2744
  /** @returns {ApplicationSelfShipConfig} */
1865
2745
  declare function ApplicationSelfShipConfig(): ApplicationSelfShipConfig;
1866
2746
  type ApplicationSelfShipConfig = {
1867
- self_ship?: any;
2747
+ self_ship?: SelfShipResult;
1868
2748
  };
1869
- /** @returns {ApplicationSelfShipConfigResponse} */
1870
- declare function ApplicationSelfShipConfigResponse(): ApplicationSelfShipConfigResponse;
1871
- type ApplicationSelfShipConfigResponse = {
1872
- error?: ServiceabilityErrorResponse;
2749
+ /** @returns {ApplicationSelfShipConfigResult} */
2750
+ declare function ApplicationSelfShipConfigResult(): ApplicationSelfShipConfigResult;
2751
+ type ApplicationSelfShipConfigResult = {
2752
+ error?: ServiceabilityErrorResult;
1873
2753
  data?: ApplicationSelfShipConfig;
1874
2754
  success: boolean;
1875
2755
  };
1876
2756
  /** @returns {StoreRuleConfigData} */
1877
2757
  declare function StoreRuleConfigData(): StoreRuleConfigData;
1878
2758
  type StoreRuleConfigData = {
2759
+ /**
2760
+ * - List of rule ids which are active in the application.
2761
+ */
1879
2762
  rule_ids?: string[];
2763
+ /**
2764
+ * - Priority of the store type to be
2765
+ * used in the basic prioritization sorting of stores.
2766
+ */
1880
2767
  type_based_priority?: string[];
2768
+ /**
2769
+ * - Priority of the store tags to be
2770
+ * used in the basic prioritization sorting of stores.
2771
+ */
1881
2772
  tag_based_priority?: string[];
2773
+ /**
2774
+ * - Priority of explicit
2775
+ * stores to be used for sorting of stores.
2776
+ */
1882
2777
  store_priority?: StorePrioritySchema[];
2778
+ /**
2779
+ * - Criteria on which the selected stores should be sorted.
2780
+ */
1883
2781
  sort?: string[];
1884
2782
  };
1885
2783
  /** @returns {CustomerRadiusSchema} */
@@ -1909,66 +2807,183 @@ type StoreRuleConditionSchema = {
1909
2807
  /** @returns {StoreRuleDataSchema} */
1910
2808
  declare function StoreRuleDataSchema(): StoreRuleDataSchema;
1911
2809
  type StoreRuleDataSchema = {
2810
+ /**
2811
+ * - Id of the rule.
2812
+ */
1912
2813
  id?: string;
2814
+ /**
2815
+ * - Name of the rule.
2816
+ */
1913
2817
  name?: string;
2818
+ /**
2819
+ * - Company id for which the rule is created.
2820
+ */
1914
2821
  company_id?: number;
2822
+ /**
2823
+ * - Application id for which the rule is created.
2824
+ */
1915
2825
  application_id?: string;
2826
+ /**
2827
+ * - Priority of the store type to be
2828
+ * used in the basic prioritization sorting of stores.
2829
+ */
1916
2830
  type_based_priority?: string[];
2831
+ /**
2832
+ * - Priority of the store tags to be
2833
+ * used in the basic prioritization sorting of stores.
2834
+ */
1917
2835
  tag_based_priority?: string[];
2836
+ /**
2837
+ * - Priority of explicit
2838
+ * stores to be used for sorting of stores.
2839
+ */
1918
2840
  store_priority?: StorePrioritySchema[];
2841
+ /**
2842
+ * - Criteria on which the selected stores should be sorted.
2843
+ */
1919
2844
  sort?: string[];
1920
2845
  conditions?: StoreRuleConditionSchema;
2846
+ /**
2847
+ * - Denotes whether the rule is active or inactive.
2848
+ */
1921
2849
  is_active?: boolean;
1922
2850
  };
1923
2851
  /** @returns {StorePrioritySchema} */
1924
2852
  declare function StorePrioritySchema(): StorePrioritySchema;
1925
2853
  type StorePrioritySchema = {
1926
- id?: string;
2854
+ /**
2855
+ * - Id of the store.
2856
+ */
2857
+ id?: number;
2858
+ /**
2859
+ * - Name of the store.
2860
+ */
1927
2861
  name?: string;
1928
2862
  };
1929
- /** @returns {GetStoreRulesApiResponse} */
1930
- declare function GetStoreRulesApiResponse(): GetStoreRulesApiResponse;
1931
- type GetStoreRulesApiResponse = {
2863
+ /** @returns {GetStoreRulesApiResult} */
2864
+ declare function GetStoreRulesApiResult(): GetStoreRulesApiResult;
2865
+ type GetStoreRulesApiResult = {
1932
2866
  items?: StoreRuleDataSchema[];
1933
2867
  page?: Page;
1934
2868
  };
1935
- /** @returns {CreateStoreRuleRequestSchema} */
1936
- declare function CreateStoreRuleRequestSchema(): CreateStoreRuleRequestSchema;
1937
- type CreateStoreRuleRequestSchema = {
2869
+ /** @returns {CreateStoreRuleDetailsSchema} */
2870
+ declare function CreateStoreRuleDetailsSchema(): CreateStoreRuleDetailsSchema;
2871
+ type CreateStoreRuleDetailsSchema = {
2872
+ /**
2873
+ * - Name of the rule.
2874
+ */
1938
2875
  name?: string;
2876
+ /**
2877
+ * - Denotes if the rule is active or not.
2878
+ */
1939
2879
  is_active?: boolean;
1940
2880
  conditions?: StoreRuleConditionSchema;
2881
+ /**
2882
+ * - Priority of the store type to be
2883
+ * used in the basic prioritization sorting of stores.
2884
+ */
1941
2885
  type_based_priority?: string[];
2886
+ /**
2887
+ * - Priority of the store tags to be
2888
+ * used in the basic prioritization sorting of stores.
2889
+ */
1942
2890
  tag_based_priority?: string[];
2891
+ /**
2892
+ * - Priority of explicit
2893
+ * stores to be used for sorting of stores.
2894
+ */
1943
2895
  store_priority?: StorePrioritySchema[];
2896
+ /**
2897
+ * - Criteria on which the selected stores should be sorted.
2898
+ */
1944
2899
  sort?: string[];
1945
2900
  };
1946
- /** @returns {StoreRuleResponseSchema} */
1947
- declare function StoreRuleResponseSchema(): StoreRuleResponseSchema;
1948
- type StoreRuleResponseSchema = {
2901
+ /** @returns {StoreRuleResultSchema} */
2902
+ declare function StoreRuleResultSchema(): StoreRuleResultSchema;
2903
+ type StoreRuleResultSchema = {
2904
+ /**
2905
+ * - Id of the rule created.
2906
+ */
1949
2907
  id?: string;
2908
+ /**
2909
+ * - Name of the rule created.
2910
+ */
1950
2911
  name?: string;
2912
+ /**
2913
+ * - Type of the rule created.
2914
+ */
1951
2915
  type?: string;
2916
+ /**
2917
+ * - Priority of the store type to be
2918
+ * used in the rule for sorting of stores.
2919
+ */
1952
2920
  type_based_priority?: string[];
2921
+ /**
2922
+ * - Priority of the store tags to be
2923
+ * used in the rule for sorting of stores.
2924
+ */
1953
2925
  tag_based_priority?: string[];
2926
+ /**
2927
+ * - Priority of explicit
2928
+ * stores to be used for sorting of stores.
2929
+ */
1954
2930
  store_priority?: StorePrioritySchema[];
2931
+ /**
2932
+ * - Criteria on which the selected stores should be sorted.
2933
+ */
1955
2934
  sort?: string[];
1956
2935
  conditions?: StoreRuleConditionSchema;
2936
+ /**
2937
+ * - Denotes if the rule is active or inactive.
2938
+ */
1957
2939
  is_active?: boolean;
1958
2940
  };
1959
- /** @returns {StoreRuleUpdateResponseSchema} */
1960
- declare function StoreRuleUpdateResponseSchema(): StoreRuleUpdateResponseSchema;
1961
- type StoreRuleUpdateResponseSchema = {
2941
+ /** @returns {StoreRuleUpdateResultSchema} */
2942
+ declare function StoreRuleUpdateResultSchema(): StoreRuleUpdateResultSchema;
2943
+ type StoreRuleUpdateResultSchema = {
2944
+ /**
2945
+ * - Id of the rule created.
2946
+ */
1962
2947
  id?: string;
2948
+ /**
2949
+ * - Name of the rule created.
2950
+ */
1963
2951
  name?: string;
2952
+ /**
2953
+ * - Type of the rule created.
2954
+ */
1964
2955
  type?: string;
2956
+ /**
2957
+ * - Priority of the store type to be
2958
+ * used in the rule for sorting of stores.
2959
+ */
1965
2960
  type_based_priority?: string[];
2961
+ /**
2962
+ * - Priority of the store tags to be
2963
+ * used in the rule for sorting of stores.
2964
+ */
1966
2965
  tag_based_priority?: string[];
2966
+ /**
2967
+ * - Priority of explicit
2968
+ * stores to be used for sorting of stores.
2969
+ */
1967
2970
  store_priority?: StorePrioritySchema[];
2971
+ /**
2972
+ * - Criteria on which the selected stores should be sorted.
2973
+ */
1968
2974
  sort?: string[];
1969
2975
  conditions?: StoreRuleConditionSchema;
2976
+ /**
2977
+ * - Denotes if the rule is active or inactive.
2978
+ */
1970
2979
  is_active?: boolean;
2980
+ /**
2981
+ * - Company id for which the rule is created.
2982
+ */
1971
2983
  company_id?: number;
2984
+ /**
2985
+ * - Application id for which the rule is created.
2986
+ */
1972
2987
  application_id?: string;
1973
2988
  };
1974
2989
  /** @returns {ServiceabilityModel} */
@@ -1976,8 +2991,8 @@ declare function ServiceabilityModel(): ServiceabilityModel;
1976
2991
  type ServiceabilityModel = {
1977
2992
  lm_cod_limit: number;
1978
2993
  is_qc: boolean;
1979
- pickup_cutoff: string;
1980
- route_code: string;
2994
+ pickup_cutoff?: string;
2995
+ route_code?: string;
1981
2996
  is_first_mile: boolean;
1982
2997
  is_return: boolean;
1983
2998
  is_installation: boolean;
@@ -2008,101 +3023,314 @@ type CourierPartnerSchemeFeatures = {
2008
3023
  /** @returns {CourierPartnerSchemeModel} */
2009
3024
  declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
2010
3025
  type CourierPartnerSchemeModel = {
3026
+ /**
3027
+ * - Name of the scheme.
3028
+ */
3029
+ name?: string;
3030
+ /**
3031
+ * - Unique identifier of courier partner extension.
3032
+ */
2011
3033
  extension_id: string;
3034
+ /**
3035
+ * - Unique identifier of courier partner scheme.
3036
+ */
2012
3037
  scheme_id: string;
3038
+ volumetric_weight?: ArithmeticOperations;
2013
3039
  weight: ArithmeticOperations;
3040
+ /**
3041
+ * - Mode of transport associated with the
3042
+ * courier partner scheme.
3043
+ */
2014
3044
  transport_type: string;
3045
+ /**
3046
+ * - Serviceable region associated with the courier
3047
+ * partner scheme.
3048
+ */
2015
3049
  region: string;
3050
+ /**
3051
+ * - Type of delivery associated with the
3052
+ * courier partner scheme.
3053
+ */
2016
3054
  delivery_type: string;
3055
+ /**
3056
+ * - Mode of payment associated with the
3057
+ * courier partner scheme.
3058
+ */
2017
3059
  payment_mode: string[];
3060
+ /**
3061
+ * - Denotes whether the courier partner scheme is in
3062
+ * enabled or disabled stage.
3063
+ */
2018
3064
  stage: string;
2019
3065
  feature: CourierPartnerSchemeFeatures;
2020
3066
  };
2021
- /** @returns {CourierAccountResponse} */
2022
- declare function CourierAccountResponse(): CourierAccountResponse;
2023
- type CourierAccountResponse = {
3067
+ /** @returns {CourierAccountResult} */
3068
+ declare function CourierAccountResult(): CourierAccountResult;
3069
+ type CourierAccountResult = {
3070
+ /**
3071
+ * - Company id associated with the account.
3072
+ */
3073
+ company_id: number;
3074
+ /**
3075
+ * - Unique identifier of courier partner extension.
3076
+ */
3077
+ extension_id?: string;
3078
+ /**
3079
+ * - Unique identifier of courier partner scheme
3080
+ * and company id combination.
3081
+ */
2024
3082
  account_id: string;
3083
+ /**
3084
+ * - Unique identifier of courier partner scheme.
3085
+ */
2025
3086
  scheme_id: string;
3087
+ /**
3088
+ * - Denotes if the account is of self delivery type.
3089
+ */
2026
3090
  is_self_ship: boolean;
3091
+ /**
3092
+ * - Denotes whether the account is in enabled or disabled stage.
3093
+ */
2027
3094
  stage: string;
3095
+ /**
3096
+ * - Denotes whether it is the seller's own
3097
+ * account or not.
3098
+ */
2028
3099
  is_own_account: boolean;
2029
- scheme_rules: CourierPartnerSchemeModel;
3100
+ scheme_rules?: CourierPartnerSchemeModel;
2030
3101
  };
2031
- /** @returns {CompanyCourierPartnerAccountListResponse} */
2032
- declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
2033
- type CompanyCourierPartnerAccountListResponse = {
2034
- items: CourierAccountResponse[];
3102
+ /** @returns {CompanyCourierPartnerAccountListResult} */
3103
+ declare function CompanyCourierPartnerAccountListResult(): CompanyCourierPartnerAccountListResult;
3104
+ type CompanyCourierPartnerAccountListResult = {
3105
+ items: CourierAccountResult[];
2035
3106
  page: Page;
2036
3107
  };
2037
3108
  /** @returns {PackageMaterial} */
2038
3109
  declare function PackageMaterial(): PackageMaterial;
2039
3110
  type PackageMaterial = {
3111
+ /**
3112
+ * - Name of the packaging material.
3113
+ */
2040
3114
  name: string;
3115
+ /**
3116
+ * - Width of the packaging material dimentions in centimeter.
3117
+ */
2041
3118
  width: number;
3119
+ /**
3120
+ * - Height of the packaging material dimentions in centimeter.
3121
+ */
2042
3122
  height: number;
3123
+ /**
3124
+ * - Length of the packaging material dimentions in centimeter.
3125
+ */
2043
3126
  length: number;
3127
+ /**
3128
+ * - Product group rules associated
3129
+ * with the packaging.
3130
+ */
2044
3131
  rules?: PackageMaterialRule[];
3132
+ /**
3133
+ * - Store ids where the packaging is avaiable.
3134
+ */
2045
3135
  store_ids: number[];
3136
+ /**
3137
+ * - Package's weight in gram.
3138
+ */
2046
3139
  weight: number;
3140
+ /**
3141
+ * - Error Rate associated with the packaging dimensions.
3142
+ */
2047
3143
  error_rate: number;
3144
+ /**
3145
+ * - Type of package material.
3146
+ */
2048
3147
  package_type: string;
3148
+ /**
3149
+ * - Physical size of the packaging.
3150
+ */
2049
3151
  size: string;
3152
+ /**
3153
+ * - Image urls associated with the packaging material.
3154
+ */
2050
3155
  media?: string[];
3156
+ /**
3157
+ * - Sales channel where packaging is applicable.
3158
+ */
2051
3159
  channels: Channel[];
3160
+ /**
3161
+ * - Denotes if the track of the inventory
3162
+ * should be kept.
3163
+ */
2052
3164
  track_inventory?: boolean;
3165
+ /**
3166
+ * - Current status of the packaging material, if it
3167
+ * is active or inactive.
3168
+ */
2053
3169
  status: string;
3170
+ /**
3171
+ * - Maximum weight holding capacity.
3172
+ */
2054
3173
  max_weight?: number;
3174
+ /**
3175
+ * - Volumetric weight that a packaging
3176
+ * material can carry.
3177
+ */
2055
3178
  package_vol_weight?: number;
3179
+ /**
3180
+ * - Denotes whether the volumetric weight
3181
+ * should be auto calculated or not.
3182
+ */
2056
3183
  auto_calculate?: boolean;
2057
3184
  };
2058
- /** @returns {PackageMaterialResponse} */
2059
- declare function PackageMaterialResponse(): PackageMaterialResponse;
2060
- type PackageMaterialResponse = {
3185
+ /** @returns {PackageMaterialResult} */
3186
+ declare function PackageMaterialResult(): PackageMaterialResult;
3187
+ type PackageMaterialResult = {
3188
+ /**
3189
+ * - Name of the packaging material.
3190
+ */
2061
3191
  name: string;
3192
+ /**
3193
+ * - Id of the packaging material.
3194
+ */
2062
3195
  id?: string;
3196
+ /**
3197
+ * - Unique identifier of an item associated with
3198
+ * the packaging material.
3199
+ */
2063
3200
  item_id?: number;
3201
+ /**
3202
+ * - Company id associated with the packaging material.
3203
+ */
3204
+ company_id?: number;
3205
+ /**
3206
+ * - Width of the packaging material dimentions in centimeter.
3207
+ */
2064
3208
  width: number;
3209
+ /**
3210
+ * - Height of the packaging material dimentions in centimeter.
3211
+ */
2065
3212
  height: number;
3213
+ /**
3214
+ * - Length of the packaging material dimentions in centimeter.
3215
+ */
2066
3216
  length: number;
3217
+ /**
3218
+ * - Product group rules associated
3219
+ * with the packaging.
3220
+ */
2067
3221
  rules?: PackageMaterialRule[];
3222
+ /**
3223
+ * - Store ids where the packaging is avaiable.
3224
+ */
2068
3225
  store_ids: number[];
3226
+ /**
3227
+ * - Package's weight in gram.
3228
+ */
2069
3229
  weight: number;
3230
+ /**
3231
+ * - Error Rate associated with the packaging dimensions.
3232
+ */
2070
3233
  error_rate: number;
3234
+ /**
3235
+ * - Type of package material.
3236
+ */
2071
3237
  package_type: string;
3238
+ /**
3239
+ * - Physical size of the packaging.
3240
+ */
2072
3241
  size: string;
3242
+ /**
3243
+ * - Image urls associated with the packaging material.
3244
+ */
2073
3245
  media?: string[];
3246
+ /**
3247
+ * - Sales channel where packaging is applicable.
3248
+ */
2074
3249
  channels: Channel[];
3250
+ /**
3251
+ * - Denotes if the track of the inventory
3252
+ * should be kept.
3253
+ */
2075
3254
  track_inventory?: boolean;
3255
+ /**
3256
+ * - Current status of the packaging material, if it
3257
+ * is active or inactive.
3258
+ */
2076
3259
  status: string;
3260
+ /**
3261
+ * - Maximum weight holding capacity.
3262
+ */
2077
3263
  max_weight?: number;
3264
+ /**
3265
+ * - Volumetric weight that a packaging
3266
+ * material can carry.
3267
+ */
2078
3268
  package_vol_weight?: number;
3269
+ /**
3270
+ * - Denotes whether the volumetric weight
3271
+ * should be auto calculated or not.
3272
+ */
2079
3273
  auto_calculate?: boolean;
2080
3274
  };
2081
3275
  /** @returns {PackageMaterialRule} */
2082
3276
  declare function PackageMaterialRule(): PackageMaterialRule;
2083
3277
  type PackageMaterialRule = {
3278
+ /**
3279
+ * - Unique identifier of the package rule.
3280
+ */
2084
3281
  rule_id?: string;
2085
3282
  quantity?: PackageMaterialRuleQuantity;
3283
+ /**
3284
+ * - Volumetric weight in gram.
3285
+ */
2086
3286
  weight?: number;
2087
3287
  };
2088
3288
  /** @returns {PackageRule} */
2089
3289
  declare function PackageRule(): PackageRule;
2090
3290
  type PackageRule = {
3291
+ /**
3292
+ * - Name of the package rule.
3293
+ */
2091
3294
  name: string;
3295
+ /**
3296
+ * - Unique identifier of the company.
3297
+ */
2092
3298
  company_id: number;
3299
+ /**
3300
+ * - Type of the rule.
3301
+ */
2093
3302
  type: string;
3303
+ /**
3304
+ * - Denotes if the rule is active or inactive.
3305
+ */
2094
3306
  is_active?: boolean;
2095
3307
  product_tag?: PackageRuleProductTag;
2096
3308
  product_id?: PackageRuleProduct;
2097
3309
  category_id?: PackageRuleCategory;
2098
3310
  };
2099
- /** @returns {PackageRuleResponse} */
2100
- declare function PackageRuleResponse(): PackageRuleResponse;
2101
- type PackageRuleResponse = {
3311
+ /** @returns {PackageRuleResult} */
3312
+ declare function PackageRuleResult(): PackageRuleResult;
3313
+ type PackageRuleResult = {
3314
+ /**
3315
+ * - Unique id of a package rule.
3316
+ */
2102
3317
  id?: string;
3318
+ /**
3319
+ * - Name of a package rule.
3320
+ */
2103
3321
  name: string;
3322
+ /**
3323
+ * - Unique identifier of a company associated
3324
+ * with the package rule.
3325
+ */
2104
3326
  company_id: number;
3327
+ /**
3328
+ * - Type of the rule created.
3329
+ */
2105
3330
  type: string;
3331
+ /**
3332
+ * - Denotes if the rule is active or inactive.
3333
+ */
2106
3334
  is_active?: boolean;
2107
3335
  product_tag?: PackageRuleProductTag;
2108
3336
  product_id?: PackageRuleProduct;
@@ -2111,19 +3339,25 @@ type PackageRuleResponse = {
2111
3339
  /** @returns {Channel} */
2112
3340
  declare function Channel(): Channel;
2113
3341
  type Channel = {
3342
+ /**
3343
+ * - Type of the channel.
3344
+ */
2114
3345
  type?: string;
3346
+ /**
3347
+ * - Unique identifier of the channel.
3348
+ */
2115
3349
  id?: string;
2116
3350
  };
2117
3351
  /** @returns {PackageMaterialRuleList} */
2118
3352
  declare function PackageMaterialRuleList(): PackageMaterialRuleList;
2119
3353
  type PackageMaterialRuleList = {
2120
- items?: PackageRuleResponse;
3354
+ items?: PackageRuleResult;
2121
3355
  page?: Page;
2122
3356
  };
2123
3357
  /** @returns {PackageMaterialList} */
2124
3358
  declare function PackageMaterialList(): PackageMaterialList;
2125
3359
  type PackageMaterialList = {
2126
- items?: PackageMaterialResponse;
3360
+ items?: PackageMaterialResult;
2127
3361
  page?: Page;
2128
3362
  };
2129
3363
  /** @returns {PackageRuleProduct} */
@@ -2144,18 +3378,34 @@ type PackageRuleCategory = {
2144
3378
  /** @returns {PackageMaterialRuleQuantity} */
2145
3379
  declare function PackageMaterialRuleQuantity(): PackageMaterialRuleQuantity;
2146
3380
  type PackageMaterialRuleQuantity = {
3381
+ /**
3382
+ * - Minimum product's quantity that a packaging can contain.
3383
+ */
2147
3384
  min?: number;
3385
+ /**
3386
+ * - Maximum product's quantity that a packaging can contain.
3387
+ */
2148
3388
  max?: number;
2149
3389
  };
2150
- /** @returns {RulePriorityRequest} */
2151
- declare function RulePriorityRequest(): RulePriorityRequest;
2152
- type RulePriorityRequest = {
3390
+ /** @returns {RulePriorityDetails} */
3391
+ declare function RulePriorityDetails(): RulePriorityDetails;
3392
+ type RulePriorityDetails = {
3393
+ /**
3394
+ * - Rule id whose priority needs to be changed.
3395
+ */
2153
3396
  rule_id: string;
3397
+ /**
3398
+ * - New priority of the rule.
3399
+ */
2154
3400
  priority: number;
2155
3401
  };
2156
- /** @returns {RulePriorityResponse} */
2157
- declare function RulePriorityResponse(): RulePriorityResponse;
2158
- type RulePriorityResponse = {
3402
+ /** @returns {RulePriorityResult} */
3403
+ declare function RulePriorityResult(): RulePriorityResult;
3404
+ type RulePriorityResult = {
3405
+ /**
3406
+ * - Denotes if the priority of the rule is
3407
+ * changes successfully or not.
3408
+ */
2159
3409
  success?: boolean;
2160
3410
  };
2161
3411
  /** @returns {ArticleAssignment} */
@@ -2214,7 +3464,7 @@ declare function OptimalLocationsArticles(): OptimalLocationsArticles;
2214
3464
  type OptimalLocationsArticles = {
2215
3465
  item_id: number;
2216
3466
  size: string;
2217
- quantity: string;
3467
+ quantity: number;
2218
3468
  group_id?: string;
2219
3469
  is_primary_item?: boolean;
2220
3470
  meta?: any;
@@ -2223,18 +3473,18 @@ type OptimalLocationsArticles = {
2223
3473
  assign_locations: number[];
2224
3474
  seller_id?: number;
2225
3475
  };
2226
- /** @returns {OptimlLocationsRequestSchema} */
2227
- declare function OptimlLocationsRequestSchema(): OptimlLocationsRequestSchema;
2228
- type OptimlLocationsRequestSchema = {
3476
+ /** @returns {OptimlLocationsDetailsSchema} */
3477
+ declare function OptimlLocationsDetailsSchema(): OptimlLocationsDetailsSchema;
3478
+ type OptimlLocationsDetailsSchema = {
2229
3479
  channel_id: string;
2230
3480
  channel_type: string;
2231
3481
  channel_identifier?: string;
2232
3482
  to_serviceability: LocationDetailsServiceability;
2233
- article?: OptimalLocationsArticles;
3483
+ articles?: OptimalLocationsArticles[];
2234
3484
  };
2235
- /** @returns {OptimalLocationArticlesResponse} */
2236
- declare function OptimalLocationArticlesResponse(): OptimalLocationArticlesResponse;
2237
- type OptimalLocationArticlesResponse = {
3485
+ /** @returns {OptimalLocationArticlesResult} */
3486
+ declare function OptimalLocationArticlesResult(): OptimalLocationArticlesResult;
3487
+ type OptimalLocationArticlesResult = {
2238
3488
  item_id: number;
2239
3489
  size: string;
2240
3490
  quantity: number;
@@ -2250,15 +3500,35 @@ type OptimalLocationArticlesResponse = {
2250
3500
  _id: string;
2251
3501
  uid: string;
2252
3502
  };
2253
- /** @returns {OptimalLocationAssignedStoresResponse} */
2254
- declare function OptimalLocationAssignedStoresResponse(): OptimalLocationAssignedStoresResponse;
2255
- type OptimalLocationAssignedStoresResponse = {
3503
+ /** @returns {OptimalLocationAssignedStoresResult} */
3504
+ declare function OptimalLocationAssignedStoresResult(): OptimalLocationAssignedStoresResult;
3505
+ type OptimalLocationAssignedStoresResult = {
2256
3506
  store_id: number;
2257
- articles: OptimalLocationArticlesResponse[];
3507
+ articles: OptimalLocationArticlesResult[];
3508
+ };
3509
+ /** @returns {OptimalLocationsResult} */
3510
+ declare function OptimalLocationsResult(): OptimalLocationsResult;
3511
+ type OptimalLocationsResult = {
3512
+ assigned_stores: OptimalLocationAssignedStoresResult[];
3513
+ faulty_articles?: ErrorResult[];
3514
+ };
3515
+ /** @returns {ValidationError} */
3516
+ declare function ValidationError(): ValidationError;
3517
+ type ValidationError = {
3518
+ /**
3519
+ * - A brief description of the error encountered.
3520
+ */
3521
+ message: string;
3522
+ /**
3523
+ * - The field in the request that caused the error.
3524
+ */
3525
+ field: string;
2258
3526
  };
2259
- /** @returns {OptimalLocationsResponse} */
2260
- declare function OptimalLocationsResponse(): OptimalLocationsResponse;
2261
- type OptimalLocationsResponse = {
2262
- assigned_stores: OptimalLocationAssignedStoresResponse[];
2263
- faulty_articles?: ErrorResponse[];
3527
+ /** @returns {StandardError} */
3528
+ declare function StandardError(): StandardError;
3529
+ type StandardError = {
3530
+ /**
3531
+ * - A brief description of the error.
3532
+ */
3533
+ message: string;
2264
3534
  };