@n8n/api-types 0.48.0 → 0.50.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/api-keys.d.ts +1 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +132 -0
- package/dist/chat-hub.js +46 -0
- package/dist/chat-hub.js.map +1 -0
- package/dist/dto/ai/ai-build-request.dto.d.ts +2 -2
- package/dist/dto/{data-store/add-data-store-column.dto.d.ts → data-table/add-data-table-column.dto.d.ts} +2 -2
- package/dist/dto/data-table/add-data-table-column.dto.js +9 -0
- package/dist/dto/data-table/add-data-table-column.dto.js.map +1 -0
- package/dist/dto/{data-store/add-data-store-rows.dto.d.ts → data-table/add-data-table-rows.dto.d.ts} +2 -2
- package/dist/dto/data-table/add-data-table-rows.dto.js +13 -0
- package/dist/dto/{data-store/add-data-store-rows.dto.js.map → data-table/add-data-table-rows.dto.js.map} +1 -1
- package/dist/dto/{data-store/create-data-store-column.dto.d.ts → data-table/create-data-table-column.dto.d.ts} +2 -2
- package/dist/dto/data-table/create-data-table-column.dto.js +12 -0
- package/dist/dto/data-table/create-data-table-column.dto.js.map +1 -0
- package/dist/dto/data-table/create-data-table.dto.d.ts +10 -0
- package/dist/dto/data-table/create-data-table.dto.js +14 -0
- package/dist/dto/{data-store/create-data-store.dto.js.map → data-table/create-data-table.dto.js.map} +1 -1
- package/dist/dto/{data-store → data-table}/delete-data-table-rows.dto.d.ts +1 -0
- package/dist/dto/{data-store → data-table}/delete-data-table-rows.dto.js +3 -2
- package/dist/dto/{data-store → data-table}/delete-data-table-rows.dto.js.map +1 -1
- package/dist/dto/{data-store/list-data-store-content-query.dto.d.ts → data-table/list-data-table-content-query.dto.d.ts} +2 -2
- package/dist/dto/{data-store/list-data-store-content-query.dto.js → data-table/list-data-table-content-query.dto.js} +6 -6
- package/dist/dto/{data-store/list-data-store-content-query.dto.js.map → data-table/list-data-table-content-query.dto.js.map} +1 -1
- package/dist/dto/{data-store/list-data-store-query.dto.d.ts → data-table/list-data-table-query.dto.d.ts} +4 -4
- package/dist/dto/{data-store/list-data-store-query.dto.js → data-table/list-data-table-query.dto.js} +4 -4
- package/dist/dto/{data-store/list-data-store-query.dto.js.map → data-table/list-data-table-query.dto.js.map} +1 -1
- package/dist/dto/{data-store/move-data-store-column.dto.d.ts → data-table/move-data-table-column.dto.d.ts} +2 -2
- package/dist/dto/{data-store/move-data-store-column.dto.js → data-table/move-data-table-column.dto.js} +4 -4
- package/dist/dto/{data-store/move-data-store-column.dto.js.map → data-table/move-data-table-column.dto.js.map} +1 -1
- package/dist/dto/{data-store/update-data-store-row.dto.d.ts → data-table/update-data-table-row.dto.d.ts} +1 -0
- package/dist/dto/{data-store/update-data-store-row.dto.js → data-table/update-data-table-row.dto.js} +4 -3
- package/dist/dto/{data-store/update-data-store-row.dto.js.map → data-table/update-data-table-row.dto.js.map} +1 -1
- package/dist/dto/data-table/update-data-table.dto.d.ts +7 -0
- package/dist/dto/data-table/update-data-table.dto.js +11 -0
- package/dist/dto/data-table/update-data-table.dto.js.map +1 -0
- package/dist/dto/{data-store/upsert-data-store-row.dto.d.ts → data-table/upsert-data-table-row.dto.d.ts} +3 -2
- package/dist/dto/{data-store/upsert-data-store-row.dto.js → data-table/upsert-data-table-row.dto.js} +8 -7
- package/dist/dto/{data-store/upsert-data-store-row.dto.js.map → data-table/upsert-data-table-row.dto.js.map} +1 -1
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +3 -3
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +3 -3
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +3 -3
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +3 -3
- package/dist/dto/folders/create-folder.dto.d.ts +1 -1
- package/dist/dto/folders/update-folder.dto.d.ts +1 -1
- package/dist/dto/index.d.ts +13 -11
- package/dist/dto/index.js +27 -23
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/invitation/invite-users-request.dto.d.ts +2 -2
- package/dist/dto/owner/dismiss-banner-request.dto.d.ts +1 -1
- package/dist/dto/project/add-users-to-project.dto.d.ts +2 -2
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +3 -3
- package/dist/dto/variables/base.dto.d.ts +18 -0
- package/dist/dto/variables/base.dto.js +27 -0
- package/dist/dto/variables/base.dto.js.map +1 -0
- package/dist/dto/variables/create-variable-request.dto.d.ts +36 -0
- package/dist/dto/variables/create-variable-request.dto.js +11 -0
- package/dist/dto/variables/create-variable-request.dto.js.map +1 -0
- package/dist/dto/variables/update-variable-request.dto.d.ts +11 -0
- package/dist/dto/variables/update-variable-request.dto.js +15 -0
- package/dist/dto/variables/update-variable-request.dto.js.map +1 -0
- package/dist/dto/variables/variables-list-request.dto.d.ts +1 -0
- package/dist/dto/variables/variables-list-request.dto.js +1 -0
- package/dist/dto/variables/variables-list-request.dto.js.map +1 -1
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/push/execution.d.ts +0 -1
- package/dist/schemas/banner-name.schema.d.ts +1 -1
- package/dist/schemas/banner-name.schema.js +2 -2
- package/dist/schemas/data-table-filter.schema.js +2 -2
- package/dist/schemas/{data-store.schema.d.ts → data-table.schema.d.ts} +25 -25
- package/dist/schemas/data-table.schema.js +45 -0
- package/dist/schemas/{data-store.schema.js.map → data-table.schema.js.map} +1 -1
- package/dist/schemas/folder.schema.d.ts +1 -1
- package/dist/schemas/folder.schema.js +38 -1
- package/dist/schemas/folder.schema.js.map +1 -1
- package/dist/schemas/project.schema.d.ts +2 -2
- package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
- package/dist/schemas/source-controlled-file.schema.js +9 -1
- package/dist/schemas/source-controlled-file.schema.js.map +1 -1
- package/dist/schemas/usage.schema.d.ts +137 -0
- package/dist/schemas/usage.schema.js +26 -0
- package/dist/schemas/usage.schema.js.map +1 -0
- package/dist/schemas/user.schema.d.ts +41 -20
- package/dist/schemas/user.schema.js +5 -3
- package/dist/schemas/user.schema.js.map +1 -1
- package/package.json +4 -4
- package/dist/dto/data-store/add-data-store-column.dto.js +0 -9
- package/dist/dto/data-store/add-data-store-column.dto.js.map +0 -1
- package/dist/dto/data-store/add-data-store-rows.dto.js +0 -13
- package/dist/dto/data-store/create-data-store-column.dto.js +0 -12
- package/dist/dto/data-store/create-data-store-column.dto.js.map +0 -1
- package/dist/dto/data-store/create-data-store.dto.d.ts +0 -10
- package/dist/dto/data-store/create-data-store.dto.js +0 -14
- package/dist/dto/data-store/update-data-store.dto.d.ts +0 -7
- package/dist/dto/data-store/update-data-store.dto.js +0 -11
- package/dist/dto/data-store/update-data-store.dto.js.map +0 -1
- package/dist/schemas/data-store.schema.js +0 -45
package/dist/dto/{data-store/upsert-data-store-row.dto.js → data-table/upsert-data-table-row.dto.js}
RENAMED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UpsertDataTableRowDto = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zod_class_1 = require("zod-class");
|
|
6
|
-
const data_store_schema_1 = require("../../schemas/data-store.schema");
|
|
7
6
|
const data_table_filter_schema_1 = require("../../schemas/data-table-filter.schema");
|
|
7
|
+
const data_table_schema_1 = require("../../schemas/data-table.schema");
|
|
8
8
|
const upsertFilterSchema = data_table_filter_schema_1.dataTableFilterSchema.refine((filter) => filter.filters.length > 0, {
|
|
9
9
|
message: 'filter must not be empty',
|
|
10
10
|
});
|
|
11
|
-
const
|
|
11
|
+
const upsertDataTableRowShape = {
|
|
12
12
|
filter: upsertFilterSchema,
|
|
13
13
|
data: zod_1.z
|
|
14
|
-
.record(
|
|
14
|
+
.record(data_table_schema_1.dataTableColumnNameSchema, data_table_schema_1.dataTableColumnValueSchema)
|
|
15
15
|
.refine((obj) => Object.keys(obj).length > 0, {
|
|
16
16
|
message: 'data must not be empty',
|
|
17
17
|
}),
|
|
18
18
|
returnData: zod_1.z.boolean().optional().default(false),
|
|
19
|
+
dryRun: zod_1.z.boolean().optional().default(false),
|
|
19
20
|
};
|
|
20
|
-
class
|
|
21
|
+
class UpsertDataTableRowDto extends zod_class_1.Z.class(upsertDataTableRowShape) {
|
|
21
22
|
}
|
|
22
|
-
exports.
|
|
23
|
-
//# sourceMappingURL=upsert-data-
|
|
23
|
+
exports.UpsertDataTableRowDto = UpsertDataTableRowDto;
|
|
24
|
+
//# sourceMappingURL=upsert-data-table-row.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsert-data-
|
|
1
|
+
{"version":3,"file":"upsert-data-table-row.dto.js","sourceRoot":"","sources":["../../../src/dto/data-table/upsert-data-table-row.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,qFAA+E;AAC/E,uEAGyC;AAEzC,MAAM,kBAAkB,GAAG,gDAAqB,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;IAC9F,OAAO,EAAE,0BAA0B;CACnC,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG;IAC/B,MAAM,EAAE,kBAAkB;IAC1B,IAAI,EAAE,OAAC;SACL,MAAM,CAAC,6CAAyB,EAAE,8CAA0B,CAAC;SAC7D,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;QAC7C,OAAO,EAAE,wBAAwB;KACjC,CAAC;IACH,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACjD,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7C,CAAC;AAEF,MAAa,qBAAsB,SAAQ,aAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;CAAG;AAA9E,sDAA8E"}
|
|
@@ -4,6 +4,7 @@ declare const ActionResultRequestDto_base: {
|
|
|
4
4
|
Handler: z.ZodString;
|
|
5
5
|
Payload: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.ZodString]>>;
|
|
6
6
|
} & {
|
|
7
|
+
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
8
|
schema: <T>(this: {
|
|
8
9
|
new (input: any): T;
|
|
9
10
|
[key: string]: any;
|
|
@@ -22,7 +23,6 @@ declare const ActionResultRequestDto_base: {
|
|
|
22
23
|
}>;
|
|
23
24
|
CurrentNodeParameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
24
25
|
MethodName: z.ZodOptional<z.ZodString>;
|
|
25
|
-
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
26
26
|
prototype: BaseDynamicParametersRequestDto;
|
|
27
27
|
staticProps: {
|
|
28
28
|
Path: z.ZodString;
|
|
@@ -55,11 +55,11 @@ declare const ActionResultRequestDto_base: {
|
|
|
55
55
|
[x: string]: any;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
|
-
projectId?: string | undefined;
|
|
59
|
-
methodName?: string | undefined;
|
|
60
58
|
credentials?: {
|
|
61
59
|
[x: string]: any;
|
|
62
60
|
} | undefined;
|
|
61
|
+
projectId?: string | undefined;
|
|
62
|
+
methodName?: string | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
handler: string;
|
|
65
65
|
} & {
|
|
@@ -4,6 +4,7 @@ import { BaseDynamicParametersRequestDto } from './base-dynamic-parameters-reque
|
|
|
4
4
|
declare const OptionsRequestDto_base: {
|
|
5
5
|
LoadOptions: z.ZodType<ILoadOptions | undefined, z.ZodTypeDef, ILoadOptions | undefined>;
|
|
6
6
|
} & {
|
|
7
|
+
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7
8
|
schema: <T>(this: {
|
|
8
9
|
new (input: any): T;
|
|
9
10
|
[key: string]: any;
|
|
@@ -22,7 +23,6 @@ declare const OptionsRequestDto_base: {
|
|
|
22
23
|
}>;
|
|
23
24
|
CurrentNodeParameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
24
25
|
MethodName: z.ZodOptional<z.ZodString>;
|
|
25
|
-
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
26
26
|
prototype: BaseDynamicParametersRequestDto;
|
|
27
27
|
staticProps: {
|
|
28
28
|
Path: z.ZodString;
|
|
@@ -53,11 +53,11 @@ declare const OptionsRequestDto_base: {
|
|
|
53
53
|
[x: string]: any;
|
|
54
54
|
};
|
|
55
55
|
} & {
|
|
56
|
-
projectId?: string | undefined;
|
|
57
|
-
methodName?: string | undefined;
|
|
58
56
|
credentials?: {
|
|
59
57
|
[x: string]: any;
|
|
60
58
|
} | undefined;
|
|
59
|
+
projectId?: string | undefined;
|
|
60
|
+
methodName?: string | undefined;
|
|
61
61
|
}, {} & {
|
|
62
62
|
loadOptions?: ILoadOptions | undefined;
|
|
63
63
|
} & BaseDynamicParametersRequestDto, Omit<{
|
|
@@ -5,6 +5,7 @@ declare const ResourceLocatorRequestDto_base: {
|
|
|
5
5
|
Filter: z.ZodOptional<z.ZodString>;
|
|
6
6
|
PaginationToken: z.ZodOptional<z.ZodString>;
|
|
7
7
|
} & {
|
|
8
|
+
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
9
|
schema: <T>(this: {
|
|
9
10
|
new (input: any): T;
|
|
10
11
|
[key: string]: any;
|
|
@@ -23,7 +24,6 @@ declare const ResourceLocatorRequestDto_base: {
|
|
|
23
24
|
}>;
|
|
24
25
|
CurrentNodeParameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
25
26
|
MethodName: z.ZodOptional<z.ZodString>;
|
|
26
|
-
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
27
27
|
prototype: BaseDynamicParametersRequestDto;
|
|
28
28
|
staticProps: {
|
|
29
29
|
Path: z.ZodString;
|
|
@@ -57,11 +57,11 @@ declare const ResourceLocatorRequestDto_base: {
|
|
|
57
57
|
[x: string]: any;
|
|
58
58
|
};
|
|
59
59
|
} & {
|
|
60
|
-
projectId?: string | undefined;
|
|
61
|
-
methodName?: string | undefined;
|
|
62
60
|
credentials?: {
|
|
63
61
|
[x: string]: any;
|
|
64
62
|
} | undefined;
|
|
63
|
+
projectId?: string | undefined;
|
|
64
|
+
methodName?: string | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
methodName: string;
|
|
67
67
|
} & {
|
|
@@ -3,6 +3,7 @@ import { BaseDynamicParametersRequestDto } from './base-dynamic-parameters-reque
|
|
|
3
3
|
declare const ResourceMapperFieldsRequestDto_base: {
|
|
4
4
|
MethodName: z.ZodString;
|
|
5
5
|
} & {
|
|
6
|
+
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6
7
|
schema: <T>(this: {
|
|
7
8
|
new (input: any): T;
|
|
8
9
|
[key: string]: any;
|
|
@@ -21,7 +22,6 @@ declare const ResourceMapperFieldsRequestDto_base: {
|
|
|
21
22
|
}>;
|
|
22
23
|
CurrentNodeParameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
23
24
|
MethodName: z.ZodOptional<z.ZodString>;
|
|
24
|
-
Credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
25
25
|
prototype: BaseDynamicParametersRequestDto;
|
|
26
26
|
staticProps: {
|
|
27
27
|
Path: z.ZodString;
|
|
@@ -52,11 +52,11 @@ declare const ResourceMapperFieldsRequestDto_base: {
|
|
|
52
52
|
[x: string]: any;
|
|
53
53
|
};
|
|
54
54
|
} & {
|
|
55
|
-
projectId?: string | undefined;
|
|
56
|
-
methodName?: string | undefined;
|
|
57
55
|
credentials?: {
|
|
58
56
|
[x: string]: any;
|
|
59
57
|
} | undefined;
|
|
58
|
+
projectId?: string | undefined;
|
|
59
|
+
methodName?: string | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
methodName: string;
|
|
62
62
|
} & {} & BaseDynamicParametersRequestDto, Omit<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Z } from 'zod-class';
|
|
2
2
|
declare const CreateFolderDto_base: Z.Class<{
|
|
3
|
-
name: import("zod").ZodString
|
|
3
|
+
name: import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodString>;
|
|
4
4
|
parentFolderId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
5
|
}>;
|
|
6
6
|
export declare class CreateFolderDto extends CreateFolderDto_base {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Z } from 'zod-class';
|
|
3
3
|
declare const UpdateFolderDto_base: Z.Class<{
|
|
4
|
-
name: z.ZodOptional<z.ZodString
|
|
4
|
+
name: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
|
5
5
|
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
6
|
parentFolderId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
}>;
|
package/dist/dto/index.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export { PullWorkFolderRequestDto } from './source-control/pull-work-folder-requ
|
|
|
36
36
|
export { PushWorkFolderRequestDto } from './source-control/push-work-folder-request.dto';
|
|
37
37
|
export { CreateCredentialDto } from './credentials/create-credential.dto';
|
|
38
38
|
export { VariableListRequestDto } from './variables/variables-list-request.dto';
|
|
39
|
+
export { CreateVariableRequestDto } from './variables/create-variable-request.dto';
|
|
40
|
+
export { UpdateVariableRequestDto } from './variables/update-variable-request.dto';
|
|
39
41
|
export { CredentialsGetOneRequestQuery } from './credentials/credentials-get-one-request.dto';
|
|
40
42
|
export { CredentialsGetManyRequestQuery } from './credentials/credentials-get-many-request.dto';
|
|
41
43
|
export { GenerateCredentialNameRequestQuery } from './credentials/generate-credential-name.dto';
|
|
@@ -59,14 +61,14 @@ export { CreateRoleDto } from './roles/create-role.dto';
|
|
|
59
61
|
export { RoleListQueryDto } from './roles/role-list-query.dto';
|
|
60
62
|
export { RoleGetQueryDto } from './roles/role-get-query.dto';
|
|
61
63
|
export { OidcConfigDto } from './oidc/config.dto';
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export { UpdateDataTableRowDto } from './data-
|
|
65
|
-
export { DeleteDataTableRowsDto } from './data-
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
64
|
+
export { CreateDataTableDto } from './data-table/create-data-table.dto';
|
|
65
|
+
export { UpdateDataTableDto } from './data-table/update-data-table.dto';
|
|
66
|
+
export { UpdateDataTableRowDto } from './data-table/update-data-table-row.dto';
|
|
67
|
+
export { DeleteDataTableRowsDto } from './data-table/delete-data-table-rows.dto';
|
|
68
|
+
export { UpsertDataTableRowDto } from './data-table/upsert-data-table-row.dto';
|
|
69
|
+
export { ListDataTableQueryDto } from './data-table/list-data-table-query.dto';
|
|
70
|
+
export { ListDataTableContentQueryDto } from './data-table/list-data-table-content-query.dto';
|
|
71
|
+
export { CreateDataTableColumnDto } from './data-table/create-data-table-column.dto';
|
|
72
|
+
export { AddDataTableRowsDto } from './data-table/add-data-table-rows.dto';
|
|
73
|
+
export { AddDataTableColumnDto } from './data-table/add-data-table-column.dto';
|
|
74
|
+
export { MoveDataTableColumnDto } from './data-table/move-data-table-column.dto';
|
package/dist/dto/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = exports.UpdateVariableRequestDto = exports.CreateVariableRequestDto = exports.VariableListRequestDto = exports.CreateCredentialDto = exports.PushWorkFolderRequestDto = exports.PullWorkFolderRequestDto = exports.CommunityRegisteredRequestDto = exports.UserUpdateRequestDto = exports.SettingsUpdateRequestDto = exports.RoleChangeRequestDto = exports.PasswordUpdateRequestDto = exports.SamlToggleDto = exports.SamlPreferences = exports.SamlAcsDto = 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.ResolveSignupTokenQueryDto = exports.LoginRequestDto = exports.BinaryDataSignedQueryDto = exports.BinaryDataQueryDto = exports.AiSessionRetrievalRequestDto = exports.AiFreeCreditsRequestDto = exports.AiApplySuggestionRequestDto = exports.AiBuilderChatRequestDto = exports.AiChatRequestDto = exports.AiAskRequestDto = void 0;
|
|
4
|
+
exports.MoveDataTableColumnDto = exports.AddDataTableColumnDto = exports.AddDataTableRowsDto = exports.CreateDataTableColumnDto = exports.ListDataTableContentQueryDto = exports.ListDataTableQueryDto = exports.UpsertDataTableRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataTableDto = exports.CreateDataTableDto = exports.OidcConfigDto = exports.RoleGetQueryDto = exports.RoleListQueryDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = void 0;
|
|
5
5
|
var ai_ask_request_dto_1 = require("./ai/ai-ask-request.dto");
|
|
6
6
|
Object.defineProperty(exports, "AiAskRequestDto", { enumerable: true, get: function () { return ai_ask_request_dto_1.AiAskRequestDto; } });
|
|
7
7
|
var ai_chat_request_dto_1 = require("./ai/ai-chat-request.dto");
|
|
@@ -79,6 +79,10 @@ var create_credential_dto_1 = require("./credentials/create-credential.dto");
|
|
|
79
79
|
Object.defineProperty(exports, "CreateCredentialDto", { enumerable: true, get: function () { return create_credential_dto_1.CreateCredentialDto; } });
|
|
80
80
|
var variables_list_request_dto_1 = require("./variables/variables-list-request.dto");
|
|
81
81
|
Object.defineProperty(exports, "VariableListRequestDto", { enumerable: true, get: function () { return variables_list_request_dto_1.VariableListRequestDto; } });
|
|
82
|
+
var create_variable_request_dto_1 = require("./variables/create-variable-request.dto");
|
|
83
|
+
Object.defineProperty(exports, "CreateVariableRequestDto", { enumerable: true, get: function () { return create_variable_request_dto_1.CreateVariableRequestDto; } });
|
|
84
|
+
var update_variable_request_dto_1 = require("./variables/update-variable-request.dto");
|
|
85
|
+
Object.defineProperty(exports, "UpdateVariableRequestDto", { enumerable: true, get: function () { return update_variable_request_dto_1.UpdateVariableRequestDto; } });
|
|
82
86
|
var credentials_get_one_request_dto_1 = require("./credentials/credentials-get-one-request.dto");
|
|
83
87
|
Object.defineProperty(exports, "CredentialsGetOneRequestQuery", { enumerable: true, get: function () { return credentials_get_one_request_dto_1.CredentialsGetOneRequestQuery; } });
|
|
84
88
|
var credentials_get_many_request_dto_1 = require("./credentials/credentials-get-many-request.dto");
|
|
@@ -126,26 +130,26 @@ var role_get_query_dto_1 = require("./roles/role-get-query.dto");
|
|
|
126
130
|
Object.defineProperty(exports, "RoleGetQueryDto", { enumerable: true, get: function () { return role_get_query_dto_1.RoleGetQueryDto; } });
|
|
127
131
|
var config_dto_1 = require("./oidc/config.dto");
|
|
128
132
|
Object.defineProperty(exports, "OidcConfigDto", { enumerable: true, get: function () { return config_dto_1.OidcConfigDto; } });
|
|
129
|
-
var
|
|
130
|
-
Object.defineProperty(exports, "
|
|
131
|
-
var
|
|
132
|
-
Object.defineProperty(exports, "
|
|
133
|
-
var
|
|
134
|
-
Object.defineProperty(exports, "UpdateDataTableRowDto", { enumerable: true, get: function () { return
|
|
135
|
-
var delete_data_table_rows_dto_1 = require("./data-
|
|
133
|
+
var create_data_table_dto_1 = require("./data-table/create-data-table.dto");
|
|
134
|
+
Object.defineProperty(exports, "CreateDataTableDto", { enumerable: true, get: function () { return create_data_table_dto_1.CreateDataTableDto; } });
|
|
135
|
+
var update_data_table_dto_1 = require("./data-table/update-data-table.dto");
|
|
136
|
+
Object.defineProperty(exports, "UpdateDataTableDto", { enumerable: true, get: function () { return update_data_table_dto_1.UpdateDataTableDto; } });
|
|
137
|
+
var update_data_table_row_dto_1 = require("./data-table/update-data-table-row.dto");
|
|
138
|
+
Object.defineProperty(exports, "UpdateDataTableRowDto", { enumerable: true, get: function () { return update_data_table_row_dto_1.UpdateDataTableRowDto; } });
|
|
139
|
+
var delete_data_table_rows_dto_1 = require("./data-table/delete-data-table-rows.dto");
|
|
136
140
|
Object.defineProperty(exports, "DeleteDataTableRowsDto", { enumerable: true, get: function () { return delete_data_table_rows_dto_1.DeleteDataTableRowsDto; } });
|
|
137
|
-
var
|
|
138
|
-
Object.defineProperty(exports, "
|
|
139
|
-
var
|
|
140
|
-
Object.defineProperty(exports, "
|
|
141
|
-
var
|
|
142
|
-
Object.defineProperty(exports, "
|
|
143
|
-
var
|
|
144
|
-
Object.defineProperty(exports, "
|
|
145
|
-
var
|
|
146
|
-
Object.defineProperty(exports, "
|
|
147
|
-
var
|
|
148
|
-
Object.defineProperty(exports, "
|
|
149
|
-
var
|
|
150
|
-
Object.defineProperty(exports, "
|
|
141
|
+
var upsert_data_table_row_dto_1 = require("./data-table/upsert-data-table-row.dto");
|
|
142
|
+
Object.defineProperty(exports, "UpsertDataTableRowDto", { enumerable: true, get: function () { return upsert_data_table_row_dto_1.UpsertDataTableRowDto; } });
|
|
143
|
+
var list_data_table_query_dto_1 = require("./data-table/list-data-table-query.dto");
|
|
144
|
+
Object.defineProperty(exports, "ListDataTableQueryDto", { enumerable: true, get: function () { return list_data_table_query_dto_1.ListDataTableQueryDto; } });
|
|
145
|
+
var list_data_table_content_query_dto_1 = require("./data-table/list-data-table-content-query.dto");
|
|
146
|
+
Object.defineProperty(exports, "ListDataTableContentQueryDto", { enumerable: true, get: function () { return list_data_table_content_query_dto_1.ListDataTableContentQueryDto; } });
|
|
147
|
+
var create_data_table_column_dto_1 = require("./data-table/create-data-table-column.dto");
|
|
148
|
+
Object.defineProperty(exports, "CreateDataTableColumnDto", { enumerable: true, get: function () { return create_data_table_column_dto_1.CreateDataTableColumnDto; } });
|
|
149
|
+
var add_data_table_rows_dto_1 = require("./data-table/add-data-table-rows.dto");
|
|
150
|
+
Object.defineProperty(exports, "AddDataTableRowsDto", { enumerable: true, get: function () { return add_data_table_rows_dto_1.AddDataTableRowsDto; } });
|
|
151
|
+
var add_data_table_column_dto_1 = require("./data-table/add-data-table-column.dto");
|
|
152
|
+
Object.defineProperty(exports, "AddDataTableColumnDto", { enumerable: true, get: function () { return add_data_table_column_dto_1.AddDataTableColumnDto; } });
|
|
153
|
+
var move_data_table_column_dto_1 = require("./data-table/move-data-table-column.dto");
|
|
154
|
+
Object.defineProperty(exports, "MoveDataTableColumnDto", { enumerable: true, get: function () { return move_data_table_column_dto_1.MoveDataTableColumnDto; } });
|
|
151
155
|
//# sourceMappingURL=index.js.map
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;AAAA,8DAA0D;AAAjD,qHAAA,eAAe,OAAA;AACxB,gEAA4D;AAAnD,uHAAA,gBAAgB,OAAA;AACzB,kEAAoE;AAA3D,+HAAA,uBAAuB,OAAA;AAChC,wFAAmF;AAA1E,8IAAA,2BAA2B,OAAA;AACpC,gFAA2E;AAAlE,sIAAA,uBAAuB,OAAA;AAChC,0FAAqF;AAA5E,gJAAA,4BAA4B,OAAA;AAErC,6EAAyE;AAAhE,2HAAA,kBAAkB,OAAA;AAC3B,2FAAsF;AAA7E,wIAAA,wBAAwB,OAAA;AAEjC,8DAA2D;AAAlD,oHAAA,eAAe,OAAA;AACxB,wFAAmF;AAA1E,4IAAA,0BAA0B,OAAA;AAEnC,qFAAkF;AAAzE,wHAAA,iBAAiB,OAAA;AAC1B,uGAAmG;AAA1F,yIAAA,yBAAyB,OAAA;AAClC,mHAA8G;AAArG,oJAAA,8BAA8B,OAAA;AACvC,iGAA6F;AAApF,mIAAA,sBAAsB,OAAA;AAE/B,kFAA8E;AAArE,iIAAA,qBAAqB,OAAA;AAC9B,4FAAwF;AAA/E,2IAAA,0BAA0B,OAAA;AAEnC,2EAAuE;AAA9D,+HAAA,oBAAoB,OAAA;AAC7B,iFAA6E;AAApE,qIAAA,uBAAuB,OAAA;AAEhC,4FAAwF;AAA/E,uIAAA,wBAAwB,OAAA;AACjC,sGAAiG;AAAxF,gJAAA,4BAA4B,OAAA;AACrC,4FAAwF;AAA/E,uIAAA,wBAAwB,OAAA;AAEjC,mEAAgE;AAAvD,sHAAA,gBAAgB,OAAA;AACzB,mEAA+F;AAAtF,sHAAA,gBAAgB,OAAA;AAAE,mIAAA,6BAA6B,OAAA;AACxD,mEAAgE;A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eAAe,OAAA;AAExB,gDAAkD;AAAzC,2GAAA,aAAa,OAAA;AAEtB,4EAAwE;AAA/D,2HAAA,kBAAkB,OAAA;AAC3B,4EAAwE;AAA/D,2HAAA,kBAAkB,OAAA;AAC3B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,sFAAiF;AAAxE,oIAAA,sBAAsB,OAAA;AAC/B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,oGAA8F;AAArF,iJAAA,4BAA4B,OAAA;AACrC,0FAAqF;AAA5E,wIAAA,wBAAwB,OAAA;AACjC,gFAA2E;AAAlE,8HAAA,mBAAmB,OAAA;AAC5B,oFAA+E;AAAtE,kIAAA,qBAAqB,OAAA;AAC9B,sFAAiF;AAAxE,oIAAA,sBAAsB,OAAA"}
|
|
@@ -3,8 +3,8 @@ declare const invitedUserSchema: z.ZodObject<{
|
|
|
3
3
|
email: z.ZodString;
|
|
4
4
|
role: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["global:admin", "global:member"]>, z.ZodEffects<z.ZodString, string, string>]>>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
email: string;
|
|
7
6
|
role: string;
|
|
7
|
+
email: string;
|
|
8
8
|
}, {
|
|
9
9
|
email: string;
|
|
10
10
|
role?: string | undefined;
|
|
@@ -14,8 +14,8 @@ export declare class InviteUsersRequestDto extends Array<z.infer<typeof invitedU
|
|
|
14
14
|
email: string;
|
|
15
15
|
role?: string | undefined;
|
|
16
16
|
}[], {
|
|
17
|
-
email: string;
|
|
18
17
|
role: string;
|
|
18
|
+
email: string;
|
|
19
19
|
}[]>;
|
|
20
20
|
}
|
|
21
21
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Z } from 'zod-class';
|
|
2
2
|
declare const DismissBannerRequestDto_base: Z.Class<{
|
|
3
|
-
banner: import("zod").ZodOptional<import("zod").ZodEnum<["V1", "TRIAL_OVER", "TRIAL", "NON_PRODUCTION_LICENSE", "EMAIL_CONFIRMATION", "
|
|
3
|
+
banner: import("zod").ZodOptional<import("zod").ZodEnum<["V1", "TRIAL_OVER", "TRIAL", "NON_PRODUCTION_LICENSE", "EMAIL_CONFIRMATION", "DATA_TABLE_STORAGE_LIMIT_WARNING", "DATA_TABLE_STORAGE_LIMIT_ERROR"]>>;
|
|
4
4
|
}>;
|
|
5
5
|
export declare class DismissBannerRequestDto extends DismissBannerRequestDto_base {
|
|
6
6
|
}
|
|
@@ -5,11 +5,11 @@ declare const AddUsersToProjectDto_base: Z.Class<{
|
|
|
5
5
|
userId: z.ZodString;
|
|
6
6
|
role: z.ZodUnion<[z.ZodEnum<["project:admin", "project:editor", "project:viewer"]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
userId: string;
|
|
9
8
|
role: string;
|
|
10
|
-
}, {
|
|
11
9
|
userId: string;
|
|
10
|
+
}, {
|
|
12
11
|
role: string;
|
|
12
|
+
userId: string;
|
|
13
13
|
}>, "many">;
|
|
14
14
|
}>;
|
|
15
15
|
export declare class AddUsersToProjectDto extends AddUsersToProjectDto_base {
|
|
@@ -21,11 +21,11 @@ declare const UpdateProjectWithRelationsDto_base: Z.Class<{
|
|
|
21
21
|
userId: z.ZodString;
|
|
22
22
|
role: z.ZodUnion<[z.ZodEnum<["project:admin", "project:editor", "project:viewer"]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
userId: string;
|
|
25
24
|
role: string;
|
|
26
|
-
}, {
|
|
27
25
|
userId: string;
|
|
26
|
+
}, {
|
|
28
27
|
role: string;
|
|
28
|
+
userId: string;
|
|
29
29
|
}>, "many">>;
|
|
30
30
|
name: z.ZodOptional<z.ZodString>;
|
|
31
31
|
icon: z.ZodOptional<z.ZodObject<{
|
|
@@ -7,7 +7,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
7
7
|
file: z.ZodString;
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
name: z.ZodString;
|
|
10
|
-
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders"]>;
|
|
10
|
+
type: z.ZodEnum<["credential", "workflow", "tags", "variables", "file", "folders", "project"]>;
|
|
11
11
|
status: z.ZodEnum<["new", "modified", "deleted", "created", "renamed", "conflicted", "ignored", "staged", "unknown"]>;
|
|
12
12
|
location: z.ZodEnum<["local", "remote"]>;
|
|
13
13
|
conflict: z.ZodBoolean;
|
|
@@ -27,7 +27,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
27
27
|
projectName: string;
|
|
28
28
|
}>>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
30
|
+
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
31
31
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
32
32
|
id: string;
|
|
33
33
|
name: string;
|
|
@@ -42,7 +42,7 @@ declare const PushWorkFolderRequestDto_base: Z.Class<{
|
|
|
42
42
|
projectName: string;
|
|
43
43
|
} | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
type: "workflow" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
45
|
+
type: "workflow" | "project" | "credential" | "file" | "tags" | "variables" | "folders";
|
|
46
46
|
status: "unknown" | "new" | "modified" | "deleted" | "created" | "renamed" | "conflicted" | "ignored" | "staged";
|
|
47
47
|
id: string;
|
|
48
48
|
name: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
export declare const KEY_NAME_REGEX: RegExp;
|
|
4
|
+
export declare const KEY_MAX_LENGTH = 50;
|
|
5
|
+
export declare const VALUE_MAX_LENGTH = 1000;
|
|
6
|
+
export declare const TYPE_ENUM: readonly ["string"];
|
|
7
|
+
export declare const TYPE_DEFAULT: (typeof TYPE_ENUM)[number];
|
|
8
|
+
export declare const variableKeySchema: z.ZodString;
|
|
9
|
+
export declare const variableValueSchema: z.ZodString;
|
|
10
|
+
export declare const variableTypeSchema: z.ZodDefault<z.ZodEnum<["string"]>>;
|
|
11
|
+
declare const BaseVariableRequestDto_base: Z.Class<{
|
|
12
|
+
key: z.ZodString;
|
|
13
|
+
type: z.ZodDefault<z.ZodEnum<["string"]>>;
|
|
14
|
+
value: z.ZodString;
|
|
15
|
+
}>;
|
|
16
|
+
export declare class BaseVariableRequestDto extends BaseVariableRequestDto_base {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseVariableRequestDto = exports.variableTypeSchema = exports.variableValueSchema = exports.variableKeySchema = exports.TYPE_DEFAULT = exports.TYPE_ENUM = exports.VALUE_MAX_LENGTH = exports.KEY_MAX_LENGTH = exports.KEY_NAME_REGEX = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
exports.KEY_NAME_REGEX = /^[A-Za-z0-9_]+$/;
|
|
7
|
+
exports.KEY_MAX_LENGTH = 50;
|
|
8
|
+
exports.VALUE_MAX_LENGTH = 1000;
|
|
9
|
+
exports.TYPE_ENUM = ['string'];
|
|
10
|
+
exports.TYPE_DEFAULT = 'string';
|
|
11
|
+
exports.variableKeySchema = zod_1.z
|
|
12
|
+
.string()
|
|
13
|
+
.min(1, 'key must be at least 1 character long')
|
|
14
|
+
.max(exports.KEY_MAX_LENGTH, 'key cannot be longer than 50 characters')
|
|
15
|
+
.regex(exports.KEY_NAME_REGEX, 'key can only contain characters A-Za-z0-9_');
|
|
16
|
+
exports.variableValueSchema = zod_1.z
|
|
17
|
+
.string()
|
|
18
|
+
.max(exports.VALUE_MAX_LENGTH, `value cannot be longer than ${exports.VALUE_MAX_LENGTH} characters`);
|
|
19
|
+
exports.variableTypeSchema = zod_1.z.enum(exports.TYPE_ENUM).default(exports.TYPE_DEFAULT);
|
|
20
|
+
class BaseVariableRequestDto extends zod_class_1.Z.class({
|
|
21
|
+
key: exports.variableKeySchema,
|
|
22
|
+
type: exports.variableTypeSchema,
|
|
23
|
+
value: exports.variableValueSchema,
|
|
24
|
+
}) {
|
|
25
|
+
}
|
|
26
|
+
exports.BaseVariableRequestDto = BaseVariableRequestDto;
|
|
27
|
+
//# sourceMappingURL=base.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.dto.js","sourceRoot":"","sources":["../../../src/dto/variables/base.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAEjB,QAAA,cAAc,GAAG,iBAAiB,CAAC;AACnC,QAAA,cAAc,GAAG,EAAE,CAAC;AACpB,QAAA,gBAAgB,GAAG,IAAI,CAAC;AACxB,QAAA,SAAS,GAAG,CAAC,QAAQ,CAAU,CAAC;AAChC,QAAA,YAAY,GAA+B,QAAQ,CAAC;AAEpD,QAAA,iBAAiB,GAAG,OAAC;KAChC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,EAAE,uCAAuC,CAAC;KAC/C,GAAG,CAAC,sBAAc,EAAE,yCAAyC,CAAC;KAC9D,KAAK,CAAC,sBAAc,EAAE,4CAA4C,CAAC,CAAC;AAEzD,QAAA,mBAAmB,GAAG,OAAC;KAClC,MAAM,EAAE;KACR,GAAG,CAAC,wBAAgB,EAAE,+BAA+B,wBAAgB,aAAa,CAAC,CAAC;AAEzE,QAAA,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC,iBAAS,CAAC,CAAC,OAAO,CAAC,oBAAY,CAAC,CAAC;AAE1E,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,GAAG,EAAE,yBAAiB;IACtB,IAAI,EAAE,0BAAkB;IACxB,KAAK,EAAE,2BAAmB;CAC1B,CAAC;CAAG;AAJL,wDAIK"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BaseVariableRequestDto } from './base.dto';
|
|
3
|
+
declare const CreateVariableRequestDto_base: {
|
|
4
|
+
ProjectId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
} & {
|
|
6
|
+
schema: <T>(this: {
|
|
7
|
+
new (input: any): T;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}) => z.ZodType<T>;
|
|
10
|
+
Type: z.ZodDefault<z.ZodEnum<["string"]>>;
|
|
11
|
+
prototype: BaseVariableRequestDto;
|
|
12
|
+
staticProps: {
|
|
13
|
+
Key: z.ZodString;
|
|
14
|
+
Type: z.ZodDefault<z.ZodEnum<["string"]>>;
|
|
15
|
+
Value: z.ZodString;
|
|
16
|
+
};
|
|
17
|
+
Key: z.ZodString;
|
|
18
|
+
Value: z.ZodString;
|
|
19
|
+
} & import("zod-class").ZodClass<{} & {
|
|
20
|
+
projectId?: string | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
value: string;
|
|
23
|
+
type: "string" | undefined;
|
|
24
|
+
key: string;
|
|
25
|
+
} & {}, {} & {
|
|
26
|
+
projectId?: string | undefined;
|
|
27
|
+
} & BaseVariableRequestDto, Omit<{
|
|
28
|
+
key: z.ZodString;
|
|
29
|
+
type: z.ZodDefault<z.ZodEnum<["string"]>>;
|
|
30
|
+
value: z.ZodString;
|
|
31
|
+
}, "projectId"> & {
|
|
32
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}>;
|
|
34
|
+
export declare class CreateVariableRequestDto extends CreateVariableRequestDto_base {
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateVariableRequestDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const base_dto_1 = require("./base.dto");
|
|
6
|
+
class CreateVariableRequestDto extends base_dto_1.BaseVariableRequestDto.extend({
|
|
7
|
+
projectId: zod_1.z.string().max(36).optional(),
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.CreateVariableRequestDto = CreateVariableRequestDto;
|
|
11
|
+
//# sourceMappingURL=create-variable-request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-variable-request.dto.js","sourceRoot":"","sources":["../../../src/dto/variables/create-variable-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,yCAAoD;AAEpD,MAAa,wBAAyB,SAAQ,iCAAsB,CAAC,MAAM,CAAC;IAC3E,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC;CAAG;AAFL,4DAEK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Z } from 'zod-class';
|
|
3
|
+
declare const UpdateVariableRequestDto_base: Z.Class<{
|
|
4
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["string"]>>>;
|
|
6
|
+
value: z.ZodOptional<z.ZodString>;
|
|
7
|
+
projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare class UpdateVariableRequestDto extends UpdateVariableRequestDto_base {
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateVariableRequestDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const zod_class_1 = require("zod-class");
|
|
6
|
+
const base_dto_1 = require("./base.dto");
|
|
7
|
+
class UpdateVariableRequestDto extends zod_class_1.Z.class({
|
|
8
|
+
key: base_dto_1.variableKeySchema.optional(),
|
|
9
|
+
type: base_dto_1.variableTypeSchema.optional(),
|
|
10
|
+
value: base_dto_1.variableValueSchema.optional(),
|
|
11
|
+
projectId: zod_1.z.string().max(36).optional().nullable(),
|
|
12
|
+
}) {
|
|
13
|
+
}
|
|
14
|
+
exports.UpdateVariableRequestDto = UpdateVariableRequestDto;
|
|
15
|
+
//# sourceMappingURL=update-variable-request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-variable-request.dto.js","sourceRoot":"","sources":["../../../src/dto/variables/update-variable-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,yCAAwF;AAExF,MAAa,wBAAyB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACrD,GAAG,EAAE,4BAAiB,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,6BAAkB,CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,8BAAmB,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACnD,CAAC;CAAG;AALL,4DAKK"}
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { Z } from 'zod-class';
|
|
3
3
|
declare const VariableListRequestDto_base: Z.Class<{
|
|
4
4
|
state: z.ZodOptional<z.ZodLiteral<"empty">>;
|
|
5
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5
6
|
}>;
|
|
6
7
|
export declare class VariableListRequestDto extends VariableListRequestDto_base {
|
|
7
8
|
}
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const zod_class_1 = require("zod-class");
|
|
6
6
|
class VariableListRequestDto extends zod_class_1.Z.class({
|
|
7
7
|
state: zod_1.z.literal('empty').optional(),
|
|
8
|
+
projectId: zod_1.z.string().max(36).optional(),
|
|
8
9
|
}) {
|
|
9
10
|
}
|
|
10
11
|
exports.VariableListRequestDto = VariableListRequestDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables-list-request.dto.js","sourceRoot":"","sources":["../../../src/dto/variables/variables-list-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"variables-list-request.dto.js","sourceRoot":"","sources":["../../../src/dto/variables/variables-list-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE;IACpC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC;CAAG;AAHL,wDAGK"}
|
|
@@ -74,6 +74,7 @@ export interface FrontendSettings {
|
|
|
74
74
|
autocapture: boolean;
|
|
75
75
|
disableSessionRecording: boolean;
|
|
76
76
|
debug: boolean;
|
|
77
|
+
proxy: string;
|
|
77
78
|
};
|
|
78
79
|
dataTables: {
|
|
79
80
|
maxSize: number;
|
|
@@ -125,6 +126,9 @@ export interface FrontendSettings {
|
|
|
125
126
|
askAi: {
|
|
126
127
|
enabled: boolean;
|
|
127
128
|
};
|
|
129
|
+
aiBuilder: {
|
|
130
|
+
enabled: boolean;
|
|
131
|
+
};
|
|
128
132
|
deployment: {
|
|
129
133
|
type: string;
|
|
130
134
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ 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 ChatHubConversationModel, chatHubProviderSchema, type ChatHubProvider, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, type ChatModelsRequest, type ChatModelsResponse, ChatHubSendMessageRequest, type ChatHubConversationsResponse, type ChatHubMessagesResponse, type ChatHubConversation, type ChatHubMessage, } from './chat-hub';
|
|
9
10
|
export type { Collaborator } from './push/collaboration';
|
|
10
11
|
export type { HeartbeatMessage } from './push/heartbeat';
|
|
11
12
|
export { createHeartbeatMessage, heartbeatMessageSchema } from './push/heartbeat';
|
|
@@ -16,7 +17,8 @@ export { passwordSchema } from './schemas/password.schema';
|
|
|
16
17
|
export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/project.schema';
|
|
17
18
|
export { type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
|
|
18
19
|
export { type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
|
|
19
|
-
export { ROLE, type Role, type User, type UsersList, usersListSchema, } from './schemas/user.schema';
|
|
20
|
-
export {
|
|
20
|
+
export { ROLE, type Role, type User, type UsersList, usersListSchema, userBaseSchema, userDetailSchema, } from './schemas/user.schema';
|
|
21
|
+
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, dateTimeSchema, dataTableColumnNameSchema, } from './schemas/data-table.schema';
|
|
21
22
|
export type { DataTableFilter, DataTableFilterConditionType, } from './schemas/data-table-filter.schema';
|
|
22
23
|
export type { ExternalSecretsProvider, ExternalSecretsProviderSecret, ExternalSecretsProviderData, ExternalSecretsProviderProperty, ExternalSecretsProviderState, } from './schemas/external-secrets.schema';
|
|
24
|
+
export type { UsageState } from './schemas/usage.schema';
|