@gofynd/fdk-client-javascript 3.19.0 → 3.21.0

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 (41) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +2 -2
  6. package/sdk/application/Cart/CartApplicationClient.js +12 -4
  7. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
  8. package/sdk/partner/Logistics/LogisticsPartnerClient.js +11 -3
  9. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +1 -0
  10. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +5 -5
  11. package/sdk/platform/Cart/CartPlatformApplicationClient.js +50 -7
  12. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +69 -10
  13. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +30 -5
  14. package/sdk/platform/Cart/CartPlatformModel.d.ts +97 -72
  15. package/sdk/platform/Cart/CartPlatformModel.js +54 -35
  16. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
  17. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1 -1
  18. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +17 -11
  19. package/sdk/platform/Catalog/CatalogPlatformClient.js +18 -12
  20. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +353 -156
  21. package/sdk/platform/Catalog/CatalogPlatformModel.js +176 -87
  22. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -38
  23. package/sdk/platform/Catalog/CatalogPlatformValidator.js +22 -21
  24. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -1
  25. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1 -1
  26. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +9 -0
  27. package/sdk/platform/Communication/CommunicationPlatformModel.js +4 -0
  28. package/sdk/platform/Content/ContentPlatformModel.d.ts +7 -7
  29. package/sdk/platform/Content/ContentPlatformModel.js +5 -5
  30. package/sdk/platform/Order/OrderPlatformModel.d.ts +2 -2
  31. package/sdk/platform/Order/OrderPlatformModel.js +1 -1
  32. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
  33. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +12 -3
  34. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +5 -0
  35. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -0
  36. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +4 -2
  37. package/sdk/platform/User/UserPlatformApplicationClient.js +9 -5
  38. package/sdk/platform/User/UserPlatformModel.d.ts +17 -1
  39. package/sdk/platform/User/UserPlatformModel.js +17 -1
  40. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +0 -19
  41. package/sdk/application/Webhook/WebhookApplicationClient.js +0 -72
@@ -75,7 +75,7 @@ export = CatalogPlatformValidator;
75
75
  */
76
76
  /**
77
77
  * @typedef CreateTaxVersionParam
78
- * @property {string} ruleId - The ID of the tax rule.
78
+ * @property {string} ruleId - Unique identifier of the tax rule
79
79
  * @property {CatalogPlatformModel.CreateTaxVersionRequestBody} body
80
80
  */
81
81
  /**
@@ -104,12 +104,12 @@ export = CatalogPlatformValidator;
104
104
  */
105
105
  /**
106
106
  * @typedef DeleteTaxRuleParam
107
- * @property {string} ruleId - The ID of the tax rule to be deleted.
107
+ * @property {string} ruleId - Unique identifier of the tax rule to be deleted
108
108
  */
109
109
  /**
110
110
  * @typedef DeleteTaxVersionParam
111
- * @property {string} ruleId - The ID of the tax rule to be deleted.
112
- * @property {string} versionId - The ID of the tax version to be deleted.
111
+ * @property {string} ruleId - Unique identifier of the tax rule to be deleted
112
+ * @property {string} versionId - Unique identifier of the tax version to be deleted
113
113
  */
114
114
  /**
115
115
  * @typedef DownloadInventoryTemplateViewParam
@@ -143,11 +143,12 @@ export = CatalogPlatformValidator;
143
143
  */
144
144
  /**
145
145
  * @typedef GetAllTaxRulesParam
146
- * @property {string} [q] - The search query to filter tax rules.
147
- * @property {string} [statuses] - The status of the tax rules to filter.
148
- * @property {number} [page] - The page number to retrieve.
149
- * @property {number} [limit] - The number of items per page.
150
- * @property {string} [versionStatus] - The status of the tax rule versions to filter.
146
+ * @property {string} [q] - Search query to filter tax rules
147
+ * @property {string} [statuses] - Filter tax rules based on their lifecycle status.
148
+ * @property {number} [page] - The page number to retrieve
149
+ * @property {number} [limit] - Maximum number of tax rule items per page
150
+ * @property {string} [versionStatus] - Filter tax rules to include only those
151
+ * with versions in the specified status.
151
152
  */
152
153
  /**
153
154
  * @typedef GetAttributeParam
@@ -178,7 +179,7 @@ export = CatalogPlatformValidator;
178
179
  * @typedef GetHsCodesParam
179
180
  * @property {number} [page] - The page number for pagination.
180
181
  * @property {number} [limit] - The number of items to return per page.
181
- * @property {CatalogPlatformModel.HsTypeEnum} [type] - Filter by HS/SAC code type.
182
+ * @property {string} [type] - Filter by HS/SAC code type.
182
183
  * @property {string} [q] - Search query to filter HS/SAC codes by code or description.
183
184
  */
