@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.2

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 +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +53 -60
  6. package/sdk/application/Cart/CartApplicationClient.js +53 -130
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
  8. package/sdk/application/Cart/CartApplicationModel.js +159 -380
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
  10. package/sdk/application/Cart/CartApplicationValidator.js +18 -34
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
  16. package/sdk/application/Common/CommonApplicationClient.js +5 -6
  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 +27 -34
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
  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 +33 -23
  26. package/sdk/application/Content/ContentApplicationClient.js +75 -54
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
  28. package/sdk/application/Content/ContentApplicationModel.js +32 -83
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
  30. package/sdk/application/Content/ContentApplicationValidator.js +10 -15
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
  38. package/sdk/application/Lead/LeadApplicationClient.js +3 -2
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  40. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
  43. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
  44. package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
  45. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
  46. package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
  47. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
  48. package/sdk/application/Order/OrderApplicationClient.js +13 -96
  49. package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
  50. package/sdk/application/Order/OrderApplicationModel.js +81 -279
  51. package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
  52. package/sdk/application/Order/OrderApplicationValidator.js +2 -15
  53. package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
  54. package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
  55. package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
  56. package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
  57. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  58. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  59. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
  60. package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
  61. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  62. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  63. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  64. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  65. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  66. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  67. package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
  68. package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
  69. package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
  70. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
  71. package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
  72. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  73. package/sdk/application/User/UserApplicationClient.js +10 -10
  74. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  75. package/sdk/application/User/UserApplicationModel.js +16 -16
  76. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  77. package/sdk/application/User/UserApplicationValidator.js +2 -2
  78. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  79. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  80. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
  81. package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
  82. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  83. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  84. package/sdk/application/index.d.ts +0 -1
  85. package/sdk/application/index.js +0 -2
  86. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  87. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  88. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  89. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  90. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  91. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  92. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  93. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  95. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  96. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  97. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  98. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
  99. package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
  100. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  101. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
  102. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  103. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  104. package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
  105. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  106. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  107. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  108. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  109. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  110. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  111. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  112. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  115. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  116. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  117. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  123. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  124. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  125. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  126. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  127. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  128. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  129. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
  131. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
  133. package/sdk/platform/Cart/CartPlatformModel.d.ts +1321 -4975
  134. package/sdk/platform/Cart/CartPlatformModel.js +1226 -1922
  135. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
  139. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
  140. package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
  141. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
  142. package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
  143. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  145. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  146. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  147. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  148. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  149. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  150. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  151. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  153. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  154. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  155. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  156. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  157. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  158. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  159. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  160. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  161. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  162. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  163. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  164. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  165. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  166. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  167. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
  168. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
  169. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  170. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  171. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  172. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  173. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  174. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  175. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  176. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  177. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  178. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  179. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  180. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  181. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  182. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  183. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  184. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  185. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  186. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  187. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  188. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  189. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  191. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  192. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  193. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  194. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  195. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  196. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  197. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  198. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  199. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  200. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  201. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  202. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  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 +4 -15
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
  212. package/sdk/platform/Order/OrderPlatformClient.js +245 -597
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
  214. package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
  216. package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  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 +106 -94
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
  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 +507 -386
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
  231. package/sdk/platform/PlatformClient.d.ts +2 -0
  232. package/sdk/platform/PlatformClient.js +4 -0
  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 +35 -45
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
  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 +5 -36
  252. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  258. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  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 +78 -25
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  271. package/sdk/platform/index.d.ts +1 -0
  272. package/sdk/platform/index.js +2 -0
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  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 +2 -112
  278. package/sdk/public/Content/ContentPublicClient.js +5 -791
  279. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  280. package/sdk/public/Content/ContentPublicModel.js +3 -649
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  282. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  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/application/Finance/FinanceApplicationClient.d.ts +0 -36
  290. package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
  291. package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
  292. package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
  293. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
  294. package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
