@gofynd/fdk-client-javascript 1.1.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -1,49 +1,622 @@
|
|
|
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
|
-
|
|
1
|
+
export = ThemeApplicationModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AddThemeRequestSchema
|
|
4
|
+
* @property {string} [theme_id]
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef AllAvailablePageSchema
|
|
8
|
+
* @property {AvailablePageSchema[]} [pages]
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef AssetsSchema
|
|
12
|
+
* @property {CommonJs} [common_js]
|
|
13
|
+
* @property {Css} [css]
|
|
14
|
+
* @property {UmdJs} [umd_js]
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @typedef AvailablePagePredicate
|
|
18
|
+
* @property {AvailablePageRoutePredicate} [route]
|
|
19
|
+
* @property {AvailablePageScreenPredicate} [screen]
|
|
20
|
+
* @property {AvailablePageUserPredicate} [user]
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* @typedef AvailablePageRoutePredicate
|
|
24
|
+
* @property {string} [exact_url]
|
|
25
|
+
* @property {Object} [query]
|
|
26
|
+
* @property {string} [selected]
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef AvailablePageSchema
|
|
30
|
+
* @property {string} [_id]
|
|
31
|
+
* @property {string} [path]
|
|
32
|
+
* @property {Object[]} [props]
|
|
33
|
+
* @property {AvailablePageSchemaSections[]} [sections]
|
|
34
|
+
* @property {AvailablePageSectionMetaAttributes[]} [sections_meta]
|
|
35
|
+
* @property {AvailablePageSeo} [seo]
|
|
36
|
+
* @property {string} [text]
|
|
37
|
+
* @property {string} [theme]
|
|
38
|
+
* @property {string} [type]
|
|
39
|
+
* @property {string} [value]
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* @typedef AvailablePageSchemaSections
|
|
43
|
+
* @property {Object[]} [blocks]
|
|
44
|
+
* @property {string} [label]
|
|
45
|
+
* @property {string} [name]
|
|
46
|
+
* @property {AvailablePagePredicate} [predicate]
|
|
47
|
+
* @property {Object} [preset]
|
|
48
|
+
* @property {Object} [props]
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* @typedef AvailablePageScreenPredicate
|
|
52
|
+
* @property {boolean} [desktop]
|
|
53
|
+
* @property {boolean} [mobile]
|
|
54
|
+
* @property {boolean} [tablet]
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef AvailablePageSectionMetaAttributes
|
|
58
|
+
* @property {Object} [attributes]
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef AvailablePageSeo
|
|
62
|
+
* @property {string} [_id]
|
|
63
|
+
* @property {string} [description]
|
|
64
|
+
* @property {string} [title]
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* @typedef AvailablePageUserPredicate
|
|
68
|
+
* @property {boolean} [anonymous]
|
|
69
|
+
* @property {boolean} [authenticated]
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* @typedef availableSectionSchema
|
|
73
|
+
* @property {Blocks[]} [blocks]
|
|
74
|
+
* @property {string} [label]
|
|
75
|
+
* @property {string} [name]
|
|
76
|
+
* @property {BlocksProps[]} [props]
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* @typedef BlitzkriegApiErrorSchema
|
|
80
|
+
* @property {string} [message]
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* @typedef BlitzkriegInternalServerErrorSchema
|
|
84
|
+
* @property {string} [message]
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* @typedef BlitzkriegNotFoundSchema
|
|
88
|
+
* @property {string} [message]
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* @typedef Blocks
|
|
92
|
+
* @property {string} [name]
|
|
93
|
+
* @property {BlocksProps[]} [props]
|
|
94
|
+
* @property {string} [type]
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* @typedef BlocksProps
|
|
98
|
+
* @property {string} [id]
|
|
99
|
+
* @property {string} [label]
|
|
100
|
+
* @property {string} [type]
|
|
101
|
+
*/
|
|
102
|
+
/**
|
|
103
|
+
* @typedef Bold
|
|
104
|
+
* @property {string} [file]
|
|
105
|
+
* @property {string} [name]
|
|
106
|
+
*/
|
|
107
|
+
/**
|
|
108
|
+
* @typedef Colors
|
|
109
|
+
* @property {string} [accent_color]
|
|
110
|
+
* @property {string} [bg_color]
|
|
111
|
+
* @property {string} [button_secondary_color]
|
|
112
|
+
* @property {string} [link_color]
|
|
113
|
+
* @property {string} [primary_color]
|
|
114
|
+
* @property {string} [secondary_color]
|
|
115
|
+
*/
|
|
116
|
+
/**
|
|
117
|
+
* @typedef CommonJs
|
|
118
|
+
* @property {string} [link]
|
|
119
|
+
*/
|
|
120
|
+
/**
|
|
121
|
+
* @typedef Config
|
|
122
|
+
* @property {string} [current]
|
|
123
|
+
* @property {GlobalSchema} [global_schema]
|
|
124
|
+
* @property {ListSchemaItem[]} [list]
|
|
125
|
+
* @property {Preset} [preset]
|
|
126
|
+
*/
|
|
127
|
+
/**
|
|
128
|
+
* @typedef ConfigPage
|
|
129
|
+
* @property {string} [page]
|
|
130
|
+
* @property {Object} [settings]
|
|
131
|
+
*/
|
|
132
|
+
/**
|
|
133
|
+
* @typedef Css
|
|
134
|
+
* @property {string} [link]
|
|
135
|
+
* @property {string[]} [links]
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* @typedef Custom
|
|
139
|
+
* @property {Object} [props]
|
|
140
|
+
*/
|
|
141
|
+
/**
|
|
142
|
+
* @typedef Font
|
|
143
|
+
* @property {string} [family]
|
|
144
|
+
* @property {Variants} [variants]
|
|
145
|
+
*/
|
|
146
|
+
/**
|
|
147
|
+
* @typedef FontsSchema
|
|
148
|
+
* @property {FontsSchemaItems} [items]
|
|
149
|
+
* @property {string} [kind]
|
|
150
|
+
*/
|
|
151
|
+
/**
|
|
152
|
+
* @typedef FontsSchemaItems
|
|
153
|
+
* @property {string} [category]
|
|
154
|
+
* @property {string} [family]
|
|
155
|
+
* @property {FontsSchemaItemsFiles} [files]
|
|
156
|
+
* @property {string} [kind]
|
|
157
|
+
* @property {string} [last_modified]
|
|
158
|
+
* @property {string[]} [subsets]
|
|
159
|
+
* @property {string[]} [variants]
|
|
160
|
+
* @property {string} [version]
|
|
161
|
+
*/
|
|
162
|
+
/**
|
|
163
|
+
* @typedef FontsSchemaItemsFiles
|
|
164
|
+
* @property {string} [bold]
|
|
165
|
+
* @property {string} [italic]
|
|
166
|
+
* @property {string} [regular]
|
|
167
|
+
*/
|
|
168
|
+
/**
|
|
169
|
+
* @typedef GlobalSchema
|
|
170
|
+
* @property {GlobalSchemaProps[]} [props]
|
|
171
|
+
*/
|
|
172
|
+
/**
|
|
173
|
+
* @typedef GlobalSchemaProps
|
|
174
|
+
* @property {string} [category]
|
|
175
|
+
* @property {string} [id]
|
|
176
|
+
* @property {string} [label]
|
|
177
|
+
* @property {string} [type]
|
|
178
|
+
*/
|
|
179
|
+
/**
|
|
180
|
+
* @typedef Images
|
|
181
|
+
* @property {string[]} [android]
|
|
182
|
+
* @property {string[]} [desktop]
|
|
183
|
+
* @property {string[]} [ios]
|
|
184
|
+
* @property {string[]} [thumbnail]
|
|
185
|
+
*/
|
|
186
|
+
/**
|
|
187
|
+
* @typedef Information
|
|
188
|
+
* @property {string} [description]
|
|
189
|
+
* @property {string[]} [features]
|
|
190
|
+
* @property {Images} [images]
|
|
191
|
+
* @property {string} [name]
|
|
192
|
+
*/
|
|
193
|
+
/**
|
|
194
|
+
* @typedef Light
|
|
195
|
+
* @property {string} [file]
|
|
196
|
+
* @property {string} [name]
|
|
197
|
+
*/
|
|
198
|
+
/**
|
|
199
|
+
* @typedef ListSchemaItem
|
|
200
|
+
* @property {Object} [global_config]
|
|
201
|
+
* @property {string} [name]
|
|
202
|
+
* @property {ConfigPage[]} [page]
|
|
203
|
+
*/
|
|
204
|
+
/**
|
|
205
|
+
* @typedef Medium
|
|
206
|
+
* @property {string} [file]
|
|
207
|
+
* @property {string} [name]
|
|
208
|
+
*/
|
|
209
|
+
/**
|
|
210
|
+
* @typedef PaginationSchema
|
|
211
|
+
* @property {number} [current]
|
|
212
|
+
* @property {boolean} [has_next]
|
|
213
|
+
* @property {number} [item_total]
|
|
214
|
+
* @property {number} [size]
|
|
215
|
+
* @property {string} [type]
|
|
216
|
+
*/
|
|
217
|
+
/**
|
|
218
|
+
* @typedef Preset
|
|
219
|
+
* @property {AvailablePageSchema[]} [pages]
|
|
220
|
+
*/
|
|
221
|
+
/**
|
|
222
|
+
* @typedef Regular
|
|
223
|
+
* @property {string} [file]
|
|
224
|
+
* @property {string} [name]
|
|
225
|
+
*/
|
|
226
|
+
/**
|
|
227
|
+
* @typedef Sections
|
|
228
|
+
* @property {string} [attributes]
|
|
229
|
+
*/
|
|
230
|
+
/**
|
|
231
|
+
* @typedef SemiBold
|
|
232
|
+
* @property {string} [file]
|
|
233
|
+
* @property {string} [name]
|
|
234
|
+
*/
|
|
235
|
+
/**
|
|
236
|
+
* @typedef Src
|
|
237
|
+
* @property {string} [link]
|
|
238
|
+
*/
|
|
239
|
+
/**
|
|
240
|
+
* @typedef ThemesListingResponseSchema
|
|
241
|
+
* @property {ThemesSchema[]} [items]
|
|
242
|
+
* @property {PaginationSchema} [page]
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* @typedef ThemesSchema
|
|
246
|
+
* @property {number} [__v]
|
|
247
|
+
* @property {string} [_id]
|
|
248
|
+
* @property {string} [application]
|
|
249
|
+
* @property {boolean} [applied]
|
|
250
|
+
* @property {boolean} [archived]
|
|
251
|
+
* @property {AssetsSchema} [assets]
|
|
252
|
+
* @property {availableSectionSchema[]} [available_sections]
|
|
253
|
+
* @property {Colors} [colors]
|
|
254
|
+
* @property {Config} [config]
|
|
255
|
+
* @property {string} [created_at]
|
|
256
|
+
* @property {boolean} [customized]
|
|
257
|
+
* @property {Font} [font]
|
|
258
|
+
* @property {Information} [information]
|
|
259
|
+
* @property {string} [parent_theme]
|
|
260
|
+
* @property {string} [parent_theme_version]
|
|
261
|
+
* @property {boolean} [published]
|
|
262
|
+
* @property {Src} [src]
|
|
263
|
+
* @property {Object} [styles]
|
|
264
|
+
* @property {string[]} [tags]
|
|
265
|
+
* @property {string} [updated_at]
|
|
266
|
+
* @property {string} [version]
|
|
267
|
+
*/
|
|
268
|
+
/**
|
|
269
|
+
* @typedef UmdJs
|
|
270
|
+
* @property {string} [link]
|
|
271
|
+
* @property {string[]} [links]
|
|
272
|
+
*/
|
|
273
|
+
/**
|
|
274
|
+
* @typedef UpgradableThemeSchema
|
|
275
|
+
* @property {string} [applied_theme]
|
|
276
|
+
* @property {string} [parent_theme]
|
|
277
|
+
* @property {boolean} [upgrade]
|
|
278
|
+
*/
|
|
279
|
+
/**
|
|
280
|
+
* @typedef Variants
|
|
281
|
+
* @property {Bold} [bold]
|
|
282
|
+
* @property {Light} [light]
|
|
283
|
+
* @property {Medium} [medium]
|
|
284
|
+
* @property {Regular} [regular]
|
|
285
|
+
* @property {SemiBold} [semi_bold]
|
|
286
|
+
*/
|
|
287
|
+
declare class ThemeApplicationModel {
|
|
49
288
|
}
|
|
289
|
+
declare namespace ThemeApplicationModel {
|
|
290
|
+
export { AddThemeRequestSchema, AllAvailablePageSchema, AssetsSchema, AvailablePagePredicate, AvailablePageRoutePredicate, AvailablePageSchema, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageSectionMetaAttributes, AvailablePageSeo, AvailablePageUserPredicate, availableSectionSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, BlitzkriegNotFoundSchema, Blocks, BlocksProps, Bold, Colors, CommonJs, Config, ConfigPage, Css, Custom, Font, FontsSchema, FontsSchemaItems, FontsSchemaItemsFiles, GlobalSchema, GlobalSchemaProps, Images, Information, Light, ListSchemaItem, Medium, PaginationSchema, Preset, Regular, Sections, SemiBold, Src, ThemesListingResponseSchema, ThemesSchema, UmdJs, UpgradableThemeSchema, Variants };
|
|
291
|
+
}
|
|
292
|
+
/** @returns {AddThemeRequestSchema} */
|
|
293
|
+
declare function AddThemeRequestSchema(): AddThemeRequestSchema;
|
|
294
|
+
type AddThemeRequestSchema = {
|
|
295
|
+
theme_id?: string;
|
|
296
|
+
};
|
|
297
|
+
/** @returns {AllAvailablePageSchema} */
|
|
298
|
+
declare function AllAvailablePageSchema(): AllAvailablePageSchema;
|
|
299
|
+
type AllAvailablePageSchema = {
|
|
300
|
+
pages?: AvailablePageSchema[];
|
|
301
|
+
};
|
|
302
|
+
/** @returns {AssetsSchema} */
|
|
303
|
+
declare function AssetsSchema(): AssetsSchema;
|
|
304
|
+
type AssetsSchema = {
|
|
305
|
+
common_js?: CommonJs;
|
|
306
|
+
css?: Css;
|
|
307
|
+
umd_js?: UmdJs;
|
|
308
|
+
};
|
|
309
|
+
/** @returns {AvailablePagePredicate} */
|
|
310
|
+
declare function AvailablePagePredicate(): AvailablePagePredicate;
|
|
311
|
+
type AvailablePagePredicate = {
|
|
312
|
+
route?: AvailablePageRoutePredicate;
|
|
313
|
+
screen?: AvailablePageScreenPredicate;
|
|
314
|
+
user?: AvailablePageUserPredicate;
|
|
315
|
+
};
|
|
316
|
+
/** @returns {AvailablePageRoutePredicate} */
|
|
317
|
+
declare function AvailablePageRoutePredicate(): AvailablePageRoutePredicate;
|
|
318
|
+
type AvailablePageRoutePredicate = {
|
|
319
|
+
exact_url?: string;
|
|
320
|
+
query?: any;
|
|
321
|
+
selected?: string;
|
|
322
|
+
};
|
|
323
|
+
/** @returns {AvailablePageSchema} */
|
|
324
|
+
declare function AvailablePageSchema(): AvailablePageSchema;
|
|
325
|
+
type AvailablePageSchema = {
|
|
326
|
+
_id?: string;
|
|
327
|
+
path?: string;
|
|
328
|
+
props?: any[];
|
|
329
|
+
sections?: AvailablePageSchemaSections[];
|
|
330
|
+
sections_meta?: AvailablePageSectionMetaAttributes[];
|
|
331
|
+
seo?: AvailablePageSeo;
|
|
332
|
+
text?: string;
|
|
333
|
+
theme?: string;
|
|
334
|
+
type?: string;
|
|
335
|
+
value?: string;
|
|
336
|
+
};
|
|
337
|
+
/** @returns {AvailablePageSchemaSections} */
|
|
338
|
+
declare function AvailablePageSchemaSections(): AvailablePageSchemaSections;
|
|
339
|
+
type AvailablePageSchemaSections = {
|
|
340
|
+
blocks?: any[];
|
|
341
|
+
label?: string;
|
|
342
|
+
name?: string;
|
|
343
|
+
predicate?: AvailablePagePredicate;
|
|
344
|
+
preset?: any;
|
|
345
|
+
props?: any;
|
|
346
|
+
};
|
|
347
|
+
/** @returns {AvailablePageScreenPredicate} */
|
|
348
|
+
declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
|
|
349
|
+
type AvailablePageScreenPredicate = {
|
|
350
|
+
desktop?: boolean;
|
|
351
|
+
mobile?: boolean;
|
|
352
|
+
tablet?: boolean;
|
|
353
|
+
};
|
|
354
|
+
/** @returns {AvailablePageSectionMetaAttributes} */
|
|
355
|
+
declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
|
|
356
|
+
type AvailablePageSectionMetaAttributes = {
|
|
357
|
+
attributes?: any;
|
|
358
|
+
};
|
|
359
|
+
/** @returns {AvailablePageSeo} */
|
|
360
|
+
declare function AvailablePageSeo(): AvailablePageSeo;
|
|
361
|
+
type AvailablePageSeo = {
|
|
362
|
+
_id?: string;
|
|
363
|
+
description?: string;
|
|
364
|
+
title?: string;
|
|
365
|
+
};
|
|
366
|
+
/** @returns {AvailablePageUserPredicate} */
|
|
367
|
+
declare function AvailablePageUserPredicate(): AvailablePageUserPredicate;
|
|
368
|
+
type AvailablePageUserPredicate = {
|
|
369
|
+
anonymous?: boolean;
|
|
370
|
+
authenticated?: boolean;
|
|
371
|
+
};
|
|
372
|
+
/** @returns {availableSectionSchema} */
|
|
373
|
+
declare function availableSectionSchema(): availableSectionSchema;
|
|
374
|
+
type availableSectionSchema = {
|
|
375
|
+
blocks?: Blocks[];
|
|
376
|
+
label?: string;
|
|
377
|
+
name?: string;
|
|
378
|
+
props?: BlocksProps[];
|
|
379
|
+
};
|
|
380
|
+
/** @returns {BlitzkriegApiErrorSchema} */
|
|
381
|
+
declare function BlitzkriegApiErrorSchema(): BlitzkriegApiErrorSchema;
|
|
382
|
+
type BlitzkriegApiErrorSchema = {
|
|
383
|
+
message?: string;
|
|
384
|
+
};
|
|
385
|
+
/** @returns {BlitzkriegInternalServerErrorSchema} */
|
|
386
|
+
declare function BlitzkriegInternalServerErrorSchema(): BlitzkriegInternalServerErrorSchema;
|
|
387
|
+
type BlitzkriegInternalServerErrorSchema = {
|
|
388
|
+
message?: string;
|
|
389
|
+
};
|
|
390
|
+
/** @returns {BlitzkriegNotFoundSchema} */
|
|
391
|
+
declare function BlitzkriegNotFoundSchema(): BlitzkriegNotFoundSchema;
|
|
392
|
+
type BlitzkriegNotFoundSchema = {
|
|
393
|
+
message?: string;
|
|
394
|
+
};
|
|
395
|
+
/** @returns {Blocks} */
|
|
396
|
+
declare function Blocks(): Blocks;
|
|
397
|
+
type Blocks = {
|
|
398
|
+
name?: string;
|
|
399
|
+
props?: BlocksProps[];
|
|
400
|
+
type?: string;
|
|
401
|
+
};
|
|
402
|
+
/** @returns {BlocksProps} */
|
|
403
|
+
declare function BlocksProps(): BlocksProps;
|
|
404
|
+
type BlocksProps = {
|
|
405
|
+
id?: string;
|
|
406
|
+
label?: string;
|
|
407
|
+
type?: string;
|
|
408
|
+
};
|
|
409
|
+
/** @returns {Bold} */
|
|
410
|
+
declare function Bold(): Bold;
|
|
411
|
+
type Bold = {
|
|
412
|
+
file?: string;
|
|
413
|
+
name?: string;
|
|
414
|
+
};
|
|
415
|
+
/** @returns {Colors} */
|
|
416
|
+
declare function Colors(): Colors;
|
|
417
|
+
type Colors = {
|
|
418
|
+
accent_color?: string;
|
|
419
|
+
bg_color?: string;
|
|
420
|
+
button_secondary_color?: string;
|
|
421
|
+
link_color?: string;
|
|
422
|
+
primary_color?: string;
|
|
423
|
+
secondary_color?: string;
|
|
424
|
+
};
|
|
425
|
+
/** @returns {CommonJs} */
|
|
426
|
+
declare function CommonJs(): CommonJs;
|
|
427
|
+
type CommonJs = {
|
|
428
|
+
link?: string;
|
|
429
|
+
};
|
|
430
|
+
/** @returns {Config} */
|
|
431
|
+
declare function Config(): Config;
|
|
432
|
+
type Config = {
|
|
433
|
+
current?: string;
|
|
434
|
+
global_schema?: GlobalSchema;
|
|
435
|
+
list?: ListSchemaItem[];
|
|
436
|
+
preset?: Preset;
|
|
437
|
+
};
|
|
438
|
+
/** @returns {ConfigPage} */
|
|
439
|
+
declare function ConfigPage(): ConfigPage;
|
|
440
|
+
type ConfigPage = {
|
|
441
|
+
page?: string;
|
|
442
|
+
settings?: any;
|
|
443
|
+
};
|
|
444
|
+
/** @returns {Css} */
|
|
445
|
+
declare function Css(): Css;
|
|
446
|
+
type Css = {
|
|
447
|
+
link?: string;
|
|
448
|
+
links?: string[];
|
|
449
|
+
};
|
|
450
|
+
/** @returns {Custom} */
|
|
451
|
+
declare function Custom(): Custom;
|
|
452
|
+
type Custom = {
|
|
453
|
+
props?: any;
|
|
454
|
+
};
|
|
455
|
+
/** @returns {Font} */
|
|
456
|
+
declare function Font(): Font;
|
|
457
|
+
type Font = {
|
|
458
|
+
family?: string;
|
|
459
|
+
variants?: Variants;
|
|
460
|
+
};
|
|
461
|
+
/** @returns {FontsSchema} */
|
|
462
|
+
declare function FontsSchema(): FontsSchema;
|
|
463
|
+
type FontsSchema = {
|
|
464
|
+
items?: FontsSchemaItems;
|
|
465
|
+
kind?: string;
|
|
466
|
+
};
|
|
467
|
+
/** @returns {FontsSchemaItems} */
|
|
468
|
+
declare function FontsSchemaItems(): FontsSchemaItems;
|
|
469
|
+
type FontsSchemaItems = {
|
|
470
|
+
category?: string;
|
|
471
|
+
family?: string;
|
|
472
|
+
files?: FontsSchemaItemsFiles;
|
|
473
|
+
kind?: string;
|
|
474
|
+
last_modified?: string;
|
|
475
|
+
subsets?: string[];
|
|
476
|
+
variants?: string[];
|
|
477
|
+
version?: string;
|
|
478
|
+
};
|
|
479
|
+
/** @returns {FontsSchemaItemsFiles} */
|
|
480
|
+
declare function FontsSchemaItemsFiles(): FontsSchemaItemsFiles;
|
|
481
|
+
type FontsSchemaItemsFiles = {
|
|
482
|
+
bold?: string;
|
|
483
|
+
italic?: string;
|
|
484
|
+
regular?: string;
|
|
485
|
+
};
|
|
486
|
+
/** @returns {GlobalSchema} */
|
|
487
|
+
declare function GlobalSchema(): GlobalSchema;
|
|
488
|
+
type GlobalSchema = {
|
|
489
|
+
props?: GlobalSchemaProps[];
|
|
490
|
+
};
|
|
491
|
+
/** @returns {GlobalSchemaProps} */
|
|
492
|
+
declare function GlobalSchemaProps(): GlobalSchemaProps;
|
|
493
|
+
type GlobalSchemaProps = {
|
|
494
|
+
category?: string;
|
|
495
|
+
id?: string;
|
|
496
|
+
label?: string;
|
|
497
|
+
type?: string;
|
|
498
|
+
};
|
|
499
|
+
/** @returns {Images} */
|
|
500
|
+
declare function Images(): Images;
|
|
501
|
+
type Images = {
|
|
502
|
+
android?: string[];
|
|
503
|
+
desktop?: string[];
|
|
504
|
+
ios?: string[];
|
|
505
|
+
thumbnail?: string[];
|
|
506
|
+
};
|
|
507
|
+
/** @returns {Information} */
|
|
508
|
+
declare function Information(): Information;
|
|
509
|
+
type Information = {
|
|
510
|
+
description?: string;
|
|
511
|
+
features?: string[];
|
|
512
|
+
images?: Images;
|
|
513
|
+
name?: string;
|
|
514
|
+
};
|
|
515
|
+
/** @returns {Light} */
|
|
516
|
+
declare function Light(): Light;
|
|
517
|
+
type Light = {
|
|
518
|
+
file?: string;
|
|
519
|
+
name?: string;
|
|
520
|
+
};
|
|
521
|
+
/** @returns {ListSchemaItem} */
|
|
522
|
+
declare function ListSchemaItem(): ListSchemaItem;
|
|
523
|
+
type ListSchemaItem = {
|
|
524
|
+
global_config?: any;
|
|
525
|
+
name?: string;
|
|
526
|
+
page?: ConfigPage[];
|
|
527
|
+
};
|
|
528
|
+
/** @returns {Medium} */
|
|
529
|
+
declare function Medium(): Medium;
|
|
530
|
+
type Medium = {
|
|
531
|
+
file?: string;
|
|
532
|
+
name?: string;
|
|
533
|
+
};
|
|
534
|
+
/** @returns {PaginationSchema} */
|
|
535
|
+
declare function PaginationSchema(): PaginationSchema;
|
|
536
|
+
type PaginationSchema = {
|
|
537
|
+
current?: number;
|
|
538
|
+
has_next?: boolean;
|
|
539
|
+
item_total?: number;
|
|
540
|
+
size?: number;
|
|
541
|
+
type?: string;
|
|
542
|
+
};
|
|
543
|
+
/** @returns {Preset} */
|
|
544
|
+
declare function Preset(): Preset;
|
|
545
|
+
type Preset = {
|
|
546
|
+
pages?: AvailablePageSchema[];
|
|
547
|
+
};
|
|
548
|
+
/** @returns {Regular} */
|
|
549
|
+
declare function Regular(): Regular;
|
|
550
|
+
type Regular = {
|
|
551
|
+
file?: string;
|
|
552
|
+
name?: string;
|
|
553
|
+
};
|
|
554
|
+
/** @returns {Sections} */
|
|
555
|
+
declare function Sections(): Sections;
|
|
556
|
+
type Sections = {
|
|
557
|
+
attributes?: string;
|
|
558
|
+
};
|
|
559
|
+
/** @returns {SemiBold} */
|
|
560
|
+
declare function SemiBold(): SemiBold;
|
|
561
|
+
type SemiBold = {
|
|
562
|
+
file?: string;
|
|
563
|
+
name?: string;
|
|
564
|
+
};
|
|
565
|
+
/** @returns {Src} */
|
|
566
|
+
declare function Src(): Src;
|
|
567
|
+
type Src = {
|
|
568
|
+
link?: string;
|
|
569
|
+
};
|
|
570
|
+
/** @returns {ThemesListingResponseSchema} */
|
|
571
|
+
declare function ThemesListingResponseSchema(): ThemesListingResponseSchema;
|
|
572
|
+
type ThemesListingResponseSchema = {
|
|
573
|
+
items?: ThemesSchema[];
|
|
574
|
+
page?: PaginationSchema;
|
|
575
|
+
};
|
|
576
|
+
/** @returns {ThemesSchema} */
|
|
577
|
+
declare function ThemesSchema(): ThemesSchema;
|
|
578
|
+
type ThemesSchema = {
|
|
579
|
+
__v?: number;
|
|
580
|
+
_id?: string;
|
|
581
|
+
application?: string;
|
|
582
|
+
applied?: boolean;
|
|
583
|
+
archived?: boolean;
|
|
584
|
+
assets?: AssetsSchema;
|
|
585
|
+
available_sections?: availableSectionSchema[];
|
|
586
|
+
colors?: Colors;
|
|
587
|
+
config?: Config;
|
|
588
|
+
created_at?: string;
|
|
589
|
+
customized?: boolean;
|
|
590
|
+
font?: Font;
|
|
591
|
+
information?: Information;
|
|
592
|
+
parent_theme?: string;
|
|
593
|
+
parent_theme_version?: string;
|
|
594
|
+
published?: boolean;
|
|
595
|
+
src?: Src;
|
|
596
|
+
styles?: any;
|
|
597
|
+
tags?: string[];
|
|
598
|
+
updated_at?: string;
|
|
599
|
+
version?: string;
|
|
600
|
+
};
|
|
601
|
+
/** @returns {UmdJs} */
|
|
602
|
+
declare function UmdJs(): UmdJs;
|
|
603
|
+
type UmdJs = {
|
|
604
|
+
link?: string;
|
|
605
|
+
links?: string[];
|
|
606
|
+
};
|
|
607
|
+
/** @returns {UpgradableThemeSchema} */
|
|
608
|
+
declare function UpgradableThemeSchema(): UpgradableThemeSchema;
|
|
609
|
+
type UpgradableThemeSchema = {
|
|
610
|
+
applied_theme?: string;
|
|
611
|
+
parent_theme?: string;
|
|
612
|
+
upgrade?: boolean;
|
|
613
|
+
};
|
|
614
|
+
/** @returns {Variants} */
|
|
615
|
+
declare function Variants(): Variants;
|
|
616
|
+
type Variants = {
|
|
617
|
+
bold?: Bold;
|
|
618
|
+
light?: Light;
|
|
619
|
+
medium?: Medium;
|
|
620
|
+
regular?: Regular;
|
|
621
|
+
semi_bold?: SemiBold;
|
|
622
|
+
};
|