@sigmatech/pergamo 0.1.116 → 0.1.118

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 (37) hide show
  1. package/dist/entities/index.d.ts +3 -0
  2. package/dist/entities/index.d.ts.map +1 -1
  3. package/dist/entities/index.js +6 -0
  4. package/dist/entities/index.js.map +1 -1
  5. package/dist/entities/organization-activity/index.d.ts +2 -0
  6. package/dist/entities/organization-activity/index.d.ts.map +1 -0
  7. package/dist/entities/organization-activity/index.js +18 -0
  8. package/dist/entities/organization-activity/index.js.map +1 -0
  9. package/dist/entities/organization-activity/organization-activity.entity.d.ts +24 -0
  10. package/dist/entities/organization-activity/organization-activity.entity.d.ts.map +1 -0
  11. package/dist/entities/organization-activity/organization-activity.entity.js +40 -0
  12. package/dist/entities/organization-activity/organization-activity.entity.js.map +1 -0
  13. package/dist/entities/organization-event/index.d.ts +3 -0
  14. package/dist/entities/organization-event/index.d.ts.map +1 -0
  15. package/dist/entities/organization-event/index.js +19 -0
  16. package/dist/entities/organization-event/index.js.map +1 -0
  17. package/dist/entities/organization-event/organization-event.entity.d.ts +27 -0
  18. package/dist/entities/organization-event/organization-event.entity.d.ts.map +1 -0
  19. package/dist/entities/organization-event/organization-event.entity.js +72 -0
  20. package/dist/entities/organization-event/organization-event.entity.js.map +1 -0
  21. package/dist/entities/organization-event/organization-event.enums.d.ts +20 -0
  22. package/dist/entities/organization-event/organization-event.enums.d.ts.map +1 -0
  23. package/dist/entities/organization-event/organization-event.enums.js +25 -0
  24. package/dist/entities/organization-event/organization-event.enums.js.map +1 -0
  25. package/dist/entities/organization-member/index.d.ts +3 -0
  26. package/dist/entities/organization-member/index.d.ts.map +1 -0
  27. package/dist/entities/organization-member/index.js +19 -0
  28. package/dist/entities/organization-member/index.js.map +1 -0
  29. package/dist/entities/organization-member/organization-member.entity.d.ts +29 -0
  30. package/dist/entities/organization-member/organization-member.entity.d.ts.map +1 -0
  31. package/dist/entities/organization-member/organization-member.entity.js +65 -0
  32. package/dist/entities/organization-member/organization-member.entity.js.map +1 -0
  33. package/dist/entities/organization-member/organization-member.enums.d.ts +19 -0
  34. package/dist/entities/organization-member/organization-member.enums.d.ts.map +1 -0
  35. package/dist/entities/organization-member/organization-member.enums.js +24 -0
  36. package/dist/entities/organization-member/organization-member.enums.js.map +1 -0
  37. package/package.json +8 -9
@@ -90,4 +90,7 @@ export * from "./cdr";
90
90
  export * from "./tenant";
91
91
  export * from "./risk";
92
92
  export * from "./illicit-organization";
93
+ export * from "./organization-activity";
94
+ export * from "./organization-member";
95
+ export * from "./organization-event";
93
96
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kDAAkD,CAAC;AAGjE,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAG3C,cAAc,WAAW,CAAC;AAG1B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;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;AAClE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AAGvC,cAAc,4BAA4B,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAGlD,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC;AAGxB,cAAc,gBAAgB,CAAC;AAG/B,cAAc,SAAS,CAAC;AAGxB,cAAc,OAAO,CAAC;AAGtB,cAAc,UAAU,CAAC;AAGzB,cAAc,QAAQ,CAAC;AAGvB,cAAc,wBAAwB,CAAC;AAGvC,cAAc,yBAAyB,CAAC;AAGxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,sBAAsB,CAAC"}
@@ -151,4 +151,10 @@ __exportStar(require("./tenant"), exports);
151
151
  __exportStar(require("./risk"), exports);
152
152
  // Illicit Organization module
