@n8n/api-types 0.47.0 → 0.49.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.
- package/dist/api-keys.d.ts +1 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/ai/ai-build-request.dto.d.ts +3 -0
- package/dist/dto/ai/ai-build-request.dto.js +1 -0
- package/dist/dto/ai/ai-build-request.dto.js.map +1 -1
- package/dist/dto/data-store/delete-data-table-rows.dto.d.ts +1 -0
- package/dist/dto/data-store/delete-data-table-rows.dto.js +3 -2
- package/dist/dto/data-store/delete-data-table-rows.dto.js.map +1 -1
- package/dist/dto/data-store/update-data-store-row.dto.d.ts +1 -0
- package/dist/dto/data-store/update-data-store-row.dto.js +1 -0
- package/dist/dto/data-store/update-data-store-row.dto.js.map +1 -1
- package/dist/dto/data-store/upsert-data-store-row.dto.d.ts +1 -0
- package/dist/dto/data-store/upsert-data-store-row.dto.js +1 -0
- package/dist/dto/data-store/upsert-data-store-row.dto.js.map +1 -1
- package/dist/dto/folders/create-folder.dto.d.ts +1 -1
- package/dist/dto/folders/update-folder.dto.d.ts +1 -1
- package/dist/dto/index.d.ts +3 -2
- package/dist/dto/index.js +7 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/date-filter.dto.d.ts +2 -0
- package/dist/dto/insights/date-filter.dto.js +2 -0
- package/dist/dto/insights/date-filter.dto.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +2 -0
- package/dist/dto/insights/list-workflow-query.dto.js +2 -0
- package/dist/dto/insights/list-workflow-query.dto.js.map +1 -1
- package/dist/dto/oidc/config.dto.d.ts +1 -0
- package/dist/dto/oidc/config.dto.js +4 -0
- package/dist/dto/oidc/config.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.d.ts +17 -1
- package/dist/dto/project/update-project.dto.js +9 -3
- package/dist/dto/project/update-project.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +3 -3
- package/dist/dto/variables/base.dto.d.ts +18 -0
- package/dist/dto/variables/base.dto.js +27 -0
- package/dist/dto/variables/base.dto.js.map +1 -0
- package/dist/dto/variables/create-variable-request.dto.d.ts +36 -0
- package/dist/dto/variables/create-variable-request.dto.js +11 -0
- package/dist/dto/variables/create-variable-request.dto.js.map +1 -0
- package/dist/dto/variables/update-variable-request.dto.d.ts +11 -0
- package/dist/dto/variables/update-variable-request.dto.js +15 -0
- package/dist/dto/variables/update-variable-request.dto.js.map +1 -0
- package/dist/dto/variables/variables-list-request.dto.d.ts +1 -0
- package/dist/dto/variables/variables-list-request.dto.js +1 -0
- package/dist/dto/variables/variables-list-request.dto.js.map +1 -1
- package/dist/frontend-settings.d.ts +7 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/push/builder-credits.d.ts +7 -0
- package/dist/push/builder-credits.js +3 -0
- package/dist/push/builder-credits.js.map +1 -0
- package/dist/push/execution.d.ts +1 -2
- package/dist/push/index.d.ts +2 -1
- package/dist/schemas/folder.schema.d.ts +1 -1
- package/dist/schemas/folder.schema.js +38 -1
- package/dist/schemas/folder.schema.js.map +1 -1
- package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
- package/dist/schemas/source-controlled-file.schema.js +9 -1
- package/dist/schemas/source-controlled-file.schema.js.map +1 -1
- package/dist/schemas/usage.schema.d.ts +137 -0
- package/dist/schemas/usage.schema.js +26 -0
- package/dist/schemas/usage.schema.js.map +1 -0
- package/dist/schemas/user.schema.d.ts +23 -2
- package/dist/schemas/user.schema.js +5 -3
- package/dist/schemas/user.schema.js.map +1 -1
- package/package.json +5 -5
- package/dist/dto/workflows/manual-run-query.dto.d.ts +0 -8
- package/dist/dto/workflows/manual-run-query.dto.js +0 -14
- package/dist/dto/workflows/manual-run-query.dto.js.map +0 -1
|
@@ -120,10 +120,14 @@ export interface FrontendSettings {
|
|
|
120
120
|
unverifiedCommunityNodesEnabled: boolean;
|
|
121
121
|
aiAssistant: {
|
|
122
122
|
enabled: boolean;
|
|
123
|
+
setup: boolean;
|
|
123
124
|
};
|
|
124
125
|
askAi: {
|
|
125
126
|
enabled: boolean;
|
|
126
127
|
};
|
|
128
|
+
aiBuilder: {
|
|
129
|
+
enabled: boolean;
|
|
130
|
+
};
|
|
127
131
|
deployment: {
|
|
128
132
|
type: string;
|
|
129
133
|
};
|
|
@@ -193,9 +197,6 @@ export interface FrontendSettings {
|
|
|
193
197
|
blockFileAccessToN8nFiles: boolean;
|
|
194
198
|
};
|
|
195
199
|
easyAIWorkflowOnboarded: boolean;
|
|
196
|
-
partialExecution: {
|
|
197
|
-
version: 1 | 2;
|
|
198
|
-
};
|
|
199
200
|
evaluation: {
|
|
200
201
|
quota: number;
|
|
201
202
|
};
|
|
@@ -208,6 +209,9 @@ export type FrontendModuleSettings = {
|
|
|
208
209
|
dashboard: boolean;
|
|
209
210
|
dateRanges: InsightsDateRange[];
|
|
210
211
|
};
|
|
212
|
+
mcp?: {
|
|
213
|
+
mcpAccessEnabled: boolean;
|
|
214
|
+
};
|
|
211
215
|
};
|
|
212
216
|
export type N8nEnvFeatFlagValue = boolean | string | number | undefined;
|
|
213
217
|
export type N8nEnvFeatFlags = Record<`N8N_ENV_FEAT_${Uppercase<string>}`, N8nEnvFeatFlagValue>;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,8 @@ export { passwordSchema } from './schemas/password.schema';
|
|
|
16
16
|
export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/project.schema';
|
|
17
17
|
export { type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
|
|
18
18
|
export { type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
|
|
19
|
-
export { ROLE, type Role, type User, type UsersList, usersListSchema, } from './schemas/user.schema';
|
|
19
|
+
export { ROLE, type Role, type User, type UsersList, usersListSchema, userBaseSchema, userDetailSchema, } from './schemas/user.schema';
|
|
20
20
|
export { DATA_STORE_COLUMN_REGEX, DATA_STORE_COLUMN_MAX_LENGTH, DATA_STORE_COLUMN_ERROR_MESSAGE, type DataStore, type DataStoreColumn, type DataStoreCreateColumnSchema, type DataStoreListFilter, type DataStoreListOptions, dateTimeSchema, dataStoreColumnNameSchema, } from './schemas/data-store.schema';
|
|
21
21
|
export type { DataTableFilter, DataTableFilterConditionType, } from './schemas/data-table-filter.schema';
|
|
22
22
|
export type { ExternalSecretsProvider, ExternalSecretsProviderSecret, ExternalSecretsProviderData, ExternalSecretsProviderProperty, ExternalSecretsProviderState, } from './schemas/external-secrets.schema';
|
|
23
|
+
export type { UsageState } from './schemas/usage.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.dataStoreColumnNameSchema = exports.dateTimeSchema = exports.DATA_STORE_COLUMN_ERROR_MESSAGE = exports.DATA_STORE_COLUMN_MAX_LENGTH = exports.DATA_STORE_COLUMN_REGEX = 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 = void 0;
|
|
17
|
+
exports.dataStoreColumnNameSchema = exports.dateTimeSchema = exports.DATA_STORE_COLUMN_ERROR_MESSAGE = exports.DATA_STORE_COLUMN_MAX_LENGTH = exports.DATA_STORE_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 = void 0;
|
|
18
18
|
__exportStar(require("./dto"), exports);
|
|
19
19
|
var heartbeat_1 = require("./push/heartbeat");
|
|
20
20
|
Object.defineProperty(exports, "createHeartbeatMessage", { enumerable: true, get: function () { return heartbeat_1.createHeartbeatMessage; } });
|
|
@@ -30,6 +30,8 @@ Object.defineProperty(exports, "SOURCE_CONTROL_FILE_TYPE", { enumerable: true, g
|
|
|
30
30
|
var user_schema_1 = require("./schemas/user.schema");
|
|
31
31
|
Object.defineProperty(exports, "ROLE", { enumerable: true, get: function () { return user_schema_1.ROLE; } });
|
|
32
32
|
Object.defineProperty(exports, "usersListSchema", { enumerable: true, get: function () { return user_schema_1.usersListSchema; } });
|
|
33
|
+
Object.defineProperty(exports, "userBaseSchema", { enumerable: true, get: function () { return user_schema_1.userBaseSchema; } });
|
|
34
|
+
Object.defineProperty(exports, "userDetailSchema", { enumerable: true, get: function () { return user_schema_1.userDetailSchema; } });
|
|
33
35
|
var data_store_schema_1 = require("./schemas/data-store.schema");
|
|
34
36
|
Object.defineProperty(exports, "DATA_STORE_COLUMN_REGEX", { enumerable: true, get: function () { return data_store_schema_1.DATA_STORE_COLUMN_REGEX; } });
|
|
35
37
|
Object.defineProperty(exports, "DATA_STORE_COLUMN_MAX_LENGTH", { enumerable: true, get: function () { return data_store_schema_1.DATA_STORE_COLUMN_MAX_LENGTH; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAUtB,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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAUtB,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder-credits.js","sourceRoot":"","sources":["../../src/push/builder-credits.ts"],"names":[],"mappings":""}
|
package/dist/push/execution.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export type ExecutionFinished = {
|
|
|
23
23
|
executionId: string;
|
|
24
24
|
workflowId: string;
|
|
25
25
|
status: ExecutionStatus;
|
|
26
|
-
rawData?: string;
|
|
27
26
|
};
|
|
28
27
|
};
|
|
29
28
|
export type ExecutionRecovered = {
|
|
@@ -45,7 +44,7 @@ export type NodeExecuteAfter = {
|
|
|
45
44
|
data: {
|
|
46
45
|
executionId: string;
|
|
47
46
|
nodeName: string;
|
|
48
|
-
data: ITaskData
|
|
47
|
+
data: Omit<ITaskData, 'data'>;
|
|
49
48
|
itemCountByConnectionType: Partial<Record<NodeConnectionType, number[]>>;
|
|
50
49
|
};
|
|
51
50
|
};
|
package/dist/push/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BuilderCreditsPushMessage } from './builder-credits';
|
|
1
2
|
import type { CollaborationPushMessage } from './collaboration';
|
|
2
3
|
import type { DebugPushMessage } from './debug';
|
|
3
4
|
import type { ExecutionPushMessage } from './execution';
|
|
@@ -5,7 +6,7 @@ import type { HotReloadPushMessage } from './hot-reload';
|
|
|
5
6
|
import type { WebhookPushMessage } from './webhook';
|
|
6
7
|
import type { WorkerPushMessage } from './worker';
|
|
7
8
|
import type { WorkflowPushMessage } from './workflow';
|
|
8
|
-
export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage;
|
|
9
|
+
export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage | BuilderCreditsPushMessage;
|
|
9
10
|
export type PushType = PushMessage['type'];
|
|
10
11
|
export type PushPayload<T extends PushType> = Extract<PushMessage, {
|
|
11
12
|
type: T;
|
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.folderIdSchema = exports.folderNameSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
5
|
+
const illegalCharacterRegex = /[[\]^\\/:*?"<>|]/;
|
|
6
|
+
const dotsOnlyRegex = /^\.+$/;
|
|
7
|
+
const FOLDER_NAME_MAX_LENGTH = 128;
|
|
8
|
+
exports.folderNameSchema = zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.trim()
|
|
11
|
+
.superRefine((name, ctx) => {
|
|
12
|
+
if (name === '') {
|
|
13
|
+
ctx.addIssue({
|
|
14
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
15
|
+
message: 'Folder name cannot be empty',
|
|
16
|
+
});
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
if (illegalCharacterRegex.test(name)) {
|
|
20
|
+
ctx.addIssue({
|
|
21
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
22
|
+
message: 'Folder name contains invalid characters',
|
|
23
|
+
});
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (dotsOnlyRegex.test(name)) {
|
|
27
|
+
ctx.addIssue({
|
|
28
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
29
|
+
message: 'Folder name cannot consist of dots only',
|
|
30
|
+
});
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
if (name.startsWith('.')) {
|
|
34
|
+
ctx.addIssue({
|
|
35
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
36
|
+
message: 'Folder name cannot start with a dot',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
.pipe(zod_1.z.string().max(FOLDER_NAME_MAX_LENGTH, {
|
|
41
|
+
message: `Folder name cannot be longer than ${FOLDER_NAME_MAX_LENGTH} characters`,
|
|
42
|
+
}));
|
|
6
43
|
exports.folderIdSchema = zod_1.z.string().max(36);
|
|
7
44
|
//# sourceMappingURL=folder.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.schema.js","sourceRoot":"","sources":["../../src/schemas/folder.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"folder.schema.js","sourceRoot":"","sources":["../../src/schemas/folder.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AACjD,MAAM,aAAa,GAAG,OAAO,CAAC;AAC9B,MAAM,sBAAsB,GAAG,GA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2
|
-
export declare const SOURCE_CONTROL_FILE_TYPE: z.Values<["credential", "workflow", "tags", "variables", "file", "folders"]>;
|
|
2
|
+
export declare const SOURCE_CONTROL_FILE_TYPE: z.Values<["credential", "workflow", "tags", "variables", "file", "folders", "project"]>;
|
|
3
3
|
export declare const SOURCE_CONTROL_FILE_STATUS: z.Values<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
4
4
|
export declare const SOURCE_CONTROL_FILE_LOCATION: z.Values<["local", "remote"]>;
|
|
5
5
|
export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
6
6
|
file: z.ZodString;
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
name: z.ZodString;
|
|
9
|
-
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders"]>;
|
|
9
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders", "project"]>;
|
|
10
10
|
status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
11
11
|
location: z.ZodEnum<["local", "remote"]>;
|
|
12
12
|
conflict: z.ZodBoolean;
|
|
@@ -26,7 +26,7 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
26
26
|
projectName: string;
|
|
27
27
|
}>>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
29
|
+
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
30
30
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
31
31
|
id: string;
|
|
32
32
|
name: string;
|
|
@@ -41,7 +41,7 @@ export declare const SourceControlledFileSchema: z.ZodObject<{
|
|
|
41
41
|
projectName: string;
|
|
42
42
|
} | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
44
|
+
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
45
45
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SourceControlledFileSchema = exports.SOURCE_CONTROL_FILE_LOCATION = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_TYPE = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const FileTypeSchema = zod_1.z.enum([
|
|
5
|
+
const FileTypeSchema = zod_1.z.enum([
|
|
6
|
+
'credential',
|
|
7
|
+
'workflow',
|
|
8
|
+
'tags',
|
|
9
|
+
'variables',
|
|
10
|
+
'file',
|
|
11
|
+
'folders',
|
|
12
|
+
'project',
|
|
13
|
+
]);
|
|
6
14
|
exports.SOURCE_CONTROL_FILE_TYPE = FileTypeSchema.Values;
|
|
7
15
|
const FileStatusSchema = zod_1.z.enum([
|
|
8
16
|
'new',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-controlled-file.schema.js","sourceRoot":"","sources":["../../src/schemas/source-controlled-file.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"source-controlled-file.schema.js","sourceRoot":"","sources":["../../src/schemas/source-controlled-file.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC;IAC7B,YAAY;IACZ,UAAU;IACV,MAAM;IACN,WAAW;IACX,MAAM;IACN,SAAS;IACT,SAAS;CACT,CAAC,CAAC;AACU,QAAA,wBAAwB,GAAG,cAAc,CAAC,MAAM,CAAC;AAE9D,MAAM,gBAAgB,GAAG,OAAC,CAAC,I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.ZodObject<{
|
|
7
|
+
limit: z.ZodNumber;
|
|
8
|
+
value: z.ZodNumber;
|
|
9
|
+
warningThreshold: z.ZodNumber;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
value: number;
|
|
12
|
+
limit: number;
|
|
13
|
+
warningThreshold: number;
|
|
14
|
+
}, {
|
|
15
|
+
value: number;
|
|
16
|
+
limit: number;
|
|
17
|
+
warningThreshold: number;
|
|
18
|
+
}>;
|
|
19
|
+
workflowsHavingEvaluations: z.ZodObject<{
|
|
20
|
+
limit: z.ZodNumber;
|
|
21
|
+
value: z.ZodNumber;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
value: number;
|
|
24
|
+
limit: number;
|
|
25
|
+
}, {
|
|
26
|
+
value: number;
|
|
27
|
+
limit: number;
|
|
28
|
+
}>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
activeWorkflowTriggers: {
|
|
31
|
+
value: number;
|
|
32
|
+
limit: number;
|
|
33
|
+
warningThreshold: number;
|
|
34
|
+
};
|
|
35
|
+
workflowsHavingEvaluations: {
|
|
36
|
+
value: number;
|
|
37
|
+
limit: number;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
activeWorkflowTriggers: {
|
|
41
|
+
value: number;
|
|
42
|
+
limit: number;
|
|
43
|
+
warningThreshold: number;
|
|
44
|
+
};
|
|
45
|
+
workflowsHavingEvaluations: {
|
|
46
|
+
value: number;
|
|
47
|
+
limit: number;
|
|
48
|
+
};
|
|
49
|
+
}>;
|
|
50
|
+
license: z.ZodObject<{
|
|
51
|
+
planId: z.ZodString;
|
|
52
|
+
planName: z.ZodString;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
planId: string;
|
|
55
|
+
planName: string;
|
|
56
|
+
}, {
|
|
57
|
+
planId: string;
|
|
58
|
+
planName: string;
|
|
59
|
+
}>;
|
|
60
|
+
managementToken: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
usage: {
|
|
63
|
+
activeWorkflowTriggers: {
|
|
64
|
+
value: number;
|
|
65
|
+
limit: number;
|
|
66
|
+
warningThreshold: number;
|
|
67
|
+
};
|
|
68
|
+
workflowsHavingEvaluations: {
|
|
69
|
+
value: number;
|
|
70
|
+
limit: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
license: {
|
|
74
|
+
planId: string;
|
|
75
|
+
planName: string;
|
|
76
|
+
};
|
|
77
|
+
managementToken?: string | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
usage: {
|
|
80
|
+
activeWorkflowTriggers: {
|
|
81
|
+
value: number;
|
|
82
|
+
limit: number;
|
|
83
|
+
warningThreshold: number;
|
|
84
|
+
};
|
|
85
|
+
workflowsHavingEvaluations: {
|
|
86
|
+
value: number;
|
|
87
|
+
limit: number;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
license: {
|
|
91
|
+
planId: string;
|
|
92
|
+
planName: string;
|
|
93
|
+
};
|
|
94
|
+
managementToken?: string | undefined;
|
|
95
|
+
}>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
data: {
|
|
98
|
+
usage: {
|
|
99
|
+
activeWorkflowTriggers: {
|
|
100
|
+
value: number;
|
|
101
|
+
limit: number;
|
|
102
|
+
warningThreshold: number;
|
|
103
|
+
};
|
|
104
|
+
workflowsHavingEvaluations: {
|
|
105
|
+
value: number;
|
|
106
|
+
limit: number;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
license: {
|
|
110
|
+
planId: string;
|
|
111
|
+
planName: string;
|
|
112
|
+
};
|
|
113
|
+
managementToken?: string | undefined;
|
|
114
|
+
};
|
|
115
|
+
loading: boolean;
|
|
116
|
+
}, {
|
|
117
|
+
data: {
|
|
118
|
+
usage: {
|
|
119
|
+
activeWorkflowTriggers: {
|
|
120
|
+
value: number;
|
|
121
|
+
limit: number;
|
|
122
|
+
warningThreshold: number;
|
|
123
|
+
};
|
|
124
|
+
workflowsHavingEvaluations: {
|
|
125
|
+
value: number;
|
|
126
|
+
limit: number;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
license: {
|
|
130
|
+
planId: string;
|
|
131
|
+
planName: string;
|
|
132
|
+
};
|
|
133
|
+
managementToken?: string | undefined;
|
|
134
|
+
};
|
|
135
|
+
loading: boolean;
|
|
136
|
+
}>;
|
|
137
|
+
export type UsageState = z.infer<typeof usageStateSchema>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.usageStateSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.usageStateSchema = zod_1.z.object({
|
|
6
|
+
loading: zod_1.z.boolean(),
|
|
7
|
+
data: zod_1.z.object({
|
|
8
|
+
usage: zod_1.z.object({
|
|
9
|
+
activeWorkflowTriggers: zod_1.z.object({
|
|
10
|
+
limit: zod_1.z.number(),
|
|
11
|
+
value: zod_1.z.number(),
|
|
12
|
+
warningThreshold: zod_1.z.number(),
|
|
13
|
+
}),
|
|
14
|
+
workflowsHavingEvaluations: zod_1.z.object({
|
|
15
|
+
limit: zod_1.z.number(),
|
|
16
|
+
value: zod_1.z.number(),
|
|
17
|
+
}),
|
|
18
|
+
}),
|
|
19
|
+
license: zod_1.z.object({
|
|
20
|
+
planId: zod_1.z.string(),
|
|
21
|
+
planName: zod_1.z.string(),
|
|
22
|
+
}),
|
|
23
|
+
managementToken: zod_1.z.string().optional(),
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=usage.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage.schema.js","sourceRoot":"","sources":["../../src/schemas/usage.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;YACf,sBAAsB,EAAE,OAAC,CAAC,MAAM,CAAC;gBAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;gBACjB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;gBACjB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;aAC5B,CAAC;YACF,0BAA0B,EAAE,OAAC,CAAC,MAAM,CAAC;gBACpC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;gBACjB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;aACjB,CAAC;SACF,CAAC;QACF,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACjB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;YAClB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;SACpB,CAAC;QACF,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACtC,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -20,12 +20,32 @@ export declare const userProjectSchema: z.ZodObject<{
|
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
}>;
|
|
23
|
-
export declare const
|
|
23
|
+
export declare const userBaseSchema: z.ZodObject<{
|
|
24
24
|
id: z.ZodString;
|
|
25
25
|
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
role: z.ZodOptional<z.ZodEnum<[Role, ...Role[]]>>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
id: string;
|
|
31
|
+
email?: string | null | undefined;
|
|
32
|
+
role?: Role | undefined;
|
|
33
|
+
firstName?: string | null | undefined;
|
|
34
|
+
lastName?: string | null | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
id: string;
|
|
37
|
+
email?: string | null | undefined;
|
|
38
|
+
role?: Role | undefined;
|
|
39
|
+
firstName?: string | null | undefined;
|
|
40
|
+
lastName?: string | null | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
export declare const userDetailSchema: z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
role: z.ZodOptional<z.ZodEnum<[Role, ...Role[]]>>;
|
|
48
|
+
} & {
|
|
29
49
|
isPending: z.ZodOptional<z.ZodBoolean>;
|
|
30
50
|
isOwner: z.ZodOptional<z.ZodBoolean>;
|
|
31
51
|
signInType: z.ZodOptional<z.ZodString>;
|
|
@@ -193,6 +213,7 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
193
213
|
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
214
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
215
|
role: z.ZodOptional<z.ZodEnum<[Role, ...Role[]]>>;
|
|
216
|
+
} & {
|
|
196
217
|
isPending: z.ZodOptional<z.ZodBoolean>;
|
|
197
218
|
isOwner: z.ZodOptional<z.ZodBoolean>;
|
|
198
219
|
signInType: z.ZodOptional<z.ZodString>;
|
|
@@ -431,5 +452,5 @@ export declare const usersListSchema: z.ZodObject<{
|
|
|
431
452
|
inviteAcceptUrl?: string | undefined;
|
|
432
453
|
}[];
|
|
433
454
|
}>;
|
|
434
|
-
export type User = z.infer<typeof
|
|
455
|
+
export type User = z.infer<typeof userDetailSchema>;
|
|
435
456
|
export type UsersList = z.infer<typeof usersListSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.usersListSchema = exports.
|
|
3
|
+
exports.usersListSchema = exports.userDetailSchema = exports.userBaseSchema = exports.userProjectSchema = exports.roleSchema = exports.ROLE = void 0;
|
|
4
4
|
const permissions_1 = require("@n8n/permissions");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const user_settings_schema_1 = require("./user-settings.schema");
|
|
@@ -17,12 +17,14 @@ exports.userProjectSchema = zod_1.z.object({
|
|
|
17
17
|
role: permissions_1.projectRoleSchema,
|
|
18
18
|
name: zod_1.z.string(),
|
|
19
19
|
});
|
|
20
|
-
exports.
|
|
20
|
+
exports.userBaseSchema = zod_1.z.object({
|
|
21
21
|
id: zod_1.z.string(),
|
|
22
22
|
firstName: zod_1.z.string().nullable().optional(),
|
|
23
23
|
lastName: zod_1.z.string().nullable().optional(),
|
|
24
24
|
email: zod_1.z.string().email().nullable().optional(),
|
|
25
25
|
role: exports.roleSchema.optional(),
|
|
26
|
+
});
|
|
27
|
+
exports.userDetailSchema = exports.userBaseSchema.extend({
|
|
26
28
|
isPending: zod_1.z.boolean().optional(),
|
|
27
29
|
isOwner: zod_1.z.boolean().optional(),
|
|
28
30
|
signInType: zod_1.z.string().optional(),
|
|
@@ -35,6 +37,6 @@ exports.userListItemSchema = zod_1.z.object({
|
|
|
35
37
|
});
|
|
36
38
|
exports.usersListSchema = zod_1.z.object({
|
|
37
39
|
count: zod_1.z.number(),
|
|
38
|
-
items: zod_1.z.array(exports.
|
|
40
|
+
items: zod_1.z.array(exports.userDetailSchema),
|
|
39
41
|
});
|
|
40
42
|
//# sourceMappingURL=user.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.schema.js","sourceRoot":"","sources":["../../src/schemas/user.schema.ts"],"names":[],"mappings":";;;AAAA,kDAAqD;AACrD,6BAAwB;AAExB,iEAA4D;AAE/C,QAAA,IAAI,GAAG;IACnB,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;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index.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"LICENSE_EE.md"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@n8n/config": "1.
|
|
14
|
-
"@n8n/
|
|
13
|
+
"@n8n/typescript-config": "1.3.0",
|
|
14
|
+
"@n8n/config": "1.57.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"xss": "1.0.15",
|
|
18
18
|
"zod": "3.25.67",
|
|
19
19
|
"zod-class": "0.0.16",
|
|
20
|
-
"
|
|
21
|
-
"n8n
|
|
20
|
+
"n8n-workflow": "1.112.0",
|
|
21
|
+
"@n8n/permissions": "0.38.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"homepage": "https://n8n.io",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { Z } from 'zod-class';
|
|
3
|
-
declare const ManualRunQueryDto_base: Z.Class<{
|
|
4
|
-
partialExecutionVersion: z.ZodEffects<z.ZodDefault<z.ZodEnum<["1", "2"]>>, 1 | 2, "1" | "2" | undefined>;
|
|
5
|
-
}>;
|
|
6
|
-
export declare class ManualRunQueryDto extends ManualRunQueryDto_base {
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ManualRunQueryDto = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const zod_class_1 = require("zod-class");
|
|
6
|
-
class ManualRunQueryDto extends zod_class_1.Z.class({
|
|
7
|
-
partialExecutionVersion: zod_1.z
|
|
8
|
-
.enum(['1', '2'])
|
|
9
|
-
.default('1')
|
|
10
|
-
.transform((version) => Number.parseInt(version)),
|
|
11
|
-
}) {
|
|
12
|
-
}
|
|
13
|
-
exports.ManualRunQueryDto = ManualRunQueryDto;
|
|
14
|
-
//# sourceMappingURL=manual-run-query.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manual-run-query.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/manual-run-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,iBAAkB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC9C,uBAAuB,EAAE,OAAC;SACxB,IAAI,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;SAChB,OAAO,CAAC,GAAG,CAAC;SACZ,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAU,CAAC;CAC3D,CAAC;CAAG;AALL,8CAKK"}
|