@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
  6. package/sdk/application/Cart/CartApplicationClient.js +173 -511
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -19
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
  16. package/sdk/application/Content/ContentApplicationClient.js +183 -366
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
  22. package/sdk/application/Lead/LeadApplicationClient.js +24 -55
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
  26. package/sdk/application/Order/OrderApplicationClient.js +89 -293
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
  28. package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
  29. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
  31. package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
  32. package/sdk/application/Share/ShareApplicationClient.js +35 -89
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
  34. package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
  35. package/sdk/application/User/UserApplicationClient.d.ts +23 -13
  36. package/sdk/application/User/UserApplicationClient.js +49 -407
  37. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  38. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
  39. package/sdk/common/Utility.d.ts +1 -1
  40. package/sdk/common/Utility.js +10 -7
  41. package/sdk/common/Validator.d.ts +1 -0
  42. package/sdk/common/Validator.js +20 -0
  43. package/sdk/common/utils.d.ts +0 -1
  44. package/sdk/common/utils.js +0 -14
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  52. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
  54. package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
  55. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
  57. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
  59. package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
  62. package/sdk/partner/PartnerClient.d.ts +0 -6
  63. package/sdk/partner/PartnerClient.js +0 -9
  64. package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
  65. package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
  66. package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
  67. package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
  68. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
  69. package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  72. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
  73. package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
  74. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  75. package/sdk/partner/index.d.ts +0 -3
  76. package/sdk/partner/index.js +0 -6
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  90. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
  98. package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
  110. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
  112. package/sdk/platform/Common/CommonPlatformModel.js +11 -14
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
  117. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
  118. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
  119. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
  121. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
  122. package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
  132. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
  134. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
  137. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
  138. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
  139. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
  141. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
  142. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
  143. package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
  144. package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
  145. package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
  146. package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
  147. package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
  148. package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
  149. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
  150. package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
  151. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
  152. package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
  153. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  154. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  155. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
  156. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
  157. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
  158. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
  159. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  160. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  161. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
  162. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
  163. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  164. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  165. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  166. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  167. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  168. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  169. package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
  170. package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
  171. package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
  172. package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
  173. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
  174. package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
  175. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
  176. package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
  177. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
  178. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
  179. package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
  180. package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
  182. package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
  185. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  186. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  187. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
  188. package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
  189. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
  190. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
  193. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
  194. package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
  195. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
  197. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
  198. package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
  199. package/sdk/platform/PlatformClient.d.ts +0 -2
  200. package/sdk/platform/PlatformClient.js +0 -4
  201. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  202. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  203. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  204. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  205. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
  206. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
  217. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
  218. package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
  219. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
  220. package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
  221. package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -5
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
  227. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
  228. package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
  229. package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
  230. package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
  231. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
  232. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
  233. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
  234. package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
  235. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
  236. package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
  237. package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
  238. package/sdk/platform/User/UserPlatformModel.js +253 -210
  239. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  240. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  241. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
  242. package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
  243. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  244. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  245. package/sdk/platform/index.d.ts +0 -1
  246. package/sdk/platform/index.js +0 -2
  247. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  248. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  249. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  250. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  251. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  252. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  253. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
  254. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
  255. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
  256. package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
  257. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
  258. package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
  259. package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
  260. package/sdk/public/Content/ContentPublicClient.js +254 -280
  261. package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
  262. package/sdk/public/Content/ContentPublicModel.js +98 -44
  263. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
  264. package/sdk/public/Content/ContentPublicValidator.js +26 -19
  265. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  266. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  267. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  268. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  269. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  270. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  271. package/sdk/public/PublicClient.d.ts +2 -0
  272. package/sdk/public/PublicClient.js +4 -0
  273. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  274. package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
  275. package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
  276. package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
  277. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  278. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  279. package/sdk/public/index.d.ts +1 -0
  280. package/sdk/public/index.js +2 -0
  281. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
  282. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
  283. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
  284. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
  285. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
  286. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
  287. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
  288. package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
  289. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
  290. package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
  291. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
  292. package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
  293. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
  294. package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
  295. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
  296. package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
  297. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
  298. package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
  299. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  300. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  301. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
  302. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
  303. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  304. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -3,8 +3,8 @@ const Joi = require("joi");
3
3
  const OrderPlatformModel = require("./OrderPlatformModel");
4
4
 
5
5
  /**
6
- * @typedef AddUserViewsParam
7
- * @property {OrderPlatformModel.UserViewsResponse} body
6
+ * @typedef AddStateManagerConfigParam
7
+ * @property {OrderPlatformModel.TransitionConfigPayload} body
8
8
  */
9
9
 
10
10
  /**
@@ -14,18 +14,20 @@ const OrderPlatformModel = require("./OrderPlatformModel");
14
14
 
15
15
  /**
16
16
  * @typedef BulkListingParam
17
- * @property {number} pageSize - Page size
18
- * @property {number} pageNo - Page number
19
- * @property {string} [startDate] - UTC start date in ISO format
20
- * @property {string} [endDate] - UTC end date in ISO format
21
- * @property {string} [status] - Status for which to fetch the jobs.
22
- * @property {string} [bulkActionType] - Job type.
23
- * @property {string} [searchKey] - Search_key.
17
+ * @property {number} pageSize - The number of records to return per page in the response.
18
+ * @property {number} pageNo - The page number to fetch from the paginated results.
19
+ * @property {string} startDate - The start date for filtering the jobs,
20
+ * expressed in UTC format
21
+ * @property {string} endDate - The end date for filtering the jobs, expressed
22
+ * in UTC format
23
+ * @property {string} [status] - The status of the jobs to filter the results.
24
+ * @property {string} [bulkActionType] - Pecifies the type of job action being requested.
25
+ * @property {string} [searchKey] - A key or keyword used to search for specific jobs.
24
26
  */
25
27
 
26
28
  /**
27
29
  * @typedef BulkStateTransistionParam
28
- * @property {OrderPlatformModel.BulkStateTransistionRequest} body
30
+ * @property {OrderPlatformModel.BulkStateTransistionRequestSchema} body
29
31
  */
30
32
 
31
33
  /**
@@ -34,22 +36,20 @@ const OrderPlatformModel = require("./OrderPlatformModel");
34
36
  */
35
37
 
36
38
  /**
37
- * @typedef Click2CallParam
38
- * @property {string} caller - Call Number
39
- * @property {string} receiver - Receiver Number
40
- * @property {string} bagId - Bag Id for the query
41
- * @property {string} [callerId] - Caller Id
42
- * @property {string} [method] - Provider Method to Call
39
+ * @typedef CreateChannelConfigParam
40
+ * @property {OrderPlatformModel.CreateChannelConfigData} body
43
41
  */
44
42
 
