@gofynd/fdk-client-javascript 1.4.15-beta.7 → 1.4.15-beta.8
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 -252
- 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 +8 -8
- package/sdk/application/Content/ContentApplicationClient.js +44 -206
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +5 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -30
- package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
- package/sdk/application/Lead/LeadApplicationClient.js +21 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +5 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +32 -128
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +63 -142
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.js +6 -418
- 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/FileStoragePartnerModel.d.ts +2 -0
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +3 -0
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +3 -0
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +20 -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 +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/public/Configuration/ConfigurationPublicClient.js +1 -16
- package/sdk/public/Content/ContentPublicClient.d.ts +1 -1
- package/sdk/public/Content/ContentPublicClient.js +6 -11
- 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 = {};
|
|
@@ -45,7 +45,7 @@ declare class Content {
|
|
|
45
45
|
* @summary: Get a blog
|
|
46
46
|
* @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
47
|
*/
|
|
48
|
-
getBlog({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogSchema>;
|
|
48
|
+
getBlog({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<BlogSchema>;
|
|
49
49
|
/**
|
|
50
50
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
51
51
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -63,7 +63,7 @@ declare class Content {
|
|
|
63
63
|
* @summary: Get list of custom fields
|
|
64
64
|
* @description: List custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
|
|
65
65
|
*/
|
|
66
|
-
getCustomFields({ resource, resourceId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
66
|
+
getCustomFields({ resource, resourceId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomFieldsResponseByResourceIdSchema>;
|
|
67
67
|
/**
|
|
68
68
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
69
69
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -72,7 +72,7 @@ declare class Content {
|
|
|
72
72
|
* @summary: Get custom object
|
|
73
73
|
* @description: Get details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObject/).
|
|
74
74
|
*/
|
|
75
|
-
getCustomObject({ metaobjectId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectByIdSchema>;
|
|
75
|
+
getCustomObject({ metaobjectId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<CustomObjectByIdSchema>;
|
|
76
76
|
/**
|
|
77
77
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
78
78
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -90,7 +90,7 @@ declare class Content {
|
|
|
90
90
|
* @summary: Get FAQ
|
|
91
91
|
* @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
|
|
92
92
|
*/
|
|
93
|
-
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FaqSchema>;
|
|
93
|
+
getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FaqSchema>;
|
|
94
94
|
/**
|
|
95
95
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
96
96
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -108,7 +108,7 @@ declare class Content {
|
|
|
108
108
|
* @summary: Get a FAQ category
|
|
109
109
|
* @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
|
|
110
110
|
*/
|
|
111
|
-
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqCategoryBySlugSchema>;
|
|
111
|
+
getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqCategoryBySlugSchema>;
|
|
112
112
|
/**
|
|
113
113
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
114
114
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -126,7 +126,7 @@ declare class Content {
|
|
|
126
126
|
* @summary: List FAQs by category
|
|
127
127
|
* @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
|
|
128
128
|
*/
|
|
129
|
-
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqSchema>;
|
|
129
|
+
getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqSchema>;
|
|
130
130
|
/**
|
|
131
131
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
132
132
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -162,7 +162,7 @@ declare class Content {
|
|
|
162
162
|
* @summary: Get a page
|
|
163
163
|
* @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
164
|
*/
|
|
165
|
-
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageSchema>;
|
|
165
|
+
getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<PageSchema>;
|
|
166
166
|
/**
|
|
167
167
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
168
168
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
@@ -198,7 +198,7 @@ declare class Content {
|
|
|
198
198
|
* @summary: Get a Slideshow
|
|
199
199
|
* @description: Get a slideshow using its `slug`. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshow/).
|
|
200
200
|
*/
|
|
201
|
-
getSlideshow({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SlideshowSchema>;
|
|
201
|
+
getSlideshow({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SlideshowSchema>;
|
|
202
202
|
/**
|
|
203
203
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
204
204
|
* @param {import("../ApplicationAPIClient").Options} - Options
|