@eleva-io/erp-sdk 0.1.123 → 0.1.124

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.
Files changed (51) hide show
  1. package/dist/cjs/modules/horizontal/communities/api/employees.d.ts +3 -3
  2. package/dist/cjs/modules/horizontal/communities/api/employees.d.ts.map +1 -1
  3. package/dist/cjs/modules/horizontal/communities/api/employees.js +4 -4
  4. package/dist/cjs/modules/horizontal/communities/api/employees.js.map +1 -1
  5. package/dist/cjs/modules/horizontal/communities/api/receipts.d.ts +2 -1
  6. package/dist/cjs/modules/horizontal/communities/api/receipts.d.ts.map +1 -1
  7. package/dist/cjs/modules/horizontal/communities/api/receipts.js +3 -0
  8. package/dist/cjs/modules/horizontal/communities/api/receipts.js.map +1 -1
  9. package/dist/cjs/modules/horizontal/communities/api/visits.d.ts +47 -0
  10. package/dist/cjs/modules/horizontal/communities/api/visits.d.ts.map +1 -0
  11. package/dist/cjs/modules/horizontal/communities/api/visits.js +139 -0
  12. package/dist/cjs/modules/horizontal/communities/api/visits.js.map +1 -0
  13. package/dist/cjs/modules/horizontal/communities/types/employee.d.ts +1 -28
  14. package/dist/cjs/modules/horizontal/communities/types/employee.d.ts.map +1 -1
  15. package/dist/cjs/modules/horizontal/communities/types/employee.js +0 -29
  16. package/dist/cjs/modules/horizontal/communities/types/employee.js.map +1 -1
  17. package/dist/cjs/modules/horizontal/communities/types/receipt.d.ts +15 -0
  18. package/dist/cjs/modules/horizontal/communities/types/receipt.d.ts.map +1 -1
  19. package/dist/cjs/modules/horizontal/communities/types/visit.d.ts +300 -0
  20. package/dist/cjs/modules/horizontal/communities/types/visit.d.ts.map +1 -0
  21. package/dist/cjs/modules/horizontal/communities/types/visit.js +63 -0
  22. package/dist/cjs/modules/horizontal/communities/types/visit.js.map +1 -0
  23. package/dist/cjs/modules/ticketing/tasks/types/task.d.ts +5 -2
  24. package/dist/cjs/modules/ticketing/tasks/types/task.d.ts.map +1 -1
  25. package/dist/cjs/modules/ticketing/tasks/types/task.js.map +1 -1
  26. package/dist/esm/modules/horizontal/communities/api/employees.d.ts +3 -3
  27. package/dist/esm/modules/horizontal/communities/api/employees.d.ts.map +1 -1
  28. package/dist/esm/modules/horizontal/communities/api/employees.js +4 -4
  29. package/dist/esm/modules/horizontal/communities/api/employees.js.map +1 -1
  30. package/dist/esm/modules/horizontal/communities/api/receipts.d.ts +2 -1
  31. package/dist/esm/modules/horizontal/communities/api/receipts.d.ts.map +1 -1
  32. package/dist/esm/modules/horizontal/communities/api/receipts.js +3 -0
  33. package/dist/esm/modules/horizontal/communities/api/receipts.js.map +1 -1
  34. package/dist/esm/modules/horizontal/communities/api/visits.d.ts +47 -0
  35. package/dist/esm/modules/horizontal/communities/api/visits.d.ts.map +1 -0
  36. package/dist/esm/modules/horizontal/communities/api/visits.js +129 -0
  37. package/dist/esm/modules/horizontal/communities/api/visits.js.map +1 -0
  38. package/dist/esm/modules/horizontal/communities/types/employee.d.ts +1 -28
  39. package/dist/esm/modules/horizontal/communities/types/employee.d.ts.map +1 -1
  40. package/dist/esm/modules/horizontal/communities/types/employee.js +1 -28
  41. package/dist/esm/modules/horizontal/communities/types/employee.js.map +1 -1
  42. package/dist/esm/modules/horizontal/communities/types/receipt.d.ts +15 -0
  43. package/dist/esm/modules/horizontal/communities/types/receipt.d.ts.map +1 -1
  44. package/dist/esm/modules/horizontal/communities/types/visit.d.ts +300 -0
  45. package/dist/esm/modules/horizontal/communities/types/visit.d.ts.map +1 -0
  46. package/dist/esm/modules/horizontal/communities/types/visit.js +60 -0
  47. package/dist/esm/modules/horizontal/communities/types/visit.js.map +1 -0
  48. package/dist/esm/modules/ticketing/tasks/types/task.d.ts +5 -2
  49. package/dist/esm/modules/ticketing/tasks/types/task.d.ts.map +1 -1
  50. package/dist/esm/modules/ticketing/tasks/types/task.js.map +1 -1
  51. package/package.json +1 -1
