@sigmatech/pergamo 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.
@@ -8,6 +8,15 @@ export declare enum AccreditationStatus {
8
8
  REVOKED = "REVOKED",// Revocada
9
9
  EXPIRED = "EXPIRED"
10
10
  }
11
+ /**
12
+ * Origen/fuente de la acreditación
13
+ */
14
+ export declare enum AccreditationSource {
15
+ PREDEFINED_LIST = "PREDEFINED_LIST",// Desde lista VIP/predefinida
16
+ IN_SITU_LIST = "IN_SITU_LIST",// Desde lista in-situ
17
+ EXTRAORDINARY = "EXTRAORDINARY",// Caso extraordinario (aprobación manual)
18
+ OPEN_EVENT = "OPEN_EVENT"
19
+ }
11
20
  /**
12
21
  * Accreditation Entity
13
22
  *
@@ -26,5 +35,38 @@ export declare class Accreditation extends EntityBase {
26
35
  validUntil?: Date;
27
36
  notes?: string;
28
37
  fingerprints?: Fingerprint[];
38
+ /**
39
+ * Origen de la acreditación
40
+ * Indica cómo se originó esta acreditación
41
+ */
42
+ source?: AccreditationSource;
43
+ /**
44
+ * ID de la entrada en la lista de asistentes (si aplica)
45
+ */
46
+ attendeeListId?: string;
47
+ /**
48
+ * Indica si requirió aprobación manual (caso extraordinario)
49
+ */
50
+ requiredApproval: boolean;
51
+ /**
52
+ * Fue aprobado por coordinador (solo para casos extraordinarios)
53
+ */
54
+ coordinatorApproved: boolean;
55
+ /**
56
+ * ID del usuario que dio la aprobación
57
+ */
58
+ approvedById?: string;
59
+ /**
60
+ * Nombre del aprobador (para auditoría rápida)
61
+ */
62
+ approvedByName?: string;
63
+ /**
64
+ * Fecha/hora de la aprobación
65
+ */
66
+ approvedAt?: Date;
67
+ /**
68
+ * Motivo/justificación de la aprobación extraordinaria
69
+ */
70
+ approvalReason?: string;
29
71
  }
30
72
  //# sourceMappingURL=accreditation.entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accreditation.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/accreditation.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAUnD,oBAAY,mBAAmB;IAC7B,OAAO,YAAY,CAAE,iCAAiC;IACtD,MAAM,WAAW,CAAE,8BAA8B;IACjD,OAAO,YAAY,CAAE,WAAW;IAChC,OAAO,YAAY;CACpB;AAED;;;;;;;GAOG;AACH,qBAKa,aAAc,SAAQ,UAAU;IAI3C,MAAM,EAAG,MAAM,CAAC;IAQhB,KAAK,EAAG,KAAK,CAAC;IAQd,MAAM,EAAG,mBAAmB,CAAC;IAG7B,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B"}
1
+ {"version":3,"file":"accreditation.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/accreditation.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAUnD,oBAAY,mBAAmB;IAC7B,OAAO,YAAY,CAAE,iCAAiC;IACtD,MAAM,WAAW,CAAE,8BAA8B;IACjD,OAAO,YAAY,CAAE,WAAW;IAChC,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,eAAe,oBAAoB,CAAE,8BAA8B;IACnE,YAAY,iBAAiB,CAAE,sBAAsB;IACrD,aAAa,kBAAkB,CAAE,0CAA0C;IAC3E,UAAU,eAAe;CAC1B;AAED;;;;;;;GAOG;AACH,qBAKa,aAAc,SAAQ,UAAU;IAI3C,MAAM,EAAG,MAAM,CAAC;IAQhB,KAAK,EAAG,KAAK,CAAC;IAQd,MAAM,EAAG,mBAAmB,CAAC;IAG7B,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,UAAU,CAAC,EAAE,IAAI,CAAC;IAIlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAOf,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAI7B;;;OAGG;IAOH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAE7B;;OAEG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB;;OAEG;IAEH,gBAAgB,EAAG,OAAO,CAAC;IAE3B;;OAEG;IAEH,mBAAmB,EAAG,OAAO,CAAC;IAE9B;;OAEG;IAEH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IAEH,UAAU,CAAC,EAAE,IAAI,CAAC;IAElB;;OAEG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Accreditation = exports.AccreditationStatus = void 0;
12
+ exports.Accreditation = exports.AccreditationSource = exports.AccreditationStatus = void 0;
13
13
  const _base_1 = require("../base/_base");
14
14
  const person_entity_1 = require("../person/person.entity");
15
15
  const event_entity_1 = require("./event.entity");
@@ -22,6 +22,16 @@ var AccreditationStatus;
22
22
  AccreditationStatus["REVOKED"] = "REVOKED";
23
23
  AccreditationStatus["EXPIRED"] = "EXPIRED";
24
24
  })(AccreditationStatus || (exports.AccreditationStatus = AccreditationStatus = {}));
