@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +0 -2
  8. package/sdk/application/ApplicationClient.js +0 -20
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
  10. package/sdk/application/Cart/CartApplicationClient.js +60 -1262
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
  14. package/sdk/application/Common/CommonApplicationClient.js +5 -90
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
  20. package/sdk/application/Content/ContentApplicationClient.js +126 -942
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
  23. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
  24. package/sdk/application/Lead/LeadApplicationClient.js +32 -201
  25. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
  26. package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
  27. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
  28. package/sdk/application/Order/OrderApplicationClient.js +86 -555
  29. package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
  30. package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
  31. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
  32. package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
  33. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  34. package/sdk/application/Share/ShareApplicationClient.js +34 -294
  35. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  36. package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
  37. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  38. package/sdk/application/User/UserApplicationClient.js +47 -1817
  39. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  40. package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
  41. package/sdk/application/index.d.ts +0 -19
  42. package/sdk/application/index.js +0 -35
  43. package/sdk/common/Utility.d.ts +1 -1
  44. package/sdk/common/Utility.js +10 -7
  45. package/sdk/common/Validator.d.ts +1 -0
  46. package/sdk/common/Validator.js +20 -0
  47. package/sdk/common/utils.d.ts +0 -1
  48. package/sdk/common/utils.js +0 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  50. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  51. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
  52. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
  53. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  54. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  56. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  58. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  59. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  60. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  61. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
  62. package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
  63. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  64. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
  65. package/sdk/partner/OAuthClient.js +1 -0
  66. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  67. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  68. package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
  69. package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
  70. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  71. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  72. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  73. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  74. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  75. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  76. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  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 +388 -443
  90. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
  98. package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  110. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  112. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  117. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  118. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  125. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  126. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  129. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  131. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
  132. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
  133. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  134. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  135. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  137. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  138. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  139. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  140. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  141. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  142. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  143. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  144. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  145. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  146. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  147. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  148. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  149. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  150. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  151. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
  152. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
  153. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  154. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  155. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
  156. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
  157. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
  158. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
  159. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  160. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  161. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  162. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  163. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  164. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  165. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  166. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  167. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  168. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  169. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  170. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -25
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
  173. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
  174. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
  175. package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
  176. package/sdk/platform/Order/OrderPlatformClient.js +275 -528
  177. package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
  178. package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
  179. package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
  180. package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
  181. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  182. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
  193. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
  194. package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
  195. package/sdk/platform/PlatformClient.d.ts +2 -0
  196. package/sdk/platform/PlatformClient.js +4 -0
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  199. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  200. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  201. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  202. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
  213. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  214. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  215. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  216. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  217. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  218. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  219. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  220. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  221. package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
  222. package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  227. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  228. package/sdk/platform/User/UserPlatformModel.js +23 -23
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  235. package/sdk/platform/index.d.ts +1 -0
  236. package/sdk/platform/index.js +2 -0
  237. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  238. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
  239. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  240. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  241. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  242. package/sdk/public/Content/ContentPublicClient.js +19 -793
  243. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  244. package/sdk/public/Content/ContentPublicModel.js +3 -649
  245. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  246. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  247. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  248. package/sdk/public/Partner/PartnerPublicClient.js +14 -2
  249. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  250. package/sdk/public/Webhook/WebhookPublicClient.js +13 -10
  251. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  252. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  253. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  254. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  255. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -4340
  256. package/sdk/application/Cart/CartApplicationModel.js +0 -2718
  257. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
  258. package/sdk/application/Cart/CartApplicationValidator.js +0 -546
  259. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
  260. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
  261. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  262. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  263. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  264. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  265. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  266. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  267. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  268. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  269. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  270. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  271. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2544
  272. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
  273. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  274. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  275. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2189
  276. package/sdk/application/Content/ContentApplicationModel.js +0 -1640
  277. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
  278. package/sdk/application/Content/ContentApplicationValidator.js +0 -269
  279. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
  280. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
  281. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  282. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  283. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
  284. package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
  285. package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
  286. package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
  287. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
  288. package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
  289. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  290. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  291. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  292. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  293. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -2034
  294. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
  295. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
  296. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
  297. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
  298. package/sdk/application/Order/OrderApplicationModel.js +0 -1669
  299. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
  300. package/sdk/application/Order/OrderApplicationValidator.js +0 -210
  301. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
  302. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
  303. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  304. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  305. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  306. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  307. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  308. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  309. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  310. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  311. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  312. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  313. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1744
  314. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
  315. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
  316. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
  317. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  318. package/sdk/application/User/UserApplicationModel.js +0 -1382
  319. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  320. package/sdk/application/User/UserApplicationValidator.js +0 -573
  321. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -54
  322. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
  323. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  324. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  325. package/sdk/common/Clickstream.d.ts +0 -1
  326. package/sdk/common/Clickstream.js +0 -464
