@n8n/api-types 1.0.0-rc.1 → 1.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,6 +45,7 @@ export { CredentialsGetManyRequestQuery } from './credentials/credentials-get-ma
45
45
  export { GenerateCredentialNameRequestQuery } from './credentials/generate-credential-name.dto';
46
46
  export { ImportWorkflowFromUrlDto } from './workflows/import-workflow-from-url.dto';
47
47
  export { TransferWorkflowBodyDto } from './workflows/transfer.dto';
48
+ export { ActivateWorkflowDto } from './workflows/activate-workflow.dto';
48
49
  export { CreateOrUpdateTagRequestDto } from './tag/create-or-update-tag-request.dto';
49
50
  export { RetrieveTagQueryDto } from './tag/retrieve-tag-query.dto';
50
51
  export { UpdateApiKeyRequestDto } from './api-keys/update-api-key-request.dto';
package/dist/dto/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferencesAttributeMapping = exports.SamlPreferences = exports.SamlAcsDto = 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.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.AiSessionMetadataResponseDto = exports.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = void 0;
4
- exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.ListDataTableContentQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.OidcConfigDto = exports.RoleGetQueryDto = exports.RoleListQueryDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = void 0;
3
+ exports.CreateOrUpdateTagRequestDto = exports.ActivateWorkflowDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferencesAttributeMapping = exports.SamlPreferences = exports.SamlAcsDto = 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.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.AiSessionMetadataResponseDto = exports.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = void 0;
4
+ exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.ListDataTableContentQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.OidcConfigDto = exports.RoleGetQueryDto = exports.RoleListQueryDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = void 0;
5
5
  var ai_ask_request_dto_1 = require("./ai/ai-ask-request.dto");
6
6
  Object.defineProperty(exports, "AiAskRequestDto", { enumerable: true, get: function () { return ai_ask_request_dto_1.AiAskRequestDto; } });
7
7
  var ai_chat_request_dto_1 = require("./ai/ai-chat-request.dto");
