@attraccess/database-entities 1.8.1 → 1.10.0
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/package.json +2 -2
- package/src/lib/entities/api-token-permission.entity.d.ts +10 -0
- package/src/lib/entities/api-token-permission.entity.js +40 -0
- package/src/lib/entities/api-token-permission.entity.js.map +1 -0
- package/src/lib/entities/api-token.entity.d.ts +15 -0
- package/src/lib/entities/api-token.entity.js +61 -0
- package/src/lib/entities/api-token.entity.js.map +1 -0
- package/src/lib/entities/audit-log.entity.d.ts +18 -0
- package/src/lib/entities/audit-log.entity.js +79 -0
- package/src/lib/entities/audit-log.entity.js.map +1 -0
- package/src/lib/entities/billing-transaction-item.entity.d.ts +1 -0
- package/src/lib/entities/billing-transaction-item.entity.js +9 -0
- package/src/lib/entities/billing-transaction-item.entity.js.map +1 -1
- package/src/lib/entities/companion-device.entity.d.ts +11 -0
- package/src/lib/entities/companion-device.entity.js +56 -0
- package/src/lib/entities/companion-device.entity.js.map +1 -0
- package/src/lib/entities/email-layout.entity.d.ts +7 -0
- package/src/lib/entities/email-layout.entity.js +36 -0
- package/src/lib/entities/email-layout.entity.js.map +1 -0
- package/src/lib/entities/email-template-translation.entity.d.ts +7 -0
- package/src/lib/entities/email-template-translation.entity.js +34 -0
- package/src/lib/entities/email-template-translation.entity.js.map +1 -0
- package/src/lib/entities/email-template.entity.js +1 -5
- package/src/lib/entities/email-template.entity.js.map +1 -1
- package/src/lib/entities/form.d.ts +1 -0
- package/src/lib/entities/form.js +5 -0
- package/src/lib/entities/form.js.map +1 -1
- package/src/lib/entities/mqttServer.entity.d.ts +4 -0
- package/src/lib/entities/mqttServer.entity.js +39 -0
- package/src/lib/entities/mqttServer.entity.js.map +1 -1
- package/src/lib/entities/passkey.entity.d.ts +28 -0
- package/src/lib/entities/passkey.entity.js +109 -0
- package/src/lib/entities/passkey.entity.js.map +1 -0
- package/src/lib/entities/permission.entity.d.ts +8 -0
- package/src/lib/entities/permission.entity.js +53 -0
- package/src/lib/entities/permission.entity.js.map +1 -0
- package/src/lib/entities/resource-billing-configuration.entity.d.ts +1 -0
- package/src/lib/entities/resource-billing-configuration.entity.js +5 -0
- package/src/lib/entities/resource-billing-configuration.entity.js.map +1 -1
- package/src/lib/entities/resource-maintenance-schedule.entity.d.ts +6 -0
- package/src/lib/entities/resource-maintenance-schedule.entity.js +21 -1
- package/src/lib/entities/resource-maintenance-schedule.entity.js.map +1 -1
- package/src/lib/entities/resource-operating-interval.entity.d.ts +13 -0
- package/src/lib/entities/resource-operating-interval.entity.js +65 -0
- package/src/lib/entities/resource-operating-interval.entity.js.map +1 -0
- package/src/lib/entities/resource-usage-lifecycle-attempt.entity.d.ts +19 -0
- package/src/lib/entities/resource-usage-lifecycle-attempt.entity.js +56 -0
- package/src/lib/entities/resource-usage-lifecycle-attempt.entity.js.map +1 -0
- package/src/lib/entities/resource.entity.d.ts +2 -2
- package/src/lib/entities/resource.entity.js +5 -5
- package/src/lib/entities/resource.entity.js.map +1 -1
- package/src/lib/entities/resource.maintenance.js +2 -0
- package/src/lib/entities/resource.maintenance.js.map +1 -1
- package/src/lib/entities/resourceFlowNode.d.ts +216 -2
- package/src/lib/entities/resourceFlowNode.js +132 -60
- package/src/lib/entities/resourceFlowNode.js.map +1 -1
- package/src/lib/entities/resourceHealthState.entity.js +2 -2
- package/src/lib/entities/resourceHealthState.entity.js.map +1 -1
- package/src/lib/entities/resourceIntroduction.entity.d.ts +1 -0
- package/src/lib/entities/resourceIntroduction.entity.js +4 -0
- package/src/lib/entities/resourceIntroduction.entity.js.map +1 -1
- package/src/lib/entities/resourceUsage.entity.d.ts +7 -0
- package/src/lib/entities/resourceUsage.entity.js +50 -0
- package/src/lib/entities/resourceUsage.entity.js.map +1 -1
- package/src/lib/entities/role-permission.entity.d.ts +10 -0
- package/src/lib/entities/role-permission.entity.js +45 -0
- package/src/lib/entities/role-permission.entity.js.map +1 -0
- package/src/lib/entities/role.entity.d.ts +14 -0
- package/src/lib/entities/role.entity.js +80 -0
- package/src/lib/entities/role.entity.js.map +1 -0
- package/src/lib/entities/ssoProvider.oidc.d.ts +1 -2
- package/src/lib/entities/ssoProvider.oidc.js +5 -5
- package/src/lib/entities/ssoProvider.oidc.js.map +1 -1
- package/src/lib/entities/ssoProvider.saml.d.ts +1 -2
- package/src/lib/entities/ssoProvider.saml.js +5 -5
- package/src/lib/entities/ssoProvider.saml.js.map +1 -1
- package/src/lib/entities/user-role.entity.d.ts +19 -0
- package/src/lib/entities/user-role.entity.js +89 -0
- package/src/lib/entities/user-role.entity.js.map +1 -0
- package/src/lib/entities/user.entity.d.ts +6 -8
- package/src/lib/entities/user.entity.js +25 -48
- package/src/lib/entities/user.entity.js.map +1 -1
- package/src/lib/entities-index.d.ts +31 -8
- package/src/lib/entities-index.js +52 -11
- package/src/lib/entities-index.js.map +1 -1
- package/src/lib/entities/password-policy-audit.entity.d.ts +0 -19
- package/src/lib/entities/password-policy-audit.entity.js +0 -83
- package/src/lib/entities/password-policy-audit.entity.js.map +0 -1
- package/src/lib/entities/resourceFlowLog.d.ts +0 -18
- package/src/lib/entities/resourceFlowLog.js +0 -95
- package/src/lib/entities/resourceFlowLog.js.map +0 -1
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceFlowLog = exports.ResourceFlowLogType = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const typeorm_1 = require("typeorm");
|
|
6
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
7
|
-
const resource_entity_1 = require("./resource.entity");
|
|
8
|
-
var ResourceFlowLogType;
|
|
9
|
-
(function (ResourceFlowLogType) {
|
|
10
|
-
ResourceFlowLogType["FLOW_START"] = "flow.start";
|
|
11
|
-
ResourceFlowLogType["NODE_PROCESSING_STARTED"] = "node.processing.started";
|
|
12
|
-
ResourceFlowLogType["NODE_PROCESSING_FAILED"] = "node.processing.failed";
|
|
13
|
-
ResourceFlowLogType["NODE_PROCESSING_COMPLETED"] = "node.processing.completed";
|
|
14
|
-
ResourceFlowLogType["FLOW_COMPLETED"] = "flow.completed";
|
|
15
|
-
})(ResourceFlowLogType || (exports.ResourceFlowLogType = ResourceFlowLogType = {}));
|
|
16
|
-
let ResourceFlowLog = class ResourceFlowLog {
|
|
17
|
-
};
|
|
18
|
-
exports.ResourceFlowLog = ResourceFlowLog;
|
|
19
|
-
tslib_1.__decorate([
|
|
20
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
21
|
-
(0, swagger_1.ApiProperty)({
|
|
22
|
-
description: 'The unique identifier of the resource flow log',
|
|
23
|
-
example: 42,
|
|
24
|
-
}),
|
|
25
|
-
tslib_1.__metadata("design:type", Number)
|
|
26
|
-
], ResourceFlowLog.prototype, "id", void 0);
|
|
27
|
-
tslib_1.__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
29
|
-
(0, swagger_1.ApiProperty)({
|
|
30
|
-
description: 'The node id of the node that generated the log',
|
|
31
|
-
example: 'TGVgqDzCKXKVr-XGUD5V3',
|
|
32
|
-
nullable: true,
|
|
33
|
-
}),
|
|
34
|
-
tslib_1.__metadata("design:type", String)
|
|
35
|
-
], ResourceFlowLog.prototype, "nodeId", void 0);
|
|
36
|
-
tslib_1.__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
38
|
-
(0, swagger_1.ApiProperty)({
|
|
39
|
-
description: 'The run/execution id of the flow that generated the log',
|
|
40
|
-
example: '123e4567-e89b-12d3-a456-426614174000',
|
|
41
|
-
required: true,
|
|
42
|
-
}),
|
|
43
|
-
tslib_1.__metadata("design:type", String)
|
|
44
|
-
], ResourceFlowLog.prototype, "flowRunId", void 0);
|
|
45
|
-
tslib_1.__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({
|
|
47
|
-
type: 'varchar',
|
|
48
|
-
enum: ResourceFlowLogType,
|
|
49
|
-
}),
|
|
50
|
-
(0, swagger_1.ApiProperty)({
|
|
51
|
-
description: 'The type of the log entry',
|
|
52
|
-
enum: ResourceFlowLogType,
|
|
53
|
-
example: ResourceFlowLogType.NODE_PROCESSING_STARTED,
|
|
54
|
-
enumName: 'ResourceFlowLogType',
|
|
55
|
-
}),
|
|
56
|
-
tslib_1.__metadata("design:type", String)
|
|
57
|
-
], ResourceFlowLog.prototype, "type", void 0);
|
|
58
|
-
tslib_1.__decorate([
|
|
59
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
60
|
-
(0, swagger_1.ApiProperty)({
|
|
61
|
-
description: 'Optional payload for additional user information',
|
|
62
|
-
example: 'Processing took longer than expected due to network latency',
|
|
63
|
-
required: false,
|
|
64
|
-
}),
|
|
65
|
-
tslib_1.__metadata("design:type", String)
|
|
66
|
-
], ResourceFlowLog.prototype, "payload", void 0);
|
|
67
|
-
tslib_1.__decorate([
|
|
68
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
69
|
-
(0, swagger_1.ApiProperty)({
|
|
70
|
-
description: 'When the node was created',
|
|
71
|
-
}),
|
|
72
|
-
tslib_1.__metadata("design:type", Date)
|
|
73
|
-
], ResourceFlowLog.prototype, "createdAt", void 0);
|
|
74
|
-
tslib_1.__decorate([
|
|
75
|
-
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
76
|
-
(0, swagger_1.ApiProperty)({
|
|
77
|
-
description: 'The id of the resource that this log belongs to',
|
|
78
|
-
example: 1,
|
|
79
|
-
}),
|
|
80
|
-
tslib_1.__metadata("design:type", Number)
|
|
81
|
-
], ResourceFlowLog.prototype, "resourceId", void 0);
|
|
82
|
-
tslib_1.__decorate([
|
|
83
|
-
(0, typeorm_1.ManyToOne)(() => resource_entity_1.Resource, (resource) => resource.flowLogs, { onDelete: 'CASCADE' }),
|
|
84
|
-
(0, typeorm_1.JoinColumn)({ name: 'resourceId' }),
|
|
85
|
-
(0, swagger_1.ApiProperty)({
|
|
86
|
-
description: 'The resource being this log belongs to',
|
|
87
|
-
type: () => resource_entity_1.Resource,
|
|
88
|
-
required: false,
|
|
89
|
-
}),
|
|
90
|
-
tslib_1.__metadata("design:type", resource_entity_1.Resource)
|
|
91
|
-
], ResourceFlowLog.prototype, "resource", void 0);
|
|
92
|
-
exports.ResourceFlowLog = ResourceFlowLog = tslib_1.__decorate([
|
|
93
|
-
(0, typeorm_1.Entity)()
|
|
94
|
-
], ResourceFlowLog);
|
|
95
|
-
//# sourceMappingURL=resourceFlowLog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resourceFlowLog.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/entities/resourceFlowLog.ts"],"names":[],"mappings":";;;;AAAA,qCAA0G;AAC1G,6CAA8C;AAC9C,uDAA6C;AAE7C,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,gDAAyB,CAAA;IACzB,0EAAmD,CAAA;IACnD,wEAAiD,CAAA;IACjD,8EAAuD,CAAA;IACvD,wDAAiC,CAAA;AACnC,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;CAiE3B,CAAA;AAjEY,0CAAe;AAM1B;IALC,IAAA,gCAAsB,GAAE;IACxB,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,gDAAgD;QAC7D,OAAO,EAAE,EAAE;KACZ,CAAC;;2CACU;AAQZ;IANC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,gDAAgD;QAC7D,OAAO,EAAE,uBAAuB;QAChC,QAAQ,EAAE,IAAI;KACf,CAAC;;+CACqB;AAQvB;IANC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzC,IAAA,qBAA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