@@ -14,13 +14,15 @@ 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
  /**
@@ -33,11 +35,6 @@ const OrderPlatformModel = require("./OrderPlatformModel");
33
35
  * @property {OrderPlatformModel.OrderStatus} body
34
36
  */
35
37
 
36
- /**
37
- * @typedef CreateChannelConfigParam
38
- * @property {OrderPlatformModel.CreateChannelConfigData} body
39
- */
40
-
41
38
  /**
42
39
  * @typedef CreateOrderParam
43
40
  * @property {OrderPlatformModel.CreateOrderAPI} body
@@ -55,7 +52,7 @@ const OrderPlatformModel = require("./OrderPlatformModel");
55
52
 
56
53
  /**
57
54
  * @typedef DownloadLanesReportParam
58
- * @property {OrderPlatformModel.BulkReportsDownloadRequestSchema} body
55
+ * @property {OrderPlatformModel.BulkReportsDownloadRequest} body
59
56
  */
60
57
 
61
58
  /**
@@ -69,8 +66,12 @@ const OrderPlatformModel = require("./OrderPlatformModel");
69
66
  */
70
67
 
71
68
  /**
72
- * @typedef FetchCreditBalanceDetailParam
73
- * @property {OrderPlatformModel.FetchCreditBalanceRequestPayload} body
69
+ * @typedef FailedOrderLogsParam
70
+ * @property {string} [applicationId] - Application ID
71
+ * @property {number} [pageNo] - Page Number
72
+ * @property {number} [pageSize] - Page Size
73
+ * @property {string} [searchType] - Search type for filter
74
+ * @property {string} [searchValue] - Search value for filter
74
75
  */
75
76
 
76
77
  /**
@@ -93,21 +94,21 @@ const OrderPlatformModel = require("./OrderPlatformModel");
93
94
 
94
95
  /**
95
96
  * @typedef GenerateProcessManifestParam
96
- * @property {OrderPlatformModel.ProcessManifestRequestSchema} body
97
+ * @property {OrderPlatformModel.ProcessManifestRequest} body
97
98
  */
98
99
 
99
100
  /**
100
101
  * @typedef GetAllowedStateTransitionParam
101
- * @property {string} orderingChannel - Ordering channel
102
- * @property {string} status - Current status of a shipment
102
+ * @property {string} orderingChannel - The channel through which orders are placed.
103
+ * @property {string} status - The status key indicates the current status for
104
+ * which the API will provide a list of possible next state transitions.
103
105
  */
104
106
 
105
107
  /** @typedef GetAllowedTemplatesForBulkParam */
106
108
 
107
109
  /**
108
110
  * @typedef GetAnnouncementsParam
109
- * @property {string} [date] - Date On which the announcement is Active (Date
110
- * should in ISO Datetime format IST Time)
111
+ * @property {string} [date] - Date On which the announcement is Active.
111
112
  */
112
113
 
113
114
  /**
@@ -136,8 +137,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
136
137
  * @typedef GetBulkShipmentExcelFileParam
137
138
  * @property {string} [salesChannels] - Comma separated values of sales channel ids
138
139
  * @property {string} [dpIds] - Comma separated values of delivery partner ids
139
- * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
140
- * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
140
+ * @property {string} [startDate] - UTC start date in ISO format
141
+ * @property {string} [endDate] - UTC end date in ISO format
141
142
  * @property {string} [stores] - Comma separated values of store ids
142
143
  * @property {string} [tags] - Comma separated values of tags
143
144
  * @property {string} [bagStatus] - Comma separated values of bag statuses
@@ -148,14 +149,12 @@ const OrderPlatformModel = require("./OrderPlatformModel");
148
149
  * @property {number} [pageSize]
149
150
  */
150
151
 
