oneentry 1.0.151 → 1.0.153

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 (66) hide show
  1. package/changelog.md +20 -0
  2. package/dist/admins/adminsApi.d.ts +2 -1
  3. package/dist/admins/adminsApi.js +2 -1
  4. package/dist/admins/adminsInterfaces.d.ts +1 -1
  5. package/dist/attribute-sets/attributeSetsApi.d.ts +4 -0
  6. package/dist/attribute-sets/attributeSetsApi.js +4 -0
  7. package/dist/auth-provider/authProviderApi.d.ts +14 -1
  8. package/dist/auth-provider/authProviderApi.js +14 -1
  9. package/dist/base/asyncModules.d.ts +19 -2
  10. package/dist/base/asyncModules.js +74 -4
  11. package/dist/base/stateModule.d.ts +1 -0
  12. package/dist/base/stateModule.js +4 -0
  13. package/dist/blocks/blocksApi.d.ts +34 -1
  14. package/dist/blocks/blocksApi.js +69 -62
  15. package/dist/discounts/discountsApi.d.ts +5 -0
  16. package/dist/discounts/discountsApi.js +5 -0
  17. package/dist/events/eventsApi.d.ts +7 -0
  18. package/dist/events/eventsApi.js +11 -28
  19. package/dist/file-uploading/fileUploadingApi.d.ts +4 -1
  20. package/dist/file-uploading/fileUploadingApi.js +4 -1
  21. package/dist/file-uploading/fileUploadingInterfaces.d.ts +1 -1
  22. package/dist/filters/filtersApi.d.ts +1 -0
  23. package/dist/filters/filtersApi.js +1 -0
  24. package/dist/forms/formsApi.d.ts +2 -0
  25. package/dist/forms/formsApi.js +2 -0
  26. package/dist/forms-data/formsDataApi.d.ts +5 -0
  27. package/dist/forms-data/formsDataApi.js +5 -0
  28. package/dist/general-types/generalTypesApi.d.ts +1 -0
  29. package/dist/general-types/generalTypesApi.js +1 -0
  30. package/dist/integration-collections/integrationCollectionsApi.d.ts +10 -1
  31. package/dist/integration-collections/integrationCollectionsApi.js +10 -1
  32. package/dist/integration-collections/integrationCollectionsInterfaces.d.ts +1 -1
  33. package/dist/locales/localesApi.d.ts +1 -0
  34. package/dist/locales/localesApi.js +1 -0
  35. package/dist/menus/menusApi.d.ts +1 -0
  36. package/dist/menus/menusApi.js +1 -0
  37. package/dist/orders/ordersApi.d.ts +25 -1
  38. package/dist/orders/ordersApi.js +36 -12
  39. package/dist/orders/ordersInterfaces.d.ts +4 -2
  40. package/dist/pages/pagesApi.d.ts +9 -0
  41. package/dist/pages/pagesApi.js +33 -38
  42. package/dist/pages/pagesInterfaces.d.ts +5 -0
  43. package/dist/payments/paymentsApi.d.ts +6 -0
  44. package/dist/payments/paymentsApi.js +6 -0
  45. package/dist/product-statuses/productStatusesApi.d.ts +3 -0
  46. package/dist/product-statuses/productStatusesApi.js +3 -0
  47. package/dist/products/productsApi.d.ts +14 -0
  48. package/dist/products/productsApi.js +14 -0
  49. package/dist/products/productsInterfaces.d.ts +2 -2
  50. package/dist/sitemap/sitemapApi.d.ts +2 -0
  51. package/dist/sitemap/sitemapApi.js +2 -0
  52. package/dist/subscriptions/subscriptionsApi.d.ts +5 -0
  53. package/dist/subscriptions/subscriptionsApi.js +7 -14
  54. package/dist/system/systemApi.d.ts +3 -0
  55. package/dist/system/systemApi.js +3 -0
  56. package/dist/templates/templatesApi.d.ts +3 -0
  57. package/dist/templates/templatesApi.js +3 -0
  58. package/dist/templates-preview/templatesPreviewApi.d.ts +2 -0
  59. package/dist/templates-preview/templatesPreviewApi.js +2 -0
  60. package/dist/user-activity/userActivityApi.d.ts +1 -0
  61. package/dist/user-activity/userActivityApi.js +1 -0
  62. package/dist/users/usersApi.d.ts +14 -0
  63. package/dist/users/usersApi.js +14 -0
  64. package/dist/web-socket/wsApi.d.ts +1 -1
  65. package/dist/web-socket/wsApi.js +1 -1
  66. package/package.json +1 -1
