@gofynd/fdk-client-javascript 1.4.15 → 1.4.16-beta.2

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.
Files changed (95) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +16 -16
  4. package/sdk/application/Cart/CartApplicationClient.js +101 -48
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +16 -16
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +159 -0
  7. package/sdk/application/Common/CommonApplicationClient.js +6 -0
  8. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -0
  9. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
  10. package/sdk/application/Configuration/ConfigurationApplicationClient.js +24 -0
  11. package/sdk/application/Content/ContentApplicationClient.d.ts +59 -7
  12. package/sdk/application/Content/ContentApplicationClient.js +290 -0
  13. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  14. package/sdk/application/FileStorage/FileStorageApplicationClient.js +24 -0
  15. package/sdk/application/Finance/FinanceApplicationClient.js +6 -0
  16. package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
  17. package/sdk/application/Lead/LeadApplicationClient.js +42 -0
  18. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +6 -6
  19. package/sdk/application/Logistic/LogisticApplicationClient.js +69 -2
  20. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
  21. package/sdk/application/Order/OrderApplicationClient.js +117 -0
  22. package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -11
  23. package/sdk/application/Payment/PaymentApplicationClient.js +15 -39
  24. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  25. package/sdk/application/Rewards/RewardsApplicationClient.js +15 -0
  26. package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
  27. package/sdk/application/Share/ShareApplicationClient.js +42 -0
  28. package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
  29. package/sdk/application/Theme/ThemeApplicationClient.js +36 -0
  30. package/sdk/application/User/UserApplicationClient.js +6 -0
  31. package/sdk/application/Webhook/WebhookApplicationClient.js +6 -0
  32. package/sdk/common/Utility.d.ts +1 -1
  33. package/sdk/common/Utility.js +4 -4
  34. package/sdk/common/Validator.d.ts +1 -0
  35. package/sdk/common/Validator.js +20 -0
  36. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +12 -33
  37. package/sdk/partner/Logistics/LogisticsPartnerClient.js +38 -209
  38. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +19 -399
  39. package/sdk/partner/Logistics/LogisticsPartnerModel.js +11 -212
  40. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -3
  41. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -22
  42. package/sdk/partner/OAuthClient.js +1 -0
  43. package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
  44. package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
  45. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  46. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  47. package/sdk/platform/Cart/CartPlatformApplicationClient.js +12 -3
  48. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -1
  49. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -1
  50. package/sdk/platform/Cart/CartPlatformModel.d.ts +49 -28
  51. package/sdk/platform/Cart/CartPlatformModel.js +23 -13
  52. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +0 -24
  53. package/sdk/platform/Catalog/CatalogPlatformClient.js +0 -176
  54. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +33 -80
  55. package/sdk/platform/Catalog/CatalogPlatformModel.js +36 -72
  56. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -45
  57. package/sdk/platform/Catalog/CatalogPlatformValidator.js +0 -35
  58. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +7 -0
  59. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +3 -0
  60. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +132 -0
  61. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1104 -122
  62. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +159 -1
  63. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +161 -0
  64. package/sdk/platform/Content/ContentPlatformModel.d.ts +220 -5
  65. package/sdk/platform/Content/ContentPlatformModel.js +214 -4
  66. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
  67. package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
  68. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  69. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  70. package/sdk/platform/Order/OrderPlatformClient.d.ts +12 -2
  71. package/sdk/platform/Order/OrderPlatformClient.js +99 -8
  72. package/sdk/platform/Order/OrderPlatformModel.d.ts +3 -75
  73. package/sdk/platform/Order/OrderPlatformModel.js +2 -43
  74. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -23
  75. package/sdk/platform/Order/OrderPlatformValidator.js +20 -10
  76. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -95
  77. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +78 -701
  78. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +23 -598
  79. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +20 -382
  80. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +3 -136
  81. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -110
  82. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
  83. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  84. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  85. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  86. package/sdk/platform/Share/SharePlatformModel.d.ts +10 -2
  87. package/sdk/platform/Share/SharePlatformModel.js +4 -2
  88. package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
  89. package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
  90. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -0
  91. package/sdk/public/Content/ContentPublicClient.d.ts +3 -3
  92. package/sdk/public/Content/ContentPublicClient.js +28 -0
  93. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  94. package/sdk/public/Partner/PartnerPublicClient.js +10 -0
  95. package/sdk/public/Webhook/WebhookPublicClient.js +1 -0