45
43
  /**
46
44
  * @typedef CreateOrderParam
45
+ * @property {string} [xOrderingSource] - To uniquely identify the source
46
+ * through which order has been placed.
47
47
  * @property {OrderPlatformModel.CreateOrderAPI} body
48
48
  */
49
49
 
50
50
  /**
51
- * @typedef DeleteUserViewsParam
52
- * @property {string} viewId - Comma separated values of view ids
51
+ * @typedef DispatchManifestsParam
52
+ * @property {OrderPlatformModel.DispatchManifest} body
53
53
  */
54
54
 
55
55
  /**
@@ -59,7 +59,7 @@ const OrderPlatformModel = require("./OrderPlatformModel");
59
59
 
60
60
  /**
61
61
  * @typedef DownloadLanesReportParam
62
- * @property {OrderPlatformModel.BulkReportsDownloadRequest} body
62
+ * @property {OrderPlatformModel.BulkReportsDownloadRequestSchema} body
63
63
  */
64
64
 
65
65
  /**
@@ -73,8 +73,12 @@ const OrderPlatformModel = require("./OrderPlatformModel");
73
73
  */
74
74
 
75
75
  /**
76
- * @typedef FetchCreditBalanceDetailParam
77
- * @property {OrderPlatformModel.FetchCreditBalanceRequestPayload} body
76
+ * @typedef FailedOrderLogsParam
77
+ * @property {string} [applicationId] - Application ID
78
+ * @property {number} [pageNo] - Page Number
79
+ * @property {number} [pageSize] - Page Size
80
+ * @property {string} [searchType] - Search type for filter
81
+ * @property {string} [searchValue] - Search value for filter
78
82
  */
79
83
 
80
84
  /**
@@ -82,6 +86,12 @@ const OrderPlatformModel = require("./OrderPlatformModel");
82
86
  * @property {OrderPlatformModel.RefundModeConfigRequestPayload} body
83
87
  */
84
88
 
89
+ /**
90
+ * @typedef GenerateInvoiceIDParam
91
+ * @property {string} invoiceType - Mention the type of invoice id to generate
92
+ * @property {OrderPlatformModel.GenerateInvoiceIDRequestSchema} body
93
+ */
94
+
85
95
  /**
86
96
  * @typedef GeneratePOSReceiptByOrderIdParam
87
97
  * @property {string} orderId
@@ -89,23 +99,32 @@ const OrderPlatformModel = require("./OrderPlatformModel");
89
99
  * @property {string} [documentType]
90
100
  */
91
101
 
102
+ /**
103
+ * @typedef GenerateProcessManifestParam
104
+ * @property {OrderPlatformModel.ProcessManifestRequestSchema} body
105
+ */
106
+
92
107
  /**
93
108
  * @typedef GetAllowedStateTransitionParam
94
- * @property {string} orderingChannel - Ordering channel
95
- * @property {string} status - Current status of a shipment
109
+ * @property {string} [orderingChannel] - The specific channel through which
110
+ * your order was placed. This field will be phased out after version 2.4.0.
111
+ * Please use ordering_source instead to ensure accurate order tracking and processing.
112
+ * @property {string} [orderingSource] - To uniquely identify the source through
113
+ * which order has been placed.
114
+ * @property {string} status - The status key indicates the current status for
115
+ * which the API will provide a list of possible next state transitions.
96
116
  */
97
117
 
98
118
  /** @typedef GetAllowedTemplatesForBulkParam */
99
119
 
100
120
  /**
101
121
  * @typedef GetAnnouncementsParam
102
- * @property {string} [date] - Date On which the announcement is Active (Date
103
- * should in ISO Datetime format IST Time)
122
+ * @property {string} [date] - Date On which the announcement is Active.
104
123
  */
105
124
 
106
125
  /**
107
126
  * @typedef GetBagByIdParam
108
- * @property {string} [bagId] - Id of bag
127
+ * @property {string} [bagId] - Unique identifier of a bag
109
128
  * @property {string} [channelBagId] - Id of application bag
110
129
  * @property {string} [channelId] - Id of application
111
130
  */
@@ -129,8 +148,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
129
148
  * @typedef GetBulkShipmentExcelFileParam
130
149
  * @property {string} [salesChannels] - Comma separated values of sales channel ids
131
150
  * @property {string} [dpIds] - Comma separated values of delivery partner ids
132
- * @property {string} [startDate] - UTC start date in ISO format
133
- * @property {string} [endDate] - UTC end date in ISO format
151
+ * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
152
+ * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
134
153
  * @property {string} [stores] - Comma separated values of store ids
135
154
  * @property {string} [tags] - Comma separated values of tags
136
155
  * @property {string} [bagStatus] - Comma separated values of bag statuses
@@ -141,25 +160,14 @@ const OrderPlatformModel = require("./OrderPlatformModel");
141
160
  * @property {number} [pageSize]
142
161
  */
143
162
 
144
- /**
145
- * @typedef GetFailedOrderLogsParam
146
- * @property {number} [pageNo] - Page Number
147
- * @property {number} [pageSize] - Page Size
148
- * @property {string} [searchType] - Search type for filter
149
- * @property {string} [searchValue] - Search value for filter
150
- */
163
+ /** @typedef GetChannelConfigParam */
151
164
 
152
165
  /**
153
166
  * @typedef GetFileByStatusParam
154
- * @property {string} batchId
155
- * @property {string} status
167
+ * @property {string} batchId - Batch Id to identify the bulk operation request.
168
+ * @property {string} status - The status of the jobs to filter the results.
156
169
  * @property {string} fileType
157
- * @property {string} [reportType]
158
- */
159
-
160
- /**
161
- * @typedef GetGlobalFiltersParam
162
- * @property {string} showIn - Name of view to get filters for
170
+ * @property {string} [reportType] - The type of report to be downloaded.
163
171
  */
164
172
 