@@ -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
- 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}",
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}",
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, preview, requestHeaders } = { requestHeaders: {} },
150
+ { slug, rootId, requestHeaders } = { requestHeaders: {} },
151
151
  { responseHeaders } = { responseHeaders: false }
152
152
  ) {
153
153
  const { error } = ContentApplicationValidator.getBlog().validate(
154
- { slug, rootId, preview },
154
+ { slug, rootId },
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, preview },
163
+ { slug, rootId },
164
164
  { abortEarly: false, allowUnknown: false }
165
165
  );
166
166
  if (warrning) {
@@ -172,7 +172,6 @@ class Content {
172
172
 
173
173
  const query_params = {};
174
174
  query_params["root_id"] = rootId;
175
- query_params["preview"] = preview;
176
175
 
177
176
  const xHeaders = {};
178
177
 
@@ -219,7 +218,7 @@ class Content {
219
218
  * @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
220
219
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
221
220
  * @param {import("../ApplicationAPIClient").Options} - Options
222
- * @returns {Promise<ContentApplicationModel.BlogGetDetails>} - Success response
221
+ * @returns {Promise<ContentApplicationModel.BlogGetResponse>} - Success response
223
222
  * @name getBlogs
224
223
  * @summary: List blogs
225
224
  * @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
@@ -276,7 +275,7 @@ class Content {
276
275
 
277
276
  const {
278
277
  error: res_error,
279
- } = ContentApplicationModel.BlogGetDetails().validate(responseData, {
278
+ } = ContentApplicationModel.BlogGetResponse().validate(responseData, {
280
279
  abortEarly: false,
281
280
  allowUnknown: true,
282
281
  });
@@ -296,26 +295,22 @@ class Content {
296
295
  }
297
296
 
298
297
  /**
299
- * @param {ContentApplicationValidator.GetCustomFieldsByResourceIdParam} arg
300
- * - Arg object.
301
- *
298
+ * @param {ContentApplicationValidator.GetCustomFieldsParam} arg - Arg object.
302
299
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
303
300
  * @param {import("../ApplicationAPIClient").Options} - Options
304
301
  * @returns {Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>}
305
302
  * - Success response
306
303
  *
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/).
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/).
310
307
  */
311
- async getCustomFieldsByResourceId(
312
- { resource, resourceSlug, requestHeaders } = { requestHeaders: {} },
308
+ async getCustomFields(
309
+ { resource, resourceId, requestHeaders } = { requestHeaders: {} },
313
310
  { responseHeaders } = { responseHeaders: false }
314
311
  ) {
315
- const {
316
- error,
317
- } = ContentApplicationValidator.getCustomFieldsByResourceId().validate(
318
- { resource, resourceSlug },
312
+ const { error } = ContentApplicationValidator.getCustomFields().validate(
313
+ { resource, resourceId },
319
314
  { abortEarly: false, allowUnknown: true }
320
315
  );
321
316
  if (error) {
@@ -325,14 +320,14 @@ class Content {
325
320
  // Showing warrnings if extra unknown parameters are found
326
321
  const {
327
322
  error: warrning,
328
- } = ContentApplicationValidator.getCustomFieldsByResourceId().validate(
329
- { resource, resourceSlug },
323
+ } = ContentApplicationValidator.getCustomFields().validate(
324
+ { resource, resourceId },
330
325
  { abortEarly: false, allowUnknown: false }
331
326
  );
332
327
  if (warrning) {
333
328
  Logger({
334
329
  level: "WARN",
335
- message: `Parameter Validation warrnings for application > Content > getCustomFieldsByResourceId \n ${warrning}`,
330
+ message: `Parameter Validation warrnings for application > Content > getCustomFields \n ${warrning}`,
336
331
  });
337
332
  }
338
333
 
@@ -344,8 +339,8 @@ class Content {
344
339
  this._conf,
345
340
  "get",
346
341
  constructUrl({
347
- url: this._urls["getCustomFieldsByResourceId"],
348
- params: { resource, resourceSlug },
342
+ url: this._urls["getCustomFields"],
343
+ params: { resource, resourceId },
349
344
  }),
350
345
  query_params,
351
346
  undefined,
@@ -371,7 +366,7 @@ class Content {
371
366
  } else {
372
367
  Logger({
373
368
  level: "WARN",
374
- message: `Response Validation Warnings for application > Content > getCustomFieldsByResourceId \n ${res_error}`,
369
+ message: `Response Validation Warnings for application > Content > getCustomFields \n ${res_error}`,
375
370
  });
376
371
  }
377
372
  }
@@ -380,23 +375,21 @@ class Content {
380
375
  }
381
376
 
382
377
  /**
383
- * @param {ContentApplicationValidator.GetCustomObjectBySlugParam} arg - Arg object.
378
+ * @param {ContentApplicationValidator.GetCustomObjectParam} arg - Arg object.
384
379
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
385
380
  * @param {import("../ApplicationAPIClient").Options} - Options
386
381
  * @returns {Promise<ContentApplicationModel.CustomObjectByIdSchema>} -
387
382
  * Success response
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/).
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/).
391
386
  */
392
- async getCustomObjectBySlug(
393
- { definitionSlug, slug, requestHeaders } = { requestHeaders: {} },
387
+ async getCustomObject(
388
+ { metaobjectId, requestHeaders } = { requestHeaders: {} },
394
389
  { responseHeaders } = { responseHeaders: false }
395
390
  ) {
396
- const {
397
- error,
398
- } = ContentApplicationValidator.getCustomObjectBySlug().validate(
399
- { definitionSlug, slug },
391
+ const { error } = ContentApplicationValidator.getCustomObject().validate(
392
+ { metaobjectId },
400
393
  { abortEarly: false, allowUnknown: true }
401
394
  );
402
395
  if (error) {
@@ -406,14 +399,14 @@ class Content {
406
399
  // Showing warrnings if extra unknown parameters are found
407
400
  const {
408
401
  error: warrning,
409
- } = ContentApplicationValidator.getCustomObjectBySlug().validate(
410
- { definitionSlug, slug },
402
+ } = ContentApplicationValidator.getCustomObject().validate(
403
+ { metaobjectId },
411
404
  { abortEarly: false, allowUnknown: false }
412
405
  );
413
406
  if (warrning) {
414
407
  Logger({
415
408
  level: "WARN",
416
- message: `Parameter Validation warrnings for application > Content > getCustomObjectBySlug \n ${warrning}`,
409
+ message: `Parameter Validation warrnings for application > Content > getCustomObject \n ${warrning}`,
417
410
  });
418
411
  }
419
412
 
@@ -425,8 +418,8 @@ class Content {
425
418
  this._conf,
426
419
  "get",
427
420
  constructUrl({
428
- url: this._urls["getCustomObjectBySlug"],
429
- params: { definitionSlug, slug },
421
+ url: this._urls["getCustomObject"],
422
+ params: { metaobjectId },
430
423
  }),
431
424
  query_params,
432
425
  undefined,
@@ -452,7 +445,7 @@ class Content {
452
445
  } else {
453
446
  Logger({
454
447
  level: "WARN",
455
- message: `Response Validation Warnings for application > Content > getCustomObjectBySlug \n ${res_error}`,
448
+ message: `Response Validation Warnings for application > Content > getCustomObject \n ${res_error}`,
456
449
  });
457
450
  }
458
451
  }
@@ -1094,7 +1087,8 @@ class Content {
1094
1087
  * @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
1095
1088
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1096
1089
  * @param {import("../ApplicationAPIClient").Options} - Options
1097
- * @returns {Promise<ContentApplicationModel.NavigationGetDetails>} - Success response
1090
+ * @returns {Promise<ContentApplicationModel.NavigationGetResponse>} -
1091
+ * Success response
1098
1092
  * @name getNavigations
1099
1093
  * @summary: List navigation items
1100
1094
  * @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/).
@@ -1151,7 +1145,7 @@ class Content {
1151
1145
 
1152
1146
  const {
1153
1147
  error: res_error,
1154
- } = ContentApplicationModel.NavigationGetDetails().validate(responseData, {
1148
+ } = ContentApplicationModel.NavigationGetResponse().validate(responseData, {
1155
1149
  abortEarly: false,
1156
1150
  allowUnknown: true,
1157
1151
  });
@@ -1251,7 +1245,7 @@ class Content {
1251
1245
  * @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
1252
1246
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1253
1247
  * @param {import("../ApplicationAPIClient").Options} - Options
1254
- * @returns {Promise<ContentApplicationModel.PageGetDetails>} - Success response
1248
+ * @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
1255
1249
  * @name getPages
1256
1250
  * @summary: Lists pages
1257
1251
  * @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
@@ -1306,7 +1300,7 @@ class Content {
1306
1300
 
1307
1301
  const {
1308
1302
  error: res_error,
1309
- } = ContentApplicationModel.PageGetDetails().validate(responseData, {
1303
+ } = ContentApplicationModel.PageGetResponse().validate(responseData, {
1310
1304
  abortEarly: false,
1311
1305
  allowUnknown: true,
1312
1306
  });
@@ -1569,7 +1563,7 @@ class Content {
1569
1563
  * @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
1570
1564
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1571
1565
  * @param {import("../ApplicationAPIClient").Options} - Options
1572
- * @returns {Promise<ContentApplicationModel.SlideshowGetDetails>} - Success response
1566
+ * @returns {Promise<ContentApplicationModel.SlideshowGetResponse>} - Success response
1573
1567
  * @name getSlideshows
1574
1568
  * @summary: List Slideshows
1575
1569
  * @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
@@ -1626,7 +1620,7 @@ class Content {
1626
1620
 
1627
1621
  const {
1628
1622
  error: res_error,
1629
- } = ContentApplicationModel.SlideshowGetDetails().validate(responseData, {
1623
+ } = ContentApplicationModel.SlideshowGetResponse().validate(responseData, {
1630
1624
  abortEarly: false,
1631
1625
  allowUnknown: true,
1632
1626
  });
@@ -1645,6 +1639,33 @@ class Content {
1645
1639
  return response;
1646
1640
  }
1647
1641
 
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
+
1648
1669
  /**
1649
1670
  * @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
1650
1671
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -22,11 +22,6 @@ 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
- */
30
25
  /**
31
26
  * @typedef SeoSchema
32
27
  * @property {string} [app] - Application ID - Identifier for a Sales channel.
@@ -103,7 +98,7 @@ export = ContentApplicationModel;
103
98
  * @property {string} [end] - End time of schedule.
104
99
  */
105
100
  /**
106
- * @typedef BlogGetDetails
101
+ * @typedef BlogGetResponse
107
102
  * @property {BlogSchema[]} [items] - List of blogs with details.
108
103
  * @property {Page} [page]
109
104
  * @property {BlogFilters} [filters]
@@ -371,7 +366,7 @@ export = ContentApplicationModel;
371
366
  * @property {Object} [_custom_json] - Custom JSON object for specific use cases.
372
367
  */
373
368
  /**
374
- * @typedef NavigationGetDetails
369
+ * @typedef NavigationGetResponse
375
370
  * @property {NavigationSchema[]} [items] - List of navigation items.
376
371
  * @property {Page} [page]
377
372
  */
@@ -400,7 +395,7 @@ export = ContentApplicationModel;
400
395
  * links and relevant details.
401
396
  */
402
397
  /**
403
- * @typedef PageGetDetails
398
+ * @typedef PageGetResponse
404
399
  * @property {PageSchema[]} [items] - List of details of custom pages.
405
400
  * @property {Page} [page]
406
401
  */
@@ -438,7 +433,7 @@ export = ContentApplicationModel;
438
433
  * @property {string} [id] - Details containing the creator of custom page.
439
434
  */
440
435
  /**
441
- * @typedef SlideshowGetDetails
436
+ * @typedef SlideshowGetResponse
442
437
  * @property {SlideshowSchema[]} [items] - Details related to slideshow/screensaver.
443
438
  * @property {Page} [page]
444
439
  */
@@ -530,7 +525,7 @@ export = ContentApplicationModel;
530
525
  /**
531
526
  * @typedef CustomObjectFieldSchema
532
527
  * @property {string} [_id] - Unique identifier of an entry.
533
- * @property {string} [slug] - Slug of custom field inside custom object.
528
+ * @property {string} [key] - Key of custom field inside custom object.
534
529
  * @property {CustomObjectFieldValue[]} [value] - Value of custom field inside
535
530
  * custom object.
536
531
  * @property {string} [type] - Data type of custom field inside custom object.
@@ -539,7 +534,7 @@ export = ContentApplicationModel;
539
534
  */
540
535
  /**
541
536
  * @typedef CustomObjectByIdSchema
542
- * @property {string} [id] - Unique identifier of an entry.
537
+ * @property {string} [_id] - Unique identifier of an entry.
543
538
  * @property {string} [status] - String denoting whether custom object is active
544
539
  * or inactive.
545
540
  * @property {string} [display_name] - Unique Display name of a custom object
@@ -558,8 +553,10 @@ export = ContentApplicationModel;
558
553
  * @typedef CustomFieldSchema
559
554
  * @property {string} [_id] - Unique identifier of an entry.
560
555
  * @property {string} [namespace] - Namespace under which custom field is present.
561
- * @property {string} [slug] - Unique identifier for a custom field in a given namespace.
556
+ * @property {string} [key] - Unique identifier for a custom field.
562
557
  * @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.
563
560
  * @property {CustomFieldValue[]} [value] - Array containing values of custom field.
564
561
  * @property {string} [resource_id] - Unique identifier for the entity under
565
562
  * which custom field is defined.
@@ -572,6 +569,7 @@ export = ContentApplicationModel;
572
569
  * @property {boolean} [has_invalid_values] - Whether the custom field has invalid values.
573
570
  * @property {Object[]} [invalid_value_errors] - Array denoting if there's a
574
571
  * validation failure on a custom field inside a custom object.
572
+ * @property {string} [created_by] - Details of the owner of custom field creator.
575
573
  * @property {boolean} [is_deleted] - Whether the custom field definition is deleted.
576
574
  * @property {string} [created_at] - Timestamp which represent the time when
577
575
  * data was created.
@@ -582,23 +580,6 @@ export = ContentApplicationModel;
582
580
  * @typedef CustomFieldsResponseByResourceIdSchema
583
581
  * @property {CustomFieldSchema[]} [items] - List of custom fields against a resource.
584
582
  */
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
- */
602
583
  /**
603
584
  * @typedef ActionPage
604
585
  * @property {Object} [params] - Parameters that should be considered in path.
@@ -659,7 +640,7 @@ export = ContentApplicationModel;
659
640
  declare class ContentApplicationModel {
660
641
  }
661
642
  declare namespace ContentApplicationModel {
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 };
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 };
663
644
  }
664
645
  /** @returns {ApplicationLegal} */
665
646
  declare function ApplicationLegal(): ApplicationLegal;
@@ -720,18 +701,6 @@ declare function SeoComponent(): SeoComponent;
720
701
  type SeoComponent = {
721
702
  seo?: SeoSchema;
722
703
  };
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
- };
735
704
  /** @returns {SeoSchema} */
736
705
  declare function SeoSchema(): SeoSchema;
737
706
  type SeoSchema = {
@@ -921,9 +890,9 @@ type ScheduleStartSchema = {
921
890
  */
922
891
  end?: string;
923
892
  };
924
- /** @returns {BlogGetDetails} */
925
- declare function BlogGetDetails(): BlogGetDetails;
926
- type BlogGetDetails = {
893
+ /** @returns {BlogGetResponse} */
894
+ declare function BlogGetResponse(): BlogGetResponse;
895
+ type BlogGetResponse = {
927
896
  /**
928
897
  * - List of blogs with details.
929
898
  */
@@ -1593,9 +1562,9 @@ type LandingPageSchema = {
1593
1562
  */
1594
1563
  _custom_json?: any;
1595
1564
  };
1596
- /** @returns {NavigationGetDetails} */
1597
- declare function NavigationGetDetails(): NavigationGetDetails;
1598
- type NavigationGetDetails = {
1565
+ /** @returns {NavigationGetResponse} */
1566
+ declare function NavigationGetResponse(): NavigationGetResponse;
1567
+ type NavigationGetResponse = {
1599
1568
  /**
1600
1569
  * - List of navigation items.
1601
1570
  */
@@ -1658,9 +1627,9 @@ type NavigationSchema = {
1658
1627
  */
1659
1628
  navigation?: NavigationReference[];
1660
1629
  };
1661
- /** @returns {PageGetDetails} */
1662
- declare function PageGetDetails(): PageGetDetails;
1663
- type PageGetDetails = {
1630
+ /** @returns {PageGetResponse} */
1631
+ declare function PageGetResponse(): PageGetResponse;
1632
+ type PageGetResponse = {
1664
1633
  /**
1665
1634
  * - List of details of custom pages.
1666
1635
  */
@@ -1756,9 +1725,9 @@ type CreatedBySchema = {
1756
1725
  */
1757
1726
  id?: string;
1758
1727
  };
1759
- /** @returns {SlideshowGetDetails} */
1760
- declare function SlideshowGetDetails(): SlideshowGetDetails;
1761
- type SlideshowGetDetails = {
1728
+ /** @returns {SlideshowGetResponse} */
1729
+ declare function SlideshowGetResponse(): SlideshowGetResponse;
1730
+ type SlideshowGetResponse = {
1762
1731
  /**
1763
1732
  * - Details related to slideshow/screensaver.
1764
1733
  */
@@ -1993,9 +1962,9 @@ type CustomObjectFieldSchema = {
1993
1962
  */
1994
1963
  _id?: string;
1995
1964
  /**
1996
- * - Slug of custom field inside custom object.
1965
+ * - Key of custom field inside custom object.
1997
1966
  */
1998
- slug?: string;
1967
+ key?: string;
1999
1968
  /**
2000
1969
  * - Value of custom field inside
2001
1970
  * custom object.
@@ -2017,7 +1986,7 @@ type CustomObjectByIdSchema = {
2017
1986
  /**
2018
1987
  * - Unique identifier of an entry.
2019
1988
  */
2020
- id?: string;
1989
+ _id?: string;
2021
1990
  /**
2022
1991
  * - String denoting whether custom object is active
2023
1992
  * or inactive.
@@ -2060,13 +2029,18 @@ type CustomFieldSchema = {
2060
2029
  */
2061
2030
  namespace?: string;
2062
2031
  /**
2063
- * - Unique identifier for a custom field in a given namespace.
2032
+ * - Unique identifier for a custom field.
2064
2033
  */
2065
- slug?: string;
2034
+ key?: string;
2066
2035
  /**
2067
2036
  * - Type of an entity under which custom field is defined.
2068
2037
  */
2069
2038
  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;
2070
2044
  /**
2071
2045
  * - Array containing values of custom field.
2072
2046
  */
@@ -2106,6 +2080,10 @@ type CustomFieldSchema = {
2106
2080
  * validation failure on a custom field inside a custom object.
2107
2081
  */
2108
2082
  invalid_value_errors?: any[];
2083
+ /**
2084
+ * - Details of the owner of custom field creator.
2085
+ */
2086
+ created_by?: string;
2109
2087
  /**
2110
2088
  * - Whether the custom field definition is deleted.
2111
2089
  */
@@ -2129,40 +2107,6 @@ type CustomFieldsResponseByResourceIdSchema = {
2129
2107
  */
2130
2108
  items?: CustomFieldSchema[];
2131
2109
  };
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
- };
2166
2110
  /** @returns {ActionPage} */
2167
2111
  declare function ActionPage(): ActionPage;
2168
2112
  type ActionPage = {