184
185
  /**
@@ -363,12 +364,12 @@ export = CatalogPlatformValidator;
363
364
  /** @typedef GetTaxComponentNamesParam */
364
365
  /**
365
366
  * @typedef GetTaxVersionDetailsParam
366
- * @property {string} ruleId - The ID of the tax rule.
367
- * @property {string} [versionStatus] - Filter by tax version status.
368
- * @property {string} [q] - Case-insensitive search by region name (e.g., "raj",
369
- * "New York") to find matching tax versions.
367
+ * @property {string} ruleId - Unique identifier of the tax rule
368
+ * @property {string} [versionStatus] - Filter by tax version status
369
+ * @property {string} [q] - Case-insensitive search by region name (e.g.,
370
+ * "john", "New York") to find matching tax versions
370
371
  * @property {string} [limit] - The number of items to return per page for
371
- * paginated past versions.
372
+ * paginated past versions
372
373
  * @property {string} [page] - The page number for paginated past versions.
373
374
  */
374
375
  /**
@@ -476,7 +477,7 @@ export = CatalogPlatformValidator;
476
477
  */
477
478
  /**
478
479
  * @typedef UpdateMarketplaceOptinParam
479
- * @property {string} marketplaceSlug - Slug of the marketplace .
480
+ * @property {string} marketplaceSlug - Slug of the marketplace.
480
481
  * @property {CatalogPlatformModel.UpdateMarketplaceOptinRequestSchema} body
481
482
  */
482
483
  /**
@@ -493,13 +494,13 @@ export = CatalogPlatformValidator;
493
494
  */
494
495
  /**
495
496
  * @typedef UpdateTaxRuleParam
496
- * @property {string} ruleId - Tax rule id that you want to update.
497
+ * @property {string} ruleId - Unique identifier of the tax rule to update
497
498
  * @property {CatalogPlatformModel.UpdateTaxRequestBody} body
498
499
  */
499
500
  /**
500
501
  * @typedef UpdateTaxVersionParam
501
- * @property {string} ruleId - The ID of the tax rule to be updated.
502
- * @property {string} versionId - The ID of the tax version to be updated.
502
+ * @property {string} ruleId - Unique identifier of the tax rule to be updated
503
+ * @property {string} versionId - Unique identifier of the tax version to be updated
503
504
  * @property {CatalogPlatformModel.UpdateTaxVersionRequestBody} body
504
505
  */
505
506
  /**
@@ -777,7 +778,7 @@ type CreateTaxComponentNameParam = {
777
778
  };
778
779
  type CreateTaxVersionParam = {
779
780
  /**
780
- * - The ID of the tax rule.
781
+ * - Unique identifier of the tax rule
781
782
  */
782
783
  ruleId: string;
783
784
  body: CatalogPlatformModel.CreateTaxVersionRequestBody;
@@ -824,17 +825,17 @@ type DeleteSizeParam = {
824
825
  };
825
826
  type DeleteTaxRuleParam = {
826
827
  /**
827
- * - The ID of the tax rule to be deleted.
828
+ * - Unique identifier of the tax rule to be deleted
828
829
  */
829
830
  ruleId: string;
830
831
  };
831
832
  type DeleteTaxVersionParam = {
832
833
  /**
833
- * - The ID of the tax rule to be deleted.
834
+ * - Unique identifier of the tax rule to be deleted
834
835
  */
835
836
  ruleId: string;
836
837
  /**
837
- * - The ID of the tax version to be deleted.
838
+ * - Unique identifier of the tax version to be deleted
838
839
  */
839
840
  versionId: string;
840
841
  };
@@ -898,23 +899,24 @@ type GetAllProductHsnCodesParam = {
898
899
  };
899
900
  type GetAllTaxRulesParam = {
900
901
  /**
901
- * - The search query to filter tax rules.
902
+ * - Search query to filter tax rules
902
903
  */
903
904
  q?: string;
904
905
  /**
905
- * - The status of the tax rules to filter.
906
+ * - Filter tax rules based on their lifecycle status.
906
907
  */
907
908
  statuses?: string;
908
909
  /**
909
- * - The page number to retrieve.
910
+ * - The page number to retrieve
910
911
  */
911
912
  page?: number;
912
913
  /**
913
- * - The number of items per page.
914
+ * - Maximum number of tax rule items per page
914
915
  */
915
916
  limit?: number;
916
917
  /**
917
- * - The status of the tax rule versions to filter.
918
+ * - Filter tax rules to include only those
919
+ * with versions in the specified status.
918
920
  */
919
921
  versionStatus?: string;
920
922
  };
