@gofynd/fdk-client-javascript 1.0.2 → 1.0.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 (310) hide show
  1. package/documentation/application/CART.md +5934 -4502
  2. package/documentation/application/CATALOG.md +6338 -7245
  3. package/documentation/application/COMMON.md +95 -222
  4. package/documentation/application/COMMUNICATION.md +106 -186
  5. package/documentation/application/CONFIGURATION.md +903 -1597
  6. package/documentation/application/CONTENT.md +557 -1279
  7. package/documentation/application/FILESTORAGE.md +84 -220
  8. package/documentation/application/LEAD.md +314 -660
  9. package/documentation/application/LOGISTIC.md +229 -305
  10. package/documentation/application/ORDER.md +642 -1137
  11. package/documentation/application/PAYMENT.md +2285 -3031
  12. package/documentation/application/POSCART.md +6079 -4642
  13. package/documentation/application/REWARDS.md +94 -248
  14. package/documentation/application/SHARE.md +152 -250
  15. package/documentation/application/THEME.md +952 -1235
  16. package/documentation/application/USER.md +1228 -1765
  17. package/documentation/platform/ANALYTICS.md +207 -349
  18. package/documentation/platform/AUDITTRAIL.md +121 -204
  19. package/documentation/platform/BILLING.md +865 -1376
  20. package/documentation/platform/CART.md +2814 -3662
  21. package/documentation/platform/CATALOG.md +14453 -17192
  22. package/documentation/platform/COMMON.md +95 -222
  23. package/documentation/platform/COMMUNICATION.md +1632 -2380
  24. package/documentation/platform/COMPANYPROFILE.md +572 -957
  25. package/documentation/platform/CONFIGURATION.md +3050 -4073
  26. package/documentation/platform/CONTENT.md +3438 -4172
  27. package/documentation/platform/DISCOUNT.md +140 -236
  28. package/documentation/platform/FILESTORAGE.md +187 -323
  29. package/documentation/platform/INVENTORY.md +268 -911
  30. package/documentation/platform/LEAD.md +2195 -2541
  31. package/documentation/platform/ORDER.md +3400 -5361
  32. package/documentation/platform/PARTNER.md +9 -36
  33. package/documentation/platform/PAYMENT.md +903 -1213
  34. package/documentation/platform/REWARDS.md +183 -347
  35. package/documentation/platform/SHARE.md +120 -213
  36. package/documentation/platform/THEME.md +12956 -13239
  37. package/documentation/platform/USER.md +975 -1120
  38. package/documentation/platform/WEBHOOK.md +78 -184
  39. package/documentation/public/CONFIGURATION.md +95 -222
  40. package/documentation/public/INVENTORY.md +100 -282
  41. package/documentation/public/WEBHOOK.md +27 -133
  42. package/package.json +1 -1
  43. package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
  44. package/sdk/application/Cart/CartApplicationClient.js +567 -567
  45. package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
  46. package/sdk/application/Cart/CartApplicationModel.js +489 -886
  47. package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
  48. package/sdk/application/Cart/CartApplicationValidator.js +98 -98
  49. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
  50. package/sdk/application/Catalog/CatalogApplicationClient.js +1036 -1036
  51. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
  52. package/sdk/application/Catalog/CatalogApplicationModel.js +677 -1243
  53. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
  54. package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
  55. package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
  56. package/sdk/application/Common/CommonApplicationClient.js +38 -38
  57. package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
  58. package/sdk/application/Common/CommonApplicationModel.js +83 -160
  59. package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
  60. package/sdk/application/Common/CommonApplicationValidator.js +6 -6
  61. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
  62. package/sdk/application/Communication/CommunicationApplicationClient.js +26 -26
  63. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
  64. package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
  65. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  66. package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
  67. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
  68. package/sdk/application/Configuration/ConfigurationApplicationClient.js +330 -330
  69. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
  70. package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
  71. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
  72. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
  73. package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
  74. package/sdk/application/Content/ContentApplicationClient.js +191 -191
  75. package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
  76. package/sdk/application/Content/ContentApplicationModel.js +467 -884
  77. package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
  78. package/sdk/application/Content/ContentApplicationValidator.js +24 -24
  79. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
  80. package/sdk/application/FileStorage/FileStorageApplicationClient.js +59 -59
  81. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
  82. package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
  83. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  84. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
  85. package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
  86. package/sdk/application/Lead/LeadApplicationClient.js +100 -100
  87. package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
  88. package/sdk/application/Lead/LeadApplicationModel.js +267 -474
  89. package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
  90. package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
  91. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
  92. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -43
  93. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
  94. package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
  95. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
  96. package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
  97. package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
  98. package/sdk/application/Order/OrderApplicationClient.js +232 -232
  99. package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
  100. package/sdk/application/Order/OrderApplicationModel.js +352 -656
  101. package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
  102. package/sdk/application/Order/OrderApplicationValidator.js +28 -28
  103. package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
  104. package/sdk/application/Payment/PaymentApplicationClient.js +739 -739
  105. package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
  106. package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
  107. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
  108. package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
  109. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
  110. package/sdk/application/PosCart/PosCartApplicationClient.js +617 -617
  111. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
  112. package/sdk/application/PosCart/PosCartApplicationModel.js +475 -871
  113. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
  114. package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
  115. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
  116. package/sdk/application/Rewards/RewardsApplicationClient.js +112 -112
  117. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
  118. package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
  119. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
  120. package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
  121. package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
  122. package/sdk/application/Share/ShareApplicationClient.js +84 -84
  123. package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
  124. package/sdk/application/Share/ShareApplicationModel.js +63 -123
  125. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
  126. package/sdk/application/Share/ShareApplicationValidator.js +12 -12
  127. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  128. package/sdk/application/Theme/ThemeApplicationClient.js +31 -31
  129. package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
  130. package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
  131. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
  132. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
  133. package/sdk/application/User/UserApplicationClient.d.ts +280 -280
  134. package/sdk/application/User/UserApplicationClient.js +581 -581
  135. package/sdk/application/User/UserApplicationModel.d.ts +79 -72
  136. package/sdk/application/User/UserApplicationModel.js +440 -689
  137. package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
  138. package/sdk/application/User/UserApplicationValidator.js +89 -89
  139. package/sdk/common/AxiosHelper.js +1 -1
  140. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
  141. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +179 -179
  142. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
  143. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
  144. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
  145. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
  146. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
  147. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +41 -41
  148. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
  149. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
  150. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  151. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
  152. package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
  153. package/sdk/platform/Billing/BillingPlatformClient.js +181 -181
  154. package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
  155. package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
  156. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
  157. package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
  158. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +168 -168
  159. package/sdk/platform/Cart/CartPlatformApplicationClient.js +553 -553
  160. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
  161. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
  162. package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
  163. package/sdk/platform/Cart/CartPlatformModel.js +671 -1205
  164. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
  165. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1525 -1525
  166. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
  167. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +174 -174
  168. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +682 -682
  169. package/sdk/platform/Catalog/CatalogPlatformClient.js +1557 -1557
  170. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
  171. package/sdk/platform/Catalog/CatalogPlatformModel.js +2127 -3904
  172. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
  173. package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -229
  174. package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
  175. package/sdk/platform/Common/CommonPlatformClient.js +41 -41
  176. package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
  177. package/sdk/platform/Common/CommonPlatformModel.js +83 -160
  178. package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
  179. package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
  180. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
  181. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +943 -943
  182. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
  183. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
  184. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
  185. package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
  186. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
  187. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +212 -212
  188. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
  189. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
  190. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
  191. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
  192. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
  193. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +615 -552
  194. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
  195. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
  196. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
  197. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +342 -342
  198. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
  199. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
  200. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
  201. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
  202. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +534 -534
  203. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1324 -1324
  204. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -50
  205. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +156 -156
  206. package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
  207. package/sdk/platform/Content/ContentPlatformModel.js +484 -907
  208. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
  209. package/sdk/platform/Discount/DiscountPlatformClient.js +216 -216
  210. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
  211. package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
  212. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
  213. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
  214. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -24
  215. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +58 -58
  216. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  217. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
  218. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +52 -52
  219. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +123 -123
  220. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
  221. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
  222. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
  223. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
  224. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
  225. package/sdk/platform/Inventory/InventoryPlatformClient.js +228 -228
  226. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
  227. package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
  228. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
  229. package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
  230. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
  231. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +200 -200
  232. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
  233. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
  234. package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
  235. package/sdk/platform/Lead/LeadPlatformClient.js +212 -212
  236. package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
  237. package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
  238. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
  239. package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
  240. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  241. package/sdk/platform/Order/OrderPlatformApplicationClient.js +65 -65
  242. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
  243. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
  244. package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
  245. package/sdk/platform/Order/OrderPlatformClient.js +1035 -1035
  246. package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
  247. package/sdk/platform/Order/OrderPlatformModel.js +1574 -2861
  248. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
  249. package/sdk/platform/Order/OrderPlatformValidator.js +160 -160
  250. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  251. package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
  252. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +57 -57
  253. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +167 -167
  254. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
  255. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
  256. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
  257. package/sdk/platform/Payment/PaymentPlatformClient.js +153 -153
  258. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
  259. package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
  260. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
  261. package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
  262. package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
  263. package/sdk/platform/PlatformApplicationClient.js +1584 -13899
  264. package/sdk/platform/PlatformClient.d.ts +7965 -7885
  265. package/sdk/platform/PlatformClient.js +8672 -10105
  266. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +83 -83
  267. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +275 -275
  268. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
  269. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
  270. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
  271. package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
  272. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  273. package/sdk/platform/Share/SharePlatformApplicationClient.js +59 -59
  274. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  275. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
  276. package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
  277. package/sdk/platform/Share/SharePlatformModel.js +60 -118
  278. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
  279. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +310 -310
  280. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
  281. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
  282. package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
  283. package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
  284. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
  285. package/sdk/platform/User/UserPlatformApplicationClient.js +505 -166
  286. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
  287. package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
  288. package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
  289. package/sdk/platform/User/UserPlatformModel.js +440 -689
  290. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
  291. package/sdk/platform/Webhook/WebhookPlatformClient.js +88 -88
  292. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
  293. package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
  294. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
  295. package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
  296. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
  297. package/sdk/public/Configuration/ConfigurationPublicClient.js +38 -38
  298. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
  299. package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
  300. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
  301. package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
  302. package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
  303. package/sdk/public/Inventory/InventoryPublicClient.js +113 -113
  304. package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
  305. package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
  306. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
  307. package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
  308. package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
  309. package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
  310. package/tests/application/catalog.spec.js +7 -0
