easywork-common-lib 1.0.947 → 1.0.948

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.
@@ -25,41 +25,62 @@ let ContactEmail = class ContactEmail extends typeorm_1.BaseEntity {
25
25
  };
26
26
  exports.ContactEmail = ContactEmail;
27
27
  __decorate([
28
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact email', format: 'uuid' }),
28
+ (0, swagger_1.ApiProperty)({
29
+ type: String,
30
+ description: "UUID of the contact email",
31
+ format: "uuid",
32
+ }),
29
33
  (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
30
34
  __metadata("design:type", String)
31
35
  ], ContactEmail.prototype, "id", void 0);
32
36
  __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
37
+ (0, swagger_1.ApiProperty)({
38
+ type: String,
39
+ description: "ID of the associated contact",
40
+ format: "uuid",
41
+ }),
34
42
  (0, typeorm_1.Column)({ type: "uuid" }),
35
43
  __metadata("design:type", String)
36
44
  ], ContactEmail.prototype, "contactId", void 0);
37
45
  __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated email', format: 'uuid' }),
46
+ (0, swagger_1.ApiProperty)({
47
+ type: String,
48
+ description: "ID of the associated email",
49
+ format: "uuid",
50
+ }),
39
51
  (0, typeorm_1.Column)({ type: "uuid" }),
40
52
  __metadata("design:type", String)
41
53
  ], ContactEmail.prototype, "emailId", void 0);
42
54
  __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
55
+ (0, swagger_1.ApiProperty)({
56
+ type: String,
57
+ description: "Relation description or type",
58
+ required: false,
59
+ }),
44
60
  (0, typeorm_1.Column)({ nullable: true }),
45
61
  __metadata("design:type", String)
46
62
  ], ContactEmail.prototype, "relation", void 0);
