@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -3
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationAPIClient.js +0 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +25 -25
- package/sdk/application/Cart/CartApplicationClient.js +25 -25
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +40 -40
- package/sdk/application/Catalog/CatalogApplicationClient.js +40 -40
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -10
- package/sdk/application/Content/ContentApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
- package/sdk/application/Content/ContentApplicationModel.js +26 -26
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +12 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
- package/sdk/application/Lead/LeadApplicationModel.js +42 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +47 -47
- package/sdk/application/Payment/PaymentApplicationClient.js +52 -52
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +27 -27
- package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
- package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
- package/sdk/application/User/UserApplicationClient.d.ts +28 -28
- package/sdk/application/User/UserApplicationClient.js +28 -28
- package/sdk/application/User/UserApplicationModel.d.ts +44 -13
- package/sdk/application/User/UserApplicationModel.js +17 -13
- package/sdk/common/AxiosHelper.d.ts +1 -1
- package/sdk/common/AxiosHelper.js +38 -17
- package/sdk/common/Clickstream.js +22 -16
- package/sdk/common/curlHelper.js +1 -3
- package/sdk/common/utils.d.ts +15 -0
- package/sdk/common/utils.js +30 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +2 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +4 -4
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
- package/sdk/partner/OAuthClient.d.ts +3 -3
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerAPIClient.js +0 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +19 -19
- package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
- package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +4 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +17 -17
- package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +49 -49
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +49 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +60 -60
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +62 -62
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +87 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.js +87 -87
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
- package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +58 -58
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +63 -63
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformClient.js +9 -9
- package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
- package/sdk/platform/Content/ContentPlatformModel.js +26 -26
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +23 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +27 -27
- package/sdk/platform/Finance/FinancePlatformClient.js +27 -27
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
- package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +41 -41
- package/sdk/platform/Order/OrderPlatformClient.js +41 -41
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -2
- package/sdk/platform/Order/OrderPlatformModel.js +8 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +38 -38
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +38 -38
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.js +0 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +28 -28
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
- package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/User/UserPlatformApplicationClient.js +16 -16
- package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
- package/sdk/platform/User/UserPlatformModel.js +21 -13
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +16 -16
- package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/public/Billing/BillingPublicClient.d.ts +1 -1
- package/sdk/public/Billing/BillingPublicClient.js +4 -4
- package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
- package/sdk/public/Billing/BillingPublicValidator.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
- package/sdk/public/Content/ContentPublicValidator.js +3 -3
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
- package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
package/sdk/common/utils.js
CHANGED
|
@@ -179,6 +179,34 @@ const convertStringToBase64 = (string) => {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
+
// copied from axios library
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Determines whether the specified URL is absolute
|
|
186
|
+
*
|
|
187
|
+
* @param {string} url The URL to test
|
|
188
|
+
* @returns {boolean} True if the specified URL is absolute, otherwise false
|
|
189
|
+
*/
|
|
190
|
+
function isAbsoluteURL(url) {
|
|
191
|
+
// A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
|
|
192
|
+
// RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
|
|
193
|
+
// by any combination of letters, digits, plus, period, or hyphen.
|
|
194
|
+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Creates a new URL by combining the specified URLs
|
|
199
|
+
*
|
|
200
|
+
* @param {string} baseURL The base URL
|
|
201
|
+
* @param {string} relativeURL The relative URL
|
|
202
|
+
* @returns {string} The combined URL
|
|
203
|
+
*/
|
|
204
|
+
function combineURLs(baseURL, relativeURL) {
|
|
205
|
+
return relativeURL
|
|
206
|
+
? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "")
|
|
207
|
+
: baseURL;
|
|
208
|
+
}
|
|
209
|
+
|
|
182
210
|
module.exports = {
|
|
183
211
|
transformRequestOptions,
|
|
184
212
|
getParamsFromItem,
|
|
@@ -191,4 +219,6 @@ module.exports = {
|
|
|
191
219
|
isBrowser,
|
|
192
220
|
isNode,
|
|
193
221
|
NAV_TYPE,
|
|
222
|
+
combineURLs,
|
|
223
|
+
isAbsoluteURL,
|
|
194
224
|
};
|
|
@@ -8,7 +8,7 @@ declare class FileStorage {
|
|
|
8
8
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
9
9
|
* @returns {Promise<FileStoragePartnerModel.StartResponse>} - Success response
|
|
10
10
|
* @name startUpload
|
|
11
|
-
* @summary: This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob
|
|
11
|
+
* @summary: This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob
|
|
12
12
|
* @description: Uploads an arbitrarily sized buffer or blob.
|
|
13
13
|
*
|
|
14
14
|
* It has three Major Steps:
|
|
@@ -36,7 +36,7 @@ declare class FileStorage {
|
|
|
36
36
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
37
37
|
* @returns {Promise<FileStoragePartnerModel.CompleteResponse>} - Success response
|
|
38
38
|
* @name completeUpload
|
|
39
|
-
* @summary: This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process
|
|
39
|
+
* @summary: This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process
|
|
40
40
|
* @description: Uploads an arbitrarily sized buffer or blob.
|
|
41
41
|
*
|
|
42
42
|
* It has three Major Steps:
|
|
@@ -20,7 +20,7 @@ class FileStorage {
|
|
|
20
20
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
21
21
|
* @returns {Promise<FileStoragePartnerModel.StartResponse>} - Success response
|
|
22
22
|
* @name startUpload
|
|
23
|
-
* @summary: This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob
|
|
23
|
+
* @summary: This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob
|
|
24
24
|
* @description: Uploads an arbitrarily sized buffer or blob.
|
|
25
25
|
*
|
|
26
26
|
* It has three Major Steps:
|
|
@@ -118,7 +118,7 @@ class FileStorage {
|
|
|
118
118
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
119
119
|
* @returns {Promise<FileStoragePartnerModel.CompleteResponse>} - Success response
|
|
120
120
|
* @name completeUpload
|
|
121
|
-
* @summary: This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process
|
|
121
|
+
* @summary: This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process
|
|
122
122
|
* @description: Uploads an arbitrarily sized buffer or blob.
|
|
123
123
|
*
|
|
124
124
|
* It has three Major Steps:
|
|
@@ -116,7 +116,7 @@ declare class Lead {
|
|
|
116
116
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
117
117
|
* @returns {Promise<LeadPartnerModel.GeneralConfigResponse>} - Success response
|
|
118
118
|
* @name getGeneralConfig
|
|
119
|
-
* @summary: Get general support configuration
|
|
119
|
+
* @summary: Get general support configuration
|
|
120
120
|
* @description: Get general support configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/getGeneralConfig/).
|
|
121
121
|
*/
|
|
122
122
|
getGeneralConfig({ requestHeaders }?: LeadPartnerValidator.GetGeneralConfigParam, { responseHeaders }?: object): Promise<LeadPartnerModel.GeneralConfigResponse>;
|
|
@@ -715,7 +715,7 @@ class Lead {
|
|
|
715
715
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
716
716
|
* @returns {Promise<LeadPartnerModel.GeneralConfigResponse>} - Success response
|
|
717
717
|
* @name getGeneralConfig
|
|
718
|
-
* @summary: Get general support configuration
|
|
718
|
+
* @summary: Get general support configuration
|
|
719
719
|
* @description: Get general support configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/lead/getGeneralConfig/).
|
|
720
720
|
*/
|
|
721
721
|
async getGeneralConfig(
|
|
@@ -90,7 +90,7 @@ declare class Logistics {
|
|
|
90
90
|
* - Success response
|
|
91
91
|
*
|
|
92
92
|
* @name getCourierPartnerAccounts
|
|
93
|
-
* @summary: Getting Courier Account list of a company
|
|
93
|
+
* @summary: Getting Courier Account list of a company
|
|
94
94
|
* @description: This API returns Courier Account of a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/getCourierPartnerAccounts/).
|
|
95
95
|
*/
|
|
96
96
|
getCourierPartnerAccounts({ companyId, pageNo, pageSize, stage, paymentMode, transportType, requestHeaders, }?: LogisticsPartnerValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<LogisticsPartnerModel.CompanyCourierPartnerAccountListResponse>;
|
|
@@ -102,7 +102,7 @@ declare class Logistics {
|
|
|
102
102
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
103
103
|
* @returns {Promise<LogisticsPartnerModel.CourierAccountResponse>} - Success response
|
|
104
104
|
* @name updateCourierPartnerAccount
|
|
105
|
-
* @summary: Update Courier Account in database
|
|
105
|
+
* @summary: Update Courier Account in database
|
|
106
106
|
* @description: Updates Courier Account - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/updateCourierPartnerAccount/).
|
|
107
107
|
*/
|
|
108
108
|
updateCourierPartnerAccount({ companyId, accountId, body, requestHeaders }?: LogisticsPartnerValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<LogisticsPartnerModel.CourierAccountResponse>;
|
|
@@ -112,7 +112,7 @@ declare class Logistics {
|
|
|
112
112
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
113
113
|
* @returns {Promise<LogisticsPartnerModel.CourierAccountResponse>} - Success response
|
|
114
114
|
* @name getCourierPartnerAccount
|
|
115
|
-
* @summary: Getting Courier Account of a company from database
|
|
115
|
+
* @summary: Getting Courier Account of a company from database
|
|
116
116
|
* @description: This API returns response DpAccount of a company from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/getCourierPartnerAccount/).
|
|
117
117
|
*/
|
|
118
118
|
getCourierPartnerAccount({ companyId, accountId, requestHeaders }?: LogisticsPartnerValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<LogisticsPartnerModel.CourierAccountResponse>;
|
|
@@ -147,7 +147,7 @@ declare class Logistics {
|
|
|
147
147
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
148
148
|
* @returns {Promise<LogisticsPartnerModel.GetCountries>} - Success response
|
|
149
149
|
* @name getCountries
|
|
150
|
-
* @summary: Get all countries and associated data
|
|
150
|
+
* @summary: Get all countries and associated data
|
|
151
151
|
* @description: Retrieve of all countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/getCountries/).
|
|
152
152
|
*/
|
|
153
153
|
getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?: LogisticsPartnerValidator.GetCountriesParam, { responseHeaders }?: object): Promise<LogisticsPartnerModel.GetCountries>;
|
|
@@ -676,7 +676,7 @@ class Logistics {
|
|
|
676
676
|
* - Success response
|
|
677
677
|
*
|
|
678
678
|
* @name getCourierPartnerAccounts
|
|
679
|
-
* @summary: Getting Courier Account list of a company
|
|
679
|
+
* @summary: Getting Courier Account list of a company
|
|
680
680
|
* @description: This API returns Courier Account of a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/getCourierPartnerAccounts/).
|
|
681
681
|
*/
|
|
682
682
|
async getCourierPartnerAccounts(
|
|
@@ -780,7 +780,7 @@ class Logistics {
|
|
|
780
780
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
781
781
|
* @returns {Promise<LogisticsPartnerModel.CourierAccountResponse>} - Success response
|
|
782
782
|
* @name updateCourierPartnerAccount
|
|
783
|
-
* @summary: Update Courier Account in database
|
|
783
|
+
* @summary: Update Courier Account in database
|
|
784
784
|
* @description: Updates Courier Account - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/updateCourierPartnerAccount/).
|
|
785
785
|
*/
|
|
786
786
|
async updateCourierPartnerAccount(
|
|
@@ -863,7 +863,7 @@ class Logistics {
|
|
|
863
863
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
864
864
|
* @returns {Promise<LogisticsPartnerModel.CourierAccountResponse>} - Success response
|
|
865
865
|
* @name getCourierPartnerAccount
|
|
866
|
-
* @summary: Getting Courier Account of a company from database
|
|
866
|
+
* @summary: Getting Courier Account of a company from database
|
|
867
867
|
* @description: This API returns response DpAccount of a company from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/getCourierPartnerAccount/).
|
|
868
868
|
*/
|
|
869
869
|
async getCourierPartnerAccount(
|
|
@@ -1109,7 +1109,7 @@ class Logistics {
|
|
|
1109
1109
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1110
1110
|
* @returns {Promise<LogisticsPartnerModel.GetCountries>} - Success response
|
|
1111
1111
|
* @name getCountries
|
|
1112
|
-
* @summary: Get all countries and associated data
|
|
1112
|
+
* @summary: Get all countries and associated data
|
|
1113
1113
|
* @description: Retrieve of all countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/logistics/getCountries/).
|
|
1114
1114
|
*/
|
|
1115
1115
|
async getCountries(
|
|
@@ -8,8 +8,8 @@ declare class OAuthClient extends BaseOAuthClient {
|
|
|
8
8
|
grant_type: any;
|
|
9
9
|
refresh_token: any;
|
|
10
10
|
code: any;
|
|
11
|
-
}): Promise<any
|
|
12
|
-
getOfflineAccessToken(scopes: any, code: any): Promise<any
|
|
13
|
-
getOfflineAccessTokenObj(scopes: any, code: any): Promise<any
|
|
11
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
+
getOfflineAccessToken(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
+
getOfflineAccessTokenObj(scopes: any, code: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
14
|
}
|
|
15
15
|
import BaseOAuthClient = require("../common/BaseOAuthClient");
|
|
@@ -13,7 +13,7 @@ declare class APIClient {
|
|
|
13
13
|
* @param {object} xHeaders
|
|
14
14
|
* @param {Options} options
|
|
15
15
|
*/
|
|
16
|
-
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<any
|
|
16
|
+
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: Options): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
17
|
get(url: any, config: any): Promise<any>;
|
|
18
18
|
}
|
|
19
19
|
declare namespace APIClient {
|
|
@@ -8,7 +8,7 @@ declare class Theme {
|
|
|
8
8
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
9
9
|
* @returns {Promise<ThemePartnerModel.AllAvailablePageSchema>} - Success response
|
|
10
10
|
* @name getAllPages
|
|
11
|
-
* @summary: Get all pages
|
|
11
|
+
* @summary: Get all pages
|
|
12
12
|
* @description: Retrieve a list of all pages available in the partner server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getAllPages/).
|
|
13
13
|
*/
|
|
14
14
|
getAllPages({ companyId, applicationId, themeId, requestHeaders }?: ThemePartnerValidator.GetAllPagesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AllAvailablePageSchema>;
|
|
@@ -18,7 +18,7 @@ declare class Theme {
|
|
|
18
18
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
19
19
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
20
20
|
* @name createPage
|
|
21
|
-
* @summary: Create page
|
|
21
|
+
* @summary: Create page
|
|
22
22
|
* @description: Add a new page to the partner server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createPage/).
|
|
23
23
|
*/
|
|
24
24
|
createPage({ companyId, applicationId, themeId, body, requestHeaders }?: ThemePartnerValidator.CreatePageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
@@ -28,7 +28,7 @@ declare class Theme {
|
|
|
28
28
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
29
29
|
* @returns {Promise<ThemePartnerModel.AllAvailablePageSchema>} - Success response
|
|
30
30
|
* @name updateMultiplePages
|
|
31
|
-
* @summary: Update multiple pages
|
|
31
|
+
* @summary: Update multiple pages
|
|
32
32
|
* @description: Modify and update multiple pages in the partner server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updateMultiplePages/).
|
|
33
33
|
*/
|
|
34
34
|
updateMultiplePages({ companyId, applicationId, themeId, body, requestHeaders }?: ThemePartnerValidator.UpdateMultiplePagesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AllAvailablePageSchema>;
|
|
@@ -38,7 +38,7 @@ declare class Theme {
|
|
|
38
38
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
39
39
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
40
40
|
* @name getPage
|
|
41
|
-
* @summary: Get page
|
|
41
|
+
* @summary: Get page
|
|
42
42
|
* @description: Obtain detailed information about a specific page in the partner server. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getPage/).
|
|
43
43
|
*/
|
|
44
44
|
getPage({ companyId, applicationId, themeId, pageValue, requestHeaders }?: ThemePartnerValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
@@ -48,7 +48,7 @@ declare class Theme {
|
|
|
48
48
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
49
49
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
50
50
|
* @name updatePage
|
|
51
|
-
* @summary: Update page
|
|
51
|
+
* @summary: Update page
|
|
52
52
|
* @description: Modify and update information related to a specific page in the partner server. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updatePage/).
|
|
53
53
|
*/
|
|
54
54
|
updatePage({ companyId, applicationId, themeId, pageValue, body, requestHeaders }?: ThemePartnerValidator.UpdatePageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
@@ -58,7 +58,7 @@ declare class Theme {
|
|
|
58
58
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
59
59
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
60
60
|
* @name deletePage
|
|
61
|
-
* @summary: Delete page
|
|
61
|
+
* @summary: Delete page
|
|
62
62
|
* @description: Remove a page from the partner server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/deletePage/).
|
|
63
63
|
*/
|
|
64
64
|
deletePage({ companyId, applicationId, themeId, pageValue, requestHeaders }?: ThemePartnerValidator.DeletePageParam, { responseHeaders }?: object): Promise<ThemePartnerModel.AvailablePageSchema>;
|
|
@@ -68,7 +68,7 @@ declare class Theme {
|
|
|
68
68
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
69
69
|
* @returns {Promise<ThemePartnerModel.ThemesSchema[]>} - Success response
|
|
70
70
|
* @name getApplicationThemes
|
|
71
|
-
* @summary: Get application themes
|
|
71
|
+
* @summary: Get application themes
|
|
72
72
|
* @description: Retrieve a list of themes available for the partner server application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getApplicationThemes/).
|
|
73
73
|
*/
|
|
74
74
|
getApplicationThemes({ companyId, applicationId, requestHeaders }?: ThemePartnerValidator.GetApplicationThemesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema[]>;
|
|
@@ -78,7 +78,7 @@ declare class Theme {
|
|
|
78
78
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
79
79
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
80
80
|
* @name getThemeById
|
|
81
|
-
* @summary: Get theme by ID
|
|
81
|
+
* @summary: Get theme by ID
|
|
82
82
|
* @description: Obtain detailed information about a theme using its unique ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getThemeById/).
|
|
83
83
|
*/
|
|
84
84
|
getThemeById({ companyId, applicationId, themeId, requestHeaders }?: ThemePartnerValidator.GetThemeByIdParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
@@ -88,7 +88,7 @@ declare class Theme {
|
|
|
88
88
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
89
89
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
90
90
|
* @name updateTheme
|
|
91
|
-
* @summary: Update theme
|
|
91
|
+
* @summary: Update theme
|
|
92
92
|
* @description: Modify and update information related to a theme in the partner server. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updateTheme/).
|
|
93
93
|
*/
|
|
94
94
|
updateTheme({ companyId, applicationId, themeId, body, requestHeaders }?: ThemePartnerValidator.UpdateThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
@@ -98,7 +98,7 @@ declare class Theme {
|
|
|
98
98
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
99
99
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
100
100
|
* @name deleteTheme
|
|
101
|
-
* @summary: Delete theme
|
|
101
|
+
* @summary: Delete theme
|
|
102
102
|
* @description: Remove a theme from the partner server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/deleteTheme/).
|
|
103
103
|
*/
|
|
104
104
|
deleteTheme({ companyId, applicationId, themeId, requestHeaders }?: ThemePartnerValidator.DeleteThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemesSchema>;
|
|
@@ -108,7 +108,7 @@ declare class Theme {
|
|
|
108
108
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
109
109
|
* @returns {Promise<ThemePartnerModel.MarketplaceThemeSchema>} - Success response
|
|
110
110
|
* @name getOrganizationThemes
|
|
111
|
-
* @summary: Get organization themes
|
|
111
|
+
* @summary: Get organization themes
|
|
112
112
|
* @description: Retrieve a list of themes associated with partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getOrganizationThemes/).
|
|
113
113
|
*/
|
|
114
114
|
getOrganizationThemes({ status, pageSize, pageNo, requestHeaders }?: ThemePartnerValidator.GetOrganizationThemesParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceThemeSchema>;
|
|
@@ -118,7 +118,7 @@ declare class Theme {
|
|
|
118
118
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
119
119
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
120
120
|
* @name getOrganizationThemeDetails
|
|
121
|
-
* @summary: Get organization theme details
|
|
121
|
+
* @summary: Get organization theme details
|
|
122
122
|
* @description: Obtain detailed information about a theme within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getOrganizationThemeDetails/).
|
|
123
123
|
*/
|
|
124
124
|
getOrganizationThemeDetails({ themeId, requestHeaders }?: ThemePartnerValidator.GetOrganizationThemeDetailsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
@@ -128,7 +128,7 @@ declare class Theme {
|
|
|
128
128
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
129
129
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
130
130
|
* @name updateDraftTheme
|
|
131
|
-
* @summary: Update draft theme
|
|
131
|
+
* @summary: Update draft theme
|
|
132
132
|
* @description: Modify and update a draft theme in partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updateDraftTheme/).
|
|
133
133
|
*/
|
|
134
134
|
updateDraftTheme({ themeId, body, requestHeaders }?: ThemePartnerValidator.UpdateDraftThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
@@ -138,7 +138,7 @@ declare class Theme {
|
|
|
138
138
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
139
139
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
140
140
|
* @name submitOrganizationTheme
|
|
141
|
-
* @summary: Submit organization theme
|
|
141
|
+
* @summary: Submit organization theme
|
|
142
142
|
* @description: Initiate the process of submitting a theme within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/submitOrganizationTheme/).
|
|
143
143
|
*/
|
|
144
144
|
submitOrganizationTheme({ themeId, body, requestHeaders }?: ThemePartnerValidator.SubmitOrganizationThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
@@ -148,7 +148,7 @@ declare class Theme {
|
|
|
148
148
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
149
149
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
150
150
|
* @name deleteOrganizationTheme
|
|
151
|
-
* @summary: Delete organization theme
|
|
151
|
+
* @summary: Delete organization theme
|
|
152
152
|
* @description: Remove a theme from partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/deleteOrganizationTheme/).
|
|
153
153
|
*/
|
|
154
154
|
deleteOrganizationTheme({ themeId, requestHeaders }?: ThemePartnerValidator.DeleteOrganizationThemeParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
@@ -158,7 +158,7 @@ declare class Theme {
|
|
|
158
158
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
159
159
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme[]>} - Success response
|
|
160
160
|
* @name getLatestVersionOfThemeBySlug
|
|
161
|
-
* @summary: Get latest version of theme by slug
|
|
161
|
+
* @summary: Get latest version of theme by slug
|
|
162
162
|
* @description: Retrieve the most recent version of a theme using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getLatestVersionOfThemeBySlug/).
|
|
163
163
|
*/
|
|
164
164
|
getLatestVersionOfThemeBySlug({ slugName, requestHeaders }?: ThemePartnerValidator.GetLatestVersionOfThemeBySlugParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme[]>;
|
|
@@ -168,7 +168,7 @@ declare class Theme {
|
|
|
168
168
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
169
169
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
170
170
|
* @name createNewThemeInOrganization
|
|
171
|
-
* @summary: Create new theme in organization
|
|
171
|
+
* @summary: Create new theme in organization
|
|
172
172
|
* @description: Add a new theme to partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createNewThemeInOrganization/).
|
|
173
173
|
*/
|
|
174
174
|
createNewThemeInOrganization({ body, slug, requestHeaders }?: ThemePartnerValidator.CreateNewThemeInOrganizationParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceTheme>;
|
|
@@ -178,7 +178,7 @@ declare class Theme {
|
|
|
178
178
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
179
179
|
* @returns {Promise<ThemePartnerModel.ThemeRejectionReasons>} - Success response
|
|
180
180
|
* @name getThemeRejectionReasons
|
|
181
|
-
* @summary: Get theme rejection reasons
|
|
181
|
+
* @summary: Get theme rejection reasons
|
|
182
182
|
* @description: Retrieve reasons for the rejection of themes within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getThemeRejectionReasons/).
|
|
183
183
|
*/
|
|
184
184
|
getThemeRejectionReasons({ themeId, requestHeaders }?: ThemePartnerValidator.GetThemeRejectionReasonsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ThemeRejectionReasons>;
|
|
@@ -188,7 +188,7 @@ declare class Theme {
|
|
|
188
188
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
189
189
|
* @returns {Promise<ThemePartnerModel.MarketplaceThemeSchema>} - Success response
|
|
190
190
|
* @name getThemeVersions
|
|
191
|
-
* @summary: Get theme versions
|
|
191
|
+
* @summary: Get theme versions
|
|
192
192
|
* @description: Retrieve a list of versions available for a theme within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getThemeVersions/).
|
|
193
193
|
*/
|
|
194
194
|
getThemeVersions({ themeSlug, pageSize, pageNo, requestHeaders }?: ThemePartnerValidator.GetThemeVersionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.MarketplaceThemeSchema>;
|
|
@@ -20,7 +20,7 @@ class Theme {
|
|
|
20
20
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
21
21
|
* @returns {Promise<ThemePartnerModel.AllAvailablePageSchema>} - Success response
|
|
22
22
|
* @name getAllPages
|
|
23
|
-
* @summary: Get all pages
|
|
23
|
+
* @summary: Get all pages
|
|
24
24
|
* @description: Retrieve a list of all pages available in the partner server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getAllPages/).
|
|
25
25
|
*/
|
|
26
26
|
async getAllPages(
|
|
@@ -97,7 +97,7 @@ class Theme {
|
|
|
97
97
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
98
98
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
99
99
|
* @name createPage
|
|
100
|
-
* @summary: Create page
|
|
100
|
+
* @summary: Create page
|
|
101
101
|
* @description: Add a new page to the partner server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createPage/).
|
|
102
102
|
*/
|
|
103
103
|
async createPage(
|
|
@@ -181,7 +181,7 @@ class Theme {
|
|
|
181
181
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
182
182
|
* @returns {Promise<ThemePartnerModel.AllAvailablePageSchema>} - Success response
|
|
183
183
|
* @name updateMultiplePages
|
|
184
|
-
* @summary: Update multiple pages
|
|
184
|
+
* @summary: Update multiple pages
|
|
185
185
|
* @description: Modify and update multiple pages in the partner server setup. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updateMultiplePages/).
|
|
186
186
|
*/
|
|
187
187
|
async updateMultiplePages(
|
|
@@ -267,7 +267,7 @@ class Theme {
|
|
|
267
267
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
268
268
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
269
269
|
* @name getPage
|
|
270
|
-
* @summary: Get page
|
|
270
|
+
* @summary: Get page
|
|
271
271
|
* @description: Obtain detailed information about a specific page in the partner server. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getPage/).
|
|
272
272
|
*/
|
|
273
273
|
async getPage(
|
|
@@ -345,7 +345,7 @@ class Theme {
|
|
|
345
345
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
346
346
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
347
347
|
* @name updatePage
|
|
348
|
-
* @summary: Update page
|
|
348
|
+
* @summary: Update page
|
|
349
349
|
* @description: Modify and update information related to a specific page in the partner server. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updatePage/).
|
|
350
350
|
*/
|
|
351
351
|
async updatePage(
|
|
@@ -431,7 +431,7 @@ class Theme {
|
|
|
431
431
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
432
432
|
* @returns {Promise<ThemePartnerModel.AvailablePageSchema>} - Success response
|
|
433
433
|
* @name deletePage
|
|
434
|
-
* @summary: Delete page
|
|
434
|
+
* @summary: Delete page
|
|
435
435
|
* @description: Remove a page from the partner server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/deletePage/).
|
|
436
436
|
*/
|
|
437
437
|
async deletePage(
|
|
@@ -509,7 +509,7 @@ class Theme {
|
|
|
509
509
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
510
510
|
* @returns {Promise<ThemePartnerModel.ThemesSchema[]>} - Success response
|
|
511
511
|
* @name getApplicationThemes
|
|
512
|
-
* @summary: Get application themes
|
|
512
|
+
* @summary: Get application themes
|
|
513
513
|
* @description: Retrieve a list of themes available for the partner server application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getApplicationThemes/).
|
|
514
514
|
*/
|
|
515
515
|
async getApplicationThemes(
|
|
@@ -582,7 +582,7 @@ class Theme {
|
|
|
582
582
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
583
583
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
584
584
|
* @name getThemeById
|
|
585
|
-
* @summary: Get theme by ID
|
|
585
|
+
* @summary: Get theme by ID
|
|
586
586
|
* @description: Obtain detailed information about a theme using its unique ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getThemeById/).
|
|
587
587
|
*/
|
|
588
588
|
async getThemeById(
|
|
@@ -659,7 +659,7 @@ class Theme {
|
|
|
659
659
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
660
660
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
661
661
|
* @name updateTheme
|
|
662
|
-
* @summary: Update theme
|
|
662
|
+
* @summary: Update theme
|
|
663
663
|
* @description: Modify and update information related to a theme in the partner server. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updateTheme/).
|
|
664
664
|
*/
|
|
665
665
|
async updateTheme(
|
|
@@ -743,7 +743,7 @@ class Theme {
|
|
|
743
743
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
744
744
|
* @returns {Promise<ThemePartnerModel.ThemesSchema>} - Success response
|
|
745
745
|
* @name deleteTheme
|
|
746
|
-
* @summary: Delete theme
|
|
746
|
+
* @summary: Delete theme
|
|
747
747
|
* @description: Remove a theme from the partner server configurations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/deleteTheme/).
|
|
748
748
|
*/
|
|
749
749
|
async deleteTheme(
|
|
@@ -820,7 +820,7 @@ class Theme {
|
|
|
820
820
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
821
821
|
* @returns {Promise<ThemePartnerModel.MarketplaceThemeSchema>} - Success response
|
|
822
822
|
* @name getOrganizationThemes
|
|
823
|
-
* @summary: Get organization themes
|
|
823
|
+
* @summary: Get organization themes
|
|
824
824
|
* @description: Retrieve a list of themes associated with partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getOrganizationThemes/).
|
|
825
825
|
*/
|
|
826
826
|
async getOrganizationThemes(
|
|
@@ -904,7 +904,7 @@ class Theme {
|
|
|
904
904
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
905
905
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
906
906
|
* @name getOrganizationThemeDetails
|
|
907
|
-
* @summary: Get organization theme details
|
|
907
|
+
* @summary: Get organization theme details
|
|
908
908
|
* @description: Obtain detailed information about a theme within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getOrganizationThemeDetails/).
|
|
909
909
|
*/
|
|
910
910
|
async getOrganizationThemeDetails(
|
|
@@ -983,7 +983,7 @@ class Theme {
|
|
|
983
983
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
984
984
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
985
985
|
* @name updateDraftTheme
|
|
986
|
-
* @summary: Update draft theme
|
|
986
|
+
* @summary: Update draft theme
|
|
987
987
|
* @description: Modify and update a draft theme in partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/updateDraftTheme/).
|
|
988
988
|
*/
|
|
989
989
|
async updateDraftTheme(
|
|
@@ -1062,7 +1062,7 @@ class Theme {
|
|
|
1062
1062
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1063
1063
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
1064
1064
|
* @name submitOrganizationTheme
|
|
1065
|
-
* @summary: Submit organization theme
|
|
1065
|
+
* @summary: Submit organization theme
|
|
1066
1066
|
* @description: Initiate the process of submitting a theme within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/submitOrganizationTheme/).
|
|
1067
1067
|
*/
|
|
1068
1068
|
async submitOrganizationTheme(
|
|
@@ -1141,7 +1141,7 @@ class Theme {
|
|
|
1141
1141
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1142
1142
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
1143
1143
|
* @name deleteOrganizationTheme
|
|
1144
|
-
* @summary: Delete organization theme
|
|
1144
|
+
* @summary: Delete organization theme
|
|
1145
1145
|
* @description: Remove a theme from partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/deleteOrganizationTheme/).
|
|
1146
1146
|
*/
|
|
1147
1147
|
async deleteOrganizationTheme(
|
|
@@ -1218,7 +1218,7 @@ class Theme {
|
|
|
1218
1218
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1219
1219
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme[]>} - Success response
|
|
1220
1220
|
* @name getLatestVersionOfThemeBySlug
|
|
1221
|
-
* @summary: Get latest version of theme by slug
|
|
1221
|
+
* @summary: Get latest version of theme by slug
|
|
1222
1222
|
* @description: Retrieve the most recent version of a theme using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getLatestVersionOfThemeBySlug/).
|
|
1223
1223
|
*/
|
|
1224
1224
|
async getLatestVersionOfThemeBySlug(
|
|
@@ -1294,7 +1294,7 @@ class Theme {
|
|
|
1294
1294
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1295
1295
|
* @returns {Promise<ThemePartnerModel.MarketplaceTheme>} - Success response
|
|
1296
1296
|
* @name createNewThemeInOrganization
|
|
1297
|
-
* @summary: Create new theme in organization
|
|
1297
|
+
* @summary: Create new theme in organization
|
|
1298
1298
|
* @description: Add a new theme to partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createNewThemeInOrganization/).
|
|
1299
1299
|
*/
|
|
1300
1300
|
async createNewThemeInOrganization(
|
|
@@ -1376,7 +1376,7 @@ class Theme {
|
|
|
1376
1376
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1377
1377
|
* @returns {Promise<ThemePartnerModel.ThemeRejectionReasons>} - Success response
|
|
1378
1378
|
* @name getThemeRejectionReasons
|
|
1379
|
-
* @summary: Get theme rejection reasons
|
|
1379
|
+
* @summary: Get theme rejection reasons
|
|
1380
1380
|
* @description: Retrieve reasons for the rejection of themes within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getThemeRejectionReasons/).
|
|
1381
1381
|
*/
|
|
1382
1382
|
async getThemeRejectionReasons(
|
|
@@ -1453,7 +1453,7 @@ class Theme {
|
|
|
1453
1453
|
* @param {import("../PartnerAPIClient").Options} - Options
|
|
1454
1454
|
* @returns {Promise<ThemePartnerModel.MarketplaceThemeSchema>} - Success response
|
|
1455
1455
|
* @name getThemeVersions
|
|
1456
|
-
* @summary: Get theme versions
|
|
1456
|
+
* @summary: Get theme versions
|
|
1457
1457
|
* @description: Retrieve a list of versions available for a theme within partner server organizations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/getThemeVersions/).
|
|
1458
1458
|
*/
|
|
1459
1459
|
async getThemeVersions(
|