@@ -4,210 +4,156 @@ declare class Order {
4
4
  config: any;
5
5
  /**
6
6
  * @param {Object} arg - Arg object.
7
- * @param {string} [arg.lane] -
8
- * @param {string} [arg.bagStatus] -
9
- * @param {boolean} [arg.statusOverrideLane] -
10
- * @param {string} [arg.searchType] -
11
- * @param {string} [arg.searchValue] -
12
- * @param {string} [arg.searchId] -
13
- * @param {string} [arg.fromDate] -
14
- * @param {string} [arg.toDate] -
15
- * @param {string} [arg.dpIds] -
16
- * @param {string} [arg.orderingCompanyId] -
17
- * @param {string} [arg.stores] -
18
- * @param {string} [arg.salesChannel] -
19
- * @param {string} [arg.requestByExt] -
20
- * @param {number} [arg.pageNo] -
21
- * @param {number} [arg.pageSize] -
22
- * @param {boolean} [arg.isPrioritySort] -
23
- * @param {boolean} [arg.fetchActiveShipment] -
24
- * @param {boolean} [arg.excludeLockedShipments] -
25
- * @param {string} [arg.paymentMethods] -
26
- * @param {string} [arg.channelShipmentId] -
27
- * @param {string} [arg.channelOrderId] -
28
- * @param {string} [arg.customMeta] -
29
- * @param {string} [arg.orderingChannel] -
30
- * @param {string} [arg.companyAffiliateTag] -
31
- * @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
7
+ * @param {string} arg.batchId -
8
+ * @returns {Promise<BulkActionDetailsResponse>} - Success response
9
+ * @summary: Returns failed, processing and successfully processed shipments.
10
+ * @description: Returns failed, processing and successfully processed shipments along with their counts and failed reasons.
11
+ */
12
+ bulkActionDetails({ batchId }?: {
13
+ batchId: string;
14
+ }): Promise<BulkActionDetailsResponse>;
15
+ /**
16
+ * @param {Object} arg - Arg object.
17
+ * @param {BulkActionPayload} arg.body
18
+ * @returns {Promise<BulkActionResponse>} - Success response
19
+ * @summary: emits uuid to kafka topic.
20
+ * @description: Use this API to start processing Xlsx file.
21
+ */
22
+ bulkActionProcessXlsxFile({ body }?: {
23
+ body: BulkActionPayload;
24
+ }): Promise<BulkActionResponse>;
25
+ /**
26
+ * @param {Object} arg - Arg object.
27
+ * @param {OrderStatus} arg.body
28
+ * @returns {Promise<OrderStatusResult>} - Success response
32
29
  * @summary:
33
30
  * @description:
34
31
  */
35
- getShipments({ lane, bagStatus, statusOverrideLane, searchType, searchValue, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, isPrioritySort, fetchActiveShipment, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, }?: {
36
- lane?: string;
37
- bagStatus?: string;
38
- statusOverrideLane?: boolean;
39
- searchType?: string;
40
- searchValue?: string;
41
- searchId?: string;
42
- fromDate?: string;
43
- toDate?: string;
44
- dpIds?: string;
45
- orderingCompanyId?: string;
46
- stores?: string;
47
- salesChannel?: string;
48
- requestByExt?: string;
49
- pageNo?: number;
50
- pageSize?: number;
51
- isPrioritySort?: boolean;
52
- fetchActiveShipment?: boolean;
53
- excludeLockedShipments?: boolean;
54
- paymentMethods?: string;
55
- channelShipmentId?: string;
56
- channelOrderId?: string;
57
- customMeta?: string;
58
- orderingChannel?: string;
59
- companyAffiliateTag?: string;
60
- }): Promise<ShipmentInternalPlatformViewResponse>;
32
+ checkOrderStatus({ body }?: {
33
+ body: OrderStatus;
34
+ }): Promise<OrderStatusResult>;
61
35
  /**
62
36
  * @param {Object} arg - Arg object.
63
- * @param {string} [arg.channelShipmentId] -
64
- * @param {string} [arg.shipmentId] -
65
- * @param {string} [arg.orderingCompanyId] -
66
- * @param {string} [arg.requestByExt] -
67
- * @returns {Promise<ShipmentInfoResponse>} - Success response
37
+ * @param {string} arg.caller -
38
+ * @param {string} arg.receiver -
39
+ * @param {string} arg.bagId -
40
+ * @param {string} [arg.callingTo] -
41
+ * @param {string} [arg.callerId] -
42
+ * @returns {Promise<Click2CallResponse>} - Success response
68
43
  * @summary:
69
44
  * @description:
70
45
  */
71
- getShipmentById({ channelShipmentId, shipmentId, orderingCompanyId, requestByExt, }?: {
72
- channelShipmentId?: string;
73
- shipmentId?: string;
74
- orderingCompanyId?: string;
75
- requestByExt?: string;
76
- }): Promise<ShipmentInfoResponse>;
46
+ click2Call({ caller, receiver, bagId, callingTo, callerId }?: {
47
+ caller: string;
48
+ receiver: string;
49
+ bagId: string;
50
+ callingTo?: string;
51
+ callerId?: string;
52
+ }): Promise<Click2CallResponse>;
77
53
  /**
78
54
  * @param {Object} arg - Arg object.
79
- * @param {string} arg.orderId -
80
- * @returns {Promise<ShipmentDetailsResponse>} - Success response
55
+ * @param {CreateChannelConfigData} arg.body
56
+ * @returns {Promise<CreateChannelConfigResponse>} - Success response
81
57
  * @summary:
82
- * @description:
58
+ * @description: createChannelConfig
83
59
  */
84
- getOrderById({ orderId }?: {
85
- orderId: string;
86
- }): Promise<ShipmentDetailsResponse>;
60
+ createChannelConfig({ body }?: {
61
+ body: CreateChannelConfigData;
62
+ }): Promise<CreateChannelConfigResponse>;
87
63
  /**
88
64
  * @param {Object} arg - Arg object.
89
- * @param {string} [arg.superLane] -
90
- * @param {string} [arg.groupEntity] -
91
- * @param {string} [arg.fromDate] -
92
- * @param {string} [arg.toDate] -
93
- * @param {string} [arg.dpIds] -
94
- * @param {string} [arg.stores] -
95
- * @param {string} [arg.salesChannel] -
96
- * @param {string} [arg.paymentMode] -
97
- * @param {string} [arg.bagStatus] -
98
- * @returns {Promise<LaneConfigResponse>} - Success response
65
+ * @param {CreateOrderAPI} arg.body
66
+ * @returns {Promise<CreateOrderResponse>} - Success response
99
67
  * @summary:
100
68
  * @description:
101
69
  */
102
- getLaneConfig({ superLane, groupEntity, fromDate, toDate, dpIds, stores, salesChannel, paymentMode, bagStatus, }?: {
103
- superLane?: string;
104
- groupEntity?: string;
105
- fromDate?: string;
106
- toDate?: string;
107
- dpIds?: string;
108
- stores?: string;
109
- salesChannel?: string;
110
- paymentMode?: string;
111
- bagStatus?: string;
112
- }): Promise<LaneConfigResponse>;
70
+ createOrder({ body }?: {
71
+ body: CreateOrderAPI;
72
+ }): Promise<CreateOrderResponse>;
113
73
  /**
114
74
  * @param {Object} arg - Arg object.
115
- * @param {string} [arg.lane] -
116
- * @param {string} [arg.searchType] -
117
- * @param {string} [arg.bagStatus] -
118
- * @param {string} [arg.timeToDispatch] -
119
- * @param {string} [arg.paymentMethods] -
120
- * @param {string} [arg.tags] -
121
- * @param {string} [arg.searchValue] -
122
75
  * @param {string} [arg.fromDate] -
123
76
  * @param {string} [arg.toDate] -
124
- * @param {string} [arg.dpIds] -
125
- * @param {string} [arg.stores] -
126
- * @param {string} [arg.salesChannel] -
127
- * @param {number} [arg.pageNo] -
128
- * @param {number} [arg.pageSize] -
129
- * @param {boolean} [arg.isPrioritySort] -
130
- * @param {string} [arg.customMeta] -
131
- * @returns {Promise<OrderListingResponse>} - Success response
77
+ * @returns {Promise<Success>} - Success response
132
78
  * @summary:
133
79
  * @description:
134
80
  */
135
- getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, dpIds, stores, salesChannel, pageNo, pageSize, isPrioritySort, customMeta, }?: {
136
- lane?: string;
137
- searchType?: string;
138
- bagStatus?: string;
139
- timeToDispatch?: string;
140
- paymentMethods?: string;
141
- tags?: string;
142
- searchValue?: string;
81
+ createShipmentReport({ fromDate, toDate }?: {
143
82
  fromDate?: string;
144
83
  toDate?: string;
145
- dpIds?: string;
146
- stores?: string;
147
- salesChannel?: string;
148
- pageNo?: number;
149
- pageSize?: number;
150
- isPrioritySort?: boolean;
151
- customMeta?: string;
152
- }): Promise<OrderListingResponse>;
84
+ }): Promise<Success>;
153
85
  /**
154
86
  * @param {Object} arg - Arg object.
155
- * @param {string} [arg.fromDate] -
156
- * @param {string} [arg.toDate] -
157
- * @returns {Promise<MetricCountResponse>} - Success response
87
+ * @param {DispatchManifest} arg.body
88
+ * @returns {Promise<SuccessResponse>} - Success response
158
89
  * @summary:
159
90
  * @description:
160
91
  */
