@n8n/api-types 1.14.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/dto/ai/ai-build-request.dto.d.ts +6 -0
  3. package/dist/dto/ai/ai-build-request.dto.js +3 -1
  4. package/dist/dto/ai/ai-build-request.dto.js.map +1 -1
  5. package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +2 -0
  6. package/dist/dto/ai/ai-truncate-messages-request.dto.js +1 -0
  7. package/dist/dto/ai/ai-truncate-messages-request.dto.js.map +1 -1
  8. package/dist/dto/index.d.ts +5 -1
  9. package/dist/dto/index.js +12 -3
  10. package/dist/dto/index.js.map +1 -1
  11. package/dist/dto/roles/create-role-mapping-rule.dto.d.ts +17 -0
  12. package/dist/dto/roles/create-role-mapping-rule.dto.js +15 -0
  13. package/dist/dto/roles/create-role-mapping-rule.dto.js.map +1 -0
  14. package/dist/dto/roles/list-role-mapping-rule-query.dto.d.ts +16 -0
  15. package/dist/dto/roles/list-role-mapping-rule-query.dto.js +27 -0
  16. package/dist/dto/roles/list-role-mapping-rule-query.dto.js.map +1 -0
  17. package/dist/dto/roles/move-role-mapping-rule.dto.d.ts +9 -0
  18. package/dist/dto/roles/move-role-mapping-rule.dto.js +11 -0
  19. package/dist/dto/roles/move-role-mapping-rule.dto.js.map +1 -0
  20. package/dist/dto/roles/patch-role-mapping-rule.dto.d.ts +18 -0
  21. package/dist/dto/roles/patch-role-mapping-rule.dto.js +15 -0
  22. package/dist/dto/roles/patch-role-mapping-rule.dto.js.map +1 -0
  23. package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.d.ts +1 -1
  24. package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.d.ts +1 -1
  25. package/dist/frontend-settings.d.ts +1 -0
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +3 -2
  28. package/dist/index.js.map +1 -1
  29. package/dist/schemas/dependency-counts.schema.d.ts +2 -0
  30. package/dist/schemas/dependency.schema.d.ts +1 -1
  31. package/dist/schemas/password.schema.d.ts +3 -0
  32. package/dist/schemas/password.schema.js +13 -6
  33. package/dist/schemas/password.schema.js.map +1 -1
  34. package/package.json +5 -5
@@ -1,5 +1,7 @@
1
1
  import type { IWorkflowBase, NodeExecutionSchema } from 'n8n-workflow';
2
2
  import { z } from 'zod';
3
+ export declare const QUICK_REPLY_TYPES: readonly ["all-good", "new-suggestion"];
4
+ export type QuickReplyType = (typeof QUICK_REPLY_TYPES)[number];
3
5
  export interface ExpressionValue {
4
6
  expression: string;
5
7
  resolvedValue: unknown;
@@ -41,6 +43,7 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
41
43
  planMode?: boolean | undefined;
42
44
  mergeAskBuild?: boolean | undefined;
43
45
  } | undefined;
46
+ quickReplyType?: "all-good" | "new-suggestion" | undefined;
44
47
  mode?: "build" | "plan" | undefined;
45
48
  resumeData?: unknown[] | Record<string, unknown> | undefined;
46
49
  };
@@ -123,6 +126,7 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
123
126
  planMode?: boolean | undefined;
124
127
  mergeAskBuild?: boolean | undefined;
125
128
  }>>;
129
+ quickReplyType: z.ZodOptional<z.ZodEnum<["all-good", "new-suggestion"]>>;
126
130
  mode: z.ZodOptional<z.ZodEnum<["build", "plan"]>>;
127
131
  resumeData: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>>;
128
132
  }, "strip", z.ZodTypeAny, {
@@ -154,6 +158,7 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
154
158
  planMode?: boolean | undefined;
155
159
  mergeAskBuild?: boolean | undefined;
156
160
  } | undefined;
161
+ quickReplyType?: "all-good" | "new-suggestion" | undefined;
157
162
  mode?: "build" | "plan" | undefined;
158
163
  resumeData?: unknown[] | Record<string, unknown> | undefined;
159
164
  }, {
@@ -185,6 +190,7 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
185
190
  planMode?: boolean | undefined;
186
191
  mergeAskBuild?: boolean | undefined;
187
192
  } | undefined;
193
+ quickReplyType?: "all-good" | "new-suggestion" | undefined;
188
194
  mode?: "build" | "plan" | undefined;
189
195
  resumeData?: unknown[] | Record<string, unknown> | undefined;
190
196
  }>;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AiBuilderChatRequestDto = void 0;
