@gofynd/fdk-client-javascript 1.4.12 → 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 (297) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  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 +96 -39
  28. package/sdk/application/Content/ContentApplicationModel.js +88 -34
  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 +51 -19
  75. package/sdk/application/Theme/ThemeApplicationModel.js +47 -24
  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/common/Clickstream.js +12 -0
  93. package/sdk/common/Constant.d.ts +5 -0
  94. package/sdk/common/Constant.js +5 -0
  95. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  96. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  97. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  98. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  99. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  100. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  101. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  102. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  103. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  104. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  105. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  106. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  107. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  108. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  109. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  110. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  111. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  112. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  113. package/sdk/partner/Theme/ThemePartnerModel.d.ts +99 -39
  114. package/sdk/partner/Theme/ThemePartnerModel.js +95 -38
  115. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  116. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  117. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  118. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  119. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  120. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  121. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  122. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  123. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  124. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  125. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  129. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  130. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  131. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  132. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  133. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  134. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  135. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  136. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  137. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  138. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  139. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  140. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  141. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  142. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  143. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +192 -164
  145. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +371 -343
  146. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +99 -99
  147. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +54 -54
  148. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +139 -116
  149. package/sdk/platform/Catalog/CatalogPlatformClient.js +191 -168
  150. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1374 -749
  151. package/sdk/platform/Catalog/CatalogPlatformModel.js +1241 -830
  152. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  153. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  154. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  155. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  156. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  157. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  159. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  160. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  161. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  162. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  163. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  168. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  169. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  172. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  173. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  174. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  175. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  176. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  177. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  178. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  179. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  180. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  181. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  182. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  183. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  184. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  185. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  186. package/sdk/platform/Content/ContentPlatformModel.d.ts +1244 -397
  187. package/sdk/platform/Content/ContentPlatformModel.js +526 -392
  188. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  189. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  190. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  191. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  192. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  193. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  194. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  195. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  197. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  198. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  199. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  200. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  201. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  202. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  203. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  204. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  205. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  206. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  207. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  208. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  209. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  210. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  211. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  212. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  213. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  214. package/sdk/platform/Order/OrderPlatformClient.d.ts +138 -101
  215. package/sdk/platform/Order/OrderPlatformClient.js +267 -203
  216. package/sdk/platform/Order/OrderPlatformModel.d.ts +4497 -877
  217. package/sdk/platform/Order/OrderPlatformModel.js +2336 -812
  218. package/sdk/platform/Order/OrderPlatformValidator.d.ts +147 -50
  219. package/sdk/platform/Order/OrderPlatformValidator.js +75 -46
  220. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  221. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  222. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  223. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  224. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  225. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  226. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  227. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  228. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  229. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  230. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  231. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  232. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  233. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  234. package/sdk/platform/PlatformClient.d.ts +0 -2
  235. package/sdk/platform/PlatformClient.js +0 -4
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  238. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  239. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  240. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  241. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  249. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  250. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  251. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  252. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  253. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  254. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  255. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  256. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  257. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  258. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  259. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  260. package/sdk/platform/Theme/ThemePlatformModel.d.ts +40 -13
  261. package/sdk/platform/Theme/ThemePlatformModel.js +38 -17
  262. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  263. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  264. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  265. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  266. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  267. package/sdk/platform/User/UserPlatformModel.js +23 -23
  268. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  269. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  270. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  271. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  272. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  273. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  274. package/sdk/platform/index.d.ts +0 -1
  275. package/sdk/platform/index.js +0 -2
  276. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  277. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  278. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  279. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  280. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  281. package/sdk/public/Content/ContentPublicClient.js +791 -5
  282. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  283. package/sdk/public/Content/ContentPublicModel.js +649 -3
  284. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  285. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  286. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  287. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  288. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  289. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  290. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  291. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  292. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  293. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  294. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  295. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  296. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  297. 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.
@@ -634,12 +653,13 @@ export = ContentApplicationModel;
634
653
  * | "register"
635
654
  * | "shipping-policy"
636
655
  * | "return-policy"
637
- * | "order-status"} PageType
656
+ * | "order-status"
657
+ * | "locate-us"} PageType
638
658
  */
639
659
  declare class ContentApplicationModel {
640
660
  }
641
661
  declare namespace ContentApplicationModel {
642
- 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 };
643
663
  }
644
664
  /** @returns {ApplicationLegal} */
645
665
  declare function ApplicationLegal(): ApplicationLegal;
@@ -700,6 +720,18 @@ declare function SeoComponent(): SeoComponent;
700
720
  type SeoComponent = {
701
721
  seo?: SeoSchema;
702
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
+ };
703
735
  /** @returns {SeoSchema} */
704
736
  declare function SeoSchema(): SeoSchema;
