@n8n/api-types 1.23.0 → 1.24.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 (80) hide show
  1. package/dist/agent-builder-interactive.d.ts +3 -3
  2. package/dist/agent-builder-interactive.js +5 -5
  3. package/dist/agent-builder-interactive.js.map +1 -1
  4. package/dist/agents/agent-files.constants.d.ts +4 -0
  5. package/dist/agents/agent-files.constants.js +8 -0
  6. package/dist/agents/agent-files.constants.js.map +1 -0
  7. package/dist/agents/agent-integration.schema.d.ts +1 -95
  8. package/dist/agents/agent-integration.schema.js +2 -23
  9. package/dist/agents/agent-integration.schema.js.map +1 -1
  10. package/dist/agents/agent-json-config.schema.d.ts +1567 -273
  11. package/dist/agents/agent-json-config.schema.js +111 -6
  12. package/dist/agents/agent-json-config.schema.js.map +1 -1
  13. package/dist/agents/agent-task.schema.d.ts +24 -0
  14. package/dist/agents/agent-task.schema.js +14 -0
  15. package/dist/agents/agent-task.schema.js.map +1 -0
  16. package/dist/agents/dto.d.ts +26 -4
  17. package/dist/agents/dto.js +20 -5
  18. package/dist/agents/dto.js.map +1 -1
  19. package/dist/agents/index.d.ts +3 -0
  20. package/dist/agents/index.js +3 -0
  21. package/dist/agents/index.js.map +1 -1
  22. package/dist/agents/provider-capabilities.d.ts +39 -0
  23. package/dist/agents/provider-capabilities.js +63 -0
  24. package/dist/agents/provider-capabilities.js.map +1 -0
  25. package/dist/agents/types.d.ts +19 -6
  26. package/dist/agents/types.js +1 -2
  27. package/dist/agents/types.js.map +1 -1
  28. package/dist/api-keys.d.ts +5 -0
  29. package/dist/build.tsbuildinfo +1 -1
  30. package/dist/chat-hub.d.ts +12 -12
  31. package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
  32. package/dist/dto/ai/ai-session-retrieval-request.dto.d.ts +2 -0
  33. package/dist/dto/ai/ai-session-retrieval-request.dto.js +1 -0
  34. package/dist/dto/ai/ai-session-retrieval-request.dto.js.map +1 -1
  35. package/dist/dto/api-keys/update-api-key-request.dto.js +9 -2
  36. package/dist/dto/api-keys/update-api-key-request.dto.js.map +1 -1
  37. package/dist/dto/credentials/credential-connection-status.d.ts +1 -0
  38. package/dist/dto/data-table/create-data-table.dto.d.ts +1 -1
  39. package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +1 -1
  40. package/dist/dto/data-table/update-data-table.dto.d.ts +1 -1
  41. package/dist/dto/index.d.ts +2 -1
  42. package/dist/dto/index.js +6 -2
  43. package/dist/dto/index.js.map +1 -1
  44. package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
  45. package/dist/dto/oidc/config.dto.d.ts +1 -1
  46. package/dist/dto/packages/import-package-request.dto.d.ts +12 -0
  47. package/dist/dto/packages/import-package-request.dto.js +22 -0
  48. package/dist/dto/packages/import-package-request.dto.js.map +1 -0
  49. package/dist/dto/project/update-project.dto.d.ts +40 -0
  50. package/dist/dto/project/update-project.dto.js +11 -0
  51. package/dist/dto/project/update-project.dto.js.map +1 -1
  52. package/dist/dto/source-control/pull-work-folder-request.dto.d.ts +1 -1
  53. package/dist/dto/user/user-update-request.dto.js +9 -2
  54. package/dist/dto/user/user-update-request.dto.js.map +1 -1
  55. package/dist/dto/workflows/base-workflow.dto.d.ts +4 -4
  56. package/dist/dto/workflows/base-workflow.dto.js +23 -6
  57. package/dist/dto/workflows/base-workflow.dto.js.map +1 -1
  58. package/dist/dto/workflows/create-workflow.dto.d.ts +3 -3
  59. package/dist/dto/workflows/import-workflow-from-url.dto.d.ts +1 -1
  60. package/dist/dto/workflows/update-workflow.dto.d.ts +3 -3
  61. package/dist/index.d.ts +2 -2
  62. package/dist/index.js +9 -6
  63. package/dist/index.js.map +1 -1
  64. package/dist/schemas/breaking-changes.schema.d.ts +44 -44
  65. package/dist/schemas/credential-resolver.schema.d.ts +1 -0
  66. package/dist/schemas/credential-resolver.schema.js +2 -1
  67. package/dist/schemas/credential-resolver.schema.js.map +1 -1
  68. package/dist/schemas/data-table.schema.d.ts +2 -2
  69. package/dist/schemas/data-table.schema.js +1 -7
  70. package/dist/schemas/data-table.schema.js.map +1 -1
  71. package/dist/schemas/instance-ai.schema.d.ts +54 -56
  72. package/dist/schemas/instance-ai.schema.js +1 -4
  73. package/dist/schemas/instance-ai.schema.js.map +1 -1
  74. package/dist/schemas/mcp.schema.d.ts +3 -0
  75. package/dist/schemas/mcp.schema.js +7 -0
  76. package/dist/schemas/mcp.schema.js.map +1 -0
  77. package/package.json +7 -7
  78. package/dist/utils/xss-check.d.ts +0 -1
  79. package/dist/utils/xss-check.js +0 -10
  80. package/dist/utils/xss-check.js.map +0 -1