@@ -0,0 +1,129 @@
1
+ import { CRUD } from '../../../../utils/crud';
2
+ export class VisitsAPI extends CRUD {
3
+ _visitId;
4
+ constructor(httpClient, baseUrl, _visitId) {
5
+ super(httpClient, {
6
+ basePath: baseUrl,
7
+ id: _visitId,
8
+ });
9
+ this._visitId = _visitId;
10
+ }
11
+ visitors(visitorId) {
12
+ const visitId = this._getIdParam();
13
+ return new VisitorsAPI(this._httpClient, `${this._config.basePath}/${visitId}/visitors`, visitorId);
14
+ }
15
+ async downloadQRCode(visitorId) {
16
+ const visitId = this._getIdParam();
17
+ return this._httpClient.get(`${this._config.basePath}/${visitId}/visitors/${visitorId}/qr`);
18
+ }
19
+ }
20
+ export class VisitorsAPI extends CRUD {
21
+ _visitorId;
22
+ constructor(httpClient, baseUrl, _visitorId) {
23
+ super(httpClient, {
24
+ basePath: baseUrl,
25
+ id: _visitorId,
26
+ });
27
+ this._visitorId = _visitorId;
28
+ }
29
+ async revoke() {
30
+ const visitorId = this._getIdParam();
31
+ return this._httpClient.delete(`${this._config.basePath}/${visitorId}`);
32
+ }
33
+ async checkIn() {
34
+ const visitorId = this._getIdParam();
35
+ return this._httpClient.post(`${this._config.basePath}/${visitorId}/checkin`);
36
+ }
37
+ async checkOut() {
38
+ const visitorId = this._getIdParam();
39
+ return this._httpClient.post(`${this._config.basePath}/${visitorId}/checkout`);
40
+ }
41
+ accessLogs(accessLogId) {
42
+ const visitorId = this._getIdParam();
43
+ return new VisitAccessLogsAPI(this._httpClient, `${this._config.basePath}/${visitorId}/access-logs`, accessLogId);
44
+ }
45
+ }
46
+ export class VisitAccessLogsAPI extends CRUD {
47
+ _accessLogId;
48
+ constructor(httpClient, baseUrl, _accessLogId) {
49
+ super(httpClient, {
50
+ basePath: baseUrl,
51
+ id: _accessLogId,
52
+ methods: {
53
+ isCreateEnabled: false,
54
+ isReadEnabled: true,
55
+ isUpdateEnabled: false,
56
+ isDeleteEnabled: false,
57
+ isFindEnabled: true,
58
+ },
59
+ });
60
+ this._accessLogId = _accessLogId;
61
+ }
62
+ documents(documentId) {
63
+ const accessLogId = this._getIdParam();
64
+ return new VisitAccessLogDocumentsAPI(this._httpClient, `${this._config.basePath}/${accessLogId}/documents`, documentId);
65
+ }
66
+ }
67
+ export class VisitAccessLogDocumentsAPI extends CRUD {
68
+ _documentId;
69
+ constructor(httpClient, baseUrl, _documentId) {
70
+ super(httpClient, {
71
+ basePath: baseUrl,
72
+ id: _documentId,
73
+ methods: {
74
+ isCreateEnabled: true,
75
+ isReadEnabled: true,
76
+ isUpdateEnabled: false,
77
+ isDeleteEnabled: false,
78
+ isFindEnabled: true,
79
+ },
80
+ });
81
+ this._documentId = _documentId;
82
+ }
83
+ async download() {
84
+ const documentId = this._getIdParam();
85
+ return this._httpClient.get(`${this._config.basePath}/${documentId}/download`);
86
+ }
87
+ }
88
+ export class PropertyFavouriteVisitorsAPI extends CRUD {
89
+ _propertyFavouriteVisitorId;
90
+ constructor(httpClient, baseUrl, _propertyFavouriteVisitorId) {
91
+ super(httpClient, {
92
+ basePath: baseUrl,
93
+ id: _propertyFavouriteVisitorId,
94
+ });
95
+ this._propertyFavouriteVisitorId = _propertyFavouriteVisitorId;
96
+ }
97
+ }
98
+ export class VisitValidationAPI {
99
+ _httpClient;
100
+ _baseUrl;
101
+ constructor(_httpClient, _baseUrl) {
102
+ this._httpClient = _httpClient;
103
+ this._baseUrl = _baseUrl;
104
+ }
105
+ async validateQRCode(data) {
106
+ return this._httpClient.post(`${this._baseUrl}/validate`, data);
107
+ }
108
+ }
109
+ export class CommunitiesVisitsAPI {
110
+ _httpClient;
111
+ _baseUrl;
112
+ constructor(_httpClient, _baseUrl) {
113
+ this._httpClient = _httpClient;
114
+ this._baseUrl = _baseUrl;
115
+ }
116
+ visits(visitId) {
117
+ return new VisitsAPI(this._httpClient, `${this._baseUrl}/visits`, visitId);
118
+ }
119
+ propertyVisits(propertyId, visitId) {
120
+ return new VisitsAPI(this._httpClient, `${this._baseUrl}/properties/${propertyId}/visits`, visitId);
121
+ }
122
+ validation() {
123
+ return new VisitValidationAPI(this._httpClient, this._baseUrl);
124
+ }
125
+ visitorAccess(visitId, visitorId) {
126
+ return new VisitorsAPI(this._httpClient, `${this._baseUrl}/visits/${visitId}/visitors`, visitorId);
127
+ }
128
+ }
129
+ //# 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,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAkB7C,MAAM,OAAO,SAAU,SAAQ,IAK9B;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;IAMpC,CAAC;IAED,QAAQ,CAAC,SAAkB;QACzB,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,CAAA;QAClC,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,OAAO,WAAW,EAAE,SAAS,CAAC,CAAA;IACrG,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,SAAiB;QACpC,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,CAAA;QAClC,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,OAAO,aAAa,SAAS,KAAK,CAAC,CAAA;IACnG,CAAC;CACF;AAED,MAAM,OAAO,WAAY,SAAQ,IAA+E;IAI3F;IAHnB,YACE,UAAsB,EACtB,OAAe,EACE,UAAmB;QAEpC,KAAK,CAAC,UAAU,EAAE;YAChB,QAAQ,EAAE,OAAO;YACjB,EAAE,EAAE,UAAU;SACf,CAAC,CAAA;QALe,eAAU,GAAV,UAAU,CAAS;IAMtC,CAAC;IAED,KAAK,CAAC,MAAM;Q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O,IAAI,CAAC,WAAW,CAAC,IAAI,CAAe,GAAG,IAAI,CAAC,QAAQ,WAAW,EAAE,IAAI,CAAC,CAAA;IAC/E,CAAC;CACF;AAED,MAAM,OAAO,oBAAoB;IAEZ;IACA;IAFnB,YACmB,WAAuB,EACvB,QAAgB;QADhB,gBAAW,GAAX,WAAW,CAAY;QACvB,aAAQ,GAAR,QAAQ,CAAQ;IAChC,CAAC;IAEJ,MAAM,CAAC,OAAgB;QACrB,OAAO,IAAI,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,SAAS,EAAE,OAAO,CAAC,CAAA;IAC5E,CAAC;IAED,cAAc,CAAC,UAAkB,EAAE,OAAgB;QACjD,OAAO,IAAI,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"}
@@ -1,35 +1,8 @@
1
1
  import { ContactPerson } from '../../../contacts/persons/types';
2
- export declare enum CommunityEmployeeType {
3
- CleaningServices = 1,
4
- GardeningAndLandscaping = 2,
5
- Plumbing = 3,
6
- ElectricalServices = 4,
7
- Masonry = 5,
8
- Painting = 6,
9
- Elevators = 7,
10
- HeatingAndDHW = 8,
11
- AirConditioning = 9,
12
- SwimmingPools = 10,
13
- LegalServices = 11,
14
- EnergyAudits = 12,
15
- GrantConsultancy = 13,
16
- SurveillanceAndPrivateSecurity = 14,
17
- AccessControlSystems = 15,
18
- FireProtectionSystems = 16,
19
- WaterSupply = 17,
20
- Electricity = 18,
21
- Gas = 19,
22
- CleaningAndConsumableSupplies = 20,
23
- ArchitectureAndRenovations = 21,
24
- WaterproofingAndInsulation = 22,
25
- PestControl = 23,
26
- Insurance = 24,
27
- WasteManagement = 25
28
- }
29
2
  export interface CommunityEmployee {
30
3
  communityId: string;
31
4
  personId: string;
32
- typeId: CommunityEmployeeType;
5
+ economicActivityId: number;
33
6
  updatedAt: string;
34
7
  }
35
8
  export interface CommunityEmployeeExtended extends CommunityEmployee {
@@ -1 +1 @@
1
- {"version":3,"file":"employee.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/employee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAE/D,oBAAY,qBAAqB;IAC/B,gBAAgB,IAAI;IACpB,uBAAuB,IAAI;IAC3B,QAAQ,IAAI;IACZ,kBAAkB,IAAI;IACtB,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,SAAS,IAAI;IACb,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,aAAa,KAAK;IAClB,aAAa,KAAK;IAClB,YAAY,KAAK;IACjB,gBAAgB,KAAK;IACrB,8BAA8B,KAAK;IACnC,oBAAoB,KAAK;IACzB,qBAAqB,KAAK;IAC1B,WAAW,KAAK;IAChB,WAAW,KAAK;IAChB,GAAG,KAAK;IACR,6BAA6B,KAAK;IAClC,0BAA0B,KAAK;IAC/B,0BAA0B,KAAK;IAC/B,WAAW,KAAK;IAChB,SAAS,KAAK;IACd,eAAe,KAAK;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,qBAAqB,CAAA;IAC7B,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,WAAW,CAAC,CAAA;AAE7F,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"employee.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/employee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAE/D,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,WAAW,CAAC,CAAA;AAE7F,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC,CAAA"}
@@ -1,29 +1,2 @@
1
- export var CommunityEmployeeType;
2
- (function (CommunityEmployeeType) {
3
- CommunityEmployeeType[CommunityEmployeeType["CleaningServices"] = 1] = "CleaningServices";
4
- CommunityEmployeeType[CommunityEmployeeType["GardeningAndLandscaping"] = 2] = "GardeningAndLandscaping";
5
- CommunityEmployeeType[CommunityEmployeeType["Plumbing"] = 3] = "Plumbing";
6
- CommunityEmployeeType[CommunityEmployeeType["ElectricalServices"] = 4] = "ElectricalServices";
7
- CommunityEmployeeType[CommunityEmployeeType["Masonry"] = 5] = "Masonry";
8
- CommunityEmployeeType[CommunityEmployeeType["Painting"] = 6] = "Painting";
9
- CommunityEmployeeType[CommunityEmployeeType["Elevators"] = 7] = "Elevators";
10
- CommunityEmployeeType[CommunityEmployeeType["HeatingAndDHW"] = 8] = "HeatingAndDHW";
11
- CommunityEmployeeType[CommunityEmployeeType["AirConditioning"] = 9] = "AirConditioning";
12
- CommunityEmployeeType[CommunityEmployeeType["SwimmingPools"] = 10] = "SwimmingPools";
13
- CommunityEmployeeType[CommunityEmployeeType["LegalServices"] = 11] = "LegalServices";
14
- CommunityEmployeeType[CommunityEmployeeType["EnergyAudits"] = 12] = "EnergyAudits";
15
- CommunityEmployeeType[CommunityEmployeeType["GrantConsultancy"] = 13] = "GrantConsultancy";
16
- CommunityEmployeeType[CommunityEmployeeType["SurveillanceAndPrivateSecurity"] = 14] = "SurveillanceAndPrivateSecurity";
17
- CommunityEmployeeType[CommunityEmployeeType["AccessControlSystems"] = 15] = "AccessControlSystems";
18
- CommunityEmployeeType[CommunityEmployeeType["FireProtectionSystems"] = 16] = "FireProtectionSystems";
19
- CommunityEmployeeType[CommunityEmployeeType["WaterSupply"] = 17] = "WaterSupply";
20
- CommunityEmployeeType[CommunityEmployeeType["Electricity"] = 18] = "Electricity";
21
- CommunityEmployeeType[CommunityEmployeeType["Gas"] = 19] = "Gas";
22
- CommunityEmployeeType[CommunityEmployeeType["CleaningAndConsumableSupplies"] = 20] = "CleaningAndConsumableSupplies";
23
- CommunityEmployeeType[CommunityEmployeeType["ArchitectureAndRenovations"] = 21] = "ArchitectureAndRenovations";
24
- CommunityEmployeeType[CommunityEmployeeType["WaterproofingAndInsulation"] = 22] = "WaterproofingAndInsulation";
25
- CommunityEmployeeType[CommunityEmployeeType["PestControl"] = 23] = "PestControl";
26
- CommunityEmployeeType[CommunityEmployeeType["Insurance"] = 24] = "Insurance";
27
- CommunityEmployeeType[CommunityEmployeeType["WasteManagement"] = 25] = "WasteManagement";
28
- })(CommunityEmployeeType || (CommunityEmployeeType = {}));
1
+ export {};
29
2
  //# sourceMappingURL=employee.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"employee.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/employee.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,qBA0BX;AA1BD,WAAY,qBAAqB;IAC/B,yFAAoB,CAAA;IACpB,uGAA2B,CAAA;IAC3B,yEAAY,CAAA;IACZ,6FAAsB,CAAA;IACtB,uEAAW,CAAA;IACX,yEAAY,CAAA;IACZ,2EAAa,CAAA;IACb,mFAAiB,CAAA;IACjB,uFAAmB,CAAA;IACnB,oFAAkB,CAAA;IAClB,oFAAkB,CAAA;IAClB,kFAAiB,CAAA;IACjB,0FAAqB,CAAA;IACrB,sHAAmC,CAAA;IACnC,kGAAyB,CAAA;IACzB,oGAA0B,CAAA;IAC1B,gFAAgB,CAAA;IAChB,gFAAgB,CAAA;IAChB,gEAAQ,CAAA;IACR,oHAAkC,CAAA;IAClC,8GAA+B,CAAA;IAC/B,8GAA+B,CAAA;IAC/B,gFAAgB,CAAA;IAChB,4EAAc,CAAA;IACd,wFAAoB,CAAA;AACtB,CAAC,EA1BW,qBAAqB,KAArB,qBAAqB,QA0BhC"}
1
+ {"version":3,"file":"employee.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/employee.ts"],"names":[],"mappings":""}
@@ -68,4 +68,19 @@ export interface ReceiptTotalDebt {
68
68
  accountIngress: PropertyBalanceAmount;
69
69
  balance: PropertyBalanceAmount;
70
70
  }
71
+ export type ReceiptSummaryQuery = {
72
+ datetimeFrom?: string;
73
+ datetimeTo?: string;
74
+ };
75
+ export interface ReceiptSummary {
76
+ monthlyAverageAmount: GlobalAmount;
77
+ averageReceiptAmount: GlobalAmount;
78
+ propertiesCount: number;
79
+ receiptsCount: number;
80
+ monthsInRange: number;
81
+ range: {
82
+ from: string;
83
+ to: string;
84
+ };
85
+ }
71
86
  //# sourceMappingURL=receipt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/receipt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAA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B,CAAA;CAC/B;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,WAAW,cAAc;IAC7B,oBAAoB,EAAE,YAAY,CAAA;IAClC,oBAAoB,EAAE,YAAY,CAAA;IAClC,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;KACX,CAAA;CACF"}
@@ -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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,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,CAAC,CAAC,CAAA;AAC3F,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC,CAAA;AAClG,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAC3G,MAAM,MAAM,oCAAoC,GAAG,IAAI,CAAC,8BAA8B,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,CAAC,CAAA;AACxH,MAAM,MAAM,oCAAoC,GAAG,OAAO,CACxD,IAAI,CAAC,8BAA8B,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,CAAC,CACtE,CAAA"}
@@ -0,0 +1,60 @@
1
+ // ========================================
2
+ // ENUMS
3
+ // ========================================
4
+ export var VisitEntityType;
5
+ (function (VisitEntityType) {
6
+ VisitEntityType["macrocommunity"] = "macrocommunity";
7
+ VisitEntityType["community"] = "community";
8
+ })(VisitEntityType || (VisitEntityType = {}));
9
+ export var VisitPeriodicityType;
10
+ (function (VisitPeriodicityType) {
11
+ VisitPeriodicityType["none"] = "none";
12
+ VisitPeriodicityType["weekly"] = "weekly";
13
+ })(VisitPeriodicityType || (VisitPeriodicityType = {}));
14
+ export var VisitorStatus;
15
+ (function (VisitorStatus) {
16
+ VisitorStatus["active"] = "active";
17
+ VisitorStatus["revoked"] = "revoked";
18
+ })(VisitorStatus || (VisitorStatus = {}));
19
+ export var VisitorAuthorizationStatus;
20
+ (function (VisitorAuthorizationStatus) {
21
+ VisitorAuthorizationStatus["ready"] = "ready";
22
+ VisitorAuthorizationStatus["generating"] = "generating";
23
+ VisitorAuthorizationStatus["error"] = "error";
24
+ })(VisitorAuthorizationStatus || (VisitorAuthorizationStatus = {}));
25
+ export var VisitorType;
26
+ (function (VisitorType) {
27
+ VisitorType["relative"] = "relative";
28
+ VisitorType["friend"] = "friend";
29
+ VisitorType["driver"] = "driver";
30
+ VisitorType["cleaner"] = "cleaner";
31
+ VisitorType["event"] = "event";
32
+ VisitorType["supplier"] = "supplier";
33
+ VisitorType["delivery"] = "delivery";
34
+ VisitorType["other"] = "other";
35
+ })(VisitorType || (VisitorType = {}));
36
+ export var VisitStatus;
37
+ (function (VisitStatus) {
38
+ VisitStatus["active"] = "active";
39
+ VisitStatus["canceled"] = "canceled";
40
+ VisitStatus["expired"] = "expired";
41
+ })(VisitStatus || (VisitStatus = {}));
42
+ export var VisitAccessLogType;
43
+ (function (VisitAccessLogType) {
44
+ VisitAccessLogType["checkIn"] = "check_in";
45
+ VisitAccessLogType["checkOut"] = "check_out";
46
+ })(VisitAccessLogType || (VisitAccessLogType = {}));
47
+ export var VisitDocumentType;
48
+ (function (VisitDocumentType) {
49
+ VisitDocumentType["person"] = "person";
50
+ VisitDocumentType["vehicle"] = "vehicle";
51
+ VisitDocumentType["document"] = "document";
52
+ })(VisitDocumentType || (VisitDocumentType = {}));
53
+ export var QRCodeStatus;
54
+ (function (QRCodeStatus) {
55
+ QRCodeStatus["out_of_range"] = "out_of_range";
56
+ QRCodeStatus["expired"] = "expired";
57
+ QRCodeStatus["revoked"] = "revoked";
58
+ QRCodeStatus["valid"] = "valid";
59
+ })(QRCodeStatus || (QRCodeStatus = {}));
60
+ //# sourceMappingURL=visit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visit.js","sourceRoot":"","sources":["../../../../../../src/modules/horizontal/communities/types/visit.ts"],"names":[],"mappings":"AAEA,2CAA2C;AAC3C,QAAQ;AACR,2CAA2C;AAE3C,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oDAAiC,CAAA;IACjC,0CAAuB,CAAA;AACzB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAED,MAAM,CAAN,IAAY,oBAGX;AAHD,WA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,YAAY,KAAZ,YAAY,QAKvB"}
@@ -56,6 +56,7 @@ export interface TicketingTask {
56
56
  subcategoryId?: number | null;
57
57
  tags?: TagTuple[] | null;
58
58
  dueDate?: string | null;
59
+ planningDate?: string | null;
59
60
  firstResponseDue?: string | null;
60
61
  }
61
62
  export type TicketingTaskParent = Pick<TicketingTask, 'id' | 'code' | 'title' | 'isAuthorized'>;
@@ -64,7 +65,7 @@ export type CreateTicketingTaskDTO = Omit<TicketingTask, 'id' | 'domainId' | 'co
64
65
  resources: CreateTicketingTaskResourceDTO[];
65
66
  isExternal?: TicketingTask['isExternal'];
66
67
  };