153
153
  __exportStar(require("./illicit-organization"), exports);
154
+ // Organization Activity catalog
155
+ __exportStar(require("./organization-activity"), exports);
156
+ // Organization Member
157
+ __exportStar(require("./organization-member"), exports);
158
+ // Organization Event
159
+ __exportStar(require("./organization-event"), exports);
154
160
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,gBAAgB;AAChB,+CAA6B;AAC7B,sDAAoC;AAEpC,sBAAsB;AACtB,8EAA4D;AAC5D,mFAAiE;AAEjE,gBAAgB;AAChB,yDAAuC;AACvC,wEAAsD;AACtD,mEAAiD;AACjD,qEAAmD;AACnD,6DAA2C;AAC3C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC;AACtC,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,sEAAoD;AACpD,0EAAwD;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;AAC9C,yDAAuC;AAEvC,aAAa;AACb,6DAA2C;AAE3C,8BAA8B;AAC9B,iEAAwD;AAA/C,gHAAA,UAAU,OAAA;AAEnB,aAAa;AACb,2DAAyC;AACzC,+DAA6C;AAC7C,kEAAgD;AAChD,oEAAkD;AAElD,kBAAkB;AAClB,6CAA2B;AAE3B,eAAe;AACf,0CAAwB;AAExB,+DAA+D;AAC/D,iDAA+B;AAE/B,eAAe;AACf,0CAAwB;AAExB,aAAa;AACb,wCAAsB;AAEtB,6CAA6C;AAC7C,2CAAyB;AAEzB,0CAA0C;AAC1C,yCAAuB;AAEvB,8BAA8B;AAC9B,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,gBAAgB;AAChB,+CAA6B;AAC7B,sDAAoC;AAEpC,sBAAsB;AACtB,8EAA4D;AAC5D,mFAAiE;AAEjE,gBAAgB;AAChB,yDAAuC;AACvC,wEAAsD;AACtD,mEAAiD;AACjD,qEAAmD;AACnD,6DAA2C;AAC3C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC;AACtC,uEAAqD;AACrD,oEAAkD;AAClD,qEAAmD;AACnD,qEAAmD;AACnD,sEAAoD;AACpD,0EAAwD;AACxD,yEAAuD;AACvD,0EAAwD;AACxD,2EAAyD;AACzD,4DAA0C;AAC1C,6DAA2C;AAE3C,iBAAiB;AACjB,4CAA0B;AAE1B,uBAAuB;AACvB,kDAAgC;AAEhC,wDAAwD;AACxD,6DAA2C;AAC3C,mEAAiD;AACjD,mEAAiD;AAEjD,6CAA6C;AAC7C,wCAAsB;AAEtB,mBAAmB;AACnB,+DAA6C;AAC7C,yEAAuD;AACvD,yDAAuC;AACvC,sEAAoD;AACpD,uEAAqD;AACrD,oEAAkD;AAClD,oEAAkD;AAClD,2EAAyD;AAEzD,kBAAkB;AAClB,6DAA2C;AAC3C,yEAAuD;AACvD,gEAA8C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C;AAChC,0DAAwC;AAExC,sBAAsB;AACtB,wDAAsC;AAEtC,qBAAqB;AACrB,uDAAqC"}
@@ -0,0 +1,2 @@
1
+ export * from './organization-activity.entity';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-activity/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./organization-activity.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/organization-activity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C"}
@@ -0,0 +1,24 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ /**
3
+ * OrganizationActivity — Catalog of known criminal/illicit activities.
4
+ * Used as a reference for primaryActivity and secondaryActivities
5
+ * fields in IllicitOrganization. Analysts can add new entries as
6
+ * intelligence evolves.
7
+ */
8
+ export declare class OrganizationActivity extends GlobalBase {
9
+ /**
10
+ * Normalized activity name. Must be unique.
11
+ * Examples: "Narcotráfico", "Extorsión", "Lavado de activos"
12
+ */
13
+ name: string;
14
+ /**
15
+ * Optional description explaining the activity.
16
+ */
17
+ description?: string;
18
+ /**
19
+ * Whether this activity is actively used in the catalog.
20
+ * Inactive entries are hidden from suggestions but preserved for audit.
21
+ */
22
+ isActive: boolean;
23
+ }
24
+ //# sourceMappingURL=organization-activity.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-activity.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-activity/organization-activity.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;GAKG;AACH,qBAEa,oBAAqB,SAAQ,UAAU;IAClD;;;OAGG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IAEH,QAAQ,EAAG,OAAO,CAAC;CACpB"}
@@ -0,0 +1,40 @@
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.OrganizationActivity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ /**
16
+ * OrganizationActivity — Catalog of known criminal/illicit activities.
17
+ * Used as a reference for primaryActivity and secondaryActivities
18
+ * fields in IllicitOrganization. Analysts can add new entries as
19
+ * intelligence evolves.
20
+ */
21
+ let OrganizationActivity = class OrganizationActivity extends _global_base_1.GlobalBase {
22
+ };
23
+ exports.OrganizationActivity = OrganizationActivity;
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
26
+ __metadata("design:type", String)
27
+ ], OrganizationActivity.prototype, "name", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], OrganizationActivity.prototype, "description", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: 'boolean', default: true }),
34
+ __metadata("design:type", Boolean)
35
+ ], OrganizationActivity.prototype, "isActive", void 0);
36
+ exports.OrganizationActivity = OrganizationActivity = __decorate([
37
+ (0, typeorm_1.Entity)({ name: 'organization_activity' }),
38
+ (0, typeorm_1.Index)('idx_org_activity_name', ['name'], { unique: true })
39
+ ], OrganizationActivity);
40
+ //# sourceMappingURL=organization-activity.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-activity.entity.js","sourceRoot":"","sources":["../../../src/entities/organization-activity/organization-activity.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,uDAAkD;AAElD;;;;;GAKG;AAGI,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,yBAAU;CAoBnD,CAAA;AApBY,oDAAoB;AAM/B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;kDAC3B;AAMd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACpB;AAOrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sDACxB;+BAnBR,oBAAoB;IAFhC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;IACzC,IAAA,eAAK,EAAC,uBAAuB,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAC9C,oBAAoB,CAoBhC"}
@@ -0,0 +1,3 @@
1
+ export * from './organization-event.entity';
2
+ export * from './organization-event.enums';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-event/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./organization-event.entity"), exports);
18
+ __exportStar(require("./organization-event.enums"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/organization-event/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,6DAA2C"}
@@ -0,0 +1,27 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { IllicitOrganization } from '../illicit-organization/illicit-organization.entity';
3
+ import { OrganizationEventType, OrganizationEventSeverity } from './organization-event.enums';
4
+ /**
5
+ * OrganizationEvent — A timestamped intelligence event linked to an illicit
6
+ * organization. Forms the timeline of known incidents, operations, arrests,
7
+ * seizures, and any other significant occurrences related to the organization.
8
+ */
9
+ export declare class OrganizationEvent extends GlobalBase {
10
+ organization: IllicitOrganization;
11
+ organizationId: string;
12
+ /** Classification of the event. */
13
+ eventType: OrganizationEventType;
14
+ /** Brief title / headline for the event. */
15
+ title: string;
16
+ /** Full intelligence description of the event. */
17
+ description?: string;
18
+ /** Assessed severity of the event. */
19
+ severity: OrganizationEventSeverity;
20
+ /** When the event actually occurred (analyst-provided, not record creation time). */
21
+ occurredAt: Date;
22
+ /** Optional geographic location where the event took place. */
23
+ location?: string;
24
+ /** Extra structured data (e.g. seized amounts, persons arrested, etc.). */
25
+ metadata?: Record<string, unknown>;
26
+ }
27
+ //# sourceMappingURL=organization-event.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-event.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-event/organization-event.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAE9F;;;;GAIG;AACH,qBAIa,iBAAkB,SAAQ,UAAU;IAG/C,YAAY,EAAG,mBAAmB,CAAC;IAGnC,cAAc,EAAG,MAAM,CAAC;IAExB,mCAAmC;IAEnC,SAAS,EAAG,qBAAqB,CAAC;IAElC,4CAA4C;IAE5C,KAAK,EAAG,MAAM,CAAC;IAEf,kDAAkD;IAElD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sCAAsC;IAMtC,QAAQ,EAAG,yBAAyB,CAAC;IAErC,qFAAqF;IAErF,UAAU,EAAG,IAAI,CAAC;IAElB,+DAA+D;IAE/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,2EAA2E;IAE3E,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC"}
@@ -0,0 +1,72 @@
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.OrganizationEvent = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ const illicit_organization_entity_1 = require("../illicit-organization/illicit-organization.entity");
16
+ const organization_event_enums_1 = require("./organization-event.enums");
17
+ /**
18
+ * OrganizationEvent — A timestamped intelligence event linked to an illicit
19
+ * organization. Forms the timeline of known incidents, operations, arrests,
20
+ * seizures, and any other significant occurrences related to the organization.
21
+ */
22
+ let OrganizationEvent = class OrganizationEvent extends _global_base_1.GlobalBase {
23
+ };
24
+ exports.OrganizationEvent = OrganizationEvent;
25
+ __decorate([
26
+ (0, typeorm_1.ManyToOne)(() => illicit_organization_entity_1.IllicitOrganization, { onDelete: 'CASCADE' }),
27
+ (0, typeorm_1.JoinColumn)({ name: 'organization_id' }),
28
+ __metadata("design:type", illicit_organization_entity_1.IllicitOrganization)
29
+ ], OrganizationEvent.prototype, "organization", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: 'uuid', name: 'organization_id' }),
32
+ __metadata("design:type", String)
33
+ ], OrganizationEvent.prototype, "organizationId", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ type: 'enum', enum: organization_event_enums_1.OrganizationEventType, name: 'event_type' }),
36
+ __metadata("design:type", String)
37
+ ], OrganizationEvent.prototype, "eventType", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
40
+ __metadata("design:type", String)
41
+ ], OrganizationEvent.prototype, "title", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
44
+ __metadata("design:type", String)
45
+ ], OrganizationEvent.prototype, "description", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({
48
+ type: 'enum',
49
+ enum: organization_event_enums_1.OrganizationEventSeverity,
50
+ default: organization_event_enums_1.OrganizationEventSeverity.MEDIUM,
51
+ }),
52
+ __metadata("design:type", String)
53
+ ], OrganizationEvent.prototype, "severity", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ type: 'timestamp', name: 'occurred_at' }),
56
+ __metadata("design:type", Date)
57
+ ], OrganizationEvent.prototype, "occurredAt", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
60
+ __metadata("design:type", String)
61
+ ], OrganizationEvent.prototype, "location", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
64
+ __metadata("design:type", Object)
65
+ ], OrganizationEvent.prototype, "metadata", void 0);
66
+ exports.OrganizationEvent = OrganizationEvent = __decorate([
67
+ (0, typeorm_1.Entity)({ name: 'organization_event' }),
68
+ (0, typeorm_1.Index)('idx_org_event_org', ['organizationId']),
69
+ (0, typeorm_1.Index)('idx_org_event_type', ['eventType']),
70
+ (0, typeorm_1.Index)('idx_org_event_occurred', ['occurredAt'])
71
+ ], OrganizationEvent);
72
+ //# sourceMappingURL=organization-event.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-event.entity.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vC;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACP;4BAtCxB,iBAAiB;IAJ7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;IACtC,IAAA,eAAK,EAAC,mBAAmB,EAAE,CAAC,gBAAgB,CAAC,CAAC;IAC9C,IAAA,eAAK,EAAC,oBAAoB,EAAE,CAAC,WAAW,CAAC,CAAC;IAC1C,IAAA,eAAK,EAAC,wBAAwB,EAAE,CAAC,YAAY,CAAC,CAAC;GACnC,iBAAiB,CAuC7B"}
@@ -0,0 +1,20 @@
1
+ export declare enum OrganizationEventType {
2
+ OPERATION = "OPERATION",// Operación criminal ejecutada
3
+ ARREST = "ARREST",// Detención de miembro(s)
4
+ CONFRONTATION = "CONFRONTATION",// Enfrentamiento armado
5
+ SEIZURE = "SEIZURE",// Incautación de bienes/drogas/armas
6
+ RECRUITMENT = "RECRUITMENT",// Captación de nuevos miembros
7
+ ALLIANCE = "ALLIANCE",// Alianza con otra organización
8
+ SPLIT = "SPLIT",// División o escisión interna
9
+ LEADERSHIP_CHANGE = "LEADERSHIP_CHANGE",// Cambio de liderazgo
10
+ THREAT = "THREAT",// Amenaza emitida
11
+ INTELLIGENCE = "INTELLIGENCE",// Actualización de inteligencia
12
+ OTHER = "OTHER"
13
+ }
14
+ export declare enum OrganizationEventSeverity {
15
+ LOW = "LOW",
16
+ MEDIUM = "MEDIUM",
17
+ HIGH = "HIGH",
18
+ CRITICAL = "CRITICAL"
19
+ }
20
+ //# sourceMappingURL=organization-event.enums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-event.enums.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-event/organization-event.enums.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,SAAS,cAAoB,CAAO,+BAA+B;IACnE,MAAM,WAAoB,CAAU,0BAA0B;IAC9D,aAAa,kBAAoB,CAAG,wBAAwB;IAC5D,OAAO,YAAoB,CAAS,qCAAqC;IACzE,WAAW,gBAAoB,CAAK,+BAA+B;IACnE,QAAQ,aAAoB,CAAQ,gCAAgC;IACpE,KAAK,UAAoB,CAAW,8BAA8B;IAClE,iBAAiB,sBAAsB,CAAE,sBAAsB;IAC/D,MAAM,WAAoB,CAAU,kBAAkB;IACtD,YAAY,iBAAoB,CAAI,gCAAgC;IACpE,KAAK,UAAoB;CAC1B;AAED,oBAAY,yBAAyB;IACnC,GAAG,QAAc;IACjB,MAAM,WAAc;IACpB,IAAI,SAAc;IAClB,QAAQ,aAAc;CACvB"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganizationEventSeverity = exports.OrganizationEventType = void 0;
4
+ var OrganizationEventType;
5
+ (function (OrganizationEventType) {
6
+ OrganizationEventType["OPERATION"] = "OPERATION";
7
+ OrganizationEventType["ARREST"] = "ARREST";
8
+ OrganizationEventType["CONFRONTATION"] = "CONFRONTATION";
9
+ OrganizationEventType["SEIZURE"] = "SEIZURE";
10
+ OrganizationEventType["RECRUITMENT"] = "RECRUITMENT";
11
+ OrganizationEventType["ALLIANCE"] = "ALLIANCE";
12
+ OrganizationEventType["SPLIT"] = "SPLIT";
13
+ OrganizationEventType["LEADERSHIP_CHANGE"] = "LEADERSHIP_CHANGE";
14
+ OrganizationEventType["THREAT"] = "THREAT";
15
+ OrganizationEventType["INTELLIGENCE"] = "INTELLIGENCE";
16
+ OrganizationEventType["OTHER"] = "OTHER";
17
+ })(OrganizationEventType || (exports.OrganizationEventType = OrganizationEventType = {}));
18
+ var OrganizationEventSeverity;
19
+ (function (OrganizationEventSeverity) {
20
+ OrganizationEventSeverity["LOW"] = "LOW";
21
+ OrganizationEventSeverity["MEDIUM"] = "MEDIUM";
22
+ OrganizationEventSeverity["HIGH"] = "HIGH";
23
+ OrganizationEventSeverity["CRITICAL"] = "CRITICAL";
24
+ })(OrganizationEventSeverity || (exports.OrganizationEventSeverity = OrganizationEventSeverity = {}));
25
+ //# sourceMappingURL=organization-event.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-event.enums.js","sourceRoot":"","sources":["../../../src/entities/organization-event/organization-event.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAYX;AAZD,WAAY,qBAAqB;IAC/B,gDAA6B,CAAA;IAC7B,0CAA0B,CAAA;IAC1B,wDAAiC,CAAA;IACjC,4CAA2B,CAAA;IAC3B,oDAA+B,CAAA;IAC/B,8CAA4B,CAAA;IAC5B,wCAAyB,CAAA;IACzB,gEAAuC,CAAA;IACvC,0CAA0B,CAAA;IAC1B,sDAAgC,CAAA;IAChC,wCAAyB,CAAA;AAC3B,CAAC,EAZW,qBAAqB,qCAArB,qBAAqB,QAYhC;AAED,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,wCAAiB,CAAA;IACjB,8CAAoB,CAAA;IACpB,0CAAkB,CAAA;IAClB,kDAAsB,CAAA;AACxB,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC"}
@@ -0,0 +1,3 @@
1
+ export * from './organization-member.entity';
2
+ export * from './organization-member.enums';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-member/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./organization-member.entity"), exports);
18
+ __exportStar(require("./organization-member.enums"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/organization-member/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,8DAA4C"}
@@ -0,0 +1,29 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { IllicitOrganization } from '../illicit-organization/illicit-organization.entity';
3
+ import { MemberRole, MemberStatus } from './organization-member.enums';
4
+ /**
5
+ * OrganizationMember — Links a person (identified by cédula or name) to an
6
+ * illicit organization, recording their role, status, and any available
7
+ * intelligence notes. When the person exists in the Person entity the
8
+ * optional personId can be set for cross-referencing.
9
+ */
10
+ export declare class OrganizationMember extends GlobalBase {
11
+ organization: IllicitOrganization;
12
+ organizationId: string;
13
+ /** Full name of the member as recorded by the analyst. */
14
+ fullName: string;
15
+ /** Cédula or ID document — optional but useful for cross-referencing. */
16
+ documentId?: string;
17
+ /** Role within the organization. */
18
+ role: MemberRole;
19
+ /** Current operational status of this member. */
20
+ memberStatus: MemberStatus;
21
+ /** Free-text intelligence notes about this member. */
22
+ notes?: string;
23
+ /**
24
+ * Optional reference to a Person entity when the member has been
25
+ * formally identified in the system.
26
+ */
27
+ personId?: string;
28
+ }
29
+ //# sourceMappingURL=organization-member.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-member.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-member/organization-member.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;;;GAKG;AACH,qBAIa,kBAAmB,SAAQ,UAAU;IAGhD,YAAY,EAAG,mBAAmB,CAAC;IAGnC,cAAc,EAAG,MAAM,CAAC;IAExB,0DAA0D;IAE1D,QAAQ,EAAG,MAAM,CAAC;IAElB,yEAAyE;IAEzE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,oCAAoC;IAEpC,IAAI,EAAG,UAAU,CAAC;IAElB,iDAAiD;IAEjD,YAAY,EAAG,YAAY,CAAC;IAE5B,sDAAsD;IAEtD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,65 @@
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.OrganizationMember = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ const illicit_organization_entity_1 = require("../illicit-organization/illicit-organization.entity");
16
+ const organization_member_enums_1 = require("./organization-member.enums");
17
+ /**
18
+ * OrganizationMember — Links a person (identified by cédula or name) to an
19
+ * illicit organization, recording their role, status, and any available
20
+ * intelligence notes. When the person exists in the Person entity the
21
+ * optional personId can be set for cross-referencing.
22
+ */
23
+ let OrganizationMember = class OrganizationMember extends _global_base_1.GlobalBase {
24
+ };
25
+ exports.OrganizationMember = OrganizationMember;
26
+ __decorate([
27
+ (0, typeorm_1.ManyToOne)(() => illicit_organization_entity_1.IllicitOrganization, { onDelete: 'CASCADE' }),
28
+ (0, typeorm_1.JoinColumn)({ name: 'organization_id' }),
29
+ __metadata("design:type", illicit_organization_entity_1.IllicitOrganization)
30
+ ], OrganizationMember.prototype, "organization", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: 'uuid', name: 'organization_id' }),
33
+ __metadata("design:type", String)
34
+ ], OrganizationMember.prototype, "organizationId", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
37
+ __metadata("design:type", String)
38
+ ], OrganizationMember.prototype, "fullName", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
41
+ __metadata("design:type", String)
42
+ ], OrganizationMember.prototype, "documentId", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: 'enum', enum: organization_member_enums_1.MemberRole, default: organization_member_enums_1.MemberRole.UNKNOWN }),
45
+ __metadata("design:type", String)
46
+ ], OrganizationMember.prototype, "role", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: 'enum', enum: organization_member_enums_1.MemberStatus, name: 'member_status', default: organization_member_enums_1.MemberStatus.UNKNOWN }),
49
+ __metadata("design:type", String)
50
+ ], OrganizationMember.prototype, "memberStatus", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
53
+ __metadata("design:type", String)
54
+ ], OrganizationMember.prototype, "notes", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.Column)({ type: 'uuid', nullable: true, name: 'person_id' }),
57
+ __metadata("design:type", String)
58
+ ], OrganizationMember.prototype, "personId", void 0);
59
+ exports.OrganizationMember = OrganizationMember = __decorate([
60
+ (0, typeorm_1.Entity)({ name: 'organization_member' }),
61
+ (0, typeorm_1.Index)('idx_org_member_org', ['organizationId']),
62
+ (0, typeorm_1.Index)('idx_org_member_role', ['role']),
63
+ (0, typeorm_1.Index)('idx_org_member_status', ['memberStatus'])
64
+ ], OrganizationMember);
65
+ //# sourceMappingURL=organization-member.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-member.entity.js","sourceRoot":"","sources":["../../../src/entities/organization-member/organization-member.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,uDAAkD;AAClD,qGAA0F;AAC1F,2EAAuE;AAEvE;;;;;GAKG;AAKI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,yBAAU;CAkCjD,CAAA;AAlCY,gDAAkB;AAG7B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iDAAmB,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BACzB,iDAAmB;wDAAC;AAGnC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;0DAC1B;AAIxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;oDACvB;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACpC;AAIpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,sCAAU,EAAE,OAAO,EAAE,sCAAU,CAAC,OAAO,EAAE,CAAC;;gDACtD;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,wCAAY,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,wCAAY,CAAC,OAAO,EAAE,CAAC;;wDACvE;AAI5B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC1B;AAOf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;oDAC1C;6BAjCP,kBAAkB;IAJ9B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;IACvC,IAAA,eAAK,EAAC,oBAAoB,EAAE,CAAC,gBAAgB,CAAC,CAAC;IAC/C,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;IACtC,IAAA,eAAK,EAAC,uBAAuB,EAAE,CAAC,cAAc,CAAC,CAAC;GACpC,kBAAkB,CAkC9B"}
@@ -0,0 +1,19 @@
1
+ export declare enum MemberRole {
2
+ LEADER = "LEADER",
3
+ COMMANDER = "COMMANDER",
4
+ FINANCIER = "FINANCIER",
5
+ OPERATIVE = "OPERATIVE",
6
+ RECRUITER = "RECRUITER",
7
+ INFORMANT = "INFORMANT",
8
+ COLLABORATOR = "COLLABORATOR",
9
+ UNKNOWN = "UNKNOWN"
10
+ }
11
+ export declare enum MemberStatus {
12
+ ACTIVE = "ACTIVE",
13
+ INACTIVE = "INACTIVE",
14
+ DETAINED = "DETAINED",
15
+ DECEASED = "DECEASED",
16
+ FUGITIVE = "FUGITIVE",
17
+ UNKNOWN = "UNKNOWN"
18
+ }
19
+ //# sourceMappingURL=organization-member.enums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-member.enums.d.ts","sourceRoot":"","sources":["../../../src/entities/organization-member/organization-member.enums.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,MAAM,WAAkB;IACxB,SAAS,cAAkB;IAC3B,SAAS,cAAkB;IAC3B,SAAS,cAAkB;IAC3B,SAAS,cAAkB;IAC3B,SAAS,cAAkB;IAC3B,YAAY,iBAAkB;IAC9B,OAAO,YAAkB;CAC1B;AAED,oBAAY,YAAY;IACtB,MAAM,WAAc;IACpB,QAAQ,aAAc;IACtB,QAAQ,aAAc;IACtB,QAAQ,aAAc;IACtB,QAAQ,aAAc;IACtB,OAAO,YAAc;CACtB"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemberStatus = exports.MemberRole = void 0;
4
+ var MemberRole;
5
+ (function (MemberRole) {
6
+ MemberRole["LEADER"] = "LEADER";
7
+ MemberRole["COMMANDER"] = "COMMANDER";
8
+ MemberRole["FINANCIER"] = "FINANCIER";
9
+ MemberRole["OPERATIVE"] = "OPERATIVE";
10
+ MemberRole["RECRUITER"] = "RECRUITER";
11
+ MemberRole["INFORMANT"] = "INFORMANT";
12
+ MemberRole["COLLABORATOR"] = "COLLABORATOR";
13
+ MemberRole["UNKNOWN"] = "UNKNOWN";
14
+ })(MemberRole || (exports.MemberRole = MemberRole = {}));
15
+ var MemberStatus;
16
+ (function (MemberStatus) {
17
+ MemberStatus["ACTIVE"] = "ACTIVE";
18
+ MemberStatus["INACTIVE"] = "INACTIVE";
19
+ MemberStatus["DETAINED"] = "DETAINED";
20
+ MemberStatus["DECEASED"] = "DECEASED";
21
+ MemberStatus["FUGITIVE"] = "FUGITIVE";
22
+ MemberStatus["UNKNOWN"] = "UNKNOWN";
23
+ })(MemberStatus || (exports.MemberStatus = MemberStatus = {}));
24
+ //# sourceMappingURL=organization-member.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-member.enums.js","sourceRoot":"","sources":["../../../src/entities/organization-member/organization-member.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,UASX;AATD,WAAY,UAAU;IACpB,+BAAwB,CAAA;IACxB,qCAA2B,CAAA;IAC3B,qCAA2B,CAAA;IAC3B,qCAA2B,CAAA;IAC3B,qCAA2B,CAAA;IAC3B,qCAA2B,CAAA;IAC3B,2CAA8B,CAAA;IAC9B,iCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB;AAED,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,iCAAoB,CAAA;IACpB,qCAAsB,CAAA;IACtB,qCAAsB,CAAA;IACtB,qCAAsB,CAAA;IACtB,qCAAsB,CAAA;IACtB,mCAAqB,CAAA;AACvB,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigmatech/pergamo",
3
- "version": "0.1.116",
3
+ "version": "0.1.118",
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",
@@ -8,13 +8,6 @@
8
8
  "dist",
9
9
  "contracts"
10
10
  ],
11
- "scripts": {
12
- "build": "rm -rf dist && tsc -p tsconfig.build.json",
13
- "build:watch": "tsc -p tsconfig.build.json --watch",
14
- "prepublishOnly": "pnpm build",
15
- "publish:local": "pnpm build && npm pack",
16
- "bump": "git add . && git commit -m 'bump version' && npm version patch && pnpm build && npm publish --access public && git push"
17
- },
18
11
  "keywords": [
19
12
  "typeorm",
20
13
  "entities",
@@ -40,5 +33,11 @@
40
33
  "reflect-metadata": "^0.2.2",
41
34
  "typeorm": "^0.3.27",
42
35
  "typescript": "^5.9.3"
36
+ },
37
+ "scripts": {
38
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
39
+ "build:watch": "tsc -p tsconfig.build.json --watch",
40
+ "publish:local": "pnpm build && npm pack",
41
+ "bump": "git add . && git commit -m 'bump version' && npm version patch && pnpm build && npm publish --access public && git push"
43
42
  }
44
- }
43
+ }