@gofynd/fdk-client-javascript 1.4.16-beta.1 → 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 (73) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +5 -5
  4. package/sdk/application/Cart/CartApplicationClient.js +26 -268
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +16 -16
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +90 -339
  7. package/sdk/application/Common/CommonApplicationClient.js +1 -16
  8. package/sdk/application/Communication/CommunicationApplicationClient.js +1 -24
  9. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +2 -2
  10. package/sdk/application/Configuration/ConfigurationApplicationClient.js +11 -134
  11. package/sdk/application/Content/ContentApplicationClient.d.ts +40 -8
  12. package/sdk/application/Content/ContentApplicationClient.js +174 -211
  13. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  14. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  15. package/sdk/application/Finance/FinanceApplicationClient.js +1 -16
  16. package/sdk/application/Lead/LeadApplicationClient.d.ts +4 -4
  17. package/sdk/application/Lead/LeadApplicationClient.js +21 -52
  18. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +6 -6
  19. package/sdk/application/Logistic/LogisticApplicationClient.js +40 -153
  20. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -11
  21. package/sdk/application/Order/OrderApplicationClient.js +68 -153
  22. package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -1
  23. package/sdk/application/Payment/PaymentApplicationClient.js +6 -437
  24. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  25. package/sdk/application/Rewards/RewardsApplicationClient.js +6 -59
  26. package/sdk/application/Share/ShareApplicationClient.d.ts +4 -4
  27. package/sdk/application/Share/ShareApplicationClient.js +21 -75
  28. package/sdk/application/Theme/ThemeApplicationClient.d.ts +3 -3
  29. package/sdk/application/Theme/ThemeApplicationClient.js +19 -47
  30. package/sdk/application/User/UserApplicationClient.js +1 -407
  31. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -8
  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/platform/Cart/CartPlatformModel.d.ts +35 -0
  37. package/sdk/platform/Cart/CartPlatformModel.js +16 -0
  38. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +4 -0
  39. package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -0
  40. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +80 -0
  41. package/sdk/platform/Content/ContentPlatformApplicationClient.js +571 -0
  42. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +75 -1
  43. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +88 -0
  44. package/sdk/platform/Content/ContentPlatformModel.d.ts +131 -5
  45. package/sdk/platform/Content/ContentPlatformModel.js +110 -4
  46. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
  47. package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
  48. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  49. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  50. package/sdk/platform/Order/OrderPlatformClient.d.ts +10 -0
  51. package/sdk/platform/Order/OrderPlatformClient.js +99 -0
  52. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
  53. package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
  54. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +0 -10
  55. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +0 -118
  56. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -53
  57. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +0 -29
  58. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +10 -0
  59. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +119 -0
  60. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +58 -1
  61. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -0
  62. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
  63. package/sdk/platform/Share/SharePlatformApplicationClient.js +7 -7
  64. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  65. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  66. package/sdk/platform/Share/SharePlatformModel.d.ts +10 -2
  67. package/sdk/platform/Share/SharePlatformModel.js +4 -2
  68. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -16
  69. package/sdk/public/Content/ContentPublicClient.d.ts +3 -3
  70. package/sdk/public/Content/ContentPublicClient.js +16 -104
  71. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  72. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  73. 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 Webhook {
11
12
  constructor(_conf) {
@@ -42,14 +43,6 @@ class Webhook {
42
43
  { body, requestHeaders } = { requestHeaders: {} },
43
44
  { responseHeaders } = { responseHeaders: false }
44
45
  ) {
45
- let invalidInput = [];
46
- if (invalidInput.length) {
47
- const error = new Error();
48
- error.message = "Missing required field";
49
- error.details = invalidInput;
50
- return Promise.reject(new FDKClientValidationError(error));
51
- }
52
-
53
46
  const query_params = {};
54
47
 
55
48
  const xHeaders = {};
@@ -1,4 +1,4 @@
1
- export function convertActionToUrl(action: any): any;
1
+ export function convertActionToUrl(action: any, locale: any): any;
2
2
  export function convertUrlToAction(url: any): {
3
3
  type: string;
4
4
  page: {
@@ -65,7 +65,7 @@ function convertUrlToAction(url) {
65
65
  }
66
66
  }
67
67
 
68
- function convertActionToUrl(action) {
68
+ function convertActionToUrl(action, locale) {
69
69
  if (action && action.page && action.page.type) {
70
70
  switch (action.type) {
71
71
  case utils.NAV_TYPE.PAGE: {
@@ -83,16 +83,16 @@ function convertActionToUrl(action) {
83
83
  item.link +=
84
84
  "/?" + utils.transformRequestOptions(action.page.query);
85
85
  }
86
- return item.link;
86
+ return locale ? `/${locale}${item.link}` : item.link;
87
87
  }
88
- return "";
88
+ return locale ? `/${locale}` : "";
89
89
  }
90
90
  case utils.NAV_TYPE.POPUP: {
91
91
  break;
92
92
  }
93
93
  }
94
94
  } else {
95
- return "";
95
+ return locale ? `/${locale}` : "";
96
96
  }
97
97
  }
98
98
 
@@ -0,0 +1 @@
1
+ export function validateRequiredParams(params: any, requiredParams: any): any[];
@@ -0,0 +1,20 @@
1
+ function validateRequiredParams(params, requiredParams) {
2
+ const errors = [];
3
+ requiredParams.forEach((key) => {
4
+ const value = params[key];
5
+
6
+ // Reject missing or empty values (except for boolean false)
7
+ if (
8
+ value === undefined ||
9
+ value === null ||
10
+ (typeof value !== "boolean" && value === "")
11
+ ) {
12
+ errors.push(`Missing or empty required parameter: ${key}`);
13
+ }
14
+ });
15
+ return errors;
16
+ }
17
+
18
+ module.exports = {
19
+ validateRequiredParams,
20
+ };
@@ -181,6 +181,8 @@ export = CartPlatformModel;
181
181
  * @property {Validity} [validity]
182
182
  * @property {RuleDefinition} [rule_definition]
183
183
  * @property {string} [_id] - Unique identifier of coupon
184
+ * @property {boolean} [is_archived] - Indicates if the coupon is in archived
185
+ * state or not.
184
186
  */
185
187
  /**
186
188
  * @typedef Page
@@ -319,6 +321,7 @@ export = CartPlatformModel;
319
321
  * @property {number[]} [item_exclude_l2_category] - List of all L2 category on
320
322
  * which promotion is not applicable
321
323
  * @property {string[]} [item_sku] - List of all item sku on which promotion is applicable
324
+ * @property {string[]} [item_exclude_product_tags]
322
325
  */
323
326
  /**
324
327
  * @typedef DiscountOffer
@@ -461,6 +464,8 @@ export = CartPlatformModel;
461
464
  * @property {PromotionDateMeta} [date_meta]
462
465
  * @property {string} [_id] - Unique identifier of promotion
463
466
  * @property {string[]} [tags] - List of tags on which promotion is applicable
467
+ * @property {boolean} [is_archived] - Indicates if the promotion is in archived
468
+ * state or not.
464
469
  */
465
470
  /**
466
471
  * @typedef PromotionsResult
@@ -496,6 +501,7 @@ export = CartPlatformModel;
496
501
  * @property {Object} [_custom_json] - Set extra properties in promotion
497
502
  * @property {PromotionDateMeta} [date_meta]
498
503
  * @property {string[]} [tags] - List of tags applicable for promotion
504
+ * @property {string} [_id] - Unique Identifier for promotion.
499
505
  */
500
506
  /**
501
507
  * @typedef PromotionAddResult
@@ -528,6 +534,8 @@ export = CartPlatformModel;
528
534
  * @property {Object} [_custom_json] - Set extra properties in promotion
529
535
  * @property {PromotionDateMeta} [date_meta]
530
536
  * @property {string[]} [tags] - List of tags applicable for promotion
537
+ * @property {boolean} [is_archived] - Indicates if the promotion is in archived
538
+ * state or not.
531
539
  */
532
540
  /**
533
541
  * @typedef PromotionUpdate
@@ -594,6 +602,8 @@ export = CartPlatformModel;
594
602
  * @property {Object} [_custom_json] - Set extra properties in promotion
595
603
  * @property {PromotionDateMeta} [date_meta]
596
604
  * @property {string[]} [tags] - List of tags applicable for promotion
605
+ * @property {boolean} [is_archived] - Indicates if the promotion is in archived
606
+ * state or not.
597
607
  */
598
608
  /**
599
609
  * @typedef PromotionPartialUpdate
@@ -2705,6 +2715,11 @@ type CouponAdd = {
2705
2715
  * - Unique identifier of coupon
2706
2716
  */
2707
2717
  _id?: string;
2718
+ /**
2719
+ * - Indicates if the coupon is in archived
2720
+ * state or not.
2721
+ */
2722
+ is_archived?: boolean;
2708
2723
  };
2709
2724
  /** @returns {Page} */
2710
2725
  declare function Page(): Page;
@@ -3029,6 +3044,7 @@ type ItemCriteria = {
3029
3044
  * - List of all item sku on which promotion is applicable
3030
3045
  */
3031
3046
  item_sku?: string[];
3047
+ item_exclude_product_tags?: string[];
3032
3048
  };
3033
3049
  /** @returns {DiscountOffer} */
3034
3050
  declare function DiscountOffer(): DiscountOffer;
@@ -3378,6 +3394,11 @@ type PromotionListItem = {
3378
3394
  * - List of tags on which promotion is applicable
3379
3395
  */
3380
3396
  tags?: string[];
3397
+ /**
3398
+ * - Indicates if the promotion is in archived
3399
+ * state or not.
3400
+ */
3401
+ is_archived?: boolean;
3381
3402
  };
3382
3403
  /** @returns {PromotionsResult} */
3383
3404
  declare function PromotionsResult(): PromotionsResult;
@@ -3460,6 +3481,10 @@ type PromotionAdd = {
3460
3481
  * - List of tags applicable for promotion
3461
3482
  */
3462
3483
  tags?: string[];
3484
+ /**
3485
+ * - Unique Identifier for promotion.
3486
+ */
3487
+ _id?: string;
3463
3488
  };
3464
3489
  /** @returns {PromotionAddResult} */
3465
3490
  declare function PromotionAddResult(): PromotionAddResult;
@@ -3538,6 +3563,11 @@ type PromotionAddResult = {
3538
3563
  * - List of tags applicable for promotion
3539
3564
  */
3540
3565
  tags?: string[];
3566
+ /**
3567
+ * - Indicates if the promotion is in archived
3568
+ * state or not.
3569
+ */
3570
+ is_archived?: boolean;
3541
3571
  };
3542
3572
  /** @returns {PromotionUpdate} */
3543
3573
  declare function PromotionUpdate(): PromotionUpdate;
@@ -3699,6 +3729,11 @@ type PromotionUpdateResult = {
3699
3729
  * - List of tags applicable for promotion
3700
3730
  */
3701
3731
  tags?: string[];
3732
+ /**
3733
+ * - Indicates if the promotion is in archived
3734
+ * state or not.
3735
+ */
3736
+ is_archived?: boolean;
3702
3737
  };
3703
3738
  /** @returns {PromotionPartialUpdate} */
3704
3739
  declare function PromotionPartialUpdate(): PromotionPartialUpdate;
@@ -203,6 +203,8 @@ const Joi = require("joi");
203
203
  * @property {Validity} [validity]
204
204
  * @property {RuleDefinition} [rule_definition]
205
205
  * @property {string} [_id] - Unique identifier of coupon
206
+ * @property {boolean} [is_archived] - Indicates if the coupon is in archived
207
+ * state or not.
206
208
  */
207
209
 
208
210
  /**
@@ -353,6 +355,7 @@ const Joi = require("joi");
353
355
  * @property {number[]} [item_exclude_l2_category] - List of all L2 category on
354
356
  * which promotion is not applicable
355
357
  * @property {string[]} [item_sku] - List of all item sku on which promotion is applicable
358
+ * @property {string[]} [item_exclude_product_tags]
356
359
  */
357
360
 
358
361
  /**
@@ -510,6 +513,8 @@ const Joi = require("joi");
510
513
  * @property {PromotionDateMeta} [date_meta]
511
514
  * @property {string} [_id] - Unique identifier of promotion
512
515
  * @property {string[]} [tags] - List of tags on which promotion is applicable
516
+ * @property {boolean} [is_archived] - Indicates if the promotion is in archived
517
+ * state or not.
513
518
  */
514
519
 
515
520
  /**
@@ -547,6 +552,7 @@ const Joi = require("joi");
547
552
  * @property {Object} [_custom_json] - Set extra properties in promotion
548
553
  * @property {PromotionDateMeta} [date_meta]
549
554
  * @property {string[]} [tags] - List of tags applicable for promotion
555
+ * @property {string} [_id] - Unique Identifier for promotion.
550
556
  */
551
557
 
552
558
  /**
@@ -580,6 +586,8 @@ const Joi = require("joi");
580
586
  * @property {Object} [_custom_json] - Set extra properties in promotion
581
587
  * @property {PromotionDateMeta} [date_meta]
582
588
  * @property {string[]} [tags] - List of tags applicable for promotion
589
+ * @property {boolean} [is_archived] - Indicates if the promotion is in archived
590
+ * state or not.
583
591
  */
584
592
 
585
593
  /**
@@ -648,6 +656,8 @@ const Joi = require("joi");
648
656
  * @property {Object} [_custom_json] - Set extra properties in promotion
649
657
  * @property {PromotionDateMeta} [date_meta]
650
658
  * @property {string[]} [tags] - List of tags applicable for promotion
659
+ * @property {boolean} [is_archived] - Indicates if the promotion is in archived
660
+ * state or not.
651
661
  */
652
662
 
653
663
  /**
@@ -2696,6 +2706,7 @@ class CartPlatformModel {
2696
2706
  validity: CartPlatformModel.Validity(),
2697
2707
  rule_definition: CartPlatformModel.RuleDefinition(),
2698
2708
  _id: Joi.string().allow(""),
2709
+ is_archived: Joi.boolean(),
2699
2710
  });
2700
2711
  }
2701
2712
 
@@ -2846,6 +2857,7 @@ class CartPlatformModel {
2846
2857
  item_tags: Joi.array().items(Joi.string().allow("")),
2847
2858
  item_exclude_l2_category: Joi.array().items(Joi.number()),
2848
2859
  item_sku: Joi.array().items(Joi.string().allow("")),
2860
+ item_exclude_product_tags: Joi.array().items(Joi.string().allow("")),
2849
2861
  });
2850
2862
  }
2851
2863
 
@@ -3021,6 +3033,7 @@ class CartPlatformModel {
3021
3033
  date_meta: CartPlatformModel.PromotionDateMeta(),
3022
3034
  _id: Joi.string().allow(""),
3023
3035
  tags: Joi.array().items(Joi.string().allow("")),
3036
+ is_archived: Joi.boolean(),
3024
3037
  });
3025
3038
  }
3026
3039
 
@@ -3058,6 +3071,7 @@ class CartPlatformModel {
3058
3071
  _custom_json: Joi.object().pattern(/\S/, Joi.any()),
3059
3072
  date_meta: CartPlatformModel.PromotionDateMeta(),
3060
3073
  tags: Joi.array().items(Joi.string().allow("")),
3074
+ _id: Joi.string().allow(""),
3061
3075
  });
3062
3076
  }
3063
3077
 
@@ -3088,6 +3102,7 @@ class CartPlatformModel {
3088
3102
  _custom_json: Joi.object().pattern(/\S/, Joi.any()),
3089
3103
  date_meta: CartPlatformModel.PromotionDateMeta(),
3090
3104
  tags: Joi.array().items(Joi.string().allow("")),
3105
+ is_archived: Joi.boolean(),
3091
3106
  });
3092
3107
  }
3093
3108
 
@@ -3149,6 +3164,7 @@ class CartPlatformModel {
3149
3164
  _custom_json: Joi.object().pattern(/\S/, Joi.any()),
3150
3165
  date_meta: CartPlatformModel.PromotionDateMeta(),
3151
3166
  tags: Joi.array().items(Joi.string().allow("")),
3167
+ is_archived: Joi.boolean(),
3152
3168
  });
3153
3169
  }
3154
3170
 
@@ -102,6 +102,7 @@ export = CatalogPlatformModel;
102
102
  * @property {string} [name] - Name of the application.
103
103
  * @property {number} priority - Defines the priority level for this
104
104
  * configuration, with 1 being the highest.
105
+ * @property {ApplicationItemSEO} [seo]
105
106
  */
106
107
  /**
107
108
  * @typedef ApplicationBrandJson
@@ -1559,6 +1560,7 @@ export = CatalogPlatformModel;
1559
1560
  * @property {string} [slug] - A URL-friendly identifier for the configuration group.
1560
1561
  * @property {string[]} [template_slugs] - A list of template slugs associated
1561
1562
  * with this configuration.
1563
+ * @property {ApplicationItemSEO} [seo]
1562
1564
  */
1563
1565
  /**
1564
1566
  * @typedef AttributeConfig
@@ -4508,6 +4510,7 @@ type AppConfigurationsSort = {
4508
4510
  * configuration, with 1 being the highest.
4509
4511
  */
4510
4512
  priority: number;
4513
+ seo?: ApplicationItemSEO;
4511
4514
  };
4512
4515
  /** @returns {ApplicationBrandJson} */
4513
4516
  declare function ApplicationBrandJson(): ApplicationBrandJson;
@@ -7501,6 +7504,7 @@ type ConfigItem = {
7501
7504
  * with this configuration.
7502
7505
  */
7503
7506
  template_slugs?: string[];
7507
+ seo?: ApplicationItemSEO;
7504
7508
  };
7505
7509
  /** @returns {AttributeConfig} */
7506
7510
  declare function AttributeConfig(): AttributeConfig;
@@ -111,6 +111,7 @@ const Joi = require("joi");
111
111
  * @property {string} [name] - Name of the application.
112
112
  * @property {number} priority - Defines the priority level for this
113
113
  * configuration, with 1 being the highest.
114
+ * @property {ApplicationItemSEO} [seo]
114
115
  */
115
116
 
116
117
  /**
@@ -1718,6 +1719,7 @@ const Joi = require("joi");
1718
1719
  * @property {string} [slug] - A URL-friendly identifier for the configuration group.
1719
1720
  * @property {string[]} [template_slugs] - A list of template slugs associated
1720
1721
  * with this configuration.
1722
+ * @property {ApplicationItemSEO} [seo]
1721
1723
  */
1722
1724
 
1723
1725
  /**
@@ -4826,6 +4828,7 @@ class CatalogPlatformModel {
4826
4828
  logo: Joi.string().allow(""),
4827
4829
  name: Joi.string().allow(""),
4828
4830
  priority: Joi.number().required(),
4831
+ seo: CatalogPlatformModel.ApplicationItemSEO(),
4829
4832
  });
4830
4833
  }
4831
4834
 
@@ -6572,6 +6575,7 @@ class CatalogPlatformModel {
6572
6575
  priority: Joi.number(),
6573
6576
  slug: Joi.string().allow(""),
6574
6577
  template_slugs: Joi.array().items(Joi.string().allow("")),
6578
+ seo: CatalogPlatformModel.ApplicationItemSEO(),
6575
6579
  });
6576
6580
  }
6577
6581
 
@@ -177,6 +177,17 @@ declare class Content {
177
177
  * @description: Use this API to Create SEO Markup Schema - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createSEOMarkupSchema/).
178
178
  */
179
179
  createSEOMarkupSchema({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateSEOMarkupSchemaParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SEOSchemaMarkupTemplate>;
180
+ /**
181
+ * @param {ContentPlatformApplicationValidator.CreateSitemapParam} arg - Arg object
182
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
183
+ * @param {import("../PlatformAPIClient").Options} - Options
184
+ * @returns {Promise<ContentPlatformModel.SitemapConfig>} - Success response
185
+ * @name createSitemap
186
+ * @summary: Create a new sitemap configuration
187
+ * @description: Create a new sitemap configuration for a specific company and application. The name must be unique within the scope of the application. The sitemap XML data must be valid XML following the sitemap protocol specification. Once created, the configuration can be activated or deactivated using the is_active flag.
188
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createSitemap/).
189
+ */
190
+ createSitemap({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateSitemapParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SitemapConfig>;
180
191
  /**
181
192
  * @param {ContentPlatformApplicationValidator.CreateSlideshowParam} arg - Arg object
182
193
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -337,6 +348,17 @@ declare class Content {
337
348
  * @description: Use this API to Delete SEO Markup Schema - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteSEOMarkupSchema/).
338
349
  */
339
350
  deleteSEOMarkupSchema({ id, requestHeaders }?: ContentPlatformApplicationValidator.DeleteSEOMarkupSchemaParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SEOSchemaMarkupTemplate>;
351
+ /**
352
+ * @param {ContentPlatformApplicationValidator.DeleteSitemapParam} arg - Arg object
353
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
354
+ * @param {import("../PlatformAPIClient").Options} - Options
355
+ * @returns {Promise<ContentPlatformModel.SitemapConfig>} - Success response
356
+ * @name deleteSitemap
357
+ * @summary: Delete a specific sitemap configuration
358
+ * @description: Permanently delete a sitemap configuration identified by its name. This action cannot be undone. All associated data including the sitemap XML data will be removed.
359
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteSitemap/).
360
+ */
361
+ deleteSitemap({ name, requestHeaders }?: ContentPlatformApplicationValidator.DeleteSitemapParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SitemapConfig>;
340
362
  /**
341
363
  * @param {ContentPlatformApplicationValidator.DeleteSlideshowParam} arg - Arg object
342
364
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -637,6 +659,18 @@ declare class Content {
637
659
  * @description: Use this API to List default SEO Markup Schemas - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getDefaultSEOMarkupSchema/).
638
660
  */
639
661
  getDefaultSEOMarkupSchema({ pageType, requestHeaders }?: ContentPlatformApplicationValidator.GetDefaultSEOMarkupSchemaParam, { responseHeaders }?: object): Promise<ContentPlatformModel.DefaultSchemaComponent>;
662
+ /**
663
+ * @param {ContentPlatformApplicationValidator.GetDefaultSitemapConfigParam} arg
664
+ * - Arg object
665
+ *
666
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
667
+ * @param {import("../PlatformAPIClient").Options} - Options
668
+ * @returns {Promise<ContentPlatformModel.DefaultSitemapConfig>} - Success response
669
+ * @name getDefaultSitemapConfig
670
+ * @summary: Get default sitemap configuration
671
+ * @description: Retrieves the current default sitemap configuration settings - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getDefaultSitemapConfig/).
672
+ */
673
+ getDefaultSitemapConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.DefaultSitemapConfig>;
640
674
  /**
641
675
  * @param {ContentPlatformApplicationValidator.GetFaqByIdOrSlugParam} arg - Arg object
642
676
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -838,6 +872,29 @@ declare class Content {
838
872
  * @description: Use this API to List default SEO Markup Schemas - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSEOMarkupSchemas/).
839
873
  */
840
874
  getSEOMarkupSchemas({ title, active, pageNo, pageSize, requestHeaders }?: ContentPlatformApplicationValidator.GetSEOMarkupSchemasParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SeoSchemaComponent>;
875
+ /**
876
+ * @param {ContentPlatformApplicationValidator.GetSitemapParam} arg - Arg object
877
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
878
+ * @param {import("../PlatformAPIClient").Options} - Options
879
+ * @returns {Promise<ContentPlatformModel.SitemapConfig>} - Success response
880
+ * @name getSitemap
881
+ * @summary: Get a specific sitemap configuration
882
+ * @description: Retrieve a specific sitemap configuration by its name. Returns the complete configuration including the sitemap XML data, activation status, and timestamps.
883
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSitemap/).
884
+ */
885
+ getSitemap({ name, requestHeaders }?: ContentPlatformApplicationValidator.GetSitemapParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SitemapConfig>;
886
+ /**
887
+ * @param {ContentPlatformApplicationValidator.GetSitemapsParam} arg - Arg object
888
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
889
+ * @param {import("../PlatformAPIClient").Options} - Options
890
+ * @returns {Promise<ContentPlatformModel.SitemapConfigurationList>} -
891
+ * Success response
892
+ * @name getSitemaps
893
+ * @summary: List sitemap configurations
894
+ * @description: Retrieve a list of sitemap configurations for a specific company and application. Each configuration contains the sitemap XML data and its activation status.
895
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSitemaps/).
896
+ */
897
+ getSitemaps({ pageNo, pageSize, isActive, name, requestHeaders }?: ContentPlatformApplicationValidator.GetSitemapsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SitemapConfigurationList>;
841
898
  /**
842
899
  * @param {ContentPlatformApplicationValidator.GetSlideshowBySlugParam} arg
843
900
  * - Arg object
@@ -1023,6 +1080,18 @@ declare class Content {
1023
1080
  * @description: Modify the content and settings of a specific blog. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateBlog/).
1024
1081
  */
1025
1082
  updateBlog({ id, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateBlogParam, { responseHeaders }?: object): Promise<ContentPlatformModel.BlogSchema>;
1083
+ /**
1084
+ * @param {ContentPlatformApplicationValidator.UpdateDefaultSitemapConfigParam} arg
1085
+ * - Arg object
1086
+ *
1087
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1088
+ * @param {import("../PlatformAPIClient").Options} - Options
1089
+ * @returns {Promise<ContentPlatformModel.DefaultSitemapConfig>} - Success response
1090
+ * @name updateDefaultSitemapConfig
1091
+ * @summary: Update default sitemap configuration
1092
+ * @description: Updates the default sitemap configuration settings - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateDefaultSitemapConfig/).
1093
+ */
1094
+ updateDefaultSitemapConfig({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateDefaultSitemapConfigParam, { responseHeaders }?: object): Promise<ContentPlatformModel.DefaultSitemapConfig>;
1026
1095
  /**
1027
1096
  * @param {ContentPlatformApplicationValidator.UpdateFaqParam} arg - Arg object
1028
1097
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -1137,6 +1206,17 @@ declare class Content {
1137
1206
  * @description: Modify configuration settings for SEO. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSEOConfiguration/).
1138
1207
  */
1139
1208
  updateSEOConfiguration({ body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSEOConfigurationParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SeoSchema>;
1209
+ /**
1210
+ * @param {ContentPlatformApplicationValidator.UpdateSitemapParam} arg - Arg object
1211
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1212
+ * @param {import("../PlatformAPIClient").Options} - Options
1213
+ * @returns {Promise<ContentPlatformModel.SitemapConfig>} - Success response
1214
+ * @name updateSitemap
1215
+ * @summary: Update a specific sitemap configuration
1216
+ * @description: Update an existing sitemap configuration identified by its name. You can update the activation status and/or the sitemap XML data. The name cannot be modified once the configuration is created. The updated sitemap XML data must be valid XML following the sitemap protocol specification.
1217
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSitemap/).
1218
+ */
1219
+ updateSitemap({ name, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSitemapParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SitemapConfig>;
1140
1220
  /**
1141
1221
  * @param {ContentPlatformApplicationValidator.UpdateSlideshowParam} arg - Arg object
1142
1222
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`