@gofynd/fdk-client-javascript 1.2.0 → 1.3.0
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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
- package/sdk/application/Cart/CartApplicationModel.js +4 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -12,30 +12,6 @@ export = ContentApplicationModel;
|
|
|
12
12
|
* @property {PageType} type
|
|
13
13
|
* @property {string} [url]
|
|
14
14
|
*/
|
|
15
|
-
/**
|
|
16
|
-
* @typedef AdminAnnouncementSchema
|
|
17
|
-
* @property {string} [_id]
|
|
18
|
-
* @property {ScheduleSchema} [_schedule]
|
|
19
|
-
* @property {string} [announcement]
|
|
20
|
-
* @property {string} [app]
|
|
21
|
-
* @property {AnnouncementAuthorSchema} [author]
|
|
22
|
-
* @property {string} [created_at]
|
|
23
|
-
* @property {EditorMeta} [editor_meta]
|
|
24
|
-
* @property {string} [modified_at]
|
|
25
|
-
* @property {AnnouncementPageSchema[]} [pages]
|
|
26
|
-
* @property {string[]} [platforms]
|
|
27
|
-
* @property {string} [title]
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* @typedef AnnouncementAuthorSchema
|
|
31
|
-
* @property {string} [created_by]
|
|
32
|
-
* @property {string} [modified_by]
|
|
33
|
-
*/
|
|
34
|
-
/**
|
|
35
|
-
* @typedef AnnouncementPageSchema
|
|
36
|
-
* @property {string} [page_slug]
|
|
37
|
-
* @property {string} [type]
|
|
38
|
-
*/
|
|
39
15
|
/**
|
|
40
16
|
* @typedef AnnouncementSchema
|
|
41
17
|
* @property {string} [announcement]
|
|
@@ -83,21 +59,6 @@ export = ContentApplicationModel;
|
|
|
83
59
|
* @property {BlogSchema[]} [items]
|
|
84
60
|
* @property {Page} [page]
|
|
85
61
|
*/
|
|
86
|
-
/**
|
|
87
|
-
* @typedef BlogRequest
|
|
88
|
-
* @property {Object} [_custom_json]
|
|
89
|
-
* @property {CronSchedule} [_schedule]
|
|
90
|
-
* @property {string} [application]
|
|
91
|
-
* @property {Author} [author]
|
|
92
|
-
* @property {ResourceContent[]} [content]
|
|
93
|
-
* @property {Asset} [feature_image]
|
|
94
|
-
* @property {boolean} [published]
|
|
95
|
-
* @property {string} [reading_time]
|
|
96
|
-
* @property {SEO} [seo]
|
|
97
|
-
* @property {string} [slug]
|
|
98
|
-
* @property {string[]} [tags]
|
|
99
|
-
* @property {string} [title]
|
|
100
|
-
*/
|
|
101
62
|
/**
|
|
102
63
|
* @typedef BlogSchema
|
|
103
64
|
* @property {Object} [_custom_json]
|
|
@@ -116,11 +77,6 @@ export = ContentApplicationModel;
|
|
|
116
77
|
* @property {string[]} [tags]
|
|
117
78
|
* @property {string} [title]
|
|
118
79
|
*/
|
|
119
|
-
/**
|
|
120
|
-
* @typedef CategoryRequestSchema
|
|
121
|
-
* @property {string} [slug]
|
|
122
|
-
* @property {string} [title]
|
|
123
|
-
*/
|
|
124
80
|
/**
|
|
125
81
|
* @typedef CategorySchema
|
|
126
82
|
* @property {Object} [_custom_json]
|
|
@@ -168,52 +124,10 @@ export = ContentApplicationModel;
|
|
|
168
124
|
* @property {string} [stack_trace]
|
|
169
125
|
* @property {number} [status]
|
|
170
126
|
*/
|
|
171
|
-
/**
|
|
172
|
-
* @typedef ContentSchema
|
|
173
|
-
* @property {string} [type]
|
|
174
|
-
* @property {Object} [value]
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* @typedef CreateAnnouncementSchema
|
|
178
|
-
* @property {AdminAnnouncementSchema} [data]
|
|
179
|
-
* @property {string} [message]
|
|
180
|
-
*/
|
|
181
127
|
/**
|
|
182
128
|
* @typedef CreatedBySchema
|
|
183
129
|
* @property {string} [id]
|
|
184
130
|
*/
|
|
185
|
-
/**
|
|
186
|
-
* @typedef CreateFaqCategoryRequestSchema
|
|
187
|
-
* @property {CategoryRequestSchema} [category]
|
|
188
|
-
*/
|
|
189
|
-
/**
|
|
190
|
-
* @typedef CreateFaqCategorySchema
|
|
191
|
-
* @property {CategorySchema} [category]
|
|
192
|
-
*/
|
|
193
|
-
/**
|
|
194
|
-
* @typedef CreateFaqResponseSchema
|
|
195
|
-
* @property {FaqSchema} [faq]
|
|
196
|
-
*/
|
|
197
|
-
/**
|
|
198
|
-
* @typedef CreateFaqSchema
|
|
199
|
-
* @property {FAQ} [faq]
|
|
200
|
-
*/
|
|
201
|
-
/**
|
|
202
|
-
* @typedef CreateTagRequestSchema
|
|
203
|
-
* @property {CreateTagSchema[]} [tags]
|
|
204
|
-
*/
|
|
205
|
-
/**
|
|
206
|
-
* @typedef CreateTagSchema
|
|
207
|
-
* @property {string} [_id]
|
|
208
|
-
* @property {Object} [attributes]
|
|
209
|
-
* @property {string} [content]
|
|
210
|
-
* @property {string} [name]
|
|
211
|
-
* @property {Object[]} [pages]
|
|
212
|
-
* @property {string} [position]
|
|
213
|
-
* @property {string} [sub_type]
|
|
214
|
-
* @property {string} [type]
|
|
215
|
-
* @property {string} [url]
|
|
216
|
-
*/
|
|
217
131
|
/**
|
|
218
132
|
* @typedef CronSchedule
|
|
219
133
|
* @property {string} [cron]
|
|
@@ -227,44 +141,6 @@ export = ContentApplicationModel;
|
|
|
227
141
|
* @property {string} [content]
|
|
228
142
|
* @property {string} [name]
|
|
229
143
|
*/
|
|
230
|
-
/**
|
|
231
|
-
* @typedef CustomPage
|
|
232
|
-
* @property {CustomPageSchema} [data]
|
|
233
|
-
*/
|
|
234
|
-
/**
|
|
235
|
-
* @typedef CustomPageSchema
|
|
236
|
-
* @property {string} [_id]
|
|
237
|
-
* @property {ScheduleSchema} [_schedule]
|
|
238
|
-
* @property {string} [application]
|
|
239
|
-
* @property {Object[]} [content]
|
|
240
|
-
* @property {CreatedBySchema} [created_by]
|
|
241
|
-
* @property {DateMeta} [date_meta]
|
|
242
|
-
* @property {string} [description]
|
|
243
|
-
* @property {string} [orientation]
|
|
244
|
-
* @property {string} [platform]
|
|
245
|
-
* @property {boolean} [published]
|
|
246
|
-
* @property {string} [slug]
|
|
247
|
-
* @property {string[]} [tags]
|
|
248
|
-
* @property {string} [title]
|
|
249
|
-
* @property {string} [type]
|
|
250
|
-
*/
|
|
251
|
-
/**
|
|
252
|
-
* @typedef DataLoaderResetResponseSchema
|
|
253
|
-
* @property {string} [reset]
|
|
254
|
-
*/
|
|
255
|
-
/**
|
|
256
|
-
* @typedef DataLoaderResponseSchema
|
|
257
|
-
* @property {DataLoaderSourceSchema} [__source]
|
|
258
|
-
* @property {string} [_id]
|
|
259
|
-
* @property {string} [application]
|
|
260
|
-
* @property {string} [company]
|
|
261
|
-
* @property {string} [content]
|
|
262
|
-
* @property {string} [name]
|
|
263
|
-
* @property {string} [operation_id]
|
|
264
|
-
* @property {string} [service]
|
|
265
|
-
* @property {string} [type]
|
|
266
|
-
* @property {string} [url]
|
|
267
|
-
*/
|
|
268
144
|
/**
|
|
269
145
|
* @typedef DataLoaderSchema
|
|
270
146
|
* @property {DataLoaderSourceSchema} [__source]
|
|
@@ -290,23 +166,12 @@ export = ContentApplicationModel;
|
|
|
290
166
|
* @property {string} [created_on]
|
|
291
167
|
* @property {string} [modified_on]
|
|
292
168
|
*/
|
|
293
|
-
/**
|
|
294
|
-
* @typedef DefaultNavigationResponse
|
|
295
|
-
* @property {NavigationSchema[]} [items]
|
|
296
|
-
*/
|
|
297
169
|
/**
|
|
298
170
|
* @typedef Detail
|
|
299
171
|
* @property {string} [description]
|
|
300
172
|
* @property {string} [image_url]
|
|
301
173
|
* @property {string} [title]
|
|
302
174
|
*/
|
|
303
|
-
/**
|
|
304
|
-
* @typedef EditorMeta
|
|
305
|
-
* @property {string} [background_color]
|
|
306
|
-
* @property {string} [content]
|
|
307
|
-
* @property {string} [content_type]
|
|
308
|
-
* @property {string} [foreground_color]
|
|
309
|
-
*/
|
|
310
175
|
/**
|
|
311
176
|
* @typedef EmailProperties
|
|
312
177
|
* @property {string} [key]
|
|
@@ -317,12 +182,6 @@ export = ContentApplicationModel;
|
|
|
317
182
|
* @property {boolean} [active]
|
|
318
183
|
* @property {EmailProperties[]} [email]
|
|
319
184
|
*/
|
|
320
|
-
/**
|
|
321
|
-
* @typedef FAQ
|
|
322
|
-
* @property {string} [answer]
|
|
323
|
-
* @property {string} [question]
|
|
324
|
-
* @property {string} [slug]
|
|
325
|
-
*/
|
|
326
185
|
/**
|
|
327
186
|
* @typedef FAQCategorySchema
|
|
328
187
|
* @property {Object} [_custom_json]
|
|
@@ -348,15 +207,6 @@ export = ContentApplicationModel;
|
|
|
348
207
|
* @property {string} [slug]
|
|
349
208
|
* @property {string[]} [tags]
|
|
350
209
|
*/
|
|
351
|
-
/**
|
|
352
|
-
* @typedef FeatureImage
|
|
353
|
-
* @property {string} [secure_url]
|
|
354
|
-
*/
|
|
355
|
-
/**
|
|
356
|
-
* @typedef GetAnnouncementListSchema
|
|
357
|
-
* @property {AdminAnnouncementSchema[]} [items]
|
|
358
|
-
* @property {Page} [page]
|
|
359
|
-
*/
|
|
360
210
|
/**
|
|
361
211
|
* @typedef GetFaqCategoriesSchema
|
|
362
212
|
* @property {CategorySchema[]} [categories]
|
|
@@ -369,26 +219,6 @@ export = ContentApplicationModel;
|
|
|
369
219
|
* @typedef GetFaqSchema
|
|
370
220
|
* @property {FaqSchema[]} [faqs]
|
|
371
221
|
*/
|
|
372
|
-
/**
|
|
373
|
-
* @typedef HandpickedTagSchema
|
|
374
|
-
* @property {Object} [attributes]
|
|
375
|
-
* @property {string} [content]
|
|
376
|
-
* @property {string} [name]
|
|
377
|
-
* @property {string} [position]
|
|
378
|
-
* @property {string} [sub_type]
|
|
379
|
-
* @property {string} [type]
|
|
380
|
-
* @property {string} [url]
|
|
381
|
-
*/
|
|
382
|
-
/**
|
|
383
|
-
* @typedef LandingPage
|
|
384
|
-
* @property {LandingPageSchema} [data]
|
|
385
|
-
* @property {boolean} [success]
|
|
386
|
-
*/
|
|
387
|
-
/**
|
|
388
|
-
* @typedef LandingPageGetResponse
|
|
389
|
-
* @property {LandingPageSchema[]} [items]
|
|
390
|
-
* @property {Page} [page]
|
|
391
|
-
*/
|
|
392
222
|
/**
|
|
393
223
|
* @typedef LandingPageSchema
|
|
394
224
|
* @property {Object} [_custom_json]
|
|
@@ -411,19 +241,6 @@ export = ContentApplicationModel;
|
|
|
411
241
|
* @property {Language} [en_us]
|
|
412
242
|
* @property {Language} [hi]
|
|
413
243
|
*/
|
|
414
|
-
/**
|
|
415
|
-
* @typedef Navigation
|
|
416
|
-
* @property {string} [_id]
|
|
417
|
-
* @property {string} [application]
|
|
418
|
-
* @property {CreatedBySchema} [created_by]
|
|
419
|
-
* @property {DateMeta} [date_meta]
|
|
420
|
-
* @property {string} [name]
|
|
421
|
-
* @property {NavigationReference} [navigation]
|
|
422
|
-
* @property {string} [orientation]
|
|
423
|
-
* @property {string} [platform]
|
|
424
|
-
* @property {string} [position]
|
|
425
|
-
* @property {string} [slug]
|
|
426
|
-
*/
|
|
427
244
|
/**
|
|
428
245
|
* @typedef NavigationGetResponse
|
|
429
246
|
* @property {NavigationSchema[]} [items]
|
|
@@ -442,14 +259,6 @@ export = ContentApplicationModel;
|
|
|
442
259
|
* @property {string[]} [tags]
|
|
443
260
|
* @property {string} [type]
|
|
444
261
|
*/
|
|
445
|
-
/**
|
|
446
|
-
* @typedef NavigationRequest
|
|
447
|
-
* @property {string} [name]
|
|
448
|
-
* @property {NavigationReference[]} [navigation]
|
|
449
|
-
* @property {Orientation} [orientation]
|
|
450
|
-
* @property {string[]} [platform]
|
|
451
|
-
* @property {string} [slug]
|
|
452
|
-
*/
|
|
453
262
|
/**
|
|
454
263
|
* @typedef NavigationSchema
|
|
455
264
|
* @property {string} [_id]
|
|
@@ -484,47 +293,11 @@ export = ContentApplicationModel;
|
|
|
484
293
|
* @property {number} [size]
|
|
485
294
|
* @property {string} type
|
|
486
295
|
*/
|
|
487
|
-
/**
|
|
488
|
-
* @typedef PageContent
|
|
489
|
-
* @property {string} [type]
|
|
490
|
-
* @property {Object} [value]
|
|
491
|
-
*/
|
|
492
296
|
/**
|
|
493
297
|
* @typedef PageGetResponse
|
|
494
298
|
* @property {PageSchema[]} [items]
|
|
495
299
|
* @property {Page} [page]
|
|
496
300
|
*/
|
|
497
|
-
/**
|
|
498
|
-
* @typedef PageMeta
|
|
499
|
-
* @property {string} [key]
|
|
500
|
-
* @property {Object} [value]
|
|
501
|
-
*/
|
|
502
|
-
/**
|
|
503
|
-
* @typedef PageMetaSchema
|
|
504
|
-
* @property {string} [application_id]
|
|
505
|
-
* @property {PageSchema[]} [custom_pages]
|
|
506
|
-
* @property {NavigationSchema[]} [system_pages]
|
|
507
|
-
*/
|
|
508
|
-
/**
|
|
509
|
-
* @typedef PagePublishRequest
|
|
510
|
-
* @property {boolean} [publish]
|
|
511
|
-
*/
|
|
512
|
-
/**
|
|
513
|
-
* @typedef PageRequest
|
|
514
|
-
* @property {Object} [_custom_json]
|
|
515
|
-
* @property {CronSchedule} [_schedule]
|
|
516
|
-
* @property {string} [application]
|
|
517
|
-
* @property {Author} [author]
|
|
518
|
-
* @property {Object[]} [content]
|
|
519
|
-
* @property {Asset} [feature_image]
|
|
520
|
-
* @property {string} [orientation]
|
|
521
|
-
* @property {boolean} [published]
|
|
522
|
-
* @property {string} [reading_time]
|
|
523
|
-
* @property {SEO} [seo]
|
|
524
|
-
* @property {string} [slug]
|
|
525
|
-
* @property {string[]} [tags]
|
|
526
|
-
* @property {string} [title]
|
|
527
|
-
*/
|
|
528
301
|
/**
|
|
529
302
|
* @typedef PageSchema
|
|
530
303
|
* @property {Object} [_custom_json]
|
|
@@ -551,37 +324,6 @@ export = ContentApplicationModel;
|
|
|
551
324
|
* @property {string} [type]
|
|
552
325
|
* @property {Object} [visibility]
|
|
553
326
|
*/
|
|
554
|
-
/**
|
|
555
|
-
* @typedef PageSpec
|
|
556
|
-
* @property {Object[]} [specifications]
|
|
557
|
-
*/
|
|
558
|
-
/**
|
|
559
|
-
* @typedef PageSpecItem
|
|
560
|
-
* @property {string} [display_name]
|
|
561
|
-
* @property {string} [page_type]
|
|
562
|
-
* @property {PageSpecParam[]} [params]
|
|
563
|
-
* @property {PageSpecParam[]} [query]
|
|
564
|
-
*/
|
|
565
|
-
/**
|
|
566
|
-
* @typedef PageSpecParam
|
|
567
|
-
* @property {string} [key]
|
|
568
|
-
* @property {boolean} [required]
|
|
569
|
-
*/
|
|
570
|
-
/**
|
|
571
|
-
* @typedef PathMappingSchema
|
|
572
|
-
* @property {PathSourceSchema} [__source]
|
|
573
|
-
* @property {string} [_id]
|
|
574
|
-
* @property {string} [application]
|
|
575
|
-
* @property {string} [created_at]
|
|
576
|
-
* @property {string} [redirect_from]
|
|
577
|
-
* @property {string} [redirect_to]
|
|
578
|
-
* @property {string} [updated_at]
|
|
579
|
-
*/
|
|
580
|
-
/**
|
|
581
|
-
* @typedef PathSourceSchema
|
|
582
|
-
* @property {string} [id]
|
|
583
|
-
* @property {string} [type]
|
|
584
|
-
*/
|
|
585
327
|
/**
|
|
586
328
|
* @typedef PhoneProperties
|
|
587
329
|
* @property {string} [code]
|
|
@@ -593,10 +335,6 @@ export = ContentApplicationModel;
|
|
|
593
335
|
* @property {boolean} [active]
|
|
594
336
|
* @property {PhoneProperties[]} [phone]
|
|
595
337
|
*/
|
|
596
|
-
/**
|
|
597
|
-
* @typedef RemoveHandpickedSchema
|
|
598
|
-
* @property {string[]} [tags]
|
|
599
|
-
*/
|
|
600
338
|
/**
|
|
601
339
|
* @typedef ResourceContent
|
|
602
340
|
* @property {string} [type]
|
|
@@ -607,7 +345,7 @@ export = ContentApplicationModel;
|
|
|
607
345
|
* @property {string} [cron]
|
|
608
346
|
* @property {number} [duration]
|
|
609
347
|
* @property {string} [end]
|
|
610
|
-
* @property {
|
|
348
|
+
* @property {NextSchedule[]} [next_schedule]
|
|
611
349
|
* @property {string} [start]
|
|
612
350
|
*/
|
|
613
351
|
/**
|
|
@@ -635,17 +373,12 @@ export = ContentApplicationModel;
|
|
|
635
373
|
* @property {string} [app]
|
|
636
374
|
* @property {boolean} [cannonical_enabled]
|
|
637
375
|
* @property {string} [created_at]
|
|
638
|
-
* @property {
|
|
376
|
+
* @property {CustomMetaTag[]} [custom_meta_tags]
|
|
639
377
|
* @property {Detail} [details]
|
|
640
378
|
* @property {string} [robots_txt]
|
|
641
379
|
* @property {boolean} [sitemap_enabled]
|
|
642
380
|
* @property {string} [updated_at]
|
|
643
381
|
*/
|
|
644
|
-
/**
|
|
645
|
-
* @typedef Slideshow
|
|
646
|
-
* @property {SlideshowSchema} [data]
|
|
647
|
-
* @property {boolean} [success]
|
|
648
|
-
*/
|
|
649
382
|
/**
|
|
650
383
|
* @typedef SlideshowGetResponse
|
|
651
384
|
* @property {SlideshowSchema[]} [items]
|
|
@@ -660,14 +393,6 @@ export = ContentApplicationModel;
|
|
|
660
393
|
* @property {string} [type]
|
|
661
394
|
* @property {string} [url]
|
|
662
395
|
*/
|
|
663
|
-
/**
|
|
664
|
-
* @typedef SlideshowRequest
|
|
665
|
-
* @property {boolean} [active]
|
|
666
|
-
* @property {ConfigurationSchema} [configuration]
|
|
667
|
-
* @property {SlideshowMedia} [media]
|
|
668
|
-
* @property {string} [platform]
|
|
669
|
-
* @property {string} [slug]
|
|
670
|
-
*/
|
|
671
396
|
/**
|
|
672
397
|
* @typedef SlideshowSchema
|
|
673
398
|
* @property {Object} [_custom_json]
|
|
@@ -691,10 +416,6 @@ export = ContentApplicationModel;
|
|
|
691
416
|
* @property {string} [created_at]
|
|
692
417
|
* @property {string} [updated_at]
|
|
693
418
|
*/
|
|
694
|
-
/**
|
|
695
|
-
* @typedef TagDeleteSuccessResponse
|
|
696
|
-
* @property {boolean} [success]
|
|
697
|
-
*/
|
|
698
419
|
/**
|
|
699
420
|
* @typedef TagSchema
|
|
700
421
|
* @property {TagSourceSchema} [__source]
|
|
@@ -719,14 +440,6 @@ export = ContentApplicationModel;
|
|
|
719
440
|
* @property {string} [application]
|
|
720
441
|
* @property {TagSchema[]} [tags]
|
|
721
442
|
*/
|
|
722
|
-
/**
|
|
723
|
-
* @typedef UpdateFaqCategoryRequestSchema
|
|
724
|
-
* @property {CategorySchema} [category]
|
|
725
|
-
*/
|
|
726
|
-
/**
|
|
727
|
-
* @typedef UpdateHandpickedSchema
|
|
728
|
-
* @property {HandpickedTagSchema} [tag]
|
|
729
|
-
*/
|
|
730
443
|
/**
|
|
731
444
|
* @typedef {| "about-us"
|
|
732
445
|
* | "addresses"
|
|
@@ -778,7 +491,7 @@ export = ContentApplicationModel;
|
|
|
778
491
|
declare class ContentApplicationModel {
|
|
779
492
|
}
|
|
780
493
|
declare namespace ContentApplicationModel {
|
|
781
|
-
export { Action, ActionPage,
|
|
494
|
+
export { Action, ActionPage, AnnouncementSchema, AnnouncementsResponseSchema, ApplicationLegal, ApplicationLegalFAQ, Asset, Author, BlogGetResponse, BlogSchema, CategorySchema, ChildrenSchema, CommonError, ConfigurationSchema, ContactSchema, ContentAPIError, CreatedBySchema, CronSchedule, CustomMetaTag, 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, SeoComponent, SEOImage, SeoSchema, SlideshowGetResponse, SlideshowMedia, SlideshowSchema, Support, TagSchema, TagSourceSchema, TagsSchema, PageType };
|
|
782
495
|
}
|
|
783
496
|
/** @returns {Action} */
|
|
784
497
|
declare function Action(): Action;
|
|
@@ -795,33 +508,6 @@ type ActionPage = {
|
|
|
795
508
|
type: PageType;
|
|
796
509
|
url?: string;
|
|
797
510
|
};
|
|
798
|
-
/** @returns {AdminAnnouncementSchema} */
|
|
799
|
-
declare function AdminAnnouncementSchema(): AdminAnnouncementSchema;
|
|
800
|
-
type AdminAnnouncementSchema = {
|
|
801
|
-
_id?: string;
|
|
802
|
-
_schedule?: ScheduleSchema;
|
|
803
|
-
announcement?: string;
|
|
804
|
-
app?: string;
|
|
805
|
-
author?: AnnouncementAuthorSchema;
|
|
806
|
-
created_at?: string;
|
|
807
|
-
editor_meta?: EditorMeta;
|
|
808
|
-
modified_at?: string;
|
|
809
|
-
pages?: AnnouncementPageSchema[];
|
|
810
|
-
platforms?: string[];
|
|
811
|
-
title?: string;
|
|
812
|
-
};
|
|
813
|
-
/** @returns {AnnouncementAuthorSchema} */
|
|
814
|
-
declare function AnnouncementAuthorSchema(): AnnouncementAuthorSchema;
|
|
815
|
-
type AnnouncementAuthorSchema = {
|
|
816
|
-
created_by?: string;
|
|
817
|
-
modified_by?: string;
|
|
818
|
-
};
|
|
819
|
-
/** @returns {AnnouncementPageSchema} */
|
|
820
|
-
declare function AnnouncementPageSchema(): AnnouncementPageSchema;
|
|
821
|
-
type AnnouncementPageSchema = {
|
|
822
|
-
page_slug?: string;
|
|
823
|
-
type?: string;
|
|
824
|
-
};
|
|
825
511
|
/** @returns {AnnouncementSchema} */
|
|
826
512
|
declare function AnnouncementSchema(): AnnouncementSchema;
|
|
827
513
|
type AnnouncementSchema = {
|
|
@@ -882,22 +568,6 @@ type BlogGetResponse = {
|
|
|
882
568
|
items?: BlogSchema[];
|
|
883
569
|
page?: Page;
|
|
884
570
|
};
|
|
885
|
-
/** @returns {BlogRequest} */
|
|
886
|
-
declare function BlogRequest(): BlogRequest;
|
|
887
|
-
type BlogRequest = {
|
|
888
|
-
_custom_json?: any;
|
|
889
|
-
_schedule?: CronSchedule;
|
|
890
|
-
application?: string;
|
|
891
|
-
author?: Author;
|
|
892
|
-
content?: ResourceContent[];
|
|
893
|
-
feature_image?: Asset;
|
|
894
|
-
published?: boolean;
|
|
895
|
-
reading_time?: string;
|
|
896
|
-
seo?: SEO;
|
|
897
|
-
slug?: string;
|
|
898
|
-
tags?: string[];
|
|
899
|
-
title?: string;
|
|
900
|
-
};
|
|
901
571
|
/** @returns {BlogSchema} */
|
|
902
572
|
declare function BlogSchema(): BlogSchema;
|
|
903
573
|
type BlogSchema = {
|
|
@@ -917,12 +587,6 @@ type BlogSchema = {
|
|
|
917
587
|
tags?: string[];
|
|
918
588
|
title?: string;
|
|
919
589
|
};
|
|
920
|
-
/** @returns {CategoryRequestSchema} */
|
|
921
|
-
declare function CategoryRequestSchema(): CategoryRequestSchema;
|
|
922
|
-
type CategoryRequestSchema = {
|
|
923
|
-
slug?: string;
|
|
924
|
-
title?: string;
|
|
925
|
-
};
|
|
926
590
|
/** @returns {CategorySchema} */
|
|
927
591
|
declare function CategorySchema(): CategorySchema;
|
|
928
592
|
type CategorySchema = {
|
|
@@ -976,61 +640,11 @@ type ContentAPIError = {
|
|
|
976
640
|
stack_trace?: string;
|
|
977
641
|
status?: number;
|
|
978
642
|
};
|
|
979
|
-
/** @returns {ContentSchema} */
|
|
980
|
-
declare function ContentSchema(): ContentSchema;
|
|
981
|
-
type ContentSchema = {
|
|
982
|
-
type?: string;
|
|
983
|
-
value?: any;
|
|
984
|
-
};
|
|
985
|
-
/** @returns {CreateAnnouncementSchema} */
|
|
986
|
-
declare function CreateAnnouncementSchema(): CreateAnnouncementSchema;
|
|
987
|
-
type CreateAnnouncementSchema = {
|
|
988
|
-
data?: AdminAnnouncementSchema;
|
|
989
|
-
message?: string;
|
|
990
|
-
};
|
|
991
643
|
/** @returns {CreatedBySchema} */
|
|
992
644
|
declare function CreatedBySchema(): CreatedBySchema;
|
|
993
645
|
type CreatedBySchema = {
|
|
994
646
|
id?: string;
|
|
995
647
|
};
|
|
996
|
-
/** @returns {CreateFaqCategoryRequestSchema} */
|
|
997
|
-
declare function CreateFaqCategoryRequestSchema(): CreateFaqCategoryRequestSchema;
|
|
998
|
-
type CreateFaqCategoryRequestSchema = {
|
|
999
|
-
category?: CategoryRequestSchema;
|
|
1000
|
-
};
|
|
1001
|
-
/** @returns {CreateFaqCategorySchema} */
|
|
1002
|
-
declare function CreateFaqCategorySchema(): CreateFaqCategorySchema;
|
|
1003
|
-
type CreateFaqCategorySchema = {
|
|
1004
|
-
category?: CategorySchema;
|
|
1005
|
-
};
|
|
1006
|
-
/** @returns {CreateFaqResponseSchema} */
|
|
1007
|
-
declare function CreateFaqResponseSchema(): CreateFaqResponseSchema;
|
|
1008
|
-
type CreateFaqResponseSchema = {
|
|
1009
|
-
faq?: FaqSchema;
|
|
1010
|
-
};
|
|
1011
|
-
/** @returns {CreateFaqSchema} */
|
|
1012
|
-
declare function CreateFaqSchema(): CreateFaqSchema;
|
|
1013
|
-
type CreateFaqSchema = {
|
|
1014
|
-
faq?: FAQ;
|
|
1015
|
-
};
|
|
1016
|
-
/** @returns {CreateTagRequestSchema} */
|
|
1017
|
-
declare function CreateTagRequestSchema(): CreateTagRequestSchema;
|
|
1018
|
-
type CreateTagRequestSchema = {
|
|
1019
|
-
tags?: CreateTagSchema[];
|
|
1020
|
-
};
|
|
1021
|
-
/** @returns {CreateTagSchema} */
|
|
1022
|
-
declare function CreateTagSchema(): CreateTagSchema;
|
|
1023
|
-
type CreateTagSchema = {
|
|
1024
|
-
_id?: string;
|
|
1025
|
-
attributes?: any;
|
|
1026
|
-
content?: string;
|
|
1027
|
-
name?: string;
|
|
1028
|
-
pages?: any[];
|
|
1029
|
-
position?: string;
|
|
1030
|
-
sub_type?: string;
|
|
1031
|
-
type?: string;
|
|
1032
|
-
url?: string;
|
|
1033
|
-
};
|
|
1034
648
|
/** @returns {CronSchedule} */
|
|
1035
649
|
declare function CronSchedule(): CronSchedule;
|
|
1036
650
|
type CronSchedule = {
|
|
@@ -1046,48 +660,6 @@ type CustomMetaTag = {
|
|
|
1046
660
|
content?: string;
|
|
1047
661
|
name?: string;
|
|
1048
662
|
};
|
|
1049
|
-
/** @returns {CustomPage} */
|
|
1050
|
-
declare function CustomPage(): CustomPage;
|
|
1051
|
-
type CustomPage = {
|
|
1052
|
-
data?: CustomPageSchema;
|
|
1053
|
-
};
|
|
1054
|
-
/** @returns {CustomPageSchema} */
|
|
1055
|
-
declare function CustomPageSchema(): CustomPageSchema;
|
|
1056
|
-
type CustomPageSchema = {
|
|
1057
|
-
_id?: string;
|
|
1058
|
-
_schedule?: ScheduleSchema;
|
|
1059
|
-
application?: string;
|
|
1060
|
-
content?: any[];
|
|
1061
|
-
created_by?: CreatedBySchema;
|
|
1062
|
-
date_meta?: DateMeta;
|
|
1063
|
-
description?: string;
|
|
1064
|
-
orientation?: string;
|
|
1065
|
-
platform?: string;
|
|
1066
|
-
published?: boolean;
|
|
1067
|
-
slug?: string;
|
|
1068
|
-
tags?: string[];
|
|
1069
|
-
title?: string;
|
|
1070
|
-
type?: string;
|
|
1071
|
-
};
|
|
1072
|
-
/** @returns {DataLoaderResetResponseSchema} */
|
|
1073
|
-
declare function DataLoaderResetResponseSchema(): DataLoaderResetResponseSchema;
|
|
1074
|
-
type DataLoaderResetResponseSchema = {
|
|
1075
|
-
reset?: string;
|
|
1076
|
-
};
|
|
1077
|
-
/** @returns {DataLoaderResponseSchema} */
|
|
1078
|
-
declare function DataLoaderResponseSchema(): DataLoaderResponseSchema;
|
|
1079
|
-
type DataLoaderResponseSchema = {
|
|
1080
|
-
__source?: DataLoaderSourceSchema;
|
|
1081
|
-
_id?: string;
|
|
1082
|
-
application?: string;
|
|
1083
|
-
company?: string;
|
|
1084
|
-
content?: string;
|
|
1085
|
-
name?: string;
|
|
1086
|
-
operation_id?: string;
|
|
1087
|
-
service?: string;
|
|
1088
|
-
type?: string;
|
|
1089
|
-
url?: string;
|
|
1090
|
-
};
|
|
1091
663
|
/** @returns {DataLoaderSchema} */
|
|
1092
664
|
declare function DataLoaderSchema(): DataLoaderSchema;
|
|
1093
665
|
type DataLoaderSchema = {
|
|
@@ -1117,11 +689,6 @@ type DateMeta = {
|
|
|
1117
689
|
created_on?: string;
|
|
1118
690
|
modified_on?: string;
|
|
1119
691
|
};
|
|
1120
|
-
/** @returns {DefaultNavigationResponse} */
|
|
1121
|
-
declare function DefaultNavigationResponse(): DefaultNavigationResponse;
|
|
1122
|
-
type DefaultNavigationResponse = {
|
|
1123
|
-
items?: NavigationSchema[];
|
|
1124
|
-
};
|
|
1125
692
|
/** @returns {Detail} */
|
|
1126
693
|
declare function Detail(): Detail;
|
|
1127
694
|
type Detail = {
|
|
@@ -1129,14 +696,6 @@ type Detail = {
|
|
|
1129
696
|
image_url?: string;
|
|
1130
697
|
title?: string;
|
|
1131
698
|
};
|
|
1132
|
-
/** @returns {EditorMeta} */
|
|
1133
|
-
declare function EditorMeta(): EditorMeta;
|
|
1134
|
-
type EditorMeta = {
|
|
1135
|
-
background_color?: string;
|
|
1136
|
-
content?: string;
|
|
1137
|
-
content_type?: string;
|
|
1138
|
-
foreground_color?: string;
|
|
1139
|
-
};
|
|
1140
699
|
/** @returns {EmailProperties} */
|
|
1141
700
|
declare function EmailProperties(): EmailProperties;
|
|
1142
701
|
type EmailProperties = {
|
|
@@ -1149,13 +708,6 @@ type EmailSchema = {
|
|
|
1149
708
|
active?: boolean;
|
|
1150
709
|
email?: EmailProperties[];
|
|
1151
710
|
};
|
|
1152
|
-
/** @returns {FAQ} */
|
|
1153
|
-
declare function FAQ(): FAQ;
|
|
1154
|
-
type FAQ = {
|
|
1155
|
-
answer?: string;
|
|
1156
|
-
question?: string;
|
|
1157
|
-
slug?: string;
|
|
1158
|
-
};
|
|
1159
711
|
/** @returns {FAQCategorySchema} */
|
|
1160
712
|
declare function FAQCategorySchema(): FAQCategorySchema;
|
|
1161
713
|
type FAQCategorySchema = {
|
|
@@ -1184,17 +736,6 @@ type FaqSchema = {
|
|
|
1184
736
|
slug?: string;
|
|
1185
737
|
tags?: string[];
|
|
1186
738
|
};
|
|
1187
|
-
/** @returns {FeatureImage} */
|
|
1188
|
-
declare function FeatureImage(): FeatureImage;
|
|
1189
|
-
type FeatureImage = {
|
|
1190
|
-
secure_url?: string;
|
|
1191
|
-
};
|
|
1192
|
-
/** @returns {GetAnnouncementListSchema} */
|
|
1193
|
-
declare function GetAnnouncementListSchema(): GetAnnouncementListSchema;
|
|
1194
|
-
type GetAnnouncementListSchema = {
|
|
1195
|
-
items?: AdminAnnouncementSchema[];
|
|
1196
|
-
page?: Page;
|
|
1197
|
-
};
|
|
1198
739
|
/** @returns {GetFaqCategoriesSchema} */
|
|
1199
740
|
declare function GetFaqCategoriesSchema(): GetFaqCategoriesSchema;
|
|
1200
741
|
type GetFaqCategoriesSchema = {
|
|
@@ -1210,29 +751,6 @@ declare function GetFaqSchema(): GetFaqSchema;
|
|
|
1210
751
|
type GetFaqSchema = {
|
|
1211
752
|
faqs?: FaqSchema[];
|
|
1212
753
|
};
|
|
1213
|
-
/** @returns {HandpickedTagSchema} */
|
|
1214
|
-
declare function HandpickedTagSchema(): HandpickedTagSchema;
|
|
1215
|
-
type HandpickedTagSchema = {
|
|
1216
|
-
attributes?: any;
|
|
1217
|
-
content?: string;
|
|
1218
|
-
name?: string;
|
|
1219
|
-
position?: string;
|
|
1220
|
-
sub_type?: string;
|
|
1221
|
-
type?: string;
|
|
1222
|
-
url?: string;
|
|
1223
|
-
};
|
|
1224
|
-
/** @returns {LandingPage} */
|
|
1225
|
-
declare function LandingPage(): LandingPage;
|
|
1226
|
-
type LandingPage = {
|
|
1227
|
-
data?: LandingPageSchema;
|
|
1228
|
-
success?: boolean;
|
|
1229
|
-
};
|
|
1230
|
-
/** @returns {LandingPageGetResponse} */
|
|
1231
|
-
declare function LandingPageGetResponse(): LandingPageGetResponse;
|
|
1232
|
-
type LandingPageGetResponse = {
|
|
1233
|
-
items?: LandingPageSchema[];
|
|
1234
|
-
page?: Page;
|
|
1235
|
-
};
|
|
1236
754
|
/** @returns {LandingPageSchema} */
|
|
1237
755
|
declare function LandingPageSchema(): LandingPageSchema;
|
|
1238
756
|
type LandingPageSchema = {
|
|
@@ -1258,20 +776,6 @@ type LocaleLanguage = {
|
|
|
1258
776
|
en_us?: Language;
|
|
1259
777
|
hi?: Language;
|
|
1260
778
|
};
|
|
1261
|
-
/** @returns {Navigation} */
|
|
1262
|
-
declare function Navigation(): Navigation;
|
|
1263
|
-
type Navigation = {
|
|
1264
|
-
_id?: string;
|
|
1265
|
-
application?: string;
|
|
1266
|
-
created_by?: CreatedBySchema;
|
|
1267
|
-
date_meta?: DateMeta;
|
|
1268
|
-
name?: string;
|
|
1269
|
-
navigation?: NavigationReference;
|
|
1270
|
-
orientation?: string;
|
|
1271
|
-
platform?: string;
|
|
1272
|
-
position?: string;
|
|
1273
|
-
slug?: string;
|
|
1274
|
-
};
|
|
1275
779
|
/** @returns {NavigationGetResponse} */
|
|
1276
780
|
declare function NavigationGetResponse(): NavigationGetResponse;
|
|
1277
781
|
type NavigationGetResponse = {
|
|
@@ -1292,15 +796,6 @@ type NavigationReference = {
|
|
|
1292
796
|
tags?: string[];
|
|
1293
797
|
type?: string;
|
|
1294
798
|
};
|
|
1295
|
-
/** @returns {NavigationRequest} */
|
|
1296
|
-
declare function NavigationRequest(): NavigationRequest;
|
|
1297
|
-
type NavigationRequest = {
|
|
1298
|
-
name?: string;
|
|
1299
|
-
navigation?: NavigationReference[];
|
|
1300
|
-
orientation?: Orientation;
|
|
1301
|
-
platform?: string[];
|
|
1302
|
-
slug?: string;
|
|
1303
|
-
};
|
|
1304
799
|
/** @returns {NavigationSchema} */
|
|
1305
800
|
declare function NavigationSchema(): NavigationSchema;
|
|
1306
801
|
type NavigationSchema = {
|
|
@@ -1339,53 +834,12 @@ type Page = {
|
|
|
1339
834
|
size?: number;
|
|
1340
835
|
type: string;
|
|
1341
836
|
};
|
|
1342
|
-
/** @returns {PageContent} */
|
|
1343
|
-
declare function PageContent(): PageContent;
|
|
1344
|
-
type PageContent = {
|
|
1345
|
-
type?: string;
|
|
1346
|
-
value?: any;
|
|
1347
|
-
};
|
|
1348
837
|
/** @returns {PageGetResponse} */
|
|
1349
838
|
declare function PageGetResponse(): PageGetResponse;
|
|
1350
839
|
type PageGetResponse = {
|
|
1351
840
|
items?: PageSchema[];
|
|
1352
841
|
page?: Page;
|
|
1353
842
|
};
|
|
1354
|
-
/** @returns {PageMeta} */
|
|
1355
|
-
declare function PageMeta(): PageMeta;
|
|
1356
|
-
type PageMeta = {
|
|
1357
|
-
key?: string;
|
|
1358
|
-
value?: any;
|
|
1359
|
-
};
|
|
1360
|
-
/** @returns {PageMetaSchema} */
|
|
1361
|
-
declare function PageMetaSchema(): PageMetaSchema;
|
|
1362
|
-
type PageMetaSchema = {
|
|
1363
|
-
application_id?: string;
|
|
1364
|
-
custom_pages?: PageSchema[];
|
|
1365
|
-
system_pages?: NavigationSchema[];
|
|
1366
|
-
};
|
|
1367
|
-
/** @returns {PagePublishRequest} */
|
|
1368
|
-
declare function PagePublishRequest(): PagePublishRequest;
|
|
1369
|
-
type PagePublishRequest = {
|
|
1370
|
-
publish?: boolean;
|
|
1371
|
-
};
|
|
1372
|
-
/** @returns {PageRequest} */
|
|
1373
|
-
declare function PageRequest(): PageRequest;
|
|
1374
|
-
type PageRequest = {
|
|
1375
|
-
_custom_json?: any;
|
|
1376
|
-
_schedule?: CronSchedule;
|
|
1377
|
-
application?: string;
|
|
1378
|
-
author?: Author;
|
|
1379
|
-
content?: any[];
|
|
1380
|
-
feature_image?: Asset;
|
|
1381
|
-
orientation?: string;
|
|
1382
|
-
published?: boolean;
|
|
1383
|
-
reading_time?: string;
|
|
1384
|
-
seo?: SEO;
|
|
1385
|
-
slug?: string;
|
|
1386
|
-
tags?: string[];
|
|
1387
|
-
title?: string;
|
|
1388
|
-
};
|
|
1389
843
|
/** @returns {PageSchema} */
|
|
1390
844
|
declare function PageSchema(): PageSchema;
|
|
1391
845
|
type PageSchema = {
|
|
@@ -1416,42 +870,6 @@ type PageSchema = {
|
|
|
1416
870
|
type?: string;
|
|
1417
871
|
visibility?: any;
|
|
1418
872
|
};
|
|
1419
|
-
/** @returns {PageSpec} */
|
|
1420
|
-
declare function PageSpec(): PageSpec;
|
|
1421
|
-
type PageSpec = {
|
|
1422
|
-
specifications?: any[];
|
|
1423
|
-
};
|
|
1424
|
-
/** @returns {PageSpecItem} */
|
|
1425
|
-
declare function PageSpecItem(): PageSpecItem;
|
|
1426
|
-
type PageSpecItem = {
|
|
1427
|
-
display_name?: string;
|
|
1428
|
-
page_type?: string;
|
|
1429
|
-
params?: PageSpecParam[];
|
|
1430
|
-
query?: PageSpecParam[];
|
|
1431
|
-
};
|
|
1432
|
-
/** @returns {PageSpecParam} */
|
|
1433
|
-
declare function PageSpecParam(): PageSpecParam;
|
|
1434
|
-
type PageSpecParam = {
|
|
1435
|
-
key?: string;
|
|
1436
|
-
required?: boolean;
|
|
1437
|
-
};
|
|
1438
|
-
/** @returns {PathMappingSchema} */
|
|
1439
|
-
declare function PathMappingSchema(): PathMappingSchema;
|
|
1440
|
-
type PathMappingSchema = {
|
|
1441
|
-
__source?: PathSourceSchema;
|
|
1442
|
-
_id?: string;
|
|
1443
|
-
application?: string;
|
|
1444
|
-
created_at?: string;
|
|
1445
|
-
redirect_from?: string;
|
|
1446
|
-
redirect_to?: string;
|
|
1447
|
-
updated_at?: string;
|
|
1448
|
-
};
|
|
1449
|
-
/** @returns {PathSourceSchema} */
|
|
1450
|
-
declare function PathSourceSchema(): PathSourceSchema;
|
|
1451
|
-
type PathSourceSchema = {
|
|
1452
|
-
id?: string;
|
|
1453
|
-
type?: string;
|
|
1454
|
-
};
|
|
1455
873
|
/** @returns {PhoneProperties} */
|
|
1456
874
|
declare function PhoneProperties(): PhoneProperties;
|
|
1457
875
|
type PhoneProperties = {
|
|
@@ -1465,11 +883,6 @@ type PhoneSchema = {
|
|
|
1465
883
|
active?: boolean;
|
|
1466
884
|
phone?: PhoneProperties[];
|
|
1467
885
|
};
|
|
1468
|
-
/** @returns {RemoveHandpickedSchema} */
|
|
1469
|
-
declare function RemoveHandpickedSchema(): RemoveHandpickedSchema;
|
|
1470
|
-
type RemoveHandpickedSchema = {
|
|
1471
|
-
tags?: string[];
|
|
1472
|
-
};
|
|
1473
886
|
/** @returns {ResourceContent} */
|
|
1474
887
|
declare function ResourceContent(): ResourceContent;
|
|
1475
888
|
type ResourceContent = {
|
|
@@ -1482,7 +895,7 @@ type ScheduleSchema = {
|
|
|
1482
895
|
cron?: string;
|
|
1483
896
|
duration?: number;
|
|
1484
897
|
end?: string;
|
|
1485
|
-
next_schedule?:
|
|
898
|
+
next_schedule?: NextSchedule[];
|
|
1486
899
|
start?: string;
|
|
1487
900
|
};
|
|
1488
901
|
/** @returns {ScheduleStartSchema} */
|
|
@@ -1515,18 +928,12 @@ type SeoSchema = {
|
|
|
1515
928
|
app?: string;
|
|
1516
929
|
cannonical_enabled?: boolean;
|
|
1517
930
|
created_at?: string;
|
|
1518
|
-
custom_meta_tags?:
|
|
931
|
+
custom_meta_tags?: CustomMetaTag[];
|
|
1519
932
|
details?: Detail;
|
|
1520
933
|
robots_txt?: string;
|
|
1521
934
|
sitemap_enabled?: boolean;
|
|
1522
935
|
updated_at?: string;
|
|
1523
936
|
};
|
|
1524
|
-
/** @returns {Slideshow} */
|
|
1525
|
-
declare function Slideshow(): Slideshow;
|
|
1526
|
-
type Slideshow = {
|
|
1527
|
-
data?: SlideshowSchema;
|
|
1528
|
-
success?: boolean;
|
|
1529
|
-
};
|
|
1530
937
|
/** @returns {SlideshowGetResponse} */
|
|
1531
938
|
declare function SlideshowGetResponse(): SlideshowGetResponse;
|
|
1532
939
|
type SlideshowGetResponse = {
|
|
@@ -1543,15 +950,6 @@ type SlideshowMedia = {
|
|
|
1543
950
|
type?: string;
|
|
1544
951
|
url?: string;
|
|
1545
952
|
};
|
|
1546
|
-
/** @returns {SlideshowRequest} */
|
|
1547
|
-
declare function SlideshowRequest(): SlideshowRequest;
|
|
1548
|
-
type SlideshowRequest = {
|
|
1549
|
-
active?: boolean;
|
|
1550
|
-
configuration?: ConfigurationSchema;
|
|
1551
|
-
media?: SlideshowMedia;
|
|
1552
|
-
platform?: string;
|
|
1553
|
-
slug?: string;
|
|
1554
|
-
};
|
|
1555
953
|
/** @returns {SlideshowSchema} */
|
|
1556
954
|
declare function SlideshowSchema(): SlideshowSchema;
|
|
1557
955
|
type SlideshowSchema = {
|
|
@@ -1577,11 +975,6 @@ type Support = {
|
|
|
1577
975
|
created_at?: string;
|
|
1578
976
|
updated_at?: string;
|
|
1579
977
|
};
|
|
1580
|
-
/** @returns {TagDeleteSuccessResponse} */
|
|
1581
|
-
declare function TagDeleteSuccessResponse(): TagDeleteSuccessResponse;
|
|
1582
|
-
type TagDeleteSuccessResponse = {
|
|
1583
|
-
success?: boolean;
|
|
1584
|
-
};
|
|
1585
978
|
/** @returns {TagSchema} */
|
|
1586
979
|
declare function TagSchema(): TagSchema;
|
|
1587
980
|
type TagSchema = {
|
|
@@ -1609,16 +1002,6 @@ type TagsSchema = {
|
|
|
1609
1002
|
application?: string;
|
|
1610
1003
|
tags?: TagSchema[];
|
|
1611
1004
|
};
|
|
1612
|
-
/** @returns {UpdateFaqCategoryRequestSchema} */
|
|
1613
|
-
declare function UpdateFaqCategoryRequestSchema(): UpdateFaqCategoryRequestSchema;
|
|
1614
|
-
type UpdateFaqCategoryRequestSchema = {
|
|
1615
|
-
category?: CategorySchema;
|
|
1616
|
-
};
|
|
1617
|
-
/** @returns {UpdateHandpickedSchema} */
|
|
1618
|
-
declare function UpdateHandpickedSchema(): UpdateHandpickedSchema;
|
|
1619
|
-
type UpdateHandpickedSchema = {
|
|
1620
|
-
tag?: HandpickedTagSchema;
|
|
1621
|
-
};
|
|
1622
1005
|
/**
|
|
1623
1006
|
* Enum: PageType Used By: Content
|
|
1624
1007
|
*
|