@n8n/api-types 0.36.1 → 0.38.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.
@@ -16,4 +16,8 @@ export type CommunityNodeType = {
16
16
  companyName?: string;
17
17
  nodeDescription: INodeTypeDescription;
18
18
  isInstalled: boolean;
19
+ nodeVersions?: Array<{
20
+ npmVersion: string;
21
+ checksum: string;
22
+ }>;
19
23
  };
@@ -1,12 +1,78 @@
1
+ import type { IWorkflowBase, NodeExecutionSchema } from 'n8n-workflow';
1
2
  import { z } from 'zod';
2
3
  import { Z } from 'zod-class';
3
4
  declare const AiBuilderChatRequestDto_base: Z.Class<{
4
5
  payload: z.ZodObject<{
5
- question: z.ZodString;
6
+ role: z.ZodLiteral<"user">;
7
+ type: z.ZodLiteral<"message">;
8
+ text: z.ZodString;
9
+ workflowContext: z.ZodObject<{
10
+ currentWorkflow: z.ZodOptional<z.ZodType<Partial<IWorkflowBase>, z.ZodTypeDef, Partial<IWorkflowBase>>>;
11
+ executionData: z.ZodOptional<z.ZodType<{
12
+ error?: import("n8n-workflow").ExecutionError;
13
+ runData: import("n8n-workflow").IRunData;
14
+ pinData?: import("n8n-workflow").IPinData;
15
+ lastNodeExecuted?: string;
16
+ metadata?: Record<string, string>;
17
+ }, z.ZodTypeDef, {
18
+ error?: import("n8n-workflow").ExecutionError;
19
+ runData: import("n8n-workflow").IRunData;
20
+ pinData?: import("n8n-workflow").IPinData;
21
+ lastNodeExecuted?: string;
22
+ metadata?: Record<string, string>;
23
+ }>>;
24
+ executionSchema: z.ZodOptional<z.ZodType<NodeExecutionSchema[], z.ZodTypeDef, NodeExecutionSchema[]>>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ currentWorkflow?: Partial<IWorkflowBase> | undefined;
27
+ executionData?: {
28
+ error?: import("n8n-workflow").ExecutionError;
29
+ runData: import("n8n-workflow").IRunData;
30
+ pinData?: import("n8n-workflow").IPinData;
31
+ lastNodeExecuted?: string;
32
+ metadata?: Record<string, string>;
33
+ } | undefined;
34
+ executionSchema?: NodeExecutionSchema[] | undefined;
35
+ }, {
36
+ currentWorkflow?: Partial<IWorkflowBase> | undefined;
37
+ executionData?: {
38
+ error?: import("n8n-workflow").ExecutionError;
39
+ runData: import("n8n-workflow").IRunData;
40
+ pinData?: import("n8n-workflow").IPinData;
41
+ lastNodeExecuted?: string;
42
+ metadata?: Record<string, string>;
43
+ } | undefined;
44
+ executionSchema?: NodeExecutionSchema[] | undefined;
45
+ }>;
6
46
  }, "strip", z.ZodTypeAny, {
7
- question: string;
47
+ type: "message";
48
+ text: string;
49
+ role: "user";
50
+ workflowContext: {
51
+ currentWorkflow?: Partial<IWorkflowBase> | undefined;
52
+ executionData?: {
53
+ error?: import("n8n-workflow").ExecutionError;
54
+ runData: import("n8n-workflow").IRunData;
55
+ pinData?: import("n8n-workflow").IPinData;
56
+ lastNodeExecuted?: string;
57
+ metadata?: Record<string, string>;
58
+ } | undefined;
59
+ executionSchema?: NodeExecutionSchema[] | undefined;
60
+ };
8
61
  }, {
9
- question: string;
62
+ type: "message";
63
+ text: string;
64
+ role: "user";
65
+ workflowContext: {
66
+ currentWorkflow?: Partial<IWorkflowBase> | undefined;
67
+ executionData?: {
68
+ error?: import("n8n-workflow").ExecutionError;
69
+ runData: import("n8n-workflow").IRunData;
70
+ pinData?: import("n8n-workflow").IPinData;
71
+ lastNodeExecuted?: string;
72
+ metadata?: Record<string, string>;
73
+ } | undefined;
74
+ executionSchema?: NodeExecutionSchema[] | undefined;
75
+ };
10
76
  }>;
11
77
  }>;
