@nomalism-com/api 0.13.2 → 0.13.3
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/modules/document/materialEntrance.d.ts +2 -2
- package/dist/modules/document/order.d.ts +2 -2
- package/dist/modules/document/purchase.d.ts +2 -2
- package/dist/modules/documentManagement/multimedia.d.ts +2 -2
- package/dist/modules/integration/dynamicData.d.ts +2 -2
- package/dist/modules/integration/emailTemplate.d.ts +2 -2
- package/dist/modules/integration/emailTemplateAttachment.d.ts +2 -2
- package/dist/modules/integration/errorHandler.d.ts +2 -2
- package/dist/modules/integration/field.d.ts +2 -2
- package/dist/modules/integration/fieldGroup.d.ts +2 -2
- package/dist/modules/integration/file.d.ts +2 -2
- package/dist/modules/integration/googleFilePermission.d.ts +2 -2
- package/dist/modules/integration/googleSheets.d.ts +2 -2
- package/dist/modules/integration/history.d.ts +2 -2
- package/dist/modules/integration/observation.d.ts +2 -2
- package/dist/modules/integration/observationType.d.ts +2 -2
- package/dist/modules/integration/projectInfo.d.ts +2 -2
- package/dist/modules/integration/settings.d.ts +2 -2
- package/dist/modules/integration/task.d.ts +2 -2
- package/dist/modules/integration/taskAttachment.d.ts +2 -2
- package/dist/modules/integration/taskGroup.d.ts +2 -2
- package/dist/modules/integration/taskNote.d.ts +2 -2
- package/dist/modules/print/npc.d.ts +2 -2
- package/dist/modules/print/printer.d.ts +2 -2
- package/dist/modules/print/schedulePrintJob.d.ts +2 -2
- package/dist/modules/stock/attribute.d.ts +2 -2
- package/dist/modules/stock/attributeValue.d.ts +2 -2
- package/dist/modules/stock/color.d.ts +2 -2
- package/dist/modules/stock/composition.d.ts +2 -2
- package/dist/modules/stock/compositionMaterial.d.ts +2 -2
- package/dist/modules/stock/location.d.ts +2 -2
- package/dist/modules/stock/maintenance.d.ts +2 -2
- package/dist/modules/stock/maintenanceAssoc.d.ts +2 -2
- package/dist/modules/stock/maintenancePreset.d.ts +2 -2
- package/dist/modules/stock/maintenancePresetAssoc.d.ts +2 -2
- package/dist/modules/stock/maintenanceType.d.ts +2 -2
- package/dist/modules/stock/plot.d.ts +2 -2
- package/dist/modules/stock/primaryColor.d.ts +2 -2
- package/dist/modules/stock/product.d.ts +2 -2
- package/dist/modules/stock/productAttribute.d.ts +2 -2
- package/dist/modules/stock/productCategory.d.ts +2 -2
- package/dist/modules/stock/productColor.d.ts +2 -2
- package/dist/modules/stock/productImage.d.ts +2 -2
- package/dist/modules/stock/productName.d.ts +2 -2
- package/dist/modules/stock/productNamePreset.d.ts +2 -2
- package/dist/modules/stock/productPart.d.ts +2 -2
- package/dist/modules/stock/productSubCategory.d.ts +2 -2
- package/dist/modules/stock/productUse.d.ts +2 -2
- package/dist/modules/stock/productUseAssoc.d.ts +2 -2
- package/dist/modules/stock/promotion.d.ts +2 -2
- package/dist/modules/stock/promotionAssoc.d.ts +2 -2
- package/dist/modules/stock/queryList.d.ts +2 -2
- package/dist/modules/stock/queryParameter.d.ts +2 -2
- package/dist/modules/stock/returnReason.d.ts +2 -2
- package/dist/modules/stock/savedEmPicking.d.ts +2 -2
- package/dist/modules/stock/schedule.d.ts +2 -2
- package/dist/modules/stock/similarProduct.d.ts +2 -2
- package/dist/modules/stock/stockMovement.d.ts +2 -2
- package/dist/modules/stock/typeOfInventory.d.ts +2 -2
- package/dist/modules/stock/typeOfLocation.d.ts +2 -2
- package/dist/modules/stock/unitOfMeasure.d.ts +2 -2
- package/dist/modules/stock/vatTax.d.ts +2 -2
- package/dist/modules/stock/vatTaxZone.d.ts +2 -2
- package/dist/modules/supply/cabide.d.ts +2 -2
- package/dist/modules/supply/cabideProduct.d.ts +2 -2
- package/dist/modules/supply/clientCurrentAccount.d.ts +2 -2
- package/dist/modules/supply/documentHeader.d.ts +2 -2
- package/dist/modules/supply/documentLine.d.ts +2 -2
- package/dist/modules/supply/documentLineAssoc.d.ts +2 -2
- package/dist/modules/supply/documentLineFolder.d.ts +2 -2
- package/dist/modules/supply/documentSet.d.ts +2 -2
- package/dist/modules/supply/documentType.d.ts +2 -2
- package/dist/modules/supply/externalDocumentHeader.d.ts +2 -2
- package/dist/modules/supply/externalDocumentType.d.ts +2 -2
- package/dist/modules/supply/moloniRequest.d.ts +2 -2
- package/dist/modules/supply/orderManagement.d.ts +2 -2
- package/dist/modules/supply/payment.d.ts +2 -2
- package/dist/modules/supply/preSale.d.ts +2 -2
- package/dist/modules/supply/preSaleProduct.d.ts +2 -2
- package/dist/modules/supply/propostaSheets.d.ts +2 -2
- package/dist/modules/supply/providerCurrentAccount.d.ts +2 -2
- package/dist/modules/supply/startDocumentHeaderLastUpdate.d.ts +2 -2
- package/dist/modules/supply/transformado.d.ts +2 -2
- package/dist/modules/supply/upfrontReturn.d.ts +2 -2
- package/dist/modules/supply/vatValidation.d.ts +2 -2
- package/dist/modules/supply/workflow.d.ts +2 -2
- package/dist/modules/tickets/channel.d.ts +2 -2
- package/dist/modules/tickets/clt.d.ts +2 -2
- package/dist/modules/tickets/language.d.ts +2 -2
- package/dist/modules/tickets/tickets.d.ts +2 -2
- package/dist/modules/user/address.d.ts +2 -2
- package/dist/modules/user/bankData.d.ts +2 -2
- package/dist/modules/user/clientType.d.ts +2 -2
- package/dist/modules/user/clients.d.ts +2 -2
- package/dist/modules/user/commissioner.d.ts +2 -2
- package/dist/modules/user/contactTypes.d.ts +2 -2
- package/dist/modules/user/contacts.d.ts +2 -2
- package/dist/modules/user/country.d.ts +2 -2
- package/dist/modules/user/deliveryMethods.d.ts +2 -2
- package/dist/modules/user/entityList.d.ts +2 -2
- package/dist/modules/user/favorites.d.ts +2 -2
- package/dist/modules/user/groupPermission.d.ts +2 -2
- package/dist/modules/user/language.d.ts +2 -2
- package/dist/modules/user/logout.d.ts +2 -2
- package/dist/modules/user/maturityDates.d.ts +2 -2
- package/dist/modules/user/password.d.ts +2 -2
- package/dist/modules/user/paymentCondition.d.ts +2 -2
- package/dist/modules/user/paymentMethods.d.ts +2 -2
- package/dist/modules/user/permission.d.ts +2 -2
- package/dist/modules/user/persona.d.ts +2 -2
- package/dist/modules/user/provider.d.ts +2 -2
- package/dist/modules/user/providerType.d.ts +2 -2
- package/dist/modules/user/purchaseCondition.d.ts +2 -2
- package/dist/modules/user/reasonForExemption.d.ts +2 -2
- package/dist/modules/user/refreshToken.d.ts +2 -2
- package/dist/modules/user/segmentsArea.d.ts +2 -2
- package/dist/modules/user/sessions.d.ts +2 -2
- package/dist/modules/user/shippings.d.ts +2 -2
- package/dist/modules/user/socialMedia.d.ts +2 -2
- package/dist/modules/user/storeOperator.d.ts +2 -2
- package/dist/modules/user/swift.d.ts +2 -2
- package/dist/modules/user/tenant.d.ts +2 -2
- package/dist/modules/user/user.d.ts +2 -2
- package/dist/modules/user/userPermission.d.ts +2 -2
- package/dist/modules/user/userPositions.d.ts +2 -2
- package/dist/modules/user/userToken.d.ts +2 -2
- package/dist/modules/user/vehicles.d.ts +2 -2
- package/dist/modules/user/zipCode.d.ts +2 -2
- package/dist/modules/view/eventHistory.d.ts +2 -2
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
|
5
5
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
6
6
|
export import IEntity = Entity.Entity;
|
|
7
7
|
export default class Repository implements Entity.IApi {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
route: string;
|
|
9
|
+
publicRoute: string;
|
|
10
10
|
private api;
|
|
11
11
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
12
12
|
find(): Promise<Entity.Entity[]>;
|
|
@@ -10,8 +10,8 @@ export import IEntity = Entity.Entity;
|
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IModuleConstructor } from 'index';
|
|
2
2
|
export default class Repository {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
route: string;
|
|
4
|
+
publicRoute: string;
|
|
5
5
|
private api;
|
|
6
6
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
7
7
|
logout(): Promise<void>;
|
|
@@ -6,8 +6,8 @@ export import IUpdateRequest = Entity.IUpdateRequest;
|
|
|
6
6
|
export import IFindMinifiedRequest = shared.IFindMinifiedRequest;
|
|
7
7
|
export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
8
8
|
export default class Repository implements Entity.IRepository {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
route: string;
|
|
10
|
+
publicRoute: string;
|
|
11
11
|
private api;
|
|
12
12
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
13
13
|
find(): Promise<IEntity[]>;
|
|
@@ -3,8 +3,8 @@ import { IModuleConstructor } from 'index';
|
|
|
3
3
|
export import IForgotPassword = Entity.IForgotPassword;
|
|
4
4
|
export import IResetPassword = Entity.IResetPassword;
|
|
5
5
|
export default class Repository implements Entity.IRepository {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
route: string;
|
|
7
|
+
publicRoute: string;
|
|
8
8
|
private api;
|
|
9
9
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
10
10
|
forgotPassword(body: IForgotPassword): Promise<void>;
|
|
@@ -9,8 +9,8 @@ export import IEntity = Entity.Entity;
|
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
10
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export default class Repository implements Entity.IRepository {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
route: string;
|
|
13
|
+
publicRoute: string;
|
|
14
14
|
private api;
|
|
15
15
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
16
16
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -6,8 +6,8 @@ export import IUpdateRequest = Entity.IUpdateRequest;
|
|
|
6
6
|
export import IFindMinifiedRequest = shared.IFindMinifiedRequest;
|
|
7
7
|
export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
8
8
|
export default class Repository implements Entity.IRepository {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
route: string;
|
|
10
|
+
publicRoute: string;
|
|
11
11
|
private api;
|
|
12
12
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
13
13
|
find(): Promise<IEntity[]>;
|
|
@@ -5,8 +5,8 @@ export import IFindMinifiedResponse = shared.IFindMinifiedResponse;
|
|
|
5
5
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
6
6
|
export import IEntity = Entity.Entity;
|
|
7
7
|
export default class Repository implements Entity.IApi {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
route: string;
|
|
9
|
+
publicRoute: string;
|
|
10
10
|
private api;
|
|
11
11
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
12
12
|
find(): Promise<Entity.Entity[]>;
|
|
@@ -5,8 +5,8 @@ export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
|
5
5
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
6
6
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
7
7
|
export default class Repository implements Entity.IRepository {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
route: string;
|
|
9
|
+
publicRoute: string;
|
|
10
10
|
private api;
|
|
11
11
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
12
12
|
findByOwnerId(params: IFindByOwnerIdRequest): Promise<IEntityExtended[]>;
|
|
@@ -14,8 +14,8 @@ export import IEntity = Entity.Entity;
|
|
|
14
14
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
15
15
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
16
16
|
export default class Repository implements Entity.IRepository {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
route: string;
|
|
18
|
+
publicRoute: string;
|
|
19
19
|
private api;
|
|
20
20
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
21
21
|
findByQuery(data: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -10,8 +10,8 @@ export import IEntity = Entity.Entity;
|
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -10,8 +10,8 @@ export import IUpdateRequest = Entity.IUpdateRequest;
|
|
|
10
10
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -10,8 +10,8 @@ export import IEntity = Entity.Entity;
|
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -3,8 +3,8 @@ import { IModuleConstructor } from 'index';
|
|
|
3
3
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
4
4
|
export import ICreateResponse = Entity.ICreateResponse;
|
|
5
5
|
export default class Repository implements Entity.IRepository {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
route: string;
|
|
7
|
+
publicRoute: string;
|
|
8
8
|
private api;
|
|
9
9
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
10
10
|
create(body: ICreateRequest): Promise<ICreateResponse>;
|
|
@@ -10,8 +10,8 @@ export import IEntity = Entity.Entity;
|
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -3,8 +3,8 @@ import { IModuleConstructor } from 'index';
|
|
|
3
3
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
4
4
|
export import ICreateResponse = Entity.ICreateResponse;
|
|
5
5
|
export default class Repository implements Entity.IRepository {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
route: string;
|
|
7
|
+
publicRoute: string;
|
|
8
8
|
private api;
|
|
9
9
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
10
10
|
create(body: ICreateRequest): Promise<ICreateResponse>;
|
|
@@ -9,8 +9,8 @@ export import IEntity = Entity.Entity;
|
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
10
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export default class Repository implements Entity.IRepository {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
route: string;
|
|
13
|
+
publicRoute: string;
|
|
14
14
|
private api;
|
|
15
15
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
16
16
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -9,8 +9,8 @@ export import IEntity = Entity.Entity;
|
|
|
9
9
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
10
10
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
11
11
|
export default class Repository implements Entity.IRepository {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
route: string;
|
|
13
|
+
publicRoute: string;
|
|
14
14
|
private api;
|
|
15
15
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
16
16
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -14,8 +14,8 @@ export import IUpdateRequest = Entity.IUpdateRequest;
|
|
|
14
14
|
export import ICheckPinRequest = Entity.ICheckPinRequest;
|
|
15
15
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
16
16
|
export default class Repository implements Entity.IApi {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
route: string;
|
|
18
|
+
publicRoute: string;
|
|
19
19
|
private api;
|
|
20
20
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
21
21
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -10,8 +10,8 @@ export import IEntity = Entity.Entity;
|
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -4,8 +4,8 @@ export import IEntity = Entity.Entity;
|
|
|
4
4
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
5
5
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
6
6
|
export default class Repository implements Entity.IRepository {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
route: string;
|
|
8
|
+
publicRoute: string;
|
|
9
9
|
private api;
|
|
10
10
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
11
11
|
create(body: ICreateRequest): Promise<IEntity>;
|
|
@@ -16,8 +16,8 @@ export import IFindFromClientOrProviderRequest = Entity.IFindFromClientOrProvide
|
|
|
16
16
|
export import IFindFromClientOrProviderResponse = Entity.IFindFromClientOrProviderResponse;
|
|
17
17
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
18
18
|
export default class Repository implements Entity.IApi {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
route: string;
|
|
20
|
+
publicRoute: string;
|
|
21
21
|
private api;
|
|
22
22
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
23
23
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -5,8 +5,8 @@ export import IFindByOwnerIdResponse = Entity.IFindByOwnerIdResponse;
|
|
|
5
5
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
6
6
|
export import IEntity = Entity.Entity;
|
|
7
7
|
export default class Repository implements Entity.IRepository {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
route: string;
|
|
9
|
+
publicRoute: string;
|
|
10
10
|
private api;
|
|
11
11
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
12
12
|
findByOwnerId(params: IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
|
|
@@ -10,8 +10,8 @@ export import IEntity = Entity.Entity;
|
|
|
10
10
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
11
11
|
export type IPaginationResponse = shared.IPaginationResponse<Entity.IFindResponse>;
|
|
12
12
|
export default class Repository implements Entity.IRepository {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
route: string;
|
|
14
|
+
publicRoute: string;
|
|
15
15
|
private api;
|
|
16
16
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
17
17
|
find(params: IFindRequest): Promise<IFindResponse[]>;
|
|
@@ -7,8 +7,8 @@ export import IUpdateRequest = Entity.IUpdateRequest;
|
|
|
7
7
|
export import IEntity = Entity.Entity;
|
|
8
8
|
export type IPaginationResponse = shared.IPaginationResponse<IEntity>;
|
|
9
9
|
export default class Repository implements Entity.IApi {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
route: string;
|
|
11
|
+
publicRoute: string;
|
|
12
12
|
private api;
|
|
13
13
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
14
14
|
findById(selector: shared.IFindByIdRequest): Promise<IEntity | null>;
|
|
@@ -4,8 +4,8 @@ export import IEntity = Entity.Entity;
|
|
|
4
4
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
5
5
|
export import IUpdateRequest = Entity.IUpdateRequest;
|
|
6
6
|
export default class Repository implements Entity.IApi {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
route: string;
|
|
8
|
+
publicRoute: string;
|
|
9
9
|
private api;
|
|
10
10
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
11
11
|
find(): Promise<IEntity[]>;
|
|
@@ -4,8 +4,8 @@ export import IEntity = Entity.Entity;
|
|
|
4
4
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
5
5
|
export import IFindByPostalCode = Entity.IFindByPostalCode;
|
|
6
6
|
export default class Repository implements Entity.IRepository {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
route: string;
|
|
8
|
+
publicRoute: string;
|
|
9
9
|
private api;
|
|
10
10
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
11
11
|
create(body: ICreateRequest[]): Promise<void>;
|
|
@@ -2,8 +2,8 @@ import { EventHistory as Entity } from '@nomalism-com/types';
|
|
|
2
2
|
import { IModuleConstructor } from 'index';
|
|
3
3
|
export import IFindRequest = Entity.IFindByIdRequest;
|
|
4
4
|
export default class Repository implements Entity.IController {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
route: string;
|
|
6
|
+
publicRoute: string;
|
|
7
7
|
private api;
|
|
8
8
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
9
9
|
findById(params: IFindRequest): Promise<any>;
|