165
173
  /**
@@ -167,7 +175,7 @@ const OrderPlatformModel = require("./OrderPlatformModel");
167
175
  * @property {string} [superLane] - Name of lane for which data is to be fetched
168
176
  * @property {string} [groupEntity] - Name of group entity
169
177
  * @property {string} [fromDate] - Start Date in DD-MM-YYYY format
170
- * @property {string} [toDate]
178
+ * @property {string} [toDate] - End Date in DD-MM-YYYY format
171
179
  * @property {string} [startDate] - UTC Start Date in ISO format
172
180
  * @property {string} [endDate] - UTC End Date in ISO format
173
181
  * @property {string} [dpIds] - Comma separated values of delivery partner ids
@@ -175,15 +183,54 @@ const OrderPlatformModel = require("./OrderPlatformModel");
175
183
  * @property {string} [salesChannels]
176
184
  * @property {string} [paymentMode] - Comma separated values of payment modes
177
185
  * @property {string} [bagStatus] - Comma separated values of bag statuses
178
- * @property {string} [searchType]
186
+ * @property {string} [searchType] - Search_type refers to the field that will
187
+ * be used as the target for the search operation
179
188
  * @property {string} [searchValue]
180
189
  * @property {string} [tags]
181
- * @property {number} [timeToDispatch]
190
+ * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
182
191
  * @property {string} [paymentMethods]
183
192
  * @property {boolean} [myOrders]
184
193
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
185
194
  * company order
186
- * @property {string} [orderType]
195
+ * @property {string} [orderType] - Defines the specific journey a shipment will
196
+ * follow based on the application's operational needs and customer
197
+ * preferences. This field categorizes orders into distinct types, each
198
+ * associated with a unique processing flow. For example:
199
+ *
200
+ * - "HomeDelivery": The order goes through all the steps needed for delivery,
201
+ * from being packed to arriving at the customer’s address.
202
+ * - "PickAtStore": The order is prepared for pickup at the store, skipping
203
+ * shipping steps to make it ready faster for the customer to collect in person.
204
+ * - "Digital": This order type likely refers to orders that involve digital goods
205
+ * or services, such as software, digital subscriptions, e-books, online
206
+ * courses, or any other item that can be delivered electronically.
207
+ */
208
+
209
+ /**
210
+ * @typedef GetManifestDetailsParam
211
+ * @property {string} manifestId - The unique identifier assigned to the manifest.
212
+ * @property {string} [dpIds] - Filter shipments with the specific Courier
213
+ * partner Ids which is a combination of courier partner extension and scheme Ids.
214
+ * @property {string} [endDate] - End date for the shipment search range in manifest.
215
+ * @property {string} [startDate] - Start date for the shipment search range in manifest.
216
+ * @property {number} [pageNo] - Page number for pagination.
217
+ * @property {number} [pageSize] - Number of records per page for pagination.
218
+ */
219
+
220
+ /**
221
+ * @typedef GetManifestShipmentsParam
222
+ * @property {string} dpIds - Filter shipments with the specific Courier partner
223
+ * Ids which is a combination of courier partner extension and scheme Ids.
224
+ * @property {number} stores - Filter results based on specific store IDs.
225
+ * @property {string} toDate - End date for the shipment search range.
226
+ * @property {string} fromDate - Start date for the shipment search range.
227
+ * @property {string} [dpName] - Filter results based on specific courier partner name.
228
+ * @property {string} [salesChannels] - Filter results based on comma-separated
229
+ * list of sales channels.
230
+ * @property {string} [searchType] - Filter results based on search type.
231
+ * @property {string} [searchValue] - Filter results based on the search value.
232
+ * @property {number} [pageNo] - Page number for pagination.
233
+ * @property {number} [pageSize] - Number of records per page for pagination.
187
234
  */
188
235
 
189
236
  /**
@@ -191,9 +238,27 @@ const OrderPlatformModel = require("./OrderPlatformModel");
191
238
  * @property {string} view - Name of View
192
239
  */
193
240
 
241
+ /**
242
+ * @typedef GetManifestsParam
243
+ * @property {string} [status] - Filter for the status of manifests.
244
+ * @property {string} [startDate] - The starting date for filtering manifests in
245
+ * ISO format
246
+ * @property {string} [endDate] - The end date for filtering manifests in ISO format
247
+ * @property {string} [searchType] - Specifies the type of search to perform.
248
+ * @property {number} [storeId] - Filter to fetch manifests for a specific store
249
+ * by its ID.
250
+ * @property {string} [searchValue] - The value to search for based on the
251
+ * selected search type.
252
+ * @property {string} [dpIds] - A comma-separated list of courier partner IDs
253
+ * (DP IDs) to filter the manifests.
254
+ * @property {number} [pageNo] - The number of the page to fetch data.
255
+ * @property {number} [pageSize] - The number of records to return per page for
256
+ * pagination.
257
+ */
258
+
194
259
  /**
195
260
  * @typedef GetOrderByIdParam
196
- * @property {string} orderId - Flag for order id
261
+ * @property {string} orderId
197
262
  * @property {boolean} [myOrders]
198
263
  * @property {boolean} [allowInactive] - Flag to allow inactive shipments
199
264
  */
