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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +111 -1200
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
  20. package/sdk/application/Content/ContentApplicationClient.js +46 -990
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5046 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1979 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  137. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  167. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -5,7 +5,7 @@ export = FileStoragePlatformApplicationValidator;
5
5
  * files(products, orders, logistics etc), Required for validating the data of
6
6
  * the file being uploaded, decides where exactly the file will be stored
7
7
  * inside the storage bucket.
8
- * @property {FileStoragePlatformModel.StartResponse} body
8
+ * @property {FileStoragePlatformModel.FileUpload} body
9
9
  */
10
10
  /**
11
11
  * @typedef AppCopyFilesParam
@@ -18,7 +18,7 @@ export = FileStoragePlatformApplicationValidator;
18
18
  * files(products, orders, logistics etc), Required for validating the data of
19
19
  * the file being uploaded, decides where exactly the file will be stored
20
20
  * inside the storage bucket.
21
- * @property {FileStoragePlatformModel.StartRequest} body
21
+ * @property {FileStoragePlatformModel.FileUploadStart} body
22
22
  */
23
23
  /**
24
24
  * @typedef AppbrowseParam
@@ -41,15 +41,25 @@ export = FileStoragePlatformApplicationValidator;
41
41
  * @property {string} [search] - Search
42
42
  * @property {FileStoragePlatformModel.ExtensionSlug} body
43
43
  */
44
+ /**
45
+ * @typedef DeletePdfGeneratorConfigParam
46
+ * @property {string} id
47
+ */
48
+ /**
49
+ * @typedef FetchPdfDefaultTemplateByIdParam
50
+ * @property {string} id
51
+ */
52
+ /**
53
+ * @typedef FetchPdfTypeByIdParam
54
+ * @property {string} id
55
+ */
44
56
  /**
45
57
  * @typedef GeneratePaymentReceiptParam
46
58
  * @property {FileStoragePlatformModel.PaymentReceiptRequestBody} body
47
59
  */
48
60
  /**
49
- * @typedef GetDefaultHtmlTemplateParam
50
- * @property {number} pdfTypeId
51
- * @property {string} format
52
- * @property {string} [countryCode]
61
+ * @typedef GetConfigHtmlTemplateByIdParam
62
+ * @property {string} id
53
63
  */
54
64
  /**
55
65
  * @typedef GetDefaultPdfDataParam
@@ -62,9 +72,20 @@ export = FileStoragePlatformApplicationValidator;
62
72
  * @property {string} format
63
73
  * @property {string} [countryCode]
64
74
  */
75
+ /**
76
+ * @typedef GetHtmlTemplateConfigParam
77
+ * @property {number} pdfTypeId
78
+ * @property {string} format
79
+ * @property {string} [countryCode]
80
+ */
81
+ /**
82
+ * @typedef GetPdfPayloadByIdParam
83
+ * @property {string} id
84
+ */
65
85
  /**
66
86
  * @typedef GetPdfTypesParam
67
87
  * @property {string} [countryCode]
88
+ * @property {boolean} storeOs
68
89
  */
69
90
  /**
70
91
  * @typedef SaveHtmlTemplateParam
@@ -86,14 +107,24 @@ declare class FileStoragePlatformApplicationValidator {
86
107
  static appbrowse(): AppbrowseParam;
87
108
  /** @returns {BrowsefilesParam} */
88
109
  static browsefiles(): BrowsefilesParam;
110
+ /** @returns {DeletePdfGeneratorConfigParam} */
111
+ static deletePdfGeneratorConfig(): DeletePdfGeneratorConfigParam;
112
+ /** @returns {FetchPdfDefaultTemplateByIdParam} */
113
+ static fetchPdfDefaultTemplateById(): FetchPdfDefaultTemplateByIdParam;
114
+ /** @returns {FetchPdfTypeByIdParam} */
115
+ static fetchPdfTypeById(): FetchPdfTypeByIdParam;
89
116
  /** @returns {GeneratePaymentReceiptParam} */
