@gofynd/fdk-client-javascript 1.4.15-beta.14 → 1.4.15-beta.15

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 (278) hide show
  1. package/README.md +23 -26
  2. package/package.json +5 -1
  3. package/sdk/application/ApplicationClient.d.ts +5 -6
  4. package/sdk/application/ApplicationClient.js +24 -20
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +133 -83
  6. package/sdk/application/Cart/CartApplicationClient.js +444 -76
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +132 -114
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +209 -126
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +58 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +73 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +95 -66
  16. package/sdk/application/Content/ContentApplicationClient.js +274 -111
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -11
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -10
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
  22. package/sdk/application/Lead/LeadApplicationClient.js +6 -6
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +37 -57
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +117 -180
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +63 -21
  26. package/sdk/application/Order/OrderApplicationClient.js +217 -17
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +179 -149
  28. package/sdk/application/Payment/PaymentApplicationClient.js +301 -167
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +7 -7
  32. package/sdk/application/Theme/ThemeApplicationClient.js +10 -6
  33. package/sdk/application/User/UserApplicationClient.d.ts +103 -53
  34. package/sdk/application/User/UserApplicationClient.js +308 -49
  35. package/sdk/common/AxiosHelper.js +11 -4
  36. package/sdk/common/Constant.d.ts +27 -4
  37. package/sdk/common/Constant.js +33 -6
  38. package/sdk/common/utils.d.ts +10 -0
  39. package/sdk/common/utils.js +24 -3
  40. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +46 -16
  41. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +266 -40
  42. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +163 -19
  43. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +158 -14
  44. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +5 -2
  45. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +23 -7
  46. package/sdk/partner/Lead/LeadPartnerClient.d.ts +9 -9
  47. package/sdk/partner/Lead/LeadPartnerClient.js +9 -9
  48. package/sdk/partner/Lead/LeadPartnerModel.d.ts +14 -9
  49. package/sdk/partner/Lead/LeadPartnerModel.js +19 -17
  50. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +264 -49
  51. package/sdk/partner/Logistics/LogisticsPartnerClient.js +2116 -252
  52. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2256 -258
  53. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1187 -230
  54. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +21 -1
  55. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +218 -13
  56. package/sdk/partner/PartnerClient.d.ts +5 -2
  57. package/sdk/partner/PartnerClient.js +21 -7
  58. package/sdk/partner/Theme/ThemePartnerClient.d.ts +32 -34
  59. package/sdk/partner/Theme/ThemePartnerClient.js +42 -44
  60. package/sdk/partner/Theme/ThemePartnerModel.d.ts +142 -43
  61. package/sdk/partner/Theme/ThemePartnerModel.js +129 -44
  62. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  63. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +83 -27
  64. package/sdk/partner/Webhook/WebhookPartnerClient.js +446 -27
  65. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +920 -185
  66. package/sdk/partner/Webhook/WebhookPartnerModel.js +462 -154
  67. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +5 -0
  68. package/sdk/partner/Webhook/WebhookPartnerValidator.js +41 -3
  69. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +8 -7
  70. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +17 -11
  71. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  73. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +68 -13
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +44 -6
  75. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +3 -33
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -244
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  81. package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
  82. package/sdk/platform/Billing/BillingPlatformClient.js +18 -18
  83. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  84. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  85. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  86. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  87. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +266 -203
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1446 -500
  89. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +729 -100
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +446 -82
  91. package/sdk/platform/Cart/CartPlatformModel.d.ts +6927 -1396
  92. package/sdk/platform/Cart/CartPlatformModel.js +3065 -1316
  93. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +433 -248
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1662 -559
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +464 -159
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +304 -87
  97. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +383 -234
  98. package/sdk/platform/Catalog/CatalogPlatformClient.js +2475 -1557
  99. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9573 -2678
  100. package/sdk/platform/Catalog/CatalogPlatformModel.js +5033 -1973
  101. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +364 -117
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.js +281 -104
  103. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -4
  104. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  105. package/sdk/platform/Common/CommonPlatformModel.d.ts +36 -25
  106. package/sdk/platform/Common/CommonPlatformModel.js +25 -14
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +80 -153
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +102 -541
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +36 -49
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +20 -60
  111. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  112. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  113. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +189 -43
  114. package/sdk/platform/Communication/CommunicationPlatformModel.js +165 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +58 -81
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +68 -116
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +291 -249
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +243 -234
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +78 -65
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +101 -88
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +20 -20
  124. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +19 -19
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +68 -34
  126. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +174 -41
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +667 -244
  128. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +474 -155
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  130. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +366 -280
  132. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1435 -753
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +323 -223
  134. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +335 -205
  135. package/sdk/platform/Content/ContentPlatformClient.d.ts +304 -106
  136. package/sdk/platform/Content/ContentPlatformClient.js +1842 -450
  137. package/sdk/platform/Content/ContentPlatformModel.d.ts +2582 -566
  138. package/sdk/platform/Content/ContentPlatformModel.js +1426 -558
  139. package/sdk/platform/Content/ContentPlatformValidator.d.ts +293 -114
  140. package/sdk/platform/Content/ContentPlatformValidator.js +328 -101
  141. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +59 -23
  142. package/sdk/platform/Discount/DiscountPlatformClient.js +84 -23
  143. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +403 -110
  144. package/sdk/platform/Discount/DiscountPlatformModel.js +121 -107
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  146. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +12 -110
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +14 -684
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -94
  150. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -115
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +20 -20
  152. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +22 -22
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +90 -920
  154. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +53 -949
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  156. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
  159. package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
  160. package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
  161. package/sdk/platform/Lead/LeadPlatformModel.d.ts +14 -9
  162. package/sdk/platform/Lead/LeadPlatformModel.js +20 -18
  163. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +56 -9
  164. package/sdk/platform/Order/OrderPlatformApplicationClient.js +340 -10
  165. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +128 -24
  166. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +81 -19
  167. package/sdk/platform/Order/OrderPlatformClient.d.ts +517 -160
  168. package/sdk/platform/Order/OrderPlatformClient.js +1623 -384
  169. package/sdk/platform/Order/OrderPlatformModel.d.ts +10372 -1587
  170. package/sdk/platform/Order/OrderPlatformModel.js +5726 -1512
  171. package/sdk/platform/Order/OrderPlatformValidator.d.ts +539 -123
  172. package/sdk/platform/Order/OrderPlatformValidator.js +323 -92
  173. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +8 -6
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +11 -9
  175. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +6 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +3 -2
  177. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +77 -25
  178. package/sdk/platform/Partner/PartnerPlatformModel.js +32 -21
  179. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +144 -219
  180. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +307 -796
  181. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +86 -121
  182. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +80 -138
  183. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +30 -30
  184. package/sdk/platform/Payment/PaymentPlatformClient.js +30 -30
  185. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +901 -761
  186. package/sdk/platform/Payment/PaymentPlatformModel.js +663 -583
  187. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  188. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  189. package/sdk/platform/PlatformApplicationClient.d.ts +0 -2
  190. package/sdk/platform/PlatformApplicationClient.js +0 -4
  191. package/sdk/platform/PlatformClient.d.ts +5 -4
  192. package/sdk/platform/PlatformClient.js +32 -22
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +526 -69
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +3337 -337
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +603 -38
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +529 -32
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +184 -133
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +780 -491
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +9408 -1666
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +5720 -1765
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +257 -180
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +185 -127
  203. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  204. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +45 -9
  206. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -26
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +38 -29
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -3
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +10 -2
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
  212. package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -17
  214. package/sdk/platform/Theme/ThemePlatformModel.js +92 -23
  215. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +167 -45
  216. package/sdk/platform/User/UserPlatformApplicationClient.js +950 -67
  217. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +189 -3
  218. package/sdk/platform/User/UserPlatformApplicationValidator.js +157 -3
  219. package/sdk/platform/User/UserPlatformModel.d.ts +880 -47
  220. package/sdk/platform/User/UserPlatformModel.js +607 -46
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +33 -86
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +79 -474
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +861 -422
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +469 -391
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  226. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  227. package/sdk/platform/index.d.ts +0 -2
  228. package/sdk/platform/index.js +0 -4
  229. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  230. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  231. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  232. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  233. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  234. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -4
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +9 -8
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +41 -21
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +28 -12
  239. package/sdk/public/Content/ContentPublicClient.d.ts +145 -2
  240. package/sdk/public/Content/ContentPublicClient.js +1067 -17
  241. package/sdk/public/Content/ContentPublicModel.d.ts +704 -3
  242. package/sdk/public/Content/ContentPublicModel.js +751 -3
  243. package/sdk/public/Content/ContentPublicValidator.d.ts +94 -3
  244. package/sdk/public/Content/ContentPublicValidator.js +119 -2
  245. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  246. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  247. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  248. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  249. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  250. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  251. package/sdk/public/PublicClient.d.ts +5 -2
  252. package/sdk/public/PublicClient.js +16 -6
  253. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -13
  254. package/sdk/public/Webhook/WebhookPublicClient.js +13 -13
  255. package/sdk/public/Webhook/WebhookPublicModel.d.ts +249 -67
  256. package/sdk/public/Webhook/WebhookPublicModel.js +81 -61
  257. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  258. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  259. package/sdk/public/index.d.ts +1 -0
  260. package/sdk/public/index.js +2 -0
  261. package/utility.d.ts +3 -0
  262. package/utility.js +7 -0
  263. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +0 -79
  264. package/sdk/application/Rewards/RewardsApplicationClient.js +0 -315
  265. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
  266. package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
  267. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  268. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  269. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  270. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  271. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  272. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
  273. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +0 -136
  274. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +0 -976
  275. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +0 -152
  276. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +0 -157
  277. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +0 -382
  278. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -408
