@n8n/api-types 1.5.1 → 1.7.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/chat-hub.d.ts +18 -0
- package/dist/chat-hub.js +6 -1
- package/dist/chat-hub.js.map +1 -1
- package/dist/community-node-types.d.ts +1 -0
- package/dist/dto/ai/ai-usage-settings-request.dto.d.ts +8 -0
- package/dist/dto/ai/ai-usage-settings-request.dto.js +11 -0
- package/dist/dto/ai/ai-usage-settings-request.dto.js.map +1 -0
- package/dist/dto/auth/login-request.dto.js +1 -1
- package/dist/dto/auth/login-request.dto.js.map +1 -1
- package/dist/dto/data-table/add-data-table-rows.dto.d.ts +1 -1
- package/dist/dto/data-table/add-data-table-rows.dto.js +1 -1
- package/dist/dto/data-table/add-data-table-rows.dto.js.map +1 -1
- package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +16 -0
- package/dist/dto/data-table/list-data-table-content-query.dto.js +14 -4
- package/dist/dto/data-table/list-data-table-content-query.dto.js.map +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +14 -2
- package/dist/dto/data-table/list-data-table-query.dto.js +8 -3
- package/dist/dto/data-table/list-data-table-query.dto.js.map +1 -1
- package/dist/dto/index.d.ts +12 -3
- package/dist/dto/index.js +24 -2
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/log-streaming/create-destination.dto.d.ts +525 -0
- package/dist/dto/log-streaming/create-destination.dto.js +11 -0
- package/dist/dto/log-streaming/create-destination.dto.js.map +1 -0
- package/dist/dto/log-streaming/delete-destination-query.dto.d.ts +8 -0
- package/dist/dto/log-streaming/delete-destination-query.dto.js +11 -0
- package/dist/dto/log-streaming/delete-destination-query.dto.js.map +1 -0
- package/dist/dto/log-streaming/get-destination-query.dto.d.ts +8 -0
- package/dist/dto/log-streaming/get-destination-query.dto.js +11 -0
- package/dist/dto/log-streaming/get-destination-query.dto.js.map +1 -0
- package/dist/dto/log-streaming/test-destination-query.dto.d.ts +8 -0
- package/dist/dto/log-streaming/test-destination-query.dto.js +11 -0
- package/dist/dto/log-streaming/test-destination-query.dto.js.map +1 -0
- package/dist/dto/pagination/pagination.dto.d.ts +5 -1
- package/dist/dto/pagination/pagination.dto.js +27 -2
- package/dist/dto/pagination/pagination.dto.js.map +1 -1
- package/dist/dto/password-reset/forgot-password-request.dto.js +1 -1
- package/dist/dto/password-reset/forgot-password-request.dto.js.map +1 -1
- package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.d.ts +11 -0
- package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.js +19 -0
- package/dist/dto/secrets-provider/create-secrets-provider-connection.dto.js.map +1 -0
- package/dist/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.d.ts +8 -0
- package/dist/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.js +11 -0
- package/dist/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.js.map +1 -0
- package/dist/dto/secrets-provider/test-secrets-provider-connection.dto.d.ts +3 -0
- package/dist/dto/secrets-provider/test-secrets-provider-connection.dto.js +8 -0
- package/dist/dto/secrets-provider/test-secrets-provider-connection.dto.js.map +1 -0
- package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.d.ts +10 -0
- package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.js +14 -0
- package/dist/dto/secrets-provider/update-secrets-provider-connection.dto.js.map +1 -0
- package/dist/dto/source-control/pull-work-folder-request.dto.d.ts +2 -0
- package/dist/dto/source-control/pull-work-folder-request.dto.js +4 -1
- package/dist/dto/source-control/pull-work-folder-request.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -0
- package/dist/dto/user/users-list-filter.dto.d.ts +2 -0
- package/dist/dto/user/users-list-filter.dto.js +2 -0
- package/dist/dto/user/users-list-filter.dto.js.map +1 -1
- package/dist/dto/variables/create-variable-request.dto.d.ts +1 -1
- package/dist/frontend-settings.d.ts +5 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/push/chat-hub.d.ts +78 -0
- package/dist/push/chat-hub.js +3 -0
- package/dist/push/chat-hub.js.map +1 -0
- package/dist/push/index.d.ts +2 -1
- package/dist/schemas/secrets-provider.schema.d.ts +112 -0
- package/dist/schemas/secrets-provider.schema.js +54 -0
- package/dist/schemas/secrets-provider.schema.js.map +1 -0
- package/dist/schemas/source-controlled-file.schema.d.ts +9 -0
- package/dist/schemas/source-controlled-file.schema.js +3 -0
- package/dist/schemas/source-controlled-file.schema.js.map +1 -1
- package/dist/schemas/user.schema.d.ts +6 -6
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.dto.js","sourceRoot":"","sources":["../../../src/dto/pagination/pagination.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAEjB,QAAA,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"pagination.dto.js","sourceRoot":"","sources":["../../../src/dto/pagination/pagination.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAEjB,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC,MAAM,aAAa,GAAG,OAAC;KACrB,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACjD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACtD,OAAO,EAAE,sCAAsC;CAC/C,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE;IAC1B,OAAO,EAAE,6CA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AE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACtD,OAAO,EAAE,wCAAwC;CACjD,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE;IAC1B,OAAO,EAAE,+CAA+C;CACxD,CAAC,CAAC;AAEJ,MAAM,oBAAoB,GAAG,CAAC,QAAgB,EAAE,EAAE,CACjD,OAAC;KACC,MAAM,EAAE;KACR,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;KACnD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACtD,OAAO,EAAE,uCAAuC;CAChD,CAAC;KACD,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE;IAC1B,OAAO,EAAE,8CAA8C;CACvD,CAAC;KACD,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;AAElC,QAAA,yBAAyB,GAAG;IACxC,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,oBAAoB,CAAC,0BAAkB,CAAC;CAC/C,CAAC"}
|
|
@@ -4,7 +4,7 @@ exports.ForgotPasswordRequestDto = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_class_1 = require("zod-class");
|
|
6
6
|
class ForgotPasswordRequestDto extends zod_class_1.Z.class({
|
|
7
|
-
email: zod_1.z.string().email(),
|
|
7
|
+
email: zod_1.z.string().email().max(255),
|
|
8
8
|
}) {
|
|
9
9
|
}
|
|
10
10
|
exports.ForgotPasswordRequestDto = ForgotPasswordRequestDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgot-password-request.dto.js","sourceRoot":"","sources":["../../../src/dto/password-reset/forgot-password-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"forgot-password-request.dto.js","sourceRoot":"","sources":["../../../src/dto/password-reset/forgot-password-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;CAClC,CAAC;CAAG;AAFL,4DAEK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
declare const CreateSecretsProviderConnectionDto_base: Z.Class<{
|
|
4
|
+
providerKey: z.ZodString;
|
|
5
|
+
type: z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical"]>;
|
|
6
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
settings: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare class CreateSecretsProviderConnectionDto extends CreateSecretsProviderConnectionDto_base {
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateSecretsProviderConnectionDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
const secrets_provider_schema_1 = require("../../schemas/secrets-provider.schema");
|
|
7
|
+
class CreateSecretsProviderConnectionDto extends zod_class_1.Z.class({
|
|
8
|
+
providerKey: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1)
|
|
11
|
+
.max(128)
|
|
12
|
+
.regex(/^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$/),
|
|
13
|
+
type: secrets_provider_schema_1.secretsProviderTypeSchema,
|
|
14
|
+
projectIds: zod_1.z.array(zod_1.z.string().min(1)),
|
|
15
|
+
settings: zod_1.z.object({}).catchall(zod_1.z.any()),
|
|
16
|
+
}) {
|
|
17
|
+
}
|
|
18
|
+
exports.CreateSecretsProviderConnectionDto = CreateSecretsProviderConnectionDto;
|
|
19
|
+
//# sourceMappingURL=create-secrets-provider-connection.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-secrets-provider-connection.dto.js","sourceRoot":"","sources":["../../../src/dto/secrets-provider/create-secrets-provider-connection.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AACxB,yCAA8B;AAE9B,mFAAkF;AAElF,MAAa,kCAAmC,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/D,WAAW,EAAE,OAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,KAAK,CAAC,kCAAkC,CAAC;IAC3C,IAAI,EAAE,mDAAyB;IAC/B,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACtC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,GAAG,EAAE,CAAkC;CACzE,CAAC;CAAG;AATL,gFASK"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
declare const SetSecretsProviderConnectionIsEnabledDto_base: Z.Class<{
|
|
4
|
+
isEnabled: z.ZodBoolean;
|
|
5
|
+
}>;
|
|
6
|
+
export declare class SetSecretsProviderConnectionIsEnabledDto extends SetSecretsProviderConnectionIsEnabledDto_base {
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetSecretsProviderConnectionIsEnabledDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
class SetSecretsProviderConnectionIsEnabledDto extends zod_class_1.Z.class({
|
|
7
|
+
isEnabled: zod_1.z.boolean(),
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.SetSecretsProviderConnectionIsEnabledDto = SetSecretsProviderConnectionIsEnabledDto;
|
|
11
|
+
//# sourceMappingURL=set-secrets-provider-connection-is-enabled.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-secrets-provider-connection-is-enabled.dto.js","sourceRoot":"","sources":["../../../src/dto/secrets-provider/set-secrets-provider-connection-is-enabled.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAM9B,MAAa,wCAAyC,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrE,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE;CACtB,CAAC;CAAG;AAFL,4FAEK"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TestSecretsProviderConnectionDto: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
|
|
3
|
+
export type TestSecretsProviderConnectionDto = z.infer<typeof TestSecretsProviderConnectionDto>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TestSecretsProviderConnectionDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.TestSecretsProviderConnectionDto = zod_1.z
|
|
6
|
+
.object({})
|
|
7
|
+
.catchall(zod_1.z.any());
|
|
8
|
+
//# sourceMappingURL=test-secrets-provider-connection.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-secrets-provider-connection.dto.js","sourceRoot":"","sources":["../../../src/dto/secrets-provider/test-secrets-provider-connection.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAMX,QAAA,gCAAgC,GAAG,OAAC;KAC/C,MAAM,CAAC,EAAE,CAAC;KACV,QAAQ,CAAC,OAAC,CAAC,GAAG,EAAE,CAAkC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
declare const UpdateSecretsProviderConnectionDto_base: Z.Class<{
|
|
4
|
+
type: z.ZodOptional<z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical"]>>;
|
|
5
|
+
projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
|
+
settings: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
|
|
7
|
+
}>;
|
|
8
|
+
export declare class UpdateSecretsProviderConnectionDto extends UpdateSecretsProviderConnectionDto_base {
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSecretsProviderConnectionDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
const secrets_provider_schema_1 = require("../../schemas/secrets-provider.schema");
|
|
7
|
+
class UpdateSecretsProviderConnectionDto extends zod_class_1.Z.class({
|
|
8
|
+
type: secrets_provider_schema_1.secretsProviderTypeSchema.optional(),
|
|
9
|
+
projectIds: zod_1.z.array(zod_1.z.string().min(1)).optional(),
|
|
10
|
+
settings: zod_1.z.object({}).catchall(zod_1.z.any()).optional(),
|
|
11
|
+
}) {
|
|
12
|
+
}
|
|
13
|
+
exports.UpdateSecretsProviderConnectionDto = UpdateSecretsProviderConnectionDto;
|
|
14
|
+
//# sourceMappingURL=update-secrets-provider-connection.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-secrets-provider-connection.dto.js","sourceRoot":"","sources":["../../../src/dto/secrets-provider/update-secrets-provider-connection.dto.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AACxB,yCAA8B;AAE9B,mFAAkF;AAElF,MAAa,kCAAmC,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/D,IAAI,EAAE,mDAAyB,CAAC,QAAQ,EAAE;IAC1C,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACjD,QAAQ,EAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,GAAG,EAAE,CAAmC,CAAC,QAAQ,EAAE;CACtF,CAAC;CAAG;AAJL,gFAIK"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Z } from 'zod-class';
|
|
3
|
+
export declare const AUTO_PUBLISH_MODE: z.Values<["none", "all", "published"]>;
|
|
3
4
|
declare const PullWorkFolderRequestDto_base: Z.Class<{
|
|
4
5
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
autoPublish: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "all", "published"]>>>;
|
|
5
7
|
}>;
|
|
6
8
|
export declare class PullWorkFolderRequestDto extends PullWorkFolderRequestDto_base {
|
|
7
9
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PullWorkFolderRequestDto = void 0;
|
|
3
|
+
exports.PullWorkFolderRequestDto = exports.AUTO_PUBLISH_MODE = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_class_1 = require("zod-class");
|
|
6
|
+
const AutoPublishModeSchema = zod_1.z.enum(['none', 'all', 'published']);
|
|
7
|
+
exports.AUTO_PUBLISH_MODE = AutoPublishModeSchema.Values;
|
|
6
8
|
class PullWorkFolderRequestDto extends zod_class_1.Z.class({
|
|
7
9
|
force: zod_1.z.boolean().optional(),
|
|
10
|
+
autoPublish: AutoPublishModeSchema.optional().default('none'),
|
|
8
11
|
}) {
|
|
9
12
|
}
|
|
10
13
|
exports.PullWorkFolderRequestDto = PullWorkFolderRequestDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pull-work-folder-request.dto.js","sourceRoot":"","sources":["../../../src/dto/source-control/pull-work-folder-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"pull-work-folder-request.dto.js","sourceRoot":"","sources":["../../../src/dto/source-control/pull-work-folder-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAM,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC;AACtD,QAAA,iBAAiB,GAAG,qBAAqB,CAAC,MAAM,CAAC;AAE9D,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC7B,WAAW,EAAE,qBAAqB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;CAC7D,CAAC;CAAG;AAHL,4DAGK"}
|
|
@@ -13,6 +13,8 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
13
13
|
conflict: z.ZodBoolean;
|
|
14
14
|
updatedAt: z.ZodString;
|
|
15
15
|
pushed: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
isLocalPublished: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
isRemoteArchived: z.ZodOptional<z.ZodBoolean>;
|
|
16
18
|
owner: z.ZodOptional<z.ZodObject<{
|
|
17
19
|
type: z.ZodEnum<["personal", "team"]>;
|
|
18
20
|
projectId: z.ZodString;
|
|
@@ -26,6 +28,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
26
28
|
projectId: string;
|
|
27
29
|
projectName: string;
|
|
28
30
|
}>>;
|
|
31
|
+
publishingError: z.ZodOptional<z.ZodString>;
|
|
29
32
|
}, "strip", z.ZodTypeAny, {
|
|
30
33
|
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
31
34
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
@@ -36,11 +39,14 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
36
39
|
location: "local" | "remote";
|
|
37
40
|
conflict: boolean;
|
|
38
41
|
pushed?: boolean | undefined;
|
|
42
|
+
isLocalPublished?: boolean | undefined;
|
|
43
|
+
isRemoteArchived?: boolean | undefined;
|
|
39
44
|
owner?: {
|
|
40
45
|
type: "personal" | "team";
|
|
41
46
|
projectId: string;
|
|
42
47
|
projectName: string;
|
|
43
48
|
} | undefined;
|
|
49
|
+
publishingError?: string | undefined;
|
|
44
50
|
}, {
|
|
45
51
|
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
46
52
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
@@ -51,11 +57,14 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
51
57
|
location: "local" | "remote";
|
|
52
58
|
conflict: boolean;
|
|
53
59
|
pushed?: boolean | undefined;
|
|
60
|
+
isLocalPublished?: boolean | undefined;
|
|
61
|
+
isRemoteArchived?: boolean | undefined;
|
|
54
62
|
owner?: {
|
|
55
63
|
type: "personal" | "team";
|
|
56
64
|
projectId: string;
|
|
57
65
|
projectName: string;
|
|
58
66
|
} | undefined;
|
|
67
|
+
publishingError?: string | undefined;
|
|
59
68
|
}>, "many">;
|
|
60
69
|
}>;
|
|
61
70
|
export declare class PushWorkFolderRequestDto extends PushWorkFolderRequestDto_base {
|
|
@@ -10,8 +10,10 @@ declare const UsersListFilterDto_base: Z.Class<{
|
|
|
10
10
|
firstName?: string | undefined;
|
|
11
11
|
lastName?: string | undefined;
|
|
12
12
|
mfaEnabled?: boolean | undefined;
|
|
13
|
+
ids?: string[] | undefined;
|
|
13
14
|
isOwner?: boolean | undefined;
|
|
14
15
|
fullText?: string | undefined;
|
|
16
|
+
isPending?: boolean | undefined;
|
|
15
17
|
} | undefined, string | undefined>>;
|
|
16
18
|
expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["projectRelations"]>, "many">>;
|
|
17
19
|
sortBy: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstName:asc", "firstName:desc", "lastName:asc", "lastName:desc", "email:asc", "email:desc", "role:asc", "role:desc", "mfaEnabled:asc", "mfaEnabled:desc", "lastActiveAt:asc", "lastActiveAt:desc"]>, "many">>;
|
|
@@ -26,12 +26,14 @@ const usersListSortByValidator = zod_1.z
|
|
|
26
26
|
.optional();
|
|
27
27
|
const userSelectSchema = zod_1.z.array(zod_1.z.enum(['id', 'firstName', 'lastName', 'email', 'disabled', 'mfaEnabled', 'role']));
|
|
28
28
|
const userFilterSchema = zod_1.z.object({
|
|
29
|
+
ids: zod_1.z.array(zod_1.z.string()).optional(),
|
|
29
30
|
isOwner: zod_1.z.boolean().optional(),
|
|
30
31
|
firstName: zod_1.z.string().optional(),
|
|
31
32
|
lastName: zod_1.z.string().optional(),
|
|
32
33
|
email: zod_1.z.string().optional(),
|
|
33
34
|
mfaEnabled: zod_1.z.boolean().optional(),
|
|
34
35
|
fullText: zod_1.z.string().optional(),
|
|
36
|
+
isPending: zod_1.z.boolean().optional(),
|
|
35
37
|
});
|
|
36
38
|
const filterValidatorSchema = zod_1.z
|
|
37
39
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users-list-filter.dto.js","sourceRoot":"","sources":["../../../src/dto/user/users-list-filter.dto.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,6BAAwB;AACxB,yCAA8B;AAE9B,iEAAqF;AAExE,QAAA,uBAAuB,GAAG;IACtC,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,eAAe;IACf,WAAW;IACX,YAAY;IACZ,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;CACV,CAAC;AAIX,MAAM,wBAAwB,GAAG,OAAC;KAChC,KAAK,CACL,OAAC,CAAC,IAAI,CAAC,+BAAuB,EAAE;IAC/B,OAAO,EAAE,0BAA0B,+BAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;CACvE,CAAC,CACF;KACA,QAAQ,EAAE,CAAC;AAEb,MAAM,gBAAgB,GAAG,OAAC,CAAC,KAAK,CAC/B,OAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,U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AAC,QAAQ,CAAC;YACZ,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,uBAAuB;YAChC,IAAI,EAAE,CAAC,QAAQ,CAAC;SAChB,CAAC,CAAC;QACH,OAAO,OAAC,CAAC,KAAK,CAAC;IAChB,CAAC;AACF,CAAC,CAAC,CAAC;AAEJ,MAAM,gBAAgB,GAAG,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAE/D,MAAa,kBAAmB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/C,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,EAAE,EAAE,IAAI,CAAC;IACnC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAEnC,MAAM,EAAE,wBAAwB;CAChC,CAAC;CAAG;AARL,gDAQK"}
|
|
@@ -7,6 +7,7 @@ declare const CreateVariableRequestDto_base: {
|
|
|
7
7
|
new (input: any): T;
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
}) => z.ZodType<T>;
|
|
10
|
+
Value: z.ZodString;
|
|
10
11
|
Type: z.ZodDefault<z.ZodEnum<["string"]>>;
|
|
11
12
|
prototype: BaseVariableRequestDto;
|
|
12
13
|
staticProps: {
|
|
@@ -15,7 +16,6 @@ declare const CreateVariableRequestDto_base: {
|
|
|
15
16
|
Value: z.ZodString;
|
|
16
17
|
};
|
|
17
18
|
Key: z.ZodString;
|
|
18
|
-
Value: z.ZodString;
|
|
19
19
|
} & import("zod-class").ZodClass<{} & {
|
|
20
20
|
projectId?: string | undefined;
|
|
21
21
|
} & {
|
|
@@ -56,7 +56,7 @@ export interface FrontendSettings {
|
|
|
56
56
|
settingsMode?: 'public' | 'authenticated';
|
|
57
57
|
inE2ETests: boolean;
|
|
58
58
|
isDocker: boolean;
|
|
59
|
-
databaseType: 'sqlite' | '
|
|
59
|
+
databaseType: 'sqlite' | 'postgresdb';
|
|
60
60
|
endpointForm: string;
|
|
61
61
|
endpointFormTest: string;
|
|
62
62
|
endpointFormWaiting: string;
|
|
@@ -196,6 +196,10 @@ export interface FrontendSettings {
|
|
|
196
196
|
aiCredits: {
|
|
197
197
|
enabled: boolean;
|
|
198
198
|
credits: number;
|
|
199
|
+
setup: boolean;
|
|
200
|
+
};
|
|
201
|
+
ai: {
|
|
202
|
+
allowSendingParameterValues: boolean;
|
|
199
203
|
};
|
|
200
204
|
pruning?: {
|
|
201
205
|
isEnabled: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ export type * from './frontend-settings';
|
|
|
6
6
|
export type * from './user';
|
|
7
7
|
export type * from './api-keys';
|
|
8
8
|
export type * from './community-node-types';
|
|
9
|
-
export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubInputModality, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type MessageChunk, type ChatHubAgentTool, UpdateChatSettingsRequest, type ChatProviderSettingsDto, } from './chat-hub';
|
|
9
|
+
export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubInputModality, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type MessageChunk, type ChatHubAgentTool, UpdateChatSettingsRequest, type ChatProviderSettingsDto, type ChatSendMessageResponse, type ChatReconnectResponse, ChatReconnectRequest, } from './chat-hub';
|
|
10
|
+
export type { ChatHubPushMessage, ChatHubStreamEvent, ChatHubStreamBegin, ChatHubStreamChunk, ChatHubStreamEnd, ChatHubStreamError, ChatHubStreamMetadata, ChatHubExecutionEvent, ChatHubExecutionBegin, ChatHubExecutionEnd, ChatHubHumanMessageCreated, ChatHubMessageEdited, ChatHubAttachmentInfo, } from './push/chat-hub';
|
|
10
11
|
export type { Collaborator } from './push/collaboration';
|
|
11
12
|
export type { HeartbeatMessage } from './push/heartbeat';
|
|
12
13
|
export { createHeartbeatMessage, heartbeatMessageSchema } from './push/heartbeat';
|
|
@@ -26,3 +27,4 @@ export type { ExternalSecretsProvider, ExternalSecretsProviderSecret, ExternalSe
|
|
|
26
27
|
export { WorkflowExecutionStatusSchema, type WorkflowExecutionStatus, } from './schemas/workflow-execution-status.schema';
|
|
27
28
|
export type { UsageState } from './schemas/usage.schema';
|
|
28
29
|
export type { BreakingChangeRuleSeverity, BreakingChangeRecommendation, BreakingChangeAffectedWorkflow, BreakingChangeInstanceIssue, BreakingChangeWorkflowIssue, BreakingChangeInstanceRuleResult, BreakingChangeWorkflowRuleResult, BreakingChangeReportResult, BreakingChangeLightReportResult, BreakingChangeVersion, } from './schemas/breaking-changes.schema';
|
|
30
|
+
export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnectionTestState, SecretProviderConnection, SecretProviderTypeResponse, AutocompletionSecretsResponse, TestSecretProviderConnectionResponse, } from './schemas/secrets-provider.schema';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.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.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.isSourceControlledFileStatus = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolversSchema = exports.credentialResolverSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.UpdateChatSettingsRequest = exports.agentIconOrEmojiSchema = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubEditMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = void 0;
|
|
17
|
+
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.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.isSourceControlledFileStatus = exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolversSchema = exports.credentialResolverSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.ChatReconnectRequest = exports.UpdateChatSettingsRequest = exports.agentIconOrEmojiSchema = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubEditMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = void 0;
|
|
18
18
|
__exportStar(require("./dto"), exports);
|
|
19
19
|
var chat_hub_1 = require("./chat-hub");
|
|
20
20
|
Object.defineProperty(exports, "chatHubConversationModelSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubConversationModelSchema; } });
|
|
@@ -33,6 +33,7 @@ Object.defineProperty(exports, "ChatHubCreateAgentRequest", { enumerable: true,
|
|
|
33
33
|
Object.defineProperty(exports, "ChatHubUpdateAgentRequest", { enumerable: true, get: function () { return chat_hub_1.ChatHubUpdateAgentRequest; } });
|
|
34
34
|
Object.defineProperty(exports, "agentIconOrEmojiSchema", { enumerable: true, get: function () { return chat_hub_1.agentIconOrEmojiSchema; } });
|
|
35
35
|
Object.defineProperty(exports, "UpdateChatSettingsRequest", { enumerable: true, get: function () { return chat_hub_1.UpdateChatSettingsRequest; } });
|
|
36
|
+
Object.defineProperty(exports, "ChatReconnectRequest", { enumerable: true, get: function () { return chat_hub_1.ChatReconnectRequest; } });
|
|
36
37
|
var heartbeat_1 = require("./push/heartbeat");
|
|
37
38
|
Object.defineProperty(exports, "createHeartbeatMessage", { enumerable: true, get: function () { return heartbeat_1.createHeartbeatMessage; } });
|
|
38
39
|
Object.defineProperty(exports, "heartbeatMessageSchema", { enumerable: true, get: function () { return heartbeat_1.heartbeatMessageSchema; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAOtB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAOtB,uCAkDoB;AAjDnB,0HAAA,8BAA8B,OAAA;AAY9B,iHAAA,qBAAqB,OAAA;AACrB,oHAAA,wBAAwB,OAAA;AAKxB,wHAAA,4BAA4B,OAAA;AAC5B,mHAAA,uBAAuB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} from '../chat-hub';
|
|
2
|
+
export interface ChatHubStreamMetadata {
|
|
3
|
+
sessionId: ChatSessionId;
|
|
4
|
+
messageId: ChatMessageId;
|
|
5
|
+
sequenceNumber: number;
|
|
6
|
+
timestamp: number;
|
|
7
|
+
}
|
|
8
|
+
export type ChatHubStreamBegin = {
|
|
9
|
+
type: 'chatHubStreamBegin';
|
|
10
|
+
data: ChatHubStreamMetadata & {
|
|
11
|
+
previousMessageId: ChatMessageId | null;
|
|
12
|
+
retryOfMessageId: ChatMessageId | null;
|
|
13
|
+
executionId: number | null;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type ChatHubStreamChunk = {
|
|
17
|
+
type: 'chatHubStreamChunk';
|
|
18
|
+
data: ChatHubStreamMetadata & {
|
|
19
|
+
content: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type ChatHubStreamEnd = {
|
|
23
|
+
type: 'chatHubStreamEnd';
|
|
24
|
+
data: ChatHubStreamMetadata & {
|
|
25
|
+
status: ChatHubMessageStatus;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type ChatHubStreamError = {
|
|
29
|
+
type: 'chatHubStreamError';
|
|
30
|
+
data: ChatHubStreamMetadata & {
|
|
31
|
+
error: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export interface ChatHubAttachmentInfo {
|
|
35
|
+
id: string;
|
|
36
|
+
fileName: string;
|
|
37
|
+
mimeType: string;
|
|
38
|
+
}
|
|
39
|
+
export type ChatHubHumanMessageCreated = {
|
|
40
|
+
type: 'chatHubHumanMessageCreated';
|
|
41
|
+
data: {
|
|
42
|
+
sessionId: ChatSessionId;
|
|
43
|
+
messageId: ChatMessageId;
|
|
44
|
+
previousMessageId: ChatMessageId | null;
|
|
45
|
+
content: string;
|
|
46
|
+
attachments: ChatHubAttachmentInfo[];
|
|
47
|
+
timestamp: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export type ChatHubMessageEdited = {
|
|
51
|
+
type: 'chatHubMessageEdited';
|
|
52
|
+
data: {
|
|
53
|
+
sessionId: ChatSessionId;
|
|
54
|
+
revisionOfMessageId: ChatMessageId;
|
|
55
|
+
messageId: ChatMessageId;
|
|
56
|
+
content: string;
|
|
57
|
+
attachments: ChatHubAttachmentInfo[];
|
|
58
|
+
timestamp: number;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type ChatHubExecutionBegin = {
|
|
62
|
+
type: 'chatHubExecutionBegin';
|
|
63
|
+
data: {
|
|
64
|
+
sessionId: ChatSessionId;
|
|
65
|
+
timestamp: number;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export type ChatHubExecutionEnd = {
|
|
69
|
+
type: 'chatHubExecutionEnd';
|
|
70
|
+
data: {
|
|
71
|
+
sessionId: ChatSessionId;
|
|
72
|
+
status: ChatHubMessageStatus;
|
|
73
|
+
timestamp: number;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export type ChatHubStreamEvent = ChatHubStreamBegin | ChatHubStreamChunk | ChatHubStreamEnd | ChatHubStreamError;
|
|
77
|
+
export type ChatHubExecutionEvent = ChatHubExecutionBegin | ChatHubExecutionEnd;
|
|
78
|
+
export type ChatHubPushMessage = ChatHubStreamEvent | ChatHubExecutionEvent | ChatHubHumanMessageCreated | ChatHubMessageEdited;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-hub.js","sourceRoot":"","sources":["../../src/push/chat-hub.ts"],"names":[],"mappings":""}
|
package/dist/push/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BuilderCreditsPushMessage } from './builder-credits';
|
|
2
|
+
import type { ChatHubPushMessage } from './chat-hub';
|
|
2
3
|
import type { CollaborationPushMessage } from './collaboration';
|
|
3
4
|
import type { DebugPushMessage } from './debug';
|
|
4
5
|
import type { ExecutionPushMessage } from './execution';
|
|
@@ -6,7 +7,7 @@ import type { HotReloadPushMessage } from './hot-reload';
|
|
|
6
7
|
import type { WebhookPushMessage } from './webhook';
|
|
7
8
|
import type { WorkerPushMessage } from './worker';
|
|
8
9
|
import type { WorkflowPushMessage } from './workflow';
|
|
9
|
-
export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage | BuilderCreditsPushMessage;
|
|
10
|
+
export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage | BuilderCreditsPushMessage | ChatHubPushMessage;
|
|
10
11
|
export type PushType = PushMessage['type'];
|
|
11
12
|
export type PushPayload<T extends PushType> = Extract<PushMessage, {
|
|
12
13
|
type: T;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const secretsProviderTypeSchema: z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical"]>;
|
|
3
|
+
export type SecretsProviderType = z.infer<typeof secretsProviderTypeSchema>;
|
|
4
|
+
export declare const secretsProviderStateSchema: z.ZodEnum<["initializing", "initialized", "connecting", "connected", "error", "retrying"]>;
|
|
5
|
+
export type SecretsProviderState = z.infer<typeof secretsProviderStateSchema>;
|
|
6
|
+
export declare const secretsProviderConnectionTestStateSchema: z.ZodEnum<["connected", "tested", "error"]>;
|
|
7
|
+
export type SecretsProviderConnectionTestState = z.infer<typeof secretsProviderConnectionTestStateSchema>;
|
|
8
|
+
export declare const secretProviderConnectionSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
type: z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical"]>;
|
|
12
|
+
state: z.ZodEnum<["initializing", "initialized", "connecting", "connected", "error", "retrying"]>;
|
|
13
|
+
isEnabled: z.ZodBoolean;
|
|
14
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
15
|
+
id: z.ZodString;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}, {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
}>, "many">;
|
|
24
|
+
settings: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
|
|
25
|
+
secretsCount: z.ZodNumber;
|
|
26
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
credentialsCount: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
name: string;
|
|
31
|
+
credentialsCount?: number | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
name: string;
|
|
34
|
+
credentialsCount?: number | undefined;
|
|
35
|
+
}>, "many">>;
|
|
36
|
+
createdAt: z.ZodString;
|
|
37
|
+
updatedAt: z.ZodString;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
type: "awsSecretsManager" | "gcpSecretsManager" | "vault" | "azureKeyVault" | "infisical";
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
updatedAt: string;
|
|
44
|
+
settings: {} & {
|
|
45
|
+
[k: string]: any;
|
|
46
|
+
};
|
|
47
|
+
state: "error" | "initializing" | "initialized" | "connecting" | "connected" | "retrying";
|
|
48
|
+
isEnabled: boolean;
|
|
49
|
+
projects: {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
}[];
|
|
53
|
+
secretsCount: number;
|
|
54
|
+
secrets?: {
|
|
55
|
+
name: string;
|
|
56
|
+
credentialsCount?: number | undefined;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
type: "awsSecretsManager" | "gcpSecretsManager" | "vault" | "azureKeyVault" | "infisical";
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
updatedAt: string;
|
|
64
|
+
settings: {} & {
|
|
65
|
+
[k: string]: any;
|
|
66
|
+
};
|
|
67
|
+
state: "error" | "initializing" | "initialized" | "connecting" | "connected" | "retrying";
|
|
68
|
+
isEnabled: boolean;
|
|
69
|
+
projects: {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
}[];
|
|
73
|
+
secretsCount: number;
|
|
74
|
+
secrets?: {
|
|
75
|
+
name: string;
|
|
76
|
+
credentialsCount?: number | undefined;
|
|
77
|
+
}[] | undefined;
|
|
78
|
+
}>;
|
|
79
|
+
export type SecretProviderConnection = z.infer<typeof secretProviderConnectionSchema>;
|
|
80
|
+
export declare const secretProviderTypeResponseSchema: z.ZodObject<{
|
|
81
|
+
type: z.ZodEnum<["awsSecretsManager", "gcpSecretsManager", "vault", "azureKeyVault", "infisical"]>;
|
|
82
|
+
displayName: z.ZodString;
|
|
83
|
+
icon: z.ZodString;
|
|
84
|
+
properties: z.ZodArray<z.ZodAny, "many">;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
type: "awsSecretsManager" | "gcpSecretsManager" | "vault" | "azureKeyVault" | "infisical";
|
|
87
|
+
icon: string;
|
|
88
|
+
displayName: string;
|
|
89
|
+
properties: any[];
|
|
90
|
+
}, {
|
|
91
|
+
type: "awsSecretsManager" | "gcpSecretsManager" | "vault" | "azureKeyVault" | "infisical";
|
|
92
|
+
icon: string;
|
|
93
|
+
displayName: string;
|
|
94
|
+
properties: any[];
|
|
95
|
+
}>;
|
|
96
|
+
export type SecretProviderTypeResponse = z.infer<typeof secretProviderTypeResponseSchema>;
|
|
97
|
+
export declare const autocompletionSecretsResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
98
|
+
export type AutocompletionSecretsResponse = z.infer<typeof autocompletionSecretsResponseSchema>;
|
|
99
|
+
export declare const testSecretProviderConnectionResponseSchema: z.ZodObject<{
|
|
100
|
+
success: z.ZodBoolean;
|
|
101
|
+
testState: z.ZodEnum<["connected", "tested", "error"]>;
|
|
102
|
+
error: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
success: boolean;
|
|
105
|
+
testState: "error" | "connected" | "tested";
|
|
106
|
+
error?: string | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
success: boolean;
|
|
109
|
+
testState: "error" | "connected" | "tested";
|
|
110
|
+
error?: string | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
export type TestSecretProviderConnectionResponse = z.infer<typeof testSecretProviderConnectionResponseSchema>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.testSecretProviderConnectionResponseSchema = exports.autocompletionSecretsResponseSchema = exports.secretProviderTypeResponseSchema = exports.secretProviderConnectionSchema = exports.secretsProviderConnectionTestStateSchema = exports.secretsProviderStateSchema = exports.secretsProviderTypeSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.secretsProviderTypeSchema = zod_1.z.enum([
|
|
6
|
+
'awsSecretsManager',
|
|
7
|
+
'gcpSecretsManager',
|
|
8
|
+
'vault',
|
|
9
|
+
'azureKeyVault',
|
|
10
|
+
'infisical',
|
|
11
|
+
]);
|
|
12
|
+
exports.secretsProviderStateSchema = zod_1.z.enum([
|
|
13
|
+
'initializing',
|
|
14
|
+
'initialized',
|
|
15
|
+
'connecting',
|
|
16
|
+
'connected',
|
|
17
|
+
'error',
|
|
18
|
+
'retrying',
|
|
19
|
+
]);
|
|
20
|
+
exports.secretsProviderConnectionTestStateSchema = zod_1.z.enum(['connected', 'tested', 'error']);
|
|
21
|
+
const projectSummarySchema = zod_1.z.object({
|
|
22
|
+
id: zod_1.z.string(),
|
|
23
|
+
name: zod_1.z.string(),
|
|
24
|
+
});
|
|
25
|
+
const secretSummarySchema = zod_1.z.object({
|
|
26
|
+
name: zod_1.z.string(),
|
|
27
|
+
credentialsCount: zod_1.z.number().optional(),
|
|
28
|
+
});
|
|
29
|
+
exports.secretProviderConnectionSchema = zod_1.z.object({
|
|
30
|
+
id: zod_1.z.string(),
|
|
31
|
+
name: zod_1.z.string(),
|
|
32
|
+
type: exports.secretsProviderTypeSchema,
|
|
33
|
+
state: exports.secretsProviderStateSchema,
|
|
34
|
+
isEnabled: zod_1.z.boolean(),
|
|
35
|
+
projects: zod_1.z.array(projectSummarySchema),
|
|
36
|
+
settings: zod_1.z.object({}).catchall(zod_1.z.any()),
|
|
37
|
+
secretsCount: zod_1.z.number(),
|
|
38
|
+
secrets: zod_1.z.array(secretSummarySchema).optional(),
|
|
39
|
+
createdAt: zod_1.z.string(),
|
|
40
|
+
updatedAt: zod_1.z.string(),
|
|
41
|
+
});
|
|
42
|
+
exports.secretProviderTypeResponseSchema = zod_1.z.object({
|
|
43
|
+
type: exports.secretsProviderTypeSchema,
|
|
44
|
+
displayName: zod_1.z.string(),
|
|
45
|
+
icon: zod_1.z.string(),
|
|
46
|
+
properties: zod_1.z.array(zod_1.z.any()),
|
|
47
|
+
});
|
|
48
|
+
exports.autocompletionSecretsResponseSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.array(zod_1.z.string()));
|
|
49
|
+
exports.testSecretProviderConnectionResponseSchema = zod_1.z.object({
|
|
50
|
+
success: zod_1.z.boolean(),
|
|
51
|
+
testState: exports.secretsProviderConnectionTestStateSchema,
|
|
52
|
+
error: zod_1.z.string().optional(),
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=secrets-provider.schema.js.map
|