easywork-common-lib 1.0.960 → 1.0.962
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/group.entity.js +3 -3
- package/dist/entities/group.entity.js.map +1 -1
- package/dist/entities/index.d.ts +42 -41
- package/dist/entities/index.js +1 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/subscriptions/plan.entity.d.ts +1 -1
- package/dist/entities/subscriptions/plan.entity.js +2 -2
- package/dist/entities/subscriptions/plan.entity.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -50,15 +50,15 @@ __decorate([
|
|
|
50
50
|
__metadata("design:type", Array)
|
|
51
51
|
], Group.prototype, "courses", void 0);
|
|
52
52
|
__decorate([
|
|
53
|
-
(0, typeorm_1.OneToMany)(() => company_entity_1.Company, company => company.group),
|
|
53
|
+
(0, typeorm_1.OneToMany)(() => company_entity_1.Company, company => company.group, { nullable: true }),
|
|
54
54
|
__metadata("design:type", company_entity_1.Company)
|
|
55
55
|
], Group.prototype, "company", void 0);
|
|
56
56
|
__decorate([
|
|
57
|
-
(0, typeorm_1.OneToMany)(() => payment_history_entity_1.PaymentHistory, paymentHistory => paymentHistory.group),
|
|
57
|
+
(0, typeorm_1.OneToMany)(() => payment_history_entity_1.PaymentHistory, paymentHistory => paymentHistory.group, { nullable: true }),
|
|
58
58
|
__metadata("design:type", payment_history_entity_1.PaymentHistory)
|
|
59
59
|
], Group.prototype, "paymentHistory", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typeorm_1.OneToOne)(() => subscription_entity_1.Subscription, subscription => subscription.group),
|
|
61
|
+
(0, typeorm_1.OneToOne)(() => subscription_entity_1.Subscription, subscription => subscription.group, { nullable: true }),
|
|
62
62
|
__metadata("design:type", subscription_entity_1.Subscription)
|
|
63
63
|
], Group.prototype, "subscription", void 0);
|
|
64
64
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../src/entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,qCAA0E;AAC1E,gEAA4D;AAC5D,+CAAqC;AACrC,iDAAwC;AACxC,qFAA0E;AAC1E,mCAAgC;AAChC,qDAA2C;AAC3C,6EAAmE;AACnE,mFAAwE;AAGjE,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,wBAAU;IAGnC,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,KAAK,CAAS;IAGd,OAAO,CAAW;IAGlB,OAAO,CAAU;IAGjB,cAAc,CAAiB;IAG/B,YAAY,CAAe;IAI3B,oBAAoB,CAAwB;IAI5C,UAAU,CAAU;CACrB,CAAA;AA9BY,sBAAK;AAGhB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;AAGb;IADC,IAAA,gBAAM,GAAE;;oCACK;AAGd;IADC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC;;oCAC9B;AAGd;IADC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,qBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;;sCAChC;AAGlB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../src/entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAC5C,qCAA0E;AAC1E,gEAA4D;AAC5D,+CAAqC;AACrC,iDAAwC;AACxC,qFAA0E;AAC1E,mCAAgC;AAChC,qDAA2C;AAC3C,6EAAmE;AACnE,mFAAwE;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EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC;;mDAC3C;AAI5C;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,aAAK,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;;yCAC3B;gBA7BT,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CA8BjB"}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
1
|
+
export * from './app_config/app-config.entity';
|
|
2
|
+
export * from './currency.entity';
|
|
3
|
+
export * from './drive';
|
|
4
|
+
export * from './easyapp/filter-view.entity';
|
|
5
|
+
export * from './email.entity';
|
|
6
|
+
export * from './group.entity';
|
|
7
|
+
export * from './imap-config.entity';
|
|
8
|
+
export * from './login-history.entity';
|
|
9
|
+
export * from './meeting-comment.entity';
|
|
10
|
+
export * from './meeting.entity';
|
|
11
|
+
export * from './menu-permissions.entity';
|
|
12
|
+
export * from './notifications';
|
|
13
|
+
export * from './otp-log.entity';
|
|
14
|
+
export * from './permission.entity';
|
|
15
|
+
export * from './phone.entity';
|
|
16
|
+
export * from './policy';
|
|
17
|
+
export * from './profile.entity';
|
|
18
|
+
export * from './protocol.entity';
|
|
19
|
+
export * from './refresh-token.entity';
|
|
20
|
+
export * from './role.entity';
|
|
21
|
+
export * from './sales';
|
|
22
|
+
export * from './tag.entity';
|
|
23
|
+
export * from './user-invitations.entity';
|
|
24
|
+
export * from './user.entity';
|
|
25
|
+
export * from './company.entity';
|
|
26
|
+
export * from './capacitation';
|
|
27
|
+
export * from './tools';
|
|
28
|
+
export * from './tools/mail/email-signature.entity';
|
|
29
|
+
export * from './tools/mail/mailbox-user-access.entity';
|
|
30
|
+
export * from './tools/mail/mailbox.entity';
|
|
31
|
+
export * from './tools/mail/mail.entity';
|
|
32
|
+
export * from './thirdparty/google-webhooks-config.entity';
|
|
33
|
+
export * from './thirdparty/google-gmail-watch-record.entity';
|
|
34
|
+
export * from './thirdparty/oauth.entity';
|
|
35
|
+
export * from './thirdparty/diio-integration.entity';
|
|
36
|
+
export * from './thirdparty/wati';
|
|
37
|
+
export * from './subscriptions/plan.entity';
|
|
38
|
+
export * from './subscriptions/subscription.entity';
|
|
39
|
+
export * from './subscriptions/payment-history.entity';
|
|
40
|
+
export * from './helpers';
|
|
41
|
+
export * from './audit.entity';
|
|
42
|
+
export * from './user-change-log.entity';
|
package/dist/entities/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __exportStar(require("./sales"), exports);
|
|
|
38
38
|
__exportStar(require("./tag.entity"), exports);
|
|
39
39
|
__exportStar(require("./user-invitations.entity"), exports);
|
|
40
40
|
__exportStar(require("./user.entity"), exports);
|
|
41
|
+
__exportStar(require("./company.entity"), exports);
|
|
41
42
|
__exportStar(require("./capacitation"), exports);
|
|
42
43
|
__exportStar(require("./tools"), exports);
|
|
43
44
|
__exportStar(require("./tools/mail/email-signature.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oDAAkC;AAClC,0CAAwB;AACxB,+DAA6C;AAC7C,iDAA+B;AAC/B,iDAA+B;AAC/B,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,4DAA0C;AAC1C,gDAA8B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,oDAAkC;AAClC,0CAAwB;AACxB,+DAA6C;AAC7C,iDAA+B;AAC/B,iDAA+B;AAC/B,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,kDAAgC;AAChC,mDAAiC;AACjC,sDAAoC;AACpC,iDAA+B;AAC/B,2CAAyB;AACzB,mDAAiC;AACjC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,4DAA0C;AAC1C,gDAA8B;AAC9B,mDAAiC;AAGjC,iDAA+B;AAG/B,0CAAwB;AAGxB,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AAGzC,6EAA2D;AAC3D,gFAA8D;AAC9D,4DAA0C;AAC1C,uEAAqD;AACrD,oDAAkC;AAGlC,8DAA4C;AAC5C,sEAAoD;AACpD,yEAAuD;AAGvD,4CAA0B;AAG1B,iDAA+B;AAG/B,2DAAyC"}
|
|
@@ -13,7 +13,7 @@ export declare class Plan extends BaseEntityOnlyEssential {
|
|
|
13
13
|
billingCycle: BillingCycle;
|
|
14
14
|
userLimit: number | null;
|
|
15
15
|
storageLimitGb: number | null;
|
|
16
|
-
|
|
16
|
+
features: Record<string, any> | null;
|
|
17
17
|
isActive: boolean;
|
|
18
18
|
subscription: Subscription;
|
|
19
19
|
}
|
|
@@ -28,7 +28,7 @@ let Plan = class Plan extends base_entity_1.BaseEntityOnlyEssential {
|
|
|
28
28
|
billingCycle;
|
|
29
29
|
userLimit;
|
|
30
30
|
storageLimitGb;
|
|
31
|
-
|
|
31
|
+
features;
|
|
32
32
|
isActive;
|
|
33
33
|
subscription;
|
|
34
34
|
};
|
|
@@ -88,7 +88,7 @@ __decorate([
|
|
|
88
88
|
nullable: true,
|
|
89
89
|
}),
|
|
90
90
|
__metadata("design:type", Object)
|
|
91
|
-
], Plan.prototype, "
|
|
91
|
+
], Plan.prototype, "features", void 0);
|
|
92
92
|
__decorate([
|
|
93
93
|
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
94
94
|
(0, swagger_1.ApiProperty)({ description: 'Indica si el plan está activo (true) o ha sido deprecado (false)', example: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.entity.js","sourceRoot":"","sources":["../../../src/entities/subscriptions/plan.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAmD;AACnD,6CAA8C;AAC9C,mEAA4E;AAC5E,+DAAqD;AAErD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAGM,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qCAAuB;IAG/C,QAAQ,CAAS;IAIjB,WAAW,CAAS;IAIpB,KAAK,CAAS;IAId,QAAQ,CAAS;IAQjB,YAAY,CAAe;IAQ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