@gofynd/fdk-client-javascript 1.4.16-beta.1 → 1.4.16-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +6 -6
- package/sdk/application/Cart/CartApplicationClient.js +30 -269
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +16 -16
- package/sdk/application/Catalog/CatalogApplicationClient.js +90 -339
- package/sdk/application/Common/CommonApplicationClient.js +1 -16
- package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +11 -134
- package/sdk/application/Content/ContentApplicationClient.d.ts +40 -8
- package/sdk/application/Content/ContentApplicationClient.js +174 -211
- 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 +6 -6
- package/sdk/application/Logistic/LogisticApplicationClient.js +40 -153
- package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
- package/sdk/application/Order/OrderApplicationClient.js +68 -153
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.js +6 -437
- 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 +4 -4
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +35 -0
- package/sdk/platform/Cart/CartPlatformModel.js +16 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +4 -0
- package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +80 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +571 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +75 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +88 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +131 -5
- package/sdk/platform/Content/ContentPlatformModel.js +110 -4
- 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 +10 -0
- package/sdk/platform/Order/OrderPlatformClient.js +99 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -118
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -53
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -29
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +10 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +119 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +58 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -0
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +10 -2
- package/sdk/platform/Share/SharePlatformModel.js +4 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
- package/sdk/public/Content/ContentPublicClient.d.ts +3 -3
- package/sdk/public/Content/ContentPublicClient.js +16 -104
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- 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 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 = {};
|
|
@@ -93,7 +93,7 @@ declare class Configuration {
|
|
|
93
93
|
* @summary: Get a currency
|
|
94
94
|
* @description: Get details of the currency. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencyById/).
|
|
95
95
|
*/
|
|
96
|
-
getCurrencyById({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<Currency>;
|
|
96
|
+
getCurrencyById({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<Currency>;
|
|
97
97
|
/**
|
|
98
98
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
99
99
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -156,7 +156,7 @@ declare class Configuration {
|
|
|
156
156
|
* @summary: Get a selling location
|
|
157
157
|
* @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
158
|
*/
|
|
159
|
-
getStoreDetailById({ storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<OrderingStore>;
|
|
159
|
+
getStoreDetailById({ storeId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<OrderingStore>;
|
|
160
160
|
/**
|
|
161
161
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
162
162
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -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) {
|
|
@@ -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;
|
|
@@ -166,14 +151,6 @@ class Configuration {
|
|
|
166
151
|
},
|
|
167
152
|
{ responseHeaders } = { responseHeaders: false }
|
|
168
153
|
) {
|
|
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
154
|
const query_params = {};
|
|
178
155
|
query_params["order_incent"] = orderIncent;
|
|
179
156
|
query_params["ordering_store"] = orderingStore;
|
|
@@ -214,14 +191,6 @@ class Configuration {
|
|
|
214
191
|
{ requestHeaders } = { requestHeaders: {} },
|
|
215
192
|
{ responseHeaders } = { responseHeaders: false }
|
|
216
193
|
) {
|
|
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
194
|
const query_params = {};
|
|
226
195
|
|
|
227
196
|
const xHeaders = {};
|
|
@@ -259,14 +228,6 @@ class Configuration {
|
|
|
259
228
|
{ requestHeaders } = { requestHeaders: {} },
|
|
260
229
|
{ responseHeaders } = { responseHeaders: false }
|
|
261
230
|
) {
|
|
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
231
|
const query_params = {};
|
|
271
232
|
|
|
272
233
|
const xHeaders = {};
|
|
@@ -304,14 +265,6 @@ class Configuration {
|
|
|
304
265
|
{ requestHeaders } = { requestHeaders: {} },
|
|
305
266
|
{ responseHeaders } = { responseHeaders: false }
|
|
306
267
|
) {
|
|
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
268
|
const query_params = {};
|
|
316
269
|
|
|
317
270
|
const xHeaders = {};
|
|
@@ -349,14 +302,6 @@ class Configuration {
|
|
|
349
302
|
{ requestHeaders } = { requestHeaders: {} },
|
|
350
303
|
{ responseHeaders } = { responseHeaders: false }
|
|
351
304
|
) {
|
|
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
305
|
const query_params = {};
|
|
361
306
|
|
|
362
307
|
const xHeaders = {};
|
|
@@ -394,18 +339,12 @@ class Configuration {
|
|
|
394
339
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
395
340
|
{ responseHeaders } = { responseHeaders: false }
|
|
396
341
|
) {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
path: ["id"],
|
|
342
|
+
const errors = validateRequiredParams(arguments[0], ["id"]);
|
|
343
|
+
if (errors.length > 0) {
|
|
344
|
+
const error = new FDKClientValidationError({
|
|
345
|
+
message: "Missing required field",
|
|
346
|
+
details: errors,
|
|
403
347
|
});
|
|
404
|
-
}
|
|
405
|
-
if (invalidInput.length) {
|
|
406
|
-
const error = new Error();
|
|
407
|
-
error.message = "Missing required field";
|
|
408
|
-
error.details = invalidInput;
|
|
409
348
|
return Promise.reject(new FDKClientValidationError(error));
|
|
410
349
|
}
|
|
411
350
|
|
|
@@ -446,14 +385,6 @@ class Configuration {
|
|
|
446
385
|
{ requestHeaders } = { requestHeaders: {} },
|
|
447
386
|
{ responseHeaders } = { responseHeaders: false }
|
|
448
387
|
) {
|
|
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
388
|
const query_params = {};
|
|
458
389
|
|
|
459
390
|
const xHeaders = {};
|
|
@@ -491,14 +422,6 @@ class Configuration {
|
|
|
491
422
|
{ requestHeaders } = { requestHeaders: {} },
|
|
492
423
|
{ responseHeaders } = { responseHeaders: false }
|
|
493
424
|
) {
|
|
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
425
|
const query_params = {};
|
|
503
426
|
|
|
504
427
|
const xHeaders = {};
|
|
@@ -536,14 +459,6 @@ class Configuration {
|
|
|
536
459
|
{ requestHeaders } = { requestHeaders: {} },
|
|
537
460
|
{ responseHeaders } = { responseHeaders: false }
|
|
538
461
|
) {
|
|
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
462
|
const query_params = {};
|
|
548
463
|
|
|
549
464
|
const xHeaders = {};
|
|
@@ -581,14 +496,6 @@ class Configuration {
|
|
|
581
496
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
582
497
|
{ responseHeaders } = { responseHeaders: false }
|
|
583
498
|
) {
|
|
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
499
|
const query_params = {};
|
|
593
500
|
|
|
594
501
|
const xHeaders = {};
|
|
@@ -626,14 +533,6 @@ class Configuration {
|
|
|
626
533
|
{ pageNo, pageSize, q, requestHeaders } = { requestHeaders: {} },
|
|
627
534
|
{ responseHeaders } = { responseHeaders: false }
|
|
628
535
|
) {
|
|
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
536
|
const query_params = {};
|
|
638
537
|
query_params["page_no"] = pageNo;
|
|
639
538
|
query_params["page_size"] = pageSize;
|
|
@@ -674,14 +573,6 @@ class Configuration {
|
|
|
674
573
|
{ requestHeaders } = { requestHeaders: {} },
|
|
675
574
|
{ responseHeaders } = { responseHeaders: false }
|
|
676
575
|
) {
|
|
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
576
|
const query_params = {};
|
|
686
577
|
|
|
687
578
|
const xHeaders = {};
|
|
@@ -719,18 +610,12 @@ class Configuration {
|
|
|
719
610
|
{ storeId, requestHeaders } = { requestHeaders: {} },
|
|
720
611
|
{ responseHeaders } = { responseHeaders: false }
|
|
721
612
|
) {
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
path: ["storeId"],
|
|
613
|
+
const errors = validateRequiredParams(arguments[0], ["storeId"]);
|
|
614
|
+
if (errors.length > 0) {
|
|
615
|
+
const error = new FDKClientValidationError({
|
|
616
|
+
message: "Missing required field",
|
|
617
|
+
details: errors,
|
|
728
618
|
});
|
|
729
|
-
}
|
|
730
|
-
if (invalidInput.length) {
|
|
731
|
-
const error = new Error();
|
|
732
|
-
error.message = "Missing required field";
|
|
733
|
-
error.details = invalidInput;
|
|
734
619
|
return Promise.reject(new FDKClientValidationError(error));
|
|
735
620
|
}
|
|
736
621
|
|
|
@@ -771,14 +656,6 @@ class Configuration {
|
|
|
771
656
|
{ requestHeaders } = { requestHeaders: {} },
|
|
772
657
|
{ responseHeaders } = { responseHeaders: false }
|
|
773
658
|
) {
|
|
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
659
|
const query_params = {};
|
|
783
660
|
|
|
784
661
|
const xHeaders = {};
|
|
@@ -9,6 +9,7 @@ declare class Content {
|
|
|
9
9
|
getCustomFieldsByResourceId: string;
|
|
10
10
|
getCustomObjectBySlug: string;
|
|
11
11
|
getDataLoaders: string;
|
|
12
|
+
getDefaultSitemapConfig: string;
|
|
12
13
|
getFaqBySlug: string;
|
|
13
14
|
getFaqCategories: string;
|
|
14
15
|
getFaqCategoryBySlug: string;
|
|
@@ -21,6 +22,8 @@ declare class Content {
|
|
|
21
22
|
getPages: string;
|
|
22
23
|
getSEOConfiguration: string;
|
|
23
24
|
getSEOMarkupSchemas: string;
|
|
25
|
+
getSitemap: string;
|
|
26
|
+
getSitemaps: string;
|
|
24
27
|
getSlideshow: string;
|
|
25
28
|
getSlideshows: string;
|
|
26
29
|
getSupportInformation: string;
|
|
@@ -45,7 +48,7 @@ declare class Content {
|
|
|
45
48
|
* @summary: Get a blog
|
|
46
49
|
* @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/).
|
|
47
50
|
*/
|
|
48
|
-
getBlog({ slug, rootId, preview, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogSchema>;
|
|
51
|
+
getBlog({ slug, rootId, preview, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<BlogSchema>;
|
|
49
52
|
/**
|
|
50
53
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
51
54
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -63,7 +66,7 @@ declare class Content {
|
|
|
63
66
|
* @summary: Get list of custom fields of given resource and resource slug
|
|
64
67
|
* @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/).
|
|
65
68
|
*/
|
|
66
|
-
getCustomFieldsByResourceId({ resource, resourceSlug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
69
|
+
getCustomFieldsByResourceId({ resource, resourceSlug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
67
70
|
/**
|
|
68
71
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
69
72
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -72,7 +75,7 @@ declare class Content {
|
|
|
72
75
|
* @summary: Get custom object details
|
|
73
76
|
* @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/).
|
|
74
77
|
*/
|
|
75
|
-
getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectByIdSchema>;
|
|
78
|
+
getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomObjectByIdSchema>;
|
|
76
79
|
/**
|
|
77
80
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
78
81
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -82,6 +85,15 @@ declare class Content {
|
|
|
82
85
|
* @description: List all the data loaders that are enabled for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getDataLoaders/).
|
|
83
86
|
*/
|
|
84
87
|
getDataLoaders({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DataLoadersSchema>;
|
|
88
|
+
/**
|
|
89
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
90
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
91
|
+
* @returns {Promise<DefaultSitemapConfig>} - Success response
|
|
92
|
+
* @name getDefaultSitemapConfig
|
|
93
|
+
* @summary: Get default sitemap configuration
|
|
94
|
+
* @description: Retrieves the current default sitemap configuration settings - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getDefaultSitemapConfig/).
|
|
95
|
+
*/
|
|
96
|
+
getDefaultSitemapConfig({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<DefaultSitemapConfig>;
|
|
85
97
|
/**
|
|
86
98
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
87
99
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -90,7 +102,7 @@ declare class Content {
|
|
|
90
102
|
* @summary: Get FAQ
|
|
91
103
|
* @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
|
|
92
104
|
*/
|
|
93
|
-
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FaqSchema>;
|
|
105
|
+
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FaqSchema>;
|
|
94
106
|
/**
|
|
95
107
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
96
108
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -108,7 +120,7 @@ declare class Content {
|
|
|
108
120
|
* @summary: Get a FAQ category
|
|
109
121
|
* @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
|
|
110
122
|
*/
|
|
111
|
-
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqCategoryBySlugSchema>;
|
|
123
|
+
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqCategoryBySlugSchema>;
|
|
112
124
|
/**
|
|
113
125
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
126
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -126,7 +138,7 @@ declare class Content {
|
|
|
126
138
|
* @summary: List FAQs by category
|
|
127
139
|
* @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
|
|
128
140
|
*/
|
|
129
|
-
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqSchema>;
|
|
141
|
+
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqSchema>;
|
|
130
142
|
/**
|
|
131
143
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
132
144
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -162,7 +174,7 @@ declare class Content {
|
|
|
162
174
|
* @summary: Get a page
|
|
163
175
|
* @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/).
|
|
164
176
|
*/
|
|
165
|
-
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageSchema>;
|
|
177
|
+
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<PageSchema>;
|
|
166
178
|
/**
|
|
167
179
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
168
180
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -190,6 +202,26 @@ declare class Content {
|
|
|
190
202
|
* @description: Get all SEO Markup schema Templates setup for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSEOMarkupSchemas/).
|
|
191
203
|
*/
|
|
192
204
|
getSEOMarkupSchemas({ pageType, active, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SeoSchemaComponent>;
|
|
205
|
+
/**
|
|
206
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
207
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
208
|
+
* @returns {Promise<SitemapConfig>} - Success response
|
|
209
|
+
* @name getSitemap
|
|
210
|
+
* @summary: Get a specific sitemap configuration
|
|
211
|
+
* @description: Retrieve a specific sitemap configuration by its name. Returns the complete configuration including the sitemap XML data, activation status, and timestamps.
|
|
212
|
+
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSitemap/).
|
|
213
|
+
*/
|
|
214
|
+
getSitemap({ name, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SitemapConfig>;
|
|
215
|
+
/**
|
|
216
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
217
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
218
|
+
* @returns {Promise<SitemapConfigurationList>} - Success response
|
|
219
|
+
* @name getSitemaps
|
|
220
|
+
* @summary: List sitemap configurations
|
|
221
|
+
* @description: Retrieve a list of sitemap configurations for a specific application. Each configuration contains the sitemap XML data.
|
|
222
|
+
* - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSitemaps/).
|
|
223
|
+
*/
|
|
224
|
+
getSitemaps({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SitemapConfigurationList>;
|
|
193
225
|
/**
|
|
194
226
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
195
227
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -198,7 +230,7 @@ declare class Content {
|
|
|
198
230
|
* @summary: Get a Slideshow
|
|
199
231
|
* @description: Get a slideshow using its `slug`. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshow/).
|
|
200
232
|
*/
|
|
201
|
-
getSlideshow({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SlideshowSchema>;
|
|
233
|
+
getSlideshow({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SlideshowSchema>;
|
|
202
234
|
/**
|
|
203
235
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
204
236
|
* @param {import("../ApplicationAPIClient").Options} - Options
|