@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10

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 (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,16 +1,61 @@
1
1
  export = ContentApplicationModel;
2
2
  /**
3
- * @typedef Action
4
- * @property {ActionPage} [page]
5
- * @property {ActionPage} [popup]
6
- * @property {string} [type]
3
+ * @typedef ApplicationLegal
4
+ * @property {string} [application]
5
+ * @property {string} [tnc]
6
+ * @property {string} [policy]
7
+ * @property {string} [shipping]
8
+ * @property {string} [returns]
9
+ * @property {ApplicationLegalFAQ[]} [faq]
10
+ * @property {string} [_id]
11
+ * @property {string} [updated_at]
12
+ * @property {string} [created_at]
7
13
  */
8
14
  /**
9
- * @typedef ActionPage
10
- * @property {Object} [params]
11
- * @property {Object} [query]
12
- * @property {PageType} type
13
- * @property {string} [url]
15
+ * @typedef ApplicationLegalFAQ
16
+ * @property {string} [question]
17
+ * @property {string} [answer]
18
+ */
19
+ /**
20
+ * @typedef SeoComponent
21
+ * @property {SeoSchema} [seo]
22
+ */
23
+ /**
24
+ * @typedef SeoSchema
25
+ * @property {string} [app]
26
+ * @property {string} [_id]
27
+ * @property {string} [robots_txt]
28
+ * @property {boolean} [sitemap_enabled]
29
+ * @property {boolean} [cannonical_enabled]
30
+ * @property {CustomMetaTag[]} [custom_meta_tags]
31
+ * @property {Detail} [details]
32
+ * @property {string} [created_at]
33
+ * @property {string} [updated_at]
34
+ */
35
+ /**
36
+ * @typedef CustomMetaTag
37
+ * @property {string} [name]
38
+ * @property {string} [content]
39
+ * @property {string} [_id]
40
+ */
41
+ /**
42
+ * @typedef Detail
43
+ * @property {string} [title]
44
+ * @property {string} [description]
45
+ * @property {string} [image_url]
46
+ */
47
+ /**
48
+ * @typedef ScheduleSchema
49
+ * @property {string} [cron]
50
+ * @property {string} [start]
51
+ * @property {string} [end]
52
+ * @property {number} [duration]
53
+ * @property {NextSchedule[]} [next_schedule]
54
+ */
55
+ /**
56
+ * @typedef NextSchedule
57
+ * @property {string} [start]
58
+ * @property {string} [end]
14
59
  */
15
60
  /**
16
61
  * @typedef AnnouncementSchema
@@ -18,29 +63,19 @@ export = ContentApplicationModel;
18
63
  * @property {ScheduleStartSchema} [schedule]
19
64
  */
20
65
  /**
21
- * @typedef AnnouncementsResponseSchema
22
- * @property {Object} [announcements]
23
- * @property {string[]} [refresh_pages] - List of page slugs on which
24
- * announcement should be fetched as soon as they are loaded
25
- * @property {number} [refresh_rate] - Number of seconds after which api should
26
- * hit again to fetch new announcements
66
+ * @typedef ScheduleStartSchema
67
+ * @property {string} [start]
68
+ * @property {string} [end]
27
69
  */
28
70
  /**
29
- * @typedef ApplicationLegal
30
- * @property {string} [_id]
31
- * @property {string} [application]
32
- * @property {string} [created_at]
33
- * @property {ApplicationLegalFAQ[]} [faq]
34
- * @property {string} [policy]
35
- * @property {string} [returns]
36
- * @property {string} [shipping]
37
- * @property {string} [tnc]
38
- * @property {string} [updated_at]
71
+ * @typedef BlogGetResponse
72
+ * @property {BlogSchema[]} [items]
73
+ * @property {Page} [page]
39
74
  */
40
75
  /**
41
- * @typedef ApplicationLegalFAQ
42
- * @property {string} [answer]
43
- * @property {string} [question]
76
+ * @typedef ResourceContent
77
+ * @property {string} [type]
78
+ * @property {string} [value]
44
79
  */
45
80
  /**
46
81
  * @typedef Asset
@@ -54,215 +89,183 @@ export = ContentApplicationModel;
54
89
  * @property {string} [id]
55
90
  * @property {string} [name]
56
91
  */
57
- /**
58
- * @typedef BlogGetResponse
59
- * @property {BlogSchema[]} [items]
60
- * @property {Page} [page]
61
- */
62
92
  /**
63
93
  * @typedef BlogSchema
64
- * @property {Object} [_custom_json]
65
94
  * @property {string} [_id]
66
- * @property {CronSchedule} [_schedule]
95
+ * @property {Object} [_custom_json]
67
96
  * @property {string} [application]
68
97
  * @property {boolean} [archived]
69
98
  * @property {Author} [author]
70
99
  * @property {ResourceContent[]} [content]
71
- * @property {DateMeta} [date_meta]
72
100
  * @property {Asset} [feature_image]
73
101
  * @property {boolean} [published]
74
102
  * @property {string} [reading_time]
75
- * @property {SEO} [seo]
76
103
  * @property {string} [slug]
77
104
  * @property {string[]} [tags]
105
+ * @property {SEO} [seo]
106
+ * @property {CronSchedule} [_schedule]
78
107
  * @property {string} [title]
108
+ * @property {DateMeta} [date_meta]
79
109
  */
80
110
  /**
81
- * @typedef CategorySchema
82
- * @property {Object} [_custom_json]
83
- * @property {string} [_id]
84
- * @property {string} [application]
85
- * @property {string[]} [children]
111
+ * @typedef SEO
86
112
  * @property {string} [description]
87
- * @property {string} [icon_url]
88
- * @property {number} [index]
89
- * @property {string} [slug]
113
+ * @property {SEOImage} [image]
90
114
  * @property {string} [title]
91
115
  */
92
116
  /**
93
- * @typedef ChildrenSchema
94
- * @property {string} [_id]
95
- * @property {string} [answer]
96
- * @property {string} [application]
97
- * @property {string} [question]
98
- * @property {string} [slug]
99
- */
100
- /**
101
- * @typedef CommonError
102
- * @property {string} [message]
103
- */
104
- /**
105
- * @typedef ConfigurationSchema
106
- * @property {number} [duration]
107
- * @property {number} [sleep_time]
108
- * @property {string} [slide_direction]
109
- * @property {boolean} [start_on_launch]
110
- */
111
- /**
112
- * @typedef ContactSchema
113
- * @property {EmailSchema} [email]
114
- * @property {PhoneSchema} [phone]
117
+ * @typedef SEOImage
118
+ * @property {string} [url]
115
119
  */
116
120
  /**
117
- * @typedef ContentAPIError
118
- * @property {string} [code]
119
- * @property {string} [exception]
120
- * @property {string} [info]
121
- * @property {string} [message]
122
- * @property {Object} [meta]
123
- * @property {string} [request_id]
124
- * @property {string} [stack_trace]
125
- * @property {number} [status]
121
+ * @typedef DateMeta
122
+ * @property {string} [created_on]
123
+ * @property {string} [modified_on]
126
124
  */
127
125
  /**
128
- * @typedef CreatedBySchema
129
- * @property {string} [id]
126
+ * @typedef LocaleLanguage
127
+ * @property {Language} [hi]
128
+ * @property {Language} [ar]
129
+ * @property {Language} [en_us]
130
130
  */
131
131
  /**
132
- * @typedef CronSchedule
133
- * @property {string} [cron]
134
- * @property {number} [duration]
135
- * @property {string} [end]
136
- * @property {string} [start]
132
+ * @typedef Language
133
+ * @property {string} [display]
137
134
  */
138
135
  /**
139
- * @typedef CustomFieldSchema
140
- * @property {string} [_id]
141
- * @property {string} [application_id]
142
- * @property {string} [company_id]
143
- * @property {string} [created_at]
144
- * @property {string} [created_by]
145
- * @property {string} [creator]
146
- * @property {string} [definition_id]
147
- * @property {boolean} [has_invalid_values]
148
- * @property {Object[]} [invalid_value_errors]
149
- * @property {boolean} [is_deleted]
150
- * @property {string} [key]
151
- * @property {boolean} [multi_value]
152
- * @property {string} [namespace]
153
- * @property {string} [resource]
154
- * @property {string} [resource_id]
136
+ * @typedef Action
137
+ * @property {ActionPage} [page]
138
+ * @property {ActionPage} [popup]
155
139
  * @property {string} [type]
156
- * @property {string} [updated_at]
157
- * @property {CustomFieldValue[]} [value]
158
- */
159
- /**
160
- * @typedef CustomFieldsResponseByResourceIdSchema
161
- * @property {CustomFieldSchema[]} [items]
162
140
  */
163
141
  /**
164
- * @typedef CustomFieldValue
165
- * @property {Object} [value]
142
+ * @typedef ActionPage
143
+ * @property {Object} [params]
144
+ * @property {Object} [query]
145
+ * @property {string} [url]
146
+ * @property {PageType} type
166
147
  */
167
148
  /**
168
- * @typedef CustomMetaTag
169
- * @property {string} [_id]
170
- * @property {string} [content]
171
- * @property {string} [name]
149
+ * @typedef NavigationReference
150
+ * @property {string[]} [acl]
151
+ * @property {string[]} [tags]
152
+ * @property {LocaleLanguage} [_locale_language]
153
+ * @property {string} [image]
154
+ * @property {string} [type]
155
+ * @property {Action} [action]
156
+ * @property {boolean} [active]
157
+ * @property {string} [display]
158
+ * @property {number} [sort_order]
159
+ * @property {NavigationReference[]} [sub_navigation]
172
160
  */
173
161
  /**
174
- * @typedef CustomObjectByIdSchema
175
- * @property {string} [_id]
176
- * @property {CustomObjectListItemDefinationSchema} [definition]
177
- * @property {string} [display_name]
178
- * @property {CustomObjectFieldSchema[]} [fields]
179
- * @property {Object[]} [references]
180
- * @property {string} [status]
162
+ * @typedef ConfigurationSchema
163
+ * @property {number} [sleep_time]
164
+ * @property {boolean} [start_on_launch]
165
+ * @property {number} [duration]
166
+ * @property {string} [slide_direction]
181
167
  */
182
168
  /**
183
- * @typedef CustomObjectFieldSchema
184
- * @property {string} [_id]
185
- * @property {string} [definition_id]
186
- * @property {string} [key]
169
+ * @typedef SlideshowMedia
187
170
  * @property {string} [type]
188
- * @property {CustomObjectFieldValue[]} [value]
171
+ * @property {string} [url]
172
+ * @property {string} [bg_color]
173
+ * @property {number} [duration]
174
+ * @property {boolean} [auto_decide_duration]
175
+ * @property {Action} [action]
189
176
  */
190
177
  /**
191
- * @typedef CustomObjectFieldValue
192
- * @property {Object} [value]
178
+ * @typedef AnnouncementsResponseSchema
179
+ * @property {Object} [announcements]
180
+ * @property {number} [refresh_rate] - Number of seconds after which api should
181
+ * hit again to fetch new announcements
182
+ * @property {string[]} [refresh_pages] - List of page slugs on which
183
+ * announcement should be fetched as soon as they are loaded
193
184
  */
194
185
  /**
195
- * @typedef CustomObjectListItemDefinationSchema
196
- * @property {string} [_id]
197
- * @property {string} [name]
198
- * @property {string} [type]
186
+ * @typedef FaqResponseSchema
187
+ * @property {FaqSchema[]} [faqs]
199
188
  */
200
189
  /**
201
190
  * @typedef DataLoaderSchema
202
- * @property {DataLoaderSourceSchema} [__source]
203
- * @property {string} [_id]
204
- * @property {string} [content]
205
191
  * @property {string} [name]
206
- * @property {string} [operation_id]
207
192
  * @property {string} [service]
193
+ * @property {string} [operation_id]
208
194
  * @property {string} [type]
209
195
  * @property {string} [url]
196
+ * @property {string} [content]
197
+ * @property {DataLoaderSourceSchema} [__source]
198
+ * @property {string} [_id]
210
199
  */
211
200
  /**
212
201
  * @typedef DataLoaderSourceSchema
213
- * @property {string} [id]
214
202
  * @property {string} [type]
203
+ * @property {string} [id]
215
204
  */
216
205
  /**
217
206
  * @typedef DataLoadersSchema
218
207
  * @property {DataLoaderSchema[]} [items]
219
208
  */
220
209
  /**
221
- * @typedef DateMeta
222
- * @property {string} [created_on]
223
- * @property {string} [modified_on]
210
+ * @typedef ContentAPIError
211
+ * @property {string} [message]
212
+ * @property {number} [status]
213
+ * @property {string} [code]
214
+ * @property {string} [exception]
215
+ * @property {string} [info]
216
+ * @property {string} [request_id]
217
+ * @property {string} [stack_trace]
218
+ * @property {Object} [meta]
224
219
  */
225
220
  /**
226
- * @typedef Detail
227
- * @property {string} [description]
228
- * @property {string} [image_url]
221
+ * @typedef CommonError
222
+ * @property {string} [message]
223
+ */
224
+ /**
225
+ * @typedef CategorySchema
226
+ * @property {number} [index]
229
227
  * @property {string} [title]
228
+ * @property {string} [description]
229
+ * @property {string[]} [children]
230
+ * @property {string} [_id]
231
+ * @property {string} [slug]
232
+ * @property {string} [application]
233
+ * @property {string} [icon_url]
234
+ * @property {Object} [_custom_json]
230
235
  */
231
236
  /**
232
- * @typedef EmailProperties
233
- * @property {string} [key]
234
- * @property {string} [value]
235
- */
236
- /**
237
- * @typedef EmailSchema
238
- * @property {boolean} [active]
239
- * @property {EmailProperties[]} [email]
237
+ * @typedef ChildrenSchema
238
+ * @property {string} [question]
239
+ * @property {string} [answer]
240
+ * @property {string} [slug]
241
+ * @property {string} [application]
242
+ * @property {string} [_id]
240
243
  */
241
244
  /**
242
245
  * @typedef FAQCategorySchema
243
- * @property {Object} [_custom_json]
246
+ * @property {number} [index]
247
+ * @property {string} [title]
248
+ * @property {string} [description]
249
+ * @property {ChildrenSchema[]} [children]
244
250
  * @property {string} [_id]
251
+ * @property {string} [slug]
245
252
  * @property {string} [application]
246
- * @property {ChildrenSchema[]} [children]
247
- * @property {string} [description]
248
253
  * @property {string} [icon_url]
249
- * @property {number} [index]
250
- * @property {string} [slug]
251
- * @property {string} [title]
252
- */
253
- /**
254
- * @typedef FaqResponseSchema
255
- * @property {FaqSchema[]} [faqs]
254
+ * @property {Object} [_custom_json]
256
255
  */
257
256
  /**
258
257
  * @typedef FaqSchema
259
- * @property {string} [_id]
260
- * @property {string} [answer]
258
+ * @property {string} [slug]
261
259
  * @property {string} [application]
260
+ * @property {string} [_id]
262
261
  * @property {string} [question]
263
- * @property {string} [slug]
262
+ * @property {string} [answer]
264
263
  * @property {string[]} [tags]
265
264
  */
265
+ /**
266
+ * @typedef GetFaqSchema
267
+ * @property {FaqSchema[]} [faqs]
268
+ */
266
269
  /**
267
270
  * @typedef GetFaqCategoriesSchema
268
271
  * @property {CategorySchema[]} [categories]
@@ -272,30 +275,26 @@ export = ContentApplicationModel;
272
275
  * @property {FAQCategorySchema} [category]
273
276
  */
274
277
  /**
275
- * @typedef GetFaqSchema
276
- * @property {FaqSchema[]} [faqs]
278
+ * @typedef Page
279
+ * @property {number} [item_total]
280
+ * @property {string} [next_id]
281
+ * @property {boolean} [has_previous]
282
+ * @property {boolean} [has_next]
283
+ * @property {number} [current]
284
+ * @property {string} type
285
+ * @property {number} [size]
277
286
  */
278
287
  /**
279
288
  * @typedef LandingPageSchema
280
- * @property {Object} [_custom_json]
281
- * @property {string} [_id]
289
+ * @property {string} [slug]
282
290
  * @property {Action} [action]
283
- * @property {string} [application]
284
- * @property {boolean} [archived]
291
+ * @property {string[]} [platform]
285
292
  * @property {CreatedBySchema} [created_by]
286
293
  * @property {DateMeta} [date_meta]
287
- * @property {string[]} [platform]
288
- * @property {string} [slug]
289
- */
290
- /**
291
- * @typedef Language
292
- * @property {string} [display]
293
- */
294
- /**
295
- * @typedef LocaleLanguage
296
- * @property {Language} [ar]
297
- * @property {Language} [en_us]
298
- * @property {Language} [hi]
294
+ * @property {string} [_id]
295
+ * @property {string} [application]
296
+ * @property {boolean} [archived]
297
+ * @property {Object} [_custom_json]
299
298
  */
300
299
  /**
301
300
  * @typedef NavigationGetResponse
@@ -303,51 +302,23 @@ export = ContentApplicationModel;
303
302
  * @property {Page} [page]
304
303
  */
305
304
  /**
306
- * @typedef NavigationReference
307
- * @property {LocaleLanguage} [_locale_language]
308
- * @property {string[]} [acl]
309
- * @property {Action} [action]
310
- * @property {boolean} [active]
311
- * @property {string} [display]
312
- * @property {string} [image]
313
- * @property {number} [sort_order]
314
- * @property {NavigationReference[]} [sub_navigation]
315
- * @property {string[]} [tags]
316
- * @property {string} [type]
305
+ * @typedef Orientation
306
+ * @property {string[]} [portrait]
307
+ * @property {string[]} [landscape]
317
308
  */
318
309
  /**
319
310
  * @typedef NavigationSchema
320
311
  * @property {string} [_id]
321
312
  * @property {string} [application]
322
313
  * @property {boolean} [archived]
314
+ * @property {string} [name]
315
+ * @property {string} [slug]
316
+ * @property {string[]} [platform]
323
317
  * @property {CreatedBySchema} [created_by]
324
318
  * @property {DateMeta} [date_meta]
325
- * @property {string} [name]
326
- * @property {NavigationReference[]} [navigation]
327
319
  * @property {Orientation} [orientation]
328
- * @property {string[]} [platform]
329
- * @property {string} [slug]
330
320
  * @property {number} [version]
331
- */
332
- /**
333
- * @typedef NextSchedule
334
- * @property {string} [end]
335
- * @property {string} [start]
336
- */
337
- /**
338
- * @typedef Orientation
339
- * @property {string[]} [landscape]
340
- * @property {string[]} [portrait]
341
- */
342
- /**
343
- * @typedef Page
344
- * @property {number} [current]
345
- * @property {boolean} [has_next]
346
- * @property {boolean} [has_previous]
347
- * @property {number} [item_total]
348
- * @property {string} [next_id]
349
- * @property {number} [size]
350
- * @property {string} type
321
+ * @property {NavigationReference[]} [navigation]
351
322
  */
352
323
  /**
353
324
  * @typedef PageGetResponse
@@ -356,11 +327,8 @@ export = ContentApplicationModel;
356
327
  */
357
328
  /**
358
329
  * @typedef PageSchema
359
- * @property {Object} [_custom_json]
360
330
  * @property {string} [_id]
361
- * @property {ScheduleSchema} [_schedule]
362
331
  * @property {string} [application]
363
- * @property {boolean} [archived]
364
332
  * @property {string[]} [component_ids] - Components can be used to store
365
333
  * multiple components
366
334
  * @property {Object[]} [content]
@@ -369,173 +337,108 @@ export = ContentApplicationModel;
369
337
  * @property {DateMeta} [date_meta]
370
338
  * @property {string} [description]
371
339
  * @property {Asset} [feature_image]
372
- * @property {string} [orientation]
373
340
  * @property {Object[]} [page_meta]
341
+ * @property {ScheduleSchema} [_schedule]
342
+ * @property {Object} [_custom_json]
343
+ * @property {string} [orientation]
374
344
  * @property {string} [platform]
375
345
  * @property {boolean} [published]
376
- * @property {SEO} [seo]
377
346
  * @property {string} [slug]
378
347
  * @property {string[]} [tags]
379
348
  * @property {string} [title]
380
349
  * @property {string} [type]
350
+ * @property {SEO} [seo]
381
351
  * @property {Object} [visibility]
352
+ * @property {boolean} [archived]
382
353
  */
383
354
  /**
384
- * @typedef PhoneProperties
385
- * @property {string} [code]
386
- * @property {string} [key]
387
- * @property {string} [number]
388
- */
389
- /**
390
- * @typedef PhoneSchema
391
- * @property {boolean} [active]
392
- * @property {PhoneProperties[]} [phone]
393
- */
394
- /**
395
- * @typedef ResourceContent
396
- * @property {string} [type]
397
- * @property {string} [value]
355
+ * @typedef CreatedBySchema
356
+ * @property {string} [id]
398
357
  */
399
358
  /**
400
- * @typedef ScheduleSchema
359
+ * @typedef CronSchedule
401
360
  * @property {string} [cron]
402
- * @property {number} [duration]
403
- * @property {string} [end]
404
- * @property {NextSchedule[]} [next_schedule]
405
361
  * @property {string} [start]
406
- */
407
- /**
408
- * @typedef ScheduleStartSchema
409
362
  * @property {string} [end]
410
- * @property {string} [start]
411
- */
412
- /**
413
- * @typedef SEO
414
- * @property {SEObreadcrumb[]} [breadcrumb]
415
- * @property {string} [canonical_url]
416
- * @property {string} [description]
417
- * @property {SEOImage} [image]
418
- * @property {SEOMetaItem[]} [meta_tags]
419
- * @property {SEOSitemap} [sitemap]
420
- * @property {string} [title]
421
- */
422
- /**
423
- * @typedef SEObreadcrumb
424
- * @property {Action} [action]
425
- * @property {string} [url]
426
- */
427
- /**
428
- * @typedef SeoComponent
429
- * @property {SeoSchema} [seo]
430
- */
431
- /**
432
- * @typedef SEOImage
433
- * @property {string} [url]
363
+ * @property {number} [duration]
434
364
  */
435
365
  /**
436
- * @typedef SEOMetaItem
437
- * @property {SEOMetaItems[]} [items]
438
- * @property {string} [title]
366
+ * @typedef SlideshowGetResponse
367
+ * @property {SlideshowSchema[]} [items]
368
+ * @property {Page} [page]
439
369
  */
440
370
  /**
441
- * @typedef SEOMetaItems
442
- * @property {string} [key]
443
- * @property {string} [value]
371
+ * @typedef SlideshowSchema
372
+ * @property {string} [_id]
373
+ * @property {string} [slug]
374
+ * @property {DateMeta} [date_meta]
375
+ * @property {string} [application]
376
+ * @property {string} [platform]
377
+ * @property {ConfigurationSchema} [configuration]
378
+ * @property {SlideshowMedia[]} [media]
379
+ * @property {boolean} [active]
380
+ * @property {boolean} [archived]
381
+ * @property {Object} [_custom_json]
444
382
  */
445
383
  /**
446
- * @typedef SeoSchema
384
+ * @typedef Support
385
+ * @property {boolean} [created]
447
386
  * @property {string} [_id]
448
- * @property {string} [additonal_sitemap]
449
- * @property {string} [app]
450
- * @property {boolean} [cannonical_enabled]
387
+ * @property {string} [config_type]
388
+ * @property {string} [application]
451
389
  * @property {string} [created_at]
452
- * @property {CustomMetaTag[]} [custom_meta_tags]
453
- * @property {Detail} [details]
454
- * @property {string} [robots_txt]
455
- * @property {boolean} [sitemap_enabled]
456
390
  * @property {string} [updated_at]
391
+ * @property {ContactSchema} [contact]
457
392
  */
458
393
  /**
459
- * @typedef SeoSchemaComponent
460
- * @property {SEOSchemaMarkupTemplate[]} [items]
394
+ * @typedef PhoneProperties
395
+ * @property {string} [key]
396
+ * @property {string} [code]
397
+ * @property {string} [number]
461
398
  */
462
399
  /**
463
- * @typedef SEOSchemaMarkupTemplate
400
+ * @typedef PhoneSchema
464
401
  * @property {boolean} [active]
465
- * @property {string} [application]
466
- * @property {string} [created_at]
467
- * @property {string} [description]
468
- * @property {string} [id]
469
- * @property {string} [page_type]
470
- * @property {string} [schema]
471
- * @property {string} [title]
472
- * @property {string} [updated_at]
402
+ * @property {PhoneProperties[]} [phone]
473
403
  */
474
404
  /**
475
- * @typedef SEOSitemap
476
- * @property {string} [frequency]
477
- * @property {number} [priority]
405
+ * @typedef EmailProperties
406
+ * @property {string} [key]
407
+ * @property {string} [value]
478
408
  */
479
409
  /**
480
- * @typedef SlideshowGetResponse
481
- * @property {SlideshowSchema[]} [items]
482
- * @property {Page} [page]
410
+ * @typedef EmailSchema
411
+ * @property {boolean} [active]
412
+ * @property {EmailProperties[]} [email]
483
413
  */
484
414
  /**
485
- * @typedef SlideshowMedia
486
- * @property {Action} [action]
487
- * @property {boolean} [auto_decide_duration]
488
- * @property {string} [bg_color]
489
- * @property {number} [duration]
490
- * @property {string} [type]
491
- * @property {string} [url]
415
+ * @typedef ContactSchema
416
+ * @property {PhoneSchema} [phone]
417
+ * @property {EmailSchema} [email]
492
418
  */
493
419
  /**
494
- * @typedef SlideshowSchema
495
- * @property {Object} [_custom_json]
496
- * @property {string} [_id]
497
- * @property {boolean} [active]
420
+ * @typedef TagsSchema
498
421
  * @property {string} [application]
499
- * @property {boolean} [archived]
500
- * @property {ConfigurationSchema} [configuration]
501
- * @property {DateMeta} [date_meta]
502
- * @property {SlideshowMedia[]} [media]
503
- * @property {string} [platform]
504
- * @property {string} [slug]
505
- */
506
- /**
507
- * @typedef Support
508
422
  * @property {string} [_id]
509
- * @property {string} [application]
510
- * @property {string} [config_type]
511
- * @property {ContactSchema} [contact]
512
- * @property {boolean} [created]
513
- * @property {string} [created_at]
514
- * @property {string} [updated_at]
423
+ * @property {TagSchema[]} [tags]
515
424
  */
516
425
  /**
517
426
  * @typedef TagSchema
518
- * @property {TagSourceSchema} [__source]
427
+ * @property {string} [name]
428
+ * @property {string} [url]
429
+ * @property {string} [type]
430
+ * @property {string} [sub_type]
519
431
  * @property {string} [_id]
432
+ * @property {string} [position]
520
433
  * @property {Object} [attributes]
521
434
  * @property {string} [content]
522
- * @property {string} [name]
523
435
  * @property {Object[]} [pages]
524
- * @property {string} [position]
525
- * @property {string} [sub_type]
526
- * @property {string} [type]
527
- * @property {string} [url]
436
+ * @property {TagSourceSchema} [__source]
528
437
  */
529
438
  /**
530
439
  * @typedef TagSourceSchema
531
- * @property {string} [id]
532
440
  * @property {string} [type]
533
- */
534
- /**
535
- * @typedef TagsSchema
536
- * @property {string} [_id]
537
- * @property {string} [application]
538
- * @property {TagSchema[]} [tags]
441
+ * @property {string} [id]
539
442
  */
540
443
  /**
541
444
  * @typedef {| "about-us"
@@ -588,62 +491,97 @@ export = ContentApplicationModel;
588
491
  declare class ContentApplicationModel {
589
492
  }
590
493
  declare namespace ContentApplicationModel {
591
- export { Action, ActionPage, AnnouncementSchema, AnnouncementsResponseSchema, ApplicationLegal, ApplicationLegalFAQ, Asset, Author, BlogGetResponse, BlogSchema, CategorySchema, ChildrenSchema, CommonError, ConfigurationSchema, ContactSchema, ContentAPIError, CreatedBySchema, CronSchedule, CustomFieldSchema, CustomFieldsResponseByResourceIdSchema, CustomFieldValue, CustomMetaTag, CustomObjectByIdSchema, CustomObjectFieldSchema, CustomObjectFieldValue, CustomObjectListItemDefinationSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, DateMeta, Detail, EmailProperties, EmailSchema, FAQCategorySchema, FaqResponseSchema, FaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, GetFaqSchema, LandingPageSchema, Language, LocaleLanguage, NavigationGetResponse, NavigationReference, NavigationSchema, NextSchedule, Orientation, Page, PageGetResponse, PageSchema, PhoneProperties, PhoneSchema, ResourceContent, ScheduleSchema, ScheduleStartSchema, SEO, SEObreadcrumb, SeoComponent, SEOImage, SEOMetaItem, SEOMetaItems, SeoSchema, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSitemap, SlideshowGetResponse, SlideshowMedia, SlideshowSchema, Support, TagSchema, TagSourceSchema, TagsSchema, PageType };
494
+ export { ApplicationLegal, ApplicationLegalFAQ, SeoComponent, SeoSchema, CustomMetaTag, Detail, ScheduleSchema, NextSchedule, AnnouncementSchema, ScheduleStartSchema, BlogGetResponse, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, DateMeta, LocaleLanguage, Language, Action, ActionPage, 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, CronSchedule, SlideshowGetResponse, SlideshowSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, PageType };
592
495
  }
593
- /** @returns {Action} */
594
- declare function Action(): Action;
595
- type Action = {
596
- page?: ActionPage;
597
- popup?: ActionPage;
598
- type?: string;
599
- };
600
- /** @returns {ActionPage} */
601
- declare function ActionPage(): ActionPage;
602
- type ActionPage = {
603
- params?: any;
604
- query?: any;
605
- type: PageType;
606
- url?: string;
607
- };
608
- /** @returns {AnnouncementSchema} */
609
- declare function AnnouncementSchema(): AnnouncementSchema;
610
- type AnnouncementSchema = {
611
- announcement?: string;
612
- schedule?: ScheduleStartSchema;
613
- };
614
- /** @returns {AnnouncementsResponseSchema} */
615
- declare function AnnouncementsResponseSchema(): AnnouncementsResponseSchema;
616
- type AnnouncementsResponseSchema = {
617
- announcements?: any;
618
- /**
619
- * - List of page slugs on which
620
- * announcement should be fetched as soon as they are loaded
621
- */
622
- refresh_pages?: string[];
623
- /**
624
- * - Number of seconds after which api should
625
- * hit again to fetch new announcements
626
- */
627
- refresh_rate?: number;
628
- };
629
496
  /** @returns {ApplicationLegal} */
630
497
  declare function ApplicationLegal(): ApplicationLegal;
631
498
  type ApplicationLegal = {
632
- _id?: string;
633
499
  application?: string;
634
- created_at?: string;
635
- faq?: ApplicationLegalFAQ[];
500
+ tnc?: string;
636
501
  policy?: string;
637
- returns?: string;
638
502
  shipping?: string;
639
- tnc?: string;
503
+ returns?: string;
504
+ faq?: ApplicationLegalFAQ[];
505
+ _id?: string;
640
506
  updated_at?: string;
507
+ created_at?: string;
641
508
  };
642
509
  /** @returns {ApplicationLegalFAQ} */
643
510
  declare function ApplicationLegalFAQ(): ApplicationLegalFAQ;
644
511
  type ApplicationLegalFAQ = {
645
- answer?: string;
646
512
  question?: string;
513
+ answer?: string;
514
+ };
515
+ /** @returns {SeoComponent} */
516
+ declare function SeoComponent(): SeoComponent;
517
+ type SeoComponent = {
518
+ seo?: SeoSchema;
519
+ };
520
+ /** @returns {SeoSchema} */
521
+ declare function SeoSchema(): SeoSchema;
522
+ type SeoSchema = {
523
+ app?: string;
524
+ _id?: string;
525
+ robots_txt?: string;
526
+ sitemap_enabled?: boolean;
527
+ cannonical_enabled?: boolean;
528
+ custom_meta_tags?: CustomMetaTag[];
529
+ details?: Detail;
530
+ created_at?: string;
531
+ updated_at?: string;
532
+ };
533
+ /** @returns {CustomMetaTag} */
534
+ declare function CustomMetaTag(): CustomMetaTag;
535
+ type CustomMetaTag = {
536
+ name?: string;
537
+ content?: string;
538
+ _id?: string;
539
+ };
540
+ /** @returns {Detail} */
541
+ declare function Detail(): Detail;
542
+ type Detail = {
543
+ title?: string;
544
+ description?: string;
545
+ image_url?: string;
546
+ };
547
+ /** @returns {ScheduleSchema} */
548
+ declare function ScheduleSchema(): ScheduleSchema;
549
+ type ScheduleSchema = {
550
+ cron?: string;
551
+ start?: string;
552
+ end?: string;
553
+ duration?: number;
554
+ next_schedule?: NextSchedule[];
555
+ };
556
+ /** @returns {NextSchedule} */
557
+ declare function NextSchedule(): NextSchedule;
558
+ type NextSchedule = {
559
+ start?: string;
560
+ end?: string;
561
+ };
562
+ /** @returns {AnnouncementSchema} */
563
+ declare function AnnouncementSchema(): AnnouncementSchema;
564
+ type AnnouncementSchema = {
565
+ announcement?: string;
566
+ schedule?: ScheduleStartSchema;
567
+ };
568
+ /** @returns {ScheduleStartSchema} */
569
+ declare function ScheduleStartSchema(): ScheduleStartSchema;
570
+ type ScheduleStartSchema = {
571
+ start?: string;
572
+ end?: string;
573
+ };
574
+ /** @returns {BlogGetResponse} */
575
+ declare function BlogGetResponse(): BlogGetResponse;
576
+ type BlogGetResponse = {
577
+ items?: BlogSchema[];
578
+ page?: Page;
579
+ };
580
+ /** @returns {ResourceContent} */
581
+ declare function ResourceContent(): ResourceContent;
582
+ type ResourceContent = {
583
+ type?: string;
584
+ value?: string;
647
585
  };
648
586
  /** @returns {Asset} */
649
587
  declare function Asset(): Asset;
@@ -659,243 +597,212 @@ type Author = {
659
597
  id?: string;
660
598
  name?: string;
661
599
  };
662
- /** @returns {BlogGetResponse} */
663
- declare function BlogGetResponse(): BlogGetResponse;
664
- type BlogGetResponse = {
665
- items?: BlogSchema[];
666
- page?: Page;
667
- };
668
600
  /** @returns {BlogSchema} */
669
601
  declare function BlogSchema(): BlogSchema;
670
602
  type BlogSchema = {
671
- _custom_json?: any;
672
603
  _id?: string;
673
- _schedule?: CronSchedule;
604
+ _custom_json?: any;
674
605
  application?: string;
675
606
  archived?: boolean;
676
607
  author?: Author;
677
608
  content?: ResourceContent[];
678
- date_meta?: DateMeta;
679
609
  feature_image?: Asset;
680
610
  published?: boolean;
681
611
  reading_time?: string;
682
- seo?: SEO;
683
612
  slug?: string;
684
613
  tags?: string[];
614
+ seo?: SEO;
615
+ _schedule?: CronSchedule;
685
616
  title?: string;
617
+ date_meta?: DateMeta;
686
618
  };
687
- /** @returns {CategorySchema} */
688
- declare function CategorySchema(): CategorySchema;
689
- type CategorySchema = {
690
- _custom_json?: any;
691
- _id?: string;
692
- application?: string;
693
- children?: string[];
619
+ /** @returns {SEO} */
620
+ declare function SEO(): SEO;
621
+ type SEO = {
694
622
  description?: string;
695
- icon_url?: string;
696
- index?: number;
697
- slug?: string;
623
+ image?: SEOImage;
698
624
  title?: string;
699
625
  };
700
- /** @returns {ChildrenSchema} */
701
- declare function ChildrenSchema(): ChildrenSchema;
702
- type ChildrenSchema = {
703
- _id?: string;
704
- answer?: string;
705
- application?: string;
706
- question?: string;
707
- slug?: string;
708
- };
709
- /** @returns {CommonError} */
710
- declare function CommonError(): CommonError;
711
- type CommonError = {
712
- message?: string;
713
- };
714
- /** @returns {ConfigurationSchema} */
715
- declare function ConfigurationSchema(): ConfigurationSchema;
716
- type ConfigurationSchema = {
717
- duration?: number;
718
- sleep_time?: number;
719
- slide_direction?: string;
720
- start_on_launch?: boolean;
721
- };
722
- /** @returns {ContactSchema} */
723
- declare function ContactSchema(): ContactSchema;
724
- type ContactSchema = {
725
- email?: EmailSchema;
726
- phone?: PhoneSchema;
626
+ /** @returns {SEOImage} */
627
+ declare function SEOImage(): SEOImage;
628
+ type SEOImage = {
629
+ url?: string;
727
630
  };
728
- /** @returns {ContentAPIError} */
729
- declare function ContentAPIError(): ContentAPIError;
730
- type ContentAPIError = {
731
- code?: string;
732
- exception?: string;
733
- info?: string;
734
- message?: string;
735
- meta?: any;
736
- request_id?: string;
737
- stack_trace?: string;
738
- status?: number;
631
+ /** @returns {DateMeta} */
632
+ declare function DateMeta(): DateMeta;
633
+ type DateMeta = {
634
+ created_on?: string;
635
+ modified_on?: string;
739
636
  };
740
- /** @returns {CreatedBySchema} */
741
- declare function CreatedBySchema(): CreatedBySchema;
742
- type CreatedBySchema = {
743
- id?: string;
637
+ /** @returns {LocaleLanguage} */
638
+ declare function LocaleLanguage(): LocaleLanguage;
639
+ type LocaleLanguage = {
640
+ hi?: Language;
641
+ ar?: Language;
642
+ en_us?: Language;
744
643
  };
745
- /** @returns {CronSchedule} */
746
- declare function CronSchedule(): CronSchedule;
747
- type CronSchedule = {
748
- cron?: string;
749
- duration?: number;
750
- end?: string;
751
- start?: string;
644
+ /** @returns {Language} */
645
+ declare function Language(): Language;
646
+ type Language = {
647
+ display?: string;
752
648
  };
753
- /** @returns {CustomFieldSchema} */
754
- declare function CustomFieldSchema(): CustomFieldSchema;
755
- type CustomFieldSchema = {
756
- _id?: string;
757
- application_id?: string;
758
- company_id?: string;
759
- created_at?: string;
760
- created_by?: string;
761
- creator?: string;
762
- definition_id?: string;
763
- has_invalid_values?: boolean;
764
- invalid_value_errors?: any[];
765
- is_deleted?: boolean;
766
- key?: string;
767
- multi_value?: boolean;
768
- namespace?: string;
769
- resource?: string;
770
- resource_id?: string;
649
+ /** @returns {Action} */
650
+ declare function Action(): Action;
651
+ type Action = {
652
+ page?: ActionPage;
653
+ popup?: ActionPage;
771
654
  type?: string;
772
- updated_at?: string;
773
- value?: CustomFieldValue[];
774
- };
775
- /** @returns {CustomFieldsResponseByResourceIdSchema} */
776
- declare function CustomFieldsResponseByResourceIdSchema(): CustomFieldsResponseByResourceIdSchema;
777
- type CustomFieldsResponseByResourceIdSchema = {
778
- items?: CustomFieldSchema[];
779
655
  };
780
- /** @returns {CustomFieldValue} */
781
- declare function CustomFieldValue(): CustomFieldValue;
782
- type CustomFieldValue = {
783
- value?: any;
656
+ /** @returns {ActionPage} */
657
+ declare function ActionPage(): ActionPage;
658
+ type ActionPage = {
659
+ params?: any;
660
+ query?: any;
661
+ url?: string;
662
+ type: PageType;
784
663
  };
785
- /** @returns {CustomMetaTag} */
786
- declare function CustomMetaTag(): CustomMetaTag;
787
- type CustomMetaTag = {
788
- _id?: string;
789
- content?: string;
790
- name?: string;
664
+ /** @returns {NavigationReference} */
665
+ declare function NavigationReference(): NavigationReference;
666
+ type NavigationReference = {
667
+ acl?: string[];
668
+ tags?: string[];
669
+ _locale_language?: LocaleLanguage;
670
+ image?: string;
671
+ type?: string;
672
+ action?: Action;
673
+ active?: boolean;
674
+ display?: string;
675
+ sort_order?: number;
676
+ sub_navigation?: NavigationReference[];
791
677
  };
792
- /** @returns {CustomObjectByIdSchema} */
793
- declare function CustomObjectByIdSchema(): CustomObjectByIdSchema;
794
- type CustomObjectByIdSchema = {
795
- _id?: string;
796
- definition?: CustomObjectListItemDefinationSchema;
797
- display_name?: string;
798
- fields?: CustomObjectFieldSchema[];
799
- references?: any[];
800
- status?: string;
678
+ /** @returns {ConfigurationSchema} */
679
+ declare function ConfigurationSchema(): ConfigurationSchema;
680
+ type ConfigurationSchema = {
681
+ sleep_time?: number;
682
+ start_on_launch?: boolean;
683
+ duration?: number;
684
+ slide_direction?: string;
801
685
  };
802
- /** @returns {CustomObjectFieldSchema} */
803
- declare function CustomObjectFieldSchema(): CustomObjectFieldSchema;
804
- type CustomObjectFieldSchema = {
805
- _id?: string;
806
- definition_id?: string;
807
- key?: string;
686
+ /** @returns {SlideshowMedia} */
687
+ declare function SlideshowMedia(): SlideshowMedia;
688
+ type SlideshowMedia = {
808
689
  type?: string;
809
- value?: CustomObjectFieldValue[];
690
+ url?: string;
691
+ bg_color?: string;
692
+ duration?: number;
693
+ auto_decide_duration?: boolean;
694
+ action?: Action;
810
695
  };
811
- /** @returns {CustomObjectFieldValue} */
812
- declare function CustomObjectFieldValue(): CustomObjectFieldValue;
813
- type CustomObjectFieldValue = {
814
- value?: any;
696
+ /** @returns {AnnouncementsResponseSchema} */
697
+ declare function AnnouncementsResponseSchema(): AnnouncementsResponseSchema;
698
+ type AnnouncementsResponseSchema = {
699
+ announcements?: any;
700
+ /**
701
+ * - Number of seconds after which api should
702
+ * hit again to fetch new announcements
703
+ */
704
+ refresh_rate?: number;
705
+ /**
706
+ * - List of page slugs on which
707
+ * announcement should be fetched as soon as they are loaded
708
+ */
709
+ refresh_pages?: string[];
815
710
  };
816
- /** @returns {CustomObjectListItemDefinationSchema} */
817
- declare function CustomObjectListItemDefinationSchema(): CustomObjectListItemDefinationSchema;
818
- type CustomObjectListItemDefinationSchema = {
819
- _id?: string;
820
- name?: string;
821
- type?: string;
711
+ /** @returns {FaqResponseSchema} */
712
+ declare function FaqResponseSchema(): FaqResponseSchema;
713
+ type FaqResponseSchema = {
714
+ faqs?: FaqSchema[];
822
715
  };
823
716
  /** @returns {DataLoaderSchema} */
824
717
  declare function DataLoaderSchema(): DataLoaderSchema;
825
718
  type DataLoaderSchema = {
826
- __source?: DataLoaderSourceSchema;
827
- _id?: string;
828
- content?: string;
829
719
  name?: string;
830
- operation_id?: string;
831
720
  service?: string;
721
+ operation_id?: string;
832
722
  type?: string;
833
723
  url?: string;
724
+ content?: string;
725
+ __source?: DataLoaderSourceSchema;
726
+ _id?: string;
834
727
  };
835
728
  /** @returns {DataLoaderSourceSchema} */
836
729
  declare function DataLoaderSourceSchema(): DataLoaderSourceSchema;
837
730
  type DataLoaderSourceSchema = {
838
- id?: string;
839
731
  type?: string;
732
+ id?: string;
840
733
  };
841
734
  /** @returns {DataLoadersSchema} */
842
735
  declare function DataLoadersSchema(): DataLoadersSchema;
843
736
  type DataLoadersSchema = {
844
737
  items?: DataLoaderSchema[];
845
738
  };
846
- /** @returns {DateMeta} */
847
- declare function DateMeta(): DateMeta;
848
- type DateMeta = {
849
- created_on?: string;
850
- modified_on?: string;
739
+ /** @returns {ContentAPIError} */
740
+ declare function ContentAPIError(): ContentAPIError;
741
+ type ContentAPIError = {
742
+ message?: string;
743
+ status?: number;
744
+ code?: string;
745
+ exception?: string;
746
+ info?: string;
747
+ request_id?: string;
748
+ stack_trace?: string;
749
+ meta?: any;
851
750
  };
852
- /** @returns {Detail} */
853
- declare function Detail(): Detail;
854
- type Detail = {
855
- description?: string;
856
- image_url?: string;
857
- title?: string;
751
+ /** @returns {CommonError} */
752
+ declare function CommonError(): CommonError;
753
+ type CommonError = {
754
+ message?: string;
858
755
  };
859
- /** @returns {EmailProperties} */
860
- declare function EmailProperties(): EmailProperties;
861
- type EmailProperties = {
862
- key?: string;
863
- value?: string;
756
+ /** @returns {CategorySchema} */
757
+ declare function CategorySchema(): CategorySchema;
758
+ type CategorySchema = {
759
+ index?: number;
760
+ title?: string;
761
+ description?: string;
762
+ children?: string[];
763
+ _id?: string;
764
+ slug?: string;
765
+ application?: string;
766
+ icon_url?: string;
767
+ _custom_json?: any;
864
768
  };
865
- /** @returns {EmailSchema} */
866
- declare function EmailSchema(): EmailSchema;
867
- type EmailSchema = {
868
- active?: boolean;
869
- email?: EmailProperties[];
769
+ /** @returns {ChildrenSchema} */
770
+ declare function ChildrenSchema(): ChildrenSchema;
771
+ type ChildrenSchema = {
772
+ question?: string;
773
+ answer?: string;
774
+ slug?: string;
775
+ application?: string;
776
+ _id?: string;
870
777
  };
871
778
  /** @returns {FAQCategorySchema} */
872
779
  declare function FAQCategorySchema(): FAQCategorySchema;
873
780
  type FAQCategorySchema = {
874
- _custom_json?: any;
781
+ index?: number;
782
+ title?: string;
783
+ description?: string;
784
+ children?: ChildrenSchema[];
875
785
  _id?: string;
786
+ slug?: string;
876
787
  application?: string;
877
- children?: ChildrenSchema[];
878
- description?: string;
879
788
  icon_url?: string;
880
- index?: number;
881
- slug?: string;
882
- title?: string;
883
- };
884
- /** @returns {FaqResponseSchema} */
885
- declare function FaqResponseSchema(): FaqResponseSchema;
886
- type FaqResponseSchema = {
887
- faqs?: FaqSchema[];
789
+ _custom_json?: any;
888
790
  };
889
791
  /** @returns {FaqSchema} */
890
792
  declare function FaqSchema(): FaqSchema;
891
793
  type FaqSchema = {
892
- _id?: string;
893
- answer?: string;
794
+ slug?: string;
894
795
  application?: string;
796
+ _id?: string;
895
797
  question?: string;
896
- slug?: string;
798
+ answer?: string;
897
799
  tags?: string[];
898
800
  };
801
+ /** @returns {GetFaqSchema} */
802
+ declare function GetFaqSchema(): GetFaqSchema;
803
+ type GetFaqSchema = {
804
+ faqs?: FaqSchema[];
805
+ };
899
806
  /** @returns {GetFaqCategoriesSchema} */
900
807
  declare function GetFaqCategoriesSchema(): GetFaqCategoriesSchema;
901
808
  type GetFaqCategoriesSchema = {
@@ -906,35 +813,29 @@ declare function GetFaqCategoryBySlugSchema(): GetFaqCategoryBySlugSchema;
906
813
  type GetFaqCategoryBySlugSchema = {
907
814
  category?: FAQCategorySchema;
908
815
  };
909
- /** @returns {GetFaqSchema} */
910
- declare function GetFaqSchema(): GetFaqSchema;
911
- type GetFaqSchema = {
912
- faqs?: FaqSchema[];
816
+ /** @returns {Page} */
817
+ declare function Page(): Page;
818
+ type Page = {
819
+ item_total?: number;
820
+ next_id?: string;
821
+ has_previous?: boolean;
822
+ has_next?: boolean;
823
+ current?: number;
824
+ type: string;
825
+ size?: number;
913
826
  };
914
827
  /** @returns {LandingPageSchema} */
915
828
  declare function LandingPageSchema(): LandingPageSchema;
916
829
  type LandingPageSchema = {
917
- _custom_json?: any;
918
- _id?: string;
830
+ slug?: string;
919
831
  action?: Action;
920
- application?: string;
921
- archived?: boolean;
832
+ platform?: string[];
922
833
  created_by?: CreatedBySchema;
923
834
  date_meta?: DateMeta;
924
- platform?: string[];
925
- slug?: string;
926
- };
927
- /** @returns {Language} */
928
- declare function Language(): Language;
929
- type Language = {
930
- display?: string;
931
- };
932
- /** @returns {LocaleLanguage} */
933
- declare function LocaleLanguage(): LocaleLanguage;
934
- type LocaleLanguage = {
935
- ar?: Language;
936
- en_us?: Language;
937
- hi?: Language;
835
+ _id?: string;
836
+ application?: string;
837
+ archived?: boolean;
838
+ _custom_json?: any;
938
839
  };
939
840
  /** @returns {NavigationGetResponse} */
940
841
  declare function NavigationGetResponse(): NavigationGetResponse;
@@ -942,19 +843,11 @@ type NavigationGetResponse = {
942
843
  items?: NavigationSchema[];
943
844
  page?: Page;
944
845
  };
945
- /** @returns {NavigationReference} */
946
- declare function NavigationReference(): NavigationReference;
947
- type NavigationReference = {
948
- _locale_language?: LocaleLanguage;
949
- acl?: string[];
950
- action?: Action;
951
- active?: boolean;
952
- display?: string;
953
- image?: string;
954
- sort_order?: number;
955
- sub_navigation?: NavigationReference[];
956
- tags?: string[];
957
- type?: string;
846
+ /** @returns {Orientation} */
847
+ declare function Orientation(): Orientation;
848
+ type Orientation = {
849
+ portrait?: string[];
850
+ landscape?: string[];
958
851
  };
959
852
  /** @returns {NavigationSchema} */
960
853
  declare function NavigationSchema(): NavigationSchema;
@@ -962,37 +855,14 @@ type NavigationSchema = {
962
855
  _id?: string;
963
856
  application?: string;
964
857
  archived?: boolean;
858
+ name?: string;
859
+ slug?: string;
860
+ platform?: string[];
965
861
  created_by?: CreatedBySchema;
966
862
  date_meta?: DateMeta;
967
- name?: string;
968
- navigation?: NavigationReference[];
969
863
  orientation?: Orientation;
970
- platform?: string[];
971
- slug?: string;
972
864
  version?: number;
973
- };
974
- /** @returns {NextSchedule} */
975
- declare function NextSchedule(): NextSchedule;
976
- type NextSchedule = {
977
- end?: string;
978
- start?: string;
979
- };
980
- /** @returns {Orientation} */
981
- declare function Orientation(): Orientation;
982
- type Orientation = {
983
- landscape?: string[];
984
- portrait?: string[];
985
- };
986
- /** @returns {Page} */
987
- declare function Page(): Page;
988
- type Page = {
989
- current?: number;
990
- has_next?: boolean;
991
- has_previous?: boolean;
992
- item_total?: number;
993
- next_id?: string;
994
- size?: number;
995
- type: string;
865
+ navigation?: NavigationReference[];
996
866
  };
997
867
  /** @returns {PageGetResponse} */
998
868
  declare function PageGetResponse(): PageGetResponse;
@@ -1003,11 +873,8 @@ type PageGetResponse = {
1003
873
  /** @returns {PageSchema} */
1004
874
  declare function PageSchema(): PageSchema;
1005
875
  type PageSchema = {
1006
- _custom_json?: any;
1007
876
  _id?: string;
1008
- _schedule?: ScheduleSchema;
1009
877
  application?: string;
1010
- archived?: boolean;
1011
878
  /**
1012
879
  * - Components can be used to store
1013
880
  * multiple components
@@ -1019,127 +886,32 @@ type PageSchema = {
1019
886
  date_meta?: DateMeta;
1020
887
  description?: string;
1021
888
  feature_image?: Asset;
1022
- orientation?: string;
1023
889
  page_meta?: any[];
890
+ _schedule?: ScheduleSchema;
891
+ _custom_json?: any;
892
+ orientation?: string;
1024
893
  platform?: string;
1025
894
  published?: boolean;
1026
- seo?: SEO;
1027
895
  slug?: string;
1028
896
  tags?: string[];
1029
897
  title?: string;
1030
898
  type?: string;
899
+ seo?: SEO;
1031
900
  visibility?: any;
901
+ archived?: boolean;
1032
902
  };
1033
- /** @returns {PhoneProperties} */
1034
- declare function PhoneProperties(): PhoneProperties;
1035
- type PhoneProperties = {
1036
- code?: string;
1037
- key?: string;
1038
- number?: string;
1039
- };
1040
- /** @returns {PhoneSchema} */
1041
- declare function PhoneSchema(): PhoneSchema;
1042
- type PhoneSchema = {
1043
- active?: boolean;
1044
- phone?: PhoneProperties[];
1045
- };
1046
- /** @returns {ResourceContent} */
1047
- declare function ResourceContent(): ResourceContent;
1048
- type ResourceContent = {
1049
- type?: string;
1050
- value?: string;
903
+ /** @returns {CreatedBySchema} */
904
+ declare function CreatedBySchema(): CreatedBySchema;
905
+ type CreatedBySchema = {
906
+ id?: string;
1051
907
  };
1052
- /** @returns {ScheduleSchema} */
1053
- declare function ScheduleSchema(): ScheduleSchema;
1054
- type ScheduleSchema = {
908
+ /** @returns {CronSchedule} */
909
+ declare function CronSchedule(): CronSchedule;
910
+ type CronSchedule = {
1055
911
  cron?: string;
1056
- duration?: number;
1057
- end?: string;
1058
- next_schedule?: NextSchedule[];
1059
912
  start?: string;
1060
- };
1061
- /** @returns {ScheduleStartSchema} */
1062
- declare function ScheduleStartSchema(): ScheduleStartSchema;
1063
- type ScheduleStartSchema = {
1064
913
  end?: string;
1065
- start?: string;
1066
- };
1067
- /** @returns {SEO} */
1068
- declare function SEO(): SEO;
1069
- type SEO = {
1070
- breadcrumb?: SEObreadcrumb[];
1071
- canonical_url?: string;
1072
- description?: string;
1073
- image?: SEOImage;
1074
- meta_tags?: SEOMetaItem[];
1075
- sitemap?: SEOSitemap;
1076
- title?: string;
1077
- };
1078
- /** @returns {SEObreadcrumb} */
1079
- declare function SEObreadcrumb(): SEObreadcrumb;
1080
- type SEObreadcrumb = {
1081
- action?: Action;
1082
- url?: string;
1083
- };
1084
- /** @returns {SeoComponent} */
1085
- declare function SeoComponent(): SeoComponent;
1086
- type SeoComponent = {
1087
- seo?: SeoSchema;
1088
- };
1089
- /** @returns {SEOImage} */
1090
- declare function SEOImage(): SEOImage;
1091
- type SEOImage = {
1092
- url?: string;
1093
- };
1094
- /** @returns {SEOMetaItem} */
1095
- declare function SEOMetaItem(): SEOMetaItem;
1096
- type SEOMetaItem = {
1097
- items?: SEOMetaItems[];
1098
- title?: string;
1099
- };
1100
- /** @returns {SEOMetaItems} */
1101
- declare function SEOMetaItems(): SEOMetaItems;
1102
- type SEOMetaItems = {
1103
- key?: string;
1104
- value?: string;
1105
- };
1106
- /** @returns {SeoSchema} */
1107
- declare function SeoSchema(): SeoSchema;
1108
- type SeoSchema = {
1109
- _id?: string;
1110
- additonal_sitemap?: string;
1111
- app?: string;
1112
- cannonical_enabled?: boolean;
1113
- created_at?: string;
1114
- custom_meta_tags?: CustomMetaTag[];
1115
- details?: Detail;
1116
- robots_txt?: string;
1117
- sitemap_enabled?: boolean;
1118
- updated_at?: string;
1119
- };
1120
- /** @returns {SeoSchemaComponent} */
1121
- declare function SeoSchemaComponent(): SeoSchemaComponent;
1122
- type SeoSchemaComponent = {
1123
- items?: SEOSchemaMarkupTemplate[];
1124
- };
1125
- /** @returns {SEOSchemaMarkupTemplate} */
1126
- declare function SEOSchemaMarkupTemplate(): SEOSchemaMarkupTemplate;
1127
- type SEOSchemaMarkupTemplate = {
1128
- active?: boolean;
1129
- application?: string;
1130
- created_at?: string;
1131
- description?: string;
1132
- id?: string;
1133
- page_type?: string;
1134
- schema?: string;
1135
- title?: string;
1136
- updated_at?: string;
1137
- };
1138
- /** @returns {SEOSitemap} */
1139
- declare function SEOSitemap(): SEOSitemap;
1140
- type SEOSitemap = {
1141
- frequency?: string;
1142
- priority?: number;
914
+ duration?: number;
1143
915
  };
1144
916
  /** @returns {SlideshowGetResponse} */
1145
917
  declare function SlideshowGetResponse(): SlideshowGetResponse;
@@ -1147,67 +919,88 @@ type SlideshowGetResponse = {
1147
919
  items?: SlideshowSchema[];
1148
920
  page?: Page;
1149
921
  };
1150
- /** @returns {SlideshowMedia} */
1151
- declare function SlideshowMedia(): SlideshowMedia;
1152
- type SlideshowMedia = {
1153
- action?: Action;
1154
- auto_decide_duration?: boolean;
1155
- bg_color?: string;
1156
- duration?: number;
1157
- type?: string;
1158
- url?: string;
1159
- };
1160
922
  /** @returns {SlideshowSchema} */
1161
923
  declare function SlideshowSchema(): SlideshowSchema;
1162
924
  type SlideshowSchema = {
1163
- _custom_json?: any;
1164
925
  _id?: string;
1165
- active?: boolean;
926
+ slug?: string;
927
+ date_meta?: DateMeta;
1166
928
  application?: string;
1167
- archived?: boolean;
929
+ platform?: string;
1168
930
  configuration?: ConfigurationSchema;
1169
- date_meta?: DateMeta;
1170
931
  media?: SlideshowMedia[];
1171
- platform?: string;
1172
- slug?: string;
932
+ active?: boolean;
933
+ archived?: boolean;
934
+ _custom_json?: any;
1173
935
  };
1174
936
  /** @returns {Support} */
1175
937
  declare function Support(): Support;
1176
938
  type Support = {
939
+ created?: boolean;
1177
940
  _id?: string;
1178
- application?: string;
1179
941
  config_type?: string;
1180
- contact?: ContactSchema;
1181
- created?: boolean;
942
+ application?: string;
1182
943
  created_at?: string;
1183
944
  updated_at?: string;
945
+ contact?: ContactSchema;
946
+ };
947
+ /** @returns {PhoneProperties} */
948
+ declare function PhoneProperties(): PhoneProperties;
949
+ type PhoneProperties = {
950
+ key?: string;
951
+ code?: string;
952
+ number?: string;
953
+ };
954
+ /** @returns {PhoneSchema} */
955
+ declare function PhoneSchema(): PhoneSchema;
956
+ type PhoneSchema = {
957
+ active?: boolean;
958
+ phone?: PhoneProperties[];
959
+ };
960
+ /** @returns {EmailProperties} */
961
+ declare function EmailProperties(): EmailProperties;
962
+ type EmailProperties = {
963
+ key?: string;
964
+ value?: string;
965
+ };
966
+ /** @returns {EmailSchema} */
967
+ declare function EmailSchema(): EmailSchema;
968
+ type EmailSchema = {
969
+ active?: boolean;
970
+ email?: EmailProperties[];
971
+ };
972
+ /** @returns {ContactSchema} */
973
+ declare function ContactSchema(): ContactSchema;
974
+ type ContactSchema = {
975
+ phone?: PhoneSchema;
976
+ email?: EmailSchema;
977
+ };
978
+ /** @returns {TagsSchema} */
979
+ declare function TagsSchema(): TagsSchema;
980
+ type TagsSchema = {
981
+ application?: string;
982
+ _id?: string;
983
+ tags?: TagSchema[];
1184
984
  };
1185
985
  /** @returns {TagSchema} */
1186
986
  declare function TagSchema(): TagSchema;
1187
987
  type TagSchema = {
1188
- __source?: TagSourceSchema;
988
+ name?: string;
989
+ url?: string;
990
+ type?: string;
991
+ sub_type?: string;
1189
992
  _id?: string;
993
+ position?: string;
1190
994
  attributes?: any;
1191
995
  content?: string;
1192
- name?: string;
1193
996
  pages?: any[];
1194
- position?: string;
1195
- sub_type?: string;
1196
- type?: string;
1197
- url?: string;
997
+ __source?: TagSourceSchema;
1198
998
  };
1199
999
  /** @returns {TagSourceSchema} */
1200
1000
  declare function TagSourceSchema(): TagSourceSchema;
1201
1001
  type TagSourceSchema = {
1202
- id?: string;
1203
1002
  type?: string;
1204
- };
1205
- /** @returns {TagsSchema} */
1206
- declare function TagsSchema(): TagsSchema;
1207
- type TagsSchema = {
1208
- _id?: string;
1209
- application?: string;
1210
- tags?: TagSchema[];
1003
+ id?: string;
1211
1004
  };
1212
1005
  /**
1213
1006
  * Enum: PageType Used By: Content