90
117
  static generatePaymentReceipt(): GeneratePaymentReceiptParam;
91
- /** @returns {GetDefaultHtmlTemplateParam} */
92
- static getDefaultHtmlTemplate(): GetDefaultHtmlTemplateParam;
118
+ /** @returns {GetConfigHtmlTemplateByIdParam} */
119
+ static getConfigHtmlTemplateById(): GetConfigHtmlTemplateByIdParam;
93
120
  /** @returns {GetDefaultPdfDataParam} */
94
121
  static getDefaultPdfData(): GetDefaultPdfDataParam;
95
122
  /** @returns {GetDefaultPdfTemplateParam} */
96
123
  static getDefaultPdfTemplate(): GetDefaultPdfTemplateParam;
124
+ /** @returns {GetHtmlTemplateConfigParam} */
125
+ static getHtmlTemplateConfig(): GetHtmlTemplateConfigParam;
126
+ /** @returns {GetPdfPayloadByIdParam} */
127
+ static getPdfPayloadById(): GetPdfPayloadByIdParam;
97
128
  /** @returns {GetPdfTypesParam} */
98
129
  static getPdfTypes(): GetPdfTypesParam;
99
130
  /** @returns {SaveHtmlTemplateParam} */
@@ -102,7 +133,7 @@ declare class FileStoragePlatformApplicationValidator {
102
133
  static updateHtmlTemplate(): UpdateHtmlTemplateParam;
103
134
  }
104
135
  declare namespace FileStoragePlatformApplicationValidator {
105
- export { AppCompleteUploadParam, AppCopyFilesParam, AppStartUploadParam, AppbrowseParam, BrowsefilesParam, GeneratePaymentReceiptParam, GetDefaultHtmlTemplateParam, GetDefaultPdfDataParam, GetDefaultPdfTemplateParam, GetPdfTypesParam, SaveHtmlTemplateParam, UpdateHtmlTemplateParam };
136
+ export { AppCompleteUploadParam, AppCopyFilesParam, AppStartUploadParam, AppbrowseParam, BrowsefilesParam, DeletePdfGeneratorConfigParam, FetchPdfDefaultTemplateByIdParam, FetchPdfTypeByIdParam, GeneratePaymentReceiptParam, GetConfigHtmlTemplateByIdParam, GetDefaultPdfDataParam, GetDefaultPdfTemplateParam, GetHtmlTemplateConfigParam, GetPdfPayloadByIdParam, GetPdfTypesParam, SaveHtmlTemplateParam, UpdateHtmlTemplateParam };
106
137
  }
107
138
  type AppCompleteUploadParam = {
108
139
  /**
@@ -112,7 +143,7 @@ type AppCompleteUploadParam = {
112
143
  * inside the storage bucket.
113
144
  */
114
145
  namespace: string;
115
- body: FileStoragePlatformModel.StartResponse;
146
+ body: FileStoragePlatformModel.FileUpload;
116
147
  };
117
148
  type AppCopyFilesParam = {
118
149
  /**
@@ -129,7 +160,7 @@ type AppStartUploadParam = {
129
160
  * inside the storage bucket.
130
161
  */
131
162
  namespace: string;
132
- body: FileStoragePlatformModel.StartRequest;
163
+ body: FileStoragePlatformModel.FileUploadStart;
133
164
  };
