@n8n/api-types 1.12.0 → 1.14.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 (56) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/chat-hub.d.ts +98 -0
  3. package/dist/chat-hub.js +30 -1
  4. package/dist/chat-hub.js.map +1 -1
  5. package/dist/dto/auth/resolve-signup-token-query.dto.d.ts +2 -6
  6. package/dist/dto/auth/resolve-signup-token-query.dto.js +1 -3
  7. package/dist/dto/auth/resolve-signup-token-query.dto.js.map +1 -1
  8. package/dist/dto/data-table/import-csv-to-data-table.dto.d.ts +9 -0
  9. package/dist/dto/data-table/import-csv-to-data-table.dto.js +11 -0
  10. package/dist/dto/data-table/import-csv-to-data-table.dto.js.map +1 -0
  11. package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +2 -2
  12. package/dist/dto/index.d.ts +5 -0
  13. package/dist/dto/index.js +13 -3
  14. package/dist/dto/index.js.map +1 -1
  15. package/dist/dto/invitation/accept-invitation-request.dto.d.ts +2 -6
  16. package/dist/dto/invitation/accept-invitation-request.dto.js +1 -3
  17. package/dist/dto/invitation/accept-invitation-request.dto.js.map +1 -1
  18. package/dist/dto/log-streaming/create-destination.dto.d.ts +20 -30
  19. package/dist/dto/project/list-projects-query.dto.d.ts +17 -0
  20. package/dist/dto/project/list-projects-query.dto.js +43 -0
  21. package/dist/dto/project/list-projects-query.dto.js.map +1 -0
  22. package/dist/dto/saml/saml-preferences.dto.d.ts +4 -0
  23. package/dist/dto/saml/saml-preferences.dto.js +2 -0
  24. package/dist/dto/saml/saml-preferences.dto.js.map +1 -1
  25. package/dist/dto/secrets-provider/update-external-secrets-settings.dto.d.ts +9 -0
  26. package/dist/dto/secrets-provider/update-external-secrets-settings.dto.js +11 -0
  27. package/dist/dto/secrets-provider/update-external-secrets-settings.dto.js.map +1 -0
  28. package/dist/dto/source-control/push-work-folder-request.dto.d.ts +8 -0
  29. package/dist/dto/workflows/create-workflow.dto.d.ts +1 -1
  30. package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +11 -0
  31. package/dist/dto/workflows/get-resource-dependencies.dto.js +12 -0
  32. package/dist/dto/workflows/get-resource-dependencies.dto.js.map +1 -0
  33. package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +11 -0
  34. package/dist/dto/workflows/get-resource-dependency-counts.dto.js +12 -0
  35. package/dist/dto/workflows/get-resource-dependency-counts.dto.js.map +1 -0
  36. package/dist/dto/workflows/update-workflow.dto.d.ts +1 -1
  37. package/dist/frontend-settings.d.ts +2 -1
  38. package/dist/index.d.ts +5 -3
  39. package/dist/index.js +7 -2
  40. package/dist/index.js.map +1 -1
  41. package/dist/schemas/credential-resolver.schema.d.ts +21 -0
  42. package/dist/schemas/credential-resolver.schema.js +6 -1
  43. package/dist/schemas/credential-resolver.schema.js.map +1 -1
  44. package/dist/schemas/dependency-counts.schema.d.ts +7 -0
  45. package/dist/schemas/dependency-counts.schema.js +3 -0
  46. package/dist/schemas/dependency-counts.schema.js.map +1 -0
  47. package/dist/schemas/dependency.schema.d.ts +13 -0
  48. package/dist/schemas/dependency.schema.js +3 -0
  49. package/dist/schemas/dependency.schema.js.map +1 -0
  50. package/dist/schemas/secrets-provider.schema.d.ts +25 -0
  51. package/dist/schemas/secrets-provider.schema.js +9 -3
  52. package/dist/schemas/secrets-provider.schema.js.map +1 -1
  53. package/dist/schemas/source-controlled-file.schema.d.ts +6 -0
  54. package/dist/schemas/source-controlled-file.schema.js +2 -0
  55. package/dist/schemas/source-controlled-file.schema.js.map +1 -1
  56. package/package.json +4 -4
@@ -98,7 +98,7 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
98
98
  }>>;
99
99
  allowUnauthorizedCerts: z.ZodOptional<z.ZodBoolean>;
100
100
  queryParameterArrays: z.ZodOptional<z.ZodEnum<["indices", "brackets", "repeat"]>>;