@@ -97,6 +97,8 @@ var import_workflow_from_url_dto_1 = require("./workflows/import-workflow-from-u
97
97
  Object.defineProperty(exports, "ImportWorkflowFromUrlDto", { enumerable: true, get: function () { return import_workflow_from_url_dto_1.ImportWorkflowFromUrlDto; } });
98
98
  var transfer_dto_1 = require("./workflows/transfer.dto");
99
99
  Object.defineProperty(exports, "TransferWorkflowBodyDto", { enumerable: true, get: function () { return transfer_dto_1.TransferWorkflowBodyDto; } });
100
+ var activate_workflow_dto_1 = require("./workflows/activate-workflow.dto");
101
+ Object.defineProperty(exports, "ActivateWorkflowDto", { enumerable: true, get: function () { return activate_workflow_dto_1.ActivateWorkflowDto; } });
100
102
  var create_or_update_tag_request_dto_1 = require("./tag/create-or-update-tag-request.dto");
101
103
  Object.defineProperty(exports, "CreateOrUpdateTagRequestDto", { enumerable: true, get: function () { return create_or_update_tag_request_dto_1.CreateOrUpdateTagRequestDto; } });
102
104
  var retrieve_tag_query_dto_1 = require("./tag/retrieve-tag-query.dto");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;AAAA,8DAA0D;AAAjD,qHAAA,eAAe,OAAA;AACxB,gEAA4D;AAAnD,uHAAA,gBAAgB,OAAA;AACzB,kEAAoE;AAA3D,+HAAA,uBAAuB,OAAA;AAChC,wFAAmF;AAA1E,8IAAA,2BAA2B,OAAA;AACpC,gFAA2E;AAAlE,sIAAA,uBAAuB,OAAA;AAChC,0FAAqF;AAA5E,gJAAA,4BAA4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ACzB,iEAA6D;AAApD,qHAAA,eAAe,OAAA;AAExB,gDAAkD;AAAzC,2GAAA,aAAa,OAAA;AAEtB,4EAAwE;AAA/D,2HAAA,kBAAkB,OAAA;AAC3B,4EAAwE;AAA/D,2HAAA,kBAAkB,OAAA;AAC3B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,sFAAiF;AAAxE,oIAAA,sBAAsB,OAAA;AAC/B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,oGAA8F;AAArF,iJAAA,4BAA4B,OAAA;AACrC,0FAAqF;AAA5E,wIAAA,wBAAwB,OAAA;AACjC,gFAA2E;AAAlE,8HAAA,mBAAmB,OAAA;AAC5B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,sFAAiF;AAAxE,oIAAA,sBAAsB,OAAA;AAE/B,6DAIkC;AAHjC,0HAAA,sBAAsB,OAAA;AACtB,+HAAA,2BAA2B,OAAA;AAC3B,gIAAA,4BAA4B,OAAA;AAE7B,wDAA8F;AAArF,mHAAA,qBAAqB,OAAA;AAAE,wHAAA,0BAA0B,OAAA"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { Z } from 'zod-class';
3
+ declare const ActivateWorkflowDto_base: Z.Class<{
4
+ versionId: z.ZodString;
5
+ name: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ expectedChecksum: z.ZodOptional<z.ZodString>;
8
+ }>;
9
+ export declare class ActivateWorkflowDto extends ActivateWorkflowDto_base {
10
+ }
11
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActivateWorkflowDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("zod-class");
6
+ const workflow_version_schema_1 = require("../../schemas/workflow-version.schema");
7
+ class ActivateWorkflowDto extends zod_class_1.Z.class({
8
+ versionId: zod_1.z.string(),
9
+ name: workflow_version_schema_1.workflowVersionNameSchema,
10
+ description: workflow_version_schema_1.workflowVersionDescriptionSchema,
11
+ expectedChecksum: zod_1.z.string().optional(),
12
+ }) {
13
+ }
14
+ exports.ActivateWorkflowDto = ActivateWorkflowDto;
15
+ //# sourceMappingURL=activate-workflow.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activate-workflow.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/activate-workflow.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,mFAG+C;AAE/C,MAAa,mBAAoB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAChD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,mDAAyB;IAC/B,WAAW,EAAE,0DAAgC;IAC7C,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC;CAAG;AALL,kDAKK"}
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export type { SendWorkerStatusMessage } from './push/worker';
14
14
  export type { BannerName } from './schemas/banner-name.schema';
15
15
  export { ViewableMimeTypes } from './schemas/binary-data.schema';
16
16
  export { passwordSchema } from './schemas/password.schema';
17
+ export { WORKFLOW_VERSION_NAME_MAX_LENGTH, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH, } from './schemas/workflow-version.schema';
17
18
  export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/project.schema';
18
19
  export { type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
19
20
  export { type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ 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.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.UpdateChatSettingsRequest = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubEditMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = void 0;
17
+ exports.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.UpdateChatSettingsRequest = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubEditMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = void 0;
18
18
  __exportStar(require("./dto"), exports);
19
19
  var chat_hub_1 = require("./chat-hub");
20
20
  Object.defineProperty(exports, "chatHubConversationModelSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubConversationModelSchema; } });
@@ -39,6 +39,9 @@ var binary_data_schema_1 = require("./schemas/binary-data.schema");
39
39
  Object.defineProperty(exports, "ViewableMimeTypes", { enumerable: true, get: function () { return binary_data_schema_1.ViewableMimeTypes; } });
40
40
  var password_schema_1 = require("./schemas/password.schema");
41
41
  Object.defineProperty(exports, "passwordSchema", { enumerable: true, get: function () { return password_schema_1.passwordSchema; } });
42
+ var workflow_version_schema_1 = require("./schemas/workflow-version.schema");
43
+ Object.defineProperty(exports, "WORKFLOW_VERSION_NAME_MAX_LENGTH", { enumerable: true, get: function () { return workflow_version_schema_1.WORKFLOW_VERSION_NAME_MAX_LENGTH; } });
44
+ Object.defineProperty(exports, "WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH", { enumerable: true, get: function () { return workflow_version_schema_1.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH; } });
42
45
  var source_controlled_file_schema_1 = require("./schemas/source-controlled-file.schema");
43
46
  Object.defineProperty(exports, "SOURCE_CONTROL_FILE_LOCATION", { enumerable: true, get: function () { return source_controlled_file_schema_1.SOURCE_CONTROL_FILE_LOCATION; } });
44
47
  Object.defineProperty(exports, "SOURCE_CONTROL_FILE_STATUS", { enumerable: true, get: function () { return source_controlled_file_schema_1.SOURCE_CONTROL_FILE_STATUS; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAOtB,uCA0CoB;AAzCnB,0HAAA,8BAA8B,OAAA;AAS9B,iHAAA,qBAAqB,OAAA;AACrB,oHAAA,wBAAwB,OAAA;AAKxB,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,qHAAA,yBAAyB,OAAA;AACzB,4HAAA,gCAAgC,OAAA;AAChC,uHAAA,2BAA2B,OAAA;AAS3B,qHAAA,yBAAyB,OAAA;AACzB,qHAAA,yBAAyB,OAAA;AAGzB,qHAAA,yBAAyB,OAAA;AAM1B,8CAAkF;AAAzE,mHAAA,sBAAsB,OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAIvD,mEAAiE;AAAxD,uHAAA,iBAAiB,OAAA;AAC1B,6DAA2D;AAAlD,iHAAA,cAAc,OAAA;AAQvB,yFAKiD;AAHhD,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,iEAWqC;AAVpC,4HAAA,uBAAuB,OAAA;AACvB,iIAAA,4BAA4B,OAAA;AAC5B,oIAAA,+BAA+B,OAAA;AAM/B,mHAAA,cAAc,OAAA;AACd,8HAAA,yBAAyB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAOtB,uCA0CoB;AAzCnB,0HAAA,8BAA8B,OAAA;AAS9B,iHAAA,qBAAqB,OAAA;AACrB,oHAAA,wBAAwB,OAAA;AAKxB,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,qHAAA,yBAAyB,OAAA;AACzB,4HAAA,gCAAgC,OAAA;AAChC,uHAAA,2BAA2B,OAAA;AAS3B,qHAAA,yBAAyB,OAAA;AACzB,qHAAA,yBAAyB,OAAA;AAGzB,qHAAA,yBAAyB,OAAA;AAM1B,8CAAkF;AAAzE,mHAAA,sBAAsB,OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAIvD,mEAAiE;AAAxD,uHAAA,iBAAiB,OAAA;AAC1B,6DAA2D;AAAlD,iHAAA,cAAc,OAAA;AACvB,6EAG2C;AAF1C,2IAAA,gCAAgC,OAAA;AAChC,kJAAA,uCAAuC,OAAA;AASxC,yFAKiD;AAHhD,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,iEAWqC;AAVpC,4HAAA,uBAAuB,OAAA;AACvB,iIAAA,4BAA4B,OAAA;AAC5B,oIAAA,+BAA+B,OAAA;AAM/B,mHAAA,cAAc,OAAA;AACd,8HAAA,yBAAyB,OAAA"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const WORKFLOW_VERSION_NAME_MAX_LENGTH = 128;
3
+ export declare const WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = 2048;
4
+ export declare const workflowVersionNameSchema: z.ZodOptional<z.ZodString>;
5
+ export declare const workflowVersionDescriptionSchema: z.ZodOptional<z.ZodString>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.workflowVersionDescriptionSchema = exports.workflowVersionNameSchema = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = 128;
6
+ exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = 2048;
7
+ exports.workflowVersionNameSchema = zod_1.z
8
+ .string()
9
+ .max(exports.WORKFLOW_VERSION_NAME_MAX_LENGTH, {
10
+ message: `Version name cannot be longer than ${exports.WORKFLOW_VERSION_NAME_MAX_LENGTH} characters`,
11
+ })
12
+ .optional();
13
+ exports.workflowVersionDescriptionSchema = zod_1.z
14
+ .string()
15
+ .max(exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH, {
16
+ message: `Version description cannot be longer than ${exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH} characters`,
17
+ })
18
+ .optional();
19
+ //# sourceMappingURL=workflow-version.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-version.schema.js","sourceRoot":"","sources":["../../src/schemas/workflow-version.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gCAAgC,GAAG,GAAG,CAAC;AACvC,QAAA,uCAAuC,GAAG,IAAI,CAAC;AAE/C,QAAA,yBAAyB,GAAG,OAAC;KACxC,MAAM,EAAE;KACR,GAAG,CAAC,wCAAgC,EAAE;IACtC,OAAO,EAAE,sCAAsC,wCAAgC,aAAa;CAC5F,CAAC;KACD,QAAQ,EAAE,CAAC;AAEA,QAAA,gCAAgC,GAAG,OAAC;KAC/C,MAAM,EAAE;KACR,GAAG,CAAC,+CAAuC,EAAE;IAC7C,OAAO,EAAE,6CAA6C,+CAAuC,aAAa;CAC1G,CAAC;KACD,QAAQ,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "xss": "1.0.15",
18
18
  "zod": "3.25.67",
19
19
  "zod-class": "0.0.16",
20
- "n8n-workflow": "2.0.0-rc.1",
20
+ "n8n-workflow": "2.0.0-rc.2",
21
21
  "@n8n/permissions": "0.43.0"
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE.md",