@gofynd/fdk-client-javascript 1.4.13 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
  28. package/sdk/application/Content/ContentApplicationModel.js +83 -32
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
  75. package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  93. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  94. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  95. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  96. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  97. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  98. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  99. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  100. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  101. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  102. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  103. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  104. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  105. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  106. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  107. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  108. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  109. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  110. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  111. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  112. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  113. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  114. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  115. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  116. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  117. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  118. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  120. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  129. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  130. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  131. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  132. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  133. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  134. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  135. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  136. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  137. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  138. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  139. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  140. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
  142. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
  143. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
  145. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
  146. package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
  147. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
  148. package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
  149. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  150. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  151. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  152. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  153. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  154. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  161. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  171. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  173. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  175. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  177. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  179. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  181. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  182. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  183. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  184. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  185. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  186. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  187. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  188. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  189. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  190. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  191. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  192. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  194. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  195. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  198. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  199. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  200. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  201. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  202. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
  212. package/sdk/platform/Order/OrderPlatformClient.js +589 -229
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
  214. package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
  216. package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  231. package/sdk/platform/PlatformClient.d.ts +0 -2
  232. package/sdk/platform/PlatformClient.js +0 -4
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  252. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  258. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  271. package/sdk/platform/index.d.ts +0 -1
  272. package/sdk/platform/index.js +0 -2
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  278. package/sdk/public/Content/ContentPublicClient.js +791 -5
  279. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  280. package/sdk/public/Content/ContentPublicModel.js +649 -3
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  282. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  290. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  291. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  292. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  293. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  294. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -16,11 +16,11 @@ class Content {
16
16
  this._relativeUrls = {
17
17
  getAnnouncements: "/service/application/content/v1.0/announcements",
18
18
  getBlog: "/service/application/content/v1.0/blogs/{slug}",
19
- getBlogs: "/service/application/content/v1.0/blogs/",
20
- getCustomFields:
21
- "/service/application/content/v1.0/metafields/{resource}/{resource_id}",
22
- getCustomObject:
23
- "/service/application/content/v1.0/metaobjects/{metaobject_id}",
19
+ getBlogs: "/service/application/content/v1.0/blogs",
20
+ getCustomFieldsByResourceId:
21
+ "/service/application/content/v2.0/customfields/resource/{resource}/{resource_slug}",
22
+ getCustomObjectBySlug:
23
+ "/service/application/content/v2.0/customobjects/definition/{definition_slug}/entries/{slug}",
24
24
  getDataLoaders: "/service/application/content/v1.0/data-loader",
25
25
  getFaqBySlug: "/service/application/content/v1.0/faq/{slug}",
26
26
  getFaqCategories: "/service/application/content/v1.0/faq/categories",
@@ -31,13 +31,13 @@ class Content {
31
31
  "/service/application/content/v1.0/faq/category/{slug}/faqs",
32
32
  getLandingPage: "/service/application/content/v1.0/landing-page",
33
33
  getLegalInformation: "/service/application/content/v1.0/legal",
34
- getNavigations: "/service/application/content/v1.0/navigations/",
34
+ getNavigations: "/service/application/content/v1.0/navigations",
35
35
  getPage: "/service/application/content/v2.0/pages/{slug}",
36
- getPages: "/service/application/content/v2.0/pages/",
36
+ getPages: "/service/application/content/v2.0/pages",
37
37
  getSEOConfiguration: "/service/application/content/v1.0/seo",
38
38
  getSEOMarkupSchemas: "/service/application/content/v1.0/seo/schema",
39
39
  getSlideshow: "/service/application/content/v1.0/slideshow/{slug}",
40
- getSlideshows: "/service/application/content/v1.0/slideshow/",
40
+ getSlideshows: "/service/application/content/v1.0/slideshow",
41
41
  getSupportInformation: "/service/application/content/v1.0/support",
42
42
  getTags: "/service/application/content/v1.0/tags",
43
43
  };
@@ -147,11 +147,11 @@ class Content {
147
147
  * @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/).
148
148
  */
149
149
  async getBlog(
150
- { slug, rootId, requestHeaders } = { requestHeaders: {} },
150
+ { slug, rootId, preview, requestHeaders } = { requestHeaders: {} },
151
151
  { responseHeaders } = { responseHeaders: false }
152
152
  ) {
153
153
  const { error } = ContentApplicationValidator.getBlog().validate(
154
- { slug, rootId },
154
+ { slug, rootId, preview },
155
155
  { abortEarly: false, allowUnknown: true }
156
156
  );
157
157
  if (error) {
@@ -160,7 +160,7 @@ class Content {
160
160
 
161
161
  // Showing warrnings if extra unknown parameters are found
162
162
  const { error: warrning } = ContentApplicationValidator.getBlog().validate(
163
- { slug, rootId },
163
+ { slug, rootId, preview },
164
164
  { abortEarly: false, allowUnknown: false }
165
165
  );
166
166
  if (warrning) {
@@ -172,6 +172,7 @@ class Content {
172
172
 
173
173
  const query_params = {};
174
174
  query_params["root_id"] = rootId;
175
+ query_params["preview"] = preview;
175
176
 
176
177
  const xHeaders = {};
177
178
 
@@ -218,7 +219,7 @@ class Content {
218
219
  * @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
219
220
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
220
221
  * @param {import("../ApplicationAPIClient").Options} - Options
221
- * @returns {Promise<ContentApplicationModel.BlogGetResponse>} - Success response
222
+ * @returns {Promise<ContentApplicationModel.BlogGetDetails>} - Success response
222
223
  * @name getBlogs
223
224
  * @summary: List blogs
224
225
  * @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
@@ -275,7 +276,7 @@ class Content {
275
276
 
276
277
  const {
277
278
  error: res_error,
278
- } = ContentApplicationModel.BlogGetResponse().validate(responseData, {
279
+ } = ContentApplicationModel.BlogGetDetails().validate(responseData, {
279
280
  abortEarly: false,
280
281
  allowUnknown: true,
281
282
  });
@@ -295,22 +296,26 @@ class Content {
295
296
  }
296
297
 
297
298
  /**
298
- * @param {ContentApplicationValidator.GetCustomFieldsParam} arg - Arg object.
299
+ * @param {ContentApplicationValidator.GetCustomFieldsByResourceIdParam} arg
300
+ * - Arg object.
301
+ *
299
302
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
300
303
  * @param {import("../ApplicationAPIClient").Options} - Options
301
304
  * @returns {Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>}
302
305
  * - Success response
303
306
  *
304
- * @name getCustomFields
305
- * @summary: Get list of custom fields
306
- * @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/).
307
+ * @name getCustomFieldsByResourceId
308
+ * @summary: Get list of custom fields of given resource and resource slug
309
+ * @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldsByResourceId/).
307
310
  */
308
- async getCustomFields(
309
- { resource, resourceId, requestHeaders } = { requestHeaders: {} },
311
+ async getCustomFieldsByResourceId(
312
+ { resource, resourceSlug, requestHeaders } = { requestHeaders: {} },
310
313
  { responseHeaders } = { responseHeaders: false }
311
314
  ) {
312
- const { error } = ContentApplicationValidator.getCustomFields().validate(
313
- { resource, resourceId },
315
+ const {
316
+ error,
317
+ } = ContentApplicationValidator.getCustomFieldsByResourceId().validate(
318
+ { resource, resourceSlug },
314
319
  { abortEarly: false, allowUnknown: true }
315
320
  );
316
321
  if (error) {
@@ -320,14 +325,14 @@ class Content {
320
325
  // Showing warrnings if extra unknown parameters are found
321
326
  const {
322
327
  error: warrning,
323
- } = ContentApplicationValidator.getCustomFields().validate(
324
- { resource, resourceId },
328
+ } = ContentApplicationValidator.getCustomFieldsByResourceId().validate(
329
+ { resource, resourceSlug },
325
330
  { abortEarly: false, allowUnknown: false }
326
331
  );
327
332
  if (warrning) {
328
333
  Logger({
329
334
  level: "WARN",
330
- message: `Parameter Validation warrnings for application > Content > getCustomFields \n ${warrning}`,
335
+ message: `Parameter Validation warrnings for application > Content > getCustomFieldsByResourceId \n ${warrning}`,
331
336
  });
332
337
  }
333
338
 
@@ -339,8 +344,8 @@ class Content {
339
344
  this._conf,
340
345
  "get",
341
346
  constructUrl({
342
- url: this._urls["getCustomFields"],
343
- params: { resource, resourceId },
347
+ url: this._urls["getCustomFieldsByResourceId"],
348
+ params: { resource, resourceSlug },
344
349
  }),
345
350
  query_params,
346
351
  undefined,
@@ -366,7 +371,7 @@ class Content {
366
371
  } else {
367
372
  Logger({
368
373
  level: "WARN",
369
- message: `Response Validation Warnings for application > Content > getCustomFields \n ${res_error}`,
374
+ message: `Response Validation Warnings for application > Content > getCustomFieldsByResourceId \n ${res_error}`,
370
375
  });
371
376
  }
372
377
  }
@@ -375,21 +380,23 @@ class Content {
375
380
  }
376
381
 
377
382
  /**
378
- * @param {ContentApplicationValidator.GetCustomObjectParam} arg - Arg object.
383
+ * @param {ContentApplicationValidator.GetCustomObjectBySlugParam} arg - Arg object.
379
384
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
380
385
  * @param {import("../ApplicationAPIClient").Options} - Options
381
386
  * @returns {Promise<ContentApplicationModel.CustomObjectByIdSchema>} -
382
387
  * Success response
383
- * @name getCustomObject
384
- * @summary: Get custom object
385
- * @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/).
388
+ * @name getCustomObjectBySlug
389
+ * @summary: Get custom object details
390
+ * @description: Details of a custom object entry can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObjectBySlug/).
386
391
  */
387
- async getCustomObject(
388
- { metaobjectId, requestHeaders } = { requestHeaders: {} },
392
+ async getCustomObjectBySlug(
393
+ { definitionSlug, slug, requestHeaders } = { requestHeaders: {} },
389
394
  { responseHeaders } = { responseHeaders: false }
390
395
  ) {
391
- const { error } = ContentApplicationValidator.getCustomObject().validate(
392
- { metaobjectId },
396
+ const {
397
+ error,
398
+ } = ContentApplicationValidator.getCustomObjectBySlug().validate(
399
+ { definitionSlug, slug },
393
400
  { abortEarly: false, allowUnknown: true }
394
401
  );
395
402
  if (error) {
@@ -399,14 +406,14 @@ class Content {
399
406
  // Showing warrnings if extra unknown parameters are found
400
407
  const {
401
408
  error: warrning,
402
- } = ContentApplicationValidator.getCustomObject().validate(
403
- { metaobjectId },
409
+ } = ContentApplicationValidator.getCustomObjectBySlug().validate(
410
+ { definitionSlug, slug },
404
411
  { abortEarly: false, allowUnknown: false }
405
412
  );
406
413
  if (warrning) {
407
414
  Logger({
408
415
  level: "WARN",
409
- message: `Parameter Validation warrnings for application > Content > getCustomObject \n ${warrning}`,
416
+ message: `Parameter Validation warrnings for application > Content > getCustomObjectBySlug \n ${warrning}`,
410
417
  });
411
418
  }
412
419
 
@@ -418,8 +425,8 @@ class Content {
418
425
  this._conf,
419
426
  "get",
420
427
  constructUrl({
421
- url: this._urls["getCustomObject"],
422
- params: { metaobjectId },
428
+ url: this._urls["getCustomObjectBySlug"],
429
+ params: { definitionSlug, slug },
423
430
  }),
424
431
  query_params,
425
432
  undefined,
@@ -445,7 +452,7 @@ class Content {
445
452
  } else {
446
453
  Logger({
447
454
  level: "WARN",
448
- message: `Response Validation Warnings for application > Content > getCustomObject \n ${res_error}`,
455
+ message: `Response Validation Warnings for application > Content > getCustomObjectBySlug \n ${res_error}`,
449
456
  });
450
457
  }
451
458
  }
@@ -1087,8 +1094,7 @@ class Content {
1087
1094
  * @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
1088
1095
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1089
1096
  * @param {import("../ApplicationAPIClient").Options} - Options
1090
- * @returns {Promise<ContentApplicationModel.NavigationGetResponse>} -
1091
- * Success response
1097
+ * @returns {Promise<ContentApplicationModel.NavigationGetDetails>} - Success response
1092
1098
  * @name getNavigations
1093
1099
  * @summary: List navigation items
1094
1100
  * @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/).
@@ -1145,7 +1151,7 @@ class Content {
1145
1151
 
1146
1152
  const {
1147
1153
  error: res_error,
1148
- } = ContentApplicationModel.NavigationGetResponse().validate(responseData, {
1154
+ } = ContentApplicationModel.NavigationGetDetails().validate(responseData, {
1149
1155
  abortEarly: false,
1150
1156
  allowUnknown: true,
1151
1157
  });
@@ -1245,7 +1251,7 @@ class Content {
1245
1251
  * @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
1246
1252
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1247
1253
  * @param {import("../ApplicationAPIClient").Options} - Options
1248
- * @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
1254
+ * @returns {Promise<ContentApplicationModel.PageGetDetails>} - Success response
1249
1255
  * @name getPages
1250
1256
  * @summary: Lists pages
1251
1257
  * @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
@@ -1300,7 +1306,7 @@ class Content {
1300
1306
 
1301
1307
  const {
1302
1308
  error: res_error,
1303
- } = ContentApplicationModel.PageGetResponse().validate(responseData, {
1309
+ } = ContentApplicationModel.PageGetDetails().validate(responseData, {
1304
1310
  abortEarly: false,
1305
1311
  allowUnknown: true,
1306
1312
  });
@@ -1563,7 +1569,7 @@ class Content {
1563
1569
  * @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
1564
1570
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1565
1571
  * @param {import("../ApplicationAPIClient").Options} - Options
1566
- * @returns {Promise<ContentApplicationModel.SlideshowGetResponse>} - Success response
1572
+ * @returns {Promise<ContentApplicationModel.SlideshowGetDetails>} - Success response
1567
1573
  * @name getSlideshows
1568
1574
  * @summary: List Slideshows
1569
1575
  * @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
@@ -1620,7 +1626,7 @@ class Content {
1620
1626
 
1621
1627
  const {
1622
1628
  error: res_error,
1623
- } = ContentApplicationModel.SlideshowGetResponse().validate(responseData, {
1629
+ } = ContentApplicationModel.SlideshowGetDetails().validate(responseData, {
1624
1630
  abortEarly: false,
1625
1631
  allowUnknown: true,
1626
1632
  });
@@ -1639,33 +1645,6 @@ class Content {
1639
1645
  return response;
1640
1646
  }
1641
1647
 
1642
- /**
1643
- * @param {Object} arg - Arg object.
1644
- * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
1645
- * @returns {Paginator<ContentApplicationModel.SlideshowGetResponse>}
1646
- * @summary: List Slideshows
1647
- * @description: List slideshows along with their details.
1648
- */
1649
- getSlideshowsPaginator({ pageSize } = {}) {
1650
- const paginator = new Paginator();
1651
- const callback = async () => {
1652
- const pageId = paginator.nextId;
1653
- const pageNo = paginator.pageNo;
1654
- const pageType = "number";
1655
- const data = await this.getSlideshows({
1656
- pageNo: pageNo,
1657
- pageSize: pageSize,
1658
- });
1659
- paginator.setPaginator({
1660
- hasNext: data.page.has_next ? true : false,
1661
- nextId: data.page.next_id,
1662
- });
1663
- return data;
1664
- };
1665
- paginator.setCallback(callback.bind(this));
1666
- return paginator;
1667
- }
1668
-
1669
1648
  /**
1670
1649
  * @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
1671
1650
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -22,6 +22,11 @@ export = ContentApplicationModel;
22
22
  * @typedef SeoComponent
23
23
  * @property {SeoSchema} [seo]
24
24
  */
25
+ /**
26
+ * @typedef ValidationError
27
+ * @property {string} message - A brief description of the error encountered.
28
+ * @property {string} field - The field in the request that caused the error.
29
+ */
25
30
  /**
26
31
  * @typedef SeoSchema
27
32
  * @property {string} [app] - Application ID - Identifier for a Sales channel.
@@ -98,7 +103,7 @@ export = ContentApplicationModel;
98
103
  * @property {string} [end] - End time of schedule.
99
104
  */
100
105
  /**
101
- * @typedef BlogGetResponse
106
+ * @typedef BlogGetDetails
102
107
  * @property {BlogSchema[]} [items] - List of blogs with details.
103
108
  * @property {Page} [page]
104
109
  * @property {BlogFilters} [filters]
@@ -366,7 +371,7 @@ export = ContentApplicationModel;
366
371
  * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
367
372
  */
368
373
  /**
369
- * @typedef NavigationGetResponse
374
+ * @typedef NavigationGetDetails
370
375
  * @property {NavigationSchema[]} [items] - List of navigation items.
371
376
  * @property {Page} [page]
372
377
  */
@@ -395,7 +400,7 @@ export = ContentApplicationModel;
395
400
  * links and relevant details.
396
401
  */
397
402
  /**
398
- * @typedef PageGetResponse
403
+ * @typedef PageGetDetails
399
404
  * @property {PageSchema[]} [items] - List of details of custom pages.
400
405
  * @property {Page} [page]
401
406
  */
@@ -433,7 +438,7 @@ export = ContentApplicationModel;
433
438
  * @property {string} [id] - Details containing the creator of custom page.
434
439
  */
435
440
  /**
436
- * @typedef SlideshowGetResponse
441
+ * @typedef SlideshowGetDetails
437
442
  * @property {SlideshowSchema[]} [items] - Details related to slideshow/screensaver.
438
443
  * @property {Page} [page]
439
444
  */
@@ -525,7 +530,7 @@ export = ContentApplicationModel;
525
530
  /**
526
531
  * @typedef CustomObjectFieldSchema
527
532
  * @property {string} [_id] - Unique identifier of an entry.
528
- * @property {string} [key] - Key of custom field inside custom object.
533
+ * @property {string} [slug] - Slug of custom field inside custom object.
529
534
  * @property {CustomObjectFieldValue[]} [value] - Value of custom field inside
530
535
  * custom object.
531
536
  * @property {string} [type] - Data type of custom field inside custom object.
@@ -534,7 +539,7 @@ export = ContentApplicationModel;
534
539
  */
535
540
  /**
536
541
  * @typedef CustomObjectByIdSchema
537
- * @property {string} [_id] - Unique identifier of an entry.
542
+ * @property {string} [id] - Unique identifier of an entry.
538
543
  * @property {string} [status] - String denoting whether custom object is active
539
544
  * or inactive.
540
545
  * @property {string} [display_name] - Unique Display name of a custom object
@@ -553,10 +558,8 @@ export = ContentApplicationModel;
553
558
  * @typedef CustomFieldSchema
554
559
  * @property {string} [_id] - Unique identifier of an entry.
555
560
  * @property {string} [namespace] - Namespace under which custom field is present.
556
- * @property {string} [key] - Unique identifier for a custom field.
561
+ * @property {string} [slug] - Unique identifier for a custom field in a given namespace.
557
562
  * @property {string} [resource] - Type of an entity under which custom field is defined.
558
- * @property {string} [creator] - Denotes where the custom field has been
559
- * defined - within a company or within a sales channel.
560
563
  * @property {CustomFieldValue[]} [value] - Array containing values of custom field.
561
564
  * @property {string} [resource_id] - Unique identifier for the entity under
562
565
  * which custom field is defined.
@@ -569,7 +572,6 @@ export = ContentApplicationModel;
569
572
  * @property {boolean} [has_invalid_values] - Whether the custom field has invalid values.
570
573
  * @property {Object[]} [invalid_value_errors] - Array denoting if there's a
571
574
  * validation failure on a custom field inside a custom object.
572
- * @property {string} [created_by] - Details of the owner of custom field creator.
573
575
  * @property {boolean} [is_deleted] - Whether the custom field definition is deleted.
574
576
  * @property {string} [created_at] - Timestamp which represent the time when
575
577
  * data was created.
@@ -580,6 +582,23 @@ export = ContentApplicationModel;
580
582
  * @typedef CustomFieldsResponseByResourceIdSchema
581
583
  * @property {CustomFieldSchema[]} [items] - List of custom fields against a resource.
582
584
  */
585
+ /**
586
+ * @typedef CustomObjectListItemSchema
587
+ * @property {string} [_id] - Unique system generated if for a custom object
588
+ * @property {string} [definition_id] - Unique system generated id for a custom
589
+ * object definition
590
+ * @property {string} [status] - Flag to denote whether custom object is active or not
591
+ * @property {string} [updated_at] - Updation time of custom object entry
592
+ * @property {string} [display_name] - A custom field inside custom object used
593
+ * to display the entry of custom object in listing
594
+ * @property {CustomObjectListItemDefinationSchema} [definition]
595
+ * @property {number} [references]
596
+ */
597
+ /**
598
+ * @typedef CustomObjectsSchema
599
+ * @property {CustomObjectListItemSchema[]} [items]
600
+ * @property {Page} [page]
601
+ */
583
602
  /**
584
603
  * @typedef ActionPage
585
604
  * @property {Object} [params] - Parameters that should be considered in path.
@@ -640,7 +659,7 @@ export = ContentApplicationModel;
640
659
  declare class ContentApplicationModel {
641
660
  }
642
661
  declare namespace ContentApplicationModel {
643
- export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetResponse, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, LocaleLanguage, Language, Action, NavigationReference, ConfigurationSchema, SlideshowMedia, AnnouncementsResponseSchema, FaqResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, FAQCategorySchema, FaqSchema, GetFaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageSchema, NavigationGetResponse, Orientation, NavigationSchema, PageGetResponse, PageSchema, CreatedBySchema, SlideshowGetResponse, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, ActionPage, PageType };
662
+ export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, ValidationError, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, LocaleLanguage, Language, Action, NavigationReference, ConfigurationSchema, SlideshowMedia, AnnouncementsResponseSchema, FaqResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, FAQCategorySchema, FaqSchema, GetFaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageSchema, NavigationGetDetails, Orientation, NavigationSchema, PageGetDetails, PageSchema, CreatedBySchema, SlideshowGetDetails, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, CustomObjectFieldSchema, CustomObjectByIdSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, CustomObjectListItemSchema, CustomObjectsSchema, ActionPage, PageType };
644
663
  }
645
664
  /** @returns {ApplicationLegal} */
646
665
  declare function ApplicationLegal(): ApplicationLegal;
@@ -701,6 +720,18 @@ declare function SeoComponent(): SeoComponent;
701
720
  type SeoComponent = {
702
721
  seo?: SeoSchema;
703
722
  };
723
+ /** @returns {ValidationError} */
724
+ declare function ValidationError(): ValidationError;
725
+ type ValidationError = {
726
+ /**
727
+ * - A brief description of the error encountered.
728
+ */
729
+ message: string;
730
+ /**
731
+ * - The field in the request that caused the error.
732
+ */
733
+ field: string;
734
+ };
704
735
  /** @returns {SeoSchema} */
705
736
  declare function SeoSchema(): SeoSchema;
706
737
  type SeoSchema = {
@@ -890,9 +921,9 @@ type ScheduleStartSchema = {
890
921
  */
891
922
  end?: string;
892
923
  };
893
- /** @returns {BlogGetResponse} */
894
- declare function BlogGetResponse(): BlogGetResponse;
895
- type BlogGetResponse = {
924
+ /** @returns {BlogGetDetails} */
925
+ declare function BlogGetDetails(): BlogGetDetails;
926
+ type BlogGetDetails = {
896
927
  /**
897
928
  * - List of blogs with details.
898
929
  */
@@ -1562,9 +1593,9 @@ type LandingPageSchema = {
1562
1593
  */
1563
1594
  _custom_json?: any;
1564
1595
  };
1565
- /** @returns {NavigationGetResponse} */
1566
- declare function NavigationGetResponse(): NavigationGetResponse;
1567
- type NavigationGetResponse = {
1596
+ /** @returns {NavigationGetDetails} */
1597
+ declare function NavigationGetDetails(): NavigationGetDetails;
1598
+ type NavigationGetDetails = {
1568
1599
  /**
1569
1600
  * - List of navigation items.
1570
1601
  */
@@ -1627,9 +1658,9 @@ type NavigationSchema = {
1627
1658
  */
1628
1659
  navigation?: NavigationReference[];
1629
1660
  };
1630
- /** @returns {PageGetResponse} */
1631
- declare function PageGetResponse(): PageGetResponse;
1632
- type PageGetResponse = {
1661
+ /** @returns {PageGetDetails} */
1662
+ declare function PageGetDetails(): PageGetDetails;
1663
+ type PageGetDetails = {
1633
1664
  /**
1634
1665
  * - List of details of custom pages.
1635
1666
  */
@@ -1725,9 +1756,9 @@ type CreatedBySchema = {
1725
1756
  */
1726
1757
  id?: string;
1727
1758
  };
1728
- /** @returns {SlideshowGetResponse} */
1729
- declare function SlideshowGetResponse(): SlideshowGetResponse;
1730
- type SlideshowGetResponse = {
1759
+ /** @returns {SlideshowGetDetails} */
1760
+ declare function SlideshowGetDetails(): SlideshowGetDetails;
1761
+ type SlideshowGetDetails = {
1731
1762
  /**
1732
1763
  * - Details related to slideshow/screensaver.
1733
1764
  */
@@ -1962,9 +1993,9 @@ type CustomObjectFieldSchema = {
1962
1993
  */
1963
1994
  _id?: string;
1964
1995
  /**
1965
- * - Key of custom field inside custom object.
1996
+ * - Slug of custom field inside custom object.
1966
1997
  */
1967
- key?: string;
1998
+ slug?: string;
1968
1999
  /**
1969
2000
  * - Value of custom field inside
1970
2001
  * custom object.
@@ -1986,7 +2017,7 @@ type CustomObjectByIdSchema = {
1986
2017
  /**
1987
2018
  * - Unique identifier of an entry.
1988
2019
  */
1989
- _id?: string;
2020
+ id?: string;
1990
2021
  /**
1991
2022
  * - String denoting whether custom object is active
1992
2023
  * or inactive.
@@ -2029,18 +2060,13 @@ type CustomFieldSchema = {
2029
2060
  */
2030
2061
  namespace?: string;
2031
2062
  /**
2032
- * - Unique identifier for a custom field.
2063
+ * - Unique identifier for a custom field in a given namespace.
2033
2064
  */
2034
- key?: string;
2065
+ slug?: string;
2035
2066
  /**
2036
2067
  * - Type of an entity under which custom field is defined.
2037
2068
  */
2038
2069
  resource?: string;
2039
- /**
2040
- * - Denotes where the custom field has been
2041
- * defined - within a company or within a sales channel.
2042
- */
2043
- creator?: string;
2044
2070
  /**
2045
2071
  * - Array containing values of custom field.
2046
2072
  */
@@ -2080,10 +2106,6 @@ type CustomFieldSchema = {
2080
2106
  * validation failure on a custom field inside a custom object.
2081
2107
  */
2082
2108
  invalid_value_errors?: any[];
2083
- /**
2084
- * - Details of the owner of custom field creator.
2085
- */
2086
- created_by?: string;
2087
2109
  /**
2088
2110
  * - Whether the custom field definition is deleted.
2089
2111
  */
@@ -2107,6 +2129,40 @@ type CustomFieldsResponseByResourceIdSchema = {
2107
2129
  */
2108
2130
  items?: CustomFieldSchema[];
2109
2131
  };
2132
+ /** @returns {CustomObjectListItemSchema} */
2133
+ declare function CustomObjectListItemSchema(): CustomObjectListItemSchema;
2134
+ type CustomObjectListItemSchema = {
2135
+ /**
2136
+ * - Unique system generated if for a custom object
2137
+ */
2138
+ _id?: string;
2139
+ /**
2140
+ * - Unique system generated id for a custom
2141
+ * object definition
2142
+ */
2143
+ definition_id?: string;
2144
+ /**
2145
+ * - Flag to denote whether custom object is active or not
2146
+ */
2147
+ status?: string;
2148
+ /**
2149
+ * - Updation time of custom object entry
2150
+ */
2151
+ updated_at?: string;
2152
+ /**
2153
+ * - A custom field inside custom object used
2154
+ * to display the entry of custom object in listing
2155
+ */
2156
+ display_name?: string;
2157
+ definition?: CustomObjectListItemDefinationSchema;
2158
+ references?: number;
2159
+ };
2160
+ /** @returns {CustomObjectsSchema} */
2161
+ declare function CustomObjectsSchema(): CustomObjectsSchema;
2162
+ type CustomObjectsSchema = {
2163
+ items?: CustomObjectListItemSchema[];
2164
+ page?: Page;
2165
+ };
2110
2166
  /** @returns {ActionPage} */
2111
2167
  declare function ActionPage(): ActionPage;
2112
2168
  type ActionPage = {