@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.4

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