25
+ /**
26
+ * Origen/fuente de la acreditación
27
+ */
28
+ var AccreditationSource;
29
+ (function (AccreditationSource) {
30
+ AccreditationSource["PREDEFINED_LIST"] = "PREDEFINED_LIST";
31
+ AccreditationSource["IN_SITU_LIST"] = "IN_SITU_LIST";
32
+ AccreditationSource["EXTRAORDINARY"] = "EXTRAORDINARY";
33
+ AccreditationSource["OPEN_EVENT"] = "OPEN_EVENT";
34
+ })(AccreditationSource || (exports.AccreditationSource = AccreditationSource = {}));
25
35
  /**
26
36
  * Accreditation Entity
27
37
  *
@@ -81,6 +91,43 @@ __decorate([
81
91
  }),
82
92
  __metadata("design:type", Array)
83
93
  ], Accreditation.prototype, "fingerprints", void 0);
94
+ __decorate([
95
+ (0, typeorm_1.Column)({
96
+ type: 'enum',
97
+ enum: AccreditationSource,
98
+ nullable: true,
99
+ name: 'source',
100
+ }),
101
+ __metadata("design:type", String)
102
+ ], Accreditation.prototype, "source", void 0);
103
+ __decorate([
104
+ (0, typeorm_1.Column)({ name: 'attendee_list_id', type: 'uuid', nullable: true }),
105
+ __metadata("design:type", String)
106
+ ], Accreditation.prototype, "attendeeListId", void 0);
107
+ __decorate([
108
+ (0, typeorm_1.Column)({ name: 'required_approval', type: 'boolean', default: false }),
109
+ __metadata("design:type", Boolean)
110
+ ], Accreditation.prototype, "requiredApproval", void 0);
111
+ __decorate([
112
+ (0, typeorm_1.Column)({ name: 'coordinator_approved', type: 'boolean', default: false }),
113
+ __metadata("design:type", Boolean)
114
+ ], Accreditation.prototype, "coordinatorApproved", void 0);
115
+ __decorate([
116
+ (0, typeorm_1.Column)({ name: 'approved_by_id', type: 'uuid', nullable: true }),
117
+ __metadata("design:type", String)
118
+ ], Accreditation.prototype, "approvedById", void 0);
119
+ __decorate([
120
+ (0, typeorm_1.Column)({ name: 'approved_by_name', length: 255, nullable: true }),
121
+ __metadata("design:type", String)
122
+ ], Accreditation.prototype, "approvedByName", void 0);
123
+ __decorate([
124
+ (0, typeorm_1.Column)({ name: 'approved_at', type: 'timestamp', nullable: true }),
125
+ __metadata("design:type", Date)
126
+ ], Accreditation.prototype, "approvedAt", void 0);
127
+ __decorate([
128
+ (0, typeorm_1.Column)({ name: 'approval_reason', type: 'text', nullable: true }),
129
+ __metadata("design:type", String)
130
+ ], Accreditation.prototype, "approvalReason", void 0);
84
131
  exports.Accreditation = Accreditation = __decorate([
85
132
  (0, typeorm_1.Entity)('accreditation'),
86
133
  (0, typeorm_1.Index)('accreditation_person_idx', ['person']),
@@ -1 +1 @@
1
- {"version":3,"file":"accreditation.entity.js","sourceRoot":"","sources":["../../../src/entities/accreditation/accreditation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2DAAiD;AACjD,iDAAuC;AACvC,6DAAmD;AACnD,qCAOiB;AAEjB,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACrB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAED;;;;;;;GAOG;AAMI,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,kBAAU;CA+C5C,CAAA;AA/CY,sCAAa;AAIxB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACzB,sBAAM;6CAAC;AAQhB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,C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,CAAC;IAC7C,IAAA,eAAK,EAAC,yBAAyB,EAAE,CAAC,OAAO,CAAC,CAAC;IAC3C,IAAA,eAAK,EAAC,0BAA0B,EAAE,CAAC,QAAQ,CAAC,CAAC;IAC7C,IAAA,eAAK,EAAC,gCAAgC,EAAE,CAAC,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC9D,aAAa,CA+CzB"}
1
+ {"version":3,"file":"accreditation.entity.js","sourceRoot":"","sources":["../../../src/entities/accreditation/accreditation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2DAAiD;AACjD,iDAAuC;AACvC,6DAAmD;AACnD,qCAOiB;AAEjB,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;AACrB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAED;;GAEG;AACH,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0DAAmC,CAAA;IACnC,oDAA6B,CAAA;IAC7B,sDAA+B,CAAA;IAC/B,gDAAyB,CAAA;AAC3B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAED;;;;;;;GAOG;AAMI,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,kBAAU;CAyG5C,CAAA;AAzGY,sCAAa;AAIxB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACzB,sBAAM;6CAAC;AAQhB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE;QACvD,QAAQ,EAA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M,EAAE,IAAI,EAAE,CAAC;GAC9D,aAAa,CAyGzB"}
@@ -0,0 +1,84 @@
1
+ import { EntityBase } from '../base/_base';
2
+ import { Event } from './event.entity';
3
+ import { Person } from '../person/person.entity';
4
+ /**
5
+ * Tipo de lista de asistentes
6
+ */
7
+ export declare enum AttendeeListType {
8
+ PREDEFINED = "PREDEFINED",// Lista VIP/Pre-aprobada cargada con anticipación
9
+ IN_SITU = "IN_SITU"
10
+ }
11
+ /**
12
+ * Estado de un registro en la lista
13
+ */
14
+ export declare enum AttendeeStatus {
15
+ PENDING = "PENDING",// En lista, aún no acreditado
16
+ ACCREDITED = "ACCREDITED",// Ya acreditado exitosamente
17
+ DENIED = "DENIED",// Denegado (por motivos específicos)
18
+ NO_SHOW = "NO_SHOW"
19
+ }
20
+ /**
21
+ * EventAttendeeList Entity
22
+ *
23
+ * Representa una entrada en una lista de asistentes pre-cargada para un evento.
24
+ * Permite gestionar listas VIP/predefinidas y listas in-situ.
25
+ *
26
+ * @extends EntityBase - Entidad con soporte multi-tenant y campos de auditoría
27
+ */
28
+ export declare class EventAttendeeList extends EntityBase {
29
+ /**
30
+ * Relación con Evento
31
+ */
32
+ event: Event;
33
+ /**
34
+ * Relación con Persona
35
+ */
36
+ person: Person;
37
+ /**
38
+ * Tipo de lista (categoría temporal)
39
+ * - PREDEFINED: Lista cargada con anticipación (antes del evento)
40
+ * - IN_SITU: Lista cargada el mismo día o durante el evento
41
+ */
42
+ listType: AttendeeListType;
43
+ /**
44
+ * Nombre de la lista
45
+ * Permite tener N listas por evento, cada una con su nombre identificador.
46
+ * @example "Músicos", "Delegación Presidencial", "Prensa Acreditada", "Abuelos"
47
+ */
48
+ listName: string;
49
+ /**
50
+ * Estado del asistente en la lista
51
+ * - PENDING: En lista, aún no acreditado
52
+ * - ACCREDITED: Ya acreditado exitosamente
53
+ * - DENIED: Denegado
54
+ * - NO_SHOW: No se presentó
55
+ */
56
+ status: AttendeeStatus;
57
+ /**
58
+ * Prioridad/VIP level
59
+ * 0 = normal, mayor = más importante
60
+ */
61
+ priority: number;
62
+ /**
63
+ * Categoría o grupo dentro de la lista
64
+ * @example "Delegación Presidencial", "Prensa", "Seguridad"
65
+ */
66
+ category?: string;
67
+ /**
68
+ * Notas específicas para esta persona en este evento
69
+ */
70
+ notes?: string;
71
+ /**
72
+ * Nombre del archivo/lote de importación (para trazabilidad)
73
+ */
74
+ importBatch?: string;
75
+ /**
76
+ * Fecha de importación
77
+ */
78
+ importedAt?: Date;
79
+ /**
80
+ * Referencia a la acreditación creada (cuando status = ACCREDITED)
81
+ */
82
+ accreditationId?: string;
83
+ }
84
+ //# sourceMappingURL=event-attendee-list.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-attendee-list.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/event-attendee-list.entity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEjD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,UAAU,eAAe,CAAE,kDAAkD;IAC7E,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,cAAc;IACxB,OAAO,YAAY,CAAE,8BAA8B;IACnD,UAAU,eAAe,CAAE,6BAA6B;IACxD,MAAM,WAAW,CAAE,qCAAqC;IACxD,OAAO,YAAY;CACpB;AAED;;;;;;;GAOG;AACH,qBAKa,iBAAkB,SAAQ,UAAU;IAC/C;;OAEG;IAMH,KAAK,EAAG,KAAK,CAAC;IAEd;;OAEG;IAGH,MAAM,EAAG,MAAM,CAAC;IAEhB;;;;OAIG;IAOH,QAAQ,EAAG,gBAAgB,CAAC;IAE5B;;;;OAIG;IAEH,QAAQ,EAAG,MAAM,CAAC;IAElB;;;;;;OAMG;IAMH,MAAM,EAAG,cAAc,CAAC;IAExB;;;OAGG;IAEH,QAAQ,EAAG,MAAM,CAAC;IAElB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,UAAU,CAAC,EAAE,IAAI,CAAC;IAElB;;OAEG;IAEH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.EventAttendeeList = exports.AttendeeStatus = exports.AttendeeListType = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _base_1 = require("../base/_base");
15
+ const event_entity_1 = require("./event.entity");
16
+ const person_entity_1 = require("../person/person.entity");
17
+ /**
18
+ * Tipo de lista de asistentes
19
+ */
20
+ var AttendeeListType;
21
+ (function (AttendeeListType) {
22
+ AttendeeListType["PREDEFINED"] = "PREDEFINED";
23
+ AttendeeListType["IN_SITU"] = "IN_SITU";
24
+ })(AttendeeListType || (exports.AttendeeListType = AttendeeListType = {}));
25
+ /**
26
+ * Estado de un registro en la lista
27
+ */
28
+ var AttendeeStatus;
29
+ (function (AttendeeStatus) {
30
+ AttendeeStatus["PENDING"] = "PENDING";
31
+ AttendeeStatus["ACCREDITED"] = "ACCREDITED";
32
+ AttendeeStatus["DENIED"] = "DENIED";
33
+ AttendeeStatus["NO_SHOW"] = "NO_SHOW";
34
+ })(AttendeeStatus || (exports.AttendeeStatus = AttendeeStatus = {}));
35
+ /**
36
+ * EventAttendeeList Entity
37
+ *
38
+ * Representa una entrada en una lista de asistentes pre-cargada para un evento.
39
+ * Permite gestionar listas VIP/predefinidas y listas in-situ.
40
+ *
41
+ * @extends EntityBase - Entidad con soporte multi-tenant y campos de auditoría
42
+ */
43
+ let EventAttendeeList = class EventAttendeeList extends _base_1.EntityBase {
44
+ };
45
+ exports.EventAttendeeList = EventAttendeeList;
46
+ __decorate([
47
+ (0, typeorm_1.ManyToOne)(() => event_entity_1.Event, (event) => event.attendeeLists, {
48
+ nullable: false,
49
+ onDelete: 'CASCADE',
50
+ }),
51
+ (0, typeorm_1.JoinColumn)({ name: 'event_id' }),
52
+ __metadata("design:type", event_entity_1.Event)
53
+ ], EventAttendeeList.prototype, "event", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.ManyToOne)(() => person_entity_1.Person, { nullable: false, eager: true }),
56
+ (0, typeorm_1.JoinColumn)({ name: 'person_id' }),
57
+ __metadata("design:type", person_entity_1.Person)
58
+ ], EventAttendeeList.prototype, "person", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Column)({
61
+ type: 'enum',
62
+ enum: AttendeeListType,
63
+ default: AttendeeListType.PREDEFINED,
64
+ name: 'list_type',
65
+ }),
66
+ __metadata("design:type", String)
67
+ ], EventAttendeeList.prototype, "listType", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ name: 'list_name', length: 100 }),
70
+ __metadata("design:type", String)
71
+ ], EventAttendeeList.prototype, "listName", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.Column)({
74
+ type: 'enum',
75
+ enum: AttendeeStatus,
76
+ default: AttendeeStatus.PENDING,
77
+ }),
78
+ __metadata("design:type", String)
79
+ ], EventAttendeeList.prototype, "status", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ type: 'int', default: 0 }),
82
+ __metadata("design:type", Number)
83
+ ], EventAttendeeList.prototype, "priority", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ length: 100, nullable: true }),
86
+ __metadata("design:type", String)
87
+ ], EventAttendeeList.prototype, "category", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
90
+ __metadata("design:type", String)
91
+ ], EventAttendeeList.prototype, "notes", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ name: 'import_batch', length: 255, nullable: true }),
94
+ __metadata("design:type", String)
95
+ ], EventAttendeeList.prototype, "importBatch", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ name: 'imported_at', type: 'timestamp', nullable: true }),
98
+ __metadata("design:type", Date)
99
+ ], EventAttendeeList.prototype, "importedAt", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ name: 'accreditation_id', type: 'uuid', nullable: true }),
102
+ __metadata("design:type", String)
103
+ ], EventAttendeeList.prototype, "accreditationId", void 0);
104
+ exports.EventAttendeeList = EventAttendeeList = __decorate([
105
+ (0, typeorm_1.Entity)('event_attendee_list'),
106
+ (0, typeorm_1.Index)('eal_event_person_idx', ['event', 'person'], { unique: true }),
107
+ (0, typeorm_1.Index)('eal_event_type_idx', ['event', 'listType']),
108
+ (0, typeorm_1.Index)('eal_event_status_idx', ['event', 'status']),
109
+ (0, typeorm_1.Index)('eal_event_listname_idx', ['event', 'listName'])
110
+ ], EventAttendeeList);
111
+ //# sourceMappingURL=event-attendee-list.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-attendee-list.entity.js","sourceRoot":"","sources":["../../../src/entities/accreditation/event-attendee-list.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AACjB,yCAA2C;AAC3C,iDAAuC;AACvC,2DAAiD;AAEjD;;GAEG;AACH,IAAY,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eeList } from './event-attendee-list.entity';
3
4
  /**
4
5
  * Estados posibles de un evento
5
6
  */
