@gofynd/fdk-client-javascript 1.4.13 → 1.4.14

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 (294) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
  28. package/sdk/application/Content/ContentApplicationModel.js +83 -32
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
  75. package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  93. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  94. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  95. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  96. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  97. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  98. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  99. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  100. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  101. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  102. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  103. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  104. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  105. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  106. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  107. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  108. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  109. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  110. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  111. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  112. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  113. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  114. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  115. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  116. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  117. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  118. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  120. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  129. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  130. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  131. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  132. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  133. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  134. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  135. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  136. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  137. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  138. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  139. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  140. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
  142. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
  143. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
  145. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
  146. package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
  147. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
  148. package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
  149. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  150. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  151. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  152. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  153. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  154. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  161. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  171. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  173. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  175. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  177. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  179. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  181. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  182. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  183. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  184. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  185. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  186. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  187. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  188. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  189. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  190. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  191. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  192. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  194. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  195. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  198. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  199. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  200. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  201. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  202. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
  212. package/sdk/platform/Order/OrderPlatformClient.js +589 -229
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
  214. package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
  216. package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  231. package/sdk/platform/PlatformClient.d.ts +0 -2
  232. package/sdk/platform/PlatformClient.js +0 -4
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  252. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  258. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  271. package/sdk/platform/index.d.ts +0 -1
  272. package/sdk/platform/index.js +0 -2
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  278. package/sdk/public/Content/ContentPublicClient.js +791 -5
  279. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  280. package/sdk/public/Content/ContentPublicModel.js +649 -3
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  282. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  290. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  291. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  292. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  293. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  294. 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
  });