@@ -201,99 +266,70 @@ const OrderPlatformModel = require("./OrderPlatformModel");
201
266
  /**
202
267
  * @typedef GetOrdersParam
203
268
  * @property {string} [lane] - Lane refers to a section where orders are
204
- * assigned, indicating its grouping
269
+ * assigned, indicating its grouping.
205
270
  * @property {string} [searchType] - Search_type refers to the field that will
206
- * be used as the target for the search operation
207
- * @property {string} [bagStatus] - Bag_status refers to the status of the
208
- * entity. Filters orders based on the status.
209
- * @property {number} [timeToDispatch] - Time_to_dispatch refers to the
210
- * estimated SLA time.
211
- * @property {string} [paymentMethods]
212
- * @property {string} [tags] - Tags refer to additional descriptive labels
271
+ * be used as the target for the search operation.
272
+ * @property {string} [bagStatus] - Bag_status refers to status of the entity.
273
+ * Filters orders based on the status.
274
+ * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
275
+ * @property {string} [paymentMethods] - Comma separated values of payment
276
+ * methods that were used to place order.
277
+ * @property {string} [tags] - Tags refers to additional descriptive labels
213
278
  * associated with the order
214
279
  * @property {string} [searchValue] - Search_value is matched against the field
215
280
  * specified by the search_type
216
- * @property {string} [fromDate]
217
- * @property {string} [toDate]
218
- * @property {string} [startDate]
219
- * @property {string} [endDate]
281
+ * @property {string} [fromDate] - Date time in UTC timezone as per ISO format.
282
+ * @property {string} [toDate] - Date time in UTC timezone as per ISO format.
283
+ * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
284
+ * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
220
285
  * @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
221
- * @property {string} [stores]
222
- * @property {string} [salesChannels]
223
- * @property {number} [pageNo]
224
- * @property {number} [pageSize]
286
+ * @property {string} [stores] - A comma-separated list of store IDs used to
287
+ * filter results to only those related to specific stores.
288
+ * @property {string} [salesChannels] - A comma-separated list of sales channel
289
+ * IDs to filter results based on the sales channels involved.
290
+ * @property {number} [pageNo] - Specifies the page number for paginated results.
291
+ * @property {number} [pageSize] - Determines the number of results returned per page.
225
292
  * @property {boolean} [isPrioritySort]
226
- * @property {Object[]} [customMeta]
293
+ * @property {string} [customMeta]
227
294
  * @property {boolean} [myOrders]
228
295
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
229
296
  * company order
230
- * @property {string} [customerId]
297
+ * @property {string} [customerId] - The unique identifier for the customer
298
+ * associated with the query, useful for filtering results to a specific customer.
231
299
  * @property {string} [orderType]
232
- * @property {string} [operationalStatus] - Statuses relating to shipment
233
- * transition in order processing journey. Comma separated values of
234
- * operational statuses.
235
- * @property {string} [financialStatus] - Statuses relating to finance related
236
- * operations in the order processing journey. Comma separated values of
237
- * financial statuses.
238
- * @property {string} [logisticsStatus] - Statuses relating to delivery and
239
- * pickup related operations in the order processing journey. Comma separated
240
- * values of logistics statuses.
241
- * @property {string} [parentViewSlug] - Parent view is used for grouping of
242
- * child views. Slug of parent view.
243
- * @property {string} [childViewSlug] - Child view is user configured view,
244
- * which has filters added by the user on which shipments/orders are fetched.
245
- * Slug of child view.
300
+ * @property {boolean} [allowInactive] - Flag indicating whether inactive
301
+ * shipments are allowed
246
302
  * @property {string} [groupEntity] - Defines the grouping criterion for
247
303
  * retrieving shipments or orders. It specifies whether the results should be
248
304
  * organized based on shipment groups or order groups. For example, using
249
305
  * 'shipments' groups results by shipment, while an invalid value like 'abcd'
250
306
  * may not be recognized, leading to errors or default behavior.
251
- */
252
-
253
- /**
254
- * @typedef GetRefundConfigurationParam
255
- * @property {string} appId
256
- */
257
-
258
- /** @typedef GetRefundEnableStateListParam */
259
-
260
- /**
261
- * @typedef GetRefundOptionsParam
262
- * @property {string} shipmentId - ID of the shipment. An order may contain
263
- * multiple items and may get divided into one or more shipment, each having
264
- * its own ID.
265
- * @property {string} [bagIds] - It is the bag_id of the bags with comma separated.
266
- * @property {string} [state] - It is the desired state at which refund amount
267
- * needs to be calculated.
268
- * @property {string} [optinAppId] - It is affiliate id of the order in case of
269
- * cross selling.
270
- * @property {number} [optinCompanyId] - It is company id of the order in case
271
- * of cross selling.
272
- * @property {string} [status] - It specifies the desired status to which the
273
- * shipment should be updated. It represents the next step in the shipment's
274
- * lifecycle, such as being cancelled by the customer or moved to another
275
- * status in the shipping process.
276
- */
277
-
278
- /**
279
- * @typedef GetRefundStateConfigurationParam
280
- * @property {string} appId
307
+ * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
308
+ * orders. This is useful when fetching data for a specific date range while
309
+ * performing searches.
310
+ * @property {string} [fulfillmentType] - Define the Fulfillment Type for
311
+ * Listing Orders, This is use when we want to get list of shipments or orders
312
+ * by cross store or cross company or fulfilling Store (by default), this is
313
+ * also depends on the login user accessType and store access
281
314
  */
282
315
 
283
316
  /** @typedef GetRoleBasedActionsParam */
284
317
 
285
318
  /**
286
319
  * @typedef GetShipmentByIdParam
287
- * @property {string} [channelShipmentId] - App Shipment Id
288
- * @property {string} [shipmentId] - Shipment Id
320
+ * @property {string} [channelShipmentId] - The shipment ID used in the
321
+ * application, which can be used to reference specific shipments.
322
+ * @property {string} [shipmentId] - The unique identifier for a shipment.
289
323
  * @property {boolean} [fetchActiveShipment] - Flag to fetch active or
290
324
  * deactivated shipments
325
+ * @property {boolean} [allowInactive] - Flag indicating whether inactive
326
+ * shipments are allowed
291
327
  */
292
328
 
293
329
  /**
294
330
  * @typedef GetShipmentHistoryParam
295
- * @property {string} [shipmentId] - Shipment Id
296
- * @property {number} [bagId] - Bag/Product Id
331
+ * @property {string} [shipmentId] - Identifier for the shipment
332
+ * @property {number} [bagId] - Identifier for a bag or product.
297
333
  */
298
334
 