@@ -9,6 +10,13 @@ export declare enum EventStatus {
9
10
  COMPLETED = "COMPLETED",
10
11
  CANCELLED = "CANCELLED"
11
12
  }
13
+ /**
14
+ * Tipo de evento según control de acceso
15
+ */
16
+ export declare enum EventType {
17
+ OPEN = "OPEN",// Evento abierto - cualquier persona puede acreditarse
18
+ RESTRICTED = "RESTRICTED"
19
+ }
12
20
  /**
13
21
  * Event Entity
14
22
  *
@@ -44,6 +52,12 @@ export declare class Event extends EntityBase {
44
52
  * - CANCELLED: Cancelado
45
53
  */
46
54
  status: EventStatus;
55
+ /**
56
+ * Tipo de evento según control de acceso
57
+ * - OPEN: Cualquier persona puede acreditarse sin estar en lista
58
+ * - RESTRICTED: Solo personas en lista o con aprobación del coordinador
59
+ */
60
+ eventType: EventType;
47
61
  /**
48
62
  * Fecha de inicio del evento (hora específica)
49
63
  */
@@ -64,5 +78,9 @@ export declare class Event extends EntityBase {
64
78
  * Acreditaciones asociadas a este evento
65
79
  */
66
80
  accreditations?: Accreditation[];
81
+ /**
82
+ * Listas de asistentes pre-cargadas para este evento
83
+ */
84
+ attendeeLists?: EventAttendeeList[];
67
85
  }
