@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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.User =
|
|
3
|
+
exports.User = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const typeorm_1 = require("typeorm");
|
|
6
6
|
const swagger_1 = require("@nestjs/swagger");
|
|
@@ -16,41 +16,8 @@ const project_1 = require("./project");
|
|
|
16
16
|
const project_member_entity_1 = require("./project-member.entity");
|
|
17
17
|
const project_invitation_entity_1 = require("./project-invitation.entity");
|
|
18
18
|
const form_1 = require("./form");
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
exports.SystemPermissions = SystemPermissions;
|
|
22
|
-
tslib_1.__decorate([
|
|
23
|
-
(0, typeorm_1.Column)({ default: false, type: 'boolean' }),
|
|
24
|
-
(0, swagger_1.ApiProperty)({
|
|
25
|
-
description: 'Whether the user can manage resources',
|
|
26
|
-
example: false,
|
|
27
|
-
}),
|
|
28
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
29
|
-
], SystemPermissions.prototype, "canManageResources", void 0);
|
|
30
|
-
tslib_1.__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ default: false, type: 'boolean' }),
|
|
32
|
-
(0, swagger_1.ApiProperty)({
|
|
33
|
-
description: 'Whether the user can manage system configuration',
|
|
34
|
-
example: false,
|
|
35
|
-
}),
|
|
36
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
37
|
-
], SystemPermissions.prototype, "canManageSystemConfiguration", void 0);
|
|
38
|
-
tslib_1.__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ default: false, type: 'boolean' }),
|
|
40
|
-
(0, swagger_1.ApiProperty)({
|
|
41
|
-
description: 'Whether the user can manage users',
|
|
42
|
-
example: false,
|
|
43
|
-
}),
|
|
44
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
45
|
-
], SystemPermissions.prototype, "canManageUsers", void 0);
|
|
46
|
-
tslib_1.__decorate([
|
|
47
|
-
(0, typeorm_1.Column)({ default: false, type: 'boolean' }),
|
|
48
|
-
(0, swagger_1.ApiProperty)({
|
|
49
|
-
description: 'Whether the user can manage billing',
|
|
50
|
-
example: false,
|
|
51
|
-
}),
|
|
52
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
53
|
-
], SystemPermissions.prototype, "canManageBilling", void 0);
|
|
19
|
+
const user_role_entity_1 = require("./user-role.entity");
|
|
20
|
+
const api_token_entity_1 = require("./api-token.entity");
|
|
54
21
|
let User = class User {
|
|
55
22
|
};
|
|
56
23
|
exports.User = User;
|
|
@@ -78,6 +45,14 @@ tslib_1.__decorate([
|
|
|
78
45
|
(0, class_transformer_1.Exclude)(),
|
|
79
46
|
tslib_1.__metadata("design:type", String)
|
|
80
47
|
], User.prototype, "email", void 0);
|
|
48
|
+
tslib_1.__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 35, default: 'en' }),
|
|
50
|
+
(0, swagger_1.ApiProperty)({
|
|
51
|
+
description: "The user's preferred locale (BCP 47 language tag)",
|
|
52
|
+
example: 'en',
|
|
53
|
+
}),
|
|
54
|
+
tslib_1.__metadata("design:type", String)
|
|
55
|
+
], User.prototype, "locale", void 0);
|
|
81
56
|
tslib_1.__decorate([
|
|
82
57
|
(0, typeorm_1.Column)({ default: false, type: 'boolean' }),
|
|
83
58
|
(0, swagger_1.ApiProperty)({
|
|
@@ -86,6 +61,10 @@ tslib_1.__decorate([
|
|
|
86
61
|
}),
|
|
87
62
|
tslib_1.__metadata("design:type", Boolean)
|
|
88
63
|
], User.prototype, "isEmailVerified", void 0);
|
|
64
|
+
tslib_1.__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ default: false, type: 'boolean' }),
|
|
66
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
67
|
+
], User.prototype, "isDisabled", void 0);
|
|
89
68
|
tslib_1.__decorate([
|
|
90
69
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
91
70
|
(0, class_transformer_1.Exclude)(),
|
|
@@ -106,18 +85,6 @@ tslib_1.__decorate([
|
|
|
106
85
|
(0, class_transformer_1.Exclude)(),
|
|
107
86
|
tslib_1.__metadata("design:type", Date)
|
|
108
87
|
], User.prototype, "passwordResetTokenExpiresAt", void 0);
|
|
109
|
-
tslib_1.__decorate([
|
|
110
|
-
(0, typeorm_1.Column)(() => SystemPermissions, { prefix: '' }),
|
|
111
|
-
(0, swagger_1.ApiProperty)({
|
|
112
|
-
description: 'System-wide permissions for the user',
|
|
113
|
-
example: {
|
|
114
|
-
canManageResources: true,
|
|
115
|
-
canManageSystemConfiguration: false,
|
|
116
|
-
canManageUsers: false,
|
|
117
|
-
},
|
|
118
|
-
}),
|
|
119
|
-
tslib_1.__metadata("design:type", SystemPermissions)
|
|
120
|
-
], User.prototype, "systemPermissions", void 0);
|
|
121
88
|
tslib_1.__decorate([
|
|
122
89
|
(0, typeorm_1.CreateDateColumn)(),
|
|
123
90
|
(0, swagger_1.ApiProperty)({
|
|
@@ -286,7 +253,17 @@ tslib_1.__decorate([
|
|
|
286
253
|
}),
|
|
287
254
|
tslib_1.__metadata("design:type", Array)
|
|
288
255
|
], User.prototype, "formSubmissions", void 0);
|
|
256
|
+
tslib_1.__decorate([
|
|
257
|
+
(0, typeorm_1.OneToMany)(() => user_role_entity_1.UserRole, (ur) => ur.user, { onDelete: 'CASCADE' }),
|
|
258
|
+
(0, swagger_1.ApiProperty)({ type: [user_role_entity_1.UserRole], description: 'Role assignments for this user', required: false }),
|
|
259
|
+
tslib_1.__metadata("design:type", Array)
|
|
260
|
+
], User.prototype, "userRoles", void 0);
|
|
261
|
+
tslib_1.__decorate([
|
|
262
|
+
(0, typeorm_1.OneToMany)(() => api_token_entity_1.ApiToken, (apiToken) => apiToken.user, { onDelete: 'CASCADE' }),
|
|
263
|
+
tslib_1.__metadata("design:type", Array)
|
|
264
|
+
], User.prototype, "apiTokens", void 0);
|
|
289
265
|
exports.User = User = tslib_1.__decorate([
|
|
266
|
+
(0, typeorm_1.Index)('IDX_user_deleteAccountToken', ['deleteAccountToken']),
|
|
290
267
|
(0, typeorm_1.Entity)()
|
|
291
268
|
], User);
|
|
292
269
|
//# sourceMappingURL=user.entity.js.map
|
|
@@ -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,qCASiB;AACjB,6CAA8C;AAC9C,yDAA4C;AAC5C,+EAAqE;AACrE,iEAAuD;AACvD,+EAAqE;AACrE,2EAAiE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AS,EAAE,CAAC;IACnE,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,2BAAQ,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uCAC3E;AAGvB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2BAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;;uCACzD;eAzMZ,IAAI;IAFhB,IAAA,eAAK,EAAC,6BAA6B,EAAE,CAAC,oBAAoB,CAAC,CAAC;IAC5D,IAAA,gBAAM,GAAE;GACI,IAAI,CA0MhB"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { AuditLog } from './entities/audit-log.entity';
|
|
1
2
|
import { EmailTemplate } from './entities/email-template.entity';
|
|
3
|
+
import { EmailTemplateTranslation } from './entities/email-template-translation.entity';
|
|
2
4
|
import { AuthenticationDetail } from './entities/authenticationDetail.entity';
|
|
3
5
|
import { MqttServer } from './entities/mqttServer.entity';
|
|
4
6
|
import { NFCCard } from './entities/nfcCard.entity';
|
|
@@ -13,17 +15,16 @@ import { SupervisionMode, AutoIntroductionTarget } from './entities/resource.sup
|
|
|
13
15
|
import { SSOProvider, SSOProviderType } from './entities/ssoProvider.entity';
|
|
14
16
|
import { SSOProviderOIDCConfiguration } from './entities/ssoProvider.oidc';
|
|
15
17
|
import { SSOProviderSAMLConfiguration } from './entities/ssoProvider.saml';
|
|
16
|
-
import { User
|
|
18
|
+
import { User } from './entities/user.entity';
|
|
17
19
|
import { Session } from './entities/session.entity';
|
|
18
20
|
import { Attractap, AttractapFirmwareVersion } from './entities/attractap.entity';
|
|
19
21
|
import { AttractapCrashReport } from './entities/attractapCrashReport.entity';
|
|
20
|
-
import { ResourceFlowNode, ResourceFlowNodeType, getNodeDataSchema, NodeWithoutDataSchema, HttpRequestNodeDataSchema, MqttSendMessageNodeDataSchema, WaitNodeDataSchema, ButtonNodeDataSchema, IfNodeDataSchema, BillingTransactionItemCreateSchema, SetPayloadNodeDataSchema, MqttMessageReceivedNodeDataSchema, MqttWaitForMessageNodeDataSchema, ResourceUsageEndSessionNodeDataSchema, ErrorNodeDataSchema, InputResourceActivityNoActivityNodeDataSchema, ResourceActivityTrackActivityNodeDataSchema, ResourceHealthHeartbeatNodeDataSchema, ResourceHealthSetNodeDataSchema, HealthStateOptionEnum, SetVariablesNodeDataSchema, GetVariablesNodeDataSchema, VariableChangedNodeDataSchema, VariableScopeSchema } from './entities/resourceFlowNode';
|
|
22
|
+
import { ResourceFlowNode, ResourceFlowNodeType, getNodeDataSchema, NodeWithoutDataSchema, HttpRequestNodeDataSchema, MqttSendMessageNodeDataSchema, WaitNodeDataSchema, ButtonNodeDataSchema, IfNodeDataSchema, BillingTransactionItemCreateSchema, SetPayloadNodeDataSchema, MqttMessageReceivedNodeDataSchema, MqttWaitForMessageNodeDataSchema, ResourceUsageEndSessionNodeDataSchema, ErrorNodeDataSchema, InputResourceActivityNoActivityNodeDataSchema, ResourceActivityTrackActivityNodeDataSchema, ResourceOperatingTransitionNodeDataSchema, ResourceHealthHeartbeatNodeDataSchema, ResourceHealthSetNodeDataSchema, HealthStateOptionEnum, SetVariablesNodeDataSchema, GetVariablesNodeDataSchema, VariableChangedNodeDataSchema, VariableScopeSchema, CompanionLockNodeDataSchema, CompanionIdleActiveNodeDataSchema, CompanionForegroundAppNodeDataSchema, CompanionUsbDeviceNodeDataSchema, getExternalEffectFailureBehavior } from './entities/resourceFlowNode';
|
|
21
23
|
import { ResourceHealthState, ResourceHealthStatus, ResourceHealthSource } from './entities/resourceHealthState.entity';
|
|
22
24
|
import { ResourceFlowEdge } from './entities/resourceFlowEdge';
|
|
23
|
-
import { ResourceFlowLog, ResourceFlowLogType } from './entities/resourceFlowLog';
|
|
24
25
|
import { ResourceMaintenance } from './entities/resource.maintenance';
|
|
25
26
|
import { ResourceMaintenanceRequest, MaintenanceRequestStatus } from './entities/resource-maintenance-request.entity';
|
|
26
|
-
import { ResourceMaintenanceSchedule, ResourceMaintenanceScheduleTriggerType } from './entities/resource-maintenance-schedule.entity';
|
|
27
|
+
import { ResourceMaintenanceSchedule, ResourceMaintenanceScheduleDurationBasis, ResourceMaintenanceScheduleTriggerType } from './entities/resource-maintenance-schedule.entity';
|
|
27
28
|
import { ResourceMaintenanceScheduleUsageHoursConfig } from './entities/resource-maintenance-schedule-usage-hours-config.entity';
|
|
28
29
|
import { UsageDurationUnit } from './types/usageDurationUnit.enum';
|
|
29
30
|
import { ResourceMaintenanceScheduleUsageCountConfig } from './entities/resource-maintenance-schedule-usage-count-config.entity';
|
|
@@ -41,14 +42,26 @@ import { ResourceFlowVariable, ResourceFlowVariableScope, type ResourceFlowVaria
|
|
|
41
42
|
import { PasswordPolicy, PASSWORD_POLICY_SINGLETON_ID } from './entities/password-policy.entity';
|
|
42
43
|
import { PasswordHistory } from './entities/password-history.entity';
|
|
43
44
|
import { PasswordPolicyOverride, PasswordPolicyRole, PASSWORD_POLICY_ROLES } from './entities/password-policy-override.entity';
|
|
44
|
-
import { PasswordPolicyAudit, PasswordPolicyAuditEvent } from './entities/password-policy-audit.entity';
|
|
45
45
|
import { Conversation } from './entities/conversation.entity';
|
|
46
46
|
import { ConversationParticipant } from './entities/conversation-participant.entity';
|
|
47
47
|
import { Message, MessageReferenceType } from './entities/message.entity';
|
|
48
48
|
import { NotificationPreference } from './entities/notification-preference.entity';
|
|
49
49
|
import { PushSubscription } from './entities/push-subscription.entity';
|
|
50
|
-
|
|
50
|
+
import { Passkey, PasskeyChallenge } from './entities/passkey.entity';
|
|
51
|
+
import { CompanionDevice } from './entities/companion-device.entity';
|
|
52
|
+
import { EmailLayout, EMAIL_LAYOUT_SINGLETON_ID } from './entities/email-layout.entity';
|
|
53
|
+
import { Permission } from './entities/permission.entity';
|
|
54
|
+
import { Role } from './entities/role.entity';
|
|
55
|
+
import { RolePermission } from './entities/role-permission.entity';
|
|
56
|
+
import { UserRole, UserRoleSource } from './entities/user-role.entity';
|
|
57
|
+
import { ApiToken } from './entities/api-token.entity';
|
|
58
|
+
import { ApiTokenPermission } from './entities/api-token-permission.entity';
|
|
59
|
+
import { ResourceOperatingInterval } from './entities/resource-operating-interval.entity';
|
|
60
|
+
import { ResourceUsageLifecycleAttempt } from './entities/resource-usage-lifecycle-attempt.entity';
|
|
61
|
+
export type { LifecycleBillingItem } from './entities/resource-usage-lifecycle-attempt.entity';
|
|
62
|
+
export { AuditLog, AuthenticationDetail, MqttServer, Resource, ResourceGroup, ResourceIntroduction, ResourceIntroductionHistoryItem, IntroductionHistoryAction, ResourceIntroducer, ResourceIntroducerType, ResourceUsage, SSOProvider, SSOProviderType, SSOProviderOIDCConfiguration, SSOProviderSAMLConfiguration, User, Session, NFCCard, Attractap, AttractapCrashReport, EmailTemplate, EmailTemplateTranslation, ResourceFlowNode, ResourceFlowNodeType, ResourceFlowEdge, getNodeDataSchema, NodeWithoutDataSchema as EventNodeDataSchema, HttpRequestNodeDataSchema, MqttSendMessageNodeDataSchema, WaitNodeDataSchema, AttractapFirmwareVersion, ResourceMaintenance, ResourceMaintenanceRequest, MaintenanceRequestStatus, ResourceMaintenanceSchedule, ResourceMaintenanceScheduleDurationBasis, ResourceMaintenanceScheduleTriggerType, ResourceMaintenanceScheduleUsageHoursConfig, UsageDurationUnit, ResourceMaintenanceScheduleUsageCountConfig, ResourceMaintenanceScheduleTimeIntervalConfig, ResourceType, SupervisionMode, AutoIntroductionTarget, ResourceUsageAction, ButtonNodeDataSchema, IfNodeDataSchema, SetPayloadNodeDataSchema, BillingTransaction, ResourceBillingConfiguration, Setting, BillingTransactionStatus, BillingTransactionItem, BillingTransactionItemCreateSchema, MqttMessageReceivedNodeDataSchema, MqttWaitForMessageNodeDataSchema, getExternalEffectFailureBehavior, ResourceUsageEndSessionNodeDataSchema, ErrorNodeDataSchema, Project, ProjectMember, ProjectMemberRole, ProjectInvitation, ProjectInvitationStatus, Form, FormField, FormSubmission, FormFieldType, ResourceFormAction, InputResourceActivityNoActivityNodeDataSchema, ResourceActivityTrackActivityNodeDataSchema, ResourceOperatingTransitionNodeDataSchema, ResourceHealthHeartbeatNodeDataSchema, ResourceHealthSetNodeDataSchema, HealthStateOptionEnum, ResourceHealthState, ResourceHealthStatus, ResourceHealthSource, ResourceFlowVariable, ResourceFlowVariableScope, type ResourceFlowVariableValueType, SetVariablesNodeDataSchema, GetVariablesNodeDataSchema, VariableChangedNodeDataSchema, VariableScopeSchema, CompanionLockNodeDataSchema, CompanionIdleActiveNodeDataSchema, CompanionForegroundAppNodeDataSchema, CompanionUsbDeviceNodeDataSchema, PasswordPolicy, PASSWORD_POLICY_SINGLETON_ID, PasswordHistory, PasswordPolicyOverride, PasswordPolicyRole, PASSWORD_POLICY_ROLES, Conversation, ConversationParticipant, Message, MessageReferenceType, NotificationPreference, PushSubscription, Passkey, PasskeyChallenge, CompanionDevice, EmailLayout, EMAIL_LAYOUT_SINGLETON_ID, Permission, Role, RolePermission, UserRole, UserRoleSource, ApiToken, ApiTokenPermission, ResourceOperatingInterval, ResourceUsageLifecycleAttempt, };
|
|
51
63
|
export declare const entities: {
|
|
64
|
+
AuditLog: typeof AuditLog;
|
|
52
65
|
User: typeof User;
|
|
53
66
|
AuthenticationDetail: typeof AuthenticationDetail;
|
|
54
67
|
Session: typeof Session;
|
|
@@ -66,9 +79,9 @@ export declare const entities: {
|
|
|
66
79
|
Attractap: typeof Attractap;
|
|
67
80
|
AttractapCrashReport: typeof AttractapCrashReport;
|
|
68
81
|
EmailTemplate: typeof EmailTemplate;
|
|
82
|
+
EmailTemplateTranslation: typeof EmailTemplateTranslation;
|
|
69
83
|
ResourceFlowNode: typeof ResourceFlowNode;
|
|
70
84
|
ResourceFlowEdge: typeof ResourceFlowEdge;
|
|
71
|
-
ResourceFlowLog: typeof ResourceFlowLog;
|
|
72
85
|
ResourceMaintenance: typeof ResourceMaintenance;
|
|
73
86
|
ResourceMaintenanceRequest: typeof ResourceMaintenanceRequest;
|
|
74
87
|
ResourceMaintenanceSchedule: typeof ResourceMaintenanceSchedule;
|
|
@@ -90,10 +103,20 @@ export declare const entities: {
|
|
|
90
103
|
PasswordPolicy: typeof PasswordPolicy;
|
|
91
104
|
PasswordHistory: typeof PasswordHistory;
|
|
92
105
|
PasswordPolicyOverride: typeof PasswordPolicyOverride;
|
|
93
|
-
PasswordPolicyAudit: typeof PasswordPolicyAudit;
|
|
94
106
|
Conversation: typeof Conversation;
|
|
95
107
|
ConversationParticipant: typeof ConversationParticipant;
|
|
96
108
|
Message: typeof Message;
|
|
97
109
|
NotificationPreference: typeof NotificationPreference;
|
|
98
110
|
PushSubscription: typeof PushSubscription;
|
|
111
|
+
Passkey: typeof Passkey;
|
|
112
|
+
PasskeyChallenge: typeof PasskeyChallenge;
|
|
113
|
+
CompanionDevice: typeof CompanionDevice;
|
|
114
|
+
Permission: typeof Permission;
|
|
115
|
+
Role: typeof Role;
|
|
116
|
+
RolePermission: typeof RolePermission;
|
|
117
|
+
UserRole: typeof UserRole;
|
|
118
|
+
ApiToken: typeof ApiToken;
|
|
119
|
+
ApiTokenPermission: typeof ApiTokenPermission;
|
|
120
|
+
ResourceOperatingInterval: typeof ResourceOperatingInterval;
|
|
121
|
+
ResourceUsageLifecycleAttempt: typeof ResourceUsageLifecycleAttempt;
|
|
99
122
|
};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceBillingConfiguration = exports.BillingTransaction = exports.SetPayloadNodeDataSchema = exports.IfNodeDataSchema = exports.ButtonNodeDataSchema = exports.ResourceUsageAction = exports.AutoIntroductionTarget = exports.SupervisionMode = exports.ResourceType = exports.ResourceMaintenanceScheduleTimeIntervalConfig = exports.ResourceMaintenanceScheduleUsageCountConfig = exports.UsageDurationUnit = exports.ResourceMaintenanceScheduleUsageHoursConfig = exports.ResourceMaintenanceScheduleTriggerType = exports.ResourceMaintenanceSchedule = exports.MaintenanceRequestStatus = exports.ResourceMaintenanceRequest = exports.ResourceMaintenance = exports.AttractapFirmwareVersion = exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.ResourceBillingConfiguration = exports.BillingTransaction = exports.SetPayloadNodeDataSchema = exports.IfNodeDataSchema = exports.ButtonNodeDataSchema = exports.ResourceUsageAction = exports.AutoIntroductionTarget = exports.SupervisionMode = exports.ResourceType = exports.ResourceMaintenanceScheduleTimeIntervalConfig = exports.ResourceMaintenanceScheduleUsageCountConfig = exports.UsageDurationUnit = exports.ResourceMaintenanceScheduleUsageHoursConfig = exports.ResourceMaintenanceScheduleTriggerType = exports.ResourceMaintenanceScheduleDurationBasis = exports.ResourceMaintenanceSchedule = exports.MaintenanceRequestStatus = exports.ResourceMaintenanceRequest = exports.ResourceMaintenance = exports.AttractapFirmwareVersion = exports.WaitNodeDataSchema = exports.MqttSendMessageNodeDataSchema = exports.HttpRequestNodeDataSchema = exports.EventNodeDataSchema = exports.getNodeDataSchema = exports.ResourceFlowEdge = exports.ResourceFlowNodeType = exports.ResourceFlowNode = exports.EmailTemplateTranslation = exports.EmailTemplate = exports.AttractapCrashReport = exports.Attractap = exports.NFCCard = exports.Session = exports.User = exports.SSOProviderSAMLConfiguration = exports.SSOProviderOIDCConfiguration = exports.SSOProviderType = exports.SSOProvider = exports.ResourceUsage = exports.ResourceIntroducerType = exports.ResourceIntroducer = exports.IntroductionHistoryAction = exports.ResourceIntroductionHistoryItem = exports.ResourceIntroduction = exports.ResourceGroup = exports.Resource = exports.MqttServer = exports.AuthenticationDetail = exports.AuditLog = void 0;
|
|
4
|
+
exports.PushSubscription = exports.NotificationPreference = exports.MessageReferenceType = exports.Message = exports.ConversationParticipant = exports.Conversation = exports.PASSWORD_POLICY_ROLES = exports.PasswordPolicyRole = exports.PasswordPolicyOverride = exports.PasswordHistory = exports.PASSWORD_POLICY_SINGLETON_ID = exports.PasswordPolicy = exports.CompanionUsbDeviceNodeDataSchema = exports.CompanionForegroundAppNodeDataSchema = exports.CompanionIdleActiveNodeDataSchema = exports.CompanionLockNodeDataSchema = exports.VariableScopeSchema = exports.VariableChangedNodeDataSchema = exports.GetVariablesNodeDataSchema = exports.SetVariablesNodeDataSchema = exports.ResourceFlowVariableScope = exports.ResourceFlowVariable = exports.ResourceHealthSource = exports.ResourceHealthStatus = exports.ResourceHealthState = exports.HealthStateOptionEnum = exports.ResourceHealthSetNodeDataSchema = exports.ResourceHealthHeartbeatNodeDataSchema = exports.ResourceOperatingTransitionNodeDataSchema = 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 = exports.getExternalEffectFailureBehavior = exports.MqttWaitForMessageNodeDataSchema = exports.MqttMessageReceivedNodeDataSchema = exports.BillingTransactionItemCreateSchema = exports.BillingTransactionItem = exports.BillingTransactionStatus = exports.Setting = void 0;
|
|
5
|
+
exports.entities = exports.ResourceUsageLifecycleAttempt = exports.ResourceOperatingInterval = exports.ApiTokenPermission = exports.ApiToken = exports.UserRoleSource = exports.UserRole = exports.RolePermission = exports.Role = exports.Permission = exports.EMAIL_LAYOUT_SINGLETON_ID = exports.EmailLayout = exports.CompanionDevice = exports.PasskeyChallenge = exports.Passkey = void 0;
|
|
5
6
|
// Import entities
|
|
7
|
+
const audit_log_entity_1 = require("./entities/audit-log.entity");
|
|
8
|
+
Object.defineProperty(exports, "AuditLog", { enumerable: true, get: function () { return audit_log_entity_1.AuditLog; } });
|
|
6
9
|
const email_template_entity_1 = require("./entities/email-template.entity");
|
|
7
10
|
Object.defineProperty(exports, "EmailTemplate", { enumerable: true, get: function () { return email_template_entity_1.EmailTemplate; } });
|
|
11
|
+
const email_template_translation_entity_1 = require("./entities/email-template-translation.entity");
|
|
12
|
+
Object.defineProperty(exports, "EmailTemplateTranslation", { enumerable: true, get: function () { return email_template_translation_entity_1.EmailTemplateTranslation; } });
|
|
8
13
|
const authenticationDetail_entity_1 = require("./entities/authenticationDetail.entity");
|
|
9
14
|
Object.defineProperty(exports, "AuthenticationDetail", { enumerable: true, get: function () { return authenticationDetail_entity_1.AuthenticationDetail; } });
|
|
10
15
|
const mqttServer_entity_1 = require("./entities/mqttServer.entity");
|
|
@@ -39,7 +44,6 @@ const ssoProvider_saml_1 = require("./entities/ssoProvider.saml");
|
|
|
39
44
|
Object.defineProperty(exports, "SSOProviderSAMLConfiguration", { enumerable: true, get: function () { return ssoProvider_saml_1.SSOProviderSAMLConfiguration; } });
|
|
40
45
|
const user_entity_1 = require("./entities/user.entity");
|
|
41
46
|
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_entity_1.User; } });
|
|
42
|
-
Object.defineProperty(exports, "SystemPermissions", { enumerable: true, get: function () { return user_entity_1.SystemPermissions; } });
|
|
43
47
|
const session_entity_1 = require("./entities/session.entity");
|
|
44
48
|
Object.defineProperty(exports, "Session", { enumerable: true, get: function () { return session_entity_1.Session; } });
|
|
45
49
|
const attractap_entity_1 = require("./entities/attractap.entity");
|
|
@@ -65,6 +69,7 @@ Object.defineProperty(exports, "ResourceUsageEndSessionNodeDataSchema", { enumer
|
|
|
65
69
|
Object.defineProperty(exports, "ErrorNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ErrorNodeDataSchema; } });
|
|
66
70
|
Object.defineProperty(exports, "InputResourceActivityNoActivityNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.InputResourceActivityNoActivityNodeDataSchema; } });
|
|
67
71
|
Object.defineProperty(exports, "ResourceActivityTrackActivityNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceActivityTrackActivityNodeDataSchema; } });
|
|
72
|
+
Object.defineProperty(exports, "ResourceOperatingTransitionNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceOperatingTransitionNodeDataSchema; } });
|
|
68
73
|
Object.defineProperty(exports, "ResourceHealthHeartbeatNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceHealthHeartbeatNodeDataSchema; } });
|
|
69
74
|
Object.defineProperty(exports, "ResourceHealthSetNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceHealthSetNodeDataSchema; } });
|
|
70
75
|
Object.defineProperty(exports, "HealthStateOptionEnum", { enumerable: true, get: function () { return resourceFlowNode_1.HealthStateOptionEnum; } });
|
|
@@ -72,15 +77,17 @@ Object.defineProperty(exports, "SetVariablesNodeDataSchema", { enumerable: true,
|
|
|
72
77
|
Object.defineProperty(exports, "GetVariablesNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.GetVariablesNodeDataSchema; } });
|
|
73
78
|
Object.defineProperty(exports, "VariableChangedNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.VariableChangedNodeDataSchema; } });
|
|
74
79
|
Object.defineProperty(exports, "VariableScopeSchema", { enumerable: true, get: function () { return resourceFlowNode_1.VariableScopeSchema; } });
|
|
80
|
+
Object.defineProperty(exports, "CompanionLockNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.CompanionLockNodeDataSchema; } });
|
|
81
|
+
Object.defineProperty(exports, "CompanionIdleActiveNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.CompanionIdleActiveNodeDataSchema; } });
|
|
82
|
+
Object.defineProperty(exports, "CompanionForegroundAppNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.CompanionForegroundAppNodeDataSchema; } });
|
|
83
|
+
Object.defineProperty(exports, "CompanionUsbDeviceNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.CompanionUsbDeviceNodeDataSchema; } });
|
|
84
|
+
Object.defineProperty(exports, "getExternalEffectFailureBehavior", { enumerable: true, get: function () { return resourceFlowNode_1.getExternalEffectFailureBehavior; } });
|
|
75
85
|
const resourceHealthState_entity_1 = require("./entities/resourceHealthState.entity");
|
|
76
86
|
Object.defineProperty(exports, "ResourceHealthState", { enumerable: true, get: function () { return resourceHealthState_entity_1.ResourceHealthState; } });
|
|
77
87
|
Object.defineProperty(exports, "ResourceHealthStatus", { enumerable: true, get: function () { return resourceHealthState_entity_1.ResourceHealthStatus; } });
|
|
78
88
|
Object.defineProperty(exports, "ResourceHealthSource", { enumerable: true, get: function () { return resourceHealthState_entity_1.ResourceHealthSource; } });
|
|
79
89
|
const resourceFlowEdge_1 = require("./entities/resourceFlowEdge");
|
|
80
90
|
Object.defineProperty(exports, "ResourceFlowEdge", { enumerable: true, get: function () { return resourceFlowEdge_1.ResourceFlowEdge; } });
|
|
81
|
-
const resourceFlowLog_1 = require("./entities/resourceFlowLog");
|
|
82
|
-
Object.defineProperty(exports, "ResourceFlowLog", { enumerable: true, get: function () { return resourceFlowLog_1.ResourceFlowLog; } });
|
|
83
|
-
Object.defineProperty(exports, "ResourceFlowLogType", { enumerable: true, get: function () { return resourceFlowLog_1.ResourceFlowLogType; } });
|
|
84
91
|
const resource_maintenance_1 = require("./entities/resource.maintenance");
|
|
85
92
|
Object.defineProperty(exports, "ResourceMaintenance", { enumerable: true, get: function () { return resource_maintenance_1.ResourceMaintenance; } });
|
|
86
93
|
const resource_maintenance_request_entity_1 = require("./entities/resource-maintenance-request.entity");
|
|
@@ -88,6 +95,7 @@ Object.defineProperty(exports, "ResourceMaintenanceRequest", { enumerable: true,
|
|
|
88
95
|
Object.defineProperty(exports, "MaintenanceRequestStatus", { enumerable: true, get: function () { return resource_maintenance_request_entity_1.MaintenanceRequestStatus; } });
|
|
89
96
|
const resource_maintenance_schedule_entity_1 = require("./entities/resource-maintenance-schedule.entity");
|
|
90
97
|
Object.defineProperty(exports, "ResourceMaintenanceSchedule", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceSchedule; } });
|
|
98
|
+
Object.defineProperty(exports, "ResourceMaintenanceScheduleDurationBasis", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceScheduleDurationBasis; } });
|
|
91
99
|
Object.defineProperty(exports, "ResourceMaintenanceScheduleTriggerType", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceScheduleTriggerType; } });
|
|
92
100
|
const resource_maintenance_schedule_usage_hours_config_entity_1 = require("./entities/resource-maintenance-schedule-usage-hours-config.entity");
|
|
93
101
|
Object.defineProperty(exports, "ResourceMaintenanceScheduleUsageHoursConfig", { enumerable: true, get: function () { return resource_maintenance_schedule_usage_hours_config_entity_1.ResourceMaintenanceScheduleUsageHoursConfig; } });
|
|
@@ -134,9 +142,6 @@ const password_policy_override_entity_1 = require("./entities/password-policy-ov
|
|
|
134
142
|
Object.defineProperty(exports, "PasswordPolicyOverride", { enumerable: true, get: function () { return password_policy_override_entity_1.PasswordPolicyOverride; } });
|
|
135
143
|
Object.defineProperty(exports, "PasswordPolicyRole", { enumerable: true, get: function () { return password_policy_override_entity_1.PasswordPolicyRole; } });
|
|
136
144
|
Object.defineProperty(exports, "PASSWORD_POLICY_ROLES", { enumerable: true, get: function () { return password_policy_override_entity_1.PASSWORD_POLICY_ROLES; } });
|
|
137
|
-
const password_policy_audit_entity_1 = require("./entities/password-policy-audit.entity");
|
|
138
|
-
Object.defineProperty(exports, "PasswordPolicyAudit", { enumerable: true, get: function () { return password_policy_audit_entity_1.PasswordPolicyAudit; } });
|
|
139
|
-
Object.defineProperty(exports, "PasswordPolicyAuditEvent", { enumerable: true, get: function () { return password_policy_audit_entity_1.PasswordPolicyAuditEvent; } });
|
|
140
145
|
const conversation_entity_1 = require("./entities/conversation.entity");
|
|
141
146
|
Object.defineProperty(exports, "Conversation", { enumerable: true, get: function () { return conversation_entity_1.Conversation; } });
|
|
142
147
|
const conversation_participant_entity_1 = require("./entities/conversation-participant.entity");
|
|
@@ -148,8 +153,34 @@ const notification_preference_entity_1 = require("./entities/notification-prefer
|
|
|
148
153
|
Object.defineProperty(exports, "NotificationPreference", { enumerable: true, get: function () { return notification_preference_entity_1.NotificationPreference; } });
|
|
149
154
|
const push_subscription_entity_1 = require("./entities/push-subscription.entity");
|
|
150
155
|
Object.defineProperty(exports, "PushSubscription", { enumerable: true, get: function () { return push_subscription_entity_1.PushSubscription; } });
|
|
156
|
+
const passkey_entity_1 = require("./entities/passkey.entity");
|
|
157
|
+
Object.defineProperty(exports, "Passkey", { enumerable: true, get: function () { return passkey_entity_1.Passkey; } });
|
|
158
|
+
Object.defineProperty(exports, "PasskeyChallenge", { enumerable: true, get: function () { return passkey_entity_1.PasskeyChallenge; } });
|
|
159
|
+
const companion_device_entity_1 = require("./entities/companion-device.entity");
|
|
160
|
+
Object.defineProperty(exports, "CompanionDevice", { enumerable: true, get: function () { return companion_device_entity_1.CompanionDevice; } });
|
|
161
|
+
const email_layout_entity_1 = require("./entities/email-layout.entity");
|
|
162
|
+
Object.defineProperty(exports, "EmailLayout", { enumerable: true, get: function () { return email_layout_entity_1.EmailLayout; } });
|
|
163
|
+
Object.defineProperty(exports, "EMAIL_LAYOUT_SINGLETON_ID", { enumerable: true, get: function () { return email_layout_entity_1.EMAIL_LAYOUT_SINGLETON_ID; } });
|
|
164
|
+
const permission_entity_1 = require("./entities/permission.entity");
|
|
165
|
+
Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return permission_entity_1.Permission; } });
|
|
166
|
+
const role_entity_1 = require("./entities/role.entity");
|
|
167
|
+
Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return role_entity_1.Role; } });
|
|
168
|
+
const role_permission_entity_1 = require("./entities/role-permission.entity");
|
|
169
|
+
Object.defineProperty(exports, "RolePermission", { enumerable: true, get: function () { return role_permission_entity_1.RolePermission; } });
|
|
170
|
+
const user_role_entity_1 = require("./entities/user-role.entity");
|
|
171
|
+
Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return user_role_entity_1.UserRole; } });
|
|
172
|
+
Object.defineProperty(exports, "UserRoleSource", { enumerable: true, get: function () { return user_role_entity_1.UserRoleSource; } });
|
|
173
|
+
const api_token_entity_1 = require("./entities/api-token.entity");
|
|
174
|
+
Object.defineProperty(exports, "ApiToken", { enumerable: true, get: function () { return api_token_entity_1.ApiToken; } });
|
|
175
|
+
const api_token_permission_entity_1 = require("./entities/api-token-permission.entity");
|
|
176
|
+
Object.defineProperty(exports, "ApiTokenPermission", { enumerable: true, get: function () { return api_token_permission_entity_1.ApiTokenPermission; } });
|
|
177
|
+
const resource_operating_interval_entity_1 = require("./entities/resource-operating-interval.entity");
|
|
178
|
+
Object.defineProperty(exports, "ResourceOperatingInterval", { enumerable: true, get: function () { return resource_operating_interval_entity_1.ResourceOperatingInterval; } });
|
|
179
|
+
const resource_usage_lifecycle_attempt_entity_1 = require("./entities/resource-usage-lifecycle-attempt.entity");
|
|
180
|
+
Object.defineProperty(exports, "ResourceUsageLifecycleAttempt", { enumerable: true, get: function () { return resource_usage_lifecycle_attempt_entity_1.ResourceUsageLifecycleAttempt; } });
|
|
151
181
|
// Export the entities object
|
|
152
182
|
exports.entities = {
|
|
183
|
+
AuditLog: audit_log_entity_1.AuditLog,
|
|
153
184
|
User: user_entity_1.User,
|
|
154
185
|
AuthenticationDetail: authenticationDetail_entity_1.AuthenticationDetail,
|
|
155
186
|
Session: session_entity_1.Session,
|
|
@@ -167,9 +198,9 @@ exports.entities = {
|
|
|
167
198
|
Attractap: attractap_entity_1.Attractap,
|
|
168
199
|
AttractapCrashReport: attractapCrashReport_entity_1.AttractapCrashReport,
|
|
169
200
|
EmailTemplate: email_template_entity_1.EmailTemplate,
|
|
201
|
+
EmailTemplateTranslation: email_template_translation_entity_1.EmailTemplateTranslation,
|
|
170
202
|
ResourceFlowNode: resourceFlowNode_1.ResourceFlowNode,
|
|
171
203
|
ResourceFlowEdge: resourceFlowEdge_1.ResourceFlowEdge,
|
|
172
|
-
ResourceFlowLog: resourceFlowLog_1.ResourceFlowLog,
|
|
173
204
|
ResourceMaintenance: resource_maintenance_1.ResourceMaintenance,
|
|
174
205
|
ResourceMaintenanceRequest: resource_maintenance_request_entity_1.ResourceMaintenanceRequest,
|
|
175
206
|
ResourceMaintenanceSchedule: resource_maintenance_schedule_entity_1.ResourceMaintenanceSchedule,
|
|
@@ -191,11 +222,21 @@ exports.entities = {
|
|
|
191
222
|
PasswordPolicy: password_policy_entity_1.PasswordPolicy,
|
|
192
223
|
PasswordHistory: password_history_entity_1.PasswordHistory,
|
|
193
224
|
PasswordPolicyOverride: password_policy_override_entity_1.PasswordPolicyOverride,
|
|
194
|
-
PasswordPolicyAudit: password_policy_audit_entity_1.PasswordPolicyAudit,
|
|
195
225
|
Conversation: conversation_entity_1.Conversation,
|
|
196
226
|
ConversationParticipant: conversation_participant_entity_1.ConversationParticipant,
|
|
197
227
|
Message: message_entity_1.Message,
|
|
198
228
|
NotificationPreference: notification_preference_entity_1.NotificationPreference,
|
|
199
229
|
PushSubscription: push_subscription_entity_1.PushSubscription,
|
|
230
|
+
Passkey: passkey_entity_1.Passkey,
|
|
231
|
+
PasskeyChallenge: passkey_entity_1.PasskeyChallenge,
|
|
232
|
+
CompanionDevice: companion_device_entity_1.CompanionDevice,
|
|
233
|
+
Permission: permission_entity_1.Permission,
|
|
234
|
+
Role: role_entity_1.Role,
|
|
235
|
+
RolePermission: role_permission_entity_1.RolePermission,
|
|
236
|
+
UserRole: user_role_entity_1.UserRole,
|
|
237
|
+
ApiToken: api_token_entity_1.ApiToken,
|
|
238
|
+
ApiTokenPermission: api_token_permission_entity_1.ApiTokenPermission,
|
|
239
|
+
ResourceOperatingInterval: resource_operating_interval_entity_1.ResourceOperatingInterval,
|
|
240
|
+
ResourceUsageLifecycleAttempt: resource_usage_lifecycle_attempt_entity_1.ResourceUsageLifecycleAttempt,
|
|
200
241
|
};
|
|
201
242
|
//# 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,kEAAuD;AA8GrD,yFA9GO,2BAAQ,OA8GP;AA7GV,4EAAiE;AAiI/D,8FAjIO,qCAAa,OAiIP;AAhIf,oGAAwF;AAiItF,yGAjIO,4DAAwB,OAiIP;AAhI1B,wFAA8E;AA4G5E,qGA5GO,kDAAoB,OA4GP;AA3GtB,oEAA0D;AA4GxD,2FA5GO,8BAAU,OA4GP;AA3GZ,8DAAoD;AA0HlD,wFA1HO,wBAAO,OA0HP;AAzHT,gEAAsD;AA2GpD,yFA3GO,0BAAQ,OA2GP;AA1GV,4DAAwD;AAgJtD,6FAhJO,4BAAY,OAgJP;AA/Id,0EAAgE;AA0G9D,8FA1GO,oCAAa,OA0GP;AAzGf,wFAA8E;AA0G5E,qGA1GO,kDAAoB,OA0GP;AAzGtB,8GAG2D;AAuGzD,gHAzGA,wEAA+B,OAyGA;AAC/B,0GAzGA,kEAAyB,OAyGA;AAvG3B,oFAAkG;AAwGhG,mGAxGO,8CAAkB,OAwGP;AAClB,uGAzG2B,kDAAsB,OAyG3B;AAxGxB,0EAAgE;AAyG9D,8FAzGO,oCAAa,OAyGP;AAxGf,0EAA0F;AAwIxF,gGAxIO,sCAAe,OAwIP;AACf,uGAzIwB,6CAAsB,OAyIxB;AAxIxB,sEAA6E;AAwG3E,4FAxGO,gCAAW,OAwGP;AACX,gGAzGoB,oCAAe,OAyGpB;AAxGjB,kEAA2E;AAyGzE,6GAzGO,+CAA4B,OAyGP;AAxG9B,kEAA2E;AAyGzE,6GAzGO,+CAA4B,OAyGP;AAxG9B,wDAA8C;AAyG5C,qFAzGO,kBAAI,OAyGP;AAxGN,8DAAoD;AAyGlD,wFAzGO,wBAAO,OAyGP;AAxGT,kEAAkF;AA0GhF,0FA1GO,4BAAS,OA0GP;AAYT,yGAt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;IACJ,cAAc,EAAd,uCAAc;IACd,QAAQ,EAAR,2BAAQ;IACR,QAAQ,EAAR,2BAAQ;IACR,kBAAkB,EAAlB,gDAAkB;IAClB,yBAAyB,EAAzB,8DAAyB;IACzB,6BAA6B,EAA7B,uEAA6B;CAC9B,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare enum PasswordPolicyAuditEvent {
|
|
2
|
-
GLOBAL_POLICY_UPDATED = "global_policy_updated",
|
|
3
|
-
OVERRIDE_UPSERTED = "override_upserted",
|
|
4
|
-
OVERRIDE_DELETED = "override_deleted"
|
|
5
|
-
}
|
|
6
|
-
export declare class PasswordPolicyAudit {
|
|
7
|
-
id: number;
|
|
8
|
-
at: Date;
|
|
9
|
-
event: PasswordPolicyAuditEvent;
|
|
10
|
-
actorId: number | null;
|
|
11
|
-
actorUsername: string | null;
|
|
12
|
-
ip: string | null;
|
|
13
|
-
userAgent: string | null;
|
|
14
|
-
requestId: string | null;
|
|
15
|
-
role: string | null;
|
|
16
|
-
before: string | null;
|
|
17
|
-
after: string | null;
|
|
18
|
-
changedFields: string | null;
|
|
19
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Append-only audit log for password policy admin mutations (global PATCH + per-role override CRUD)
|
|
3
|
-
// FEATURE: Password policy admin audit trail (DB-backed, queryable, retains actor + before/after diff)
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.PasswordPolicyAudit = exports.PasswordPolicyAuditEvent = void 0;
|
|
6
|
-
const tslib_1 = require("tslib");
|
|
7
|
-
const typeorm_1 = require("typeorm");
|
|
8
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
9
|
-
var PasswordPolicyAuditEvent;
|
|
10
|
-
(function (PasswordPolicyAuditEvent) {
|
|
11
|
-
PasswordPolicyAuditEvent["GLOBAL_POLICY_UPDATED"] = "global_policy_updated";
|
|
12
|
-
PasswordPolicyAuditEvent["OVERRIDE_UPSERTED"] = "override_upserted";
|
|
13
|
-
PasswordPolicyAuditEvent["OVERRIDE_DELETED"] = "override_deleted";
|
|
14
|
-
})(PasswordPolicyAuditEvent || (exports.PasswordPolicyAuditEvent = PasswordPolicyAuditEvent = {}));
|
|
15
|
-
let PasswordPolicyAudit = class PasswordPolicyAudit {
|
|
16
|
-
};
|
|
17
|
-
exports.PasswordPolicyAudit = PasswordPolicyAudit;
|
|
18
|
-
tslib_1.__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
(0, swagger_1.ApiProperty)({ description: 'Auto-incremented audit row id', example: 42 }),
|
|
21
|
-
tslib_1.__metadata("design:type", Number)
|
|
22
|
-
], PasswordPolicyAudit.prototype, "id", void 0);
|
|
23
|
-
tslib_1.__decorate([
|
|
24
|
-
(0, typeorm_1.Index)(),
|
|
25
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
26
|
-
(0, swagger_1.ApiProperty)({ description: 'When the audited mutation happened' }),
|
|
27
|
-
tslib_1.__metadata("design:type", Date)
|
|
28
|
-
], PasswordPolicyAudit.prototype, "at", void 0);
|
|
29
|
-
tslib_1.__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 64 }),
|
|
31
|
-
(0, swagger_1.ApiProperty)({ description: 'Which mutation was performed', enum: PasswordPolicyAuditEvent, enumName: 'PasswordPolicyAuditEvent' }),
|
|
32
|
-
tslib_1.__metadata("design:type", String)
|
|
33
|
-
], PasswordPolicyAudit.prototype, "event", void 0);
|
|
34
|
-
tslib_1.__decorate([
|
|
35
|
-
(0, typeorm_1.Index)(),
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
37
|
-
(0, swagger_1.ApiProperty)({ description: 'User id of the admin who performed the change', nullable: true, example: 1 }),
|
|
38
|
-
tslib_1.__metadata("design:type", Number)
|
|
39
|
-
], PasswordPolicyAudit.prototype, "actorId", void 0);
|
|
40
|
-
tslib_1.__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
42
|
-
(0, swagger_1.ApiProperty)({ description: 'Username snapshot at the time of the change', nullable: true, example: 'root' }),
|
|
43
|
-
tslib_1.__metadata("design:type", String)
|
|
44
|
-
], PasswordPolicyAudit.prototype, "actorUsername", void 0);
|
|
45
|
-
tslib_1.__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
|
|
47
|
-
(0, swagger_1.ApiProperty)({ description: 'Source IP address of the admin request', nullable: true, example: '203.0.113.4' }),
|
|
48
|
-
tslib_1.__metadata("design:type", String)
|
|
49
|
-
], PasswordPolicyAudit.prototype, "ip", void 0);
|
|
50
|
-
tslib_1.__decorate([
|
|
51
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 512, nullable: true }),
|
|
52
|
-
(0, swagger_1.ApiProperty)({ description: 'User-agent of the admin request', nullable: true }),
|
|
53
|
-
tslib_1.__metadata("design:type", String)
|
|
54
|
-
], PasswordPolicyAudit.prototype, "userAgent", void 0);
|
|
55
|
-
tslib_1.__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 128, nullable: true }),
|
|
57
|
-
(0, swagger_1.ApiProperty)({ description: 'Optional request id for tracing', nullable: true }),
|
|
58
|
-
tslib_1.__metadata("design:type", String)
|
|
59
|
-
], PasswordPolicyAudit.prototype, "requestId", void 0);
|
|
60
|
-
tslib_1.__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: true }),
|
|
62
|
-
(0, swagger_1.ApiProperty)({ description: 'Role the change applied to (only set for override events)', nullable: true }),
|
|
63
|
-
tslib_1.__metadata("design:type", String)
|
|
64
|
-
], PasswordPolicyAudit.prototype, "role", void 0);
|
|
65
|
-
tslib_1.__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
67
|
-
(0, swagger_1.ApiProperty)({ description: 'JSON-encoded snapshot of the row before the change', nullable: true }),
|
|
68
|
-
tslib_1.__metadata("design:type", String)
|
|
69
|
-
], PasswordPolicyAudit.prototype, "before", void 0);
|
|
70
|
-
tslib_1.__decorate([
|
|
71
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
72
|
-
(0, swagger_1.ApiProperty)({ description: 'JSON-encoded snapshot of the row after the change', nullable: true }),
|
|
73
|
-
tslib_1.__metadata("design:type", String)
|
|
74
|
-
], PasswordPolicyAudit.prototype, "after", void 0);
|
|
75
|
-
tslib_1.__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
77
|
-
(0, swagger_1.ApiProperty)({ description: 'JSON array of field names that changed', nullable: true }),
|
|
78
|
-
tslib_1.__metadata("design:type", String)
|
|
79
|
-
], PasswordPolicyAudit.prototype, "changedFields", void 0);
|
|
80
|
-
exports.PasswordPolicyAudit = PasswordPolicyAudit = tslib_1.__decorate([
|
|
81
|
-
(0, typeorm_1.Entity)()
|
|
82
|
-
], PasswordPolicyAudit);
|
|
83
|
-
//# sourceMappingURL=password-policy-audit.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"password-policy-audit.entity.js","sourceRoot":"","sources":["../../../../../../libs/database-entities/src/lib/entities/password-policy-audit.entity.ts"],"names":[],"mappings":";AAAA,oGAAoG;AACpG,uGAAuG;;;;AAEvG,qCAA0F;AAC1F,6CAA8C;AAE9C,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,2EAA+C,CAAA;IAC/C,mEAAuC,CAAA;IACvC,iEAAqC,CAAA;AACvC,CAAC,EAJW,wBAAwB,wCAAxB,wBAAwB,QAInC;AAGM,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAkD/B,CAAA;AAlDY,kDAAmB;AAG9B;IAFC,IAAA,gCAAsB,GAAE;IACxB,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,+BAA+B,EAAE,OAAO,EAAE,EAAE,E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ResourceFlowLogType {
|
|
3
|
-
FLOW_START = "flow.start",
|
|
4
|
-
NODE_PROCESSING_STARTED = "node.processing.started",
|
|
5
|
-
NODE_PROCESSING_FAILED = "node.processing.failed",
|
|
6
|
-
NODE_PROCESSING_COMPLETED = "node.processing.completed",
|
|
7
|
-
FLOW_COMPLETED = "flow.completed"
|
|
8
|
-
}
|
|
9
|
-
export declare class ResourceFlowLog {
|
|
10
|
-
id: number;
|
|
11
|
-
nodeId: string | null;
|
|
12
|
-
flowRunId: string;
|
|
13
|
-
type: ResourceFlowLogType;
|
|
14
|
-
payload?: string;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
resourceId: number;
|
|
17
|
-
resource: Resource;
|
|
18
|
-
}
|