easywork-common-lib 1.0.921 → 1.0.923
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 +37 -36
- package/dist/entities/index.js +1 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/thirdparty/diio-integration.entity.d.ts +16 -0
- package/dist/entities/thirdparty/diio-integration.entity.js +74 -0
- package/dist/entities/thirdparty/diio-integration.entity.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
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
|
|
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 "./capacitation";
|
|
26
|
+
export * from "./tools";
|
|
27
|
+
export * from "./tools/mail/email-signature.entity";
|
|
28
|
+
export * from "./tools/mail/mailbox-user-access.entity";
|
|
29
|
+
export * from "./tools/mail/mailbox.entity";
|
|
30
|
+
export * from "./tools/mail/mail.entity";
|
|
31
|
+
export * from "./thirdparty/google-webhooks-config.entity";
|
|
32
|
+
export * from "./thirdparty/google-gmail-watch-record.entity";
|
|
33
|
+
export * from "./thirdparty/oauth.entity";
|
|
34
|
+
export * from "./thirdparty/diio-integration.entity";
|
|
35
|
+
export * from "./helpers";
|
|
36
|
+
export * from "./audit.entity";
|
|
37
|
+
export * from "./user-change-log.entity";
|
package/dist/entities/index.js
CHANGED
|
@@ -47,6 +47,7 @@ __exportStar(require("./tools/mail/mail.entity"), exports);
|
|
|
47
47
|
__exportStar(require("./thirdparty/google-webhooks-config.entity"), exports);
|
|
48
48
|
__exportStar(require("./thirdparty/google-gmail-watch-record.entity"), exports);
|
|
49
49
|
__exportStar(require("./thirdparty/oauth.entity"), exports);
|
|
50
|
+
__exportStar(require("./thirdparty/diio-integration.entity"), exports);
|
|
50
51
|
__exportStar(require("./helpers"), exports);
|
|
51
52
|
__exportStar(require("./audit.entity"), exports);
|
|
52
53
|
__exportStar(require("./user-change-log.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;AAG9B,iDAA+B;AAG/B,0CAAwB;AAGxB,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AAGzC,6EAA2D;AAC3D,gFAA8D;AAC9D,4DAA0C;
|
|
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;AAG9B,iDAA+B;AAG/B,0CAAwB;AAGxB,sEAAoD;AACpD,0EAAwD;AACxD,8DAA4C;AAC5C,2DAAyC;AAGzC,6EAA2D;AAC3D,gFAA8D;AAC9D,4DAA0C;AAC1C,uEAAqD;AAGrD,4CAA0B;AAG1B,iDAA+B;AAG/B,2DAAyC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseEntityOnlyEssential } from "../../common/database/base.entity";
|
|
2
|
+
export declare enum DiioDataSourceType {
|
|
3
|
+
WEBHOOK = "webhook",
|
|
4
|
+
API = "api"
|
|
5
|
+
}
|
|
6
|
+
export declare class DiioIntegrationConfig extends BaseEntityOnlyEssential {
|
|
7
|
+
groupIdentifier: string;
|
|
8
|
+
signingSecret: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class DiioIntegrationRawData extends BaseEntityOnlyEssential {
|
|
11
|
+
groupIdentifier: string;
|
|
12
|
+
diioId: string | null;
|
|
13
|
+
action: string;
|
|
14
|
+
rawData: any;
|
|
15
|
+
sourceType: DiioDataSourceType;
|
|
16
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.DiioIntegrationRawData = exports.DiioIntegrationConfig = exports.DiioDataSourceType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("../../common/database/base.entity");
|
|
15
|
+
var DiioDataSourceType;
|
|
16
|
+
(function (DiioDataSourceType) {
|
|
17
|
+
DiioDataSourceType["WEBHOOK"] = "webhook";
|
|
18
|
+
DiioDataSourceType["API"] = "api";
|
|
19
|
+
})(DiioDataSourceType || (exports.DiioDataSourceType = DiioDataSourceType = {}));
|
|
20
|
+
let DiioIntegrationConfig = class DiioIntegrationConfig extends base_entity_1.BaseEntityOnlyEssential {
|
|
21
|
+
groupIdentifier;
|
|
22
|
+
signingSecret;
|
|
23
|
+
};
|
|
24
|
+
exports.DiioIntegrationConfig = DiioIntegrationConfig;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "character varying", nullable: false }),
|
|
27
|
+
(0, typeorm_1.Index)({ unique: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], DiioIntegrationConfig.prototype, "groupIdentifier", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({
|
|
32
|
+
type: "text",
|
|
33
|
+
nullable: false,
|
|
34
|
+
}),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], DiioIntegrationConfig.prototype, "signingSecret", void 0);
|
|
37
|
+
exports.DiioIntegrationConfig = DiioIntegrationConfig = __decorate([
|
|
38
|
+
(0, typeorm_1.Entity)("diio_integration_configs")
|
|
39
|
+
], DiioIntegrationConfig);
|
|
40
|
+
let DiioIntegrationRawData = class DiioIntegrationRawData extends base_entity_1.BaseEntityOnlyEssential {
|
|
41
|
+
groupIdentifier;
|
|
42
|
+
diioId;
|
|
43
|
+
action;
|
|
44
|
+
rawData;
|
|
45
|
+
sourceType;
|
|
46
|
+
};
|
|
47
|
+
exports.DiioIntegrationRawData = DiioIntegrationRawData;
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: "character varying", nullable: false }),
|
|
50
|
+
(0, typeorm_1.Index)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], DiioIntegrationRawData.prototype, "groupIdentifier", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "character varying", nullable: true }),
|
|
55
|
+
(0, typeorm_1.Index)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], DiioIntegrationRawData.prototype, "diioId", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: "character varying", nullable: false }),
|
|
60
|
+
(0, typeorm_1.Index)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], DiioIntegrationRawData.prototype, "action", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], DiioIntegrationRawData.prototype, "rawData", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: "enum", enum: DiioDataSourceType, nullable: false }),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], DiioIntegrationRawData.prototype, "sourceType", void 0);
|
|
71
|
+
exports.DiioIntegrationRawData = DiioIntegrationRawData = __decorate([
|
|
72
|
+
(0, typeorm_1.Entity)("diio_integration_raw_data")
|
|
73
|
+
], DiioIntegrationRawData);
|
|
74
|
+
//# sourceMappingURL=diio-integration.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diio-integration.entity.js","sourceRoot":"","sources":["../../../src/entities/thirdparty/diio-integration.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgD;AAChD,mEAA4E;AAE5E,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,iCAAW,CAAA;AACb,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAGM,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,qCAAuB;IAGhE,eAAe,CAAS;IAMxB,aAAa,CAAS;CACvB,CAAA;AAVY,sDAAqB;AAGhC;IA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