easywork-common-lib 1.0.781 → 1.0.783

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.
@@ -0,0 +1,21 @@
1
+ import { EntityBase } from '../common/database/base.entity';
2
+ export interface Calendar {
3
+ kind: string;
4
+ etag: string;
5
+ id: string;
6
+ summary: string;
7
+ description: string;
8
+ timeZone: string;
9
+ colorId: string;
10
+ backgroundColor: string;
11
+ foregroundColor: string;
12
+ accessRole: string;
13
+ defaultReminders: any[];
14
+ conferenceProperties: {
15
+ allowedConferenceSolutionTypes: string[];
16
+ };
17
+ }
18
+ export declare class GoogleCalendarConfig extends EntityBase {
19
+ email: string;
20
+ calendars: Calendar[];
21
+ }
@@ -0,0 +1,31 @@
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.GoogleCalendarConfig = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const base_entity_1 = require("../common/database/base.entity");
15
+ let GoogleCalendarConfig = class GoogleCalendarConfig extends base_entity_1.EntityBase {
16
+ email;
17
+ calendars;
18
+ };
19
+ exports.GoogleCalendarConfig = GoogleCalendarConfig;
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ unique: true }),
22
+ __metadata("design:type", String)
23
+ ], GoogleCalendarConfig.prototype, "email", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'jsonb', nullable: false, default: [] }),
26
+ __metadata("design:type", Array)
27
+ ], GoogleCalendarConfig.prototype, "calendars", void 0);
28
+ exports.GoogleCalendarConfig = GoogleCalendarConfig = __decorate([
29
+ (0, typeorm_1.Entity)()
30
+ ], GoogleCalendarConfig);
31
+ //# sourceMappingURL=google-calendar-config.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-calendar-config.entity.js","sourceRoot":"","sources":["../../src/entities/google-calendar-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,gEAA4D;AAoBrD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,wBAAU;IAElD,KAAK,CAAS;IAGd,SAAS,CAAa;CACvB,CAAA;AANY,oDAAoB;AAE/B;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mDACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uDAClC;+BALX,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAMhC"}
@@ -1,33 +1,35 @@
1
- export * from "./protocol.entity";
2
- export * from "./otp-log.entity";
3
- export * from "./refresh-token.entity";
4
- export * from "./permission.entity";
5
- export * from "./phone.entity";
6
- export * from "./email.entity";
7
- export * from "./app_config/app-config.entity";
8
- export * from "./imap-config.entity";
9
- export * from "./tag.entity";
10
- export * from "./tools";
11
- export * from "./drive";
12
- export * from "./sales";
13
- export * from "./helpers";
14
- export * from "./notifications";
15
- export * from "./capacitation";
16
- export * from "./easyapp/filter-view.entity";
17
- export * from "./thirdparty/oauth.entity";
18
- export * from "./thirdparty/service.entity";
19
- export * from "./thirdparty/email.entity";
20
- export * from "./thirdparty/email-config.entity";
21
- export * from "./thirdparty/user-email-relation.entity";
22
- export * from "./currency.entity";
23
- export * from "./user.entity";
24
- export * from "./group.entity";
25
- export * from "./menu-permissions.entity";
26
- export * from "./profile.entity";
27
- export * from "./role.entity";
28
- export * from "./tools/calendar/event-list-calendars.entity";
29
- export * from "./meeting-comment.entity";
30
- export * from "./meeting.entity";
31
- export * from "./user-invitations.entity";
32
- export * from "./login-history.entity";
33
- export * from "./policy";
1
+ export * from './protocol.entity';
2
+ export * from './otp-log.entity';
3
+ export * from './refresh-token.entity';
4
+ export * from './permission.entity';
5
+ export * from './phone.entity';
6
+ export * from './email.entity';
7
+ export * from './app_config/app-config.entity';
8
+ export * from './imap-config.entity';
9
+ export * from './tag.entity';
10
+ export * from './tools';
11
+ export * from './drive';
12
+ export * from './sales';
13
+ export * from './helpers';
14
+ export * from './notifications';
15
+ export * from './capacitation';
16
+ export * from './easyapp/filter-view.entity';
17
+ export * from './thirdparty/oauth.entity';
18
+ export * from './thirdparty/service.entity';
19
+ export * from './thirdparty/email.entity';
20
+ export * from './thirdparty/email-config.entity';
21
+ export * from './thirdparty/user-email-relation.entity';
22
+ export * from './currency.entity';
23
+ export * from './user.entity';
24
+ export * from './group.entity';
25
+ export * from './menu-permissions.entity';
26
+ export * from './profile.entity';
27
+ export * from './role.entity';
28
+ export * from './tools/calendar/event-list-calendars.entity';
29
+ export * from './meeting-comment.entity';
30
+ export * from './meeting.entity';
31
+ export * from './user-invitations.entity';
32
+ export * from './login-history.entity';
33
+ export * from './policy';
34
+ export * from './google-oauth-credentials.entity';
35
+ export * from './google-calendar-config.entity';
@@ -47,4 +47,6 @@ __exportStar(require("./meeting.entity"), exports);
47
47
  __exportStar(require("./user-invitations.entity"), exports);
48
48
  __exportStar(require("./login-history.entity"), exports);
49
49
  __exportStar(require("./policy"), exports);
50
+ __exportStar(require("./google-oauth-credentials.entity"), exports);
51
+ __exportStar(require("./google-calendar-config.entity"), exports);
50
52
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,iDAA+B;AAC/B,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,0EAAwD;AACxD,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,4DAA0C;AAC1C,mDAAiC;AACjC,gDAA8B;AAC9B,+EAA6D;AAC7D,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,yDAAuC;AACvC,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,iEAA+C;AAC/C,uDAAqC;AACrC,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,4CAA0B;AAC1B,kDAAgC;AAChC,iDAA+B;AAC/B,+DAA6C;AAC7C,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,0EAAwD;AACxD,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,4DAA0C;AAC1C,mDAAiC;AACjC,gDAA8B;AAC9B,+EAA6D;AAC7D,2DAAyC;AACzC,mDAAiC;AACjC,4DAA0C;AAC1C,yDAAuC;AACvC,2CAAyB;AACzB,oEAAkD;AAClD,kEAAgD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.781",
3
+ "version": "1.0.783",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {