@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.3
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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
- package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
- package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
- package/sdk/application/Content/ContentApplicationModel.js +757 -757
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
- package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
- package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
- package/sdk/application/Order/OrderApplicationModel.js +822 -822
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
- package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
- package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
- package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
- package/sdk/application/User/UserApplicationModel.d.ts +762 -762
- package/sdk/application/User/UserApplicationModel.js +738 -738
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
- package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
- package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
- package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
- package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
- package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
- package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
- package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
- package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
- package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
- package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
- package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
- package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
- package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
- package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
- package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
- package/sdk/platform/User/UserPlatformModel.js +643 -643
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
- package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
- package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
- package/sdk/public/Billing/BillingPublicModel.js +51 -51
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
- package/sdk/public/Content/ContentPublicModel.js +28 -28
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
- package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
|
@@ -1,46 +1,98 @@
|
|
|
1
1
|
export = ContentApplicationModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {
|
|
5
|
-
* @property {
|
|
6
|
-
* @property {string} [
|
|
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
|
|
10
|
-
* @property {
|
|
11
|
-
* @property {
|
|
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
|
|
17
|
-
* @property {
|
|
18
|
-
* @property {ScheduleStartSchema} [schedule]
|
|
20
|
+
* @typedef SeoComponent
|
|
21
|
+
* @property {SeoSchema} [seo]
|
|
19
22
|
*/
|
|
20
23
|
/**
|
|
21
|
-
* @typedef
|
|
22
|
-
* @property {
|
|
23
|
-
* @property {string
|
|
24
|
-
*
|
|
25
|
-
* @property {
|
|
26
|
-
*
|
|
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
|
|
37
|
+
* @typedef CustomMetaTag
|
|
38
|
+
* @property {string} [name]
|
|
39
|
+
* @property {string} [content]
|
|
30
40
|
* @property {string} [_id]
|
|
31
|
-
|
|
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
|
|
42
|
-
* @property {string} [
|
|
43
|
-
* @property {string} [
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
94
|
-
* @property {string} [
|
|
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
|
|
102
|
-
* @property {string} [
|
|
142
|
+
* @typedef SEOMetaItem
|
|
143
|
+
* @property {string} [title]
|
|
144
|
+
* @property {SEOMetaItems[]} [items]
|
|
103
145
|
*/
|
|
104
146
|
/**
|
|
105
|
-
* @typedef
|
|
106
|
-
* @property {
|
|
107
|
-
* @property {
|
|
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
|
|
113
|
-
* @property {
|
|
114
|
-
* @property {
|
|
152
|
+
* @typedef SEOSitemap
|
|
153
|
+
* @property {number} [priority]
|
|
154
|
+
* @property {string} [frequency]
|
|
115
155
|
*/
|
|
116
156
|
/**
|
|
117
|
-
* @typedef
|
|
118
|
-
* @property {string} [
|
|
119
|
-
* @property {
|
|
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
|
|
129
|
-
* @property {string} [
|
|
162
|
+
* @typedef DateMeta
|
|
163
|
+
* @property {string} [created_on]
|
|
164
|
+
* @property {string} [modified_on]
|
|
130
165
|
*/
|
|
131
166
|
/**
|
|
132
|
-
* @typedef
|
|
133
|
-
* @property {
|
|
134
|
-
* @property {
|
|
135
|
-
* @property {
|
|
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
|
|
140
|
-
* @property {string} [
|
|
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
|
|
161
|
-
* @property {
|
|
177
|
+
* @typedef Action
|
|
178
|
+
* @property {ActionPage} [page]
|
|
179
|
+
* @property {ActionPage} [popup]
|
|
180
|
+
* @property {string} [type]
|
|
162
181
|
*/
|
|
163
182
|
/**
|
|
164
|
-
* @typedef
|
|
165
|
-
* @property {Object} [
|
|
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
|
|
169
|
-
* @property {string} [
|
|
170
|
-
* @property {string} [
|
|
171
|
-
* @property {
|
|
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
|
|
175
|
-
* @property {
|
|
176
|
-
* @property {
|
|
177
|
-
* @property {
|
|
178
|
-
* @property {
|
|
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
|
|
184
|
-
* @property {string} [_id]
|
|
185
|
-
* @property {string} [definition_id]
|
|
186
|
-
* @property {string} [key]
|
|
210
|
+
* @typedef SlideshowMedia
|
|
187
211
|
* @property {string} [type]
|
|
188
|
-
* @property {
|
|
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
|
|
192
|
-
* @property {Object} [
|
|
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
|
|
196
|
-
* @property {
|
|
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
|
|
222
|
-
* @property {string} [
|
|
223
|
-
* @property {
|
|
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
|
|
227
|
-
* @property {string} [
|
|
228
|
-
* @property {string} [image_url]
|
|
229
|
-
* @property {string} [title]
|
|
262
|
+
* @typedef CommonError
|
|
263
|
+
* @property {string} [message]
|
|
230
264
|
*/
|
|
231
265
|
/**
|
|
232
|
-
* @typedef
|
|
233
|
-
* @property {
|
|
234
|
-
* @property {string} [
|
|
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
|
|
238
|
-
* @property {
|
|
239
|
-
* @property {
|
|
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 {
|
|
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 {
|
|
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} [
|
|
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} [
|
|
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
|
|
276
|
-
* @property {
|
|
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 {
|
|
281
|
-
* @property {string} [_id]
|
|
330
|
+
* @property {string} [slug]
|
|
282
331
|
* @property {Action} [action]
|
|
283
|
-
* @property {string} [
|
|
284
|
-
* @property {boolean} [archived]
|
|
332
|
+
* @property {string[]} [platform]
|
|
285
333
|
* @property {CreatedBySchema} [created_by]
|
|
286
334
|
* @property {DateMeta} [date_meta]
|
|
287
|
-
* @property {string
|
|
288
|
-
* @property {string} [
|
|
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
|
|
307
|
-
* @property {
|
|
308
|
-
* @property {string[]} [
|
|
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
|
|
385
|
-
* @property {string} [
|
|
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
|
|
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 {
|
|
404
|
+
* @property {number} [duration]
|
|
411
405
|
*/
|
|
412
406
|
/**
|
|
413
|
-
* @typedef
|
|
414
|
-
* @property {
|
|
415
|
-
* @property {
|
|
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
|
|
424
|
-
* @property {
|
|
425
|
-
* @property {string} [
|
|
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
|
|
429
|
-
* @property {
|
|
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
|
|
433
|
-
* @property {string} [
|
|
435
|
+
* @typedef PhoneProperties
|
|
436
|
+
* @property {string} [key]
|
|
437
|
+
* @property {string} [code]
|
|
438
|
+
* @property {string} [number]
|
|
434
439
|
*/
|
|
435
440
|
/**
|
|
436
|
-
* @typedef
|
|
437
|
-
* @property {
|
|
438
|
-
* @property {
|
|
441
|
+
* @typedef PhoneSchema
|
|
442
|
+
* @property {boolean} [active]
|
|
443
|
+
* @property {PhoneProperties[]} [phone]
|
|
439
444
|
*/
|
|
440
445
|
/**
|
|
441
|
-
* @typedef
|
|
446
|
+
* @typedef EmailProperties
|
|
442
447
|
* @property {string} [key]
|
|
443
448
|
* @property {string} [value]
|
|
444
449
|
*/
|
|
445
450
|
/**
|
|
446
|
-
* @typedef
|
|
447
|
-
* @property {
|
|
448
|
-
* @property {
|
|
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
|
|
460
|
-
* @property {
|
|
456
|
+
* @typedef ContactSchema
|
|
457
|
+
* @property {PhoneSchema} [phone]
|
|
458
|
+
* @property {EmailSchema} [email]
|
|
461
459
|
*/
|
|
462
460
|
/**
|
|
463
|
-
* @typedef
|
|
464
|
-
* @property {boolean} [active]
|
|
461
|
+
* @typedef TagsSchema
|
|
465
462
|
* @property {string} [application]
|
|
466
|
-
* @property {string} [
|
|
467
|
-
* @property {
|
|
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
|
|
476
|
-
* @property {string} [
|
|
477
|
-
* @property {
|
|
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
|
|
481
|
-
* @property {
|
|
482
|
-
* @property {
|
|
480
|
+
* @typedef TagSourceSchema
|
|
481
|
+
* @property {string} [type]
|
|
482
|
+
* @property {string} [id]
|
|
483
483
|
*/
|
|
484
484
|
/**
|
|
485
|
-
* @typedef
|
|
486
|
-
* @property {
|
|
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
|
|
495
|
-
* @property {Object} [_custom_json]
|
|
489
|
+
* @typedef CustomObjectListItemDefinationSchema
|
|
496
490
|
* @property {string} [_id]
|
|
497
|
-
* @property {
|
|
498
|
-
* @property {string} [
|
|
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
|
|
495
|
+
* @typedef CustomObjectFieldSchema
|
|
508
496
|
* @property {string} [_id]
|
|
509
|
-
* @property {string} [
|
|
510
|
-
* @property {
|
|
511
|
-
* @property {
|
|
512
|
-
* @property {
|
|
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
|
|
518
|
-
* @property {TagSourceSchema} [__source]
|
|
503
|
+
* @typedef CustomObjectByIdSchema
|
|
519
504
|
* @property {string} [_id]
|
|
520
|
-
* @property {
|
|
521
|
-
* @property {string} [
|
|
522
|
-
* @property {
|
|
523
|
-
* @property {Object[]} [
|
|
524
|
-
* @property {
|
|
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
|
|
531
|
-
* @property {
|
|
532
|
-
* @property {string} [type]
|
|
512
|
+
* @typedef CustomFieldValue
|
|
513
|
+
* @property {Object} [value]
|
|
533
514
|
*/
|
|
534
515
|
/**
|
|
535
|
-
* @typedef
|
|
516
|
+
* @typedef CustomFieldSchema
|
|
536
517
|
* @property {string} [_id]
|
|
537
|
-
* @property {string} [
|
|
538
|
-
* @property {
|
|
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 {
|
|
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
|
-
|
|
635
|
-
faq?: ApplicationLegalFAQ[];
|
|
597
|
+
tnc?: string;
|
|
636
598
|
policy?: string;
|
|
637
|
-
returns?: string;
|
|
638
599
|
shipping?: string;
|
|
639
|
-
|
|
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 {
|
|
649
|
-
declare function
|
|
650
|
-
type
|
|
651
|
-
|
|
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 {
|
|
669
|
-
declare function
|
|
670
|
-
type
|
|
671
|
-
|
|
617
|
+
/** @returns {SeoSchema} */
|
|
618
|
+
declare function SeoSchema(): SeoSchema;
|
|
619
|
+
type SeoSchema = {
|
|
620
|
+
app?: string;
|
|
672
621
|
_id?: string;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
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 {
|
|
688
|
-
declare function
|
|
689
|
-
type
|
|
690
|
-
|
|
631
|
+
/** @returns {CustomMetaTag} */
|
|
632
|
+
declare function CustomMetaTag(): CustomMetaTag;
|
|
633
|
+
type CustomMetaTag = {
|
|
634
|
+
name?: string;
|
|
635
|
+
content?: string;
|
|
691
636
|
_id?: string;
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
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 {
|
|
701
|
-
declare function
|
|
702
|
-
type
|
|
703
|
-
|
|
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 {
|
|
741
|
-
declare function
|
|
742
|
-
type
|
|
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 {
|
|
746
|
-
declare function
|
|
747
|
-
type
|
|
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 {
|
|
754
|
-
declare function
|
|
755
|
-
type
|
|
756
|
-
|
|
757
|
-
|
|
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 {
|
|
776
|
-
declare function
|
|
777
|
-
type
|
|
778
|
-
|
|
696
|
+
/** @returns {ResourceContent} */
|
|
697
|
+
declare function ResourceContent(): ResourceContent;
|
|
698
|
+
type ResourceContent = {
|
|
699
|
+
type?: string;
|
|
700
|
+
value?: string;
|
|
779
701
|
};
|
|
780
|
-
/** @returns {
|
|
781
|
-
declare function
|
|
782
|
-
type
|
|
783
|
-
|
|
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 {
|
|
786
|
-
declare function
|
|
787
|
-
type
|
|
788
|
-
|
|
789
|
-
|
|
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 {
|
|
793
|
-
declare function
|
|
794
|
-
type
|
|
716
|
+
/** @returns {BlogSchema} */
|
|
717
|
+
declare function BlogSchema(): BlogSchema;
|
|
718
|
+
type BlogSchema = {
|
|
795
719
|
_id?: string;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
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 {
|
|
803
|
-
declare function
|
|
804
|
-
type
|
|
805
|
-
|
|
806
|
-
|
|
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 {
|
|
812
|
-
declare function
|
|
813
|
-
type
|
|
814
|
-
|
|
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 {
|
|
817
|
-
declare function
|
|
818
|
-
type
|
|
819
|
-
|
|
820
|
-
|
|
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 {
|
|
847
|
-
declare function
|
|
848
|
-
type
|
|
849
|
-
|
|
850
|
-
|
|
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 {
|
|
853
|
-
declare function
|
|
854
|
-
type
|
|
855
|
-
|
|
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 {
|
|
860
|
-
declare function
|
|
861
|
-
type
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
893
|
-
answer?: string;
|
|
938
|
+
slug?: string;
|
|
894
939
|
application?: string;
|
|
940
|
+
_id?: string;
|
|
895
941
|
question?: string;
|
|
896
|
-
|
|
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
|
-
|
|
965
|
+
has_previous?: boolean;
|
|
966
|
+
has_next?: boolean;
|
|
967
|
+
current?: number;
|
|
995
968
|
type: string;
|
|
969
|
+
size?: number;
|
|
996
970
|
};
|
|
997
|
-
/** @returns {
|
|
998
|
-
declare function
|
|
999
|
-
type
|
|
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
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
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 {
|
|
1095
|
-
declare function
|
|
1096
|
-
type
|
|
1097
|
-
items?:
|
|
1098
|
-
|
|
984
|
+
/** @returns {NavigationGetResponse} */
|
|
985
|
+
declare function NavigationGetResponse(): NavigationGetResponse;
|
|
986
|
+
type NavigationGetResponse = {
|
|
987
|
+
items?: NavigationSchema[];
|
|
988
|
+
page?: Page;
|
|
1099
989
|
};
|
|
1100
|
-
/** @returns {
|
|
1101
|
-
declare function
|
|
1102
|
-
type
|
|
1103
|
-
|
|
1104
|
-
|
|
990
|
+
/** @returns {Orientation} */
|
|
991
|
+
declare function Orientation(): Orientation;
|
|
992
|
+
type Orientation = {
|
|
993
|
+
portrait?: string[];
|
|
994
|
+
landscape?: string[];
|
|
1105
995
|
};
|
|
1106
|
-
/** @returns {
|
|
1107
|
-
declare function
|
|
1108
|
-
type
|
|
996
|
+
/** @returns {NavigationSchema} */
|
|
997
|
+
declare function NavigationSchema(): NavigationSchema;
|
|
998
|
+
type NavigationSchema = {
|
|
1109
999
|
_id?: string;
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
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 {
|
|
1121
|
-
declare function
|
|
1122
|
-
type
|
|
1123
|
-
items?:
|
|
1011
|
+
/** @returns {PageGetResponse} */
|
|
1012
|
+
declare function PageGetResponse(): PageGetResponse;
|
|
1013
|
+
type PageGetResponse = {
|
|
1014
|
+
items?: PageSchema[];
|
|
1015
|
+
page?: Page;
|
|
1124
1016
|
};
|
|
1125
|
-
/** @returns {
|
|
1126
|
-
declare function
|
|
1127
|
-
type
|
|
1128
|
-
|
|
1017
|
+
/** @returns {PageSchema} */
|
|
1018
|
+
declare function PageSchema(): PageSchema;
|
|
1019
|
+
type PageSchema = {
|
|
1020
|
+
_id?: string;
|
|
1129
1021
|
application?: string;
|
|
1130
|
-
|
|
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
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
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
|
-
|
|
1042
|
+
type?: string;
|
|
1043
|
+
seo?: SEO;
|
|
1044
|
+
visibility?: any;
|
|
1045
|
+
archived?: boolean;
|
|
1137
1046
|
};
|
|
1138
|
-
/** @returns {
|
|
1139
|
-
declare function
|
|
1140
|
-
type
|
|
1141
|
-
|
|
1142
|
-
|
|
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
|
-
|
|
1070
|
+
slug?: string;
|
|
1071
|
+
date_meta?: DateMeta;
|
|
1166
1072
|
application?: string;
|
|
1167
|
-
|
|
1073
|
+
platform?: string;
|
|
1168
1074
|
configuration?: ConfigurationSchema;
|
|
1169
|
-
date_meta?: DateMeta;
|
|
1170
1075
|
media?: SlideshowMedia[];
|
|
1171
|
-
|
|
1172
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
1206
|
-
declare function
|
|
1207
|
-
type
|
|
1161
|
+
/** @returns {CustomObjectFieldSchema} */
|
|
1162
|
+
declare function CustomObjectFieldSchema(): CustomObjectFieldSchema;
|
|
1163
|
+
type CustomObjectFieldSchema = {
|
|
1208
1164
|
_id?: string;
|
|
1209
|
-
|
|
1210
|
-
|
|
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
|