@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,106 +1,1011 @@
|
|
|
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
|
-
|
|
1
|
+
export = ContentApplicationModel;
|
|
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 AnnouncementSchema
|
|
17
|
+
* @property {string} [announcement]
|
|
18
|
+
* @property {ScheduleStartSchema} [schedule]
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* @typedef AnnouncementsResponseSchema
|
|
22
|
+
* @property {Object} [announcements]
|
|
23
|
+
* @property {string[]} [refresh_pages] - List of page slugs on which
|
|
24
|
+
* announcement should be fetched as soon as they are loaded
|
|
25
|
+
* @property {number} [refresh_rate] - Number of seconds after which api should
|
|
26
|
+
* hit again to fetch new announcements
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef ApplicationLegal
|
|
30
|
+
* @property {string} [_id]
|
|
31
|
+
* @property {string} [application]
|
|
32
|
+
* @property {string} [created_at]
|
|
33
|
+
* @property {ApplicationLegalFAQ[]} [faq]
|
|
34
|
+
* @property {string} [policy]
|
|
35
|
+
* @property {string} [returns]
|
|
36
|
+
* @property {string} [shipping]
|
|
37
|
+
* @property {string} [tnc]
|
|
38
|
+
* @property {string} [updated_at]
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* @typedef ApplicationLegalFAQ
|
|
42
|
+
* @property {string} [answer]
|
|
43
|
+
* @property {string} [question]
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* @typedef Asset
|
|
47
|
+
* @property {string} [aspect_ratio]
|
|
48
|
+
* @property {string} [id]
|
|
49
|
+
* @property {string} [secure_url]
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* @typedef Author
|
|
53
|
+
* @property {string} [designation]
|
|
54
|
+
* @property {string} [id]
|
|
55
|
+
* @property {string} [name]
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* @typedef BlogGetResponse
|
|
59
|
+
* @property {BlogSchema[]} [items]
|
|
60
|
+
* @property {Page} [page]
|
|
61
|
+
*/
|
|
62
|
+
/**
|
|
63
|
+
* @typedef BlogSchema
|
|
64
|
+
* @property {Object} [_custom_json]
|
|
65
|
+
* @property {string} [_id]
|
|
66
|
+
* @property {CronSchedule} [_schedule]
|
|
67
|
+
* @property {string} [application]
|
|
68
|
+
* @property {boolean} [archived]
|
|
69
|
+
* @property {Author} [author]
|
|
70
|
+
* @property {ResourceContent[]} [content]
|
|
71
|
+
* @property {DateMeta} [date_meta]
|
|
72
|
+
* @property {Asset} [feature_image]
|
|
73
|
+
* @property {boolean} [published]
|
|
74
|
+
* @property {string} [reading_time]
|
|
75
|
+
* @property {SEO} [seo]
|
|
76
|
+
* @property {string} [slug]
|
|
77
|
+
* @property {string[]} [tags]
|
|
78
|
+
* @property {string} [title]
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* @typedef CategorySchema
|
|
82
|
+
* @property {Object} [_custom_json]
|
|
83
|
+
* @property {string} [_id]
|
|
84
|
+
* @property {string} [application]
|
|
85
|
+
* @property {string[]} [children]
|
|
86
|
+
* @property {string} [description]
|
|
87
|
+
* @property {string} [icon_url]
|
|
88
|
+
* @property {number} [index]
|
|
89
|
+
* @property {string} [slug]
|
|
90
|
+
* @property {string} [title]
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* @typedef ChildrenSchema
|
|
94
|
+
* @property {string} [_id]
|
|
95
|
+
* @property {string} [answer]
|
|
96
|
+
* @property {string} [application]
|
|
97
|
+
* @property {string} [question]
|
|
98
|
+
* @property {string} [slug]
|
|
99
|
+
*/
|
|
100
|
+
/**
|
|
101
|
+
* @typedef CommonError
|
|
102
|
+
* @property {string} [message]
|
|
103
|
+
*/
|
|
104
|
+
/**
|
|
105
|
+
* @typedef ConfigurationSchema
|
|
106
|
+
* @property {number} [duration]
|
|
107
|
+
* @property {number} [sleep_time]
|
|
108
|
+
* @property {string} [slide_direction]
|
|
109
|
+
* @property {boolean} [start_on_launch]
|
|
110
|
+
*/
|
|
111
|
+
/**
|
|
112
|
+
* @typedef ContactSchema
|
|
113
|
+
* @property {EmailSchema} [email]
|
|
114
|
+
* @property {PhoneSchema} [phone]
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* @typedef ContentAPIError
|
|
118
|
+
* @property {string} [code]
|
|
119
|
+
* @property {string} [exception]
|
|
120
|
+
* @property {string} [info]
|
|
121
|
+
* @property {string} [message]
|
|
122
|
+
* @property {Object} [meta]
|
|
123
|
+
* @property {string} [request_id]
|
|
124
|
+
* @property {string} [stack_trace]
|
|
125
|
+
* @property {number} [status]
|
|
126
|
+
*/
|
|
127
|
+
/**
|
|
128
|
+
* @typedef CreatedBySchema
|
|
129
|
+
* @property {string} [id]
|
|
130
|
+
*/
|
|
131
|
+
/**
|
|
132
|
+
* @typedef CronSchedule
|
|
133
|
+
* @property {string} [cron]
|
|
134
|
+
* @property {number} [duration]
|
|
135
|
+
* @property {string} [end]
|
|
136
|
+
* @property {string} [start]
|
|
137
|
+
*/
|
|
138
|
+
/**
|
|
139
|
+
* @typedef CustomMetaTag
|
|
140
|
+
* @property {string} [_id]
|
|
141
|
+
* @property {string} [content]
|
|
142
|
+
* @property {string} [name]
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* @typedef DataLoaderSchema
|
|
146
|
+
* @property {DataLoaderSourceSchema} [__source]
|
|
147
|
+
* @property {string} [_id]
|
|
148
|
+
* @property {string} [content]
|
|
149
|
+
* @property {string} [name]
|
|
150
|
+
* @property {string} [operation_id]
|
|
151
|
+
* @property {string} [service]
|
|
152
|
+
* @property {string} [type]
|
|
153
|
+
* @property {string} [url]
|
|
154
|
+
*/
|
|
155
|
+
/**
|
|
156
|
+
* @typedef DataLoaderSourceSchema
|
|
157
|
+
* @property {string} [id]
|
|
158
|
+
* @property {string} [type]
|
|
159
|
+
*/
|
|
160
|
+
/**
|
|
161
|
+
* @typedef DataLoadersSchema
|
|
162
|
+
* @property {DataLoaderSchema[]} [items]
|
|
163
|
+
*/
|
|
164
|
+
/**
|
|
165
|
+
* @typedef DateMeta
|
|
166
|
+
* @property {string} [created_on]
|
|
167
|
+
* @property {string} [modified_on]
|
|
168
|
+
*/
|
|
169
|
+
/**
|
|
170
|
+
* @typedef Detail
|
|
171
|
+
* @property {string} [description]
|
|
172
|
+
* @property {string} [image_url]
|
|
173
|
+
* @property {string} [title]
|
|
174
|
+
*/
|
|
175
|
+
/**
|
|
176
|
+
* @typedef EmailProperties
|
|
177
|
+
* @property {string} [key]
|
|
178
|
+
* @property {string} [value]
|
|
179
|
+
*/
|
|
180
|
+
/**
|
|
181
|
+
* @typedef EmailSchema
|
|
182
|
+
* @property {boolean} [active]
|
|
183
|
+
* @property {EmailProperties[]} [email]
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* @typedef FAQCategorySchema
|
|
187
|
+
* @property {Object} [_custom_json]
|
|
188
|
+
* @property {string} [_id]
|
|
189
|
+
* @property {string} [application]
|
|
190
|
+
* @property {ChildrenSchema[]} [children]
|
|
191
|
+
* @property {string} [description]
|
|
192
|
+
* @property {string} [icon_url]
|
|
193
|
+
* @property {number} [index]
|
|
194
|
+
* @property {string} [slug]
|
|
195
|
+
* @property {string} [title]
|
|
196
|
+
*/
|
|
197
|
+
/**
|
|
198
|
+
* @typedef FaqResponseSchema
|
|
199
|
+
* @property {FaqSchema[]} [faqs]
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* @typedef FaqSchema
|
|
203
|
+
* @property {string} [_id]
|
|
204
|
+
* @property {string} [answer]
|
|
205
|
+
* @property {string} [application]
|
|
206
|
+
* @property {string} [question]
|
|
207
|
+
* @property {string} [slug]
|
|
208
|
+
* @property {string[]} [tags]
|
|
209
|
+
*/
|
|
210
|
+
/**
|
|
211
|
+
* @typedef GetFaqCategoriesSchema
|
|
212
|
+
* @property {CategorySchema[]} [categories]
|
|
213
|
+
*/
|
|
214
|
+
/**
|
|
215
|
+
* @typedef GetFaqCategoryBySlugSchema
|
|
216
|
+
* @property {FAQCategorySchema} [category]
|
|
217
|
+
*/
|
|
218
|
+
/**
|
|
219
|
+
* @typedef GetFaqSchema
|
|
220
|
+
* @property {FaqSchema[]} [faqs]
|
|
221
|
+
*/
|
|
222
|
+
/**
|
|
223
|
+
* @typedef LandingPageSchema
|
|
224
|
+
* @property {Object} [_custom_json]
|
|
225
|
+
* @property {string} [_id]
|
|
226
|
+
* @property {Action} [action]
|
|
227
|
+
* @property {string} [application]
|
|
228
|
+
* @property {boolean} [archived]
|
|
229
|
+
* @property {CreatedBySchema} [created_by]
|
|
230
|
+
* @property {DateMeta} [date_meta]
|
|
231
|
+
* @property {string[]} [platform]
|
|
232
|
+
* @property {string} [slug]
|
|
233
|
+
*/
|
|
234
|
+
/**
|
|
235
|
+
* @typedef Language
|
|
236
|
+
* @property {string} [display]
|
|
237
|
+
*/
|
|
238
|
+
/**
|
|
239
|
+
* @typedef LocaleLanguage
|
|
240
|
+
* @property {Language} [ar]
|
|
241
|
+
* @property {Language} [en_us]
|
|
242
|
+
* @property {Language} [hi]
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* @typedef NavigationGetResponse
|
|
246
|
+
* @property {NavigationSchema[]} [items]
|
|
247
|
+
* @property {Page} [page]
|
|
248
|
+
*/
|
|
249
|
+
/**
|
|
250
|
+
* @typedef NavigationReference
|
|
251
|
+
* @property {LocaleLanguage} [_locale_language]
|
|
252
|
+
* @property {string[]} [acl]
|
|
253
|
+
* @property {Action} [action]
|
|
254
|
+
* @property {boolean} [active]
|
|
255
|
+
* @property {string} [display]
|
|
256
|
+
* @property {string} [image]
|
|
257
|
+
* @property {number} [sort_order]
|
|
258
|
+
* @property {NavigationReference[]} [sub_navigation]
|
|
259
|
+
* @property {string[]} [tags]
|
|
260
|
+
* @property {string} [type]
|
|
261
|
+
*/
|
|
262
|
+
/**
|
|
263
|
+
* @typedef NavigationSchema
|
|
264
|
+
* @property {string} [_id]
|
|
265
|
+
* @property {string} [application]
|
|
266
|
+
* @property {boolean} [archived]
|
|
267
|
+
* @property {CreatedBySchema} [created_by]
|
|
268
|
+
* @property {DateMeta} [date_meta]
|
|
269
|
+
* @property {string} [name]
|
|
270
|
+
* @property {NavigationReference[]} [navigation]
|
|
271
|
+
* @property {Orientation} [orientation]
|
|
272
|
+
* @property {string[]} [platform]
|
|
273
|
+
* @property {string} [slug]
|
|
274
|
+
* @property {number} [version]
|
|
275
|
+
*/
|
|
276
|
+
/**
|
|
277
|
+
* @typedef NextSchedule
|
|
278
|
+
* @property {string} [end]
|
|
279
|
+
* @property {string} [start]
|
|
280
|
+
*/
|
|
281
|
+
/**
|
|
282
|
+
* @typedef Orientation
|
|
283
|
+
* @property {string[]} [landscape]
|
|
284
|
+
* @property {string[]} [portrait]
|
|
285
|
+
*/
|
|
286
|
+
/**
|
|
287
|
+
* @typedef Page
|
|
288
|
+
* @property {number} [current]
|
|
289
|
+
* @property {boolean} [has_next]
|
|
290
|
+
* @property {boolean} [has_previous]
|
|
291
|
+
* @property {number} [item_total]
|
|
292
|
+
* @property {string} [next_id]
|
|
293
|
+
* @property {number} [size]
|
|
294
|
+
* @property {string} type
|
|
295
|
+
*/
|
|
296
|
+
/**
|
|
297
|
+
* @typedef PageGetResponse
|
|
298
|
+
* @property {PageSchema[]} [items]
|
|
299
|
+
* @property {Page} [page]
|
|
300
|
+
*/
|
|
301
|
+
/**
|
|
302
|
+
* @typedef PageSchema
|
|
303
|
+
* @property {Object} [_custom_json]
|
|
304
|
+
* @property {string} [_id]
|
|
305
|
+
* @property {ScheduleSchema} [_schedule]
|
|
306
|
+
* @property {string} [application]
|
|
307
|
+
* @property {boolean} [archived]
|
|
308
|
+
* @property {string[]} [component_ids] - Components can be used to store
|
|
309
|
+
* multiple components
|
|
310
|
+
* @property {Object[]} [content]
|
|
311
|
+
* @property {string} [content_path]
|
|
312
|
+
* @property {CreatedBySchema} [created_by]
|
|
313
|
+
* @property {DateMeta} [date_meta]
|
|
314
|
+
* @property {string} [description]
|
|
315
|
+
* @property {Asset} [feature_image]
|
|
316
|
+
* @property {string} [orientation]
|
|
317
|
+
* @property {Object[]} [page_meta]
|
|
318
|
+
* @property {string} [platform]
|
|
319
|
+
* @property {boolean} [published]
|
|
320
|
+
* @property {SEO} [seo]
|
|
321
|
+
* @property {string} [slug]
|
|
322
|
+
* @property {string[]} [tags]
|
|
323
|
+
* @property {string} [title]
|
|
324
|
+
* @property {string} [type]
|
|
325
|
+
* @property {Object} [visibility]
|
|
326
|
+
*/
|
|
327
|
+
/**
|
|
328
|
+
* @typedef PhoneProperties
|
|
329
|
+
* @property {string} [code]
|
|
330
|
+
* @property {string} [key]
|
|
331
|
+
* @property {string} [number]
|
|
332
|
+
*/
|
|
333
|
+
/**
|
|
334
|
+
* @typedef PhoneSchema
|
|
335
|
+
* @property {boolean} [active]
|
|
336
|
+
* @property {PhoneProperties[]} [phone]
|
|
337
|
+
*/
|
|
338
|
+
/**
|
|
339
|
+
* @typedef ResourceContent
|
|
340
|
+
* @property {string} [type]
|
|
341
|
+
* @property {string} [value]
|
|
342
|
+
*/
|
|
343
|
+
/**
|
|
344
|
+
* @typedef ScheduleSchema
|
|
345
|
+
* @property {string} [cron]
|
|
346
|
+
* @property {number} [duration]
|
|
347
|
+
* @property {string} [end]
|
|
348
|
+
* @property {NextSchedule[]} [next_schedule]
|
|
349
|
+
* @property {string} [start]
|
|
350
|
+
*/
|
|
351
|
+
/**
|
|
352
|
+
* @typedef ScheduleStartSchema
|
|
353
|
+
* @property {string} [end]
|
|
354
|
+
* @property {string} [start]
|
|
355
|
+
*/
|
|
356
|
+
/**
|
|
357
|
+
* @typedef SEO
|
|
358
|
+
* @property {string} [description]
|
|
359
|
+
* @property {SEOImage} [image]
|
|
360
|
+
* @property {string} [title]
|
|
361
|
+
*/
|
|
362
|
+
/**
|
|
363
|
+
* @typedef SeoComponent
|
|
364
|
+
* @property {SeoSchema} [seo]
|
|
365
|
+
*/
|
|
366
|
+
/**
|
|
367
|
+
* @typedef SEOImage
|
|
368
|
+
* @property {string} [url]
|
|
369
|
+
*/
|
|
370
|
+
/**
|
|
371
|
+
* @typedef SeoSchema
|
|
372
|
+
* @property {string} [_id]
|
|
373
|
+
* @property {string} [app]
|
|
374
|
+
* @property {boolean} [cannonical_enabled]
|
|
375
|
+
* @property {string} [created_at]
|
|
376
|
+
* @property {CustomMetaTag[]} [custom_meta_tags]
|
|
377
|
+
* @property {Detail} [details]
|
|
378
|
+
* @property {string} [robots_txt]
|
|
379
|
+
* @property {boolean} [sitemap_enabled]
|
|
380
|
+
* @property {string} [updated_at]
|
|
381
|
+
*/
|
|
382
|
+
/**
|
|
383
|
+
* @typedef SlideshowGetResponse
|
|
384
|
+
* @property {SlideshowSchema[]} [items]
|
|
385
|
+
* @property {Page} [page]
|
|
386
|
+
*/
|
|
387
|
+
/**
|
|
388
|
+
* @typedef SlideshowMedia
|
|
389
|
+
* @property {Action} [action]
|
|
390
|
+
* @property {boolean} [auto_decide_duration]
|
|
391
|
+
* @property {string} [bg_color]
|
|
392
|
+
* @property {number} [duration]
|
|
393
|
+
* @property {string} [type]
|
|
394
|
+
* @property {string} [url]
|
|
395
|
+
*/
|
|
396
|
+
/**
|
|
397
|
+
* @typedef SlideshowSchema
|
|
398
|
+
* @property {Object} [_custom_json]
|
|
399
|
+
* @property {string} [_id]
|
|
400
|
+
* @property {boolean} [active]
|
|
401
|
+
* @property {string} [application]
|
|
402
|
+
* @property {boolean} [archived]
|
|
403
|
+
* @property {ConfigurationSchema} [configuration]
|
|
404
|
+
* @property {DateMeta} [date_meta]
|
|
405
|
+
* @property {SlideshowMedia[]} [media]
|
|
406
|
+
* @property {string} [platform]
|
|
407
|
+
* @property {string} [slug]
|
|
408
|
+
*/
|
|
409
|
+
/**
|
|
410
|
+
* @typedef Support
|
|
411
|
+
* @property {string} [_id]
|
|
412
|
+
* @property {string} [application]
|
|
413
|
+
* @property {string} [config_type]
|
|
414
|
+
* @property {ContactSchema} [contact]
|
|
415
|
+
* @property {boolean} [created]
|
|
416
|
+
* @property {string} [created_at]
|
|
417
|
+
* @property {string} [updated_at]
|
|
418
|
+
*/
|
|
419
|
+
/**
|
|
420
|
+
* @typedef TagSchema
|
|
421
|
+
* @property {TagSourceSchema} [__source]
|
|
422
|
+
* @property {string} [_id]
|
|
423
|
+
* @property {Object} [attributes]
|
|
424
|
+
* @property {string} [content]
|
|
425
|
+
* @property {string} [name]
|
|
426
|
+
* @property {Object[]} [pages]
|
|
427
|
+
* @property {string} [position]
|
|
428
|
+
* @property {string} [sub_type]
|
|
429
|
+
* @property {string} [type]
|
|
430
|
+
* @property {string} [url]
|
|
431
|
+
*/
|
|
432
|
+
/**
|
|
433
|
+
* @typedef TagSourceSchema
|
|
434
|
+
* @property {string} [id]
|
|
435
|
+
* @property {string} [type]
|
|
436
|
+
*/
|
|
437
|
+
/**
|
|
438
|
+
* @typedef TagsSchema
|
|
439
|
+
* @property {string} [_id]
|
|
440
|
+
* @property {string} [application]
|
|
441
|
+
* @property {TagSchema[]} [tags]
|
|
442
|
+
*/
|
|
443
|
+
/**
|
|
444
|
+
* @typedef {| "about-us"
|
|
445
|
+
* | "addresses"
|
|
446
|
+
* | "blog"
|
|
447
|
+
* | "brands"
|
|
448
|
+
* | "cards"
|
|
449
|
+
* | "cart"
|
|
450
|
+
* | "categories"
|
|
451
|
+
* | "brand"
|
|
452
|
+
* | "category"
|
|
453
|
+
* | "collection"
|
|
454
|
+
* | "collections"
|
|
455
|
+
* | "contact-us"
|
|
456
|
+
* | "external"
|
|
457
|
+
* | "faq"
|
|
458
|
+
* | "freshchat"
|
|
459
|
+
* | "home"
|
|
460
|
+
* | "notification-settings"
|
|
461
|
+
* | "orders"
|
|
462
|
+
* | "page"
|
|
463
|
+
* | "policy"
|
|
464
|
+
* | "product"
|
|
465
|
+
* | "product-request"
|
|
466
|
+
* | "products"
|
|
467
|
+
* | "profile"
|
|
468
|
+
* | "profile-order-shipment"
|
|
469
|
+
* | "profile-basic"
|
|
470
|
+
* | "profile-company"
|
|
471
|
+
* | "profile-emails"
|
|
472
|
+
* | "profile-phones"
|
|
473
|
+
* | "rate-us"
|
|
474
|
+
* | "refer-earn"
|
|
475
|
+
* | "settings"
|
|
476
|
+
* | "shared-cart"
|
|
477
|
+
* | "tnc"
|
|
478
|
+
* | "track-order"
|
|
479
|
+
* | "wishlist"
|
|
480
|
+
* | "sections"
|
|
481
|
+
* | "form"
|
|
482
|
+
* | "cart-delivery"
|
|
483
|
+
* | "cart-payment"
|
|
484
|
+
* | "cart-review"
|
|
485
|
+
* | "login"
|
|
486
|
+
* | "register"
|
|
487
|
+
* | "shipping-policy"
|
|
488
|
+
* | "return-policy"
|
|
489
|
+
* | "order-status"} PageType
|
|
490
|
+
*/
|
|
491
|
+
declare class ContentApplicationModel {
|
|
106
492
|
}
|
|
493
|
+
declare namespace ContentApplicationModel {
|
|
494
|
+
export { Action, ActionPage, AnnouncementSchema, AnnouncementsResponseSchema, ApplicationLegal, ApplicationLegalFAQ, Asset, Author, BlogGetResponse, BlogSchema, CategorySchema, ChildrenSchema, CommonError, ConfigurationSchema, ContactSchema, ContentAPIError, CreatedBySchema, CronSchedule, CustomMetaTag, DataLoaderSchema, DataLoaderSourceSchema, DataLoadersSchema, DateMeta, Detail, EmailProperties, EmailSchema, FAQCategorySchema, FaqResponseSchema, FaqSchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, GetFaqSchema, LandingPageSchema, Language, LocaleLanguage, NavigationGetResponse, NavigationReference, NavigationSchema, NextSchedule, Orientation, Page, PageGetResponse, PageSchema, PhoneProperties, PhoneSchema, ResourceContent, ScheduleSchema, ScheduleStartSchema, SEO, SeoComponent, SEOImage, SeoSchema, SlideshowGetResponse, SlideshowMedia, SlideshowSchema, Support, TagSchema, TagSourceSchema, TagsSchema, PageType };
|
|
495
|
+
}
|
|
496
|
+
/** @returns {Action} */
|
|
497
|
+
declare function Action(): Action;
|
|
498
|
+
type Action = {
|
|
499
|
+
page?: ActionPage;
|
|
500
|
+
popup?: ActionPage;
|
|
501
|
+
type?: string;
|
|
502
|
+
};
|
|
503
|
+
/** @returns {ActionPage} */
|
|
504
|
+
declare function ActionPage(): ActionPage;
|
|
505
|
+
type ActionPage = {
|
|
506
|
+
params?: any;
|
|
507
|
+
query?: any;
|
|
508
|
+
type: PageType;
|
|
509
|
+
url?: string;
|
|
510
|
+
};
|
|
511
|
+
/** @returns {AnnouncementSchema} */
|
|
512
|
+
declare function AnnouncementSchema(): AnnouncementSchema;
|
|
513
|
+
type AnnouncementSchema = {
|
|
514
|
+
announcement?: string;
|
|
515
|
+
schedule?: ScheduleStartSchema;
|
|
516
|
+
};
|
|
517
|
+
/** @returns {AnnouncementsResponseSchema} */
|
|
518
|
+
declare function AnnouncementsResponseSchema(): AnnouncementsResponseSchema;
|
|
519
|
+
type AnnouncementsResponseSchema = {
|
|
520
|
+
announcements?: any;
|
|
521
|
+
/**
|
|
522
|
+
* - List of page slugs on which
|
|
523
|
+
* announcement should be fetched as soon as they are loaded
|
|
524
|
+
*/
|
|
525
|
+
refresh_pages?: string[];
|
|
526
|
+
/**
|
|
527
|
+
* - Number of seconds after which api should
|
|
528
|
+
* hit again to fetch new announcements
|
|
529
|
+
*/
|
|
530
|
+
refresh_rate?: number;
|
|
531
|
+
};
|
|
532
|
+
/** @returns {ApplicationLegal} */
|
|
533
|
+
declare function ApplicationLegal(): ApplicationLegal;
|
|
534
|
+
type ApplicationLegal = {
|
|
535
|
+
_id?: string;
|
|
536
|
+
application?: string;
|
|
537
|
+
created_at?: string;
|
|
538
|
+
faq?: ApplicationLegalFAQ[];
|
|
539
|
+
policy?: string;
|
|
540
|
+
returns?: string;
|
|
541
|
+
shipping?: string;
|
|
542
|
+
tnc?: string;
|
|
543
|
+
updated_at?: string;
|
|
544
|
+
};
|
|
545
|
+
/** @returns {ApplicationLegalFAQ} */
|
|
546
|
+
declare function ApplicationLegalFAQ(): ApplicationLegalFAQ;
|
|
547
|
+
type ApplicationLegalFAQ = {
|
|
548
|
+
answer?: string;
|
|
549
|
+
question?: string;
|
|
550
|
+
};
|
|
551
|
+
/** @returns {Asset} */
|
|
552
|
+
declare function Asset(): Asset;
|
|
553
|
+
type Asset = {
|
|
554
|
+
aspect_ratio?: string;
|
|
555
|
+
id?: string;
|
|
556
|
+
secure_url?: string;
|
|
557
|
+
};
|
|
558
|
+
/** @returns {Author} */
|
|
559
|
+
declare function Author(): Author;
|
|
560
|
+
type Author = {
|
|
561
|
+
designation?: string;
|
|
562
|
+
id?: string;
|
|
563
|
+
name?: string;
|
|
564
|
+
};
|
|
565
|
+
/** @returns {BlogGetResponse} */
|
|
566
|
+
declare function BlogGetResponse(): BlogGetResponse;
|
|
567
|
+
type BlogGetResponse = {
|
|
568
|
+
items?: BlogSchema[];
|
|
569
|
+
page?: Page;
|
|
570
|
+
};
|
|
571
|
+
/** @returns {BlogSchema} */
|
|
572
|
+
declare function BlogSchema(): BlogSchema;
|
|
573
|
+
type BlogSchema = {
|
|
574
|
+
_custom_json?: any;
|
|
575
|
+
_id?: string;
|
|
576
|
+
_schedule?: CronSchedule;
|
|
577
|
+
application?: string;
|
|
578
|
+
archived?: boolean;
|
|
579
|
+
author?: Author;
|
|
580
|
+
content?: ResourceContent[];
|
|
581
|
+
date_meta?: DateMeta;
|
|
582
|
+
feature_image?: Asset;
|
|
583
|
+
published?: boolean;
|
|
584
|
+
reading_time?: string;
|
|
585
|
+
seo?: SEO;
|
|
586
|
+
slug?: string;
|
|
587
|
+
tags?: string[];
|
|
588
|
+
title?: string;
|
|
589
|
+
};
|
|
590
|
+
/** @returns {CategorySchema} */
|
|
591
|
+
declare function CategorySchema(): CategorySchema;
|
|
592
|
+
type CategorySchema = {
|
|
593
|
+
_custom_json?: any;
|
|
594
|
+
_id?: string;
|
|
595
|
+
application?: string;
|
|
596
|
+
children?: string[];
|
|
597
|
+
description?: string;
|
|
598
|
+
icon_url?: string;
|
|
599
|
+
index?: number;
|
|
600
|
+
slug?: string;
|
|
601
|
+
title?: string;
|
|
602
|
+
};
|
|
603
|
+
/** @returns {ChildrenSchema} */
|
|
604
|
+
declare function ChildrenSchema(): ChildrenSchema;
|
|
605
|
+
type ChildrenSchema = {
|
|
606
|
+
_id?: string;
|
|
607
|
+
answer?: string;
|
|
608
|
+
application?: string;
|
|
609
|
+
question?: string;
|
|
610
|
+
slug?: string;
|
|
611
|
+
};
|
|
612
|
+
/** @returns {CommonError} */
|
|
613
|
+
declare function CommonError(): CommonError;
|
|
614
|
+
type CommonError = {
|
|
615
|
+
message?: string;
|
|
616
|
+
};
|
|
617
|
+
/** @returns {ConfigurationSchema} */
|
|
618
|
+
declare function ConfigurationSchema(): ConfigurationSchema;
|
|
619
|
+
type ConfigurationSchema = {
|
|
620
|
+
duration?: number;
|
|
621
|
+
sleep_time?: number;
|
|
622
|
+
slide_direction?: string;
|
|
623
|
+
start_on_launch?: boolean;
|
|
624
|
+
};
|
|
625
|
+
/** @returns {ContactSchema} */
|
|
626
|
+
declare function ContactSchema(): ContactSchema;
|
|
627
|
+
type ContactSchema = {
|
|
628
|
+
email?: EmailSchema;
|
|
629
|
+
phone?: PhoneSchema;
|
|
630
|
+
};
|
|
631
|
+
/** @returns {ContentAPIError} */
|
|
632
|
+
declare function ContentAPIError(): ContentAPIError;
|
|
633
|
+
type ContentAPIError = {
|
|
634
|
+
code?: string;
|
|
635
|
+
exception?: string;
|
|
636
|
+
info?: string;
|
|
637
|
+
message?: string;
|
|
638
|
+
meta?: any;
|
|
639
|
+
request_id?: string;
|
|
640
|
+
stack_trace?: string;
|
|
641
|
+
status?: number;
|
|
642
|
+
};
|
|
643
|
+
/** @returns {CreatedBySchema} */
|
|
644
|
+
declare function CreatedBySchema(): CreatedBySchema;
|
|
645
|
+
type CreatedBySchema = {
|
|
646
|
+
id?: string;
|
|
647
|
+
};
|
|
648
|
+
/** @returns {CronSchedule} */
|
|
649
|
+
declare function CronSchedule(): CronSchedule;
|
|
650
|
+
type CronSchedule = {
|
|
651
|
+
cron?: string;
|
|
652
|
+
duration?: number;
|
|
653
|
+
end?: string;
|
|
654
|
+
start?: string;
|
|
655
|
+
};
|
|
656
|
+
/** @returns {CustomMetaTag} */
|
|
657
|
+
declare function CustomMetaTag(): CustomMetaTag;
|
|
658
|
+
type CustomMetaTag = {
|
|
659
|
+
_id?: string;
|
|
660
|
+
content?: string;
|
|
661
|
+
name?: string;
|
|
662
|
+
};
|
|
663
|
+
/** @returns {DataLoaderSchema} */
|
|
664
|
+
declare function DataLoaderSchema(): DataLoaderSchema;
|
|
665
|
+
type DataLoaderSchema = {
|
|
666
|
+
__source?: DataLoaderSourceSchema;
|
|
667
|
+
_id?: string;
|
|
668
|
+
content?: string;
|
|
669
|
+
name?: string;
|
|
670
|
+
operation_id?: string;
|
|
671
|
+
service?: string;
|
|
672
|
+
type?: string;
|
|
673
|
+
url?: string;
|
|
674
|
+
};
|
|
675
|
+
/** @returns {DataLoaderSourceSchema} */
|
|
676
|
+
declare function DataLoaderSourceSchema(): DataLoaderSourceSchema;
|
|
677
|
+
type DataLoaderSourceSchema = {
|
|
678
|
+
id?: string;
|
|
679
|
+
type?: string;
|
|
680
|
+
};
|
|
681
|
+
/** @returns {DataLoadersSchema} */
|
|
682
|
+
declare function DataLoadersSchema(): DataLoadersSchema;
|
|
683
|
+
type DataLoadersSchema = {
|
|
684
|
+
items?: DataLoaderSchema[];
|
|
685
|
+
};
|
|
686
|
+
/** @returns {DateMeta} */
|
|
687
|
+
declare function DateMeta(): DateMeta;
|
|
688
|
+
type DateMeta = {
|
|
689
|
+
created_on?: string;
|
|
690
|
+
modified_on?: string;
|
|
691
|
+
};
|
|
692
|
+
/** @returns {Detail} */
|
|
693
|
+
declare function Detail(): Detail;
|
|
694
|
+
type Detail = {
|
|
695
|
+
description?: string;
|
|
696
|
+
image_url?: string;
|
|
697
|
+
title?: string;
|
|
698
|
+
};
|
|
699
|
+
/** @returns {EmailProperties} */
|
|
700
|
+
declare function EmailProperties(): EmailProperties;
|
|
701
|
+
type EmailProperties = {
|
|
702
|
+
key?: string;
|
|
703
|
+
value?: string;
|
|
704
|
+
};
|
|
705
|
+
/** @returns {EmailSchema} */
|
|
706
|
+
declare function EmailSchema(): EmailSchema;
|
|
707
|
+
type EmailSchema = {
|
|
708
|
+
active?: boolean;
|
|
709
|
+
email?: EmailProperties[];
|
|
710
|
+
};
|
|
711
|
+
/** @returns {FAQCategorySchema} */
|
|
712
|
+
declare function FAQCategorySchema(): FAQCategorySchema;
|
|
713
|
+
type FAQCategorySchema = {
|
|
714
|
+
_custom_json?: any;
|
|
715
|
+
_id?: string;
|
|
716
|
+
application?: string;
|
|
717
|
+
children?: ChildrenSchema[];
|
|
718
|
+
description?: string;
|
|
719
|
+
icon_url?: string;
|
|
720
|
+
index?: number;
|
|
721
|
+
slug?: string;
|
|
722
|
+
title?: string;
|
|
723
|
+
};
|
|
724
|
+
/** @returns {FaqResponseSchema} */
|
|
725
|
+
declare function FaqResponseSchema(): FaqResponseSchema;
|
|
726
|
+
type FaqResponseSchema = {
|
|
727
|
+
faqs?: FaqSchema[];
|
|
728
|
+
};
|
|
729
|
+
/** @returns {FaqSchema} */
|
|
730
|
+
declare function FaqSchema(): FaqSchema;
|
|
731
|
+
type FaqSchema = {
|
|
732
|
+
_id?: string;
|
|
733
|
+
answer?: string;
|
|
734
|
+
application?: string;
|
|
735
|
+
question?: string;
|
|
736
|
+
slug?: string;
|
|
737
|
+
tags?: string[];
|
|
738
|
+
};
|
|
739
|
+
/** @returns {GetFaqCategoriesSchema} */
|
|
740
|
+
declare function GetFaqCategoriesSchema(): GetFaqCategoriesSchema;
|
|
741
|
+
type GetFaqCategoriesSchema = {
|
|
742
|
+
categories?: CategorySchema[];
|
|
743
|
+
};
|
|
744
|
+
/** @returns {GetFaqCategoryBySlugSchema} */
|
|
745
|
+
declare function GetFaqCategoryBySlugSchema(): GetFaqCategoryBySlugSchema;
|
|
746
|
+
type GetFaqCategoryBySlugSchema = {
|
|
747
|
+
category?: FAQCategorySchema;
|
|
748
|
+
};
|
|
749
|
+
/** @returns {GetFaqSchema} */
|
|
750
|
+
declare function GetFaqSchema(): GetFaqSchema;
|
|
751
|
+
type GetFaqSchema = {
|
|
752
|
+
faqs?: FaqSchema[];
|
|
753
|
+
};
|
|
754
|
+
/** @returns {LandingPageSchema} */
|
|
755
|
+
declare function LandingPageSchema(): LandingPageSchema;
|
|
756
|
+
type LandingPageSchema = {
|
|
757
|
+
_custom_json?: any;
|
|
758
|
+
_id?: string;
|
|
759
|
+
action?: Action;
|
|
760
|
+
application?: string;
|
|
761
|
+
archived?: boolean;
|
|
762
|
+
created_by?: CreatedBySchema;
|
|
763
|
+
date_meta?: DateMeta;
|
|
764
|
+
platform?: string[];
|
|
765
|
+
slug?: string;
|
|
766
|
+
};
|
|
767
|
+
/** @returns {Language} */
|
|
768
|
+
declare function Language(): Language;
|
|
769
|
+
type Language = {
|
|
770
|
+
display?: string;
|
|
771
|
+
};
|
|
772
|
+
/** @returns {LocaleLanguage} */
|
|
773
|
+
declare function LocaleLanguage(): LocaleLanguage;
|
|
774
|
+
type LocaleLanguage = {
|
|
775
|
+
ar?: Language;
|
|
776
|
+
en_us?: Language;
|
|
777
|
+
hi?: Language;
|
|
778
|
+
};
|
|
779
|
+
/** @returns {NavigationGetResponse} */
|
|
780
|
+
declare function NavigationGetResponse(): NavigationGetResponse;
|
|
781
|
+
type NavigationGetResponse = {
|
|
782
|
+
items?: NavigationSchema[];
|
|
783
|
+
page?: Page;
|
|
784
|
+
};
|
|
785
|
+
/** @returns {NavigationReference} */
|
|
786
|
+
declare function NavigationReference(): NavigationReference;
|
|
787
|
+
type NavigationReference = {
|
|
788
|
+
_locale_language?: LocaleLanguage;
|
|
789
|
+
acl?: string[];
|
|
790
|
+
action?: Action;
|
|
791
|
+
active?: boolean;
|
|
792
|
+
display?: string;
|
|
793
|
+
image?: string;
|
|
794
|
+
sort_order?: number;
|
|
795
|
+
sub_navigation?: NavigationReference[];
|
|
796
|
+
tags?: string[];
|
|
797
|
+
type?: string;
|
|
798
|
+
};
|
|
799
|
+
/** @returns {NavigationSchema} */
|
|
800
|
+
declare function NavigationSchema(): NavigationSchema;
|
|
801
|
+
type NavigationSchema = {
|
|
802
|
+
_id?: string;
|
|
803
|
+
application?: string;
|
|
804
|
+
archived?: boolean;
|
|
805
|
+
created_by?: CreatedBySchema;
|
|
806
|
+
date_meta?: DateMeta;
|
|
807
|
+
name?: string;
|
|
808
|
+
navigation?: NavigationReference[];
|
|
809
|
+
orientation?: Orientation;
|
|
810
|
+
platform?: string[];
|
|
811
|
+
slug?: string;
|
|
812
|
+
version?: number;
|
|
813
|
+
};
|
|
814
|
+
/** @returns {NextSchedule} */
|
|
815
|
+
declare function NextSchedule(): NextSchedule;
|
|
816
|
+
type NextSchedule = {
|
|
817
|
+
end?: string;
|
|
818
|
+
start?: string;
|
|
819
|
+
};
|
|
820
|
+
/** @returns {Orientation} */
|
|
821
|
+
declare function Orientation(): Orientation;
|
|
822
|
+
type Orientation = {
|
|
823
|
+
landscape?: string[];
|
|
824
|
+
portrait?: string[];
|
|
825
|
+
};
|
|
826
|
+
/** @returns {Page} */
|
|
827
|
+
declare function Page(): Page;
|
|
828
|
+
type Page = {
|
|
829
|
+
current?: number;
|
|
830
|
+
has_next?: boolean;
|
|
831
|
+
has_previous?: boolean;
|
|
832
|
+
item_total?: number;
|
|
833
|
+
next_id?: string;
|
|
834
|
+
size?: number;
|
|
835
|
+
type: string;
|
|
836
|
+
};
|
|
837
|
+
/** @returns {PageGetResponse} */
|
|
838
|
+
declare function PageGetResponse(): PageGetResponse;
|
|
839
|
+
type PageGetResponse = {
|
|
840
|
+
items?: PageSchema[];
|
|
841
|
+
page?: Page;
|
|
842
|
+
};
|
|
843
|
+
/** @returns {PageSchema} */
|
|
844
|
+
declare function PageSchema(): PageSchema;
|
|
845
|
+
type PageSchema = {
|
|
846
|
+
_custom_json?: any;
|
|
847
|
+
_id?: string;
|
|
848
|
+
_schedule?: ScheduleSchema;
|
|
849
|
+
application?: string;
|
|
850
|
+
archived?: boolean;
|
|
851
|
+
/**
|
|
852
|
+
* - Components can be used to store
|
|
853
|
+
* multiple components
|
|
854
|
+
*/
|
|
855
|
+
component_ids?: string[];
|
|
856
|
+
content?: any[];
|
|
857
|
+
content_path?: string;
|
|
858
|
+
created_by?: CreatedBySchema;
|
|
859
|
+
date_meta?: DateMeta;
|
|
860
|
+
description?: string;
|
|
861
|
+
feature_image?: Asset;
|
|
862
|
+
orientation?: string;
|
|
863
|
+
page_meta?: any[];
|
|
864
|
+
platform?: string;
|
|
865
|
+
published?: boolean;
|
|
866
|
+
seo?: SEO;
|
|
867
|
+
slug?: string;
|
|
868
|
+
tags?: string[];
|
|
869
|
+
title?: string;
|
|
870
|
+
type?: string;
|
|
871
|
+
visibility?: any;
|
|
872
|
+
};
|
|
873
|
+
/** @returns {PhoneProperties} */
|
|
874
|
+
declare function PhoneProperties(): PhoneProperties;
|
|
875
|
+
type PhoneProperties = {
|
|
876
|
+
code?: string;
|
|
877
|
+
key?: string;
|
|
878
|
+
number?: string;
|
|
879
|
+
};
|
|
880
|
+
/** @returns {PhoneSchema} */
|
|
881
|
+
declare function PhoneSchema(): PhoneSchema;
|
|
882
|
+
type PhoneSchema = {
|
|
883
|
+
active?: boolean;
|
|
884
|
+
phone?: PhoneProperties[];
|
|
885
|
+
};
|
|
886
|
+
/** @returns {ResourceContent} */
|
|
887
|
+
declare function ResourceContent(): ResourceContent;
|
|
888
|
+
type ResourceContent = {
|
|
889
|
+
type?: string;
|
|
890
|
+
value?: string;
|
|
891
|
+
};
|
|
892
|
+
/** @returns {ScheduleSchema} */
|
|
893
|
+
declare function ScheduleSchema(): ScheduleSchema;
|
|
894
|
+
type ScheduleSchema = {
|
|
895
|
+
cron?: string;
|
|
896
|
+
duration?: number;
|
|
897
|
+
end?: string;
|
|
898
|
+
next_schedule?: NextSchedule[];
|
|
899
|
+
start?: string;
|
|
900
|
+
};
|
|
901
|
+
/** @returns {ScheduleStartSchema} */
|
|
902
|
+
declare function ScheduleStartSchema(): ScheduleStartSchema;
|
|
903
|
+
type ScheduleStartSchema = {
|
|
904
|
+
end?: string;
|
|
905
|
+
start?: string;
|
|
906
|
+
};
|
|
907
|
+
/** @returns {SEO} */
|
|
908
|
+
declare function SEO(): SEO;
|
|
909
|
+
type SEO = {
|
|
910
|
+
description?: string;
|
|
911
|
+
image?: SEOImage;
|
|
912
|
+
title?: string;
|
|
913
|
+
};
|
|
914
|
+
/** @returns {SeoComponent} */
|
|
915
|
+
declare function SeoComponent(): SeoComponent;
|
|
916
|
+
type SeoComponent = {
|
|
917
|
+
seo?: SeoSchema;
|
|
918
|
+
};
|
|
919
|
+
/** @returns {SEOImage} */
|
|
920
|
+
declare function SEOImage(): SEOImage;
|
|
921
|
+
type SEOImage = {
|
|
922
|
+
url?: string;
|
|
923
|
+
};
|
|
924
|
+
/** @returns {SeoSchema} */
|
|
925
|
+
declare function SeoSchema(): SeoSchema;
|
|
926
|
+
type SeoSchema = {
|
|
927
|
+
_id?: string;
|
|
928
|
+
app?: string;
|
|
929
|
+
cannonical_enabled?: boolean;
|
|
930
|
+
created_at?: string;
|
|
931
|
+
custom_meta_tags?: CustomMetaTag[];
|
|
932
|
+
details?: Detail;
|
|
933
|
+
robots_txt?: string;
|
|
934
|
+
sitemap_enabled?: boolean;
|
|
935
|
+
updated_at?: string;
|
|
936
|
+
};
|
|
937
|
+
/** @returns {SlideshowGetResponse} */
|
|
938
|
+
declare function SlideshowGetResponse(): SlideshowGetResponse;
|
|
939
|
+
type SlideshowGetResponse = {
|
|
940
|
+
items?: SlideshowSchema[];
|
|
941
|
+
page?: Page;
|
|
942
|
+
};
|
|
943
|
+
/** @returns {SlideshowMedia} */
|
|
944
|
+
declare function SlideshowMedia(): SlideshowMedia;
|
|
945
|
+
type SlideshowMedia = {
|
|
946
|
+
action?: Action;
|
|
947
|
+
auto_decide_duration?: boolean;
|
|
948
|
+
bg_color?: string;
|
|
949
|
+
duration?: number;
|
|
950
|
+
type?: string;
|
|
951
|
+
url?: string;
|
|
952
|
+
};
|
|
953
|
+
/** @returns {SlideshowSchema} */
|
|
954
|
+
declare function SlideshowSchema(): SlideshowSchema;
|
|
955
|
+
type SlideshowSchema = {
|
|
956
|
+
_custom_json?: any;
|
|
957
|
+
_id?: string;
|
|
958
|
+
active?: boolean;
|
|
959
|
+
application?: string;
|
|
960
|
+
archived?: boolean;
|
|
961
|
+
configuration?: ConfigurationSchema;
|
|
962
|
+
date_meta?: DateMeta;
|
|
963
|
+
media?: SlideshowMedia[];
|
|
964
|
+
platform?: string;
|
|
965
|
+
slug?: string;
|
|
966
|
+
};
|
|
967
|
+
/** @returns {Support} */
|
|
968
|
+
declare function Support(): Support;
|
|
969
|
+
type Support = {
|
|
970
|
+
_id?: string;
|
|
971
|
+
application?: string;
|
|
972
|
+
config_type?: string;
|
|
973
|
+
contact?: ContactSchema;
|
|
974
|
+
created?: boolean;
|
|
975
|
+
created_at?: string;
|
|
976
|
+
updated_at?: string;
|
|
977
|
+
};
|
|
978
|
+
/** @returns {TagSchema} */
|
|
979
|
+
declare function TagSchema(): TagSchema;
|
|
980
|
+
type TagSchema = {
|
|
981
|
+
__source?: TagSourceSchema;
|
|
982
|
+
_id?: string;
|
|
983
|
+
attributes?: any;
|
|
984
|
+
content?: string;
|
|
985
|
+
name?: string;
|
|
986
|
+
pages?: any[];
|
|
987
|
+
position?: string;
|
|
988
|
+
sub_type?: string;
|
|
989
|
+
type?: string;
|
|
990
|
+
url?: string;
|
|
991
|
+
};
|
|
992
|
+
/** @returns {TagSourceSchema} */
|
|
993
|
+
declare function TagSourceSchema(): TagSourceSchema;
|
|
994
|
+
type TagSourceSchema = {
|
|
995
|
+
id?: string;
|
|
996
|
+
type?: string;
|
|
997
|
+
};
|
|
998
|
+
/** @returns {TagsSchema} */
|
|
999
|
+
declare function TagsSchema(): TagsSchema;
|
|
1000
|
+
type TagsSchema = {
|
|
1001
|
+
_id?: string;
|
|
1002
|
+
application?: string;
|
|
1003
|
+
tags?: TagSchema[];
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* Enum: PageType Used By: Content
|
|
1007
|
+
*
|
|
1008
|
+
* @returns {PageType}
|
|
1009
|
+
*/
|
|
1010
|
+
declare function PageType(): PageType;
|
|
1011
|
+
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";
|