705
737
  type SeoSchema = {
@@ -889,9 +921,9 @@ type ScheduleStartSchema = {
889
921
  */
890
922
  end?: string;
891
923
  };
892
- /** @returns {BlogGetResponse} */
893
- declare function BlogGetResponse(): BlogGetResponse;
894
- type BlogGetResponse = {
924
+ /** @returns {BlogGetDetails} */
925
+ declare function BlogGetDetails(): BlogGetDetails;
926
+ type BlogGetDetails = {
895
927
  /**
896
928
  * - List of blogs with details.
897
929
  */
@@ -1561,9 +1593,9 @@ type LandingPageSchema = {
1561
1593
  */
1562
1594
  _custom_json?: any;
1563
1595
  };
1564
- /** @returns {NavigationGetResponse} */
1565
- declare function NavigationGetResponse(): NavigationGetResponse;
1566
- type NavigationGetResponse = {
1596
+ /** @returns {NavigationGetDetails} */
1597
+ declare function NavigationGetDetails(): NavigationGetDetails;
1598
+ type NavigationGetDetails = {
1567
1599
  /**
1568
1600
  * - List of navigation items.
1569
1601
  */
@@ -1626,9 +1658,9 @@ type NavigationSchema = {
1626
1658
  */
1627
1659
  navigation?: NavigationReference[];
1628
1660
  };
1629
- /** @returns {PageGetResponse} */
1630
- declare function PageGetResponse(): PageGetResponse;
1631
- type PageGetResponse = {
1661
+ /** @returns {PageGetDetails} */
1662
+ declare function PageGetDetails(): PageGetDetails;
1663
+ type PageGetDetails = {
1632
1664
  /**
1633
1665
  * - List of details of custom pages.
1634
1666
  */
@@ -1724,9 +1756,9 @@ type CreatedBySchema = {
1724
1756
  */
1725
1757
  id?: string;
1726
1758
  };
1727
- /** @returns {SlideshowGetResponse} */
1728
- declare function SlideshowGetResponse(): SlideshowGetResponse;
1729
- type SlideshowGetResponse = {
1759
+ /** @returns {SlideshowGetDetails} */
1760
+ declare function SlideshowGetDetails(): SlideshowGetDetails;
1761
+ type SlideshowGetDetails = {
1730
1762
  /**
1731
1763
  * - Details related to slideshow/screensaver.
1732
1764
  */
@@ -1961,9 +1993,9 @@ type CustomObjectFieldSchema = {
1961
1993
  */
1962
1994
  _id?: string;
1963
1995
  /**
1964
- * - Key of custom field inside custom object.
1996
+ * - Slug of custom field inside custom object.
1965
1997
  */
1966
- key?: string;
1998
+ slug?: string;
1967
1999
  /**
1968
2000
  * - Value of custom field inside
1969
2001
  * custom object.
@@ -1985,7 +2017,7 @@ type CustomObjectByIdSchema = {
1985
2017
  /**
1986
2018
  * - Unique identifier of an entry.
1987
2019
  */
1988
- _id?: string;
2020
+ id?: string;
1989
2021
  /**
1990
2022
  * - String denoting whether custom object is active
1991
2023
  * or inactive.
@@ -2028,18 +2060,13 @@ type CustomFieldSchema = {
2028
2060
  */
2029
2061
  namespace?: string;
2030
2062
  /**
2031
- * - Unique identifier for a custom field.
2063
+ * - Unique identifier for a custom field in a given namespace.
2032
2064
  */
2033
- key?: string;
2065
+ slug?: string;
2034
2066
  /**
2035
2067
  * - Type of an entity under which custom field is defined.
2036
2068
  */
2037
2069
  resource?: string;
2038
- /**
2039
- * - Denotes where the custom field has been
2040
- * defined - within a company or within a sales channel.
2041
- */
2042
- creator?: string;
2043
2070
  /**
2044
2071
  * - Array containing values of custom field.
2045
2072
  */
@@ -2079,10 +2106,6 @@ type CustomFieldSchema = {
2079
2106
  * validation failure on a custom field inside a custom object.
2080
2107
  */
2081
2108
  invalid_value_errors?: any[];
2082
- /**
2083
- * - Details of the owner of custom field creator.
2084
- */
2085
- created_by?: string;
2086
2109
  /**
2087
2110
  * - Whether the custom field definition is deleted.
2088
2111
  */
@@ -2106,6 +2129,40 @@ type CustomFieldsResponseByResourceIdSchema = {
2106
2129
  */
2107
2130
  items?: CustomFieldSchema[];
2108
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
+ };
2109
2166
  /** @returns {ActionPage} */
2110
2167
  declare function ActionPage(): ActionPage;
2111
2168
  type ActionPage = {
@@ -2129,4 +2186,4 @@ type ActionPage = {
2129
2186
  * @returns {PageType}
2130
2187
  */
2131
2188
  declare function PageType(): PageType;
2132
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
2189
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us";