151
- /** @typedef GetChannelConfigParam */
152
-
153
152
  /**
154
153
  * @typedef GetFileByStatusParam
155
- * @property {string} batchId
156
- * @property {string} status
157
- * @property {string} fileType - It contains the type of file.
158
- * @property {string} [reportType]
154
+ * @property {string} batchId - Batch Id to identify the bulk operation request.
155
+ * @property {string} status - The status of the jobs to filter the results.
156
+ * @property {string} fileType - The type of file to be downloaded.
157
+ * @property {string} [reportType] - The type of report to be downloaded.
159
158
  */
160
159
 
161
160
  /**
@@ -171,46 +170,40 @@ const OrderPlatformModel = require("./OrderPlatformModel");
171
170
  * @property {string} [salesChannels]
172
171
  * @property {string} [paymentMode] - Comma separated values of payment modes
173
172
  * @property {string} [bagStatus] - Comma separated values of bag statuses
174
- * @property {string} [searchType] - Search_type refers to the field that will
175
- * be used as the target for the search operation
173
+ * @property {string} [searchType]
176
174
  * @property {string} [searchValue]
177
175
  * @property {string} [tags]
178
- * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
176
+ * @property {number} [timeToDispatch]
179
177
  * @property {string} [paymentMethods]
180
178
  * @property {boolean} [myOrders]
181
179
  * @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
182
180
  * company order
183
- * @property {string} [orderType] - Defines the specific journey a shipment will
184
- * follow based on the application's operational needs and customer
185
- * preferences. This field categorizes orders into distinct types, each
186
- * associated with a unique processing flow. For example:
187
- *
188
- * - "HomeDelivery": The order undergoes all state transitions typical for a
189
- * delivery, from processing the shipment to final delivery at the
190
- * customer's address.
191
- * - "PickAtStore": The order is prepared for pickup and moved to a state where it
192
- * is ready to be handed over directly to the customer at the store. This
193
- * type streamlines the process by bypassing traditional shipping stages
194
- * and facilitating a quicker transition to the final handover stage.
181
+ * @property {string} [orderType]
195
182
  */
196
183
 
197
184
  /**
198
185
  * @typedef GetManifestDetailsParam
199
- * @property {string} manifestId
186
+ * @property {string} manifestId - The unique identifier assigned to the manifest.
187
+ * @property {string} [dpIds] - Filter shipments with the specific Courier
188
+ * partner Ids which is a combination of courier partner extension and scheme Ids.
189
+ * @property {string} [endDate] - End date for the shipment search range in manifest.
190
+ * @property {string} [startDate] - Start date for the shipment search range in manifest.
191
+ * @property {number} [pageNo] - Page number for pagination.
192
+ * @property {number} [pageSize] - Number of records per page for pagination.
200
193
  */
201
194
 
202
195
  /**
203
196
  * @typedef GetManifestShipmentsParam
204
197
  * @property {string} dpIds - Filter shipments with the specific Courier partner
205
198
  * Ids which is a combination of courier partner extension and scheme Ids.
206
- * @property {number} stores - Filter with the specific store.
199
+ * @property {number} stores - Filter results based on specific store IDs.
207
200
  * @property {string} toDate - End date for the shipment search range.
208
201
  * @property {string} fromDate - Start date for the shipment search range.
209
- * @property {string} [dpName] - Filter with the specific courier partner name.
210
- * @property {string} [salesChannels] - Comma-separated list of sales channels.
211
- * @property {string} [searchType] - Type of search (e.g., by shipment ID, order
212
- * ID, AWB number).
213
- * @property {string} [searchValue] - Value to search for based on the search type.
202
+ * @property {string} [dpName] - Filter results based on specific courier partner name.
203
+ * @property {string} [salesChannels] - Filter results based on comma-separated
204
+ * list of sales channels.
205
+ * @property {string} [searchType] - Filter results based on search type.
206
+ * @property {string} [searchValue] - Filter results based on the search value.
214
207
  * @property {number} [pageNo] - Page number for pagination.
215
208
  * @property {number} [pageSize] - Number of records per page for pagination.
216
209
  */
@@ -222,16 +215,20 @@ const OrderPlatformModel = require("./OrderPlatformModel");
222
215
 