101
- redirect: z.ZodOptional<z.ZodEffects<z.ZodObject<{
101
+ redirect: z.ZodOptional<z.ZodObject<{
102
102
  redirect: z.ZodObject<{
103
103
  followRedirects: z.ZodOptional<z.ZodBoolean>;
104
104
  maxRedirects: z.ZodOptional<z.ZodNumber>;
@@ -119,14 +119,6 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
119
119
  followRedirects?: boolean | undefined;
120
120
  maxRedirects?: number | undefined;
121
121
  };
122
- }>, {
123
- followRedirects?: boolean | undefined;
124
- maxRedirects?: number | undefined;
125
- }, {
126
- redirect: {
127
- followRedirects?: boolean | undefined;
128
- maxRedirects?: number | undefined;
129
- };
130
122
  }>>;
131
123
  response: z.ZodOptional<z.ZodObject<{
132
124
  response: z.ZodOptional<z.ZodObject<{
@@ -160,7 +152,7 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
160
152
  outputPropertyName?: string | undefined;
161
153
  } | undefined;
162
154
  }>>;
163
- proxy: z.ZodOptional<z.ZodEffects<z.ZodObject<{
155
+ proxy: z.ZodOptional<z.ZodObject<{
164
156
  proxy: z.ZodObject<{
165
157
  protocol: z.ZodEnum<["https", "http"]>;
166
158
  host: z.ZodString;
@@ -186,16 +178,6 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
186
178
  host: string;
187
179
  port: number;
188
180
  };
189
- }>, {
190
- protocol: "https" | "http";
191
- host: string;
192
- port: number;
193
- }, {
194
- proxy: {
195
- protocol: "https" | "http";
196
- host: string;
197
- port: number;
198
- };
199
181
  }>>;
200
182
  timeout: z.ZodOptional<z.ZodNumber>;
201
183
  socket: z.ZodOptional<z.ZodObject<{
@@ -222,9 +204,11 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
222
204
  } | undefined;
223
205
  } | undefined;
224
206
  proxy?: {
225
- protocol: "https" | "http";
226
- host: string;
227
- port: number;
207
+ proxy: {
208
+ protocol: "https" | "http";
209
+ host: string;
210
+ port: number;
211
+ };
228
212
  } | undefined;
229
213
  batch?: {
230
214
  batchSize?: number | undefined;
@@ -233,8 +217,10 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
233
217
  allowUnauthorizedCerts?: boolean | undefined;
234
218
  queryParameterArrays?: "repeat" | "indices" | "brackets" | undefined;
235
219
  redirect?: {
236
- followRedirects?: boolean | undefined;
237
- maxRedirects?: number | undefined;
220
+ redirect: {
221
+ followRedirects?: boolean | undefined;
222
+ maxRedirects?: number | undefined;
223
+ };
238
224
  } | undefined;
239
225
  socket?: {
240
226
  keepAlive?: boolean | undefined;
@@ -291,9 +277,11 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
291
277
  } | undefined;
292
278
  } | undefined;
293
279
  proxy?: {
294
- protocol: "https" | "http";
295
- host: string;
296
- port: number;
280
+ proxy: {
281
+ protocol: "https" | "http";
282
+ host: string;
283
+ port: number;
284
+ };
297
285
  } | undefined;
298
286
  batch?: {
299
287
  batchSize?: number | undefined;
@@ -302,8 +290,10 @@ export declare const CreateDestinationDto: z.ZodDiscriminatedUnion<"__type", [z.
302
290
  allowUnauthorizedCerts?: boolean | undefined;
303
291
  queryParameterArrays?: "repeat" | "indices" | "brackets" | undefined;
304
292
  redirect?: {
305
- followRedirects?: boolean | undefined;
306
- maxRedirects?: number | undefined;
293
+ redirect: {
294
+ followRedirects?: boolean | undefined;
295
+ maxRedirects?: number | undefined;
296
+ };
307
297
  } | undefined;
308
298
  socket?: {
309
299
  keepAlive?: boolean | undefined;
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ declare const ListProjectsQueryDto_base: import("../../zod-class").ZodClass<{
3
+ type?: "personal" | "team" | undefined;
4
+ skip?: number | undefined;
5
+ take?: number | undefined;
6
+ search?: string | undefined;
7
+ activated?: boolean | undefined;
8
+ }, {
9
+ skip: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number | undefined, string | undefined>, number | undefined, string | undefined>, number | undefined, string | undefined>;
10
+ take: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number | undefined, string | undefined>, number | undefined, string | undefined>, number | undefined, string | undefined>, number | undefined, string | undefined>;
11
+ search: z.ZodOptional<z.ZodString>;
12
+ type: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
13
+ activated: z.ZodEffects<z.ZodOptional<z.ZodEnum<["true", "false"]>>, boolean | undefined, "true" | "false" | undefined>;
14
+ }>;
15
+ export declare class ListProjectsQueryDto extends ListProjectsQueryDto_base {
16
+ }
17
+ export {};
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListProjectsQueryDto = 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 searchValidator = zod_1.z.string().trim().optional();
8
+ const skipValidator = zod_1.z
9
+ .string()
10
+ .optional()
11
+ .transform((val) => (val ? parseInt(val, 10) : undefined))
12
+ .refine((val) => val === undefined || (!isNaN(val) && Number.isInteger(val)), {
13
+ message: 'Param `skip` must be a valid integer',
14
+ })
15
+ .refine((val) => val === undefined || val >= 0, {
16
+ message: 'Param `skip` must be a non-negative integer',
17
+ });
18
+ const typeValidator = zod_1.z.enum(['personal', 'team']).optional();
19
+ const activatedValidator = zod_1.z
20
+ .enum(['true', 'false'])
21
+ .optional()
22
+ .transform((val) => (val === undefined ? undefined : val === 'true'));
23
+ const takeValidator = zod_1.z
24
+ .string()
25
+ .optional()
26
+ .transform((val) => (val ? parseInt(val, 10) : undefined))
27
+ .refine((val) => val === undefined || (!isNaN(val) && Number.isInteger(val)), {
28
+ message: 'Param `take` must be a valid integer',
29
+ })
30
+ .refine((val) => val === undefined || val >= 0, {
31
+ message: 'Param `take` must be a non-negative integer',
32
+ })
33
+ .transform((val) => (val !== undefined ? Math.min(val, pagination_dto_1.MAX_ITEMS_PER_PAGE) : undefined));
34
+ class ListProjectsQueryDto extends zod_class_1.Z.class({
35
+ skip: skipValidator,
36
+ take: takeValidator,
37
+ search: searchValidator,
38
+ type: typeValidator,
39
+ activated: activatedValidator,
40
+ }) {
41
+ }
42
+ exports.ListProjectsQueryDto = ListProjectsQueryDto;
43
+ //# sourceMappingURL=list-projects-query.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-projects-query.dto.js","sourceRoot":"","sources":["../../../src/dto/project/list-projects-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AACpC,iEAAkE;AAElE,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC;AAIrD,MAAM,aAAa,GAAG,OAAC;KACrB,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;KACzD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;IAC7E,OAAO,EAAE,sCAAsC;CAC/C,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,IAAI,CAAC,EAAE;IAC/C,OAAO,EAAE,6CAA6C;CACtD,CAAC,CAAC;AAEJ,MAAM,aAAa,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;AAE9D,MAAM,kBAAkB,GAAG,OAAC;KAC1B,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACvB,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC;AAKvE,MAAM,aAAa,GAAG,OAAC;KACrB,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;KACzD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,SAAS,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE;IAC7E,OAAO,EAAE,sCAAsC;CAC/C,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,IAAI,CAAC,EAAE;IAC/C,OAAO,EAAE,6CAA6C;CACtD,CAAC;KACD,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,mCAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AAE1F,MAAa,oBAAqB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACjD,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,eAAe;IACvB,IAAI,EAAE,aAAa;IACnB,SAAS,EAAE,kBAAkB;CAC7B,CAAC;CAAG;AANL,oDAMK"}
@@ -43,6 +43,8 @@ declare const SamlPreferences_base: import("../../zod-class").ZodClass<{
43
43
  metadataUrl?: string | undefined;
44
44
  loginEnabled?: boolean | undefined;
45
45
  loginLabel?: string | undefined;
46
+ signingPrivateKey?: string | undefined;
47
+ signingCertificate?: string | undefined;
46
48
  }, {
47
49
  mapping: z.ZodOptional<z.ZodObject<{
48
50
  email: z.ZodString;
@@ -75,6 +77,8 @@ declare const SamlPreferences_base: import("../../zod-class").ZodClass<{
75
77
  authnRequestsSigned: z.ZodDefault<z.ZodBoolean>;
76
78
  wantAssertionsSigned: z.ZodDefault<z.ZodBoolean>;
77
79
  wantMessageSigned: z.ZodDefault<z.ZodBoolean>;
80
+ signingPrivateKey: z.ZodOptional<z.ZodString>;
81
+ signingCertificate: z.ZodOptional<z.ZodString>;
78
82
  acsBinding: z.ZodDefault<z.ZodEnum<["redirect", "post"]>>;
79
83
  signatureConfig: z.ZodDefault<z.ZodObject<{
80
84
  prefix: z.ZodDefault<z.ZodString>;
@@ -32,6 +32,8 @@ class SamlPreferences extends zod_class_1.Z.class({
32
32
  authnRequestsSigned: zod_1.z.boolean().default(false),
33
33
  wantAssertionsSigned: zod_1.z.boolean().default(true),
34
34
  wantMessageSigned: zod_1.z.boolean().default(true),
35
+ signingPrivateKey: zod_1.z.string().optional(),
36
+ signingCertificate: zod_1.z.string().optional(),
35
37
  acsBinding: SamlLoginBindingSchema.default('post'),
36
38
  signatureConfig: SignatureConfigSchema.default({
37
39
  prefix: 'ds',
@@ -1 +1 @@
1
- {"version":3,"file":"saml-preferences.dto.js","sourceRoot":"","sources":["../../../src/dto/saml/saml-preferences.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAM,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;AAG5D,MAAM,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QAClB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;QACrB,MAAM,EAA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0CAiCK"}
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ declare const UpdateExternalSecretsSettingsDto_base: import("../../zod-class").ZodClass<{
3
+ systemRolesEnabled: boolean;
4
+ }, {
5
+ systemRolesEnabled: z.ZodBoolean;
6
+ }>;
7
+ export declare class UpdateExternalSecretsSettingsDto extends UpdateExternalSecretsSettingsDto_base {
8
+ }
9
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateExternalSecretsSettingsDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ class UpdateExternalSecretsSettingsDto extends zod_class_1.Z.class({
7
+ systemRolesEnabled: zod_1.z.boolean(),
8
+ }) {
9
+ }
10
+ exports.UpdateExternalSecretsSettingsDto = UpdateExternalSecretsSettingsDto;
11
+ //# sourceMappingURL=update-external-secrets-settings.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-external-secrets-settings.dto.js","sourceRoot":"","sources":["../../../src/dto/secrets-provider/update-external-secrets-settings.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,gCAAiC,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7D,kBAAkB,EAAE,OAAC,CAAC,OAAO,EAAE;CAC/B,CAAC;CAAG;AAFL,4EAEK"}
@@ -12,6 +12,8 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
12
12
  pushed?: boolean | undefined;
13
13
  isLocalPublished?: boolean | undefined;
14
14
  isRemoteArchived?: boolean | undefined;
15
+ parentFolderId?: string | null | undefined;
16
+ folderPath?: string[] | undefined;
15
17
  owner?: {
16
18
  type: "personal" | "team";
17
19
  projectId: string;
@@ -36,6 +38,8 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
36
38
  pushed: z.ZodOptional<z.ZodBoolean>;
37
39
  isLocalPublished: z.ZodOptional<z.ZodBoolean>;
38
40
  isRemoteArchived: z.ZodOptional<z.ZodBoolean>;
41
+ parentFolderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ folderPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
43
  owner: z.ZodOptional<z.ZodObject<{
40
44
  type: z.ZodEnum<["personal", "team"]>;
41
45
  projectId: z.ZodString;
@@ -62,6 +66,8 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
62
66
  pushed?: boolean | undefined;
63
67
  isLocalPublished?: boolean | undefined;
64
68
  isRemoteArchived?: boolean | undefined;
69
+ parentFolderId?: string | null | undefined;
70
+ folderPath?: string[] | undefined;
65
71
  owner?: {
66
72
  type: "personal" | "team";
67
73
  projectId: string;
@@ -80,6 +86,8 @@ declare const PushWorkFolderRequestDto_base: import("../../zod-class").ZodClass<
80
86
  pushed?: boolean | undefined;
81
87
  isLocalPublished?: boolean | undefined;
82
88
  isRemoteArchived?: boolean | undefined;
89
+ parentFolderId?: string | null | undefined;
90
+ folderPath?: string[] | undefined;
83
91
  owner?: {
84
92
  type: "personal" | "team";
85
93
  projectId: string;
@@ -13,8 +13,8 @@ declare const CreateWorkflowDto_base: import("../../zod-class").ZodClass<{
13
13
  meta?: Record<string, unknown> | null | undefined;
14
14
  uiContext?: string | undefined;
15
15
  tags?: string[] | undefined;
16
- hash?: string | undefined;
17
16
  parentFolderId?: string | undefined;
17
+ hash?: string | undefined;
18
18
  parentFolder?: {
19
19
  id: string;
20
20
  name: string;
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ declare const GetResourceDependenciesDto_base: import("../../zod-class").ZodClass<{
3
+ resourceIds: string[];
4
+ resourceType: "workflow" | "credential" | "dataTable";
5
+ }, {
6
+ resourceIds: z.ZodArray<z.ZodString, "many">;
7
+ resourceType: z.ZodEnum<["workflow", "credential", "dataTable"]>;
8
+ }>;
9
+ export declare class GetResourceDependenciesDto extends GetResourceDependenciesDto_base {
10
+ }
11
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetResourceDependenciesDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ class GetResourceDependenciesDto extends zod_class_1.Z.class({
7
+ resourceIds: zod_1.z.array(zod_1.z.string()).min(1).max(100),
8
+ resourceType: zod_1.z.enum(['workflow', 'credential', 'dataTable']),
9
+ }) {
10
+ }
11
+ exports.GetResourceDependenciesDto = GetResourceDependenciesDto;
12
+ //# sourceMappingURL=get-resource-dependencies.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-resource-dependencies.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/get-resource-dependencies.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,0BAA2B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACvD,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChD,YAAY,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;CAC7D,CAAC;CAAG;AAHL,gEAGK"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ declare const GetResourceDependencyCountsDto_base: import("../../zod-class").ZodClass<{
3
+ resourceIds: string[];
4
+ resourceType: "workflow" | "credential" | "dataTable";
5
+ }, {
6
+ resourceIds: z.ZodArray<z.ZodString, "many">;
7
+ resourceType: z.ZodEnum<["workflow", "credential", "dataTable"]>;
8
+ }>;
9
+ export declare class GetResourceDependencyCountsDto extends GetResourceDependencyCountsDto_base {
10
+ }
11
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetResourceDependencyCountsDto = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ class GetResourceDependencyCountsDto extends zod_class_1.Z.class({
7
+ resourceIds: zod_1.z.array(zod_1.z.string()).min(1).max(100),
8
+ resourceType: zod_1.z.enum(['workflow', 'credential', 'dataTable']),
9
+ }) {
10
+ }
11
+ exports.GetResourceDependencyCountsDto = GetResourceDependencyCountsDto;
12
+ //# sourceMappingURL=get-resource-dependency-counts.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-resource-dependency-counts.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/get-resource-dependency-counts.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,8BAA+B,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC3D,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChD,YAAY,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;CAC7D,CAAC;CAAG;AAHL,wEAGK"}
@@ -10,8 +10,8 @@ declare const UpdateWorkflowDto_base: import("../../zod-class").ZodClass<{
10
10
  meta?: Record<string, unknown> | null | undefined;
11
11
  uiContext?: string | undefined;
12
12
  tags?: string[] | undefined;
13
- hash?: string | undefined;
14
13
  parentFolderId?: string | undefined;
14
+ hash?: string | undefined;
15
15
  parentFolder?: {
16
16
  id: string;
17
17
  name: string;
@@ -43,7 +43,6 @@ export interface IEnterpriseSettings {
43
43
  binaryDataS3: boolean;
44
44
  workerView: boolean;
45
45
  advancedPermissions: boolean;
46
- apiKeyScopes: boolean;
47
46
  workflowDiffs: boolean;
48
47
  namedVersions: boolean;
49
48
  provisioning: boolean;
@@ -233,6 +232,7 @@ export type FrontendModuleSettings = {
233
232
  enabled: boolean;
234
233
  providers: Record<ChatHubLLMProvider, ChatProviderSettingsDto>;
235
234
  semanticSearch: ChatHubSemanticSearchSettings;
235
+ agentUploadMaxSizeMb: number;
236
236
  };
237
237
  'quick-connect'?: {
238
238
  options: QuickConnectOption[];
@@ -241,6 +241,7 @@ export type FrontendModuleSettings = {
241
241
  multipleConnections: boolean;
242
242
  forProjects: boolean;
243
243
  roleBasedAccess: boolean;
244
+ systemRolesEnabled: boolean;
244
245
  };
245
246
  };
246
247
  export type N8nEnvFeatFlagValue = boolean | string | number | undefined;
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export type * from './api-keys';
9
9
  export type * from './community-node-types';
10
10
  export type * from './quick-connect';
11
11
  export * from './instance-registry-types';
12
- export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, type ChatHubAgentKnowledgeItem, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type SuggestedPrompt, suggestedPromptsSchema, type MessageChunk, UpdateChatSettingsRequest, ChatHubSemanticSearchSettings, type ChatProviderSettingsDto, type ChatSendMessageResponse, type ChatReconnectResponse, ChatReconnectRequest, type ChatArtifact, type ChatArtifactCreateCommand, type ChatArtifactEditCommand, type ChatMessageContentChunk, type ChatHubMessageButton, chatHubMessageWithButtonsSchema, type ChatHubMessageWithButtons, type ChatHubToolDto, ChatHubCreateToolRequest, ChatHubUpdateToolRequest, ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES, CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES, chatHubVectorStoreProviderSchema, type ChatHubVectorStoreProvider, VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP, } from './chat-hub';
12
+ export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, chatHubSessionTypeSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubSessionType, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubManualSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubManualRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubManualEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, type ChatHubAgentKnowledgeItem, type ChatHubAgentKnowledgeItemStatus, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type SuggestedPrompt, suggestedPromptsSchema, type MessageChunk, UpdateChatSettingsRequest, ChatHubSemanticSearchSettings, type ChatProviderSettingsDto, type ChatSendMessageResponse, type ChatReconnectResponse, ChatReconnectRequest, type ChatArtifact, type ChatArtifactCreateCommand, type ChatArtifactEditCommand, type ChatMessageContentChunk, type ChatHubMessageButton, chatHubMessageWithButtonsSchema, type ChatHubMessageWithButtons, type ChatHubToolDto, ChatHubCreateToolRequest, ChatHubUpdateToolRequest, ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES, CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES, chatHubVectorStoreProviderSchema, type ChatHubVectorStoreProvider, VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP, } from './chat-hub';
13
13
  export type { ChatHubPushMessage, ChatHubStreamEvent, ChatHubStreamBegin, ChatHubStreamChunk, ChatHubStreamEnd, ChatHubStreamError, ChatHubStreamMetadata, ChatHubExecutionEvent, ChatHubExecutionBegin, ChatHubExecutionEnd, ChatHubHumanMessageCreated, ChatHubMessageEdited, ChatHubAttachmentInfo, } from './push/chat-hub';
14
14
  export type { Collaborator } from './push/collaboration';
15
15
  export type { HeartbeatMessage } from './push/heartbeat';
@@ -18,8 +18,10 @@ 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
20
  export { passwordSchema } from './schemas/password.schema';
21
- export { credentialResolverSchema, credentialResolversSchema, credentialResolverTypeSchema, credentialResolverTypesSchema, type CredentialResolver, type CredentialResolverType, } from './schemas/credential-resolver.schema';
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
+ export type { DependencyType, DependencyResourceType, ResolvedDependency, ResolvedDependenciesResult, DependenciesBatchResponse, } from './schemas/dependency.schema';
24
+ export type { DependencyTypeCounts, DependencyCountsBatchResponse, } from './schemas/dependency-counts.schema';
23
25
  export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/project.schema';
24
26
  export { isSourceControlledFileStatus, type SourceControlledFileStatus, type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
25
27
  export { type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
@@ -31,5 +33,5 @@ export { WorkflowExecutionStatusSchema, type WorkflowExecutionStatus, } from './
31
33
  export type { UsageState } from './schemas/usage.schema';
32
34
  export type { BreakingChangeRuleSeverity, BreakingChangeRecommendation, BreakingChangeAffectedWorkflow, BreakingChangeInstanceIssue, BreakingChangeWorkflowIssue, BreakingChangeInstanceRuleResult, BreakingChangeWorkflowRuleResult, BreakingChangeReportResult, BreakingChangeLightReportResult, BreakingChangeVersion, } from './schemas/breaking-changes.schema';
33
35
  export { MIGRATION_REPORT_TARGET_VERSION } from './schemas/breaking-changes.schema';
34
- export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnectionTestState, SecretProviderConnectionListItem, SecretProviderConnection, SecretProviderTypeResponse, SecretCompletionsResponse, TestSecretProviderConnectionResponse, ReloadSecretProviderConnectionResponse, } from './schemas/secrets-provider.schema';
36
+ export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnectionTestState, SecretsProviderAccessRole, ConnectionProjectSummary, SecretProviderConnectionListItem, SecretProviderConnection, SecretProviderTypeResponse, SecretCompletionsResponse, TestSecretProviderConnectionResponse, ReloadSecretProviderConnectionResponse, } from './schemas/secrets-provider.schema';
35
37
  export { testSecretProviderConnectionResponseSchema, reloadSecretProviderConnectionResponseSchema, } from './schemas/secrets-provider.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.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.isSourceControlledFileStatus = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = 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.ChatHubEditMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = exports.Z = void 0;
18
- exports.reloadSecretProviderConnectionResponseSchema = exports.testSecretProviderConnectionResponseSchema = exports.MIGRATION_REPORT_TARGET_VERSION = exports.WorkflowExecutionStatusSchema = void 0;
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;
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);
@@ -24,13 +24,17 @@ var chat_hub_1 = require("./chat-hub");
24
24
  Object.defineProperty(exports, "chatHubConversationModelSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubConversationModelSchema; } });
25
25
  Object.defineProperty(exports, "chatHubProviderSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubProviderSchema; } });
26
26
  Object.defineProperty(exports, "chatHubLLMProviderSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubLLMProviderSchema; } });
27
+ Object.defineProperty(exports, "chatHubSessionTypeSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubSessionTypeSchema; } });
27
28
  Object.defineProperty(exports, "PROVIDER_CREDENTIAL_TYPE_MAP", { enumerable: true, get: function () { return chat_hub_1.PROVIDER_CREDENTIAL_TYPE_MAP; } });
28
29
  Object.defineProperty(exports, "chatModelsRequestSchema", { enumerable: true, get: function () { return chat_hub_1.chatModelsRequestSchema; } });
29
30
  Object.defineProperty(exports, "emptyChatModelsResponse", { enumerable: true, get: function () { return chat_hub_1.emptyChatModelsResponse; } });
30
31
  Object.defineProperty(exports, "chatAttachmentSchema", { enumerable: true, get: function () { return chat_hub_1.chatAttachmentSchema; } });
31
32
  Object.defineProperty(exports, "ChatHubSendMessageRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubSendMessageRequest; } });
33
+ Object.defineProperty(exports, "ChatHubManualSendMessageRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubManualSendMessageRequest; } });
32
34
  Object.defineProperty(exports, "ChatHubRegenerateMessageRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubRegenerateMessageRequest; } });
35
+ Object.defineProperty(exports, "ChatHubManualRegenerateMessageRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubManualRegenerateMessageRequest; } });
33
36
  Object.defineProperty(exports, "ChatHubEditMessageRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubEditMessageRequest; } });
37
+ Object.defineProperty(exports, "ChatHubManualEditMessageRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubManualEditMessageRequest; } });
34
38
  Object.defineProperty(exports, "ChatHubUpdateConversationRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubUpdateConversationRequest; } });
35
39
  Object.defineProperty(exports, "ChatHubConversationsRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubConversationsRequest; } });
36
40
  Object.defineProperty(exports, "ChatHubCreateAgentRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubCreateAgentRequest; } });
@@ -59,6 +63,7 @@ Object.defineProperty(exports, "credentialResolverSchema", { enumerable: true, g
59
63
  Object.defineProperty(exports, "credentialResolversSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolversSchema; } });
60
64
  Object.defineProperty(exports, "credentialResolverTypeSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolverTypeSchema; } });
61
65
  Object.defineProperty(exports, "credentialResolverTypesSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolverTypesSchema; } });
66
+ Object.defineProperty(exports, "credentialResolverAffectedWorkflowsSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolverAffectedWorkflowsSchema; } });
62
67
  var workflow_version_schema_1 = require("./schemas/workflow-version.schema");
63
68
  Object.defineProperty(exports, "WORKFLOW_VERSION_NAME_MAX_LENGTH", { enumerable: true, get: function () { return workflow_version_schema_1.WORKFLOW_VERSION_NAME_MAX_LENGTH; } });
64
69
  Object.defineProperty(exports, "WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH", { enumerable: true, get: function () { return workflow_version_schema_1.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH; } });
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,uCAmEoB;AAlEnB,0HAAA,8BAA8B,OAAA;AAW9B,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;AAU3B,qHAAA,yBAAyB,OAAA;AACzB,qHAAA,yBAAyB,OAAA;AAEzB,kHAAA,sBAAsB,OAAA;AAEtB,kHAAA,sBAAsB,OAAA;AAEtB,qHAAA,yBAAyB,OAAA;AACzB,yHAAA,6BAA6B,OAAA;AAI7B,gHAAA,oBAAoB,OAAA;AAMpB,2HAAA,+BAA+B,OAAA;AAG/B,oHAAA,wBAAwB,OAAA;AACxB,oHAAA,wBAAwB,OAAA;AACxB,8HAAA,kCAAkC,OAAA;AAClC,iIAAA,qCAAqC,OAAA;AACrC,4HAAA,gCAAgC,OAAA;AAEhC,qIAAA,yCAAyC,OAAA;AAqB1C,8CAAkF;AAAzE,mHAAA,sBAAsB,OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAIvD,mEAAiE;AAAxD,uHAAA,iBAA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A,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"}
@@ -87,3 +87,24 @@ export declare const credentialResolversSchema: z.ZodArray<z.ZodObject<{
87
87
  decryptedConfig?: Record<string, unknown> | undefined;
88
88
  }>, "many">;
89
89
  export type CredentialResolver = z.infer<typeof credentialResolverSchema>;
90
+ export declare const credentialResolverAffectedWorkflowSchema: z.ZodObject<{
91
+ id: z.ZodString;
92
+ name: z.ZodString;
93
+ }, "strip", z.ZodTypeAny, {
94
+ id: string;
95
+ name: string;
96
+ }, {
97
+ id: string;
98
+ name: string;
99
+ }>;
100
+ export declare const credentialResolverAffectedWorkflowsSchema: z.ZodArray<z.ZodObject<{
101
+ id: z.ZodString;
102
+ name: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ id: string;
105
+ name: string;
106
+ }, {
107
+ id: string;
108
+ name: string;
109
+ }>, "many">;
110
+ export type CredentialResolverAffectedWorkflow = z.infer<typeof credentialResolverAffectedWorkflowSchema>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.credentialResolversSchema = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolverSchema = exports.credentialResolverConfigSchema = exports.credentialResolverTypeNameSchema = exports.credentialResolverNameSchema = exports.credentialResolverIdSchema = void 0;
3
+ exports.credentialResolverAffectedWorkflowsSchema = exports.credentialResolverAffectedWorkflowSchema = exports.credentialResolversSchema = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolverSchema = exports.credentialResolverConfigSchema = exports.credentialResolverTypeNameSchema = exports.credentialResolverNameSchema = exports.credentialResolverIdSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.credentialResolverIdSchema = zod_1.z.string().max(36);
6
6
  exports.credentialResolverNameSchema = zod_1.z.string().trim().min(1).max(255);
@@ -23,4 +23,9 @@ exports.credentialResolverTypeSchema = zod_1.z.object({
23
23
  });
24
24
  exports.credentialResolverTypesSchema = zod_1.z.array(exports.credentialResolverTypeSchema);
25
25
  exports.credentialResolversSchema = zod_1.z.array(exports.credentialResolverSchema);
26
+ exports.credentialResolverAffectedWorkflowSchema = zod_1.z.object({
27
+ id: zod_1.z.string(),
28
+ name: zod_1.z.string(),
29
+ });
30
+ exports.credentialResolverAffectedWorkflowsSchema = zod_1.z.array(exports.credentialResolverAffectedWorkflowSchema);
26
31
  //# sourceMappingURL=credential-resolver.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"credential-resolver.schema.js","sourceRoot":"","sources":["../../src/schemas/credential-resolver.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAChD,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACjE,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACrE,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAEvD,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,kCAA0B;IAC9B,IAA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AM,EAAE;CAChB,CAAC,CAAC;AAEU,QAAA,yCAAyC,GAAG,OAAC,CAAC,KAAK,CAC/D,gDAAwC,CACxC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface DependencyTypeCounts {
2
+ credentialId: number;
3
+ dataTableId: number;
4
+ workflowCall: number;
5
+ workflowParent: number;
6
+ }
7
+ export type DependencyCountsBatchResponse = Record<string, DependencyTypeCounts>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dependency-counts.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dependency-counts.schema.js","sourceRoot":"","sources":["../../src/schemas/dependency-counts.schema.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export type DependencyType = 'credentialId' | 'dataTableId' | 'workflowCall' | 'workflowParent';
2
+ export type DependencyResourceType = 'workflow' | 'credential' | 'dataTable';
3
+ export interface ResolvedDependency {
4
+ type: DependencyType;
5
+ id: string;
6
+ name: string;
7
+ projectId?: string;
8
+ }
9
+ export interface ResolvedDependenciesResult {
10
+ dependencies: ResolvedDependency[];
11
+ inaccessibleCount: number;
12
+ }
13
+ export type DependenciesBatchResponse = Record<string, ResolvedDependenciesResult>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dependency.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dependency.schema.js","sourceRoot":"","sources":["../../src/schemas/dependency.schema.ts"],"names":[],"mappings":""}