3
+ exports.AiBuilderChatRequestDto = exports.QUICK_REPLY_TYPES = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_class_1 = require("../../zod-class");
6
+ exports.QUICK_REPLY_TYPES = ['all-good', 'new-suggestion'];
6
7
  class AiBuilderChatRequestDto extends zod_class_1.Z.class({
7
8
  payload: zod_1.z.object({
8
9
  id: zod_1.z.string(),
@@ -72,6 +73,7 @@ class AiBuilderChatRequestDto extends zod_class_1.Z.class({
72
73
  mergeAskBuild: zod_1.z.boolean().optional(),
73
74
  })
74
75
  .optional(),
76
+ quickReplyType: zod_1.z.enum(exports.QUICK_REPLY_TYPES).optional(),
75
77
  mode: zod_1.z.enum(['build', 'plan']).optional(),
76
78
  resumeData: zod_1.z.union([zod_1.z.record(zod_1.z.unknown()), zod_1.z.array(zod_1.z.unknown())]).optional(),
77
79
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"ai-build-request.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-build-request.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAExB,+CAAoC;AAwBpC,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QACvB,IAAI,EA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OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC1C,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;KAC7E,CAAC;CACF,CAAC;CAAG;AAxFL,0DAwFK"}
@@ -3,9 +3,11 @@ declare const AiTruncateMessagesRequestDto_base: import("../../zod-class").ZodCl
3
3
  workflowId: string;
4
4
  messageId: string;
5
5
  codeBuilder?: boolean | undefined;
6
+ versionCardId?: string | undefined;
6
7
  }, {
7
8
  workflowId: z.ZodString;
8
9
  messageId: z.ZodString;
10
+ versionCardId: z.ZodOptional<z.ZodString>;
9
11
  codeBuilder: z.ZodOptional<z.ZodBoolean>;
10
12
  }>;
11
13
  export declare class AiTruncateMessagesRequestDto extends AiTruncateMessagesRequestDto_base {
@@ -6,6 +6,7 @@ const zod_class_1 = require("../../zod-class");
6
6
  class AiTruncateMessagesRequestDto extends zod_class_1.Z.class({
7
7
  workflowId: zod_1.z.string(),
8
8
  messageId: zod_1.z.string(),
9
+ versionCardId: zod_1.z.string().optional(),
9
10
  codeBuilder: zod_1.z.boolean().optional(),
10
11
  }) {
11
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ai-truncate-messages-request.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-truncate-messages-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC;CAAG;AAJL,oEAIK"}
1
+ {"version":3,"file":"ai-truncate-messages-request.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-truncate-messages-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC;CAAG;AALL,oEAKK"}
@@ -1,7 +1,7 @@
1
1
  export { GetNodeTypesByIdentifierRequestDto } from './node-types/get-node-types-by-identifier.dto';
2
2
  export { AiAskRequestDto } from './ai/ai-ask-request.dto';
3
3
  export { AiChatRequestDto } from './ai/ai-chat-request.dto';
4
- export { AiBuilderChatRequestDto, type SelectedNodeContext } from './ai/ai-build-request.dto';
4
+ export { AiBuilderChatRequestDto, QUICK_REPLY_TYPES, type QuickReplyType, type SelectedNodeContext, } from './ai/ai-build-request.dto';
5
5
  export { AiApplySuggestionRequestDto } from './ai/ai-apply-suggestion-request.dto';
6
6
  export { AiFreeCreditsRequestDto } from './ai/ai-free-credits-request.dto';
7
7
  export { AiSessionRetrievalRequestDto } from './ai/ai-session-retrieval-request.dto';
@@ -79,6 +79,10 @@ export { PaginationDto } from './pagination/pagination.dto';
79
79
  export { UsersListFilterDto, type UsersListSortOptions, USERS_LIST_SORT_OPTIONS, } from './user/users-list-filter.dto';
80
80
  export { UpdateRoleDto } from './roles/update-role.dto';
81
81
  export { CreateRoleDto } from './roles/create-role.dto';
82
+ export { CreateRoleMappingRuleDto } from './roles/create-role-mapping-rule.dto';
83
+ export { PatchRoleMappingRuleDto, type PatchRoleMappingRuleInput, } from './roles/patch-role-mapping-rule.dto';
84
+ export { MoveRoleMappingRuleDto } from './roles/move-role-mapping-rule.dto';
85
+ export { ListRoleMappingRuleQueryDto, type ListRoleMappingRuleQueryInput, } from './roles/list-role-mapping-rule-query.dto';
82
86
  export { RoleListQueryDto } from './roles/role-list-query.dto';
83
87
  export { RoleGetQueryDto } from './roles/role-get-query.dto';
84
88
  export { RoleAssignmentsResponseDto, type RoleProjectAssignment, type RoleAssignmentsResponse, } from './roles/role-assignments-response.dto';
package/dist/dto/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.AUTO_PUBLISH_MODE = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = 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.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.AiClearSessionRequestDto = exports.AiTruncateMessagesRequestDto = exports.AiUsageSettingsRequestDto = exports.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = exports.GetNodeTypesByIdentifierRequestDto = void 0;
4
- exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.PublicApiListDataTableContentQueryDto = exports.ListDataTableContentQueryDto = exports.PublicApiListDataTableQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.OidcConfigDto = exports.RoleProjectMembersResponseDto = exports.RoleAssignmentsResponseDto = exports.RoleGetQueryDto = exports.RoleListQueryDto = 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.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.NEW_VARIABLE_KEY_REGEX = void 0;
5
- exports.ExecutionRedactionQueryDtoSchema = exports.GetQuickConnectApiKeyDto = exports.UpdateSecretsProviderConnectionDto = exports.TestSecretsProviderConnectionDto = exports.SetSecretsProviderConnectionIsEnabledDto = exports.CreateSecretsProviderConnectionDto = exports.UpdateExternalSecretsSettingsDto = exports.UpdateWorkflowHistoryVersionDto = exports.WorkflowHistoryVersionsByIdsDto = exports.UpdateSecuritySettingsDto = exports.SecuritySettingsDto = exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = exports.RenameDataTableColumnDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = void 0;
3
+ exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.AUTO_PUBLISH_MODE = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = 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.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = 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;
4
+ exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.OidcConfigDto = exports.RoleProjectMembersResponseDto = exports.RoleAssignmentsResponseDto = 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.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.NEW_VARIABLE_KEY_REGEX = exports.CreateVariableRequestDto = void 0;
5
+ exports.ExecutionRedactionQueryDtoSchema = exports.GetQuickConnectApiKeyDto = exports.UpdateSecretsProviderConnectionDto = exports.TestSecretsProviderConnectionDto = exports.SetSecretsProviderConnectionIsEnabledDto = exports.CreateSecretsProviderConnectionDto = exports.UpdateExternalSecretsSettingsDto = exports.UpdateWorkflowHistoryVersionDto = exports.WorkflowHistoryVersionsByIdsDto = exports.UpdateSecuritySettingsDto = exports.SecuritySettingsDto = exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = exports.RenameDataTableColumnDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.PublicApiListDataTableContentQueryDto = exports.ListDataTableContentQueryDto = exports.PublicApiListDataTableQueryDto = void 0;
6
6
  var get_node_types_by_identifier_dto_1 = require("./node-types/get-node-types-by-identifier.dto");
7
7
  Object.defineProperty(exports, "GetNodeTypesByIdentifierRequestDto", { enumerable: true, get: function () { return get_node_types_by_identifier_dto_1.GetNodeTypesByIdentifierRequestDto; } });
8
8
  var ai_ask_request_dto_1 = require("./ai/ai-ask-request.dto");
@@ -11,6 +11,7 @@ var ai_chat_request_dto_1 = require("./ai/ai-chat-request.dto");
11
11
  Object.defineProperty(exports, "AiChatRequestDto", { enumerable: true, get: function () { return ai_chat_request_dto_1.AiChatRequestDto; } });
12
12
  var ai_build_request_dto_1 = require("./ai/ai-build-request.dto");
13
13
  Object.defineProperty(exports, "AiBuilderChatRequestDto", { enumerable: true, get: function () { return ai_build_request_dto_1.AiBuilderChatRequestDto; } });
14
+ Object.defineProperty(exports, "QUICK_REPLY_TYPES", { enumerable: true, get: function () { return ai_build_request_dto_1.QUICK_REPLY_TYPES; } });
14
15
  var ai_apply_suggestion_request_dto_1 = require("./ai/ai-apply-suggestion-request.dto");
15
16
  Object.defineProperty(exports, "AiApplySuggestionRequestDto", { enumerable: true, get: function () { return ai_apply_suggestion_request_dto_1.AiApplySuggestionRequestDto; } });
16
17
  var ai_free_credits_request_dto_1 = require("./ai/ai-free-credits-request.dto");
@@ -167,6 +168,14 @@ var update_role_dto_1 = require("./roles/update-role.dto");
167
168
  Object.defineProperty(exports, "UpdateRoleDto", { enumerable: true, get: function () { return update_role_dto_1.UpdateRoleDto; } });
168
169
  var create_role_dto_1 = require("./roles/create-role.dto");
169
170
  Object.defineProperty(exports, "CreateRoleDto", { enumerable: true, get: function () { return create_role_dto_1.CreateRoleDto; } });
171
+ var create_role_mapping_rule_dto_1 = require("./roles/create-role-mapping-rule.dto");
172
+ Object.defineProperty(exports, "CreateRoleMappingRuleDto", { enumerable: true, get: function () { return create_role_mapping_rule_dto_1.CreateRoleMappingRuleDto; } });
173
+ var patch_role_mapping_rule_dto_1 = require("./roles/patch-role-mapping-rule.dto");
174
+ Object.defineProperty(exports, "PatchRoleMappingRuleDto", { enumerable: true, get: function () { return patch_role_mapping_rule_dto_1.PatchRoleMappingRuleDto; } });
175
+ var move_role_mapping_rule_dto_1 = require("./roles/move-role-mapping-rule.dto");
176
+ Object.defineProperty(exports, "MoveRoleMappingRuleDto", { enumerable: true, get: function () { return move_role_mapping_rule_dto_1.MoveRoleMappingRuleDto; } });
177
+ var list_role_mapping_rule_query_dto_1 = require("./roles/list-role-mapping-rule-query.dto");
178
+ Object.defineProperty(exports, "ListRoleMappingRuleQueryDto", { enumerable: true, get: function () { return list_role_mapping_rule_query_dto_1.ListRoleMappingRuleQueryDto; } });
170
179
  var role_list_query_dto_1 = require("./roles/role-list-query.dto");
171
180
  Object.defineProperty(exports, "RoleListQueryDto", { enumerable: true, get: function () { return role_list_query_dto_1.RoleListQueryDto; } });
172
181
  var role_get_query_dto_1 = require("./roles/role-get-query.dto");
@@ -1 +1 @@
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,kEAA8F;AAArF,+HAAA,uBAAuB,OAAA;AAChC,wFAAmF;AAA1E,8IAAA,2BAA2B,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AAA;AACnB,kIAAA,yBAAyB,OAAA;AAG1B,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"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ declare const CreateRoleMappingRuleDto_base: import("../../zod-class").ZodClass<{
3
+ type: "project" | "instance";
4
+ role: string;
5
+ expression: string;
6
+ order: number;
7
+ projectIds?: string[] | undefined;
8
+ }, {
9
+ expression: z.ZodString;
10
+ role: z.ZodString;
11
+ type: z.ZodEnum<["instance", "project"]>;
12
+ order: z.ZodNumber;
13
+ projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ }>;
15
+ export declare class CreateRoleMappingRuleDto extends CreateRoleMappingRuleDto_base {
16
+ }
17
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateRoleMappingRuleDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ class CreateRoleMappingRuleDto extends zod_class_1.Z.class({
7
+ expression: zod_1.z.string().min(1),
8
+ role: zod_1.z.string().min(1).max(128),
9
+ type: zod_1.z.enum(['instance', 'project']),
10
+ order: zod_1.z.number().int(),
11
+ projectIds: zod_1.z.array(zod_1.z.string()).optional(),
12
+ }) {
13
+ }
14
+ exports.CreateRoleMappingRuleDto = CreateRoleMappingRuleDto;
15
+ //# sourceMappingURL=create-role-mapping-rule.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-role-mapping-rule.dto.js","sourceRoot":"","sources":["../../../src/dto/roles/create-role-mapping-rule.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IACrC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC;CAAG;AANL,4DAMK"}
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ declare const ListRoleMappingRuleQueryDto_base: import("../../zod-class").ZodClass<{
3
+ skip: number;
4
+ take: number;
5
+ type?: "project" | "instance" | undefined;
6
+ sortBy?: "createdAt:asc" | "createdAt:desc" | "updatedAt:asc" | "updatedAt:desc" | "order:asc" | "order:desc" | undefined;
7
+ }, {
8
+ take: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
9
+ type: z.ZodOptional<z.ZodEnum<["instance", "project"]>>;
10
+ sortBy: z.ZodOptional<z.ZodEnum<["order:asc", "order:desc", "createdAt:asc", "createdAt:desc", "updatedAt:asc", "updatedAt:desc"]>>;
11
+ skip: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
12
+ }>;
13
+ export declare class ListRoleMappingRuleQueryDto extends ListRoleMappingRuleQueryDto_base {
14
+ }
15
+ export type ListRoleMappingRuleQueryInput = z.infer<(typeof ListRoleMappingRuleQueryDto)['schema']>;
16
+ export {};
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListRoleMappingRuleQueryDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ const pagination_dto_1 = require("../pagination/pagination.dto");
7
+ const VALID_SORT_OPTIONS = [
8
+ 'order:asc',
9
+ 'order:desc',
10
+ 'createdAt:asc',
11
+ 'createdAt:desc',
12
+ 'updatedAt:asc',
13
+ 'updatedAt:desc',
14
+ ];
15
+ const sortByValidator = zod_1.z
16
+ .enum(VALID_SORT_OPTIONS, { message: `sortBy must be one of: ${VALID_SORT_OPTIONS.join(', ')}` })
17
+ .optional();
18
+ const typeFilterValidator = zod_1.z.enum(['instance', 'project']).optional();
19
+ class ListRoleMappingRuleQueryDto extends zod_class_1.Z.class({
20
+ ...pagination_dto_1.paginationSchema,
21
+ take: (0, pagination_dto_1.createTakeValidator)(pagination_dto_1.MAX_ITEMS_PER_PAGE),
22
+ type: typeFilterValidator,
23
+ sortBy: sortByValidator,
24
+ }) {
25
+ }
26
+ exports.ListRoleMappingRuleQueryDto = ListRoleMappingRuleQueryDto;
27
+ //# sourceMappingURL=list-role-mapping-rule-query.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-role-mapping-rule-query.dto.js","sourceRoot":"","sources":["../../../src/dto/roles/list-role-mapping-rule-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AACpC,iEAIsC;AAEtC,MAAM,kBAAkB,GAAG;IAC1B,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,gBAAgB;CACP,CAAC;AAEX,MAAM,eAAe,GAAG,OAAC;KACvB,IAAI,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,0BAA0B,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;KAChG,QAAQ,EAAE,CAAC;AAEb,MAAM,mBAAmB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;AAEvE,MAAa,2BAA4B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACxD,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,mCAAkB,CAAC;IAC7C,IAAI,EAAE,mBAAmB;IACzB,MAAM,EAAE,eAAe;CACvB,CAAC;CAAG;AALL,kEAKK"}
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ declare const MoveRoleMappingRuleDto_base: import("../../zod-class").ZodClass<{
3
+ targetIndex: number;
4
+ }, {
5
+ targetIndex: z.ZodNumber;
6
+ }>;
7
+ export declare class MoveRoleMappingRuleDto extends MoveRoleMappingRuleDto_base {
8
+ }
9
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MoveRoleMappingRuleDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ class MoveRoleMappingRuleDto extends zod_class_1.Z.class({
7
+ targetIndex: zod_1.z.number().int().min(0),
8
+ }) {
9
+ }
10
+ exports.MoveRoleMappingRuleDto = MoveRoleMappingRuleDto;
11
+ //# sourceMappingURL=move-role-mapping-rule.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"move-role-mapping-rule.dto.js","sourceRoot":"","sources":["../../../src/dto/roles/move-role-mapping-rule.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACpC,CAAC;CAAG;AAFL,wDAEK"}
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ declare const PatchRoleMappingRuleDto_base: import("../../zod-class").ZodClass<{
3
+ type?: "project" | "instance" | undefined;
4
+ role?: string | undefined;
5
+ expression?: string | undefined;
6
+ order?: number | undefined;
7
+ projectIds?: string[] | undefined;
8
+ }, {
9
+ expression: z.ZodOptional<z.ZodString>;
10
+ role: z.ZodOptional<z.ZodString>;
11
+ type: z.ZodOptional<z.ZodEnum<["instance", "project"]>>;
12
+ order: z.ZodOptional<z.ZodNumber>;
13
+ projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ }>;
15
+ export declare class PatchRoleMappingRuleDto extends PatchRoleMappingRuleDto_base {
16
+ }
17
+ export type PatchRoleMappingRuleInput = z.infer<(typeof PatchRoleMappingRuleDto)['schema']>;
18
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PatchRoleMappingRuleDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ class PatchRoleMappingRuleDto extends zod_class_1.Z.class({
7
+ expression: zod_1.z.string().min(1).optional(),
8
+ role: zod_1.z.string().min(1).max(128).optional(),
9
+ type: zod_1.z.enum(['instance', 'project']).optional(),
10
+ order: zod_1.z.number().int().optional(),
11
+ projectIds: zod_1.z.array(zod_1.z.string()).optional(),
12
+ }) {
13
+ }
14
+ exports.PatchRoleMappingRuleDto = PatchRoleMappingRuleDto;
15
+ //# sourceMappingURL=patch-role-mapping-rule.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patch-role-mapping-rule.dto.js","sourceRoot":"","sources":["../../../src/dto/roles/patch-role-mapping-rule.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC;CAAG;AANL,0DAMK"}
@@ -4,8 +4,8 @@ declare const CreateSecretsProviderConnectionDto_base: import("../../zod-class")
4
4
  settings: {} & {
5
5
  [k: string]: any;
6
6
  };
7
- providerKey: string;
8
7
  projectIds: string[];
8
+ providerKey: string;
9
9
  }, {
10
10
  providerKey: z.ZodString;
11
11
  type: z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical", "onePassword"]>;
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  declare const UpdateSecretsProviderConnectionDto_base: import("../../zod-class").ZodClass<{
3
3
  type?: "awsSecretsManager" | "gcpSecretsManager" | "vault" | "azureKeyVault" | "infisical" | "onePassword" | undefined;
4
4
  settings?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
5
- isEnabled?: boolean | undefined;
6
5
  projectIds?: string[] | undefined;
6
+ isEnabled?: boolean | undefined;
7
7
  }, {
8
8
  type: z.ZodOptional<z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical", "onePassword"]>>;
9
9
  projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -217,6 +217,7 @@ export interface FrontendSettings {
217
217
  quota: number;
218
218
  };
219
219
  activeModules: string[];
220
+ canvasOnly: boolean;
220
221
  envFeatureFlags: N8nEnvFeatFlags;
221
222
  }
222
223
  export type FrontendModuleSettings = {
package/dist/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export { createHeartbeatMessage, heartbeatMessageSchema } from './push/heartbeat
17
17
  export type { SendWorkerStatusMessage } from './push/worker';
18
18
  export type { BannerName } from './schemas/banner-name.schema';
19
19
  export { ViewableMimeTypes } from './schemas/binary-data.schema';
20
- export { passwordSchema } from './schemas/password.schema';
20
+ export { passwordSchema, createPasswordSchema } from './schemas/password.schema';
21
21
  export { credentialResolverSchema, credentialResolversSchema, credentialResolverTypeSchema, credentialResolverTypesSchema, credentialResolverAffectedWorkflowsSchema, type CredentialResolver, type CredentialResolverType, type CredentialResolverAffectedWorkflow, } from './schemas/credential-resolver.schema';
22
22
  export { WORKFLOW_VERSION_NAME_MAX_LENGTH, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH, } from './schemas/workflow-version.schema';
23
23
  export type { DependencyType, DependencyResourceType, ResolvedDependency, ResolvedDependenciesResult, DependenciesBatchResponse, } from './schemas/dependency.schema';
package/dist/index.js CHANGED
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.isSourceControlledFileStatus = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.credentialResolverAffectedWorkflowsSchema = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolversSchema = exports.credentialResolverSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubVectorStoreProviderSchema = exports.CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ChatHubUpdateToolRequest = exports.ChatHubCreateToolRequest = exports.chatHubMessageWithButtonsSchema = exports.ChatReconnectRequest = exports.ChatHubSemanticSearchSettings = exports.UpdateChatSettingsRequest = exports.suggestedPromptsSchema = exports.agentIconOrEmojiSchema = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubManualEditMessageRequest = exports.ChatHubEditMessageRequest = exports.ChatHubManualRegenerateMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubManualSendMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubSessionTypeSchema = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = exports.Z = void 0;
18
- exports.reloadSecretProviderConnectionResponseSchema = exports.testSecretProviderConnectionResponseSchema = exports.MIGRATION_REPORT_TARGET_VERSION = exports.WorkflowExecutionStatusSchema = exports.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = void 0;
17
+ exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.isSourceControlledFileStatus = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.credentialResolverAffectedWorkflowsSchema = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolversSchema = exports.credentialResolverSchema = exports.createPasswordSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubVectorStoreProviderSchema = exports.CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ChatHubUpdateToolRequest = exports.ChatHubCreateToolRequest = exports.chatHubMessageWithButtonsSchema = exports.ChatReconnectRequest = exports.ChatHubSemanticSearchSettings = exports.UpdateChatSettingsRequest = exports.suggestedPromptsSchema = exports.agentIconOrEmojiSchema = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubManualEditMessageRequest = exports.ChatHubEditMessageRequest = exports.ChatHubManualRegenerateMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubManualSendMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubSessionTypeSchema = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = exports.Z = void 0;
18
+ exports.reloadSecretProviderConnectionResponseSchema = exports.testSecretProviderConnectionResponseSchema = exports.MIGRATION_REPORT_TARGET_VERSION = exports.WorkflowExecutionStatusSchema = exports.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = exports.userDetailSchema = void 0;
19
19
  var zod_class_1 = require("./zod-class");
20
20
  Object.defineProperty(exports, "Z", { enumerable: true, get: function () { return zod_class_1.Z; } });
21
21
  __exportStar(require("./dto"), exports);
@@ -58,6 +58,7 @@ var binary_data_schema_1 = require("./schemas/binary-data.schema");
58
58
  Object.defineProperty(exports, "ViewableMimeTypes", { enumerable: true, get: function () { return binary_data_schema_1.ViewableMimeTypes; } });
59
59
  var password_schema_1 = require("./schemas/password.schema");
60
60
  Object.defineProperty(exports, "passwordSchema", { enumerable: true, get: function () { return password_schema_1.passwordSchema; } });
61
+ Object.defineProperty(exports, "createPasswordSchema", { enumerable: true, get: function () { return password_schema_1.createPasswordSchema; } });
61
62
  var credential_resolver_schema_1 = require("./schemas/credential-resolver.schema");
62
63
  Object.defineProperty(exports, "credentialResolverSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolverSchema; } });
63
64
  Object.defineProperty(exports, "credentialResolversSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolversSchema; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,yCAA+C;AAAtC,8FAAA,CAAC,OAAA;AAEV,wCAAsB;AAQtB,4DAA0C;AAC1C,uCAyEoB;AAxEnB,0HAAA,8BAA8B,OAAA;AAW9B,iHAAA,qBAAqB,OAAA;AACrB,oHAAA,wBAAwB,OAAA;AACxB,oHAAA,wBAAwB,OAAA;AAMxB,wHAAA,4BAA4B,OAAA;AAC5B,mHAAA,uBAAuB,OAAA;AACvB,mHAAA,uBAAuB,OAAA;AAGvB,gHAAA,oBAAoB,OAAA;AAEpB,qHAAA,yBAAyB,OAAA;AACzB,2HAAA,+BAA+B,OAAA;AAC/B,2HAAA,+BAA+B,OAAA;AAC/B,iIAAA,qCAAqC,OAAA;AACrC,qHAAA,yBAAyB,OAAA;AACzB,2HAAA,+BAA+B,OAAA;AAC/B,4HAA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OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAIvD,mEAAiE;AAAxD,uHAAA,iBAAiB,OAAA;AAC1B,6DAAiF;AAAxE,iHAAA,cAAc,OAAA;AAAE,uHAAA,oBAAoB,OAAA;AAC7C,mFAS8C;AAR7C,sIAAA,wBAAwB,OAAA;AACxB,uIAAA,yBAAyB,OAAA;AACzB,0IAAA,4BAA4B,OAAA;AAC5B,2IAAA,6BAA6B,OAAA;AAC7B,uJAAA,yCAAyC,OAAA;AAK1C,6EAG2C;AAF1C,2IAAA,gCAAgC,OAAA;AAChC,kJAAA,uCAAuC,OAAA;AAqBxC,yFAOiD;AANhD,6IAAA,4BAA4B,OAAA;AAG5B,6IAAA,4BAA4B,OAAA;AAC5B,2IAAA,0BAA0B,OAAA;AAC1B,yIAAA,wBAAwB,OAAA;AAazB,qDAQ+B;AAP9B,mGAAA,IAAI,OAAA;AAIJ,8GAAA,eAAe,OAAA;AACf,6GAAA,cAAc,OAAA;AACd,+GAAA,gBAAgB,OAAA;AAGjB,iEAYqC;AAXpC,4HAAA,uBAAuB,OAAA;AACvB,iIAAA,4BAA4B,OAAA;AAC5B,oIAAA,+BAA+B,OAAA;AAO/B,mHAAA,cAAc,OAAA;AACd,8HAAA,yBAAyB,OAAA;AAgB1B,+FAGoD;AAFnD,iJAAA,6BAA6B,OAAA;AAmB9B,6EAAoF;AAA3E,0IAAA,+BAA+B,OAAA;AAgBxC,6EAG2C;AAF1C,qJAAA,0CAA0C,OAAA;AAC1C,uJAAA,4CAA4C,OAAA"}
@@ -1,6 +1,8 @@
1
1
  export interface DependencyTypeCounts {
2
2
  credentialId: number;
3
3
  dataTableId: number;
4
+ errorWorkflow: number;
5
+ errorWorkflowParent: number;
4
6
  workflowCall: number;
5
7
  workflowParent: number;
6
8
  }
@@ -1,4 +1,4 @@
1
- export type DependencyType = 'credentialId' | 'dataTableId' | 'workflowCall' | 'workflowParent';
1
+ export type DependencyType = 'credentialId' | 'dataTableId' | 'errorWorkflow' | 'errorWorkflowParent' | 'workflowCall' | 'workflowParent';
2
2
  export type DependencyResourceType = 'workflow' | 'credential' | 'dataTable';
3
3
  export interface ResolvedDependency {
4
4
  type: DependencyType;
@@ -1,2 +1,5 @@
1
1
  import { z } from 'zod';
2
+ declare const minLength: number;
3
+ export { minLength as passwordMinLength };
4
+ export declare const createPasswordSchema: (min: number) => z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2
5
  export declare const passwordSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -1,17 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.passwordSchema = void 0;
3
+ exports.passwordSchema = exports.createPasswordSchema = exports.passwordMinLength = void 0;
4
4
  const zod_1 = require("zod");
5
- const minLength = 8;
6
- const maxLength = 64;
7
- exports.passwordSchema = zod_1.z
5
+ const MIN_LENGTH_FLOOR = 8;
6
+ const MAX_LENGTH = 64;
7
+ const envMinLength = parseInt(process.env.N8N_PASSWORD_MIN_LENGTH ?? '', 10);
8
+ const minLength = Number.isFinite(envMinLength)
9
+ ? Math.min(Math.max(envMinLength, MIN_LENGTH_FLOOR), MAX_LENGTH)
10
+ : MIN_LENGTH_FLOOR;
11
+ exports.passwordMinLength = minLength;
12
+ const createPasswordSchema = (min) => zod_1.z
8
13
  .string()
9
- .min(minLength, `Password must be ${minLength} to ${maxLength} characters long.`)
10
- .max(maxLength, `Password must be ${minLength} to ${maxLength} characters long.`)
14
+ .min(min, `Password must be ${min} to ${MAX_LENGTH} characters long.`)
15
+ .max(MAX_LENGTH, `Password must be ${min} to ${MAX_LENGTH} characters long.`)
11
16
  .refine((password) => /\d/.test(password), {
12
17
  message: 'Password must contain at least 1 number.',
13
18
  })
14
19
  .refine((password) => /[A-Z]/.test(password), {
15
20
  message: 'Password must contain at least 1 uppercase letter.',
16
21
  });
22
+ exports.createPasswordSchema = createPasswordSchema;
23
+ exports.passwordSchema = (0, exports.createPasswordSchema)(minLength);
17
24
  //# sourceMappingURL=password.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"password.schema.js","sourceRoot":"","sources":["../../src/schemas/password.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAGxB,MAAM,SAAS,GAAG,CAAC,CAAC;AACpB,MAAM,SAAS,GAAG,EAAE,CAAC;AAER,QAAA,cAAc,GAAG,OAAC;KAC7B,MAAM,EAAE;KACR,GAAG,CAAC,SAAS,EAAE,oBAAoB,SAAS,OAAO,SAAS,mBAAmB,CAAC;KAChF,GAAG,CAAC,SAAS,EAAE,oBAAoB,SAAS,OAAO,SAAS,mBAAmB,CAAC;KAChF,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;IAC1C,OAAO,EAAE,0CAA0C;CACnD,CAAC;KACD,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;IAC7C,OAAO,EAAE,oDAAoD;CAC7D,CAAC,CAAC"}
1
+ {"version":3,"file":"password.schema.js","sourceRoot":"","sources":["../../src/schemas/password.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,UAAU,GAAG,EAAE,CAAC;AAEtB,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7E,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC;IAC9C,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAChE,CAAC,CAAC,gBAAgB,CAAC;AAEE,sCAAiB;AAEhC,MAAM,oBAAoB,GAAG,CAAC,GAAW,EAAE,EAAE,CACnD,OAAC;KACC,MAAM,EAAE;KACR,GAAG,CAAC,GAAG,EAAE,oBAAoB,GAAG,OAAO,UAAU,mBAAmB,CAAC;KACrE,GAAG,CAAC,UAAU,EAAE,oBAAoB,GAAG,OAAO,UAAU,mBAAmB,CAAC;KAC5E,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;IAC1C,OAAO,EAAE,0CAA0C;CACnD,CAAC;KACD,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;IAC7C,OAAO,EAAE,oDAAoD;CAC7D,CAAC,CAAC;AAVQ,QAAA,oBAAoB,wBAU5B;AAEQ,QAAA,cAAc,GAAG,IAAA,4BAAoB,EAAC,SAAS,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
@@ -10,14 +10,14 @@
10
10
  "LICENSE_EE.md"
11
11
  ],
12
12
  "devDependencies": {
13
- "@n8n/typescript-config": "1.3.0",
14
- "@n8n/config": "2.13.0"
13
+ "@n8n/config": "2.14.0",
14
+ "@n8n/typescript-config": "1.3.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "xss": "1.0.15",
18
18
  "zod": "3.25.67",
19
- "n8n-workflow": "2.14.0",
20
- "@n8n/permissions": "0.54.0"
19
+ "n8n-workflow": "2.15.0",
20
+ "@n8n/permissions": "0.55.0"
21
21
  },
22
22
  "license": "SEE LICENSE IN LICENSE.md",
23
23
  "homepage": "https://n8n.io",