@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
@@ -177,6 +177,27 @@ 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>;
191
+ /**
192
+ * @param {ContentPlatformApplicationValidator.CreateSlideshowParam} arg - Arg object
193
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
194
+ * @param {import("../PlatformAPIClient").Options} - Options
195
+ * @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
196
+ * @name createSlideshow
197
+ * @summary: Create a slideshow
198
+ * @description: Use this API to create a slideshow. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createSlideshow/).
199
+ */
200
+ createSlideshow({ body, requestHeaders }?: ContentPlatformApplicationValidator.CreateSlideshowParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
180
201
  /**
181
202
  * @param {ContentPlatformApplicationValidator.DeleteAnnouncementParam} arg
182
203
  * - Arg object
@@ -327,6 +348,27 @@ declare class Content {
327
348
  * @description: Use this API to Delete SEO Markup Schema - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteSEOMarkupSchema/).
328
349
  */
329
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>;
362
+ /**
363
+ * @param {ContentPlatformApplicationValidator.DeleteSlideshowParam} arg - Arg object
364
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
365
+ * @param {import("../PlatformAPIClient").Options} - Options
366
+ * @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
367
+ * @name deleteSlideshow
368
+ * @summary: Delete a slideshow
369
+ * @description: Use this API to delete an existing slideshow. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteSlideshow/).
370
+ */
371
+ deleteSlideshow({ id, requestHeaders }?: ContentPlatformApplicationValidator.DeleteSlideshowParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
330
372
  /**
331
373
  * @param {ContentPlatformApplicationValidator.EditDataLoaderParam} arg - Arg object
332
374
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -617,6 +659,18 @@ declare class Content {
617
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/).
618
660
  */
619
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>;
620
674
  /**
621
675
  * @param {ContentPlatformApplicationValidator.GetFaqByIdOrSlugParam} arg - Arg object
622
676
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -818,6 +872,51 @@ declare class Content {
818
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/).
819
873
  */
820
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>;
898
+ /**
899
+ * @param {ContentPlatformApplicationValidator.GetSlideshowBySlugParam} arg
900
+ * - Arg object
901
+ *
902
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
903
+ * @param {import("../PlatformAPIClient").Options} - Options
904
+ * @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
905
+ * @name getSlideshowBySlug
906
+ * @summary: Get Slideshow
907
+ * @description: Use this API to get the details of a slideshow by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSlideshowBySlug/).
908
+ */
909
+ getSlideshowBySlug({ slug, devicePlatform, requestHeaders }?: ContentPlatformApplicationValidator.GetSlideshowBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
910
+ /**
911
+ * @param {ContentPlatformApplicationValidator.GetSlideshowsParam} arg - Arg object
912
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
913
+ * @param {import("../PlatformAPIClient").Options} - Options
914
+ * @returns {Promise<ContentPlatformModel.SlideshowGetDetails>} - Success response
915
+ * @name getSlideshows
916
+ * @summary: List Slideshows
917
+ * @description: Use this API to list all Slideshows - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getSlideshows/).
918
+ */
919
+ getSlideshows({ devicePlatform, pageNo, pageSize, requestHeaders }?: ContentPlatformApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowGetDetails>;
821
920
  /**
822
921
  * @param {ContentPlatformApplicationValidator.GetSupportInformationParam} arg
823
922
  * - Arg object
@@ -981,6 +1080,18 @@ declare class Content {
981
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/).
982
1081
  */
983
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>;
984
1095
  /**
985
1096
  * @param {ContentPlatformApplicationValidator.UpdateFaqParam} arg - Arg object
986
1097
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -1095,6 +1206,27 @@ declare class Content {
1095
1206
  * @description: Modify configuration settings for SEO. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSEOConfiguration/).
1096
1207
  */
1097
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>;
1220
+ /**
1221
+ * @param {ContentPlatformApplicationValidator.UpdateSlideshowParam} arg - Arg object
1222
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1223
+ * @param {import("../PlatformAPIClient").Options} - Options
1224
+ * @returns {Promise<ContentPlatformModel.SlideshowSchema>} - Success response
1225
+ * @name updateSlideshow
1226
+ * @summary: Update a slideshow
1227
+ * @description: Use this API to Update Slideshow - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateSlideshow/).
1228
+ */
1229
+ updateSlideshow({ id, body, requestHeaders }?: ContentPlatformApplicationValidator.UpdateSlideshowParam, { responseHeaders }?: object): Promise<ContentPlatformModel.SlideshowSchema>;
1098
1230
  /**
1099
1231
  * @param {ContentPlatformApplicationValidator.UpdateSupportInformationParam} arg
1100
1232
  * - Arg object