@@ -24,6 +24,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
24
24
  * @throws {IError} When isShell=false and an error occurs during the fetch
25
25
  * @description This method requires user authorization.
26
26
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
27
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/getUser getUser} documentation.
27
28
  */
28
29
  getUser(langCode?: string): Promise<IUserEntity | IError>;
29
30
  /**
@@ -100,6 +101,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
100
101
  * @description This method updates the user's data. This method requires user authorization.
101
102
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
102
103
  * @see For more information about {@link https://doc.oneentry.cloud/docs/forms/create-form registration forms}, see the documentation in the {@link https://doc.oneentry.cloud/docs/forms/create-form forms configuration section}.
104
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/updateUser updateUser} documentation.
103
105
  */
104
106
  updateUser(body: IUserBody, langCode?: string): Promise<boolean | IError>;
105
107
  /**
@@ -109,6 +111,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
109
111
  * @throws {IError} When isShell=false and an error occurs during the fetch
110
112
  * @description This method archives a user object (marks it for deletion). This method requires user authorization.
111
113
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/auth-provider/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
114
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/archiveUser archiveUser} documentation.
112
115
  */
113
116
  archiveUser(): Promise<boolean | IError>;
114
117
  /**
@@ -118,6 +121,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
118
121
  * @throws {IError} When isShell=false and an error occurs during the fetch
119
122
  * @description This method deletes the user from the system. This method requires user authorization.
120
123
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
124
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/deleteUser deleteUser} documentation.
121
125
  */
122
126
  deleteUser(): Promise<boolean | IError>;
123
127
  /**
@@ -128,6 +132,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
128
132
  * @throws {IError} When isShell=false and an error occurs during the fetch
129
133
  * @description This method adds an FCM token for sending push notifications. This method requires user authorization.
130
134
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
135
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/addFCMToken addFCMToken} documentation.
131
136
  */
132
137
  addFCMToken(token: string): Promise<boolean | IError>;
133
138
  /**
@@ -138,6 +143,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
138
143
  * @throws {IError} When isShell=false and an error occurs during the fetch
139
144
  * @description This method deletes an existing FCM token. This method requires user authorization.
140
145
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
146
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/deleteFCMToken deleteFCMToken} documentation.
141
147
  */
142
148
  deleteFCMToken(token: string): Promise<boolean | IError>;
143
149
  /**
@@ -147,6 +153,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
147
153
  * @throws {IError} When isShell=false and an error occurs during the fetch
148
154
  * @description This method requires user authorization (or a guest context).
149
155
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
156
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/getCart getCart} documentation.
150
157
  */
151
158
  getCart(): Promise<ICartResponse | IError>;
152
159
  /**
@@ -157,6 +164,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
157
164
  * @throws {IError} When isShell=false and an error occurs during the fetch
158
165
  * @description This method requires user authorization (or a guest context).
159
166
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
167
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/setCart setCart} documentation.
160
168
  */
161
169
  setCart(body: ICartSet): Promise<ICartResponse | IError>;
162
170
  /**
@@ -167,6 +175,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
167
175
  * @throws {IError} When isShell=false and an error occurs during the fetch
168
176
  * @description This method requires user authorization (or a guest context).
169
177
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
178
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/addCartItem addCartItem} documentation.
170
179
  */
171
180
  addCartItem(body: ICartAddItem): Promise<ICartResponse | IError>;
172
181
  /**
@@ -177,6 +186,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
177
186
  * @throws {IError} When isShell=false and an error occurs during the fetch
178
187
  * @description This method requires user authorization (or a guest context).
179
188
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
189
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/removeCartItem removeCartItem} documentation.
180
190
  */
181
191
  removeCartItem(productId: number): Promise<ICartResponse | IError>;
182
192
  /**
@@ -186,6 +196,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
186
196
  * @throws {IError} When isShell=false and an error occurs during the fetch
187
197
  * @description This method requires user authorization (or a guest context).
188
198
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
199
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/getWishlist getWishlist} documentation.
189
200
  */
190
201
  getWishlist(): Promise<IWishlistResponse | IError>;