134
165
  type AppbrowseParam = {
135
166
  /**
@@ -174,13 +205,20 @@ type BrowsefilesParam = {
174
205
  search?: string;
175
206
  body: FileStoragePlatformModel.ExtensionSlug;
176
207
  };
208
+ type DeletePdfGeneratorConfigParam = {
209
+ id: string;
210
+ };
211
+ type FetchPdfDefaultTemplateByIdParam = {
212
+ id: string;
213
+ };
214
+ type FetchPdfTypeByIdParam = {
215
+ id: string;
216
+ };
177
217
  type GeneratePaymentReceiptParam = {
178
218
  body: FileStoragePlatformModel.PaymentReceiptRequestBody;
179
219
  };
180
- type GetDefaultHtmlTemplateParam = {
181
- pdfTypeId: number;
182
- format: string;
183
- countryCode?: string;
220
+ type GetConfigHtmlTemplateByIdParam = {
221
+ id: string;
184
222
  };
185
223
  type GetDefaultPdfDataParam = {
186
224
  pdfTypeId: number;
@@ -191,8 +229,17 @@ type GetDefaultPdfTemplateParam = {
191
229
  format: string;
192
230
  countryCode?: string;
193
231
  };
232
+ type GetHtmlTemplateConfigParam = {
233
+ pdfTypeId: number;
234
+ format: string;
235
+ countryCode?: string;
236
+ };
237
+ type GetPdfPayloadByIdParam = {
238
+ id: string;
239
+ };
194
240
  type GetPdfTypesParam = {
195
241
  countryCode?: string;
242
+ storeOs: boolean;
196
243
  };
197
244
  type SaveHtmlTemplateParam = {
198
245
  body: FileStoragePlatformModel.PdfConfig;
@@ -8,7 +8,7 @@ const FileStoragePlatformModel = require("./FileStoragePlatformModel");
8
8
  * files(products, orders, logistics etc), Required for validating the data of
9
9
  * the file being uploaded, decides where exactly the file will be stored
10
10
  * inside the storage bucket.
11
- * @property {FileStoragePlatformModel.StartResponse} body
11
+ * @property {FileStoragePlatformModel.FileUpload} body
12
12
  */
13
13
 
14
14
  /**
@@ -23,7 +23,7 @@ const FileStoragePlatformModel = require("./FileStoragePlatformModel");
23
23
  * files(products, orders, logistics etc), Required for validating the data of
24
24
  * the file being uploaded, decides where exactly the file will be stored
25
25
  * inside the storage bucket.
26
- * @property {FileStoragePlatformModel.StartRequest} body
26
+ * @property {FileStoragePlatformModel.FileUploadStart} body
27
27
  */
28
28
 
29
29
  /**
@@ -49,16 +49,29 @@ const FileStoragePlatformModel = require("./FileStoragePlatformModel");
49
49
  * @property {FileStoragePlatformModel.ExtensionSlug} body
50
50
  */
51
51
 
52
+ /**
53
+ * @typedef DeletePdfGeneratorConfigParam
54
+ * @property {string} id
55
+ */
56
+
57
+ /**
58
+ * @typedef FetchPdfDefaultTemplateByIdParam
59
+ * @property {string} id
60
+ */
61
+
62
+ /**
63
+ * @typedef FetchPdfTypeByIdParam
64
+ * @property {string} id
65
+ */
66
+
52
67
  /**
53
68
  * @typedef GeneratePaymentReceiptParam
54
69
  * @property {FileStoragePlatformModel.PaymentReceiptRequestBody} body
55
70
  */
56
71
 
57
72
  /**
58
- * @typedef GetDefaultHtmlTemplateParam
59
- * @property {number} pdfTypeId
60
- * @property {string} format
61
- * @property {string} [countryCode]
73
+ * @typedef GetConfigHtmlTemplateByIdParam
74
+ * @property {string} id
62
75
  */
63
76
 
64
77
  /**
@@ -74,9 +87,22 @@ const FileStoragePlatformModel = require("./FileStoragePlatformModel");
74
87
  * @property {string} [countryCode]
75
88
  */
76
89
 
90
+ /**
91
+ * @typedef GetHtmlTemplateConfigParam
92
+ * @property {number} pdfTypeId
93
+ * @property {string} format
94
+ * @property {string} [countryCode]
95
+ */
96
+
97
+ /**
98
+ * @typedef GetPdfPayloadByIdParam
99
+ * @property {string} id
100
+ */
101
+
77
102
  /**
78
103
  * @typedef GetPdfTypesParam
79
104
  * @property {string} [countryCode]
105
+ * @property {boolean} storeOs
80
106
  */
81
107
 
82
108
  /**
@@ -96,7 +122,7 @@ class FileStoragePlatformApplicationValidator {
96
122
  return Joi.object({
97
123
  namespace: Joi.string().allow("").required(),
98
124
 
99
- body: FileStoragePlatformModel.StartResponse().required(),
125
+ body: FileStoragePlatformModel.FileUpload().required(),
100
126
  }).required();
101
127
  }
102
128
 
@@ -114,7 +140,7 @@ class FileStoragePlatformApplicationValidator {
114
140
  return Joi.object({
115
141
  namespace: Joi.string().allow("").required(),
116
142
 
117
- body: FileStoragePlatformModel.StartRequest().required(),
143
+ body: FileStoragePlatformModel.FileUploadStart().required(),
118
144
  }).required();
119
145
  }
120
146
 
@@ -141,6 +167,27 @@ class FileStoragePlatformApplicationValidator {
141
167
  }).required();
142
168
  }
143
169
 
170
+ /** @returns {DeletePdfGeneratorConfigParam} */
171
+ static deletePdfGeneratorConfig() {
172
+ return Joi.object({
173
+ id: Joi.string().allow("").required(),
174
+ }).required();
175
+ }
176
+
177
+ /** @returns {FetchPdfDefaultTemplateByIdParam} */
178
+ static fetchPdfDefaultTemplateById() {
179
+ return Joi.object({
180
+ id: Joi.string().allow("").required(),
181
+ }).required();
182
+ }
183
+
184
+ /** @returns {FetchPdfTypeByIdParam} */
185
+ static fetchPdfTypeById() {
186
+ return Joi.object({
187
+ id: Joi.string().allow("").required(),
188
+ }).required();
189
+ }
190
+
144
191
  /** @returns {GeneratePaymentReceiptParam} */
145
192
  static generatePaymentReceipt() {
146
193
  return Joi.object({
@@ -148,12 +195,10 @@ class FileStoragePlatformApplicationValidator {
148
195
  }).required();
149
196
  }
150
197
 
151
- /** @returns {GetDefaultHtmlTemplateParam} */
152
- static getDefaultHtmlTemplate() {
198
+ /** @returns {GetConfigHtmlTemplateByIdParam} */
199
+ static getConfigHtmlTemplateById() {
153
200
  return Joi.object({
154
- pdfTypeId: Joi.number().required(),
155
- format: Joi.string().allow("").required(),
156
- countryCode: Joi.string().allow(""),
201
+ id: Joi.string().allow("").required(),
157
202
  }).required();
158
203
  }
159
204
 
@@ -174,10 +219,27 @@ class FileStoragePlatformApplicationValidator {
174
219
  }).required();
175
220
  }
176
221
 
222
+ /** @returns {GetHtmlTemplateConfigParam} */
223
+ static getHtmlTemplateConfig() {
224
+ return Joi.object({
225
+ pdfTypeId: Joi.number().required(),
226
+ format: Joi.string().allow("").required(),
227
+ countryCode: Joi.string().allow(""),
228
+ }).required();
229
+ }
230
+
231
+ /** @returns {GetPdfPayloadByIdParam} */
232
+ static getPdfPayloadById() {
233
+ return Joi.object({
234
+ id: Joi.string().allow("").required(),
235
+ }).required();
236
+ }
237
+
177
238
  /** @returns {GetPdfTypesParam} */
178
239
  static getPdfTypes() {
179
240
  return Joi.object({
180
241
  countryCode: Joi.string().allow(""),
242
+ storeOs: Joi.boolean().required(),
181
243
  }).required();
182
244
  }
183
245
 
@@ -8,7 +8,7 @@ declare class FileStorage {
8
8
  * @param {import("../PlatformAPIClient").Options} - Options
9
9
  * @returns {Promise<Object>} - Success response
10
10
  * @name browse
11
- * @summary: Browse files
11
+ * @summary: Browse files.
12
12
  * @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browse/).
13
13
  */
14
14
  browse({ namespace, page, limit, requestHeaders }?: FileStoragePlatformValidator.BrowseParam, { responseHeaders }?: object): Promise<any>;
@@ -16,52 +16,52 @@ declare class FileStorage {
16
16
  * @param {FileStoragePlatformValidator.CompleteUploadParam} arg - Arg object
17
17
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
18
18
  * @param {import("../PlatformAPIClient").Options} - Options
19
- * @returns {Promise<FileStoragePlatformModel.CompleteResponse>} - Success response
19
+ * @returns {Promise<FileStoragePlatformModel.FileUploadComplete>} - Success response
20
20
  * @name completeUpload
21
- * @summary: Complete file upload
22
- * @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database at platform level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/completeUpload/).
21
+ * @summary: Complete file upload.
22
+ * @description: Starts the process of uploading a file to storage location, and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/completeUpload/).
23
23
  */