299
335
  /**
@@ -309,58 +345,89 @@ const OrderPlatformModel = require("./OrderPlatformModel");
309
345
  /**
310
346
  * @typedef GetShipmentsParam
311
347
  * @property {string} [lane] - Name of lane for which data is to be fetched
312
- * @property {string} [bagStatus] - Comma separated values of bag statuses
348
+ * @property {string} [bagStatus] - Comma separated values of bag statuses.
349
+ * @property {string} [statusAssigned] - Used to filter shipments based on
350
+ * status present in shipment_status_history. For more information on these
351
+ * statuses, refer to the Fynd Partners documentation.
313
352
  * @property {boolean} [statusOverrideLane] - Use this flag to fetch by
314
- * bag_status and override lane
315
- * @property {number} [timeToDispatch]
316
- * @property {string} [searchType] - Search type key
317
- * @property {string} [searchValue] - Search type value
353
+ * bag_status and override lane.
354
+ * @property {number} [timeToDispatch] - Indicates the time to dispatch.
355
+ * @property {string} [searchType] - Specifies the key used to determine the
356
+ * type of search being performed.
357
+ * @property {string} [searchValue] - The value corresponding to the search
358
+ * type, such as a specific shipment ID or order ID.
318
359
  * @property {string} [fromDate] - Start Date in DD-MM-YYYY format
319
360
  * @property {string} [toDate] - End Date in DD-MM-YYYY format
320
- * @property {string} [startDate] - UTC Start Date in ISO format
321
- * @property {string} [endDate] - UTC End Date in ISO format
322
- * @property {string} [dpIds] - Comma separated values of delivery partner ids
323
- * @property {string} [stores] - Comma separated values of store ids
324
- * @property {string} [salesChannels] - Comma separated values of sales channel ids
325
- * @property {number} [pageNo] - Page number for paginated data
326
- * @property {number} [pageSize] - Page size of data received per page
327
- * @property {boolean} [fetchActiveShipment] - Flag to fetch active shipments
328
- * @property {boolean} [allowInactive] - Flag to allow inactive shipments
329
- * @property {boolean} [excludeLockedShipments] - Flag to fetch locked shipments
330
- * @property {string} [paymentMethods] - Comma separated values of payment methods
331
- * @property {string} [channelShipmentId] - App Shipment Id
332
- * @property {string} [channelOrderId] - App Order Id
333
- * @property {string} [customMeta]
334
- * @property {string} [orderingChannel]
335
- * @property {string} [companyAffiliateTag]
336
- * @property {boolean} [myOrders]
337
- * @property {string} [platformUserId]
338
- * @property {string} [sortType] - Sort the result data on basis of input
339
- * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
340
- * company order
341
- * @property {string} [tags] - Comma separated values of tags
342
- * @property {string} [customerId]
343
- * @property {string} [orderType]
344
- * @property {string} [operationalStatus] - Statuses relating to shipment
345
- * transition in order processing journey. Comma separated values of
346
- * operational statuses.
347
- * @property {string} [financialStatus] - Statuses relating to finance related
348
- * operations in the order processing journey. Comma separated values of
349
- * financial statuses.
350
- * @property {string} [logisticsStatus] - Statuses relating to delivery and
351
- * pickup related operations in the order processing journey. Comma separated
352
- * values of logistics statuses.
353
- * @property {string} [parentViewSlug] - Parent view is used for grouping of
354
- * child views. Slug of parent view.
355
- * @property {string} [childViewSlug] - Child view is user configured view which
356
- * has filters added by the user on which shipments/orders are fetched. Slug
357
- * of child view.
358
- * @property {string} [lockStatus] - Flag to identify if a shipment is locked or not.
361
+ * @property {string} [startDate] - The UTC start date in ISO format
362
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
363
+ * @property {string} [endDate] - The UTC end date in ISO format
364
+ * (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
365
+ * @property {string} [statusAssignedStartDate] - Specifies the starting UTC
366
+ * date and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the lower
367
+ * boundary for filtering shipments based on the `created_at` timestamp of
368
+ * statuses in the shipment's status history. It allows filtering statuses
369
+ * that were created within a specific time range.
370
+ * @property {string} [statusAssignedEndDate] - Specifies the ending UTC date
371
+ * and time (in ISO format, YYYY-MM-DDTHH:MM:SSZ) to define the upper boundary
372
+ * for filtering shipments based on the `created_at` timestamp of statuses in
373
+ * the shipment's status history.
374
+ * @property {string} [dpIds] - A comma-separated list of delivery partner IDs
375
+ * to filter results by specific delivery partners.
376
+ * @property {string} [stores] - A comma-separated list of store IDs used to
377
+ * filter results to only those related to specific stores.
378
+ * @property {string} [salesChannels] - A comma-separated list of sales channel
379
+ * IDs to filter results based on the sales channels involved.
380
+ * @property {number} [pageNo] - Specifies the page number for paginated results.
381
+ * @property {number} [pageSize] - Determines the number of results returned per page.
382
+ * @property {boolean} [fetchActiveShipment] - A boolean flag that indicates
383
+ * whether to include only active shipments in the results.
384
+ * @property {boolean} [allowInactive] - A flag indicating whether to allow the
385
+ * inclusion of inactive shipments in the results.
386
+ * @property {boolean} [excludeLockedShipments] - A flag to specify whether to
387
+ * exclude shipments that are locked from the results.
388
+ * @property {string} [paymentMethods] - A comma-separated list of payment methods.
389
+ * @property {string} [channelShipmentId] - The shipment ID used in the
390
+ * application, which can be used to reference specific shipments.
391
+ * @property {string} [channelOrderId] - The order ID used in the application.
392
+ * @property {string} [customMeta] - Custom metadata associated with the query,
393
+ * allowing for additional filtering or information to be passed.
394
+ * @property {string} [orderingChannel] - The channel through which the order was placed.
395
+ * @property {string} [companyAffiliateTag] - A tag used to identify the
396
+ * company's affiliation for filtering or reporting purposes.
397
+ * @property {boolean} [myOrders] - A boolean flag indicating whether the query
398
+ * should return only the user's orders.
399
+ * @property {string} [platformUserId] - The unique identifier of the user on
400
+ * the platform, useful for filtering orders related to a specific user.
401
+ * @property {string} [sortType] - Determines the sorting order of the results
402
+ * based on specific criteria.
403
+ * @property {boolean} [showCrossCompanyData] - A flag indicating whether to
404
+ * include data from both cross-company and non-cross-company orders in the results.
405
+ * @property {string} [tags] - A comma-separated list of tags associated with
406
+ * the orders to filter results based on specific characteristics.
407
+ * @property {string} [customerId] - The unique identifier for the customer
408
+ * associated with the query, useful for filtering results to a specific customer.
409
+ * @property {string} [orderType] - The type of order being queried.
359
410
  * @property {string} [groupEntity] - Defines the grouping criterion for
360
411
  * retrieving shipments or orders. It specifies whether the results should be
361
412
  * organized based on shipment groups or order groups. For example, using
362
413
  * 'shipments' groups results by shipment, while an invalid value like 'abcd'
363
414
  * may not be recognized, leading to errors or default behavior.
415
+ * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
416
+ * shipments. This is useful when fetching data for a specific date range
417
+ * while performing searches.
418
+ * @property {string} [fulfillmentType] - Define the Fulfillment Type for
419
+ * Listing Orders, This is use when we want to get list of shipments or orders
420
+ * by cross store or cross company or fulfilling Store (by default), this is
421
+ * also depends on the login user accessType and store access
422
+ */
423
+
424
+ /**
425
+ * @typedef GetStateManagerConfigParam
426
+ * @property {string} [appId] - The unique identifier of the application.
427
+ * @property {string} [orderingChannel] - The channel through which orders are placed.
428
+ * @property {string} [orderingSource] - To uniquely identify the source through
429
+ * which order has been placed.
430
+ * @property {string} [entity] - The entity for which the configuration is applied.
364
431
  */
365
432
 
366
433
  /** @typedef GetStateTransitionMapParam */
@@ -370,11 +437,6 @@ const OrderPlatformModel = require("./OrderPlatformModel");
370
437
  * @property {string} templateName
371
438
  */
372
439
 
373
- /**
374
- * @typedef GetUserViewsParam
375
- * @property {string} showIn - Name of view to get filters for.
376
- */
377
-
378
440
  /**
379
441
  * @typedef GetfiltersParam
380
442
  * @property {string} view - Name of view
@@ -388,7 +450,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
388
450
 
389
451
  /**
390
452
  * @typedef JobDetailsParam
391
- * @property {string} batchId
453
+ * @property {string} batchId - A unique identifier for the batch associated
454
+ * with this bulk action.
392
455
  */
393
456
 
394
457
  /**
@@ -396,18 +459,6 @@ const OrderPlatformModel = require("./OrderPlatformModel");
396
459
  * @property {OrderPlatformModel.PlatformOrderUpdate} body
397
460
  */
398
461
 
399
- /**
400
- * @typedef PostRefundConfigurationParam
401
- * @property {string} appId
402
- * @property {OrderPlatformModel.RefundStateConfigurationManualSchema} body
403
- */
404
-
405
- /**
406
- * @typedef PostRefundStateConfigurationParam
407
- * @property {string} appId
408
- * @property {OrderPlatformModel.PostRefundStateConfiguration} body
409
- */
410
-
411
462
  /**
412
463
  * @typedef PostShipmentHistoryParam
413
464
  * @property {OrderPlatformModel.PostShipmentHistory} body
@@ -430,16 +481,16 @@ const OrderPlatformModel = require("./OrderPlatformModel");
430
481
 
431
482
  /**
432
483
  * @typedef TrackShipmentParam
433
- * @property {string} [shipmentId] - Shipment ID
484
+ * @property {string} [shipmentId] - Unique identifier of a shipment on the platform.
434
485
  * @property {string} [awb] - AWB number
435
- * @property {number} [pageNo] - Page number
436
- * @property {number} [pageSize] - Page size
486
+ * @property {number} [pageNo] - Page number for pagination.
487
+ * @property {number} [pageSize] - Number of records per page for pagination.
437
488
  */
438
489
 
439
490
  /**
440
- * @typedef UpdateOrderParam
441
- * @property {string} orderId
442
- * @property {OrderPlatformModel.OrderUpdatePayload} body
491
+ * @typedef UpdateAddressParam
492
+ * @property {string} shipmentId - Unique shipment no. that is auto-generated
493
+ * @property {OrderPlatformModel.UpdateAddressRequestBody} body
443
494
  */
444
495
 
445
496
  /**
@@ -448,8 +499,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
448
499
  */
449
500
 
450
501
  /**
451
- * @typedef UpdateShipmentParam
452
- * @property {OrderPlatformModel.UpdateShipmentActionRequest} body
502
+ * @typedef UpdatePaymentInfoParam
503
+ * @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
453
504
  */
454
505
 
455
506
  /**
@@ -459,7 +510,7 @@ const OrderPlatformModel = require("./OrderPlatformModel");
459
510
 
460
511
  /**
461
512
  * @typedef UpdateShipmentStatusParam
462
- * @property {OrderPlatformModel.UpdateShipmentStatusRequest} body
513
+ * @property {OrderPlatformModel.UpdateShipmentStatusRequestSchema} body
463
514
  */
464
515
 
465
516
  /**
@@ -468,13 +519,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
468
519
  */
469
520
 
470
521
  /**
471
- * @typedef UpdateUserViewPositionParam
472
- * @property {OrderPlatformModel.UserViewPosition} body
473
- */
474
-
475
- /**
476
- * @typedef UpdateUserViewsParam
477
- * @property {OrderPlatformModel.UserViewsResponse} body
522
+ * @typedef UploadConsentsParam
523
+ * @property {OrderPlatformModel.UploadManifestConsent} body
478
524
  */
479
525
 
480
526
  /**
@@ -483,10 +529,10 @@ const OrderPlatformModel = require("./OrderPlatformModel");
483
529
  */
484
530
 