@@ -973,7 +975,7 @@ type GetHsCodesParam = {
973
975
  /**
974
976
  * - Filter by HS/SAC code type.
975
977
  */
976
- type?: CatalogPlatformModel.HsTypeEnum;
978
+ type?: string;
977
979
  /**
978
980
  * - Search query to filter HS/SAC codes by code or description.
979
981
  */
@@ -1390,21 +1392,21 @@ type GetStoreDetailParam = {
1390
1392
  };
1391
1393
  type GetTaxVersionDetailsParam = {
1392
1394
  /**
1393
- * - The ID of the tax rule.
1395
+ * - Unique identifier of the tax rule
1394
1396
  */
1395
1397
  ruleId: string;
1396
1398
  /**
1397
- * - Filter by tax version status.
1399
+ * - Filter by tax version status
1398
1400
  */
1399
1401
  versionStatus?: string;
1400
1402
  /**
1401
- * - Case-insensitive search by region name (e.g., "raj",
1402
- * "New York") to find matching tax versions.
1403
+ * - Case-insensitive search by region name (e.g.,
1404
+ * "john", "New York") to find matching tax versions
1403
1405
  */
1404
1406
  q?: string;
1405
1407
  /**
1406
1408
  * - The number of items to return per page for
1407
- * paginated past versions.
1409
+ * paginated past versions
1408
1410
  */
1409
1411
  limit?: string;
1410
1412
  /**
@@ -1617,7 +1619,7 @@ type UpdateLocationQuantityParam = {
1617
1619
  };
1618
1620
  type UpdateMarketplaceOptinParam = {
1619
1621
  /**
1620
- * - Slug of the marketplace .
1622
+ * - Slug of the marketplace.
1621
1623
  */
1622
1624
  marketplaceSlug: string;
1623
1625
  body: CatalogPlatformModel.UpdateMarketplaceOptinRequestSchema;
@@ -1643,18 +1645,18 @@ type UpdateSizeGuideParam = {
1643
1645
  };
1644
1646
  type UpdateTaxRuleParam = {
1645
1647
  /**
1646
- * - Tax rule id that you want to update.
1648
+ * - Unique identifier of the tax rule to update
1647
1649
  */
1648
1650
  ruleId: string;
1649
1651
  body: CatalogPlatformModel.UpdateTaxRequestBody;
1650
1652
  };
1651
1653
  type UpdateTaxVersionParam = {
1652
1654
  /**
1653
- * - The ID of the tax rule to be updated.
1655
+ * - Unique identifier of the tax rule to be updated
1654
1656
  */
1655
1657
  ruleId: string;
1656
1658
  /**
1657
- * - The ID of the tax version to be updated.
1659
+ * - Unique identifier of the tax version to be updated
1658
1660
  */
1659
1661
  versionId: string;
1660
1662
  body: CatalogPlatformModel.UpdateTaxVersionRequestBody;
@@ -95,7 +95,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
95
95
 
96
96
  /**
97
97
  * @typedef CreateTaxVersionParam
98
- * @property {string} ruleId - The ID of the tax rule.
98
+ * @property {string} ruleId - Unique identifier of the tax rule
99
99
  * @property {CatalogPlatformModel.CreateTaxVersionRequestBody} body
100
100
  */
101
101
 
@@ -130,13 +130,13 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
130
130
 
131
131
  /**
132
132
  * @typedef DeleteTaxRuleParam
133
- * @property {string} ruleId - The ID of the tax rule to be deleted.
133
+ * @property {string} ruleId - Unique identifier of the tax rule to be deleted
134
134
  */
135
135
 
136
136
  /**
137
137
  * @typedef DeleteTaxVersionParam
138
- * @property {string} ruleId - The ID of the tax rule to be deleted.
139
- * @property {string} versionId - The ID of the tax version to be deleted.
138
+ * @property {string} ruleId - Unique identifier of the tax rule to be deleted
139
+ * @property {string} versionId - Unique identifier of the tax version to be deleted
140
140
  */
141
141
 
142
142
  /**
@@ -176,11 +176,12 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
176
176
 
177
177
  /**
178
178
  * @typedef GetAllTaxRulesParam
179
- * @property {string} [q] - The search query to filter tax rules.
180
- * @property {string} [statuses] - The status of the tax rules to filter.
181
- * @property {number} [page] - The page number to retrieve.
182
- * @property {number} [limit] - The number of items per page.
183
- * @property {string} [versionStatus] - The status of the tax rule versions to filter.
179
+ * @property {string} [q] - Search query to filter tax rules
180
+ * @property {string} [statuses] - Filter tax rules based on their lifecycle status.
181
+ * @property {number} [page] - The page number to retrieve
182
+ * @property {number} [limit] - Maximum number of tax rule items per page
183
+ * @property {string} [versionStatus] - Filter tax rules to include only those
184
+ * with versions in the specified status.
184
185
  */
185
186
 
186
187
  /**
@@ -218,7 +219,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
218
219
  * @typedef GetHsCodesParam
219
220
  * @property {number} [page] - The page number for pagination.
220
221
  * @property {number} [limit] - The number of items to return per page.
221
- * @property {CatalogPlatformModel.HsTypeEnum} [type] - Filter by HS/SAC code type.
222
+ * @property {string} [type] - Filter by HS/SAC code type.
222
223
  * @property {string} [q] - Search query to filter HS/SAC codes by code or description.
223
224
  */
224
225
 
@@ -427,12 +428,12 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
427
428
 
428
429
  /**
429
430
  * @typedef GetTaxVersionDetailsParam
430
- * @property {string} ruleId - The ID of the tax rule.
431
- * @property {string} [versionStatus] - Filter by tax version status.
432
- * @property {string} [q] - Case-insensitive search by region name (e.g., "raj",
433
- * "New York") to find matching tax versions.
431
+ * @property {string} ruleId - Unique identifier of the tax rule
432
+ * @property {string} [versionStatus] - Filter by tax version status
433
+ * @property {string} [q] - Case-insensitive search by region name (e.g.,
434
+ * "john", "New York") to find matching tax versions
434
435
  * @property {string} [limit] - The number of items to return per page for
435
- * paginated past versions.
436
+ * paginated past versions
436
437
  * @property {string} [page] - The page number for paginated past versions.
437
438
  */
438
439
 
@@ -555,7 +556,7 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
555
556
 
556
557
  /**
557
558
  * @typedef UpdateMarketplaceOptinParam
558
- * @property {string} marketplaceSlug - Slug of the marketplace .
559
+ * @property {string} marketplaceSlug - Slug of the marketplace.
559
560
  * @property {CatalogPlatformModel.UpdateMarketplaceOptinRequestSchema} body
560
561
  */
561
562
 
@@ -575,14 +576,14 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
575
576
 
576
577
  /**
577
578
  * @typedef UpdateTaxRuleParam
578
- * @property {string} ruleId - Tax rule id that you want to update.
579
+ * @property {string} ruleId - Unique identifier of the tax rule to update
579
580
  * @property {CatalogPlatformModel.UpdateTaxRequestBody} body
580
581
  */
581
582
 
582
583
  /**
583
584
  * @typedef UpdateTaxVersionParam
584
- * @property {string} ruleId - The ID of the tax rule to be updated.
585
- * @property {string} versionId - The ID of the tax version to be updated.
585
+ * @property {string} ruleId - Unique identifier of the tax rule to be updated
586
+ * @property {string} versionId - Unique identifier of the tax version to be updated
586
587
  * @property {CatalogPlatformModel.UpdateTaxVersionRequestBody} body
587
588
  */
588
589
 
@@ -900,7 +901,7 @@ class CatalogPlatformValidator {
900
901
  return Joi.object({
901
902
  page: Joi.number(),
902
903
  limit: Joi.number(),
903
- type: CatalogPlatformModel.HsTypeEnum(),
904
+ type: Joi.string().allow(""),
904
905
  q: Joi.string().allow(""),
905
906
  }).required();
906
907
  }
@@ -944,7 +945,7 @@ class CatalogPlatformValidator {
944
945
  startDate: Joi.string().allow(""),
945
946
  endDate: Joi.string().allow(""),
946
947
  stage: Joi.string().allow(""),
947
- tags: Joi.string().allow(""),
948
+ tags: Joi.string().allow("").allow(null),
948
949
  }).required();
949
950
  }
950
951
 
@@ -646,7 +646,7 @@ declare class Communication {
646
646
  * @returns {Promise<CommunicationPlatformModel.AppProvider>} - Success response
647
647
  * @name updateAppProviders
648
648
  * @summary: Update application providers
649
- * @description: Modify provider configuration using provider object id . - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/communication/updateAppProviders/).
649
+ * @description: Modify provider configuration using provider object id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/communication/updateAppProviders/).
650
650
  */