67
- export type UpdateTicketingTaskDTO = Partial<Pick<TicketingTask, 'categoryId' | 'subcategoryId' | 'priorityId' | 'statusId' | 'title' | 'description' | 'responsibleId' | 'responsibleType' | 'providerId' | 'reporterId' | 'reporterTypeId' | 'tags' | 'dueDate' | 'isExternal'>>;
68
+ export type UpdateTicketingTaskDTO = Partial<Pick<TicketingTask, 'categoryId' | 'subcategoryId' | 'priorityId' | 'statusId' | 'title' | 'description' | 'responsibleId' | 'responsibleType' | 'providerId' | 'reporterId' | 'reporterTypeId' | 'tags' | 'dueDate' | 'planningDate' | 'isExternal'>>;
68
69
  export interface TicketingTaskExtended extends TicketingTask {
69
70
  reporter?: ContactPerson | AgentDomainExtended;
70
71
  responsible?: AgentDomainExtended | Team | null;
@@ -99,10 +100,12 @@ export interface TicketingTaskQueryParams {
99
100
  activeAtTo?: string;
100
101
  dueDateFrom?: string;
101
102
  dueDateTo?: string;
103
+ planningDateFrom?: string;
104
+ planningDateTo?: string;
102
105
  isAuthorized?: boolean;
103
106
  isDeleted?: boolean;
104
107
  q?: string;
105
- sortBy?: 'priority' | 'dueDate' | 'createdAt' | 'code';
108
+ sortBy?: 'priority' | 'dueDate' | 'planningDate' | 'createdAt' | 'code';
106
109
  sortOrder?: 'asc' | 'desc';
107
110
  pagination?: {
108
111
  page?: number;