@nomalism-com/api 0.40.29 → 0.40.30
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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ declare class Repository$1R implements Nomalism$1.Chat.IRepository {
|
|
|
69
69
|
update(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Chat.IUpdateRequest): Promise<void>;
|
|
70
70
|
deleteOne(selector: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
|
|
71
71
|
resendLast({ owner_id }: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<void>;
|
|
72
|
-
markAllAsRead(
|
|
72
|
+
markAllAsRead(body: Nomalism$1.Chat.IMarkAllRequest): Promise<void>;
|
|
73
73
|
markAllAsUnread(body: Nomalism$1.Chat.IMarkAllRequest): Promise<void>;
|
|
74
74
|
}
|
|
75
75
|
|
package/dist/index.js
CHANGED
|
@@ -294,8 +294,8 @@ var Repository4 = class {
|
|
|
294
294
|
async resendLast({ owner_id }) {
|
|
295
295
|
await this.api.post(`${this.route}resend_last/${owner_id}`);
|
|
296
296
|
}
|
|
297
|
-
async markAllAsRead(
|
|
298
|
-
await this.api.put(`${this.route}mark_all_as_read
|
|
297
|
+
async markAllAsRead(body) {
|
|
298
|
+
await this.api.put(`${this.route}mark_all_as_read`, body);
|
|
299
299
|
}
|
|
300
300
|
async markAllAsUnread(body) {
|
|
301
301
|
await this.api.put(`${this.route}mark_all_as_unread`, body);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.30",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|