@@ -389,9 +389,9 @@ export type ChatHubConversationModel = z.infer<typeof chatHubConversationModelSc
389
389
  export declare const chatModelsRequestSchema: z.ZodObject<{
390
390
  credentials: z.ZodRecord<z.ZodEnum<["openai", "anthropic", "google", "azureOpenAi", "azureEntraId", "ollama", "awsBedrock", "vercelAiGateway", "xAiGrok", "groq", "openRouter", "deepSeek", "cohere", "mistralCloud", "nvidia", "n8n", "custom-agent"]>, z.ZodNullable<z.ZodString>>;
391
391
  }, "strip", z.ZodTypeAny, {
392
- credentials: Partial<Record<"n8n" | "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia" | "custom-agent", string | null>>;
392
+ credentials: Partial<Record<"n8n" | "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia" | "custom-agent", string | null>>;
393
393
  }, {
394
- credentials: Partial<Record<"n8n" | "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia" | "custom-agent", string | null>>;
394
+ credentials: Partial<Record<"n8n" | "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia" | "custom-agent", string | null>>;
395
395
  }>;
396
396
  export type ChatModelsRequest = z.infer<typeof chatModelsRequestSchema>;
397
397
  export interface ChatModelMetadataDto {
@@ -1761,7 +1761,7 @@ export interface ChatHubAgentDto {
1761
1761
  updatedAt: string;
1762
1762
  }
1763
1763
  declare const ChatHubCreateAgentRequest_base: import("./zod-class").ZodClass<{
1764
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
1764
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
1765
1765
  model: string;
1766
1766
  credentialId: string;
1767
1767
  name: string;
@@ -1856,7 +1856,7 @@ declare const ChatHubCreateAgentRequest_base: import("./zod-class").ZodClass<{
1856
1856
  export declare class ChatHubCreateAgentRequest extends ChatHubCreateAgentRequest_base {
1857
1857
  }
1858
1858
  declare const ChatHubUpdateAgentRequest_base: import("./zod-class").ZodClass<{
1859
- provider?: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia" | undefined;
1859
+ provider?: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia" | undefined;
1860
1860
  model?: string | undefined;
1861
1861
  credentialId?: string | undefined;
1862
1862
  description?: string | undefined;
@@ -1983,7 +1983,7 @@ declare const chatProviderSettingsSchema: z.ZodObject<{
1983
1983
  createdAt: z.ZodString;
1984
1984
  updatedAt: z.ZodNullable<z.ZodString>;
1985
1985
  }, "strip", z.ZodTypeAny, {
1986
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
1986
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
1987
1987
  credentialId: string | null;
1988
1988
  updatedAt: string | null;
1989
1989
  allowedModels: {
@@ -1996,7 +1996,7 @@ declare const chatProviderSettingsSchema: z.ZodObject<{
1996
1996
  responsesApiEnabled?: boolean | undefined;
1997
1997
  contextWindowLength?: number | undefined;
1998
1998
  }, {
1999
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
1999
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2000
2000
  credentialId: string | null;
2001
2001
  updatedAt: string | null;
2002
2002
  allowedModels: {
@@ -2012,7 +2012,7 @@ declare const chatProviderSettingsSchema: z.ZodObject<{
2012
2012
  export type ChatProviderSettingsDto = z.infer<typeof chatProviderSettingsSchema>;
2013
2013
  declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
2014
2014
  payload: {
2015
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
2015
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2016
2016
  credentialId: string | null;
2017
2017
  updatedAt: string | null;
2018
2018
  allowedModels: {
@@ -2048,7 +2048,7 @@ declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
2048
2048
  createdAt: z.ZodString;
2049
2049
  updatedAt: z.ZodNullable<z.ZodString>;
2050
2050
  }, "strip", z.ZodTypeAny, {
2051
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
2051
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2052
2052
  credentialId: string | null;
2053
2053
  updatedAt: string | null;
2054
2054
  allowedModels: {
@@ -2061,7 +2061,7 @@ declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
2061
2061
  responsesApiEnabled?: boolean | undefined;
2062
2062
  contextWindowLength?: number | undefined;
2063
2063
  }, {
2064
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
2064
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2065
2065
  credentialId: string | null;
2066
2066
  updatedAt: string | null;
2067
2067
  allowedModels: {
@@ -2083,7 +2083,7 @@ declare const ChatHubSemanticSearchSettings_base: import("./zod-class").ZodClass
2083
2083
  credentialId: string | null;
2084
2084
  };
2085
2085
  embeddingModel: {
2086
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
2086
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2087
2087
  credentialId: string | null;
2088
2088
  };
2089
2089
  }, {
@@ -2101,10 +2101,10 @@ declare const ChatHubSemanticSearchSettings_base: import("./zod-class").ZodClass
2101
2101
  provider: z.ZodEnum<["openai", "anthropic", "google", "azureOpenAi", "azureEntraId", "ollama", "awsBedrock", "vercelAiGateway", "xAiGrok", "groq", "openRouter", "deepSeek", "cohere", "mistralCloud", "nvidia"]>;
2102
2102
  credentialId: z.ZodNullable<z.ZodString>;
2103
2103
  }, "strip", z.ZodTypeAny, {
2104
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
2104
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2105
2105
  credentialId: string | null;
2106
2106
  }, {
2107
- provider: "anthropic" | "openai" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "nvidia";
2107
+ provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | "nvidia";
2108
2108
  credentialId: string | null;
2109
2109
  }>;
2110
2110
  }>;
@@ -35,9 +35,9 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
35
35
  pinnedNodes?: string[] | undefined;
36
36
  selectedNodes?: SelectedNodeContext[] | undefined;
37
37
  };
38
+ mode?: "build" | "plan" | undefined;
38
39
  resumeData?: unknown[] | Record<string, unknown> | undefined;
39
40
  versionId?: string | undefined;
40
- mode?: "build" | "plan" | undefined;
41
41
  featureFlags?: {
42
42
  pinData?: boolean | undefined;
43
43
  templateExamples?: boolean | undefined;
@@ -146,9 +146,9 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
146
146
  pinnedNodes?: string[] | undefined;
147
147
  selectedNodes?: SelectedNodeContext[] | undefined;
148
148
  };
149
+ mode?: "build" | "plan" | undefined;
149
150
  resumeData?: unknown[] | Record<string, unknown> | undefined;
150
151
  versionId?: string | undefined;
151
- mode?: "build" | "plan" | undefined;
152
152
  featureFlags?: {
153
153
  pinData?: boolean | undefined;
154
154
  templateExamples?: boolean | undefined;
@@ -177,9 +177,9 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
177
177
  pinnedNodes?: string[] | undefined;
178
178
  selectedNodes?: SelectedNodeContext[] | undefined;
179
179
  };
180
+ mode?: "build" | "plan" | undefined;
180
181
  resumeData?: unknown[] | Record<string, unknown> | undefined;
181
182
  versionId?: string | undefined;
182
- mode?: "build" | "plan" | undefined;
183
183
  featureFlags?: {
184
184
  pinData?: boolean | undefined;
185
185
  templateExamples?: boolean | undefined;
@@ -1,8 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  declare const AiSessionRetrievalRequestDto_base: import("../../zod-class").ZodClass<{
3
3
  workflowId?: string | undefined;
4
+ codeBuilder?: boolean | undefined;
4
5
  }, {
5
6
  workflowId: z.ZodOptional<z.ZodString>;
7
+ codeBuilder: z.ZodOptional<z.ZodBoolean>;
6
8
  }>;
7
9
  export declare class AiSessionRetrievalRequestDto extends AiSessionRetrievalRequestDto_base {
8
10
  }
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const zod_class_1 = require("../../zod-class");
6
6
  class AiSessionRetrievalRequestDto extends zod_class_1.Z.class({
7
7
  workflowId: zod_1.z.string().optional(),
8
+ codeBuilder: zod_1.z.boolean().optional(),
8
9
  }) {
9
10
  }
10
11
  exports.AiSessionRetrievalRequestDto = AiSessionRetrievalRequestDto;
@@ -1 +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;AAExB,+CAAoC;AAEpC,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;CAAG;AAFL,oEAEK"}
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;AAExB,+CAAoC;AAEpC,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC;CAAG;AAHL,oEAGK"}
@@ -1,12 +1,19 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.UpdateApiKeyRequestDto = void 0;
7
+ const xss_1 = __importDefault(require("xss"));
4
8
  const zod_1 = require("zod");
5
9
  const scopes_schema_1 = require("../../schemas/scopes.schema");
6
- const xss_check_1 = require("../../utils/xss-check");
7
10
  const zod_class_1 = require("../../zod-class");
11
+ const xssCheck = (value) => value ===
12
+ (0, xss_1.default)(value, {
13
+ whiteList: {},
14
+ });
8
15
  class UpdateApiKeyRequestDto extends zod_class_1.Z.class({
9
- label: zod_1.z.string().max(50).min(1).refine(xss_check_1.xssCheck),
16
+ label: zod_1.z.string().max(50).min(1).refine(xssCheck),
10
17
  scopes: scopes_schema_1.scopesSchema,
11
18
  }) {
12
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"update-api-key-request.dto.js","sourceRoot":"","sources":["../../../src/dto/api-keys/update-api-key-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+DAA2D;AAC3D,qDAAiD;AACjD,+CAAoC;AAEpC,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,oBAAQ,CAAC;IACjD,MAAM,EAAE,4BAAY;CACpB,CAAC;CAAG;AAHL,wDAGK"}
1
+ {"version":3,"file":"update-api-key-request.dto.js","sourceRoot":"","sources":["../../../src/dto/api-keys/update-api-key-request.dto.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAsB;AACtB,6BAAwB;AAExB,+DAA2D;AAC3D,+CAAoC;AAEpC,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE,CAClC,KAAK;IACL,IAAA,aAAG,EAAC,KAAK,EAAE;QACV,SAAS,EAAE,EAAE;KACb,CAAC,CAAC;AAEJ,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;IACjD,MAAM,EAAE,4BAAY;CACpB,CAAC;CAAG;AAHL,wDAGK"}
@@ -1,3 +1,4 @@
1
1
  export interface CredentialConnectionStatus {
2
2
  connectedByMe?: boolean;
3
+ connectedUserCount?: number;
3
4
  }
@@ -9,7 +9,7 @@ declare const CreateDataTableDto_base: import("../../zod-class").ZodClass<{
9
9
  fileId?: string | undefined;
10
10
  hasHeaders?: boolean | undefined;
11
11
  }, {
12
- name: z.ZodEffects<z.ZodString, string, string>;
12
+ name: z.ZodString;
13
13
  columns: z.ZodArray<z.ZodObject<{
14
14
  name: z.ZodString;
15
15
  type: z.ZodEnum<["string", "number", "boolean", "date"]>;
@@ -10,7 +10,7 @@ declare const PublicApiCreateDataTableDto_base: import("../../zod-class").ZodCla
10
10
  fileId?: string | undefined;
11
11
  hasHeaders?: boolean | undefined;
12
12
  }, {
13
- name: z.ZodEffects<z.ZodString, string, string>;
13
+ name: z.ZodString;
14
14
  columns: z.ZodArray<z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  type: z.ZodEnum<["string", "number", "boolean", "date"]>;
@@ -1,7 +1,7 @@
1
1
  declare const UpdateDataTableDto_base: import("../../zod-class").ZodClass<{
2
2
  name: string;
3
3
  }, {
4
- name: import("zod").ZodEffects<import("zod").ZodString, string, string>;
4
+ name: import("zod").ZodString;
5
5
  }>;
6
6
  export declare class UpdateDataTableDto extends UpdateDataTableDto_base {
7
7
  }
@@ -86,7 +86,7 @@ export { GetDestinationQueryDto } from './log-streaming/get-destination-query.dt
86
86
  export { CreateDestinationDto, type WebhookDestination, type SentryDestination, type SyslogDestination, } from './log-streaming/create-destination.dto';
87
87
  export { TestDestinationQueryDto } from './log-streaming/test-destination-query.dto';
88
88
  export { DeleteDestinationQueryDto } from './log-streaming/delete-destination-query.dto';
89
- export { PaginationDto } from './pagination/pagination.dto';
89
+ export { PaginationDto, MAX_ITEMS_PER_PAGE } from './pagination/pagination.dto';
90
90
  export { UsersListFilterDto, type UsersListSortOptions, USERS_LIST_SORT_OPTIONS, } from './user/users-list-filter.dto';
91
91
  export { UpdateRoleDto } from './roles/update-role.dto';
92
92
  export { CreateRoleDto } from './roles/create-role.dto';
@@ -117,6 +117,7 @@ export { updateDataTableColumnSchema, type UpdateDataTableColumnDto, } from './d
117
117
  export { DownloadDataTableCsvQueryDto } from './data-table/download-data-table-csv-query.dto';
118
118
  export { ImportCsvToDataTableDto } from './data-table/import-csv-to-data-table.dto';
119
119
  export { ExportWorkflowsRequestDto } from './packages/export-workflows-request.dto';
120
+ export { ImportPackageRequestDto, IMPORT_PACKAGE_REQUEST_FORM_FIELDS, } from './packages/import-package-request.dto';
120
121
  export * from './evaluations';
121
122
  export { OAuthClientResponseDto, ListOAuthClientsResponseDto, DeleteOAuthClientResponseDto, InstanceMcpClientStatsResponseDto, } from './oauth/oauth-client.dto';
122
123
  export { ProvisioningConfigDto, ProvisioningConfigPatchDto, type ProvisioningMode, type ProvisioningModeFlags, } from './provisioning/config.dto';
package/dist/dto/index.js CHANGED
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.UserSelfSettingsUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferencesAttributeMapping = exports.SamlPreferences = exports.SamlAcsDto = exports.ListProjectsQueryDto = exports.ChangeUserRoleInProject = exports.AddUsersToProjectDto = exports.DeleteProjectDto = exports.UpdateProjectWithRelationsDto = exports.UpdateProjectDto = exports.CreateProjectDto = exports.ChangePasswordRequestDto = exports.ResolvePasswordTokenQueryDto = exports.ForgotPasswordRequestDto = exports.DismissBannerRequestDto = exports.OwnerSetupRequestDto = exports.AcceptInvitationRequestDto = exports.InviteUsersRequestDto = exports.ActionResultRequestDto = exports.ResourceMapperFieldsRequestDto = exports.ResourceLocatorRequestDto = exports.OptionsRequestDto = exports.ListCredentialResolversQueryDto = exports.UpdateCredentialResolverDto = exports.CreateCredentialResolverDto = exports.EmbedLoginBodyDto = exports.EmbedLoginQueryDto = exports.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.InstanceAiRenameThreadRequestDto = exports.InstanceAiFeedbackRequestDto = exports.InstanceAiConfirmRequestDto = exports.AiGatewayUsageQueryDto = exports.AiClearSessionRequestDto = exports.AiTruncateMessagesRequestDto = exports.AiUsageSettingsRequestDto = exports.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.QUICK_REPLY_TYPES = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = exports.GetNodeTypesByIdentifierRequestDto = void 0;
18
- exports.RoleListQueryDto = exports.ListRoleMappingRuleQueryDto = exports.MoveRoleMappingRuleDto = exports.PatchRoleMappingRuleDto = exports.CreateRoleMappingRuleDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.DeleteDestinationQueryDto = exports.TestDestinationQueryDto = exports.CreateDestinationDto = exports.GetDestinationQueryDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.GetResourceDependenciesDto = exports.GetResourceDependencyCountsDto = exports.ArchiveWorkflowDto = exports.DeactivateWorkflowDto = exports.ActivateWorkflowDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.UpdateWorkflowDto = exports.CreateWorkflowDto = exports.MAX_EXPECTED_REQUEST_SIZE = exports.MAX_WORKFLOW_SIZE = exports.MAX_PINNED_DATA_SIZE = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.NEW_VARIABLE_KEY_REGEX = exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.AUTO_PUBLISH_MODE = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = void 0;
19
- exports.ENCRYPTION_KEYS_SORT_OPTIONS = exports.ListEncryptionKeysQueryDto = exports.CreateEncryptionKeyDto = exports.VersionQueryDto = exports.VersionSinceDateQueryDto = exports.ExecutionRedactionQueryDtoSchema = exports.GetQuickConnectApiKeyDto = exports.UpdateSecretsProviderConnectionDto = exports.TestSecretsProviderConnectionDto = exports.SetSecretsProviderConnectionIsEnabledDto = exports.CreateSecretsProviderConnectionDto = exports.UpdateExternalSecretsSettingsDto = exports.UpdateWorkflowHistoryVersionDto = exports.WorkflowHistoryVersionsByIdsDto = exports.UpdateSecuritySettingsDto = exports.SecuritySettingsDto = exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.InstanceMcpClientStatsResponseDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.ExportWorkflowsRequestDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = exports.updateDataTableColumnSchema = exports.RenameDataTableColumnDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.PublicApiListDataTableContentQueryDto = exports.ListDataTableContentQueryDto = exports.PublicApiListDataTableQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.PublicApiCreateDataTableDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.TestOidcConfigResponseDto = exports.OIDC_PROMPT_VALUES = exports.OidcConfigDto = exports.RoleProjectMembersResponseDto = exports.RoleAssignmentsResponseDto = exports.RoleGetQueryDto = void 0;
18
+ exports.ListRoleMappingRuleQueryDto = exports.MoveRoleMappingRuleDto = exports.PatchRoleMappingRuleDto = exports.CreateRoleMappingRuleDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.MAX_ITEMS_PER_PAGE = exports.PaginationDto = exports.DeleteDestinationQueryDto = exports.TestDestinationQueryDto = exports.CreateDestinationDto = exports.GetDestinationQueryDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.GetResourceDependenciesDto = exports.GetResourceDependencyCountsDto = exports.ArchiveWorkflowDto = exports.DeactivateWorkflowDto = exports.ActivateWorkflowDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.UpdateWorkflowDto = exports.CreateWorkflowDto = exports.MAX_EXPECTED_REQUEST_SIZE = exports.MAX_WORKFLOW_SIZE = exports.MAX_PINNED_DATA_SIZE = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.NEW_VARIABLE_KEY_REGEX = exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.AUTO_PUBLISH_MODE = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = void 0;
19
+ exports.ENCRYPTION_KEYS_SORT_OPTIONS = exports.ListEncryptionKeysQueryDto = exports.CreateEncryptionKeyDto = exports.VersionQueryDto = exports.VersionSinceDateQueryDto = exports.ExecutionRedactionQueryDtoSchema = exports.GetQuickConnectApiKeyDto = exports.UpdateSecretsProviderConnectionDto = exports.TestSecretsProviderConnectionDto = exports.SetSecretsProviderConnectionIsEnabledDto = exports.CreateSecretsProviderConnectionDto = exports.UpdateExternalSecretsSettingsDto = exports.UpdateWorkflowHistoryVersionDto = exports.WorkflowHistoryVersionsByIdsDto = exports.UpdateSecuritySettingsDto = exports.SecuritySettingsDto = exports.ProvisioningConfigPatchDto = exports.ProvisioningConfigDto = exports.InstanceMcpClientStatsResponseDto = exports.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.IMPORT_PACKAGE_REQUEST_FORM_FIELDS = exports.ImportPackageRequestDto = exports.ExportWorkflowsRequestDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = exports.updateDataTableColumnSchema = exports.RenameDataTableColumnDto = exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.PublicApiListDataTableContentQueryDto = exports.ListDataTableContentQueryDto = exports.PublicApiListDataTableQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.PublicApiCreateDataTableDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.TestOidcConfigResponseDto = exports.OIDC_PROMPT_VALUES = exports.OidcConfigDto = exports.RoleProjectMembersResponseDto = exports.RoleAssignmentsResponseDto = exports.RoleGetQueryDto = exports.RoleListQueryDto = void 0;
20
20
  var get_node_types_by_identifier_dto_1 = require("./node-types/get-node-types-by-identifier.dto");
21
21
  Object.defineProperty(exports, "GetNodeTypesByIdentifierRequestDto", { enumerable: true, get: function () { return get_node_types_by_identifier_dto_1.GetNodeTypesByIdentifierRequestDto; } });
22
22
  var ai_ask_request_dto_1 = require("./ai/ai-ask-request.dto");
@@ -193,6 +193,7 @@ var delete_destination_query_dto_1 = require("./log-streaming/delete-destination
193
193
  Object.defineProperty(exports, "DeleteDestinationQueryDto", { enumerable: true, get: function () { return delete_destination_query_dto_1.DeleteDestinationQueryDto; } });
194
194
  var pagination_dto_1 = require("./pagination/pagination.dto");
195
195
  Object.defineProperty(exports, "PaginationDto", { enumerable: true, get: function () { return pagination_dto_1.PaginationDto; } });
196
+ Object.defineProperty(exports, "MAX_ITEMS_PER_PAGE", { enumerable: true, get: function () { return pagination_dto_1.MAX_ITEMS_PER_PAGE; } });
196
197
  var users_list_filter_dto_1 = require("./user/users-list-filter.dto");
197
198
  Object.defineProperty(exports, "UsersListFilterDto", { enumerable: true, get: function () { return users_list_filter_dto_1.UsersListFilterDto; } });
198
199
  Object.defineProperty(exports, "USERS_LIST_SORT_OPTIONS", { enumerable: true, get: function () { return users_list_filter_dto_1.USERS_LIST_SORT_OPTIONS; } });
@@ -257,6 +258,9 @@ var import_csv_to_data_table_dto_1 = require("./data-table/import-csv-to-data-ta
257
258
  Object.defineProperty(exports, "ImportCsvToDataTableDto", { enumerable: true, get: function () { return import_csv_to_data_table_dto_1.ImportCsvToDataTableDto; } });
258
259
  var export_workflows_request_dto_1 = require("./packages/export-workflows-request.dto");
259
260
  Object.defineProperty(exports, "ExportWorkflowsRequestDto", { enumerable: true, get: function () { return export_workflows_request_dto_1.ExportWorkflowsRequestDto; } });
261
+ var import_package_request_dto_1 = require("./packages/import-package-request.dto");
262
+ Object.defineProperty(exports, "ImportPackageRequestDto", { enumerable: true, get: function () { return import_package_request_dto_1.ImportPackageRequestDto; } });
263
+ Object.defineProperty(exports, "IMPORT_PACKAGE_REQUEST_FORM_FIELDS", { enumerable: true, get: function () { return import_package_request_dto_1.IMPORT_PACKAGE_REQUEST_FORM_FIELDS; } });
260
264
  __exportStar(require("./evaluations"), exports);
261
265
  var oauth_client_dto_1 = require("./oauth/oauth-client.dto");
262
266
  Object.defineProperty(exports, "OAuthClientResponseDto", { enumerable: true, get: function () { return oauth_client_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oHAA+G;AAAtG,4JAAA,kCAAkC,OAAA;AAE3C,2GAA+F;AAAtF,+IAAA,wBAAwB,OAAA;AAEjC,4FAGoD;AAFnD,iJAAA,gCAAgC,OAAA;AAIjC,wGAAmG;AAA1F,wIAAA,wBAAwB,OAAA;AACjC,kFAA+E;AAAtE,oHAAA,eAAe,OAAA;AAExB,oFAAgF;AAAvE,mIAAA,sBAAsB,OAAA;AAC/B,8FAIqD;AAHpD,4IAAA,0BAA0B,OAAA;AAC1B,8IAAA,4BAA4B,OAAA"}
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  declare const InstanceAiRenameThreadRequestDto_base: import("../../zod-class").ZodClass<{
3
- title?: string | undefined;
4
3
  metadata?: Record<string, unknown> | undefined;
4
+ title?: string | undefined;
5
5
  }, {
6
6
  title: z.ZodOptional<z.ZodString>;
7
7
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const OIDC_PROMPT_VALUES: readonly ["none", "login", "consent", "select_account", "create"];
3
3
  declare const OidcConfigDto_base: import("../../zod-class").ZodClass<{
4
- prompt: "create" | "none" | "login" | "consent" | "select_account";
4
+ prompt: "none" | "create" | "login" | "consent" | "select_account";
5
5
  loginEnabled: boolean;
6
6
  clientId: string;
7
7
  clientSecret: string;
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ export declare const IMPORT_PACKAGE_REQUEST_FORM_FIELDS: readonly ["projectId", "folderId"];
3
+ declare const ImportPackageRequestDto_base: import("../../zod-class").ZodClass<{
4
+ projectId?: string | undefined;
5
+ folderId?: string | undefined;
6
+ }, {
7
+ projectId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
8
+ folderId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
9
+ }>;
10
+ export declare class ImportPackageRequestDto extends ImportPackageRequestDto_base {
11
+ }
12
+ export {};
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImportPackageRequestDto = exports.IMPORT_PACKAGE_REQUEST_FORM_FIELDS = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_class_1 = require("../../zod-class");
6
+ exports.IMPORT_PACKAGE_REQUEST_FORM_FIELDS = ['projectId', 'folderId'];
7
+ const optionalFormId = zod_1.z
8
+ .string()
9
+ .optional()
10
+ .transform((value) => {
11
+ if (value === undefined)
12
+ return undefined;
13
+ const trimmed = value.trim();
14
+ return trimmed.length > 0 ? trimmed : undefined;
15
+ });
16
+ class ImportPackageRequestDto extends zod_class_1.Z.class({
17
+ projectId: optionalFormId,
18
+ folderId: optionalFormId,
19
+ }) {
20
+ }
21
+ exports.ImportPackageRequestDto = ImportPackageRequestDto;
22
+ //# sourceMappingURL=import-package-request.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-package-request.dto.js","sourceRoot":"","sources":["../../../src/dto/packages/import-package-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAGvB,QAAA,kCAAkC,GAAG,CAAC,WAAW,EAAE,UAAU,CAAU,CAAC;AAGrF,MAAM,cAAc,GAAG,OAAC;KACtB,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE;IACpB,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC1C,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;AACjD,CAAC,CAAC,CAAC;AAEJ,MAAa,uBAAwB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACpD,SAAS,EAAE,cAAc;IACzB,QAAQ,EAAE,cAAc;CACxB,CAAC;CAAG;AAHL,0DAGK"}
@@ -6,6 +6,10 @@ declare const UpdateProjectDto_base: import("../../zod-class").ZodClass<{
6
6
  value: string;
7
7
  type: "icon" | "emoji";
8
8
  } | undefined;
9
+ customTelemetryTags?: {
10
+ value: string;
11
+ key: string;
12
+ }[] | undefined;
9
13
  }, {
10
14
  name: z.ZodOptional<z.ZodString>;
11
15
  icon: z.ZodOptional<z.ZodObject<{
@@ -19,6 +23,22 @@ declare const UpdateProjectDto_base: import("../../zod-class").ZodClass<{
19
23
  type: "icon" | "emoji";
20
24
  }>>;
21
25
  description: z.ZodOptional<z.ZodString>;
26
+ customTelemetryTags: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
27
+ key: z.ZodEffects<z.ZodString, string, string>;
28
+ value: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ value: string;
31
+ key: string;
32
+ }, {
33
+ value: string;
34
+ key: string;
35
+ }>, "many">, {
36
+ value: string;
37
+ key: string;
38
+ }[], {
39
+ value: string;
40
+ key: string;
41
+ }[]>>;
22
42
  }>;
23
43
  export declare class UpdateProjectDto extends UpdateProjectDto_base {
24
44
  }
@@ -29,6 +49,10 @@ declare const UpdateProjectWithRelationsDto_base: import("../../zod-class").ZodC
29
49
  value: string;
30
50
  type: "icon" | "emoji";
31
51
  } | undefined;
52
+ customTelemetryTags?: {
53
+ value: string;
54
+ key: string;
55
+ }[] | undefined;
32
56
  relations?: {
33
57
  role: string;
34
58
  userId: string;
@@ -56,6 +80,22 @@ declare const UpdateProjectWithRelationsDto_base: import("../../zod-class").ZodC
56
80
  type: "icon" | "emoji";
57
81
  }>>;
58
82
  description: z.ZodOptional<z.ZodString>;
83
+ customTelemetryTags: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
84
+ key: z.ZodEffects<z.ZodString, string, string>;
85
+ value: z.ZodString;
86
+ }, "strip", z.ZodTypeAny, {
87
+ value: string;
88
+ key: string;
89
+ }, {
90
+ value: string;
91
+ key: string;
92
+ }>, "many">, {
93
+ value: string;
94
+ key: string;
95
+ }[], {
96
+ value: string;
97
+ key: string;
98
+ }[]>>;
59
99
  }>;
60
100
  export declare class UpdateProjectWithRelationsDto extends UpdateProjectWithRelationsDto_base {
61
101
  }
@@ -4,10 +4,21 @@ exports.UpdateProjectWithRelationsDto = exports.UpdateProjectDto = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const project_schema_1 = require("../../schemas/project.schema");
6
6
  const zod_class_1 = require("../../zod-class");
7
+ const customTelemetryTagSchema = zod_1.z.object({
8
+ key: zod_1.z.string().refine((k) => k.trim().length > 0, { message: 'Key must not be empty' }),
9
+ value: zod_1.z.string(),
10
+ });
7
11
  const updateProjectShape = {
8
12
  name: project_schema_1.projectNameSchema.optional(),
9
13
  icon: project_schema_1.projectIconSchema.optional(),
10
14
  description: project_schema_1.projectDescriptionSchema.optional(),
15
+ customTelemetryTags: zod_1.z
16
+ .array(customTelemetryTagSchema)
17
+ .refine((tags) => {
18
+ const trimmedKeys = tags.map((t) => t.key.trim());
19
+ return trimmedKeys.length === new Set(trimmedKeys).size;
20
+ }, { message: 'Duplicate keys are not allowed in customTelemetryTags' })
21
+ .optional(),
11
22
  };
12
23
  class UpdateProjectDto extends zod_class_1.Z.class(updateProjectShape) {
13
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"update-project.dto.js","sourceRoot":"","sources":["../../../src/dto/project/update-project.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,iEAKsC;AACtC,+CAAoC;AAEpC,MAAM,kBAAkB,GAAG;IAC1B,IAAI,EAAE,kCAAiB,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,kCAAiB,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,yCAAwB,CAAC,QAAQ,EAAE;CAChD,CAAC;AAEF,MAAa,gBAAiB,SAAQ,aAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CAAG;AAApE,4CAAoE;AAEpE,MAAa,6BAA8B,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC1D,G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,KAAK,CAAC;IAC1D,GAAG,kBAAkB;IACrB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sCAAqB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC;CAAG;AAHL,sEAGK"}
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AUTO_PUBLISH_MODE: z.Values<["none", "all", "published"]>;
3
3
  declare const PullWorkFolderRequestDto_base: import("../../zod-class").ZodClass<{
4
- autoPublish: "all" | "none" | "published";
4
+ autoPublish: "none" | "all" | "published";
5
5
  force?: boolean | undefined;
6
6
  }, {
7
7
  force: z.ZodOptional<z.ZodBoolean>;
@@ -1,16 +1,23 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.UserUpdateRequestDto = void 0;
7
+ const xss_1 = __importDefault(require("xss"));
4
8
  const zod_1 = require("zod");
5
- const xss_check_1 = require("../../utils/xss-check");
6
9
  const zod_class_1 = require("../../zod-class");
10
+ const xssCheck = (value) => value ===
11
+ (0, xss_1.default)(value, {
12
+ whiteList: {},
13
+ });
7
14
  const URL_REGEX = /^(https?:\/\/|www\.)|(\.[\p{L}\d-]+)/iu;
8
15
  const urlCheck = (value) => !URL_REGEX.test(value);
9
16
  const nameSchema = () => zod_1.z
10
17
  .string()
11
18
  .min(1)
12
19
  .max(32)
13
- .refine(xss_check_1.xssCheck, {
20
+ .refine(xssCheck, {
14
21
  message: 'Potentially malicious string',
15
22
  })
16
23
  .refine(urlCheck, {
@@ -1 +1 @@
1
- {"version":3,"file":"user-update-request.dto.js","sourceRoot":"","sources":["../../../src/dto/user/user-update-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qDAAiD;AACjD,+CAAoC;AAEpC,MAAM,SAAS,GAAG,wCAAwC,CAAC;AAC3D,MAAM,QAAQ,GAAG,CAAC,KAA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,EAAE,CAAC;KACP,MAAM,CAAC,QAAQ,EAAE;IACjB,OAAO,EAAE,8BAA8B;CACvC,CAAC;KACD,MAAM,CAAC,QAAQ,EAAE;IACjB,OAAO,EAAE,8BAA8B;CACvC,CAAC,CAAC;AAEL,MAAa,oBAAqB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACjD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACzB,SAAS,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAI9B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;CAAG;AATL,oDASK"}
@@ -4,11 +4,11 @@ export declare const WORKFLOW_NAME_MAX_LENGTH = 128;
4
4
  export declare const MAX_PINNED_DATA_SIZE: number;
5
5
  export declare const MAX_WORKFLOW_SIZE: number;
6
6
  export declare const MAX_EXPECTED_REQUEST_SIZE = 2048;
7
- export declare const workflowNameSchema: z.ZodEffects<z.ZodString, string, string>;
7
+ export declare const workflowNameSchema: z.ZodString;
8
8
  export declare const workflowDescriptionSchema: z.ZodNullable<z.ZodString>;
9
9
  export declare const workflowNodesSchema: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
10
10
  export declare const workflowConnectionsSchema: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
11
- export declare const workflowSettingsSchema: z.ZodType<IWorkflowSettings, z.ZodTypeDef, IWorkflowSettings>;
11
+ export declare const workflowSettingsSchema: z.ZodType<IWorkflowSettings | null>;
12
12
  export declare const workflowStaticDataSchema: z.ZodEffects<z.ZodType<IDataObject | null, z.ZodTypeDef, IDataObject | null>, IDataObject | null, unknown>;
13
13
  export declare const workflowPinDataSchema: z.ZodType<IPinData | null, z.ZodTypeDef, IPinData | null>;
14
14
  export declare const workflowMetaSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -26,11 +26,11 @@ export declare const workflowNodeGroupsSchema: z.ZodArray<z.ZodObject<{
26
26
  nodeIds: string[];
27
27
  }>, "many">;
28
28
  export declare const baseWorkflowShape: {
29
- readonly name: z.ZodEffects<z.ZodString, string, string>;
29
+ readonly name: z.ZodString;
30
30
  readonly description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  readonly nodes: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
32
32
  readonly connections: z.ZodType<IConnections, z.ZodTypeDef, IConnections>;
33
- readonly settings: z.ZodOptional<z.ZodType<IWorkflowSettings, z.ZodTypeDef, IWorkflowSettings>>;
33
+ readonly settings: z.ZodOptional<z.ZodType<IWorkflowSettings | null, z.ZodTypeDef, IWorkflowSettings | null>>;
34
34
  readonly staticData: z.ZodOptional<z.ZodEffects<z.ZodType<IDataObject | null, z.ZodTypeDef, IDataObject | null>, IDataObject | null, unknown>>;
35
35
  readonly meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
36
  readonly pinData: z.ZodOptional<z.ZodType<IPinData | null, z.ZodTypeDef, IPinData | null>>;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.baseWorkflowShape = exports.workflowNodeGroupsSchema = exports.workflowMetaSchema = exports.workflowPinDataSchema = exports.workflowStaticDataSchema = exports.workflowSettingsSchema = exports.workflowConnectionsSchema = exports.workflowNodesSchema = exports.workflowDescriptionSchema = exports.workflowNameSchema = exports.MAX_EXPECTED_REQUEST_SIZE = exports.MAX_WORKFLOW_SIZE = exports.MAX_PINNED_DATA_SIZE = exports.WORKFLOW_NAME_MAX_LENGTH = void 0;
4
4
  const zod_1 = require("zod");
5
- const xss_check_1 = require("../../utils/xss-check");
6
5
  exports.WORKFLOW_NAME_MAX_LENGTH = 128;
7
6
  exports.MAX_PINNED_DATA_SIZE = 1024 * 1024 * 12;
8
7
  exports.MAX_WORKFLOW_SIZE = 1024 * 1024 * 16;
@@ -12,8 +11,7 @@ exports.workflowNameSchema = zod_1.z
12
11
  .min(1, { message: 'Workflow name is required' })
13
12
  .max(exports.WORKFLOW_NAME_MAX_LENGTH, {
14
13
  message: `Workflow name must be ${exports.WORKFLOW_NAME_MAX_LENGTH} characters or less`,
15
- })
16
- .refine(xss_check_1.xssCheck, { message: 'Potentially malicious string' });
14
+ });
17
15
  exports.workflowDescriptionSchema = zod_1.z.string().nullable();
18
16
  exports.workflowNodesSchema = zod_1.z.custom((val) => Array.isArray(val), {
19
17
  message: 'Nodes must be an array',
@@ -21,9 +19,28 @@ exports.workflowNodesSchema = zod_1.z.custom((val) => Array.isArray(val), {
21
19
  exports.workflowConnectionsSchema = zod_1.z.custom((val) => typeof val === 'object' && val !== null && !Array.isArray(val), {
22
20
  message: 'Connections must be an object',
23
21
  });
24
- exports.workflowSettingsSchema = zod_1.z.custom((val) => val === null || (typeof val === 'object' && val !== null && !Array.isArray(val)), {
25
- message: 'Settings must be an object or null',
26
- });
22
+ const customTelemetryTagSchema = zod_1.z
23
+ .object({
24
+ key: zod_1.z
25
+ .string({ invalid_type_error: 'Key must be a string' })
26
+ .refine((key) => key.trim().length > 0, { message: 'Key must not be empty' }),
27
+ value: zod_1.z.string({ invalid_type_error: 'Value must be a string' }),
28
+ }, { invalid_type_error: 'Custom telemetry tag must be an object' })
29
+ .strict({ message: 'Custom telemetry tag must only include key and value' });
30
+ const customTelemetryTagsSchema = zod_1.z
31
+ .array(customTelemetryTagSchema, {
32
+ invalid_type_error: 'Custom telemetry tags must be an array',
33
+ })
34
+ .refine((tags) => {
35
+ const trimmedKeys = tags.map((tag) => tag.key.trim());
36
+ return trimmedKeys.length === new Set(trimmedKeys).size;
37
+ }, { message: 'Duplicate keys are not allowed in customTelemetryTags' });
38
+ exports.workflowSettingsSchema = zod_1.z
39
+ .object({
40
+ customTelemetryTags: customTelemetryTagsSchema.optional(),
41
+ })
42
+ .passthrough()
43
+ .nullable();
27
44
  exports.workflowStaticDataSchema = zod_1.z.preprocess((val) => {
28
45
  if (typeof val === 'string') {
29
46
  try {