68
86
  //# sourceMappingURL=event.entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"event.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/event.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD;;GAEG;AACH,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAGD;;;;;;;GAOG;AACH,qBAGa,KAAM,SAAQ,UAAU;IACnC;;;OAGG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,IAAI,EAAG,I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AAI,CAAC;IAEjB;;OAEG;IAEH,OAAO,CAAC,EAAE,IAAI,CAAC;IAEf;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IAEH,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;IAEjC;;OAEG;IAEH,aAAa,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACrC"}
@@ -9,10 +9,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Event = exports.EventStatus = void 0;
12
+ exports.Event = exports.EventType = exports.EventStatus = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const _base_1 = require("../base/_base");
15
15
  const accreditation_entity_1 = require("./accreditation.entity");
16
+ const event_attendee_list_entity_1 = require("./event-attendee-list.entity");
16
17
  /**
17
18
  * Estados posibles de un evento
18
19
  */
@@ -23,6 +24,14 @@ var EventStatus;
23
24
  EventStatus["COMPLETED"] = "COMPLETED";
24
25
  EventStatus["CANCELLED"] = "CANCELLED";
25
26
  })(EventStatus || (exports.EventStatus = EventStatus = {}));
27
+ /**
28
+ * Tipo de evento según control de acceso
29
+ */
30
+ var EventType;
31
+ (function (EventType) {
32
+ EventType["OPEN"] = "OPEN";
33
+ EventType["RESTRICTED"] = "RESTRICTED";
34
+ })(EventType || (exports.EventType = EventType = {}));
26
35
  /**
27
36
  * Event Entity
28
37
  *
@@ -58,6 +67,15 @@ __decorate([
58
67
  }),
59
68
  __metadata("design:type", String)
60
69
  ], Event.prototype, "status", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)({
72
+ type: 'enum',
73
+ enum: EventType,
74
+ default: EventType.RESTRICTED,
75
+ name: 'event_type',
76
+ }),
77
+ __metadata("design:type", String)
78
+ ], Event.prototype, "eventType", void 0);
61
79
  __decorate([
62
80
  (0, typeorm_1.Column)({ name: 'start_time', type: 'timestamp', nullable: true }),
63
81
  __metadata("design:type", Date)
@@ -78,6 +96,10 @@ __decorate([
78
96
  (0, typeorm_1.OneToMany)(() => accreditation_entity_1.Accreditation, (accreditation) => accreditation.event),
79
97
  __metadata("design:type", Array)
80
98
  ], Event.prototype, "accreditations", void 0);
99
+ __decorate([
100
+ (0, typeorm_1.OneToMany)(() => event_attendee_list_entity_1.EventAttendeeList, (list) => list.event),
101
+ __metadata("design:type", Array)
102
+ ], Event.prototype, "attendeeLists", void 0);
81
103
  exports.Event = Event = __decorate([
82
104
  (0, typeorm_1.Entity)('event'),
83
105
  (0, typeorm_1.Index)('event_name_date_idx', ['name', 'date']),
@@ -1 +1 @@
1
- {"version":3,"file":"event.entity.js","sourceRoot":"","sources":["../../../src/entities/accreditation/event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA2D;AAC3D,yCAA2C;AAC3C,iEAAuD;AAEvD;;GAEG;AACH,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;AACzB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAGD;;;;;;;GAOG;AAII,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,kBAAU;CAsEpC,CAAA;AAtEY,sBAAK;AAMhB;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;mCACV;AAMd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8BAClB,IAAI;mCAAC;AAOZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACtB;AAMlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EA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,IAAI;sCAAC;AAMf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACzC;AAMrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oCAC1B;AAMf;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oCAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC;;6CACtC;AAMjC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8CAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;;4CACrB;gBAxFzB,KAAK;IAHjB,IAAA,gBAAM,EAAC,OAAO,CAAC;IACf,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9C,IAAA,eAAK,EAAC,gBAAgB,EAAE,CAAC,MAAM,CAAC,CAAC;GACrB,KAAK,CAyFjB"}
@@ -1,4 +1,5 @@
1
1
  export * from './event.entity';
2
2
  export * from './accreditation.entity';
3
3
  export * from './fingerprint.entity';
4
+ export * from './event-attendee-list.entity';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/accreditation/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC"}
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./event.entity"), exports);
18
18
  __exportStar(require("./accreditation.entity"), exports);
19
19
  __exportStar(require("./fingerprint.entity"), exports);
20
+ __exportStar(require("./event-attendee-list.entity"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/accreditation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,yDAAuC;AACvC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/accreditation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,yDAAuC;AACvC,uDAAqC;AACrC,+DAA6C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigmatech/pergamo",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "description": "Shared TypeORM entities and utilities for Dataven intelligence system - Named after the ancient library of Pergamon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",