@gofynd/fdk-client-javascript 1.6.4 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +5 -5
- package/sdk/application/Cart/CartApplicationClient.js +26 -268
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +20 -20
- package/sdk/application/Catalog/CatalogApplicationClient.js +98 -347
- package/sdk/application/Common/CommonApplicationClient.js +1 -16
- package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +24 -2
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +58 -137
- package/sdk/application/Content/ContentApplicationClient.d.ts +47 -7
- package/sdk/application/Content/ContentApplicationClient.js +222 -191
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.js +1 -16
- package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
- package/sdk/application/Lead/LeadApplicationClient.js +21 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -56
- package/sdk/application/Logistic/LogisticApplicationClient.js +57 -332
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
- package/sdk/application/Order/OrderApplicationClient.js +68 -153
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -12
- package/sdk/application/Payment/PaymentApplicationClient.js +7 -487
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -59
- package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationClient.js +21 -75
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +19 -47
- package/sdk/application/User/UserApplicationClient.js +1 -407
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -8
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -55
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +1 -408
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -37
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +2 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +29 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +65 -42
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1008 -794
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +573 -460
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +10 -5
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +5 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +2 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +67 -9
- package/sdk/platform/Cart/CartPlatformModel.js +38 -5
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.js +4 -4
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +47 -13
- package/sdk/platform/Catalog/CatalogPlatformModel.js +29 -7
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +7 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +71 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +70 -6
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +0 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +8 -60
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +31 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -3
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +13 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +68 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +49 -7
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +169 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1279 -132
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +156 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +180 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +162 -0
- package/sdk/platform/Content/ContentPlatformClient.js +1697 -497
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1053 -35
- package/sdk/platform/Content/ContentPlatformModel.js +717 -34
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +127 -1
- package/sdk/platform/Content/ContentPlatformValidator.js +171 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +34 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +59 -0
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +365 -93
- package/sdk/platform/Discount/DiscountPlatformModel.js +98 -93
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +54 -34
- package/sdk/platform/Discount/DiscountPlatformValidator.js +27 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +0 -156
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +0 -1072
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -137
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +0 -173
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +1 -1105
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +0 -1125
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -0
- package/sdk/platform/Lead/LeadPlatformModel.js +2 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +212 -0
- package/sdk/platform/Order/OrderPlatformClient.js +397 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +41 -9
- package/sdk/platform/Order/OrderPlatformModel.js +20 -7
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +58 -10
- package/sdk/platform/Partner/PartnerPlatformModel.js +19 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +8 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +5 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.js +2 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +240 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +1753 -277
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +320 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +269 -19
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -104
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +201 -629
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +5720 -2891
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3414 -2181
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +138 -216
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +81 -148
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +10 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +79 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +13 -1
- package/sdk/platform/User/UserPlatformApplicationValidator.js +12 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +52 -1
- package/sdk/platform/User/UserPlatformModel.js +36 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +5 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +2 -0
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +6 -11
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -3
- package/sdk/public/Content/ContentPublicClient.js +261 -104
- package/sdk/public/Content/ContentPublicModel.d.ts +155 -1
- package/sdk/public/Content/ContentPublicModel.js +102 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -1
- package/sdk/public/Content/ContentPublicValidator.js +26 -0
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +1 -40
|
@@ -6,6 +6,7 @@ const {
|
|
|
6
6
|
const ApplicationAPIClient = require("../ApplicationAPIClient");
|
|
7
7
|
const constructUrl = require("../constructUrl");
|
|
8
8
|
const Paginator = require("../../common/Paginator");
|
|
9
|
+
const { validateRequiredParams } = require("../../common/Validator");
|
|
9
10
|
|
|
10
11
|
class Common {
|
|
11
12
|
constructor(_conf) {
|
|
@@ -43,14 +44,6 @@ class Common {
|
|
|
43
44
|
{ locationType, id, requestHeaders } = { requestHeaders: {} },
|
|
44
45
|
{ responseHeaders } = { responseHeaders: false }
|
|
45
46
|
) {
|
|
46
|
-
let invalidInput = [];
|
|
47
|
-
if (invalidInput.length) {
|
|
48
|
-
const error = new Error();
|
|
49
|
-
error.message = "Missing required field";
|
|
50
|
-
error.details = invalidInput;
|
|
51
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
47
|
const query_params = {};
|
|
55
48
|
query_params["location_type"] = locationType;
|
|
56
49
|
query_params["id"] = id;
|
|
@@ -90,14 +83,6 @@ class Common {
|
|
|
90
83
|
{ authorization, query, requestHeaders } = { requestHeaders: {} },
|
|
91
84
|
{ responseHeaders } = { responseHeaders: false }
|
|
92
85
|
) {
|
|
93
|
-
let invalidInput = [];
|
|
94
|
-
if (invalidInput.length) {
|
|
95
|
-
const error = new Error();
|
|
96
|
-
error.message = "Missing required field";
|
|
97
|
-
error.details = invalidInput;
|
|
98
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
99
|
-
}
|
|
100
|
-
|
|
101
86
|
const query_params = {};
|
|
102
87
|
query_params["query"] = query;
|
|
103
88
|
|
|
@@ -6,6 +6,7 @@ const {
|
|
|
6
6
|
const ApplicationAPIClient = require("../ApplicationAPIClient");
|
|
7
7
|
const constructUrl = require("../constructUrl");
|
|
8
8
|
const Paginator = require("../../common/Paginator");
|
|
9
|
+
const { validateRequiredParams } = require("../../common/Validator");
|
|
9
10
|
|
|
10
11
|
class Communication {
|
|
11
12
|
constructor(_conf) {
|
|
@@ -45,14 +46,6 @@ class Communication {
|
|
|
45
46
|
{ requestHeaders } = { requestHeaders: {} },
|
|
46
47
|
{ responseHeaders } = { responseHeaders: false }
|
|
47
48
|
) {
|
|
48
|
-
let invalidInput = [];
|
|
49
|
-
if (invalidInput.length) {
|
|
50
|
-
const error = new Error();
|
|
51
|
-
error.message = "Missing required field";
|
|
52
|
-
error.details = invalidInput;
|
|
53
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
49
|
const query_params = {};
|
|
57
50
|
|
|
58
51
|
const xHeaders = {};
|
|
@@ -90,14 +83,6 @@ class Communication {
|
|
|
90
83
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
91
84
|
{ responseHeaders } = { responseHeaders: false }
|
|
92
85
|
) {
|
|
93
|
-
let invalidInput = [];
|
|
94
|
-
if (invalidInput.length) {
|
|
95
|
-
const error = new Error();
|
|
96
|
-
error.message = "Missing required field";
|
|
97
|
-
error.details = invalidInput;
|
|
98
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
99
|
-
}
|
|
100
|
-
|
|
101
86
|
const query_params = {};
|
|
102
87
|
|
|
103
88
|
const xHeaders = {};
|
|
@@ -135,14 +120,6 @@ class Communication {
|
|
|
135
120
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
136
121
|
{ responseHeaders } = { responseHeaders: false }
|
|
137
122
|
) {
|
|
138
|
-
let invalidInput = [];
|
|
139
|
-
if (invalidInput.length) {
|
|
140
|
-
const error = new Error();
|
|
141
|
-
error.message = "Missing required field";
|
|
142
|
-
error.details = invalidInput;
|
|
143
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
144
|
-
}
|
|
145
|
-
|
|
146
123
|
const query_params = {};
|
|
147
124
|
|
|
148
125
|
const xHeaders = {};
|
|
@@ -40,6 +40,27 @@ declare class Configuration {
|
|
|
40
40
|
* @description: List all staff members of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
|
|
41
41
|
*/
|
|
42
42
|
getAppStaffList({ pageNo, pageSize, orderIncent, orderingStore, user, userName, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<AppStaffListResponseSchema>;
|
|
43
|
+
/**
|
|
44
|
+
* @param {Object} arg - Arg object.
|
|
45
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
46
|
+
* @param {boolean} [arg.orderIncent] - Select `true` to retrieve the staff
|
|
47
|
+
* members eligible for getting incentives on orders.
|
|
48
|
+
* @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
|
|
49
|
+
* retrieving staff members working at a particular ordering store.
|
|
50
|
+
* @param {string} [arg.user] - ID of the staff. Helps in retrieving the
|
|
51
|
+
* details of a particular staff member.
|
|
52
|
+
* @param {string} [arg.userName] - Username of the member.
|
|
53
|
+
* @returns {Paginator<AppStaffListResponseSchema>}
|
|
54
|
+
* @summary: List staff members
|
|
55
|
+
* @description: List all staff members of the sales channel.
|
|
56
|
+
*/
|
|
57
|
+
getAppStaffListPaginator({ pageSize, orderIncent, orderingStore, user, userName, }?: {
|
|
58
|
+
pageSize?: number;
|
|
59
|
+
orderIncent?: boolean;
|
|
60
|
+
orderingStore?: number;
|
|
61
|
+
user?: string;
|
|
62
|
+
userName?: string;
|
|
63
|
+
}): Paginator<AppStaffListResponseSchema>;
|
|
43
64
|
/**
|
|
44
65
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
45
66
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -93,7 +114,7 @@ declare class Configuration {
|
|
|
93
114
|
* @summary: Get a currency
|
|
94
115
|
* @description: Get details of the currency. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencyById/).
|
|
95
116
|
*/
|
|
96
|
-
getCurrencyById({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<Currency>;
|
|
117
|
+
getCurrencyById({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<Currency>;
|
|
97
118
|
/**
|
|
98
119
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
120
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -156,7 +177,7 @@ declare class Configuration {
|
|
|
156
177
|
* @summary: Get a selling location
|
|
157
178
|
* @description: Get details of a selling location (store) by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getStoreDetailById/).
|
|
158
179
|
*/
|
|
159
|
-
getStoreDetailById({ storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderingStore>;
|
|
180
|
+
getStoreDetailById({ storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<OrderingStore>;
|
|
160
181
|
/**
|
|
161
182
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
162
183
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -167,3 +188,4 @@ declare class Configuration {
|
|
|
167
188
|
*/
|
|
168
189
|
removeOrderingStoreCookie({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SuccessMessageResponseSchema>;
|
|
169
190
|
}
|
|
191
|
+
import Paginator = require("../../common/Paginator");
|
|
@@ -6,6 +6,7 @@ const {
|
|
|
6
6
|
const ApplicationAPIClient = require("../ApplicationAPIClient");
|
|
7
7
|
const constructUrl = require("../constructUrl");
|
|
8
8
|
const Paginator = require("../../common/Paginator");
|
|
9
|
+
const { validateRequiredParams } = require("../../common/Validator");
|
|
9
10
|
|
|
10
11
|
class Configuration {
|
|
11
12
|
constructor(_conf) {
|
|
@@ -25,10 +26,10 @@ class Configuration {
|
|
|
25
26
|
getOrderingStoreCookie:
|
|
26
27
|
"/service/application/configuration/v1.0/ordering-store/select",
|
|
27
28
|
getOrderingStores:
|
|
28
|
-
"/service/application/configuration/
|
|
29
|
-
getOwnerInfo: "/service/application/configuration/
|
|
29
|
+
"/service/application/configuration/v2.0/ordering-store/stores",
|
|
30
|
+
getOwnerInfo: "/service/application/configuration/v2.0/about",
|
|
30
31
|
getStoreDetailById:
|
|
31
|
-
"/service/application/configuration/
|
|
32
|
+
"/service/application/configuration/v2.0/ordering-store/stores/{store_id}",
|
|
32
33
|
removeOrderingStoreCookie:
|
|
33
34
|
"/service/application/configuration/v1.0/ordering-store/select",
|
|
34
35
|
};
|
|
@@ -60,14 +61,6 @@ class Configuration {
|
|
|
60
61
|
{ requestHeaders } = { requestHeaders: {} },
|
|
61
62
|
{ responseHeaders } = { responseHeaders: false }
|
|
62
63
|
) {
|
|
63
|
-
let invalidInput = [];
|
|
64
|
-
if (invalidInput.length) {
|
|
65
|
-
const error = new Error();
|
|
66
|
-
error.message = "Missing required field";
|
|
67
|
-
error.details = invalidInput;
|
|
68
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
69
|
-
}
|
|
70
|
-
|
|
71
64
|
const query_params = {};
|
|
72
65
|
|
|
73
66
|
const xHeaders = {};
|
|
@@ -113,14 +106,6 @@ class Configuration {
|
|
|
113
106
|
} = { requestHeaders: {} },
|
|
114
107
|
{ responseHeaders } = { responseHeaders: false }
|
|
115
108
|
) {
|
|
116
|
-
let invalidInput = [];
|
|
117
|
-
if (invalidInput.length) {
|
|
118
|
-
const error = new Error();
|
|
119
|
-
error.message = "Missing required field";
|
|
120
|
-
error.details = invalidInput;
|
|
121
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
122
|
-
}
|
|
123
|
-
|
|
124
109
|
const query_params = {};
|
|
125
110
|
query_params["page_no"] = pageNo;
|
|
126
111
|
query_params["page_size"] = pageSize;
|
|
@@ -152,6 +137,50 @@ class Configuration {
|
|
|
152
137
|
return response;
|
|
153
138
|
}
|
|
154
139
|
|
|
140
|
+
/**
|
|
141
|
+
* @param {Object} arg - Arg object.
|
|
142
|
+
* @param {number} [arg.pageSize] - The number of items to retrieve in each page.
|
|
143
|
+
* @param {boolean} [arg.orderIncent] - Select `true` to retrieve the staff
|
|
144
|
+
* members eligible for getting incentives on orders.
|
|
145
|
+
* @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
|
|
146
|
+
* retrieving staff members working at a particular ordering store.
|
|
147
|
+
* @param {string} [arg.user] - ID of the staff. Helps in retrieving the
|
|
148
|
+
* details of a particular staff member.
|
|
149
|
+
* @param {string} [arg.userName] - Username of the member.
|
|
150
|
+
* @returns {Paginator<AppStaffListResponseSchema>}
|
|
151
|
+
* @summary: List staff members
|
|
152
|
+
* @description: List all staff members of the sales channel.
|
|
153
|
+
*/
|
|
154
|
+
getAppStaffListPaginator({
|
|
155
|
+
pageSize,
|
|
156
|
+
orderIncent,
|
|
157
|
+
orderingStore,
|
|
158
|
+
user,
|
|
159
|
+
userName,
|
|
160
|
+
} = {}) {
|
|
161
|
+
const paginator = new Paginator();
|
|
162
|
+
const callback = async () => {
|
|
163
|
+
const pageId = paginator.nextId;
|
|
164
|
+
const pageNo = paginator.pageNo;
|
|
165
|
+
const pageType = "number";
|
|
166
|
+
const data = await this.getAppStaffList({
|
|
167
|
+
pageNo: pageNo,
|
|
168
|
+
pageSize: pageSize,
|
|
169
|
+
orderIncent: orderIncent,
|
|
170
|
+
orderingStore: orderingStore,
|
|
171
|
+
user: user,
|
|
172
|
+
userName: userName,
|
|
173
|
+
});
|
|
174
|
+
paginator.setPaginator({
|
|
175
|
+
hasNext: data.page.has_next ? true : false,
|
|
176
|
+
nextId: data.page.next_id,
|
|
177
|
+
});
|
|
178
|
+
return data;
|
|
179
|
+
};
|
|
180
|
+
paginator.setCallback(callback.bind(this));
|
|
181
|
+
return paginator;
|
|
182
|
+
}
|
|
183
|
+
|
|
155
184
|
/**
|
|
156
185
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
157
186
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -166,14 +195,6 @@ class Configuration {
|
|
|
166
195
|
},
|
|
167
196
|
{ responseHeaders } = { responseHeaders: false }
|
|
168
197
|
) {
|
|
169
|
-
let invalidInput = [];
|
|
170
|
-
if (invalidInput.length) {
|
|
171
|
-
const error = new Error();
|
|
172
|
-
error.message = "Missing required field";
|
|
173
|
-
error.details = invalidInput;
|
|
174
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
175
|
-
}
|
|
176
|
-
|
|
177
198
|
const query_params = {};
|
|
178
199
|
query_params["order_incent"] = orderIncent;
|
|
179
200
|
query_params["ordering_store"] = orderingStore;
|
|
@@ -214,14 +235,6 @@ class Configuration {
|
|
|
214
235
|
{ requestHeaders } = { requestHeaders: {} },
|
|
215
236
|
{ responseHeaders } = { responseHeaders: false }
|
|
216
237
|
) {
|
|
217
|
-
let invalidInput = [];
|
|
218
|
-
if (invalidInput.length) {
|
|
219
|
-
const error = new Error();
|
|
220
|
-
error.message = "Missing required field";
|
|
221
|
-
error.details = invalidInput;
|
|
222
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
223
|
-
}
|
|
224
|
-
|
|
225
238
|
const query_params = {};
|
|
226
239
|
|
|
227
240
|
const xHeaders = {};
|
|
@@ -259,14 +272,6 @@ class Configuration {
|
|
|
259
272
|
{ requestHeaders } = { requestHeaders: {} },
|
|
260
273
|
{ responseHeaders } = { responseHeaders: false }
|
|
261
274
|
) {
|
|
262
|
-
let invalidInput = [];
|
|
263
|
-
if (invalidInput.length) {
|
|
264
|
-
const error = new Error();
|
|
265
|
-
error.message = "Missing required field";
|
|
266
|
-
error.details = invalidInput;
|
|
267
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
268
|
-
}
|
|
269
|
-
|
|
270
275
|
const query_params = {};
|
|
271
276
|
|
|
272
277
|
const xHeaders = {};
|
|
@@ -304,14 +309,6 @@ class Configuration {
|
|
|
304
309
|
{ requestHeaders } = { requestHeaders: {} },
|
|
305
310
|
{ responseHeaders } = { responseHeaders: false }
|
|
306
311
|
) {
|
|
307
|
-
let invalidInput = [];
|
|
308
|
-
if (invalidInput.length) {
|
|
309
|
-
const error = new Error();
|
|
310
|
-
error.message = "Missing required field";
|
|
311
|
-
error.details = invalidInput;
|
|
312
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
313
|
-
}
|
|
314
|
-
|
|
315
312
|
const query_params = {};
|
|
316
313
|
|
|
317
314
|
const xHeaders = {};
|
|
@@ -349,14 +346,6 @@ class Configuration {
|
|
|
349
346
|
{ requestHeaders } = { requestHeaders: {} },
|
|
350
347
|
{ responseHeaders } = { responseHeaders: false }
|
|
351
348
|
) {
|
|
352
|
-
let invalidInput = [];
|
|
353
|
-
if (invalidInput.length) {
|
|
354
|
-
const error = new Error();
|
|
355
|
-
error.message = "Missing required field";
|
|
356
|
-
error.details = invalidInput;
|
|
357
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
358
|
-
}
|
|
359
|
-
|
|
360
349
|
const query_params = {};
|
|
361
350
|
|
|
362
351
|
const xHeaders = {};
|
|
@@ -394,18 +383,12 @@ class Configuration {
|
|
|
394
383
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
395
384
|
{ responseHeaders } = { responseHeaders: false }
|
|
396
385
|
) {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
path: ["id"],
|
|
386
|
+
const errors = validateRequiredParams(arguments[0], ["id"]);
|
|
387
|
+
if (errors.length > 0) {
|
|
388
|
+
const error = new FDKClientValidationError({
|
|
389
|
+
message: "Missing required field",
|
|
390
|
+
details: errors,
|
|
403
391
|
});
|
|
404
|
-
}
|
|
405
|
-
if (invalidInput.length) {
|
|
406
|
-
const error = new Error();
|
|
407
|
-
error.message = "Missing required field";
|
|
408
|
-
error.details = invalidInput;
|
|
409
392
|
return Promise.reject(new FDKClientValidationError(error));
|
|
410
393
|
}
|
|
411
394
|
|
|
@@ -446,14 +429,6 @@ class Configuration {
|
|
|
446
429
|
{ requestHeaders } = { requestHeaders: {} },
|
|
447
430
|
{ responseHeaders } = { responseHeaders: false }
|
|
448
431
|
) {
|
|
449
|
-
let invalidInput = [];
|
|
450
|
-
if (invalidInput.length) {
|
|
451
|
-
const error = new Error();
|
|
452
|
-
error.message = "Missing required field";
|
|
453
|
-
error.details = invalidInput;
|
|
454
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
455
|
-
}
|
|
456
|
-
|
|
457
432
|
const query_params = {};
|
|
458
433
|
|
|
459
434
|
const xHeaders = {};
|
|
@@ -491,14 +466,6 @@ class Configuration {
|
|
|
491
466
|
{ requestHeaders } = { requestHeaders: {} },
|
|
492
467
|
{ responseHeaders } = { responseHeaders: false }
|
|
493
468
|
) {
|
|
494
|
-
let invalidInput = [];
|
|
495
|
-
if (invalidInput.length) {
|
|
496
|
-
const error = new Error();
|
|
497
|
-
error.message = "Missing required field";
|
|
498
|
-
error.details = invalidInput;
|
|
499
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
500
|
-
}
|
|
501
|
-
|
|
502
469
|
const query_params = {};
|
|
503
470
|
|
|
504
471
|
const xHeaders = {};
|
|
@@ -536,14 +503,6 @@ class Configuration {
|
|
|
536
503
|
{ requestHeaders } = { requestHeaders: {} },
|
|
537
504
|
{ responseHeaders } = { responseHeaders: false }
|
|
538
505
|
) {
|
|
539
|
-
let invalidInput = [];
|
|
540
|
-
if (invalidInput.length) {
|
|
541
|
-
const error = new Error();
|
|
542
|
-
error.message = "Missing required field";
|
|
543
|
-
error.details = invalidInput;
|
|
544
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
545
|
-
}
|
|
546
|
-
|
|
547
506
|
const query_params = {};
|
|
548
507
|
|
|
549
508
|
const xHeaders = {};
|
|
@@ -581,14 +540,6 @@ class Configuration {
|
|
|
581
540
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
582
541
|
{ responseHeaders } = { responseHeaders: false }
|
|
583
542
|
) {
|
|
584
|
-
let invalidInput = [];
|
|
585
|
-
if (invalidInput.length) {
|
|
586
|
-
const error = new Error();
|
|
587
|
-
error.message = "Missing required field";
|
|
588
|
-
error.details = invalidInput;
|
|
589
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
590
|
-
}
|
|
591
|
-
|
|
592
543
|
const query_params = {};
|
|
593
544
|
|
|
594
545
|
const xHeaders = {};
|
|
@@ -626,14 +577,6 @@ class Configuration {
|
|
|
626
577
|
{ pageNo, pageSize, q, requestHeaders } = { requestHeaders: {} },
|
|
627
578
|
{ responseHeaders } = { responseHeaders: false }
|
|
628
579
|
) {
|
|
629
|
-
let invalidInput = [];
|
|
630
|
-
if (invalidInput.length) {
|
|
631
|
-
const error = new Error();
|
|
632
|
-
error.message = "Missing required field";
|
|
633
|
-
error.details = invalidInput;
|
|
634
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
635
|
-
}
|
|
636
|
-
|
|
637
580
|
const query_params = {};
|
|
638
581
|
query_params["page_no"] = pageNo;
|
|
639
582
|
query_params["page_size"] = pageSize;
|
|
@@ -674,14 +617,6 @@ class Configuration {
|
|
|
674
617
|
{ requestHeaders } = { requestHeaders: {} },
|
|
675
618
|
{ responseHeaders } = { responseHeaders: false }
|
|
676
619
|
) {
|
|
677
|
-
let invalidInput = [];
|
|
678
|
-
if (invalidInput.length) {
|
|
679
|
-
const error = new Error();
|
|
680
|
-
error.message = "Missing required field";
|
|
681
|
-
error.details = invalidInput;
|
|
682
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
683
|
-
}
|
|
684
|
-
|
|
685
620
|
const query_params = {};
|
|
686
621
|
|
|
687
622
|
const xHeaders = {};
|
|
@@ -719,18 +654,12 @@ class Configuration {
|
|
|
719
654
|
{ storeId, requestHeaders } = { requestHeaders: {} },
|
|
720
655
|
{ responseHeaders } = { responseHeaders: false }
|
|
721
656
|
) {
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
path: ["storeId"],
|
|
657
|
+
const errors = validateRequiredParams(arguments[0], ["storeId"]);
|
|
658
|
+
if (errors.length > 0) {
|
|
659
|
+
const error = new FDKClientValidationError({
|
|
660
|
+
message: "Missing required field",
|
|
661
|
+
details: errors,
|
|
728
662
|
});
|
|
729
|
-
}
|
|
730
|
-
if (invalidInput.length) {
|
|
731
|
-
const error = new Error();
|
|
732
|
-
error.message = "Missing required field";
|
|
733
|
-
error.details = invalidInput;
|
|
734
663
|
return Promise.reject(new FDKClientValidationError(error));
|
|
735
664
|
}
|
|
736
665
|
|
|
@@ -771,14 +700,6 @@ class Configuration {
|
|
|
771
700
|
{ requestHeaders } = { requestHeaders: {} },
|
|
772
701
|
{ responseHeaders } = { responseHeaders: false }
|
|
773
702
|
) {
|
|
774
|
-
let invalidInput = [];
|
|
775
|
-
if (invalidInput.length) {
|
|
776
|
-
const error = new Error();
|
|
777
|
-
error.message = "Missing required field";
|
|
778
|
-
error.details = invalidInput;
|
|
779
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
780
|
-
}
|
|
781
|
-
|
|
782
703
|
const query_params = {};
|
|
783
704
|
|
|
784
705
|
const xHeaders = {};
|
|
@@ -3,6 +3,8 @@ declare class Content {
|
|
|
3
3
|
constructor(_conf: any);
|
|
4
4
|
_conf: any;
|
|
5
5
|
_relativeUrls: {
|
|
6
|
+
fetchResourceTranslations: string;
|
|
7
|
+
fetchResourceTranslationsWithPayload: string;
|
|
6
8
|
getAnnouncements: string;
|
|
7
9
|
getBlog: string;
|
|
8
10
|
getBlogs: string;
|
|
@@ -22,10 +24,30 @@ declare class Content {
|
|
|
22
24
|
getSEOConfiguration: string;
|
|
23
25
|
getSEOMarkupSchemas: string;
|
|
24
26
|
getSupportInformation: string;
|
|
27
|
+
getSupportedLanguages: string;
|
|
25
28
|
getTags: string;
|
|
29
|
+
getTranslateUILabels: string;
|
|
26
30
|
};
|
|
27
31
|
_urls: {};
|
|
28
32
|
updateUrls(urls: any): void;
|
|
33
|
+
/**
|
|
34
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
35
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
36
|
+
* @returns {Promise<ResourceTranslations>} - Success response
|
|
37
|
+
* @name fetchResourceTranslations
|
|
38
|
+
* @summary: Get Resource Translations
|
|
39
|
+
* @description: Fetch translations for specific resource IDs based on type and locale settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/fetchResourceTranslations/).
|
|
40
|
+
*/
|
|
41
|
+
fetchResourceTranslations({ type, locale, resourceId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ResourceTranslations>;
|
|
42
|
+
/**
|
|
43
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
44
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
45
|
+
* @returns {Promise<ResourceTranslations>} - Success response
|
|
46
|
+
* @name fetchResourceTranslationsWithPayload
|
|
47
|
+
* @summary: Post Resource Translations
|
|
48
|
+
* @description: Submit and retrieve translations for resources using payload data and locale settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/fetchResourceTranslationsWithPayload/).
|
|
49
|
+
*/
|
|
50
|
+
fetchResourceTranslationsWithPayload({ type, locale, resourceId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<ResourceTranslations>;
|
|
29
51
|
/**
|
|
30
52
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
31
53
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -43,7 +65,7 @@ declare class Content {
|
|
|
43
65
|
* @summary: Get a blog
|
|
44
66
|
* @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
|
|
45
67
|
*/
|
|
46
|
-
getBlog({ slug, rootId, preview, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogSchema>;
|
|
68
|
+
getBlog({ slug, rootId, preview, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<BlogSchema>;
|
|
47
69
|
/**
|
|
48
70
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
49
71
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -61,7 +83,7 @@ declare class Content {
|
|
|
61
83
|
* @summary: Get list of custom fields of given resource and resource slug
|
|
62
84
|
* @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldsByResourceId/).
|
|
63
85
|
*/
|
|
64
|
-
getCustomFieldsByResourceId({ resource, resourceSlug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
86
|
+
getCustomFieldsByResourceId({ resource, resourceSlug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
65
87
|
/**
|
|
66
88
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
67
89
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -70,7 +92,7 @@ declare class Content {
|
|
|
70
92
|
* @summary: Get custom object details
|
|
71
93
|
* @description: Details of a custom object entry can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObjectBySlug/).
|
|
72
94
|
*/
|
|
73
|
-
getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectByIdSchema>;
|
|
95
|
+
getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomObjectByIdSchema>;
|
|
74
96
|
/**
|
|
75
97
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
76
98
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -88,7 +110,7 @@ declare class Content {
|
|
|
88
110
|
* @summary: Get FAQ
|
|
89
111
|
* @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
|
|
90
112
|
*/
|
|
91
|
-
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FaqSchema>;
|
|
113
|
+
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FaqSchema>;
|
|
92
114
|
/**
|
|
93
115
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
116
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -106,7 +128,7 @@ declare class Content {
|
|
|
106
128
|
* @summary: Get a FAQ category
|
|
107
129
|
* @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
|
|
108
130
|
*/
|
|
109
|
-
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqCategoryBySlugSchema>;
|
|
131
|
+
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqCategoryBySlugSchema>;
|
|
110
132
|
/**
|
|
111
133
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
112
134
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -124,7 +146,7 @@ declare class Content {
|
|
|
124
146
|
* @summary: List FAQs by category
|
|
125
147
|
* @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
|
|
126
148
|
*/
|
|
127
|
-
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqSchema>;
|
|
149
|
+
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqSchema>;
|
|
128
150
|
/**
|
|
129
151
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
130
152
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -160,7 +182,7 @@ declare class Content {
|
|
|
160
182
|
* @summary: Get a page
|
|
161
183
|
* @description: Get detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
|
|
162
184
|
*/
|
|
163
|
-
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageSchema>;
|
|
185
|
+
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<PageSchema>;
|
|
164
186
|
/**
|
|
165
187
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
166
188
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -197,6 +219,15 @@ declare class Content {
|
|
|
197
219
|
* @description: Get customer support contact details. Contact Details can be either a phone number or an email-id or both. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSupportInformation/).
|
|
198
220
|
*/
|
|
199
221
|
getSupportInformation({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<Support>;
|
|
222
|
+
/**
|
|
223
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
224
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
225
|
+
* @returns {Promise<Object>} - Success response
|
|
226
|
+
* @name getSupportedLanguages
|
|
227
|
+
* @summary: List App Languages
|
|
228
|
+
* @description: Retrieve available languages and their configurations for the specified application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSupportedLanguages/).
|
|
229
|
+
*/
|
|
230
|
+
getSupportedLanguages({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<any>;
|
|
200
231
|
/**
|
|
201
232
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
202
233
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -206,4 +237,13 @@ declare class Content {
|
|
|
206
237
|
* @description: Lists HTML tags to power additional functionalities within an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getTags/).
|
|
207
238
|
*/
|
|
208
239
|
getTags({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TagsSchema>;
|
|
240
|
+
/**
|
|
241
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
242
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
243
|
+
* @returns {Promise<TranslateUiLabelsPage>} - Success response
|
|
244
|
+
* @name getTranslateUILabels
|
|
245
|
+
* @summary: Get Translate Ui Labels
|
|
246
|
+
* @description: Retrieve Translate Ui Labels with filtering options for type, template, and locale settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getTranslateUILabels/).
|
|
247
|
+
*/
|
|
248
|
+
getTranslateUILabels({ template, templateThemeId, themeId, locale, type, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TranslateUiLabelsPage>;
|
|
209
249
|
}
|