@gofynd/fdk-client-javascript 1.0.0 → 1.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/documentation/application/CATALOG.md +371 -371
- package/documentation/application/ORDER.md +272 -272
- package/documentation/application/PAYMENT.md +269 -269
- package/documentation/platform/CATALOG.md +1678 -1664
- package/documentation/platform/COMPANYPROFILE.md +201 -201
- package/documentation/platform/ORDER.md +1442 -1323
- package/documentation/platform/PAYMENT.md +88 -88
- package/index.js +7 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +302 -0
- package/sdk/application/Cart/CartApplicationValidator.js +1 -0
- package/sdk/application/Catalog/CatalogApplicationClient.js +378 -0
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +17 -17
- package/sdk/application/Catalog/CatalogApplicationModel.js +500 -500
- package/sdk/application/Catalog/CatalogApplicationValidator.js +1 -0
- package/sdk/application/Common/CommonApplicationClient.js +22 -0
- package/sdk/application/Common/CommonApplicationValidator.js +1 -0
- package/sdk/application/Communication/CommunicationApplicationClient.js +41 -0
- package/sdk/application/Communication/CommunicationApplicationValidator.js +1 -0
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +200 -0
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +1 -0
- package/sdk/application/Content/ContentApplicationClient.js +215 -0
- package/sdk/application/Content/ContentApplicationValidator.js +1 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +33 -0
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +1 -0
- package/sdk/application/Lead/LeadApplicationClient.js +81 -0
- package/sdk/application/Lead/LeadApplicationValidator.js +1 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +44 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.js +1 -0
- package/sdk/application/Order/OrderApplicationClient.js +146 -0
- package/sdk/application/Order/OrderApplicationModel.d.ts +20 -20
- package/sdk/application/Order/OrderApplicationModel.js +329 -329
- package/sdk/application/Order/OrderApplicationValidator.js +1 -0
- package/sdk/application/Payment/PaymentApplicationClient.js +528 -0
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationModel.js +391 -391
- package/sdk/application/Payment/PaymentApplicationValidator.js +1 -0
- package/sdk/application/PosCart/PosCartApplicationClient.js +329 -0
- package/sdk/application/PosCart/PosCartApplicationValidator.js +1 -0
- package/sdk/application/Rewards/RewardsApplicationClient.js +81 -0
- package/sdk/application/Rewards/RewardsApplicationValidator.js +1 -0
- package/sdk/application/Share/ShareApplicationClient.js +87 -0
- package/sdk/application/Share/ShareApplicationValidator.js +1 -0
- package/sdk/application/Theme/ThemeApplicationClient.js +44 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +1 -0
- package/sdk/application/User/UserApplicationClient.js +405 -0
- package/sdk/application/User/UserApplicationValidator.js +1 -0
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +114 -0
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +58 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +46 -0
- package/sdk/platform/Billing/BillingPlatformClient.js +160 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +246 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +29 -29
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +839 -48
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +3 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +9 -9
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +54 -54
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1149 -96
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +58 -57
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1626 -1614
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +6 -6
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +20 -20
- package/sdk/platform/Common/CommonPlatformClient.js +26 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +587 -0
- package/sdk/platform/Communication/CommunicationPlatformClient.js +15 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +179 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +11 -11
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +269 -269
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +382 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +282 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +866 -0
- package/sdk/platform/Discount/DiscountPlatformClient.js +152 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +54 -0
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +76 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.js +161 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +162 -0
- package/sdk/platform/Lead/LeadPlatformClient.js +140 -0
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +55 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +15 -6
- package/sdk/platform/Order/OrderPlatformClient.js +674 -15
- package/sdk/platform/Order/OrderPlatformModel.d.ts +67 -60
- package/sdk/platform/Order/OrderPlatformModel.js +1559 -1623
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +10 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +26 -0
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +165 -0
- package/sdk/platform/Payment/PaymentPlatformClient.js +139 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +137 -137
- package/sdk/platform/PlatformApplicationClient.d.ts +2217 -2243
- package/sdk/platform/PlatformApplicationClient.js +2514 -2524
- package/sdk/platform/PlatformClient.d.ts +2217 -2243
- package/sdk/platform/PlatformClient.js +2514 -2524
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +169 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.js +53 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +293 -0
- package/sdk/platform/User/UserPlatformApplicationClient.js +145 -0
- package/sdk/platform/Webhook/WebhookPlatformClient.js +90 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.js +25 -0
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +3 -1
- package/sdk/public/Inventory/InventoryPublicClient.js +75 -0
- package/sdk/public/Inventory/InventoryPublicValidator.js +3 -1
- package/sdk/public/Webhook/WebhookPublicClient.js +29 -0
- package/sdk/public/Webhook/WebhookPublicValidator.js +3 -1
|
@@ -12,16 +12,14 @@ class Catalog {
|
|
|
12
12
|
/**
|
|
13
13
|
* @param {Object} arg - Arg object.
|
|
14
14
|
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
15
|
-
* detail. Pass the `id` of the keywords which you want to
|
|
16
|
-
* @
|
|
17
|
-
* @
|
|
18
|
-
* @description: Update Search Keyword by its id. On successful request, returns the updated collection
|
|
15
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
16
|
+
* @summary: Get a Search Keywords Details
|
|
17
|
+
* @description: Get the details of a words by its `id`. If successful, returns a Collection resource in the response body specified in `GetSearchWordsDetailResponseSchema`
|
|
19
18
|
*/
|
|
20
|
-
|
|
21
|
-
const { error } = CatalogValidator.
|
|
19
|
+
getSearchKeywords({ id } = {}) {
|
|
20
|
+
const { error } = CatalogValidator.getSearchKeywords().validate(
|
|
22
21
|
{
|
|
23
22
|
id,
|
|
24
|
-
body,
|
|
25
23
|
},
|
|
26
24
|
{ abortEarly: false, allowUnknown: true }
|
|
27
25
|
);
|
|
@@ -29,28 +27,42 @@ class Catalog {
|
|
|
29
27
|
return Promise.reject(new FDKClientValidationError(error));
|
|
30
28
|
}
|
|
31
29
|
|
|
30
|
+
// Showing warrnings if extra unknown parameters are found
|
|
31
|
+
const { error: warrning } = CatalogValidator.getSearchKeywords().validate(
|
|
32
|
+
{
|
|
33
|
+
id,
|
|
34
|
+
},
|
|
35
|
+
{ abortEarly: false, allowUnknown: false }
|
|
36
|
+
);
|
|
37
|
+
if (warrning) {
|
|
38
|
+
console.log("Parameter Validation warrnings for getSearchKeywords");
|
|
39
|
+
console.log(warrning);
|
|
40
|
+
}
|
|
41
|
+
|
|
32
42
|
const query_params = {};
|
|
33
43
|
|
|
34
44
|
return PlatformAPIClient.execute(
|
|
35
45
|
this.config,
|
|
36
|
-
"
|
|
46
|
+
"get",
|
|
37
47
|
`/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/search/keyword/${id}/`,
|
|
38
48
|
query_params,
|
|
39
|
-
|
|
49
|
+
undefined
|
|
40
50
|
);
|
|
41
51
|
}
|
|
42
52
|
|
|
43
53
|
/**
|
|
44
54
|
* @param {Object} arg - Arg object.
|
|
45
55
|
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
46
|
-
* detail. Pass the `id` of the keywords which you want to
|
|
47
|
-
* @
|
|
48
|
-
* @
|
|
56
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
57
|
+
* @param {CreateSearchKeyword} arg.body
|
|
58
|
+
* @summary: Update Search Keyword
|
|
59
|
+
* @description: Update Search Keyword by its id. On successful request, returns the updated collection
|
|
49
60
|
*/
|
|
50
|
-
|
|
51
|
-
const { error } = CatalogValidator.
|
|
61
|
+
updateSearchKeywords({ id, body } = {}) {
|
|
62
|
+
const { error } = CatalogValidator.updateSearchKeywords().validate(
|
|
52
63
|
{
|
|
53
64
|
id,
|
|
65
|
+
body,
|
|
54
66
|
},
|
|
55
67
|
{ abortEarly: false, allowUnknown: true }
|
|
56
68
|
);
|
|
@@ -58,14 +70,29 @@ class Catalog {
|
|
|
58
70
|
return Promise.reject(new FDKClientValidationError(error));
|
|
59
71
|
}
|
|
60
72
|
|
|
73
|
+
// Showing warrnings if extra unknown parameters are found
|
|
74
|
+
const {
|
|
75
|
+
error: warrning,
|
|
76
|
+
} = CatalogValidator.updateSearchKeywords().validate(
|
|
77
|
+
{
|
|
78
|
+
id,
|
|
79
|
+
body,
|
|
80
|
+
},
|
|
81
|
+
{ abortEarly: false, allowUnknown: false }
|
|
82
|
+
);
|
|
83
|
+
if (warrning) {
|
|
84
|
+
console.log("Parameter Validation warrnings for updateSearchKeywords");
|
|
85
|
+
console.log(warrning);
|
|
86
|
+
}
|
|
87
|
+
|
|
61
88
|
const query_params = {};
|
|
62
89
|
|
|
63
90
|
return PlatformAPIClient.execute(
|
|
64
91
|
this.config,
|
|
65
|
-
"
|
|
92
|
+
"put",
|
|
66
93
|
`/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/search/keyword/${id}/`,
|
|
67
94
|
query_params,
|
|
68
|
-
|
|
95
|
+
body
|
|
69
96
|
);
|
|
70
97
|
}
|
|
71
98
|
|
|
@@ -87,6 +114,20 @@ class Catalog {
|
|
|
87
114
|
return Promise.reject(new FDKClientValidationError(error));
|
|
88
115
|
}
|
|
89
116
|
|
|
117
|
+
// Showing warrnings if extra unknown parameters are found
|
|
118
|
+
const {
|
|
119
|
+
error: warrning,
|
|
120
|
+
} = CatalogValidator.deleteSearchKeywords().validate(
|
|
121
|
+
{
|
|
122
|
+
id,
|
|
123
|
+
},
|
|
124
|
+
{ abortEarly: false, allowUnknown: false }
|
|
125
|
+
);
|
|
126
|
+
if (warrning) {
|
|
127
|
+
console.log("Parameter Validation warrnings for deleteSearchKeywords");
|
|
128
|
+
console.log(warrning);
|
|
129
|
+
}
|
|
130
|
+
|
|
90
131
|
const query_params = {};
|
|
91
132
|
|
|
92
133
|
return PlatformAPIClient.execute(
|
|
@@ -112,6 +153,16 @@ class Catalog {
|
|
|
112
153
|
return Promise.reject(new FDKClientValidationError(error));
|
|
113
154
|
}
|
|
114
155
|
|
|
156
|
+
// Showing warrnings if extra unknown parameters are found
|
|
157
|
+
const { error: warrning } = CatalogValidator.getAllSearchKeyword().validate(
|
|
158
|
+
{},
|
|
159
|
+
{ abortEarly: false, allowUnknown: false }
|
|
160
|
+
);
|
|
161
|
+
if (warrning) {
|
|
162
|
+
console.log("Parameter Validation warrnings for getAllSearchKeyword");
|
|
163
|
+
console.log(warrning);
|
|
164
|
+
}
|
|
165
|
+
|
|
115
166
|
const query_params = {};
|
|
116
167
|
|
|
117
168
|
return PlatformAPIClient.execute(
|
|
@@ -140,6 +191,18 @@ class Catalog {
|
|
|
140
191
|
return Promise.reject(new FDKClientValidationError(error));
|
|
141
192
|
}
|
|
142
193
|
|
|
194
|
+
// Showing warrnings if extra unknown parameters are found
|
|
195
|
+
const { error: warrning } = CatalogValidator.createCustomKeyword().validate(
|
|
196
|
+
{
|
|
197
|
+
body,
|
|
198
|
+
},
|
|
199
|
+
{ abortEarly: false, allowUnknown: false }
|
|
200
|
+
);
|
|
201
|
+
if (warrning) {
|
|
202
|
+
console.log("Parameter Validation warrnings for createCustomKeyword");
|
|
203
|
+
console.log(warrning);
|
|
204
|
+
}
|
|
205
|
+
|
|
143
206
|
const query_params = {};
|
|
144
207
|
|
|
145
208
|
return PlatformAPIClient.execute(
|
|
@@ -154,16 +217,14 @@ class Catalog {
|
|
|
154
217
|
/**
|
|
155
218
|
* @param {Object} arg - Arg object.
|
|
156
219
|
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
157
|
-
* detail. Pass the `id` of the keywords which you want to
|
|
158
|
-
* @
|
|
159
|
-
* @
|
|
160
|
-
* @description: Update a mapping by it's id. On successful request, returns the updated Keyword mapping
|
|
220
|
+
* detail. Pass the `id` of the keywords which you want to retrieve.
|
|
221
|
+
* @summary: Get a Autocomplete Keywords Details
|
|
222
|
+
* @description: Get the details of a words by its `id`. If successful, returns a keywords resource in the response body specified in `GetAutocompleteWordsResponseSchema`
|
|
161
223
|
*/
|
|
162
|
-
|
|
163
|
-
const { error } = CatalogValidator.
|
|
224
|
+
getAutocompleteKeywordDetail({ id } = {}) {
|
|
225
|
+
const { error } = CatalogValidator.getAutocompleteKeywordDetail().validate(
|
|
164
226
|
{
|
|
165
227
|
id,
|
|
166
|
-
body,
|
|
167
228
|
},
|
|
168
229
|
{ abortEarly: false, allowUnknown: true }
|
|
169
230
|
);
|
|
@@ -171,28 +232,46 @@ class Catalog {
|
|
|
171
232
|
return Promise.reject(new FDKClientValidationError(error));
|
|
172
233
|
}
|
|
173
234
|
|
|
235
|
+
// Showing warrnings if extra unknown parameters are found
|
|
236
|
+
const {
|
|
237
|
+
error: warrning,
|
|
238
|
+
} = CatalogValidator.getAutocompleteKeywordDetail().validate(
|
|
239
|
+
{
|
|
240
|
+
id,
|
|
241
|
+
},
|
|
242
|
+
{ abortEarly: false, allowUnknown: false }
|
|
243
|
+
);
|
|
244
|
+
if (warrning) {
|
|
245
|
+
console.log(
|
|
246
|
+
"Parameter Validation warrnings for getAutocompleteKeywordDetail"
|
|
247
|
+
);
|
|
248
|
+
console.log(warrning);
|
|
249
|
+
}
|
|
250
|
+
|
|
174
251
|
const query_params = {};
|
|
175
252
|
|
|
176
253
|
return PlatformAPIClient.execute(
|
|
177
254
|
this.config,
|
|
178
|
-
"
|
|
255
|
+
"get",
|
|
179
256
|
`/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/search/autocomplete/${id}/`,
|
|
180
257
|
query_params,
|
|
181
|
-
|
|
258
|
+
undefined
|
|
182
259
|
);
|
|
183
260
|
}
|
|
184
261
|
|
|
185
262
|
/**
|
|
186
263
|
* @param {Object} arg - Arg object.
|
|
187
264
|
* @param {string} arg.id - A `id` is a unique identifier for a particular
|
|
188
|
-
* detail. Pass the `id` of the keywords which you want to
|
|
189
|
-
* @
|
|
190
|
-
* @
|
|
265
|
+
* detail. Pass the `id` of the keywords which you want to delete.
|
|
266
|
+
* @param {CreateAutocompleteKeyword} arg.body
|
|
267
|
+
* @summary: Create & Update Autocomplete Keyword
|
|
268
|
+
* @description: Update a mapping by it's id. On successful request, returns the updated Keyword mapping
|
|
191
269
|
*/
|
|
192
|
-
|
|
193
|
-
const { error } = CatalogValidator.
|
|
270
|
+
updateAutocompleteKeyword({ id, body } = {}) {
|
|
271
|
+
const { error } = CatalogValidator.updateAutocompleteKeyword().validate(
|
|
194
272
|
{
|
|
195
273
|
id,
|
|
274
|
+
body,
|
|
196
275
|
},
|
|
197
276
|
{ abortEarly: false, allowUnknown: true }
|
|
198
277
|
);
|
|
@@ -200,14 +279,31 @@ class Catalog {
|
|
|
200
279
|
return Promise.reject(new FDKClientValidationError(error));
|
|
201
280
|
}
|
|
202
281
|
|
|
282
|
+
// Showing warrnings if extra unknown parameters are found
|
|
283
|
+
const {
|
|
284
|
+
error: warrning,
|
|
285
|
+
} = CatalogValidator.updateAutocompleteKeyword().validate(
|
|
286
|
+
{
|
|
287
|
+
id,
|
|
288
|
+
body,
|
|
289
|
+
},
|
|
290
|
+
{ abortEarly: false, allowUnknown: false }
|
|
291
|
+
);
|
|
292
|
+
if (warrning) {
|
|
293
|
+
console.log(
|
|
294
|
+
"Parameter Validation warrnings for updateAutocompleteKeyword"
|
|
295
|
+
);
|
|
296
|
+
console.log(warrning);
|
|
297
|
+
}
|
|
298
|
+
|
|
203
299
|
const query_params = {};
|
|
204
300
|
|
|
205
301
|
return PlatformAPIClient.execute(
|
|
206
302
|
this.config,
|
|
207
|
-
"
|
|
303
|
+
"put",
|
|
208
304
|
`/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/search/autocomplete/${id}/`,
|
|
209
305
|
query_params,
|
|
210
|
-
|
|
306
|
+
body
|
|
211
307
|
);
|
|
212
308
|
}
|
|
213
309
|
|
|
@@ -229,6 +325,22 @@ class Catalog {
|
|
|
229
325
|
return Promise.reject(new FDKClientValidationError(error));
|
|
230
326
|
}
|
|
231
327
|
|
|
328
|
+
// Showing warrnings if extra unknown parameters are found
|
|
329
|
+
const {
|
|
330
|
+
error: warrning,
|
|
331
|
+
} = CatalogValidator.deleteAutocompleteKeyword().validate(
|
|
332
|
+
{
|
|
333
|
+
id,
|
|
334
|
+
},
|
|
335
|
+
{ abortEarly: false, allowUnknown: false }
|
|
336
|
+
);
|
|
337
|
+
if (warrning) {
|
|
338
|
+
console.log(
|
|
339
|
+
"Parameter Validation warrnings for deleteAutocompleteKeyword"
|
|
340
|
+
);
|
|
341
|
+
console.log(warrning);
|
|
342
|
+
}
|
|
343
|
+
|
|
232
344
|
const query_params = {};
|
|
233
345
|
|
|
234
346
|
return PlatformAPIClient.execute(
|
|
@@ -254,6 +366,18 @@ class Catalog {
|
|
|
254
366
|
return Promise.reject(new FDKClientValidationError(error));
|
|
255
367
|
}
|
|
256
368
|
|
|
369
|
+
// Showing warrnings if extra unknown parameters are found
|
|
370
|
+
const {
|
|
371
|
+
error: warrning,
|
|
372
|
+
} = CatalogValidator.getAutocompleteConfig().validate(
|
|
373
|
+
{},
|
|
374
|
+
{ abortEarly: false, allowUnknown: false }
|
|
375
|
+
);
|
|
376
|
+
if (warrning) {
|
|
377
|
+
console.log("Parameter Validation warrnings for getAutocompleteConfig");
|
|
378
|
+
console.log(warrning);
|
|
379
|
+
}
|
|
380
|
+
|
|
257
381
|
const query_params = {};
|
|
258
382
|
|
|
259
383
|
return PlatformAPIClient.execute(
|
|
@@ -282,6 +406,22 @@ class Catalog {
|
|
|
282
406
|
return Promise.reject(new FDKClientValidationError(error));
|
|
283
407
|
}
|
|
284
408
|
|
|
409
|
+
// Showing warrnings if extra unknown parameters are found
|
|
410
|
+
const {
|
|
411
|
+
error: warrning,
|
|
412
|
+
} = CatalogValidator.createCustomAutocompleteRule().validate(
|
|
413
|
+
{
|
|
414
|
+
body,
|
|
415
|
+
},
|
|
416
|
+
{ abortEarly: false, allowUnknown: false }
|
|
417
|
+
);
|
|
418
|
+
if (warrning) {
|
|
419
|
+
console.log(
|
|
420
|
+
"Parameter Validation warrnings for createCustomAutocompleteRule"
|
|
421
|
+
);
|
|
422
|
+
console.log(warrning);
|
|
423
|
+
}
|
|
424
|
+
|
|
285
425
|
const query_params = {};
|
|
286
426
|
|
|
287
427
|
return PlatformAPIClient.execute(
|
|
@@ -295,16 +435,14 @@ class Catalog {
|
|
|
295
435
|
|
|
296
436
|
/**
|
|
297
437
|
* @param {Object} arg - Arg object.
|
|
298
|
-
* @param {string} arg.itemId - Product id for
|
|
299
|
-
* @
|
|
300
|
-
* @
|
|
301
|
-
* @description: This API helps to update data associated to a item custom meta.
|
|
438
|
+
* @param {string} arg.itemId - Product id for a particular product.
|
|
439
|
+
* @summary: Get company application product data.
|
|
440
|
+
* @description: Products are the core resource of an application. If successful, returns a Company Application Product resource in the response body depending upon filter sent.
|
|
302
441
|
*/
|
|
303
|
-
|
|
304
|
-
const { error } = CatalogValidator.
|
|
442
|
+
getAppProduct({ itemId } = {}) {
|
|
443
|
+
const { error } = CatalogValidator.getAppProduct().validate(
|
|
305
444
|
{
|
|
306
445
|
itemId,
|
|
307
|
-
body,
|
|
308
446
|
},
|
|
309
447
|
{ abortEarly: false, allowUnknown: true }
|
|
310
448
|
);
|
|
@@ -312,27 +450,41 @@ class Catalog {
|
|
|
312
450
|
return Promise.reject(new FDKClientValidationError(error));
|
|
313
451
|
}
|
|
314
452
|
|
|
453
|
+
// Showing warrnings if extra unknown parameters are found
|
|
454
|
+
const { error: warrning } = CatalogValidator.getAppProduct().validate(
|
|
455
|
+
{
|
|
456
|
+
itemId,
|
|
457
|
+
},
|
|
458
|
+
{ abortEarly: false, allowUnknown: false }
|
|
459
|
+
);
|
|
460
|
+
if (warrning) {
|
|
461
|
+
console.log("Parameter Validation warrnings for getAppProduct");
|
|
462
|
+
console.log(warrning);
|
|
463
|
+
}
|
|
464
|
+
|
|
315
465
|
const query_params = {};
|
|
316
466
|
|
|
317
467
|
return PlatformAPIClient.execute(
|
|
318
468
|
this.config,
|
|
319
|
-
"
|
|
469
|
+
"get",
|
|
320
470
|
`/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/product/${itemId}/`,
|
|
321
471
|
query_params,
|
|
322
|
-
|
|
472
|
+
undefined
|
|
323
473
|
);
|
|
324
474
|
}
|
|
325
475
|
|
|
326
476
|
/**
|
|
327
477
|
* @param {Object} arg - Arg object.
|
|
328
|
-
* @param {string} arg.itemId - Product id for
|
|
329
|
-
* @
|
|
330
|
-
* @
|
|
478
|
+
* @param {string} arg.itemId - Product id for which the custom_meta is associated.
|
|
479
|
+
* @param {ApplicationItemMeta} arg.body
|
|
480
|
+
* @summary: Update a single custom meta.
|
|
481
|
+
* @description: This API helps to update data associated to a item custom meta.
|
|
331
482
|
*/
|
|
332
|
-
|
|
333
|
-
const { error } = CatalogValidator.
|
|
483
|
+
updateAppProduct({ itemId, body } = {}) {
|
|
484
|
+
const { error } = CatalogValidator.updateAppProduct().validate(
|
|
334
485
|
{
|
|
335
486
|
itemId,
|
|
487
|
+
body,
|
|
336
488
|
},
|
|
337
489
|
{ abortEarly: false, allowUnknown: true }
|
|
338
490
|
);
|
|
@@ -340,14 +492,27 @@ class Catalog {
|
|
|
340
492
|
return Promise.reject(new FDKClientValidationError(error));
|
|
341
493
|
}
|
|
342
494
|
|
|
495
|
+
// Showing warrnings if extra unknown parameters are found
|
|
496
|
+
const { error: warrning } = CatalogValidator.updateAppProduct().validate(
|
|
497
|
+
{
|
|
498
|
+
itemId,
|
|
499
|
+
body,
|
|
500
|
+
},
|
|
501
|
+
{ abortEarly: false, allowUnknown: false }
|
|
502
|
+
);
|
|
503
|
+
if (warrning) {
|
|
504
|
+
console.log("Parameter Validation warrnings for updateAppProduct");
|
|
505
|
+
console.log(warrning);
|
|
506
|
+
}
|
|
507
|
+
|
|
343
508
|
const query_params = {};
|
|
344
509
|
|
|
345
510
|
return PlatformAPIClient.execute(
|
|
346
511
|
this.config,
|
|
347
|
-
"
|
|
512
|
+
"patch",
|
|
348
513
|
`/service/platform/catalog/v1.0/company/${this.config.companyId}/application/${this.applicationId}/product/${itemId}/`,
|
|
349
514
|
query_params,
|
|
350
|
-
|
|
515
|
+
body
|
|
351
516
|
);
|
|
352
517
|
}
|
|
353
518
|
|
|
@@ -372,6 +537,23 @@ class Catalog {
|
|
|
372
537
|
return Promise.reject(new FDKClientValidationError(error));
|
|
373
538
|
}
|
|
374
539
|
|
|
540
|
+
// Showing warrnings if extra unknown parameters are found
|
|
541
|
+
const {
|
|
542
|
+
error: warrning,
|
|
543
|
+
} = CatalogValidator.getConfigurationMetadata().validate(
|
|
544
|
+
{
|
|
545
|
+
configType,
|
|
546
|
+
templateSlug,
|
|
547
|
+
},
|
|
548
|
+
{ abortEarly: false, allowUnknown: false }
|
|
549
|
+
);
|
|
550
|
+
if (warrning) {
|
|
551
|
+
console.log(
|
|
552
|
+
"Parameter Validation warrnings for getConfigurationMetadata"
|
|
553
|
+
);
|
|
554
|
+
console.log(warrning);
|
|
555
|
+
}
|
|
556
|
+
|
|
375
557
|
const query_params = {};
|
|
376
558
|
query_params["template_slug"] = templateSlug;
|
|
377
559
|
|
|
@@ -419,6 +601,24 @@ class Catalog {
|
|
|
419
601
|
return Promise.reject(new FDKClientValidationError(error));
|
|
420
602
|
}
|
|
421
603
|
|
|
604
|
+
// Showing warrnings if extra unknown parameters are found
|
|
605
|
+
const {
|
|
606
|
+
error: warrning,
|
|
607
|
+
} = CatalogValidator.getGroupConfigurations().validate(
|
|
608
|
+
{
|
|
609
|
+
configType,
|
|
610
|
+
pageNo,
|
|
611
|
+
pageSize,
|
|
612
|
+
search,
|
|
613
|
+
templateSlug,
|
|
614
|
+
},
|
|
615
|
+
{ abortEarly: false, allowUnknown: false }
|
|
616
|
+
);
|
|
617
|
+
if (warrning) {
|
|
618
|
+
console.log("Parameter Validation warrnings for getGroupConfigurations");
|
|
619
|
+
console.log(warrning);
|
|
620
|
+
}
|
|
621
|
+
|
|
422
622
|
const query_params = {};
|
|
423
623
|
query_params["page_no"] = pageNo;
|
|
424
624
|
query_params["page_size"] = pageSize;
|
|
@@ -454,6 +654,23 @@ class Catalog {
|
|
|
454
654
|
return Promise.reject(new FDKClientValidationError(error));
|
|
455
655
|
}
|
|
456
656
|
|
|
657
|
+
// Showing warrnings if extra unknown parameters are found
|
|
658
|
+
const {
|
|
659
|
+
error: warrning,
|
|
660
|
+
} = CatalogValidator.createGroupConfiguration().validate(
|
|
661
|
+
{
|
|
662
|
+
configType,
|
|
663
|
+
body,
|
|
664
|
+
},
|
|
665
|
+
{ abortEarly: false, allowUnknown: false }
|
|
666
|
+
);
|
|
667
|
+
if (warrning) {
|
|
668
|
+
console.log(
|
|
669
|
+
"Parameter Validation warrnings for createGroupConfiguration"
|
|
670
|
+
);
|
|
671
|
+
console.log(warrning);
|
|
672
|
+
}
|
|
673
|
+
|
|
457
674
|
const query_params = {};
|
|
458
675
|
|
|
459
676
|
return PlatformAPIClient.execute(
|
|
@@ -488,6 +705,24 @@ class Catalog {
|
|
|
488
705
|
return Promise.reject(new FDKClientValidationError(error));
|
|
489
706
|
}
|
|
490
707
|
|
|
708
|
+
// Showing warrnings if extra unknown parameters are found
|
|
709
|
+
const {
|
|
710
|
+
error: warrning,
|
|
711
|
+
} = CatalogValidator.updateGroupConfiguration().validate(
|
|
712
|
+
{
|
|
713
|
+
configType,
|
|
714
|
+
groupSlug,
|
|
715
|
+
body,
|
|
716
|
+
},
|
|
717
|
+
{ abortEarly: false, allowUnknown: false }
|
|
718
|
+
);
|
|
719
|
+
if (warrning) {
|
|
720
|
+
console.log(
|
|
721
|
+
"Parameter Validation warrnings for updateGroupConfiguration"
|
|
722
|
+
);
|
|
723
|
+
console.log(warrning);
|
|
724
|
+
}
|
|
725
|
+
|
|
491
726
|
const query_params = {};
|
|
492
727
|
|
|
493
728
|
return PlatformAPIClient.execute(
|
|
@@ -520,6 +755,23 @@ class Catalog {
|
|
|
520
755
|
return Promise.reject(new FDKClientValidationError(error));
|
|
521
756
|
}
|
|
522
757
|
|
|
758
|
+
// Showing warrnings if extra unknown parameters are found
|
|
759
|
+
const {
|
|
760
|
+
error: warrning,
|
|
761
|
+
} = CatalogValidator.deleteGroupConfiguration().validate(
|
|
762
|
+
{
|
|
763
|
+
configType,
|
|
764
|
+
groupSlug,
|
|
765
|
+
},
|
|
766
|
+
{ abortEarly: false, allowUnknown: false }
|
|
767
|
+
);
|
|
768
|
+
if (warrning) {
|
|
769
|
+
console.log(
|
|
770
|
+
"Parameter Validation warrnings for deleteGroupConfiguration"
|
|
771
|
+
);
|
|
772
|
+
console.log(warrning);
|
|
773
|
+
}
|
|
774
|
+
|
|
523
775
|
const query_params = {};
|
|
524
776
|
|
|
525
777
|
return PlatformAPIClient.execute(
|
|
@@ -557,6 +809,25 @@ class Catalog {
|
|
|
557
809
|
return Promise.reject(new FDKClientValidationError(error));
|
|
558
810
|
}
|
|
559
811
|
|
|
812
|
+
// Showing warrnings if extra unknown parameters are found
|
|
813
|
+
const {
|
|
814
|
+
error: warrning,
|
|
815
|
+
} = CatalogValidator.getListingConfigurations().validate(
|
|
816
|
+
{
|
|
817
|
+
configType,
|
|
818
|
+
pageNo,
|
|
819
|
+
pageSize,
|
|
820
|
+
search,
|
|
821
|
+
},
|
|
822
|
+
{ abortEarly: false, allowUnknown: false }
|
|
823
|
+
);
|
|
824
|
+
if (warrning) {
|
|
825
|
+
console.log(
|
|
826
|
+
"Parameter Validation warrnings for getListingConfigurations"
|
|
827
|
+
);
|
|
828
|
+
console.log(warrning);
|
|
829
|
+
}
|
|
830
|
+
|
|
560
831
|
const query_params = {};
|
|
561
832
|
query_params["page_no"] = pageNo;
|
|
562
833
|
query_params["page_size"] = pageSize;
|
|
@@ -591,6 +862,23 @@ class Catalog {
|
|
|
591
862
|
return Promise.reject(new FDKClientValidationError(error));
|
|
592
863
|
}
|
|
593
864
|
|
|
865
|
+
// Showing warrnings if extra unknown parameters are found
|
|
866
|
+
const {
|
|
867
|
+
error: warrning,
|
|
868
|
+
} = CatalogValidator.createListingConfiguration().validate(
|
|
869
|
+
{
|
|
870
|
+
configType,
|
|
871
|
+
body,
|
|
872
|
+
},
|
|
873
|
+
{ abortEarly: false, allowUnknown: false }
|
|
874
|
+
);
|
|
875
|
+
if (warrning) {
|
|
876
|
+
console.log(
|
|
877
|
+
"Parameter Validation warrnings for createListingConfiguration"
|
|
878
|
+
);
|
|
879
|
+
console.log(warrning);
|
|
880
|
+
}
|
|
881
|
+
|
|
594
882
|
const query_params = {};
|
|
595
883
|
|
|
596
884
|
return PlatformAPIClient.execute(
|
|
@@ -625,6 +913,24 @@ class Catalog {
|
|
|
625
913
|
return Promise.reject(new FDKClientValidationError(error));
|
|
626
914
|
}
|
|
627
915
|
|
|
916
|
+
// Showing warrnings if extra unknown parameters are found
|
|
917
|
+
const {
|
|
918
|
+
error: warrning,
|
|
919
|
+
} = CatalogValidator.updateListingConfiguration().validate(
|
|
920
|
+
{
|
|
921
|
+
configType,
|
|
922
|
+
configId,
|
|
923
|
+
body,
|
|
924
|
+
},
|
|
925
|
+
{ abortEarly: false, allowUnknown: false }
|
|
926
|
+
);
|
|
927
|
+
if (warrning) {
|
|
928
|
+
console.log(
|
|
929
|
+
"Parameter Validation warrnings for updateListingConfiguration"
|
|
930
|
+
);
|
|
931
|
+
console.log(warrning);
|
|
932
|
+
}
|
|
933
|
+
|
|
628
934
|
const query_params = {};
|
|
629
935
|
|
|
630
936
|
return PlatformAPIClient.execute(
|
|
@@ -657,6 +963,23 @@ class Catalog {
|
|
|
657
963
|
return Promise.reject(new FDKClientValidationError(error));
|
|
658
964
|
}
|
|
659
965
|
|
|
966
|
+
// Showing warrnings if extra unknown parameters are found
|
|
967
|
+
const {
|
|
968
|
+
error: warrning,
|
|
969
|
+
} = CatalogValidator.deleteListingConfiguration().validate(
|
|
970
|
+
{
|
|
971
|
+
configType,
|
|
972
|
+
configId,
|
|
973
|
+
},
|
|
974
|
+
{ abortEarly: false, allowUnknown: false }
|
|
975
|
+
);
|
|
976
|
+
if (warrning) {
|
|
977
|
+
console.log(
|
|
978
|
+
"Parameter Validation warrnings for deleteListingConfiguration"
|
|
979
|
+
);
|
|
980
|
+
console.log(warrning);
|
|
981
|
+
}
|
|
982
|
+
|
|
660
983
|
const query_params = {};
|
|
661
984
|
|
|
662
985
|
return PlatformAPIClient.execute(
|
|
@@ -685,6 +1008,18 @@ class Catalog {
|
|
|
685
1008
|
return Promise.reject(new FDKClientValidationError(error));
|
|
686
1009
|
}
|
|
687
1010
|
|
|
1011
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1012
|
+
const { error: warrning } = CatalogValidator.updateAllowSingle().validate(
|
|
1013
|
+
{
|
|
1014
|
+
body,
|
|
1015
|
+
},
|
|
1016
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1017
|
+
);
|
|
1018
|
+
if (warrning) {
|
|
1019
|
+
console.log("Parameter Validation warrnings for updateAllowSingle");
|
|
1020
|
+
console.log(warrning);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
688
1023
|
const query_params = {};
|
|
689
1024
|
|
|
690
1025
|
return PlatformAPIClient.execute(
|
|
@@ -713,6 +1048,18 @@ class Catalog {
|
|
|
713
1048
|
return Promise.reject(new FDKClientValidationError(error));
|
|
714
1049
|
}
|
|
715
1050
|
|
|
1051
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1052
|
+
const { error: warrning } = CatalogValidator.updateDefaultSort().validate(
|
|
1053
|
+
{
|
|
1054
|
+
body,
|
|
1055
|
+
},
|
|
1056
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1057
|
+
);
|
|
1058
|
+
if (warrning) {
|
|
1059
|
+
console.log("Parameter Validation warrnings for updateDefaultSort");
|
|
1060
|
+
console.log(warrning);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
716
1063
|
const query_params = {};
|
|
717
1064
|
|
|
718
1065
|
return PlatformAPIClient.execute(
|
|
@@ -738,6 +1085,18 @@ class Catalog {
|
|
|
738
1085
|
return Promise.reject(new FDKClientValidationError(error));
|
|
739
1086
|
}
|
|
740
1087
|
|
|
1088
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1089
|
+
const {
|
|
1090
|
+
error: warrning,
|
|
1091
|
+
} = CatalogValidator.getCatalogConfiguration().validate(
|
|
1092
|
+
{},
|
|
1093
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1094
|
+
);
|
|
1095
|
+
if (warrning) {
|
|
1096
|
+
console.log("Parameter Validation warrnings for getCatalogConfiguration");
|
|
1097
|
+
console.log(warrning);
|
|
1098
|
+
}
|
|
1099
|
+
|
|
741
1100
|
const query_params = {};
|
|
742
1101
|
|
|
743
1102
|
return PlatformAPIClient.execute(
|
|
@@ -763,6 +1122,16 @@ class Catalog {
|
|
|
763
1122
|
return Promise.reject(new FDKClientValidationError(error));
|
|
764
1123
|
}
|
|
765
1124
|
|
|
1125
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1126
|
+
const { error: warrning } = CatalogValidator.getConfigurations().validate(
|
|
1127
|
+
{},
|
|
1128
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1129
|
+
);
|
|
1130
|
+
if (warrning) {
|
|
1131
|
+
console.log("Parameter Validation warrnings for getConfigurations");
|
|
1132
|
+
console.log(warrning);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
766
1135
|
const query_params = {};
|
|
767
1136
|
|
|
768
1137
|
return PlatformAPIClient.execute(
|
|
@@ -793,6 +1162,22 @@ class Catalog {
|
|
|
793
1162
|
return Promise.reject(new FDKClientValidationError(error));
|
|
794
1163
|
}
|
|
795
1164
|
|
|
1165
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1166
|
+
const {
|
|
1167
|
+
error: warrning,
|
|
1168
|
+
} = CatalogValidator.createConfigurationProductListing().validate(
|
|
1169
|
+
{
|
|
1170
|
+
body,
|
|
1171
|
+
},
|
|
1172
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1173
|
+
);
|
|
1174
|
+
if (warrning) {
|
|
1175
|
+
console.log(
|
|
1176
|
+
"Parameter Validation warrnings for createConfigurationProductListing"
|
|
1177
|
+
);
|
|
1178
|
+
console.log(warrning);
|
|
1179
|
+
}
|
|
1180
|
+
|
|
796
1181
|
const query_params = {};
|
|
797
1182
|
|
|
798
1183
|
return PlatformAPIClient.execute(
|
|
@@ -821,6 +1206,20 @@ class Catalog {
|
|
|
821
1206
|
return Promise.reject(new FDKClientValidationError(error));
|
|
822
1207
|
}
|
|
823
1208
|
|
|
1209
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1210
|
+
const {
|
|
1211
|
+
error: warrning,
|
|
1212
|
+
} = CatalogValidator.getConfigurationByType().validate(
|
|
1213
|
+
{
|
|
1214
|
+
type,
|
|
1215
|
+
},
|
|
1216
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1217
|
+
);
|
|
1218
|
+
if (warrning) {
|
|
1219
|
+
console.log("Parameter Validation warrnings for getConfigurationByType");
|
|
1220
|
+
console.log(warrning);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
824
1223
|
const query_params = {};
|
|
825
1224
|
|
|
826
1225
|
return PlatformAPIClient.execute(
|
|
@@ -851,6 +1250,23 @@ class Catalog {
|
|
|
851
1250
|
return Promise.reject(new FDKClientValidationError(error));
|
|
852
1251
|
}
|
|
853
1252
|
|
|
1253
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1254
|
+
const {
|
|
1255
|
+
error: warrning,
|
|
1256
|
+
} = CatalogValidator.createConfigurationByType().validate(
|
|
1257
|
+
{
|
|
1258
|
+
type,
|
|
1259
|
+
body,
|
|
1260
|
+
},
|
|
1261
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1262
|
+
);
|
|
1263
|
+
if (warrning) {
|
|
1264
|
+
console.log(
|
|
1265
|
+
"Parameter Validation warrnings for createConfigurationByType"
|
|
1266
|
+
);
|
|
1267
|
+
console.log(warrning);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
854
1270
|
const query_params = {};
|
|
855
1271
|
|
|
856
1272
|
return PlatformAPIClient.execute(
|
|
@@ -876,6 +1292,16 @@ class Catalog {
|
|
|
876
1292
|
return Promise.reject(new FDKClientValidationError(error));
|
|
877
1293
|
}
|
|
878
1294
|
|
|
1295
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1296
|
+
const { error: warrning } = CatalogValidator.getQueryFilters().validate(
|
|
1297
|
+
{},
|
|
1298
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1299
|
+
);
|
|
1300
|
+
if (warrning) {
|
|
1301
|
+
console.log("Parameter Validation warrnings for getQueryFilters");
|
|
1302
|
+
console.log(warrning);
|
|
1303
|
+
}
|
|
1304
|
+
|
|
879
1305
|
const query_params = {};
|
|
880
1306
|
|
|
881
1307
|
return PlatformAPIClient.execute(
|
|
@@ -928,6 +1354,24 @@ class Catalog {
|
|
|
928
1354
|
return Promise.reject(new FDKClientValidationError(error));
|
|
929
1355
|
}
|
|
930
1356
|
|
|
1357
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1358
|
+
const { error: warrning } = CatalogValidator.getAllCollections().validate(
|
|
1359
|
+
{
|
|
1360
|
+
q,
|
|
1361
|
+
scheduleStatus,
|
|
1362
|
+
type,
|
|
1363
|
+
tags,
|
|
1364
|
+
isActive,
|
|
1365
|
+
pageNo,
|
|
1366
|
+
pageSize,
|
|
1367
|
+
},
|
|
1368
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1369
|
+
);
|
|
1370
|
+
if (warrning) {
|
|
1371
|
+
console.log("Parameter Validation warrnings for getAllCollections");
|
|
1372
|
+
console.log(warrning);
|
|
1373
|
+
}
|
|
1374
|
+
|
|
931
1375
|
const query_params = {};
|
|
932
1376
|
query_params["q"] = q;
|
|
933
1377
|
query_params["schedule_status"] = scheduleStatus;
|
|
@@ -963,6 +1407,18 @@ class Catalog {
|
|
|
963
1407
|
return Promise.reject(new FDKClientValidationError(error));
|
|
964
1408
|
}
|
|
965
1409
|
|
|
1410
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1411
|
+
const { error: warrning } = CatalogValidator.createCollection().validate(
|
|
1412
|
+
{
|
|
1413
|
+
body,
|
|
1414
|
+
},
|
|
1415
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1416
|
+
);
|
|
1417
|
+
if (warrning) {
|
|
1418
|
+
console.log("Parameter Validation warrnings for createCollection");
|
|
1419
|
+
console.log(warrning);
|
|
1420
|
+
}
|
|
1421
|
+
|
|
966
1422
|
const query_params = {};
|
|
967
1423
|
|
|
968
1424
|
return PlatformAPIClient.execute(
|
|
@@ -993,6 +1449,18 @@ class Catalog {
|
|
|
993
1449
|
return Promise.reject(new FDKClientValidationError(error));
|
|
994
1450
|
}
|
|
995
1451
|
|
|
1452
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1453
|
+
const { error: warrning } = CatalogValidator.getCollectionDetail().validate(
|
|
1454
|
+
{
|
|
1455
|
+
slug,
|
|
1456
|
+
},
|
|
1457
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1458
|
+
);
|
|
1459
|
+
if (warrning) {
|
|
1460
|
+
console.log("Parameter Validation warrnings for getCollectionDetail");
|
|
1461
|
+
console.log(warrning);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
996
1464
|
const query_params = {};
|
|
997
1465
|
|
|
998
1466
|
return PlatformAPIClient.execute(
|
|
@@ -1023,6 +1491,19 @@ class Catalog {
|
|
|
1023
1491
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1024
1492
|
}
|
|
1025
1493
|
|
|
1494
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1495
|
+
const { error: warrning } = CatalogValidator.updateCollection().validate(
|
|
1496
|
+
{
|
|
1497
|
+
id,
|
|
1498
|
+
body,
|
|
1499
|
+
},
|
|
1500
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1501
|
+
);
|
|
1502
|
+
if (warrning) {
|
|
1503
|
+
console.log("Parameter Validation warrnings for updateCollection");
|
|
1504
|
+
console.log(warrning);
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1026
1507
|
const query_params = {};
|
|
1027
1508
|
|
|
1028
1509
|
return PlatformAPIClient.execute(
|
|
@@ -1051,6 +1532,18 @@ class Catalog {
|
|
|
1051
1532
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1052
1533
|
}
|
|
1053
1534
|
|
|
1535
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1536
|
+
const { error: warrning } = CatalogValidator.deleteCollection().validate(
|
|
1537
|
+
{
|
|
1538
|
+
id,
|
|
1539
|
+
},
|
|
1540
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1541
|
+
);
|
|
1542
|
+
if (warrning) {
|
|
1543
|
+
console.log("Parameter Validation warrnings for deleteCollection");
|
|
1544
|
+
console.log(warrning);
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1054
1547
|
const query_params = {};
|
|
1055
1548
|
|
|
1056
1549
|
return PlatformAPIClient.execute(
|
|
@@ -1088,6 +1581,21 @@ class Catalog {
|
|
|
1088
1581
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1089
1582
|
}
|
|
1090
1583
|
|
|
1584
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1585
|
+
const { error: warrning } = CatalogValidator.getCollectionItems().validate(
|
|
1586
|
+
{
|
|
1587
|
+
id,
|
|
1588
|
+
sortOn,
|
|
1589
|
+
pageId,
|
|
1590
|
+
pageSize,
|
|
1591
|
+
},
|
|
1592
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1593
|
+
);
|
|
1594
|
+
if (warrning) {
|
|
1595
|
+
console.log("Parameter Validation warrnings for getCollectionItems");
|
|
1596
|
+
console.log(warrning);
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1091
1599
|
const query_params = {};
|
|
1092
1600
|
query_params["sort_on"] = sortOn;
|
|
1093
1601
|
query_params["page_id"] = pageId;
|
|
@@ -1121,6 +1629,19 @@ class Catalog {
|
|
|
1121
1629
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1122
1630
|
}
|
|
1123
1631
|
|
|
1632
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1633
|
+
const { error: warrning } = CatalogValidator.addCollectionItems().validate(
|
|
1634
|
+
{
|
|
1635
|
+
id,
|
|
1636
|
+
body,
|
|
1637
|
+
},
|
|
1638
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1639
|
+
);
|
|
1640
|
+
if (warrning) {
|
|
1641
|
+
console.log("Parameter Validation warrnings for addCollectionItems");
|
|
1642
|
+
console.log(warrning);
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1124
1645
|
const query_params = {};
|
|
1125
1646
|
|
|
1126
1647
|
return PlatformAPIClient.execute(
|
|
@@ -1149,6 +1670,18 @@ class Catalog {
|
|
|
1149
1670
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1150
1671
|
}
|
|
1151
1672
|
|
|
1673
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1674
|
+
const { error: warrning } = CatalogValidator.getCatalogInsights().validate(
|
|
1675
|
+
{
|
|
1676
|
+
brand,
|
|
1677
|
+
},
|
|
1678
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1679
|
+
);
|
|
1680
|
+
if (warrning) {
|
|
1681
|
+
console.log("Parameter Validation warrnings for getCatalogInsights");
|
|
1682
|
+
console.log(warrning);
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1152
1685
|
const query_params = {};
|
|
1153
1686
|
query_params["brand"] = brand;
|
|
1154
1687
|
|
|
@@ -1200,6 +1733,27 @@ class Catalog {
|
|
|
1200
1733
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1201
1734
|
}
|
|
1202
1735
|
|
|
1736
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1737
|
+
const {
|
|
1738
|
+
error: warrning,
|
|
1739
|
+
} = CatalogValidator.getDiscountedInventoryBySizeIdentifier().validate(
|
|
1740
|
+
{
|
|
1741
|
+
itemId,
|
|
1742
|
+
sizeIdentifier,
|
|
1743
|
+
pageNo,
|
|
1744
|
+
pageSize,
|
|
1745
|
+
q,
|
|
1746
|
+
locationIds,
|
|
1747
|
+
},
|
|
1748
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1749
|
+
);
|
|
1750
|
+
if (warrning) {
|
|
1751
|
+
console.log(
|
|
1752
|
+
"Parameter Validation warrnings for getDiscountedInventoryBySizeIdentifier"
|
|
1753
|
+
);
|
|
1754
|
+
console.log(warrning);
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1203
1757
|
const query_params = {};
|
|
1204
1758
|
query_params["page_no"] = pageNo;
|
|
1205
1759
|
query_params["page_size"] = pageSize;
|
|
@@ -1247,6 +1801,24 @@ class Catalog {
|
|
|
1247
1801
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1248
1802
|
}
|
|
1249
1803
|
|
|
1804
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1805
|
+
const {
|
|
1806
|
+
error: warrning,
|
|
1807
|
+
} = CatalogValidator.getApplicationBrands().validate(
|
|
1808
|
+
{
|
|
1809
|
+
department,
|
|
1810
|
+
pageNo,
|
|
1811
|
+
pageSize,
|
|
1812
|
+
q,
|
|
1813
|
+
brandId,
|
|
1814
|
+
},
|
|
1815
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1816
|
+
);
|
|
1817
|
+
if (warrning) {
|
|
1818
|
+
console.log("Parameter Validation warrnings for getApplicationBrands");
|
|
1819
|
+
console.log(warrning);
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1250
1822
|
const query_params = {};
|
|
1251
1823
|
query_params["department"] = department;
|
|
1252
1824
|
query_params["page_no"] = pageNo;
|
|
@@ -1328,6 +1900,16 @@ class Catalog {
|
|
|
1328
1900
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1329
1901
|
}
|
|
1330
1902
|
|
|
1903
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1904
|
+
const { error: warrning } = CatalogValidator.getDepartments().validate(
|
|
1905
|
+
{},
|
|
1906
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1907
|
+
);
|
|
1908
|
+
if (warrning) {
|
|
1909
|
+
console.log("Parameter Validation warrnings for getDepartments");
|
|
1910
|
+
console.log(warrning);
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1331
1913
|
const query_params = {};
|
|
1332
1914
|
|
|
1333
1915
|
return PlatformAPIClient.execute(
|
|
@@ -1359,6 +1941,18 @@ class Catalog {
|
|
|
1359
1941
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1360
1942
|
}
|
|
1361
1943
|
|
|
1944
|
+
// Showing warrnings if extra unknown parameters are found
|
|
1945
|
+
const { error: warrning } = CatalogValidator.getCategories().validate(
|
|
1946
|
+
{
|
|
1947
|
+
department,
|
|
1948
|
+
},
|
|
1949
|
+
{ abortEarly: false, allowUnknown: false }
|
|
1950
|
+
);
|
|
1951
|
+
if (warrning) {
|
|
1952
|
+
console.log("Parameter Validation warrnings for getCategories");
|
|
1953
|
+
console.log(warrning);
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1362
1956
|
const query_params = {};
|
|
1363
1957
|
query_params["department"] = department;
|
|
1364
1958
|
|
|
@@ -1431,6 +2025,29 @@ class Catalog {
|
|
|
1431
2025
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1432
2026
|
}
|
|
1433
2027
|
|
|
2028
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2029
|
+
const {
|
|
2030
|
+
error: warrning,
|
|
2031
|
+
} = CatalogValidator.getAppicationProducts().validate(
|
|
2032
|
+
{
|
|
2033
|
+
q,
|
|
2034
|
+
f,
|
|
2035
|
+
c,
|
|
2036
|
+
filters,
|
|
2037
|
+
sortOn,
|
|
2038
|
+
pageId,
|
|
2039
|
+
pageSize,
|
|
2040
|
+
pageNo,
|
|
2041
|
+
pageType,
|
|
2042
|
+
itemIds,
|
|
2043
|
+
},
|
|
2044
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2045
|
+
);
|
|
2046
|
+
if (warrning) {
|
|
2047
|
+
console.log("Parameter Validation warrnings for getAppicationProducts");
|
|
2048
|
+
console.log(warrning);
|
|
2049
|
+
}
|
|
2050
|
+
|
|
1434
2051
|
const query_params = {};
|
|
1435
2052
|
query_params["q"] = q;
|
|
1436
2053
|
query_params["f"] = f;
|
|
@@ -1538,6 +2155,20 @@ class Catalog {
|
|
|
1538
2155
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1539
2156
|
}
|
|
1540
2157
|
|
|
2158
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2159
|
+
const {
|
|
2160
|
+
error: warrning,
|
|
2161
|
+
} = CatalogValidator.getProductDetailBySlug().validate(
|
|
2162
|
+
{
|
|
2163
|
+
slug,
|
|
2164
|
+
},
|
|
2165
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2166
|
+
);
|
|
2167
|
+
if (warrning) {
|
|
2168
|
+
console.log("Parameter Validation warrnings for getProductDetailBySlug");
|
|
2169
|
+
console.log(warrning);
|
|
2170
|
+
}
|
|
2171
|
+
|
|
1541
2172
|
const query_params = {};
|
|
1542
2173
|
|
|
1543
2174
|
return PlatformAPIClient.execute(
|
|
@@ -1590,6 +2221,24 @@ class Catalog {
|
|
|
1590
2221
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1591
2222
|
}
|
|
1592
2223
|
|
|
2224
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2225
|
+
const { error: warrning } = CatalogValidator.getAppProducts().validate(
|
|
2226
|
+
{
|
|
2227
|
+
brandIds,
|
|
2228
|
+
categoryIds,
|
|
2229
|
+
departmentIds,
|
|
2230
|
+
tags,
|
|
2231
|
+
pageNo,
|
|
2232
|
+
pageSize,
|
|
2233
|
+
q,
|
|
2234
|
+
},
|
|
2235
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2236
|
+
);
|
|
2237
|
+
if (warrning) {
|
|
2238
|
+
console.log("Parameter Validation warrnings for getAppProducts");
|
|
2239
|
+
console.log(warrning);
|
|
2240
|
+
}
|
|
2241
|
+
|
|
1593
2242
|
const query_params = {};
|
|
1594
2243
|
query_params["brand_ids"] = brandIds;
|
|
1595
2244
|
query_params["category_ids"] = categoryIds;
|
|
@@ -1646,6 +2295,24 @@ class Catalog {
|
|
|
1646
2295
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1647
2296
|
}
|
|
1648
2297
|
|
|
2298
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2299
|
+
const { error: warrning } = CatalogValidator.getAppInventory().validate(
|
|
2300
|
+
{
|
|
2301
|
+
itemIds,
|
|
2302
|
+
storeIds,
|
|
2303
|
+
brandIds,
|
|
2304
|
+
sellerIdentifiers,
|
|
2305
|
+
timestamp,
|
|
2306
|
+
pageSize,
|
|
2307
|
+
pageId,
|
|
2308
|
+
},
|
|
2309
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2310
|
+
);
|
|
2311
|
+
if (warrning) {
|
|
2312
|
+
console.log("Parameter Validation warrnings for getAppInventory");
|
|
2313
|
+
console.log(warrning);
|
|
2314
|
+
}
|
|
2315
|
+
|
|
1649
2316
|
const query_params = {};
|
|
1650
2317
|
query_params["item_ids"] = itemIds;
|
|
1651
2318
|
query_params["store_ids"] = storeIds;
|
|
@@ -1696,6 +2363,23 @@ class Catalog {
|
|
|
1696
2363
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1697
2364
|
}
|
|
1698
2365
|
|
|
2366
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2367
|
+
const { error: warrning } = CatalogValidator.getAppLocations().validate(
|
|
2368
|
+
{
|
|
2369
|
+
storeType,
|
|
2370
|
+
uid,
|
|
2371
|
+
q,
|
|
2372
|
+
stage,
|
|
2373
|
+
pageNo,
|
|
2374
|
+
pageSize,
|
|
2375
|
+
},
|
|
2376
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2377
|
+
);
|
|
2378
|
+
if (warrning) {
|
|
2379
|
+
console.log("Parameter Validation warrnings for getAppLocations");
|
|
2380
|
+
console.log(warrning);
|
|
2381
|
+
}
|
|
2382
|
+
|
|
1699
2383
|
const query_params = {};
|
|
1700
2384
|
query_params["store_type"] = storeType;
|
|
1701
2385
|
query_params["uid"] = uid;
|
|
@@ -1788,6 +2472,24 @@ class Catalog {
|
|
|
1788
2472
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1789
2473
|
}
|
|
1790
2474
|
|
|
2475
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2476
|
+
const {
|
|
2477
|
+
error: warrning,
|
|
2478
|
+
} = CatalogValidator.getApplicationBrandListing().validate(
|
|
2479
|
+
{
|
|
2480
|
+
pageNo,
|
|
2481
|
+
pageSize,
|
|
2482
|
+
q,
|
|
2483
|
+
},
|
|
2484
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2485
|
+
);
|
|
2486
|
+
if (warrning) {
|
|
2487
|
+
console.log(
|
|
2488
|
+
"Parameter Validation warrnings for getApplicationBrandListing"
|
|
2489
|
+
);
|
|
2490
|
+
console.log(warrning);
|
|
2491
|
+
}
|
|
2492
|
+
|
|
1791
2493
|
const query_params = {};
|
|
1792
2494
|
query_params["page_no"] = pageNo;
|
|
1793
2495
|
query_params["page_size"] = pageSize;
|
|
@@ -1862,6 +2564,19 @@ class Catalog {
|
|
|
1862
2564
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1863
2565
|
}
|
|
1864
2566
|
|
|
2567
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2568
|
+
const { error: warrning } = CatalogValidator.updateAppBrand().validate(
|
|
2569
|
+
{
|
|
2570
|
+
brandUid,
|
|
2571
|
+
body,
|
|
2572
|
+
},
|
|
2573
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2574
|
+
);
|
|
2575
|
+
if (warrning) {
|
|
2576
|
+
console.log("Parameter Validation warrnings for updateAppBrand");
|
|
2577
|
+
console.log(warrning);
|
|
2578
|
+
}
|
|
2579
|
+
|
|
1865
2580
|
const query_params = {};
|
|
1866
2581
|
|
|
1867
2582
|
return PlatformAPIClient.execute(
|
|
@@ -1900,6 +2615,25 @@ class Catalog {
|
|
|
1900
2615
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1901
2616
|
}
|
|
1902
2617
|
|
|
2618
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2619
|
+
const {
|
|
2620
|
+
error: warrning,
|
|
2621
|
+
} = CatalogValidator.getApplicationCategoryListing().validate(
|
|
2622
|
+
{
|
|
2623
|
+
departmentId,
|
|
2624
|
+
pageNo,
|
|
2625
|
+
pageSize,
|
|
2626
|
+
q,
|
|
2627
|
+
},
|
|
2628
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2629
|
+
);
|
|
2630
|
+
if (warrning) {
|
|
2631
|
+
console.log(
|
|
2632
|
+
"Parameter Validation warrnings for getApplicationCategoryListing"
|
|
2633
|
+
);
|
|
2634
|
+
console.log(warrning);
|
|
2635
|
+
}
|
|
2636
|
+
|
|
1903
2637
|
const query_params = {};
|
|
1904
2638
|
query_params["department_id"] = departmentId;
|
|
1905
2639
|
query_params["page_no"] = pageNo;
|
|
@@ -1980,6 +2714,19 @@ class Catalog {
|
|
|
1980
2714
|
return Promise.reject(new FDKClientValidationError(error));
|
|
1981
2715
|
}
|
|
1982
2716
|
|
|
2717
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2718
|
+
const { error: warrning } = CatalogValidator.updateAppCategory().validate(
|
|
2719
|
+
{
|
|
2720
|
+
categoryUid,
|
|
2721
|
+
body,
|
|
2722
|
+
},
|
|
2723
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2724
|
+
);
|
|
2725
|
+
if (warrning) {
|
|
2726
|
+
console.log("Parameter Validation warrnings for updateAppCategory");
|
|
2727
|
+
console.log(warrning);
|
|
2728
|
+
}
|
|
2729
|
+
|
|
1983
2730
|
const query_params = {};
|
|
1984
2731
|
|
|
1985
2732
|
return PlatformAPIClient.execute(
|
|
@@ -2017,6 +2764,24 @@ class Catalog {
|
|
|
2017
2764
|
return Promise.reject(new FDKClientValidationError(error));
|
|
2018
2765
|
}
|
|
2019
2766
|
|
|
2767
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2768
|
+
const {
|
|
2769
|
+
error: warrning,
|
|
2770
|
+
} = CatalogValidator.getApplicationDepartmentListing().validate(
|
|
2771
|
+
{
|
|
2772
|
+
pageNo,
|
|
2773
|
+
pageSize,
|
|
2774
|
+
q,
|
|
2775
|
+
},
|
|
2776
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2777
|
+
);
|
|
2778
|
+
if (warrning) {
|
|
2779
|
+
console.log(
|
|
2780
|
+
"Parameter Validation warrnings for getApplicationDepartmentListing"
|
|
2781
|
+
);
|
|
2782
|
+
console.log(warrning);
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2020
2785
|
const query_params = {};
|
|
2021
2786
|
query_params["page_no"] = pageNo;
|
|
2022
2787
|
query_params["page_size"] = pageSize;
|
|
@@ -2092,6 +2857,19 @@ class Catalog {
|
|
|
2092
2857
|
return Promise.reject(new FDKClientValidationError(error));
|
|
2093
2858
|
}
|
|
2094
2859
|
|
|
2860
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2861
|
+
const { error: warrning } = CatalogValidator.updateAppDepartment().validate(
|
|
2862
|
+
{
|
|
2863
|
+
departmentUid,
|
|
2864
|
+
body,
|
|
2865
|
+
},
|
|
2866
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2867
|
+
);
|
|
2868
|
+
if (warrning) {
|
|
2869
|
+
console.log("Parameter Validation warrnings for updateAppDepartment");
|
|
2870
|
+
console.log(warrning);
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2095
2873
|
const query_params = {};
|
|
2096
2874
|
|
|
2097
2875
|
return PlatformAPIClient.execute(
|
|
@@ -2122,6 +2900,19 @@ class Catalog {
|
|
|
2122
2900
|
return Promise.reject(new FDKClientValidationError(error));
|
|
2123
2901
|
}
|
|
2124
2902
|
|
|
2903
|
+
// Showing warrnings if extra unknown parameters are found
|
|
2904
|
+
const { error: warrning } = CatalogValidator.updateAppLocation().validate(
|
|
2905
|
+
{
|
|
2906
|
+
storeUid,
|
|
2907
|
+
body,
|
|
2908
|
+
},
|
|
2909
|
+
{ abortEarly: false, allowUnknown: false }
|
|
2910
|
+
);
|
|
2911
|
+
if (warrning) {
|
|
2912
|
+
console.log("Parameter Validation warrnings for updateAppLocation");
|
|
2913
|
+
console.log(warrning);
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2125
2916
|
const query_params = {};
|
|
2126
2917
|
|
|
2127
2918
|
return PlatformAPIClient.execute(
|