@gofynd/fdk-client-javascript 1.6.4 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -670
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -268
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4103 -9109
- package/sdk/platform/Order/OrderPlatformModel.js +3198 -4245
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +18 -71
- package/sdk/platform/User/UserPlatformApplicationClient.js +27 -412
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +10 -114
- package/sdk/platform/User/UserPlatformApplicationValidator.js +7 -80
- package/sdk/platform/User/UserPlatformModel.d.ts +216 -264
- package/sdk/platform/User/UserPlatformModel.js +209 -216
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +428 -810
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -444
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -1,4 +1,99 @@
|
|
|
1
1
|
export = ThemePlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef MarketplaceTheme
|
|
4
|
+
* @property {string} [_id] - Theme ID
|
|
5
|
+
* @property {PaymentInfo} [payment]
|
|
6
|
+
* @property {ContactInfo} [contact]
|
|
7
|
+
* @property {string[]} [industry] - Industries the theme is suitable for
|
|
8
|
+
* @property {boolean} [is_update] - Indicates if the theme is an update
|
|
9
|
+
* @property {boolean} [is_default] - Indicates if the theme is a default theme
|
|
10
|
+
* @property {string} [name] - Theme name
|
|
11
|
+
* @property {string} [tagline] - Theme tagline
|
|
12
|
+
* @property {string} [description] - Theme description
|
|
13
|
+
* @property {CatalogSize} [catalog_size]
|
|
14
|
+
* @property {MarketplaceThemeImages} [images]
|
|
15
|
+
* @property {CarouselItem[]} [carousel]
|
|
16
|
+
* @property {string} [src] - Theme source URL
|
|
17
|
+
* @property {ExploreInfo} [explore]
|
|
18
|
+
* @property {Feature[]} [features]
|
|
19
|
+
* @property {Highlight[]} [highlights]
|
|
20
|
+
* @property {Variation[]} [variations]
|
|
21
|
+
* @property {Documentation} [documentation]
|
|
22
|
+
* @property {string} [status] - Theme status
|
|
23
|
+
* @property {number} [step] - Theme step
|
|
24
|
+
* @property {Comments} [comments]
|
|
25
|
+
* @property {Release} [release]
|
|
26
|
+
* @property {string} [slug] - Theme slug
|
|
27
|
+
* @property {string} [organization_id] - Organization ID
|
|
28
|
+
* @property {string} [user_id] - User ID
|
|
29
|
+
* @property {string} [created_at] - Theme creation timestamp
|
|
30
|
+
* @property {string} [updated_at] - Theme update timestamp
|
|
31
|
+
* @property {string} [template_theme_id] - Template theme ID
|
|
32
|
+
* @property {string} [theme_type] - Theme type
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef PaymentInfo
|
|
36
|
+
* @property {boolean} [is_paid] - Indicates if the theme is paid
|
|
37
|
+
* @property {number} [amount] - Amount of payment
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @typedef ContactInfo
|
|
41
|
+
* @property {string[]} [developer_contact] - Developer contact information
|
|
42
|
+
* @property {string} [seller_contact] - Seller contact information
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* @typedef CatalogSize
|
|
46
|
+
* @property {number} [min] - Minimum catalog size
|
|
47
|
+
* @property {number} [max] - Maximum catalog size
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* @typedef MarketplaceThemeImages
|
|
51
|
+
* @property {string} [desktop] - Desktop theme image URL
|
|
52
|
+
* @property {string} [mobile] - Mobile theme image URL
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* @typedef CarouselItem
|
|
56
|
+
* @property {string} [desktop] - Desktop carousel image URL
|
|
57
|
+
* @property {string} [mobile] - Mobile carousel image URL
|
|
58
|
+
*/
|
|
59
|
+
/**
|
|
60
|
+
* @typedef ExploreInfo
|
|
61
|
+
* @property {string} [title] - Explore feature title
|
|
62
|
+
* @property {string} [description] - Explore feature description
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* @typedef Feature
|
|
66
|
+
* @property {string} [category] - Feature category
|
|
67
|
+
* @property {FeatureItem[]} [list]
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @typedef FeatureItem
|
|
71
|
+
* @property {string} [label] - Feature properties
|
|
72
|
+
* @property {string} [description] - Feature description
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* @typedef Highlight
|
|
76
|
+
* @property {string} [title] - Highlight title
|
|
77
|
+
* @property {string} [description] - Highlight description
|
|
78
|
+
* @property {string} [image] - Highlight image URL
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* @typedef Variation
|
|
82
|
+
* @property {string} [name] - Variation name
|
|
83
|
+
* @property {string} [color] - Variation color
|
|
84
|
+
* @property {string} [demo_url] - Variation demo URL
|
|
85
|
+
* @property {MarketplaceThemeImages} [images]
|
|
86
|
+
*/
|
|
87
|
+
/**
|
|
88
|
+
* @typedef Documentation
|
|
89
|
+
* @property {string} [notes] - Documentation notes
|
|
90
|
+
* @property {string} [url] - Documentation URL
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* @typedef Comments
|
|
94
|
+
* @property {string} [developer_remark] - Developer remark
|
|
95
|
+
* @property {string} [reviewer_feedback] - Reviewer feedback
|
|
96
|
+
*/
|
|
2
97
|
/**
|
|
3
98
|
* @typedef GetExtensionSectionRes
|
|
4
99
|
* @property {string} [extension_id]
|
|
@@ -46,6 +141,20 @@ export = ThemePlatformModel;
|
|
|
46
141
|
* @property {string} [updated_at] - The timestamp when the theme was last updated.
|
|
47
142
|
* @property {AppliedThemes[]} [applied_themes]
|
|
48
143
|
*/
|
|
144
|
+
/**
|
|
145
|
+
* @typedef CompanyThemeReqSchema
|
|
146
|
+
* @property {string} [marketplace_theme_id] - Theme id of the marketplace
|
|
147
|
+
*/
|
|
148
|
+
/**
|
|
149
|
+
* @typedef CompanyThemeResponse
|
|
150
|
+
* @property {string} [_id] - The unique identifier for the theme.
|
|
151
|
+
* @property {string} [name] - The name of the theme.
|
|
152
|
+
* @property {string} [marketplace_theme_id]
|
|
153
|
+
* @property {number} [company_id] - The ID of the company that the theme belongs to.
|
|
154
|
+
* @property {CompanyThemeMeta} [meta]
|
|
155
|
+
* @property {string} [created_at] - The timestamp when the theme was created.
|
|
156
|
+
* @property {string} [updated_at] - The timestamp when the theme was last updated.
|
|
157
|
+
*/
|
|
49
158
|
/**
|
|
50
159
|
* @typedef MarketplaceThemeId
|
|
51
160
|
* @property {string} [_id] - The unique identifier for the marketplace theme.
|
|
@@ -87,6 +196,7 @@ export = ThemePlatformModel;
|
|
|
87
196
|
* @property {string} [_id]
|
|
88
197
|
* @property {string} [created_at] - The creation timestamp of the page
|
|
89
198
|
* @property {string} [updated_at] - The last update timestamp of the page
|
|
199
|
+
* @property {string} [application]
|
|
90
200
|
*/
|
|
91
201
|
/**
|
|
92
202
|
* @typedef AvailablePageSectionMetaAttributes
|
|
@@ -124,11 +234,13 @@ export = ThemePlatformModel;
|
|
|
124
234
|
* @property {string} [description]
|
|
125
235
|
* @property {SEOMetaItem[]} [meta_tags]
|
|
126
236
|
* @property {SEOSitemap} [sitemap]
|
|
127
|
-
* @property {SEObreadcrumb[]} [
|
|
237
|
+
* @property {SEObreadcrumb[]} [breadcrumbs]
|
|
128
238
|
* @property {string} [_id]
|
|
239
|
+
* @property {string} [canonical_url]
|
|
129
240
|
*/
|
|
130
241
|
/**
|
|
131
242
|
* @typedef AvailablePageSchemaSections
|
|
243
|
+
* @property {string} [_id] - Unique Id for section.
|
|
132
244
|
* @property {string} [name]
|
|
133
245
|
* @property {string} [label]
|
|
134
246
|
* @property {Object} [props]
|
|
@@ -193,7 +305,7 @@ export = ThemePlatformModel;
|
|
|
193
305
|
*/
|
|
194
306
|
/**
|
|
195
307
|
* @typedef FontsSchema
|
|
196
|
-
* @property {
|
|
308
|
+
* @property {Object[]} [items]
|
|
197
309
|
* @property {string} [kind]
|
|
198
310
|
*/
|
|
199
311
|
/**
|
|
@@ -214,6 +326,7 @@ export = ThemePlatformModel;
|
|
|
214
326
|
* @property {FontsSchemaItemsFiles} [files]
|
|
215
327
|
* @property {string} [category]
|
|
216
328
|
* @property {string} [kind]
|
|
329
|
+
* @property {string} [menu]
|
|
217
330
|
*/
|
|
218
331
|
/**
|
|
219
332
|
* @typedef FontsSchemaItemsFiles
|
|
@@ -238,6 +351,7 @@ export = ThemePlatformModel;
|
|
|
238
351
|
* @property {Object} [styles] - The styles associated with the theme
|
|
239
352
|
* @property {string} [created_at] - The creation timestamp of the theme
|
|
240
353
|
* @property {string} [updated_at] - The last update timestamp of the theme
|
|
354
|
+
* @property {Object[]} [global_sections]
|
|
241
355
|
* @property {Assets} [assets]
|
|
242
356
|
* @property {SectionItem[]} [available_sections] - Available sections information
|
|
243
357
|
* @property {string} [theme_type]
|
|
@@ -245,9 +359,9 @@ export = ThemePlatformModel;
|
|
|
245
359
|
* @property {string} [src]
|
|
246
360
|
*/
|
|
247
361
|
/**
|
|
248
|
-
* @typedef
|
|
362
|
+
* @typedef ThemeUpgradableResponse
|
|
249
363
|
* @property {boolean} [upgrade] - Indicates if the theme is upgradable or not
|
|
250
|
-
* @property {
|
|
364
|
+
* @property {Object} [versions]
|
|
251
365
|
* @property {string} [message] - A message describing the theme upgrade status
|
|
252
366
|
*/
|
|
253
367
|
/**
|
|
@@ -282,7 +396,7 @@ export = ThemePlatformModel;
|
|
|
282
396
|
* @property {string} current - The current configuration
|
|
283
397
|
* @property {ThemeConfiguration[]} list - A list of configurations
|
|
284
398
|
* @property {GlobalSchema} [global_schema]
|
|
285
|
-
* @property {
|
|
399
|
+
* @property {Object} [preset] - An Object of default theme configurations
|
|
286
400
|
*/
|
|
287
401
|
/**
|
|
288
402
|
* @typedef ThemeConfiguration
|
|
@@ -392,6 +506,7 @@ export = ThemePlatformModel;
|
|
|
392
506
|
/**
|
|
393
507
|
* @typedef Prop
|
|
394
508
|
* @property {string} [type] - The type of the property
|
|
509
|
+
* @property {Option[]} [options]
|
|
395
510
|
* @property {string} [category] - The category of the property
|
|
396
511
|
* @property {string} [value] - The value of the property
|
|
397
512
|
* @property {string} [id] - The ID of the property
|
|
@@ -423,6 +538,7 @@ export = ThemePlatformModel;
|
|
|
423
538
|
* @property {Object[]} [props]
|
|
424
539
|
* @property {Object[]} [blocks] - Blocks
|
|
425
540
|
* @property {string} [name] - Name of the section
|
|
541
|
+
* @property {SectionPreset} [preset]
|
|
426
542
|
* @property {string} [label] - Label for the section
|
|
427
543
|
*/
|
|
428
544
|
/**
|
|
@@ -517,7 +633,7 @@ export = ThemePlatformModel;
|
|
|
517
633
|
* @property {string} [applied_theme] - The version of the applied theme
|
|
518
634
|
*/
|
|
519
635
|
/**
|
|
520
|
-
* @typedef
|
|
636
|
+
* @typedef DummyResponse
|
|
521
637
|
* @property {string} [message]
|
|
522
638
|
*/
|
|
523
639
|
/**
|
|
@@ -538,6 +654,11 @@ export = ThemePlatformModel;
|
|
|
538
654
|
* @property {boolean} [is_private] - Whether the theme is private or not
|
|
539
655
|
* @property {CompanyThemeMeta} [meta]
|
|
540
656
|
*/
|
|
657
|
+
/**
|
|
658
|
+
* @typedef Option
|
|
659
|
+
* @property {string} [text]
|
|
660
|
+
* @property {string} [value]
|
|
661
|
+
*/
|
|
541
662
|
/**
|
|
542
663
|
* @typedef ActionPage
|
|
543
664
|
* @property {Object} [params] - Parameters that should be considered in path.
|
|
@@ -598,8 +719,242 @@ export = ThemePlatformModel;
|
|
|
598
719
|
declare class ThemePlatformModel {
|
|
599
720
|
}
|
|
600
721
|
declare namespace ThemePlatformModel {
|
|
601
|
-
export { GetExtensionSectionRes, ExtensionSection, PropExtension, AssetsExtension, ThemeReq, CompanyThemeSchema, MarketplaceThemeId, CompanyThemeMeta, ThemePayment, ThemeImages, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, SectionSource, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AllAvailablePageSchema, AddThemeRequestSchema, FontsSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, FontsSchemaItems, FontsSchemaItemsFiles, ThemesSchema,
|
|
722
|
+
export { MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, GetExtensionSectionRes, ExtensionSection, PropExtension, AssetsExtension, ThemeReq, CompanyThemeSchema, CompanyThemeReqSchema, CompanyThemeResponse, MarketplaceThemeId, CompanyThemeMeta, ThemePayment, ThemeImages, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, SectionSource, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AllAvailablePageSchema, AddThemeRequestSchema, FontsSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, FontsSchemaItems, FontsSchemaItemsFiles, ThemesSchema, ThemeUpgradableResponse, UpdateThemeNameRequestBody, UpdateThemeRequestBody, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, ThemeMeta, Release, Images, CustomProps, GlobalSchema, Prop, Assets, UMDJs, CommonJS, CSS, SectionItem, Preset, Page, Section, Block, Predicate, Screen, ThemeUserSchema, Route, SectionProps, SectionPreset, BlockProps, TextProp, CheckboxProp, RangeProp, ImagePickerProp, UrlProp, ThemeVersions, DummyResponse, AppliedThemes, CompanyPrivateTheme, Option, ActionPage, PageType };
|
|
602
723
|
}
|
|
724
|
+
/** @returns {MarketplaceTheme} */
|
|
725
|
+
declare function MarketplaceTheme(): MarketplaceTheme;
|
|
726
|
+
type MarketplaceTheme = {
|
|
727
|
+
/**
|
|
728
|
+
* - Theme ID
|
|
729
|
+
*/
|
|
730
|
+
_id?: string;
|
|
731
|
+
payment?: PaymentInfo;
|
|
732
|
+
contact?: ContactInfo;
|
|
733
|
+
/**
|
|
734
|
+
* - Industries the theme is suitable for
|
|
735
|
+
*/
|
|
736
|
+
industry?: string[];
|
|
737
|
+
/**
|
|
738
|
+
* - Indicates if the theme is an update
|
|
739
|
+
*/
|
|
740
|
+
is_update?: boolean;
|
|
741
|
+
/**
|
|
742
|
+
* - Indicates if the theme is a default theme
|
|
743
|
+
*/
|
|
744
|
+
is_default?: boolean;
|
|
745
|
+
/**
|
|
746
|
+
* - Theme name
|
|
747
|
+
*/
|
|
748
|
+
name?: string;
|
|
749
|
+
/**
|
|
750
|
+
* - Theme tagline
|
|
751
|
+
*/
|
|
752
|
+
tagline?: string;
|
|
753
|
+
/**
|
|
754
|
+
* - Theme description
|
|
755
|
+
*/
|
|
756
|
+
description?: string;
|
|
757
|
+
catalog_size?: CatalogSize;
|
|
758
|
+
images?: MarketplaceThemeImages;
|
|
759
|
+
carousel?: CarouselItem[];
|
|
760
|
+
/**
|
|
761
|
+
* - Theme source URL
|
|
762
|
+
*/
|
|
763
|
+
src?: string;
|
|
764
|
+
explore?: ExploreInfo;
|
|
765
|
+
features?: Feature[];
|
|
766
|
+
highlights?: Highlight[];
|
|
767
|
+
variations?: Variation[];
|
|
768
|
+
documentation?: Documentation;
|
|
769
|
+
/**
|
|
770
|
+
* - Theme status
|
|
771
|
+
*/
|
|
772
|
+
status?: string;
|
|
773
|
+
/**
|
|
774
|
+
* - Theme step
|
|
775
|
+
*/
|
|
776
|
+
step?: number;
|
|
777
|
+
comments?: Comments;
|
|
778
|
+
release?: Release;
|
|
779
|
+
/**
|
|
780
|
+
* - Theme slug
|
|
781
|
+
*/
|
|
782
|
+
slug?: string;
|
|
783
|
+
/**
|
|
784
|
+
* - Organization ID
|
|
785
|
+
*/
|
|
786
|
+
organization_id?: string;
|
|
787
|
+
/**
|
|
788
|
+
* - User ID
|
|
789
|
+
*/
|
|
790
|
+
user_id?: string;
|
|
791
|
+
/**
|
|
792
|
+
* - Theme creation timestamp
|
|
793
|
+
*/
|
|
794
|
+
created_at?: string;
|
|
795
|
+
/**
|
|
796
|
+
* - Theme update timestamp
|
|
797
|
+
*/
|
|
798
|
+
updated_at?: string;
|
|
799
|
+
/**
|
|
800
|
+
* - Template theme ID
|
|
801
|
+
*/
|
|
802
|
+
template_theme_id?: string;
|
|
803
|
+
/**
|
|
804
|
+
* - Theme type
|
|
805
|
+
*/
|
|
806
|
+
theme_type?: string;
|
|
807
|
+
};
|
|
808
|
+
/** @returns {PaymentInfo} */
|
|
809
|
+
declare function PaymentInfo(): PaymentInfo;
|
|
810
|
+
type PaymentInfo = {
|
|
811
|
+
/**
|
|
812
|
+
* - Indicates if the theme is paid
|
|
813
|
+
*/
|
|
814
|
+
is_paid?: boolean;
|
|
815
|
+
/**
|
|
816
|
+
* - Amount of payment
|
|
817
|
+
*/
|
|
818
|
+
amount?: number;
|
|
819
|
+
};
|
|
820
|
+
/** @returns {ContactInfo} */
|
|
821
|
+
declare function ContactInfo(): ContactInfo;
|
|
822
|
+
type ContactInfo = {
|
|
823
|
+
/**
|
|
824
|
+
* - Developer contact information
|
|
825
|
+
*/
|
|
826
|
+
developer_contact?: string[];
|
|
827
|
+
/**
|
|
828
|
+
* - Seller contact information
|
|
829
|
+
*/
|
|
830
|
+
seller_contact?: string;
|
|
831
|
+
};
|
|
832
|
+
/** @returns {CatalogSize} */
|
|
833
|
+
declare function CatalogSize(): CatalogSize;
|
|
834
|
+
type CatalogSize = {
|
|
835
|
+
/**
|
|
836
|
+
* - Minimum catalog size
|
|
837
|
+
*/
|
|
838
|
+
min?: number;
|
|
839
|
+
/**
|
|
840
|
+
* - Maximum catalog size
|
|
841
|
+
*/
|
|
842
|
+
max?: number;
|
|
843
|
+
};
|
|
844
|
+
/** @returns {MarketplaceThemeImages} */
|
|
845
|
+
declare function MarketplaceThemeImages(): MarketplaceThemeImages;
|
|
846
|
+
type MarketplaceThemeImages = {
|
|
847
|
+
/**
|
|
848
|
+
* - Desktop theme image URL
|
|
849
|
+
*/
|
|
850
|
+
desktop?: string;
|
|
851
|
+
/**
|
|
852
|
+
* - Mobile theme image URL
|
|
853
|
+
*/
|
|
854
|
+
mobile?: string;
|
|
855
|
+
};
|
|
856
|
+
/** @returns {CarouselItem} */
|
|
857
|
+
declare function CarouselItem(): CarouselItem;
|
|
858
|
+
type CarouselItem = {
|
|
859
|
+
/**
|
|
860
|
+
* - Desktop carousel image URL
|
|
861
|
+
*/
|
|
862
|
+
desktop?: string;
|
|
863
|
+
/**
|
|
864
|
+
* - Mobile carousel image URL
|
|
865
|
+
*/
|
|
866
|
+
mobile?: string;
|
|
867
|
+
};
|
|
868
|
+
/** @returns {ExploreInfo} */
|
|
869
|
+
declare function ExploreInfo(): ExploreInfo;
|
|
870
|
+
type ExploreInfo = {
|
|
871
|
+
/**
|
|
872
|
+
* - Explore feature title
|
|
873
|
+
*/
|
|
874
|
+
title?: string;
|
|
875
|
+
/**
|
|
876
|
+
* - Explore feature description
|
|
877
|
+
*/
|
|
878
|
+
description?: string;
|
|
879
|
+
};
|
|
880
|
+
/** @returns {Feature} */
|
|
881
|
+
declare function Feature(): Feature;
|
|
882
|
+
type Feature = {
|
|
883
|
+
/**
|
|
884
|
+
* - Feature category
|
|
885
|
+
*/
|
|
886
|
+
category?: string;
|
|
887
|
+
list?: FeatureItem[];
|
|
888
|
+
};
|
|
889
|
+
/** @returns {FeatureItem} */
|
|
890
|
+
declare function FeatureItem(): FeatureItem;
|
|
891
|
+
type FeatureItem = {
|
|
892
|
+
/**
|
|
893
|
+
* - Feature properties
|
|
894
|
+
*/
|
|
895
|
+
label?: string;
|
|
896
|
+
/**
|
|
897
|
+
* - Feature description
|
|
898
|
+
*/
|
|
899
|
+
description?: string;
|
|
900
|
+
};
|
|
901
|
+
/** @returns {Highlight} */
|
|
902
|
+
declare function Highlight(): Highlight;
|
|
903
|
+
type Highlight = {
|
|
904
|
+
/**
|
|
905
|
+
* - Highlight title
|
|
906
|
+
*/
|
|
907
|
+
title?: string;
|
|
908
|
+
/**
|
|
909
|
+
* - Highlight description
|
|
910
|
+
*/
|
|
911
|
+
description?: string;
|
|
912
|
+
/**
|
|
913
|
+
* - Highlight image URL
|
|
914
|
+
*/
|
|
915
|
+
image?: string;
|
|
916
|
+
};
|
|
917
|
+
/** @returns {Variation} */
|
|
918
|
+
declare function Variation(): Variation;
|
|
919
|
+
type Variation = {
|
|
920
|
+
/**
|
|
921
|
+
* - Variation name
|
|
922
|
+
*/
|
|
923
|
+
name?: string;
|
|
924
|
+
/**
|
|
925
|
+
* - Variation color
|
|
926
|
+
*/
|
|
927
|
+
color?: string;
|
|
928
|
+
/**
|
|
929
|
+
* - Variation demo URL
|
|
930
|
+
*/
|
|
931
|
+
demo_url?: string;
|
|
932
|
+
images?: MarketplaceThemeImages;
|
|
933
|
+
};
|
|
934
|
+
/** @returns {Documentation} */
|
|
935
|
+
declare function Documentation(): Documentation;
|
|
936
|
+
type Documentation = {
|
|
937
|
+
/**
|
|
938
|
+
* - Documentation notes
|
|
939
|
+
*/
|
|
940
|
+
notes?: string;
|
|
941
|
+
/**
|
|
942
|
+
* - Documentation URL
|
|
943
|
+
*/
|
|
944
|
+
url?: string;
|
|
945
|
+
};
|
|
946
|
+
/** @returns {Comments} */
|
|
947
|
+
declare function Comments(): Comments;
|
|
948
|
+
type Comments = {
|
|
949
|
+
/**
|
|
950
|
+
* - Developer remark
|
|
951
|
+
*/
|
|
952
|
+
developer_remark?: string;
|
|
953
|
+
/**
|
|
954
|
+
* - Reviewer feedback
|
|
955
|
+
*/
|
|
956
|
+
reviewer_feedback?: string;
|
|
957
|
+
};
|
|
603
958
|
/** @returns {GetExtensionSectionRes} */
|
|
604
959
|
declare function GetExtensionSectionRes(): GetExtensionSectionRes;
|
|
605
960
|
type GetExtensionSectionRes = {
|
|
@@ -671,6 +1026,40 @@ type CompanyThemeSchema = {
|
|
|
671
1026
|
updated_at?: string;
|
|
672
1027
|
applied_themes?: AppliedThemes[];
|
|
673
1028
|
};
|
|
1029
|
+
/** @returns {CompanyThemeReqSchema} */
|
|
1030
|
+
declare function CompanyThemeReqSchema(): CompanyThemeReqSchema;
|
|
1031
|
+
type CompanyThemeReqSchema = {
|
|
1032
|
+
/**
|
|
1033
|
+
* - Theme id of the marketplace
|
|
1034
|
+
*/
|
|
1035
|
+
marketplace_theme_id?: string;
|
|
1036
|
+
};
|
|
1037
|
+
/** @returns {CompanyThemeResponse} */
|
|
1038
|
+
declare function CompanyThemeResponse(): CompanyThemeResponse;
|
|
1039
|
+
type CompanyThemeResponse = {
|
|
1040
|
+
/**
|
|
1041
|
+
* - The unique identifier for the theme.
|
|
1042
|
+
*/
|
|
1043
|
+
_id?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* - The name of the theme.
|
|
1046
|
+
*/
|
|
1047
|
+
name?: string;
|
|
1048
|
+
marketplace_theme_id?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* - The ID of the company that the theme belongs to.
|
|
1051
|
+
*/
|
|
1052
|
+
company_id?: number;
|
|
1053
|
+
meta?: CompanyThemeMeta;
|
|
1054
|
+
/**
|
|
1055
|
+
* - The timestamp when the theme was created.
|
|
1056
|
+
*/
|
|
1057
|
+
created_at?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* - The timestamp when the theme was last updated.
|
|
1060
|
+
*/
|
|
1061
|
+
updated_at?: string;
|
|
1062
|
+
};
|
|
674
1063
|
/** @returns {MarketplaceThemeId} */
|
|
675
1064
|
declare function MarketplaceThemeId(): MarketplaceThemeId;
|
|
676
1065
|
type MarketplaceThemeId = {
|
|
@@ -756,6 +1145,7 @@ type AvailablePageSchema = {
|
|
|
756
1145
|
* - The last update timestamp of the page
|
|
757
1146
|
*/
|
|
758
1147
|
updated_at?: string;
|
|
1148
|
+
application?: string;
|
|
759
1149
|
};
|
|
760
1150
|
/** @returns {AvailablePageSectionMetaAttributes} */
|
|
761
1151
|
declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
|
|
@@ -803,12 +1193,17 @@ type AvailablePageSeo = {
|
|
|
803
1193
|
description?: string;
|
|
804
1194
|
meta_tags?: SEOMetaItem[];
|
|
805
1195
|
sitemap?: SEOSitemap;
|
|
806
|
-
|
|
1196
|
+
breadcrumbs?: SEObreadcrumb[];
|
|
807
1197
|
_id?: string;
|
|
1198
|
+
canonical_url?: string;
|
|
808
1199
|
};
|
|
809
1200
|
/** @returns {AvailablePageSchemaSections} */
|
|
810
1201
|
declare function AvailablePageSchemaSections(): AvailablePageSchemaSections;
|
|
811
1202
|
type AvailablePageSchemaSections = {
|
|
1203
|
+
/**
|
|
1204
|
+
* - Unique Id for section.
|
|
1205
|
+
*/
|
|
1206
|
+
_id?: string;
|
|
812
1207
|
name?: string;
|
|
813
1208
|
label?: string;
|
|
814
1209
|
props?: any;
|
|
@@ -904,7 +1299,7 @@ type AddThemeRequestSchema = {
|
|
|
904
1299
|
/** @returns {FontsSchema} */
|
|
905
1300
|
declare function FontsSchema(): FontsSchema;
|
|
906
1301
|
type FontsSchema = {
|
|
907
|
-
items?:
|
|
1302
|
+
items?: any[];
|
|
908
1303
|
kind?: string;
|
|
909
1304
|
};
|
|
910
1305
|
/** @returns {BlitzkriegApiErrorSchema} */
|
|
@@ -928,6 +1323,7 @@ type FontsSchemaItems = {
|
|
|
928
1323
|
files?: FontsSchemaItemsFiles;
|
|
929
1324
|
category?: string;
|
|
930
1325
|
kind?: string;
|
|
1326
|
+
menu?: string;
|
|
931
1327
|
};
|
|
932
1328
|
/** @returns {FontsSchemaItemsFiles} */
|
|
933
1329
|
declare function FontsSchemaItemsFiles(): FontsSchemaItemsFiles;
|
|
@@ -990,6 +1386,7 @@ type ThemesSchema = {
|
|
|
990
1386
|
* - The last update timestamp of the theme
|
|
991
1387
|
*/
|
|
992
1388
|
updated_at?: string;
|
|
1389
|
+
global_sections?: any[];
|
|
993
1390
|
assets?: Assets;
|
|
994
1391
|
/**
|
|
995
1392
|
* - Available sections information
|
|
@@ -1002,14 +1399,14 @@ type ThemesSchema = {
|
|
|
1002
1399
|
company_id?: number;
|
|
1003
1400
|
src?: string;
|
|
1004
1401
|
};
|
|
1005
|
-
/** @returns {
|
|
1006
|
-
declare function
|
|
1007
|
-
type
|
|
1402
|
+
/** @returns {ThemeUpgradableResponse} */
|
|
1403
|
+
declare function ThemeUpgradableResponse(): ThemeUpgradableResponse;
|
|
1404
|
+
type ThemeUpgradableResponse = {
|
|
1008
1405
|
/**
|
|
1009
1406
|
* - Indicates if the theme is upgradable or not
|
|
1010
1407
|
*/
|
|
1011
1408
|
upgrade?: boolean;
|
|
1012
|
-
versions?:
|
|
1409
|
+
versions?: any;
|
|
1013
1410
|
/**
|
|
1014
1411
|
* - A message describing the theme upgrade status
|
|
1015
1412
|
*/
|
|
@@ -1071,7 +1468,10 @@ type Config = {
|
|
|
1071
1468
|
*/
|
|
1072
1469
|
list: ThemeConfiguration[];
|
|
1073
1470
|
global_schema?: GlobalSchema;
|
|
1074
|
-
|
|
1471
|
+
/**
|
|
1472
|
+
* - An Object of default theme configurations
|
|
1473
|
+
*/
|
|
1474
|
+
preset?: any;
|
|
1075
1475
|
};
|
|
1076
1476
|
/** @returns {ThemeConfiguration} */
|
|
1077
1477
|
declare function ThemeConfiguration(): ThemeConfiguration;
|
|
@@ -1321,6 +1721,7 @@ type Prop = {
|
|
|
1321
1721
|
* - The type of the property
|
|
1322
1722
|
*/
|
|
1323
1723
|
type?: string;
|
|
1724
|
+
options?: Option[];
|
|
1324
1725
|
/**
|
|
1325
1726
|
* - The category of the property
|
|
1326
1727
|
*/
|
|
@@ -1381,6 +1782,7 @@ type SectionItem = {
|
|
|
1381
1782
|
* - Name of the section
|
|
1382
1783
|
*/
|
|
1383
1784
|
name?: string;
|
|
1785
|
+
preset?: SectionPreset;
|
|
1384
1786
|
/**
|
|
1385
1787
|
* - Label for the section
|
|
1386
1788
|
*/
|
|
@@ -1563,9 +1965,9 @@ type ThemeVersions = {
|
|
|
1563
1965
|
*/
|
|
1564
1966
|
applied_theme?: string;
|
|
1565
1967
|
};
|
|
1566
|
-
/** @returns {
|
|
1567
|
-
declare function
|
|
1568
|
-
type
|
|
1968
|
+
/** @returns {DummyResponse} */
|
|
1969
|
+
declare function DummyResponse(): DummyResponse;
|
|
1970
|
+
type DummyResponse = {
|
|
1569
1971
|
message?: string;
|
|
1570
1972
|
};
|
|
1571
1973
|
/** @returns {AppliedThemes} */
|
|
@@ -1621,6 +2023,12 @@ type CompanyPrivateTheme = {
|
|
|
1621
2023
|
is_private?: boolean;
|
|
1622
2024
|
meta?: CompanyThemeMeta;
|
|
1623
2025
|
};
|
|
2026
|
+
/** @returns {Option} */
|
|
2027
|
+
declare function Option(): Option;
|
|
2028
|
+
type Option = {
|
|
2029
|
+
text?: string;
|
|
2030
|
+
value?: string;
|
|
2031
|
+
};
|
|
1624
2032
|
/** @returns {ActionPage} */
|
|
1625
2033
|
declare function ActionPage(): ActionPage;
|
|
1626
2034
|
type ActionPage = {
|