@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -4,225 +4,295 @@ declare class Theme {
|
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
|
-
* @param {ThemePlatformApplicationValidator.
|
|
7
|
+
* @param {ThemePlatformApplicationValidator.AddThemeToApplicationParam} arg
|
|
8
|
+
* - Arg object
|
|
9
|
+
*
|
|
10
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
8
11
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
12
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
13
|
+
* @name addThemeToApplication
|
|
14
|
+
* @summary: Add a theme to an application
|
|
15
|
+
* @description: Add a theme to an application by providing the marketplace theme ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addThemeToApplication/).
|
|
16
|
+
*/
|
|
17
|
+
addThemeToApplication({ body, requestHeaders }?: ThemePlatformApplicationValidator.AddThemeToApplicationParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
18
|
+
/**
|
|
19
|
+
* @param {ThemePlatformApplicationValidator.AddToThemeLibraryParam} arg - Arg object
|
|
20
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
21
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
22
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
10
23
|
* @name addToThemeLibrary
|
|
11
24
|
* @summary: Add a theme to the theme library
|
|
12
25
|
* @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to choose a theme and add it to the theme library. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addToThemeLibrary/).
|
|
13
26
|
*/
|
|
14
|
-
addToThemeLibrary({ body }?: ThemePlatformApplicationValidator.AddToThemeLibraryParam, {
|
|
27
|
+
addToThemeLibrary({ body, requestHeaders }?: ThemePlatformApplicationValidator.AddToThemeLibraryParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
15
28
|
/**
|
|
16
29
|
* @param {ThemePlatformApplicationValidator.ApplyThemeParam} arg - Arg object
|
|
30
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
17
31
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
18
32
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
19
33
|
* @name applyTheme
|
|
20
|
-
* @summary: Apply a
|
|
21
|
-
* @description:
|
|
34
|
+
* @summary: Apply theme to a specific application
|
|
35
|
+
* @description: Apply theme to a specific application by providing company_id, application_id, and theme_id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/applyTheme/).
|
|
22
36
|
*/
|
|
23
|
-
applyTheme({
|
|
37
|
+
applyTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.ApplyThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
24
38
|
/**
|
|
25
39
|
* @param {ThemePlatformApplicationValidator.ArchiveThemeParam} arg - Arg object
|
|
40
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
26
41
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
27
|
-
* @returns {Promise<ThemePlatformModel.
|
|
42
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
28
43
|
* @name archiveTheme
|
|
29
44
|
* @summary: Archive a theme
|
|
30
45
|
* @description: Use this API to store an existing theme but not delete it so that it can be used in future if required. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/archiveTheme/).
|
|
31
46
|
*/
|
|
32
|
-
archiveTheme({ themeId }?: ThemePlatformApplicationValidator.ArchiveThemeParam, {
|
|
47
|
+
archiveTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.ArchiveThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
33
48
|
/**
|
|
34
49
|
* @param {ThemePlatformApplicationValidator.CreatePageParam} arg - Arg object
|
|
50
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
35
51
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
36
52
|
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
37
53
|
* @name createPage
|
|
38
54
|
* @summary: Create a page
|
|
39
55
|
* @description: Use this API to create a page for a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/createPage/).
|
|
40
56
|
*/
|
|
41
|
-
createPage({ themeId, body }?: ThemePlatformApplicationValidator.CreatePageParam, {
|
|
42
|
-
/**
|
|
43
|
-
* @param {ThemePlatformApplicationValidator.CreateThemeParam} arg - Arg object
|
|
44
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
45
|
-
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
46
|
-
* @name createTheme
|
|
47
|
-
* @summary: Create a new theme
|
|
48
|
-
* @description: Themes improve the look and appearance of a website. Use this API to create a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/createTheme/).
|
|
49
|
-
*/
|
|
50
|
-
createTheme({ body }?: ThemePlatformApplicationValidator.CreateThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
57
|
+
createPage({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.CreatePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
51
58
|
/**
|
|
52
59
|
* @param {ThemePlatformApplicationValidator.DeletePageParam} arg - Arg object
|
|
60
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
53
61
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
54
62
|
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
55
63
|
* @name deletePage
|
|
56
64
|
* @summary: Deletes a page
|
|
57
65
|
* @description: Use this API to delete a page for a theme by its ID and page_value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deletePage/).
|
|
58
66
|
*/
|
|
59
|
-
deletePage({ themeId, pageValue }?: ThemePlatformApplicationValidator.DeletePageParam, {
|
|
67
|
+
deletePage({ themeId, pageValue, requestHeaders }?: ThemePlatformApplicationValidator.DeletePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
60
68
|
/**
|
|
61
69
|
* @param {ThemePlatformApplicationValidator.DeleteThemeParam} arg - Arg object
|
|
70
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
62
71
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
63
72
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
64
73
|
* @name deleteTheme
|
|
65
74
|
* @summary: Delete a theme
|
|
66
|
-
* @description:
|
|
75
|
+
* @description: This endpoint is used to delete a theme from the specified company and application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteTheme/).
|
|
76
|
+
*/
|
|
77
|
+
deleteTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.DeleteThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
78
|
+
/**
|
|
79
|
+
* @param {ThemePlatformApplicationValidator.DuplicateThemeParam} arg - Arg object
|
|
80
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
81
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
82
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
83
|
+
* @name duplicateTheme
|
|
84
|
+
* @summary: Duplicate a Theme
|
|
85
|
+
* @description: This endpoint duplicates a Theme in the specified application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/duplicateTheme/).
|
|
67
86
|
*/
|
|
68
|
-
|
|
87
|
+
duplicateTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.DuplicateThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
69
88
|
/**
|
|
70
89
|
* @param {ThemePlatformApplicationValidator.GetAllPagesParam} arg - Arg object
|
|
90
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
71
91
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
72
92
|
* @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
|
|
73
93
|
* @name getAllPages
|
|
74
94
|
* @summary: Get all pages of a theme
|
|
75
95
|
* @description: Use this API to retrieve all the available pages of a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAllPages/).
|
|
76
96
|
*/
|
|
77
|
-
getAllPages({ themeId }?: ThemePlatformApplicationValidator.GetAllPagesParam, {
|
|
97
|
+
getAllPages({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetAllPagesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AllAvailablePageSchema>;
|
|
78
98
|
/**
|
|
99
|
+
* @param {ThemePlatformApplicationValidator.GetApplicationThemesParam} arg
|
|
100
|
+
* - Arg object
|
|
101
|
+
*
|
|
102
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
104
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema[]>} - Success response
|
|
105
|
+
* @name getApplicationThemes
|
|
106
|
+
* @summary: Get all the themes for a specific application
|
|
107
|
+
* @description: Get all the themes for a specific application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getApplicationThemes/).
|
|
108
|
+
*/
|
|
109
|
+
getApplicationThemes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema[]>;
|
|
110
|
+
/**
|
|
111
|
+
* @param {ThemePlatformApplicationValidator.GetApplicationThemesCountParam} arg
|
|
112
|
+
* - Arg object
|
|
113
|
+
*
|
|
114
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
115
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
116
|
+
* @returns {Promise<Object>} - Success response
|
|
117
|
+
* @name getApplicationThemesCount
|
|
118
|
+
* @summary: Get the count of themes for a specific application
|
|
119
|
+
* @description: Get the count of themes for a specific application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getApplicationThemesCount/).
|
|
120
|
+
*/
|
|
121
|
+
getApplicationThemesCount({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
|
|
122
|
+
/**
|
|
123
|
+
* @param {ThemePlatformApplicationValidator.GetAppliedThemeParam} arg - Arg object
|
|
124
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
79
125
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
80
126
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
81
127
|
* @name getAppliedTheme
|
|
82
|
-
* @summary: Get the
|
|
83
|
-
* @description:
|
|
128
|
+
* @summary: Get the Applied theme of an Application
|
|
129
|
+
* @description: Get Applied Theme of an Application by Application Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAppliedTheme/).
|
|
84
130
|
*/
|
|
85
|
-
getAppliedTheme({
|
|
131
|
+
getAppliedTheme({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
86
132
|
/**
|
|
133
|
+
* @param {ThemePlatformApplicationValidator.GetFontsParam} arg - Arg object
|
|
134
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
87
135
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
88
136
|
* @returns {Promise<ThemePlatformModel.FontsSchema>} - Success response
|
|
89
137
|
* @name getFonts
|
|
90
138
|
* @summary: Get all the supported fonts in a theme
|
|
91
139
|
* @description: Font is a collection of characters with a similar design. Use this API to retrieve a list of website fonts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getFonts/).
|
|
92
140
|
*/
|
|
93
|
-
getFonts({
|
|
141
|
+
getFonts({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemePlatformModel.FontsSchema>;
|
|
94
142
|
/**
|
|
95
143
|
* @param {ThemePlatformApplicationValidator.GetPageParam} arg - Arg object
|
|
144
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
96
145
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
97
146
|
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
98
147
|
* @name getPage
|
|
99
148
|
* @summary: Get page of a theme
|
|
100
149
|
* @description: Use this API to retrieve a page of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPage/).
|
|
101
150
|
*/
|
|
102
|
-
getPage({ themeId, pageValue }?: ThemePlatformApplicationValidator.GetPageParam, {
|
|
151
|
+
getPage({ themeId, pageValue, requestHeaders }?: ThemePlatformApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
103
152
|
/**
|
|
104
153
|
* @param {ThemePlatformApplicationValidator.GetPublicThemesParam} arg - Arg object
|
|
154
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
105
155
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
106
|
-
* @returns {Promise<ThemePlatformModel.
|
|
107
|
-
* Success response
|
|
156
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
108
157
|
* @name getPublicThemes
|
|
109
158
|
* @summary: Get all public themes
|
|
110
159
|
* @description: Use this API to get a list of free themes that you can apply to your website. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPublicThemes/).
|
|
111
160
|
*/
|
|
112
|
-
getPublicThemes({ pageSize, pageNo }?: ThemePlatformApplicationValidator.GetPublicThemesParam, {
|
|
161
|
+
getPublicThemes({ pageSize, pageNo, requestHeaders }?: ThemePlatformApplicationValidator.GetPublicThemesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
113
162
|
/**
|
|
114
163
|
* @param {ThemePlatformApplicationValidator.GetThemeByIdParam} arg - Arg object
|
|
164
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
115
165
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
116
166
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
117
167
|
* @name getThemeById
|
|
118
|
-
* @summary:
|
|
119
|
-
* @description:
|
|
168
|
+
* @summary: Get Theme By Theme Id
|
|
169
|
+
* @description: Get Theme By Theme Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeById/).
|
|
120
170
|
*/
|
|
121
|
-
getThemeById({ themeId }?: ThemePlatformApplicationValidator.GetThemeByIdParam, {
|
|
171
|
+
getThemeById({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeByIdParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
122
172
|
/**
|
|
123
173
|
* @param {ThemePlatformApplicationValidator.GetThemeForPreviewParam} arg - Arg object
|
|
174
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
124
175
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
125
176
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
126
177
|
* @name getThemeForPreview
|
|
127
|
-
* @summary: Get
|
|
128
|
-
* @description:
|
|
178
|
+
* @summary: Get Theme Preview By Theme Id
|
|
179
|
+
* @description: Get Theme Preview By Theme Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeForPreview/).
|
|
129
180
|
*/
|
|
130
|
-
getThemeForPreview({ themeId }?: ThemePlatformApplicationValidator.GetThemeForPreviewParam, {
|
|
181
|
+
getThemeForPreview({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
131
182
|
/**
|
|
132
183
|
* @param {ThemePlatformApplicationValidator.GetThemeLastModifiedParam} arg
|
|
133
184
|
* - Arg object
|
|
134
185
|
*
|
|
186
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
135
187
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
136
188
|
* @returns {Promise<any>} - Success response
|
|
137
189
|
* @name getThemeLastModified
|
|
138
190
|
* @summary: Fetch last modified timestamp
|
|
139
191
|
* @description: Use this API to fetch Last-Modified timestamp in header metadata. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLastModified/).
|
|
140
192
|
*/
|
|
141
|
-
getThemeLastModified({ themeId }?: ThemePlatformApplicationValidator.GetThemeLastModifiedParam, {
|
|
193
|
+
getThemeLastModified({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeLastModifiedParam, { responseHeaders }?: object): Promise<any>;
|
|
142
194
|
/**
|
|
143
195
|
* @param {ThemePlatformApplicationValidator.GetThemeLibraryParam} arg - Arg object
|
|
196
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
144
197
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
145
|
-
* @returns {Promise<ThemePlatformModel.
|
|
146
|
-
* Success response
|
|
198
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
147
199
|
* @name getThemeLibrary
|
|
148
200
|
* @summary: Get a list of themes from the theme library
|
|
149
201
|
* @description: Theme library is a personalized collection of themes that are chosen and added from the available themes. Use this API to fetch a list of themes from the library along with their configuration details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLibrary/).
|
|
150
202
|
*/
|
|
151
|
-
getThemeLibrary({ pageSize, pageNo }?: ThemePlatformApplicationValidator.GetThemeLibraryParam, {
|
|
203
|
+
getThemeLibrary({ pageSize, pageNo, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeLibraryParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
152
204
|
/**
|
|
153
205
|
* @param {ThemePlatformApplicationValidator.IsUpgradableParam} arg - Arg object
|
|
206
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
154
207
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
155
|
-
* @returns {Promise<ThemePlatformModel.
|
|
208
|
+
* @returns {Promise<ThemePlatformModel.ThemeUpgradableResponse>} - Success response
|
|
156
209
|
* @name isUpgradable
|
|
157
|
-
* @summary:
|
|
158
|
-
* @description:
|
|
210
|
+
* @summary: Check if the theme is upgradable
|
|
211
|
+
* @description: This API endpoint checks if the theme is upgradable for a specific company and application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
|
|
159
212
|
*/
|
|
160
|
-
isUpgradable({ themeId }?: ThemePlatformApplicationValidator.IsUpgradableParam, {
|
|
213
|
+
isUpgradable({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.IsUpgradableParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemeUpgradableResponse>;
|
|
161
214
|
/**
|
|
162
215
|
* @param {ThemePlatformApplicationValidator.PublishThemeParam} arg - Arg object
|
|
216
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
163
217
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
164
|
-
* @returns {Promise<ThemePlatformModel.
|
|
218
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
165
219
|
* @name publishTheme
|
|
166
220
|
* @summary: Publish a theme
|
|
167
221
|
* @description: Use this API to publish a theme that is either newly created or edited. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/publishTheme/).
|
|
168
222
|
*/
|
|
169
|
-
publishTheme({ themeId }?: ThemePlatformApplicationValidator.PublishThemeParam, {
|
|
223
|
+
publishTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.PublishThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
170
224
|
/**
|
|
171
225
|
* @param {ThemePlatformApplicationValidator.UnarchiveThemeParam} arg - Arg object
|
|
226
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
172
227
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
173
|
-
* @returns {Promise<ThemePlatformModel.
|
|
228
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
174
229
|
* @name unarchiveTheme
|
|
175
230
|
* @summary: Unarchive a theme
|
|
176
231
|
* @description: Use this API to restore an archived theme and bring it back for editing or publishing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/unarchiveTheme/).
|
|
177
232
|
*/
|
|
178
|
-
unarchiveTheme({ themeId }?: ThemePlatformApplicationValidator.UnarchiveThemeParam, {
|
|
233
|
+
unarchiveTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UnarchiveThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
179
234
|
/**
|
|
180
235
|
* @param {ThemePlatformApplicationValidator.UnpublishThemeParam} arg - Arg object
|
|
236
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
181
237
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
182
|
-
* @returns {Promise<ThemePlatformModel.
|
|
238
|
+
* @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
|
|
183
239
|
* @name unpublishTheme
|
|
184
240
|
* @summary: Unpublish a theme
|
|
185
241
|
* @description: Use this API to remove an existing theme from the list of available themes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/unpublishTheme/).
|
|
186
242
|
*/
|
|
187
|
-
unpublishTheme({ themeId }?: ThemePlatformApplicationValidator.UnpublishThemeParam, {
|
|
243
|
+
unpublishTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UnpublishThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
|
|
188
244
|
/**
|
|
189
245
|
* @param {ThemePlatformApplicationValidator.UpdateMultiplePagesParam} arg
|
|
190
246
|
* - Arg object
|
|
191
247
|
*
|
|
248
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
192
249
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
193
250
|
* @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
|
|
194
251
|
* @name updateMultiplePages
|
|
195
252
|
* @summary: Update multiple pages of a theme
|
|
196
253
|
* @description: Use this API to update multiple pages of a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateMultiplePages/).
|
|
197
254
|
*/
|
|
198
|
-
updateMultiplePages({ themeId, body }?: ThemePlatformApplicationValidator.UpdateMultiplePagesParam, {
|
|
255
|
+
updateMultiplePages({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdateMultiplePagesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AllAvailablePageSchema>;
|
|
199
256
|
/**
|
|
200
257
|
* @param {ThemePlatformApplicationValidator.UpdatePageParam} arg - Arg object
|
|
258
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
201
259
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
202
260
|
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
203
261
|
* @name updatePage
|
|
204
262
|
* @summary: Updates a page
|
|
205
263
|
* @description: Use this API to update a page for a theme by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updatePage/).
|
|
206
264
|
*/
|
|
207
|
-
updatePage({ themeId, pageValue, body }?: ThemePlatformApplicationValidator.UpdatePageParam, {
|
|
265
|
+
updatePage({ themeId, pageValue, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdatePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
208
266
|
/**
|
|
209
267
|
* @param {ThemePlatformApplicationValidator.UpdateThemeParam} arg - Arg object
|
|
268
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
210
269
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
211
270
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
212
271
|
* @name updateTheme
|
|
213
|
-
* @summary: Update a
|
|
214
|
-
* @description:
|
|
272
|
+
* @summary: Update theme for a specific company and application
|
|
273
|
+
* @description: Update theme for a specific company and application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateTheme/).
|
|
274
|
+
*/
|
|
275
|
+
updateTheme({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdateThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
276
|
+
/**
|
|
277
|
+
* @param {ThemePlatformApplicationValidator.UpdateThemeNameParam} arg - Arg object
|
|
278
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
279
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
280
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
281
|
+
* @name updateThemeName
|
|
282
|
+
* @summary: Update Theme Name
|
|
283
|
+
* @description: Update the name of a theme for a specific company and application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateThemeName/).
|
|
215
284
|
*/
|
|
216
|
-
|
|
285
|
+
updateThemeName({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdateThemeNameParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
217
286
|
/**
|
|
218
287
|
* @param {ThemePlatformApplicationValidator.UpgradeThemeParam} arg - Arg object
|
|
288
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
219
289
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
220
290
|
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
221
291
|
* @name upgradeTheme
|
|
222
|
-
* @summary: Upgrade
|
|
223
|
-
* @description:
|
|
292
|
+
* @summary: Upgrade an application
|
|
293
|
+
* @description: This endpoint allows you to upgrade an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/upgradeTheme/).
|
|
224
294
|
*/
|
|
225
|
-
upgradeTheme({ themeId }?: ThemePlatformApplicationValidator.UpgradeThemeParam, {
|
|
295
|
+
upgradeTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UpgradeThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
|
|
226
296
|
}
|
|
227
297
|
import ThemePlatformApplicationValidator = require("./ThemePlatformApplicationValidator");
|
|
228
298
|
import ThemePlatformModel = require("./ThemePlatformModel");
|