191
202
  /**
@@ -196,6 +207,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
196
207
  * @throws {IError} When isShell=false and an error occurs during the fetch
197
208
  * @description This method requires user authorization (or a guest context).
198
209
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
210
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/setWishlist setWishlist} documentation.
199
211
  */
200
212
  setWishlist(body: IWishlistSet): Promise<IWishlistResponse | IError>;
201
213
  /**
@@ -206,6 +218,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
206
218
  * @throws {IError} When isShell=false and an error occurs during the fetch
207
219
  * @description This method requires user authorization (or a guest context).
208
220
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
221
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/addWishlistItem addWishlistItem} documentation.
209
222
  */
210
223
  addWishlistItem(body: IWishlistAddItem): Promise<IWishlistResponse | IError>;
211
224
  /**
@@ -216,6 +229,7 @@ export default class UsersApi extends AsyncModules implements IUsersApi {
216
229
  * @throws {IError} When isShell=false and an error occurs during the fetch
217
230
  * @description This method requires user authorization (or a guest context).
218
231
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
232
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/removeWishlistItem removeWishlistItem} documentation.
219
233
  */
220
234
  removeWishlistItem(productId: number): Promise<IWishlistResponse | IError>;
221
235
  }
@@ -28,6 +28,7 @@ class UsersApi extends asyncModules_1.default {
28
28
  * @throws {IError} When isShell=false and an error occurs during the fetch
29
29
  * @description This method requires user authorization.
30
30
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
31
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/getUser getUser} documentation.
31
32
  */
