@gofynd/fdk-client-javascript 1.1.6 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -4,259 +4,225 @@ declare class Theme {
4
4
  config: any;
5
5
  applicationId: any;
6
6
  /**
7
- * @param {Object} arg - Arg object.
8
- * @param {AddThemeRequestSchema} arg.body
9
- * @returns {Promise<ThemesSchema>} - Success response
7
+ * @param {ThemePlatformApplicationValidator.AddToThemeLibraryParam} arg - Arg object
8
+ * @param {import("../PlatformAPIClient").Options} - Options
9
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
10
+ * @name addToThemeLibrary
10
11
  * @summary: Add a theme to the theme library
11
- * @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to choose a theme and add it to the theme library.
12
+ * @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to choose a theme and add it to the theme library. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addToThemeLibrary/).
12
13
  */
13
- addToThemeLibrary({ body }?: {
14
- body: AddThemeRequestSchema;
15
- }): Promise<ThemesSchema>;
14
+ addToThemeLibrary({ body }?: ThemePlatformApplicationValidator.AddToThemeLibraryParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
16
15
  /**
17
- * @param {Object} arg - Arg object.
18
- * @param {AddThemeRequestSchema} arg.body
19
- * @returns {Promise<ThemesSchema>} - Success response
16
+ * @param {ThemePlatformApplicationValidator.ApplyThemeParam} arg - Arg object
17
+ * @param {import("../PlatformAPIClient").Options} - Options
18
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
19
+ * @name applyTheme
20
20
  * @summary: Apply a theme
21
- * @description: Use this API to apply a theme to the website.
21
+ * @description: Use this API to apply a theme to the website. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/applyTheme/).
22
22
  */
23
- applyTheme({ body }?: {
24
- body: AddThemeRequestSchema;
25
- }): Promise<ThemesSchema>;
23
+ applyTheme({ body }?: ThemePlatformApplicationValidator.ApplyThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
26
24
  /**
27
- * @param {Object} arg - Arg object.
28
- * @param {string} arg.themeId - ID allotted to the theme.
29
- * @returns {Promise<ThemesSchema>} - Success response
25
+ * @param {ThemePlatformApplicationValidator.ArchiveThemeParam} arg - Arg object
26
+ * @param {import("../PlatformAPIClient").Options} - Options
27
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
28
+ * @name archiveTheme
30
29
  * @summary: Archive a theme
31
- * @description: Use this API to store an existing theme but not delete it so that it can be used in future if required.
30
+ * @description: Use this API to store an existing theme but not delete it so that it can be used in future if required. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/archiveTheme/).
32
31
  */
33
- archiveTheme({ themeId }?: {
34
- themeId: string;
35
- }): Promise<ThemesSchema>;
32
+ archiveTheme({ themeId }?: ThemePlatformApplicationValidator.ArchiveThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
36
33
  /**
37
- * @param {Object} arg - Arg object.
38
- * @param {string} arg.themeId - ID of the theme
39
- * @param {AvailablePageSchema} arg.body
40
- * @returns {Promise<AvailablePageSchema>} - Success response
34
+ * @param {ThemePlatformApplicationValidator.CreatePageParam} arg - Arg object
35
+ * @param {import("../PlatformAPIClient").Options} - Options
36
+ * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
37
+ * @name createPage
41
38
  * @summary: Create a page
42
- * @description: Use this API to create a page for a theme by its ID.
39
+ * @description: Use this API to create a page for a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/createPage/).
43
40
  */
44
- createPage({ themeId, body }?: {
45
- themeId: string;
46
- body: AvailablePageSchema;
47
- }): Promise<AvailablePageSchema>;
41
+ createPage({ themeId, body }?: ThemePlatformApplicationValidator.CreatePageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
48
42
  /**
49
- * @param {Object} arg - Arg object.
50
- * @param {ThemesSchema} arg.body
51
- * @returns {Promise<ThemesSchema>} - Success response
43
+ * @param {ThemePlatformApplicationValidator.CreateThemeParam} arg - Arg object
44
+ * @param {import("../PlatformAPIClient").Options} - Options
45
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
46
+ * @name createTheme
52
47
  * @summary: Create a new theme
53
- * @description: Themes improve the look and appearance of a website. Use this API to create a theme.
48
+ * @description: Themes improve the look and appearance of a website. Use this API to create a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/createTheme/).
54
49
  */
55
- createTheme({ body }?: {
56
- body: ThemesSchema;
57
- }): Promise<ThemesSchema>;
50
+ createTheme({ body }?: ThemePlatformApplicationValidator.CreateThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
58
51
  /**
59
- * @param {Object} arg - Arg object.
60
- * @param {string} arg.themeId - ID of the theme
61
- * @param {string} arg.pageValue - Value of the page to be updated
62
- * @returns {Promise<AvailablePageSchema>} - Success response
52
+ * @param {ThemePlatformApplicationValidator.DeletePageParam} arg - Arg object
53
+ * @param {import("../PlatformAPIClient").Options} - Options
54
+ * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
55
+ * @name deletePage
63
56
  * @summary: Deletes a page
64
- * @description: Use this API to delete a page for a theme by its ID and page_value.
57
+ * @description: Use this API to delete a page for a theme by its ID and page_value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deletePage/).
65
58
  */
66
- deletePage({ themeId, pageValue }?: {
67
- themeId: string;
68
- pageValue: string;
69
- }): Promise<AvailablePageSchema>;
59
+ deletePage({ themeId, pageValue }?: ThemePlatformApplicationValidator.DeletePageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
70
60
  /**
71
- * @param {Object} arg - Arg object.
72
- * @param {string} arg.themeId - ID allotted to the theme.
73
- * @returns {Promise<ThemesSchema>} - Success response
61
+ * @param {ThemePlatformApplicationValidator.DeleteThemeParam} arg - Arg object
62
+ * @param {import("../PlatformAPIClient").Options} - Options
63
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
64
+ * @name deleteTheme
74
65
  * @summary: Delete a theme
75
- * @description: Use this API to delete a theme from the theme library.
66
+ * @description: Use this API to delete a theme from the theme library. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteTheme/).
76
67
  */
77
- deleteTheme({ themeId }?: {
78
- themeId: string;
79
- }): Promise<ThemesSchema>;
68
+ deleteTheme({ themeId }?: ThemePlatformApplicationValidator.DeleteThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
80
69
  /**
81
- * @param {Object} arg - Arg object.
82
- * @param {string} arg.themeId - ID of the theme to be retrieved
83
- * @returns {Promise<AllAvailablePageSchema>} - Success response
70
+ * @param {ThemePlatformApplicationValidator.GetAllPagesParam} arg - Arg object
71
+ * @param {import("../PlatformAPIClient").Options} - Options
72
+ * @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
73
+ * @name getAllPages
84
74
  * @summary: Get all pages of a theme
85
- * @description: Use this API to retrieve all the available pages of a theme by its ID.
75
+ * @description: Use this API to retrieve all the available pages of a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAllPages/).
86
76
  */
87
- getAllPages({ themeId }?: {
88
- themeId: string;
89
- }): Promise<AllAvailablePageSchema>;
77
+ getAllPages({ themeId }?: ThemePlatformApplicationValidator.GetAllPagesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AllAvailablePageSchema>;
90
78
  /**
91
- * @param {Object} arg - Arg object.
92
- * @returns {Promise<ThemesSchema>} - Success response
79
+ * @param {import("../PlatformAPIClient").Options} - Options
80
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
81
+ * @name getAppliedTheme
93
82
  * @summary: Get the applied theme
94
- * @description: Use this API to retrieve the theme that is currently applied to the website along with its details.
83
+ * @description: Use this API to retrieve the theme that is currently applied to the website along with its details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAppliedTheme/).
95
84
  */
96
- getAppliedTheme({}?: any): Promise<ThemesSchema>;
85
+ getAppliedTheme({ headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
97
86
  /**
98
- * @param {Object} arg - Arg object.
99
- * @returns {Promise<FontsSchema>} - Success response
87
+ * @param {import("../PlatformAPIClient").Options} - Options
88
+ * @returns {Promise<ThemePlatformModel.FontsSchema>} - Success response
89
+ * @name getFonts
100
90
  * @summary: Get all the supported fonts in a theme
101
- * @description: Font is a collection of characters with a similar design. Use this API to retrieve a list of website fonts.
91
+ * @description: Font is a collection of characters with a similar design. Use this API to retrieve a list of website fonts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getFonts/).
102
92
  */
103
- getFonts({}?: any): Promise<FontsSchema>;
93
+ getFonts({ headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.FontsSchema>;
104
94
  /**
105
- * @param {Object} arg - Arg object.
106
- * @param {string} arg.themeId - ID of the theme to be retrieved
107
- * @param {string} arg.pageValue - Value of the page to be retrieved
108
- * @returns {Promise<AvailablePageSchema>} - Success response
95
+ * @param {ThemePlatformApplicationValidator.GetPageParam} arg - Arg object
96
+ * @param {import("../PlatformAPIClient").Options} - Options
97
+ * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
98
+ * @name getPage
109
99
  * @summary: Get page of a theme
110
- * @description: Use this API to retrieve a page of a theme.
100
+ * @description: Use this API to retrieve a page of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPage/).
111
101
  */
112
- getPage({ themeId, pageValue }?: {
113
- themeId: string;
114
- pageValue: string;
115
- }): Promise<AvailablePageSchema>;
102
+ getPage({ themeId, pageValue }?: ThemePlatformApplicationValidator.GetPageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
116
103
  /**
117
- * @param {Object} arg - Arg object.
118
- * @param {number} [arg.pageSize] - The number of items to retrieve in each
119
- * page. Default value is 10.
120
- * @param {number} [arg.pageNo] - The page number to navigate through the
121
- * given set of results. Default value is 1.
122
- * @returns {Promise<ThemesListingResponseSchema>} - Success response
104
+ * @param {ThemePlatformApplicationValidator.GetPublicThemesParam} arg - Arg object
105
+ * @param {import("../PlatformAPIClient").Options} - Options
106
+ * @returns {Promise<ThemePlatformModel.ThemesListingResponseSchema>} -
107
+ * Success response
108
+ * @name getPublicThemes
123
109
  * @summary: Get all public themes
124
- * @description: Use this API to get a list of free themes that you can apply to your website.
110
+ * @description: Use this API to get a list of free themes that you can apply to your website. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPublicThemes/).
125
111
  */
126
- getPublicThemes({ pageSize, pageNo }?: {
127
- pageSize?: number;
128
- pageNo?: number;
129
- }): Promise<ThemesListingResponseSchema>;
112
+ getPublicThemes({ pageSize, pageNo }?: ThemePlatformApplicationValidator.GetPublicThemesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesListingResponseSchema>;
130
113
  /**
131
- * @param {Object} arg - Arg object.
132
- * @param {string} arg.themeId - ID allotted to the theme.
133
- * @returns {Promise<ThemesSchema>} - Success response
114
+ * @param {ThemePlatformApplicationValidator.GetThemeByIdParam} arg - Arg object
115
+ * @param {import("../PlatformAPIClient").Options} - Options
116
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
117
+ * @name getThemeById
134
118
  * @summary: Gets theme by id
135
- * @description: Use this API to retrieve the details of a specific theme by using its ID.
119
+ * @description: Use this API to retrieve the details of a specific theme by using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeById/).
136
120
  */
137
- getThemeById({ themeId }?: {
138
- themeId: string;
139
- }): Promise<ThemesSchema>;
121
+ getThemeById({ themeId }?: ThemePlatformApplicationValidator.GetThemeByIdParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
140
122
  /**
141
- * @param {Object} arg - Arg object.
142
- * @param {string} arg.themeId - ID allotted to the theme.
143
- * @returns {Promise<ThemesSchema>} - Success response
123
+ * @param {ThemePlatformApplicationValidator.GetThemeForPreviewParam} arg - Arg object
124
+ * @param {import("../PlatformAPIClient").Options} - Options
125
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
126
+ * @name getThemeForPreview
144
127
  * @summary: Get a theme preview
145
- * @description: A theme can be previewed before applying it. Use this API to retrieve the theme preview by using its ID.
128
+ * @description: A theme can be previewed before applying it. Use this API to retrieve the theme preview by using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeForPreview/).
146
129
  */
147
- getThemeForPreview({ themeId }?: {
148
- themeId: string;
149
- }): Promise<ThemesSchema>;
130
+ getThemeForPreview({ themeId }?: ThemePlatformApplicationValidator.GetThemeForPreviewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
150
131
  /**
151
- * @param {Object} arg - Arg object.
152
- * @param {string} arg.themeId - ID allotted to the theme.
132
+ * @param {ThemePlatformApplicationValidator.GetThemeLastModifiedParam} arg
133
+ * - Arg object
134
+ *
135
+ * @param {import("../PlatformAPIClient").Options} - Options
153
136
  * @returns {Promise<any>} - Success response
137
+ * @name getThemeLastModified
154
138
  * @summary: Fetch last modified timestamp
155
- * @description: Use this API to fetch Last-Modified timestamp in header metadata.
139
+ * @description: Use this API to fetch Last-Modified timestamp in header metadata. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLastModified/).
156
140
  */
157
- getThemeLastModified({ themeId }?: {
158
- themeId: string;
159
- }): Promise<any>;
141
+ getThemeLastModified({ themeId }?: ThemePlatformApplicationValidator.GetThemeLastModifiedParam, { headers }?: import("../PlatformAPIClient").Options): Promise<any>;
160
142
  /**
161
- * @param {Object} arg - Arg object.
162
- * @param {number} [arg.pageSize] - The number of items to retrieve in each
163
- * page. Default value is 10.
164
- * @param {number} [arg.pageNo] - The page number to navigate through the
165
- * given set of results. Default value is 1.
166
- * @returns {Promise<ThemesListingResponseSchema>} - Success response
143
+ * @param {ThemePlatformApplicationValidator.GetThemeLibraryParam} arg - Arg object
144
+ * @param {import("../PlatformAPIClient").Options} - Options
145
+ * @returns {Promise<ThemePlatformModel.ThemesListingResponseSchema>} -
146
+ * Success response
147
+ * @name getThemeLibrary
167
148
  * @summary: Get a list of themes from the theme library
168
- * @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to fetch a list of themes from the library along with their configuration details.
149
+ * @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to fetch a list of themes from the library along with their configuration details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLibrary/).
169
150
  */
170
- getThemeLibrary({ pageSize, pageNo }?: {
171
- pageSize?: number;
172
- pageNo?: number;
173
- }): Promise<ThemesListingResponseSchema>;
151
+ getThemeLibrary({ pageSize, pageNo }?: ThemePlatformApplicationValidator.GetThemeLibraryParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesListingResponseSchema>;
174
152
  /**
175
- * @param {Object} arg - Arg object.
176
- * @param {string} arg.themeId - Theme ID
177
- * @returns {Promise<UpgradableThemeSchema>} - Success response
153
+ * @param {ThemePlatformApplicationValidator.IsUpgradableParam} arg - Arg object
154
+ * @param {import("../PlatformAPIClient").Options} - Options
155
+ * @returns {Promise<ThemePlatformModel.UpgradableThemeSchema>} - Success response
156
+ * @name isUpgradable
178
157
  * @summary: Checks if theme is upgradable
179
- * @description: There's always a possibility that new features get added to a theme. Use this API to check if the applied theme has an upgrade available.
158
+ * @description: There's always a possibility that new features get added to a theme. Use this API to check if the applied theme has an upgrade available. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
180
159
  */
181
- isUpgradable({ themeId }?: {
182
- themeId: string;
183
- }): Promise<UpgradableThemeSchema>;
160
+ isUpgradable({ themeId }?: ThemePlatformApplicationValidator.IsUpgradableParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.UpgradableThemeSchema>;
184
161
  /**
185
- * @param {Object} arg - Arg object.
186
- * @param {string} arg.themeId - ID allotted to the theme.
187
- * @returns {Promise<ThemesSchema>} - Success response
162
+ * @param {ThemePlatformApplicationValidator.PublishThemeParam} arg - Arg object
163
+ * @param {import("../PlatformAPIClient").Options} - Options
164
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
165
+ * @name publishTheme
188
166
  * @summary: Publish a theme
189
- * @description: Use this API to publish a theme that is either newly created or edited.
167
+ * @description: Use this API to publish a theme that is either newly created or edited. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/publishTheme/).
190
168
  */
191
- publishTheme({ themeId }?: {
192
- themeId: string;
193
- }): Promise<ThemesSchema>;
169
+ publishTheme({ themeId }?: ThemePlatformApplicationValidator.PublishThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
194
170
  /**
195
- * @param {Object} arg - Arg object.
196
- * @param {string} arg.themeId - ID allotted to the theme.
197
- * @returns {Promise<ThemesSchema>} - Success response
171
+ * @param {ThemePlatformApplicationValidator.UnarchiveThemeParam} arg - Arg object
172
+ * @param {import("../PlatformAPIClient").Options} - Options
173
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
174
+ * @name unarchiveTheme
198
175
  * @summary: Unarchive a theme
199
- * @description: Use this API to restore an archived theme and bring it back for editing or publishing.
176
+ * @description: Use this API to restore an archived theme and bring it back for editing or publishing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/unarchiveTheme/).
200
177
  */
201
- unarchiveTheme({ themeId }?: {
202
- themeId: string;
203
- }): Promise<ThemesSchema>;
178
+ unarchiveTheme({ themeId }?: ThemePlatformApplicationValidator.UnarchiveThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
204
179
  /**
205
- * @param {Object} arg - Arg object.
206
- * @param {string} arg.themeId - ID allotted to the theme.
207
- * @returns {Promise<ThemesSchema>} - Success response
180
+ * @param {ThemePlatformApplicationValidator.UnpublishThemeParam} arg - Arg object
181
+ * @param {import("../PlatformAPIClient").Options} - Options
182
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
183
+ * @name unpublishTheme
208
184
  * @summary: Unpublish a theme
209
- * @description: Use this API to remove an existing theme from the list of available themes.
185
+ * @description: Use this API to remove an existing theme from the list of available themes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/unpublishTheme/).
210
186
  */
211
- unpublishTheme({ themeId }?: {
212
- themeId: string;
213
- }): Promise<ThemesSchema>;
187
+ unpublishTheme({ themeId }?: ThemePlatformApplicationValidator.UnpublishThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
214
188
  /**
215
- * @param {Object} arg - Arg object.
216
- * @param {string} arg.themeId - ID of the theme to be retrieved
217
- * @param {AllAvailablePageSchema} arg.body
218
- * @returns {Promise<AllAvailablePageSchema>} - Success response
189
+ * @param {ThemePlatformApplicationValidator.UpdateMultiplePagesParam} arg
190
+ * - Arg object
191
+ *
192
+ * @param {import("../PlatformAPIClient").Options} - Options
193
+ * @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
194
+ * @name updateMultiplePages
219
195
  * @summary: Update multiple pages of a theme
220
- * @description: Use this API to update multiple pages of a theme by its ID.
196
+ * @description: Use this API to update multiple pages of a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateMultiplePages/).
221
197
  */
222
- updateMultiplePages({ themeId, body }?: {
223
- themeId: string;
224
- body: AllAvailablePageSchema;
225
- }): Promise<AllAvailablePageSchema>;
198
+ updateMultiplePages({ themeId, body }?: ThemePlatformApplicationValidator.UpdateMultiplePagesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AllAvailablePageSchema>;
226
199
  /**
227
- * @param {Object} arg - Arg object.
228
- * @param {string} arg.themeId - ID of the theme
229
- * @param {string} arg.pageValue - Value of the page to be updated
230
- * @param {AvailablePageSchema} arg.body
231
- * @returns {Promise<AvailablePageSchema>} - Success response
200
+ * @param {ThemePlatformApplicationValidator.UpdatePageParam} arg - Arg object
201
+ * @param {import("../PlatformAPIClient").Options} - Options
202
+ * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
203
+ * @name updatePage
232
204
  * @summary: Updates a page
233
- * @description: Use this API to update a page for a theme by its ID.
205
+ * @description: Use this API to update a page for a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updatePage/).
234
206
  */
235
- updatePage({ themeId, pageValue, body }?: {
236
- themeId: string;
237
- pageValue: string;
238
- body: AvailablePageSchema;
239
- }): Promise<AvailablePageSchema>;
207
+ updatePage({ themeId, pageValue, body }?: ThemePlatformApplicationValidator.UpdatePageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
240
208
  /**
241
- * @param {Object} arg - Arg object.
242
- * @param {string} arg.themeId - ID allotted to the theme.
243
- * @param {ThemesSchema} arg.body
244
- * @returns {Promise<ThemesSchema>} - Success response
209
+ * @param {ThemePlatformApplicationValidator.UpdateThemeParam} arg - Arg object
210
+ * @param {import("../PlatformAPIClient").Options} - Options
211
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
212
+ * @name updateTheme
245
213
  * @summary: Update a theme
246
- * @description: Use this API to edit an existing theme. You can customize the website font, sections, images, styles, and many more.
214
+ * @description: Use this API to edit an existing theme. You can customize the website font, sections, images, styles, and many more. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateTheme/).
247
215
  */
248
- updateTheme({ themeId, body }?: {
249
- themeId: string;
250
- body: ThemesSchema;
251
- }): Promise<ThemesSchema>;
216
+ updateTheme({ themeId, body }?: ThemePlatformApplicationValidator.UpdateThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
252
217
  /**
253
- * @param {Object} arg - Arg object.
254
- * @param {string} arg.themeId - ID allotted to the theme.
255
- * @returns {Promise<ThemesSchema>} - Success response
218
+ * @param {ThemePlatformApplicationValidator.UpgradeThemeParam} arg - Arg object
219
+ * @param {import("../PlatformAPIClient").Options} - Options
220
+ * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
221
+ * @name upgradeTheme
256
222
  * @summary: Upgrade a theme
257
- * @description: Use this API to upgrade the current theme to its latest version.
223
+ * @description: Use this API to upgrade the current theme to its latest version. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/upgradeTheme/).
258
224
  */
259
- upgradeTheme({ themeId }?: {
260
- themeId: string;
261
- }): Promise<ThemesSchema>;
225
+ upgradeTheme({ themeId }?: ThemePlatformApplicationValidator.UpgradeThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
262
226
  }
227
+ import ThemePlatformApplicationValidator = require("./ThemePlatformApplicationValidator");
228
+ import ThemePlatformModel = require("./ThemePlatformModel");