easywork-common-lib 1.0.803 → 1.0.811
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/index.d.ts +2 -4
- package/dist/entities/index.js +2 -4
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/{third-party → thirdparty}/google-calendar-config.entity.d.ts +2 -4
- package/dist/entities/{third-party → thirdparty}/google-calendar-config.entity.js +2 -16
- package/dist/entities/thirdparty/google-calendar-config.entity.js.map +1 -0
- package/dist/entities/thirdparty/google-webhooks-config.entity.d.ts +14 -0
- package/dist/entities/thirdparty/google-webhooks-config.entity.js +72 -0
- package/dist/entities/thirdparty/google-webhooks-config.entity.js.map +1 -0
- package/dist/entities/thirdparty/oauth-v2.entity.d.ts +22 -0
- package/dist/entities/thirdparty/oauth-v2.entity.js +75 -0
- package/dist/entities/thirdparty/oauth-v2.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.d.ts +13 -0
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js +48 -0
- package/dist/entities/tools/calendar/calendar-event-invitations.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-general-config.entity.d.ts +20 -0
- package/dist/entities/tools/calendar/calendar-general-config.entity.js +118 -0
- package/dist/entities/tools/calendar/calendar-general-config.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-list.entity.d.ts +36 -0
- package/dist/entities/tools/calendar/calendar-list.entity.js +109 -0
- package/dist/entities/tools/calendar/calendar-list.entity.js.map +1 -0
- package/dist/entities/tools/calendar/calendar-user-access.entity.d.ts +13 -0
- package/dist/entities/tools/calendar/calendar-user-access.entity.js +46 -0
- package/dist/entities/tools/calendar/calendar-user-access.entity.js.map +1 -0
- package/dist/entities/tools/calendar/index.d.ts +4 -0
- package/dist/entities/tools/calendar/index.js +4 -0
- package/dist/entities/tools/calendar/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/google-calendar-config.entity.d.ts +0 -31
- package/dist/entities/google-calendar-config.entity.js +0 -31
- package/dist/entities/google-calendar-config.entity.js.map +0 -1
- package/dist/entities/google-oauth-credentials.entity.d.ts +0 -9
- package/dist/entities/google-oauth-credentials.entity.js +0 -51
- package/dist/entities/google-oauth-credentials.entity.js.map +0 -1
- package/dist/entities/third-party/google-calendar-config.entity.js.map +0 -1
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EntityBase } from '../common/database/base.entity';
|
|
2
|
-
export interface IGoogleCalendarConfigItem {
|
|
3
|
-
id: string;
|
|
4
|
-
etag: string;
|
|
5
|
-
kind: string;
|
|
6
|
-
colorId: string;
|
|
7
|
-
primary: boolean;
|
|
8
|
-
summary: string;
|
|
9
|
-
selected: boolean;
|
|
10
|
-
timeZone: string;
|
|
11
|
-
accessRole: string;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
foregroundColor: string;
|
|
14
|
-
defaultReminders: {
|
|
15
|
-
method: string;
|
|
16
|
-
minutes: number;
|
|
17
|
-
}[];
|
|
18
|
-
conferenceProperties: {
|
|
19
|
-
allowedConferenceSolutionTypes: string[];
|
|
20
|
-
};
|
|
21
|
-
notificationSettings: {
|
|
22
|
-
notifications: {
|
|
23
|
-
type: string;
|
|
24
|
-
method: string;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export declare class GoogleCalendarConfig extends EntityBase {
|
|
29
|
-
email: string;
|
|
30
|
-
calendars: IGoogleCalendarConfigItem[];
|
|
31
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google-calendar-config.entity.js","sourceRoot":"","sources":["../../src/entities/google-calendar-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,gEAA4D;AA8BrD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,wBAAU;IAElD,KAAK,CAAS;IAGd,SAAS,CAA8B;CACxC,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;;uDACjB;+BAL5B,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAMhC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
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.GoogleOAuthCredentials = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const base_entity_1 = require("../common/database/base.entity");
|
|
15
|
-
let GoogleOAuthCredentials = class GoogleOAuthCredentials extends base_entity_1.EntityBase {
|
|
16
|
-
email;
|
|
17
|
-
accessToken;
|
|
18
|
-
refreshToken;
|
|
19
|
-
tokenExpiry;
|
|
20
|
-
clientId;
|
|
21
|
-
clientSecret;
|
|
22
|
-
};
|
|
23
|
-
exports.GoogleOAuthCredentials = GoogleOAuthCredentials;
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], GoogleOAuthCredentials.prototype, "email", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({ type: 'text' }),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], GoogleOAuthCredentials.prototype, "accessToken", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)({ type: 'text' }),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], GoogleOAuthCredentials.prototype, "refreshToken", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ type: 'timestamp' }),
|
|
38
|
-
__metadata("design:type", Date)
|
|
39
|
-
], GoogleOAuthCredentials.prototype, "tokenExpiry", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'text' }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], GoogleOAuthCredentials.prototype, "clientId", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ type: 'text' }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], GoogleOAuthCredentials.prototype, "clientSecret", void 0);
|
|
48
|
-
exports.GoogleOAuthCredentials = GoogleOAuthCredentials = __decorate([
|
|
49
|
-
(0, typeorm_1.Entity)()
|
|
50
|
-
], GoogleOAuthCredentials);
|
|
51
|
-
//# sourceMappingURL=google-oauth-credentials.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google-oauth-credentials.entity.js","sourceRoot":"","sources":["../../src/entities/google-oauth-credentials.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,gEAA4D;AAIrD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,wBAAU;IAEpD,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,YAAY,CAAS;IAGrB,WAAW,CAAO;IAGlB,QAAQ,CAAS;IAGjB,YAAY,CAAS;CAStB,CAAA;AA1BY,wDAAsB;AAEjC;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2DACL;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACJ;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACjB,IAAI;2DAAC;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACR;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACJ;iCAjBV,sBAAsB;IADlC,IAAA,gBAAM,GAAE;GACI,sBAAsB,CA0BlC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google-calendar-config.entity.js","sourceRoot":"","sources":["../../../src/entities/third-party/google-calendar-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgH;AAChH,uDAA4C;AAC5C,gDAAsC;AAG/B,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAE/B,EAAE,CAAS;IAGX,UAAU,CAAS;IAGnB,IAAI,CAAS;IAGb,WAAW,CAAU;IAGrB,SAAS,CAAU;IAGnB,QAAQ,CAAS;IAGjB,UAAU,CAAS;IAGnB,eAAe,CAAU;IAGzB,eAAe,CAAU;IAGzB,QAAQ,CAAU;IAGlB,gBAAgB,CAAyC;IAGzD,oBAAoB,CAAgD;IAGpE,oBAAoB,CAAyD;IAG7E,SAAS,CAAQ;IAGjB,SAAS,CAAQ;IAGjB,KAAK,CAAU;IAGf,IAAI,CAAO;CACZ,CAAA;AAnDY,oDAAoB;A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