161
- getMetricCount({ fromDate, toDate }?: {
162
- fromDate?: string;
163
- toDate?: string;
164
- }): Promise<MetricCountResponse>;
92
+ dispatchManifest({ body }?: {
93
+ body: DispatchManifest;
94
+ }): Promise<SuccessResponse>;
165
95
  /**
166
96
  * @param {Object} arg - Arg object.
167
- * @param {string} arg.view -
168
- * @param {string} [arg.groupEntity] -
169
- * @returns {Promise<FiltersResponse>} - Success response
97
+ * @param {string} [arg.date] -
98
+ * @returns {Promise<AnnouncementsResponse>} - Success response
170
99
  * @summary:
171
100
  * @description:
172
101
  */
173
- getfilters({ view, groupEntity }?: {
174
- view: string;
175
- groupEntity?: string;
176
- }): Promise<FiltersResponse>;
102
+ getAnnouncements({ date }?: {
103
+ date?: string;
104
+ }): Promise<AnnouncementsResponse>;
177
105
  /**
178
106
  * @param {Object} arg - Arg object.
179
- * @param {string} [arg.fromDate] -
180
- * @param {string} [arg.toDate] -
181
- * @returns {Promise<Success>} - Success response
107
+ * @param {string} [arg.bagId] -
108
+ * @param {string} [arg.channelBagId] -
109
+ * @param {string} [arg.channelId] -
110
+ * @returns {Promise<BagDetailsPlatformResponse>} - Success response
182
111
  * @summary:
183
112
  * @description:
184
113
  */
185
- createShipmentReport({ fromDate, toDate }?: {
186
- fromDate?: string;
187
- toDate?: string;
188
- }): Promise<Success>;
114
+ getBagById({ bagId, channelBagId, channelId }?: {
115
+ bagId?: string;
116
+ channelBagId?: string;
117
+ channelId?: string;
118
+ }): Promise<BagDetailsPlatformResponse>;
189
119
  /**
190
120
  * @param {Object} arg - Arg object.
121
+ * @param {string} [arg.bagIds] -
122
+ * @param {string} [arg.shipmentIds] -
123
+ * @param {string} [arg.orderIds] -
124
+ * @param {string} [arg.channelBagIds] -
125
+ * @param {string} [arg.channelShipmentIds] -
126
+ * @param {string} [arg.channelOrderIds] -
127
+ * @param {string} [arg.channelId] -
191
128
  * @param {number} [arg.pageNo] -
192
129
  * @param {number} [arg.pageSize] -
193
- * @returns {Promise<OmsReports>} - Success response
130
+ * @returns {Promise<GetBagsPlatformResponse>} - Success response
194
131
  * @summary:
195
132
  * @description:
196
133
  */
197
- getReportsShipmentListing({ pageNo, pageSize }?: {
134
+ getBags({ bagIds, shipmentIds, orderIds, channelBagIds, channelShipmentIds, channelOrderIds, channelId, pageNo, pageSize, }?: {
135
+ bagIds?: string;
136
+ shipmentIds?: string;
137
+ orderIds?: string;
138
+ channelBagIds?: string;
139
+ channelShipmentIds?: string;
140
+ channelOrderIds?: string;
141
+ channelId?: string;
198
142
  pageNo?: number;
199
143
  pageSize?: number;
200
- }): Promise<OmsReports>;
144
+ }): Promise<GetBagsPlatformResponse>;
201
145
  /**
202
146
  * @param {Object} arg - Arg object.
203
- * @param {JioCodeUpsertPayload} arg.body
204
- * @returns {Promise<JioCodeUpsertResponse>} - Success response
147
+ * @param {string} arg.batchId -
148
+ * @param {string} [arg.reportType] -
149
+ * @returns {Promise<FileResponse>} - Success response
205
150
  * @summary:
206
151
  * @description:
207
152
  */
208
- upsertJioCode({ body }?: {
209
- body: JioCodeUpsertPayload;
210
- }): Promise<JioCodeUpsertResponse>;
153
+ getBulkActionFailedReport({ batchId, reportType }?: {
154
+ batchId: string;
155
+ reportType?: string;
156
+ }): Promise<FileResponse>;
211
157
  /**
212
158
  * @param {Object} arg - Arg object.
213
159
  * @param {string} arg.batchId -
@@ -246,11 +192,11 @@ declare class Order {
246
192
  * @param {number} [arg.pageSize] -
247
193
  * @param {string} [arg.customerId] -
248
194
  * @param {boolean} [arg.isPrioritySort] -
249
- * @returns {Promise<FileResponse>} - Success response
195
+ * @returns {Promise<BulkListingResponse>} - Success response
250
196
  * @summary:
251
197
  * @description:
252
198
  */
253
- getBulkShipmentExcelFile({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
199
+ getBulkList({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
254
200
  lane?: string;
255
201
  searchType?: string;
256
202
  searchId?: string;
@@ -265,7 +211,7 @@ declare class Order {
265
211
  pageSize?: number;
266
212
  customerId?: string;
267
213
  isPrioritySort?: boolean;
268
- }): Promise<FileResponse>;
214
+ }): Promise<BulkListingResponse>;
269
215
  /**
270
216
  * @param {Object} arg - Arg object.
271
217
  * @param {string} [arg.lane] -
@@ -282,11 +228,11 @@ declare class Order {
282
228
  * @param {number} [arg.pageSize] -
283
229
  * @param {string} [arg.customerId] -
284
230
  * @param {boolean} [arg.isPrioritySort] -
285
- * @returns {Promise<BulkListingResponse>} - Success response
231
+ * @returns {Promise<FileResponse>} - Success response
286
232
  * @summary:
287
233
  * @description:
288
234
  */
289
- getBulkList({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
235
+ getBulkShipmentExcelFile({ lane, searchType, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, customerId, isPrioritySort, }?: {
290
236
  lane?: string;
291
237
  searchType?: string;
292
238
  searchId?: string;
@@ -301,245 +247,294 @@ declare class Order {
301
247
  pageSize?: number;
302
248
  customerId?: string;
303
249
  isPrioritySort?: boolean;
304
- }): Promise<BulkListingResponse>;
250
+ }): Promise<FileResponse>;
305
251
  /**
306
252
  * @param {Object} arg - Arg object.
307
- * @param {string} arg.batchId -
308
- * @param {string} [arg.reportType] -
309
- * @returns {Promise<FileResponse>} - Success response
253
+ * @returns {Promise<CreateChannelConfigData>} - Success response
310
254
  * @summary:
311
- * @description:
312
- */
313
- getBulkActionFailedReport({ batchId, reportType }?: {
314
- batchId: string;
315
- reportType?: string;
316
- }): Promise<FileResponse>;
317
- /**
318
- * @param {Object} arg - Arg object.
319
- * @param {string} arg.shipmentId - ID of the shipment. An order may contain
320
- * multiple items and may get divided into one or more shipment, each
321
- * having its own ID.
322
- * @param {string} arg.bagId - ID of the bag. An order may contain multiple
323
- * items and may get divided into one or more shipment, each having its own ID.
324
- * @param {string} arg.state - State for which reasons are required.
325
- * @returns {Promise<PlatformShipmentReasonsResponse>} - Success response
326
- * @summary: Get reasons behind full or partial cancellation of a shipment
327
- * @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
255
+ * @description: getChannelConfig
328
256
  */
329
- getShipmentReasons({ shipmentId, bagId, state }?: {
330
- shipmentId: string;
331
- bagId: string;
332
- state: string;
333
- }): Promise<PlatformShipmentReasonsResponse>;
257
+ getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
334
258
  /**
335
259
  * @param {Object} arg - Arg object.
336
- * @param {BulkActionPayload} arg.body
337
- * @returns {Promise<BulkActionResponse>} - Success response
338
- * @summary: emits uuid to kafka topic.
339
- * @description: Use this API to start processing Xlsx file.
260
+ * @param {string} [arg.superLane] -
261
+ * @param {string} [arg.groupEntity] -
262
+ * @param {string} [arg.fromDate] -
263
+ * @param {string} [arg.toDate] -
264
+ * @param {string} [arg.dpIds] -
265
+ * @param {string} [arg.stores] -
266
+ * @param {string} [arg.salesChannel] -
267
+ * @param {string} [arg.paymentMode] -
268
+ * @param {string} [arg.bagStatus] -
269
+ * @returns {Promise<LaneConfigResponse>} - Success response
270
+ * @summary:
271
+ * @description:
340
272
  */
341
- bulkActionProcessXlsxFile({ body }?: {
342
- body: BulkActionPayload;
343
- }): Promise<BulkActionResponse>;
273
+ getLaneConfig({ superLane, groupEntity, fromDate, toDate, dpIds, stores, salesChannel, paymentMode, bagStatus, }?: {
274
+ superLane?: string;
275
+ groupEntity?: string;
276
+ fromDate?: string;
277
+ toDate?: string;
278
+ dpIds?: string;
279
+ stores?: string;
280
+ salesChannel?: string;
281
+ paymentMode?: string;
282
+ bagStatus?: string;
283
+ }): Promise<LaneConfigResponse>;
344
284
  /**
345
285
  * @param {Object} arg - Arg object.
346
- * @param {string} arg.batchId -
347
- * @returns {Promise<BulkActionDetailsResponse>} - Success response
348
- * @summary: Returns failed, processing and successfully processed shipments.
349
- * @description: Returns failed, processing and successfully processed shipments along with their counts and failed reasons.
286
+ * @param {string} [arg.fromDate] -
287
+ * @param {string} [arg.toDate] -
288
+ * @returns {Promise<MetricCountResponse>} - Success response
289
+ * @summary:
290
+ * @description:
350
291
  */
351
- bulkActionDetails({ batchId }?: {
352
- batchId: string;
353
- }): Promise<BulkActionDetailsResponse>;
292
+ getMetricCount({ fromDate, toDate }?: {
293
+ fromDate?: string;
294
+ toDate?: string;
295
+ }): Promise<MetricCountResponse>;
354
296
  /**
355
297
  * @param {Object} arg - Arg object.
356
- * @param {string} [arg.bagId] -
357
- * @param {string} [arg.channelBagId] -
358
- * @param {string} [arg.channelId] -
359
- * @returns {Promise<BagDetailsPlatformResponse>} - Success response
298
+ * @param {string} arg.orderId -
299
+ * @returns {Promise<ShipmentDetailsResponse>} - Success response
360
300
  * @summary:
361
301
  * @description:
362
302
  */
363
- getBagById({ bagId, channelBagId, channelId }?: {
364
- bagId?: string;
365
- channelBagId?: string;
366
- channelId?: string;
367
- }): Promise<BagDetailsPlatformResponse>;
303
+ getOrderById({ orderId }?: {
304
+ orderId: string;
305
+ }): Promise<ShipmentDetailsResponse>;
368
306
  /**
369
307
  * @param {Object} arg - Arg object.
370
- * @param {string} [arg.bagIds] -
371
- * @param {string} [arg.shipmentIds] -
372
- * @param {string} [arg.orderIds] -
373
- * @param {string} [arg.channelBagIds] -
374
- * @param {string} [arg.channelShipmentIds] -
375
- * @param {string} [arg.channelOrderIds] -
376
- * @param {string} [arg.channelId] -
308
+ * @param {string} [arg.lane] -
309
+ * @param {string} [arg.searchType] -
310
+ * @param {string} [arg.bagStatus] -
311
+ * @param {string} [arg.timeToDispatch] -
312
+ * @param {string} [arg.paymentMethods] -
313
+ * @param {string} [arg.tags] -
314
+ * @param {string} [arg.searchValue] -
315
+ * @param {string} [arg.fromDate] -
316
+ * @param {string} [arg.toDate] -
317
+ * @param {string} [arg.dpIds] -
318
+ * @param {string} [arg.stores] -
319
+ * @param {string} [arg.salesChannel] -
377
320
  * @param {number} [arg.pageNo] -
378
321
  * @param {number} [arg.pageSize] -
379
- * @returns {Promise<GetBagsPlatformResponse>} - Success response
322
+ * @param {boolean} [arg.isPrioritySort] -
323
+ * @param {string} [arg.customMeta] -
324
+ * @returns {Promise<OrderListingResponse>} - Success response
380
325
  * @summary:
381
326
  * @description:
382
327
  */
383
- getBags({ bagIds, shipmentIds, orderIds, channelBagIds, channelShipmentIds, channelOrderIds, channelId, pageNo, pageSize, }?: {
384
- bagIds?: string;
385
- shipmentIds?: string;
386
- orderIds?: string;
387
- channelBagIds?: string;
388
- channelShipmentIds?: string;
389
- channelOrderIds?: string;
390
- channelId?: string;
328
+ getOrders({ lane, searchType, bagStatus, timeToDispatch, paymentMethods, tags, searchValue, fromDate, toDate, dpIds, stores, salesChannel, pageNo, pageSize, isPrioritySort, customMeta, }?: {
329
+ lane?: string;
330
+ searchType?: string;
331
+ bagStatus?: string;
332
+ timeToDispatch?: string;
333
+ paymentMethods?: string;
334
+ tags?: string;
335
+ searchValue?: string;
336
+ fromDate?: string;
337
+ toDate?: string;
338
+ dpIds?: string;
339
+ stores?: string;
340
+ salesChannel?: string;
391
341
  pageNo?: number;
392
342
  pageSize?: number;
393
- }): Promise<GetBagsPlatformResponse>;
343
+ isPrioritySort?: boolean;
344
+ customMeta?: string;
345
+ }): Promise<OrderListingResponse>;
394
346
  /**
395
347
  * @param {Object} arg - Arg object.
396
- * @param {InvalidateShipmentCachePayload} arg.body
397
- * @returns {Promise<InvalidateShipmentCacheResponse>} - Success response
348
+ * @param {number} [arg.pageNo] -
349
+ * @param {number} [arg.pageSize] -
350
+ * @returns {Promise<OmsReports>} - Success response
398
351
  * @summary:
399
- * @description: Invalidate shipment Cache
352
+ * @description:
400
353
  */
401
- invalidateShipmentCache({ body }?: {
402
- body: InvalidateShipmentCachePayload;
403
- }): Promise<InvalidateShipmentCacheResponse>;
354
+ getReportsShipmentListing({ pageNo, pageSize }?: {
355
+ pageNo?: number;
356
+ pageSize?: number;
357
+ }): Promise<OmsReports>;
404
358
  /**
405
359
  * @param {Object} arg - Arg object.
406
- * @param {StoreReassign} arg.body
407
- * @returns {Promise<StoreReassignResponse>} - Success response
360
+ * @returns {Promise<GetActionsResponse>} - Success response
408
361
  * @summary:
409
- * @description: Reassign Location
362
+ * @description:
410
363
  */
411
- reassignLocation({ body }?: {
412
- body: StoreReassign;
413
- }): Promise<StoreReassignResponse>;
364
+ getRoleBasedActions({}?: any): Promise<GetActionsResponse>;
414
365
  /**
415
366
  * @param {Object} arg - Arg object.
416
- * @param {UpdateShipmentLockPayload} arg.body
417
- * @returns {Promise<UpdateShipmentLockResponse>} - Success response
367
+ * @param {string} [arg.channelShipmentId] -
368
+ * @param {string} [arg.shipmentId] -
369
+ * @param {string} [arg.orderingCompanyId] -
370
+ * @param {string} [arg.requestByExt] -
371
+ * @returns {Promise<ShipmentInfoResponse>} - Success response
418
372
  * @summary:
419
- * @description: update shipment lock
373
+ * @description:
420
374
  */
421
- updateShipmentLock({ body }?: {
422
- body: UpdateShipmentLockPayload;
423
- }): Promise<UpdateShipmentLockResponse>;
375
+ getShipmentById({ channelShipmentId, shipmentId, orderingCompanyId, requestByExt, }?: {
376
+ channelShipmentId?: string;
377
+ shipmentId?: string;
378
+ orderingCompanyId?: string;
379
+ requestByExt?: string;
380
+ }): Promise<ShipmentInfoResponse>;
424
381
  /**
425
382
  * @param {Object} arg - Arg object.
426
- * @param {string} [arg.date] -
427
- * @returns {Promise<AnnouncementsResponse>} - Success response
383
+ * @param {number} [arg.shipmentId] -
384
+ * @param {number} [arg.bagId] -
385
+ * @returns {Promise<ShipmentHistoryResponse>} - Success response
428
386
  * @summary:
429
387
  * @description:
430
388
  */
431
- getAnnouncements({ date }?: {
432
- date?: string;
433
- }): Promise<AnnouncementsResponse>;
389
+ getShipmentHistory({ shipmentId, bagId }?: {
390
+ shipmentId?: number;
391
+ bagId?: number;
392
+ }): Promise<ShipmentHistoryResponse>;
434
393
  /**
435
394
  * @param {Object} arg - Arg object.
436
- * @param {string} arg.shipmentId -
437
- * @param {string} [arg.name] -
438
- * @param {string} [arg.address] -
439
- * @param {string} [arg.addressType] -
440
- * @param {string} [arg.pincode] -
441
- * @param {string} [arg.phone] -
442
- * @param {string} [arg.email] -
443
- * @param {string} [arg.landmark] -
444
- * @param {string} arg.addressCategory -
445
- * @param {string} [arg.city] -
446
- * @param {string} [arg.state] -
447
- * @param {string} [arg.country] -
448
- * @returns {Promise<BaseResponse>} - Success response
449
- * @summary:
450
- * @description:
395
+ * @param {string} arg.shipmentId - ID of the shipment. An order may contain
396
+ * multiple items and may get divided into one or more shipment, each
397
+ * having its own ID.
398
+ * @param {string} arg.bagId - ID of the bag. An order may contain multiple
399
+ * items and may get divided into one or more shipment, each having its own ID.
400
+ * @param {string} arg.state - State for which reasons are required.
401
+ * @returns {Promise<PlatformShipmentReasonsResponse>} - Success response
402
+ * @summary: Get reasons behind full or partial cancellation of a shipment
403
+ * @description: Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
451
404
  */
452
- updateAddress({ shipmentId, addressCategory, name, address, addressType, pincode, phone, email, landmark, city, state, country, }?: {
405
+ getShipmentReasons({ shipmentId, bagId, state }?: {
453
406
  shipmentId: string;
454
- name?: string;
455
- address?: string;
456
- addressType?: string;
457
- pincode?: string;
458
- phone?: string;
459
- email?: string;
460
- landmark?: string;
461
- addressCategory: string;
462
- city?: string;
463
- state?: string;
464
- country?: string;
465
- }): Promise<BaseResponse>;
407
+ bagId: string;
408
+ state: string;
409
+ }): Promise<PlatformShipmentReasonsResponse>;
466
410
  /**
467
411
  * @param {Object} arg - Arg object.
468
- * @param {string} arg.caller -
469
- * @param {string} arg.receiver -
470
- * @param {string} arg.bagId -
471
- * @param {string} [arg.callingTo] -
472
- * @param {string} [arg.callerId] -
473
- * @returns {Promise<Click2CallResponse>} - Success response
412
+ * @param {string} [arg.lane] -
413
+ * @param {string} [arg.bagStatus] -
414
+ * @param {boolean} [arg.statusOverrideLane] -
415
+ * @param {string} [arg.searchType] -
416
+ * @param {string} [arg.searchValue] -
417
+ * @param {string} [arg.searchId] -
418
+ * @param {string} [arg.fromDate] -
419
+ * @param {string} [arg.toDate] -
420
+ * @param {string} [arg.dpIds] -
421
+ * @param {string} [arg.orderingCompanyId] -
422
+ * @param {string} [arg.stores] -
423
+ * @param {string} [arg.salesChannel] -
424
+ * @param {string} [arg.requestByExt] -
425
+ * @param {number} [arg.pageNo] -
426
+ * @param {number} [arg.pageSize] -
427
+ * @param {boolean} [arg.isPrioritySort] -
428
+ * @param {boolean} [arg.fetchActiveShipment] -
429
+ * @param {boolean} [arg.excludeLockedShipments] -
430
+ * @param {string} [arg.paymentMethods] -
431
+ * @param {string} [arg.channelShipmentId] -
432
+ * @param {string} [arg.channelOrderId] -
433
+ * @param {string} [arg.customMeta] -
434
+ * @param {string} [arg.orderingChannel] -
435
+ * @param {string} [arg.companyAffiliateTag] -
436
+ * @returns {Promise<ShipmentInternalPlatformViewResponse>} - Success response
474
437
  * @summary:
475
438
  * @description:
476
439
  */
477
- click2Call({ caller, receiver, bagId, callingTo, callerId }?: {
478
- caller: string;
479
- receiver: string;
480
- bagId: string;
481
- callingTo?: string;
482
- callerId?: string;
483
- }): Promise<Click2CallResponse>;
440
+ getShipments({ lane, bagStatus, statusOverrideLane, searchType, searchValue, searchId, fromDate, toDate, dpIds, orderingCompanyId, stores, salesChannel, requestByExt, pageNo, pageSize, isPrioritySort, fetchActiveShipment, excludeLockedShipments, paymentMethods, channelShipmentId, channelOrderId, customMeta, orderingChannel, companyAffiliateTag, }?: {
441
+ lane?: string;
442
+ bagStatus?: string;
443
+ statusOverrideLane?: boolean;
444
+ searchType?: string;
445
+ searchValue?: string;
446
+ searchId?: string;
447
+ fromDate?: string;
448
+ toDate?: string;
449
+ dpIds?: string;
450
+ orderingCompanyId?: string;
451
+ stores?: string;
452
+ salesChannel?: string;
453
+ requestByExt?: string;
454
+ pageNo?: number;
455
+ pageSize?: number;
456
+ isPrioritySort?: boolean;
457
+ fetchActiveShipment?: boolean;
458
+ excludeLockedShipments?: boolean;
459
+ paymentMethods?: string;
460
+ channelShipmentId?: string;
461
+ channelOrderId?: string;
462
+ customMeta?: string;
463
+ orderingChannel?: string;
464
+ companyAffiliateTag?: string;
465
+ }): Promise<ShipmentInternalPlatformViewResponse>;
484
466
  /**
485
467
  * @param {Object} arg - Arg object.
486
- * @param {UpdateShipmentStatusRequest} arg.body
487
- * @returns {Promise<UpdateShipmentStatusResponseBody>} - Success response
468
+ * @param {string} arg.view -
469
+ * @param {string} [arg.groupEntity] -
470
+ * @returns {Promise<FiltersResponse>} - Success response
488
471
  * @summary:
489
- * @description: Update shipment status
472
+ * @description:
490
473
  */
491
- updateShipmentStatus({ body }?: {
492
- body: UpdateShipmentStatusRequest;
493
- }): Promise<UpdateShipmentStatusResponseBody>;
474
+ getfilters({ view, groupEntity }?: {
475
+ view: string;
476
+ groupEntity?: string;
477
+ }): Promise<FiltersResponse>;
494
478
  /**
495
479
  * @param {Object} arg - Arg object.
496
- * @param {CreateOrderPayload} arg.body
497
- * @returns {Promise<CreateOrderResponse>} - Success response
480
+ * @param {InvalidateShipmentCachePayload} arg.body
481
+ * @returns {Promise<InvalidateShipmentCacheResponse>} - Success response
498
482
  * @summary:
499
- * @description:
483
+ * @description: Invalidate shipment Cache
500
484
  */
501
- processManifest({ body }?: {
502
- body: CreateOrderPayload;
503
- }): Promise<CreateOrderResponse>;
485
+ invalidateShipmentCache({ body }?: {
486
+ body: InvalidateShipmentCachePayload;
487
+ }): Promise<InvalidateShipmentCacheResponse>;
504
488
  /**
505
489
  * @param {Object} arg - Arg object.
506
- * @param {DispatchManifest} arg.body
507
- * @returns {Promise<SuccessResponse>} - Success response
490
+ * @param {PlatformOrderUpdate} arg.body
491
+ * @returns {Promise<ResponseDetail>} - Success response
508
492
  * @summary:
509
493
  * @description:
510
494
  */
511
- dispatchManifest({ body }?: {
512
- body: DispatchManifest;
513
- }): Promise<SuccessResponse>;
495
+ orderUpdate({ body }?: {
496
+ body: PlatformOrderUpdate;
497
+ }): Promise<ResponseDetail>;
514
498
  /**
515
499
  * @param {Object} arg - Arg object.
516
- * @returns {Promise<GetActionsResponse>} - Success response
500
+ * @param {ManualAssignDPToShipment} arg.body
501
+ * @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
517
502
  * @summary:
518
503
  * @description:
519
504
  */
520
- getRoleBasedActions({}?: any): Promise<GetActionsResponse>;
505
+ platformManualAssignDPToShipment({ body }?: {
506
+ body: ManualAssignDPToShipment;
507
+ }): Promise<ManualAssignDPToShipmentResponse>;
521
508
  /**
522
509
  * @param {Object} arg - Arg object.
523
- * @param {number} [arg.shipmentId] -
524
- * @param {number} [arg.bagId] -
510
+ * @param {PostShipmentHistory} arg.body
525
511
  * @returns {Promise<ShipmentHistoryResponse>} - Success response
526
512
  * @summary:
527
513
  * @description:
528
514
  */
529
- getShipmentHistory({ shipmentId, bagId }?: {
530
- shipmentId?: number;
531
- bagId?: number;
515
+ postShipmentHistory({ body }?: {
516
+ body: PostShipmentHistory;
532
517
  }): Promise<ShipmentHistoryResponse>;
533
518
  /**
534
519
  * @param {Object} arg - Arg object.
535
- * @param {PostShipmentHistory} arg.body
536
- * @returns {Promise<ShipmentHistoryResponse>} - Success response
520
+ * @param {CreateOrderPayload} arg.body
521
+ * @returns {Promise<CreateOrderResponse>} - Success response
537
522
  * @summary:
538
523
  * @description:
539
524
  */
540
- postShipmentHistory({ body }?: {
541
- body: PostShipmentHistory;
542
- }): Promise<ShipmentHistoryResponse>;
525
+ processManifest({ body }?: {
526
+ body: CreateOrderPayload;
527
+ }): Promise<CreateOrderResponse>;
528
+ /**
529
+ * @param {Object} arg - Arg object.
530
+ * @param {StoreReassign} arg.body
531
+ * @returns {Promise<StoreReassignResponse>} - Success response
532
+ * @summary:
533
+ * @description: Reassign Location
534
+ */
535
+ reassignLocation({ body }?: {
536
+ body: StoreReassign;
537
+ }): Promise<StoreReassignResponse>;
543
538
  /**
544
539
  * @param {Object} arg - Arg object.
545
540
  * @param {SendSmsPayload} arg.body
@@ -552,51 +547,73 @@ declare class Order {
552
547
  }): Promise<OrderStatusResult>;
553
548
  /**
554
549
  * @param {Object} arg - Arg object.
555
- * @param {ManualAssignDPToShipment} arg.body
556
- * @returns {Promise<ManualAssignDPToShipmentResponse>} - Success response
550
+ * @returns {Promise<OrderStatusResult>} - Success response
557
551
  * @summary:
558
552
  * @description:
559
553
  */
560
- platformManualAssignDPToShipment({ body }?: {
561
- body: ManualAssignDPToShipment;
562
- }): Promise<ManualAssignDPToShipmentResponse>;
554
+ sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
563
555
  /**
564
556
  * @param {Object} arg - Arg object.
565
- * @param {CreateOrderPayload} arg.body
566
- * @returns {Promise<CreateOrderResponse>} - Success response
557
+ * @param {string} arg.shipmentId -
558
+ * @param {string} [arg.name] -
559
+ * @param {string} [arg.address] -
560
+ * @param {string} [arg.addressType] -
561
+ * @param {string} [arg.pincode] -
562
+ * @param {string} [arg.phone] -
563
+ * @param {string} [arg.email] -
564
+ * @param {string} [arg.landmark] -
565
+ * @param {string} arg.addressCategory -
566
+ * @param {string} [arg.city] -
567
+ * @param {string} [arg.state] -
568
+ * @param {string} [arg.country] -
569
+ * @returns {Promise<BaseResponse>} - Success response
567
570
  * @summary:
568
571
  * @description:
569
572
  */
570
- updatePackagingDimensions({ body }?: {
571
- body: CreateOrderPayload;
572
- }): Promise<CreateOrderResponse>;
573
+ updateAddress({ shipmentId, addressCategory, name, address, addressType, pincode, phone, email, landmark, city, state, country, }?: {
574
+ shipmentId: string;
575
+ name?: string;
576
+ address?: string;
577
+ addressType?: string;
578
+ pincode?: string;
579
+ phone?: string;
580
+ email?: string;
581
+ landmark?: string;
582
+ addressCategory: string;
583
+ city?: string;
584
+ state?: string;
585
+ country?: string;
586
+ }): Promise<BaseResponse>;
573
587
  /**
574
588
  * @param {Object} arg - Arg object.
575
- * @param {CreateOrderAPI} arg.body
589
+ * @param {CreateOrderPayload} arg.body
576
590
  * @returns {Promise<CreateOrderResponse>} - Success response
577
591
  * @summary:
578
592
  * @description:
579
593
  */
580
- createOrder({ body }?: {
581
- body: CreateOrderAPI;
594
+ updatePackagingDimensions({ body }?: {
595
+ body: CreateOrderPayload;
582
596
  }): Promise<CreateOrderResponse>;
583
597
  /**
584
598
  * @param {Object} arg - Arg object.
585
- * @returns {Promise<CreateChannelConfigData>} - Success response
599
+ * @param {UpdateShipmentLockPayload} arg.body
600
+ * @returns {Promise<UpdateShipmentLockResponse>} - Success response
586
601
  * @summary:
587
- * @description: getChannelConfig
602
+ * @description: update shipment lock
588
603
  */
589
- getChannelConfig({}?: any): Promise<CreateChannelConfigData>;
604
+ updateShipmentLock({ body }?: {
605
+ body: UpdateShipmentLockPayload;
606
+ }): Promise<UpdateShipmentLockResponse>;
590
607
  /**
591
608
  * @param {Object} arg - Arg object.
592
- * @param {CreateChannelConfigData} arg.body
593
- * @returns {Promise<CreateChannelConfigResponse>} - Success response
609
+ * @param {UpdateShipmentStatusRequest} arg.body
610
+ * @returns {Promise<UpdateShipmentStatusResponseBody>} - Success response
594
611
  * @summary:
595
- * @description: createChannelConfig
612
+ * @description: Update shipment status
596
613
  */
597
- createChannelConfig({ body }?: {
598
- body: CreateChannelConfigData;
599
- }): Promise<CreateChannelConfigResponse>;
614
+ updateShipmentStatus({ body }?: {
615
+ body: UpdateShipmentStatusRequest;
616
+ }): Promise<UpdateShipmentStatusResponseBody>;
600
617
  /**
601
618
  * @param {Object} arg - Arg object.
602
619
  * @param {UploadConsent} arg.body
@@ -609,29 +626,12 @@ declare class Order {
609
626
  }): Promise<SuccessResponse>;
610
627
  /**
611
628
  * @param {Object} arg - Arg object.
612
- * @param {PlatformOrderUpdate} arg.body
613
- * @returns {Promise<ResponseDetail>} - Success response
614
- * @summary:
615
- * @description:
616
- */
617
- orderUpdate({ body }?: {
618
- body: PlatformOrderUpdate;
619
- }): Promise<ResponseDetail>;
620
- /**
621
- * @param {Object} arg - Arg object.
622
- * @param {OrderStatus} arg.body
623
- * @returns {Promise<OrderStatusResult>} - Success response
624
- * @summary:
625
- * @description:
626
- */
627
- checkOrderStatus({ body }?: {
628
- body: OrderStatus;
629
- }): Promise<OrderStatusResult>;
630
- /**
631
- * @param {Object} arg - Arg object.
632
- * @returns {Promise<OrderStatusResult>} - Success response
629
+ * @param {JioCodeUpsertPayload} arg.body
630
+ * @returns {Promise<JioCodeUpsertResponse>} - Success response
633
631
  * @summary:
634
632
  * @description:
635
633
  */
636
- sendSmsNinjaPlatform({}?: any): Promise<OrderStatusResult>;
634
+ upsertJioCode({ body }?: {
635
+ body: JioCodeUpsertPayload;
636
+ }): Promise<JioCodeUpsertResponse>;
637
637
  }