485
531
  class OrderPlatformValidator {
486
- /** @returns {AddUserViewsParam} */
487
- static addUserViews() {
532
+ /** @returns {AddStateManagerConfigParam} */
533
+ static addStateManagerConfig() {
488
534
  return Joi.object({
489
- body: OrderPlatformModel.UserViewsResponse().required(),
535
+ body: OrderPlatformModel.TransitionConfigPayload().required(),
490
536
  }).required();
491
537
  }
492
538
 
@@ -502,8 +548,8 @@ class OrderPlatformValidator {
502
548
  return Joi.object({
503
549
  pageSize: Joi.number().required(),
504
550
  pageNo: Joi.number().required(),
505
- startDate: Joi.string().allow(""),
506
- endDate: Joi.string().allow(""),
551
+ startDate: Joi.string().allow("").required(),
552
+ endDate: Joi.string().allow("").required(),
507
553
  status: Joi.string().allow(""),
508
554
  bulkActionType: Joi.string().allow(""),
509
555
  searchKey: Joi.string().allow(""),
@@ -513,7 +559,7 @@ class OrderPlatformValidator {
513
559
  /** @returns {BulkStateTransistionParam} */
514
560
  static bulkStateTransistion() {
515
561
  return Joi.object({
516
- body: OrderPlatformModel.BulkStateTransistionRequest().required(),
562
+ body: OrderPlatformModel.BulkStateTransistionRequestSchema().required(),
517
563
  }).required();
518
564
  }
519
565
 
@@ -524,28 +570,25 @@ class OrderPlatformValidator {
524
570
  }).required();
525
571
  }
526
572
 
527
- /** @returns {Click2CallParam} */
528
- static click2Call() {
573
+ /** @returns {CreateChannelConfigParam} */
574
+ static createChannelConfig() {
529
575
  return Joi.object({
530
- caller: Joi.string().allow("").required(),
531
- receiver: Joi.string().allow("").required(),
532
- bagId: Joi.string().allow("").required(),
533
- callerId: Joi.string().allow(""),
534
- method: Joi.string().allow(""),
576
+ body: OrderPlatformModel.CreateChannelConfigData().required(),
535
577
  }).required();
536
578
  }
537
579
 
538
580
  /** @returns {CreateOrderParam} */
539
581
  static createOrder() {
540
582
  return Joi.object({
583
+ xOrderingSource: Joi.string().allow(""),
541
584
  body: OrderPlatformModel.CreateOrderAPI().required(),
542
585
  }).required();
543
586
  }
544
587
 
545
- /** @returns {DeleteUserViewsParam} */
546
- static deleteUserViews() {
588
+ /** @returns {DispatchManifestsParam} */
589
+ static dispatchManifests() {
547
590
  return Joi.object({
548
- viewId: Joi.string().allow("").required(),
591
+ body: OrderPlatformModel.DispatchManifest().required(),
549
592
  }).required();
550
593
  }
551
594
 
@@ -559,7 +602,7 @@ class OrderPlatformValidator {
559
602
  /** @returns {DownloadLanesReportParam} */
560
603
  static downloadLanesReport() {
561
604
  return Joi.object({
562
- body: OrderPlatformModel.BulkReportsDownloadRequest().required(),
605
+ body: OrderPlatformModel.BulkReportsDownloadRequestSchema().required(),
563
606
  }).required();
564
607
  }
565
608
 
@@ -577,10 +620,14 @@ class OrderPlatformValidator {
577
620
  }).required();
578
621
  }
579
622
 
580
- /** @returns {FetchCreditBalanceDetailParam} */
581
- static fetchCreditBalanceDetail() {
623
+ /** @returns {FailedOrderLogsParam} */
624
+ static failedOrderLogs() {
582
625
  return Joi.object({
583
- body: OrderPlatformModel.FetchCreditBalanceRequestPayload().required(),
626
+ applicationId: Joi.string().allow(""),
627
+ pageNo: Joi.number(),
628
+ pageSize: Joi.number(),
629
+ searchType: Joi.string().allow(""),
630
+ searchValue: Joi.string().allow(""),
584
631
  }).required();
585
632
  }
586
633
 
@@ -591,6 +638,14 @@ class OrderPlatformValidator {
591
638
  }).required();
592
639
  }
593
640
 
641
+ /** @returns {GenerateInvoiceIDParam} */
642
+ static generateInvoiceID() {
643
+ return Joi.object({
644
+ invoiceType: Joi.string().allow("").required(),
645
+ body: OrderPlatformModel.GenerateInvoiceIDRequestSchema().required(),
646
+ }).required();
647
+ }
648
+
594
649
  /** @returns {GeneratePOSReceiptByOrderIdParam} */
595
650
  static generatePOSReceiptByOrderId() {
596
651
  return Joi.object({
@@ -600,10 +655,18 @@ class OrderPlatformValidator {
600
655
  }).required();
601
656
  }
602
657
 
658
+ /** @returns {GenerateProcessManifestParam} */
659
+ static generateProcessManifest() {
660
+ return Joi.object({
661
+ body: OrderPlatformModel.ProcessManifestRequestSchema().required(),
662
+ }).required();
663
+ }
664
+
603
665
  /** @returns {GetAllowedStateTransitionParam} */
604
666
  static getAllowedStateTransition() {
605
667
  return Joi.object({
606
- orderingChannel: Joi.string().allow("").required(),
668
+ orderingChannel: Joi.string().allow(""),
669
+ orderingSource: Joi.string().allow(""),
607
670
  status: Joi.string().allow("").required(),
608
671
  }).required();
609
672
  }
@@ -667,14 +730,9 @@ class OrderPlatformValidator {
667
730
  }).required();
668
731
  }
669
732
 
670
- /** @returns {GetFailedOrderLogsParam} */
671
- static getFailedOrderLogs() {
672
- return Joi.object({
673
- pageNo: Joi.number(),
674
- pageSize: Joi.number(),
675
- searchType: Joi.string().allow(""),
676
- searchValue: Joi.string().allow(""),
677
- }).required();
733
+ /** @returns {GetChannelConfigParam} */
734
+ static getChannelConfig() {
735
+ return Joi.object({}).required();
678
736
  }
679
737
 
680
738
  /** @returns {GetFileByStatusParam} */
@@ -687,13 +745,6 @@ class OrderPlatformValidator {
687
745
  }).required();
688
746
  }
689
747
 
690
- /** @returns {GetGlobalFiltersParam} */
691
- static getGlobalFilters() {
692
- return Joi.object({
693
- showIn: Joi.string().allow("").required(),
694
- }).required();
695
- }
696
-
697
748
  /** @returns {GetLaneConfigParam} */
698
749
  static getLaneConfig() {
699
750
  return Joi.object({
@@ -719,6 +770,34 @@ class OrderPlatformValidator {
719
770
  }).required();
720
771
  }
721
772
 
773
+ /** @returns {GetManifestDetailsParam} */
774
+ static getManifestDetails() {
775
+ return Joi.object({
776
+ manifestId: Joi.string().allow("").required(),
777
+ dpIds: Joi.string().allow(""),
778
+ endDate: Joi.string().allow(""),
779
+ startDate: Joi.string().allow(""),
780
+ pageNo: Joi.number(),
781
+ pageSize: Joi.number(),
782
+ }).required();
783
+ }
784
+
785
+ /** @returns {GetManifestShipmentsParam} */
786
+ static getManifestShipments() {
787
+ return Joi.object({
788
+ dpIds: Joi.string().allow("").required(),
789
+ stores: Joi.number().required(),
790
+ toDate: Joi.string().allow("").required(),
791
+ fromDate: Joi.string().allow("").required(),
792
+ dpName: Joi.string().allow(""),
793
+ salesChannels: Joi.string().allow(""),
794
+ searchType: Joi.string().allow(""),
795
+ searchValue: Joi.string().allow(""),
796
+ pageNo: Joi.number(),
797
+ pageSize: Joi.number(),
798
+ }).required();
799
+ }
800
+
722
801
  /** @returns {GetManifestfiltersParam} */
723
802
  static getManifestfilters() {
724
803
  return Joi.object({
@@ -726,6 +805,21 @@ class OrderPlatformValidator {
726
805
  }).required();
727
806
  }
728
807
 
808
+ /** @returns {GetManifestsParam} */
809
+ static getManifests() {
810
+ return Joi.object({
811
+ status: Joi.string().allow(""),
812
+ startDate: Joi.string().allow(""),
813
+ endDate: Joi.string().allow(""),
814
+ searchType: Joi.string().allow(""),
815
+ storeId: Joi.number(),
816
+ searchValue: Joi.string().allow(""),
817
+ dpIds: Joi.string().allow(""),
818
+ pageNo: Joi.number(),
819
+ pageSize: Joi.number(),
820
+ }).required();
821
+ }
822
+
729
823
  /** @returns {GetOrderByIdParam} */
730
824
  static getOrderById() {
731
825
  return Joi.object({
@@ -755,48 +849,15 @@ class OrderPlatformValidator {
755
849
  pageNo: Joi.number(),
756
850
  pageSize: Joi.number(),
757
851
  isPrioritySort: Joi.boolean(),
758
- customMeta: Joi.array().items(Joi.any()),
852
+ customMeta: Joi.string().allow(""),
759
853
  myOrders: Joi.boolean(),
760
854
  showCrossCompanyData: Joi.boolean(),
761
855
  customerId: Joi.string().allow(""),
762
856
  orderType: Joi.string().allow(""),
763
- operationalStatus: Joi.string().allow(""),
764
- financialStatus: Joi.string().allow(""),
765
- logisticsStatus: Joi.string().allow(""),
766
- parentViewSlug: Joi.string().allow(""),
767
- childViewSlug: Joi.string().allow(""),
857
+ allowInactive: Joi.boolean(),
768
858
  groupEntity: Joi.string().allow(""),
769
- }).required();
770
- }
771
-
772
- /** @returns {GetRefundConfigurationParam} */
773
- static getRefundConfiguration() {
774
- return Joi.object({
775
- appId: Joi.string().allow("").required(),
776
- }).required();
777
- }
778
-
779
- /** @returns {GetRefundEnableStateListParam} */
780
- static getRefundEnableStateList() {
781
- return Joi.object({}).required();
782
- }
783
-
784
- /** @returns {GetRefundOptionsParam} */
785
- static getRefundOptions() {
786
- return Joi.object({
787
- shipmentId: Joi.string().allow("").required(),
788
- bagIds: Joi.string().allow(""),
789
- state: Joi.string().allow(""),
790
- optinAppId: Joi.string().allow(""),
791
- optinCompanyId: Joi.number(),
792
- status: Joi.string().allow(""),
793
- }).required();
794
- }
795
-
796
- /** @returns {GetRefundStateConfigurationParam} */
797
- static getRefundStateConfiguration() {
798
- return Joi.object({
799
- appId: Joi.string().allow("").required(),
859
+ enforceDateFilter: Joi.boolean(),
860
+ fulfillmentType: Joi.string().allow(""),
800
861
  }).required();
801
862
  }
802
863
 
@@ -811,6 +872,7 @@ class OrderPlatformValidator {
811
872
  channelShipmentId: Joi.string().allow(""),
812
873
  shipmentId: Joi.string().allow(""),
813
874
  fetchActiveShipment: Joi.boolean(),
875
+ allowInactive: Joi.boolean(),
814
876
  }).required();
815
877
  }
816
878
 
@@ -836,6 +898,7 @@ class OrderPlatformValidator {
836
898
  return Joi.object({
837
899
  lane: Joi.string().allow(""),
838
900
  bagStatus: Joi.string().allow(""),
901
+ statusAssigned: Joi.string().allow(""),
839
902
  statusOverrideLane: Joi.boolean(),
840
903
  timeToDispatch: Joi.number(),
841
904
  searchType: Joi.string().allow(""),
@@ -844,6 +907,8 @@ class OrderPlatformValidator {
844
907
  toDate: Joi.string().allow(""),
845
908
  startDate: Joi.string().allow(""),
846
909
  endDate: Joi.string().allow(""),
910
+ statusAssignedStartDate: Joi.string().allow(""),
911
+ statusAssignedEndDate: Joi.string().allow(""),
847
912
  dpIds: Joi.string().allow(""),
848
913
  stores: Joi.string().allow(""),
849
914
  salesChannels: Joi.string().allow(""),
@@ -865,13 +930,19 @@ class OrderPlatformValidator {
865
930
  tags: Joi.string().allow(""),
866
931
  customerId: Joi.string().allow(""),
867
932
  orderType: Joi.string().allow(""),
868
- operationalStatus: Joi.string().allow(""),
869
- financialStatus: Joi.string().allow(""),
870
- logisticsStatus: Joi.string().allow(""),
871
- parentViewSlug: Joi.string().allow(""),
872
- childViewSlug: Joi.string().allow(""),
873
- lockStatus: Joi.string().allow(""),
874
933
  groupEntity: Joi.string().allow(""),
934
+ enforceDateFilter: Joi.boolean(),
935
+ fulfillmentType: Joi.string().allow(""),
936
+ }).required();
937
+ }
938
+
939
+ /** @returns {GetStateManagerConfigParam} */
940
+ static getStateManagerConfig() {
941
+ return Joi.object({
942
+ appId: Joi.string().allow(""),
943
+ orderingChannel: Joi.string().allow(""),
944
+ orderingSource: Joi.string().allow(""),
945
+ entity: Joi.string().allow(""),
875
946
  }).required();
876
947
  }
877
948
 
@@ -887,13 +958,6 @@ class OrderPlatformValidator {
887
958
  }).required();
888
959
  }
889
960
 
890
- /** @returns {GetUserViewsParam} */
891
- static getUserViews() {
892
- return Joi.object({
893
- showIn: Joi.string().allow("").required(),
894
- }).required();
895
- }
896
-
897
961
  /** @returns {GetfiltersParam} */
898
962
  static getfilters() {
899
963
  return Joi.object({
@@ -923,22 +987,6 @@ class OrderPlatformValidator {
923
987
  }).required();
924
988
  }
925
989
 
926
- /** @returns {PostRefundConfigurationParam} */
927
- static postRefundConfiguration() {
928
- return Joi.object({
929
- appId: Joi.string().allow("").required(),
930
- body: OrderPlatformModel.RefundStateConfigurationManualSchema().required(),
931
- }).required();
932
- }
933
-
934
- /** @returns {PostRefundStateConfigurationParam} */
935
- static postRefundStateConfiguration() {
936
- return Joi.object({
937
- appId: Joi.string().allow("").required(),
938
- body: OrderPlatformModel.PostRefundStateConfiguration().required(),
939
- }).required();
940
- }
941
-
942
990
  /** @returns {PostShipmentHistoryParam} */
943
991
  static postShipmentHistory() {
944
992
  return Joi.object({
@@ -977,11 +1025,11 @@ class OrderPlatformValidator {
977
1025
  }).required();
978
1026
  }
979
1027
 
980
- /** @returns {UpdateOrderParam} */
981
- static updateOrder() {
1028
+ /** @returns {UpdateAddressParam} */
1029
+ static updateAddress() {
982
1030
  return Joi.object({
983
- orderId: Joi.string().allow("").required(),
984
- body: OrderPlatformModel.OrderUpdatePayload().required(),
1031
+ shipmentId: Joi.string().allow("").required(),
1032
+ body: OrderPlatformModel.UpdateAddressRequestBody().required(),
985
1033
  }).required();
986
1034
  }
987
1035
 
@@ -992,10 +1040,10 @@ class OrderPlatformValidator {
992
1040
  }).required();
993
1041
  }
994
1042
 
995
- /** @returns {UpdateShipmentParam} */
996
- static updateShipment() {
1043
+ /** @returns {UpdatePaymentInfoParam} */
1044
+ static updatePaymentInfo() {
997
1045
  return Joi.object({
998
- body: OrderPlatformModel.UpdateShipmentActionRequest().required(),
1046
+ body: OrderPlatformModel.UpdateShipmentPaymentMode().required(),
999
1047
  }).required();
1000
1048
  }
1001
1049
 
@@ -1009,7 +1057,7 @@ class OrderPlatformValidator {
1009
1057
  /** @returns {UpdateShipmentStatusParam} */
1010
1058
  static updateShipmentStatus() {
1011
1059
  return Joi.object({
1012
- body: OrderPlatformModel.UpdateShipmentStatusRequest().required(),
1060
+ body: OrderPlatformModel.UpdateShipmentStatusRequestSchema().required(),
1013
1061
  }).required();
1014
1062
  }
1015
1063
 
@@ -1020,17 +1068,10 @@ class OrderPlatformValidator {
1020
1068
  }).required();
1021
1069
  }
1022
1070
 
1023
- /** @returns {UpdateUserViewPositionParam} */
1024
- static updateUserViewPosition() {
1025
- return Joi.object({
1026
- body: OrderPlatformModel.UserViewPosition().required(),
1027
- }).required();
1028
- }
1029
-
1030
- /** @returns {UpdateUserViewsParam} */
1031
- static updateUserViews() {
1071
+ /** @returns {UploadConsentsParam} */
1072
+ static uploadConsents() {
1032
1073
  return Joi.object({
1033
- body: OrderPlatformModel.UserViewsResponse().required(),
1074
+ body: OrderPlatformModel.UploadManifestConsent().required(),
1034
1075
  }).required();
1035
1076
  }
1036
1077