@nomalism-com/api 0.44.12 → 0.44.14
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.js
CHANGED
|
@@ -495,6 +495,10 @@ var Repository7 = class {
|
|
|
495
495
|
const result = await this.api.post(`${this.route}create_site_proposal`, data);
|
|
496
496
|
return result.data;
|
|
497
497
|
}
|
|
498
|
+
async findCountByOwnerIds(data) {
|
|
499
|
+
const result = await this.api.post(`${this.route}count_by_owners_ids`, data);
|
|
500
|
+
return result.data;
|
|
501
|
+
}
|
|
498
502
|
};
|
|
499
503
|
|
|
500
504
|
// src/modules/supply/documentHeaderHistory.ts
|
|
@@ -24,4 +24,5 @@ export default class Repository implements Nomalism.DocumentHeader.IRepository {
|
|
|
24
24
|
documentList({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.DocumentHeader.IDocumentListResponse[]>;
|
|
25
25
|
findStartDocumentHeaderSiblings({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.DocumentHeader.IFindStartDocumentHeaderSiblingsResponse>;
|
|
26
26
|
createSiteProposal(data: Nomalism.shared.IBrokerTopicPayload[typeof Nomalism.shared.IBrokerTopic.create_site_proposal]): Promise<Nomalism.ProjectInfo.ICreateResponse>;
|
|
27
|
+
findCountByOwnerIds(data: Nomalism.DocumentHeader.IFindCountByOwnersIdsRequest): Promise<Nomalism.DocumentHeader.IFindCountByOwnersIdsResponse[]>;
|
|
27
28
|
}
|
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.44.
|
|
4
|
+
"version": "0.44.14",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.44.
|
|
26
|
+
"@nomalism-com/types": "^0.44.13",
|
|
27
27
|
"axios": "^1.16.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|