@attraccess/database-entities 1.11.0-beta.2 → 1.11.0-beta.4
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/LICENSE.md +8 -2
- package/package.json +3 -3
- package/src/index.d.ts +1 -6
- package/src/index.js +3 -9
- package/src/index.js.map +1 -1
- package/src/lib/entities/audit-log.entity.d.ts +3 -3
- package/src/lib/entities/audit-log.entity.js +2 -2
- package/src/lib/entities/audit-log.entity.js.map +1 -1
- package/src/lib/entities/authenticationDetail.entity.d.ts +1 -2
- package/src/lib/entities/authenticationDetail.entity.js +10 -8
- package/src/lib/entities/authenticationDetail.entity.js.map +1 -1
- package/src/lib/entities/billing-transaction.entity.d.ts +1 -5
- package/src/lib/entities/billing-transaction.entity.js +4 -9
- package/src/lib/entities/billing-transaction.entity.js.map +1 -1
- package/src/lib/entities/csv-export-template.entity.d.ts +1 -9
- package/src/lib/entities/csv-export-template.entity.js +6 -16
- package/src/lib/entities/csv-export-template.entity.js.map +1 -1
- package/src/lib/entities/dashboard-pin.entity.d.ts +1 -2
- package/src/lib/entities/dashboard-pin.entity.js.map +1 -1
- package/src/lib/entities/email-layout.entity.d.ts +0 -1
- package/src/lib/entities/email-layout.entity.js +1 -2
- package/src/lib/entities/email-layout.entity.js.map +1 -1
- package/src/lib/entities/email-template-translation.entity.d.ts +1 -1
- package/src/lib/entities/email-template-translation.entity.js +2 -2
- package/src/lib/entities/email-template-translation.entity.js.map +1 -1
- package/src/lib/entities/email-template.entity.d.ts +1 -18
- package/src/lib/entities/email-template.entity.js +3 -21
- package/src/lib/entities/email-template.entity.js.map +1 -1
- package/src/lib/entities/flow.entity.d.ts +2 -2
- package/src/lib/entities/flow.entity.js.map +1 -1
- package/src/lib/entities/form.d.ts +1 -11
- package/src/lib/entities/form.js +6 -18
- package/src/lib/entities/form.js.map +1 -1
- package/src/lib/entities/mcp-oauth-token.entity.d.ts +2 -1
- package/src/lib/entities/mcp-oauth-token.entity.js.map +1 -1
- package/src/lib/entities/message.entity.d.ts +1 -4
- package/src/lib/entities/message.entity.js +5 -9
- package/src/lib/entities/message.entity.js.map +1 -1
- package/src/lib/entities/password-policy-override.entity.d.ts +1 -3
- package/src/lib/entities/password-policy-override.entity.js +17 -11
- package/src/lib/entities/password-policy-override.entity.js.map +1 -1
- package/src/lib/entities/password-policy.entity.d.ts +0 -1
- package/src/lib/entities/password-policy.entity.js +3 -3
- package/src/lib/entities/password-policy.entity.js.map +1 -1
- package/src/lib/entities/project-invitation.entity.d.ts +1 -7
- package/src/lib/entities/project-invitation.entity.js +6 -13
- package/src/lib/entities/project-invitation.entity.js.map +1 -1
- package/src/lib/entities/project-member.entity.d.ts +1 -3
- package/src/lib/entities/project-member.entity.js +4 -7
- package/src/lib/entities/project-member.entity.js.map +1 -1
- package/src/lib/entities/reader-ui-settings.entity.d.ts +2 -1
- package/src/lib/entities/reader-ui-settings.entity.js.map +1 -1
- package/src/lib/entities/resource-maintenance-request.entity.d.ts +1 -5
- package/src/lib/entities/resource-maintenance-request.entity.js +6 -11
- package/src/lib/entities/resource-maintenance-request.entity.js.map +1 -1
- package/src/lib/entities/resource-maintenance-schedule-time-interval-config.entity.d.ts +1 -1
- package/src/lib/entities/resource-maintenance-schedule-time-interval-config.entity.js +3 -3
- package/src/lib/entities/resource-maintenance-schedule-time-interval-config.entity.js.map +1 -1
- package/src/lib/entities/resource-maintenance-schedule-usage-hours-config.entity.d.ts +1 -1
- package/src/lib/entities/resource-maintenance-schedule-usage-hours-config.entity.js +3 -3
- package/src/lib/entities/resource-maintenance-schedule-usage-hours-config.entity.js.map +1 -1
- package/src/lib/entities/resource-maintenance-schedule.entity.d.ts +1 -11
- package/src/lib/entities/resource-maintenance-schedule.entity.js +8 -20
- package/src/lib/entities/resource-maintenance-schedule.entity.js.map +1 -1
- package/src/lib/entities/resource-metering.entity.d.ts +1 -12
- package/src/lib/entities/resource-metering.entity.js +2 -14
- package/src/lib/entities/resource-metering.entity.js.map +1 -1
- package/src/lib/entities/resource.entity.d.ts +1 -3
- package/src/lib/entities/resource.entity.js +14 -16
- package/src/lib/entities/resource.entity.js.map +1 -1
- package/src/lib/entities/resourceFlowNode.d.ts +3 -13
- package/src/lib/entities/resourceFlowNode.js +39 -50
- package/src/lib/entities/resourceFlowNode.js.map +1 -1
- package/src/lib/entities/resourceFlowVariable.d.ts +3 -5
- package/src/lib/entities/resourceFlowVariable.js +3 -7
- package/src/lib/entities/resourceFlowVariable.js.map +1 -1
- package/src/lib/entities/resourceHealthState.entity.d.ts +1 -9
- package/src/lib/entities/resourceHealthState.entity.js +8 -18
- package/src/lib/entities/resourceHealthState.entity.js.map +1 -1
- package/src/lib/entities/resourceIntroducer.entity.d.ts +1 -4
- package/src/lib/entities/resourceIntroducer.entity.js +6 -10
- package/src/lib/entities/resourceIntroducer.entity.js.map +1 -1
- package/src/lib/entities/resourceIntroductionHistoryItem.entity.d.ts +1 -4
- package/src/lib/entities/resourceIntroductionHistoryItem.entity.js +5 -9
- package/src/lib/entities/resourceIntroductionHistoryItem.entity.js.map +1 -1
- package/src/lib/entities/resourceUsage.entity.d.ts +1 -1
- package/src/lib/entities/resourceUsage.entity.js +4 -4
- package/src/lib/entities/resourceUsage.entity.js.map +1 -1
- package/src/lib/entities/session.entity.d.ts +1 -1
- package/src/lib/entities/ssoProvider.entity.d.ts +1 -4
- package/src/lib/entities/ssoProvider.entity.js +5 -9
- package/src/lib/entities/ssoProvider.entity.js.map +1 -1
- package/src/lib/entities/ssoProvider.oidc.d.ts +0 -2
- package/src/lib/entities/ssoProvider.oidc.js +4 -3
- package/src/lib/entities/ssoProvider.oidc.js.map +1 -1
- package/src/lib/entities/ssoProvider.saml.js +3 -0
- package/src/lib/entities/ssoProvider.saml.js.map +1 -1
- package/src/lib/entities/user-role.entity.d.ts +1 -4
- package/src/lib/entities/user-role.entity.js +5 -9
- package/src/lib/entities/user-role.entity.js.map +1 -1
- package/src/lib/entities-index.d.ts +21 -25
- package/src/lib/entities-index.js +3 -36
- package/src/lib/entities-index.js.map +1 -1
- package/src/lib/entities/resource-flow-node/companion-schemas.d.ts +0 -15
- package/src/lib/entities/resource-flow-node/companion-schemas.js +0 -27
- package/src/lib/entities/resource-flow-node/companion-schemas.js.map +0 -1
- package/src/lib/entities/resource-flow-node/external-effect-policy.d.ts +0 -19
- package/src/lib/entities/resource-flow-node/external-effect-policy.js +0 -24
- package/src/lib/entities/resource-flow-node/external-effect-policy.js.map +0 -1
- package/src/lib/entities/resource-flow-node/health-schemas.d.ts +0 -18
- package/src/lib/entities/resource-flow-node/health-schemas.js +0 -34
- package/src/lib/entities/resource-flow-node/health-schemas.js.map +0 -1
- package/src/lib/entities/resource-flow-node/http-schema.d.ts +0 -25
- package/src/lib/entities/resource-flow-node/http-schema.js +0 -20
- package/src/lib/entities/resource-flow-node/http-schema.js.map +0 -1
- package/src/lib/entities/resource-flow-node/metering-schemas.d.ts +0 -28
- package/src/lib/entities/resource-flow-node/metering-schemas.js +0 -48
- package/src/lib/entities/resource-flow-node/metering-schemas.js.map +0 -1
- package/src/lib/entities/resource-flow-node/mqtt-schemas.d.ts +0 -33
- package/src/lib/entities/resource-flow-node/mqtt-schemas.js +0 -43
- package/src/lib/entities/resource-flow-node/mqtt-schemas.js.map +0 -1
- package/src/lib/entities/resource-flow-node/node-type.d.ts +0 -43
- package/src/lib/entities/resource-flow-node/node-type.js +0 -48
- package/src/lib/entities/resource-flow-node/node-type.js.map +0 -1
- package/src/lib/entities/resource-flow-node/processing-schemas.d.ts +0 -35
- package/src/lib/entities/resource-flow-node/processing-schemas.js +0 -32
- package/src/lib/entities/resource-flow-node/processing-schemas.js.map +0 -1
- package/src/lib/entities/resource-flow-node/resource-schemas.d.ts +0 -27
- package/src/lib/entities/resource-flow-node/resource-schemas.js +0 -44
- package/src/lib/entities/resource-flow-node/resource-schemas.js.map +0 -1
- package/src/lib/entities/resource-flow-node/schema-registry.d.ts +0 -180
- package/src/lib/entities/resource-flow-node/schema-registry.js +0 -80
- package/src/lib/entities/resource-flow-node/schema-registry.js.map +0 -1
- package/src/lib/entities/resource-flow-node/variable-schemas.d.ts +0 -38
- package/src/lib/entities/resource-flow-node/variable-schemas.js +0 -31
- package/src/lib/entities/resource-flow-node/variable-schemas.js.map +0 -1
- package/src/lib/entities/resource.supervision.d.ts +0 -20
- package/src/lib/entities/resource.supervision.js +0 -26
- package/src/lib/entities/resource.supervision.js.map +0 -1
- package/src/lib/entities/resource.type.d.ts +0 -4
- package/src/lib/entities/resource.type.js +0 -9
- package/src/lib/entities/resource.type.js.map +0 -1
- package/src/lib/entities/resourceUsage.type.d.ts +0 -6
- package/src/lib/entities/resourceUsage.type.js +0 -11
- package/src/lib/entities/resourceUsage.type.js.map +0 -1
- package/src/lib/types/authenticationType.enum.d.ts +0 -5
- package/src/lib/types/authenticationType.enum.js +0 -10
- package/src/lib/types/authenticationType.enum.js.map +0 -1
- package/src/lib/types/documentationType.enum.d.ts +0 -7
- package/src/lib/types/documentationType.enum.js +0 -12
- package/src/lib/types/documentationType.enum.js.map +0 -1
- package/src/lib/types/sso-session-context.d.ts +0 -32
- package/src/lib/types/sso-session-context.js +0 -3
- package/src/lib/types/sso-session-context.js.map +0 -1
- package/src/lib/types/usageDurationUnit.enum.d.ts +0 -5
- package/src/lib/types/usageDurationUnit.enum.js +0 -10
- package/src/lib/types/usageDurationUnit.enum.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.entities = exports.
|
|
3
|
+
exports.ResourceMaintenanceScheduleUsageHoursConfig = exports.ResourceMaintenanceScheduleUsageCountConfig = exports.ResourceMaintenanceScheduleTimeIntervalConfig = exports.ResourceMaintenanceRequest = exports.ResourceBillingConfiguration = exports.PushSubscription = exports.ProjectMember = exports.ProjectInvitation = exports.Project = exports.Permission = exports.PasswordPolicy = exports.PasswordPolicyOverride = exports.PASSWORD_POLICY_ROLES = exports.PasswordHistory = exports.PasskeyChallenge = exports.Passkey = exports.DashboardPin = exports.NotificationPreference = exports.MqttServer = exports.Message = exports.FormSubmission = exports.FormField = exports.Form = exports.EmailTemplate = exports.EmailTemplateTranslation = exports.EmailLayout = exports.Conversation = exports.ConversationParticipant = exports.CompanionDevice = exports.BillingTransaction = exports.BillingTransactionItem = exports.AuthenticationDetail = exports.AUTHENTICATION_METHODS = exports.AuditLog = exports.ReaderUiResourceSettings = exports.ReaderUiReaderSettings = exports.ReaderUiPluginSettings = exports.ReaderUiAlert = exports.AttractapSecureBootKey = exports.AttractapInstallation = exports.PluginBleEndpointEntity = exports.AttractapCredentialEvent = exports.AttractapCrashReport = exports.AttractapFirmwareVersion = exports.Attractap = exports.McpOAuthToken = exports.McpOAuthGrant = exports.McpOAuthClient = exports.ApiToken = exports.ApiTokenPermission = void 0;
|
|
4
|
+
exports.ResourceIntroducer = exports.ResourceHealthState = exports.ResourceGroup = exports.ResourceFlowVariable = exports.WaitNodeDataSchema = exports.VariableScopeSchema = exports.VariableChangedNodeDataSchema = exports.SetVariablesNodeDataSchema = exports.SetPayloadNodeDataSchema = exports.ResourceUsageEndSessionNodeDataSchema = exports.ResourceOperatingTransitionNodeDataSchema = exports.ResourceHealthSetNodeDataSchema = exports.ResourceHealthHeartbeatNodeDataSchema = exports.ResourceFlowNode = exports.ResourceActivityTrackActivityNodeDataSchema = exports.MqttWaitForMessageNodeDataSchema = exports.MqttSendMessageNodeDataSchema = exports.MqttMessageReceivedNodeDataSchema = exports.MeteringStartNodeDataSchema = exports.MeteringReportNodeDataSchema = exports.MeteringReadyNodeDataSchema = exports.MeteringCollectNodeDataSchema = exports.InputResourceActivityNoActivityNodeDataSchema = exports.IfNodeDataSchema = exports.HttpRequestNodeDataSchema = exports.HealthStateOptionEnum = exports.GetVariablesNodeDataSchema = exports.getNodeDataSchema = exports.getExternalEffectFailureBehavior = exports.EventNodeDataSchema = exports.ErrorNodeDataSchema = exports.CompanionUsbDeviceNodeDataSchema = exports.CompanionLockNodeDataSchema = exports.CompanionIdleActiveNodeDataSchema = exports.CompanionForegroundAppNodeDataSchema = exports.ButtonNodeDataSchema = exports.BillingTransactionItemCreateSchema = exports.Flow = exports.ResourceFlowEdge = exports.ResourceMaintenance = exports.Resource = exports.ResourceUsageLifecycleAttempt = exports.ResourceOperatingInterval = exports.ResourceMeteringSegment = exports.ResourceMeteringSession = exports.ResourceMeteringOperation = exports.CsvExportTemplateColumn = exports.CsvExportTemplate = exports.ResourceMeter = exports.ResourceMaintenanceSchedule = void 0;
|
|
5
|
+
exports.entities = exports.User = exports.UserRole = exports.SSOProviderSAMLConfiguration = exports.SSOProviderOIDCConfiguration = exports.SSOProvider = exports.Setting = exports.Session = exports.Role = exports.RolePermission = exports.NFCCardPendingChange = exports.NFCCard = exports.ResourceUsage = exports.ResourceIntroductionHistoryItem = exports.ResourceIntroduction = void 0;
|
|
6
6
|
var api_token_permission_entity_1 = require("./entities/api-token-permission.entity");
|
|
7
7
|
Object.defineProperty(exports, "ApiTokenPermission", { enumerable: true, get: function () { return api_token_permission_entity_1.ApiTokenPermission; } });
|
|
8
8
|
var api_token_entity_1 = require("./entities/api-token.entity");
|
|
@@ -40,7 +40,6 @@ var billing_transaction_item_entity_1 = require("./entities/billing-transaction-
|
|
|
40
40
|
Object.defineProperty(exports, "BillingTransactionItem", { enumerable: true, get: function () { return billing_transaction_item_entity_1.BillingTransactionItem; } });
|
|
41
41
|
var billing_transaction_entity_1 = require("./entities/billing-transaction.entity");
|
|
42
42
|
Object.defineProperty(exports, "BillingTransaction", { enumerable: true, get: function () { return billing_transaction_entity_1.BillingTransaction; } });
|
|
43
|
-
Object.defineProperty(exports, "BillingTransactionStatus", { enumerable: true, get: function () { return billing_transaction_entity_1.BillingTransactionStatus; } });
|
|
44
43
|
var companion_device_entity_1 = require("./entities/companion-device.entity");
|
|
45
44
|
Object.defineProperty(exports, "CompanionDevice", { enumerable: true, get: function () { return companion_device_entity_1.CompanionDevice; } });
|
|
46
45
|
var conversation_participant_entity_1 = require("./entities/conversation-participant.entity");
|
|
@@ -48,7 +47,6 @@ Object.defineProperty(exports, "ConversationParticipant", { enumerable: true, ge
|
|
|
48
47
|
var conversation_entity_1 = require("./entities/conversation.entity");
|
|
49
48
|
Object.defineProperty(exports, "Conversation", { enumerable: true, get: function () { return conversation_entity_1.Conversation; } });
|
|
50
49
|
var email_layout_entity_1 = require("./entities/email-layout.entity");
|
|
51
|
-
Object.defineProperty(exports, "EMAIL_LAYOUT_SINGLETON_ID", { enumerable: true, get: function () { return email_layout_entity_1.EMAIL_LAYOUT_SINGLETON_ID; } });
|
|
52
50
|
Object.defineProperty(exports, "EmailLayout", { enumerable: true, get: function () { return email_layout_entity_1.EmailLayout; } });
|
|
53
51
|
var email_template_translation_entity_1 = require("./entities/email-template-translation.entity");
|
|
54
52
|
Object.defineProperty(exports, "EmailTemplateTranslation", { enumerable: true, get: function () { return email_template_translation_entity_1.EmailTemplateTranslation; } });
|
|
@@ -57,12 +55,9 @@ Object.defineProperty(exports, "EmailTemplate", { enumerable: true, get: functio
|
|
|
57
55
|
var form_1 = require("./entities/form");
|
|
58
56
|
Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return form_1.Form; } });
|
|
59
57
|
Object.defineProperty(exports, "FormField", { enumerable: true, get: function () { return form_1.FormField; } });
|
|
60
|
-
Object.defineProperty(exports, "FormFieldType", { enumerable: true, get: function () { return form_1.FormFieldType; } });
|
|
61
58
|
Object.defineProperty(exports, "FormSubmission", { enumerable: true, get: function () { return form_1.FormSubmission; } });
|
|
62
|
-
Object.defineProperty(exports, "ResourceFormAction", { enumerable: true, get: function () { return form_1.ResourceFormAction; } });
|
|
63
59
|
var message_entity_1 = require("./entities/message.entity");
|
|
64
60
|
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return message_entity_1.Message; } });
|
|
65
|
-
Object.defineProperty(exports, "MessageReferenceType", { enumerable: true, get: function () { return message_entity_1.MessageReferenceType; } });
|
|
66
61
|
var mqttServer_entity_1 = require("./entities/mqttServer.entity");
|
|
67
62
|
Object.defineProperty(exports, "MqttServer", { enumerable: true, get: function () { return mqttServer_entity_1.MqttServer; } });
|
|
68
63
|
var notification_preference_entity_1 = require("./entities/notification-preference.entity");
|
|
@@ -77,9 +72,7 @@ Object.defineProperty(exports, "PasswordHistory", { enumerable: true, get: funct
|
|
|
77
72
|
var password_policy_override_entity_1 = require("./entities/password-policy-override.entity");
|
|
78
73
|
Object.defineProperty(exports, "PASSWORD_POLICY_ROLES", { enumerable: true, get: function () { return password_policy_override_entity_1.PASSWORD_POLICY_ROLES; } });
|
|
79
74
|
Object.defineProperty(exports, "PasswordPolicyOverride", { enumerable: true, get: function () { return password_policy_override_entity_1.PasswordPolicyOverride; } });
|
|
80
|
-
Object.defineProperty(exports, "PasswordPolicyRole", { enumerable: true, get: function () { return password_policy_override_entity_1.PasswordPolicyRole; } });
|
|
81
75
|
var password_policy_entity_1 = require("./entities/password-policy.entity");
|
|
82
|
-
Object.defineProperty(exports, "PASSWORD_POLICY_SINGLETON_ID", { enumerable: true, get: function () { return password_policy_entity_1.PASSWORD_POLICY_SINGLETON_ID; } });
|
|
83
76
|
Object.defineProperty(exports, "PasswordPolicy", { enumerable: true, get: function () { return password_policy_entity_1.PasswordPolicy; } });
|
|
84
77
|
var permission_entity_1 = require("./entities/permission.entity");
|
|
85
78
|
Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return permission_entity_1.Permission; } });
|
|
@@ -87,16 +80,13 @@ var project_1 = require("./entities/project");
|
|
|
87
80
|
Object.defineProperty(exports, "Project", { enumerable: true, get: function () { return project_1.Project; } });
|
|
88
81
|
var project_invitation_entity_1 = require("./entities/project-invitation.entity");
|
|
89
82
|
Object.defineProperty(exports, "ProjectInvitation", { enumerable: true, get: function () { return project_invitation_entity_1.ProjectInvitation; } });
|
|
90
|
-
Object.defineProperty(exports, "ProjectInvitationStatus", { enumerable: true, get: function () { return project_invitation_entity_1.ProjectInvitationStatus; } });
|
|
91
83
|
var project_member_entity_1 = require("./entities/project-member.entity");
|
|
92
84
|
Object.defineProperty(exports, "ProjectMember", { enumerable: true, get: function () { return project_member_entity_1.ProjectMember; } });
|
|
93
|
-
Object.defineProperty(exports, "ProjectMemberRole", { enumerable: true, get: function () { return project_member_entity_1.ProjectMemberRole; } });
|
|
94
85
|
var push_subscription_entity_1 = require("./entities/push-subscription.entity");
|
|
95
86
|
Object.defineProperty(exports, "PushSubscription", { enumerable: true, get: function () { return push_subscription_entity_1.PushSubscription; } });
|
|
96
87
|
var resource_billing_configuration_entity_1 = require("./entities/resource-billing-configuration.entity");
|
|
97
88
|
Object.defineProperty(exports, "ResourceBillingConfiguration", { enumerable: true, get: function () { return resource_billing_configuration_entity_1.ResourceBillingConfiguration; } });
|
|
98
89
|
var resource_maintenance_request_entity_1 = require("./entities/resource-maintenance-request.entity");
|
|
99
|
-
Object.defineProperty(exports, "MaintenanceRequestStatus", { enumerable: true, get: function () { return resource_maintenance_request_entity_1.MaintenanceRequestStatus; } });
|
|
100
90
|
Object.defineProperty(exports, "ResourceMaintenanceRequest", { enumerable: true, get: function () { return resource_maintenance_request_entity_1.ResourceMaintenanceRequest; } });
|
|
101
91
|
var resource_maintenance_schedule_time_interval_config_entity_1 = require("./entities/resource-maintenance-schedule-time-interval-config.entity");
|
|
102
92
|
Object.defineProperty(exports, "ResourceMaintenanceScheduleTimeIntervalConfig", { enumerable: true, get: function () { return resource_maintenance_schedule_time_interval_config_entity_1.ResourceMaintenanceScheduleTimeIntervalConfig; } });
|
|
@@ -106,19 +96,14 @@ var resource_maintenance_schedule_usage_hours_config_entity_1 = require("./entit
|
|
|
106
96
|
Object.defineProperty(exports, "ResourceMaintenanceScheduleUsageHoursConfig", { enumerable: true, get: function () { return resource_maintenance_schedule_usage_hours_config_entity_1.ResourceMaintenanceScheduleUsageHoursConfig; } });
|
|
107
97
|
var resource_maintenance_schedule_entity_1 = require("./entities/resource-maintenance-schedule.entity");
|
|
108
98
|
Object.defineProperty(exports, "ResourceMaintenanceSchedule", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceSchedule; } });
|
|
109
|
-
Object.defineProperty(exports, "ResourceMaintenanceScheduleDurationBasis", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceScheduleDurationBasis; } });
|
|
110
|
-
Object.defineProperty(exports, "ResourceMaintenanceScheduleTriggerType", { enumerable: true, get: function () { return resource_maintenance_schedule_entity_1.ResourceMaintenanceScheduleTriggerType; } });
|
|
111
99
|
var resource_meter_entity_1 = require("./entities/resource-meter.entity");
|
|
112
100
|
Object.defineProperty(exports, "ResourceMeter", { enumerable: true, get: function () { return resource_meter_entity_1.ResourceMeter; } });
|
|
113
101
|
var csv_export_template_entity_1 = require("./entities/csv-export-template.entity");
|
|
114
102
|
Object.defineProperty(exports, "CsvExportTemplate", { enumerable: true, get: function () { return csv_export_template_entity_1.CsvExportTemplate; } });
|
|
115
103
|
Object.defineProperty(exports, "CsvExportTemplateColumn", { enumerable: true, get: function () { return csv_export_template_entity_1.CsvExportTemplateColumn; } });
|
|
116
|
-
Object.defineProperty(exports, "CsvExportTemplateColumnType", { enumerable: true, get: function () { return csv_export_template_entity_1.CsvExportTemplateColumnType; } });
|
|
117
|
-
Object.defineProperty(exports, "CsvExportType", { enumerable: true, get: function () { return csv_export_template_entity_1.CsvExportType; } });
|
|
118
104
|
var resource_metering_entity_1 = require("./entities/resource-metering.entity");
|
|
119
105
|
Object.defineProperty(exports, "ResourceMeteringOperation", { enumerable: true, get: function () { return resource_metering_entity_1.ResourceMeteringOperation; } });
|
|
120
106
|
Object.defineProperty(exports, "ResourceMeteringSession", { enumerable: true, get: function () { return resource_metering_entity_1.ResourceMeteringSession; } });
|
|
121
|
-
Object.defineProperty(exports, "ResourceMeteringSessionStatus", { enumerable: true, get: function () { return resource_metering_entity_1.ResourceMeteringSessionStatus; } });
|
|
122
107
|
Object.defineProperty(exports, "ResourceMeteringSegment", { enumerable: true, get: function () { return resource_metering_entity_1.ResourceMeteringSegment; } });
|
|
123
108
|
var resource_operating_interval_entity_1 = require("./entities/resource-operating-interval.entity");
|
|
124
109
|
Object.defineProperty(exports, "ResourceOperatingInterval", { enumerable: true, get: function () { return resource_operating_interval_entity_1.ResourceOperatingInterval; } });
|
|
@@ -128,11 +113,6 @@ var resource_entity_1 = require("./entities/resource.entity");
|
|
|
128
113
|
Object.defineProperty(exports, "Resource", { enumerable: true, get: function () { return resource_entity_1.Resource; } });
|
|
129
114
|
var resource_maintenance_1 = require("./entities/resource.maintenance");
|
|
130
115
|
Object.defineProperty(exports, "ResourceMaintenance", { enumerable: true, get: function () { return resource_maintenance_1.ResourceMaintenance; } });
|
|
131
|
-
var resource_supervision_1 = require("./entities/resource.supervision");
|
|
132
|
-
Object.defineProperty(exports, "AutoIntroductionTarget", { enumerable: true, get: function () { return resource_supervision_1.AutoIntroductionTarget; } });
|
|
133
|
-
Object.defineProperty(exports, "SupervisionMode", { enumerable: true, get: function () { return resource_supervision_1.SupervisionMode; } });
|
|
134
|
-
var resource_type_1 = require("./entities/resource.type");
|
|
135
|
-
Object.defineProperty(exports, "ResourceType", { enumerable: true, get: function () { return resource_type_1.ResourceType; } });
|
|
136
116
|
var resourceFlowEdge_1 = require("./entities/resourceFlowEdge");
|
|
137
117
|
Object.defineProperty(exports, "ResourceFlowEdge", { enumerable: true, get: function () { return resourceFlowEdge_1.ResourceFlowEdge; } });
|
|
138
118
|
var flow_entity_1 = require("./entities/flow.entity");
|
|
@@ -162,7 +142,6 @@ Object.defineProperty(exports, "MqttSendMessageNodeDataSchema", { enumerable: tr
|
|
|
162
142
|
Object.defineProperty(exports, "MqttWaitForMessageNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.MqttWaitForMessageNodeDataSchema; } });
|
|
163
143
|
Object.defineProperty(exports, "ResourceActivityTrackActivityNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceActivityTrackActivityNodeDataSchema; } });
|
|
164
144
|
Object.defineProperty(exports, "ResourceFlowNode", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceFlowNode; } });
|
|
165
|
-
Object.defineProperty(exports, "ResourceFlowNodeType", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceFlowNodeType; } });
|
|
166
145
|
Object.defineProperty(exports, "ResourceHealthHeartbeatNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceHealthHeartbeatNodeDataSchema; } });
|
|
167
146
|
Object.defineProperty(exports, "ResourceHealthSetNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceHealthSetNodeDataSchema; } });
|
|
168
147
|
Object.defineProperty(exports, "ResourceOperatingTransitionNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.ResourceOperatingTransitionNodeDataSchema; } });
|
|
@@ -174,25 +153,18 @@ Object.defineProperty(exports, "VariableScopeSchema", { enumerable: true, get: f
|
|
|
174
153
|
Object.defineProperty(exports, "WaitNodeDataSchema", { enumerable: true, get: function () { return resourceFlowNode_1.WaitNodeDataSchema; } });
|
|
175
154
|
var resourceFlowVariable_1 = require("./entities/resourceFlowVariable");
|
|
176
155
|
Object.defineProperty(exports, "ResourceFlowVariable", { enumerable: true, get: function () { return resourceFlowVariable_1.ResourceFlowVariable; } });
|
|
177
|
-
Object.defineProperty(exports, "ResourceFlowVariableScope", { enumerable: true, get: function () { return resourceFlowVariable_1.ResourceFlowVariableScope; } });
|
|
178
156
|
var resourceGroup_entity_1 = require("./entities/resourceGroup.entity");
|
|
179
157
|
Object.defineProperty(exports, "ResourceGroup", { enumerable: true, get: function () { return resourceGroup_entity_1.ResourceGroup; } });
|
|
180
158
|
var resourceHealthState_entity_1 = require("./entities/resourceHealthState.entity");
|
|
181
|
-
Object.defineProperty(exports, "ResourceHealthSource", { enumerable: true, get: function () { return resourceHealthState_entity_1.ResourceHealthSource; } });
|
|
182
159
|
Object.defineProperty(exports, "ResourceHealthState", { enumerable: true, get: function () { return resourceHealthState_entity_1.ResourceHealthState; } });
|
|
183
|
-
Object.defineProperty(exports, "ResourceHealthStatus", { enumerable: true, get: function () { return resourceHealthState_entity_1.ResourceHealthStatus; } });
|
|
184
160
|
var resourceIntroducer_entity_1 = require("./entities/resourceIntroducer.entity");
|
|
185
161
|
Object.defineProperty(exports, "ResourceIntroducer", { enumerable: true, get: function () { return resourceIntroducer_entity_1.ResourceIntroducer; } });
|
|
186
|
-
Object.defineProperty(exports, "ResourceIntroducerType", { enumerable: true, get: function () { return resourceIntroducer_entity_1.ResourceIntroducerType; } });
|
|
187
162
|
var resourceIntroduction_entity_1 = require("./entities/resourceIntroduction.entity");
|
|
188
163
|
Object.defineProperty(exports, "ResourceIntroduction", { enumerable: true, get: function () { return resourceIntroduction_entity_1.ResourceIntroduction; } });
|
|
189
164
|
var resourceIntroductionHistoryItem_entity_1 = require("./entities/resourceIntroductionHistoryItem.entity");
|
|
190
|
-
Object.defineProperty(exports, "IntroductionHistoryAction", { enumerable: true, get: function () { return resourceIntroductionHistoryItem_entity_1.IntroductionHistoryAction; } });
|
|
191
165
|
Object.defineProperty(exports, "ResourceIntroductionHistoryItem", { enumerable: true, get: function () { return resourceIntroductionHistoryItem_entity_1.ResourceIntroductionHistoryItem; } });
|
|
192
166
|
var resourceUsage_entity_1 = require("./entities/resourceUsage.entity");
|
|
193
167
|
Object.defineProperty(exports, "ResourceUsage", { enumerable: true, get: function () { return resourceUsage_entity_1.ResourceUsage; } });
|
|
194
|
-
var resourceUsage_type_1 = require("./entities/resourceUsage.type");
|
|
195
|
-
Object.defineProperty(exports, "ResourceUsageAction", { enumerable: true, get: function () { return resourceUsage_type_1.ResourceUsageAction; } });
|
|
196
168
|
var rfidCard_entity_1 = require("./entities/rfidCard.entity");
|
|
197
169
|
Object.defineProperty(exports, "NFCCard", { enumerable: true, get: function () { return rfidCard_entity_1.NFCCard; } });
|
|
198
170
|
var nfcCardPendingChange_entity_1 = require("./entities/nfcCardPendingChange.entity");
|
|
@@ -207,19 +179,14 @@ var setting_entity_1 = require("./entities/setting.entity");
|
|
|
207
179
|
Object.defineProperty(exports, "Setting", { enumerable: true, get: function () { return setting_entity_1.Setting; } });
|
|
208
180
|
var ssoProvider_entity_1 = require("./entities/ssoProvider.entity");
|
|
209
181
|
Object.defineProperty(exports, "SSOProvider", { enumerable: true, get: function () { return ssoProvider_entity_1.SSOProvider; } });
|
|
210
|
-
Object.defineProperty(exports, "SSOProviderType", { enumerable: true, get: function () { return ssoProvider_entity_1.SSOProviderType; } });
|
|
211
182
|
var ssoProvider_oidc_1 = require("./entities/ssoProvider.oidc");
|
|
212
183
|
Object.defineProperty(exports, "SSOProviderOIDCConfiguration", { enumerable: true, get: function () { return ssoProvider_oidc_1.SSOProviderOIDCConfiguration; } });
|
|
213
|
-
Object.defineProperty(exports, "MAX_PERMISSION_SYNC_TTL_MINUTES", { enumerable: true, get: function () { return ssoProvider_oidc_1.MAX_PERMISSION_SYNC_TTL_MINUTES; } });
|
|
214
184
|
var ssoProvider_saml_1 = require("./entities/ssoProvider.saml");
|
|
215
185
|
Object.defineProperty(exports, "SSOProviderSAMLConfiguration", { enumerable: true, get: function () { return ssoProvider_saml_1.SSOProviderSAMLConfiguration; } });
|
|
216
186
|
var user_role_entity_1 = require("./entities/user-role.entity");
|
|
217
187
|
Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return user_role_entity_1.UserRole; } });
|
|
218
|
-
Object.defineProperty(exports, "UserRoleSource", { enumerable: true, get: function () { return user_role_entity_1.UserRoleSource; } });
|
|
219
188
|
var user_entity_1 = require("./entities/user.entity");
|
|
220
189
|
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_entity_1.User; } });
|
|
221
|
-
var usageDurationUnit_enum_1 = require("./types/usageDurationUnit.enum");
|
|
222
|
-
Object.defineProperty(exports, "UsageDurationUnit", { enumerable: true, get: function () { return usageDurationUnit_enum_1.UsageDurationUnit; } });
|
|
223
190
|
const api_token_permission_entity_2 = require("./entities/api-token-permission.entity");
|
|
224
191
|
const api_token_entity_2 = require("./entities/api-token.entity");
|
|
225
192
|
const mcp_oauth_client_entity_2 = require("./entities/mcp-oauth-client.entity");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities-index.js","sourceRoot":"","sources":["../../../../../libs/database-entities/src/lib/entities-index.ts"],"names":[],"mappings":";;;;;AAAA,sFAA4E;AAAnE,iIAAA,kBAAkB,OAAA;AAC3B,gEAAuD;AAA9C,4GAAA,QAAQ,OAAA;AACjB,8EAAoE;AAA3D,yHAAA,cAAc,OAAA;AACvB,4EAAkE;AAAzD,uHAAA,aAAa,OAAA;AACtB,4EAAkE;AAAzD,uHAAA,aAAa,OAAA;AAEtB,gEAAkF;AAAzE,6GAAA,SAAS,OAAA;AAAE,4HAAA,wBAAwB,OAAA;AAC5C,sFAAmG;AAA1F,mIAAA,oBAAoB,OAAA;AAC7B,kGAAwF;AAA/E,6IAAA,wBAAwB,OAAA;AACjC,oFAAgF;AAAvE,qIAAA,uBAAuB,OAAA;AAChC,0FAAiF;AAAxE,sIAAA,qBAAqB,OAAA;AAC9B,gGAAqF;AAA5E,0IAAA,sBAAsB,OAAA;AAE/B,kFAK8C;AAJ5C,0HAAA,aAAa,OAAA;AACb,mIAAA,sBAAsB,OAAA;AACtB,mIAAA,sBAAsB,OAAA;AACtB,qIAAA,wBAAwB,OAAA;AAG1B,gEAA+E;AAAtE,4GAAA,QAAQ,OAAA;AAAE,0HAAA,sBAAsB,OAAA;AAEzC,sFAA8E;AAArE,mIAAA,oBAAoB,OAAA;AAC7B,8FAIoD;AAHlD,yIAAA,sBAAsB,OAAA;AAIxB,
|
|
1
|
+
{"version":3,"file":"entities-index.js","sourceRoot":"","sources":["../../../../../libs/database-entities/src/lib/entities-index.ts"],"names":[],"mappings":";;;;;AAAA,sFAA4E;AAAnE,iIAAA,kBAAkB,OAAA;AAC3B,gEAAuD;AAA9C,4GAAA,QAAQ,OAAA;AACjB,8EAAoE;AAA3D,yHAAA,cAAc,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
deviceId: z.ZodNumber;
|
|
4
|
-
}, z.core.$strip>;
|
|
5
|
-
export declare const CompanionIdleActiveNodeDataSchema: z.ZodObject<{
|
|
6
|
-
deviceId: z.ZodNumber;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export declare const CompanionForegroundAppNodeDataSchema: z.ZodObject<{
|
|
9
|
-
deviceId: z.ZodNumber;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export declare const CompanionUsbDeviceNodeDataSchema: z.ZodObject<{
|
|
12
|
-
deviceId: z.ZodNumber;
|
|
13
|
-
vendorId: z.ZodOptional<z.ZodNumber>;
|
|
14
|
-
productId: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
}, z.core.$strip>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompanionUsbDeviceNodeDataSchema = exports.CompanionForegroundAppNodeDataSchema = exports.CompanionIdleActiveNodeDataSchema = exports.CompanionLockNodeDataSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const CompanionDeviceIdSchema = zod_1.z.number().int().positive().meta({
|
|
6
|
-
selectFromEntity: 'companionDevice',
|
|
7
|
-
entityProperty: 'id',
|
|
8
|
-
});
|
|
9
|
-
exports.CompanionLockNodeDataSchema = zod_1.z.object({
|
|
10
|
-
deviceId: CompanionDeviceIdSchema,
|
|
11
|
-
});
|
|
12
|
-
exports.CompanionIdleActiveNodeDataSchema = zod_1.z.object({
|
|
13
|
-
deviceId: CompanionDeviceIdSchema,
|
|
14
|
-
});
|
|
15
|
-
exports.CompanionForegroundAppNodeDataSchema = zod_1.z.object({
|
|
16
|
-
deviceId: CompanionDeviceIdSchema,
|
|
17
|
-
});
|
|
18
|
-
exports.CompanionUsbDeviceNodeDataSchema = zod_1.z.object({
|
|
19
|
-
deviceId: CompanionDeviceIdSchema,
|
|
20
|
-
vendorId: zod_1.z.number().int().optional().meta({
|
|
21
|
-
helpText: 'Optional USB vendor ID filter (decimal). Leave empty to match any vendor.',
|
|
22
|
-
}),
|
|
23
|
-
productId: zod_1.z.number().int().optional().meta({
|
|
24
|
-
helpText: 'Optional USB product ID filter (decimal). Leave empty to match any product.',
|
|
25
|
-
}),
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=companion-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"companion-schemas.js","sourceRoot":"","sources":["../../../../../../../libs/database-entities/src/lib/entities/resource-flow-node/companion-schemas.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,uBAAuB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;IAC/D,gBAAgB,EAAE,iBAAiB;IACnC,cAAc,EAAE,IAAI;CACrB,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,uBAAuB;CAClC,CAAC,CAAC;AAEU,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,QAAQ,EAAE,uBAAuB;CAClC,CAAC,CAAC;AAEU,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,QAAQ,EAAE,uBAAuB;CAClC,CAAC,CAAC;AAEU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,QAAQ,EAAE,uBAAuB;IACjC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QACzC,QAAQ,EAAE,2EAA2E;KACtF,CAAC;IACF,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAC1C,QAAQ,EAAE,6EAA6E;KACxF,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const ExternalEffectFailureBehaviorSchema: z.ZodDefault<z.ZodEnum<{
|
|
3
|
-
"fail-flow": "fail-flow";
|
|
4
|
-
"failure-output": "failure-output";
|
|
5
|
-
"log-and-continue": "log-and-continue";
|
|
6
|
-
}>>;
|
|
7
|
-
export declare const ExternalEffectPolicySchema: z.ZodObject<{
|
|
8
|
-
failureBehavior: z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
"fail-flow": "fail-flow";
|
|
10
|
-
"failure-output": "failure-output";
|
|
11
|
-
"log-and-continue": "log-and-continue";
|
|
12
|
-
}>>;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
export type ExternalEffectFailureBehavior = z.infer<typeof ExternalEffectFailureBehaviorSchema>;
|
|
15
|
-
export declare const AcknowledgementTimeoutSecondsSchema: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
export declare const CompletionBehaviorSchema: z.ZodDefault<z.ZodEnum<{
|
|
17
|
-
dispatch: "dispatch";
|
|
18
|
-
acknowledged: "acknowledged";
|
|
19
|
-
}>>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompletionBehaviorSchema = exports.AcknowledgementTimeoutSecondsSchema = exports.ExternalEffectPolicySchema = exports.ExternalEffectFailureBehaviorSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.ExternalEffectFailureBehaviorSchema = zod_1.z
|
|
6
|
-
.enum(['fail-flow', 'failure-output', 'log-and-continue'])
|
|
7
|
-
.default('log-and-continue')
|
|
8
|
-
.meta({
|
|
9
|
-
helpText: 'fail-flow aborts the triggering operation, failure-output routes the error through the failure handle, and log-and-continue records the error and continues normally.',
|
|
10
|
-
});
|
|
11
|
-
exports.ExternalEffectPolicySchema = zod_1.z.object({
|
|
12
|
-
failureBehavior: exports.ExternalEffectFailureBehaviorSchema,
|
|
13
|
-
});
|
|
14
|
-
exports.AcknowledgementTimeoutSecondsSchema = zod_1.z
|
|
15
|
-
.number()
|
|
16
|
-
.int()
|
|
17
|
-
.positive()
|
|
18
|
-
.max(2147483, 'Timeout exceeds the supported timer limit')
|
|
19
|
-
.optional()
|
|
20
|
-
.meta({
|
|
21
|
-
helpText: 'Maximum time to wait for an acknowledgement, in seconds. Leave empty to use the integration default.',
|
|
22
|
-
});
|
|
23
|
-
exports.CompletionBehaviorSchema = zod_1.z.enum(['dispatch', 'acknowledged']).default('acknowledged');
|
|
24
|
-
//# sourceMappingURL=external-effect-policy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external-effect-policy.js","sourceRoot":"","sources":["../../../../../../../libs/database-entities/src/lib/entities/resource-flow-node/external-effect-policy.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,mCAAmC,GAAG,OAAC;KACjD,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;KACzD,OAAO,CAAC,kBAAkB,CAAC;KAC3B,IAAI,CAAC;IACJ,QAAQ,EACN,uKAAuK;CAC1K,CAAC,CAAC;AAEQ,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,eAAe,EAAE,2CAAmC;CACrD,CAAC,CAAC;AAIU,QAAA,mCAAmC,GAAG,OAAC;KACjD,MAAM,EAAE;KACR,GAAG,EAAE;KACL,QAAQ,EAAE;KACV,GAAG,CAAC,OAAS,EAAE,2CAA2C,CAAC;KAC3D,QAAQ,EAAE;KACV,IAAI,CAAC;IACJ,QAAQ,EAAE,sGAAsG;CACjH,CAAC,CAAC;AAEQ,QAAA,wBAAwB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const HealthStateOptionEnum: z.ZodEnum<{
|
|
3
|
-
healthy: "healthy";
|
|
4
|
-
unhealthy: "unhealthy";
|
|
5
|
-
}>;
|
|
6
|
-
export declare const ResourceHealthHeartbeatNodeDataSchema: z.ZodObject<{
|
|
7
|
-
identifier: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
|
-
timeoutSeconds: z.ZodNumber;
|
|
9
|
-
unhealthyReason: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export declare const ResourceHealthSetNodeDataSchema: z.ZodObject<{
|
|
12
|
-
identifier: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13
|
-
status: z.ZodEnum<{
|
|
14
|
-
healthy: "healthy";
|
|
15
|
-
unhealthy: "unhealthy";
|
|
16
|
-
}>;
|
|
17
|
-
reason: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18
|
-
}, z.core.$strip>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceHealthSetNodeDataSchema = exports.ResourceHealthHeartbeatNodeDataSchema = exports.HealthStateOptionEnum = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.HealthStateOptionEnum = zod_1.z.enum(['healthy', 'unhealthy']);
|
|
6
|
-
exports.ResourceHealthHeartbeatNodeDataSchema = zod_1.z.object({
|
|
7
|
-
identifier: zod_1.z.string().optional().default('').meta({
|
|
8
|
-
helpText: 'Optional label identifying which subsystem reports this heartbeat (e.g. "ir-bridge"). Leave empty for the resource default.',
|
|
9
|
-
}),
|
|
10
|
-
timeoutSeconds: zod_1.z
|
|
11
|
-
.number()
|
|
12
|
-
.int()
|
|
13
|
-
.positive()
|
|
14
|
-
.describe('If no heartbeat is received within this many seconds, the resource is marked unhealthy'),
|
|
15
|
-
unhealthyReason: zod_1.z.string().optional().default('').meta({
|
|
16
|
-
helpText: 'Reason recorded when the heartbeat times out (e.g. "no heartbeat received")',
|
|
17
|
-
}),
|
|
18
|
-
});
|
|
19
|
-
exports.ResourceHealthSetNodeDataSchema = zod_1.z.object({
|
|
20
|
-
identifier: zod_1.z.string().optional().default('').meta({
|
|
21
|
-
overrideWithInput: 'health.identifier',
|
|
22
|
-
helpText: 'Optional label identifying which subsystem this state refers to (e.g. "ir-bridge"). Overridable via payload path "health.identifier".',
|
|
23
|
-
}),
|
|
24
|
-
status: exports.HealthStateOptionEnum.meta({
|
|
25
|
-
overrideWithInput: 'health.status',
|
|
26
|
-
helpText: 'Static status for this node. Overridable via payload path "health.status" (must be "healthy" or "unhealthy").',
|
|
27
|
-
}),
|
|
28
|
-
reason: zod_1.z.string().optional().default('').meta({
|
|
29
|
-
overrideWithInput: 'health.reason',
|
|
30
|
-
helpText: 'Optional reason shown to users when unhealthy. Templates allowed. Overridable via payload path "health.reason".',
|
|
31
|
-
stringVariant: 'multiline',
|
|
32
|
-
}),
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=health-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"health-schemas.js","sourceRoot":"","sources":["../../../../../../../libs/database-entities/src/lib/entities/resource-flow-node/health-schemas.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;AAEzD,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;QACjD,QAAQ,EACN,6HAA6H;KAChI,CAAC;IACF,cAAc,EAAE,OAAC;SACd,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,wFAAwF,CAAC;IACrG,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;QACtD,QAAQ,EAAE,6EAA6E;KACxF,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;QACjD,iBAAiB,EAAE,mBAAmB;QACtC,QAAQ,EACN,uIAAuI;KAC1I,CAAC;IACF,MAAM,EAAE,6BAAqB,CAAC,IAAI,CAAC;QACjC,iBAAiB,EAAE,eAAe;QAClC,QAAQ,EACN,+GAA+G;KAClH,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;QAC7C,iBAAiB,EAAE,eAAe;QAClC,QAAQ,EACN,iHAAiH;QACnH,aAAa,EAAE,WAAW;KAC3B,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const HttpRequestNodeDataSchema: z.ZodObject<{
|
|
3
|
-
url: z.ZodString;
|
|
4
|
-
method: z.ZodEnum<{
|
|
5
|
-
GET: "GET";
|
|
6
|
-
POST: "POST";
|
|
7
|
-
PUT: "PUT";
|
|
8
|
-
PATCH: "PATCH";
|
|
9
|
-
DELETE: "DELETE";
|
|
10
|
-
HEAD: "HEAD";
|
|
11
|
-
OPTIONS: "OPTIONS";
|
|
12
|
-
}>;
|
|
13
|
-
headers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
14
|
-
body: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15
|
-
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
completionBehavior: z.ZodDefault<z.ZodEnum<{
|
|
17
|
-
dispatch: "dispatch";
|
|
18
|
-
acknowledged: "acknowledged";
|
|
19
|
-
}>>;
|
|
20
|
-
failureBehavior: z.ZodDefault<z.ZodEnum<{
|
|
21
|
-
"fail-flow": "fail-flow";
|
|
22
|
-
"failure-output": "failure-output";
|
|
23
|
-
"log-and-continue": "log-and-continue";
|
|
24
|
-
}>>;
|
|
25
|
-
}, z.core.$strip>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HttpRequestNodeDataSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const external_effect_policy_1 = require("./external-effect-policy");
|
|
6
|
-
exports.HttpRequestNodeDataSchema = zod_1.z
|
|
7
|
-
.object({
|
|
8
|
-
url: zod_1.z.string().url('Invalid URL format'),
|
|
9
|
-
method: zod_1.z.enum(['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']),
|
|
10
|
-
headers: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional().default({}),
|
|
11
|
-
body: zod_1.z.string().optional().default('').meta({
|
|
12
|
-
stringVariant: 'multiline',
|
|
13
|
-
}),
|
|
14
|
-
timeoutSeconds: external_effect_policy_1.AcknowledgementTimeoutSecondsSchema,
|
|
15
|
-
completionBehavior: external_effect_policy_1.CompletionBehaviorSchema.meta({
|
|
16
|
-
helpText: 'Dispatch continues after the HTTP request is initiated. Acknowledged waits for the HTTP response.',
|
|
17
|
-
}),
|
|
18
|
-
})
|
|
19
|
-
.extend(external_effect_policy_1.ExternalEffectPolicySchema.shape);
|
|
20
|
-
//# sourceMappingURL=http-schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http-schema.js","sourceRoot":"","sources":["../../../../../../../libs/database-entities/src/lib/entities/resource-flow-node/http-schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAIkC;AAErB,QAAA,yBAAyB,GAAG,OAAC;KACvC,MAAM,CAAC;IACN,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,oBAAoB,CAAC;IACzC,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;IAC5E,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAChE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;QAC3C,aAAa,EAAE,WAAW;KAC3B,CAAC;IACF,cAAc,EAAE,4DAAmC;IACnD,kBAAkB,EAAE,iDAAwB,CAAC,IAAI,CAAC;QAChD,QAAQ,EAAE,mGAAmG;KAC9G,CAAC;CACH,CAAC;KACD,MAAM,CAAC,mDAA0B,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const MeteringStartNodeDataSchema: z.ZodObject<{
|
|
3
|
-
meterId: z.ZodNumber;
|
|
4
|
-
timeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
export declare const MeteringCollectNodeDataSchema: z.ZodObject<{
|
|
7
|
-
meterId: z.ZodNumber;
|
|
8
|
-
timeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
9
|
-
interimIntervalMinutes: z.ZodDefault<z.ZodNumber>;
|
|
10
|
-
finalAttempts: z.ZodDefault<z.ZodNumber>;
|
|
11
|
-
finalRetryDelaySeconds: z.ZodDefault<z.ZodNumber>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export declare const MeteringReadyNodeDataSchema: z.ZodObject<{
|
|
14
|
-
meterId: z.ZodNumber;
|
|
15
|
-
baselineValue: z.ZodOptional<z.ZodString>;
|
|
16
|
-
source: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
export declare const MeteringReportNodeDataSchema: z.ZodObject<{
|
|
19
|
-
meterId: z.ZodNumber;
|
|
20
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
21
|
-
increment: "increment";
|
|
22
|
-
total: "total";
|
|
23
|
-
}>>;
|
|
24
|
-
value: z.ZodString;
|
|
25
|
-
observedAt: z.ZodOptional<z.ZodString>;
|
|
26
|
-
source: z.ZodOptional<z.ZodString>;
|
|
27
|
-
usageId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
}, z.core.$strip>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MeteringReportNodeDataSchema = exports.MeteringReadyNodeDataSchema = exports.MeteringCollectNodeDataSchema = exports.MeteringStartNodeDataSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const MeteringTimeoutSecondsSchema = zod_1.z.number().int().positive().max(600).default(30).meta({
|
|
6
|
-
helpText: 'Maximum time to wait for the branch to acknowledge or report, in seconds.',
|
|
7
|
-
});
|
|
8
|
-
const MeterIdSchema = zod_1.z.number().int().positive().meta({ helpText: 'Choose a predefined meter on this resource.' });
|
|
9
|
-
exports.MeteringStartNodeDataSchema = zod_1.z.object({
|
|
10
|
-
meterId: MeterIdSchema,
|
|
11
|
-
timeoutSeconds: MeteringTimeoutSecondsSchema,
|
|
12
|
-
});
|
|
13
|
-
exports.MeteringCollectNodeDataSchema = zod_1.z.object({
|
|
14
|
-
meterId: MeterIdSchema,
|
|
15
|
-
timeoutSeconds: MeteringTimeoutSecondsSchema,
|
|
16
|
-
interimIntervalMinutes: zod_1.z
|
|
17
|
-
.number()
|
|
18
|
-
.int()
|
|
19
|
-
.min(0)
|
|
20
|
-
.max(1440)
|
|
21
|
-
.default(1)
|
|
22
|
-
.meta({ helpText: 'Read the meter at this interval, including outside sessions. 0 disables periodic collection.' }),
|
|
23
|
-
finalAttempts: zod_1.z.number().int().min(1).max(10).default(3),
|
|
24
|
-
finalRetryDelaySeconds: zod_1.z.number().int().min(0).max(120).default(5),
|
|
25
|
-
});
|
|
26
|
-
exports.MeteringReadyNodeDataSchema = zod_1.z.object({
|
|
27
|
-
meterId: MeterIdSchema,
|
|
28
|
-
baselineValue: zod_1.z.string().optional().meta({
|
|
29
|
-
helpText: 'Current cumulative counter value (template). Leave empty if the start branch resets the counter.',
|
|
30
|
-
}),
|
|
31
|
-
source: zod_1.z.string().optional(),
|
|
32
|
-
});
|
|
33
|
-
exports.MeteringReportNodeDataSchema = zod_1.z.object({
|
|
34
|
-
meterId: MeterIdSchema,
|
|
35
|
-
mode: zod_1.z.enum(['total', 'increment']).default('total').meta({
|
|
36
|
-
helpText: 'A cumulative reading counts the increase since the previous reading. An increment adds the given amount.',
|
|
37
|
-
}),
|
|
38
|
-
value: zod_1.z
|
|
39
|
-
.string()
|
|
40
|
-
.min(1, 'Value is required')
|
|
41
|
-
.meta({ helpText: 'Non-negative measured value (template). No unit or conversion is applied.' }),
|
|
42
|
-
observedAt: zod_1.z.string().optional(),
|
|
43
|
-
source: zod_1.z.string().optional(),
|
|
44
|
-
usageId: zod_1.z.string().optional().meta({
|
|
45
|
-
helpText: 'Session the reading belongs to (template), for a meter measured per session when the flow does not run in a session lifecycle. Leave empty otherwise.',
|
|
46
|
-
}),
|
|
47
|
-
});
|
|
48
|
-
//# sourceMappingURL=metering-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metering-schemas.js","sourceRoot":"","sources":["../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M,CAAC;IAClD,OAAO,EAAE,aAAa;IACtB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QACxC,QAAQ,EAAE,kGAAkG;KAC7G,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC;QACzD,QAAQ,EACN,0GAA0G;KAC7G,CAAC;IACF,KAAK,EAAE,OAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC;SAC3B,IAAI,CAAC,EAAE,QAAQ,EAAE,2EAA2E,EAAE,CAAC;IAClG,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAClC,QAAQ,EACN,uJAAuJ;KAC1J,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const MqttSendMessageNodeDataSchema: z.ZodObject<{
|
|
3
|
-
serverId: z.ZodNumber;
|
|
4
|
-
topic: z.ZodString;
|
|
5
|
-
payload: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6
|
-
qos: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
retain: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
completionBehavior: z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
dispatch: "dispatch";
|
|
10
|
-
acknowledged: "acknowledged";
|
|
11
|
-
}>>;
|
|
12
|
-
acknowledgementTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
failureBehavior: z.ZodDefault<z.ZodEnum<{
|
|
14
|
-
"fail-flow": "fail-flow";
|
|
15
|
-
"failure-output": "failure-output";
|
|
16
|
-
"log-and-continue": "log-and-continue";
|
|
17
|
-
}>>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
export declare const MqttMessageReceivedNodeDataSchema: z.ZodObject<{
|
|
20
|
-
topic: z.ZodString;
|
|
21
|
-
serverId: z.ZodNumber;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export declare const MqttWaitForMessageNodeDataSchema: z.ZodObject<{
|
|
24
|
-
serverId: z.ZodNumber;
|
|
25
|
-
topic: z.ZodString;
|
|
26
|
-
timeoutSeconds: z.ZodNumber;
|
|
27
|
-
subscribeQos: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
failureBehavior: z.ZodDefault<z.ZodEnum<{
|
|
29
|
-
"fail-flow": "fail-flow";
|
|
30
|
-
"failure-output": "failure-output";
|
|
31
|
-
"log-and-continue": "log-and-continue";
|
|
32
|
-
}>>;
|
|
33
|
-
}, z.core.$strip>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MqttWaitForMessageNodeDataSchema = exports.MqttMessageReceivedNodeDataSchema = exports.MqttSendMessageNodeDataSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const external_effect_policy_1 = require("./external-effect-policy");
|
|
6
|
-
const MqttServerIdSchema = zod_1.z.number().int().positive().meta({
|
|
7
|
-
selectFromEntity: 'mqttServer',
|
|
8
|
-
entityProperty: 'id',
|
|
9
|
-
});
|
|
10
|
-
exports.MqttSendMessageNodeDataSchema = zod_1.z
|
|
11
|
-
.object({
|
|
12
|
-
serverId: MqttServerIdSchema,
|
|
13
|
-
topic: zod_1.z.string().min(1, 'Topic is required'),
|
|
14
|
-
payload: zod_1.z.string().optional().default('').meta({
|
|
15
|
-
stringVariant: 'multiline',
|
|
16
|
-
}),
|
|
17
|
-
qos: zod_1.z.number().min(0).max(2).optional().meta({
|
|
18
|
-
helpText: 'Publish QoS: 0 (at most once), 1 (at least once), 2 (exactly once)',
|
|
19
|
-
}),
|
|
20
|
-
retain: zod_1.z.boolean().optional().meta({
|
|
21
|
-
helpText: 'Retain publishes: broker stores last message for new subscribers',
|
|
22
|
-
}),
|
|
23
|
-
completionBehavior: external_effect_policy_1.CompletionBehaviorSchema.meta({
|
|
24
|
-
helpText: 'Dispatch continues after the broker accepts the publish call. Acknowledged waits for the MQTT publish callback.',
|
|
25
|
-
}),
|
|
26
|
-
acknowledgementTimeoutSeconds: external_effect_policy_1.AcknowledgementTimeoutSecondsSchema,
|
|
27
|
-
})
|
|
28
|
-
.extend(external_effect_policy_1.ExternalEffectPolicySchema.shape);
|
|
29
|
-
exports.MqttMessageReceivedNodeDataSchema = zod_1.z.object({
|
|
30
|
-
topic: zod_1.z.string().min(1, 'Topic is required'),
|
|
31
|
-
serverId: MqttServerIdSchema,
|
|
32
|
-
});
|
|
33
|
-
exports.MqttWaitForMessageNodeDataSchema = zod_1.z
|
|
34
|
-
.object({
|
|
35
|
-
serverId: MqttServerIdSchema,
|
|
36
|
-
topic: zod_1.z.string().min(1, 'Topic is required'),
|
|
37
|
-
timeoutSeconds: zod_1.z.number().int().positive('Timeout must be a positive integer (seconds)'),
|
|
38
|
-
subscribeQos: zod_1.z.number().min(0).max(2).optional().meta({
|
|
39
|
-
helpText: 'Subscribe QoS sets the maximum delivery level for received messages; effective QoS is the lower of publisher and subscriber QoS.',
|
|
40
|
-
}),
|
|
41
|
-
})
|
|
42
|
-
.extend(external_effect_policy_1.ExternalEffectPolicySchema.shape);
|
|
43
|
-
//# sourceMappingURL=mqtt-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mqtt-schemas.js","sourceRoot":"","sources":["../../../../../../../libs/database-entities/src/lib/entities/resource-flow-node/mqtt-schemas.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAIkC;AAElC,MAAM,kBAAkB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;IAC1D,gBAAgB,EAAE,YAAY;IAC9B,cAAc,EAAE,IAAI;CACrB,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC;KAC3C,MAAM,CAAC;IACN,QAAQ,EAAE,kBAAkB;IAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC;IAC7C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;QAC9C,aAAa,EAAE,WAAW;KAC3B,CAAC;IACF,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAC5C,QAAQ,EAAE,oEAAoE;KAC/E,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC;QAClC,QAAQ,EAAE,kEAAkE;KAC7E,CAAC;IACF,kBAAkB,EAAE,iDAAwB,CAAC,IAAI,CAAC;QAChD,QAAQ,EACN,iHAAiH;KACpH,CAAC;IACF,6BAA6B,EAAE,4DAAmC;CACnE,CAAC;KACD,MAAM,CAAC,mDAA0B,CAAC,KAAK,CAAC,CAAC;AAE/B,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,C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