32
33
  async getUser(langCode = this.state.lang) {
33
34
  const result = await this._fetchGet(`/me?langCode=${langCode}`);
@@ -109,6 +110,7 @@ class UsersApi extends asyncModules_1.default {
109
110
  * @description This method updates the user's data. This method requires user authorization.
110
111
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
111
112
  * @see For more information about {@link https://doc.oneentry.cloud/docs/forms/create-form registration forms}, see the documentation in the {@link https://doc.oneentry.cloud/docs/forms/create-form forms configuration section}.
113
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/updateUser updateUser} documentation.
112
114
  */
113
115
  async updateUser(body, langCode = this.state.lang) {
114
116
  if (!('langCode' in body))
@@ -124,6 +126,7 @@ class UsersApi extends asyncModules_1.default {
124
126
  * @throws {IError} When isShell=false and an error occurs during the fetch
125
127
  * @description This method archives a user object (marks it for deletion). This method requires user authorization.
126
128
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/auth-provider/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
129
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/archiveUser archiveUser} documentation.
127
130
  */
128
131
  async archiveUser() {
129
132
  const result = await this._fetchDelete('/me');
@@ -136,6 +139,7 @@ class UsersApi extends asyncModules_1.default {
136
139
  * @throws {IError} When isShell=false and an error occurs during the fetch
137
140
  * @description This method deletes the user from the system. This method requires user authorization.
138
141
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
142
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/deleteUser deleteUser} documentation.
139
143
  */
140
144
  async deleteUser() {
141
145
  const result = await this._fetchDelete('/me/account');
@@ -149,6 +153,7 @@ class UsersApi extends asyncModules_1.default {
149
153
  * @throws {IError} When isShell=false and an error occurs during the fetch
150
154
  * @description This method adds an FCM token for sending push notifications. This method requires user authorization.
151
155
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
156
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/addFCMToken addFCMToken} documentation.
152
157
  */
153
158
  async addFCMToken(token) {
154
159
  const result = await this._fetchPost(`/me/fcm-token/${token}`);
@@ -162,6 +167,7 @@ class UsersApi extends asyncModules_1.default {
162
167
  * @throws {IError} When isShell=false and an error occurs during the fetch
163
168
  * @description This method deletes an existing FCM token. This method requires user authorization.
164
169
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
170
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/deleteFCMToken deleteFCMToken} documentation.
165
171
  */
166
172
  async deleteFCMToken(token) {
167
173
  const result = await this._fetchDelete(`/me/fcm-token/${token}`);
@@ -174,6 +180,7 @@ class UsersApi extends asyncModules_1.default {
174
180
  * @throws {IError} When isShell=false and an error occurs during the fetch
175
181
  * @description This method requires user authorization (or a guest context).
176
182
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
183
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/getCart getCart} documentation.
177
184
  */
178
185
  async getCart() {
179
186
  const result = await this._fetchGet('/me/cart');
@@ -188,6 +195,7 @@ class UsersApi extends asyncModules_1.default {
188
195
  * @throws {IError} When isShell=false and an error occurs during the fetch
189
196
  * @description This method requires user authorization (or a guest context).
190
197
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
198
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/setCart setCart} documentation.
191
199
  */
192
200
  async setCart(body) {
193
201
  const result = await this._fetchPut('/me/cart', body);
@@ -202,6 +210,7 @@ class UsersApi extends asyncModules_1.default {
202
210
  * @throws {IError} When isShell=false and an error occurs during the fetch
203
211
  * @description This method requires user authorization (or a guest context).
204
212
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
213
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/addCartItem addCartItem} documentation.
205
214
  */
206
215
  async addCartItem(body) {
207
216
  const result = await this._fetchPost('/me/cart/items', body);
@@ -216,6 +225,7 @@ class UsersApi extends asyncModules_1.default {
216
225
  * @throws {IError} When isShell=false and an error occurs during the fetch
217
226
  * @description This method requires user authorization (or a guest context).
218
227
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
228
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/removeCartItem removeCartItem} documentation.
219
229
  */
220
230
  async removeCartItem(productId) {
221
231
  const result = await this._fetchDelete(`/me/cart/items/${productId}`);
@@ -229,6 +239,7 @@ class UsersApi extends asyncModules_1.default {
229
239
  * @throws {IError} When isShell=false and an error occurs during the fetch
230
240
  * @description This method requires user authorization (or a guest context).
231
241
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
242
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/getWishlist getWishlist} documentation.
232
243
  */
233
244
  async getWishlist() {
234
245
  const result = await this._fetchGet('/me/wishlist');
@@ -243,6 +254,7 @@ class UsersApi extends asyncModules_1.default {
243
254
  * @throws {IError} When isShell=false and an error occurs during the fetch
244
255
  * @description This method requires user authorization (or a guest context).
245
256
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
257
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/setWishlist setWishlist} documentation.
246
258
  */
247
259
  async setWishlist(body) {
248
260
  const result = await this._fetchPut('/me/wishlist', body);
@@ -257,6 +269,7 @@ class UsersApi extends asyncModules_1.default {
257
269
  * @throws {IError} When isShell=false and an error occurs during the fetch
258
270
  * @description This method requires user authorization (or a guest context).
259
271
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
272
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/addWishlistItem addWishlistItem} documentation.
260
273
  */
261
274
  async addWishlistItem(body) {
262
275
  const result = await this._fetchPost('/me/wishlist/items', body);
@@ -271,6 +284,7 @@ class UsersApi extends asyncModules_1.default {
271
284
  * @throws {IError} When isShell=false and an error occurs during the fetch
272
285
  * @description This method requires user authorization (or a guest context).
273
286
  * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
287
+ * @see {@link https://js-sdk.oneentry.cloud/docs/users/removeWishlistItem removeWishlistItem} documentation.
274
288
  */
275
289
  async removeWishlistItem(productId) {
276
290
  const result = await this._fetchDelete(`/me/wishlist/items/${productId}`);
@@ -19,7 +19,7 @@ export default class WsApi extends AsyncModules implements IWS {
19
19
  * @handleName connect
20
20
  * @returns {Socket} Returns a Socket instance.
21
21
  * @description Creates an instance of an object Socket.io with a connection. This method requires user authorization.
22
- * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
22
+ * @see {@link https://js-sdk.oneentry.cloud/docs/web-socket/connect connect} documentation.
23
23
  */
24
24
  connect(): Socket;
25
25
  }
@@ -23,7 +23,7 @@ class WsApi extends asyncModules_1.default {
23
23
  * @handleName connect
24
24
  * @returns {Socket} Returns a Socket instance.
25
25
  * @description Creates an instance of an object Socket.io with a connection. This method requires user authorization.
26
- * @see For more information about configuring the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider authorization module}, see the documentation in the {@link https://js-sdk.oneentry.cloud/docs/category/authprovider configuration settings section of the SDK}.
26
+ * @see {@link https://js-sdk.oneentry.cloud/docs/web-socket/connect connect} documentation.
27
27
  */
28
28
  connect() {
29
29
  if (!this.state.accessToken) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneentry",
3
- "version": "1.0.151",
3
+ "version": "1.0.153",
4
4
  "description": "OneEntry NPM package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",