223
216
  /**
224
217
  * @typedef GetManifestsParam
225
- * @property {string} [status] - Possible Status [ active, closed ]
226
- * @property {string} [startDate] - UTC Start Date in ISO format
227
- * @property {string} [endDate] - UTC End Date in ISO format
228
- * @property {string} [searchType] - Search type options [ fynd_order_id,
229
- * shipment_id, manifest_id, dp_name, awb_no ]
230
- * @property {number} [storeId] - Fetch manifests for a Store.
231
- * @property {string} [searchValue] - Search value for selected search type
232
- * @property {string} [dpIds] - DP Ids separated by ',' (comma)
233
- * @property {number} [pageNo]
234
- * @property {number} [pageSize]
218
+ * @property {string} [status] - Filter for the status of manifests.
219
+ * @property {string} [startDate] - The starting date for filtering manifests in
220
+ * ISO format
221
+ * @property {string} [endDate] - The end date for filtering manifests in ISO format
222
+ * @property {string} [searchType] - Specifies the type of search to perform.
223
+ * @property {number} [storeId] - Filter to fetch manifests for a specific store
224
+ * by its ID.
225
+ * @property {string} [searchValue] - The value to search for based on the
226
+ * selected search type.
227
+ * @property {string} [dpIds] - A comma-separated list of courier partner IDs
228
+ * (DP IDs) to filter the manifests.
229
+ * @property {number} [pageNo] - The number of the page to fetch data.
230
+ * @property {number} [pageSize] - The number of records to return per page for
231
+ * pagination.
235
232
  */
236
233
 
237
234
  /**
@@ -255,10 +252,10 @@ const OrderPlatformModel = require("./OrderPlatformModel");
255
252
  * associated with the order
256
253
  * @property {string} [searchValue] - Search_value is matched against the field
257
254
  * specified by the search_type
258
- * @property {string} [fromDate] - Date time in UTC timezone as per ISO format.
259
- * @property {string} [toDate] - Date time in UTC timezone as per ISO format.
260
- * @property {string} [startDate] - Date time in UTC timezone as per ISO format.
261
- * @property {string} [endDate] - Date time in UTC timezone as per ISO format.
255
+ * @property {string} [fromDate]
256
+ * @property {string} [toDate]
257
+ * @property {string} [startDate]
258
+ * @property {string} [endDate]
262
259
  * @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
263
260
  * @property {string} [stores]
264
261
  * @property {string} [salesChannels]
@@ -273,11 +270,9 @@ const OrderPlatformModel = require("./OrderPlatformModel");
273
270
  * @property {string} [orderType]
274
271
  * @property {boolean} [allowInactive] - Flag indicating whether inactive
275
272
  * shipments are allowed
276
- * @property {string} [groupEntity] - Defines the grouping criterion for
277
- * retrieving shipments or orders. It specifies whether the results should be
278
- * organized based on shipment groups or order groups. For example, using
279
- * 'shipments' groups results by shipment, while an invalid value like 'abcd'
280
- * may not be recognized, leading to errors or default behavior.
273
+ * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
274
+ * orders. This is useful when fetching data for a specific date range while
275
+ * performing searches.
281
276
  */
282
277
 
283
278
  /** @typedef GetRoleBasedActionsParam */
@@ -294,8 +289,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
294
289
 
295
290
  /**
296
291
  * @typedef GetShipmentHistoryParam
297
- * @property {string} [shipmentId] - Shipment Id
298
- * @property {number} [bagId] - Bag/Product Id
292
+ * @property {string} [shipmentId] - Identifier for the shipment
293
+ * @property {number} [bagId] - Identifier for a bag or product.
299
294
  */
300
295
 
301
296
  /**
@@ -314,9 +309,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
314
309
  * @property {string} [bagStatus] - Comma separated values of bag statuses
315
310
  * @property {boolean} [statusOverrideLane] - Use this flag to fetch by
316
311
  * bag_status and override lane
317
- * @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
318
- * @property {string} [searchType] - Search_type refers to the field that will
319
- * be used as the target for the search operation
312
+ * @property {number} [timeToDispatch]
313
+ * @property {string} [searchType] - Search type key
320
314
  * @property {string} [searchValue] - Search type value
321
315
  * @property {string} [fromDate] - Start Date in DD-MM-YYYY format
322
316
  * @property {string} [toDate] - End Date in DD-MM-YYYY format
@@ -343,24 +337,10 @@ const OrderPlatformModel = require("./OrderPlatformModel");
343
337
  * company order
344
338
  * @property {string} [tags] - Comma separated values of tags
345
339
  * @property {string} [customerId]
346
- * @property {string} [orderType] - Defines the specific journey a shipment will
347
- * follow based on the application's operational needs and customer
348
- * preferences. This field categorizes orders into distinct types, each
349
- * associated with a unique processing flow. For example:
350
- *
351
- * - "HomeDelivery": The order undergoes all state transitions typical for a
352
- * delivery, from processing the shipment to final delivery at the
353
- * customer's address.
354
- * - "PickAtStore": The order is prepared for pickup and moved to a state where it
355
- * is ready to be handed over directly to the customer at the store. This
356
- * type streamlines the process by bypassing traditional shipping stages
357
- * and facilitating a quicker transition to the final handover stage.
358
- *
359
- * @property {string} [groupEntity] - Defines the grouping criterion for
360
- * retrieving shipments or orders. It specifies whether the results should be
361
- * organized based on shipment groups or order groups. For example, using
362
- * 'shipments' groups results by shipment, while an invalid value like 'abcd'
363
- * may not be recognized, leading to errors or default behavior.
340
+ * @property {string} [orderType]
341
+ * @property {boolean} [enforceDateFilter] - Applies a date filter for listing
342
+ * shipments. This is useful when fetching data for a specific date range
343
+ * while performing searches.
364
344
  */
