@nomalism-com/api 0.46.23 → 0.46.25
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
|
@@ -830,6 +830,9 @@ var Repository16 = class {
|
|
|
830
830
|
this.api = api;
|
|
831
831
|
this.route = route;
|
|
832
832
|
}
|
|
833
|
+
async getSmsData() {
|
|
834
|
+
await this.api.get(`${this.route}get_sms_data`);
|
|
835
|
+
}
|
|
833
836
|
async create(body) {
|
|
834
837
|
const response = await this.api.post(`${this.route}`, body);
|
|
835
838
|
return response.data;
|
|
@@ -4,6 +4,7 @@ export default class Repository implements Nomalism.DocumentLine.IRepository {
|
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
6
6
|
constructor({ api, route }: IModuleConstructor);
|
|
7
|
+
getSmsData(): Promise<void>;
|
|
7
8
|
create(body: Nomalism.DocumentLine.ICreateRequest[]): Promise<Nomalism.DocumentLineAssoc.IEntityExtended[]>;
|
|
8
9
|
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.DocumentLine.IUpdateRequest): Promise<void>;
|
|
9
10
|
updateMany(data: Nomalism.DocumentLine.IUpdateManyRequest): Promise<void>;
|
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.46.
|
|
4
|
+
"version": "0.46.25",
|
|
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.46.
|
|
26
|
+
"@nomalism-com/types": "^0.46.25",
|
|
27
27
|
"axios": "^1.18.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|