24
- completeUpload({ namespace, body, requestHeaders }?: FileStoragePlatformValidator.CompleteUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.CompleteResponse>;
24
+ completeUpload({ namespace, body, requestHeaders }?: FileStoragePlatformValidator.CompleteUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.FileUploadComplete>;
25
25
  /**
26
26
  * @param {FileStoragePlatformValidator.CopyFilesParam} arg - Arg object
27
27
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
28
28
  * @param {import("../PlatformAPIClient").Options} - Options
29
29
  * @returns {Promise<Object>} - Success response
30
30
  * @name copyFiles
31
- * @summary: Copy files
32
- * @description: Handle multiple file uploads, updating progress and providing detailed status reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/copyFiles/).
31
+ * @summary: Copy files.
32
+ * @description: Duplicate files to another location. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/copyFiles/).
33
33
  */
34
34
  copyFiles({ body, sync, requestHeaders }?: FileStoragePlatformValidator.CopyFilesParam, { responseHeaders }?: object): Promise<any>;
35
35
  /**
36
36
  * @param {FileStoragePlatformValidator.GetSignUrlsParam} arg - Arg object
37
37
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
38
38
  * @param {import("../PlatformAPIClient").Options} - Options
39
- * @returns {Promise<FileStoragePlatformModel.SignUrlResponse>} - Success response
39
+ * @returns {Promise<FileStoragePlatformModel.SignUrlResult>} - Success response
40
40
  * @name getSignUrls
41
- * @summary: Get signed URLs
42
- * @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored resources inside private bucket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getSignUrls/).
41
+ * @summary: Get signed URLs.
42
+ * @description: Retrieve signed URLs for file access. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getSignUrls/).
43
43
  */
44
- getSignUrls({ body, requestHeaders }?: FileStoragePlatformValidator.GetSignUrlsParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.SignUrlResponse>;
44
+ getSignUrls({ body, requestHeaders }?: FileStoragePlatformValidator.GetSignUrlsParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.SignUrlResult>;
45
45
  /**
46
46
  * @param {FileStoragePlatformValidator.ProxyParam} arg - Arg object
47
47
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
48
48
  * @param {import("../PlatformAPIClient").Options} - Options
49
- * @returns {Promise<FileStoragePlatformModel.ProxyResponse>} - Success response
49
+ * @returns {Promise<FileStoragePlatformModel.ProxyFileAccess>} - Success response
50
50
  * @name proxy
51
- * @summary: Access files through a proxy
52
- * @description: It enables the communication between two entities by directing client requests to the correct server and sending responses back to the client. Please refer group description for more details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/proxy/).
51
+ * @summary: Proxy file access.
52
+ * @description: Access files through a proxy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/proxy/).
53
53
  */
54
- proxy({ url, requestHeaders }?: FileStoragePlatformValidator.ProxyParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.ProxyResponse>;
54
+ proxy({ url, requestHeaders }?: FileStoragePlatformValidator.ProxyParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.ProxyFileAccess>;
55
55
  /**
56
56
  * @param {FileStoragePlatformValidator.StartUploadParam} arg - Arg object
57
57
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
58
58
  * @param {import("../PlatformAPIClient").Options} - Options
59
- * @returns {Promise<FileStoragePlatformModel.StartResponse>} - Success response
59
+ * @returns {Promise<FileStoragePlatformModel.FileUpload>} - Success response
60
60
  * @name startUpload
61
- * @summary: Start file upload
62
- * @description: Inititates the process of uploading a file to storage location, and returns a storage link in response at platform level. Please refer group description for more details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/startUpload/).
61
+ * @summary: Start file upload.
62
+ * @description: Inititates the process of uploading a file to storage location, and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/startUpload/).
63
63
  */
64
- startUpload({ namespace, body, requestHeaders }?: FileStoragePlatformValidator.StartUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.StartResponse>;
64
+ startUpload({ namespace, body, requestHeaders }?: FileStoragePlatformValidator.StartUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.FileUpload>;
65
65
  /**
66
66
  * @param data
67
67
  * @param {string} file_name
@@ -22,7 +22,7 @@ class FileStorage {
22
22
  * @param {import("../PlatformAPIClient").Options} - Options
23
23
  * @returns {Promise<Object>} - Success response
24
24
  * @name browse
25
- * @summary: Browse files
25
+ * @summary: Browse files.
26
26
  * @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browse/).
27
27
  */
28
28
  async browse(
@@ -103,10 +103,10 @@ class FileStorage {
103
103
  * @param {FileStoragePlatformValidator.CompleteUploadParam} arg - Arg object
104
104
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
105
105
  * @param {import("../PlatformAPIClient").Options} - Options
106
- * @returns {Promise<FileStoragePlatformModel.CompleteResponse>} - Success response
106
+ * @returns {Promise<FileStoragePlatformModel.FileUploadComplete>} - Success response
107
107
  * @name completeUpload
108
- * @summary: Complete file upload
109
- * @description: Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database at platform level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/completeUpload/).
108
+ * @summary: Complete file upload.
109
+ * @description: Starts the process of uploading a file to storage location, and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/completeUpload/).
110
110
  */
111
111
  async completeUpload(
112
112
  { namespace, body, requestHeaders } = { requestHeaders: {} },
@@ -149,7 +149,7 @@ class FileStorage {
149
149
  const response = await PlatformAPIClient.execute(
150
150
  this.config,
151
151
  "post",
152
- `/service/platform/assets/v1.0/company/${this.config.companyId}/namespaces/${namespace}/upload/complete`,
152
+ `/service/platform/assets/v2.0/company/${this.config.companyId}/namespaces/${namespace}/upload/complete`,
153
153
  query_params,
154
154
  body,
155
155
  { ...xHeaders, ...requestHeaders },
@@ -163,7 +163,7 @@ class FileStorage {
163
163
 
164
164
  const {
165
165
  error: res_error,
166
- } = FileStoragePlatformModel.CompleteResponse().validate(responseData, {
166
+ } = FileStoragePlatformModel.FileUploadComplete().validate(responseData, {
167
167
  abortEarly: false,
168
168
  allowUnknown: true,
169
169
  });
@@ -188,8 +188,8 @@ class FileStorage {
188
188
  * @param {import("../PlatformAPIClient").Options} - Options
189
189
  * @returns {Promise<Object>} - Success response
190
190
  * @name copyFiles
191
- * @summary: Copy files
192
- * @description: Handle multiple file uploads, updating progress and providing detailed status reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/copyFiles/).
191
+ * @summary: Copy files.
192
+ * @description: Duplicate files to another location. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/copyFiles/).
193
193
  */
194
194
  async copyFiles(
195
195
  { body, sync, requestHeaders } = { requestHeaders: {} },
@@ -266,10 +266,10 @@ class FileStorage {
266
266
  * @param {FileStoragePlatformValidator.GetSignUrlsParam} arg - Arg object
267
267
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
268
268
  * @param {import("../PlatformAPIClient").Options} - Options
269
- * @returns {Promise<FileStoragePlatformModel.SignUrlResponse>} - Success response
269
+ * @returns {Promise<FileStoragePlatformModel.SignUrlResult>} - Success response
270
270
  * @name getSignUrls
271
- * @summary: Get signed URLs
272
- * @description: Generates secure, signed URLs that is valid for certain expiry time for accessing stored resources inside private bucket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getSignUrls/).
271
+ * @summary: Get signed URLs.
272
+ * @description: Retrieve signed URLs for file access. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getSignUrls/).
273
273
  */
274
274
  async getSignUrls(
275
275
  { body, requestHeaders } = { requestHeaders: {} },
@@ -322,7 +322,7 @@ class FileStorage {
322
322
 
323
323
  const {
324
324
  error: res_error,
325
- } = FileStoragePlatformModel.SignUrlResponse().validate(responseData, {
325
+ } = FileStoragePlatformModel.SignUrlResult().validate(responseData, {
326
326
  abortEarly: false,
327
327
  allowUnknown: true,
328
328
  });
@@ -345,10 +345,10 @@ class FileStorage {
345
345
  * @param {FileStoragePlatformValidator.ProxyParam} arg - Arg object
346
346
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
347
347
  * @param {import("../PlatformAPIClient").Options} - Options
348
- * @returns {Promise<FileStoragePlatformModel.ProxyResponse>} - Success response
348
+ * @returns {Promise<FileStoragePlatformModel.ProxyFileAccess>} - Success response
349
349
  * @name proxy
350
- * @summary: Access files through a proxy
351
- * @description: It enables the communication between two entities by directing client requests to the correct server and sending responses back to the client. Please refer group description for more details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/proxy/).
350
+ * @summary: Proxy file access.
351
+ * @description: Access files through a proxy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/proxy/).
352
352
  */
353
353
  async proxy(
354
354
  { url, requestHeaders } = { requestHeaders: {} },
@@ -400,7 +400,7 @@ class FileStorage {
400
400
 
401
401
  const {
402
402
  error: res_error,
403
- } = FileStoragePlatformModel.ProxyResponse().validate(responseData, {
403
+ } = FileStoragePlatformModel.ProxyFileAccess().validate(responseData, {
404
404
  abortEarly: false,
405
405
  allowUnknown: true,
406
406
  });
@@ -423,10 +423,10 @@ class FileStorage {
423
423
  * @param {FileStoragePlatformValidator.StartUploadParam} arg - Arg object
424
424
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
425
425
  * @param {import("../PlatformAPIClient").Options} - Options
426
- * @returns {Promise<FileStoragePlatformModel.StartResponse>} - Success response
426
+ * @returns {Promise<FileStoragePlatformModel.FileUpload>} - Success response
427
427
  * @name startUpload
428
- * @summary: Start file upload
429
- * @description: Inititates the process of uploading a file to storage location, and returns a storage link in response at platform level. Please refer group description for more details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/startUpload/).
428
+ * @summary: Start file upload.
429
+ * @description: Inititates the process of uploading a file to storage location, and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/startUpload/).
430
430
  */
431
431
  async startUpload(
432
432
  { namespace, body, requestHeaders } = { requestHeaders: {} },
@@ -469,7 +469,7 @@ class FileStorage {
469
469
  const response = await PlatformAPIClient.execute(
470
470
  this.config,
471
471
  "post",
472
- `/service/platform/assets/v1.0/company/${this.config.companyId}/namespaces/${namespace}/upload/start`,
472
+ `/service/platform/assets/v2.0/company/${this.config.companyId}/namespaces/${namespace}/upload/start`,
473
473
  query_params,
474
474
  body,
475
475
  { ...xHeaders, ...requestHeaders },
@@ -483,7 +483,7 @@ class FileStorage {
483
483
 
484
484
  const {
485
485
  error: res_error,
486
- } = FileStoragePlatformModel.StartResponse().validate(responseData, {
486
+ } = FileStoragePlatformModel.FileUpload().validate(responseData, {
487
487
  abortEarly: false,
488
488
  allowUnknown: true,
489
489
  });