@nomalism-com/api 0.43.41 → 0.43.43
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 +3 -4
- package/dist/index.js +2 -8
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -59,9 +59,8 @@ declare class Repository$1T implements Nomalism$1.Chat.IRepository {
|
|
|
59
59
|
route: string;
|
|
60
60
|
private api;
|
|
61
61
|
constructor({ api, route }: IModuleConstructor);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
findActiveBySubscriberId(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Chat.IPublicFindBySubscriberId>;
|
|
62
|
+
findByOwnerId(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Chat.IFindActiveByOwnerIdResponse>;
|
|
63
|
+
findBySubscriberId(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Chat.IPublicFindBySubscriberId>;
|
|
65
64
|
create(body: Nomalism$1.Chat.ICreateRequest): Promise<Nomalism$1.Chat.Entity>;
|
|
66
65
|
update({ id }: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Chat.IUpdateRequest): Promise<void>;
|
|
67
66
|
deleteOne({ id }: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
|
|
@@ -1560,7 +1559,7 @@ declare namespace sideMenu {
|
|
|
1560
1559
|
export { Repository$i as default };
|
|
1561
1560
|
}
|
|
1562
1561
|
|
|
1563
|
-
declare class Repository$h implements Nomalism$1.ErrorLog.
|
|
1562
|
+
declare class Repository$h implements Nomalism$1.ErrorLog.IController {
|
|
1564
1563
|
route: string;
|
|
1565
1564
|
private api;
|
|
1566
1565
|
constructor({ api, route }: IModuleConstructor);
|
package/dist/index.js
CHANGED
|
@@ -267,19 +267,13 @@ var Repository4 = class {
|
|
|
267
267
|
this.api = api;
|
|
268
268
|
this.route = route;
|
|
269
269
|
}
|
|
270
|
-
async
|
|
270
|
+
async findByOwnerId(params) {
|
|
271
271
|
const response = await this.api.get(`${this.route}active`, {
|
|
272
272
|
params
|
|
273
273
|
});
|
|
274
274
|
return response.data;
|
|
275
275
|
}
|
|
276
|
-
async
|
|
277
|
-
const response = await this.api.get(`${this.route}client_web_app`, {
|
|
278
|
-
params
|
|
279
|
-
});
|
|
280
|
-
return response.data;
|
|
281
|
-
}
|
|
282
|
-
async findActiveBySubscriberId(params) {
|
|
276
|
+
async findBySubscriberId(params) {
|
|
283
277
|
const response = await this.api.get(`${this.route}active_by_subscriber_id`, {
|
|
284
278
|
params
|
|
285
279
|
});
|
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.43.
|
|
4
|
+
"version": "0.43.43",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.43.
|
|
26
|
+
"@nomalism-com/types": "^0.43.48",
|
|
27
27
|
"axios": "^1.13.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@swc/core": "^1.15.
|
|
30
|
+
"@swc/core": "^1.15.21",
|
|
31
31
|
"@types/node": "^24.12.0",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
|
33
33
|
"@typescript-eslint/parser": "^8.57.1",
|