@n8n/api-types 1.16.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/ai/ai-gateway-config-response.dto.d.ts +40 -0
- package/dist/dto/ai/ai-gateway-config-response.dto.js +21 -0
- package/dist/dto/ai/ai-gateway-config-response.dto.js.map +1 -0
- package/dist/dto/ai/ai-gateway-usage-response.dto.d.ts +22 -0
- package/dist/dto/ai/ai-gateway-usage-response.dto.js +9 -0
- package/dist/dto/ai/ai-gateway-usage-response.dto.js.map +1 -0
- package/dist/dto/auth/embed-login-body.dto.d.ts +2 -0
- package/dist/dto/auth/embed-login-body.dto.js +1 -0
- package/dist/dto/auth/embed-login-body.dto.js.map +1 -1
- package/dist/dto/auth/embed-login-query.dto.d.ts +2 -0
- package/dist/dto/auth/embed-login-query.dto.js +1 -0
- package/dist/dto/auth/embed-login-query.dto.js.map +1 -1
- package/dist/dto/index.d.ts +6 -0
- package/dist/dto/index.js +13 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +4 -2
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.js +2 -1
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.js.map +1 -1
- package/dist/dto/instance-version-history/version-query.dto.d.ts +13 -0
- package/dist/dto/instance-version-history/version-query.dto.js +13 -0
- package/dist/dto/instance-version-history/version-query.dto.js.map +1 -0
- package/dist/dto/instance-version-history/version-since-date-query.dto.d.ts +9 -0
- package/dist/dto/instance-version-history/version-since-date-query.dto.js +11 -0
- package/dist/dto/instance-version-history/version-since-date-query.dto.js.map +1 -0
- package/dist/dto/saml/saml-preferences.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +3 -0
- package/dist/dto/workflows/base-workflow.dto.js +4 -1
- package/dist/dto/workflows/base-workflow.dto.js.map +1 -1
- package/dist/frontend-settings.d.ts +5 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/schemas/agent-run-reducer.d.ts +2 -1
- package/dist/schemas/agent-run-reducer.js +35 -7
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/credential-created.schema.d.ts +36 -0
- package/dist/schemas/credential-created.schema.js +17 -0
- package/dist/schemas/credential-created.schema.js.map +1 -0
- package/dist/schemas/instance-ai.schema.d.ts +499 -170
- package/dist/schemas/instance-ai.schema.js +60 -14
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/user.schema.d.ts +8 -0
- package/dist/schemas/user.schema.js +1 -0
- package/dist/schemas/user.schema.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const AiGatewayProviderConfigEntry_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
gatewayPath: string;
|
|
4
|
+
urlField: string;
|
|
5
|
+
apiKeyField: string;
|
|
6
|
+
}, {
|
|
7
|
+
gatewayPath: z.ZodString;
|
|
8
|
+
urlField: z.ZodString;
|
|
9
|
+
apiKeyField: z.ZodString;
|
|
10
|
+
}>;
|
|
11
|
+
export declare class AiGatewayProviderConfigEntry extends AiGatewayProviderConfigEntry_base {
|
|
12
|
+
}
|
|
13
|
+
declare const AiGatewayConfigDto_base: import("../../zod-class").ZodClass<{
|
|
14
|
+
nodes: string[];
|
|
15
|
+
credentialTypes: string[];
|
|
16
|
+
providerConfig: Record<string, {
|
|
17
|
+
gatewayPath: string;
|
|
18
|
+
urlField: string;
|
|
19
|
+
apiKeyField: string;
|
|
20
|
+
}>;
|
|
21
|
+
}, {
|
|
22
|
+
nodes: z.ZodArray<z.ZodString, "many">;
|
|
23
|
+
credentialTypes: z.ZodArray<z.ZodString, "many">;
|
|
24
|
+
providerConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
25
|
+
gatewayPath: z.ZodString;
|
|
26
|
+
urlField: z.ZodString;
|
|
27
|
+
apiKeyField: z.ZodString;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
gatewayPath: string;
|
|
30
|
+
urlField: string;
|
|
31
|
+
apiKeyField: string;
|
|
32
|
+
}, {
|
|
33
|
+
gatewayPath: string;
|
|
34
|
+
urlField: string;
|
|
35
|
+
apiKeyField: string;
|
|
36
|
+
}>>;
|
|
37
|
+
}>;
|
|
38
|
+
export declare class AiGatewayConfigDto extends AiGatewayConfigDto_base {
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiGatewayConfigDto = exports.AiGatewayProviderConfigEntry = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("../../zod-class");
|
|
6
|
+
const aiGatewayProviderConfigEntryShape = {
|
|
7
|
+
gatewayPath: zod_1.z.string(),
|
|
8
|
+
urlField: zod_1.z.string(),
|
|
9
|
+
apiKeyField: zod_1.z.string(),
|
|
10
|
+
};
|
|
11
|
+
class AiGatewayProviderConfigEntry extends zod_class_1.Z.class(aiGatewayProviderConfigEntryShape) {
|
|
12
|
+
}
|
|
13
|
+
exports.AiGatewayProviderConfigEntry = AiGatewayProviderConfigEntry;
|
|
14
|
+
class AiGatewayConfigDto extends zod_class_1.Z.class({
|
|
15
|
+
nodes: zod_1.z.array(zod_1.z.string()),
|
|
16
|
+
credentialTypes: zod_1.z.array(zod_1.z.string()),
|
|
17
|
+
providerConfig: zod_1.z.record(zod_1.z.object(aiGatewayProviderConfigEntryShape)),
|
|
18
|
+
}) {
|
|
19
|
+
}
|
|
20
|
+
exports.AiGatewayConfigDto = AiGatewayConfigDto;
|
|
21
|
+
//# sourceMappingURL=ai-gateway-config-response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-gateway-config-response.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-gateway-config-response.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAM,iCAAiC,GAAG;IACzC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC;AAEF,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC;CAAG;AAA/F,oEAA+F;AAE/F,MAAa,kBAAmB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/C,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC1B,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACpC,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAAC;CACrE,CAAC;CAAG;AAJL,gDAIK"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const AiGatewayUsageQueryDto_base: import("../../zod-class").ZodClass<{
|
|
2
|
+
limit: number;
|
|
3
|
+
offset: number;
|
|
4
|
+
}, {
|
|
5
|
+
offset: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
6
|
+
limit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
7
|
+
}>;
|
|
8
|
+
export declare class AiGatewayUsageQueryDto extends AiGatewayUsageQueryDto_base {
|
|
9
|
+
}
|
|
10
|
+
export interface AiGatewayUsageEntry {
|
|
11
|
+
provider: string;
|
|
12
|
+
model: string;
|
|
13
|
+
timestamp: number;
|
|
14
|
+
creditsDeducted: number;
|
|
15
|
+
inputTokens?: number;
|
|
16
|
+
outputTokens?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface AiGatewayUsageResponse {
|
|
19
|
+
entries: AiGatewayUsageEntry[];
|
|
20
|
+
total: number;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiGatewayUsageQueryDto = void 0;
|
|
4
|
+
const zod_class_1 = require("../../zod-class");
|
|
5
|
+
const pagination_dto_1 = require("../pagination/pagination.dto");
|
|
6
|
+
class AiGatewayUsageQueryDto extends zod_class_1.Z.class(pagination_dto_1.publicApiPaginationSchema) {
|
|
7
|
+
}
|
|
8
|
+
exports.AiGatewayUsageQueryDto = AiGatewayUsageQueryDto;
|
|
9
|
+
//# sourceMappingURL=ai-gateway-usage-response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-gateway-usage-response.dto.js","sourceRoot":"","sources":["../../../src/dto/ai/ai-gateway-usage-response.dto.ts"],"names":[],"mappings":";;;AAAA,+CAAoC;AACpC,iEAAyE;AAEzE,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC,0CAAyB,CAAC;CAAG;AAAjF,wDAAiF"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const EmbedLoginBodyDto_base: import("../../zod-class").ZodClass<{
|
|
3
3
|
token: string;
|
|
4
|
+
redirectTo?: string | undefined;
|
|
4
5
|
}, {
|
|
5
6
|
token: z.ZodString;
|
|
7
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
6
8
|
}>;
|
|
7
9
|
export declare class EmbedLoginBodyDto extends EmbedLoginBodyDto_base {
|
|
8
10
|
}
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const zod_class_1 = require("../../zod-class");
|
|
6
6
|
class EmbedLoginBodyDto extends zod_class_1.Z.class({
|
|
7
7
|
token: zod_1.z.string().min(1),
|
|
8
|
+
redirectTo: zod_1.z.string().optional(),
|
|
8
9
|
}) {
|
|
9
10
|
}
|
|
10
11
|
exports.EmbedLoginBodyDto = EmbedLoginBodyDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-login-body.dto.js","sourceRoot":"","sources":["../../../src/dto/auth/embed-login-body.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,iBAAkB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC9C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"embed-login-body.dto.js","sourceRoot":"","sources":["../../../src/dto/auth/embed-login-body.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,iBAAkB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC9C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;CAAG;AAHL,8CAGK"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const EmbedLoginQueryDto_base: import("../../zod-class").ZodClass<{
|
|
3
3
|
token: string;
|
|
4
|
+
redirectTo?: string | undefined;
|
|
4
5
|
}, {
|
|
5
6
|
token: z.ZodString;
|
|
7
|
+
redirectTo: z.ZodOptional<z.ZodString>;
|
|
6
8
|
}>;
|
|
7
9
|
export declare class EmbedLoginQueryDto extends EmbedLoginQueryDto_base {
|
|
8
10
|
}
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const zod_class_1 = require("../../zod-class");
|
|
6
6
|
class EmbedLoginQueryDto extends zod_class_1.Z.class({
|
|
7
7
|
token: zod_1.z.string().min(1),
|
|
8
|
+
redirectTo: zod_1.z.string().optional(),
|
|
8
9
|
}) {
|
|
9
10
|
}
|
|
10
11
|
exports.EmbedLoginQueryDto = EmbedLoginQueryDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-login-query.dto.js","sourceRoot":"","sources":["../../../src/dto/auth/embed-login-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,kBAAmB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"embed-login-query.dto.js","sourceRoot":"","sources":["../../../src/dto/auth/embed-login-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,kBAAmB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;CAAG;AAHL,gDAGK"}
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ export { AiSessionRetrievalRequestDto } from './ai/ai-session-retrieval-request.
|
|
|
8
8
|
export { AiUsageSettingsRequestDto } from './ai/ai-usage-settings-request.dto';
|
|
9
9
|
export { AiTruncateMessagesRequestDto } from './ai/ai-truncate-messages-request.dto';
|
|
10
10
|
export { AiClearSessionRequestDto } from './ai/ai-clear-session-request.dto';
|
|
11
|
+
export type { AiGatewayConfigDto, AiGatewayProviderConfigEntry, } from './ai/ai-gateway-config-response.dto';
|
|
12
|
+
export { AiGatewayUsageQueryDto } from './ai/ai-gateway-usage-response.dto';
|
|
13
|
+
export type { AiGatewayUsageEntry, AiGatewayUsageResponse, } from './ai/ai-gateway-usage-response.dto';
|
|
11
14
|
export { InstanceAiConfirmRequestDto } from './instance-ai/instance-ai-confirm-request.dto';
|
|
12
15
|
export { InstanceAiRenameThreadRequestDto } from './instance-ai/instance-ai-rename-thread-request.dto';
|
|
13
16
|
export { BinaryDataQueryDto } from './binary-data/binary-data-query.dto';
|
|
@@ -55,6 +58,7 @@ export { UpdateVariableRequestDto } from './variables/update-variable-request.dt
|
|
|
55
58
|
export { CredentialsGetOneRequestQuery } from './credentials/credentials-get-one-request.dto';
|
|
56
59
|
export { CredentialsGetManyRequestQuery } from './credentials/credentials-get-many-request.dto';
|
|
57
60
|
export { GenerateCredentialNameRequestQuery } from './credentials/generate-credential-name.dto';
|
|
61
|
+
export { MAX_PINNED_DATA_SIZE, MAX_WORKFLOW_SIZE, MAX_EXPECTED_REQUEST_SIZE, } from './workflows/base-workflow.dto';
|
|
58
62
|
export { CreateWorkflowDto } from './workflows/create-workflow.dto';
|
|
59
63
|
export { UpdateWorkflowDto } from './workflows/update-workflow.dto';
|
|
60
64
|
export { ImportWorkflowFromUrlDto } from './workflows/import-workflow-from-url.dto';
|
|
@@ -119,3 +123,5 @@ export { TestSecretsProviderConnectionDto } from './secrets-provider/test-secret
|
|
|
119
123
|
export { UpdateSecretsProviderConnectionDto } from './secrets-provider/update-secrets-provider-connection.dto';
|
|
120
124
|
export { GetQuickConnectApiKeyDto } from './quick-connect/create-quick-connect-credential.dto';
|
|
121
125
|
export { ExecutionRedactionQueryDtoSchema, type ExecutionRedactionQueryDto, } from './executions/execution-redaction-query.dto';
|
|
126
|
+
export { VersionSinceDateQueryDto } from './instance-version-history/version-since-date-query.dto';
|
|
127
|
+
export { VersionQueryDto } from './instance-version-history/version-query.dto';
|
package/dist/dto/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
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.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = 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.UpdateDataTableDto = void 0;
|
|
3
|
+
exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = 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.UpdateCredentialResolverDto = exports.CreateCredentialResolverDto = exports.EmbedLoginBodyDto = exports.EmbedLoginQueryDto = exports.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.InstanceAiRenameThreadRequestDto = 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;
|
|
4
|
+
exports.RoleAssignmentsResponseDto = exports.RoleGetQueryDto = 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 = void 0;
|
|
5
|
+
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.DeleteOAuthClientResponseDto = exports.ListOAuthClientsResponseDto = exports.OAuthClientResponseDto = exports.ImportCsvToDataTableDto = exports.DownloadDataTableCsvQueryDto = 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.UpdateDataTableDto = exports.CreateDataTableDto = exports.TestOidcConfigResponseDto = exports.OidcConfigDto = exports.RoleProjectMembersResponseDto = void 0;
|
|
6
6
|
var get_node_types_by_identifier_dto_1 = require("./node-types/get-node-types-by-identifier.dto");
|
|
7
7
|
Object.defineProperty(exports, "GetNodeTypesByIdentifierRequestDto", { enumerable: true, get: function () { return get_node_types_by_identifier_dto_1.GetNodeTypesByIdentifierRequestDto; } });
|
|
8
8
|
var ai_ask_request_dto_1 = require("./ai/ai-ask-request.dto");
|
|
@@ -24,6 +24,8 @@ var ai_truncate_messages_request_dto_1 = require("./ai/ai-truncate-messages-requ
|
|
|
24
24
|
Object.defineProperty(exports, "AiTruncateMessagesRequestDto", { enumerable: true, get: function () { return ai_truncate_messages_request_dto_1.AiTruncateMessagesRequestDto; } });
|
|
25
25
|
var ai_clear_session_request_dto_1 = require("./ai/ai-clear-session-request.dto");
|
|
26
26
|
Object.defineProperty(exports, "AiClearSessionRequestDto", { enumerable: true, get: function () { return ai_clear_session_request_dto_1.AiClearSessionRequestDto; } });
|
|
27
|
+
var ai_gateway_usage_response_dto_1 = require("./ai/ai-gateway-usage-response.dto");
|
|
28
|
+
Object.defineProperty(exports, "AiGatewayUsageQueryDto", { enumerable: true, get: function () { return ai_gateway_usage_response_dto_1.AiGatewayUsageQueryDto; } });
|
|
27
29
|
var instance_ai_confirm_request_dto_1 = require("./instance-ai/instance-ai-confirm-request.dto");
|
|
28
30
|
Object.defineProperty(exports, "InstanceAiConfirmRequestDto", { enumerable: true, get: function () { return instance_ai_confirm_request_dto_1.InstanceAiConfirmRequestDto; } });
|
|
29
31
|
var instance_ai_rename_thread_request_dto_1 = require("./instance-ai/instance-ai-rename-thread-request.dto");
|
|
@@ -119,6 +121,10 @@ var credentials_get_many_request_dto_1 = require("./credentials/credentials-get-
|
|
|
119
121
|
Object.defineProperty(exports, "CredentialsGetManyRequestQuery", { enumerable: true, get: function () { return credentials_get_many_request_dto_1.CredentialsGetManyRequestQuery; } });
|
|
120
122
|
var generate_credential_name_dto_1 = require("./credentials/generate-credential-name.dto");
|
|
121
123
|
Object.defineProperty(exports, "GenerateCredentialNameRequestQuery", { enumerable: true, get: function () { return generate_credential_name_dto_1.GenerateCredentialNameRequestQuery; } });
|
|
124
|
+
var base_workflow_dto_1 = require("./workflows/base-workflow.dto");
|
|
125
|
+
Object.defineProperty(exports, "MAX_PINNED_DATA_SIZE", { enumerable: true, get: function () { return base_workflow_dto_1.MAX_PINNED_DATA_SIZE; } });
|
|
126
|
+
Object.defineProperty(exports, "MAX_WORKFLOW_SIZE", { enumerable: true, get: function () { return base_workflow_dto_1.MAX_WORKFLOW_SIZE; } });
|
|
127
|
+
Object.defineProperty(exports, "MAX_EXPECTED_REQUEST_SIZE", { enumerable: true, get: function () { return base_workflow_dto_1.MAX_EXPECTED_REQUEST_SIZE; } });
|
|
122
128
|
var create_workflow_dto_1 = require("./workflows/create-workflow.dto");
|
|
123
129
|
Object.defineProperty(exports, "CreateWorkflowDto", { enumerable: true, get: function () { return create_workflow_dto_1.CreateWorkflowDto; } });
|
|
124
130
|
var update_workflow_dto_1 = require("./workflows/update-workflow.dto");
|
|
@@ -254,4 +260,8 @@ var create_quick_connect_credential_dto_1 = require("./quick-connect/create-quic
|
|
|
254
260
|
Object.defineProperty(exports, "GetQuickConnectApiKeyDto", { enumerable: true, get: function () { return create_quick_connect_credential_dto_1.GetQuickConnectApiKeyDto; } });
|
|
255
261
|
var execution_redaction_query_dto_1 = require("./executions/execution-redaction-query.dto");
|
|
256
262
|
Object.defineProperty(exports, "ExecutionRedactionQueryDtoSchema", { enumerable: true, get: function () { return execution_redaction_query_dto_1.ExecutionRedactionQueryDtoSchema; } });
|
|
263
|
+
var version_since_date_query_dto_1 = require("./instance-version-history/version-since-date-query.dto");
|
|
264
|
+
Object.defineProperty(exports, "VersionSinceDateQueryDto", { enumerable: true, get: function () { return version_since_date_query_dto_1.VersionSinceDateQueryDto; } });
|
|
265
|
+
var version_query_dto_1 = require("./instance-version-history/version-query.dto");
|
|
266
|
+
Object.defineProperty(exports, "VersionQueryDto", { enumerable: true, get: function () { return version_query_dto_1.VersionQueryDto; } });
|
|
257
267
|
//# sourceMappingURL=index.js.map
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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C,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"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
declare const InstanceAiRenameThreadRequestDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
-
title
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4
5
|
}, {
|
|
5
|
-
title: z.ZodString
|
|
6
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
8
|
}>;
|
|
7
9
|
export declare class InstanceAiRenameThreadRequestDto extends InstanceAiRenameThreadRequestDto_base {
|
|
8
10
|
}
|
|
@@ -4,7 +4,8 @@ exports.InstanceAiRenameThreadRequestDto = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_class_1 = require("../../zod-class");
|
|
6
6
|
class InstanceAiRenameThreadRequestDto extends zod_class_1.Z.class({
|
|
7
|
-
title: zod_1.z.string().trim().min(1).max(255),
|
|
7
|
+
title: zod_1.z.string().trim().min(1).max(255).optional(),
|
|
8
|
+
metadata: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
8
9
|
}) {
|
|
9
10
|
}
|
|
10
11
|
exports.InstanceAiRenameThreadRequestDto = InstanceAiRenameThreadRequestDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-ai-rename-thread-request.dto.js","sourceRoot":"","sources":["../../../src/dto/instance-ai/instance-ai-rename-thread-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,gCAAiC,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7D,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-ai-rename-thread-request.dto.js","sourceRoot":"","sources":["../../../src/dto/instance-ai/instance-ai-rename-thread-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,gCAAiC,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7D,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACnD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC;CAAG;AAHL,4EAGK"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const VersionQueryDto_base: import("../../zod-class").ZodClass<{
|
|
3
|
+
major: number;
|
|
4
|
+
minor: number;
|
|
5
|
+
patch: number;
|
|
6
|
+
}, {
|
|
7
|
+
major: z.ZodNumber;
|
|
8
|
+
minor: z.ZodNumber;
|
|
9
|
+
patch: z.ZodNumber;
|
|
10
|
+
}>;
|
|
11
|
+
export declare class VersionQueryDto extends VersionQueryDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VersionQueryDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("../../zod-class");
|
|
6
|
+
class VersionQueryDto extends zod_class_1.Z.class({
|
|
7
|
+
major: zod_1.z.coerce.number().int().nonnegative(),
|
|
8
|
+
minor: zod_1.z.coerce.number().int().nonnegative(),
|
|
9
|
+
patch: zod_1.z.coerce.number().int().nonnegative(),
|
|
10
|
+
}) {
|
|
11
|
+
}
|
|
12
|
+
exports.VersionQueryDto = VersionQueryDto;
|
|
13
|
+
//# sourceMappingURL=version-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-query.dto.js","sourceRoot":"","sources":["../../../src/dto/instance-version-history/version-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,eAAgB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC5C,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5C,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;CAC5C,CAAC;CAAG;AAJL,0CAIK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VersionSinceDateQueryDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("../../zod-class");
|
|
6
|
+
class VersionSinceDateQueryDto extends zod_class_1.Z.class({
|
|
7
|
+
since: zod_1.z.coerce.date(),
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.VersionSinceDateQueryDto = VersionSinceDateQueryDto;
|
|
11
|
+
//# sourceMappingURL=version-since-date-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-since-date-query.dto.js","sourceRoot":"","sources":["../../../src/dto/instance-version-history/version-since-date-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+CAAoC;AAEpC,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;CACtB,CAAC;CAAG;AAFL,4DAEK"}
|
|
@@ -31,6 +31,7 @@ declare const SamlPreferences_base: import("../../zod-class").ZodClass<{
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
relayState: string;
|
|
34
|
+
metadata?: string | undefined;
|
|
34
35
|
mapping?: {
|
|
35
36
|
email: string;
|
|
36
37
|
firstName: string;
|
|
@@ -39,7 +40,6 @@ declare const SamlPreferences_base: import("../../zod-class").ZodClass<{
|
|
|
39
40
|
n8nInstanceRole?: string | undefined;
|
|
40
41
|
n8nProjectRoles?: string[] | undefined;
|
|
41
42
|
} | undefined;
|
|
42
|
-
metadata?: string | undefined;
|
|
43
43
|
metadataUrl?: string | undefined;
|
|
44
44
|
loginEnabled?: boolean | undefined;
|
|
45
45
|
loginLabel?: string | undefined;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { IPinData, IConnections, IDataObject, INode, IWorkflowSettings } from 'n8n-workflow';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const WORKFLOW_NAME_MAX_LENGTH = 128;
|
|
4
|
+
export declare const MAX_PINNED_DATA_SIZE: number;
|
|
5
|
+
export declare const MAX_WORKFLOW_SIZE: number;
|
|
6
|
+
export declare const MAX_EXPECTED_REQUEST_SIZE = 2048;
|
|
4
7
|
export declare const workflowNameSchema: z.ZodString;
|
|
5
8
|
export declare const workflowDescriptionSchema: z.ZodNullable<z.ZodString>;
|
|
6
9
|
export declare const workflowNodesSchema: z.ZodType<INode[], z.ZodTypeDef, INode[]>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.baseWorkflowShape = exports.workflowMetaSchema = exports.workflowPinDataSchema = exports.workflowStaticDataSchema = exports.workflowSettingsSchema = exports.workflowConnectionsSchema = exports.workflowNodesSchema = exports.workflowDescriptionSchema = exports.workflowNameSchema = exports.WORKFLOW_NAME_MAX_LENGTH = void 0;
|
|
3
|
+
exports.baseWorkflowShape = 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
5
|
exports.WORKFLOW_NAME_MAX_LENGTH = 128;
|
|
6
|
+
exports.MAX_PINNED_DATA_SIZE = 1024 * 1024 * 12;
|
|
7
|
+
exports.MAX_WORKFLOW_SIZE = 1024 * 1024 * 16;
|
|
8
|
+
exports.MAX_EXPECTED_REQUEST_SIZE = 2048;
|
|
6
9
|
exports.workflowNameSchema = zod_1.z
|
|
7
10
|
.string()
|
|
8
11
|
.min(1, { message: 'Workflow name is required' })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-workflow.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/base-workflow.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAEX,QAAA,wBAAwB,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"base-workflow.dto.js","sourceRoot":"","sources":["../../../src/dto/workflows/base-workflow.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAEX,QAAA,wBAAwB,GAAG,GAAG,CAAC;AAG/B,QAAA,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;AAGxC,QAAA,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;AAGrC,QAAA,yBAAyB,GAAG,IAAI,CAAC;AAEjC,QAAA,kBAAkB,GAAG,OAAC;KACjC,MAAM,EAAE;KAC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AAE,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAGlF,IAAI,EAAE,OAAC;SAEL,KAAK,CAAC,CAAC,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;SACrF,SAAS,CAAC,CAAC,GAAG,EAAY,EAAE;QAE5B,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;YACpE,OAAQ,GAA2C,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC1E,CAAC;QACD,OAAO,GAAe,CAAC;IACxB,CAAC,CAAC;SACD,QAAQ,EAAE;IAGZ,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAGzC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACxB,CAAC"}
|
|
@@ -202,6 +202,10 @@ export interface FrontendSettings {
|
|
|
202
202
|
credits: number;
|
|
203
203
|
setup: boolean;
|
|
204
204
|
};
|
|
205
|
+
aiGateway?: {
|
|
206
|
+
enabled: boolean;
|
|
207
|
+
creditsQuota: number;
|
|
208
|
+
};
|
|
205
209
|
ai: {
|
|
206
210
|
allowSendingParameterValues: boolean;
|
|
207
211
|
};
|
|
@@ -238,10 +242,9 @@ export type FrontendModuleSettings = {
|
|
|
238
242
|
};
|
|
239
243
|
'instance-ai'?: {
|
|
240
244
|
enabled: boolean;
|
|
241
|
-
localGateway: boolean;
|
|
242
245
|
localGatewayDisabled: boolean;
|
|
243
|
-
localGatewayFallbackDirectory: string | null;
|
|
244
246
|
proxyEnabled: boolean;
|
|
247
|
+
optinModalDismissed: boolean;
|
|
245
248
|
};
|
|
246
249
|
'quick-connect'?: {
|
|
247
250
|
options: QuickConnectOption[];
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type { DependencyType, DependencyResourceType, ResolvedDependency, Resolv
|
|
|
25
25
|
export type { DependencyTypeCounts, DependencyCountsBatchResponse, } from './schemas/dependency-counts.schema';
|
|
26
26
|
export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/project.schema';
|
|
27
27
|
export { isSourceControlledFileStatus, type SourceControlledFileStatus, type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
|
|
28
|
-
export { type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
|
|
28
|
+
export { insightsSummarySchema, type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
|
|
29
29
|
export { ROLE, type Role, type User, type UsersList, usersListSchema, userBaseSchema, userDetailSchema, } from './schemas/user.schema';
|
|
30
30
|
export { DATA_TABLE_COLUMN_REGEX, DATA_TABLE_COLUMN_MAX_LENGTH, DATA_TABLE_COLUMN_ERROR_MESSAGE, type DataTable, type DataTableColumn, type DataTableCreateColumnSchema, type DataTableListFilter, type DataTableListOptions, type DataTableListSortBy, dateTimeSchema, dataTableColumnNameSchema, } from './schemas/data-table.schema';
|
|
31
31
|
export type { DataTableFilter, DataTableFilterConditionType, } from './schemas/data-table-filter.schema';
|
|
@@ -37,8 +37,9 @@ export { MIGRATION_REPORT_TARGET_VERSION } from './schemas/breaking-changes.sche
|
|
|
37
37
|
export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnectionTestState, SecretsProviderAccessRole, ConnectionProjectSummary, SecretProviderConnectionListItem, SecretProviderConnection, SecretProviderTypeResponse, SecretCompletionsResponse, TestSecretProviderConnectionResponse, ReloadSecretProviderConnectionResponse, } from './schemas/secrets-provider.schema';
|
|
38
38
|
export { testSecretProviderConnectionResponseSchema, reloadSecretProviderConnectionResponseSchema, } from './schemas/secrets-provider.schema';
|
|
39
39
|
export { communityPackageResponseSchema, type CommunityPackageResponse, } from './schemas/community-package.schema';
|
|
40
|
-
export {
|
|
41
|
-
export
|
|
40
|
+
export { publicApiCreatedCredentialSchema, type PublicApiCreatedCredential, } from './schemas/credential-created.schema';
|
|
41
|
+
export { instanceAiEventTypeSchema, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, instanceAiFilesystemResponseSchema, instanceAiGatewayCapabilitiesSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, domainAccessActionSchema, domainAccessMetaSchema, credentialFlowSchema, gatewayConfirmationRequiredPayloadSchema, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, applyBranchReadOnlyOverrides, } from './schemas/instance-ai.schema';
|
|
42
|
+
export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiConfirmResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRichMessagesResponse, InstanceAiThreadStatusResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse, InstanceAiModelCredential, InstanceAiPermissionMode, InstanceAiPermissions, InstanceAiTargetResource, DomainAccessAction, DomainAccessMeta, InstanceAiCredentialFlow, GatewayConfirmationRequiredPayload, ToolCategory, InstanceAiWorkflowSetupNode, PlannedTaskArg, InstanceAiEvalNodeExecutionMode, InstanceAiEvalInterceptedRequest, InstanceAiEvalNodeResult, InstanceAiEvalMockHints, InstanceAiEvalExecutionResult, } from './schemas/instance-ai.schema';
|
|
42
43
|
export { createInitialState, reduceEvent, findAgent, toAgentTree, } from './schemas/agent-run-reducer';
|
|
43
44
|
export type { AgentRunState, AgentNode } from './schemas/agent-run-reducer';
|
|
44
45
|
export { ALLOWED_DOMAINS, isAllowedDomain } from './utils/allowed-domains';
|
package/dist/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.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.createPasswordSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.TimeZoneSchema = exports.StrictTimeZoneSchema = exports.isValidTimeZone = 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.
|
|
19
|
-
exports.isAllowedDomain = exports.ALLOWED_DOMAINS = exports.toAgentTree = exports.findAgent = exports.reduceEvent = exports.createInitialState = exports.
|
|
18
|
+
exports.domainAccessMetaSchema = exports.domainAccessActionSchema = exports.UNLIMITED_CREDITS = exports.DEFAULT_INSTANCE_AI_PERMISSIONS = exports.isSafeObjectKey = exports.getRenderHint = exports.mcpToolCallResultSchema = exports.mcpToolCallRequestSchema = exports.mcpToolSchema = exports.instanceAiGatewayCapabilitiesSchema = exports.instanceAiFilesystemResponseSchema = exports.filesystemRequestPayloadSchema = exports.errorPayloadSchema = exports.workflowSetupNodeSchema = exports.credentialRequestSchema = exports.confirmationRequestPayloadSchema = exports.toolErrorPayloadSchema = exports.toolResultPayloadSchema = exports.toolCallPayloadSchema = exports.reasoningDeltaPayloadSchema = exports.textDeltaPayloadSchema = exports.agentCompletedPayloadSchema = exports.agentSpawnedPayloadSchema = exports.runFinishPayloadSchema = exports.runStartPayloadSchema = exports.plannedTaskArgSchema = exports.taskListSchema = exports.taskItemSchema = exports.instanceAiEventSchema = exports.instanceAiAgentKindSchema = exports.instanceAiAgentStatusSchema = exports.instanceAiConfirmationSeveritySchema = exports.instanceAiRunStatusSchema = exports.instanceAiEventTypeSchema = exports.publicApiCreatedCredentialSchema = exports.communityPackageResponseSchema = 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 = exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.insightsSummarySchema = void 0;
|
|
19
|
+
exports.isAllowedDomain = exports.ALLOWED_DOMAINS = exports.toAgentTree = exports.findAgent = exports.reduceEvent = exports.createInitialState = exports.applyBranchReadOnlyOverrides = exports.InstanceAiUserPreferencesUpdateRequest = exports.InstanceAiAdminSettingsUpdateRequest = exports.InstanceAiThreadMessagesQuery = exports.InstanceAiEnsureThreadRequest = exports.InstanceAiCorrectTaskRequest = exports.InstanceAiEventsQuery = exports.InstanceAiGatewayEventsQuery = exports.instanceAiGatewayKeySchema = exports.InstanceAiEvalExecutionRequest = exports.InstanceAiSendMessageRequest = exports.GATEWAY_CONFIRMATION_REQUIRED_PREFIX = exports.gatewayConfirmationRequiredPayloadSchema = exports.credentialFlowSchema = void 0;
|
|
20
20
|
var zod_class_1 = require("./zod-class");
|
|
21
21
|
Object.defineProperty(exports, "Z", { enumerable: true, get: function () { return zod_class_1.Z; } });
|
|
22
22
|
__exportStar(require("./dto"), exports);
|
|
@@ -78,6 +78,8 @@ Object.defineProperty(exports, "isSourceControlledFileStatus", { enumerable: tru
|
|
|
78
78
|
Object.defineProperty(exports, "SOURCE_CONTROL_FILE_LOCATION", { enumerable: true, get: function () { return source_controlled_file_schema_1.SOURCE_CONTROL_FILE_LOCATION; } });
|
|
79
79
|
Object.defineProperty(exports, "SOURCE_CONTROL_FILE_STATUS", { enumerable: true, get: function () { return source_controlled_file_schema_1.SOURCE_CONTROL_FILE_STATUS; } });
|
|
80
80
|
Object.defineProperty(exports, "SOURCE_CONTROL_FILE_TYPE", { enumerable: true, get: function () { return source_controlled_file_schema_1.SOURCE_CONTROL_FILE_TYPE; } });
|
|
81
|
+
var insights_schema_1 = require("./schemas/insights.schema");
|
|
82
|
+
Object.defineProperty(exports, "insightsSummarySchema", { enumerable: true, get: function () { return insights_schema_1.insightsSummarySchema; } });
|
|
81
83
|
var user_schema_1 = require("./schemas/user.schema");
|
|
82
84
|
Object.defineProperty(exports, "ROLE", { enumerable: true, get: function () { return user_schema_1.ROLE; } });
|
|
83
85
|
Object.defineProperty(exports, "usersListSchema", { enumerable: true, get: function () { return user_schema_1.usersListSchema; } });
|
|
@@ -98,6 +100,8 @@ Object.defineProperty(exports, "testSecretProviderConnectionResponseSchema", { e
|
|
|
98
100
|
Object.defineProperty(exports, "reloadSecretProviderConnectionResponseSchema", { enumerable: true, get: function () { return secrets_provider_schema_1.reloadSecretProviderConnectionResponseSchema; } });
|
|
99
101
|
var community_package_schema_1 = require("./schemas/community-package.schema");
|
|
100
102
|
Object.defineProperty(exports, "communityPackageResponseSchema", { enumerable: true, get: function () { return community_package_schema_1.communityPackageResponseSchema; } });
|
|
103
|
+
var credential_created_schema_1 = require("./schemas/credential-created.schema");
|
|
104
|
+
Object.defineProperty(exports, "publicApiCreatedCredentialSchema", { enumerable: true, get: function () { return credential_created_schema_1.publicApiCreatedCredentialSchema; } });
|
|
101
105
|
var instance_ai_schema_1 = require("./schemas/instance-ai.schema");
|
|
102
106
|
Object.defineProperty(exports, "instanceAiEventTypeSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiEventTypeSchema; } });
|
|
103
107
|
Object.defineProperty(exports, "instanceAiRunStatusSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiRunStatusSchema; } });
|
|
@@ -107,6 +111,7 @@ Object.defineProperty(exports, "instanceAiAgentKindSchema", { enumerable: true,
|
|
|
107
111
|
Object.defineProperty(exports, "instanceAiEventSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiEventSchema; } });
|
|
108
112
|
Object.defineProperty(exports, "taskItemSchema", { enumerable: true, get: function () { return instance_ai_schema_1.taskItemSchema; } });
|
|
109
113
|
Object.defineProperty(exports, "taskListSchema", { enumerable: true, get: function () { return instance_ai_schema_1.taskListSchema; } });
|
|
114
|
+
Object.defineProperty(exports, "plannedTaskArgSchema", { enumerable: true, get: function () { return instance_ai_schema_1.plannedTaskArgSchema; } });
|
|
110
115
|
Object.defineProperty(exports, "runStartPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.runStartPayloadSchema; } });
|
|
111
116
|
Object.defineProperty(exports, "runFinishPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.runFinishPayloadSchema; } });
|
|
112
117
|
Object.defineProperty(exports, "agentSpawnedPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.agentSpawnedPayloadSchema; } });
|
|
@@ -136,15 +141,16 @@ Object.defineProperty(exports, "credentialFlowSchema", { enumerable: true, get:
|
|
|
136
141
|
Object.defineProperty(exports, "gatewayConfirmationRequiredPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.gatewayConfirmationRequiredPayloadSchema; } });
|
|
137
142
|
Object.defineProperty(exports, "GATEWAY_CONFIRMATION_REQUIRED_PREFIX", { enumerable: true, get: function () { return instance_ai_schema_1.GATEWAY_CONFIRMATION_REQUIRED_PREFIX; } });
|
|
138
143
|
Object.defineProperty(exports, "InstanceAiSendMessageRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiSendMessageRequest; } });
|
|
144
|
+
Object.defineProperty(exports, "InstanceAiEvalExecutionRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiEvalExecutionRequest; } });
|
|
139
145
|
Object.defineProperty(exports, "instanceAiGatewayKeySchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiGatewayKeySchema; } });
|
|
140
146
|
Object.defineProperty(exports, "InstanceAiGatewayEventsQuery", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiGatewayEventsQuery; } });
|
|
141
147
|
Object.defineProperty(exports, "InstanceAiEventsQuery", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiEventsQuery; } });
|
|
142
148
|
Object.defineProperty(exports, "InstanceAiCorrectTaskRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiCorrectTaskRequest; } });
|
|
143
|
-
Object.defineProperty(exports, "InstanceAiUpdateMemoryRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiUpdateMemoryRequest; } });
|
|
144
149
|
Object.defineProperty(exports, "InstanceAiEnsureThreadRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiEnsureThreadRequest; } });
|
|
145
150
|
Object.defineProperty(exports, "InstanceAiThreadMessagesQuery", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiThreadMessagesQuery; } });
|
|
146
151
|
Object.defineProperty(exports, "InstanceAiAdminSettingsUpdateRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiAdminSettingsUpdateRequest; } });
|
|
147
152
|
Object.defineProperty(exports, "InstanceAiUserPreferencesUpdateRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiUserPreferencesUpdateRequest; } });
|
|
153
|
+
Object.defineProperty(exports, "applyBranchReadOnlyOverrides", { enumerable: true, get: function () { return instance_ai_schema_1.applyBranchReadOnlyOverrides; } });
|
|
148
154
|
var agent_run_reducer_1 = require("./schemas/agent-run-reducer");
|
|
149
155
|
Object.defineProperty(exports, "createInitialState", { enumerable: true, get: function () { return agent_run_reducer_1.createInitialState; } });
|
|
150
156
|
Object.defineProperty(exports, "reduceEvent", { enumerable: true, get: function () { return agent_run_reducer_1.reduceEvent; } });
|
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,uCAyEoB;AAxEnB,0HAAA,8BAA8B,OAAA;AAW9B,iHAAA,qBAAqB,OAAA;AACrB,oHAAA,wBAAwB,OAAA;AACxB,oHAAA,wBAAwB,OAAA;AAMxB,wHAAA,4BAA4B,OA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AA,4BAA4B,OAAA;AAwE7B,iEAKqC;AAJpC,uHAAA,kBAAkB,OAAA;AAClB,gHAAA,WAAW,OAAA;AACX,8GAAA,SAAS,OAAA;AACT,gHAAA,WAAW,OAAA;AAKZ,2DAA2E;AAAlE,kHAAA,eAAe,OAAA;AAAE,kHAAA,eAAe,OAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InstanceAiEvent, InstanceAiAgentNode, InstanceAiAgentKind, InstanceAiAgentStatus, InstanceAiToolCallState, InstanceAiTimelineEntry, InstanceAiTargetResource, TaskList } from './instance-ai.schema';
|
|
1
|
+
import type { InstanceAiEvent, InstanceAiAgentNode, InstanceAiAgentKind, InstanceAiAgentStatus, InstanceAiToolCallState, InstanceAiTimelineEntry, InstanceAiTargetResource, PlannedTaskArg, TaskList } from './instance-ai.schema';
|
|
2
2
|
export interface AgentNode {
|
|
3
3
|
agentId: string;
|
|
4
4
|
role: string;
|
|
@@ -14,6 +14,7 @@ export interface AgentNode {
|
|
|
14
14
|
textContent: string;
|
|
15
15
|
reasoning: string;
|
|
16
16
|
tasks?: TaskList;
|
|
17
|
+
planItems?: PlannedTaskArg[];
|
|
17
18
|
result?: string;
|
|
18
19
|
error?: string;
|
|
19
20
|
}
|