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