@sigmatech/pergamo 0.1.26 → 0.1.27

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.
@@ -1,3 +1,4 @@
1
1
  export * from "./seniat.entity";
2
2
  export * from "./contribuyente.entity";
3
+ export * from "./relations/contribuyente_relations.entity";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/seniat/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/seniat/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4CAA4C,CAAC"}
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./seniat.entity"), exports);
18
18
  __exportStar(require("./contribuyente.entity"), exports);
19
+ __exportStar(require("./relations/contribuyente_relations.entity"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/seniat/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/seniat/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,yDAAuC;AACvC,6EAA2D"}
@@ -0,0 +1,20 @@
1
+ import { BaseEntity } from "typeorm";
2
+ export declare class ContribuyenteRelations extends BaseEntity {
3
+ id: string;
4
+ rif_contribuyente?: string;
5
+ letra_contribuyente?: string;
6
+ /**
7
+ * Cédula guardada como string (sin ceros a la izquierda).
8
+ */
9
+ cedula_contribuyente?: string;
10
+ rif_relacion?: string;
11
+ /**
12
+ * Razón social completa.
13
+ */
14
+ razon_social_relacion?: string;
15
+ /**
16
+ * Apellidos extraídos de la razón social.
17
+ */
18
+ tipo_relacion?: string;
19
+ }
20
+ //# sourceMappingURL=contribuyente_relations.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contribuyente_relations.entity.d.ts","sourceRoot":"","sources":["../../../../src/entities/seniat/relations/contribuyente_relations.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,UAAU,EACX,MAAM,SAAS,CAAC;AAEjB,qBAYa,sBAAuB,SAAQ,UAAU;IAEpD,EAAE,EAAG,MAAM,CAAC;IAGZ,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAG3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IAEH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAG9B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAEH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IAEH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,55 @@
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.ContribuyenteRelations = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let ContribuyenteRelations = class ContribuyenteRelations extends typeorm_1.BaseEntity {
15
+ };
16
+ exports.ContribuyenteRelations = ContribuyenteRelations;
17
+ __decorate([
18
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
19
+ __metadata("design:type", String)
20
+ ], ContribuyenteRelations.prototype, "id", void 0);
21
+ __decorate([
22
+ (0, typeorm_1.Column)({ length: 20, nullable: true }),
23
+ __metadata("design:type", String)
24
+ ], ContribuyenteRelations.prototype, "rif_contribuyente", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ length: 3, nullable: true }),
27
+ __metadata("design:type", String)
28
+ ], ContribuyenteRelations.prototype, "letra_contribuyente", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ length: 20, nullable: true }),
31
+ __metadata("design:type", String)
32
+ ], ContribuyenteRelations.prototype, "cedula_contribuyente", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ length: 20, nullable: true }),
35
+ __metadata("design:type", String)
36
+ ], ContribuyenteRelations.prototype, "rif_relacion", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ name: "razon_social", length: 255, nullable: true }),
39
+ __metadata("design:type", String)
40
+ ], ContribuyenteRelations.prototype, "razon_social_relacion", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)({ length: 100, nullable: true }),
43
+ __metadata("design:type", String)
44
+ ], ContribuyenteRelations.prototype, "tipo_relacion", void 0);
45
+ exports.ContribuyenteRelations = ContribuyenteRelations = __decorate([
46
+ (0, typeorm_1.Entity)({ name: "contribuyente_relations", schema: "onfalo" }),
47
+ (0, typeorm_1.Index)("contribuyente_relations_letra_cedula_idx", ["letra_contribuyente", "cedula_contribuyente"], { unique: false }),
48
+ (0, typeorm_1.Index)("contribuyente_relations_rif_idx", ["rif_contribuyente"], {
49
+ unique: false,
50
+ }),
51
+ (0, typeorm_1.Index)("contribuyente_relations_rif_relacion_idx", ["rif_relacion"], {
52
+ unique: false,
53
+ })
54
+ ], ContribuyenteRelations);
55
+ //# sourceMappingURL=contribuyente_relations.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contribuyente_relations.entity.js","sourceRoot":"","sources":["../../../../src/entities/seniat/relations/contribuyente_relations.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMiB;AAcV,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,oBAAU;CA8BrD,CAAA;AA9BY,wDAAsB;AAEjC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;kDACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACZ;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACT;AAM7B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACT;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACjB;AAMtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEAC/B;AAM/B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACjB;iCA7BZ,sBAAsB;IAZlC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC7D,IAAA,eAAK,EACJ,0CAA0C,EAC1C,CAAC,qBAAqB,EAAE,sBAAsB,CAAC,EAC/C,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB;IACA,IAAA,eAAK,EAAC,iCAAiC,EAAE,CAAC,mBAAmB,CAAC,EAAE;QAC/D,MAAM,EAAE,KAAK;KACd,CAAC;IACD,IAAA,eAAK,EAAC,0CAA0C,EAAE,CAAC,cAAc,CAAC,EAAE;QACnE,MAAM,EAAE,KAAK;KACd,CAAC;GACW,sBAAsB,CA8BlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigmatech/pergamo",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
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",