@nomalism-com/api 0.40.102 → 0.40.104
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 -2
- package/dist/index.js +6 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1617,9 +1617,9 @@ declare class Repository$b implements Nomalism$1.ChatSubscriber.IRepository {
|
|
|
1617
1617
|
private api;
|
|
1618
1618
|
constructor({ api, route }: IModuleConstructor);
|
|
1619
1619
|
createOrUpdate(data: Nomalism$1.ChatSubscriber.ICreateOrUpdateRequest): Promise<void>;
|
|
1620
|
-
findByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.
|
|
1620
|
+
findByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindByOwnerResponse[]>;
|
|
1621
1621
|
clientWebAppFindByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindChatSubscriberResponse>;
|
|
1622
|
-
findById({ id, }: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.
|
|
1622
|
+
findById({ id, }: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
|
|
1623
1623
|
deleteOne({ id }: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
@@ -1719,6 +1719,7 @@ declare class Repository$4 implements Nomalism$1.Portal.IRepository {
|
|
|
1719
1719
|
private api;
|
|
1720
1720
|
constructor({ api, route }: IModuleConstructor);
|
|
1721
1721
|
publicFindByOwnerId(params?: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Portal.IPublicFindByOwnerIdResponse[]>;
|
|
1722
|
+
publicFindBySubscriberId(params?: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Portal.IPublicFindByOwnerIdResponse[]>;
|
|
1722
1723
|
createPublicDocumentHeaderNote(data: Nomalism$1.Portal.PublicDocumentHeaderNoteCreateRequest[]): Promise<Nomalism$1.Portal.PublicDocumentHeaderNote[]>;
|
|
1723
1724
|
updatePublicDocumentHeaderNote({ id }: Nomalism$1.shared.IFindByIdRequest, data: Nomalism$1.Portal.PublicDocumentHeaderNoteUpdateRequest[]): Promise<Nomalism$1.Portal.PublicDocumentHeaderNote[]>;
|
|
1724
1725
|
}
|
package/dist/index.js
CHANGED
|
@@ -4001,6 +4001,12 @@ var Repository117 = class {
|
|
|
4001
4001
|
});
|
|
4002
4002
|
return response.data;
|
|
4003
4003
|
}
|
|
4004
|
+
async publicFindBySubscriberId(params) {
|
|
4005
|
+
const response = await this.api.get(`${this.route}public_by_subscriber`, {
|
|
4006
|
+
params
|
|
4007
|
+
});
|
|
4008
|
+
return response.data;
|
|
4009
|
+
}
|
|
4004
4010
|
async createPublicDocumentHeaderNote(data) {
|
|
4005
4011
|
const response = await this.api.post(`${this.route}public_document_header_note`, data);
|
|
4006
4012
|
return response.data;
|
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.104",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.40.
|
|
26
|
+
"@nomalism-com/types": "^0.40.107",
|
|
27
27
|
"axios": "^1.13.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@swc/core": "^1.15.8",
|
|
31
|
-
"@types/node": "^24.10.
|
|
31
|
+
"@types/node": "^24.10.8",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
33
33
|
"@typescript-eslint/parser": "^8.53.0",
|
|
34
34
|
"eslint": "^9.39.2",
|