12
78
  export declare class AiBuilderChatRequestDto extends AiBuilderChatRequestDto_base {
@@ -5,7 +5,35 @@ const zod_1 = require("zod");
5
5
  const zod_class_1 = require("zod-class");
6
6
  class AiBuilderChatRequestDto extends zod_class_1.Z.class({
7
7
  payload: zod_1.z.object({
8
- question: zod_1.z.string(),
8
+ role: zod_1.z.literal('user'),
9
+ type: zod_1.z.literal('message'),
10
+ text: zod_1.z.string(),
11
+ workflowContext: zod_1.z.object({
12
+ currentWorkflow: zod_1.z
13
+ .custom((val) => {
14
+ if (!val.nodes && !val.connections) {
15
+ return false;
16
+ }
17
+ return val;
18
+ })
19
+ .optional(),
20
+ executionData: zod_1.z
21
+ .custom((val) => {
22
+ if (!val.runData && !val.error) {
23
+ return false;
24
+ }
25
+ return val;
26
+ })
27
+ .optional(),
28
+ executionSchema: zod_1.z
29
+ .custom((val) => {
30
+ if (!Array.isArray(val) || val.every((item) => !item.nodeName || !item.schema)) {
31
+ return false;
32
+ }
33
+ return val;
34
+ })
35
+ .optional(),
36
+ }),
9
37
  }),
10
38
  }) {
11
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ai-build-request.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-build-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;KACpB,CAAC;CACF,CAAC;CAAG;AAJL,0DAIK"}
1
+ {"version":3,"file":"ai-build-request.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-build-request.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS,CAAC;QAC1B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,eAAe,EAAE,OAAC,CAAC,MAAM,CAAC;YACzB,eAAe,EAAE,OAAC;iBAChB,MAAM,CAAyB,CAAC,GAA2B,EAAE,EAAE;gBAC/D,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;oBACpC,OAAO,KAAK,CAAC;gBACd,CAAC;gBAED,OAAO,GAAG,CAAC;YACZ,CAAC,CAAC;iBACD,QAAQ,EAAE;YAEZ,aAAa,EAAE,OAAC;iBACd,MAAM,CAAkC,CAAC,GAAoC,EAAE,EAAE;gBACjF,IAAI,CAAC,GAAG,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;oBAChC,OAAO,KAAK,CAAC;gBACd,CAAC;gBAED,OAAO,GAAG,CAAC;YACZ,CAAC,CAAC;iBACD,QAAQ,EAAE;YAEZ,eAAe,EAAE,OAAC;iBAChB,MAAM,CAAwB,CAAC,GAA0B,EAAE,EAAE;gBAE7D,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBAChF,OAAO,KAAK,CAAC;gBACd,CAAC;gBAED,OAAO,GAAG,CAAC;YACZ,CAAC,CAAC;iBACD,QAAQ,EAAE;SACZ,CAAC;KACF,CAAC;CACF,CAAC;CAAG;AAtCL,0DAsCK"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { Z } from 'zod-class';
3
+ declare const AiSessionRetrievalRequestDto_base: Z.Class<{
4
+ workflowId: z.ZodOptional<z.ZodString>;
5
+ }>;
6
+ export declare class AiSessionRetrievalRequestDto extends AiSessionRetrievalRequestDto_base {
7
+ }
8
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AiSessionRetrievalRequestDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("zod-class");
6
+ class AiSessionRetrievalRequestDto extends zod_class_1.Z.class({
7
+ workflowId: zod_1.z.string().optional(),
8
+ }) {
9
+ }
10
+ exports.AiSessionRetrievalRequestDto = AiSessionRetrievalRequestDto;
11
+ //# sourceMappingURL=ai-session-retrieval-request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-session-retrieval-request.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-session-retrieval-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;CAAG;AAFL,oEAEK"}
@@ -25,7 +25,7 @@ declare const ListFolderQueryDto_base: Z.Class<{
25
25
  } | undefined, string | undefined>;
26
26
  skip: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>;
27
27
  take: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>;
28
- select: z.ZodEffects<z.ZodOptional<z.ZodString>, Record<"project" | "path" | "id" | "name" | "tags" | "updatedAt" | "createdAt" | "parentFolder" | "workflowCount" | "subFolderCount", true> | undefined, string | undefined>;
28
+ select: z.ZodEffects<z.ZodOptional<z.ZodString>, Record<"project" | "path" | "id" | "name" | "createdAt" | "updatedAt" | "tags" | "parentFolder" | "workflowCount" | "subFolderCount", true> | undefined, string | undefined>;
29
29
  sortBy: z.ZodOptional<z.ZodEnum<["name:asc", "name:desc", "createdAt:asc", "createdAt:desc", "updatedAt:asc", "updatedAt:desc"]>>;
30
30
  }>;
31
31
  export declare class ListFolderQueryDto extends ListFolderQueryDto_base {
@@ -3,6 +3,7 @@ export { AiChatRequestDto } from './ai/ai-chat-request.dto';
3
3
  export { AiBuilderChatRequestDto } from './ai/ai-build-request.dto';
4
4
  export { AiApplySuggestionRequestDto } from './ai/ai-apply-suggestion-request.dto';
5
5
  export { AiFreeCreditsRequestDto } from './ai/ai-free-credits-request.dto';
6
+ export { AiSessionRetrievalRequestDto } from './ai/ai-session-retrieval-request.dto';
6
7
  export { BinaryDataQueryDto } from './binary-data/binary-data-query.dto';
7
8
  export { BinaryDataSignedQueryDto } from './binary-data/binary-data-signed-query.dto';
8
9
  export { LoginRequestDto } from './auth/login-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.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.TransferWorkflowBodyDto = exports.ManualRunQueryDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferences = exports.SamlAcsDto = exports.ChangeUserRoleInProject = exports.AddUsersToProjectDto = exports.DeleteProjectDto = 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.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = void 0;
4
- exports.OidcConfigDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = void 0;
3
+ exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.TransferWorkflowBodyDto = exports.ManualRunQueryDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferences = exports.SamlAcsDto = exports.ChangeUserRoleInProject = exports.AddUsersToProjectDto = exports.DeleteProjectDto = 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.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = void 0;
4
+ exports.OidcConfigDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = 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");
@@ -12,6 +12,8 @@ var ai_apply_suggestion_request_dto_1 = require("./ai/ai-apply-suggestion-reques
12
12
  Object.defineProperty(exports, "AiApplySuggestionRequestDto", { enumerable: true, get: function () { return ai_apply_suggestion_request_dto_1.AiApplySuggestionRequestDto; } });
13
13
  var ai_free_credits_request_dto_1 = require("./ai/ai-free-credits-request.dto");
14
14
  Object.defineProperty(exports, "AiFreeCreditsRequestDto", { enumerable: true, get: function () { return ai_free_credits_request_dto_1.AiFreeCreditsRequestDto; } });
15
+ var ai_session_retrieval_request_dto_1 = require("./ai/ai-session-retrieval-request.dto");
16
+ Object.defineProperty(exports, "AiSessionRetrievalRequestDto", { enumerable: true, get: function () { return ai_session_retrieval_request_dto_1.AiSessionRetrievalRequestDto; } });
15
17
  var binary_data_query_dto_1 = require("./binary-data/binary-data-query.dto");
16
18
  Object.defineProperty(exports, "BinaryDataQueryDto", { enumerable: true, get: function () { return binary_data_query_dto_1.BinaryDataQueryDto; } });
17
19
  var binary_data_signed_query_dto_1 = require("./binary-data/binary-data-signed-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;AAEhC,6EAAyE;AAAhE,2HAAA,kBAAkB,O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ueryDto_base: Z.Class<{
5
5
  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>;
6
6
  dateRange: z.ZodOptional<z.ZodEnum<["day", "week", "2weeks", "month", "quarter", "6months", "year"]>>;
7
- sortBy: z.ZodOptional<z.ZodEnum<["total:asc", "total:desc", "succeeded:asc", "succeeded:desc", "failed:asc", "failed:desc", "failureRate:asc", "failureRate:desc", "timeSaved:asc", "timeSaved:desc", "runTime:asc", "runTime:desc", "averageRunTime:asc", "averageRunTime:desc"]>>;
7
+ sortBy: z.ZodOptional<z.ZodEnum<["total:asc", "total:desc", "succeeded:asc", "succeeded:desc", "failed:asc", "failed:desc", "failureRate:asc", "failureRate:desc", "timeSaved:asc", "timeSaved:desc", "runTime:asc", "runTime:desc", "averageRunTime:asc", "averageRunTime:desc", "workflowName:asc", "workflowName:desc"]>>;
8
8
  skip: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
9
9
  }>;
10
10
  export declare class ListInsightsWorkflowQueryDto extends ListInsightsWorkflowQueryDto_base {
@@ -21,6 +21,8 @@ const VALID_SORT_OPTIONS = [
21
21
  'runTime:desc',
22
22
  'averageRunTime:asc',
23
23
  'averageRunTime:desc',
24
+ 'workflowName:asc',
25
+ 'workflowName:desc',
24
26
  ];
25
27
  const sortByValidator = zod_1.z
26
28
  .enum(VALID_SORT_OPTIONS, { message: `sortBy must be one of: ${VALID_SORT_OPTIONS.join(', ')}` })
@@ -1 +1 @@
1
- {"version":3,"file":"list-workflow-query.dto.js","sourceRoot":"","sources":["../../../src/dto/insights/list-workflow-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,uDAA0D;AAC1D,iEAAqF;AAExE,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC,MAAM,kBAAkB,GAAG;IAC1B,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,aAAa;IACb,cAAc;IACd,oBAAoB;IACpB,qBAAqB;CACZ,CAAC;AAMX,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,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,0BAAkB,CAAC;IAC7C,SAAS,EAAE,uCAAqB,CAAC,KAAK,CAAC,SAAS;IAChD,MAAM,EAAE,eAAe;CACvB,CAAC;CAAG;AALL,oEAKK"}
1
+ {"version":3,"file":"list-workflow-query.dto.js","sourceRoot":"","sources":["../../../src/dto/insights/list-workflow-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,uDAA0D;AAC1D,iEAAqF;AAExE,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC,MAAM,kBAAkB,GAAG;IAC1B,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,aAAa;IACb,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;CACV,CAAC;AAMX,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,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,0BAAkB,CAAC;IAC7C,SAAS,EAAE,uCAAqB,CAAC,KAAK,CAAC,SAAS;IAChD,MAAM,EAAE,eAAe;CACvB,CAAC;CAAG;AALL,oEAKK"}
@@ -30,11 +30,11 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
30
30
  type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
31
31
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
32
32
  id: string;
33
- file: string;
34
33
  name: string;
34
+ updatedAt: string;
35
+ file: string;
35
36
  location: "local" | "remote";
36
37
  conflict: boolean;
37
- updatedAt: string;
38
38
  pushed?: boolean | undefined;
39
39
  owner?: {
40
40
  type: "personal" | "team";
@@ -45,11 +45,11 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
45
45
  type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
46
46
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
47
47
  id: string;
48
- file: string;
49
48
  name: string;
49
+ updatedAt: string;
50
+ file: string;
50
51
  location: "local" | "remote";
51
52
  conflict: boolean;
52
- updatedAt: string;
53
53
  pushed?: boolean | undefined;
54
54
  owner?: {
55
55
  type: "personal" | "team";
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { Z } from 'zod-class';
3
- export declare const USERS_LIST_SORT_OPTIONS: readonly ["firstName:asc", "firstName:desc", "lastName:asc", "lastName:desc", "email:asc", "email:desc", "role:asc", "role:desc", "mfaEnabled:asc", "mfaEnabled:desc"];
3
+ export declare const USERS_LIST_SORT_OPTIONS: readonly ["firstName:asc", "firstName:desc", "lastName:asc", "lastName:desc", "email:asc", "email:desc", "role:asc", "role:desc", "mfaEnabled:asc", "mfaEnabled:desc", "lastActiveAt:asc", "lastActiveAt:desc"];
4
4
  export type UsersListSortOptions = (typeof USERS_LIST_SORT_OPTIONS)[number];
5
5
  declare const UsersListFilterDto_base: Z.Class<{
6
6
  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>;
@@ -14,7 +14,7 @@ declare const UsersListFilterDto_base: Z.Class<{
14
14
  fullText?: string | undefined;
15
15
  } | undefined, string | undefined>>;
16
16
  expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["projectRelations"]>, "many">>;
17
- sortBy: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstName:asc", "firstName:desc", "lastName:asc", "lastName:desc", "email:asc", "email:desc", "role:asc", "role:desc", "mfaEnabled:asc", "mfaEnabled:desc"]>, "many">>;
17
+ sortBy: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstName:asc", "firstName:desc", "lastName:asc", "lastName:desc", "email:asc", "email:desc", "role:asc", "role:desc", "mfaEnabled:asc", "mfaEnabled:desc", "lastActiveAt:asc", "lastActiveAt:desc"]>, "many">>;
18
18
  skip: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
19
19
  }>;
20
20
  export declare class UsersListFilterDto extends UsersListFilterDto_base {
@@ -16,6 +16,8 @@ exports.USERS_LIST_SORT_OPTIONS = [
16
16
  'role:desc',
17
17
  'mfaEnabled:asc',
18
18
  'mfaEnabled:desc',
19
+ 'lastActiveAt:asc',
20
+ 'lastActiveAt:desc',
19
21
  ];
20
22
  const usersListSortByValidator = zod_1.z
21
23
  .array(zod_1.z.enum(exports.USERS_LIST_SORT_OPTIONS, {
@@ -1 +1 @@
1
- {"version":3,"file":"users-list-filter.dto.js","sourceRoot":"","sources":["../../../src/dto/user/users-list-filter.dto.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,6BAAwB;AACxB,yCAA8B;AAE9B,iEAAqF;AAExE,QA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AC;QACvC,IAAI,CAAC;YACJ,OAAO,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACZ,GAAG,CAAC,QAAQ,CAAC;gBACZ,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;gBAC3B,OAAO,EAAE,uBAAuB;gBAChC,IAAI,EAAE,CAAC,QAAQ,CAAC;aAChB,CAAC,CAAC;YACH,OAAO,OAAC,CAAC,KAAK,CAAC;QAChB,CAAC;IACF,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACZ,GAAG,CAAC,QAAQ,CAAC;YACZ,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,uBAAuB;YAChC,IAAI,EAAE,CAAC,QAAQ,CAAC;SAChB,CAAC,CAAC;QACH,OAAO,OAAC,CAAC,KAAK,CAAC;IAChB,CAAC;AACF,CAAC,CAAC,CAAC;AAEJ,MAAM,gBAAgB,GAAG,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAE/D,MAAa,kBAAmB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/C,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,EAAE,EAAE,IAAI,CAAC;IACnC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAEnC,MAAM,EAAE,wBAAwB;CAChC,CAAC;CAAG;AARL,gDAQK"}
@@ -192,6 +192,7 @@ export interface FrontendSettings {
192
192
  quota: number;
193
193
  };
194
194
  activeModules: string[];
195
+ envFeatureFlags: N8nEnvFeatFlags;
195
196
  }
196
197
  export type FrontendModuleSettings = {
197
198
  insights?: {
@@ -200,3 +201,5 @@ export type FrontendModuleSettings = {
200
201
  dateRanges: InsightsDateRange[];
201
202
  };
202
203
  };
204
+ export type N8nEnvFeatFlagValue = boolean | string | number | undefined;
205
+ export type N8nEnvFeatFlags = Record<`N8N_ENV_FEAT_${Uppercase<string>}`, N8nEnvFeatFlagValue>;
@@ -29,11 +29,11 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
29
29
  type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
30
30
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
31
31
  id: string;
32
- file: string;
33
32
  name: string;
33
+ updatedAt: string;
34
+ file: string;
34
35
  location: "local" | "remote";
35
36
  conflict: boolean;
36
- updatedAt: string;
37
37
  pushed?: boolean | undefined;
38
38
  owner?: {
39
39
  type: "personal" | "team";
@@ -44,11 +44,11 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
44
44
  type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
45
45
  status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
46
46
  id: string;
47
- file: string;
48
47
  name: string;
48
+ updatedAt: string;
49
+ file: string;
49
50
  location: "local" | "remote";
50
51
  conflict: boolean;
51
- updatedAt: string;
52
52
  pushed?: boolean | undefined;
53
53
  owner?: {
54
54
  type: "personal" | "team";