easywork-common-lib 1.0.118 → 1.0.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/drive/file.entity.js +1 -2
- package/dist/entities/drive/file.entity.js.map +1 -1
- package/dist/entities/helpers/contact_email.entity.d.ts +11 -0
- package/dist/entities/helpers/contact_email.entity.js +61 -0
- package/dist/entities/helpers/contact_email.entity.js.map +1 -0
- package/dist/entities/helpers/contact_phone.entity.d.ts +11 -0
- package/dist/entities/helpers/contact_phone.entity.js +61 -0
- package/dist/entities/helpers/contact_phone.entity.js.map +1 -0
- package/dist/entities/helpers/contact_sources.entity.d.ts +5 -0
- package/dist/entities/helpers/contact_sources.entity.js +33 -0
- package/dist/entities/helpers/contact_sources.entity.js.map +1 -0
- package/dist/entities/helpers/contact_types.entity.d.ts +5 -0
- package/dist/entities/helpers/contact_types.entity.js +33 -0
- package/dist/entities/helpers/contact_types.entity.js.map +1 -0
- package/dist/entities/helpers/lead_email.entity.d.ts +11 -0
- package/dist/entities/helpers/lead_email.entity.js +59 -0
- package/dist/entities/helpers/lead_email.entity.js.map +1 -0
- package/dist/entities/helpers/lead_phone.entity.d.ts +11 -0
- package/dist/entities/helpers/lead_phone.entity.js +59 -0
- package/dist/entities/helpers/lead_phone.entity.js.map +1 -0
- package/dist/entities/helpers/sales/h_poliza_forma_cobro.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/h_poliza_forma_cobro.entity.js +30 -0
- package/dist/entities/helpers/sales/h_poliza_forma_cobro.entity.js.map +1 -0
- package/dist/entities/helpers/sales/h_poliza_frecuencia_pago.entity.d.ts +6 -0
- package/dist/entities/helpers/sales/h_poliza_frecuencia_pago.entity.js +35 -0
- package/dist/entities/helpers/sales/h_poliza_frecuencia_pago.entity.js.map +1 -0
- package/dist/entities/helpers/sales/h_poliza_type.entity.d.ts +5 -0
- package/dist/entities/helpers/sales/h_poliza_type.entity.js +30 -0
- package/dist/entities/helpers/sales/h_poliza_type.entity.js.map +1 -0
- package/dist/entities/oauth.entity.d.ts +4 -0
- package/dist/entities/oauth.entity.js +20 -0
- package/dist/entities/oauth.entity.js.map +1 -1
- package/package.json +1 -1
- package/scripts/bump.sh +5 -5
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -31,12 +31,11 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], File.prototype, "name", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.
|
|
34
|
+
(0, typeorm_1.ManyToOne)(() => folder_entity_1.Folder, (Folder) => Folder.files, {
|
|
35
35
|
onDelete: "CASCADE",
|
|
36
36
|
onUpdate: "CASCADE",
|
|
37
37
|
eager: true
|
|
38
38
|
}),
|
|
39
|
-
(0, typeorm_1.JoinColumn)(),
|
|
40
39
|
__metadata("design:type", folder_entity_1.Folder)
|
|
41
40
|
], File.prototype, "folder", void 0);
|
|
42
41
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"file.entity.js","sourceRoot":"","sources":["../../../src/entities/drive/file.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAA+D;AAC/D,mDAAyC;AACzC,sEAA2D;AAGpD,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAEhC,IAAI,CAAS;IAOb,MAAM,CAAS;IAGf,GAAG,CAAS;IAGZ,IAAI,CAAS;IAGb,QAAQ,CAAS;IAGjB,KAAK,CAAS;IAGd,SAAS,CAAU;IAOnB,MAAM,CAAgB;CACzB,CAAA;AAhCY,oBAAI;AAEb;IADC,IAAA,2BAAS,EAAC,CAAC,CAAC;;kCACA;AAOb;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;QAC/C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACd,CAAC;8BACM,sBAAM;oCAAC;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iCACf;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;kCAC9B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mCACb;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;uCACR;AAOnB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,+BAAU,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE;QAC1D,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACd,CAAC;;oCACoB;eA/Bb,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAgChB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Contact } from "../sales/contact.entity";
|
|
3
|
+
import { Email } from "../email.entity";
|
|
4
|
+
export declare class ContactEmail extends BaseEntity {
|
|
5
|
+
id?: string;
|
|
6
|
+
contactId: string;
|
|
7
|
+
emailId: string;
|
|
8
|
+
relation: string;
|
|
9
|
+
contact: Contact;
|
|
10
|
+
email: Email;
|
|
11
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.ContactEmail = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const contact_entity_1 = require("../sales/contact.entity");
|
|
16
|
+
const email_entity_1 = require("../email.entity");
|
|
17
|
+
let ContactEmail = class ContactEmail extends typeorm_1.BaseEntity {
|
|
18
|
+
id;
|
|
19
|
+
contactId;
|
|
20
|
+
emailId;
|
|
21
|
+
relation;
|
|
22
|
+
contact;
|
|
23
|
+
email;
|
|
24
|
+
};
|
|
25
|
+
exports.ContactEmail = ContactEmail;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], ContactEmail.prototype, "id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], ContactEmail.prototype, "contactId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ContactEmail.prototype, "emailId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ContactEmail.prototype, "relation", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Exclude)(),
|
|
44
|
+
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.emails, {
|
|
45
|
+
onDelete: "CASCADE",
|
|
46
|
+
onUpdate: "CASCADE",
|
|
47
|
+
}),
|
|
48
|
+
__metadata("design:type", contact_entity_1.Contact)
|
|
49
|
+
], ContactEmail.prototype, "contact", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.ManyToOne)(() => email_entity_1.Email, {
|
|
52
|
+
onDelete: "CASCADE",
|
|
53
|
+
onUpdate: "CASCADE",
|
|
54
|
+
eager: true,
|
|
55
|
+
}),
|
|
56
|
+
__metadata("design:type", email_entity_1.Email)
|
|
57
|
+
], ContactEmail.prototype, "email", void 0);
|
|
58
|
+
exports.ContactEmail = ContactEmail = __decorate([
|
|
59
|
+
(0, typeorm_1.Entity)()
|
|
60
|
+
], ContactEmail);
|
|
61
|
+
//# sourceMappingURL=contact_email.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact_email.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/contact_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,4DAAkD;AAClD,kDAAwC;AAGjC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAE1C,EAAE,CAAU;IAGZ,SAAS,CAAS;IAGlB,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAOV,OAAO,CAAU;IAOjB,KAAK,CAAQ;CACrB,CAAA;AA1BY,oCAAY;AAEvB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAGZ;IADC,IAAA,gBAAM,GAAE;;+CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;6CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAOV;IALN,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE;QACnD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACc,wBAAO;6CAAC;AAOjB;IALN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;2CAAC;uBAzBT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CA0BxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Contact } from "../sales/contact.entity";
|
|
3
|
+
import { Phone } from "../phone.entity";
|
|
4
|
+
export declare class ContactPhone extends BaseEntity {
|
|
5
|
+
id?: string;
|
|
6
|
+
contactId: string;
|
|
7
|
+
phoneId: string;
|
|
8
|
+
relation: string;
|
|
9
|
+
contact: Contact;
|
|
10
|
+
phone: Phone;
|
|
11
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.ContactPhone = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const contact_entity_1 = require("../sales/contact.entity");
|
|
16
|
+
const phone_entity_1 = require("../phone.entity");
|
|
17
|
+
let ContactPhone = class ContactPhone extends typeorm_1.BaseEntity {
|
|
18
|
+
id;
|
|
19
|
+
contactId;
|
|
20
|
+
phoneId;
|
|
21
|
+
relation;
|
|
22
|
+
contact;
|
|
23
|
+
phone;
|
|
24
|
+
};
|
|
25
|
+
exports.ContactPhone = ContactPhone;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], ContactPhone.prototype, "id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], ContactPhone.prototype, "contactId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ContactPhone.prototype, "phoneId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ContactPhone.prototype, "relation", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Exclude)(),
|
|
44
|
+
(0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.phones, {
|
|
45
|
+
onDelete: "CASCADE",
|
|
46
|
+
onUpdate: "CASCADE",
|
|
47
|
+
}),
|
|
48
|
+
__metadata("design:type", contact_entity_1.Contact)
|
|
49
|
+
], ContactPhone.prototype, "contact", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, {
|
|
52
|
+
onDelete: "CASCADE",
|
|
53
|
+
onUpdate: "CASCADE",
|
|
54
|
+
eager: true,
|
|
55
|
+
}),
|
|
56
|
+
__metadata("design:type", phone_entity_1.Phone)
|
|
57
|
+
], ContactPhone.prototype, "phone", void 0);
|
|
58
|
+
exports.ContactPhone = ContactPhone = __decorate([
|
|
59
|
+
(0, typeorm_1.Entity)()
|
|
60
|
+
], ContactPhone);
|
|
61
|
+
//# sourceMappingURL=contact_phone.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact_phone.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/contact_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,4DAAkD;AAClD,kDAAwC;AAGjC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAE1C,EAAE,CAAU;IAGZ,SAAS,CAAS;IAGlB,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAOV,OAAO,CAAU;IAOjB,KAAK,CAAQ;CACrB,CAAA;AA1BY,oCAAY;AAEvB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAGZ;IADC,IAAA,gBAAM,GAAE;;+CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;6CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAOV;IALN,IAAA,2BAAO,GAAE;IACT,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE;QACnD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACc,wBAAO;6CAAC;AAOjB;IALN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;2CAAC;uBAzBT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CA0BxB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.ContactSource = void 0;
|
|
13
|
+
const database_1 = require("../../common/database");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
let ContactSource = class ContactSource extends database_1.BaseEntity {
|
|
17
|
+
name;
|
|
18
|
+
isDefault;
|
|
19
|
+
};
|
|
20
|
+
exports.ContactSource = ContactSource;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.MinLength)(3),
|
|
23
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ContactSource.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
28
|
+
__metadata("design:type", Boolean)
|
|
29
|
+
], ContactSource.prototype, "isDefault", void 0);
|
|
30
|
+
exports.ContactSource = ContactSource = __decorate([
|
|
31
|
+
(0, typeorm_1.Entity)()
|
|
32
|
+
], ContactSource);
|
|
33
|
+
//# sourceMappingURL=contact_sources.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact_sources.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/contact_sources.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,qBAAU;IAG3C,IAAI,CAAS;IAGb,SAAS,CAAU;CACpB,CAAA;AAPY,sCAAa;AAGxB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;2CACZ;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;gDACR;wBANR,aAAa;IADzB,IAAA,gBAAM,GAAE;GACI,aAAa,CAOzB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.ContactType = void 0;
|
|
13
|
+
const database_1 = require("../../common/database");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
let ContactType = class ContactType extends database_1.BaseEntity {
|
|
17
|
+
name;
|
|
18
|
+
isDefault;
|
|
19
|
+
};
|
|
20
|
+
exports.ContactType = ContactType;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.MinLength)(3),
|
|
23
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ContactType.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ default: false }),
|
|
28
|
+
__metadata("design:type", Boolean)
|
|
29
|
+
], ContactType.prototype, "isDefault", void 0);
|
|
30
|
+
exports.ContactType = ContactType = __decorate([
|
|
31
|
+
(0, typeorm_1.Entity)()
|
|
32
|
+
], ContactType);
|
|
33
|
+
//# sourceMappingURL=contact_types.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact_types.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/contact_types.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAmD;AACnD,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,qBAAU;IAGzC,IAAI,CAAS;IAGb,SAAS,CAAU;CACpB,CAAA;AAPY,kCAAW;AAGtB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;yCACZ;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CACR;sBANR,WAAW;IADvB,IAAA,gBAAM,GAAE;GACI,WAAW,CAOvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Lead } from "../sales/lead.entity";
|
|
3
|
+
import { Email } from "../email.entity";
|
|
4
|
+
export declare class LeadEmail extends BaseEntity {
|
|
5
|
+
id?: string;
|
|
6
|
+
leadId: string;
|
|
7
|
+
emailId: string;
|
|
8
|
+
relation: string;
|
|
9
|
+
lead: Lead;
|
|
10
|
+
email: Email;
|
|
11
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.LeadEmail = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const lead_entity_1 = require("../sales/lead.entity");
|
|
15
|
+
const email_entity_1 = require("../email.entity");
|
|
16
|
+
let LeadEmail = class LeadEmail extends typeorm_1.BaseEntity {
|
|
17
|
+
id;
|
|
18
|
+
leadId;
|
|
19
|
+
emailId;
|
|
20
|
+
relation;
|
|
21
|
+
lead;
|
|
22
|
+
email;
|
|
23
|
+
};
|
|
24
|
+
exports.LeadEmail = LeadEmail;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], LeadEmail.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], LeadEmail.prototype, "leadId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], LeadEmail.prototype, "emailId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], LeadEmail.prototype, "relation", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => lead_entity_1.Lead, (lead) => lead.emails, {
|
|
43
|
+
onDelete: "CASCADE",
|
|
44
|
+
onUpdate: "CASCADE",
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", lead_entity_1.Lead)
|
|
47
|
+
], LeadEmail.prototype, "lead", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.ManyToOne)(() => email_entity_1.Email, {
|
|
50
|
+
onDelete: "CASCADE",
|
|
51
|
+
onUpdate: "CASCADE",
|
|
52
|
+
eager: true,
|
|
53
|
+
}),
|
|
54
|
+
__metadata("design:type", email_entity_1.Email)
|
|
55
|
+
], LeadEmail.prototype, "email", void 0);
|
|
56
|
+
exports.LeadEmail = LeadEmail = __decorate([
|
|
57
|
+
(0, typeorm_1.Entity)()
|
|
58
|
+
], LeadEmail);
|
|
59
|
+
//# sourceMappingURL=lead_email.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lead_email.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/lead_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,sDAA4C;AAC5C,kDAAwC;AAGjC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,oBAAU;IAEvC,EAAE,CAAU;IAGZ,MAAM,CAAS;IAGf,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAMV,IAAI,CAAO;IAOX,KAAK,CAAQ;CACrB,CAAA;AAzBY,8BAAS;AAEpB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;qCACnB;AAGZ;IADC,IAAA,gBAAM,GAAE;;yCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;0CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACV;AAMV;IAJN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QAC5C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,kBAAI;uCAAC;AAOX;IALN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;wCAAC;oBAxBT,SAAS;IADrB,IAAA,gBAAM,GAAE;GACI,SAAS,CAyBrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Lead } from "../sales/lead.entity";
|
|
3
|
+
import { Phone } from "../phone.entity";
|
|
4
|
+
export declare class LeadPhone extends BaseEntity {
|
|
5
|
+
id?: string;
|
|
6
|
+
leadId: string;
|
|
7
|
+
phoneId: string;
|
|
8
|
+
relation: string;
|
|
9
|
+
lead: Lead;
|
|
10
|
+
phone: Phone;
|
|
11
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.LeadPhone = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const lead_entity_1 = require("../sales/lead.entity");
|
|
15
|
+
const phone_entity_1 = require("../phone.entity");
|
|
16
|
+
let LeadPhone = class LeadPhone extends typeorm_1.BaseEntity {
|
|
17
|
+
id;
|
|
18
|
+
leadId;
|
|
19
|
+
phoneId;
|
|
20
|
+
relation;
|
|
21
|
+
lead;
|
|
22
|
+
phone;
|
|
23
|
+
};
|
|
24
|
+
exports.LeadPhone = LeadPhone;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], LeadPhone.prototype, "id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], LeadPhone.prototype, "leadId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], LeadPhone.prototype, "phoneId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], LeadPhone.prototype, "relation", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.ManyToOne)(() => lead_entity_1.Lead, (lead) => lead.phones, {
|
|
43
|
+
onDelete: "CASCADE",
|
|
44
|
+
onUpdate: "CASCADE",
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", lead_entity_1.Lead)
|
|
47
|
+
], LeadPhone.prototype, "lead", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, {
|
|
50
|
+
onDelete: "CASCADE",
|
|
51
|
+
onUpdate: "CASCADE",
|
|
52
|
+
eager: true,
|
|
53
|
+
}),
|
|
54
|
+
__metadata("design:type", phone_entity_1.Phone)
|
|
55
|
+
], LeadPhone.prototype, "phone", void 0);
|
|
56
|
+
exports.LeadPhone = LeadPhone = __decorate([
|
|
57
|
+
(0, typeorm_1.Entity)()
|
|
58
|
+
], LeadPhone);
|
|
59
|
+
//# sourceMappingURL=lead_phone.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lead_phone.entity.js","sourceRoot":"","sources":["../../../src/entities/helpers/lead_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,sDAA4C;AAC5C,kDAAwC;AAGjC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,oBAAU;IAEvC,EAAE,CAAU;IAGZ,MAAM,CAAS;IAGf,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAMV,IAAI,CAAO;IAOX,KAAK,CAAQ;CACrB,CAAA;AAzBY,8BAAS;AAEpB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;qCACnB;AAGZ;IADC,IAAA,gBAAM,GAAE;;yCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;0CACO;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACV;AAMV;IAJN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;QAC5C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,kBAAI;uCAAC;AAOX;IALN,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BACY,oBAAK;wCAAC;oBAxBT,SAAS;IADrB,IAAA,gBAAM,GAAE;GACI,SAAS,CAyBrB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.PolizaFormaCobro = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let PolizaFormaCobro = class PolizaFormaCobro extends typeorm_1.BaseEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
};
|
|
18
|
+
exports.PolizaFormaCobro = PolizaFormaCobro;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], PolizaFormaCobro.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], PolizaFormaCobro.prototype, "name", void 0);
|
|
27
|
+
exports.PolizaFormaCobro = PolizaFormaCobro = __decorate([
|
|
28
|
+
(0, typeorm_1.Entity)()
|
|
29
|
+
], PolizaFormaCobro);
|
|
30
|
+
//# sourceMappingURL=h_poliza_forma_cobro.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_forma_cobro.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/sales/h_poliza_forma_cobro.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA8E;AAGvE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,oBAAU;IAE5C,EAAE,CAAU;IAGZ,IAAI,CAAS;CAChB,CAAA;AANY,4CAAgB;AAEzB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;8CACZ;2BALJ,gBAAgB;IAD5B,IAAA,gBAAM,GAAE;GACI,gBAAgB,CAM5B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.PolizaFrecuenciaPago = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let PolizaFrecuenciaPago = class PolizaFrecuenciaPago extends typeorm_1.BaseEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
cobrosEsperados;
|
|
18
|
+
};
|
|
19
|
+
exports.PolizaFrecuenciaPago = PolizaFrecuenciaPago;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], PolizaFrecuenciaPago.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], PolizaFrecuenciaPago.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], PolizaFrecuenciaPago.prototype, "cobrosEsperados", void 0);
|
|
32
|
+
exports.PolizaFrecuenciaPago = PolizaFrecuenciaPago = __decorate([
|
|
33
|
+
(0, typeorm_1.Entity)()
|
|
34
|
+
], PolizaFrecuenciaPago);
|
|
35
|
+
//# sourceMappingURL=h_poliza_frecuencia_pago.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_frecuencia_pago.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/sales/h_poliza_frecuencia_pago.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA8E;AAGvE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oBAAU;IAEhD,EAAE,CAAU;IAGZ,IAAI,CAAS;IAGb,eAAe,CAAS;CAC3B,CAAA;AATY,oDAAoB;AAE7B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;gDACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kDACZ;AAGb;IADC,IAAA,gBAAM,GAAE;;6DACe;+BARf,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAShC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.PolizaType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let PolizaType = class PolizaType extends typeorm_1.BaseEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
};
|
|
18
|
+
exports.PolizaType = PolizaType;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], PolizaType.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], PolizaType.prototype, "name", void 0);
|
|
27
|
+
exports.PolizaType = PolizaType = __decorate([
|
|
28
|
+
(0, typeorm_1.Entity)()
|
|
29
|
+
], PolizaType);
|
|
30
|
+
//# sourceMappingURL=h_poliza_type.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"h_poliza_type.entity.js","sourceRoot":"","sources":["../../../../src/entities/helpers/sales/h_poliza_type.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA8E;AAGvE,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,oBAAU;IAEtC,EAAE,CAAU;IAGZ,IAAI,CAAS;CAChB,CAAA;AANY,gCAAU;AAEnB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;sCACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCACZ;qBALJ,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAMtB"}
|
|
@@ -19,6 +19,10 @@ let Oauth = class Oauth extends database_1.BaseEntity {
|
|
|
19
19
|
expires_in;
|
|
20
20
|
userId;
|
|
21
21
|
usergoogle_id;
|
|
22
|
+
family_name;
|
|
23
|
+
given_name;
|
|
24
|
+
email;
|
|
25
|
+
picture;
|
|
22
26
|
};
|
|
23
27
|
exports.Oauth = Oauth;
|
|
24
28
|
__decorate([
|
|
@@ -45,6 +49,22 @@ __decorate([
|
|
|
45
49
|
(0, typeorm_1.Column)(),
|
|
46
50
|
__metadata("design:type", String)
|
|
47
51
|
], Oauth.prototype, "usergoogle_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], Oauth.prototype, "family_name", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Oauth.prototype, "given_name", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], Oauth.prototype, "email", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], Oauth.prototype, "picture", void 0);
|
|
48
68
|
exports.Oauth = Oauth = __decorate([
|
|
49
69
|
(0, typeorm_1.Entity)()
|
|
50
70
|
], Oauth);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.entity.js","sourceRoot":"","sources":["../../src/entities/oauth.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAEnC,OAAO,CAAS;IAGhB,aAAa,CAAS;IAGtB,YAAY,CAAS;IAGrB,UAAU,CAAS;IAGnB,MAAM,CAAS;IAGf,aAAa,CAAS;
|
|
1
|
+
{"version":3,"file":"oauth.entity.js","sourceRoot":"","sources":["../../src/entities/oauth.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAEnC,OAAO,CAAS;IAGhB,aAAa,CAAS;IAGtB,YAAY,CAAS;IAGrB,UAAU,CAAS;IAGnB,MAAM,CAAS;IAGf,aAAa,CAAS;IAGtB,WAAW,CAAS;IAGpB,UAAU,CAAS;IAGnB,KAAK,CAAS;IAGd,OAAO,CAAS;CACjB,CAAA;AA9BY,sBAAK;AAEhB;IADC,IAAA,gBAAM,EAAC,KAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;sCACf;AAGhB;IADC,IAAA,gBAAM,GAAE;;4CACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;2CACY;AAGrB;IADC,IAAA,gBAAM,EAAC,KAAK,CAAC;;yCACK;AAGnB;IADC,IAAA,gBAAM,GAAE;;qCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;4CACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;0CACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;yCACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;oCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;sCACO;gBA7BL,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CA8BjB"}
|
package/package.json
CHANGED
package/scripts/bump.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
git add .
|
|
2
|
-
git commit -m "bump version"
|
|
3
|
-
git push
|
|
4
|
-
npm version patch
|
|
5
|
-
yarn build
|
|
1
|
+
git add .
|
|
2
|
+
git commit -m "bump version"
|
|
3
|
+
git push
|
|
4
|
+
npm version patch
|
|
5
|
+
yarn build
|
|
6
6
|
npm publish
|