@eleva-io/erp-sdk 0.1.53 → 0.1.55
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/cjs/modules/contacts/persons/types/payment-method.d.ts +2 -2
- package/dist/cjs/modules/contacts/persons/types/payment-method.d.ts.map +1 -1
- package/dist/cjs/modules/global/index.d.ts +3 -2
- package/dist/cjs/modules/global/index.d.ts.map +1 -1
- package/dist/cjs/modules/global/index.js +3 -2
- package/dist/cjs/modules/global/index.js.map +1 -1
- package/dist/cjs/modules/global/types.d.ts +1 -1
- package/dist/cjs/modules/global/types.d.ts.map +1 -1
- package/dist/cjs/modules/global/validations/payment_method.d.ts +2 -2
- package/dist/cjs/modules/global/validations/payment_method.d.ts.map +1 -1
- package/dist/cjs/modules/global/validations/payment_method.js.map +1 -1
- package/dist/cjs/modules/global/validations/payment_method.spec.js.map +1 -1
- package/dist/cjs/modules/horizontal/communities/api/visits.d.ts +47 -0
- package/dist/cjs/modules/horizontal/communities/api/visits.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/communities/api/visits.js +139 -0
- package/dist/cjs/modules/horizontal/communities/api/visits.js.map +1 -0
- package/dist/cjs/modules/horizontal/communities/types/visit.d.ts +300 -0
- package/dist/cjs/modules/horizontal/communities/types/visit.d.ts.map +1 -0
- package/dist/cjs/modules/horizontal/communities/types/visit.js +63 -0
- package/dist/cjs/modules/horizontal/communities/types/visit.js.map +1 -0
- package/dist/esm/modules/contacts/persons/types/payment-method.d.ts +2 -2
- package/dist/esm/modules/contacts/persons/types/payment-method.d.ts.map +1 -1
- package/dist/esm/modules/global/index.d.ts +3 -2
- package/dist/esm/modules/global/index.d.ts.map +1 -1
- package/dist/esm/modules/global/index.js +3 -2
- package/dist/esm/modules/global/index.js.map +1 -1
- package/dist/esm/modules/global/types.d.ts +1 -1
- package/dist/esm/modules/global/types.d.ts.map +1 -1
- package/dist/esm/modules/global/validations/payment_method.d.ts +2 -2
- package/dist/esm/modules/global/validations/payment_method.d.ts.map +1 -1
- package/dist/esm/modules/global/validations/payment_method.js.map +1 -1
- package/dist/esm/modules/global/validations/payment_method.spec.js.map +1 -1
- package/dist/esm/modules/horizontal/communities/api/visits.d.ts +47 -0
- package/dist/esm/modules/horizontal/communities/api/visits.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/communities/api/visits.js +129 -0
- package/dist/esm/modules/horizontal/communities/api/visits.js.map +1 -0
- package/dist/esm/modules/horizontal/communities/types/visit.d.ts +300 -0
- package/dist/esm/modules/horizontal/communities/types/visit.d.ts.map +1 -0
- package/dist/esm/modules/horizontal/communities/types/visit.js +60 -0
- package/dist/esm/modules/horizontal/communities/types/visit.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GlobalPaymentMethodMetadata, GlobalPaymentMethodType } from 'modules/global';
|
|
2
2
|
export interface PersonPaymentMethod {
|
|
3
3
|
id: string;
|
|
4
4
|
personId: string;
|
|
5
5
|
paymentMethodType: GlobalPaymentMethodType;
|
|
6
6
|
alias: string;
|
|
7
7
|
isMain: boolean;
|
|
8
|
-
metadata:
|
|
8
|
+
metadata: GlobalPaymentMethodMetadata;
|
|
9
9
|
updatedAt: string;
|
|
10
10
|
}
|
|
11
11
|
export type CreatePersonPaymentMethodDTO = Omit<PersonPaymentMethod, 'id' | 'personId' | 'updatedAt'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-method.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/contacts/persons/types/payment-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"payment-method.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/contacts/persons/types/payment-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAErF,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,uBAAuB,CAAA;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,2BAA2B,CAAA;IACrC,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,CAAC,CAAA;AAErG,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/global/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/global/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,8BAA8B,CAAA"}
|
|
@@ -14,8 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
18
18
|
__exportStar(require("./bank-account"), exports);
|
|
19
|
+
__exportStar(require("./search"), exports);
|
|
19
20
|
__exportStar(require("./types"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./validations/payment_method"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/global/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/global/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,iDAA8B;AAC9B,2CAAwB;AACxB,0CAAuB;AACvB,+DAA4C"}
|
|
@@ -21,7 +21,7 @@ export interface GlobalEconomicActivity {
|
|
|
21
21
|
export declare enum GlobalPaymentMethodType {
|
|
22
22
|
bankAccount = "bank-account"
|
|
23
23
|
}
|
|
24
|
-
export interface
|
|
24
|
+
export interface GlobalPaymentMethodMetadata {
|
|
25
25
|
type: GlobalBankAccountType;
|
|
26
26
|
country: GlobalCountry;
|
|
27
27
|
accountNumber: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/modules/global/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,oBAAY,uBAAuB;IACjC,WAAW,iBAAiB;CAC7B;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/modules/global/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,oBAAY,uBAAuB;IACjC,WAAW,iBAAiB;CAC7B;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,qBAAqB,CAAA;IAC3B,OAAO,EAAE,aAAa,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function validatePaymentMethod(req:
|
|
1
|
+
import { GlobalPaymentMethodMetadata } from '../types';
|
|
2
|
+
export declare function validatePaymentMethod(req: GlobalPaymentMethodMetadata): Promise<void | never>;
|
|
3
3
|
//# sourceMappingURL=payment_method.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment_method.d.ts","sourceRoot":"","sources":["../../../../../src/modules/global/validations/payment_method.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"payment_method.d.ts","sourceRoot":"","sources":["../../../../../src/modules/global/validations/payment_method.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAItD,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,2BAA2B,GAAG,OAAO,CAAC,IAAI,GAAG,KAAK,CAAC,CAqEnG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment_method.js","sourceRoot":"","sources":["../../../../../src/modules/global/validations/payment_method.ts"],"names":[],"mappings":";;AAYA,sDAqEC;AAjFD,0EAAgF;AAChF,sEAAuF;AACvF,sEAAuF;AACvF,0EAA2F;AAC3F,wEAAyF;AACzF,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AAErF,iDAA6D;AAC7D,yCAA8C;AAEvC,KAAK,UAAU,qBAAqB,CAAC,
|
|
1
|
+
{"version":3,"file":"payment_method.js","sourceRoot":"","sources":["../../../../../src/modules/global/validations/payment_method.ts"],"names":[],"mappings":";;AAYA,sDAqEC;AAjFD,0EAAgF;AAChF,sEAAuF;AACvF,sEAAuF;AACvF,0EAA2F;AAC3F,wEAAyF;AACzF,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AAErF,iDAA6D;AAC7D,yCAA8C;AAEvC,KAAK,UAAU,qBAAqB,CAAC,GAAgC;IAC1E,MAAM,gBAAgB,GAAG,IAAA,uBAAe,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;IAEtD,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;QACjB,KAAK,6BAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;YAC/B,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;gBACvB,MAAM,IAAI,wBAAe,CAAC;oBACxB;wBACE,UAAU,EAAE,eAAe;wBAC3B,IAAI,EAAE,gBAAgB;wBACtB,OAAO,EAAE,kDAAkD;wBAC3D,IAAI,EAAE,CAAC,eAAe,CAAC;qBACxB;iBACF,CAAC,CAAA;YACJ,CAAC;YAED,IAAA,8BAAwB,EAAC,GAAG,CAAC,aAAa,EAAE,eAAe,CAAC,CAAA;YAC5D,IAAA,8BAAwB,EAAC,GAAG,CAAC,aAAa,EAAE,eAAe,CAAC,CAAA;YAE5D,IAAI,gBAAg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AAChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment_method.spec.js","sourceRoot":"","sources":["../../../../../src/modules/global/validations/payment_method.spec.ts"],"names":[],"mappings":";;AAAA,kDAAuD;AAEvD,qDAAwD;AACxD,yCAA8C;AAE9C,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"payment_method.spec.js","sourceRoot":"","sources":["../../../../../src/modules/global/validations/payment_method.spec.ts"],"names":[],"mappings":";;AAAA,kDAAuD;AAEvD,qDAAwD;AACxD,yCAA8C;AAE9C,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,MAAM,GAAG,GAAgC;QACvC,IAAI,EAAE,oCAAqB,CAAC,GAAG;QAC/B,OAAO,EAAE;YACP,EAAE,EAAE,GAAG;YACP,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,0BAA0B;SACjC;QACD,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,WAAW;QAC1B,QAAQ,EAAE,UAAU;KACrB,CAAA;IAED,MAAM,KAAK,GAAgC;QACzC,IAAI,EAAE,oCAAqB,CAAC,KAAK;QACjC,OAAO,EAAE;YACP,EAAE,EAAE,GAAG;YACP,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;SACf;QACD,aAAa,EAAE,oBAAoB;QACnC,QAAQ,EAAE,UAAU;KACrB,CAAA;IAED,MAAM,IAAI,GAAgC;QACxC,IAAI,EAAE,oCAAqB,CAAC,IAAI;QAChC,OAAO,EAAE;YACP,EAAE,EAAE,EAAE;YACN,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,OAAO;SACd;QACD,aAAa,EAAE,0BAA0B;QACzC,QAAQ,EAAE,aAAa;KACxB,CAAA;IAED,KAAK,MAAM,iCAAiC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC;QACnE,EAAE,CAAC,GAAG,iCAAi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EAAE,gBAAgB;aAC3B;SACF;QACD;YACE,IAAI,EAAE,2CAA2C;YACjD,OAAO,EAAE;gBACP,GAAG,IAAI;gBACP,QAAQ,EAAE,UAAU;aACrB;SACF;KACF,EAAE,CAAC;QACF,EAAE,CAAC,UAAU,iCAAiC,CAAC,IAAI,EAAE,EAAE,KAAK,IAAI,EAAE;YAChE,MAAM,MAAM,CAAC,IAAA,sCAAqB,EAAC,iCAAiC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,wBAAe,CAAC,CAAA;QACjH,CAAC,CAAC,CAAA;IACJ,CAAC;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { HTTPClient } from '../../../../utils/http';
|
|
2
|
+
import { CRUD } from '../../../../utils/crud';
|
|
3
|
+
import { VisitExtendedEntity2, VisitorEntity, PropertyFavouriteVisitorExtendedEntity, VisitAccessLogEntity, VisitAccessLogDocumentEntity, CreateVisitRequest, UpdateVisitRequest, CreateVisitorRequest, UpdateVisitorEntity, CreatePropertyFavouriteVisitorRequest, UpdatePropertyFavouriteVisitorEntity, ValidateQRCodeRequest, QRCodeResult, UploadAccessLogDocumentRequest } from '../types/visit';
|
|
4
|
+
export declare class VisitsAPI extends CRUD<VisitExtendedEntity2, CreateVisitRequest, UpdateVisitRequest, VisitExtendedEntity2[]> {
|
|
5
|
+
private readonly _visitId?;
|
|
6
|
+
constructor(httpClient: HTTPClient, baseUrl: string, _visitId?: string | undefined);
|
|
7
|
+
visitors(visitorId?: string): VisitorsAPI;
|
|
8
|
+
downloadQRCode(visitorId: string): Promise<Blob>;
|
|
9
|
+
}
|
|
10
|
+
export declare class VisitorsAPI extends CRUD<VisitorEntity, CreateVisitorRequest, UpdateVisitorEntity, VisitorEntity[]> {
|
|
11
|
+
private readonly _visitorId?;
|
|
12
|
+
constructor(httpClient: HTTPClient, baseUrl: string, _visitorId?: string | undefined);
|
|
13
|
+
revoke(): Promise<VisitorEntity>;
|
|
14
|
+
checkIn(): Promise<VisitAccessLogEntity>;
|
|
15
|
+
checkOut(): Promise<VisitAccessLogEntity>;
|
|
16
|
+
accessLogs(accessLogId?: string): VisitAccessLogsAPI;
|
|
17
|
+
}
|
|
18
|
+
export declare class VisitAccessLogsAPI extends CRUD<VisitAccessLogEntity, never, never, VisitAccessLogEntity[]> {
|
|
19
|
+
private readonly _accessLogId?;
|
|
20
|
+
constructor(httpClient: HTTPClient, baseUrl: string, _accessLogId?: string | undefined);
|
|
21
|
+
documents(documentId?: string): VisitAccessLogDocumentsAPI;
|
|
22
|
+
}
|
|
23
|
+
export declare class VisitAccessLogDocumentsAPI extends CRUD<VisitAccessLogDocumentEntity, UploadAccessLogDocumentRequest, never, VisitAccessLogDocumentEntity[]> {
|
|
24
|
+
private readonly _documentId?;
|
|
25
|
+
constructor(httpClient: HTTPClient, baseUrl: string, _documentId?: string | undefined);
|
|
26
|
+
download(): Promise<Blob>;
|
|
27
|
+
}
|
|
28
|
+
export declare class PropertyFavouriteVisitorsAPI extends CRUD<PropertyFavouriteVisitorExtendedEntity, CreatePropertyFavouriteVisitorRequest, UpdatePropertyFavouriteVisitorEntity, PropertyFavouriteVisitorExtendedEntity[]> {
|
|
29
|
+
private readonly _propertyFavouriteVisitorId?;
|
|
30
|
+
constructor(httpClient: HTTPClient, baseUrl: string, _propertyFavouriteVisitorId?: string | undefined);
|
|
31
|
+
}
|
|
32
|
+
export declare class VisitValidationAPI {
|
|
33
|
+
private readonly _httpClient;
|
|
34
|
+
private readonly _baseUrl;
|
|
35
|
+
constructor(_httpClient: HTTPClient, _baseUrl: string);
|
|
36
|
+
validateQRCode(data: ValidateQRCodeRequest): Promise<QRCodeResult>;
|
|
37
|
+
}
|
|
38
|
+
export declare class CommunitiesVisitsAPI {
|
|
39
|
+
private readonly _httpClient;
|
|
40
|
+
private readonly _baseUrl;
|
|
41
|
+
constructor(_httpClient: HTTPClient, _baseUrl: string);
|
|
42
|
+
visits(visitId?: string): VisitsAPI;
|
|
43
|
+
propertyVisits(propertyId: string, visitId?: string): VisitsAPI;
|
|
44
|
+
validation(): VisitValidationAPI;
|
|
45
|
+
visitorAccess(visitId: string, visitorId: string): VisitorsAPI;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=visits.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visits.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/visits.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,sCAAsC,EACtC,oBAAoB,EACpB,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,qCAAqC,EACrC,oCAAoC,EACpC,qBAAqB,EACrB,YAAY,EACZ,8BAA8B,EAC/B,MAAM,gBAAgB,CAAA;AAEvB,qBAAa,SAAU,SAAQ,IAAI,CACjC,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EAAE,CACvB;IAIG,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBAF1B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACE,QAAQ,CAAC,EAAE,MAAM,YAAA;IAQpC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,WAAW;IAKnC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAIvD;AAED,qBAAa,WAAY,SAAQ,IAAI,CAAC,aAAa,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC;IAI5G,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;gBAF5B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,MAAM,EACE,UAAU,CAAC,EAAE,MAAM,YA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AAY,CAAC;CAGzE;AAED,qBAAa,oBAAoB;IAE7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBADR,WAAW,EAAE,UAAU,EACvB,QAAQ,EAAE,MAAM;IAGnC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS;IAInC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS;IAI/D,UAAU,IAAI,kBAAkB;IAIhC,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,WAAW;CAG/D"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommunitiesVisitsAPI = exports.VisitValidationAPI = exports.PropertyFavouriteVisitorsAPI = exports.VisitAccessLogDocumentsAPI = exports.VisitAccessLogsAPI = exports.VisitorsAPI = exports.VisitsAPI = void 0;
|
|
4
|
+
const crud_1 = require("../../../../utils/crud");
|
|
5
|
+
class VisitsAPI extends crud_1.CRUD {
|
|
6
|
+
_visitId;
|
|
7
|
+
constructor(httpClient, baseUrl, _visitId) {
|
|
8
|
+
super(httpClient, {
|
|
9
|
+
basePath: baseUrl,
|
|
10
|
+
id: _visitId,
|
|
11
|
+
});
|
|
12
|
+
this._visitId = _visitId;
|
|
13
|
+
}
|
|
14
|
+
visitors(visitorId) {
|
|
15
|
+
const visitId = this._getIdParam();
|
|
16
|
+
return new VisitorsAPI(this._httpClient, `${this._config.basePath}/${visitId}/visitors`, visitorId);
|
|
17
|
+
}
|
|
18
|
+
async downloadQRCode(visitorId) {
|
|
19
|
+
const visitId = this._getIdParam();
|
|
20
|
+
return this._httpClient.get(`${this._config.basePath}/${visitId}/visitors/${visitorId}/qr`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.VisitsAPI = VisitsAPI;
|
|
24
|
+
class VisitorsAPI extends crud_1.CRUD {
|
|
25
|
+
_visitorId;
|
|
26
|
+
constructor(httpClient, baseUrl, _visitorId) {
|
|
27
|
+
super(httpClient, {
|
|
28
|
+
basePath: baseUrl,
|
|
29
|
+
id: _visitorId,
|
|
30
|
+
});
|
|
31
|
+
this._visitorId = _visitorId;
|
|
32
|
+
}
|
|
33
|
+
async revoke() {
|
|
34
|
+
const visitorId = this._getIdParam();
|
|
35
|
+
return this._httpClient.delete(`${this._config.basePath}/${visitorId}`);
|
|
36
|
+
}
|
|
37
|
+
async checkIn() {
|
|
38
|
+
const visitorId = this._getIdParam();
|
|
39
|
+
return this._httpClient.post(`${this._config.basePath}/${visitorId}/checkin`);
|
|
40
|
+
}
|
|
41
|
+
async checkOut() {
|
|
42
|
+
const visitorId = this._getIdParam();
|
|
43
|
+
return this._httpClient.post(`${this._config.basePath}/${visitorId}/checkout`);
|
|
44
|
+
}
|
|
45
|
+
accessLogs(accessLogId) {
|
|
46
|
+
const visitorId = this._getIdParam();
|
|
47
|
+
return new VisitAccessLogsAPI(this._httpClient, `${this._config.basePath}/${visitorId}/access-logs`, accessLogId);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.VisitorsAPI = VisitorsAPI;
|
|
51
|
+
class VisitAccessLogsAPI extends crud_1.CRUD {
|
|
52
|
+
_accessLogId;
|
|
53
|
+
constructor(httpClient, baseUrl, _accessLogId) {
|
|
54
|
+
super(httpClient, {
|
|
55
|
+
basePath: baseUrl,
|
|
56
|
+
id: _accessLogId,
|
|
57
|
+
methods: {
|
|
58
|
+
isCreateEnabled: false,
|
|
59
|
+
isReadEnabled: true,
|
|
60
|
+
isUpdateEnabled: false,
|
|
61
|
+
isDeleteEnabled: false,
|
|
62
|
+
isFindEnabled: true,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
this._accessLogId = _accessLogId;
|
|
66
|
+
}
|
|
67
|
+
documents(documentId) {
|
|
68
|
+
const accessLogId = this._getIdParam();
|
|
69
|
+
return new VisitAccessLogDocumentsAPI(this._httpClient, `${this._config.basePath}/${accessLogId}/documents`, documentId);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.VisitAccessLogsAPI = VisitAccessLogsAPI;
|
|
73
|
+
class VisitAccessLogDocumentsAPI extends crud_1.CRUD {
|
|
74
|
+
_documentId;
|
|
75
|
+
constructor(httpClient, baseUrl, _documentId) {
|
|
76
|
+
super(httpClient, {
|
|
77
|
+
basePath: baseUrl,
|
|
78
|
+
id: _documentId,
|
|
79
|
+
methods: {
|
|
80
|
+
isCreateEnabled: true,
|
|
81
|
+
isReadEnabled: true,
|
|
82
|
+
isUpdateEnabled: false,
|
|
83
|
+
isDeleteEnabled: false,
|
|
84
|
+
isFindEnabled: true,
|
|
85
|
+
},
|
|
86
|
+
});
|
|
87
|
+
this._documentId = _documentId;
|
|
88
|
+
}
|
|
89
|
+
async download() {
|
|
90
|
+
const documentId = this._getIdParam();
|
|
91
|
+
return this._httpClient.get(`${this._config.basePath}/${documentId}/download`);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.VisitAccessLogDocumentsAPI = VisitAccessLogDocumentsAPI;
|
|
95
|
+
class PropertyFavouriteVisitorsAPI extends crud_1.CRUD {
|
|
96
|
+
_propertyFavouriteVisitorId;
|
|
97
|
+
constructor(httpClient, baseUrl, _propertyFavouriteVisitorId) {
|
|
98
|
+
super(httpClient, {
|
|
99
|
+
basePath: baseUrl,
|
|
100
|
+
id: _propertyFavouriteVisitorId,
|
|
101
|
+
});
|
|
102
|
+
this._propertyFavouriteVisitorId = _propertyFavouriteVisitorId;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.PropertyFavouriteVisitorsAPI = PropertyFavouriteVisitorsAPI;
|
|
106
|
+
class VisitValidationAPI {
|
|
107
|
+
_httpClient;
|
|
108
|
+
_baseUrl;
|
|
109
|
+
constructor(_httpClient, _baseUrl) {
|
|
110
|
+
this._httpClient = _httpClient;
|
|
111
|
+
this._baseUrl = _baseUrl;
|
|
112
|
+
}
|
|
113
|
+
async validateQRCode(data) {
|
|
114
|
+
return this._httpClient.post(`${this._baseUrl}/validate`, data);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.VisitValidationAPI = VisitValidationAPI;
|
|
118
|
+
class CommunitiesVisitsAPI {
|
|
119
|
+
_httpClient;
|
|
120
|
+
_baseUrl;
|
|
121
|
+
constructor(_httpClient, _baseUrl) {
|
|
122
|
+
this._httpClient = _httpClient;
|
|
123
|
+
this._baseUrl = _baseUrl;
|
|
124
|
+
}
|
|
125
|
+
visits(visitId) {
|
|
126
|
+
return new VisitsAPI(this._httpClient, `${this._baseUrl}/visits`, visitId);
|
|
127
|
+
}
|
|
128
|
+
propertyVisits(propertyId, visitId) {
|
|
129
|
+
return new VisitsAPI(this._httpClient, `${this._baseUrl}/properties/${propertyId}/visits`, visitId);
|
|
130
|
+
}
|
|
131
|
+
validation() {
|
|
132
|
+
return new VisitValidationAPI(this._httpClient, this._baseUrl);
|
|
133
|
+
}
|
|
134
|
+
visitorAccess(visitId, visitorId) {
|
|
135
|
+
return new VisitorsAPI(this._httpClient, `${this._baseUrl}/visits/${visitId}/visitors`, visitorId);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.CommunitiesVisitsAPI = CommunitiesVisitsAPI;
|
|
139
|
+
//# sourceMappingURL=visits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visits.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/api/visits.ts"],"names":[],"mappings":";;;AACA,iDAA6C;AAkB7C,MAAa,SAAU,SAAQ,WAK9B;IAIoB;IAHnB,YACE,UAAsB,EACtB,OAAe,EACE,QAAiB;QAElC,KAAK,CAAC,UAAU,EAAE;YAChB,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,QAAQ;SACb,CAAC,CAAA;QALe,aAAQ,GAAR,QAAQ,CAAS;IAMp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AAI,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,eAAe,UAAU,SAAS,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IAED,UAAU;QACR,OAAO,IAAI,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAChE,CAAC;IAED,aAAa,CAAC,OAAe,EAAE,SAAiB;QAC9C,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,WAAW,OAAO,WAAW,EAAE,SAAS,CAAC,CAAA;IACpG,CAAC;CACF;AArBD,oDAqBC"}
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { CommunitySimpleBlock } from './block';
|
|
2
|
+
export declare enum VisitEntityType {
|
|
3
|
+
macrocommunity = "macrocommunity",
|
|
4
|
+
community = "community"
|
|
5
|
+
}
|
|
6
|
+
export declare enum VisitPeriodicityType {
|
|
7
|
+
none = "none",
|
|
8
|
+
weekly = "weekly"
|
|
9
|
+
}
|
|
10
|
+
export declare enum VisitorStatus {
|
|
11
|
+
active = "active",
|
|
12
|
+
revoked = "revoked"
|
|
13
|
+
}
|
|
14
|
+
export declare enum VisitorAuthorizationStatus {
|
|
15
|
+
ready = "ready",
|
|
16
|
+
generating = "generating",
|
|
17
|
+
error = "error"
|
|
18
|
+
}
|
|
19
|
+
export declare enum VisitorType {
|
|
20
|
+
relative = "relative",
|
|
21
|
+
friend = "friend",
|
|
22
|
+
driver = "driver",
|
|
23
|
+
cleaner = "cleaner",
|
|
24
|
+
event = "event",
|
|
25
|
+
supplier = "supplier",
|
|
26
|
+
delivery = "delivery",
|
|
27
|
+
other = "other"
|
|
28
|
+
}
|
|
29
|
+
export declare enum VisitStatus {
|
|
30
|
+
active = "active",
|
|
31
|
+
canceled = "canceled",
|
|
32
|
+
expired = "expired"
|
|
33
|
+
}
|
|
34
|
+
export declare enum VisitAccessLogType {
|
|
35
|
+
checkIn = "check_in",
|
|
36
|
+
checkOut = "check_out"
|
|
37
|
+
}
|
|
38
|
+
export declare enum VisitDocumentType {
|
|
39
|
+
person = "person",
|
|
40
|
+
vehicle = "vehicle",
|
|
41
|
+
document = "document"
|
|
42
|
+
}
|
|
43
|
+
export declare enum QRCodeStatus {
|
|
44
|
+
out_of_range = "out_of_range",
|
|
45
|
+
expired = "expired",
|
|
46
|
+
revoked = "revoked",
|
|
47
|
+
valid = "valid"
|
|
48
|
+
}
|
|
49
|
+
export interface WeeklyPeriodicityConfig {
|
|
50
|
+
endDate: string;
|
|
51
|
+
daysOfWeek: number[];
|
|
52
|
+
}
|
|
53
|
+
export type NonePeriodicityConfig = Record<string, never>;
|
|
54
|
+
export interface VisitEntity {
|
|
55
|
+
id: string;
|
|
56
|
+
domainId: string;
|
|
57
|
+
entityType: VisitEntityType;
|
|
58
|
+
entityId: string;
|
|
59
|
+
propertyId: string;
|
|
60
|
+
notes?: string | null;
|
|
61
|
+
startDate: string;
|
|
62
|
+
endDate: string;
|
|
63
|
+
periodicity: {
|
|
64
|
+
type: VisitPeriodicityType;
|
|
65
|
+
config: WeeklyPeriodicityConfig | NonePeriodicityConfig;
|
|
66
|
+
};
|
|
67
|
+
status: VisitStatus;
|
|
68
|
+
updatedAt: string;
|
|
69
|
+
}
|
|
70
|
+
export interface VisitExtendedEntity2 {
|
|
71
|
+
id: string;
|
|
72
|
+
domainId: string;
|
|
73
|
+
entityType: VisitEntityType;
|
|
74
|
+
entityId: string;
|
|
75
|
+
propertyId: string;
|
|
76
|
+
notes?: string | null;
|
|
77
|
+
startDate: string;
|
|
78
|
+
endDate: string;
|
|
79
|
+
periodicity: {
|
|
80
|
+
type: VisitPeriodicityType;
|
|
81
|
+
config: WeeklyPeriodicityConfig | NonePeriodicityConfig;
|
|
82
|
+
};
|
|
83
|
+
status: VisitStatus;
|
|
84
|
+
updatedAt: string;
|
|
85
|
+
visitors: VisitorEntity[];
|
|
86
|
+
property: {
|
|
87
|
+
id: string;
|
|
88
|
+
name: string;
|
|
89
|
+
block: CommunitySimpleBlock;
|
|
90
|
+
owners: {
|
|
91
|
+
id: string;
|
|
92
|
+
fullName: string;
|
|
93
|
+
emails: string[];
|
|
94
|
+
phones: string[];
|
|
95
|
+
legalId: string;
|
|
96
|
+
}[];
|
|
97
|
+
};
|
|
98
|
+
community?: {
|
|
99
|
+
id: string;
|
|
100
|
+
name: string;
|
|
101
|
+
};
|
|
102
|
+
macrocommunity?: {
|
|
103
|
+
id: string;
|
|
104
|
+
name: string;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
export interface VisitorEntity {
|
|
108
|
+
id: string;
|
|
109
|
+
domainId: string;
|
|
110
|
+
visitId: string;
|
|
111
|
+
fullName: string;
|
|
112
|
+
legalId: string;
|
|
113
|
+
type: VisitorType;
|
|
114
|
+
status: VisitorStatus;
|
|
115
|
+
authorization: {
|
|
116
|
+
documentId?: string;
|
|
117
|
+
status: VisitorAuthorizationStatus;
|
|
118
|
+
};
|
|
119
|
+
vehicle?: {
|
|
120
|
+
plate: string;
|
|
121
|
+
model?: string | null;
|
|
122
|
+
color?: string | null;
|
|
123
|
+
};
|
|
124
|
+
updatedAt: string;
|
|
125
|
+
}
|
|
126
|
+
export interface PropertyFavouriteVisitorEntity {
|
|
127
|
+
id: string;
|
|
128
|
+
domainId: string;
|
|
129
|
+
propertyId: string;
|
|
130
|
+
fullName: string;
|
|
131
|
+
legalId: string;
|
|
132
|
+
type: VisitorType;
|
|
133
|
+
vehicle?: {
|
|
134
|
+
plate: string;
|
|
135
|
+
model?: string | null;
|
|
136
|
+
color?: string | null;
|
|
137
|
+
};
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
}
|
|
140
|
+
export interface PropertyFavouriteVisitorExtendedEntity {
|
|
141
|
+
id: string;
|
|
142
|
+
domainId: string;
|
|
143
|
+
fullName: string;
|
|
144
|
+
legalId: string;
|
|
145
|
+
type: VisitorType;
|
|
146
|
+
vehicle?: {
|
|
147
|
+
plate: string;
|
|
148
|
+
model?: string | null;
|
|
149
|
+
color?: string | null;
|
|
150
|
+
};
|
|
151
|
+
updatedAt: string;
|
|
152
|
+
property: {
|
|
153
|
+
id: string;
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
export interface VisitAccessLogEntity {
|
|
158
|
+
id: string;
|
|
159
|
+
domainId: string;
|
|
160
|
+
visitId: string;
|
|
161
|
+
visitorId: string;
|
|
162
|
+
eventType: VisitAccessLogType;
|
|
163
|
+
createdAt: string;
|
|
164
|
+
documentsCount: number;
|
|
165
|
+
}
|
|
166
|
+
export interface VisitAccessLogDocumentEntity {
|
|
167
|
+
domainId: string;
|
|
168
|
+
accessLogId: string;
|
|
169
|
+
documentId: string;
|
|
170
|
+
documentType: VisitDocumentType;
|
|
171
|
+
}
|
|
172
|
+
export interface CreateVisitRequest {
|
|
173
|
+
entityType: VisitEntityType;
|
|
174
|
+
entityId: string;
|
|
175
|
+
propertyId: string;
|
|
176
|
+
startDate: string;
|
|
177
|
+
endDate: string;
|
|
178
|
+
notes?: string | null;
|
|
179
|
+
periodicity: {
|
|
180
|
+
type: VisitPeriodicityType;
|
|
181
|
+
config: WeeklyPeriodicityConfig | NonePeriodicityConfig;
|
|
182
|
+
};
|
|
183
|
+
visitors: CreateVisitorRequest[];
|
|
184
|
+
}
|
|
185
|
+
export interface CreateVisitorRequest {
|
|
186
|
+
fullName: string;
|
|
187
|
+
legalId: string;
|
|
188
|
+
type: VisitorType;
|
|
189
|
+
status?: VisitorStatus;
|
|
190
|
+
vehicle?: {
|
|
191
|
+
plate: string;
|
|
192
|
+
model?: string | null;
|
|
193
|
+
color?: string | null;
|
|
194
|
+
};
|
|
195
|
+
favourite?: boolean;
|
|
196
|
+
}
|
|
197
|
+
export interface CreatePropertyFavouriteVisitorRequest {
|
|
198
|
+
propertyId: string;
|
|
199
|
+
fullName: string;
|
|
200
|
+
legalId: string;
|
|
201
|
+
type: VisitorType;
|
|
202
|
+
vehicle?: {
|
|
203
|
+
plate: string;
|
|
204
|
+
model?: string | null;
|
|
205
|
+
color?: string | null;
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
export interface UpdateVisitRequest {
|
|
209
|
+
notes?: string | null;
|
|
210
|
+
startDate?: string;
|
|
211
|
+
endDate?: string;
|
|
212
|
+
periodicity?: {
|
|
213
|
+
type: VisitPeriodicityType;
|
|
214
|
+
config: WeeklyPeriodicityConfig | NonePeriodicityConfig;
|
|
215
|
+
};
|
|
216
|
+
status?: VisitStatus.canceled;
|
|
217
|
+
}
|
|
218
|
+
export interface QueryVisitRequest {
|
|
219
|
+
id?: string[];
|
|
220
|
+
entityType?: VisitEntityType[];
|
|
221
|
+
entityId?: string[];
|
|
222
|
+
propertyId?: string[];
|
|
223
|
+
from?: string;
|
|
224
|
+
to?: string;
|
|
225
|
+
status?: VisitStatus[];
|
|
226
|
+
}
|
|
227
|
+
export interface QueryVisitExtendedRequest {
|
|
228
|
+
id?: string[];
|
|
229
|
+
entityType?: VisitEntityType[];
|
|
230
|
+
entityId?: string[];
|
|
231
|
+
propertyId?: string[];
|
|
232
|
+
from?: string;
|
|
233
|
+
to?: string;
|
|
234
|
+
status?: VisitStatus[];
|
|
235
|
+
q?: string;
|
|
236
|
+
blockId?: string[];
|
|
237
|
+
}
|
|
238
|
+
export interface QueryVisitorRequest {
|
|
239
|
+
id?: string[];
|
|
240
|
+
visitId?: string[];
|
|
241
|
+
status?: VisitorStatus[];
|
|
242
|
+
}
|
|
243
|
+
export interface QueryPropertyFavouriteVisitorRequest {
|
|
244
|
+
id?: string[];
|
|
245
|
+
propertyId?: string[];
|
|
246
|
+
}
|
|
247
|
+
export interface QueryVisitAccessLogRequest {
|
|
248
|
+
visitId: string;
|
|
249
|
+
visitorId: string;
|
|
250
|
+
eventType?: VisitAccessLogType;
|
|
251
|
+
}
|
|
252
|
+
export interface QueryVisitAccessLogDocumentRequest {
|
|
253
|
+
accessLogId: string;
|
|
254
|
+
documentId?: string;
|
|
255
|
+
}
|
|
256
|
+
export interface QueryVisitAccessLogDownloadDocumentRequest {
|
|
257
|
+
visitId: string;
|
|
258
|
+
documentId: string;
|
|
259
|
+
accessLogId: string;
|
|
260
|
+
}
|
|
261
|
+
export interface FilterVisitRequest {
|
|
262
|
+
id: string;
|
|
263
|
+
entityId: string;
|
|
264
|
+
entityType: VisitEntityType;
|
|
265
|
+
}
|
|
266
|
+
export interface FilterPropertyFavouriteVisitorRequest {
|
|
267
|
+
id: string;
|
|
268
|
+
propertyId: string;
|
|
269
|
+
}
|
|
270
|
+
export interface ValidateQRCodeRequest {
|
|
271
|
+
code: string;
|
|
272
|
+
}
|
|
273
|
+
export type QRCodeResult = InvalidQRCodeResult | ValidQRCodeResult;
|
|
274
|
+
export interface InvalidQRCodeResult {
|
|
275
|
+
status: QRCodeStatus.out_of_range | QRCodeStatus.expired | QRCodeStatus.revoked;
|
|
276
|
+
}
|
|
277
|
+
export interface ValidQRCodeResult {
|
|
278
|
+
status: QRCodeStatus.valid;
|
|
279
|
+
visit: VisitExtendedEntity2;
|
|
280
|
+
visitor: VisitorEntity;
|
|
281
|
+
accessLogs: VisitAccessLogEntity[];
|
|
282
|
+
}
|
|
283
|
+
export interface UploadAccessLogDocumentRequest {
|
|
284
|
+
visitId: string;
|
|
285
|
+
visitorId: string;
|
|
286
|
+
accessLogId: string;
|
|
287
|
+
documentType: VisitDocumentType;
|
|
288
|
+
name: string;
|
|
289
|
+
path: string;
|
|
290
|
+
}
|
|
291
|
+
export interface DeleteVisitorRequest {
|
|
292
|
+
visitorId: string[];
|
|
293
|
+
}
|
|
294
|
+
export type CreateVisitEntity = Omit<VisitEntity, 'id' | 'domainId' | 'updatedAt'>;
|
|
295
|
+
export type UpdateVisitEntity = Partial<Omit<VisitEntity, 'id' | 'domainId' | 'updatedAt'>>;
|
|
296
|
+
export type CreateVisitorEntity = Omit<VisitorEntity, 'id' | 'domainId' | 'visitId' | 'updatedAt'>;
|
|
297
|
+
export type UpdateVisitorEntity = Partial<Omit<VisitorEntity, 'id' | 'domainId' | 'visitId' | 'updatedAt'>>;
|
|
298
|
+
export type CreatePropertyFavouriteVisitorEntity = Omit<PropertyFavouriteVisitorEntity, 'id' | 'domainId' | 'updatedAt'>;
|
|
299
|
+
export type UpdatePropertyFavouriteVisitorEntity = Partial<Omit<PropertyFavouriteVisitorEntity, 'id' | 'domainId' | 'updatedAt'>>;
|
|
300
|
+
//# sourceMappingURL=visit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visit.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/visit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAM9C,oBAAY,eAAe;IACzB,cAAc,mBAAmB;IACjC,SAAS,cAAc;CACxB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,0BAA0B;IACpC,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,KAAK,UAAU;CAChB;AAED,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,oBAAY,kBAAkB;IAC5B,OAAO,aAAa;IACpB,QAAQ,cAAc;CACvB;AAED,oBAAY,iBAAiB;IAC3B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,oBAAY,YAAY;IACtB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB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