@n8n/api-types 1.13.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 (40) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/chat-hub.d.ts +14 -0
  3. package/dist/chat-hub.js +2 -0
  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/index.d.ts +3 -0
  12. package/dist/dto/index.js +8 -2
  13. package/dist/dto/index.js.map +1 -1
  14. package/dist/dto/invitation/accept-invitation-request.dto.d.ts +2 -6
  15. package/dist/dto/invitation/accept-invitation-request.dto.js +1 -3
  16. package/dist/dto/invitation/accept-invitation-request.dto.js.map +1 -1
  17. package/dist/dto/log-streaming/create-destination.dto.d.ts +20 -30
  18. package/dist/dto/saml/saml-preferences.dto.d.ts +4 -0
  19. package/dist/dto/saml/saml-preferences.dto.js +2 -0
  20. package/dist/dto/saml/saml-preferences.dto.js.map +1 -1
  21. package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +11 -0
  22. package/dist/dto/workflows/get-resource-dependencies.dto.js +12 -0
  23. package/dist/dto/workflows/get-resource-dependencies.dto.js.map +1 -0
  24. package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +11 -0
  25. package/dist/dto/workflows/get-resource-dependency-counts.dto.js +12 -0
  26. package/dist/dto/workflows/get-resource-dependency-counts.dto.js.map +1 -0
  27. package/dist/frontend-settings.d.ts +0 -1
  28. package/dist/index.d.ts +3 -1
  29. package/dist/index.js +3 -2
  30. package/dist/index.js.map +1 -1
  31. package/dist/schemas/credential-resolver.schema.d.ts +21 -0
  32. package/dist/schemas/credential-resolver.schema.js +6 -1
  33. package/dist/schemas/credential-resolver.schema.js.map +1 -1
  34. package/dist/schemas/dependency-counts.schema.d.ts +7 -0
  35. package/dist/schemas/dependency-counts.schema.js +3 -0
  36. package/dist/schemas/dependency-counts.schema.js.map +1 -0
  37. package/dist/schemas/dependency.schema.d.ts +13 -0
  38. package/dist/schemas/dependency.schema.js +3 -0
  39. package/dist/schemas/dependency.schema.js.map +1 -0
  40. package/package.json +6 -6
@@ -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,IAAI,EAAE,oCAA4B;IAClC,IAAI,EAAE,wCAAgC;IACtC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,eAAe,EAAE,sCAA8B,CAAC,QAAQ,EAAE;IAC1D,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;CAC1B,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,wCAAgC;IACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC9C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAA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M,CAAC;IACpD,IAAI,EAAE,wCAAgC;IACtC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC9C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACnD,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC,CAAC,KAAK,CAAC,oCAA4B,CAAC,CAAC;AAItE,QAAA,yBAAyB,GAAG,OAAC,CAAC,KAAK,CAAC,gCAAwB,CAAC,CAAC;AAI9D,QAAA,wCAAwC,GAAG,OAAC,CAAC,MAAM,CAAC;IAChE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,OAAC,CAAC,MAAM,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":""}
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist/**/*",
9
- "LICENSE_EE.md",
10
- "LICENSE.md"
9
+ "LICENSE.md",
10
+ "LICENSE_EE.md"
11
11
  ],
12
12
  "devDependencies": {
13
- "@n8n/config": "2.12.0",
14
- "@n8n/typescript-config": "1.3.0"
13
+ "@n8n/typescript-config": "1.3.0",
14
+ "@n8n/config": "2.13.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "xss": "1.0.15",
18
18
  "zod": "3.25.67",
19
- "n8n-workflow": "2.13.0",
19
+ "n8n-workflow": "2.14.0",
20
20
  "@n8n/permissions": "0.54.0"
21
21
  },
22
22
  "license": "SEE LICENSE IN LICENSE.md",