@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
@@ -97,7 +97,7 @@ export = DiscountPlatformModel;
97
97
  * @property {DiscountItems[]} items
98
98
  */
99
99
  /**
100
- * @typedef FileJobResponse
100
+ * @typedef FileJobResponseSchema
101
101
  * @property {string} stage
102
102
  * @property {number} total
103
103
  * @property {number} failed
@@ -115,7 +115,7 @@ export = DiscountPlatformModel;
115
115
  * @property {UserDetails} [created_by]
116
116
  */
117
117
  /**
118
- * @typedef FileJobRequest
118
+ * @typedef FileJobRequestSchema
119
119
  * @property {string} name
120
120
  * @property {boolean} is_active
121
121
  * @property {number} company_id
@@ -135,7 +135,7 @@ export = DiscountPlatformModel;
135
135
  * @property {number[]} [store_ids]
136
136
  */
137
137
  /**
138
- * @typedef CancelJobResponse
138
+ * @typedef CancelJobResponseSchema
139
139
  * @property {boolean} success
140
140
  */
141
141
  /**
@@ -170,7 +170,7 @@ export = DiscountPlatformModel;
170
170
  declare class DiscountPlatformModel {
171
171
  }
172
172
  declare namespace DiscountPlatformModel {
173
- export { ValidityObject, CreateUpdateDiscount, DiscountMeta, DiscountJob, FileJobBody, ListOrCalender, DiscountItems, BulkDiscount, FileJobResponse, FileJobRequest, DownloadFileJob, CancelJobResponse, Page, UserDetails, BadRequestObject, BadRequestData, BadRequestObjectGet };
173
+ export { ValidityObject, CreateUpdateDiscount, DiscountMeta, DiscountJob, FileJobBody, ListOrCalender, DiscountItems, BulkDiscount, FileJobResponseSchema, FileJobRequestSchema, DownloadFileJob, CancelJobResponseSchema, Page, UserDetails, BadRequestObject, BadRequestData, BadRequestObjectGet };
174
174
  }
175
175
  /** @returns {ValidityObject} */
176
176
  declare function ValidityObject(): ValidityObject;
@@ -286,9 +286,9 @@ type BulkDiscount = {
286
286
  company_id: number;
287
287
  items: DiscountItems[];
288
288
  };
289
- /** @returns {FileJobResponse} */
290
- declare function FileJobResponse(): FileJobResponse;
291
- type FileJobResponse = {
289
+ /** @returns {FileJobResponseSchema} */
290
+ declare function FileJobResponseSchema(): FileJobResponseSchema;
291
+ type FileJobResponseSchema = {
292
292
  stage: string;
293
293
  total: number;
294
294
  failed: number;
@@ -308,9 +308,9 @@ type FileJobResponse = {
308
308
  modified_on?: string;
309
309
  created_by?: UserDetails;
310
310
  };
311
- /** @returns {FileJobRequest} */
312
- declare function FileJobRequest(): FileJobRequest;
313
- type FileJobRequest = {
311
+ /** @returns {FileJobRequestSchema} */
312
+ declare function FileJobRequestSchema(): FileJobRequestSchema;
313
+ type FileJobRequestSchema = {
314
314
  name: string;
315
315
  is_active: boolean;
316
316
  company_id: number;
@@ -330,9 +330,9 @@ type DownloadFileJob = {
330
330
  brand_ids?: number[];
331
331
  store_ids?: number[];
332
332
  };
333
- /** @returns {CancelJobResponse} */
334
- declare function CancelJobResponse(): CancelJobResponse;
335
- type CancelJobResponse = {
333
+ /** @returns {CancelJobResponseSchema} */
334
+ declare function CancelJobResponseSchema(): CancelJobResponseSchema;
335
+ type CancelJobResponseSchema = {
336
336
  success: boolean;
337
337
  };
338
338
  /** @returns {Page} */
@@ -106,7 +106,7 @@ const Joi = require("joi");
106
106
  */
107
107
 
108
108
  /**
109
- * @typedef FileJobResponse
109
+ * @typedef FileJobResponseSchema
110
110
  * @property {string} stage
111
111
  * @property {number} total
112
112
  * @property {number} failed
@@ -125,7 +125,7 @@ const Joi = require("joi");
125
125
  */
126
126
 
127
127
  /**
128
- * @typedef FileJobRequest
128
+ * @typedef FileJobRequestSchema
129
129
  * @property {string} name
130
130
  * @property {boolean} is_active
131
131
  * @property {number} company_id
@@ -147,7 +147,7 @@ const Joi = require("joi");
147
147
  */
148
148
 
149
149
  /**
150
- * @typedef CancelJobResponse
150
+ * @typedef CancelJobResponseSchema
151
151
  * @property {boolean} success
152
152
  */
153
153
 
@@ -246,7 +246,7 @@ class DiscountPlatformModel {
246
246
  modified_on: Joi.string().allow("").required(),
247
247
  created_by: DiscountPlatformModel.UserDetails().required(),
248
248
  modified_by: DiscountPlatformModel.UserDetails().required(),
249
- meta: Joi.any(),
249
+ meta: Joi.object().pattern(/\S/, Joi.any()),
250
250
  });
251
251
  }
252
252
 
@@ -272,7 +272,7 @@ class DiscountPlatformModel {
272
272
  modified_on: Joi.string().allow(""),
273
273
  created_by: DiscountPlatformModel.UserDetails(),
274
274
  modified_by: DiscountPlatformModel.UserDetails(),
275
- meta: Joi.any(),
275
+ meta: Joi.object().pattern(/\S/, Joi.any()),
276
276
  });
277
277
  }
278
278
 
@@ -306,8 +306,8 @@ class DiscountPlatformModel {
306
306
  });