651
651
  updateAppProviders({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.UpdateAppProvidersParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.AppProvider>;
652
652
  /**
@@ -4330,7 +4330,7 @@ class Communication {
4330
4330
  * @returns {Promise<CommunicationPlatformModel.AppProvider>} - Success response
4331
4331
  * @name updateAppProviders
4332
4332
  * @summary: Update application providers
4333
- * @description: Modify provider configuration using provider object id . - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/communication/updateAppProviders/).
4333
+ * @description: Modify provider configuration using provider object id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/communication/updateAppProviders/).
4334
4334
  */
4335
4335
  async updateAppProviders(
4336
4336
  { body, requestHeaders } = { requestHeaders: {} },
@@ -625,6 +625,9 @@ export = CommunicationPlatformModel;
625
625
  * @property {string} [mobile]
626
626
  * @property {string} [country_code]
627
627
  * @property {string} [to]
628
+ * @property {Object} [additional_template_variables] - Additional key-value
629
+ * pairs for personalizing message content. Values can be of any type and will
630
+ * be substituted into the communication templates when rendering the message.
628
631
  */
629
632
  /**
630
633
  * @typedef SendOtpCommsReqSms
@@ -1666,6 +1669,12 @@ type SendOtpCommsReqData = {
1666
1669
  mobile?: string;
1667
1670
  country_code?: string;
1668
1671
  to?: string;
1672
+ /**
1673
+ * - Additional key-value
1674
+ * pairs for personalizing message content. Values can be of any type and will
1675
+ * be substituted into the communication templates when rendering the message.
1676
+ */
1677
+ additional_template_variables?: any;
1669
1678
  };
1670
1679
  /** @returns {SendOtpCommsReqSms} */
1671
1680
  declare function SendOtpCommsReqSms(): SendOtpCommsReqSms;
@@ -715,6 +715,9 @@ const Joi = require("joi");
715
715
  * @property {string} [mobile]
716
716
  * @property {string} [country_code]
717
717
  * @property {string} [to]
718
+ * @property {Object} [additional_template_variables] - Additional key-value
719
+ * pairs for personalizing message content. Values can be of any type and will
720
+ * be substituted into the communication templates when rendering the message.
718
721
  */
719
722
 
720
723
  /**
@@ -1940,6 +1943,7 @@ class CommunicationPlatformModel {
1940
1943
  mobile: Joi.string().allow(""),
1941
1944
  country_code: Joi.string().allow(""),
1942
1945
  to: Joi.string().allow(""),
1946
+ additional_template_variables: Joi.object().pattern(/\S/, Joi.any()),
1943
1947
  });
1944
1948
  }
1945
1949
 
@@ -1471,7 +1471,7 @@ export = ContentPlatformModel;
1471
1471
  * @property {Author} [author]
1472
1472
  * @property {Title} [title]
1473
1473
  * @property {FeatureImage} [feature_image]
1474
- * @property {Seo} [seo]
1474
+ * @property {SeoTranslate} [seo]
1475
1475
  */
1476
1476
  /**
1477
1477
  * @typedef ResourceBulkDetails
@@ -1487,7 +1487,7 @@ export = ContentPlatformModel;
1487
1487
  * @property {string} [secure_url] - URL of the secure image
1488
1488
  */
1489
1489
  /**
1490
- * @typedef Seo
1490
+ * @typedef SeoTranslate
1491
1491
  * @property {Title} [title]
1492
1492
  * @property {string} [description]
1493
1493
  * @property {string} [canonical_url]
@@ -1629,7 +1629,7 @@ export = ContentPlatformModel;
1629
1629
  declare class ContentPlatformModel {
1630
1630
  }
1631
1631
  declare namespace ContentPlatformModel {
1632
- export { ValidationError, GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogPayload, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, TemplateSchema, TemplateField, CreateTagRequestSchema, DataLoaderSchema, TagsTemplateSchema, TagTemplateItem, TemplateLayout, FieldDefinition, FieldValidation, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessDetails, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetDetails, LandingPageSchema, DefaultNavigationDetails, NavigationGetDetails, Orientation, NavigationSchema, NavigationPayload, PageGetDetails, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PagePayload, CronSchedule, PagePublishPayload, PageMetaSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, MetaFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsDeleteSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectDefinitionSlugSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadDetails, CustomObjectListItemDefinitionModel, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldDefinition, CustomObjectBySlugSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, JobSchema, CustomFieldBulkEntry, CustomObjectBulkEntry, MetafieldTypesSchema, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, Duration, HTML, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectEntryFieldSchemaWithoutID, CustomObjectRequestSchema, CustomObjectRequestSchemaWithoutId, CustomObjectBulkSchema, ActionPage, TranslateUiLabels, TranslateUiLabelsCreate, StaticResourceUpdate, TranslateUiLabelsPage, Error, Meta, CompanyLanguage, CompanyLanguageCreate, CompanyLanguageUpdate, ApplicationLanguage, unPublishApplicationLanguage, ApplicationLanguageCreate, ApplicationLanguageUpdate, TranslatableResource, ResourceDefinition, ResourceJsonSchema, ResourceJsonSchemaType, ResourceUISchema, ResourceBulkDetails, Title, FeatureImage, Seo, MetaTag, MetaTagItem, ResourceTranslation, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
1632
+ export { ValidationError, GenerateSEOContent, GeneratedSEOContent, ApplicationLegal, ApplicationLegalFAQ, PathMappingSchema, PathSourceSchema, SeoComponent, SeoSchema, CustomMetaTag, Detail, SeoSchemaComponent, SEOSchemaMarkupTemplate, SEOSchemaMarkupTemplateRequestBody, AnnouncementPageSchema, EditorMeta, AnnouncementAuthorSchema, AdminAnnouncementSchema, DefaultSchemaComponent, DefaultSEOSchemaMarkupTemplate, ScheduleSchema, NextSchedule, BlogGetDetails, BlogFilters, ResourceContent, Asset, Author, BlogSchema, SEO, SEOImage, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, DateMeta, BlogPayload, GetAnnouncementListSchema, CreateAnnouncementSchema, DataLoaderResponseSchema, DataLoaderResetResponseSchema, LocaleLanguage, Language, Action, NavigationReference, CronBasedScheduleSchema, UpdateHandpickedSchema, HandpickedTagSchema, RemoveHandpickedSchema, CreateTagSchema, TemplateSchema, TemplateField, CreateTagRequestSchema, DataLoaderSchema, TagsTemplateSchema, TagTemplateItem, TemplateLayout, FieldDefinition, FieldValidation, DataLoaderSourceSchema, DataLoadersSchema, TagDeleteSuccessDetails, ContentAPIError, CommonError, CategorySchema, ChildrenSchema, CategoryRequestSchema, FAQCategorySchema, FaqSchema, FAQ, CreateFaqResponseSchema, CreateFaqSchema, GetFaqSchema, UpdateFaqCategoryRequestSchema, CreateFaqCategoryRequestSchema, CreateFaqCategorySchema, GetFaqCategoriesSchema, GetFaqCategoryBySlugSchema, Page, LandingPageGetDetails, LandingPageSchema, DefaultNavigationDetails, NavigationGetDetails, Orientation, NavigationSchema, NavigationPayload, PageGetDetails, PageSpec, PageSpecParam, PageSpecItem, PageSchema, CreatedBySchema, PagePayload, CronSchedule, PagePublishPayload, PageMetaSchema, Support, PhoneProperties, PhoneSchema, EmailProperties, EmailSchema, ContactSchema, TagsSchema, TagSchema, TagSourceSchema, ResourcesSchema, ResourceSchema, FieldValidations, FieldDefinitionSchema, CustomFieldDefinitionsSchema, CustomFieldDefinitionRequestSchema, CustomObjectCustomFieldDefinitions, CustomObjectDefinitionUpdateRequestSchema, CustomFieldDefinitionDetailResSchema, MetaFieldDefinitionDetailResSchema, CustomDataDeleteSchema, CustomFieldValue, CustomFieldSchema, CustomFieldsResponseSchema, CustomFieldsDeleteSchema, CustomFieldsResponseByResourceIdSchema, CustomField, CustomFieldRequestSchema, CustomObjectSchema, CustomObjectDefinitionRequestSchema, CustomObjectDefinitionSlugSchema, CustomObjectDefinitionDeleteResponseSchema, CustomObjectEntryBulkUploadDetails, CustomObjectListItemDefinitionModel, CustomObjectListItemSchema, CustomObjectsSchema, CustomObjectFieldDefinition, CustomObjectBySlugSchema, CustomObjectBulkEntryInitiateDownload, CustomObjectMetaSchema, JobSchema, CustomFieldBulkEntry, CustomObjectBulkEntry, MetafieldTypesSchema, CustomFieldTypeSchema, SupportedValidationsMetaExampleSchema, SupportedValidationsMetaSchema, SupportedValidationsSchema, Duration, HTML, StringSingleLine, StringMultiLine, Dropdown, Integer, FloatType, BooleanType, Date, Datetime, Json, File, Url, Metaobject, Product, CustomObjectEntry, CustomObjectDefinitionsSchema, CustomObjectEntryFieldSchema, CustomObjectEntryFieldSchemaWithoutID, CustomObjectRequestSchema, CustomObjectRequestSchemaWithoutId, CustomObjectBulkSchema, ActionPage, TranslateUiLabels, TranslateUiLabelsCreate, StaticResourceUpdate, TranslateUiLabelsPage, Error, Meta, CompanyLanguage, CompanyLanguageCreate, CompanyLanguageUpdate, ApplicationLanguage, unPublishApplicationLanguage, ApplicationLanguageCreate, ApplicationLanguageUpdate, TranslatableResource, ResourceDefinition, ResourceJsonSchema, ResourceJsonSchemaType, ResourceUISchema, ResourceBulkDetails, Title, FeatureImage, SeoTranslate, MetaTag, MetaTagItem, ResourceTranslation, TranslationSeo, ResourceTranslationList, ResourceTranslationCreate, ResourceTranslationUpdate, TranslatableSection, Metrics, ResourceTranslationUpsertItem, ResourceTranslationBulkUpsert, StandardError, OperationResponseSchema, GenerationEntityType, PageType };
1633
1633
  }
1634
1634
  /** @returns {ValidationError} */
1635
1635
  declare function ValidationError(): ValidationError;
@@ -4420,7 +4420,7 @@ type ResourceUISchema = {
4420
4420
  author?: Author;
4421
4421
  title?: Title;
4422
4422
  feature_image?: FeatureImage;
4423
- seo?: Seo;
4423
+ seo?: SeoTranslate;
4424
4424
  };
4425
4425
  /** @returns {ResourceBulkDetails} */
4426
4426
  declare function ResourceBulkDetails(): ResourceBulkDetails;
@@ -4441,9 +4441,9 @@ type FeatureImage = {
4441
4441
  */
4442
4442
  secure_url?: string;
4443
4443
  };
4444
- /** @returns {Seo} */
4445
- declare function Seo(): Seo;
4446
- type Seo = {
4444
+ /** @returns {SeoTranslate} */
4445
+ declare function SeoTranslate(): SeoTranslate;
4446
+ type SeoTranslate = {
4447
4447
  title?: Title;
4448
4448
  description?: string;
4449
4449
  canonical_url?: string;
@@ -1654,7 +1654,7 @@ const Joi = require("joi");
1654
1654
  * @property {Author} [author]
1655
1655
  * @property {Title} [title]
1656
1656
  * @property {FeatureImage} [feature_image]
1657
- * @property {Seo} [seo]
1657
+ * @property {SeoTranslate} [seo]
1658
1658
  */
1659
1659
 
1660
1660
  /**
@@ -1674,7 +1674,7 @@ const Joi = require("joi");
1674
1674
  */
1675
1675
 
1676
1676
  /**
1677
- * @typedef Seo
1677
+ * @typedef SeoTranslate
1678
1678
  * @property {Title} [title]
1679
1679
  * @property {string} [description]
1680
1680
  * @property {string} [canonical_url]
@@ -3791,7 +3791,7 @@ class ContentPlatformModel {
3791
3791
  author: ContentPlatformModel.Author(),
3792
3792
  title: ContentPlatformModel.Title(),
3793
3793
  feature_image: ContentPlatformModel.FeatureImage(),
3794
- seo: ContentPlatformModel.Seo(),
3794
+ seo: ContentPlatformModel.SeoTranslate(),
3795
3795
  }).allow(null);
3796
3796
  }
3797
3797
 
@@ -3817,8 +3817,8 @@ class ContentPlatformModel {
3817
3817
  });
3818
3818
  }
3819
3819
 
3820
- /** @returns {Seo} */
3821
- static Seo() {
3820
+ /** @returns {SeoTranslate} */
3821
+ static SeoTranslate() {
3822
3822
  return Joi.object({
3823
3823
  title: ContentPlatformModel.Title(),
3824
3824
  description: Joi.string().allow(""),
@@ -5428,7 +5428,7 @@ export = OrderPlatformModel;
5428
5428
  * @property {string} [entity_type] - Type of entity that the tag is associated
5429
5429
  * to (bag, shipments).
5430
5430
  * @property {Object} [fallback_user] - Details of the fallback user associated
5431
- * with the bag .
5431
+ * with the bag.
5432
5432
  * @property {FinancialBreakup[]} [financial_breakup] - A breakdown of the
5433
5433
  * financial aspects associated with the bag, such as product prices, taxes,
5434
5434
  * discounts, and total cost.
@@ -16732,7 +16732,7 @@ type BagDetails = {
16732
16732
  entity_type?: string;
16733
16733
  /**
16734
16734
  * - Details of the fallback user associated
16735
- * with the bag .
16735
+ * with the bag.
16736
16736
  */
16737
16737
  fallback_user?: any;
16738
16738
  /**
@@ -5836,7 +5836,7 @@ const Joi = require("joi");
5836
5836
  * @property {string} [entity_type] - Type of entity that the tag is associated
5837
5837
  * to (bag, shipments).
5838
5838
  * @property {Object} [fallback_user] - Details of the fallback user associated
5839
- * with the bag .
5839
+ * with the bag.
5840
5840
  * @property {FinancialBreakup[]} [financial_breakup] - A breakdown of the
5841
5841
  * financial aspects associated with the bag, such as product prices, taxes,
5842
5842
  * discounts, and total cost.
@@ -179,7 +179,7 @@ declare class Serviceability {
179
179
  * @summary: Get created Schemes for courier partner
180
180
  * @description: Get created Schemes for courier partner - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerSchemes/).
181
181
  */
182
- getCourierPartnerSchemes({ schemeType, paymentMode, capabilities, schemeIds, q, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerSchemesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeList>;
182
+ getCourierPartnerSchemes({ extensionId, schemeType, paymentMode, capabilities, schemeIds, q, requestHeaders, }?: ServiceabilityPlatformValidator.GetCourierPartnerSchemesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierPartnerSchemeList>;
183
183
  /**
184
184
  * @param {ServiceabilityPlatformValidator.GetInstalledCourierPartnerExtensionsParam} arg
185
185
  * - Arg object
@@ -1247,15 +1247,22 @@ class Serviceability {
1247
1247
  * @description: Get created Schemes for courier partner - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/serviceability/getCourierPartnerSchemes/).
1248
1248
  */
1249
1249
  async getCourierPartnerSchemes(
1250
- { schemeType, paymentMode, capabilities, schemeIds, q, requestHeaders } = {
1251
- requestHeaders: {},
1252
- },
1250
+ {
1251
+ extensionId,
1252
+ schemeType,
1253
+ paymentMode,
1254
+ capabilities,
1255
+ schemeIds,
1256
+ q,
1257
+ requestHeaders,
1258
+ } = { requestHeaders: {} },
1253
1259
  { responseHeaders } = { responseHeaders: false }
1254
1260
  ) {
1255
1261
  const {
1256
1262
  error,
1257
1263
  } = ServiceabilityPlatformValidator.getCourierPartnerSchemes().validate(
1258
1264
  {
1265
+ extensionId,
1259
1266
  schemeType,
1260
1267
  paymentMode,
1261
1268
  capabilities,
@@ -1273,6 +1280,7 @@ class Serviceability {
1273
1280
  error: warrning,
1274
1281
  } = ServiceabilityPlatformValidator.getCourierPartnerSchemes().validate(
1275
1282
  {
1283
+ extensionId,
1276
1284
  schemeType,
1277
1285
  paymentMode,
1278
1286
  capabilities,
@@ -1289,6 +1297,7 @@ class Serviceability {
1289
1297
  }
1290
1298
 
1291
1299
  const query_params = {};
1300
+ query_params["extension_id"] = extensionId;
1292
1301
  query_params["scheme_type"] = schemeType;
1293
1302
  query_params["payment_mode"] = paymentMode;
1294
1303
  query_params["capabilities"] = capabilities;
@@ -97,6 +97,7 @@ export = ServiceabilityPlatformValidator;
97
97
  */
98
98
  /**
99
99
  * @typedef GetCourierPartnerSchemesParam
100
+ * @property {string} [extensionId] - Unique Identifier of courier partner extension.
100
101
  * @property {string} [schemeType] - Indicates whether a scheme is created by an
101
102
  * admin for global purposes or customized for a specific company.
102
103
  * @property {string} [paymentMode] - Indicates payment mode for a scheme.
@@ -453,6 +454,10 @@ type GetCourierPartnerSchemeParam = {
453
454
  schemeId: string;
454
455
  };
455
456
  type GetCourierPartnerSchemesParam = {
457
+ /**
458
+ * - Unique Identifier of courier partner extension.
459
+ */
460
+ extensionId?: string;
456
461
  /**
457
462
  * - Indicates whether a scheme is created by an
458
463
  * admin for global purposes or customized for a specific company.
@@ -113,6 +113,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
113
113
 
114
114
  /**
115
115
  * @typedef GetCourierPartnerSchemesParam
116
+ * @property {string} [extensionId] - Unique Identifier of courier partner extension.
116
117
  * @property {string} [schemeType] - Indicates whether a scheme is created by an
117
118
  * admin for global purposes or customized for a specific company.
118
119
  * @property {string} [paymentMode] - Indicates payment mode for a scheme.
@@ -340,6 +341,7 @@ class ServiceabilityPlatformValidator {
340
341
  /** @returns {GetCourierPartnerSchemesParam} */
341
342
  static getCourierPartnerSchemes() {
342
343
  return Joi.object({
344
+ extensionId: Joi.string().allow(""),
343
345
  schemeType: Joi.string().allow(""),
344
346
  paymentMode: Joi.string().allow(""),
345
347
  capabilities: Joi.array().items(Joi.string().allow("")),
@@ -282,12 +282,14 @@ declare class User {
282
282
  *
283
283
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
284
284
  * @param {import("../PlatformAPIClient").Options} - Options
285
- * @returns {Promise<Object>} - Success response
285
+ * @returns {Promise<UserPlatformModel.UserAttributeDefinitionsResponseSchema>}
286
+ * - Success response
287
+ *
286
288
  * @name getUserAttributesForUser
287
289
  * @summary: Get All Customer Attributes
288
290
  * @description: Retrieve all user attributes for a specific user - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/user/getUserAttributesForUser/).
289
291
  */
290
- getUserAttributesForUser({ userId, pageSize, pageNo, requestHeaders }?: UserPlatformApplicationValidator.GetUserAttributesForUserParam, { responseHeaders }?: object): Promise<any>;
292
+ getUserAttributesForUser({ userId, pageSize, pageNo, requestHeaders }?: UserPlatformApplicationValidator.GetUserAttributesForUserParam, { responseHeaders }?: object): Promise<UserPlatformModel.UserAttributeDefinitionsResponseSchema>;
291
293
  /**
292
294
  * @param {UserPlatformApplicationValidator.GetUserGroupByIdParam} arg - Arg object
293
295
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`