@attraccess/database-entities 1.1.0 → 1.5.2
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 +3 -3
- package/src/index.d.ts +2 -0
- package/src/index.js +5 -1
- package/src/index.js.map +1 -1
- package/src/lib/entities/attractap.entity.d.ts +9 -0
- package/src/lib/entities/attractap.entity.js +77 -0
- package/src/lib/entities/attractap.entity.js.map +1 -1
- package/src/lib/entities/authenticationDetail.entity.d.ts +6 -0
- package/src/lib/entities/authenticationDetail.entity.js +55 -1
- package/src/lib/entities/authenticationDetail.entity.js.map +1 -1
- package/src/lib/entities/billing-transaction.entity.js +5 -1
- package/src/lib/entities/billing-transaction.entity.js.map +1 -1
- package/src/lib/entities/email-template.entity.d.ts +4 -1
- package/src/lib/entities/email-template.entity.js +3 -0
- package/src/lib/entities/email-template.entity.js.map +1 -1
- package/src/lib/entities/form.d.ts +56 -0
- package/src/lib/entities/form.js +201 -0
- package/src/lib/entities/form.js.map +1 -0
- package/src/lib/entities/mqttServer.entity.d.ts +3 -0
- package/src/lib/entities/mqttServer.entity.js +27 -0
- package/src/lib/entities/mqttServer.entity.js.map +1 -1
- package/src/lib/entities/nfcCard.entity.d.ts +2 -5
- package/src/lib/entities/nfcCard.entity.js +14 -13
- package/src/lib/entities/nfcCard.entity.js.map +1 -1
- package/src/lib/entities/project-invitation.entity.d.ts +23 -0
- package/src/lib/entities/project-invitation.entity.js +98 -0
- package/src/lib/entities/project-invitation.entity.js.map +1 -0
- package/src/lib/entities/project-member.entity.d.ts +14 -0
- package/src/lib/entities/project-member.entity.js +61 -0
- package/src/lib/entities/project-member.entity.js.map +1 -0
- package/src/lib/entities/project.d.ts +17 -0
- package/src/lib/entities/project.js +89 -0
- package/src/lib/entities/project.js.map +1 -0
- package/src/lib/entities/resource-maintenance-schedule-time-interval-config.entity.d.ts +14 -0
- package/src/lib/entities/resource-maintenance-schedule-time-interval-config.entity.js +54 -0
- package/src/lib/entities/resource-maintenance-schedule-time-interval-config.entity.js.map +1 -0
- package/src/lib/entities/resource-maintenance-schedule-usage-count-config.entity.d.ts +11 -0
- package/src/lib/entities/resource-maintenance-schedule-usage-count-config.entity.js +40 -0
- package/src/lib/entities/resource-maintenance-schedule-usage-count-config.entity.js.map +1 -0
- package/src/lib/entities/resource-maintenance-schedule-usage-hours-config.entity.d.ts +13 -0
- package/src/lib/entities/resource-maintenance-schedule-usage-hours-config.entity.js +53 -0
- package/src/lib/entities/resource-maintenance-schedule-usage-hours-config.entity.js.map +1 -0
- package/src/lib/entities/resource-maintenance-schedule.entity.d.ts +23 -0
- package/src/lib/entities/resource-maintenance-schedule.entity.js +99 -0
- package/src/lib/entities/resource-maintenance-schedule.entity.js.map +1 -0
- package/src/lib/entities/resource.entity.d.ts +5 -0
- package/src/lib/entities/resource.entity.js +27 -0
- package/src/lib/entities/resource.entity.js.map +1 -1
- package/src/lib/entities/resource.maintenance.d.ts +6 -0
- package/src/lib/entities/resource.maintenance.js +37 -0
- package/src/lib/entities/resource.maintenance.js.map +1 -1
- package/src/lib/entities/resourceFlowLog.js +1 -0
- package/src/lib/entities/resourceFlowLog.js.map +1 -1
- package/src/lib/entities/resourceFlowNode.d.ts +23 -48
- package/src/lib/entities/resourceFlowNode.js +56 -9
- package/src/lib/entities/resourceFlowNode.js.map +1 -1
- package/src/lib/entities/resourceIntroductionHistoryItem.entity.js +1 -0
- package/src/lib/entities/resourceIntroductionHistoryItem.entity.js.map +1 -1
- package/src/lib/entities/resourceUsage.entity.d.ts +6 -0
- package/src/lib/entities/resourceUsage.entity.js +36 -0
- package/src/lib/entities/resourceUsage.entity.js.map +1 -1
- package/src/lib/entities/session.entity.js +3 -0
- package/src/lib/entities/session.entity.js.map +1 -1
- package/src/lib/entities/ssoProvider.entity.d.ts +5 -2
- package/src/lib/entities/ssoProvider.entity.js +12 -0
- package/src/lib/entities/ssoProvider.entity.js.map +1 -1
- package/src/lib/entities/ssoProvider.oidc.d.ts +5 -0
- package/src/lib/entities/ssoProvider.oidc.js +42 -0
- package/src/lib/entities/ssoProvider.oidc.js.map +1 -1
- package/src/lib/entities/ssoProvider.saml.d.ts +23 -0
- package/src/lib/entities/ssoProvider.saml.js +177 -0
- package/src/lib/entities/ssoProvider.saml.js.map +1 -0
- package/src/lib/entities/user.entity.d.ts +13 -0
- package/src/lib/entities/user.entity.js +62 -0
- package/src/lib/entities/user.entity.js.map +1 -1
- package/src/lib/entities-index.d.ts +23 -4
- package/src/lib/entities-index.js +45 -4
- package/src/lib/entities-index.js.map +1 -1
- package/src/lib/types/authenticationType.enum.d.ts +2 -1
- package/src/lib/types/authenticationType.enum.js +1 -0
- package/src/lib/types/authenticationType.enum.js.map +1 -1
- package/src/lib/types/usageDurationUnit.enum.d.ts +5 -0
- package/src/lib/types/usageDurationUnit.enum.js +10 -0
- package/src/lib/types/usageDurationUnit.enum.js.map +1 -0
- package/src/lib/entities/revokedToken.entity.d.ts +0 -5
- package/src/lib/entities/revokedToken.entity.js +0 -35
- package/src/lib/entities/revokedToken.entity.js.map +0 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SSOProviderSAMLConfiguration = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
7
|
+
const class_transformer_1 = require("class-transformer");
|
|
8
|
+
const ssoProvider_entity_1 = require("./ssoProvider.entity");
|
|
9
|
+
let SSOProviderSAMLConfiguration = class SSOProviderSAMLConfiguration {
|
|
10
|
+
};
|
|
11
|
+
exports.SSOProviderSAMLConfiguration = SSOProviderSAMLConfiguration;
|
|
12
|
+
tslib_1.__decorate([
|
|
13
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
14
|
+
(0, swagger_1.ApiProperty)({
|
|
15
|
+
description: 'The unique identifier of the SAML configuration',
|
|
16
|
+
example: 1,
|
|
17
|
+
}),
|
|
18
|
+
tslib_1.__metadata("design:type", Number)
|
|
19
|
+
], SSOProviderSAMLConfiguration.prototype, "id", void 0);
|
|
20
|
+
tslib_1.__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
22
|
+
(0, swagger_1.ApiProperty)({
|
|
23
|
+
description: 'The ID of the parent SSO provider',
|
|
24
|
+
example: 3,
|
|
25
|
+
}),
|
|
26
|
+
tslib_1.__metadata("design:type", Number)
|
|
27
|
+
], SSOProviderSAMLConfiguration.prototype, "ssoProviderId", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
(0, typeorm_1.OneToOne)(() => ssoProvider_entity_1.SSOProvider, (provider) => provider.samlConfiguration, { onDelete: 'CASCADE' }),
|
|
30
|
+
(0, typeorm_1.JoinColumn)({ name: 'ssoProviderId' }),
|
|
31
|
+
tslib_1.__metadata("design:type", ssoProvider_entity_1.SSOProvider)
|
|
32
|
+
], SSOProviderSAMLConfiguration.prototype, "ssoProvider", void 0);
|
|
33
|
+
tslib_1.__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
35
|
+
(0, swagger_1.ApiProperty)({
|
|
36
|
+
description: 'The Identity Provider entry point (SSO URL)',
|
|
37
|
+
example: 'https://login.example.com/realms/master/protocol/saml',
|
|
38
|
+
}),
|
|
39
|
+
tslib_1.__metadata("design:type", String)
|
|
40
|
+
], SSOProviderSAMLConfiguration.prototype, "entryPoint", void 0);
|
|
41
|
+
tslib_1.__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
description: 'The Service Provider issuer URL presented to the IdP',
|
|
45
|
+
example: 'https://app.attraccess.org',
|
|
46
|
+
}),
|
|
47
|
+
tslib_1.__metadata("design:type", String)
|
|
48
|
+
], SSOProviderSAMLConfiguration.prototype, "issuer", void 0);
|
|
49
|
+
tslib_1.__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
51
|
+
(0, swagger_1.ApiProperty)({
|
|
52
|
+
description: 'PEM encoded IdP signing certificate (without BEGIN/END markers)',
|
|
53
|
+
}),
|
|
54
|
+
tslib_1.__metadata("design:type", String)
|
|
55
|
+
], SSOProviderSAMLConfiguration.prototype, "certificate", void 0);
|
|
56
|
+
tslib_1.__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
58
|
+
(0, swagger_1.ApiProperty)({
|
|
59
|
+
description: 'Optional audience restriction to validate within assertions',
|
|
60
|
+
required: false,
|
|
61
|
+
nullable: true,
|
|
62
|
+
}),
|
|
63
|
+
tslib_1.__metadata("design:type", String)
|
|
64
|
+
], SSOProviderSAMLConfiguration.prototype, "audience", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
67
|
+
(0, swagger_1.ApiProperty)({
|
|
68
|
+
description: 'Whether AuthnRequests should be signed by Attraccess',
|
|
69
|
+
default: false,
|
|
70
|
+
}),
|
|
71
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
72
|
+
], SSOProviderSAMLConfiguration.prototype, "signRequest", void 0);
|
|
73
|
+
tslib_1.__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
75
|
+
(0, swagger_1.ApiProperty)({
|
|
76
|
+
description: 'Whether SAML Assertions must include their own signature',
|
|
77
|
+
default: false,
|
|
78
|
+
}),
|
|
79
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
80
|
+
], SSOProviderSAMLConfiguration.prototype, "wantAssertionsSigned", void 0);
|
|
81
|
+
tslib_1.__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
83
|
+
(0, swagger_1.ApiProperty)({
|
|
84
|
+
description: 'Whether the SAML Response must be signed',
|
|
85
|
+
default: true,
|
|
86
|
+
}),
|
|
87
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
88
|
+
], SSOProviderSAMLConfiguration.prototype, "wantAuthnResponseSigned", void 0);
|
|
89
|
+
tslib_1.__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
91
|
+
(0, swagger_1.ApiProperty)({
|
|
92
|
+
description: 'Force the IdP to re-authenticate the user',
|
|
93
|
+
default: false,
|
|
94
|
+
}),
|
|
95
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
96
|
+
], SSOProviderSAMLConfiguration.prototype, "forceAuthn", void 0);
|
|
97
|
+
tslib_1.__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ type: 'simple-array', nullable: true }),
|
|
99
|
+
(0, swagger_1.ApiProperty)({
|
|
100
|
+
description: 'Optional list of attribute keys (ordered) to resolve user emails from SAML assertions',
|
|
101
|
+
required: false,
|
|
102
|
+
isArray: true,
|
|
103
|
+
type: String,
|
|
104
|
+
example: ['email', 'urn:oid:1.2.840.113549.1.9.1'],
|
|
105
|
+
}),
|
|
106
|
+
tslib_1.__metadata("design:type", Array)
|
|
107
|
+
], SSOProviderSAMLConfiguration.prototype, "emailAttributeKeys", void 0);
|
|
108
|
+
tslib_1.__decorate([
|
|
109
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
110
|
+
(0, swagger_1.ApiProperty)({
|
|
111
|
+
description: 'Shared secret used to authorize SAML provisioning requests',
|
|
112
|
+
required: false,
|
|
113
|
+
nullable: true,
|
|
114
|
+
writeOnly: true,
|
|
115
|
+
}),
|
|
116
|
+
(0, class_transformer_1.Exclude)(),
|
|
117
|
+
tslib_1.__metadata("design:type", String)
|
|
118
|
+
], SSOProviderSAMLConfiguration.prototype, "provisioningSecret", void 0);
|
|
119
|
+
tslib_1.__decorate([
|
|
120
|
+
(0, typeorm_1.Column)({ type: 'json', nullable: true }),
|
|
121
|
+
(0, swagger_1.ApiProperty)({
|
|
122
|
+
description: 'Optional mapping between Attraccess permissions and SAML role attribute values',
|
|
123
|
+
required: false,
|
|
124
|
+
example: {
|
|
125
|
+
canManageSystemConfiguration: ['attraccess_config_admin'],
|
|
126
|
+
canManageBilling: ['attraccess_billing'],
|
|
127
|
+
},
|
|
128
|
+
}),
|
|
129
|
+
tslib_1.__metadata("design:type", Object)
|
|
130
|
+
], SSOProviderSAMLConfiguration.prototype, "permissionMappings", void 0);
|
|
131
|
+
tslib_1.__decorate([
|
|
132
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
133
|
+
(0, swagger_1.ApiProperty)({
|
|
134
|
+
description: 'PEM encoded Service Provider certificate used when signing AuthnRequests',
|
|
135
|
+
required: false,
|
|
136
|
+
nullable: true,
|
|
137
|
+
}),
|
|
138
|
+
tslib_1.__metadata("design:type", String)
|
|
139
|
+
], SSOProviderSAMLConfiguration.prototype, "spSigningCertificate", void 0);
|
|
140
|
+
tslib_1.__decorate([
|
|
141
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
142
|
+
(0, swagger_1.ApiProperty)({
|
|
143
|
+
description: 'Encrypted Service Provider private key used for signing AuthnRequests',
|
|
144
|
+
required: false,
|
|
145
|
+
nullable: true,
|
|
146
|
+
writeOnly: true,
|
|
147
|
+
}),
|
|
148
|
+
(0, class_transformer_1.Exclude)(),
|
|
149
|
+
tslib_1.__metadata("design:type", String)
|
|
150
|
+
], SSOProviderSAMLConfiguration.prototype, "spSigningKeyEncrypted", void 0);
|
|
151
|
+
tslib_1.__decorate([
|
|
152
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
153
|
+
(0, swagger_1.ApiProperty)({
|
|
154
|
+
description: 'Identifier for the encryption key used to protect the signing private key',
|
|
155
|
+
required: false,
|
|
156
|
+
nullable: true,
|
|
157
|
+
}),
|
|
158
|
+
tslib_1.__metadata("design:type", String)
|
|
159
|
+
], SSOProviderSAMLConfiguration.prototype, "spSigningKeyEncryptionKeyId", void 0);
|
|
160
|
+
tslib_1.__decorate([
|
|
161
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
162
|
+
(0, swagger_1.ApiProperty)({
|
|
163
|
+
description: 'When the configuration was created',
|
|
164
|
+
}),
|
|
165
|
+
tslib_1.__metadata("design:type", Date)
|
|
166
|
+
], SSOProviderSAMLConfiguration.prototype, "createdAt", void 0);
|
|
167
|
+
tslib_1.__decorate([
|
|
168
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
169
|
+
(0, swagger_1.ApiProperty)({
|
|
170
|
+
description: 'When the configuration was last updated',
|
|
171
|
+
}),
|
|
172
|
+
tslib_1.__metadata("design:type", Date)
|
|
173
|
+
], SSOProviderSAMLConfiguration.prototype, "updatedAt", void 0);
|
|
174
|
+
exports.SSOProviderSAMLConfiguration = SSOProviderSAMLConfiguration = tslib_1.__decorate([
|
|
175
|
+
(0, typeorm_1.Entity)()
|
|
176
|
+
], SSOProviderSAMLConfiguration);
|
|
177
|
+
//# sourceMappingURL=ssoProvider.saml.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssoProvider.saml.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/entities/ssoProvider.saml.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AACjB,6CAA8C;AAC9C,yDAA4C;AAC5C,6DAAmD;AAI5C,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CA+IxC,CAAA;AA/IY,oEAA4B;AAMvC;IALC,IAAA,gCAAsB,GAAE;IACxB,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,iDAAiD;QAC9D,OAAO,EAAE,CAAC;KACX,CAAC;;wDACU;AAOZ;IALC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IAC3B,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,mCAAmC;QAChD,OAAO,EAAE,CAAC;KACX,CAAC;;mEACqB;AAIvB;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,gCAAW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ANC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,0EAA0E;QACvF,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;0EACmC;AAUrC;IARC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,uEAAuE;QACpF,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,IAAI;KAChB,CAAC;IACD,IAAA,2BAAO,GAAE;;2EAC4B;AAQtC;IANC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACxC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,2EAA2E;QACxF,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,IAAI;KACf,CAAC;;iFAC0C;AAM5C;IAJC,IAAA,0BAAgB,GAAE;IAClB,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,oCAAoC;KAClD,CAAC;sCACU,IAAI;+DAAC;AAMjB;IAJC,IAAA,0BAAgB,GAAE;IAClB,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,yCAAyC;KACvD,CAAC;sCACU,IAAI;+DAAC;uCA9IN,4BAA4B;IADxC,IAAA,gBAAM,GAAE;GACI,4BAA4B,CA+IxC"}
|
|
@@ -5,6 +5,10 @@ import { ResourceIntroducer } from './resourceIntroducer.entity';
|
|
|
5
5
|
import { NFCCard } from './nfcCard.entity';
|
|
6
6
|
import { Session } from './session.entity';
|
|
7
7
|
import { BillingTransaction } from './billing-transaction.entity';
|
|
8
|
+
import { Project } from './project';
|
|
9
|
+
import { ProjectMember } from './project-member.entity';
|
|
10
|
+
import { ProjectInvitation } from './project-invitation.entity';
|
|
11
|
+
import { FormSubmission } from './form';
|
|
8
12
|
export declare class SystemPermissions {
|
|
9
13
|
canManageResources: boolean;
|
|
10
14
|
canManageSystemConfiguration: boolean;
|
|
@@ -24,7 +28,11 @@ export declare class User {
|
|
|
24
28
|
systemPermissions: SystemPermissions;
|
|
25
29
|
createdAt: Date;
|
|
26
30
|
updatedAt: Date;
|
|
31
|
+
deletedAt?: Date | null;
|
|
27
32
|
lastUsernameChangeAt: Date | null;
|
|
33
|
+
deleteAccountToken: string | null;
|
|
34
|
+
deleteAccountTokenExpiresAt: Date | null;
|
|
35
|
+
deleteAccountRequestedAt: Date | null;
|
|
28
36
|
resourceIntroductions: ResourceIntroduction[];
|
|
29
37
|
resourceUsages: ResourceUsage[];
|
|
30
38
|
authenticationDetails: AuthenticationDetail[];
|
|
@@ -37,4 +45,9 @@ export declare class User {
|
|
|
37
45
|
initiatedBillingTransactions: BillingTransaction[];
|
|
38
46
|
creditBalance: number;
|
|
39
47
|
billingFactor: number;
|
|
48
|
+
ownedProjects: Project[];
|
|
49
|
+
projectMemberships: ProjectMember[];
|
|
50
|
+
sentProjectInvitations: ProjectInvitation[];
|
|
51
|
+
receivedProjectInvitations: ProjectInvitation[];
|
|
52
|
+
formSubmissions: FormSubmission[];
|
|
40
53
|
}
|
|
@@ -12,6 +12,10 @@ const resourceIntroducer_entity_1 = require("./resourceIntroducer.entity");
|
|
|
12
12
|
const nfcCard_entity_1 = require("./nfcCard.entity");
|
|
13
13
|
const session_entity_1 = require("./session.entity");
|
|
14
14
|
const billing_transaction_entity_1 = require("./billing-transaction.entity");
|
|
15
|
+
const project_1 = require("./project");
|
|
16
|
+
const project_member_entity_1 = require("./project-member.entity");
|
|
17
|
+
const project_invitation_entity_1 = require("./project-invitation.entity");
|
|
18
|
+
const form_1 = require("./form");
|
|
15
19
|
class SystemPermissions {
|
|
16
20
|
}
|
|
17
21
|
exports.SystemPermissions = SystemPermissions;
|
|
@@ -128,11 +132,34 @@ tslib_1.__decorate([
|
|
|
128
132
|
}),
|
|
129
133
|
tslib_1.__metadata("design:type", Date)
|
|
130
134
|
], User.prototype, "updatedAt", void 0);
|
|
135
|
+
tslib_1.__decorate([
|
|
136
|
+
(0, typeorm_1.DeleteDateColumn)({ type: 'datetime' }),
|
|
137
|
+
(0, swagger_1.ApiProperty)({
|
|
138
|
+
description: 'When the user was soft-deleted',
|
|
139
|
+
required: false,
|
|
140
|
+
}),
|
|
141
|
+
tslib_1.__metadata("design:type", Date)
|
|
142
|
+
], User.prototype, "deletedAt", void 0);
|
|
131
143
|
tslib_1.__decorate([
|
|
132
144
|
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
133
145
|
(0, class_transformer_1.Exclude)(),
|
|
134
146
|
tslib_1.__metadata("design:type", Date)
|
|
135
147
|
], User.prototype, "lastUsernameChangeAt", void 0);
|
|
148
|
+
tslib_1.__decorate([
|
|
149
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
150
|
+
(0, class_transformer_1.Exclude)(),
|
|
151
|
+
tslib_1.__metadata("design:type", String)
|
|
152
|
+
], User.prototype, "deleteAccountToken", void 0);
|
|
153
|
+
tslib_1.__decorate([
|
|
154
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
155
|
+
(0, class_transformer_1.Exclude)(),
|
|
156
|
+
tslib_1.__metadata("design:type", Date)
|
|
157
|
+
], User.prototype, "deleteAccountTokenExpiresAt", void 0);
|
|
158
|
+
tslib_1.__decorate([
|
|
159
|
+
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
160
|
+
(0, class_transformer_1.Exclude)(),
|
|
161
|
+
tslib_1.__metadata("design:type", Date)
|
|
162
|
+
], User.prototype, "deleteAccountRequestedAt", void 0);
|
|
136
163
|
tslib_1.__decorate([
|
|
137
164
|
(0, typeorm_1.OneToMany)(() => resourceIntroduction_entity_1.ResourceIntroduction, (introduction) => introduction.receiverUser, {
|
|
138
165
|
onDelete: 'CASCADE',
|
|
@@ -149,6 +176,11 @@ tslib_1.__decorate([
|
|
|
149
176
|
(0, typeorm_1.OneToMany)(() => authenticationDetail_entity_1.AuthenticationDetail, (detail) => detail.user, {
|
|
150
177
|
onDelete: 'CASCADE',
|
|
151
178
|
}),
|
|
179
|
+
(0, swagger_1.ApiProperty)({
|
|
180
|
+
description: 'Authentication details linked to the user',
|
|
181
|
+
type: [authenticationDetail_entity_1.AuthenticationDetail],
|
|
182
|
+
required: false,
|
|
183
|
+
}),
|
|
152
184
|
tslib_1.__metadata("design:type", Array)
|
|
153
185
|
], User.prototype, "authenticationDetails", void 0);
|
|
154
186
|
tslib_1.__decorate([
|
|
@@ -209,6 +241,36 @@ tslib_1.__decorate([
|
|
|
209
241
|
}),
|
|
210
242
|
tslib_1.__metadata("design:type", Number)
|
|
211
243
|
], User.prototype, "billingFactor", void 0);
|
|
244
|
+
tslib_1.__decorate([
|
|
245
|
+
(0, typeorm_1.OneToMany)(() => project_1.Project, (project) => project.owner, {
|
|
246
|
+
onDelete: 'CASCADE',
|
|
247
|
+
}),
|
|
248
|
+
tslib_1.__metadata("design:type", Array)
|
|
249
|
+
], User.prototype, "ownedProjects", void 0);
|
|
250
|
+
tslib_1.__decorate([
|
|
251
|
+
(0, typeorm_1.OneToMany)(() => project_member_entity_1.ProjectMember, (member) => member.user, {
|
|
252
|
+
onDelete: 'CASCADE',
|
|
253
|
+
}),
|
|
254
|
+
tslib_1.__metadata("design:type", Array)
|
|
255
|
+
], User.prototype, "projectMemberships", void 0);
|
|
256
|
+
tslib_1.__decorate([
|
|
257
|
+
(0, typeorm_1.OneToMany)(() => project_invitation_entity_1.ProjectInvitation, (invitation) => invitation.inviter, {
|
|
258
|
+
onDelete: 'CASCADE',
|
|
259
|
+
}),
|
|
260
|
+
tslib_1.__metadata("design:type", Array)
|
|
261
|
+
], User.prototype, "sentProjectInvitations", void 0);
|
|
262
|
+
tslib_1.__decorate([
|
|
263
|
+
(0, typeorm_1.OneToMany)(() => project_invitation_entity_1.ProjectInvitation, (invitation) => invitation.invitedUser, {
|
|
264
|
+
onDelete: 'CASCADE',
|
|
265
|
+
}),
|
|
266
|
+
tslib_1.__metadata("design:type", Array)
|
|
267
|
+
], User.prototype, "receivedProjectInvitations", void 0);
|
|
268
|
+
tslib_1.__decorate([
|
|
269
|
+
(0, typeorm_1.OneToMany)(() => form_1.FormSubmission, (submission) => submission.user, {
|
|
270
|
+
onDelete: 'CASCADE',
|
|
271
|
+
}),
|
|
272
|
+
tslib_1.__metadata("design:type", Array)
|
|
273
|
+
], User.prototype, "formSubmissions", void 0);
|
|
212
274
|
exports.User = User = tslib_1.__decorate([
|
|
213
275
|
(0, typeorm_1.Entity)()
|
|
214
276
|
], User);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/entities/user.entity.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/entities/user.entity.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AACjB,6CAA8C;AAC9C,yDAA4C;AAC5C,+EAAqE;AACrE,iEAAuD;AACvD,+EAAqE;AACrE,2EAAiE;AACjE,qDAA2C;AAC3C,qDAA2C;AAC3C,6EAAkE;AAClE,uCAAoC;AACpC,mEAAwD;AACxD,2EAAgE;AAChE,iCAAwC;AAExC,MAAa,iBAAiB;CA4B7B;AA5BD,8CA4BC;AAtBC;IALC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IAC3C,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,uCAAuC;QACpD,OAAO,EAAE,KAAK;KACf,CAAC;;6DAC2B;AAO7B;IALC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;IAC3C,IAAA,qBAAW,EAAC;QAC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EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;IACzC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,+EAA+E;QAC5F,OAAO,EAAE,GAAG;KACb,CAAC;;2CACqB;AAKvB;IAHC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE;QACpD,QAAQ,EAAE,SAAS;KACpB,CAAC;;2CACwB;AAK1B;IAHC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE;QACvD,QAAQ,EAAE,SAAS;KACpB,CAAC;;gDACmC;AAKrC;IAHC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE;QACtE,QAAQ,EAAE,SAAS;KACpB,CAAC;;oDAC2C;AAK7C;IAHC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE;QAC1E,QAAQ,EAAE,SAAS;KACpB,CAAC;;wDAC+C;AAKjD;IAHC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qBAAc,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE;QAChE,QAAQ,EAAE,SAAS;KACpB,CAAC;;6CACiC;eAvLxB,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAwLhB"}
|
|
@@ -9,26 +9,34 @@ import { ResourceIntroduction } from './entities/resourceIntroduction.entity';
|
|
|
9
9
|
import { ResourceIntroductionHistoryItem, IntroductionHistoryAction } from './entities/resourceIntroductionHistoryItem.entity';
|
|
10
10
|
import { ResourceIntroducer } from './entities/resourceIntroducer.entity';
|
|
11
11
|
import { ResourceUsage } from './entities/resourceUsage.entity';
|
|
12
|
-
import { RevokedToken } from './entities/revokedToken.entity';
|
|
13
12
|
import { SSOProvider, SSOProviderType } from './entities/ssoProvider.entity';
|
|
14
13
|
import { SSOProviderOIDCConfiguration } from './entities/ssoProvider.oidc';
|
|
14
|
+
import { SSOProviderSAMLConfiguration } from './entities/ssoProvider.saml';
|
|
15
15
|
import { User, SystemPermissions, type SystemPermission } from './entities/user.entity';
|
|
16
16
|
import { Session } from './entities/session.entity';
|
|
17
17
|
import { Attractap, AttractapFirmwareVersion } from './entities/attractap.entity';
|
|
18
|
-
import { ResourceFlowNode, ResourceFlowNodeType, getNodeDataSchema, NodeWithoutDataSchema, HttpRequestNodeDataSchema, MqttSendMessageNodeDataSchema, WaitNodeDataSchema, ButtonNodeDataSchema, IfNodeDataSchema, BillingTransactionItemCreateSchema, SetPayloadNodeDataSchema, MqttMessageReceivedNodeDataSchema } from './entities/resourceFlowNode';
|
|
18
|
+
import { ResourceFlowNode, ResourceFlowNodeType, getNodeDataSchema, NodeWithoutDataSchema, HttpRequestNodeDataSchema, MqttSendMessageNodeDataSchema, WaitNodeDataSchema, ButtonNodeDataSchema, IfNodeDataSchema, BillingTransactionItemCreateSchema, SetPayloadNodeDataSchema, MqttMessageReceivedNodeDataSchema, MqttWaitForMessageNodeDataSchema, ResourceUsageEndSessionNodeDataSchema, ErrorNodeDataSchema, InputResourceActivityNoActivityNodeDataSchema, ResourceActivityTrackActivityNodeDataSchema } from './entities/resourceFlowNode';
|
|
19
19
|
import { ResourceFlowEdge } from './entities/resourceFlowEdge';
|
|
20
20
|
import { ResourceFlowLog, ResourceFlowLogType } from './entities/resourceFlowLog';
|
|
21
21
|
import { ResourceMaintenance } from './entities/resource.maintenance';
|
|
22
|
+
import { ResourceMaintenanceSchedule, ResourceMaintenanceScheduleTriggerType } from './entities/resource-maintenance-schedule.entity';
|
|
23
|
+
import { ResourceMaintenanceScheduleUsageHoursConfig } from './entities/resource-maintenance-schedule-usage-hours-config.entity';
|
|
24
|
+
import { UsageDurationUnit } from './types/usageDurationUnit.enum';
|
|
25
|
+
import { ResourceMaintenanceScheduleUsageCountConfig } from './entities/resource-maintenance-schedule-usage-count-config.entity';
|
|
26
|
+
import { ResourceMaintenanceScheduleTimeIntervalConfig } from './entities/resource-maintenance-schedule-time-interval-config.entity';
|
|
22
27
|
import { ResourceUsageAction } from './entities/resourceUsage.type';
|
|
23
28
|
import { BillingTransaction, BillingTransactionStatus } from './entities/billing-transaction.entity';
|
|
24
29
|
import { ResourceBillingConfiguration } from './entities/resource-billing-configuration.entity';
|
|
25
30
|
import { Setting } from './entities/setting.entity';
|
|
26
31
|
import { BillingTransactionItem } from './entities/billing-transaction-item.entity';
|
|
27
|
-
|
|
32
|
+
import { Project } from './entities/project';
|
|
33
|
+
import { ProjectMember, ProjectMemberRole } from './entities/project-member.entity';
|
|
34
|
+
import { ProjectInvitation, ProjectInvitationStatus } from './entities/project-invitation.entity';
|
|
35
|
+
import { Form, FormField, FormSubmission, FormFieldType, ResourceFormAction } from './entities/form';
|
|
36
|
+
export { AuthenticationDetail, MqttServer, Resource, ResourceGroup, ResourceIntroduction, ResourceIntroductionHistoryItem, IntroductionHistoryAction, ResourceIntroducer, ResourceUsage, SSOProvider, SSOProviderType, SSOProviderOIDCConfiguration, SSOProviderSAMLConfiguration, User, SystemPermissions, SystemPermission, Session, NFCCard, Attractap, EmailTemplate, ResourceFlowNode, ResourceFlowNodeType, ResourceFlowEdge, getNodeDataSchema, NodeWithoutDataSchema as EventNodeDataSchema, HttpRequestNodeDataSchema, MqttSendMessageNodeDataSchema, WaitNodeDataSchema, ResourceFlowLog, ResourceFlowLogType, AttractapFirmwareVersion, ResourceMaintenance, ResourceMaintenanceSchedule, ResourceMaintenanceScheduleTriggerType, ResourceMaintenanceScheduleUsageHoursConfig, UsageDurationUnit, ResourceMaintenanceScheduleUsageCountConfig, ResourceMaintenanceScheduleTimeIntervalConfig, ResourceType, ResourceUsageAction, ButtonNodeDataSchema, IfNodeDataSchema, SetPayloadNodeDataSchema, BillingTransaction, ResourceBillingConfiguration, Setting, BillingTransactionStatus, BillingTransactionItem, BillingTransactionItemCreateSchema, MqttMessageReceivedNodeDataSchema, MqttWaitForMessageNodeDataSchema, ResourceUsageEndSessionNodeDataSchema, ErrorNodeDataSchema, Project, ProjectMember, ProjectMemberRole, ProjectInvitation, ProjectInvitationStatus, Form, FormField, FormSubmission, FormFieldType, ResourceFormAction, InputResourceActivityNoActivityNodeDataSchema, ResourceActivityTrackActivityNodeDataSchema, };
|
|
28
37
|
export declare const entities: {
|
|
29
38
|
User: typeof User;
|
|
30
39
|
AuthenticationDetail: typeof AuthenticationDetail;
|
|
31
|
-
RevokedToken: typeof RevokedToken;
|
|
32
40
|
Session: typeof Session;
|
|
33
41
|
Resource: typeof Resource;
|
|
34
42
|
ResourceGroup: typeof ResourceGroup;
|
|
@@ -39,6 +47,7 @@ export declare const entities: {
|
|
|
39
47
|
MqttServer: typeof MqttServer;
|
|
40
48
|
SSOProvider: typeof SSOProvider;
|
|
41
49
|
SSOProviderOIDCConfiguration: typeof SSOProviderOIDCConfiguration;
|
|
50
|
+
SSOProviderSAMLConfiguration: typeof SSOProviderSAMLConfiguration;
|
|
42
51
|
NFCCard: typeof NFCCard;
|
|
43
52
|
Attractap: typeof Attractap;
|
|
44
53
|
EmailTemplate: typeof EmailTemplate;
|
|
@@ -46,8 +55,18 @@ export declare const entities: {
|
|
|
46
55
|
ResourceFlowEdge: typeof ResourceFlowEdge;
|
|
47
56
|
ResourceFlowLog: typeof ResourceFlowLog;
|
|
48
57
|
ResourceMaintenance: typeof ResourceMaintenance;
|
|
58
|
+
ResourceMaintenanceSchedule: typeof ResourceMaintenanceSchedule;
|
|
59
|
+
ResourceMaintenanceScheduleUsageHoursConfig: typeof ResourceMaintenanceScheduleUsageHoursConfig;
|
|
60
|
+
ResourceMaintenanceScheduleUsageCountConfig: typeof ResourceMaintenanceScheduleUsageCountConfig;
|
|
61
|
+
ResourceMaintenanceScheduleTimeIntervalConfig: typeof ResourceMaintenanceScheduleTimeIntervalConfig;
|
|
49
62
|
BillingTransaction: typeof BillingTransaction;
|
|
50
63
|
ResourceBillingConfiguration: typeof ResourceBillingConfiguration;
|
|
51
64
|
Setting: typeof Setting;
|
|
52
65
|
BillingTransactionItem: typeof BillingTransactionItem;
|
|
66
|
+
Project: typeof Project;
|
|
67
|
+
ProjectMember: typeof ProjectMember;
|
|
68
|
+
ProjectInvitation: typeof ProjectInvitation;
|
|
69
|
+
Form: typeof Form;
|
|
70
|
+
FormField: typeof FormField;
|
|
71
|
+
FormSubmission: typeof FormSubmission;
|
|
53
72
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MqttWaitForMessageNodeDataSchema = exports.MqttMessageReceivedNodeDataSchema = exports.BillingTransactionItemCreateSchema = exports.BillingTransactionItem = exports.BillingTransactionStatus = exports.Setting = exports.ResourceBillingConfiguration = exports.BillingTransaction = exports.SetPayloadNodeDataSchema = exports.IfNodeDataSchema = exports.ButtonNodeDataSchema = exports.ResourceUsageAction = exports.ResourceType = exports.ResourceMaintenanceScheduleTimeIntervalConfig = exports.ResourceMaintenanceScheduleUsageCountConfig = exports.UsageDurationUnit = exports.ResourceMaintenanceScheduleUsageHoursConfig = exports.ResourceMaintenanceScheduleTriggerType = exports.ResourceMaintenanceSchedule = exports.ResourceMaintenance = exports.AttractapFirmwareVersion = exports.ResourceFlowLogType = exports.ResourceFlowLog = exports.WaitNodeDataSchema = exports.MqttSendMessageNodeDataSchema = exports.HttpRequestNodeDataSchema = exports.EventNodeDataSchema = exports.getNodeDataSchema = exports.ResourceFlowEdge = exports.ResourceFlowNodeType = exports.ResourceFlowNode = exports.EmailTemplate = exports.Attractap = exports.NFCCard = exports.Session = exports.SystemPermissions = exports.User = exports.SSOProviderSAMLConfiguration = exports.SSOProviderOIDCConfiguration = exports.SSOProviderType = exports.SSOProvider = exports.ResourceUsage = exports.ResourceIntroducer = exports.IntroductionHistoryAction = exports.ResourceIntroductionHistoryItem = exports.ResourceIntroduction = exports.ResourceGroup = exports.Resource = exports.MqttServer = exports.AuthenticationDetail = void 0;
|
|
4
|
+
exports.entities = exports.ResourceActivityTrackActivityNodeDataSchema = exports.InputResourceActivityNoActivityNodeDataSchema = exports.ResourceFormAction = exports.FormFieldType = exports.FormSubmission = exports.FormField = exports.Form = exports.ProjectInvitationStatus = exports.ProjectInvitation = exports.ProjectMemberRole = exports.ProjectMember = exports.Project = exports.ErrorNodeDataSchema = exports.ResourceUsageEndSessionNodeDataSchema = void 0;
|
|
4
5
|
// Import entities
|
|
5
6
|
const email_template_entity_1 = require("./entities/email-template.entity");
|
|
6
7
|
Object.defineProperty(exports, "EmailTemplate", { enumerable: true, get: function () { return email_template_entity_1.EmailTemplate; } });
|
|
@@ -25,13 +26,13 @@ const resourceIntroducer_entity_1 = require("./entities/resourceIntroducer.entit
|
|
|
25
26
|
Object.defineProperty(exports, "ResourceIntroducer", { enumerable: true, get: function () { return resourceIntroducer_entity_1.ResourceIntroducer; } });
|
|
26
27
|
const resourceUsage_entity_1 = require("./entities/resourceUsage.entity");
|
|
27
28
|
Object.defineProperty(exports, "ResourceUsage", { enumerable: true, get: function () { return resourceUsage_entity_1.ResourceUsage; } });
|
|
28
|
-
const revokedToken_entity_1 = require("./entities/revokedToken.entity");
|
|
29
|
-
Object.defineProperty(exports, "RevokedToken", { enumerable: true, get: function () { return revokedToken_entity_1.RevokedToken; } });
|
|
30
29
|
const ssoProvider_entity_1 = require("./entities/ssoProvider.entity");
|
|
31
30
|
Object.defineProperty(exports, "SSOProvider", { enumerable: true, get: function () { return ssoProvider_entity_1.SSOProvider; } });
|
|
32
31
|
Object.defineProperty(exports, "SSOProviderType", { enumerable: true, get: function () { return ssoProvider_entity_1.SSOProviderType; } });
|
|
33
32
|
const ssoProvider_oidc_1 = require("./entities/ssoProvider.oidc");
|
|
34
33
|
Object.defineProperty(exports, "SSOProviderOIDCConfiguration", { enumerable: true, get: function () { return ssoProvider_oidc_1.SSOProviderOIDCConfiguration; } });
|
|
34
|
+
const ssoProvider_saml_1 = require("./entities/ssoProvider.saml");
|
|
35
|
+
Object.defineProperty(exports, "SSOProviderSAMLConfiguration", { enumerable: true, get: function () { return ssoProvider_saml_1.SSOProviderSAMLConfiguration; } });
|
|
35
36
|
const user_entity_1 = require("./entities/user.entity");
|
|
36
37
|
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_entity_1.User; } });
|
|
37
38
|
Object.defineProperty(exports, "SystemPermissions", { enumerable: true, get: function () { return user_entity_1.SystemPermissions; } });
|
|
@@ -53,6 +54,11 @@ Object.defineProperty(exports, "IfNodeDataSchema", { enumerable: true, get: func
|
|
|
53
54
|
Object.defineProperty(exports, "BillingTransactionItemCreateSchema", { enumerable: true, get: function () { return resourceFlowNode_1.BillingTransactionItemCreateSchema; } });
|
|
54
55
|
Object.defineProperty(exports, "SetPayloadNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.SetPayloadNodeDataSchema; } });
|
|
55
56
|
Object.defineProperty(exports, "MqttMessageReceivedNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.MqttMessageReceivedNodeDataSchema; } });
|
|
57
|
+
Object.defineProperty(exports, "MqttWaitForMessageNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.MqttWaitForMessageNodeDataSchema; } });
|
|
58
|
+
Object.defineProperty(exports, "ResourceUsageEndSessionNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceUsageEndSessionNodeDataSchema; } });
|
|
59
|
+
Object.defineProperty(exports, "ErrorNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ErrorNodeDataSchema; } });
|
|
60
|
+
Object.defineProperty(exports, "InputResourceActivityNoActivityNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.InputResourceActivityNoActivityNodeDataSchema; } });
|
|
61
|
+
Object.defineProperty(exports, "ResourceActivityTrackActivityNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceActivityTrackActivityNodeDataSchema; } });
|
|
56
62
|
const resourceFlowEdge_1 = require("./entities/resourceFlowEdge");
|
|
57
63
|
Object.defineProperty(exports, "ResourceFlowEdge", { enumerable: true, get: function () { return resourceFlowEdge_1.ResourceFlowEdge; } });
|
|
58
64
|
const resourceFlowLog_1 = require("./entities/resourceFlowLog");
|
|
@@ -60,6 +66,17 @@ Object.defineProperty(exports, "ResourceFlowLog", { enumerable: true, get: funct
|
|
|
60
66
|
Object.defineProperty(exports, "ResourceFlowLogType", { enumerable: true, get: function () { return resourceFlowLog_1.ResourceFlowLogType; } });
|
|
61
67
|
const resource_maintenance_1 = require("./entities/resource.maintenance");
|
|
62
68
|
Object.defineProperty(exports, "ResourceMaintenance", { enumerable: true, get: function () { return resource_maintenance_1.ResourceMaintenance; } });
|
|
69
|
+
const resource_maintenance_schedule_entity_1 = require("./entities/resource-maintenance-schedule.entity");
|
|
70
|
+
Object.defineProperty(exports, "ResourceMaintenanceSchedule", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceSchedule; } });
|
|
71
|
+
Object.defineProperty(exports, "ResourceMaintenanceScheduleTriggerType", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceScheduleTriggerType; } });
|
|
72
|
+
const resource_maintenance_schedule_usage_hours_config_entity_1 = require("./entities/resource-maintenance-schedule-usage-hours-config.entity");
|
|
73
|
+
Object.defineProperty(exports, "ResourceMaintenanceScheduleUsageHoursConfig", { enumerable: true, get: function () { return resource_maintenance_schedule_usage_hours_config_entity_1.ResourceMaintenanceScheduleUsageHoursConfig; } });
|
|
74
|
+
const usageDurationUnit_enum_1 = require("./types/usageDurationUnit.enum");
|
|
75
|
+
Object.defineProperty(exports, "UsageDurationUnit", { enumerable: true, get: function () { return usageDurationUnit_enum_1.UsageDurationUnit; } });
|
|
76
|
+
const resource_maintenance_schedule_usage_count_config_entity_1 = require("./entities/resource-maintenance-schedule-usage-count-config.entity");
|
|
77
|
+
Object.defineProperty(exports, "ResourceMaintenanceScheduleUsageCountConfig", { enumerable: true, get: function () { return resource_maintenance_schedule_usage_count_config_entity_1.ResourceMaintenanceScheduleUsageCountConfig; } });
|
|
78
|
+
const resource_maintenance_schedule_time_interval_config_entity_1 = require("./entities/resource-maintenance-schedule-time-interval-config.entity");
|
|
79
|
+
Object.defineProperty(exports, "ResourceMaintenanceScheduleTimeIntervalConfig", { enumerable: true, get: function () { return resource_maintenance_schedule_time_interval_config_entity_1.ResourceMaintenanceScheduleTimeIntervalConfig; } });
|
|
63
80
|
const resourceUsage_type_1 = require("./entities/resourceUsage.type");
|
|
64
81
|
Object.defineProperty(exports, "ResourceUsageAction", { enumerable: true, get: function () { return resourceUsage_type_1.ResourceUsageAction; } });
|
|
65
82
|
const billing_transaction_entity_1 = require("./entities/billing-transaction.entity");
|
|
@@ -71,11 +88,24 @@ const setting_entity_1 = require("./entities/setting.entity");
|
|
|
71
88
|
Object.defineProperty(exports, "Setting", { enumerable: true, get: function () { return setting_entity_1.Setting; } });
|
|
72
89
|
const billing_transaction_item_entity_1 = require("./entities/billing-transaction-item.entity");
|
|
73
90
|
Object.defineProperty(exports, "BillingTransactionItem", { enumerable: true, get: function () { return billing_transaction_item_entity_1.BillingTransactionItem; } });
|
|
91
|
+
const project_1 = require("./entities/project");
|
|
92
|
+
Object.defineProperty(exports, "Project", { enumerable: true, get: function () { return project_1.Project; } });
|
|
93
|
+
const project_member_entity_1 = require("./entities/project-member.entity");
|
|
94
|
+
Object.defineProperty(exports, "ProjectMember", { enumerable: true, get: function () { return project_member_entity_1.ProjectMember; } });
|
|
95
|
+
Object.defineProperty(exports, "ProjectMemberRole", { enumerable: true, get: function () { return project_member_entity_1.ProjectMemberRole; } });
|
|
96
|
+
const project_invitation_entity_1 = require("./entities/project-invitation.entity");
|
|
97
|
+
Object.defineProperty(exports, "ProjectInvitation", { enumerable: true, get: function () { return project_invitation_entity_1.ProjectInvitation; } });
|
|
98
|
+
Object.defineProperty(exports, "ProjectInvitationStatus", { enumerable: true, get: function () { return project_invitation_entity_1.ProjectInvitationStatus; } });
|
|
99
|
+
const form_1 = require("./entities/form");
|
|
100
|
+
Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return form_1.Form; } });
|
|
101
|
+
Object.defineProperty(exports, "FormField", { enumerable: true, get: function () { return form_1.FormField; } });
|
|
102
|
+
Object.defineProperty(exports, "FormSubmission", { enumerable: true, get: function () { return form_1.FormSubmission; } });
|
|
103
|
+
Object.defineProperty(exports, "FormFieldType", { enumerable: true, get: function () { return form_1.FormFieldType; } });
|
|
104
|
+
Object.defineProperty(exports, "ResourceFormAction", { enumerable: true, get: function () { return form_1.ResourceFormAction; } });
|
|
74
105
|
// Export the entities object
|
|
75
106
|
exports.entities = {
|
|
76
107
|
User: user_entity_1.User,
|
|
77
108
|
AuthenticationDetail: authenticationDetail_entity_1.AuthenticationDetail,
|
|
78
|
-
RevokedToken: revokedToken_entity_1.RevokedToken,
|
|
79
109
|
Session: session_entity_1.Session,
|
|
80
110
|
Resource: resource_entity_1.Resource,
|
|
81
111
|
ResourceGroup: resourceGroup_entity_1.ResourceGroup,
|
|
@@ -86,6 +116,7 @@ exports.entities = {
|
|
|
86
116
|
MqttServer: mqttServer_entity_1.MqttServer,
|
|
87
117
|
SSOProvider: ssoProvider_entity_1.SSOProvider,
|
|
88
118
|
SSOProviderOIDCConfiguration: ssoProvider_oidc_1.SSOProviderOIDCConfiguration,
|
|
119
|
+
SSOProviderSAMLConfiguration: ssoProvider_saml_1.SSOProviderSAMLConfiguration,
|
|
89
120
|
NFCCard: nfcCard_entity_1.NFCCard,
|
|
90
121
|
Attractap: attractap_entity_1.Attractap,
|
|
91
122
|
EmailTemplate: email_template_entity_1.EmailTemplate,
|
|
@@ -93,9 +124,19 @@ exports.entities = {
|
|
|
93
124
|
ResourceFlowEdge: resourceFlowEdge_1.ResourceFlowEdge,
|
|
94
125
|
ResourceFlowLog: resourceFlowLog_1.ResourceFlowLog,
|
|
95
126
|
ResourceMaintenance: resource_maintenance_1.ResourceMaintenance,
|
|
127
|
+
ResourceMaintenanceSchedule: resource_maintenance_schedule_entity_1.ResourceMaintenanceSchedule,
|
|
128
|
+
ResourceMaintenanceScheduleUsageHoursConfig: resource_maintenance_schedule_usage_hours_config_entity_1.ResourceMaintenanceScheduleUsageHoursConfig,
|
|
129
|
+
ResourceMaintenanceScheduleUsageCountConfig: resource_maintenance_schedule_usage_count_config_entity_1.ResourceMaintenanceScheduleUsageCountConfig,
|
|
130
|
+
ResourceMaintenanceScheduleTimeIntervalConfig: resource_maintenance_schedule_time_interval_config_entity_1.ResourceMaintenanceScheduleTimeIntervalConfig,
|
|
96
131
|
BillingTransaction: billing_transaction_entity_1.BillingTransaction,
|
|
97
132
|
ResourceBillingConfiguration: resource_billing_configuration_entity_1.ResourceBillingConfiguration,
|
|
98
133
|
Setting: setting_entity_1.Setting,
|
|
99
134
|
BillingTransactionItem: billing_transaction_item_entity_1.BillingTransactionItem,
|
|
135
|
+
Project: project_1.Project,
|
|
136
|
+
ProjectMember: project_member_entity_1.ProjectMember,
|
|
137
|
+
ProjectInvitation: project_invitation_entity_1.ProjectInvitation,
|
|
138
|
+
Form: form_1.Form,
|
|
139
|
+
FormField: form_1.FormField,
|
|
140
|
+
FormSubmission: form_1.FormSubmission,
|
|
100
141
|
};
|
|
101
142
|
//# sourceMappingURL=entities-index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities-index.js","sourceRoot":"","sources":["../../../../../libs/database-entities/src/lib/entities-index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entities-index.js","sourceRoot":"","sources":["../../../../../libs/database-entities/src/lib/entities-index.ts"],"names":[],"mappings":";;;;AAAA,kBAAkB;AAClB,4EAAiE;AAmF/D,8FAnFO,qCAAa,OAmFP;AAlFf,wFAA8E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8FAjEwC,oBAAa,OAiExC;AACb,mGAlEuD,yBAAkB,OAkEvD;AAKpB,6BAA6B;AAChB,QAAA,QAAQ,GAAG;IACtB,IAAI,EAAJ,kBAAI;IACJ,oBAAoB,EAApB,kDAAoB;IACpB,OAAO,EAAP,wBAAO;IACP,QAAQ,EAAR,0BAAQ;IACR,aAAa,EAAb,oCAAa;IACb,aAAa,EAAb,oCAAa;IACb,oBAAoB,EAApB,kDAAoB;IACpB,kBAAkB,EAAlB,8CAAkB;IAClB,+BAA+B,EAA/B,wEAA+B;IAC/B,UAAU,EAAV,8BAAU;IACV,WAAW,EAAX,gCAAW;IACX,4BAA4B,EAA5B,+CAA4B;IAC5B,4BAA4B,EAA5B,+CAA4B;IAC5B,OAAO,EAAP,wBAAO;IACP,SAAS,EAAT,4BAAS;IACT,aAAa,EAAb,qCAAa;IACb,gBAAgB,EAAhB,mCAAgB;IAChB,gBAAgB,EAAhB,mCAAgB;IAChB,eAAe,EAAf,iCAAe;IACf,mBAAmB,EAAnB,0CAAmB;IACnB,2BAA2B,EAA3B,kEAA2B;IAC3B,2CAA2C,EAA3C,qGAA2C;IAC3C,2CAA2C,EAA3C,qGAA2C;IAC3C,6CAA6C,EAA7C,yGAA6C;IAC7C,kBAAkB,EAAlB,+CAAkB;IAClB,4BAA4B,EAA5B,oEAA4B;IAC5B,OAAO,EAAP,wBAAO;IACP,sBAAsB,EAAtB,wDAAsB;IACtB,OAAO,EAAP,iBAAO;IACP,aAAa,EAAb,qCAAa;IACb,iBAAiB,EAAjB,6CAAiB;IACjB,IAAI,EAAJ,WAAI;IACJ,SAAS,EAAT,gBAAS;IACT,cAAc,EAAd,qBAAc;CACf,CAAC"}
|
|
@@ -5,5 +5,6 @@ var AuthenticationType;
|
|
|
5
5
|
(function (AuthenticationType) {
|
|
6
6
|
AuthenticationType["LOCAL_PASSWORD"] = "local_password";
|
|
7
7
|
AuthenticationType["SSO"] = "sso";
|
|
8
|
+
AuthenticationType["TOTP"] = "totp";
|
|
8
9
|
})(AuthenticationType || (exports.AuthenticationType = AuthenticationType = {}));
|
|
9
10
|
//# sourceMappingURL=authenticationType.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticationType.enum.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/types/authenticationType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"authenticationType.enum.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/types/authenticationType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uDAAiC,CAAA;IACjC,iCAAW,CAAA;IACX,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UsageDurationUnit = void 0;
|
|
4
|
+
var UsageDurationUnit;
|
|
5
|
+
(function (UsageDurationUnit) {
|
|
6
|
+
UsageDurationUnit["MINUTES"] = "MINUTES";
|
|
7
|
+
UsageDurationUnit["HOURS"] = "HOURS";
|
|
8
|
+
UsageDurationUnit["DAYS"] = "DAYS";
|
|
9
|
+
})(UsageDurationUnit || (exports.UsageDurationUnit = UsageDurationUnit = {}));
|
|
10
|
+
//# sourceMappingURL=usageDurationUnit.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usageDurationUnit.enum.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/types/usageDurationUnit.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,oCAAe,CAAA;IACf,kCAAa,CAAA;AACf,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B"}
|