307
307
  }
308
308
 
309
- /** @returns {FileJobResponse} */
310
- static FileJobResponse() {
309
+ /** @returns {FileJobResponseSchema} */
310
+ static FileJobResponseSchema() {
311
311
  return Joi.object({
312
312
  stage: Joi.string().allow("").required(),
313
313
  total: Joi.number().required(),
@@ -327,8 +327,8 @@ class DiscountPlatformModel {
327
327
  });
328
328
  }
329
329
 
330
- /** @returns {FileJobRequest} */
331
- static FileJobRequest() {
330
+ /** @returns {FileJobRequestSchema} */
331
+ static FileJobRequestSchema() {
332
332
  return Joi.object({
333
333
  name: Joi.string().allow("").required(),
334
334
  is_active: Joi.boolean().required(),
@@ -341,7 +341,7 @@ class DiscountPlatformModel {
341
341
  brand_ids: Joi.array().items(Joi.number()),
342
342
  store_ids: Joi.array().items(Joi.number()),
343
343
  validity: DiscountPlatformModel.ValidityObject().required(),
344
- meta: Joi.any(),
344
+ meta: Joi.object().pattern(/\S/, Joi.any()),
345
345
  });
346
346
  }
347
347
 
@@ -353,8 +353,8 @@ class DiscountPlatformModel {
353
353
  });
354
354
  }
355
355
 
356
- /** @returns {CancelJobResponse} */
357
- static CancelJobResponse() {
356
+ /** @returns {CancelJobResponseSchema} */
357
+ static CancelJobResponseSchema() {
358
358
  return Joi.object({
359
359
  success: Joi.boolean().required(),
360
360
  });
@@ -54,7 +54,7 @@ export = DiscountPlatformValidator;
54
54
  /**
55
55
  * @typedef ValidateDiscountFileParam
56
56
  * @property {string} [discount] - Discount
57
- * @property {DiscountPlatformModel.FileJobRequest} body
57
+ * @property {DiscountPlatformModel.FileJobRequestSchema} body
58
58
  */
59
59
  declare class DiscountPlatformValidator {
60
60
  /** @returns {CancelDownloadJobParam} */
@@ -181,6 +181,6 @@ type ValidateDiscountFileParam = {
181
181
  * - Discount
182
182
  */
183
183
  discount?: string;
184
- body: DiscountPlatformModel.FileJobRequest;
184
+ body: DiscountPlatformModel.FileJobRequestSchema;
185
185
  };
186
186
  import DiscountPlatformModel = require("./DiscountPlatformModel");
@@ -67,7 +67,7 @@ const DiscountPlatformModel = require("./DiscountPlatformModel");
67
67
  /**
68
68
  * @typedef ValidateDiscountFileParam
69
69
  * @property {string} [discount] - Discount
70
- * @property {DiscountPlatformModel.FileJobRequest} body
70
+ * @property {DiscountPlatformModel.FileJobRequestSchema} body
71
71
  */
72
72
 
73
73
  class DiscountPlatformValidator {
@@ -156,7 +156,7 @@ class DiscountPlatformValidator {
156
156
  static validateDiscountFile() {
157
157
  return Joi.object({
158
158
  discount: Joi.string().allow(""),
159
- body: DiscountPlatformModel.FileJobRequest().required(),
159
+ body: DiscountPlatformModel.FileJobRequestSchema().required(),
160
160
  }).required();
161
161
  }
162
162
  }
@@ -9,20 +9,20 @@ declare class FileStorage {
9
9
  *
10
10
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
11
11
  * @param {import("../PlatformAPIClient").Options} - Options
12
- * @returns {Promise<FileStoragePlatformModel.CompleteResponse>} - Success response
12
+ * @returns {Promise<FileStoragePlatformModel.FileUploadComplete>} - Success response
13
13
  * @name appCompleteUpload
14
- * @summary: Complete file upload for Application
15
- * @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 on platform at application level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appCompleteUpload/).
14
+ * @summary: Application complete upload.
15
+ * @description: Finish uploading a file from an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appCompleteUpload/).
16
16
  */
17
- appCompleteUpload({ namespace, body, requestHeaders }?: FileStoragePlatformApplicationValidator.AppCompleteUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.CompleteResponse>;
17
+ appCompleteUpload({ namespace, body, requestHeaders }?: FileStoragePlatformApplicationValidator.AppCompleteUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.FileUploadComplete>;
18
18
  /**
19
19
  * @param {FileStoragePlatformApplicationValidator.AppCopyFilesParam} arg - Arg object
20
20
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
21
21
  * @param {import("../PlatformAPIClient").Options} - Options
22
22
  * @returns {Promise<Object>} - Success response
23
23
  * @name appCopyFiles
24
- * @summary: Copy files for Application
25
- * @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/appCopyFiles/).
24
+ * @summary: Application copy files.
25
+ * @description: Copy files from an application to another location. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appCopyFiles/).
26
26
  */
27
27
  appCopyFiles({ body, sync, requestHeaders }?: FileStoragePlatformApplicationValidator.AppCopyFilesParam, { responseHeaders }?: object): Promise<any>;
28
28
  /**
@@ -31,20 +31,20 @@ declare class FileStorage {
31
31
  *
32
32
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
33
33
  * @param {import("../PlatformAPIClient").Options} - Options
34
- * @returns {Promise<FileStoragePlatformModel.StartResponse>} - Success response
34
+ * @returns {Promise<FileStoragePlatformModel.FileUpload>} - Success response
35
35
  * @name appStartUpload
36
- * @summary: Initiates file upload for Application
37
- * @description: Inititates the process of uploading a file to storage location, and returns a storage link in response on platofrm at application level. Please refer group description for more details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appStartUpload/).
36
+ * @summary: Application start upload.
37
+ * @description: Start uploading a file from an application and returns a storage link in response. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appStartUpload/).
38
38
  */
39
- appStartUpload({ namespace, body, requestHeaders }?: FileStoragePlatformApplicationValidator.AppStartUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.StartResponse>;
39
+ appStartUpload({ namespace, body, requestHeaders }?: FileStoragePlatformApplicationValidator.AppStartUploadParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.FileUpload>;
40
40
  /**
41
41
  * @param {FileStoragePlatformApplicationValidator.AppbrowseParam} arg - Arg object
42
42
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
43
43
  * @param {import("../PlatformAPIClient").Options} - Options
44
44
  * @returns {Promise<Object>} - Success response
45
45
  * @name appbrowse
46
- * @summary: Browse files for Application
47
- * @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appbrowse/).
46
+ * @summary: Application browse files.
47
+ * @description: Browse files within an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/appbrowse/).
48
48
  */
49
49
  appbrowse({ namespace, page, limit, search, requestHeaders }?: FileStoragePlatformApplicationValidator.AppbrowseParam, { responseHeaders }?: object): Promise<any>;
50
50
  /**
@@ -53,10 +53,47 @@ declare class FileStorage {
53
53
  * @param {import("../PlatformAPIClient").Options} - Options
54
54
  * @returns {Promise<Object>} - Success response
55
55
  * @name browsefiles
56
- * @summary: Browse files for Application
57
- * @description: View and navigate through available files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browsefiles/).
56
+ * @summary: Browse Files
57
+ * @description: Browse Files - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/browsefiles/).
58
58
  */
59
59
  browsefiles({ namespace, body, page, limit, search, requestHeaders }?: FileStoragePlatformApplicationValidator.BrowsefilesParam, { responseHeaders }?: object): Promise<any>;
60
+ /**
61
+ * @param {FileStoragePlatformApplicationValidator.DeletePdfGeneratorConfigParam} arg
62
+ * - Arg object
63
+ *
64
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
65
+ * @param {import("../PlatformAPIClient").Options} - Options
66
+ * @returns {Promise<Object>} - Success response
67
+ * @name deletePdfGeneratorConfig
68
+ * @summary: Delete a PDF generator configuration
69
+ * @description: Deletes a specific PDF generator configuration based on the provided id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/deletePdfGeneratorConfig/).
70
+ */
71
+ deletePdfGeneratorConfig({ id, requestHeaders }?: FileStoragePlatformApplicationValidator.DeletePdfGeneratorConfigParam, { responseHeaders }?: object): Promise<any>;
72
+ /**
73
+ * @param {FileStoragePlatformApplicationValidator.FetchPdfDefaultTemplateByIdParam} arg
74
+ * - Arg object
75
+ *
76
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
77
+ * @param {import("../PlatformAPIClient").Options} - Options
78
+ * @returns {Promise<FileStoragePlatformModel.PdfDefaultTemplateById>} -
79
+ * Success response
80
+ * @name fetchPdfDefaultTemplateById
81
+ * @summary: get default html template for invoice or label
82
+ * @description: get default html template for invoice such as Invoice, Label, Deliver challan - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/fetchPdfDefaultTemplateById/).
83
+ */
84
+ fetchPdfDefaultTemplateById({ id, requestHeaders }?: FileStoragePlatformApplicationValidator.FetchPdfDefaultTemplateByIdParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfDefaultTemplateById>;
85
+ /**
86
+ * @param {FileStoragePlatformApplicationValidator.FetchPdfTypeByIdParam} arg
87
+ * - Arg object
88
+ *
89
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
90
+ * @param {import("../PlatformAPIClient").Options} - Options
91
+ * @returns {Promise<FileStoragePlatformModel.PdfTypeByIdDetails>} - Success response
92
+ * @name fetchPdfTypeById
93
+ * @summary: Get the pdf types of by id
94
+ * @description: Get the pdf types of PDF formats for filter - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/fetchPdfTypeById/).
95
+ */
96
+ fetchPdfTypeById({ id, requestHeaders }?: FileStoragePlatformApplicationValidator.FetchPdfTypeByIdParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfTypeByIdDetails>;
60
97
  /**
61
98
  * @param {FileStoragePlatformApplicationValidator.GeneratePaymentReceiptParam} arg
62
99
  * - Arg object
@@ -65,36 +102,34 @@ declare class FileStorage {
65
102
  * @param {import("../PlatformAPIClient").Options} - Options
66
103
  * @returns {Promise<Object>} - Success response
67
104
  * @name generatePaymentReceipt
68
- * @summary: Generate payment receipt
105
+ * @summary: Generate payment receipt.
69
106
  * @description: Generate Payment Receipt for Jiomart Digital - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/generatePaymentReceipt/).
70
107
  */
71
108
  generatePaymentReceipt({ body, requestHeaders }?: FileStoragePlatformApplicationValidator.GeneratePaymentReceiptParam, { responseHeaders }?: object): Promise<any>;
72
109
  /**
73
- * @param {FileStoragePlatformApplicationValidator.GetDefaultHtmlTemplateParam} arg
110
+ * @param {FileStoragePlatformApplicationValidator.GetConfigHtmlTemplateByIdParam} arg
74
111
  * - Arg object
75
112
  *
76
113
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
77
114
  * @param {import("../PlatformAPIClient").Options} - Options
78
- * @returns {Promise<FileStoragePlatformModel.PdfConfigSuccess>} - Success response
79
- * @name getDefaultHtmlTemplate
80
- * @summary: Get html template for Application
81
- * @description: Get the saved html template for provided sales channel
82
- * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultHtmlTemplate/).
115
+ * @returns {Promise<Object>} - Success response
116
+ * @name getConfigHtmlTemplateById
117
+ * @summary: Update html template for invoice or label
118
+ * @description: Update html template for invoice such as Invoice, Label, Deliver challan - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getConfigHtmlTemplateById/).
83
119
  */
84
- getDefaultHtmlTemplate({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultHtmlTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSuccess>;
120
+ getConfigHtmlTemplateById({ id, requestHeaders }?: FileStoragePlatformApplicationValidator.GetConfigHtmlTemplateByIdParam, { responseHeaders }?: object): Promise<any>;
85
121
  /**
86
122
  * @param {FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam} arg
87
123
  * - Arg object
88
124
  *
89
125
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
90
126
  * @param {import("../PlatformAPIClient").Options} - Options
91
- * @returns {Promise<FileStoragePlatformModel.DummyTemplateDataItems>} -
92
- * Success response
127
+ * @returns {Promise<FileStoragePlatformModel.PdfDataItemsDetails>} - Success response
93
128
  * @name getDefaultPdfData
94
- * @summary: Get default PDF data
95
- * @description: Retrieve default pdf payload data for invoice generation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfData/).
129
+ * @summary: Get default PDF data.
130
+ * @description: Retrieve default data for PDF generation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfData/).
96
131
  */
97
- getDefaultPdfData({ pdfTypeId, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.DummyTemplateDataItems>;
132
+ getDefaultPdfData({ pdfTypeId, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfDataParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfDataItemsDetails>;
98
133
  /**
99
134
  * @param {FileStoragePlatformApplicationValidator.GetDefaultPdfTemplateParam} arg
100
135
  * - Arg object
@@ -104,21 +139,44 @@ declare class FileStorage {
104
139
  * @returns {Promise<FileStoragePlatformModel.PdfDefaultTemplateSuccess>} -
105
140
  * Success response
106
141
  * @name getDefaultPdfTemplate
107
- * @summary: Get default PDF template
108
- * @description: Retrieve to get the default Invoice template. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfTemplate/).
142
+ * @summary: Get default PDF template.
143
+ * @description: Retrieve the default PDF template. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getDefaultPdfTemplate/).
109
144
  */
110
145
  getDefaultPdfTemplate({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetDefaultPdfTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfDefaultTemplateSuccess>;
146
+ /**
147
+ * @param {FileStoragePlatformApplicationValidator.GetHtmlTemplateConfigParam} arg
148
+ * - Arg object
149
+ *
150
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
151
+ * @param {import("../PlatformAPIClient").Options} - Options
152
+ * @returns {Promise<FileStoragePlatformModel.PdfConfigSuccess>} - Success response
153
+ * @name getHtmlTemplateConfig
154
+ * @summary: Get html template for sales channel
155
+ * @description: Get default html template for invoice or label - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getHtmlTemplateConfig/).
156
+ */
157
+ getHtmlTemplateConfig({ pdfTypeId, format, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetHtmlTemplateConfigParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSuccess>;
158
+ /**
159
+ * @param {FileStoragePlatformApplicationValidator.GetPdfPayloadByIdParam} arg
160
+ * - Arg object
161
+ *
162
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
163
+ * @param {import("../PlatformAPIClient").Options} - Options
164
+ * @returns {Promise<FileStoragePlatformModel.MapperDetails>} - Success response
165
+ * @name getPdfPayloadById
166
+ * @summary: Get default PDF data.
167
+ * @description: Retrieve default data for PDF generation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getPdfPayloadById/).
168
+ */
169
+ getPdfPayloadById({ id, requestHeaders }?: FileStoragePlatformApplicationValidator.GetPdfPayloadByIdParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.MapperDetails>;
111
170
  /**
112
171
  * @param {FileStoragePlatformApplicationValidator.GetPdfTypesParam} arg - Arg object
113
172
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
114
173
  * @param {import("../PlatformAPIClient").Options} - Options
115
- * @returns {Promise<FileStoragePlatformModel.InvoiceTypesResponse>} -
116
- * Success response
174
+ * @returns {Promise<FileStoragePlatformModel.InvoiceTypes>} - Success response
117
175
  * @name getPdfTypes
118
- * @summary: Get PDF types
119
- * @description: Retrieve a list of available invoice types. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getPdfTypes/).
176
+ * @summary: Get all the supported invoice pdf types
177
+ * @description: Get all the supported invoice pdf types such as Invoice, Label, Delivery challan - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/getPdfTypes/).
120
178
  */
121
- getPdfTypes({ countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetPdfTypesParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.InvoiceTypesResponse>;
179
+ getPdfTypes({ storeOs, countryCode, requestHeaders }?: FileStoragePlatformApplicationValidator.GetPdfTypesParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.InvoiceTypes>;
122
180
  /**
123
181
  * @param {FileStoragePlatformApplicationValidator.SaveHtmlTemplateParam} arg
124
182
  * - Arg object
@@ -128,8 +186,8 @@ declare class FileStorage {
128
186
  * @returns {Promise<FileStoragePlatformModel.PdfConfigSaveSuccess>} -
129
187
  * Success response
130
188
  * @name saveHtmlTemplate
131
- * @summary: Save PDF template
132
- * @description: Save html template for provided sales channel - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/saveHtmlTemplate/).
189
+ * @summary: Save HTML template.
190
+ * @description: Store an HTML template. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/filestorage/saveHtmlTemplate/).
133
191
  */
134
192
  saveHtmlTemplate({ body, requestHeaders }?: FileStoragePlatformApplicationValidator.SaveHtmlTemplateParam, { responseHeaders }?: object): Promise<FileStoragePlatformModel.PdfConfigSaveSuccess>;
135
193
  /**