365
345
 
366
346
  /**
@@ -390,7 +370,8 @@ const OrderPlatformModel = require("./OrderPlatformModel");
390
370
 
391
371
  /**
392
372
  * @typedef JobDetailsParam
393
- * @property {string} batchId
373
+ * @property {string} batchId - A unique identifier for the batch associated
374
+ * with this bulk action.
394
375
  */
395
376
 
396
377
  /**
@@ -403,11 +384,6 @@ const OrderPlatformModel = require("./OrderPlatformModel");
403
384
  * @property {OrderPlatformModel.PostShipmentHistory} body
404
385
  */
405
386
 
406
- /**
407
- * @typedef ProcessManifestsParam
408
- * @property {OrderPlatformModel.ProcessManifest} body
409
- */
410
-
411
387
  /**
412
388
  * @typedef ReassignLocationParam
413
389
  * @property {OrderPlatformModel.StoreReassign} body
@@ -425,16 +401,26 @@ const OrderPlatformModel = require("./OrderPlatformModel");
425
401
 
426
402
  /**
427
403
  * @typedef TrackShipmentParam
428
- * @property {string} [shipmentId] - Shipment ID
404
+ * @property {string} [shipmentId] - Unique identifier of a shipment on the platform.
429
405
  * @property {string} [awb] - AWB number
430
- * @property {number} [pageNo] - Page number
431
- * @property {number} [pageSize] - Page size
406
+ * @property {number} [pageNo] - Page number for pagination.
407
+ * @property {number} [pageSize] - Number of records per page for pagination.
432
408
  */
433
409
 
434
410
  /**
435
411
  * @typedef UpdateAddressParam
436
- * @property {string} shipmentId - Unique shipment no. that is auto-generated
437
- * @property {OrderPlatformModel.UpdateAddressRequestBody} body
412
+ * @property {string} shipmentId
413
+ * @property {string} [name]
414
+ * @property {string} [address]
415
+ * @property {string} [addressType]
416
+ * @property {string} [pincode]
417
+ * @property {string} [phone]
418
+ * @property {string} [email]
419
+ * @property {string} [landmark]
420
+ * @property {string} addressCategory
421
+ * @property {string} [city]
422
+ * @property {string} [state]
423
+ * @property {string} [country]
438
424
  */
439
425
 
440
426
  /**
@@ -442,11 +428,6 @@ const OrderPlatformModel = require("./OrderPlatformModel");
442
428
  * @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
443
429
  */
444
430
 
445
- /**
446
- * @typedef UpdatePaymentInfoParam
447
- * @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
448
- */
449
-
450
431
  /**
451
432
  * @typedef UpdateShipmentLockParam
452
433
  * @property {OrderPlatformModel.UpdateShipmentLockPayload} body
@@ -464,8 +445,7 @@ const OrderPlatformModel = require("./OrderPlatformModel");
464
445
 
465
446
  /**
466
447
  * @typedef UploadConsentsParam
467
- * @property {string} manifestId
468
- * @property {OrderPlatformModel.UploadConsent} body
448
+ * @property {OrderPlatformModel.UploadManifestConsent} body
469
449
  */
470
450
 