47
63
  __decorate([
48
64
  (0, class_transformer_1.Exclude)(),
49
- (0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
50
- (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.emails, {
65
+ (0, swagger_1.ApiProperty)({
66
+ type: () => contact_entity_1.Contact,
67
+ description: "Contact entity associated",
68
+ }),
69
+ (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, (contact) => contact.emails, {
51
70
  onDelete: "CASCADE",
52
71
  onUpdate: "CASCADE",
53
72
  }),
73
+ (0, typeorm_1.JoinColumn)({ name: "contactId" }),
54
74
  __metadata("design:type", contact_entity_1.Contact)
55
75
  ], ContactEmail.prototype, "contact", void 0);
56
76
  __decorate([
57
- (0, swagger_1.ApiProperty)({ type: () => email_entity_1.Email, description: 'Email entity associated' }),
77
+ (0, swagger_1.ApiProperty)({ type: () => email_entity_1.Email, description: "Email entity associated" }),
58
78
  (0, typeorm_1.ManyToOne)(() => email_entity_1.Email, {
59
79
  onDelete: "CASCADE",
60
80
  onUpdate: "CASCADE",
61
81
  eager: true,
62
82
  }),
83
+ (0, typeorm_1.JoinColumn)({ name: "emailId" }),
63
84
  __metadata("design:type", email_entity_1.Email)
64
85
  ], ContactEmail.prototype, "email", void 0);
65
86
  exports.ContactEmail = ContactEmail = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"contact_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAU;IAIZ,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAQV,OAAO,CAAU;IAQjB,KAAK,CAAQ;CACrB,CAAA;AAhCY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,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Z,CAAC;8BACY,oBAAK;2CAAC;uBA/BT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAgCxB"}
1
+ {"version":3,"file":"contact_email.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_email.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAO1C,EAAE,CAAU;IAQZ,SAAS,CAAS;IAQlB,OAAO,CAAS;IAQhB,QAAQ,CAAS;IAYV,OAAO,CAAU;IASjB,KAAK,CAAQ;CACrB,CAAA;AArDY,oCAAY;AAOvB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,2BAA2B;QACxC,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAQZ;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,8BAA8B;QAC3C,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+CACP;AAQlB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,4BAA4B;QACzC,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACT;AAQhB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAYV;IAVN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO;QACnB,WAAW,EAAE,2BAA2B;KACzC,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE;QACrD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAClB,wBAAO;6CAAC;AASjB;IAPN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IAC1E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BAClB,oBAAK;2CAAC;uBApDT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAqDxB"}
@@ -25,41 +25,62 @@ let ContactPhone = class ContactPhone extends typeorm_1.BaseEntity {
25
25
  };
26
26
  exports.ContactPhone = ContactPhone;
27
27
  __decorate([
28
- (0, swagger_1.ApiProperty)({ type: String, description: 'UUID of the contact phone', format: 'uuid' }),
28
+ (0, swagger_1.ApiProperty)({
29
+ type: String,
30
+ description: "UUID of the contact phone",
31
+ format: "uuid",
32
+ }),
29
33
  (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
30
34
  __metadata("design:type", String)
31
35
  ], ContactPhone.prototype, "id", void 0);
32
36
  __decorate([
33
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated contact', format: 'uuid' }),
37
+ (0, swagger_1.ApiProperty)({
38
+ type: String,
39
+ description: "ID of the associated contact",
40
+ format: "uuid",
41
+ }),
34
42
  (0, typeorm_1.Column)(),
35
43
  __metadata("design:type", String)
36
44
  ], ContactPhone.prototype, "contactId", void 0);
37
45
  __decorate([
38
- (0, swagger_1.ApiProperty)({ type: String, description: 'ID of the associated phone', format: 'uuid' }),
46
+ (0, swagger_1.ApiProperty)({
47
+ type: String,
48
+ description: "ID of the associated phone",
49
+ format: "uuid",
50
+ }),
39
51
  (0, typeorm_1.Column)(),
40
52
  __metadata("design:type", String)
41
53
  ], ContactPhone.prototype, "phoneId", void 0);
42
54
  __decorate([
43
- (0, swagger_1.ApiProperty)({ type: String, description: 'Relation description or type', required: false }),
55
+ (0, swagger_1.ApiProperty)({
56
+ type: String,
57
+ description: "Relation description or type",
58
+ required: false,
59
+ }),
44
60
  (0, typeorm_1.Column)({ nullable: true }),
45
61
  __metadata("design:type", String)
46
62
  ], ContactPhone.prototype, "relation", void 0);
47
63
  __decorate([
48
64
  (0, class_transformer_1.Exclude)(),
49
- (0, swagger_1.ApiProperty)({ type: () => contact_entity_1.Contact, description: 'Contact entity associated' }),
50
- (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, contact => contact.phones, {
65
+ (0, swagger_1.ApiProperty)({
66
+ type: () => contact_entity_1.Contact,
67
+ description: "Contact entity associated",
68
+ }),
69
+ (0, typeorm_1.ManyToOne)(() => contact_entity_1.Contact, (contact) => contact.phones, {
51
70
  onDelete: "CASCADE",
52
71
  onUpdate: "CASCADE",
53
72
  }),
73
+ (0, typeorm_1.JoinColumn)({ name: "contactId" }),
54
74
  __metadata("design:type", contact_entity_1.Contact)
55
75
  ], ContactPhone.prototype, "contact", void 0);
56
76
  __decorate([
57
- (0, swagger_1.ApiProperty)({ type: () => phone_entity_1.Phone, description: 'Phone entity associated' }),
77
+ (0, swagger_1.ApiProperty)({ type: () => phone_entity_1.Phone, description: "Phone entity associated" }),
58
78
  (0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, {
59
79
  onDelete: "CASCADE",
60
80
  onUpdate: "CASCADE",
61
81
  eager: true,
62
82
  }),
83
+ (0, typeorm_1.JoinColumn)({ name: "phoneId" }),
63
84
  __metadata("design:type", phone_entity_1.Phone)
64
85
  ], ContactPhone.prototype, "phone", void 0);
65
86
  exports.ContactPhone = ContactPhone = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"contact_phone.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAwF;AACxF,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAG1C,EAAE,CAAU;IAIZ,SAAS,CAAS;IAIlB,OAAO,CAAS;IAIhB,QAAQ,CAAS;IAQV,OAAO,CAAU;IAQjB,KAAK,CAAQ;CACrB,CAAA;AAhCY,oCAAY;AAGvB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACvF,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAIZ;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1F,IAAA,gBAAM,GAAE;;+CACS;AAIlB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACxF,IAAA,gBAAM,GAAE;;6CACO;AAIhB;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,8BAA8B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3F,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAQV;IANN,IAAA,2BAAO,GAAE;IACT,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,wBAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;IAC9E,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;AAQjB;IANN,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;IAC1E,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;uBA/BT,YAAY;IADxB,IAAA,gBAAM,GAAE;GACI,YAAY,CAgCxB"}
1
+ {"version":3,"file":"contact_phone.entity.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/contact/contact_phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,yDAA4C;AAC5C,kEAAwD;AACxD,wDAA8C;AAC9C,6CAA8C;AAGvC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,oBAAU;IAO1C,EAAE,CAAU;IAQZ,SAAS,CAAS;IAQlB,OAAO,CAAS;IAQhB,QAAQ,CAAS;IAYV,OAAO,CAAU;IASjB,KAAK,CAAQ;CACrB,CAAA;AArDY,oCAAY;AAOvB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,2BAA2B;QACxC,MAAM,EAAE,MAAM;KACf,CAAC;IACD,IAAA,gCAAsB,EAAC,MAAM,CAAC;;wCACnB;AAQZ;IANC,IAAA,qBAAW,EAAC;QACX,IA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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.947",
3
+ "version": "1.0.948",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {