@nomalism-com/api 0.45.3 → 0.45.6
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
|
@@ -1412,7 +1412,7 @@ var Repository37 = class {
|
|
|
1412
1412
|
return response.data;
|
|
1413
1413
|
}
|
|
1414
1414
|
async logout() {
|
|
1415
|
-
await this.api.post(`${this.route}`);
|
|
1415
|
+
await this.api.post(`${this.route}logout`);
|
|
1416
1416
|
}
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
@@ -3758,6 +3758,12 @@ var Repository109 = class {
|
|
|
3758
3758
|
const response = await this.api.get(`${this.route}document_header_subscribers`, { params });
|
|
3759
3759
|
return response.data;
|
|
3760
3760
|
}
|
|
3761
|
+
async findDocumentHeaderSubscribersByLanguage(params) {
|
|
3762
|
+
const response = await this.api.get(`${this.route}document_header_subscribers_by_language`, {
|
|
3763
|
+
params
|
|
3764
|
+
});
|
|
3765
|
+
return response.data;
|
|
3766
|
+
}
|
|
3761
3767
|
async findSubscribedDocumentHeaders(params) {
|
|
3762
3768
|
const response = await this.api.get(`${this.route}subscribed_document_headers`, { params });
|
|
3763
3769
|
return response.data;
|
|
@@ -3874,7 +3880,7 @@ var Repository114 = class {
|
|
|
3874
3880
|
this.route = route;
|
|
3875
3881
|
}
|
|
3876
3882
|
async findCurrentAccountByOwnerId(params) {
|
|
3877
|
-
const response = await this.api.get(`${this.route}
|
|
3883
|
+
const response = await this.api.get(`${this.route}`, {
|
|
3878
3884
|
params
|
|
3879
3885
|
});
|
|
3880
3886
|
return response.data;
|
|
@@ -3886,7 +3892,7 @@ var Repository114 = class {
|
|
|
3886
3892
|
return response.data;
|
|
3887
3893
|
}
|
|
3888
3894
|
async exportCurrentAccount(params) {
|
|
3889
|
-
const response = await this.api.get(`${this.route}
|
|
3895
|
+
const response = await this.api.get(`${this.route}export`, {
|
|
3890
3896
|
params
|
|
3891
3897
|
});
|
|
3892
3898
|
return response.data;
|
|
@@ -4345,7 +4351,7 @@ var API = class {
|
|
|
4345
4351
|
getModuleParams("stock", Nomalism.ReturnReason.Route)
|
|
4346
4352
|
);
|
|
4347
4353
|
this.PropostaSheets = new Repository69(
|
|
4348
|
-
getModuleParams("stock", Nomalism.
|
|
4354
|
+
getModuleParams("stock", Nomalism.PropostaSheets.Route)
|
|
4349
4355
|
);
|
|
4350
4356
|
this.Schedule = new Repository70(getModuleParams("stock", Nomalism.Schedule.Route));
|
|
4351
4357
|
this.GoogleFilePermission = new Repository71(
|
|
@@ -5,6 +5,7 @@ export default class Repository implements Nomalism.ChatSubscriber.IRepository {
|
|
|
5
5
|
private api;
|
|
6
6
|
constructor({ api, route }: IModuleConstructor);
|
|
7
7
|
findDocumentHeaderSubscribers(params: Nomalism.ChatSubscriber.IFindDocumentHeaderSubscribersRequest): Promise<Nomalism.ChatSubscriber.IEntityWithPersona[]>;
|
|
8
|
+
findDocumentHeaderSubscribersByLanguage(params: Nomalism.ChatSubscriber.IFindDocumentHeaderSubscribersByLanguageRequest): Promise<string[]>;
|
|
8
9
|
findSubscribedDocumentHeaders(params: Nomalism.ChatSubscriber.IFindSubscribedDocumentHeadersRequest): Promise<Nomalism.ChatSubscriber.IEntityWithPersonaAndSubscriptions>;
|
|
9
10
|
findById({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.ChatSubscriber.IEntityWithPersonaAndSubscriptions>;
|
|
10
11
|
createOrUpdate(data: Nomalism.ChatSubscriber.ICreateOrUpdateRequest): Promise<string>;
|
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.45.
|
|
4
|
+
"version": "0.45.6",
|
|
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.45.
|
|
26
|
+
"@nomalism-com/types": "^0.45.9",
|
|
27
27
|
"axios": "^1.16.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|