@n8n/api-types 1.21.3 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-sse.d.ts +0 -3
- package/dist/agents/agent-integration.schema.d.ts +184 -0
- package/dist/agents/agent-integration.schema.js +66 -0
- package/dist/agents/agent-integration.schema.js.map +1 -0
- package/dist/agents/agent-json-config.schema.d.ts +1787 -0
- package/dist/agents/agent-json-config.schema.js +144 -0
- package/dist/agents/agent-json-config.schema.js.map +1 -0
- package/dist/agents/dto.d.ts +149 -0
- package/dist/agents/dto.js +67 -0
- package/dist/agents/dto.js.map +1 -0
- package/dist/agents/index.d.ts +6 -0
- package/dist/agents/index.js +35 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/{agents.d.ts → agents/types.d.ts} +7 -93
- package/dist/{agents.js → agents/types.js} +3 -16
- package/dist/agents/types.js.map +1 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +104 -30
- package/dist/chat-hub.js +8 -0
- package/dist/chat-hub.js.map +1 -1
- package/dist/dto/ai/ai-build-request.dto.d.ts +6 -6
- package/dist/dto/api-keys/update-api-key-request.dto.js +2 -9
- package/dist/dto/api-keys/update-api-key-request.dto.js.map +1 -1
- package/dist/dto/credentials/create-credential.dto.d.ts +1 -1
- package/dist/dto/data-table/create-data-table.dto.d.ts +1 -1
- package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +1 -1
- package/dist/dto/data-table/update-data-table.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +2 -2
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +1 -9
- package/dist/dto/index.js +5 -22
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +4 -4
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/redaction-enforcement/redaction-enforcement.dto.d.ts +22 -0
- package/dist/dto/redaction-enforcement/redaction-enforcement.dto.js +19 -0
- package/dist/dto/redaction-enforcement/redaction-enforcement.dto.js.map +1 -0
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +3 -3
- package/dist/dto/user/user-update-request.dto.js +2 -9
- package/dist/dto/user/user-update-request.dto.js.map +1 -1
- package/dist/dto/user/users-list-filter.dto.d.ts +1 -1
- package/dist/dto/workflow-history/workflow-history-lookup.dto.d.ts +2 -0
- package/dist/dto/workflow-history/workflow-history-lookup.dto.js +11 -0
- package/dist/dto/workflow-history/workflow-history-lookup.dto.js.map +1 -0
- package/dist/dto/workflows/base-workflow.dto.d.ts +2 -2
- package/dist/dto/workflows/base-workflow.dto.js +3 -1
- package/dist/dto/workflows/base-workflow.dto.js.map +1 -1
- package/dist/dto/workflows/create-workflow.dto.d.ts +1 -1
- package/dist/dto/workflows/update-workflow.dto.d.ts +1 -1
- package/dist/frontend-settings.d.ts +3 -0
- package/dist/index.d.ts +8 -6
- package/dist/index.js +17 -19
- package/dist/index.js.map +1 -1
- package/dist/redaction-enforcement.d.ts +16 -0
- package/dist/redaction-enforcement.js +15 -0
- package/dist/redaction-enforcement.js.map +1 -0
- package/dist/schemas/breaking-changes.schema.d.ts +16 -16
- package/dist/schemas/credential-resolver.schema.d.ts +8 -8
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +4 -4
- package/dist/schemas/data-table.schema.js +7 -1
- package/dist/schemas/data-table.schema.js.map +1 -1
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/eval-collections.schema.d.ts +165 -0
- package/dist/schemas/eval-collections.schema.js +38 -0
- package/dist/schemas/eval-collections.schema.js.map +1 -0
- package/dist/schemas/evaluations.schema.d.ts +0 -1
- package/dist/schemas/evaluations.schema.js +1 -2
- package/dist/schemas/evaluations.schema.js.map +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +88 -71
- package/dist/schemas/instance-ai.schema.js +10 -3
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +2 -2
- package/dist/schemas/source-controlled-file.schema.d.ts +2 -2
- package/dist/schemas/user.schema.d.ts +12 -12
- package/dist/schemas/workflow-publish-timeline.schema.d.ts +13 -0
- package/dist/schemas/workflow-publish-timeline.schema.js +3 -0
- package/dist/schemas/workflow-publish-timeline.schema.js.map +1 -0
- package/dist/utils/xss-check.d.ts +1 -0
- package/dist/utils/xss-check.js +10 -0
- package/dist/utils/xss-check.js.map +1 -0
- package/package.json +6 -6
- package/dist/agents.js.map +0 -1
- package/dist/dto/agents/agent-build-resume.dto.d.ts +0 -61
- package/dist/dto/agents/agent-build-resume.dto.js +0 -14
- package/dist/dto/agents/agent-build-resume.dto.js.map +0 -1
- package/dist/dto/agents/agent-chat-message.dto.d.ts +0 -11
- package/dist/dto/agents/agent-chat-message.dto.js +0 -12
- package/dist/dto/agents/agent-chat-message.dto.js.map +0 -1
- package/dist/dto/agents/agent-integration.dto.d.ts +0 -11
- package/dist/dto/agents/agent-integration.dto.js +0 -12
- package/dist/dto/agents/agent-integration.dto.js.map +0 -1
- package/dist/dto/agents/create-agent-skill.dto.d.ts +0 -27
- package/dist/dto/agents/create-agent-skill.dto.js +0 -17
- package/dist/dto/agents/create-agent-skill.dto.js.map +0 -1
- package/dist/dto/agents/create-agent.dto.d.ts +0 -9
- package/dist/dto/agents/create-agent.dto.js +0 -11
- package/dist/dto/agents/create-agent.dto.js.map +0 -1
- package/dist/dto/agents/update-agent-config.dto.d.ts +0 -9
- package/dist/dto/agents/update-agent-config.dto.js +0 -11
- package/dist/dto/agents/update-agent-config.dto.js.map +0 -1
- package/dist/dto/agents/update-agent-schedule.dto.d.ts +0 -11
- package/dist/dto/agents/update-agent-schedule.dto.js +0 -12
- package/dist/dto/agents/update-agent-schedule.dto.js.map +0 -1
- package/dist/dto/agents/update-agent-skill.dto.d.ts +0 -12
- package/dist/dto/agents/update-agent-skill.dto.js +0 -13
- package/dist/dto/agents/update-agent-skill.dto.js.map +0 -1
- package/dist/dto/agents/update-agent.dto.d.ts +0 -13
- package/dist/dto/agents/update-agent.dto.js +0 -13
- package/dist/dto/agents/update-agent.dto.js.map +0 -1
|
@@ -6,8 +6,8 @@ declare const ActionResultRequestDto_base: import("../..").ZodClass<{
|
|
|
6
6
|
version: number;
|
|
7
7
|
};
|
|
8
8
|
currentNodeParameters: Record<string, any>;
|
|
9
|
-
workflowId?: string | undefined;
|
|
10
9
|
credentials?: Record<string, any> | undefined;
|
|
10
|
+
workflowId?: string | undefined;
|
|
11
11
|
projectId?: string | undefined;
|
|
12
12
|
methodName?: string | undefined;
|
|
13
13
|
} & {
|
|
@@ -6,8 +6,8 @@ declare const BaseDynamicParametersRequestDto_base: import("../../zod-class").Zo
|
|
|
6
6
|
version: number;
|
|
7
7
|
};
|
|
8
8
|
currentNodeParameters: Record<string, any>;
|
|
9
|
-
workflowId?: string | undefined;
|
|
10
9
|
credentials?: Record<string, any> | undefined;
|
|
10
|
+
workflowId?: string | undefined;
|
|
11
11
|
projectId?: string | undefined;
|
|
12
12
|
methodName?: string | undefined;
|
|
13
13
|
}, {
|
|
@@ -7,8 +7,8 @@ declare const OptionsRequestDto_base: import("../..").ZodClass<{
|
|
|
7
7
|
version: number;
|
|
8
8
|
};
|
|
9
9
|
currentNodeParameters: Record<string, any>;
|
|
10
|
-
workflowId?: string | undefined;
|
|
11
10
|
credentials?: Record<string, any> | undefined;
|
|
11
|
+
workflowId?: string | undefined;
|
|
12
12
|
projectId?: string | undefined;
|
|
13
13
|
methodName?: string | undefined;
|
|
14
14
|
} & {
|
|
@@ -6,8 +6,8 @@ declare const ResourceLocatorRequestDto_base: import("../..").ZodClass<{
|
|
|
6
6
|
version: number;
|
|
7
7
|
};
|
|
8
8
|
currentNodeParameters: Record<string, any>;
|
|
9
|
-
workflowId?: string | undefined;
|
|
10
9
|
credentials?: Record<string, any> | undefined;
|
|
10
|
+
workflowId?: string | undefined;
|
|
11
11
|
projectId?: string | undefined;
|
|
12
12
|
methodName?: string | undefined;
|
|
13
13
|
} & {
|
|
@@ -6,8 +6,8 @@ declare const ResourceMapperFieldsRequestDto_base: import("../..").ZodClass<{
|
|
|
6
6
|
version: number;
|
|
7
7
|
};
|
|
8
8
|
currentNodeParameters: Record<string, any>;
|
|
9
|
-
workflowId?: string | undefined;
|
|
10
9
|
credentials?: Record<string, any> | undefined;
|
|
10
|
+
workflowId?: string | undefined;
|
|
11
11
|
projectId?: string | undefined;
|
|
12
12
|
methodName?: string | undefined;
|
|
13
13
|
} & {
|
|
@@ -465,9 +465,9 @@ export declare const evaluationConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
465
465
|
}>]>, "many">;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
467
|
status: "valid" | "invalid";
|
|
468
|
-
workflowId: string;
|
|
469
468
|
id: string;
|
|
470
469
|
name: string;
|
|
470
|
+
workflowId: string;
|
|
471
471
|
invalidReason: string | null;
|
|
472
472
|
startNodeName: string;
|
|
473
473
|
endNodeName: string;
|
|
@@ -499,9 +499,9 @@ export declare const evaluationConfigSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
499
499
|
})[];
|
|
500
500
|
}, {
|
|
501
501
|
status: "valid" | "invalid";
|
|
502
|
-
workflowId: string;
|
|
503
502
|
id: string;
|
|
504
503
|
name: string;
|
|
504
|
+
workflowId: string;
|
|
505
505
|
invalidReason: string | null;
|
|
506
506
|
startNodeName: string;
|
|
507
507
|
endNodeName: string;
|
|
@@ -24,7 +24,7 @@ declare const ListFolderQueryDto_base: import("../../zod-class").ZodClass<{
|
|
|
24
24
|
parentFolderId?: string | undefined;
|
|
25
25
|
excludeFolderIdAndDescendants?: string | undefined;
|
|
26
26
|
} | undefined;
|
|
27
|
-
select?: Record<"path" | "
|
|
27
|
+
select?: Record<"path" | "id" | "name" | "updatedAt" | "project" | "createdAt" | "tags" | "parentFolder" | "workflowCount" | "subFolderCount", true> | undefined;
|
|
28
28
|
sortBy?: "name:asc" | "name:desc" | "createdAt:asc" | "createdAt:desc" | "updatedAt:asc" | "updatedAt:desc" | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
filter: z.ZodEffects<z.ZodOptional<z.ZodString>, {
|
|
@@ -35,7 +35,7 @@ declare const ListFolderQueryDto_base: import("../../zod-class").ZodClass<{
|
|
|
35
35
|
} | undefined, string | undefined>;
|
|
36
36
|
skip: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>;
|
|
37
37
|
take: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>;
|
|
38
|
-
select: z.ZodEffects<z.ZodOptional<z.ZodString>, Record<"path" | "
|
|
38
|
+
select: z.ZodEffects<z.ZodOptional<z.ZodString>, Record<"path" | "id" | "name" | "updatedAt" | "project" | "createdAt" | "tags" | "parentFolder" | "workflowCount" | "subFolderCount", true> | undefined, string | undefined>;
|
|
39
39
|
sortBy: z.ZodOptional<z.ZodEnum<["name:asc", "name:desc", "createdAt:asc", "createdAt:desc", "updatedAt:asc", "updatedAt:desc"]>>;
|
|
40
40
|
}>;
|
|
41
41
|
export declare class ListFolderQueryDto extends ListFolderQueryDto_base {
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ export * from './evaluations';
|
|
|
118
118
|
export { OAuthClientResponseDto, ListOAuthClientsResponseDto, DeleteOAuthClientResponseDto, InstanceMcpClientStatsResponseDto, } from './oauth/oauth-client.dto';
|
|
119
119
|
export { ProvisioningConfigDto, ProvisioningConfigPatchDto, type ProvisioningMode, type ProvisioningModeFlags, } from './provisioning/config.dto';
|
|
120
120
|
export { SecuritySettingsDto, UpdateSecuritySettingsDto, } from './security-settings/security-settings.dto';
|
|
121
|
+
export { RedactionEnforcementDto, UpdateRedactionEnforcementDto, redactionScopeSchema, type RedactionScope, } from './redaction-enforcement/redaction-enforcement.dto';
|
|
121
122
|
export { WorkflowHistoryVersionsByIdsDto } from './workflow-history/workflow-history-versions-by-ids.dto';
|
|
122
123
|
export { UpdateWorkflowHistoryVersionDto } from './workflow-history/update-workflow-history-version.dto';
|
|
123
124
|
export { UpdateExternalSecretsSettingsDto } from './secrets-provider/update-external-secrets-settings.dto';
|
|
@@ -129,15 +130,6 @@ export { GetQuickConnectApiKeyDto } from './quick-connect/create-quick-connect-c
|
|
|
129
130
|
export { ExecutionRedactionQueryDtoSchema, type ExecutionRedactionQueryDto, } from './executions/execution-redaction-query.dto';
|
|
130
131
|
export { VersionSinceDateQueryDto } from './instance-version-history/version-since-date-query.dto';
|
|
131
132
|
export { VersionQueryDto } from './instance-version-history/version-query.dto';
|
|
132
|
-
export { CreateAgentDto } from './agents/create-agent.dto';
|
|
133
|
-
export { UpdateAgentDto } from './agents/update-agent.dto';
|
|
134
|
-
export { UpdateAgentConfigDto } from './agents/update-agent-config.dto';
|
|
135
|
-
export { UpdateAgentScheduleDto } from './agents/update-agent-schedule.dto';
|
|
136
|
-
export { AGENT_SKILL_INSTRUCTIONS_MAX_LENGTH, CreateAgentSkillDto, agentSkillSchema, } from './agents/create-agent-skill.dto';
|
|
137
|
-
export { UpdateAgentSkillDto } from './agents/update-agent-skill.dto';
|
|
138
|
-
export { AgentIntegrationDto } from './agents/agent-integration.dto';
|
|
139
|
-
export { AgentChatMessageDto } from './agents/agent-chat-message.dto';
|
|
140
|
-
export { AgentBuildResumeDto } from './agents/agent-build-resume.dto';
|
|
141
133
|
export { CreateEncryptionKeyDto } from './encryption/create-encryption-key.dto';
|
|
142
134
|
export { ListEncryptionKeysQueryDto, ENCRYPTION_KEYS_SORT_OPTIONS, type EncryptionKeysSortOption, } from './encryption/list-encryption-keys-query.dto';
|
|
143
135
|
export type { EncryptionKeyResponseDto } from './encryption/encryption-key-response.dto';
|
package/dist/dto/index.js
CHANGED
|
@@ -16,8 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.UserUpdateRequestDto = exports.UserSelfSettingsUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferencesAttributeMapping = exports.SamlPreferences = exports.SamlAcsDto = exports.ListProjectsQueryDto = exports.ChangeUserRoleInProject = exports.AddUsersToProjectDto = exports.DeleteProjectDto = exports.UpdateProjectWithRelationsDto = exports.UpdateProjectDto = exports.CreateProjectDto = exports.ChangePasswordRequestDto = exports.ResolvePasswordTokenQueryDto = exports.ForgotPasswordRequestDto = exports.DismissBannerRequestDto = exports.OwnerSetupRequestDto = exports.AcceptInvitationRequestDto = exports.InviteUsersRequestDto = exports.ActionResultRequestDto = exports.ResourceMapperFieldsRequestDto = exports.ResourceLocatorRequestDto = exports.OptionsRequestDto = exports.UpdateCredentialResolverDto = exports.CreateCredentialResolverDto = exports.EmbedLoginBodyDto = exports.EmbedLoginQueryDto = exports.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.InstanceAiRenameThreadRequestDto = exports.InstanceAiFeedbackRequestDto = exports.InstanceAiConfirmRequestDto = exports.AiGatewayUsageQueryDto = exports.AiClearSessionRequestDto = exports.AiTruncateMessagesRequestDto = exports.AiUsageSettingsRequestDto = exports.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.QUICK_REPLY_TYPES = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = exports.GetNodeTypesByIdentifierRequestDto = void 0;
|
|
18
18
|
exports.RoleGetQueryDto = exports.RoleListQueryDto = exports.ListRoleMappingRuleQueryDto = exports.MoveRoleMappingRuleDto = exports.PatchRoleMappingRuleDto = exports.CreateRoleMappingRuleDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.DeleteDestinationQueryDto = exports.TestDestinationQueryDto = exports.CreateDestinationDto = exports.GetDestinationQueryDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.GetResourceDependenciesDto = exports.GetResourceDependencyCountsDto = exports.ArchiveWorkflowDto = exports.DeactivateWorkflowDto = exports.ActivateWorkflowDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.UpdateWorkflowDto = exports.CreateWorkflowDto = exports.MAX_EXPECTED_REQUEST_SIZE = exports.MAX_WORKFLOW_SIZE = exports.MAX_PINNED_DATA_SIZE = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.NEW_VARIABLE_KEY_REGEX = exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.AUTO_PUBLISH_MODE = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = void 0;
|
|
19
|
-
exports.
|
|
20
|
-
exports.ENCRYPTION_KEYS_SORT_OPTIONS = exports.ListEncryptionKeysQueryDto = exports.CreateEncryptionKeyDto = exports.AgentBuildResumeDto = exports.AgentChatMessageDto = exports.AgentIntegrationDto = void 0;
|
|
19
|
+
exports.ENCRYPTION_KEYS_SORT_OPTIONS = exports.ListEncryptionKeysQueryDto = exports.CreateEncryptionKeyDto = exports.VersionQueryDto = exports.VersionSinceDateQueryDto = exports.ExecutionRedactionQueryDtoSchema = exports.GetQuickConnectApiKeyDto = exports.UpdateSecretsProviderConnectionDto = exports.TestSecretsProviderConnectionDto = exports.SetSecretsProviderConnectionIsEnabledDto = exports.CreateSecretsProviderConnectionDto = exports.UpdateExternalSecretsSettingsDto = exports.UpdateWorkflowHistoryVersionDto = exports.WorkflowHistoryVersionsByIdsDto = exports.redactionScopeSchema = exports.UpdateRedactionEnforcementDto = exports.RedactionEnforcementDto = exports.UpdateSecuritySettingsDto = exports.SecuritySettingsDto = exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.InstanceMcpClientStatsResponseDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = exports.updateDataTableColumnSchema = exports.RenameDataTableColumnDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.PublicApiListDataTableContentQueryDto = exports.ListDataTableContentQueryDto = exports.PublicApiListDataTableQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.PublicApiCreateDataTableDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.TestOidcConfigResponseDto = exports.OIDC_PROMPT_VALUES = exports.OidcConfigDto = exports.RoleProjectMembersResponseDto = exports.RoleAssignmentsResponseDto = void 0;
|
|
21
20
|
var get_node_types_by_identifier_dto_1 = require("./node-types/get-node-types-by-identifier.dto");
|
|
22
21
|
Object.defineProperty(exports, "GetNodeTypesByIdentifierRequestDto", { enumerable: true, get: function () { return get_node_types_by_identifier_dto_1.GetNodeTypesByIdentifierRequestDto; } });
|
|
23
22
|
var ai_ask_request_dto_1 = require("./ai/ai-ask-request.dto");
|
|
@@ -266,6 +265,10 @@ Object.defineProperty(exports, "ProvisioningConfigPatchDto", { enumerable: true,
|
|
|
266
265
|
var security_settings_dto_1 = require("./security-settings/security-settings.dto");
|
|
267
266
|
Object.defineProperty(exports, "SecuritySettingsDto", { enumerable: true, get: function () { return security_settings_dto_1.SecuritySettingsDto; } });
|
|
268
267
|
Object.defineProperty(exports, "UpdateSecuritySettingsDto", { enumerable: true, get: function () { return security_settings_dto_1.UpdateSecuritySettingsDto; } });
|
|
268
|
+
var redaction_enforcement_dto_1 = require("./redaction-enforcement/redaction-enforcement.dto");
|
|
269
|
+
Object.defineProperty(exports, "RedactionEnforcementDto", { enumerable: true, get: function () { return redaction_enforcement_dto_1.RedactionEnforcementDto; } });
|
|
270
|
+
Object.defineProperty(exports, "UpdateRedactionEnforcementDto", { enumerable: true, get: function () { return redaction_enforcement_dto_1.UpdateRedactionEnforcementDto; } });
|
|
271
|
+
Object.defineProperty(exports, "redactionScopeSchema", { enumerable: true, get: function () { return redaction_enforcement_dto_1.redactionScopeSchema; } });
|
|
269
272
|
var workflow_history_versions_by_ids_dto_1 = require("./workflow-history/workflow-history-versions-by-ids.dto");
|
|
270
273
|
Object.defineProperty(exports, "WorkflowHistoryVersionsByIdsDto", { enumerable: true, get: function () { return workflow_history_versions_by_ids_dto_1.WorkflowHistoryVersionsByIdsDto; } });
|
|
271
274
|
var update_workflow_history_version_dto_1 = require("./workflow-history/update-workflow-history-version.dto");
|
|
@@ -288,26 +291,6 @@ var version_since_date_query_dto_1 = require("./instance-version-history/version
|
|
|
288
291
|
Object.defineProperty(exports, "VersionSinceDateQueryDto", { enumerable: true, get: function () { return version_since_date_query_dto_1.VersionSinceDateQueryDto; } });
|
|
289
292
|
var version_query_dto_1 = require("./instance-version-history/version-query.dto");
|
|
290
293
|
Object.defineProperty(exports, "VersionQueryDto", { enumerable: true, get: function () { return version_query_dto_1.VersionQueryDto; } });
|
|
291
|
-
var create_agent_dto_1 = require("./agents/create-agent.dto");
|
|
292
|
-
Object.defineProperty(exports, "CreateAgentDto", { enumerable: true, get: function () { return create_agent_dto_1.CreateAgentDto; } });
|
|
293
|
-
var update_agent_dto_1 = require("./agents/update-agent.dto");
|
|
294
|
-
Object.defineProperty(exports, "UpdateAgentDto", { enumerable: true, get: function () { return update_agent_dto_1.UpdateAgentDto; } });
|
|
295
|
-
var update_agent_config_dto_1 = require("./agents/update-agent-config.dto");
|
|
296
|
-
Object.defineProperty(exports, "UpdateAgentConfigDto", { enumerable: true, get: function () { return update_agent_config_dto_1.UpdateAgentConfigDto; } });
|
|
297
|
-
var update_agent_schedule_dto_1 = require("./agents/update-agent-schedule.dto");
|
|
298
|
-
Object.defineProperty(exports, "UpdateAgentScheduleDto", { enumerable: true, get: function () { return update_agent_schedule_dto_1.UpdateAgentScheduleDto; } });
|
|
299
|
-
var create_agent_skill_dto_1 = require("./agents/create-agent-skill.dto");
|
|
300
|
-
Object.defineProperty(exports, "AGENT_SKILL_INSTRUCTIONS_MAX_LENGTH", { enumerable: true, get: function () { return create_agent_skill_dto_1.AGENT_SKILL_INSTRUCTIONS_MAX_LENGTH; } });
|
|
301
|
-
Object.defineProperty(exports, "CreateAgentSkillDto", { enumerable: true, get: function () { return create_agent_skill_dto_1.CreateAgentSkillDto; } });
|
|
302
|
-
Object.defineProperty(exports, "agentSkillSchema", { enumerable: true, get: function () { return create_agent_skill_dto_1.agentSkillSchema; } });
|
|
303
|
-
var update_agent_skill_dto_1 = require("./agents/update-agent-skill.dto");
|
|
304
|
-
Object.defineProperty(exports, "UpdateAgentSkillDto", { enumerable: true, get: function () { return update_agent_skill_dto_1.UpdateAgentSkillDto; } });
|
|
305
|
-
var agent_integration_dto_1 = require("./agents/agent-integration.dto");
|
|
306
|
-
Object.defineProperty(exports, "AgentIntegrationDto", { enumerable: true, get: function () { return agent_integration_dto_1.AgentIntegrationDto; } });
|
|
307
|
-
var agent_chat_message_dto_1 = require("./agents/agent-chat-message.dto");
|
|
308
|
-
Object.defineProperty(exports, "AgentChatMessageDto", { enumerable: true, get: function () { return agent_chat_message_dto_1.AgentChatMessageDto; } });
|
|
309
|
-
var agent_build_resume_dto_1 = require("./agents/agent-build-resume.dto");
|
|
310
|
-
Object.defineProperty(exports, "AgentBuildResumeDto", { enumerable: true, get: function () { return agent_build_resume_dto_1.AgentBuildResumeDto; } });
|
|
311
294
|
var create_encryption_key_dto_1 = require("./encryption/create-encryption-key.dto");
|
|
312
295
|
Object.defineProperty(exports, "CreateEncryptionKeyDto", { enumerable: true, get: function () { return create_encryption_key_dto_1.CreateEncryptionKeyDto; } });
|
|
313
296
|
var list_encryption_keys_query_dto_1 = require("./encryption/list-encryption-keys-query.dto");
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,kGAAmG;AAA1F,sJAAA,kCAAkC,OAAA;AAE3C,8DAA0D;AAAjD,qHAAA,eAAe,OAAA;AACxB,gEAA4D;AAAnD,uHAAA,gBAAgB,OAAA;AACzB,kEAKmC;AAJlC,+HAAA,uBAAuB,OAAA;AACvB,yHAAA,iBAAiB,OAAA;AAIlB,wFAAmF;AAA1E,8IAAA,2BAA2B,OAAA;AACpC,gFAA2E;AAAlE,sIAAA,uBAAuB,OAAA;AAChC,0FAAqF;AAA5E,gJAAA,4BAA4B,OAAA;AACrC,oFAA+E;AAAtE,0IAAA,yBAAyB,OAAA;AAClC,0FAAqF;AAA5E,gJAAA,4BAA4B,OAAA;AACrC,kFAA6E;AAApE,wIAAA,wBAAwB,OAAA;AAKjC,oFAA4E;AAAnE,uIAAA,sBAAsB,OAAA;AAO/B,iGAKuD;AAJtD,8IAAA,2BAA2B,OAAA;AAK5B,mG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AG1B,+FAK2D;AAJ1D,oIAAA,uBAAuB,OAAA;AACvB,0IAAA,6BAA6B,OAAA;AAC7B,iIAAA,oBAAoB,OAAA;AAIrB,gHAA0G;AAAjG,uJAAA,+BAA+B,OAAA;AACxC,8GAAyG;AAAhG,sJAAA,+BAA+B,OAAA;AAExC,gHAA2G;AAAlG,wJAAA,gCAAgC,OAAA;AACzC,oHAA+G;AAAtG,4JAAA,kCAAkC,OAAA;AAC3C,oIAA6H;AAApH,0KAAA,wCAAwC,OAAA;AACjD,gHAA2G;AAAlG,wJAAA,gCAAgC,OAAA;AACzC,oHAA+G;AAAtG,4JAAA,kCAAkC,OAAA;AAE3C,2GAA+F;AAAtF,+IAAA,wBAAwB,OAAA;AAEjC,4FAGoD;AAFnD,iJAAA,gCAAgC,OAAA;AAIjC,wGAAmG;AAA1F,wIAAA,wBAAwB,OAAA;AACjC,kFAA+E;AAAtE,oHAAA,eAAe,OAAA;AAExB,oFAAgF;AAAvE,mIAAA,sBAAsB,OAAA;AAC/B,8FAIqD;AAHpD,4IAAA,0BAA0B,OAAA;AAC1B,8IAAA,4BAA4B,OAAA"}
|
|
@@ -85,12 +85,12 @@ export declare const InstanceAiConfirmRequestDto: z.ZodDiscriminatedUnion<"kind"
|
|
|
85
85
|
nodeParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
kind: "setupWorkflowApply";
|
|
88
|
-
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
89
88
|
nodeParameters?: Record<string, Record<string, unknown>> | undefined;
|
|
89
|
+
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
kind: "setupWorkflowApply";
|
|
92
|
-
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
93
92
|
nodeParameters?: Record<string, Record<string, unknown>> | undefined;
|
|
93
|
+
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
94
94
|
}>, z.ZodObject<{
|
|
95
95
|
kind: z.ZodLiteral<"setupWorkflowTestTrigger">;
|
|
96
96
|
testTriggerNode: z.ZodString;
|
|
@@ -99,13 +99,13 @@ export declare const InstanceAiConfirmRequestDto: z.ZodDiscriminatedUnion<"kind"
|
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
kind: "setupWorkflowTestTrigger";
|
|
101
101
|
testTriggerNode: string;
|
|
102
|
-
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
103
102
|
nodeParameters?: Record<string, Record<string, unknown>> | undefined;
|
|
103
|
+
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
kind: "setupWorkflowTestTrigger";
|
|
106
106
|
testTriggerNode: string;
|
|
107
|
-
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
108
107
|
nodeParameters?: Record<string, Record<string, unknown>> | undefined;
|
|
108
|
+
nodeCredentials?: Record<string, Record<string, string>> | undefined;
|
|
109
109
|
}>]>;
|
|
110
110
|
export type InstanceAiConfirmRequest = z.infer<typeof InstanceAiConfirmRequestDto>;
|
|
111
111
|
export type InstanceAiConfirmRequestKind = InstanceAiConfirmRequest['kind'];
|
|
@@ -2,8 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
declare const OAuthClientResponseDto_base: import("../../zod-class").ZodClass<{
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
|
-
createdAt: string;
|
|
6
5
|
updatedAt: string;
|
|
6
|
+
createdAt: string;
|
|
7
7
|
redirectUris: string[];
|
|
8
8
|
grantTypes: string[];
|
|
9
9
|
tokenEndpointAuthMethod: string;
|
|
@@ -22,8 +22,8 @@ declare const ListOAuthClientsResponseDto_base: import("../../zod-class").ZodCla
|
|
|
22
22
|
data: {
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
|
-
createdAt: string;
|
|
26
25
|
updatedAt: string;
|
|
26
|
+
createdAt: string;
|
|
27
27
|
redirectUris: string[];
|
|
28
28
|
grantTypes: string[];
|
|
29
29
|
tokenEndpointAuthMethod: string;
|
|
@@ -41,16 +41,16 @@ declare const ListOAuthClientsResponseDto_base: import("../../zod-class").ZodCla
|
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
id: string;
|
|
43
43
|
name: string;
|
|
44
|
-
createdAt: string;
|
|
45
44
|
updatedAt: string;
|
|
45
|
+
createdAt: string;
|
|
46
46
|
redirectUris: string[];
|
|
47
47
|
grantTypes: string[];
|
|
48
48
|
tokenEndpointAuthMethod: string;
|
|
49
49
|
}, {
|
|
50
50
|
id: string;
|
|
51
51
|
name: string;
|
|
52
|
-
createdAt: string;
|
|
53
52
|
updatedAt: string;
|
|
53
|
+
createdAt: string;
|
|
54
54
|
redirectUris: string[];
|
|
55
55
|
grantTypes: string[];
|
|
56
56
|
tokenEndpointAuthMethod: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const UpdateProjectDto_base: import("../../zod-class").ZodClass<{
|
|
3
3
|
description?: string | undefined;
|
|
4
|
+
name?: string | undefined;
|
|
4
5
|
icon?: {
|
|
5
6
|
value: string;
|
|
6
7
|
type: "icon" | "emoji";
|
|
7
8
|
} | undefined;
|
|
8
|
-
name?: string | undefined;
|
|
9
9
|
}, {
|
|
10
10
|
name: z.ZodOptional<z.ZodString>;
|
|
11
11
|
icon: z.ZodOptional<z.ZodObject<{
|
|
@@ -24,11 +24,11 @@ export declare class UpdateProjectDto extends UpdateProjectDto_base {
|
|
|
24
24
|
}
|
|
25
25
|
declare const UpdateProjectWithRelationsDto_base: import("../../zod-class").ZodClass<{
|
|
26
26
|
description?: string | undefined;
|
|
27
|
+
name?: string | undefined;
|
|
27
28
|
icon?: {
|
|
28
29
|
value: string;
|
|
29
30
|
type: "icon" | "emoji";
|
|
30
31
|
} | undefined;
|
|
31
|
-
name?: string | undefined;
|
|
32
32
|
relations?: {
|
|
33
33
|
role: string;
|
|
34
34
|
userId: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const redactionScopeSchema: z.ZodEnum<["manual-only", "non-manual", "all"]>;
|
|
3
|
+
export type RedactionScope = z.infer<typeof redactionScopeSchema>;
|
|
4
|
+
declare const RedactionEnforcementDto_base: import("../../zod-class").ZodClass<{
|
|
5
|
+
redactionEnforced: boolean;
|
|
6
|
+
redactionScope: "all" | "manual-only" | "non-manual";
|
|
7
|
+
}, {
|
|
8
|
+
redactionEnforced: z.ZodBoolean;
|
|
9
|
+
redactionScope: z.ZodEnum<["manual-only", "non-manual", "all"]>;
|
|
10
|
+
}>;
|
|
11
|
+
export declare class RedactionEnforcementDto extends RedactionEnforcementDto_base {
|
|
12
|
+
}
|
|
13
|
+
declare const UpdateRedactionEnforcementDto_base: import("../../zod-class").ZodClass<{
|
|
14
|
+
redactionEnforced?: boolean | undefined;
|
|
15
|
+
redactionScope?: "all" | "manual-only" | "non-manual" | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
redactionEnforced: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
redactionScope: z.ZodOptional<z.ZodEnum<["manual-only", "non-manual", "all"]>>;
|
|
19
|
+
}>;
|
|
20
|
+
export declare class UpdateRedactionEnforcementDto extends UpdateRedactionEnforcementDto_base {
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateRedactionEnforcementDto = exports.RedactionEnforcementDto = exports.redactionScopeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("../../zod-class");
|
|
6
|
+
exports.redactionScopeSchema = zod_1.z.enum(['manual-only', 'non-manual', 'all']);
|
|
7
|
+
class RedactionEnforcementDto extends zod_class_1.Z.class({
|
|
8
|
+
redactionEnforced: zod_1.z.boolean(),
|
|
9
|
+
redactionScope: exports.redactionScopeSchema,
|
|
10
|
+
}) {
|
|
11
|
+
}
|
|
12
|
+
exports.RedactionEnforcementDto = RedactionEnforcementDto;
|
|
13
|
+
class UpdateRedactionEnforcementDto extends zod_class_1.Z.class({
|
|
14
|
+
redactionEnforced: zod_1.z.boolean().optional(),
|
|
15
|
+
redactionScope: exports.redactionScopeSchema.optional(),
|
|
16
|
+
}) {
|
|
17
|
+
}
|
|
18
|
+
exports.UpdateRedactionEnforcementDto = UpdateRedactionEnforcementDto;
|
|
19
|
+
//# sourceMappingURL=redaction-enforcement.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redaction-enforcement.dto.js","sourceRoot":"","sources":["../../../src/dto/redaction-enforcement/redaction-enforcement.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEvB,QAAA,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC;AAIjF,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE;IAC9B,cAAc,EAAE,4BAAoB;CACpC,CAAC;CAAG;AAHL,0DAGK;AAEL,MAAa,6BAA8B,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC1D,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzC,cAAc,EAAE,4BAAoB,CAAC,QAAQ,EAAE;CAC/C,CAAC;CAAG;AAHL,sEAGK"}
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<{
|
|
3
3
|
fileNames: {
|
|
4
4
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
5
|
-
type: "workflow" | "
|
|
5
|
+
type: "workflow" | "credential" | "project" | "tags" | "variables" | "file" | "folders" | "datatable";
|
|
6
6
|
id: string;
|
|
7
7
|
name: string;
|
|
8
8
|
updatedAt: string;
|
|
@@ -56,7 +56,7 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
|
|
|
56
56
|
publishingError: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
59
|
-
type: "workflow" | "
|
|
59
|
+
type: "workflow" | "credential" | "project" | "tags" | "variables" | "file" | "folders" | "datatable";
|
|
60
60
|
id: string;
|
|
61
61
|
name: string;
|
|
62
62
|
updatedAt: string;
|
|
@@ -76,7 +76,7 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
|
|
|
76
76
|
publishingError?: string | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
79
|
-
type: "workflow" | "
|
|
79
|
+
type: "workflow" | "credential" | "project" | "tags" | "variables" | "file" | "folders" | "datatable";
|
|
80
80
|
id: string;
|
|
81
81
|
name: string;
|
|
82
82
|
updatedAt: string;
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.UserUpdateRequestDto = void 0;
|
|
7
|
-
const xss_1 = __importDefault(require("xss"));
|
|
8
4
|
const zod_1 = require("zod");
|
|
5
|
+
const xss_check_1 = require("../../utils/xss-check");
|
|
9
6
|
const zod_class_1 = require("../../zod-class");
|
|
10
|
-
const xssCheck = (value) => value ===
|
|
11
|
-
(0, xss_1.default)(value, {
|
|
12
|
-
whiteList: {},
|
|
13
|
-
});
|
|
14
7
|
const URL_REGEX = /^(https?:\/\/|www\.)|(\.[\p{L}\d-]+)/iu;
|
|
15
8
|
const urlCheck = (value) => !URL_REGEX.test(value);
|
|
16
9
|
const nameSchema = () => zod_1.z
|
|
17
10
|
.string()
|
|
18
11
|
.min(1)
|
|
19
12
|
.max(32)
|
|
20
|
-
.refine(xssCheck, {
|
|
13
|
+
.refine(xss_check_1.xssCheck, {
|
|
21
14
|
message: 'Potentially malicious string',
|
|
22
15
|
})
|
|
23
16
|
.refine(urlCheck, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-update-request.dto.js","sourceRoot":"","sources":["../../../src/dto/user/user-update-request.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-update-request.dto.js","sourceRoot":"","sources":["../../../src/dto/user/user-update-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qDAAiD;AACjD,+CAAoC;AAEpC,MAAM,SAAS,GAAG,wCAAwC,CAAC;AAC3D,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAE3D,MAAM,UAAU,GAAG,GAAG,EAAE,CACvB,OAAC;KACC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,EAAE,CAAC;KACP,MAAM,CAAC,oBAAQ,EAAE;IACjB,OAAO,EAAE,8BAA8B;CACvC,CAAC;KACD,MAAM,CAAC,QAAQ,EAAE;IACjB,OAAO,EAAE,8BAA8B;CACvC,CAAC,CAAC;AAEL,MAAa,oBAAqB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACzB,SAAS,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAI9B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;CAAG;AATL,oDASK"}
|
|
@@ -15,7 +15,7 @@ declare const UsersListFilterDto_base: import("../../zod-class").ZodClass<{
|
|
|
15
15
|
fullText?: string | undefined;
|
|
16
16
|
isPending?: boolean | undefined;
|
|
17
17
|
} | undefined;
|
|
18
|
-
select?: ("
|
|
18
|
+
select?: ("id" | "role" | "email" | "firstName" | "lastName" | "disabled" | "mfaEnabled")[] | undefined;
|
|
19
19
|
sortBy?: ("firstName:asc" | "firstName:desc" | "lastName:asc" | "lastName:desc" | "email:asc" | "email:desc" | "role:asc" | "role:desc" | "mfaEnabled:asc" | "mfaEnabled:desc" | "lastActiveAt:asc" | "lastActiveAt:desc")[] | undefined;
|
|
20
20
|
expand?: "projectRelations"[] | undefined;
|
|
21
21
|
}, {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.workflowHistoryLookupFields = void 0;
|
|
4
|
+
exports.workflowHistoryLookupFields = [
|
|
5
|
+
'authors',
|
|
6
|
+
'createdAt',
|
|
7
|
+
'updatedAt',
|
|
8
|
+
'name',
|
|
9
|
+
'description',
|
|
10
|
+
];
|
|
11
|
+
//# sourceMappingURL=workflow-history-lookup.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-history-lookup.dto.js","sourceRoot":"","sources":["../../../src/dto/workflow-history/workflow-history-lookup.dto.ts"],"names":[],"mappings":";;;AAAa,QAAA,2BAA2B,GAAG;IAC1C,SAAS;IACT,WAAW;IACX,WAAW;IACX,MAAM;IACN,aAAa;CACJ,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const WORKFLOW_NAME_MAX_LENGTH = 128;
|
|
|
4
4
|
export declare const MAX_PINNED_DATA_SIZE: number;
|
|
5
5
|
export declare const MAX_WORKFLOW_SIZE: number;
|
|
6
6
|
export declare const MAX_EXPECTED_REQUEST_SIZE = 2048;
|
|
7
|
-
export declare const workflowNameSchema: z.ZodString
|
|
7
|
+
export declare const workflowNameSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
8
8
|
export declare const workflowDescriptionSchema: z.ZodNullable<z.ZodString>;
|
|
9
9
|
export declare const workflowNodesSchema: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
|
|
10
10
|
export declare const workflowConnectionsSchema: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
|
|
@@ -13,7 +13,7 @@ export declare const workflowStaticDataSchema: z.ZodEffects<z.ZodType<IDataObjec
|
|
|
13
13
|
export declare const workflowPinDataSchema: z.ZodType<IPinData | null, z.ZodTypeDef, IPinData | null>;
|
|
14
14
|
export declare const workflowMetaSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
15
|
export declare const baseWorkflowShape: {
|
|
16
|
-
readonly name: z.ZodString
|
|
16
|
+
readonly name: z.ZodEffects<z.ZodString, string, string>;
|
|
17
17
|
readonly description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
readonly nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
|
|
19
19
|
readonly connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.baseWorkflowShape = exports.workflowMetaSchema = exports.workflowPinDataSchema = exports.workflowStaticDataSchema = exports.workflowSettingsSchema = exports.workflowConnectionsSchema = exports.workflowNodesSchema = exports.workflowDescriptionSchema = exports.workflowNameSchema = exports.MAX_EXPECTED_REQUEST_SIZE = exports.MAX_WORKFLOW_SIZE = exports.MAX_PINNED_DATA_SIZE = exports.WORKFLOW_NAME_MAX_LENGTH = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const xss_check_1 = require("../../utils/xss-check");
|
|
5
6
|
exports.WORKFLOW_NAME_MAX_LENGTH = 128;
|
|
6
7
|
exports.MAX_PINNED_DATA_SIZE = 1024 * 1024 * 12;
|
|
7
8
|
exports.MAX_WORKFLOW_SIZE = 1024 * 1024 * 16;
|
|
@@ -11,7 +12,8 @@ exports.workflowNameSchema = zod_1.z
|
|
|
11
12
|
.min(1, { message: 'Workflow name is required' })
|
|
12
13
|
.max(exports.WORKFLOW_NAME_MAX_LENGTH, {
|
|
13
14
|
message: `Workflow name must be ${exports.WORKFLOW_NAME_MAX_LENGTH} characters or less`,
|
|
14
|
-
})
|
|
15
|
+
})
|
|
16
|
+
.refine(xss_check_1.xssCheck, { message: 'Potentially malicious string' });
|
|
15
17
|
exports.workflowDescriptionSchema = zod_1.z.string().nullable();
|
|
16
18
|
exports.workflowNodesSchema = zod_1.z.custom((val) => Array.isArray(val), {
|
|
17
19
|
message: 'Nodes must be an array',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-workflow.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/base-workflow.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"base-workflow.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/base-workflow.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAExB,qDAAiD;AAEpC,QAAA,wBAAwB,GAAG,GAAG,CAAC;AAG/B,QAAA,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;AAGxC,QAAA,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;AAGrC,QAAA,yBAAyB,GAAG,IAAI,CAAC;AAEjC,QAAA,kBAAkB,GAAG,OAAC;KACjC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAA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C,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAGlF,IAAI,EAAE,OAAC;SAEL,KAAK,CAAC,CAAC,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;SACrF,SAAS,CAAC,CAAC,GAAG,EAAY,EAAE;QAE5B,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;YACpE,OAAQ,GAA2C,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC1E,CAAC;QACD,OAAO,GAAe,CAAC;IACxB,CAAC,CAAC;SACD,QAAQ,EAAE;IAGZ,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAGzC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACxB,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const CreateWorkflowDto_base: import("../../zod-class").ZodClass<{
|
|
|
25
25
|
}, {
|
|
26
26
|
id: z.ZodOptional<z.ZodString>;
|
|
27
27
|
projectId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
name: z.ZodString
|
|
28
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
nodes: z.ZodType<import("n8n-workflow").INode[], z.ZodTypeDef, import("n8n-workflow").INode[]>;
|
|
31
31
|
connections: z.ZodType<import("n8n-workflow").IConnections, z.ZodTypeDef, import("n8n-workflow").IConnections>;
|
|
@@ -20,7 +20,7 @@ declare const UpdateWorkflowDto_base: import("../../zod-class").ZodClass<{
|
|
|
20
20
|
expectedChecksum?: string | undefined;
|
|
21
21
|
autosaved?: boolean | undefined;
|
|
22
22
|
}, {
|
|
23
|
-
readonly name: z.ZodOptional<z.ZodString
|
|
23
|
+
readonly name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
24
24
|
readonly description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25
25
|
readonly nodes: z.ZodOptional<z.ZodType<import("n8n-workflow").INode[], z.ZodTypeDef, import("n8n-workflow").INode[]>>;
|
|
26
26
|
readonly connections: z.ZodOptional<z.ZodType<import("n8n-workflow").IConnections, z.ZodTypeDef, import("n8n-workflow").IConnections>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,10 +8,9 @@ export type * from './user';
|
|
|
8
8
|
export type * from './api-keys';
|
|
9
9
|
export type * from './community-node-types';
|
|
10
10
|
export type * from './quick-connect';
|
|
11
|
-
export * from './agents';
|
|
12
|
-
export type { AgentSseEvent, AgentSseMessage, ToolSuspendedPayload } from './agent-sse';
|
|
13
|
-
export { ASK_LLM_TOOL_NAME, ASK_CREDENTIAL_TOOL_NAME, ASK_QUESTION_TOOL_NAME, interactiveToolNameSchema, askLlmInputSchema, askLlmResumeSchema, askCredentialInputSchema, askCredentialResumeSchema, askQuestionOptionSchema, askQuestionInputSchema, askQuestionResumeSchema, interactiveResumeDataSchema, type InteractiveToolName, type AskLlmInput, type AskLlmResume, type AskCredentialInput, type AskCredentialResume, type AskQuestionOption, type AskQuestionInput, type AskQuestionResume, type InteractiveResumeData, } from './agent-builder-interactive';
|
|
11
|
+
export * from './agents/index';
|
|
14
12
|
export * from './instance-registry-types';
|
|
13
|
+
export * from './redaction-enforcement';
|
|
15
14
|
export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, chatHubSessionTypeSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubSessionType, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubManualSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubManualRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubManualEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, type ChatHubAgentKnowledgeItem, type ChatHubAgentKnowledgeItemStatus, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type SuggestedPrompt, suggestedPromptsSchema, type MessageChunk, UpdateChatSettingsRequest, ChatHubSemanticSearchSettings, type ChatProviderSettingsDto, type ChatSendMessageResponse, type ChatReconnectResponse, ChatReconnectRequest, type ChatArtifact, type ChatArtifactCreateCommand, type ChatArtifactEditCommand, type ChatMessageContentChunk, type ChatHubMessageButton, chatHubMessageWithButtonsSchema, type ChatHubMessageWithButtons, type ChatHubToolDto, ChatHubCreateToolRequest, ChatHubUpdateToolRequest, ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES, CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES, chatHubVectorStoreProviderSchema, type ChatHubVectorStoreProvider, VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP, } from './chat-hub';
|
|
16
15
|
export { isValidTimeZone, StrictTimeZoneSchema, TimeZoneSchema } from './schemas/timezone.schema';
|
|
17
16
|
export type { ChatHubPushMessage, ChatHubStreamEvent, ChatHubStreamBegin, ChatHubStreamChunk, ChatHubStreamEnd, ChatHubStreamError, ChatHubStreamMetadata, ChatHubExecutionEvent, ChatHubExecutionBegin, ChatHubExecutionEnd, ChatHubHumanMessageCreated, ChatHubMessageEdited, ChatHubAttachmentInfo, } from './push/chat-hub';
|
|
@@ -44,10 +43,13 @@ export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnecti
|
|
|
44
43
|
export { SECRETS_PROVIDER_KEY_PATTERN, SECRETS_PROVIDER_KEY_REGEX, testSecretProviderConnectionResponseSchema, reloadSecretProviderConnectionResponseSchema, } from './schemas/secrets-provider.schema';
|
|
45
44
|
export { communityPackageResponseSchema, type CommunityPackageResponse, } from './schemas/community-package.schema';
|
|
46
45
|
export { publicApiCredentialResponseSchema, type PublicApiCredentialResponse, } from './schemas/credential-response.schema';
|
|
47
|
-
export { instanceAiEventTypeSchema, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, confirmationInputTypeSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isDisplayableConfirmationRequest, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, domainAccessActionSchema, domainAccessMetaSchema, webSearchMetaSchema, credentialFlowSchema, gatewayConfirmationRequiredWirePayloadSchema, gatewayConfirmationRequiredPayloadSchema, instanceGatewayResourceDecisionSchema, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, InstanceAiEvalSubAgentRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, InstanceAiGatewayCapabilitiesDto, InstanceAiFilesystemResponseDto, applyBranchReadOnlyOverrides, } from './schemas/instance-ai.schema';
|
|
48
|
-
export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationInputType, InstanceAiConfirmationRequestPayload, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRichMessagesResponse, InstanceAiThreadStatusResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse, InstanceAiModelCredential, InstanceAiPermissionMode, InstanceAiPermissions, InstanceAiTargetResource, DomainAccessAction, DomainAccessMeta, WebSearchMeta, InstanceAiCredentialFlow, GatewayConfirmationRequiredWirePayload, GatewayConfirmationRequiredPayload, InstanceGatewayResourceDecision, ToolCategory, InstanceAiWorkflowSetupNode, PlannedTaskArg, InstanceAiEvalNodeExecutionMode, InstanceAiEvalInterceptedRequest, InstanceAiEvalNodeResult, InstanceAiEvalMockHints, InstanceAiEvalExecutionResult, InstanceAiEvalToolCall, InstanceAiEvalToolResult, InstanceAiEvalSubAgentResponse, } from './schemas/instance-ai.schema';
|
|
46
|
+
export { instanceAiEventTypeSchema, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, confirmationInputTypeSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isDisplayableConfirmationRequest, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, domainAccessActionSchema, domainAccessMetaSchema, webSearchMetaSchema, credentialFlowSchema, gatewayConfirmationRequiredWirePayloadSchema, gatewayConfirmationRequiredPayloadSchema, instanceGatewayResourceDecisionSchema, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, InstanceAiEvalSubAgentRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, InstanceAiGatewayCapabilitiesDto, InstanceAiGatewayCreateCredentialDto, InstanceAiFilesystemResponseDto, applyBranchReadOnlyOverrides, } from './schemas/instance-ai.schema';
|
|
47
|
+
export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationInputType, InstanceAiConfirmationRequestPayload, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRichMessagesResponse, InstanceAiThreadStatusResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse, InstanceAiModelCredential, InstanceAiPermissionMode, InstanceAiPermissions, InstanceAiTargetResource, DomainAccessAction, DomainAccessMeta, WebSearchMeta, InstanceAiCredentialFlow, GatewayConfirmationRequiredWirePayload, GatewayConfirmationRequiredPayload, InstanceGatewayResourceDecision, ToolCategory, InstanceAiWorkflowSetupNode, PlannedTaskArg, InstanceAiEvalNodeExecutionMode, InstanceAiEvalInterceptedRequest, InstanceAiEvalNodeResult, InstanceAiEvalMockHints, InstanceAiEvalMockedCredential, InstanceAiEvalExecutionResult, InstanceAiEvalToolCall, InstanceAiEvalToolResult, InstanceAiEvalSubAgentResponse, } from './schemas/instance-ai.schema';
|
|
49
48
|
export { createInitialState, reduceEvent, findAgent, toAgentTree, } from './schemas/agent-run-reducer';
|
|
50
49
|
export type { AgentRunState, AgentNode } from './schemas/agent-run-reducer';
|
|
51
|
-
export {
|
|
50
|
+
export { startTestRunPayloadSchema, StartTestRunRequestDto, type StartTestRunPayload, } from './schemas/evaluations.schema';
|
|
51
|
+
export { EVAL_COLLECTIONS_FLAG, evalCollectionVersionEntrySchema, createEvaluationCollectionSchema, CreateEvaluationCollectionDto, updateEvaluationCollectionSchema, UpdateEvaluationCollectionDto, addRunToCollectionSchema, AddRunToCollectionDto, type EvalCollectionVersionEntry, type CreateEvaluationCollectionPayload, type UpdateEvaluationCollectionPayload, type AddRunToCollectionPayload, type EvalCollectionRunStatus, type EvaluationCollectionRecord, type EvaluationCollectionRunSummary, type EvaluationCollectionDetail, type EvalVersionEntry, type EvalVersionsResponse, } from './schemas/eval-collections.schema';
|
|
52
52
|
export { ALLOWED_DOMAINS, isAllowedDomain } from './utils/allowed-domains';
|
|
53
|
+
export { xssCheck } from './utils/xss-check';
|
|
54
|
+
export type { PublishTimelineEvent } from './schemas/workflow-publish-timeline.schema';
|
|
53
55
|
export { X_N8N_FEATURE_HEADER, X_N8N_VERSION_HEADER, N8N_PROXY_FEATURES, buildProxyHeaders, type N8nProxyFeature, type ProxyHeaderInput, } from './constants/proxy-feature';
|