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