@gofynd/fdk-client-javascript 1.4.3 → 1.4.5

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 (125) hide show
  1. package/README.md +1 -10
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +48 -48
  4. package/sdk/application/Cart/CartApplicationClient.js +48 -48
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +69 -69
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  7. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  8. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  9. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  10. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -32
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +45 -45
  14. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +5 -5
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +9 -9
  18. package/sdk/application/Lead/LeadApplicationClient.js +9 -9
  19. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -22
  20. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +14 -25
  22. package/sdk/application/Order/OrderApplicationClient.js +14 -94
  23. package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -15
  24. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +71 -71
  26. package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +1 -1
  30. package/sdk/application/Share/ShareApplicationClient.js +1 -1
  31. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  32. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  34. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  35. package/sdk/application/User/UserApplicationClient.d.ts +74 -74
  36. package/sdk/application/User/UserApplicationClient.js +74 -74
  37. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +5 -5
  38. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
  39. package/sdk/platform/Billing/BillingPlatformClient.d.ts +13 -13
  40. package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
  41. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +102 -102
  42. package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
  43. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +132 -131
  44. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
  45. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +130 -130
  46. package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
  47. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  48. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  49. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +118 -118
  50. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
  51. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  52. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  53. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +22 -22
  54. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
  55. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
  56. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
  57. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +4 -4
  58. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
  59. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +41 -41
  60. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
  61. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +26 -26
  62. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
  63. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +93 -93
  64. package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
  65. package/sdk/platform/Content/ContentPlatformClient.d.ts +29 -29
  66. package/sdk/platform/Content/ContentPlatformClient.js +29 -29
  67. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +18 -18
  68. package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
  69. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -17
  70. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
  71. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
  72. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
  73. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
  74. package/sdk/platform/Finance/FinancePlatformClient.d.ts +4 -4
  75. package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
  76. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  77. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  78. package/sdk/platform/Lead/LeadPlatformClient.d.ts +15 -15
  79. package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
  80. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  81. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  82. package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -106
  83. package/sdk/platform/Order/OrderPlatformClient.js +95 -190
  84. package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
  85. package/sdk/platform/Order/OrderPlatformModel.js +4 -0
  86. package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -33
  87. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  88. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  89. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  90. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +77 -77
  91. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
  92. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
  93. package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
  94. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  95. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  96. package/sdk/platform/PlatformClient.d.ts +0 -2
  97. package/sdk/platform/PlatformClient.js +0 -4
  98. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +7 -7
  99. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
  100. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +40 -40
  101. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  102. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +51 -50
  103. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
  104. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
  105. package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
  106. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
  107. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  108. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +34 -104
  109. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
  110. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -100
  111. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  112. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  113. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  114. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -35
  115. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  116. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +7 -6
  117. package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
  118. package/sdk/platform/index.d.ts +0 -1
  119. package/sdk/platform/index.js +0 -2
  120. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  121. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  122. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  123. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  124. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  125. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -70,6 +70,7 @@ const Joi = require("joi");
70
70
  * @typedef UrlInfo
71
71
  * @property {string} [original]
72
72
  * @property {string} [hash]
73
+ * @property {string} [short_url]
73
74
  */
74
75
 
75
76
  /**
@@ -209,6 +210,7 @@ class SharePlatformModel {
209
210
  return Joi.object({
210
211
  original: Joi.string().allow(""),
211
212
  hash: Joi.string().allow(""),
213
+ short_url: Joi.string().allow(""),
212
214
  });
213
215
  }
214
216
 
@@ -11,48 +11,28 @@ declare class Theme {
11
11
  * @param {import("../PlatformAPIClient").Options} - Options
12
12
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
13
13
  * @name addThemeToApplication
14
- * @summary: Add theme to application
15
- * @description: Include a theme in an application's design. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addThemeToApplication/).
14
+ * @summary: Create theme in sales channel
15
+ * @description: Include a theme in an application drafts from theme collection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addThemeToApplication/).
16
16
  */