471
451
  /**
@@ -515,13 +495,6 @@ class OrderPlatformValidator {
515
495
  }).required();
516
496
  }
517
497
 
518
- /** @returns {CreateChannelConfigParam} */
519
- static createChannelConfig() {
520
- return Joi.object({
521
- body: OrderPlatformModel.CreateChannelConfigData().required(),
522
- }).required();
523
- }
524
-
525
498
  /** @returns {CreateOrderParam} */
526
499
  static createOrder() {
527
500
  return Joi.object({
@@ -546,7 +519,7 @@ class OrderPlatformValidator {
546
519
  /** @returns {DownloadLanesReportParam} */
547
520
  static downloadLanesReport() {
548
521
  return Joi.object({
549
- body: OrderPlatformModel.BulkReportsDownloadRequestSchema().required(),
522
+ body: OrderPlatformModel.BulkReportsDownloadRequest().required(),
550
523
  }).required();
551
524
  }
552
525
 
@@ -564,10 +537,14 @@ class OrderPlatformValidator {
564
537
  }).required();
565
538
  }
566
539
 
567
- /** @returns {FetchCreditBalanceDetailParam} */
568
- static fetchCreditBalanceDetail() {
540
+ /** @returns {FailedOrderLogsParam} */
541
+ static failedOrderLogs() {
569
542
  return Joi.object({
570
- body: OrderPlatformModel.FetchCreditBalanceRequestPayload().required(),
543
+ applicationId: Joi.string().allow(""),
544
+ pageNo: Joi.number(),
545
+ pageSize: Joi.number(),
546
+ searchType: Joi.string().allow(""),
547
+ searchValue: Joi.string().allow(""),
571
548
  }).required();
572
549
  }
573
550
 
@@ -598,7 +575,7 @@ class OrderPlatformValidator {
598
575
  /** @returns {GenerateProcessManifestParam} */
599
576
  static generateProcessManifest() {
600
577
  return Joi.object({
601
- body: OrderPlatformModel.ProcessManifestRequestSchema().required(),
578
+ body: OrderPlatformModel.ProcessManifestRequest().required(),
602
579
  }).required();
603
580
  }
604
581
 
@@ -669,11 +646,6 @@ class OrderPlatformValidator {
669
646
  }).required();
670
647
  }
671
648
 
672
- /** @returns {GetChannelConfigParam} */
673
- static getChannelConfig() {
674
- return Joi.object({}).required();
675
- }
676
-
677
649
  /** @returns {GetFileByStatusParam} */
678
650
  static getFileByStatus() {
679
651
  return Joi.object({
@@ -713,6 +685,11 @@ class OrderPlatformValidator {
713
685
  static getManifestDetails() {
714
686
  return Joi.object({
715
687
  manifestId: Joi.string().allow("").required(),
688
+ dpIds: Joi.string().allow(""),
689
+ endDate: Joi.string().allow(""),
690
+ startDate: Joi.string().allow(""),
691
+ pageNo: Joi.number(),
692
+ pageSize: Joi.number(),
716
693
  }).required();
717
694
  }
718
695
 
@@ -789,7 +766,7 @@ class OrderPlatformValidator {
789
766
  customerId: Joi.string().allow(""),
790
767
  orderType: Joi.string().allow(""),
791
768
  allowInactive: Joi.boolean(),
792
- groupEntity: Joi.string().allow(""),
769
+ enforceDateFilter: Joi.boolean(),
793
770
  }).required();
794
771
  }
795
772
 
@@ -859,7 +836,7 @@ class OrderPlatformValidator {
859
836
  tags: Joi.string().allow(""),
860
837
  customerId: Joi.string().allow(""),
861
838
  orderType: Joi.string().allow(""),
862
- groupEntity: Joi.string().allow(""),
839
+ enforceDateFilter: Joi.boolean(),
863
840
  }).required();
864
841
  }
865
842
 
@@ -920,13 +897,6 @@ class OrderPlatformValidator {
920
897
  }).required();
921
898
  }
922
899
 
923
- /** @returns {ProcessManifestsParam} */
924
- static processManifests() {
925
- return Joi.object({
926
- body: OrderPlatformModel.ProcessManifest().required(),
927
- }).required();
928
- }
929
-
930
900
  /** @returns {ReassignLocationParam} */
