@nomalism-com/api 0.40.54 → 0.40.56
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 +2 -1
- package/dist/index.js +7 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ declare class Repository$1P implements Nomalism$1.Chat.IRepository {
|
|
|
65
65
|
private api;
|
|
66
66
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
67
67
|
findActiveByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdResponse>;
|
|
68
|
+
findActiveByPersonaId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdResponse>;
|
|
68
69
|
create(body: Nomalism$1.Chat.ICreateRequest): Promise<Nomalism$1.Chat.Entity>;
|
|
69
70
|
update(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Chat.IUpdateRequest): Promise<void>;
|
|
70
71
|
deleteOne(selector: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
|
|
@@ -1266,7 +1267,7 @@ declare class Repository$E implements Nomalism$1.Persona.IRepository {
|
|
|
1266
1267
|
update(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Persona.IUpdateRequest): Promise<Nomalism$1.Persona.IEntityExtended | null>;
|
|
1267
1268
|
deleteOne(params: Nomalism$1.Persona.IDeletePersonaRequest): Promise<Nomalism$1.Persona.IEntityExtended | null>;
|
|
1268
1269
|
findByBasic(params: Nomalism$1.Persona.IBasicSearchRequest): Promise<Nomalism$1.shared.IPaginationResponse<Nomalism$1.Persona.IBasicSearchResponse>>;
|
|
1269
|
-
|
|
1270
|
+
findForBillOfLading(data: Nomalism$1.Persona.IFindRequest): Promise<Nomalism$1.Persona.IFindResponse[]>;
|
|
1270
1271
|
findByEmail(data: Nomalism$1.Persona.IFindByEmailRequest): Promise<Nomalism$1.Persona.IFindByEmailResponse[]>;
|
|
1271
1272
|
findClientOrProvider(params: Nomalism$1.Persona.IFindClientOrProviderRequest): Promise<Nomalism$1.Persona.IFindClientOrProviderResponse[]>;
|
|
1272
1273
|
findForGmail(params: Nomalism$1.Persona.IFindForGmailRequest): Promise<Nomalism$1.Persona.IFindForGmailResponse | null>;
|
package/dist/index.js
CHANGED
|
@@ -278,6 +278,12 @@ var Repository4 = class {
|
|
|
278
278
|
});
|
|
279
279
|
return response.data;
|
|
280
280
|
}
|
|
281
|
+
async findActiveByPersonaId(params) {
|
|
282
|
+
const response = await this.api.get(`${this.route}active_by_persona_id`, {
|
|
283
|
+
params
|
|
284
|
+
});
|
|
285
|
+
return response.data;
|
|
286
|
+
}
|
|
281
287
|
async create(body) {
|
|
282
288
|
const response = await this.api.post(`${this.route}`, body);
|
|
283
289
|
return response.data;
|
|
@@ -2956,7 +2962,7 @@ var Repository79 = class {
|
|
|
2956
2962
|
});
|
|
2957
2963
|
return response.data;
|
|
2958
2964
|
}
|
|
2959
|
-
async
|
|
2965
|
+
async findForBillOfLading(data) {
|
|
2960
2966
|
const response = await this.api.get(`${this.route}`, {
|
|
2961
2967
|
data
|
|
2962
2968
|
});
|
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.56",
|
|
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.40.
|
|
26
|
+
"@nomalism-com/types": "^0.40.65",
|
|
27
27
|
"axios": "^1.13.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|