@gofynd/fdk-client-javascript 1.1.6 → 1.2.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 +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,109 +1,1662 @@
|
|
|
1
|
-
export =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
1
|
+
export = ContentPlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef Action
|
|
4
|
+
* @property {ActionPage} [page]
|
|
5
|
+
* @property {ActionPage} [popup]
|
|
6
|
+
* @property {string} [type]
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @typedef ActionPage
|
|
10
|
+
* @property {Object} [params]
|
|
11
|
+
* @property {Object} [query]
|
|
12
|
+
* @property {PageType} type
|
|
13
|
+
* @property {string} [url]
|
|
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
|
+
/**
|
|
40
|
+
* @typedef AnnouncementSchema
|
|
41
|
+
* @property {string} [announcement]
|
|
42
|
+
* @property {ScheduleStartSchema} [schedule]
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* @typedef AnnouncementsResponseSchema
|
|
46
|
+
* @property {Object} [announcements]
|
|
47
|
+
* @property {string[]} [refresh_pages] - List of page slugs on which
|
|
48
|
+
* announcement should be fetched as soon as they are loaded
|
|
49
|
+
* @property {number} [refresh_rate] - Number of seconds after which api should
|
|
50
|
+
* hit again to fetch new announcements
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* @typedef ApplicationLegal
|
|
54
|
+
* @property {string} [_id]
|
|
55
|
+
* @property {string} [application]
|
|
56
|
+
* @property {string} [created_at]
|
|
57
|
+
* @property {ApplicationLegalFAQ[]} [faq]
|
|
58
|
+
* @property {string} [policy]
|
|
59
|
+
* @property {string} [returns]
|
|
60
|
+
* @property {string} [shipping]
|
|
61
|
+
* @property {string} [tnc]
|
|
62
|
+
* @property {string} [updated_at]
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* @typedef ApplicationLegalFAQ
|
|
66
|
+
* @property {string} [answer]
|
|
67
|
+
* @property {string} [question]
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @typedef Asset
|
|
71
|
+
* @property {string} [aspect_ratio]
|
|
72
|
+
* @property {string} [id]
|
|
73
|
+
* @property {string} [secure_url]
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* @typedef Author
|
|
77
|
+
* @property {string} [designation]
|
|
78
|
+
* @property {string} [id]
|
|
79
|
+
* @property {string} [name]
|
|
80
|
+
*/
|
|
81
|
+
/**
|
|
82
|
+
* @typedef BlogGetResponse
|
|
83
|
+
* @property {BlogSchema[]} [items]
|
|
84
|
+
* @property {Page} [page]
|
|
85
|
+
*/
|
|
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
|
+
/**
|
|
102
|
+
* @typedef BlogSchema
|
|
103
|
+
* @property {Object} [_custom_json]
|
|
104
|
+
* @property {string} [_id]
|
|
105
|
+
* @property {CronSchedule} [_schedule]
|
|
106
|
+
* @property {string} [application]
|
|
107
|
+
* @property {boolean} [archived]
|
|
108
|
+
* @property {Author} [author]
|
|
109
|
+
* @property {ResourceContent[]} [content]
|
|
110
|
+
* @property {DateMeta} [date_meta]
|
|
111
|
+
* @property {Asset} [feature_image]
|
|
112
|
+
* @property {boolean} [published]
|
|
113
|
+
* @property {string} [reading_time]
|
|
114
|
+
* @property {SEO} [seo]
|
|
115
|
+
* @property {string} [slug]
|
|
116
|
+
* @property {string[]} [tags]
|
|
117
|
+
* @property {string} [title]
|
|
118
|
+
*/
|
|
119
|
+
/**
|
|
120
|
+
* @typedef CategoryRequestSchema
|
|
121
|
+
* @property {string} [slug]
|
|
122
|
+
* @property {string} [title]
|
|
123
|
+
*/
|
|
124
|
+
/**
|
|
125
|
+
* @typedef CategorySchema
|
|
126
|
+
* @property {Object} [_custom_json]
|
|
127
|
+
* @property {string} [_id]
|
|
128
|
+
* @property {string} [application]
|
|
129
|
+
* @property {string[]} [children]
|
|
130
|
+
* @property {string} [description]
|
|
131
|
+
* @property {string} [icon_url]
|
|
132
|
+
* @property {number} [index]
|
|
133
|
+
* @property {string} [slug]
|
|
134
|
+
* @property {string} [title]
|
|
135
|
+
*/
|
|
136
|
+
/**
|
|
137
|
+
* @typedef ChildrenSchema
|
|
138
|
+
* @property {string} [_id]
|
|
139
|
+
* @property {string} [answer]
|
|
140
|
+
* @property {string} [application]
|
|
141
|
+
* @property {string} [question]
|
|
142
|
+
* @property {string} [slug]
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* @typedef CommonError
|
|
146
|
+
* @property {string} [message]
|
|
147
|
+
*/
|
|
148
|
+
/**
|
|
149
|
+
* @typedef ConfigurationSchema
|
|
150
|
+
* @property {number} [duration]
|
|
151
|
+
* @property {number} [sleep_time]
|
|
152
|
+
* @property {string} [slide_direction]
|
|
153
|
+
* @property {boolean} [start_on_launch]
|
|
154
|
+
*/
|
|
155
|
+
/**
|
|
156
|
+
* @typedef ContactSchema
|
|
157
|
+
* @property {EmailSchema} [email]
|
|
158
|
+
* @property {PhoneSchema} [phone]
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
* @typedef ContentAPIError
|
|
162
|
+
* @property {string} [code]
|
|
163
|
+
* @property {string} [exception]
|
|
164
|
+
* @property {string} [info]
|
|
165
|
+
* @property {string} [message]
|
|
166
|
+
* @property {Object} [meta]
|
|
167
|
+
* @property {string} [request_id]
|
|
168
|
+
* @property {string} [stack_trace]
|
|
169
|
+
* @property {number} [status]
|
|
170
|
+
*/
|
|
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
|
+
/**
|
|
182
|
+
* @typedef CreatedBySchema
|
|
183
|
+
* @property {string} [id]
|
|
184
|
+
*/
|
|
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
|
+
/**
|
|
218
|
+
* @typedef CronSchedule
|
|
219
|
+
* @property {string} [cron]
|
|
220
|
+
* @property {number} [duration]
|
|
221
|
+
* @property {string} [end]
|
|
222
|
+
* @property {string} [start]
|
|
223
|
+
*/
|
|
224
|
+
/**
|
|
225
|
+
* @typedef CustomMetaTag
|
|
226
|
+
* @property {string} [_id]
|
|
227
|
+
* @property {string} [content]
|
|
228
|
+
* @property {string} [name]
|
|
229
|
+
*/
|
|
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
|
+
/**
|
|
269
|
+
* @typedef DataLoaderSchema
|
|
270
|
+
* @property {DataLoaderSourceSchema} [__source]
|
|
271
|
+
* @property {string} [_id]
|
|
272
|
+
* @property {string} [content]
|
|
273
|
+
* @property {string} [name]
|
|
274
|
+
* @property {string} [operation_id]
|
|
275
|
+
* @property {string} [service]
|
|
276
|
+
* @property {string} [type]
|
|
277
|
+
* @property {string} [url]
|
|
278
|
+
*/
|
|
279
|
+
/**
|
|
280
|
+
* @typedef DataLoaderSourceSchema
|
|
281
|
+
* @property {string} [id]
|
|
282
|
+
* @property {string} [type]
|
|
283
|
+
*/
|
|
284
|
+
/**
|
|
285
|
+
* @typedef DataLoadersSchema
|
|
286
|
+
* @property {DataLoaderSchema[]} [items]
|
|
287
|
+
*/
|
|
288
|
+
/**
|
|
289
|
+
* @typedef DateMeta
|
|
290
|
+
* @property {string} [created_on]
|
|
291
|
+
* @property {string} [modified_on]
|
|
292
|
+
*/
|
|
293
|
+
/**
|
|
294
|
+
* @typedef DefaultNavigationResponse
|
|
295
|
+
* @property {NavigationSchema[]} [items]
|
|
296
|
+
*/
|
|
297
|
+
/**
|
|
298
|
+
* @typedef Detail
|
|
299
|
+
* @property {string} [description]
|
|
300
|
+
* @property {string} [image_url]
|
|
301
|
+
* @property {string} [title]
|
|
302
|
+
*/
|
|
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
|
+
/**
|
|
311
|
+
* @typedef EmailProperties
|
|
312
|
+
* @property {string} [key]
|
|
313
|
+
* @property {string} [value]
|
|
314
|
+
*/
|
|
315
|
+
/**
|
|
316
|
+
* @typedef EmailSchema
|
|
317
|
+
* @property {boolean} [active]
|
|
318
|
+
* @property {EmailProperties[]} [email]
|
|
319
|
+
*/
|
|
320
|
+
/**
|
|
321
|
+
* @typedef FAQ
|
|
322
|
+
* @property {string} [answer]
|
|
323
|
+
* @property {string} [question]
|
|
324
|
+
* @property {string} [slug]
|
|
325
|
+
*/
|
|
326
|
+
/**
|
|
327
|
+
* @typedef FAQCategorySchema
|
|
328
|
+
* @property {Object} [_custom_json]
|
|
329
|
+
* @property {string} [_id]
|
|
330
|
+
* @property {string} [application]
|
|
331
|
+
* @property {ChildrenSchema[]} [children]
|
|
332
|
+
* @property {string} [description]
|
|
333
|
+
* @property {string} [icon_url]
|
|
334
|
+
* @property {number} [index]
|
|
335
|
+
* @property {string} [slug]
|
|
336
|
+
* @property {string} [title]
|
|
337
|
+
*/
|
|
338
|
+
/**
|
|
339
|
+
* @typedef FaqResponseSchema
|
|
340
|
+
* @property {FaqSchema[]} [faqs]
|
|
341
|
+
*/
|
|
342
|
+
/**
|
|
343
|
+
* @typedef FaqSchema
|
|
344
|
+
* @property {string} [_id]
|
|
345
|
+
* @property {string} [answer]
|
|
346
|
+
* @property {string} [application]
|
|
347
|
+
* @property {string} [question]
|
|
348
|
+
* @property {string} [slug]
|
|
349
|
+
* @property {string[]} [tags]
|
|
350
|
+
*/
|
|
351
|
+
/**
|
|
352
|
+
* @typedef FeatureImage
|
|
353
|
+
* @property {string} [secure_url]
|
|
354
|
+
*/
|
|
355
|
+
/**
|
|
356
|
+
* @typedef GeneratedSEOContent
|
|
357
|
+
* @property {string} [description]
|
|
358
|
+
* @property {string} [title]
|
|
359
|
+
*/
|
|
360
|
+
/**
|
|
361
|
+
* @typedef GenerateSEOContent
|
|
362
|
+
* @property {string} [existing_text]
|
|
363
|
+
* @property {string[]} [keywords]
|
|
364
|
+
* @property {string} [text]
|
|
365
|
+
* @property {string} [type]
|
|
366
|
+
*/
|
|
367
|
+
/**
|
|
368
|
+
* @typedef GetAnnouncementListSchema
|
|
369
|
+
* @property {AdminAnnouncementSchema[]} [items]
|
|
370
|
+
* @property {Page} [page]
|
|
371
|
+
*/
|
|
372
|
+
/**
|
|
373
|
+
* @typedef GetFaqCategoriesSchema
|
|
374
|
+
* @property {CategorySchema[]} [categories]
|
|
375
|
+
*/
|
|
376
|
+
/**
|
|
377
|
+
* @typedef GetFaqCategoryBySlugSchema
|
|
378
|
+
* @property {FAQCategorySchema} [category]
|
|
379
|
+
*/
|
|
380
|
+
/**
|
|
381
|
+
* @typedef GetFaqSchema
|
|
382
|
+
* @property {FaqSchema[]} [faqs]
|
|
383
|
+
*/
|
|
384
|
+
/**
|
|
385
|
+
* @typedef HandpickedTagSchema
|
|
386
|
+
* @property {Object} [attributes]
|
|
387
|
+
* @property {string} [content]
|
|
388
|
+
* @property {string} [name]
|
|
389
|
+
* @property {string} [position]
|
|
390
|
+
* @property {string} [sub_type]
|
|
391
|
+
* @property {string} [type]
|
|
392
|
+
* @property {string} [url]
|
|
393
|
+
*/
|
|
394
|
+
/**
|
|
395
|
+
* @typedef LandingPage
|
|
396
|
+
* @property {LandingPageSchema} [data]
|
|
397
|
+
* @property {boolean} [success]
|
|
398
|
+
*/
|
|
399
|
+
/**
|
|
400
|
+
* @typedef LandingPageGetResponse
|
|
401
|
+
* @property {LandingPageSchema[]} [items]
|
|
402
|
+
* @property {Page} [page]
|
|
403
|
+
*/
|
|
404
|
+
/**
|
|
405
|
+
* @typedef LandingPageSchema
|
|
406
|
+
* @property {Object} [_custom_json]
|
|
407
|
+
* @property {string} [_id]
|
|
408
|
+
* @property {Action} [action]
|
|
409
|
+
* @property {string} [application]
|
|
410
|
+
* @property {boolean} [archived]
|
|
411
|
+
* @property {CreatedBySchema} [created_by]
|
|
412
|
+
* @property {DateMeta} [date_meta]
|
|
413
|
+
* @property {string[]} [platform]
|
|
414
|
+
* @property {string} [slug]
|
|
415
|
+
*/
|
|
416
|
+
/**
|
|
417
|
+
* @typedef Language
|
|
418
|
+
* @property {string} [display]
|
|
419
|
+
*/
|
|
420
|
+
/**
|
|
421
|
+
* @typedef LocaleLanguage
|
|
422
|
+
* @property {Language} [ar]
|
|
423
|
+
* @property {Language} [en_us]
|
|
424
|
+
* @property {Language} [hi]
|
|
425
|
+
*/
|
|
426
|
+
/**
|
|
427
|
+
* @typedef Navigation
|
|
428
|
+
* @property {string} [_id]
|
|
429
|
+
* @property {string} [application]
|
|
430
|
+
* @property {CreatedBySchema} [created_by]
|
|
431
|
+
* @property {DateMeta} [date_meta]
|
|
432
|
+
* @property {string} [name]
|
|
433
|
+
* @property {NavigationReference} [navigation]
|
|
434
|
+
* @property {string} [orientation]
|
|
435
|
+
* @property {string} [platform]
|
|
436
|
+
* @property {string} [position]
|
|
437
|
+
* @property {string} [slug]
|
|
438
|
+
*/
|
|
439
|
+
/**
|
|
440
|
+
* @typedef NavigationGetResponse
|
|
441
|
+
* @property {NavigationSchema[]} [items]
|
|
442
|
+
* @property {Page} [page]
|
|
443
|
+
*/
|
|
444
|
+
/**
|
|
445
|
+
* @typedef NavigationReference
|
|
446
|
+
* @property {LocaleLanguage} [_locale_language]
|
|
447
|
+
* @property {string[]} [acl]
|
|
448
|
+
* @property {Action} [action]
|
|
449
|
+
* @property {boolean} [active]
|
|
450
|
+
* @property {string} [display]
|
|
451
|
+
* @property {string} [image]
|
|
452
|
+
* @property {number} [sort_order]
|
|
453
|
+
* @property {NavigationReference[]} [sub_navigation]
|
|
454
|
+
* @property {string[]} [tags]
|
|
455
|
+
* @property {string} [type]
|
|
456
|
+
*/
|
|
457
|
+
/**
|
|
458
|
+
* @typedef NavigationRequest
|
|
459
|
+
* @property {string} [name]
|
|
460
|
+
* @property {NavigationReference[]} [navigation]
|
|
461
|
+
* @property {Orientation} [orientation]
|
|
462
|
+
* @property {string[]} [platform]
|
|
463
|
+
* @property {string} [slug]
|
|
464
|
+
*/
|
|
465
|
+
/**
|
|
466
|
+
* @typedef NavigationSchema
|
|
467
|
+
* @property {string} [_id]
|
|
468
|
+
* @property {string} [application]
|
|
469
|
+
* @property {boolean} [archived]
|
|
470
|
+
* @property {CreatedBySchema} [created_by]
|
|
471
|
+
* @property {DateMeta} [date_meta]
|
|
472
|
+
* @property {string} [name]
|
|
473
|
+
* @property {NavigationReference[]} [navigation]
|
|
474
|
+
* @property {Orientation} [orientation]
|
|
475
|
+
* @property {string[]} [platform]
|
|
476
|
+
* @property {string} [slug]
|
|
477
|
+
* @property {number} [version]
|
|
478
|
+
*/
|
|
479
|
+
/**
|
|
480
|
+
* @typedef NextSchedule
|
|
481
|
+
* @property {string} [end]
|
|
482
|
+
* @property {string} [start]
|
|
483
|
+
*/
|
|
484
|
+
/**
|
|
485
|
+
* @typedef Orientation
|
|
486
|
+
* @property {string[]} [landscape]
|
|
487
|
+
* @property {string[]} [portrait]
|
|
488
|
+
*/
|
|
489
|
+
/**
|
|
490
|
+
* @typedef Page
|
|
491
|
+
* @property {number} [current]
|
|
492
|
+
* @property {boolean} [has_next]
|
|
493
|
+
* @property {boolean} [has_previous]
|
|
494
|
+
* @property {number} [item_total]
|
|
495
|
+
* @property {string} [next_id]
|
|
496
|
+
* @property {number} [size]
|
|
497
|
+
* @property {string} type
|
|
498
|
+
*/
|
|
499
|
+
/**
|
|
500
|
+
* @typedef PageContent
|
|
501
|
+
* @property {string} [type]
|
|
502
|
+
* @property {Object} [value]
|
|
503
|
+
*/
|
|
504
|
+
/**
|
|
505
|
+
* @typedef PageGetResponse
|
|
506
|
+
* @property {PageSchema[]} [items]
|
|
507
|
+
* @property {Page} [page]
|
|
508
|
+
*/
|
|
509
|
+
/**
|
|
510
|
+
* @typedef PageMeta
|
|
511
|
+
* @property {string} [key]
|
|
512
|
+
* @property {Object} [value]
|
|
513
|
+
*/
|
|
514
|
+
/**
|
|
515
|
+
* @typedef PageMetaSchema
|
|
516
|
+
* @property {string} [application_id]
|
|
517
|
+
* @property {PageSchema[]} [custom_pages]
|
|
518
|
+
* @property {NavigationSchema[]} [system_pages]
|
|
519
|
+
*/
|
|
520
|
+
/**
|
|
521
|
+
* @typedef PagePublishRequest
|
|
522
|
+
* @property {boolean} [publish]
|
|
523
|
+
*/
|
|
524
|
+
/**
|
|
525
|
+
* @typedef PageRequest
|
|
526
|
+
* @property {Object} [_custom_json]
|
|
527
|
+
* @property {CronSchedule} [_schedule]
|
|
528
|
+
* @property {string} [application]
|
|
529
|
+
* @property {Author} [author]
|
|
530
|
+
* @property {Object[]} [content]
|
|
531
|
+
* @property {Asset} [feature_image]
|
|
532
|
+
* @property {string} [orientation]
|
|
533
|
+
* @property {boolean} [published]
|
|
534
|
+
* @property {string} [reading_time]
|
|
535
|
+
* @property {SEO} [seo]
|
|
536
|
+
* @property {string} [slug]
|
|
537
|
+
* @property {string[]} [tags]
|
|
538
|
+
* @property {string} [title]
|
|
539
|
+
*/
|
|
540
|
+
/**
|
|
541
|
+
* @typedef PageSchema
|
|
542
|
+
* @property {Object} [_custom_json]
|
|
543
|
+
* @property {string} [_id]
|
|
544
|
+
* @property {ScheduleSchema} [_schedule]
|
|
545
|
+
* @property {string} [application]
|
|
546
|
+
* @property {boolean} [archived]
|
|
547
|
+
* @property {string[]} [component_ids] - Components can be used to store
|
|
548
|
+
* multiple components
|
|
549
|
+
* @property {Object[]} [content]
|
|
550
|
+
* @property {string} [content_path]
|
|
551
|
+
* @property {CreatedBySchema} [created_by]
|
|
552
|
+
* @property {DateMeta} [date_meta]
|
|
553
|
+
* @property {string} [description]
|
|
554
|
+
* @property {Asset} [feature_image]
|
|
555
|
+
* @property {string} [orientation]
|
|
556
|
+
* @property {Object[]} [page_meta]
|
|
557
|
+
* @property {string} [platform]
|
|
558
|
+
* @property {boolean} [published]
|
|
559
|
+
* @property {SEO} [seo]
|
|
560
|
+
* @property {string} [slug]
|
|
561
|
+
* @property {string[]} [tags]
|
|
562
|
+
* @property {string} [title]
|
|
563
|
+
* @property {string} [type]
|
|
564
|
+
* @property {Object} [visibility]
|
|
565
|
+
*/
|
|
566
|
+
/**
|
|
567
|
+
* @typedef PageSpec
|
|
568
|
+
* @property {Object[]} [specifications]
|
|
569
|
+
*/
|
|
570
|
+
/**
|
|
571
|
+
* @typedef PageSpecItem
|
|
572
|
+
* @property {string} [display_name]
|
|
573
|
+
* @property {string} [page_type]
|
|
574
|
+
* @property {PageSpecParam[]} [params]
|
|
575
|
+
* @property {PageSpecParam[]} [query]
|
|
576
|
+
*/
|
|
577
|
+
/**
|
|
578
|
+
* @typedef PageSpecParam
|
|
579
|
+
* @property {string} [key]
|
|
580
|
+
* @property {boolean} [required]
|
|
581
|
+
*/
|
|
582
|
+
/**
|
|
583
|
+
* @typedef PathMappingSchema
|
|
584
|
+
* @property {PathSourceSchema} [__source]
|
|
585
|
+
* @property {string} [_id]
|
|
586
|
+
* @property {string} [application]
|
|
587
|
+
* @property {string} [created_at]
|
|
588
|
+
* @property {string} [redirect_from]
|
|
589
|
+
* @property {string} [redirect_to]
|
|
590
|
+
* @property {string} [updated_at]
|
|
591
|
+
*/
|
|
592
|
+
/**
|
|
593
|
+
* @typedef PathSourceSchema
|
|
594
|
+
* @property {string} [id]
|
|
595
|
+
* @property {string} [type]
|
|
596
|
+
*/
|
|
597
|
+
/**
|
|
598
|
+
* @typedef PhoneProperties
|
|
599
|
+
* @property {string} [code]
|
|
600
|
+
* @property {string} [key]
|
|
601
|
+
* @property {string} [number]
|
|
602
|
+
*/
|
|
603
|
+
/**
|
|
604
|
+
* @typedef PhoneSchema
|
|
605
|
+
* @property {boolean} [active]
|
|
606
|
+
* @property {PhoneProperties[]} [phone]
|
|
607
|
+
*/
|
|
608
|
+
/**
|
|
609
|
+
* @typedef RemoveHandpickedSchema
|
|
610
|
+
* @property {string[]} [tags]
|
|
611
|
+
*/
|
|
612
|
+
/**
|
|
613
|
+
* @typedef ResourceContent
|
|
614
|
+
* @property {string} [type]
|
|
615
|
+
* @property {string} [value]
|
|
616
|
+
*/
|
|
617
|
+
/**
|
|
618
|
+
* @typedef ScheduleSchema
|
|
619
|
+
* @property {string} [cron]
|
|
620
|
+
* @property {number} [duration]
|
|
621
|
+
* @property {string} [end]
|
|
622
|
+
* @property {Object[]} [next_schedule]
|
|
623
|
+
* @property {string} [start]
|
|
624
|
+
*/
|
|
625
|
+
/**
|
|
626
|
+
* @typedef ScheduleStartSchema
|
|
627
|
+
* @property {string} [end]
|
|
628
|
+
* @property {string} [start]
|
|
629
|
+
*/
|
|
630
|
+
/**
|
|
631
|
+
* @typedef SEO
|
|
632
|
+
* @property {string} [description]
|
|
633
|
+
* @property {SEOImage} [image]
|
|
634
|
+
* @property {string} [title]
|
|
635
|
+
*/
|
|
636
|
+
/**
|
|
637
|
+
* @typedef SeoComponent
|
|
638
|
+
* @property {SeoSchema} [seo]
|
|
639
|
+
*/
|
|
640
|
+
/**
|
|
641
|
+
* @typedef SEOImage
|
|
642
|
+
* @property {string} [url]
|
|
643
|
+
*/
|
|
644
|
+
/**
|
|
645
|
+
* @typedef SeoSchema
|
|
646
|
+
* @property {string} [_id]
|
|
647
|
+
* @property {string} [app]
|
|
648
|
+
* @property {boolean} [cannonical_enabled]
|
|
649
|
+
* @property {string} [created_at]
|
|
650
|
+
* @property {Object[]} [custom_meta_tags]
|
|
651
|
+
* @property {Detail} [details]
|
|
652
|
+
* @property {string} [robots_txt]
|
|
653
|
+
* @property {boolean} [sitemap_enabled]
|
|
654
|
+
* @property {string} [updated_at]
|
|
655
|
+
*/
|
|
656
|
+
/**
|
|
657
|
+
* @typedef Slideshow
|
|
658
|
+
* @property {SlideshowSchema} [data]
|
|
659
|
+
* @property {boolean} [success]
|
|
660
|
+
*/
|
|
661
|
+
/**
|
|
662
|
+
* @typedef SlideshowGetResponse
|
|
663
|
+
* @property {SlideshowSchema[]} [items]
|
|
664
|
+
* @property {Page} [page]
|
|
665
|
+
*/
|
|
666
|
+
/**
|
|
667
|
+
* @typedef SlideshowMedia
|
|
668
|
+
* @property {Action} [action]
|
|
669
|
+
* @property {boolean} [auto_decide_duration]
|
|
670
|
+
* @property {string} [bg_color]
|
|
671
|
+
* @property {number} [duration]
|
|
672
|
+
* @property {string} [type]
|
|
673
|
+
* @property {string} [url]
|
|
674
|
+
*/
|
|
675
|
+
/**
|
|
676
|
+
* @typedef SlideshowRequest
|
|
677
|
+
* @property {boolean} [active]
|
|
678
|
+
* @property {ConfigurationSchema} [configuration]
|
|
679
|
+
* @property {SlideshowMedia} [media]
|
|
680
|
+
* @property {string} [platform]
|
|
681
|
+
* @property {string} [slug]
|
|
682
|
+
*/
|
|
683
|
+
/**
|
|
684
|
+
* @typedef SlideshowSchema
|
|
685
|
+
* @property {Object} [_custom_json]
|
|
686
|
+
* @property {string} [_id]
|
|
687
|
+
* @property {boolean} [active]
|
|
688
|
+
* @property {string} [application]
|
|
689
|
+
* @property {boolean} [archived]
|
|
690
|
+
* @property {ConfigurationSchema} [configuration]
|
|
691
|
+
* @property {DateMeta} [date_meta]
|
|
692
|
+
* @property {SlideshowMedia[]} [media]
|
|
693
|
+
* @property {string} [platform]
|
|
694
|
+
* @property {string} [slug]
|
|
695
|
+
*/
|
|
696
|
+
/**
|
|
697
|
+
* @typedef Support
|
|
698
|
+
* @property {string} [_id]
|
|
699
|
+
* @property {string} [application]
|
|
700
|
+
* @property {string} [config_type]
|
|
701
|
+
* @property {ContactSchema} [contact]
|
|
702
|
+
* @property {boolean} [created]
|
|
703
|
+
* @property {string} [created_at]
|
|
704
|
+
* @property {string} [updated_at]
|
|
705
|
+
*/
|
|
706
|
+
/**
|
|
707
|
+
* @typedef TagDeleteSuccessResponse
|
|
708
|
+
* @property {boolean} [success]
|
|
709
|
+
*/
|
|
710
|
+
/**
|
|
711
|
+
* @typedef TagSchema
|
|
712
|
+
* @property {TagSourceSchema} [__source]
|
|
713
|
+
* @property {string} [_id]
|
|
714
|
+
* @property {Object} [attributes]
|
|
715
|
+
* @property {string} [content]
|
|
716
|
+
* @property {string} [name]
|
|
717
|
+
* @property {Object[]} [pages]
|
|
718
|
+
* @property {string} [position]
|
|
719
|
+
* @property {string} [sub_type]
|
|
720
|
+
* @property {string} [type]
|
|
721
|
+
* @property {string} [url]
|
|
722
|
+
*/
|
|
723
|
+
/**
|
|
724
|
+
* @typedef TagSourceSchema
|
|
725
|
+
* @property {string} [id]
|
|
726
|
+
* @property {string} [type]
|
|
727
|
+
*/
|
|
728
|
+
/**
|
|
729
|
+
* @typedef TagsSchema
|
|
730
|
+
* @property {string} [_id]
|
|
731
|
+
* @property {string} [application]
|
|
732
|
+
* @property {TagSchema[]} [tags]
|
|
733
|
+
*/
|
|
734
|
+
/**
|
|
735
|
+
* @typedef UpdateFaqCategoryRequestSchema
|
|
736
|
+
* @property {CategorySchema} [category]
|
|
737
|
+
*/
|
|
738
|
+
/**
|
|
739
|
+
* @typedef UpdateHandpickedSchema
|
|
740
|
+
* @property {HandpickedTagSchema} [tag]
|
|
741
|
+
*/
|
|
742
|
+
/** @typedef {"title" | "description"} GenerationEntityType */
|
|
743
|
+
/**
|
|
744
|
+
* @typedef {| "about-us"
|
|
745
|
+
* | "addresses"
|
|
746
|
+
* | "blog"
|
|
747
|
+
* | "brands"
|
|
748
|
+
* | "cards"
|
|
749
|
+
* | "cart"
|
|
750
|
+
* | "categories"
|
|
751
|
+
* | "brand"
|
|
752
|
+
* | "category"
|
|
753
|
+
* | "collection"
|
|
754
|
+
* | "collections"
|
|
755
|
+
* | "contact-us"
|
|
756
|
+
* | "external"
|
|
757
|
+
* | "faq"
|
|
758
|
+
* | "freshchat"
|
|
759
|
+
* | "home"
|
|
760
|
+
* | "notification-settings"
|
|
761
|
+
* | "orders"
|
|
762
|
+
* | "page"
|
|
763
|
+
* | "policy"
|
|
764
|
+
* | "product"
|
|
765
|
+
* | "product-request"
|
|
766
|
+
* | "products"
|
|
767
|
+
* | "profile"
|
|
768
|
+
* | "profile-order-shipment"
|
|
769
|
+
* | "profile-basic"
|
|
770
|
+
* | "profile-company"
|
|
771
|
+
* | "profile-emails"
|
|
772
|
+
* | "profile-phones"
|
|
773
|
+
* | "rate-us"
|
|
774
|
+
* | "refer-earn"
|
|
775
|
+
* | "settings"
|
|
776
|
+
* | "shared-cart"
|
|
777
|
+
* | "tnc"
|
|
778
|
+
* | "track-order"
|
|
779
|
+
* | "wishlist"
|
|
780
|
+
* | "sections"
|
|
781
|
+
* | "form"
|
|
782
|
+
* | "cart-delivery"
|
|
783
|
+
* | "cart-payment"
|
|
784
|
+
* | "cart-review"
|
|
785
|
+
* | "login"
|
|
786
|
+
* | "register"
|
|
787
|
+
* | "shipping-policy"
|
|
788
|
+
* | "return-policy"
|
|
789
|
+
* | "order-status"} PageType
|
|
790
|
+
*/
|
|
791
|
+
declare class ContentPlatformModel {
|
|
109
792
|
}
|
|
793
|
+
declare namespace ContentPlatformModel {
|
|
794
|
+
export { Action, ActionPage, AdminAnnouncementSchema, AnnouncementAuthorSchema, AnnouncementPageSchema, AnnouncementSchema, AnnouncementsResponseSchema, ApplicationLegal, ApplicationLegalFAQ, Asset, Author, BlogGetResponse, BlogRequest, BlogSchema, CategoryRequestSchema, CategorySchema, ChildrenSchema, CommonError, ConfigurationSchema, ContactSchema, ContentAPIError, ContentSchema, CreateAnnouncementSchema, CreatedBySchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, CreateFaqResponseSchema, CreateFaqSchema, CreateTagRequestSchema, CreateTagSchema, CronSchedule, CustomMetaTag, CustomPage, CustomPageSchema, DataLoaderResetResponseSchema, DataLoaderResponseSchema, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, DateMeta, DefaultNavigationResponse, Detail, EditorMeta, EmailProperties, EmailSchema, FAQ, FAQCategorySchema, FaqResponseSchema, FaqSchema, FeatureImage, GeneratedSEOContent, GenerateSEOContent, GetAnnouncementListSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, GetFaqSchema, HandpickedTagSchema, LandingPage, LandingPageGetResponse, LandingPageSchema, Language, LocaleLanguage, Navigation, NavigationGetResponse, NavigationReference, NavigationRequest, NavigationSchema, NextSchedule, Orientation, Page, PageContent, PageGetResponse, PageMeta, PageMetaSchema, PagePublishRequest, PageRequest, PageSchema, PageSpec, PageSpecItem, PageSpecParam, PathMappingSchema, PathSourceSchema, PhoneProperties, PhoneSchema, RemoveHandpickedSchema, ResourceContent, ScheduleSchema, ScheduleStartSchema, SEO, SeoComponent, SEOImage, SeoSchema, Slideshow, SlideshowGetResponse, SlideshowMedia, SlideshowRequest, SlideshowSchema, Support, TagDeleteSuccessResponse, TagSchema, TagSourceSchema, TagsSchema, UpdateFaqCategoryRequestSchema, UpdateHandpickedSchema, GenerationEntityType, PageType };
|
|
795
|
+
}
|
|
796
|
+
/** @returns {Action} */
|
|
797
|
+
declare function Action(): Action;
|
|
798
|
+
type Action = {
|
|
799
|
+
page?: ActionPage;
|
|
800
|
+
popup?: ActionPage;
|
|
801
|
+
type?: string;
|
|
802
|
+
};
|
|
803
|
+
/** @returns {ActionPage} */
|
|
804
|
+
declare function ActionPage(): ActionPage;
|
|
805
|
+
type ActionPage = {
|
|
806
|
+
params?: any;
|
|
807
|
+
query?: any;
|
|
808
|
+
type: PageType;
|
|
809
|
+
url?: string;
|
|
810
|
+
};
|
|
811
|
+
/** @returns {AdminAnnouncementSchema} */
|
|
812
|
+
declare function AdminAnnouncementSchema(): AdminAnnouncementSchema;
|
|
813
|
+
type AdminAnnouncementSchema = {
|
|
814
|
+
_id?: string;
|
|
815
|
+
_schedule?: ScheduleSchema;
|
|
816
|
+
announcement?: string;
|
|
817
|
+
app?: string;
|
|
818
|
+
author?: AnnouncementAuthorSchema;
|
|
819
|
+
created_at?: string;
|
|
820
|
+
editor_meta?: EditorMeta;
|
|
821
|
+
modified_at?: string;
|
|
822
|
+
pages?: AnnouncementPageSchema[];
|
|
823
|
+
platforms?: string[];
|
|
824
|
+
title?: string;
|
|
825
|
+
};
|
|
826
|
+
/** @returns {AnnouncementAuthorSchema} */
|
|
827
|
+
declare function AnnouncementAuthorSchema(): AnnouncementAuthorSchema;
|
|
828
|
+
type AnnouncementAuthorSchema = {
|
|
829
|
+
created_by?: string;
|
|
830
|
+
modified_by?: string;
|
|
831
|
+
};
|
|
832
|
+
/** @returns {AnnouncementPageSchema} */
|
|
833
|
+
declare function AnnouncementPageSchema(): AnnouncementPageSchema;
|
|
834
|
+
type AnnouncementPageSchema = {
|
|
835
|
+
page_slug?: string;
|
|
836
|
+
type?: string;
|
|
837
|
+
};
|
|
838
|
+
/** @returns {AnnouncementSchema} */
|
|
839
|
+
declare function AnnouncementSchema(): AnnouncementSchema;
|
|
840
|
+
type AnnouncementSchema = {
|
|
841
|
+
announcement?: string;
|
|
842
|
+
schedule?: ScheduleStartSchema;
|
|
843
|
+
};
|
|
844
|
+
/** @returns {AnnouncementsResponseSchema} */
|
|
845
|
+
declare function AnnouncementsResponseSchema(): AnnouncementsResponseSchema;
|
|
846
|
+
type AnnouncementsResponseSchema = {
|
|
847
|
+
announcements?: any;
|
|
848
|
+
/**
|
|
849
|
+
* - List of page slugs on which
|
|
850
|
+
* announcement should be fetched as soon as they are loaded
|
|
851
|
+
*/
|
|
852
|
+
refresh_pages?: string[];
|
|
853
|
+
/**
|
|
854
|
+
* - Number of seconds after which api should
|
|
855
|
+
* hit again to fetch new announcements
|
|
856
|
+
*/
|
|
857
|
+
refresh_rate?: number;
|
|
858
|
+
};
|
|
859
|
+
/** @returns {ApplicationLegal} */
|
|
860
|
+
declare function ApplicationLegal(): ApplicationLegal;
|
|
861
|
+
type ApplicationLegal = {
|
|
862
|
+
_id?: string;
|
|
863
|
+
application?: string;
|
|
864
|
+
created_at?: string;
|
|
865
|
+
faq?: ApplicationLegalFAQ[];
|
|
866
|
+
policy?: string;
|
|
867
|
+
returns?: string;
|
|
868
|
+
shipping?: string;
|
|
869
|
+
tnc?: string;
|
|
870
|
+
updated_at?: string;
|
|
871
|
+
};
|
|
872
|
+
/** @returns {ApplicationLegalFAQ} */
|
|
873
|
+
declare function ApplicationLegalFAQ(): ApplicationLegalFAQ;
|
|
874
|
+
type ApplicationLegalFAQ = {
|
|
875
|
+
answer?: string;
|
|
876
|
+
question?: string;
|
|
877
|
+
};
|
|
878
|
+
/** @returns {Asset} */
|
|
879
|
+
declare function Asset(): Asset;
|
|
880
|
+
type Asset = {
|
|
881
|
+
aspect_ratio?: string;
|
|
882
|
+
id?: string;
|
|
883
|
+
secure_url?: string;
|
|
884
|
+
};
|
|
885
|
+
/** @returns {Author} */
|
|
886
|
+
declare function Author(): Author;
|
|
887
|
+
type Author = {
|
|
888
|
+
designation?: string;
|
|
889
|
+
id?: string;
|
|
890
|
+
name?: string;
|
|
891
|
+
};
|
|
892
|
+
/** @returns {BlogGetResponse} */
|
|
893
|
+
declare function BlogGetResponse(): BlogGetResponse;
|
|
894
|
+
type BlogGetResponse = {
|
|
895
|
+
items?: BlogSchema[];
|
|
896
|
+
page?: Page;
|
|
897
|
+
};
|
|
898
|
+
/** @returns {BlogRequest} */
|
|
899
|
+
declare function BlogRequest(): BlogRequest;
|
|
900
|
+
type BlogRequest = {
|
|
901
|
+
_custom_json?: any;
|
|
902
|
+
_schedule?: CronSchedule;
|
|
903
|
+
application?: string;
|
|
904
|
+
author?: Author;
|
|
905
|
+
content?: ResourceContent[];
|
|
906
|
+
feature_image?: Asset;
|
|
907
|
+
published?: boolean;
|
|
908
|
+
reading_time?: string;
|
|
909
|
+
seo?: SEO;
|
|
910
|
+
slug?: string;
|
|
911
|
+
tags?: string[];
|
|
912
|
+
title?: string;
|
|
913
|
+
};
|
|
914
|
+
/** @returns {BlogSchema} */
|
|
915
|
+
declare function BlogSchema(): BlogSchema;
|
|
916
|
+
type BlogSchema = {
|
|
917
|
+
_custom_json?: any;
|
|
918
|
+
_id?: string;
|
|
919
|
+
_schedule?: CronSchedule;
|
|
920
|
+
application?: string;
|
|
921
|
+
archived?: boolean;
|
|
922
|
+
author?: Author;
|
|
923
|
+
content?: ResourceContent[];
|
|
924
|
+
date_meta?: DateMeta;
|
|
925
|
+
feature_image?: Asset;
|
|
926
|
+
published?: boolean;
|
|
927
|
+
reading_time?: string;
|
|
928
|
+
seo?: SEO;
|
|
929
|
+
slug?: string;
|
|
930
|
+
tags?: string[];
|
|
931
|
+
title?: string;
|
|
932
|
+
};
|
|
933
|
+
/** @returns {CategoryRequestSchema} */
|
|
934
|
+
declare function CategoryRequestSchema(): CategoryRequestSchema;
|
|
935
|
+
type CategoryRequestSchema = {
|
|
936
|
+
slug?: string;
|
|
937
|
+
title?: string;
|
|
938
|
+
};
|
|
939
|
+
/** @returns {CategorySchema} */
|
|
940
|
+
declare function CategorySchema(): CategorySchema;
|
|
941
|
+
type CategorySchema = {
|
|
942
|
+
_custom_json?: any;
|
|
943
|
+
_id?: string;
|
|
944
|
+
application?: string;
|
|
945
|
+
children?: string[];
|
|
946
|
+
description?: string;
|
|
947
|
+
icon_url?: string;
|
|
948
|
+
index?: number;
|
|
949
|
+
slug?: string;
|
|
950
|
+
title?: string;
|
|
951
|
+
};
|
|
952
|
+
/** @returns {ChildrenSchema} */
|
|
953
|
+
declare function ChildrenSchema(): ChildrenSchema;
|
|
954
|
+
type ChildrenSchema = {
|
|
955
|
+
_id?: string;
|
|
956
|
+
answer?: string;
|
|
957
|
+
application?: string;
|
|
958
|
+
question?: string;
|
|
959
|
+
slug?: string;
|
|
960
|
+
};
|
|
961
|
+
/** @returns {CommonError} */
|
|
962
|
+
declare function CommonError(): CommonError;
|
|
963
|
+
type CommonError = {
|
|
964
|
+
message?: string;
|
|
965
|
+
};
|
|
966
|
+
/** @returns {ConfigurationSchema} */
|
|
967
|
+
declare function ConfigurationSchema(): ConfigurationSchema;
|
|
968
|
+
type ConfigurationSchema = {
|
|
969
|
+
duration?: number;
|
|
970
|
+
sleep_time?: number;
|
|
971
|
+
slide_direction?: string;
|
|
972
|
+
start_on_launch?: boolean;
|
|
973
|
+
};
|
|
974
|
+
/** @returns {ContactSchema} */
|
|
975
|
+
declare function ContactSchema(): ContactSchema;
|
|
976
|
+
type ContactSchema = {
|
|
977
|
+
email?: EmailSchema;
|
|
978
|
+
phone?: PhoneSchema;
|
|
979
|
+
};
|
|
980
|
+
/** @returns {ContentAPIError} */
|
|
981
|
+
declare function ContentAPIError(): ContentAPIError;
|
|
982
|
+
type ContentAPIError = {
|
|
983
|
+
code?: string;
|
|
984
|
+
exception?: string;
|
|
985
|
+
info?: string;
|
|
986
|
+
message?: string;
|
|
987
|
+
meta?: any;
|
|
988
|
+
request_id?: string;
|
|
989
|
+
stack_trace?: string;
|
|
990
|
+
status?: number;
|
|
991
|
+
};
|
|
992
|
+
/** @returns {ContentSchema} */
|
|
993
|
+
declare function ContentSchema(): ContentSchema;
|
|
994
|
+
type ContentSchema = {
|
|
995
|
+
type?: string;
|
|
996
|
+
value?: any;
|
|
997
|
+
};
|
|
998
|
+
/** @returns {CreateAnnouncementSchema} */
|
|
999
|
+
declare function CreateAnnouncementSchema(): CreateAnnouncementSchema;
|
|
1000
|
+
type CreateAnnouncementSchema = {
|
|
1001
|
+
data?: AdminAnnouncementSchema;
|
|
1002
|
+
message?: string;
|
|
1003
|
+
};
|
|
1004
|
+
/** @returns {CreatedBySchema} */
|
|
1005
|
+
declare function CreatedBySchema(): CreatedBySchema;
|
|
1006
|
+
type CreatedBySchema = {
|
|
1007
|
+
id?: string;
|
|
1008
|
+
};
|
|
1009
|
+
/** @returns {CreateFaqCategoryRequestSchema} */
|
|
1010
|
+
declare function CreateFaqCategoryRequestSchema(): CreateFaqCategoryRequestSchema;
|
|
1011
|
+
type CreateFaqCategoryRequestSchema = {
|
|
1012
|
+
category?: CategoryRequestSchema;
|
|
1013
|
+
};
|
|
1014
|
+
/** @returns {CreateFaqCategorySchema} */
|
|
1015
|
+
declare function CreateFaqCategorySchema(): CreateFaqCategorySchema;
|
|
1016
|
+
type CreateFaqCategorySchema = {
|
|
1017
|
+
category?: CategorySchema;
|
|
1018
|
+
};
|
|
1019
|
+
/** @returns {CreateFaqResponseSchema} */
|
|
1020
|
+
declare function CreateFaqResponseSchema(): CreateFaqResponseSchema;
|
|
1021
|
+
type CreateFaqResponseSchema = {
|
|
1022
|
+
faq?: FaqSchema;
|
|
1023
|
+
};
|
|
1024
|
+
/** @returns {CreateFaqSchema} */
|
|
1025
|
+
declare function CreateFaqSchema(): CreateFaqSchema;
|
|
1026
|
+
type CreateFaqSchema = {
|
|
1027
|
+
faq?: FAQ;
|
|
1028
|
+
};
|
|
1029
|
+
/** @returns {CreateTagRequestSchema} */
|
|
1030
|
+
declare function CreateTagRequestSchema(): CreateTagRequestSchema;
|
|
1031
|
+
type CreateTagRequestSchema = {
|
|
1032
|
+
tags?: CreateTagSchema[];
|
|
1033
|
+
};
|
|
1034
|
+
/** @returns {CreateTagSchema} */
|
|
1035
|
+
declare function CreateTagSchema(): CreateTagSchema;
|
|
1036
|
+
type CreateTagSchema = {
|
|
1037
|
+
_id?: string;
|
|
1038
|
+
attributes?: any;
|
|
1039
|
+
content?: string;
|
|
1040
|
+
name?: string;
|
|
1041
|
+
pages?: any[];
|
|
1042
|
+
position?: string;
|
|
1043
|
+
sub_type?: string;
|
|
1044
|
+
type?: string;
|
|
1045
|
+
url?: string;
|
|
1046
|
+
};
|
|
1047
|
+
/** @returns {CronSchedule} */
|
|
1048
|
+
declare function CronSchedule(): CronSchedule;
|
|
1049
|
+
type CronSchedule = {
|
|
1050
|
+
cron?: string;
|
|
1051
|
+
duration?: number;
|
|
1052
|
+
end?: string;
|
|
1053
|
+
start?: string;
|
|
1054
|
+
};
|
|
1055
|
+
/** @returns {CustomMetaTag} */
|
|
1056
|
+
declare function CustomMetaTag(): CustomMetaTag;
|
|
1057
|
+
type CustomMetaTag = {
|
|
1058
|
+
_id?: string;
|
|
1059
|
+
content?: string;
|
|
1060
|
+
name?: string;
|
|
1061
|
+
};
|
|
1062
|
+
/** @returns {CustomPage} */
|
|
1063
|
+
declare function CustomPage(): CustomPage;
|
|
1064
|
+
type CustomPage = {
|
|
1065
|
+
data?: CustomPageSchema;
|
|
1066
|
+
};
|
|
1067
|
+
/** @returns {CustomPageSchema} */
|
|
1068
|
+
declare function CustomPageSchema(): CustomPageSchema;
|
|
1069
|
+
type CustomPageSchema = {
|
|
1070
|
+
_id?: string;
|
|
1071
|
+
_schedule?: ScheduleSchema;
|
|
1072
|
+
application?: string;
|
|
1073
|
+
content?: any[];
|
|
1074
|
+
created_by?: CreatedBySchema;
|
|
1075
|
+
date_meta?: DateMeta;
|
|
1076
|
+
description?: string;
|
|
1077
|
+
orientation?: string;
|
|
1078
|
+
platform?: string;
|
|
1079
|
+
published?: boolean;
|
|
1080
|
+
slug?: string;
|
|
1081
|
+
tags?: string[];
|
|
1082
|
+
title?: string;
|
|
1083
|
+
type?: string;
|
|
1084
|
+
};
|
|
1085
|
+
/** @returns {DataLoaderResetResponseSchema} */
|
|
1086
|
+
declare function DataLoaderResetResponseSchema(): DataLoaderResetResponseSchema;
|
|
1087
|
+
type DataLoaderResetResponseSchema = {
|
|
1088
|
+
reset?: string;
|
|
1089
|
+
};
|
|
1090
|
+
/** @returns {DataLoaderResponseSchema} */
|
|
1091
|
+
declare function DataLoaderResponseSchema(): DataLoaderResponseSchema;
|
|
1092
|
+
type DataLoaderResponseSchema = {
|
|
1093
|
+
__source?: DataLoaderSourceSchema;
|
|
1094
|
+
_id?: string;
|
|
1095
|
+
application?: string;
|
|
1096
|
+
company?: string;
|
|
1097
|
+
content?: string;
|
|
1098
|
+
name?: string;
|
|
1099
|
+
operation_id?: string;
|
|
1100
|
+
service?: string;
|
|
1101
|
+
type?: string;
|
|
1102
|
+
url?: string;
|
|
1103
|
+
};
|
|
1104
|
+
/** @returns {DataLoaderSchema} */
|
|
1105
|
+
declare function DataLoaderSchema(): DataLoaderSchema;
|
|
1106
|
+
type DataLoaderSchema = {
|
|
1107
|
+
__source?: DataLoaderSourceSchema;
|
|
1108
|
+
_id?: string;
|
|
1109
|
+
content?: string;
|
|
1110
|
+
name?: string;
|
|
1111
|
+
operation_id?: string;
|
|
1112
|
+
service?: string;
|
|
1113
|
+
type?: string;
|
|
1114
|
+
url?: string;
|
|
1115
|
+
};
|
|
1116
|
+
/** @returns {DataLoaderSourceSchema} */
|
|
1117
|
+
declare function DataLoaderSourceSchema(): DataLoaderSourceSchema;
|
|
1118
|
+
type DataLoaderSourceSchema = {
|
|
1119
|
+
id?: string;
|
|
1120
|
+
type?: string;
|
|
1121
|
+
};
|
|
1122
|
+
/** @returns {DataLoadersSchema} */
|
|
1123
|
+
declare function DataLoadersSchema(): DataLoadersSchema;
|
|
1124
|
+
type DataLoadersSchema = {
|
|
1125
|
+
items?: DataLoaderSchema[];
|
|
1126
|
+
};
|
|
1127
|
+
/** @returns {DateMeta} */
|
|
1128
|
+
declare function DateMeta(): DateMeta;
|
|
1129
|
+
type DateMeta = {
|
|
1130
|
+
created_on?: string;
|
|
1131
|
+
modified_on?: string;
|
|
1132
|
+
};
|
|
1133
|
+
/** @returns {DefaultNavigationResponse} */
|
|
1134
|
+
declare function DefaultNavigationResponse(): DefaultNavigationResponse;
|
|
1135
|
+
type DefaultNavigationResponse = {
|
|
1136
|
+
items?: NavigationSchema[];
|
|
1137
|
+
};
|
|
1138
|
+
/** @returns {Detail} */
|
|
1139
|
+
declare function Detail(): Detail;
|
|
1140
|
+
type Detail = {
|
|
1141
|
+
description?: string;
|
|
1142
|
+
image_url?: string;
|
|
1143
|
+
title?: string;
|
|
1144
|
+
};
|
|
1145
|
+
/** @returns {EditorMeta} */
|
|
1146
|
+
declare function EditorMeta(): EditorMeta;
|
|
1147
|
+
type EditorMeta = {
|
|
1148
|
+
background_color?: string;
|
|
1149
|
+
content?: string;
|
|
1150
|
+
content_type?: string;
|
|
1151
|
+
foreground_color?: string;
|
|
1152
|
+
};
|
|
1153
|
+
/** @returns {EmailProperties} */
|
|
1154
|
+
declare function EmailProperties(): EmailProperties;
|
|
1155
|
+
type EmailProperties = {
|
|
1156
|
+
key?: string;
|
|
1157
|
+
value?: string;
|
|
1158
|
+
};
|
|
1159
|
+
/** @returns {EmailSchema} */
|
|
1160
|
+
declare function EmailSchema(): EmailSchema;
|
|
1161
|
+
type EmailSchema = {
|
|
1162
|
+
active?: boolean;
|
|
1163
|
+
email?: EmailProperties[];
|
|
1164
|
+
};
|
|
1165
|
+
/** @returns {FAQ} */
|
|
1166
|
+
declare function FAQ(): FAQ;
|
|
1167
|
+
type FAQ = {
|
|
1168
|
+
answer?: string;
|
|
1169
|
+
question?: string;
|
|
1170
|
+
slug?: string;
|
|
1171
|
+
};
|
|
1172
|
+
/** @returns {FAQCategorySchema} */
|
|
1173
|
+
declare function FAQCategorySchema(): FAQCategorySchema;
|
|
1174
|
+
type FAQCategorySchema = {
|
|
1175
|
+
_custom_json?: any;
|
|
1176
|
+
_id?: string;
|
|
1177
|
+
application?: string;
|
|
1178
|
+
children?: ChildrenSchema[];
|
|
1179
|
+
description?: string;
|
|
1180
|
+
icon_url?: string;
|
|
1181
|
+
index?: number;
|
|
1182
|
+
slug?: string;
|
|
1183
|
+
title?: string;
|
|
1184
|
+
};
|
|
1185
|
+
/** @returns {FaqResponseSchema} */
|
|
1186
|
+
declare function FaqResponseSchema(): FaqResponseSchema;
|
|
1187
|
+
type FaqResponseSchema = {
|
|
1188
|
+
faqs?: FaqSchema[];
|
|
1189
|
+
};
|
|
1190
|
+
/** @returns {FaqSchema} */
|
|
1191
|
+
declare function FaqSchema(): FaqSchema;
|
|
1192
|
+
type FaqSchema = {
|
|
1193
|
+
_id?: string;
|
|
1194
|
+
answer?: string;
|
|
1195
|
+
application?: string;
|
|
1196
|
+
question?: string;
|
|
1197
|
+
slug?: string;
|
|
1198
|
+
tags?: string[];
|
|
1199
|
+
};
|
|
1200
|
+
/** @returns {FeatureImage} */
|
|
1201
|
+
declare function FeatureImage(): FeatureImage;
|
|
1202
|
+
type FeatureImage = {
|
|
1203
|
+
secure_url?: string;
|
|
1204
|
+
};
|
|
1205
|
+
/** @returns {GeneratedSEOContent} */
|
|
1206
|
+
declare function GeneratedSEOContent(): GeneratedSEOContent;
|
|
1207
|
+
type GeneratedSEOContent = {
|
|
1208
|
+
description?: string;
|
|
1209
|
+
title?: string;
|
|
1210
|
+
};
|
|
1211
|
+
/** @returns {GenerateSEOContent} */
|
|
1212
|
+
declare function GenerateSEOContent(): GenerateSEOContent;
|
|
1213
|
+
type GenerateSEOContent = {
|
|
1214
|
+
existing_text?: string;
|
|
1215
|
+
keywords?: string[];
|
|
1216
|
+
text?: string;
|
|
1217
|
+
type?: string;
|
|
1218
|
+
};
|
|
1219
|
+
/** @returns {GetAnnouncementListSchema} */
|
|
1220
|
+
declare function GetAnnouncementListSchema(): GetAnnouncementListSchema;
|
|
1221
|
+
type GetAnnouncementListSchema = {
|
|
1222
|
+
items?: AdminAnnouncementSchema[];
|
|
1223
|
+
page?: Page;
|
|
1224
|
+
};
|
|
1225
|
+
/** @returns {GetFaqCategoriesSchema} */
|
|
1226
|
+
declare function GetFaqCategoriesSchema(): GetFaqCategoriesSchema;
|
|
1227
|
+
type GetFaqCategoriesSchema = {
|
|
1228
|
+
categories?: CategorySchema[];
|
|
1229
|
+
};
|
|
1230
|
+
/** @returns {GetFaqCategoryBySlugSchema} */
|
|
1231
|
+
declare function GetFaqCategoryBySlugSchema(): GetFaqCategoryBySlugSchema;
|
|
1232
|
+
type GetFaqCategoryBySlugSchema = {
|
|
1233
|
+
category?: FAQCategorySchema;
|
|
1234
|
+
};
|
|
1235
|
+
/** @returns {GetFaqSchema} */
|
|
1236
|
+
declare function GetFaqSchema(): GetFaqSchema;
|
|
1237
|
+
type GetFaqSchema = {
|
|
1238
|
+
faqs?: FaqSchema[];
|
|
1239
|
+
};
|
|
1240
|
+
/** @returns {HandpickedTagSchema} */
|
|
1241
|
+
declare function HandpickedTagSchema(): HandpickedTagSchema;
|
|
1242
|
+
type HandpickedTagSchema = {
|
|
1243
|
+
attributes?: any;
|
|
1244
|
+
content?: string;
|
|
1245
|
+
name?: string;
|
|
1246
|
+
position?: string;
|
|
1247
|
+
sub_type?: string;
|
|
1248
|
+
type?: string;
|
|
1249
|
+
url?: string;
|
|
1250
|
+
};
|
|
1251
|
+
/** @returns {LandingPage} */
|
|
1252
|
+
declare function LandingPage(): LandingPage;
|
|
1253
|
+
type LandingPage = {
|
|
1254
|
+
data?: LandingPageSchema;
|
|
1255
|
+
success?: boolean;
|
|
1256
|
+
};
|
|
1257
|
+
/** @returns {LandingPageGetResponse} */
|
|
1258
|
+
declare function LandingPageGetResponse(): LandingPageGetResponse;
|
|
1259
|
+
type LandingPageGetResponse = {
|
|
1260
|
+
items?: LandingPageSchema[];
|
|
1261
|
+
page?: Page;
|
|
1262
|
+
};
|
|
1263
|
+
/** @returns {LandingPageSchema} */
|
|
1264
|
+
declare function LandingPageSchema(): LandingPageSchema;
|
|
1265
|
+
type LandingPageSchema = {
|
|
1266
|
+
_custom_json?: any;
|
|
1267
|
+
_id?: string;
|
|
1268
|
+
action?: Action;
|
|
1269
|
+
application?: string;
|
|
1270
|
+
archived?: boolean;
|
|
1271
|
+
created_by?: CreatedBySchema;
|
|
1272
|
+
date_meta?: DateMeta;
|
|
1273
|
+
platform?: string[];
|
|
1274
|
+
slug?: string;
|
|
1275
|
+
};
|
|
1276
|
+
/** @returns {Language} */
|
|
1277
|
+
declare function Language(): Language;
|
|
1278
|
+
type Language = {
|
|
1279
|
+
display?: string;
|
|
1280
|
+
};
|
|
1281
|
+
/** @returns {LocaleLanguage} */
|
|
1282
|
+
declare function LocaleLanguage(): LocaleLanguage;
|
|
1283
|
+
type LocaleLanguage = {
|
|
1284
|
+
ar?: Language;
|
|
1285
|
+
en_us?: Language;
|
|
1286
|
+
hi?: Language;
|
|
1287
|
+
};
|
|
1288
|
+
/** @returns {Navigation} */
|
|
1289
|
+
declare function Navigation(): Navigation;
|
|
1290
|
+
type Navigation = {
|
|
1291
|
+
_id?: string;
|
|
1292
|
+
application?: string;
|
|
1293
|
+
created_by?: CreatedBySchema;
|
|
1294
|
+
date_meta?: DateMeta;
|
|
1295
|
+
name?: string;
|
|
1296
|
+
navigation?: NavigationReference;
|
|
1297
|
+
orientation?: string;
|
|
1298
|
+
platform?: string;
|
|
1299
|
+
position?: string;
|
|
1300
|
+
slug?: string;
|
|
1301
|
+
};
|
|
1302
|
+
/** @returns {NavigationGetResponse} */
|
|
1303
|
+
declare function NavigationGetResponse(): NavigationGetResponse;
|
|
1304
|
+
type NavigationGetResponse = {
|
|
1305
|
+
items?: NavigationSchema[];
|
|
1306
|
+
page?: Page;
|
|
1307
|
+
};
|
|
1308
|
+
/** @returns {NavigationReference} */
|
|
1309
|
+
declare function NavigationReference(): NavigationReference;
|
|
1310
|
+
type NavigationReference = {
|
|
1311
|
+
_locale_language?: LocaleLanguage;
|
|
1312
|
+
acl?: string[];
|
|
1313
|
+
action?: Action;
|
|
1314
|
+
active?: boolean;
|
|
1315
|
+
display?: string;
|
|
1316
|
+
image?: string;
|
|
1317
|
+
sort_order?: number;
|
|
1318
|
+
sub_navigation?: NavigationReference[];
|
|
1319
|
+
tags?: string[];
|
|
1320
|
+
type?: string;
|
|
1321
|
+
};
|
|
1322
|
+
/** @returns {NavigationRequest} */
|
|
1323
|
+
declare function NavigationRequest(): NavigationRequest;
|
|
1324
|
+
type NavigationRequest = {
|
|
1325
|
+
name?: string;
|
|
1326
|
+
navigation?: NavigationReference[];
|
|
1327
|
+
orientation?: Orientation;
|
|
1328
|
+
platform?: string[];
|
|
1329
|
+
slug?: string;
|
|
1330
|
+
};
|
|
1331
|
+
/** @returns {NavigationSchema} */
|
|
1332
|
+
declare function NavigationSchema(): NavigationSchema;
|
|
1333
|
+
type NavigationSchema = {
|
|
1334
|
+
_id?: string;
|
|
1335
|
+
application?: string;
|
|
1336
|
+
archived?: boolean;
|
|
1337
|
+
created_by?: CreatedBySchema;
|
|
1338
|
+
date_meta?: DateMeta;
|
|
1339
|
+
name?: string;
|
|
1340
|
+
navigation?: NavigationReference[];
|
|
1341
|
+
orientation?: Orientation;
|
|
1342
|
+
platform?: string[];
|
|
1343
|
+
slug?: string;
|
|
1344
|
+
version?: number;
|
|
1345
|
+
};
|
|
1346
|
+
/** @returns {NextSchedule} */
|
|
1347
|
+
declare function NextSchedule(): NextSchedule;
|
|
1348
|
+
type NextSchedule = {
|
|
1349
|
+
end?: string;
|
|
1350
|
+
start?: string;
|
|
1351
|
+
};
|
|
1352
|
+
/** @returns {Orientation} */
|
|
1353
|
+
declare function Orientation(): Orientation;
|
|
1354
|
+
type Orientation = {
|
|
1355
|
+
landscape?: string[];
|
|
1356
|
+
portrait?: string[];
|
|
1357
|
+
};
|
|
1358
|
+
/** @returns {Page} */
|
|
1359
|
+
declare function Page(): Page;
|
|
1360
|
+
type Page = {
|
|
1361
|
+
current?: number;
|
|
1362
|
+
has_next?: boolean;
|
|
1363
|
+
has_previous?: boolean;
|
|
1364
|
+
item_total?: number;
|
|
1365
|
+
next_id?: string;
|
|
1366
|
+
size?: number;
|
|
1367
|
+
type: string;
|
|
1368
|
+
};
|
|
1369
|
+
/** @returns {PageContent} */
|
|
1370
|
+
declare function PageContent(): PageContent;
|
|
1371
|
+
type PageContent = {
|
|
1372
|
+
type?: string;
|
|
1373
|
+
value?: any;
|
|
1374
|
+
};
|
|
1375
|
+
/** @returns {PageGetResponse} */
|
|
1376
|
+
declare function PageGetResponse(): PageGetResponse;
|
|
1377
|
+
type PageGetResponse = {
|
|
1378
|
+
items?: PageSchema[];
|
|
1379
|
+
page?: Page;
|
|
1380
|
+
};
|
|
1381
|
+
/** @returns {PageMeta} */
|
|
1382
|
+
declare function PageMeta(): PageMeta;
|
|
1383
|
+
type PageMeta = {
|
|
1384
|
+
key?: string;
|
|
1385
|
+
value?: any;
|
|
1386
|
+
};
|
|
1387
|
+
/** @returns {PageMetaSchema} */
|
|
1388
|
+
declare function PageMetaSchema(): PageMetaSchema;
|
|
1389
|
+
type PageMetaSchema = {
|
|
1390
|
+
application_id?: string;
|
|
1391
|
+
custom_pages?: PageSchema[];
|
|
1392
|
+
system_pages?: NavigationSchema[];
|
|
1393
|
+
};
|
|
1394
|
+
/** @returns {PagePublishRequest} */
|
|
1395
|
+
declare function PagePublishRequest(): PagePublishRequest;
|
|
1396
|
+
type PagePublishRequest = {
|
|
1397
|
+
publish?: boolean;
|
|
1398
|
+
};
|
|
1399
|
+
/** @returns {PageRequest} */
|
|
1400
|
+
declare function PageRequest(): PageRequest;
|
|
1401
|
+
type PageRequest = {
|
|
1402
|
+
_custom_json?: any;
|
|
1403
|
+
_schedule?: CronSchedule;
|
|
1404
|
+
application?: string;
|
|
1405
|
+
author?: Author;
|
|
1406
|
+
content?: any[];
|
|
1407
|
+
feature_image?: Asset;
|
|
1408
|
+
orientation?: string;
|
|
1409
|
+
published?: boolean;
|
|
1410
|
+
reading_time?: string;
|
|
1411
|
+
seo?: SEO;
|
|
1412
|
+
slug?: string;
|
|
1413
|
+
tags?: string[];
|
|
1414
|
+
title?: string;
|
|
1415
|
+
};
|
|
1416
|
+
/** @returns {PageSchema} */
|
|
1417
|
+
declare function PageSchema(): PageSchema;
|
|
1418
|
+
type PageSchema = {
|
|
1419
|
+
_custom_json?: any;
|
|
1420
|
+
_id?: string;
|
|
1421
|
+
_schedule?: ScheduleSchema;
|
|
1422
|
+
application?: string;
|
|
1423
|
+
archived?: boolean;
|
|
1424
|
+
/**
|
|
1425
|
+
* - Components can be used to store
|
|
1426
|
+
* multiple components
|
|
1427
|
+
*/
|
|
1428
|
+
component_ids?: string[];
|
|
1429
|
+
content?: any[];
|
|
1430
|
+
content_path?: string;
|
|
1431
|
+
created_by?: CreatedBySchema;
|
|
1432
|
+
date_meta?: DateMeta;
|
|
1433
|
+
description?: string;
|
|
1434
|
+
feature_image?: Asset;
|
|
1435
|
+
orientation?: string;
|
|
1436
|
+
page_meta?: any[];
|
|
1437
|
+
platform?: string;
|
|
1438
|
+
published?: boolean;
|
|
1439
|
+
seo?: SEO;
|
|
1440
|
+
slug?: string;
|
|
1441
|
+
tags?: string[];
|
|
1442
|
+
title?: string;
|
|
1443
|
+
type?: string;
|
|
1444
|
+
visibility?: any;
|
|
1445
|
+
};
|
|
1446
|
+
/** @returns {PageSpec} */
|
|
1447
|
+
declare function PageSpec(): PageSpec;
|
|
1448
|
+
type PageSpec = {
|
|
1449
|
+
specifications?: any[];
|
|
1450
|
+
};
|
|
1451
|
+
/** @returns {PageSpecItem} */
|
|
1452
|
+
declare function PageSpecItem(): PageSpecItem;
|
|
1453
|
+
type PageSpecItem = {
|
|
1454
|
+
display_name?: string;
|
|
1455
|
+
page_type?: string;
|
|
1456
|
+
params?: PageSpecParam[];
|
|
1457
|
+
query?: PageSpecParam[];
|
|
1458
|
+
};
|
|
1459
|
+
/** @returns {PageSpecParam} */
|
|
1460
|
+
declare function PageSpecParam(): PageSpecParam;
|
|
1461
|
+
type PageSpecParam = {
|
|
1462
|
+
key?: string;
|
|
1463
|
+
required?: boolean;
|
|
1464
|
+
};
|
|
1465
|
+
/** @returns {PathMappingSchema} */
|
|
1466
|
+
declare function PathMappingSchema(): PathMappingSchema;
|
|
1467
|
+
type PathMappingSchema = {
|
|
1468
|
+
__source?: PathSourceSchema;
|
|
1469
|
+
_id?: string;
|
|
1470
|
+
application?: string;
|
|
1471
|
+
created_at?: string;
|
|
1472
|
+
redirect_from?: string;
|
|
1473
|
+
redirect_to?: string;
|
|
1474
|
+
updated_at?: string;
|
|
1475
|
+
};
|
|
1476
|
+
/** @returns {PathSourceSchema} */
|
|
1477
|
+
declare function PathSourceSchema(): PathSourceSchema;
|
|
1478
|
+
type PathSourceSchema = {
|
|
1479
|
+
id?: string;
|
|
1480
|
+
type?: string;
|
|
1481
|
+
};
|
|
1482
|
+
/** @returns {PhoneProperties} */
|
|
1483
|
+
declare function PhoneProperties(): PhoneProperties;
|
|
1484
|
+
type PhoneProperties = {
|
|
1485
|
+
code?: string;
|
|
1486
|
+
key?: string;
|
|
1487
|
+
number?: string;
|
|
1488
|
+
};
|
|
1489
|
+
/** @returns {PhoneSchema} */
|
|
1490
|
+
declare function PhoneSchema(): PhoneSchema;
|
|
1491
|
+
type PhoneSchema = {
|
|
1492
|
+
active?: boolean;
|
|
1493
|
+
phone?: PhoneProperties[];
|
|
1494
|
+
};
|
|
1495
|
+
/** @returns {RemoveHandpickedSchema} */
|
|
1496
|
+
declare function RemoveHandpickedSchema(): RemoveHandpickedSchema;
|
|
1497
|
+
type RemoveHandpickedSchema = {
|
|
1498
|
+
tags?: string[];
|
|
1499
|
+
};
|
|
1500
|
+
/** @returns {ResourceContent} */
|
|
1501
|
+
declare function ResourceContent(): ResourceContent;
|
|
1502
|
+
type ResourceContent = {
|
|
1503
|
+
type?: string;
|
|
1504
|
+
value?: string;
|
|
1505
|
+
};
|
|
1506
|
+
/** @returns {ScheduleSchema} */
|
|
1507
|
+
declare function ScheduleSchema(): ScheduleSchema;
|
|
1508
|
+
type ScheduleSchema = {
|
|
1509
|
+
cron?: string;
|
|
1510
|
+
duration?: number;
|
|
1511
|
+
end?: string;
|
|
1512
|
+
next_schedule?: any[];
|
|
1513
|
+
start?: string;
|
|
1514
|
+
};
|
|
1515
|
+
/** @returns {ScheduleStartSchema} */
|
|
1516
|
+
declare function ScheduleStartSchema(): ScheduleStartSchema;
|
|
1517
|
+
type ScheduleStartSchema = {
|
|
1518
|
+
end?: string;
|
|
1519
|
+
start?: string;
|
|
1520
|
+
};
|
|
1521
|
+
/** @returns {SEO} */
|
|
1522
|
+
declare function SEO(): SEO;
|
|
1523
|
+
type SEO = {
|
|
1524
|
+
description?: string;
|
|
1525
|
+
image?: SEOImage;
|
|
1526
|
+
title?: string;
|
|
1527
|
+
};
|
|
1528
|
+
/** @returns {SeoComponent} */
|
|
1529
|
+
declare function SeoComponent(): SeoComponent;
|
|
1530
|
+
type SeoComponent = {
|
|
1531
|
+
seo?: SeoSchema;
|
|
1532
|
+
};
|
|
1533
|
+
/** @returns {SEOImage} */
|
|
1534
|
+
declare function SEOImage(): SEOImage;
|
|
1535
|
+
type SEOImage = {
|
|
1536
|
+
url?: string;
|
|
1537
|
+
};
|
|
1538
|
+
/** @returns {SeoSchema} */
|
|
1539
|
+
declare function SeoSchema(): SeoSchema;
|
|
1540
|
+
type SeoSchema = {
|
|
1541
|
+
_id?: string;
|
|
1542
|
+
app?: string;
|
|
1543
|
+
cannonical_enabled?: boolean;
|
|
1544
|
+
created_at?: string;
|
|
1545
|
+
custom_meta_tags?: any[];
|
|
1546
|
+
details?: Detail;
|
|
1547
|
+
robots_txt?: string;
|
|
1548
|
+
sitemap_enabled?: boolean;
|
|
1549
|
+
updated_at?: string;
|
|
1550
|
+
};
|
|
1551
|
+
/** @returns {Slideshow} */
|
|
1552
|
+
declare function Slideshow(): Slideshow;
|
|
1553
|
+
type Slideshow = {
|
|
1554
|
+
data?: SlideshowSchema;
|
|
1555
|
+
success?: boolean;
|
|
1556
|
+
};
|
|
1557
|
+
/** @returns {SlideshowGetResponse} */
|
|
1558
|
+
declare function SlideshowGetResponse(): SlideshowGetResponse;
|
|
1559
|
+
type SlideshowGetResponse = {
|
|
1560
|
+
items?: SlideshowSchema[];
|
|
1561
|
+
page?: Page;
|
|
1562
|
+
};
|
|
1563
|
+
/** @returns {SlideshowMedia} */
|
|
1564
|
+
declare function SlideshowMedia(): SlideshowMedia;
|
|
1565
|
+
type SlideshowMedia = {
|
|
1566
|
+
action?: Action;
|
|
1567
|
+
auto_decide_duration?: boolean;
|
|
1568
|
+
bg_color?: string;
|
|
1569
|
+
duration?: number;
|
|
1570
|
+
type?: string;
|
|
1571
|
+
url?: string;
|
|
1572
|
+
};
|
|
1573
|
+
/** @returns {SlideshowRequest} */
|
|
1574
|
+
declare function SlideshowRequest(): SlideshowRequest;
|
|
1575
|
+
type SlideshowRequest = {
|
|
1576
|
+
active?: boolean;
|
|
1577
|
+
configuration?: ConfigurationSchema;
|
|
1578
|
+
media?: SlideshowMedia;
|
|
1579
|
+
platform?: string;
|
|
1580
|
+
slug?: string;
|
|
1581
|
+
};
|
|
1582
|
+
/** @returns {SlideshowSchema} */
|
|
1583
|
+
declare function SlideshowSchema(): SlideshowSchema;
|
|
1584
|
+
type SlideshowSchema = {
|
|
1585
|
+
_custom_json?: any;
|
|
1586
|
+
_id?: string;
|
|
1587
|
+
active?: boolean;
|
|
1588
|
+
application?: string;
|
|
1589
|
+
archived?: boolean;
|
|
1590
|
+
configuration?: ConfigurationSchema;
|
|
1591
|
+
date_meta?: DateMeta;
|
|
1592
|
+
media?: SlideshowMedia[];
|
|
1593
|
+
platform?: string;
|
|
1594
|
+
slug?: string;
|
|
1595
|
+
};
|
|
1596
|
+
/** @returns {Support} */
|
|
1597
|
+
declare function Support(): Support;
|
|
1598
|
+
type Support = {
|
|
1599
|
+
_id?: string;
|
|
1600
|
+
application?: string;
|
|
1601
|
+
config_type?: string;
|
|
1602
|
+
contact?: ContactSchema;
|
|
1603
|
+
created?: boolean;
|
|
1604
|
+
created_at?: string;
|
|
1605
|
+
updated_at?: string;
|
|
1606
|
+
};
|
|
1607
|
+
/** @returns {TagDeleteSuccessResponse} */
|
|
1608
|
+
declare function TagDeleteSuccessResponse(): TagDeleteSuccessResponse;
|
|
1609
|
+
type TagDeleteSuccessResponse = {
|
|
1610
|
+
success?: boolean;
|
|
1611
|
+
};
|
|
1612
|
+
/** @returns {TagSchema} */
|
|
1613
|
+
declare function TagSchema(): TagSchema;
|
|
1614
|
+
type TagSchema = {
|
|
1615
|
+
__source?: TagSourceSchema;
|
|
1616
|
+
_id?: string;
|
|
1617
|
+
attributes?: any;
|
|
1618
|
+
content?: string;
|
|
1619
|
+
name?: string;
|
|
1620
|
+
pages?: any[];
|
|
1621
|
+
position?: string;
|
|
1622
|
+
sub_type?: string;
|
|
1623
|
+
type?: string;
|
|
1624
|
+
url?: string;
|
|
1625
|
+
};
|
|
1626
|
+
/** @returns {TagSourceSchema} */
|
|
1627
|
+
declare function TagSourceSchema(): TagSourceSchema;
|
|
1628
|
+
type TagSourceSchema = {
|
|
1629
|
+
id?: string;
|
|
1630
|
+
type?: string;
|
|
1631
|
+
};
|
|
1632
|
+
/** @returns {TagsSchema} */
|
|
1633
|
+
declare function TagsSchema(): TagsSchema;
|
|
1634
|
+
type TagsSchema = {
|
|
1635
|
+
_id?: string;
|
|
1636
|
+
application?: string;
|
|
1637
|
+
tags?: TagSchema[];
|
|
1638
|
+
};
|
|
1639
|
+
/** @returns {UpdateFaqCategoryRequestSchema} */
|
|
1640
|
+
declare function UpdateFaqCategoryRequestSchema(): UpdateFaqCategoryRequestSchema;
|
|
1641
|
+
type UpdateFaqCategoryRequestSchema = {
|
|
1642
|
+
category?: CategorySchema;
|
|
1643
|
+
};
|
|
1644
|
+
/** @returns {UpdateHandpickedSchema} */
|
|
1645
|
+
declare function UpdateHandpickedSchema(): UpdateHandpickedSchema;
|
|
1646
|
+
type UpdateHandpickedSchema = {
|
|
1647
|
+
tag?: HandpickedTagSchema;
|
|
1648
|
+
};
|
|
1649
|
+
/**
|
|
1650
|
+
* Enum: GenerationEntityType Used By: Content
|
|
1651
|
+
*
|
|
1652
|
+
* @returns {GenerationEntityType}
|
|
1653
|
+
*/
|
|
1654
|
+
declare function GenerationEntityType(): GenerationEntityType;
|
|
1655
|
+
type GenerationEntityType = "title" | "description";
|
|
1656
|
+
/**
|
|
1657
|
+
* Enum: PageType Used By: Content
|
|
1658
|
+
*
|
|
1659
|
+
* @returns {PageType}
|
|
1660
|
+
*/
|
|
1661
|
+
declare function PageType(): PageType;
|
|
1662
|
+
type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
|