@nomalism-com/api 1.3.38 → 1.3.40
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
|
@@ -832,7 +832,8 @@ var Repository16 = class {
|
|
|
832
832
|
this.route = route;
|
|
833
833
|
}
|
|
834
834
|
async getSmsData() {
|
|
835
|
-
await this.api.get(`${this.route}get_sms_data`);
|
|
835
|
+
const response = await this.api.get(`${this.route}get_sms_data`);
|
|
836
|
+
return response.data;
|
|
836
837
|
}
|
|
837
838
|
async create(body) {
|
|
838
839
|
const response = await this.api.post(`${this.route}`, body);
|
|
@@ -4,7 +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<
|
|
7
|
+
getSmsData(): Promise<Nomalism.DocumentLine.IGetSmsData[]>;
|
|
8
8
|
create(body: Nomalism.DocumentLine.ICreateRequest[]): Promise<Nomalism.DocumentLineAssoc.IEntityExtended[]>;
|
|
9
9
|
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.DocumentLine.IUpdateRequest): Promise<void>;
|
|
10
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": "1.3.
|
|
4
|
+
"version": "1.3.40",
|
|
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": "^1.3.
|
|
26
|
+
"@nomalism-com/types": "^1.3.41",
|
|
27
27
|
"axios": "^1.18.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
37
37
|
"eslint-plugin-prettier": "^5.5.6",
|
|
38
|
-
"prettier": "^3.9.
|
|
38
|
+
"prettier": "^3.9.1",
|
|
39
39
|
"tsup": "^8.5.1"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|