@@ -1,6 +1,12 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
9
+ const { validateRequiredParams } = require("../../common/Validator");
4
10
 
5
11
  class Catalog {
6
12
  constructor(_conf) {
@@ -85,6 +91,18 @@ class Catalog {
85
91
  { collectionType, collectionId, requestHeaders } = { requestHeaders: {} },
86
92
  { responseHeaders } = { responseHeaders: false }
87
93
  ) {
94
+ const errors = validateRequiredParams(arguments[0], [
95
+ "collectionType",
96
+ "collectionId",
97
+ ]);
98
+ if (errors.length > 0) {
99
+ const error = new FDKClientValidationError({
100
+ message: "Missing required field",
101
+ details: errors,
102
+ });
103
+ return Promise.reject(new FDKClientValidationError(error));
104
+ }
105
+
88
106
  const query_params = {};
89
107
 
90
108
  const xHeaders = {};
@@ -122,6 +140,15 @@ class Catalog {
122
140
  { slug, requestHeaders } = { requestHeaders: {} },
123
141
  { responseHeaders } = { responseHeaders: false }
124
142
  ) {
143
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
144
+ if (errors.length > 0) {
145
+ const error = new FDKClientValidationError({
146
+ message: "Missing required field",
147
+ details: errors,
148
+ });
149
+ return Promise.reject(new FDKClientValidationError(error));
150
+ }
151
+
125
152
  const query_params = {};
126
153
 
127
154
  const xHeaders = {};
@@ -269,6 +296,15 @@ class Catalog {
269
296
  { slug, requestHeaders } = { requestHeaders: {} },
270
297
  { responseHeaders } = { responseHeaders: false }
271
298
  ) {
299
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
300
+ if (errors.length > 0) {
301
+ const error = new FDKClientValidationError({
302
+ message: "Missing required field",
303
+ details: errors,
304
+ });
305
+ return Promise.reject(new FDKClientValidationError(error));
306
+ }
307
+
272
308
  const query_params = {};
273
309
 
274
310
  const xHeaders = {};
@@ -306,6 +342,15 @@ class Catalog {
306
342
  { slug, requestHeaders } = { requestHeaders: {} },
307
343
  { responseHeaders } = { responseHeaders: false }
308
344
  ) {
345
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
346
+ if (errors.length > 0) {
347
+ const error = new FDKClientValidationError({
348
+ message: "Missing required field",
349
+ details: errors,
350
+ });
351
+ return Promise.reject(new FDKClientValidationError(error));
352
+ }
353
+
309
354
  const query_params = {};
310
355
 
311
356
  const xHeaders = {};
@@ -354,6 +399,15 @@ class Catalog {
354
399
  } = { requestHeaders: {} },
355
400
  { responseHeaders } = { responseHeaders: false }
356
401
  ) {
402
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
403
+ if (errors.length > 0) {
404
+ const error = new FDKClientValidationError({
405
+ message: "Missing required field",
406
+ details: errors,
407
+ });
408
+ return Promise.reject(new FDKClientValidationError(error));
409
+ }
410
+
357
411
  const query_params = {};
358
412
  query_params["f"] = f;
359
413
  query_params["q"] = q;
@@ -527,6 +581,15 @@ class Catalog {
527
581
  { slug, requestHeaders } = { requestHeaders: {} },
528
582
  { responseHeaders } = { responseHeaders: false }
529
583
  ) {
584
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
585
+ if (errors.length > 0) {
586
+ const error = new FDKClientValidationError({
587
+ message: "Missing required field",
588
+ details: errors,
589
+ });
590
+ return Promise.reject(new FDKClientValidationError(error));
591
+ }
592
+
530
593
  const query_params = {};
531
594
 
532
595
  const xHeaders = {};
@@ -641,6 +704,15 @@ class Catalog {
641
704
  },
642
705
  { responseHeaders } = { responseHeaders: false }
643
706
  ) {
707
+ const errors = validateRequiredParams(arguments[0], ["collectionType"]);
708
+ if (errors.length > 0) {
709
+ const error = new FDKClientValidationError({
710
+ message: "Missing required field",
711
+ details: errors,
712
+ });
713
+ return Promise.reject(new FDKClientValidationError(error));
714
+ }
715
+
644
716
  const query_params = {};
645
717
  query_params["page_id"] = pageId;
646
718
  query_params["page_size"] = pageSize;
@@ -710,6 +782,18 @@ class Catalog {
710
782
  { collectionType, collectionId, requestHeaders } = { requestHeaders: {} },
711
783
  { responseHeaders } = { responseHeaders: false }
712
784
  ) {
785
+ const errors = validateRequiredParams(arguments[0], [
786
+ "collectionType",
787
+ "collectionId",
788
+ ]);
789
+ if (errors.length > 0) {
790
+ const error = new FDKClientValidationError({
791
+ message: "Missing required field",
792
+ details: errors,
793
+ });
794
+ return Promise.reject(new FDKClientValidationError(error));
795
+ }
796
+
713
797
  const query_params = {};
714
798
 
715
799
  const xHeaders = {};
@@ -918,6 +1002,15 @@ class Catalog {
918
1002
  { locationId, requestHeaders } = { requestHeaders: {} },
919
1003
  { responseHeaders } = { responseHeaders: false }
920
1004
  ) {
1005
+ const errors = validateRequiredParams(arguments[0], ["locationId"]);
1006
+ if (errors.length > 0) {
1007
+ const error = new FDKClientValidationError({
1008
+ message: "Missing required field",
1009
+ details: errors,
1010
+ });
1011
+ return Promise.reject(new FDKClientValidationError(error));
1012
+ }
1013
+
921
1014
  const query_params = {};
922
1015
 
923
1016
  const xHeaders = {};
@@ -1032,6 +1125,15 @@ class Catalog {
1032
1125
  { slug, requestHeaders } = { requestHeaders: {} },
1033
1126
  { responseHeaders } = { responseHeaders: false }
1034
1127
  ) {
1128
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
1129
+ if (errors.length > 0) {
1130
+ const error = new FDKClientValidationError({
1131
+ message: "Missing required field",
1132
+ details: errors,
1133
+ });
1134
+ return Promise.reject(new FDKClientValidationError(error));
1135
+ }
1136
+
1035
1137
  const query_params = {};
1036
1138
 
1037
1139
  const xHeaders = {};
@@ -1069,6 +1171,15 @@ class Catalog {
1069
1171
  { slug, size, storeId, moq, requestHeaders } = { requestHeaders: {} },
1070
1172
  { responseHeaders } = { responseHeaders: false }
1071
1173
  ) {
1174
+ const errors = validateRequiredParams(arguments[0], ["slug", "size"]);
1175
+ if (errors.length > 0) {
1176
+ const error = new FDKClientValidationError({
1177
+ message: "Missing required field",
1178
+ details: errors,
1179
+ });
1180
+ return Promise.reject(new FDKClientValidationError(error));
1181
+ }
1182
+
1072
1183
  const query_params = {};
1073
1184
  query_params["store_id"] = storeId;
1074
1185
  query_params["moq"] = moq;
@@ -1110,6 +1221,15 @@ class Catalog {
1110
1221
  },
1111
1222
  { responseHeaders } = { responseHeaders: false }
1112
1223
  ) {
1224
+ const errors = validateRequiredParams(arguments[0], ["slug", "size"]);
1225
+ if (errors.length > 0) {
1226
+ const error = new FDKClientValidationError({
1227
+ message: "Missing required field",
1228
+ details: errors,
1229
+ });
1230
+ return Promise.reject(new FDKClientValidationError(error));
1231
+ }
1232
+
1113
1233
  const query_params = {};
1114
1234
  query_params["strategy"] = strategy;
1115
1235
  query_params["page_no"] = pageNo;
@@ -1188,6 +1308,15 @@ class Catalog {
1188
1308
  { slug, storeId, requestHeaders } = { requestHeaders: {} },
1189
1309
  { responseHeaders } = { responseHeaders: false }
1190
1310
  ) {
1311
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
1312
+ if (errors.length > 0) {
1313
+ const error = new FDKClientValidationError({
1314
+ message: "Missing required field",
1315
+ details: errors,
1316
+ });
1317
+ return Promise.reject(new FDKClientValidationError(error));
1318
+ }
1319
+
1191
1320
  const query_params = {};
1192
1321
  query_params["store_id"] = storeId;
1193
1322
 
@@ -1337,6 +1466,15 @@ class Catalog {
1337
1466
  { slug, requestHeaders } = { requestHeaders: {} },
1338
1467
  { responseHeaders } = { responseHeaders: false }
1339
1468
  ) {
1469
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
1470
+ if (errors.length > 0) {
1471
+ const error = new FDKClientValidationError({
1472
+ message: "Missing required field",
1473
+ details: errors,
1474
+ });
1475
+ return Promise.reject(new FDKClientValidationError(error));
1476
+ }
1477
+
1340
1478
  const query_params = {};
1341
1479
 
1342
1480
  const xHeaders = {};
@@ -1511,6 +1649,15 @@ class Catalog {
1511
1649
  { slug, requestHeaders } = { requestHeaders: {} },
1512
1650
  { responseHeaders } = { responseHeaders: false }
1513
1651
  ) {
1652
+ const errors = validateRequiredParams(arguments[0], ["slug"]);
1653
+ if (errors.length > 0) {
1654
+ const error = new FDKClientValidationError({
1655
+ message: "Missing required field",
1656
+ details: errors,
1657
+ });
1658
+ return Promise.reject(new FDKClientValidationError(error));
1659
+ }
1660
+
1514
1661
  const query_params = {};
1515
1662
 
1516
1663
  const xHeaders = {};
@@ -1653,6 +1800,18 @@ class Catalog {
1653
1800
  { collectionType, collectionId, requestHeaders } = { requestHeaders: {} },
1654
1801
  { responseHeaders } = { responseHeaders: false }
1655
1802
  ) {
1803
+ const errors = validateRequiredParams(arguments[0], [
1804
+ "collectionType",
1805
+ "collectionId",
1806
+ ]);
1807
+ if (errors.length > 0) {
1808
+ const error = new FDKClientValidationError({
1809
+ message: "Missing required field",
1810
+ details: errors,
1811
+ });
1812
+ return Promise.reject(new FDKClientValidationError(error));
1813
+ }
1814
+
1656
1815
  const query_params = {};
1657
1816
 
1658
1817
  const xHeaders = {};
@@ -1,6 +1,12 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
9
+ const { validateRequiredParams } = require("../../common/Validator");
4
10
 
5
11
  class Common {
6
12
  constructor(_conf) {
@@ -1,6 +1,12 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
9
+ const { validateRequiredParams } = require("../../common/Validator");
4
10
 
5
11
  class Communication {
6
12
  constructor(_conf) {
@@ -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
@@ -1,6 +1,12 @@
1
+ const {
2
+ FDKClientValidationError,
3
+ FDKResponseValidationError,
4
+ } = require("../../common/FDKError");
5
+
1
6
  const ApplicationAPIClient = require("../ApplicationAPIClient");
2
7
  const constructUrl = require("../constructUrl");
3
8
  const Paginator = require("../../common/Paginator");
9
+ const { validateRequiredParams } = require("../../common/Validator");
4
10
 
5
11
  class Configuration {
6
12
  constructor(_conf) {
@@ -333,6 +339,15 @@ class Configuration {
333
339
  { id, requestHeaders } = { requestHeaders: {} },
334
340
  { responseHeaders } = { responseHeaders: false }
335
341
  ) {
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,
347
+ });
348
+ return Promise.reject(new FDKClientValidationError(error));
349
+ }
350
+
336
351
  const query_params = {};
337
352
 
338
353
  const xHeaders = {};
@@ -595,6 +610,15 @@ class Configuration {
595
610
  { storeId, requestHeaders } = { requestHeaders: {} },
596
611
  { responseHeaders } = { responseHeaders: false }
597
612
  ) {
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,
618
+ });
619
+ return Promise.reject(new FDKClientValidationError(error));
620
+ }
621
+
598
622
  const query_params = {};
599
623
 
600
624
  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,10 @@ declare class Content {
21
22
  getPages: string;
22
23
  getSEOConfiguration: string;
23
24
  getSEOMarkupSchemas: string;
25
+ getSitemap: string;
26
+ getSitemaps: string;
27
+ getSlideshow: string;
28
+ getSlideshows: string;
24
29
  getSupportInformation: string;
25
30
  getTags: string;
26
31
  };
@@ -43,7 +48,7 @@ declare class Content {
43
48
  * @summary: Get a blog
44
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/).
45
50
  */
46
- 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>;
47
52
  /**
48
53
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
49
54
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -61,7 +66,7 @@ declare class Content {
61
66
  * @summary: Get list of custom fields of given resource and resource slug
62
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/).
63
68
  */
64
- 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>;
65
70
  /**
66
71
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
67
72
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -70,7 +75,7 @@ declare class Content {
70
75
  * @summary: Get custom object details
71
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/).
72
77
  */
73
- 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>;
74
79
  /**
75
80
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
76
81
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -80,6 +85,15 @@ declare class Content {
80
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/).
81
86
  */
82
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>;
83
97
  /**
84
98
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
85
99
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -88,7 +102,7 @@ declare class Content {
88
102
  * @summary: Get FAQ
89
103
  * @description: Get a specific FAQ using its slug identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqBySlug/).
90
104
  */
91
- getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<FaqSchema>;
105
+ getFaqBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<FaqSchema>;
92
106
  /**
93
107
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
94
108
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -106,7 +120,7 @@ declare class Content {
106
120
  * @summary: Get a FAQ category
107
121
  * @description: Get a specific FAQ category using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqCategoryBySlug/).
108
122
  */
109
- getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqCategoryBySlugSchema>;
123
+ getFaqCategoryBySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqCategoryBySlugSchema>;
110
124
  /**
111
125
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
112
126
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -124,7 +138,7 @@ declare class Content {
124
138
  * @summary: List FAQs by category
125
139
  * @description: Get FAQs belonging to a specific category slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getFaqsByCategorySlug/).
126
140
  */
127
- getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetFaqSchema>;
141
+ getFaqsByCategorySlug({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<GetFaqSchema>;
128
142
  /**
129
143
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
130
144
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -160,7 +174,7 @@ declare class Content {
160
174
  * @summary: Get a page
161
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/).
162
176
  */
163
- 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>;
164
178
  /**
165
179
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
166
180
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -188,6 +202,44 @@ declare class Content {
188
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/).
189
203
  */
190
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>;
225
+ /**
226
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
227
+ * @param {import("../ApplicationAPIClient").Options} - Options
228
+ * @returns {Promise<SlideshowSchema>} - Success response
229
+ * @name getSlideshow
230
+ * @summary: Get a Slideshow
231
+ * @description: Get a slideshow using its `slug`. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshow/).
232
+ */
233
+ getSlideshow({ slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options, ...args: any[]): Promise<SlideshowSchema>;
234
+ /**
235
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
236
+ * @param {import("../ApplicationAPIClient").Options} - Options
237
+ * @returns {Promise<SlideshowGetDetails>} - Success response
238
+ * @name getSlideshows
239
+ * @summary: List Slideshows
240
+ * @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
241
+ */
242
+ getSlideshows({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<SlideshowGetDetails>;
191
243
  /**
192
244
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
193
245
  * @param {import("../ApplicationAPIClient").Options} - Options