@@ -12,13 +12,19 @@ class Content {
12
12
  constructor(_conf) {
13
13
  this._conf = _conf;
14
14
  this._relativeUrls = {
15
+ fetchResourceTranslations:
16
+ "/service/application/content/v1.0/resource/translations/{type}/{locale}",
17
+ fetchResourceTranslationsWithPayload:
18
+ "/service/application/content/v1.0/resource/translations/{type}/{locale}",
15
19
  getAnnouncements: "/service/application/content/v1.0/announcements",
16
20
  getBlog: "/service/application/content/v1.0/blogs/{slug}",
17
- getBlogs: "/service/application/content/v1.0/blogs/",
18
- getCustomFields:
19
- "/service/application/content/v1.0/metafields/{resource}/{resource_id}",
20
- getCustomObject:
21
- "/service/application/content/v1.0/metaobjects/{metaobject_id}",
21
+ getBlogs: "/service/application/content/v1.0/blogs",
22
+ getBulkCustomFieldsByResource:
23
+ "/service/application/content/v2.0/customfields/resource/{resource}",
24
+ getCustomFieldsByResourceId:
25
+ "/service/application/content/v2.0/customfields/resource/{resource}/{resource_slug}",
26
+ getCustomObjectBySlug:
27
+ "/service/application/content/v2.0/customobjects/definition/{definition_slug}/entries/{slug}",
22
28
  getDataLoaders: "/service/application/content/v1.0/data-loader",
23
29
  getFaqBySlug: "/service/application/content/v1.0/faq/{slug}",
24
30
  getFaqCategories: "/service/application/content/v1.0/faq/categories",
@@ -29,15 +35,18 @@ class Content {
29
35
  "/service/application/content/v1.0/faq/category/{slug}/faqs",
30
36
  getLandingPage: "/service/application/content/v1.0/landing-page",
31
37
  getLegalInformation: "/service/application/content/v1.0/legal",
32
- getNavigations: "/service/application/content/v1.0/navigations/",
38
+ getNavigations: "/service/application/content/v1.0/navigations",
39
+ getOrderTranslation:
40
+ "/service/application/content/v1.0/resource/translations/orders",
33
41
  getPage: "/service/application/content/v2.0/pages/{slug}",
34
- getPages: "/service/application/content/v2.0/pages/",
42
+ getPages: "/service/application/content/v2.0/pages",
35
43
  getSEOConfiguration: "/service/application/content/v1.0/seo",
36
44
  getSEOMarkupSchemas: "/service/application/content/v1.0/seo/schema",
37
- getSlideshow: "/service/application/content/v1.0/slideshow/{slug}",
38
- getSlideshows: "/service/application/content/v1.0/slideshow/",
39
45
  getSupportInformation: "/service/application/content/v1.0/support",
46
+ getSupportedLanguages: "/service/application/content/v1.0/languages",
40
47
  getTags: "/service/application/content/v1.0/tags",
48
+ getTranslateUILabels:
49
+ "/service/application/content/v1.0/translate-ui-labels",
41
50
  };
42
51
  this._urls = Object.entries(this._relativeUrls).reduce(
43
52
  (urls, [method, relativeUrl]) => {
@@ -55,13 +64,106 @@ class Content {
55
64
  };
56
65
  }
57
66
 
67
+ /**
68
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
69
+ * @param {import("../ApplicationAPIClient").Options} - Options
70
+ * @returns {Promise<ResourceTranslations>} - Success response
71
+ * @name fetchResourceTranslations
72
+ * @summary: Get Resource Translations
73
+ * @description: Fetch translations for specific resource IDs based on type and locale settings. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/fetchResourceTranslations/).
74
+ */
75
+ async fetchResourceTranslations(
76
+ { type, locale, resourceId, requestHeaders } = { requestHeaders: {} },
77
+ { responseHeaders } = { responseHeaders: false }
78
+ ) {
79
+ const errors = validateRequiredParams(arguments[0], ["type", "locale"]);
80
+ if (errors.length > 0) {
81
+ const error = new FDKClientValidationError({
82
+ message: "Missing required field",
83
+ details: errors,
84
+ });
85
+ return Promise.reject(new FDKClientValidationError(error));
86
+ }
87
+
88
+ const query_params = {};
89
+ query_params["resource_id"] = resourceId;
90
+
91
+ const xHeaders = {};
92
+
93
+ const response = await ApplicationAPIClient.execute(
94
+ this._conf,
95
+ "get",
96
+ constructUrl({
97
+ url: this._urls["fetchResourceTranslations"],
98
+ params: { type, locale },
99
+ }),
100
+ query_params,
101
+ undefined,
102
+ { ...xHeaders, ...requestHeaders },
103
+ { responseHeaders }
104
+ );
105
+
106
+ let responseData = response;
107
+ if (responseHeaders) {
108
+ responseData = response[0];
109
+ }
110
+
111
+ return response;
112
+ }
113
+
114
+ /**
115
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
116
+ * @param {import("../ApplicationAPIClient").Options} - Options
117
+ * @returns {Promise<ResourceTranslations>} - Success response
118
+ * @name fetchResourceTranslationsWithPayload
119
+ * @summary: Post Resource Translations
120
+ * @description: Submit and retrieve translations for resources using payload data and locale settings. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/fetchResourceTranslationsWithPayload/).
121
+ */
122
+ async fetchResourceTranslationsWithPayload(
123
+ { type, locale, body, requestHeaders } = { requestHeaders: {} },
124
+ { responseHeaders } = { responseHeaders: false }
125
+ ) {
126
+ const errors = validateRequiredParams(arguments[0], ["type", "locale"]);
127
+ if (errors.length > 0) {
128
+ const error = new FDKClientValidationError({
129
+ message: "Missing required field",
130
+ details: errors,
131
+ });
132
+ return Promise.reject(new FDKClientValidationError(error));
133
+ }
134
+
135
+ const query_params = {};
136
+
137
+ const xHeaders = {};
138
+
139
+ const response = await ApplicationAPIClient.execute(
140
+ this._conf,
141
+ "post",
142
+ constructUrl({
143
+ url: this._urls["fetchResourceTranslationsWithPayload"],
144
+ params: { type, locale },
145
+ }),
146
+ query_params,
147
+ body,
148
+ { ...xHeaders, ...requestHeaders },
149
+ { responseHeaders }
150
+ );
151
+
152
+ let responseData = response;
153
+ if (responseHeaders) {
154
+ responseData = response[0];
155
+ }
156
+
157
+ return response;
158
+ }
159
+
58
160
  /**
59
161
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
60
162
  * @param {import("../ApplicationAPIClient").Options} - Options
61
163
  * @returns {Promise<AnnouncementsResponseSchema>} - Success response
62
164
  * @name getAnnouncements
63
165
  * @summary: List announcements
64
- * @description: List all current announcements in the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getAnnouncements/).
166
+ * @description: List all current announcements in the application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getAnnouncements/).
65
167
  */
66
168
  async getAnnouncements(
67
169
  { requestHeaders } = { requestHeaders: {} },
@@ -98,10 +200,10 @@ class Content {
98
200
  * @returns {Promise<BlogSchema>} - Success response
99
201
  * @name getBlog
100
202
  * @summary: Get a blog
101
- * @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
203
+ * @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getBlog/).
102
204
  */
103
205
  async getBlog(
104
- { slug, rootId, requestHeaders } = { requestHeaders: {} },
206
+ { slug, rootId, preview, requestHeaders } = { requestHeaders: {} },
105
207
  { responseHeaders } = { responseHeaders: false }
106
208
  ) {
107
209
  const errors = validateRequiredParams(arguments[0], ["slug"]);
@@ -115,6 +217,7 @@ class Content {
115
217
 
116
218
  const query_params = {};
117
219
  query_params["root_id"] = rootId;
220
+ query_params["preview"] = preview;
118
221
 
119
222
  const xHeaders = {};
120
223
 
@@ -142,10 +245,10 @@ class Content {
142
245
  /**
143
246
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
144
247
  * @param {import("../ApplicationAPIClient").Options} - Options
145
- * @returns {Promise<BlogGetResponse>} - Success response
248
+ * @returns {Promise<BlogGetDetails>} - Success response
146
249
  * @name getBlogs
147
250
  * @summary: List blogs
148
- * @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
251
+ * @description: List all the blogs against an application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getBlogs/).
149
252
  */
150
253
  async getBlogs(
151
254
  { pageNo, pageSize, tags, search, requestHeaders } = { requestHeaders: {} },
@@ -180,21 +283,72 @@ class Content {
180
283
  return response;
181
284
  }
182
285
 
286
+ /**
287
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
288
+ * @param {import("../ApplicationAPIClient").Options} - Options
289
+ * @returns {Promise<BulkCustomFieldsResponseByResourceSchema>} - Success response
290
+ * @name getBulkCustomFieldsByResource
291
+ * @summary: Get bulk list of custom fields of given resource
292
+ * @description: Retrieves a bulk list of custom fields attached to a particular resource by using the resource and resource IDs. The resource_ids query parameter is required and can accept multiple comma-separated values. Optional filters for keys and namespaces can also be applied. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getBulkCustomFieldsByResource/).
293
+ */
294
+ async getBulkCustomFieldsByResource(
295
+ { resource, resourceIds, keys, namespaces, requestHeaders } = {
296
+ requestHeaders: {},
297
+ },
298
+ { responseHeaders } = { responseHeaders: false }
299
+ ) {
300
+ const errors = validateRequiredParams(arguments[0], ["resource"]);
301
+ if (errors.length > 0) {
302
+ const error = new FDKClientValidationError({
303
+ message: "Missing required field",
304
+ details: errors,
305
+ });
306
+ return Promise.reject(new FDKClientValidationError(error));
307
+ }
308
+
309
+ const query_params = {};
310
+ query_params["resource_ids"] = resourceIds;
311
+ query_params["keys"] = keys;
312
+ query_params["namespaces"] = namespaces;
313
+
314
+ const xHeaders = {};
315
+
316
+ const response = await ApplicationAPIClient.execute(
317
+ this._conf,
318
+ "get",
319
+ constructUrl({
320
+ url: this._urls["getBulkCustomFieldsByResource"],
321
+ params: { resource },
322
+ }),
323
+ query_params,
324
+ undefined,
325
+ { ...xHeaders, ...requestHeaders },
326
+ { responseHeaders }
327
+ );
328
+
329
+ let responseData = response;
330
+ if (responseHeaders) {
331
+ responseData = response[0];
332
+ }
333
+
334
+ return response;
335
+ }
336
+
183
337
  /**
184
338
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
185
339
  * @param {import("../ApplicationAPIClient").Options} - Options
186
340
  * @returns {Promise<CustomFieldsResponseByResourceIdSchema>} - Success response
187
- * @name getCustomFields
188
- * @summary: Get list of custom fields
189
- * @description: List custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
341
+ * @name getCustomFieldsByResourceId
342
+ * @summary: Get list of custom fields of given resource and resource slug
343
+ * @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getCustomFieldsByResourceId/).
190
344
  */
191
- async getCustomFields(
192
- { resource, resourceId, requestHeaders } = { requestHeaders: {} },
345
+ async getCustomFieldsByResourceId(
346
+ { resource, resourceSlug, requestHeaders } = { requestHeaders: {} },
193
347
  { responseHeaders } = { responseHeaders: false }
194
348
  ) {
195
349
  const errors = validateRequiredParams(arguments[0], [
196
350
  "resource",
197
- "resourceId",
351
+ "resourceSlug",
198
352
  ]);
199
353
  if (errors.length > 0) {
200
354
  const error = new FDKClientValidationError({
@@ -212,8 +366,8 @@ class Content {
212
366
  this._conf,
213
367
  "get",
214
368
  constructUrl({
215
- url: this._urls["getCustomFields"],
216
- params: { resource, resourceId },
369
+ url: this._urls["getCustomFieldsByResourceId"],
370
+ params: { resource, resourceSlug },
217
371
  }),
218
372
  query_params,
219
373
  undefined,
@@ -233,15 +387,18 @@ class Content {
233
387
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
234
388
  * @param {import("../ApplicationAPIClient").Options} - Options
235
389
  * @returns {Promise<CustomObjectByIdSchema>} - Success response
236
- * @name getCustomObject
237
- * @summary: Get custom object
238
- * @description: Get details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObject/).
390
+ * @name getCustomObjectBySlug
391
+ * @summary: Get custom object details
392
+ * @description: Details of a custom object entry can be obtained using this endpoint. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getCustomObjectBySlug/).
239
393
  */
240
- async getCustomObject(
241
- { metaobjectId, requestHeaders } = { requestHeaders: {} },
394
+ async getCustomObjectBySlug(
395
+ { definitionSlug, slug, requestHeaders } = { requestHeaders: {} },
242
396
  { responseHeaders } = { responseHeaders: false }
243
397
  ) {
244
- const errors = validateRequiredParams(arguments[0], ["metaobjectId"]);
398
+ const errors = validateRequiredParams(arguments[0], [
399
+ "definitionSlug",
400
+ "slug",
401
+ ]);
245
402
  if (errors.length > 0) {
246
403
  const error = new FDKClientValidationError({
247
404
  message: "Missing required field",
@@ -258,8 +415,8 @@ class Content {
258
415
  this._conf,
259
416
  "get",
260
417
  constructUrl({
261
- url: this._urls["getCustomObject"],
262
- params: { metaobjectId },
418
+ url: this._urls["getCustomObjectBySlug"],
419
+ params: { definitionSlug, slug },
263
420
  }),
264
421
  query_params,
265
422
  undefined,
@@ -281,7 +438,7 @@ class Content {
281
438
  * @returns {Promise<DataLoadersSchema>} - Success response
282
439
  * @name getDataLoaders
283
440
  * @summary: List Dataloaders
284
- * @description: List all the data loaders that are enabled for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getDataLoaders/).
441
+ * @description: List all the data loaders that are enabled for an application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getDataLoaders/).
285
442
  */
286
443
  async getDataLoaders(
287
444
  { requestHeaders } = { requestHeaders: {} },
@@ -318,7 +475,7 @@ class Content {
318
475
  * @returns {Promise<FaqSchema>} - Success response
319
476
  * @name getFaqBySlug
320
477
  * @summary: Get FAQ
321
- * @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
478
+ * @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getFaqBySlug/).
322
479
  */
323
480
  async getFaqBySlug(
324
481
  { slug, requestHeaders } = { requestHeaders: {} },
@@ -364,7 +521,7 @@ class Content {
364
521
  * @returns {Promise<GetFaqCategoriesSchema>} - Success response
365
522
  * @name getFaqCategories
366
523
  * @summary: List FAQ Categories
367
- * @description: List categories for organizing FAQs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategories/).
524
+ * @description: List categories for organizing FAQs. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getFaqCategories/).
368
525
  */
369
526
  async getFaqCategories(
370
527
  { requestHeaders } = { requestHeaders: {} },
@@ -401,7 +558,7 @@ class Content {
401
558
  * @returns {Promise<GetFaqCategoryBySlugSchema>} - Success response
402
559
  * @name getFaqCategoryBySlug
403
560
  * @summary: Get a FAQ category
404
- * @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
561
+ * @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getFaqCategoryBySlug/).
405
562
  */
406
563
  async getFaqCategoryBySlug(
407
564
  { slug, requestHeaders } = { requestHeaders: {} },
@@ -447,7 +604,7 @@ class Content {
447
604
  * @returns {Promise<FaqResponseSchema>} - Success response
448
605
  * @name getFaqs
449
606
  * @summary: List FAQs
450
- * @description: List frequently asked questions and answers. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqs/).
607
+ * @description: List frequently asked questions and answers. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getFaqs/).
451
608
  */
452
609
  async getFaqs(
453
610
  { requestHeaders } = { requestHeaders: {} },
@@ -484,7 +641,7 @@ class Content {
484
641
  * @returns {Promise<GetFaqSchema>} - Success response
485
642
  * @name getFaqsByCategorySlug
486
643
  * @summary: List FAQs by category
487
- * @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
644
+ * @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getFaqsByCategorySlug/).
488
645
  */
489
646
  async getFaqsByCategorySlug(
490
647
  { slug, requestHeaders } = { requestHeaders: {} },
@@ -530,7 +687,7 @@ class Content {
530
687
  * @returns {Promise<LandingPageSchema>} - Success response
531
688
  * @name getLandingPage
532
689
  * @summary: Get a landing page
533
- * @description: Get content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
690
+ * @description: Get content of the application's landing page. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getLandingPage/).
534
691
  */
535
692
  async getLandingPage(
536
693
  { requestHeaders } = { requestHeaders: {} },
@@ -567,7 +724,7 @@ class Content {
567
724
  * @returns {Promise<ApplicationLegal>} - Success response
568
725
  * @name getLegalInformation
569
726
  * @summary: Get legal information
570
- * @description: Get legal policies for an application which includes Terms and conditions, return policy, shipping policy and privacy policy. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLegalInformation/).
727
+ * @description: Get legal policies for an application which includes Terms and conditions, return policy, shipping policy and privacy policy. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getLegalInformation/).
571
728
  */
572
729
  async getLegalInformation(
573
730
  { requestHeaders } = { requestHeaders: {} },
@@ -601,10 +758,10 @@ class Content {
601
758
  /**
602
759
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
603
760
  * @param {import("../ApplicationAPIClient").Options} - Options
604
- * @returns {Promise<NavigationGetResponse>} - Success response
761
+ * @returns {Promise<NavigationGetDetails>} - Success response
605
762
  * @name getNavigations
606
763
  * @summary: List navigation items
607
- * @description: Get the navigation link items which can be powered to generate menus on application's website or equivalent mobile apps. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getNavigations/).
764
+ * @description: Get the navigation link items which can be powered to generate menus on application's website or equivalent mobile apps. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getNavigations/).
608
765
  */
609
766
  async getNavigations(
610
767
  { pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
@@ -637,13 +794,50 @@ class Content {
637
794
  return response;
638
795
  }
639
796
 
797
+ /**
798
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
799
+ * @param {import("../ApplicationAPIClient").Options} - Options
800
+ * @returns {Promise<TranslationResult>} - Success response
801
+ * @name getOrderTranslation
802
+ * @summary: Get Order Translations
803
+ * @description: Retrieves translated information for orders or shipments. This endpoint processes the order/shipment payload and returns the same structure with translated details including names, brands, categories, and other localized content. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getOrderTranslation/).
804
+ */
805
+ async getOrderTranslation(
806
+ { body, requestHeaders } = { requestHeaders: {} },
807
+ { responseHeaders } = { responseHeaders: false }
808
+ ) {
809
+ const query_params = {};
810
+
811
+ const xHeaders = {};
812
+
813
+ const response = await ApplicationAPIClient.execute(
814
+ this._conf,
815
+ "post",
816
+ constructUrl({
817
+ url: this._urls["getOrderTranslation"],
818
+ params: {},
819
+ }),
820
+ query_params,
821
+ body,
822
+ { ...xHeaders, ...requestHeaders },
823
+ { responseHeaders }
824
+ );
825
+
826
+ let responseData = response;
827
+ if (responseHeaders) {
828
+ responseData = response[0];
829
+ }
830
+
831
+ return response;
832
+ }
833
+
640
834
  /**
641
835
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
642
836
  * @param {import("../ApplicationAPIClient").Options} - Options
643
837
  * @returns {Promise<PageSchema>} - Success response
644
838
  * @name getPage
645
839
  * @summary: Get a page
646
- * @description: Get detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
840
+ * @description: Get detailed information for a specific page within the theme. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getPage/).
647
841
  */
648
842
  async getPage(
649
843
  { slug, rootId, requestHeaders } = { requestHeaders: {} },
@@ -687,10 +881,10 @@ class Content {
687
881
  /**
688
882
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
689
883
  * @param {import("../ApplicationAPIClient").Options} - Options
690
- * @returns {Promise<PageGetResponse>} - Success response
884
+ * @returns {Promise<PageGetDetails>} - Success response
691
885
  * @name getPages
692
886
  * @summary: Lists pages
693
- * @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
887
+ * @description: Lists all Custom Pages. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getPages/).
694
888
  */
695
889
  async getPages(
696
890
  { pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
@@ -729,7 +923,7 @@ class Content {
729
923
  * @returns {Promise<SeoComponent>} - Success response
730
924
  * @name getSEOConfiguration
731
925
  * @summary: Get SEO settings
732
- * @description: Get search engine optimization configurations of an application. Details include the title, description and an image. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSEOConfiguration/).
926
+ * @description: Get search engine optimization configurations of an application. Details include the title, description and an image. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getSEOConfiguration/).
733
927
  */
734
928
  async getSEOConfiguration(
735
929
  { requestHeaders } = { requestHeaders: {} },
@@ -766,7 +960,7 @@ class Content {
766
960
  * @returns {Promise<SeoSchemaComponent>} - Success response
767
961
  * @name getSEOMarkupSchemas
768
962
  * @summary: List SEO Markup schemas
769
- * @description: Get all SEO Markup schema Templates setup for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSEOMarkupSchemas/).
963
+ * @description: Get all SEO Markup schema Templates setup for an application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getSEOMarkupSchemas/).
770
964
  */
771
965
  async getSEOMarkupSchemas(
772
966
  { pageType, active, requestHeaders } = { requestHeaders: {} },
@@ -802,24 +996,15 @@ class Content {
802
996
  /**
803
997
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
804
998
  * @param {import("../ApplicationAPIClient").Options} - Options
805
- * @returns {Promise<SlideshowSchema>} - Success response
806
- * @name getSlideshow
807
- * @summary: Get a Slideshow
808
- * @description: Get a slideshow using its `slug`. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshow/).
999
+ * @returns {Promise<Support>} - Success response
1000
+ * @name getSupportInformation
1001
+ * @summary: Get customer support information
1002
+ * @description: Get customer support contact details. Contact Details can be either a phone number or an email-id or both. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getSupportInformation/).
809
1003
  */
810
- async getSlideshow(
811
- { slug, requestHeaders } = { requestHeaders: {} },
1004
+ async getSupportInformation(
1005
+ { requestHeaders } = { requestHeaders: {} },
812
1006
  { responseHeaders } = { responseHeaders: false }
813
1007
  ) {
814
- const errors = validateRequiredParams(arguments[0], ["slug"]);
815
- if (errors.length > 0) {
816
- const error = new FDKClientValidationError({
817
- message: "Missing required field",
818
- details: errors,
819
- });
820
- return Promise.reject(new FDKClientValidationError(error));
821
- }
822
-
823
1008
  const query_params = {};
824
1009
 
825
1010
  const xHeaders = {};
@@ -828,8 +1013,8 @@ class Content {
828
1013
  this._conf,
829
1014
  "get",
830
1015
  constructUrl({
831
- url: this._urls["getSlideshow"],
832
- params: { slug },
1016
+ url: this._urls["getSupportInformation"],
1017
+ params: {},
833
1018
  }),
834
1019
  query_params,
835
1020
  undefined,
@@ -848,18 +1033,16 @@ class Content {
848
1033
  /**
849
1034
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
850
1035
  * @param {import("../ApplicationAPIClient").Options} - Options
851
- * @returns {Promise<SlideshowGetResponse>} - Success response
852
- * @name getSlideshows
853
- * @summary: List Slideshows
854
- * @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
1036
+ * @returns {Promise<Object>} - Success response
1037
+ * @name getSupportedLanguages
1038
+ * @summary: List App Languages
1039
+ * @description: Retrieve available languages and their configurations for the specified application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getSupportedLanguages/).
855
1040
  */
856
- async getSlideshows(
857
- { pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
1041
+ async getSupportedLanguages(
1042
+ { requestHeaders } = { requestHeaders: {} },
858
1043
  { responseHeaders } = { responseHeaders: false }
859
1044
  ) {
860
1045
  const query_params = {};
861
- query_params["page_no"] = pageNo;
862
- query_params["page_size"] = pageSize;
863
1046
 
864
1047
  const xHeaders = {};
865
1048
 
@@ -867,7 +1050,7 @@ class Content {
867
1050
  this._conf,
868
1051
  "get",
869
1052
  constructUrl({
870
- url: this._urls["getSlideshows"],
1053
+ url: this._urls["getSupportedLanguages"],
871
1054
  params: {},
872
1055
  }),
873
1056
  query_params,
@@ -884,42 +1067,15 @@ class Content {
884
1067
  return response;
885
1068
  }
886
1069
 
887
- /**
888
- * @param {Object} arg - Arg object.
889
- * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
890
- * @returns {Paginator<SlideshowGetResponse>}
891
- * @summary: List Slideshows
892
- * @description: List slideshows along with their details.
893
- */
894
- getSlideshowsPaginator({ pageSize } = {}) {
895
- const paginator = new Paginator();
896
- const callback = async () => {
897
- const pageId = paginator.nextId;
898
- const pageNo = paginator.pageNo;
899
- const pageType = "number";
900
- const data = await this.getSlideshows({
901
- pageNo: pageNo,
902
- pageSize: pageSize,
903
- });
904
- paginator.setPaginator({
905
- hasNext: data.page.has_next ? true : false,
906
- nextId: data.page.next_id,
907
- });
908
- return data;
909
- };
910
- paginator.setCallback(callback.bind(this));
911
- return paginator;
912
- }
913
-
914
1070
  /**
915
1071
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
916
1072
  * @param {import("../ApplicationAPIClient").Options} - Options
917
- * @returns {Promise<Support>} - Success response
918
- * @name getSupportInformation
919
- * @summary: Get customer support information
920
- * @description: Get customer support contact details. Contact Details can be either a phone number or an email-id or both. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSupportInformation/).
1073
+ * @returns {Promise<TagsSchema>} - Success response
1074
+ * @name getTags
1075
+ * @summary: Get HTML tags
1076
+ * @description: Lists HTML tags to power additional functionalities within an application. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getTags/).
921
1077
  */
922
- async getSupportInformation(
1078
+ async getTags(
923
1079
  { requestHeaders } = { requestHeaders: {} },
924
1080
  { responseHeaders } = { responseHeaders: false }
925
1081
  ) {
@@ -931,7 +1087,7 @@ class Content {
931
1087
  this._conf,
932
1088
  "get",
933
1089
  constructUrl({
934
- url: this._urls["getSupportInformation"],
1090
+ url: this._urls["getTags"],
935
1091
  params: {},
936
1092
  }),
937
1093
  query_params,
@@ -951,16 +1107,23 @@ class Content {
951
1107
  /**
952
1108
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
953
1109
  * @param {import("../ApplicationAPIClient").Options} - Options
954
- * @returns {Promise<TagsSchema>} - Success response
955
- * @name getTags
956
- * @summary: Get HTML tags
957
- * @description: Lists HTML tags to power additional functionalities within an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getTags/).
1110
+ * @returns {Promise<TranslateUiLabelsPage>} - Success response
1111
+ * @name getTranslateUILabels
1112
+ * @summary: Get Translate Ui Labels
1113
+ * @description: Retrieve Translate Ui Labels with filtering options for type, template, and locale settings. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/application/content/getTranslateUILabels/).
958
1114
  */
959
- async getTags(
960
- { requestHeaders } = { requestHeaders: {} },
1115
+ async getTranslateUILabels(
1116
+ { template, templateThemeId, themeId, locale, type, requestHeaders } = {
1117
+ requestHeaders: {},
1118
+ },
961
1119
  { responseHeaders } = { responseHeaders: false }
962
1120
  ) {
963
1121
  const query_params = {};
1122
+ query_params["template"] = template;
1123
+ query_params["template_theme_id"] = templateThemeId;
1124
+ query_params["theme_id"] = themeId;
1125
+ query_params["locale"] = locale;
1126
+ query_params["type"] = type;
964
1127
 
965
1128
  const xHeaders = {};
966
1129
 
@@ -968,7 +1131,7 @@ class Content {
968
1131
  this._conf,
969
1132
  "get",
970
1133
  constructUrl({
971
- url: this._urls["getTags"],
1134
+ url: this._urls["getTranslateUILabels"],
972
1135
  params: {},
973
1136
  }),
974
1137
  query_params,