17
17
  addThemeToApplication({ body, requestHeaders }?: ThemePlatformApplicationValidator.AddThemeToApplicationParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
18
- /**
19
- * @param {ThemePlatformApplicationValidator.AddToThemeLibraryParam} arg - Arg object
20
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
21
- * @param {import("../PlatformAPIClient").Options} - Options
22
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
23
- * @name addToThemeLibrary
24
- * @summary: Add to theme library
25
- * @description: Store and add a theme to the platform's library. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/addToThemeLibrary/).
26
- */
27
- addToThemeLibrary({ body, requestHeaders }?: ThemePlatformApplicationValidator.AddToThemeLibraryParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
28
18
  /**
29
19
  * @param {ThemePlatformApplicationValidator.ApplyThemeParam} arg - Arg object
30
20
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
31
21
  * @param {import("../PlatformAPIClient").Options} - Options
32
22
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
33
23
  * @name applyTheme
34
- * @summary: Apply theme
35
- * @description: Set and apply a theme to an application or page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/applyTheme/).
24
+ * @summary: Apply a theme
25
+ * @description: Change current applied theme with new draft theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/applyTheme/).
36
26
  */
37
27
  applyTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.ApplyThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
38
- /**
39
- * @param {ThemePlatformApplicationValidator.ArchiveThemeParam} arg - Arg object
40
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
41
- * @param {import("../PlatformAPIClient").Options} - Options
42
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
43
- * @name archiveTheme
44
- * @summary: Archive theme
45
- * @description: Store a theme in an archive. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/archiveTheme/).
46
- */
47
- archiveTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.ArchiveThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
48
28
  /**
49
29
  * @param {ThemePlatformApplicationValidator.CreatePageParam} arg - Arg object
50
30
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
51
31
  * @param {import("../PlatformAPIClient").Options} - Options
52
32
  * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
53
33
  * @name createPage
54
- * @summary: Create page
55
- * @description: Generate and add a new page to the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/createPage/).
34
+ * @summary: Create theme page
35
+ * @description: Generate and add a new page to the selected theme of the Platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/createPage/).
56
36
  */
57
37
  createPage({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.CreatePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
58
38
  /**
@@ -61,8 +41,8 @@ declare class Theme {
61
41
  * @param {import("../PlatformAPIClient").Options} - Options
62
42
  * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
63
43
  * @name deletePage
64
- * @summary: Delete page
65
- * @description: Remove a page from the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deletePage/).
44
+ * @summary: Delete a page
45
+ * @description: Remove a page from a theme of the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deletePage/).
66
46
  */
67
47
  deletePage({ themeId, pageValue, requestHeaders }?: ThemePlatformApplicationValidator.DeletePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
68
48
  /**
@@ -72,7 +52,7 @@ declare class Theme {
72
52
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
73
53
  * @name deleteTheme
74
54
  * @summary: Delete theme
75
- * @description: Remove a theme from the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteTheme/).
55
+ * @description: Remove a theme from theme drafts of a sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/deleteTheme/).
76
56
  */
77
57
  deleteTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.DeleteThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
78
58
  /**
@@ -81,8 +61,8 @@ declare class Theme {
81
61
  * @param {import("../PlatformAPIClient").Options} - Options
82
62
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
83
63
  * @name duplicateTheme
84
- * @summary: Duplicate theme
85
- * @description: Create a copy of an existing theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/duplicateTheme/).
64
+ * @summary: Duplicate a theme
65
+ * @description: Create a new copy of an existing theme by theme Id - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/duplicateTheme/).
86
66
  */
87
67
  duplicateTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.DuplicateThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
88
68
  /**
@@ -91,7 +71,7 @@ declare class Theme {
91
71
  * @param {import("../PlatformAPIClient").Options} - Options
92
72
  * @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
93
73
  * @name getAllPages
94
- * @summary: Get all pages
74
+ * @summary: List pages of a theme
95
75
  * @description: Retrieve a list of all available pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAllPages/).
96
76
  */
97
77
  getAllPages({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetAllPagesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AllAvailablePageSchema>;
@@ -103,8 +83,8 @@ declare class Theme {
103
83
  * @param {import("../PlatformAPIClient").Options} - Options
104
84
  * @returns {Promise<ThemePlatformModel.ThemesSchema[]>} - Success response
105
85
  * @name getApplicationThemes
106
- * @summary: Get application themes
107
- * @description: Retrieve themes available for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getApplicationThemes/).
86
+ * @summary: List sales channel themes
87
+ * @description: Retrieve all draft themes added to sales channel from theme collection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getApplicationThemes/).
108
88
  */
109
89
  getApplicationThemes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema[]>;
110
90
  /**
@@ -115,8 +95,8 @@ declare class Theme {
115
95
  * @param {import("../PlatformAPIClient").Options} - Options
116
96
  * @returns {Promise<Object>} - Success response
117
97
  * @name getApplicationThemesCount
118
- * @summary: Get application themes count
119
- * @description: Count the number of themes available for an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getApplicationThemesCount/).
98
+ * @summary: Get sales channel themes count
99
+ * @description: Retrieve count of all draft themes added to sales channel from theme collection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getApplicationThemesCount/).
120
100
  */
121
101
  getApplicationThemesCount({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
122
102
  /**
@@ -126,7 +106,7 @@ declare class Theme {
126
106
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
127
107
  * @name getAppliedTheme
128
108
  * @summary: Get applied theme
129
- * @description: Retrieve the currently applied theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAppliedTheme/).
109
+ * @description: Retrieve the currently applied theme of a sales channel using application Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getAppliedTheme/).
130
110
  */
131
111
  getAppliedTheme({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
132
112
  /**
@@ -135,8 +115,8 @@ declare class Theme {
135
115
  * @param {import("../PlatformAPIClient").Options} - Options
136
116
  * @returns {Promise<ThemePlatformModel.FontsSchema>} - Success response
137
117
  * @name getFonts
138
- * @summary: Get fonts
139
- * @description: Retrieve a list of available fonts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getFonts/).
118
+ * @summary: List theme fonts
119
+ * @description: Retrieve a list of available fonts that can be used by themes in the platform. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getFonts/).
140
120
  */
141
121
  getFonts({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ThemePlatformModel.FontsSchema>;
142
122
  /**
@@ -145,28 +125,18 @@ declare class Theme {
145
125
  * @param {import("../PlatformAPIClient").Options} - Options
146
126
  * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
147
127
  * @name getPage
148
- * @summary: Get page
149
- * @description: Retrieve detailed information about a specific page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPage/).
128
+ * @summary: Get a page
129
+ * @description: Retrieve detailed information about a specific page of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPage/).
150
130
  */
151
131
  getPage({ themeId, pageValue, requestHeaders }?: ThemePlatformApplicationValidator.GetPageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
152
- /**
153
- * @param {ThemePlatformApplicationValidator.GetPublicThemesParam} arg - Arg object
154
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
155
- * @param {import("../PlatformAPIClient").Options} - Options
156
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
157
- * @name getPublicThemes
158
- * @summary: Get public themes
159
- * @description: Retrieve themes that are publicly accessible. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getPublicThemes/).
160
- */
161
- getPublicThemes({ pageSize, pageNo, requestHeaders }?: ThemePlatformApplicationValidator.GetPublicThemesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
162
132
  /**
163
133
  * @param {ThemePlatformApplicationValidator.GetThemeByIdParam} arg - Arg object
164
134
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
165
135
  * @param {import("../PlatformAPIClient").Options} - Options
166
136
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
167
137
  * @name getThemeById
168
- * @summary: Get theme by ID
169
- * @description: Retrieve a theme by its unique identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeById/).
138
+ * @summary: Get theme
139
+ * @description: Retrieve a theme by its unique identifier. Response contains theme template data and data stored in theme editor. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeById/).
170
140
  */
171
141
  getThemeById({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeByIdParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
172
142
  /**
@@ -176,7 +146,7 @@ declare class Theme {
176
146
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
177
147
  * @name getThemeForPreview
178
148
  * @summary: Get theme for preview
179
- * @description: Retrieve a theme for previewing before application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeForPreview/).
149
+ * @description: Retrieve a theme by its unique identifier. Response contains theme template data and data stored in theme editor. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeForPreview/).
180
150
  */
181
151
  getThemeForPreview({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeForPreviewParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
182
152
  /**
@@ -187,60 +157,20 @@ declare class Theme {
187
157
  * @param {import("../PlatformAPIClient").Options} - Options
188
158
  * @returns {Promise<any>} - Success response
189
159
  * @name getThemeLastModified
190
- * @summary: Get theme last modified
191
- * @description: Retrieve the last modification of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLastModified/).
160
+ * @summary: Get theme last modified date
161
+ * @description: Retrieve the last modification of a theme used for polling and identifing cross user changes in a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLastModified/).
192
162
  */
193
163
  getThemeLastModified({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeLastModifiedParam, { responseHeaders }?: object): Promise<any>;
194
- /**
195
- * @param {ThemePlatformApplicationValidator.GetThemeLibraryParam} arg - Arg object
196
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
197
- * @param {import("../PlatformAPIClient").Options} - Options
198
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
199
- * @name getThemeLibrary
200
- * @summary: Get theme library
201
- * @description: Retrieve themes available in the platform's library. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/getThemeLibrary/).
202
- */
203
- getThemeLibrary({ pageSize, pageNo, requestHeaders }?: ThemePlatformApplicationValidator.GetThemeLibraryParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
204
164
  /**
205
165
  * @param {ThemePlatformApplicationValidator.IsUpgradableParam} arg - Arg object
206
166
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
207
167
  * @param {import("../PlatformAPIClient").Options} - Options
208
168
  * @returns {Promise<ThemePlatformModel.ThemeUpgradableResponse>} - Success response
209
169
  * @name isUpgradable
210
- * @summary: Is upgradable
211
- * @description: Determine if a theme is eligible for an upgrade. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
170
+ * @summary: Check theme is upgradable
171
+ * @description: Determine if a public theme is eligible for an upgrade to a new version after any new version released in marketplace. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
212
172
  */
213
173
  isUpgradable({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.IsUpgradableParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemeUpgradableResponse>;
214
- /**
215
- * @param {ThemePlatformApplicationValidator.PublishThemeParam} arg - Arg object
216
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
217
- * @param {import("../PlatformAPIClient").Options} - Options
218
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
219
- * @name publishTheme
220
- * @summary: Publish theme
221
- * @description: Make a theme accessible for use. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/publishTheme/).
222
- */
223
- publishTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.PublishThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
224
- /**
225
- * @param {ThemePlatformApplicationValidator.UnarchiveThemeParam} arg - Arg object
226
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
227
- * @param {import("../PlatformAPIClient").Options} - Options
228
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
229
- * @name unarchiveTheme
230
- * @summary: Unarchive theme
231
- * @description: Retrieve a theme from the archive. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/unarchiveTheme/).
232
- */
233
- unarchiveTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UnarchiveThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
234
- /**
235
- * @param {ThemePlatformApplicationValidator.UnpublishThemeParam} arg - Arg object
236
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
237
- * @param {import("../PlatformAPIClient").Options} - Options
238
- * @returns {Promise<ThemePlatformModel.DummyResponse>} - Success response
239
- * @name unpublishTheme
240
- * @summary: Unpublish theme
241
- * @description: Remove a published theme from public access. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/unpublishTheme/).
242
- */
243
- unpublishTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UnpublishThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.DummyResponse>;
244
174
  /**
245
175
  * @param {ThemePlatformApplicationValidator.UpdateMultiplePagesParam} arg
246
176
  * - Arg object
@@ -249,8 +179,8 @@ declare class Theme {
249
179
  * @param {import("../PlatformAPIClient").Options} - Options
250
180
  * @returns {Promise<ThemePlatformModel.AllAvailablePageSchema>} - Success response
251
181
  * @name updateMultiplePages
252
- * @summary: Update multiple pages
253
- * @description: Modify multiple pages simultaneously. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateMultiplePages/).
182
+ * @summary: Update theme pages
183
+ * @description: Modify multiple pages simultaneously of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateMultiplePages/).
254
184
  */
255
185
  updateMultiplePages({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdateMultiplePagesParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AllAvailablePageSchema>;
256
186
  /**
@@ -259,7 +189,7 @@ declare class Theme {
259
189
  * @param {import("../PlatformAPIClient").Options} - Options
260
190
  * @returns {Promise<ThemePlatformModel.AvailablePageSchema>} - Success response
261
191
  * @name updatePage
262
- * @summary: Update page
192
+ * @summary: Update a page
263
193
  * @description: Modify and update the content of a page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updatePage/).
264
194
  */
265
195
  updatePage({ themeId, pageValue, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdatePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
@@ -270,7 +200,7 @@ declare class Theme {
270
200
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
271
201
  * @name updateTheme
272
202
  * @summary: Update theme
273
- * @description: Modify and update the content and settings of a theme - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateTheme/).
203
+ * @description: Modify and update the content and settings of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateTheme/).
274
204
  */
275
205
  updateTheme({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdateThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
276
206
  /**
@@ -280,7 +210,7 @@ declare class Theme {
280
210
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
281
211
  * @name updateThemeName
282
212
  * @summary: Update theme name
283
- * @description: Modify the name of a theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateThemeName/).
213
+ * @description: Modify the name of the draft theme by theme Id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updateThemeName/).
284
214
  */
285
215
  updateThemeName({ themeId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdateThemeNameParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
286
216
  /**
@@ -290,7 +220,7 @@ declare class Theme {
290
220
  * @returns {Promise<ThemePlatformModel.ThemesSchema>} - Success response
291
221
  * @name upgradeTheme
292
222
  * @summary: Upgrade theme
293
- * @description: Enhance and update a theme to a new version. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/upgradeTheme/).
223
+ * @description: Update a draft theme to a new version of the marketplace. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/upgradeTheme/).
294
224
  */
295
225
  upgradeTheme({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.UpgradeThemeParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemesSchema>;
296
226
  }