@nomalism-com/api 0.13.2 → 0.13.4
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 +3 -3
- package/dist/modules/document/order.d.ts +3 -3
- package/dist/modules/document/purchase.d.ts +3 -3
- package/dist/modules/documentManagement/multimedia.d.ts +3 -3
- package/dist/modules/integration/dynamicData.d.ts +3 -3
- package/dist/modules/integration/emailTemplate.d.ts +3 -3
- package/dist/modules/integration/emailTemplateAttachment.d.ts +3 -3
- package/dist/modules/integration/errorHandler.d.ts +3 -3
- package/dist/modules/integration/field.d.ts +3 -3
- package/dist/modules/integration/fieldGroup.d.ts +3 -3
- package/dist/modules/integration/file.d.ts +3 -3
- package/dist/modules/integration/googleFilePermission.d.ts +3 -3
- package/dist/modules/integration/googleSheets.d.ts +3 -3
- package/dist/modules/integration/history.d.ts +3 -3
- package/dist/modules/integration/observation.d.ts +3 -3
- package/dist/modules/integration/observationType.d.ts +3 -3
- package/dist/modules/integration/projectInfo.d.ts +3 -3
- package/dist/modules/integration/settings.d.ts +3 -3
- package/dist/modules/integration/task.d.ts +3 -3
- package/dist/modules/integration/taskAttachment.d.ts +3 -3
- package/dist/modules/integration/taskGroup.d.ts +3 -3
- package/dist/modules/integration/taskNote.d.ts +3 -3
- package/dist/modules/print/npc.d.ts +3 -3
- package/dist/modules/print/printer.d.ts +3 -3
- package/dist/modules/print/schedulePrintJob.d.ts +3 -3
- package/dist/modules/stock/attribute.d.ts +3 -3
- package/dist/modules/stock/attributeValue.d.ts +3 -3
- package/dist/modules/stock/color.d.ts +3 -3
- package/dist/modules/stock/composition.d.ts +3 -3
- package/dist/modules/stock/compositionMaterial.d.ts +3 -3
- package/dist/modules/stock/location.d.ts +3 -3
- package/dist/modules/stock/maintenance.d.ts +3 -3
- package/dist/modules/stock/maintenanceAssoc.d.ts +3 -3
- package/dist/modules/stock/maintenancePreset.d.ts +3 -3
- package/dist/modules/stock/maintenancePresetAssoc.d.ts +3 -3
- package/dist/modules/stock/maintenanceType.d.ts +3 -3
- package/dist/modules/stock/plot.d.ts +3 -3
- package/dist/modules/stock/primaryColor.d.ts +3 -3
- package/dist/modules/stock/product.d.ts +3 -3
- package/dist/modules/stock/productAttribute.d.ts +3 -3
- package/dist/modules/stock/productCategory.d.ts +3 -3
- package/dist/modules/stock/productColor.d.ts +3 -3
- package/dist/modules/stock/productImage.d.ts +3 -3
- package/dist/modules/stock/productName.d.ts +3 -3
- package/dist/modules/stock/productNamePreset.d.ts +3 -3
- package/dist/modules/stock/productPart.d.ts +3 -3
- package/dist/modules/stock/productSubCategory.d.ts +3 -3
- package/dist/modules/stock/productUse.d.ts +3 -3
- package/dist/modules/stock/productUseAssoc.d.ts +3 -3
- package/dist/modules/stock/promotion.d.ts +3 -3
- package/dist/modules/stock/promotionAssoc.d.ts +3 -3
- package/dist/modules/stock/queryList.d.ts +3 -3
- package/dist/modules/stock/queryParameter.d.ts +3 -3
- package/dist/modules/stock/returnReason.d.ts +3 -3
- package/dist/modules/stock/savedEmPicking.d.ts +3 -3
- package/dist/modules/stock/schedule.d.ts +3 -3
- package/dist/modules/stock/similarProduct.d.ts +3 -3
- package/dist/modules/stock/stockMovement.d.ts +3 -3
- package/dist/modules/stock/typeOfInventory.d.ts +3 -3
- package/dist/modules/stock/typeOfLocation.d.ts +3 -3
- package/dist/modules/stock/unitOfMeasure.d.ts +3 -3
- package/dist/modules/stock/vatTax.d.ts +3 -3
- package/dist/modules/stock/vatTaxZone.d.ts +3 -3
- package/dist/modules/supply/cabide.d.ts +3 -3
- package/dist/modules/supply/cabideProduct.d.ts +3 -3
- package/dist/modules/supply/clientCurrentAccount.d.ts +3 -3
- package/dist/modules/supply/documentHeader.d.ts +3 -3
- package/dist/modules/supply/documentLine.d.ts +3 -3
- package/dist/modules/supply/documentLineAssoc.d.ts +3 -3
- package/dist/modules/supply/documentLineFolder.d.ts +3 -3
- package/dist/modules/supply/documentSet.d.ts +3 -3
- package/dist/modules/supply/documentType.d.ts +3 -3
- package/dist/modules/supply/externalDocumentHeader.d.ts +3 -3
- package/dist/modules/supply/externalDocumentType.d.ts +3 -3
- package/dist/modules/supply/moloniRequest.d.ts +3 -3
- package/dist/modules/supply/orderManagement.d.ts +3 -3
- package/dist/modules/supply/payment.d.ts +3 -3
- package/dist/modules/supply/preSale.d.ts +3 -3
- package/dist/modules/supply/preSaleProduct.d.ts +3 -3
- package/dist/modules/supply/propostaSheets.d.ts +3 -3
- package/dist/modules/supply/providerCurrentAccount.d.ts +3 -3
- package/dist/modules/supply/startDocumentHeaderLastUpdate.d.ts +3 -3
- package/dist/modules/supply/transformado.d.ts +3 -3
- package/dist/modules/supply/upfrontReturn.d.ts +3 -3
- package/dist/modules/supply/vatValidation.d.ts +3 -3
- package/dist/modules/supply/workflow.d.ts +3 -3
- package/dist/modules/tickets/channel.d.ts +3 -3
- package/dist/modules/tickets/clt.d.ts +3 -3
- package/dist/modules/tickets/language.d.ts +3 -3
- package/dist/modules/tickets/tickets.d.ts +3 -3
- package/dist/modules/user/address.d.ts +3 -3
- package/dist/modules/user/bankData.d.ts +3 -3
- package/dist/modules/user/clientType.d.ts +3 -3
- package/dist/modules/user/clients.d.ts +3 -3
- package/dist/modules/user/commissioner.d.ts +3 -3
- package/dist/modules/user/contactTypes.d.ts +3 -3
- package/dist/modules/user/contacts.d.ts +3 -3
- package/dist/modules/user/country.d.ts +3 -3
- package/dist/modules/user/deliveryMethods.d.ts +3 -3
- package/dist/modules/user/entityList.d.ts +3 -3
- package/dist/modules/user/favorites.d.ts +3 -3
- package/dist/modules/user/groupPermission.d.ts +3 -3
- package/dist/modules/user/language.d.ts +3 -3
- package/dist/modules/user/logout.d.ts +3 -3
- package/dist/modules/user/maturityDates.d.ts +3 -3
- package/dist/modules/user/password.d.ts +3 -3
- package/dist/modules/user/paymentCondition.d.ts +3 -3
- package/dist/modules/user/paymentMethods.d.ts +3 -3
- package/dist/modules/user/permission.d.ts +3 -3
- package/dist/modules/user/persona.d.ts +3 -3
- package/dist/modules/user/provider.d.ts +3 -3
- package/dist/modules/user/providerType.d.ts +3 -3
- package/dist/modules/user/purchaseCondition.d.ts +3 -3
- package/dist/modules/user/reasonForExemption.d.ts +3 -3
- package/dist/modules/user/refreshToken.d.ts +3 -3
- package/dist/modules/user/segmentsArea.d.ts +3 -3
- package/dist/modules/user/sessions.d.ts +3 -3
- package/dist/modules/user/shippings.d.ts +3 -3
- package/dist/modules/user/socialMedia.d.ts +3 -3
- package/dist/modules/user/storeOperator.d.ts +3 -3
- package/dist/modules/user/swift.d.ts +3 -3
- package/dist/modules/user/tenant.d.ts +3 -3
- package/dist/modules/user/user.d.ts +3 -3
- package/dist/modules/user/userPermission.d.ts +3 -3
- package/dist/modules/user/userPositions.d.ts +3 -3
- package/dist/modules/user/userToken.d.ts +3 -3
- package/dist/modules/user/vehicles.d.ts +3 -3
- package/dist/modules/user/zipCode.d.ts +3 -3
- package/dist/modules/view/eventHistory.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Password as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, PaymentConditions as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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[]>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PaymentMethods as Entity, shared } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IEntity = Entity.Entity;
|
|
4
4
|
export import ICreateRequest = Entity.ICreateRequest;
|
|
5
5
|
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[]>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { shared, Permissions as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindMinifiedRequest = shared.IFindMinifiedRequest;
|
|
4
4
|
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[]>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { shared, Persona as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IEntityExtended = Entity.IEntityExtended;
|
|
4
4
|
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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, Providers as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindByQueryRequest = Entity.IFindByQueryRequest;
|
|
4
4
|
export import IFindRequest = Entity.IFindRequest;
|
|
5
5
|
export import IFindResponse = Entity.IFindResponse;
|
|
@@ -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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, ProviderType as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { shared, PurchaseConditions as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IEntity = Entity.Entity;
|
|
4
4
|
export import IFindRequest = Entity.IFindRequest;
|
|
5
5
|
export import IFindResponse = Entity.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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, ReasonForExemption as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import { RefreshToken as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, SegmentsArea as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import { Sessions as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, Shippings as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, SocialMedia as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, StoreOperator as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, Swift as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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,11 +1,11 @@
|
|
|
1
1
|
import { shared, Tenant as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, Users as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindByEmailResponse = Entity.IFindByEmailResponse;
|
|
@@ -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[]>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { shared, UserPermissions as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
4
4
|
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[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shared, UserPositions as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindResponse = Entity.IFindResponse;
|
|
5
5
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { shared, UserTokens as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
export import IFindRequest = Entity.IFindRequest;
|
|
4
4
|
export import IFindPaginatedRequest = Entity.IFindPaginatedRequest;
|
|
5
5
|
export import IFindByOwnerIdRequest = shared.IFindByOwnerIdRequest;
|
|
@@ -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>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Vehicles as Entity, shared } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
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[]>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ZipCode as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
3
3
|
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>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventHistory as Entity } from '@nomalism-com/types';
|
|
2
|
-
import { IModuleConstructor } from '
|
|
2
|
+
import { IModuleConstructor } from '../..';
|
|
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>;
|