931
901
  static reassignLocation() {
932
902
  return Joi.object({
@@ -962,7 +932,17 @@ class OrderPlatformValidator {
962
932
  static updateAddress() {
963
933
  return Joi.object({
964
934
  shipmentId: Joi.string().allow("").required(),
965
- body: OrderPlatformModel.UpdateAddressRequestBody().required(),
935
+ name: Joi.string().allow(""),
936
+ address: Joi.string().allow(""),
937
+ addressType: Joi.string().allow(""),
938
+ pincode: Joi.string().allow(""),
939
+ phone: Joi.string().allow(""),
940
+ email: Joi.string().allow(""),
941
+ landmark: Joi.string().allow(""),
942
+ addressCategory: Joi.string().allow("").required(),
943
+ city: Joi.string().allow(""),
944
+ state: Joi.string().allow(""),
945
+ country: Joi.string().allow(""),
966
946
  }).required();
967
947
  }
968
948
 
@@ -973,13 +953,6 @@ class OrderPlatformValidator {
973
953
  }).required();
974
954
  }
975
955
 
976
- /** @returns {UpdatePaymentInfoParam} */
977
- static updatePaymentInfo() {
978
- return Joi.object({
979
- body: OrderPlatformModel.UpdateShipmentPaymentMode().required(),
980
- }).required();
981
- }
982
-
983
956
  /** @returns {UpdateShipmentLockParam} */
984
957
  static updateShipmentLock() {
985
958
  return Joi.object({
@@ -1004,8 +977,7 @@ class OrderPlatformValidator {
1004
977
  /** @returns {UploadConsentsParam} */
1005
978
  static uploadConsents() {
1006
979
  return Joi.object({
1007
- manifestId: Joi.string().allow("").required(),
1008
- body: OrderPlatformModel.UploadConsent().required(),
980
+ body: OrderPlatformModel.UploadManifestConsent().required(),
1009
981
  }).required();
1010
982
  }
1011
983
 
@@ -7,24 +7,22 @@ declare class Partner {
7
7
  * @param {PartnerPlatformApplicationValidator.AddProxyPathParam} arg - Arg object
8
8
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
9
9
  * @param {import("../PlatformAPIClient").Options} - Options
10
- * @returns {Promise<PartnerPlatformModel.ExtensionProxyPathCreation>} -
11
- * Success response
10
+ * @returns {Promise<PartnerPlatformModel.AddProxyResponse>} - Success response
12
11
  * @name addProxyPath
13
12
  * @summary: Create extension proxy
14
13
  * @description: Extension proxy can be used to call extension API from storefront and make extension API integration seamless. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/addProxyPath/).
15
14
  */
16
- addProxyPath({ extensionId, body, requestHeaders }?: PartnerPlatformApplicationValidator.AddProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.ExtensionProxyPathCreation>;
15
+ addProxyPath({ extensionId, body, requestHeaders }?: PartnerPlatformApplicationValidator.AddProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.AddProxyResponse>;
17
16
  /**
18
17
  * @param {PartnerPlatformApplicationValidator.RemoveProxyPathParam} arg - Arg object
19
18
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
20
19
  * @param {import("../PlatformAPIClient").Options} - Options
21
- * @returns {Promise<PartnerPlatformModel.ExtensionProxyPathDelete>} -
22
- * Success response
20
+ * @returns {Promise<PartnerPlatformModel.RemoveProxyResponse>} - Success response
23
21
  * @name removeProxyPath
24
22
  * @summary: Remove extension proxy
25
23
  * @description: Remove the proxy which are created earlier for the extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/removeProxyPath/).
26
24
  */
27
- removeProxyPath({ extensionId, attachedPath, requestHeaders }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.ExtensionProxyPathDelete>;
25
+ removeProxyPath({ extensionId, attachedPath, requestHeaders }?: PartnerPlatformApplicationValidator.RemoveProxyPathParam, { responseHeaders }?: object): Promise<PartnerPlatformModel.RemoveProxyResponse>;
28
26
  }
29
27
  import PartnerPlatformApplicationValidator = require("./PartnerPlatformApplicationValidator");
30
28
  import PartnerPlatformModel = require("./PartnerPlatformModel");
@@ -19,8 +19,7 @@ class Partner {
19
19
  * @param {PartnerPlatformApplicationValidator.AddProxyPathParam} arg - Arg object
20
20
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
21
21
  * @param {import("../PlatformAPIClient").Options} - Options
22
- * @returns {Promise<PartnerPlatformModel.ExtensionProxyPathCreation>} -
23
- * Success response
22
+ * @returns {Promise<PartnerPlatformModel.AddProxyResponse>} - Success response
24
23
  * @name addProxyPath
25
24
  * @summary: Create extension proxy
26
25
  * @description: Extension proxy can be used to call extension API from storefront and make extension API integration seamless. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/addProxyPath/).
@@ -78,10 +77,10 @@ class Partner {
78
77
 
79
78
  const {
80
79
  error: res_error,
81
- } = PartnerPlatformModel.ExtensionProxyPathCreation().validate(
82
- responseData,
83
- { abortEarly: false, allowUnknown: true }
84
- );
80
+ } = PartnerPlatformModel.AddProxyResponse().validate(responseData, {
81
+ abortEarly: false,
82
+ allowUnknown: true,
83
+ });
85
84
 
86
85
  if (res_error) {
87
86
  if (this.config.options.strictResponseCheck === true) {
@@ -101,8 +100,7 @@ class Partner {
101
100
  * @param {PartnerPlatformApplicationValidator.RemoveProxyPathParam} arg - Arg object
102
101
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
103
102
  * @param {import("../PlatformAPIClient").Options} - Options
104
- * @returns {Promise<PartnerPlatformModel.ExtensionProxyPathDelete>} -
105
- * Success response
103
+ * @returns {Promise<PartnerPlatformModel.RemoveProxyResponse>} - Success response
106
104
  * @name removeProxyPath
107
105
  * @summary: Remove extension proxy
108
106
  * @description: Remove the proxy which are created earlier for the extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/partner/removeProxyPath/).
@@ -160,7 +158,7 @@ class Partner {
160
158
 
161
159
  const {
162
160
  error: res_error,
163
- } = PartnerPlatformModel.ExtensionProxyPathDelete().validate(responseData, {
161
+ } = PartnerPlatformModel.RemoveProxyResponse().validate(responseData, {
164
162
  abortEarly: false,
165
163
  allowUnknown: true,
166
164
  });
@@ -6,7 +6,7 @@ export = PartnerPlatformModel;
6
6
  * will be generated
7
7
  */
8
8
  /**
9
- * @typedef ExtensionProxyPathCreation
9
+ * @typedef AddProxyResponse
10
10
  * @property {string} [_id]
11
11
  * @property {string} [attached_path]
12
12
  * @property {string} [proxy_url]
@@ -17,7 +17,7 @@ export = PartnerPlatformModel;
17
17
  * @property {string} [modified_at]
18
18
  */
19
19
  /**
20
- * @typedef ExtensionProxyPathDelete
20
+ * @typedef RemoveProxyResponse
21
21
  * @property {string} [message]
22
22
  * @property {Object} [data]
23
23
  */
@@ -32,7 +32,7 @@ export = PartnerPlatformModel;
32
32
  declare class PartnerPlatformModel {
33
33
  }
34
34
  declare namespace PartnerPlatformModel {
35
- export { AddProxyReq, ExtensionProxyPathCreation, ExtensionProxyPathDelete, APIError };
35
+ export { AddProxyReq, AddProxyResponse, RemoveProxyResponse, APIError };
36
36
  }
37
37
  /** @returns {AddProxyReq} */
38
38
  declare function AddProxyReq(): AddProxyReq;
@@ -47,9 +47,9 @@ type AddProxyReq = {
47
47
  */
48
48
  proxy_url?: string;
49
49
  };
50
- /** @returns {ExtensionProxyPathCreation} */
51
- declare function ExtensionProxyPathCreation(): ExtensionProxyPathCreation;
52
- type ExtensionProxyPathCreation = {
50
+ /** @returns {AddProxyResponse} */
51
+ declare function AddProxyResponse(): AddProxyResponse;
52
+ type AddProxyResponse = {
53
53
  _id?: string;
54
54
  attached_path?: string;
55
55
  proxy_url?: string;
@@ -59,9 +59,9 @@ type ExtensionProxyPathCreation = {
59
59
  created_at?: string;
60
60
  modified_at?: string;
61
61
  };
62
- /** @returns {ExtensionProxyPathDelete} */
63
- declare function ExtensionProxyPathDelete(): ExtensionProxyPathDelete;
64
- type ExtensionProxyPathDelete = {
62
+ /** @returns {RemoveProxyResponse} */
63
+ declare function RemoveProxyResponse(): RemoveProxyResponse;
64
+ type RemoveProxyResponse = {
65
65
  message?: string;
66
66
  data?: any;
67
67
  };