@nomalism-com/api 0.43.44 → 0.43.46
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 -0
- package/dist/index.js +4 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1611,6 +1611,7 @@ declare class Repository$d implements Nomalism$1.ChatSubscriber.IRepository {
|
|
|
1611
1611
|
constructor({ api, route }: IModuleConstructor);
|
|
1612
1612
|
createOrUpdate(data: Nomalism$1.ChatSubscriber.ICreateOrUpdateRequest): Promise<string>;
|
|
1613
1613
|
findByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindByOwnerResponse[]>;
|
|
1614
|
+
publicFindByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindChatSubscriberResponse>;
|
|
1614
1615
|
findById({ id, }: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
|
|
1615
1616
|
deleteOne({ id }: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
|
|
1616
1617
|
}
|
package/dist/index.js
CHANGED
|
@@ -3747,6 +3747,10 @@ var Repository110 = class {
|
|
|
3747
3747
|
const response = await this.api.get(`${this.route}`, { params });
|
|
3748
3748
|
return response.data;
|
|
3749
3749
|
}
|
|
3750
|
+
async publicFindByOwner(params) {
|
|
3751
|
+
const response = await this.api.get(`${this.route}client_web_app`, { params });
|
|
3752
|
+
return response.data;
|
|
3753
|
+
}
|
|
3750
3754
|
async findById({
|
|
3751
3755
|
id
|
|
3752
3756
|
}) {
|
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.46",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,14 +23,14 @@
|
|
|
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.51",
|
|
27
27
|
"axios": "^1.13.6"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@swc/core": "^1.15.21",
|
|
31
31
|
"@types/node": "^24.12.0",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.57.
|
|
33
|
-
"@typescript-eslint/parser": "^8.57.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.57.2",
|
|
33
|
+
"@typescript-eslint/parser": "^8.57.2",
|
|
34
34
|
"eslint": "^9.39.4",
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "^4.4.4",
|