@gofynd/fdk-client-javascript 1.1.6 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/index.js +0 -3
- package/package.json +1 -1
- package/sdk/application/ApplicationAPIClient.d.ts +15 -1
- package/sdk/application/ApplicationAPIClient.js +8 -1
- package/sdk/application/ApplicationClient.d.ts +37 -6
- package/sdk/application/ApplicationClient.js +31 -0
- package/sdk/application/ApplicationConfig.d.ts +52 -12
- package/sdk/application/ApplicationConfig.js +37 -2
- package/sdk/application/ApplicationModels.d.ts +46 -1
- package/sdk/application/ApplicationModels.js +18 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
- package/sdk/application/Cart/CartApplicationClient.js +620 -483
- package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
- package/sdk/application/Cart/CartApplicationModel.js +1224 -93
- package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
- package/sdk/application/Cart/CartApplicationValidator.js +270 -15
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
- package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
- package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
- package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
- package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
- package/sdk/application/Common/CommonApplicationClient.js +50 -33
- package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
- package/sdk/application/Common/CommonApplicationModel.js +224 -16
- package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
- package/sdk/application/Common/CommonApplicationValidator.js +21 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
- package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
- package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
- package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
- package/sdk/application/Content/ContentApplicationClient.js +409 -277
- package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
- package/sdk/application/Content/ContentApplicationModel.js +1202 -109
- package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
- package/sdk/application/Content/ContentApplicationValidator.js +113 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
- package/sdk/application/Lead/LeadApplicationClient.js +169 -103
- package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
- package/sdk/application/Lead/LeadApplicationModel.js +619 -73
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
- package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
- package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
- package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
- package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
- package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
- package/sdk/application/Order/OrderApplicationClient.js +297 -217
- package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
- package/sdk/application/Order/OrderApplicationModel.js +776 -57
- package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
- package/sdk/application/Order/OrderApplicationValidator.js +114 -5
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
- package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
- package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
- package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
- package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
- package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
- package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
- package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
- package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
- package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
- package/sdk/application/Share/ShareApplicationClient.js +165 -97
- package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
- package/sdk/application/Share/ShareApplicationModel.js +154 -16
- package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
- package/sdk/application/Share/ShareApplicationValidator.js +48 -4
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
- package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
- package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
- package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
- package/sdk/application/User/UserApplicationClient.d.ts +219 -303
- package/sdk/application/User/UserApplicationClient.js +819 -522
- package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
- package/sdk/application/User/UserApplicationModel.js +983 -44
- package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
- package/sdk/application/User/UserApplicationValidator.js +265 -31
- package/sdk/common/AxiosHelper.js +8 -2
- package/sdk/common/Paginator.d.ts +27 -12
- package/sdk/common/Paginator.js +15 -0
- package/sdk/common/RequestSigner.js +0 -1
- package/sdk/partner/PartnerAPIClient.d.ts +15 -1
- package/sdk/partner/PartnerAPIClient.js +8 -1
- package/sdk/partner/PartnerClient.d.ts +20 -3
- package/sdk/partner/PartnerClient.js +17 -0
- package/sdk/partner/PartnerConfig.d.ts +40 -14
- package/sdk/partner/PartnerConfig.js +31 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
- package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
- package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
- package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
- package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
- package/sdk/platform/Common/CommonPlatformClient.js +48 -33
- package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
- package/sdk/platform/Common/CommonPlatformModel.js +224 -16
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
- package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
- package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
- package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
- package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
- package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
- package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
- package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
- package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
- package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
- package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
- package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
- package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
- package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
- package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
- package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
- package/sdk/platform/Order/OrderPlatformClient.js +969 -762
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
- package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
- package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
- package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
- package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
- package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
- package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
- package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
- package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
- package/sdk/platform/PlatformAPIClient.d.ts +16 -1
- package/sdk/platform/PlatformAPIClient.js +9 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
- package/sdk/platform/PlatformApplicationClient.js +17 -1899
- package/sdk/platform/PlatformClient.d.ts +29 -12579
- package/sdk/platform/PlatformClient.js +26 -15085
- package/sdk/platform/PlatformConfig.d.ts +37 -11
- package/sdk/platform/PlatformConfig.js +32 -6
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
- package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
- package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
- package/sdk/platform/Share/SharePlatformModel.js +165 -17
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
- package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
- package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
- package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
- package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
- package/sdk/platform/User/UserPlatformModel.js +983 -44
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
- package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
- package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
- package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
- package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
- package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
- package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
- package/sdk/public/PublicClient.d.ts +19 -3
- package/sdk/public/PublicClient.js +16 -0
- package/sdk/public/PublicConfig.d.ts +27 -6
- package/sdk/public/PublicConfig.js +17 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
- package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
- package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
- package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
|
@@ -4,259 +4,225 @@ declare class Theme {
|
|
|
4
4
|
config: any;
|
|
5
5
|
applicationId: any;
|
|
6
6
|
/**
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {
|
|
9
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
7
|
+
* @param {ThemePlatformApplicationValidator.AddToThemeLibraryParam} arg - Arg object
|
|
8
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
9
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
10
|
+
* @name addToThemeLibrary
|
|
10
11
|
* @summary: Add a theme to the theme library
|
|
11
|
-
* @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.
|
|
12
|
+
* @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/).
|
|
12
13
|
*/
|
|
13
|
-
addToThemeLibrary({ body }?: {
|
|
14
|
-
body: AddThemeRequestSchema;
|
|
15
|
-
}): Promise<ThemesSchema>;
|
|
14
|
+
addToThemeLibrary({ body }?: ThemePlatformApplicationValidator.AddToThemeLibraryParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
16
15
|
/**
|
|
17
|
-
* @param {
|
|
18
|
-
* @param {
|
|
19
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
16
|
+
* @param {ThemePlatformApplicationValidator.ApplyThemeParam} arg - Arg object
|
|
17
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
18
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
19
|
+
* @name applyTheme
|
|
20
20
|
* @summary: Apply a theme
|
|
21
|
-
* @description: Use this API to apply a theme to the website.
|
|
21
|
+
* @description: Use this API to apply a theme to the website. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/applyTheme/).
|
|
22
22
|
*/
|
|
23
|
-
applyTheme({ body }?: {
|
|
24
|
-
body: AddThemeRequestSchema;
|
|
25
|
-
}): Promise<ThemesSchema>;
|
|
23
|
+
applyTheme({ body }?: ThemePlatformApplicationValidator.ApplyThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
26
24
|
/**
|
|
27
|
-
* @param {
|
|
28
|
-
* @param {
|
|
29
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
25
|
+
* @param {ThemePlatformApplicationValidator.ArchiveThemeParam} arg - Arg object
|
|
26
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
27
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
28
|
+
* @name archiveTheme
|
|
30
29
|
* @summary: Archive a theme
|
|
31
|
-
* @description: Use this API to store an existing theme but not delete it so that it can be used in future if required.
|
|
30
|
+
* @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/).
|
|
32
31
|
*/
|
|
33
|
-
archiveTheme({ themeId }?: {
|
|
34
|
-
themeId: string;
|
|
35
|
-
}): Promise<ThemesSchema>;
|
|
32
|
+
archiveTheme({ themeId }?: ThemePlatformApplicationValidator.ArchiveThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
36
33
|
/**
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {
|
|
39
|
-
* @
|
|
40
|
-
* @
|
|
34
|
+
* @param {ThemePlatformApplicationValidator.CreatePageParam} arg - Arg object
|
|
35
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
36
|
+
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
37
|
+
* @name createPage
|
|
41
38
|
* @summary: Create a page
|
|
42
|
-
* @description: Use this API to create a page for a theme by its ID.
|
|
39
|
+
* @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/).
|
|
43
40
|
*/
|
|
44
|
-
createPage({ themeId, body }?: {
|
|
45
|
-
themeId: string;
|
|
46
|
-
body: AvailablePageSchema;
|
|
47
|
-
}): Promise<AvailablePageSchema>;
|
|
41
|
+
createPage({ themeId, body }?: ThemePlatformApplicationValidator.CreatePageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
48
42
|
/**
|
|
49
|
-
* @param {
|
|
50
|
-
* @param {
|
|
51
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
43
|
+
* @param {ThemePlatformApplicationValidator.CreateThemeParam} arg - Arg object
|
|
44
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
45
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
46
|
+
* @name createTheme
|
|
52
47
|
* @summary: Create a new theme
|
|
53
|
-
* @description: Themes improve the look and appearance of a website. Use this API to create a 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/).
|
|
54
49
|
*/
|
|
55
|
-
createTheme({ body }?: {
|
|
56
|
-
body: ThemesSchema;
|
|
57
|
-
}): Promise<ThemesSchema>;
|
|
50
|
+
createTheme({ body }?: ThemePlatformApplicationValidator.CreateThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
58
51
|
/**
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {
|
|
61
|
-
* @
|
|
62
|
-
* @
|
|
52
|
+
* @param {ThemePlatformApplicationValidator.DeletePageParam} arg - Arg object
|
|
53
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
54
|
+
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
55
|
+
* @name deletePage
|
|
63
56
|
* @summary: Deletes a page
|
|
64
|
-
* @description: Use this API to delete a page for a theme by its ID and page_value.
|
|
57
|
+
* @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/).
|
|
65
58
|
*/
|
|
66
|
-
deletePage({ themeId, pageValue }?: {
|
|
67
|
-
themeId: string;
|
|
68
|
-
pageValue: string;
|
|
69
|
-
}): Promise<AvailablePageSchema>;
|
|
59
|
+
deletePage({ themeId, pageValue }?: ThemePlatformApplicationValidator.DeletePageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
70
60
|
/**
|
|
71
|
-
* @param {
|
|
72
|
-
* @param {
|
|
73
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
61
|
+
* @param {ThemePlatformApplicationValidator.DeleteThemeParam} arg - Arg object
|
|
62
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
63
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
64
|
+
* @name deleteTheme
|
|
74
65
|
* @summary: Delete a theme
|
|
75
|
-
* @description: Use this API to delete a theme from the theme library.
|
|
66
|
+
* @description: Use this API to delete a theme from the theme library. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteTheme/).
|
|
76
67
|
*/
|
|
77
|
-
deleteTheme({ themeId }?: {
|
|
78
|
-
themeId: string;
|
|
79
|
-
}): Promise<ThemesSchema>;
|
|
68
|
+
deleteTheme({ themeId }?: ThemePlatformApplicationValidator.DeleteThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
80
69
|
/**
|
|
81
|
-
* @param {
|
|
82
|
-
* @param {
|
|
83
|
-
* @returns {Promise<AllAvailablePageSchema>} - Success response
|
|
70
|
+
* @param {ThemePlatformApplicationValidator.GetAllPagesParam} arg - Arg object
|
|
71
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
72
|
+
* @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
|
|
73
|
+
* @name getAllPages
|
|
84
74
|
* @summary: Get all pages of a theme
|
|
85
|
-
* @description: Use this API to retrieve all the available pages of a theme by its ID.
|
|
75
|
+
* @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/).
|
|
86
76
|
*/
|
|
87
|
-
getAllPages({ themeId }?: {
|
|
88
|
-
themeId: string;
|
|
89
|
-
}): Promise<AllAvailablePageSchema>;
|
|
77
|
+
getAllPages({ themeId }?: ThemePlatformApplicationValidator.GetAllPagesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AllAvailablePageSchema>;
|
|
90
78
|
/**
|
|
91
|
-
* @param {
|
|
92
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
79
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
80
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
81
|
+
* @name getAppliedTheme
|
|
93
82
|
* @summary: Get the applied theme
|
|
94
|
-
* @description: Use this API to retrieve the theme that is currently applied to the website along with its details.
|
|
83
|
+
* @description: Use this API to retrieve the theme that is currently applied to the website along with its details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAppliedTheme/).
|
|
95
84
|
*/
|
|
96
|
-
getAppliedTheme({}?:
|
|
85
|
+
getAppliedTheme({ headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
97
86
|
/**
|
|
98
|
-
* @param {
|
|
99
|
-
* @returns {Promise<FontsSchema>} - Success response
|
|
87
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
88
|
+
* @returns {Promise<ThemePlatformModel.FontsSchema>} - Success response
|
|
89
|
+
* @name getFonts
|
|
100
90
|
* @summary: Get all the supported fonts in a theme
|
|
101
|
-
* @description: Font is a collection of characters with a similar design. Use this API to retrieve a list of website fonts.
|
|
91
|
+
* @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/).
|
|
102
92
|
*/
|
|
103
|
-
getFonts({}?:
|
|
93
|
+
getFonts({ headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.FontsSchema>;
|
|
104
94
|
/**
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {
|
|
107
|
-
* @
|
|
108
|
-
* @
|
|
95
|
+
* @param {ThemePlatformApplicationValidator.GetPageParam} arg - Arg object
|
|
96
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
97
|
+
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
98
|
+
* @name getPage
|
|
109
99
|
* @summary: Get page of a theme
|
|
110
|
-
* @description: Use this API to retrieve a page of a theme.
|
|
100
|
+
* @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/).
|
|
111
101
|
*/
|
|
112
|
-
getPage({ themeId, pageValue }?: {
|
|
113
|
-
themeId: string;
|
|
114
|
-
pageValue: string;
|
|
115
|
-
}): Promise<AvailablePageSchema>;
|
|
102
|
+
getPage({ themeId, pageValue }?: ThemePlatformApplicationValidator.GetPageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
116
103
|
/**
|
|
117
|
-
* @param {
|
|
118
|
-
* @param {
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* @returns {Promise<ThemesListingResponseSchema>} - Success response
|
|
104
|
+
* @param {ThemePlatformApplicationValidator.GetPublicThemesParam} arg - Arg object
|
|
105
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
106
|
+
* @returns {Promise<ThemePlatformModel.ThemesListingResponseSchema>} -
|
|
107
|
+
* Success response
|
|
108
|
+
* @name getPublicThemes
|
|
123
109
|
* @summary: Get all public themes
|
|
124
|
-
* @description: Use this API to get a list of free themes that you can apply to your website.
|
|
110
|
+
* @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/).
|
|
125
111
|
*/
|
|
126
|
-
getPublicThemes({ pageSize, pageNo }?: {
|
|
127
|
-
pageSize?: number;
|
|
128
|
-
pageNo?: number;
|
|
129
|
-
}): Promise<ThemesListingResponseSchema>;
|
|
112
|
+
getPublicThemes({ pageSize, pageNo }?: ThemePlatformApplicationValidator.GetPublicThemesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesListingResponseSchema>;
|
|
130
113
|
/**
|
|
131
|
-
* @param {
|
|
132
|
-
* @param {
|
|
133
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
114
|
+
* @param {ThemePlatformApplicationValidator.GetThemeByIdParam} arg - Arg object
|
|
115
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
116
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
117
|
+
* @name getThemeById
|
|
134
118
|
* @summary: Gets theme by id
|
|
135
|
-
* @description: Use this API to retrieve the details of a specific theme by using its ID.
|
|
119
|
+
* @description: Use this API to retrieve the details of a specific theme by using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeById/).
|
|
136
120
|
*/
|
|
137
|
-
getThemeById({ themeId }?: {
|
|
138
|
-
themeId: string;
|
|
139
|
-
}): Promise<ThemesSchema>;
|
|
121
|
+
getThemeById({ themeId }?: ThemePlatformApplicationValidator.GetThemeByIdParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
140
122
|
/**
|
|
141
|
-
* @param {
|
|
142
|
-
* @param {
|
|
143
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
123
|
+
* @param {ThemePlatformApplicationValidator.GetThemeForPreviewParam} arg - Arg object
|
|
124
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
125
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
126
|
+
* @name getThemeForPreview
|
|
144
127
|
* @summary: Get a theme preview
|
|
145
|
-
* @description: A theme can be previewed before applying it. Use this API to retrieve the theme preview by using its ID.
|
|
128
|
+
* @description: A theme can be previewed before applying it. Use this API to retrieve the theme preview by using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeForPreview/).
|
|
146
129
|
*/
|
|
147
|
-
getThemeForPreview({ themeId }?: {
|
|
148
|
-
themeId: string;
|
|
149
|
-
}): Promise<ThemesSchema>;
|
|
130
|
+
getThemeForPreview({ themeId }?: ThemePlatformApplicationValidator.GetThemeForPreviewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
150
131
|
/**
|
|
151
|
-
* @param {
|
|
152
|
-
*
|
|
132
|
+
* @param {ThemePlatformApplicationValidator.GetThemeLastModifiedParam} arg
|
|
133
|
+
* - Arg object
|
|
134
|
+
*
|
|
135
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
153
136
|
* @returns {Promise<any>} - Success response
|
|
137
|
+
* @name getThemeLastModified
|
|
154
138
|
* @summary: Fetch last modified timestamp
|
|
155
|
-
* @description: Use this API to fetch Last-Modified timestamp in header metadata.
|
|
139
|
+
* @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/).
|
|
156
140
|
*/
|
|
157
|
-
getThemeLastModified({ themeId }?: {
|
|
158
|
-
themeId: string;
|
|
159
|
-
}): Promise<any>;
|
|
141
|
+
getThemeLastModified({ themeId }?: ThemePlatformApplicationValidator.GetThemeLastModifiedParam, { headers }?: import("../PlatformAPIClient").Options): Promise<any>;
|
|
160
142
|
/**
|
|
161
|
-
* @param {
|
|
162
|
-
* @param {
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* @returns {Promise<ThemesListingResponseSchema>} - Success response
|
|
143
|
+
* @param {ThemePlatformApplicationValidator.GetThemeLibraryParam} arg - Arg object
|
|
144
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
145
|
+
* @returns {Promise<ThemePlatformModel.ThemesListingResponseSchema>} -
|
|
146
|
+
* Success response
|
|
147
|
+
* @name getThemeLibrary
|
|
167
148
|
* @summary: Get a list of themes from the theme library
|
|
168
|
-
* @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.
|
|
149
|
+
* @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/).
|
|
169
150
|
*/
|
|
170
|
-
getThemeLibrary({ pageSize, pageNo }?: {
|
|
171
|
-
pageSize?: number;
|
|
172
|
-
pageNo?: number;
|
|
173
|
-
}): Promise<ThemesListingResponseSchema>;
|
|
151
|
+
getThemeLibrary({ pageSize, pageNo }?: ThemePlatformApplicationValidator.GetThemeLibraryParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesListingResponseSchema>;
|
|
174
152
|
/**
|
|
175
|
-
* @param {
|
|
176
|
-
* @param {
|
|
177
|
-
* @returns {Promise<UpgradableThemeSchema>} - Success response
|
|
153
|
+
* @param {ThemePlatformApplicationValidator.IsUpgradableParam} arg - Arg object
|
|
154
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
155
|
+
* @returns {Promise<ThemePlatformModel.UpgradableThemeSchema>} - Success response
|
|
156
|
+
* @name isUpgradable
|
|
178
157
|
* @summary: Checks if theme is upgradable
|
|
179
|
-
* @description: There's always a possibility that new features get added to a theme. Use this API to check if the applied theme has an upgrade available.
|
|
158
|
+
* @description: There's always a possibility that new features get added to a theme. Use this API to check if the applied theme has an upgrade available. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
|
|
180
159
|
*/
|
|
181
|
-
isUpgradable({ themeId }?: {
|
|
182
|
-
themeId: string;
|
|
183
|
-
}): Promise<UpgradableThemeSchema>;
|
|
160
|
+
isUpgradable({ themeId }?: ThemePlatformApplicationValidator.IsUpgradableParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.UpgradableThemeSchema>;
|
|
184
161
|
/**
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
187
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
162
|
+
* @param {ThemePlatformApplicationValidator.PublishThemeParam} arg - Arg object
|
|
163
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
164
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
165
|
+
* @name publishTheme
|
|
188
166
|
* @summary: Publish a theme
|
|
189
|
-
* @description: Use this API to publish a theme that is either newly created or edited.
|
|
167
|
+
* @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/).
|
|
190
168
|
*/
|
|
191
|
-
publishTheme({ themeId }?: {
|
|
192
|
-
themeId: string;
|
|
193
|
-
}): Promise<ThemesSchema>;
|
|
169
|
+
publishTheme({ themeId }?: ThemePlatformApplicationValidator.PublishThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
194
170
|
/**
|
|
195
|
-
* @param {
|
|
196
|
-
* @param {
|
|
197
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
171
|
+
* @param {ThemePlatformApplicationValidator.UnarchiveThemeParam} arg - Arg object
|
|
172
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
173
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
174
|
+
* @name unarchiveTheme
|
|
198
175
|
* @summary: Unarchive a theme
|
|
199
|
-
* @description: Use this API to restore an archived theme and bring it back for editing or publishing.
|
|
176
|
+
* @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/).
|
|
200
177
|
*/
|
|
201
|
-
unarchiveTheme({ themeId }?: {
|
|
202
|
-
themeId: string;
|
|
203
|
-
}): Promise<ThemesSchema>;
|
|
178
|
+
unarchiveTheme({ themeId }?: ThemePlatformApplicationValidator.UnarchiveThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
204
179
|
/**
|
|
205
|
-
* @param {
|
|
206
|
-
* @param {
|
|
207
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
180
|
+
* @param {ThemePlatformApplicationValidator.UnpublishThemeParam} arg - Arg object
|
|
181
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
182
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
183
|
+
* @name unpublishTheme
|
|
208
184
|
* @summary: Unpublish a theme
|
|
209
|
-
* @description: Use this API to remove an existing theme from the list of available themes.
|
|
185
|
+
* @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/).
|
|
210
186
|
*/
|
|
211
|
-
unpublishTheme({ themeId }?: {
|
|
212
|
-
themeId: string;
|
|
213
|
-
}): Promise<ThemesSchema>;
|
|
187
|
+
unpublishTheme({ themeId }?: ThemePlatformApplicationValidator.UnpublishThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
214
188
|
/**
|
|
215
|
-
* @param {
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* @
|
|
189
|
+
* @param {ThemePlatformApplicationValidator.UpdateMultiplePagesParam} arg
|
|
190
|
+
* - Arg object
|
|
191
|
+
*
|
|
192
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
193
|
+
* @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
|
|
194
|
+
* @name updateMultiplePages
|
|
219
195
|
* @summary: Update multiple pages of a theme
|
|
220
|
-
* @description: Use this API to update multiple pages of a theme by its ID.
|
|
196
|
+
* @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/).
|
|
221
197
|
*/
|
|
222
|
-
updateMultiplePages({ themeId, body }?: {
|
|
223
|
-
themeId: string;
|
|
224
|
-
body: AllAvailablePageSchema;
|
|
225
|
-
}): Promise<AllAvailablePageSchema>;
|
|
198
|
+
updateMultiplePages({ themeId, body }?: ThemePlatformApplicationValidator.UpdateMultiplePagesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AllAvailablePageSchema>;
|
|
226
199
|
/**
|
|
227
|
-
* @param {
|
|
228
|
-
* @param {
|
|
229
|
-
* @
|
|
230
|
-
* @
|
|
231
|
-
* @returns {Promise<AvailablePageSchema>} - Success response
|
|
200
|
+
* @param {ThemePlatformApplicationValidator.UpdatePageParam} arg - Arg object
|
|
201
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
202
|
+
* @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
|
|
203
|
+
* @name updatePage
|
|
232
204
|
* @summary: Updates a page
|
|
233
|
-
* @description: Use this API to update a page for a theme by its ID.
|
|
205
|
+
* @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/).
|
|
234
206
|
*/
|
|
235
|
-
updatePage({ themeId, pageValue, body }?: {
|
|
236
|
-
themeId: string;
|
|
237
|
-
pageValue: string;
|
|
238
|
-
body: AvailablePageSchema;
|
|
239
|
-
}): Promise<AvailablePageSchema>;
|
|
207
|
+
updatePage({ themeId, pageValue, body }?: ThemePlatformApplicationValidator.UpdatePageParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.AvailablePageSchema>;
|
|
240
208
|
/**
|
|
241
|
-
* @param {
|
|
242
|
-
* @param {
|
|
243
|
-
* @
|
|
244
|
-
* @
|
|
209
|
+
* @param {ThemePlatformApplicationValidator.UpdateThemeParam} arg - Arg object
|
|
210
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
211
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
212
|
+
* @name updateTheme
|
|
245
213
|
* @summary: Update a theme
|
|
246
|
-
* @description: Use this API to edit an existing theme. You can customize the website font, sections, images, styles, and many more.
|
|
214
|
+
* @description: Use this API to edit an existing theme. You can customize the website font, sections, images, styles, and many more. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateTheme/).
|
|
247
215
|
*/
|
|
248
|
-
updateTheme({ themeId, body }?: {
|
|
249
|
-
themeId: string;
|
|
250
|
-
body: ThemesSchema;
|
|
251
|
-
}): Promise<ThemesSchema>;
|
|
216
|
+
updateTheme({ themeId, body }?: ThemePlatformApplicationValidator.UpdateThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
252
217
|
/**
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @returns {Promise<ThemesSchema>} - Success response
|
|
218
|
+
* @param {ThemePlatformApplicationValidator.UpgradeThemeParam} arg - Arg object
|
|
219
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
220
|
+
* @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
|
|
221
|
+
* @name upgradeTheme
|
|
256
222
|
* @summary: Upgrade a theme
|
|
257
|
-
* @description: Use this API to upgrade the current theme to its latest version.
|
|
223
|
+
* @description: Use this API to upgrade the current theme to its latest version. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/upgradeTheme/).
|
|
258
224
|
*/
|
|
259
|
-
upgradeTheme({ themeId }?: {
|
|
260
|
-
themeId: string;
|
|
261
|
-
}): Promise<ThemesSchema>;
|
|
225
|
+
upgradeTheme({ themeId }?: ThemePlatformApplicationValidator.UpgradeThemeParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ThemePlatformModel.ThemesSchema>;
|
|
262
226
|
}
|
|
227
|
+
import ThemePlatformApplicationValidator = require("./ThemePlatformApplicationValidator");
|
|
228
|
+
import ThemePlatformModel = require("./ThemePlatformModel");
|