@n8n/api-types 0.46.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/dto/ai/ai-build-request.dto.d.ts +3 -0
  3. package/dist/dto/ai/ai-build-request.dto.js +1 -0
  4. package/dist/dto/ai/ai-build-request.dto.js.map +1 -1
  5. package/dist/dto/data-store/delete-data-table-rows.dto.d.ts +3 -25
  6. package/dist/dto/data-store/delete-data-table-rows.dto.js +53 -2
  7. package/dist/dto/data-store/delete-data-table-rows.dto.js.map +1 -1
  8. package/dist/dto/index.d.ts +3 -2
  9. package/dist/dto/index.js +7 -4
  10. package/dist/dto/index.js.map +1 -1
  11. package/dist/dto/insights/date-filter.dto.d.ts +3 -0
  12. package/dist/dto/insights/date-filter.dto.js +3 -0
  13. package/dist/dto/insights/date-filter.dto.js.map +1 -1
  14. package/dist/dto/insights/list-workflow-query.dto.d.ts +3 -0
  15. package/dist/dto/insights/list-workflow-query.dto.js +3 -0
  16. package/dist/dto/insights/list-workflow-query.dto.js.map +1 -1
  17. package/dist/dto/oidc/config.dto.d.ts +1 -0
  18. package/dist/dto/oidc/config.dto.js +4 -0
  19. package/dist/dto/oidc/config.dto.js.map +1 -1
  20. package/dist/dto/project/update-project.dto.d.ts +17 -1
  21. package/dist/dto/project/update-project.dto.js +9 -3
  22. package/dist/dto/project/update-project.dto.js.map +1 -1
  23. package/dist/dto/roles/role-get-query.dto.d.ts +7 -0
  24. package/dist/dto/roles/role-get-query.dto.js +11 -0
  25. package/dist/dto/roles/role-get-query.dto.js.map +1 -0
  26. package/dist/dto/roles/role-list-query.dto.d.ts +7 -0
  27. package/dist/dto/roles/role-list-query.dto.js +11 -0
  28. package/dist/dto/roles/role-list-query.dto.js.map +1 -0
  29. package/dist/dto/user/user-update-request.dto.d.ts +1 -0
  30. package/dist/dto/user/user-update-request.dto.js +1 -0
  31. package/dist/dto/user/user-update-request.dto.js.map +1 -1
  32. package/dist/frontend-settings.d.ts +5 -3
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.js +4 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/push/builder-credits.d.ts +7 -0
  37. package/dist/push/builder-credits.js +3 -0
  38. package/dist/push/builder-credits.js.map +1 -0
  39. package/dist/push/execution.d.ts +3 -3
  40. package/dist/push/index.d.ts +2 -1
  41. package/dist/schemas/data-store.schema.d.ts +2 -0
  42. package/dist/schemas/data-store.schema.js +5 -3
  43. package/dist/schemas/data-store.schema.js.map +1 -1
  44. package/package.json +4 -4
  45. package/dist/dto/workflows/manual-run-query.dto.d.ts +0 -8
  46. package/dist/dto/workflows/manual-run-query.dto.js +0 -14
  47. package/dist/dto/workflows/manual-run-query.dto.js.map +0 -1
@@ -43,6 +43,7 @@ declare const AiBuilderChatRequestDto_base: Z.Class<{
43
43
  } | undefined;
44
44
  executionSchema?: NodeExecutionSchema[] | undefined;
45
45
  }>;
46
+ useDeprecatedCredentials: z.ZodDefault<z.ZodBoolean>;
46
47
  }, "strip", z.ZodTypeAny, {
47
48
  type: "message";
48
49
  text: string;
@@ -58,6 +59,7 @@ declare const AiBuilderChatRequestDto_base: Z.Class<{
58
59
  } | undefined;
59
60
  executionSchema?: NodeExecutionSchema[] | undefined;
60
61
  };
62
+ useDeprecatedCredentials: boolean;
61
63
  }, {
62
64
  type: "message";
63
65
  text: string;
@@ -73,6 +75,7 @@ declare const AiBuilderChatRequestDto_base: Z.Class<{
73
75
  } | undefined;
74
76
  executionSchema?: NodeExecutionSchema[] | undefined;
75
77
  };
78
+ useDeprecatedCredentials?: boolean | undefined;
76
79
  }>;
77
80
  }>;
78
81
  export declare class AiBuilderChatRequestDto extends AiBuilderChatRequestDto_base {
@@ -34,6 +34,7 @@ class AiBuilderChatRequestDto extends zod_class_1.Z.class({
34
34
  })
35
35
  .optional(),
36
36
  }),
37
+ useDeprecatedCredentials: zod_1.z.boolean().default(false),
37
38
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I,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBAChF,OAAO,KAAK,CAAC;gBACd,CAAC;gBAED,OAAO,GAAG,CAAC;YACZ,CAAC,CAAC;iBACD,QAAQ,EAAE;SACZ,CAAC;QACF,wBAAwB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;KACpD,CAAC;CACF,CAAC;CAAG;AAvCL,0DAuCK"}
@@ -1,37 +1,15 @@
1
1
  import { z } from 'zod';
2
2
  import { Z } from 'zod-class';
3
3
  declare const DeleteDataTableRowsDto_base: Z.Class<{
4
- filter: z.ZodOptional<z.ZodObject<{
5
- type: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>>;
6
- filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
7
- columnName: z.ZodString;
8
- condition: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"eq">, z.ZodLiteral<"neq">, z.ZodLiteral<"like">, z.ZodLiteral<"ilike">, z.ZodLiteral<"gt">, z.ZodLiteral<"gte">, z.ZodLiteral<"lt">, z.ZodLiteral<"lte">]>>;
9
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodDate, z.ZodNull]>;
10
- }, "strip", z.ZodTypeAny, {
11
- value: string | number | boolean | Date | null;
12
- columnName: string;
13
- condition: "eq" | "neq" | "like" | "ilike" | "gt" | "gte" | "lt" | "lte";
14
- }, {
15
- value: string | number | boolean | Date | null;
16
- columnName: string;
17
- condition?: "eq" | "neq" | "like" | "ilike" | "gt" | "gte" | "lt" | "lte" | undefined;
18
- }>, "many">>;
19
- }, "strip", z.ZodTypeAny, {
4
+ filter: z.ZodEffects<z.ZodString, {
20
5
  type: "or" | "and";
21
6
  filters: {
22
7
  value: string | number | boolean | Date | null;
23
8
  columnName: string;
24
9
  condition: "eq" | "neq" | "like" | "ilike" | "gt" | "gte" | "lt" | "lte";
25
10
  }[];
26
- }, {
27
- type?: "or" | "and" | undefined;
28
- filters?: {
29
- value: string | number | boolean | Date | null;
30
- columnName: string;
31
- condition?: "eq" | "neq" | "like" | "ilike" | "gt" | "gte" | "lt" | "lte" | undefined;
32
- }[] | undefined;
33
- }>>;
34
- returnData: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11
+ }, string>;
12
+ returnData: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, boolean, string | boolean | undefined>;
35
13
  }>;
36
14
  export declare class DeleteDataTableRowsDto extends DeleteDataTableRowsDto_base {
37
15
  }
@@ -1,12 +1,63 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteDataTableRowsDto = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
4
5
  const zod_1 = require("zod");
5
6
  const zod_class_1 = require("zod-class");
6
7
  const data_table_filter_schema_1 = require("../../schemas/data-table-filter.schema");
8
+ const dataTableFilterQueryValidator = zod_1.z.string().transform((val, ctx) => {
9
+ if (!val) {
10
+ ctx.addIssue({
11
+ code: zod_1.z.ZodIssueCode.custom,
12
+ message: 'Filter is required for delete operations',
13
+ path: ['filter'],
14
+ });
15
+ return zod_1.z.NEVER;
16
+ }
17
+ try {
18
+ const parsed = (0, n8n_workflow_1.jsonParse)(val);
19
+ try {
20
+ const result = data_table_filter_schema_1.dataTableFilterSchema.parse(parsed);
21
+ if (!result.filters || result.filters.length === 0) {
22
+ ctx.addIssue({
23
+ code: zod_1.z.ZodIssueCode.custom,
24
+ message: 'At least one filter condition is required for delete operations',
25
+ path: ['filter'],
26
+ });
27
+ return zod_1.z.NEVER;
28
+ }
29
+ return result;
30
+ }
31
+ catch (e) {
32
+ ctx.addIssue({
33
+ code: zod_1.z.ZodIssueCode.custom,
34
+ message: 'Invalid filter fields',
35
+ path: ['filter'],
36
+ });
37
+ return zod_1.z.NEVER;
38
+ }
39
+ }
40
+ catch (e) {
41
+ ctx.addIssue({
42
+ code: zod_1.z.ZodIssueCode.custom,
43
+ message: 'Invalid filter format',
44
+ path: ['filter'],
45
+ });
46
+ return zod_1.z.NEVER;
47
+ }
48
+ });
49
+ const returnDataValidator = zod_1.z
50
+ .union([zod_1.z.string(), zod_1.z.boolean()])
51
+ .optional()
52
+ .transform((val) => {
53
+ if (typeof val === 'string') {
54
+ return val === 'true';
55
+ }
56
+ return val ?? false;
57
+ });
7
58
  const deleteDataTableRowsShape = {
8
- filter: data_table_filter_schema_1.dataTableFilterSchema.optional(),
9
- returnData: zod_1.z.boolean().optional().default(false),
59
+ filter: dataTableFilterQueryValidator,
60
+ returnData: returnDataValidator,
10
61
  };
11
62
  class DeleteDataTableRowsDto extends zod_class_1.Z.class(deleteDataTableRowsShape) {
12
63
  }
@@ -1 +1 @@
1
- {"version":3,"file":"delete-data-table-rows.dto.js","sourceRoot":"","sources":["../../../src/dto/data-store/delete-data-table-rows.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,qFAA+E;AAE/E,MAAM,wBAAwB,GAAG;IAChC,MAAM,EAAE,gDAAqB,CAAC,QAAQ,EAAE;IACxC,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACjD,CAAC;AAEF,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;CAAG;AAAhF,wDAAgF"}
1
+ {"version":3,"file":"delete-data-table-rows.dto.js","sourceRoot":"","sources":["../../../src/dto/data-store/delete-data-table-rows.dto.ts"],"names":[],"mappings":";;;AAAA,+CAAyC;AACzC,6BAAwB;AACxB,yCAA8B;AAE9B,qFAA+E;AAE/E,MAAM,6BAA6B,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;IACvE,IAAI,CAAC,GAAG,EAAE,CAAC;QACV,GAAG,CAAC,QA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mBAAmB,GAAG,OAAC;KAC3B,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;KAChC,QAAQ,EAAE;KACV,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE;IAClB,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC7B,OAAO,GAAG,KAAK,MAAM,CAAC;IACvB,CAAC;IACD,OAAO,GAAG,IAAI,KAAK,CAAC;AACrB,CAAC,CAAC,CAAC;AAEJ,MAAM,wBAAwB,GAAG;IAChC,MAAM,EAAE,6BAA6B;IACrC,UAAU,EAAE,mBAAmB;CAC/B,CAAC;AAEF,MAAa,sBAAuB,SAAQ,aAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;CAAG;AAAhF,wDAAgF"}
@@ -20,7 +20,7 @@ export { ForgotPasswordRequestDto } from './password-reset/forgot-password-reque
20
20
  export { ResolvePasswordTokenQueryDto } from './password-reset/resolve-password-token-query.dto';
21
21
  export { ChangePasswordRequestDto } from './password-reset/change-password-request.dto';
22
22
  export { CreateProjectDto } from './project/create-project.dto';
23
- export { UpdateProjectDto } from './project/update-project.dto';
23
+ export { UpdateProjectDto, UpdateProjectWithRelationsDto } from './project/update-project.dto';
24
24
  export { DeleteProjectDto } from './project/delete-project.dto';
25
25
  export { AddUsersToProjectDto } from './project/add-users-to-project.dto';
26
26
  export { ChangeUserRoleInProject } from './project/change-user-role-in-project.dto';
@@ -40,7 +40,6 @@ export { CredentialsGetOneRequestQuery } from './credentials/credentials-get-one
40
40
  export { CredentialsGetManyRequestQuery } from './credentials/credentials-get-many-request.dto';
41
41
  export { GenerateCredentialNameRequestQuery } from './credentials/generate-credential-name.dto';
42
42
  export { ImportWorkflowFromUrlDto } from './workflows/import-workflow-from-url.dto';
43
- export { ManualRunQueryDto } from './workflows/manual-run-query.dto';
44
43
  export { TransferWorkflowBodyDto } from './workflows/transfer.dto';
45
44
  export { CreateOrUpdateTagRequestDto } from './tag/create-or-update-tag-request.dto';
46
45
  export { RetrieveTagQueryDto } from './tag/retrieve-tag-query.dto';
@@ -57,6 +56,8 @@ export { PaginationDto } from './pagination/pagination.dto';
57
56
  export { UsersListFilterDto, type UsersListSortOptions, USERS_LIST_SORT_OPTIONS, } from './user/users-list-filter.dto';
58
57
  export { UpdateRoleDto } from './roles/update-role.dto';
59
58
  export { CreateRoleDto } from './roles/create-role.dto';
59
+ export { RoleListQueryDto } from './roles/role-list-query.dto';
60
+ export { RoleGetQueryDto } from './roles/role-get-query.dto';
60
61
  export { OidcConfigDto } from './oidc/config.dto';
61
62
  export { CreateDataStoreDto } from './data-store/create-data-store.dto';
62
63
  export { UpdateDataStoreDto } from './data-store/update-data-store.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.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.TransferWorkflowBodyDto = exports.ManualRunQueryDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = 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.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.MoveDataStoreColumnDto = exports.AddDataStoreColumnDto = exports.AddDataStoreRowsDto = exports.CreateDataStoreColumnDto = exports.ListDataStoreContentQueryDto = exports.ListDataStoreQueryDto = exports.UpsertDataStoreRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataStoreDto = exports.CreateDataStoreDto = exports.OidcConfigDto = exports.CreateRoleDto = exports.UpdateRoleDto = exports.USERS_LIST_SORT_OPTIONS = exports.UsersListFilterDto = exports.PaginationDto = exports.InsightsDateFilterDto = exports.ListInsightsWorkflowQueryDto = exports.TransferFolderBodyDto = exports.ListFolderQueryDto = exports.DeleteFolderDto = void 0;
3
+ exports.UpdateFolderDto = exports.CreateFolderDto = exports.CreateApiKeyRequestDto = exports.UpdateApiKeyRequestDto = exports.RetrieveTagQueryDto = exports.CreateOrUpdateTagRequestDto = exports.TransferWorkflowBodyDto = exports.ImportWorkflowFromUrlDto = exports.GenerateCredentialNameRequestQuery = exports.CredentialsGetManyRequestQuery = exports.CredentialsGetOneRequestQuery = 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.MoveDataStoreColumnDto = exports.AddDataStoreColumnDto = exports.AddDataStoreRowsDto = exports.CreateDataStoreColumnDto = exports.ListDataStoreContentQueryDto = exports.ListDataStoreQueryDto = exports.UpsertDataStoreRowDto = exports.DeleteDataTableRowsDto = exports.UpdateDataTableRowDto = exports.UpdateDataStoreDto = exports.CreateDataStoreDto = 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 = 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");
@@ -48,6 +48,7 @@ var create_project_dto_1 = require("./project/create-project.dto");
48
48
  Object.defineProperty(exports, "CreateProjectDto", { enumerable: true, get: function () { return create_project_dto_1.CreateProjectDto; } });
49
49
  var update_project_dto_1 = require("./project/update-project.dto");
50
50
  Object.defineProperty(exports, "UpdateProjectDto", { enumerable: true, get: function () { return update_project_dto_1.UpdateProjectDto; } });
51
+ Object.defineProperty(exports, "UpdateProjectWithRelationsDto", { enumerable: true, get: function () { return update_project_dto_1.UpdateProjectWithRelationsDto; } });
51
52
  var delete_project_dto_1 = require("./project/delete-project.dto");
52
53
  Object.defineProperty(exports, "DeleteProjectDto", { enumerable: true, get: function () { return delete_project_dto_1.DeleteProjectDto; } });
53
54
  var add_users_to_project_dto_1 = require("./project/add-users-to-project.dto");
@@ -86,8 +87,6 @@ var generate_credential_name_dto_1 = require("./credentials/generate-credential-
86
87
  Object.defineProperty(exports, "GenerateCredentialNameRequestQuery", { enumerable: true, get: function () { return generate_credential_name_dto_1.GenerateCredentialNameRequestQuery; } });
87
88
  var import_workflow_from_url_dto_1 = require("./workflows/import-workflow-from-url.dto");
88
89
  Object.defineProperty(exports, "ImportWorkflowFromUrlDto", { enumerable: true, get: function () { return import_workflow_from_url_dto_1.ImportWorkflowFromUrlDto; } });
89
- var manual_run_query_dto_1 = require("./workflows/manual-run-query.dto");
90
- Object.defineProperty(exports, "ManualRunQueryDto", { enumerable: true, get: function () { return manual_run_query_dto_1.ManualRunQueryDto; } });
91
90
  var transfer_dto_1 = require("./workflows/transfer.dto");
92
91
  Object.defineProperty(exports, "TransferWorkflowBodyDto", { enumerable: true, get: function () { return transfer_dto_1.TransferWorkflowBodyDto; } });
93
92
  var create_or_update_tag_request_dto_1 = require("./tag/create-or-update-tag-request.dto");
@@ -121,6 +120,10 @@ var update_role_dto_1 = require("./roles/update-role.dto");
121
120
  Object.defineProperty(exports, "UpdateRoleDto", { enumerable: true, get: function () { return update_role_dto_1.UpdateRoleDto; } });
122
121
  var create_role_dto_1 = require("./roles/create-role.dto");
123
122
  Object.defineProperty(exports, "CreateRoleDto", { enumerable: true, get: function () { return create_role_dto_1.CreateRoleDto; } });
123
+ var role_list_query_dto_1 = require("./roles/role-list-query.dto");
124
+ Object.defineProperty(exports, "RoleListQueryDto", { enumerable: true, get: function () { return role_list_query_dto_1.RoleListQueryDto; } });
125
+ var role_get_query_dto_1 = require("./roles/role-get-query.dto");
126
+ Object.defineProperty(exports, "RoleGetQueryDto", { enumerable: true, get: function () { return role_get_query_dto_1.RoleGetQueryDto; } });
124
127
  var config_dto_1 = require("./oidc/config.dto");
125
128
  Object.defineProperty(exports, "OidcConfigDto", { enumerable: true, get: function () { return config_dto_1.OidcConfigDto; } });
126
129
  var create_data_store_dto_1 = require("./data-store/create-data-store.dto");
@@ -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,g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B,OAAA;AACzB,iEAA6D;AAApD,qHAAA,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"}
@@ -2,6 +2,9 @@ import { z } from 'zod';
2
2
  import { Z } from 'zod-class';
3
3
  declare const InsightsDateFilterDto_base: Z.Class<{
4
4
  dateRange: z.ZodOptional<z.ZodEnum<["day", "week", "2weeks", "month", "quarter", "6months", "year"]>>;
5
+ startDate: z.ZodOptional<z.ZodDate>;
6
+ endDate: z.ZodOptional<z.ZodDate>;
7
+ projectId: z.ZodOptional<z.ZodString>;
5
8
  }>;
6
9
  export declare class InsightsDateFilterDto extends InsightsDateFilterDto_base {
7
10
  }
@@ -8,6 +8,9 @@ const VALID_DATE_RANGE_OPTIONS = insights_schema_1.insightsDateRangeSchema.shape
8
8
  const dateRange = zod_1.z.enum(VALID_DATE_RANGE_OPTIONS).optional();
9
9
  class InsightsDateFilterDto extends zod_class_1.Z.class({
10
10
  dateRange,
11
+ startDate: zod_1.z.coerce.date().optional(),
12
+ endDate: zod_1.z.coerce.date().optional(),
13
+ projectId: zod_1.z.string().optional(),
11
14
  }) {
12
15
  }
13
16
  exports.InsightsDateFilterDto = InsightsDateFilterDto;
@@ -1 +1 @@
1
- {"version":3,"file":"date-filter.dto.js","sourceRoot":"","sources":["../../../src/dto/insights/date-filter.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,mEAAwE;AAExE,MAAM,wBAAwB,GAAG,yCAAuB,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAG3E,MAAM,SAAS,GAAG,OAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE,CAAC;AAE9D,MAAa,qBAAsB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAClD,SAAS;CACT,CAAC;CAAG;AAFL,sDAEK"}
1
+ {"version":3,"file":"date-filter.dto.js","sourceRoot":"","sources":["../../../src/dto/insights/date-filter.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,mEAAwE;AAExE,MAAM,wBAAwB,GAAG,yCAAuB,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAG3E,MAAM,SAAS,GAAG,OAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE,CAAC;AAE9D,MAAa,qBAAsB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAIlD,SAAS;IACT,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC;CAAG;AARL,sDAQK"}
@@ -4,7 +4,10 @@ export declare const MAX_ITEMS_PER_PAGE = 100;
4
4
  declare const ListInsightsWorkflowQueryDto_base: Z.Class<{
5
5
  take: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
6
6
  dateRange: z.ZodOptional<z.ZodEnum<["day", "week", "2weeks", "month", "quarter", "6months", "year"]>>;
7
+ startDate: z.ZodOptional<z.ZodDate>;
8
+ endDate: z.ZodOptional<z.ZodDate>;
7
9
  sortBy: z.ZodOptional<z.ZodEnum<["total:asc", "total:desc", "succeeded:asc", "succeeded:desc", "failed:asc", "failed:desc", "failureRate:asc", "failureRate:desc", "timeSaved:asc", "timeSaved:desc", "runTime:asc", "runTime:desc", "averageRunTime:asc", "averageRunTime:desc", "workflowName:asc", "workflowName:desc"]>>;
10
+ projectId: z.ZodOptional<z.ZodString>;
8
11
  skip: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
9
12
  }>;
10
13
  export declare class ListInsightsWorkflowQueryDto extends ListInsightsWorkflowQueryDto_base {
@@ -31,7 +31,10 @@ class ListInsightsWorkflowQueryDto extends zod_class_1.Z.class({
31
31
  ...pagination_dto_1.paginationSchema,
32
32
  take: (0, pagination_dto_1.createTakeValidator)(exports.MAX_ITEMS_PER_PAGE),
33
33
  dateRange: date_filter_dto_1.InsightsDateFilterDto.shape.dateRange,
34
+ startDate: zod_1.z.coerce.date().optional(),
35
+ endDate: zod_1.z.coerce.date().optional(),
34
36
  sortBy: sortByValidator,
37
+ projectId: zod_1.z.string().optional(),
35
38
  }) {
36
39
  }
37
40
  exports.ListInsightsWorkflowQueryDto = ListInsightsWorkflowQueryDto;
@@ -1 +1 @@
1
- {"version":3,"file":"list-workflow-query.dto.js","sourceRoot":"","sources":["../../../src/dto/insights/list-workflow-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,uDAA0D;AAC1D,iEAAqF;AAExE,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC,MAAM,kBAAkB,GAAG;IAC1B,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,aAAa;IACb,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;CACV,CAAC;AAMX,MAAM,eAAe,GAAG,OAAC;KACvB,IAAI,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,0BAA0B,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;KAChG,QAAQ,EAAE,CAAC;AAEb,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,0BAAkB,CAAC;IAC7C,SAAS,EAAE,uCAAqB,CAAC,KAAK,CAAC,SAAS;IAChD,MAAM,EAAE,eAAe;CACvB,CAAC;CAAG;AALL,oEAKK"}
1
+ {"version":3,"file":"list-workflow-query.dto.js","sourceRoot":"","sources":["../../../src/dto/insights/list-workflow-query.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,uDAA0D;AAC1D,iEAAqF;AAExE,QAAA,kBAAkB,GAAG,GAAG,CAAC;AAEtC,MAAM,kBAAkB,GAAG;IAC1B,WAAW;IACX,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,aAAa;IACb,cAAc;IACd,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;CACV,CAAC;AAMX,MAAM,eAAe,GAAG,OAAC;KACvB,IAAI,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,0BAA0B,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;KAChG,QAAQ,EAAE,CAAC;AAEb,MAAa,4BAA6B,SAAQ,aAAC,CAAC,KAAK,CAAC;IACzD,GAAG,iCAAgB;IACnB,IAAI,EAAE,IAAA,oCAAmB,EAAC,0BAAkB,CAAC;IAI7C,SAAS,EAAE,uCAAqB,CAAC,KAAK,CAAC,SAAS;IAChD,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACrC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,eAAe;IACvB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC;CAAG;AAXL,oEAWK"}
@@ -5,6 +5,7 @@ declare const OidcConfigDto_base: Z.Class<{
5
5
  clientSecret: z.ZodString;
6
6
  discoveryEndpoint: z.ZodString;
7
7
  loginEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8
+ prompt: z.ZodDefault<z.ZodOptional<z.ZodEnum<["none", "login", "consent", "select_account", "create"]>>>;
8
9
  }>;
9
10
  export declare class OidcConfigDto extends OidcConfigDto_base {
10
11
  }
@@ -8,6 +8,10 @@ class OidcConfigDto extends zod_class_1.Z.class({
8
8
  clientSecret: zod_1.z.string().min(1),
9
9
  discoveryEndpoint: zod_1.z.string().url(),
10
10
  loginEnabled: zod_1.z.boolean().optional().default(false),
11
+ prompt: zod_1.z
12
+ .enum(['none', 'login', 'consent', 'select_account', 'create'])
13
+ .optional()
14
+ .default('select_account'),
11
15
  }) {
12
16
  }
13
17
  exports.OidcConfigDto = OidcConfigDto;
@@ -1 +1 @@
1
- {"version":3,"file":"config.dto.js","sourceRoot":"","sources":["../../../src/dto/oidc/config.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,aAAc,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC1C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACnC,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACnD,CAAC;CAAG;AALL,sCAKK"}
1
+ {"version":3,"file":"config.dto.js","sourceRoot":"","sources":["../../../src/dto/oidc/config.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,MAAa,aAAc,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC1C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACnC,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACnD,MAAM,EAAE,OAAC;SACP,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,CAAC,CAAC;SAC9D,QAAQ,EAAE;SACV,OAAO,CAAC,gBAAgB,CAAC;CAC3B,CAAC;CAAG;AATL,sCASK"}
@@ -13,6 +13,10 @@ declare const UpdateProjectDto_base: Z.Class<{
13
13
  type: "emoji" | "icon";
14
14
  }>>;
15
15
  description: z.ZodOptional<z.ZodString>;
16
+ }>;
17
+ export declare class UpdateProjectDto extends UpdateProjectDto_base {
18
+ }
19
+ declare const UpdateProjectWithRelationsDto_base: Z.Class<{
16
20
  relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
21
  userId: z.ZodString;
18
22
  role: z.ZodUnion<[z.ZodEnum<["project:admin", "project:editor", "project:viewer"]>, z.ZodEffects<z.ZodString, string, string>]>;
@@ -23,7 +27,19 @@ declare const UpdateProjectDto_base: Z.Class<{
23
27
  userId: string;
24
28
  role: string;
25
29
  }>, "many">>;
30
+ name: z.ZodOptional<z.ZodString>;
31
+ icon: z.ZodOptional<z.ZodObject<{
32
+ type: z.ZodEnum<["emoji", "icon"]>;
33
+ value: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ value: string;
36
+ type: "emoji" | "icon";
37
+ }, {
38
+ value: string;
39
+ type: "emoji" | "icon";
40
+ }>>;
41
+ description: z.ZodOptional<z.ZodString>;
26
42
  }>;
27
- export declare class UpdateProjectDto extends UpdateProjectDto_base {
43
+ export declare class UpdateProjectWithRelationsDto extends UpdateProjectWithRelationsDto_base {
28
44
  }
29
45
  export {};
@@ -1,15 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProjectDto = void 0;
3
+ exports.UpdateProjectWithRelationsDto = exports.UpdateProjectDto = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_class_1 = require("zod-class");
6
6
  const project_schema_1 = require("../../schemas/project.schema");
7
- class UpdateProjectDto extends zod_class_1.Z.class({
7
+ const updateProjectShape = {
8
8
  name: project_schema_1.projectNameSchema.optional(),
9
9
  icon: project_schema_1.projectIconSchema.optional(),
10
10
  description: project_schema_1.projectDescriptionSchema.optional(),
11
+ };
12
+ class UpdateProjectDto extends zod_class_1.Z.class(updateProjectShape) {
13
+ }
14
+ exports.UpdateProjectDto = UpdateProjectDto;
15
+ class UpdateProjectWithRelationsDto extends zod_class_1.Z.class({
16
+ ...updateProjectShape,
11
17
  relations: zod_1.z.array(project_schema_1.projectRelationSchema).optional(),
12
18
  }) {
13
19
  }
14
- exports.UpdateProjectDto = UpdateProjectDto;
20
+ exports.UpdateProjectWithRelationsDto = UpdateProjectWithRelationsDto;
15
21
  //# sourceMappingURL=update-project.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-project.dto.js","sourceRoot":"","sources":["../../../src/dto/project/update-project.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,iEAKsC;AAEtC,MAAa,gBAAiB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7C,IAAI,EAAE,kCAAiB,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,kCAAiB,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,yCAAwB,CAAC,QAAQ,EAAE;IAChD,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sCAAqB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC;CAAG;AALL,4CAKK"}
1
+ {"version":3,"file":"update-project.dto.js","sourceRoot":"","sources":["../../../src/dto/project/update-project.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA8B;AAE9B,iEAKsC;AAEtC,MAAM,kBAAkB,GAAG;IAC1B,IAAI,EAAE,kCAAiB,CAAC,QAAQ,EAAE;IAClC,IAAI,EAAE,kCAAiB,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,yCAAwB,CAAC,QAAQ,EAAE;CAChD,CAAC;AAEF,MAAa,gBAAiB,SAAQ,aAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CAAG;AAApE,4CAAoE;AAEpE,MAAa,6BAA8B,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC1D,GAAG,kBAAkB;IACrB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sCAAqB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC;CAAG;AAHL,sEAGK"}
@@ -0,0 +1,7 @@
1
+ import { Z } from 'zod-class';
2
+ declare const RoleGetQueryDto_base: Z.Class<{
3
+ withUsageCount: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "true" | "false">>>;
4
+ }>;
5
+ export declare class RoleGetQueryDto extends RoleGetQueryDto_base {
6
+ }
7
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoleGetQueryDto = void 0;
4
+ const zod_class_1 = require("zod-class");
5
+ const boolean_from_string_1 = require("../../schemas/boolean-from-string");
6
+ class RoleGetQueryDto extends zod_class_1.Z.class({
7
+ withUsageCount: boolean_from_string_1.booleanFromString.optional().default('false'),
8
+ }) {
9
+ }
10
+ exports.RoleGetQueryDto = RoleGetQueryDto;
11
+ //# sourceMappingURL=role-get-query.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-get-query.dto.js","sourceRoot":"","sources":["../../../src/dto/roles/role-get-query.dto.ts"],"names":[],"mappings":";;;AAAA,yCAA8B;AAE9B,2EAAsE;AAKtE,MAAa,eAAgB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC5C,cAAc,EAAE,uCAAiB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;CAC7D,CAAC;CAAG;AAFL,0CAEK"}
@@ -0,0 +1,7 @@
1
+ import { Z } from 'zod-class';
2
+ declare const RoleListQueryDto_base: Z.Class<{
3
+ withUsageCount: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEnum<["true", "false"]>, boolean, "true" | "false">>>;
4
+ }>;
5
+ export declare class RoleListQueryDto extends RoleListQueryDto_base {
6
+ }
7
+ export {};
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RoleListQueryDto = void 0;
4
+ const zod_class_1 = require("zod-class");
5
+ const boolean_from_string_1 = require("../../schemas/boolean-from-string");
6
+ class RoleListQueryDto extends zod_class_1.Z.class({
7
+ withUsageCount: boolean_from_string_1.booleanFromString.optional().default('false'),
8
+ }) {
9
+ }
10
+ exports.RoleListQueryDto = RoleListQueryDto;
11
+ //# sourceMappingURL=role-list-query.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"role-list-query.dto.js","sourceRoot":"","sources":["../../../src/dto/roles/role-list-query.dto.ts"],"names":[],"mappings":";;;AAAA,yCAA8B;AAE9B,2EAAsE;AAKtE,MAAa,gBAAiB,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC7C,cAAc,EAAE,uCAAiB,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;CAC7D,CAAC;CAAG;AAFL,4CAEK"}
@@ -5,6 +5,7 @@ declare const UserUpdateRequestDto_base: Z.Class<{
5
5
  firstName: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6
6
  lastName: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
7
7
  mfaCode: z.ZodOptional<z.ZodString>;
8
+ currentPassword: z.ZodOptional<z.ZodString>;
8
9
  }>;
9
10
  export declare class UserUpdateRequestDto extends UserUpdateRequestDto_base {
10
11
  }
@@ -28,6 +28,7 @@ class UserUpdateRequestDto extends zod_class_1.Z.class({
28
28
  firstName: nameSchema().optional(),
29
29
  lastName: nameSchema().optional(),
30
30
  mfaCode: zod_1.z.string().optional(),
31
+ currentPassword: zod_1.z.string().optional(),
31
32
  }) {
32
33
  }
33
34
  exports.UserUpdateRequestDto = UserUpdateRequestDto;
@@ -1 +1 @@
1
- {"version":3,"file":"user-update-request.dto.js","sourceRoot":"","sources":["../../../src/dto/user/user-update-request.dto.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAsB;AACtB,6BAAwB;AACxB,yCAA8B;AAE9B,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE,CAClC,KAAK;IACL,IAAA,aAAG,EAAC,KAAK,EAAE;QACV,SAAS,EAAE,EAAE;KACb,CAAC,CAAC;AAEJ,MAAM,SAAS,GAAG,wCAAwC,CAAC;AAC3D,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAE3D,MAAM,UAAU,GAAG,GAAG,EAAE,CACvB,OAAC;KACC,MAAM,EAAE;KACR,GAAG,CAA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jD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACzB,SAAS,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAI9B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;CAAG;AATL,oDASK"}
@@ -52,6 +52,7 @@ export interface FrontendSettings {
52
52
  urlBaseEditor: string;
53
53
  versionCli: string;
54
54
  nodeJsVersion: string;
55
+ nodeEnv: string | undefined;
55
56
  concurrency: number;
56
57
  isNativePythonRunnerEnabled: boolean;
57
58
  authCookie: {
@@ -119,6 +120,7 @@ export interface FrontendSettings {
119
120
  unverifiedCommunityNodesEnabled: boolean;
120
121
  aiAssistant: {
121
122
  enabled: boolean;
123
+ setup: boolean;
122
124
  };
123
125
  askAi: {
124
126
  enabled: boolean;
@@ -192,9 +194,6 @@ export interface FrontendSettings {
192
194
  blockFileAccessToN8nFiles: boolean;
193
195
  };
194
196
  easyAIWorkflowOnboarded: boolean;
195
- partialExecution: {
196
- version: 1 | 2;
197
- };
198
197
  evaluation: {
199
198
  quota: number;
200
199
  };
@@ -207,6 +206,9 @@ export type FrontendModuleSettings = {
207
206
  dashboard: boolean;
208
207
  dateRanges: InsightsDateRange[];
209
208
  };
209
+ mcp?: {
210
+ mcpAccessEnabled: boolean;
211
+ };
210
212
  };
211
213
  export type N8nEnvFeatFlagValue = boolean | string | number | undefined;
212
214
  export type N8nEnvFeatFlags = Record<`N8N_ENV_FEAT_${Uppercase<string>}`, N8nEnvFeatFlagValue>;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,6 @@ export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/proje
17
17
  export { type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
18
18
  export { type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
19
19
  export { ROLE, type Role, type User, type UsersList, usersListSchema, } from './schemas/user.schema';
20
- export { DATA_STORE_COLUMN_REGEX, type DataStore, type DataStoreColumn, type DataStoreCreateColumnSchema, type DataStoreListFilter, type DataStoreListOptions, dateTimeSchema, } from './schemas/data-store.schema';
20
+ export { DATA_STORE_COLUMN_REGEX, DATA_STORE_COLUMN_MAX_LENGTH, DATA_STORE_COLUMN_ERROR_MESSAGE, type DataStore, type DataStoreColumn, type DataStoreCreateColumnSchema, type DataStoreListFilter, type DataStoreListOptions, dateTimeSchema, dataStoreColumnNameSchema, } from './schemas/data-store.schema';
21
21
  export type { DataTableFilter, DataTableFilterConditionType, } from './schemas/data-table-filter.schema';
22
22
  export type { ExternalSecretsProvider, ExternalSecretsProviderSecret, ExternalSecretsProviderData, ExternalSecretsProviderProperty, ExternalSecretsProviderState, } from './schemas/external-secrets.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.dateTimeSchema = exports.DATA_STORE_COLUMN_REGEX = exports.usersListSchema = exports.ROLE = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = void 0;
17
+ exports.dataStoreColumnNameSchema = exports.dateTimeSchema = exports.DATA_STORE_COLUMN_ERROR_MESSAGE = exports.DATA_STORE_COLUMN_MAX_LENGTH = exports.DATA_STORE_COLUMN_REGEX = exports.usersListSchema = exports.ROLE = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.passwordSchema = exports.ViewableMimeTypes = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = void 0;
18
18
  __exportStar(require("./dto"), exports);
19
19
  var heartbeat_1 = require("./push/heartbeat");
20
20
  Object.defineProperty(exports, "createHeartbeatMessage", { enumerable: true, get: function () { return heartbeat_1.createHeartbeatMessage; } });
@@ -32,5 +32,8 @@ Object.defineProperty(exports, "ROLE", { enumerable: true, get: function () { re
32
32
  Object.defineProperty(exports, "usersListSchema", { enumerable: true, get: function () { return user_schema_1.usersListSchema; } });
33
33
  var data_store_schema_1 = require("./schemas/data-store.schema");
34
34
  Object.defineProperty(exports, "DATA_STORE_COLUMN_REGEX", { enumerable: true, get: function () { return data_store_schema_1.DATA_STORE_COLUMN_REGEX; } });
35
+ Object.defineProperty(exports, "DATA_STORE_COLUMN_MAX_LENGTH", { enumerable: true, get: function () { return data_store_schema_1.DATA_STORE_COLUMN_MAX_LENGTH; } });
36
+ Object.defineProperty(exports, "DATA_STORE_COLUMN_ERROR_MESSAGE", { enumerable: true, get: function () { return data_store_schema_1.DATA_STORE_COLUMN_ERROR_MESSAGE; } });
35
37
  Object.defineProperty(exports, "dateTimeSchema", { enumerable: true, get: function () { return data_store_schema_1.dateTimeSchema; } });
38
+ Object.defineProperty(exports, "dataStoreColumnNameSchema", { enumerable: true, get: function () { return data_store_schema_1.dataStoreColumnNameSchema; } });
36
39
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAUtB,8CAAkF;AAAzE,mHAAA,sBAAsB,OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAIvD,mEAAiE;AAAxD,uHAAA,iBAAiB,OAAA;AAC1B,6DAA2D;AAAlD,iHAAA,cAAc,OAAA;AAQvB,yFAKiD;AAHhD,6IAAA,4BAA4B,OAAA;AAC5B,2IAAA,0BAA0B,OAAA;AAC1B,yIAAA,wBAAwB,OAAA;AAazB,qDAM+B;AAL9B,mGAAA,IAAI,OAAA;AAIJ,8GAAA,eAAe,OAAA;AAGhB,iEAQqC;AAPpC,4HAAA,uBAAuB,OAAA;AAMvB,mHAAA,cAAc,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,wCAAsB;AAUtB,8CAAkF;AAAzE,mHAAA,sBAAsB,OAAA;AAAE,mHAAA,sBAAsB,OAAA;AAIvD,mEAAiE;AAAxD,uHAAA,iBAAiB,OAAA;AAC1B,6DAA2D;AAAlD,iHAAA,cAAc,OAAA;AAQvB,yFAKiD;AAHhD,6IAAA,4BAA4B,OAAA;AAC5B,2IAAA,0BAA0B,OAAA;AAC1B,yIAAA,wBAAwB,OAAA;AAazB,qDAM+B;AAL9B,mGAAA,IAAI,OAAA;AAIJ,8GAAA,eAAe,OAAA;AAGhB,iEAWqC;AAVpC,4HAAA,uBAAuB,OAAA;AACvB,iIAAA,4BAA4B,OAAA;AAC5B,oIAAA,+BAA+B,OAAA;AAM/B,mHAAA,cAAc,OAAA;AACd,8HAAA,yBAAyB,OAAA"}
@@ -0,0 +1,7 @@
1
+ export type BuilderCreditsPushMessage = {
2
+ type: 'updateBuilderCredits';
3
+ data: {
4
+ creditsQuota: number;
5
+ creditsClaimed: number;
6
+ };
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=builder-credits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builder-credits.js","sourceRoot":"","sources":["../../src/push/builder-credits.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import type { ExecutionStatus, ITaskData, ITaskStartedData, WorkflowExecuteMode } from 'n8n-workflow';
1
+ import type { ExecutionStatus, ITaskData, ITaskStartedData, NodeConnectionType, WorkflowExecuteMode } from 'n8n-workflow';
2
2
  export type ExecutionStarted = {
3
3
  type: 'executionStarted';
4
4
  data: {
@@ -46,7 +46,7 @@ export type NodeExecuteAfter = {
46
46
  executionId: string;
47
47
  nodeName: string;
48
48
  data: Omit<ITaskData, 'data'>;
49
- itemCount: number;
49
+ itemCountByConnectionType: Partial<Record<NodeConnectionType, number[]>>;
50
50
  };
51
51
  };
52
52
  export type NodeExecuteAfterData = {
@@ -55,7 +55,7 @@ export type NodeExecuteAfterData = {
55
55
  executionId: string;
56
56
  nodeName: string;
57
57
  data: ITaskData;
58
- itemCount: number;
58
+ itemCountByConnectionType: NodeExecuteAfter['data']['itemCountByConnectionType'];
59
59
  };
60
60
  };
61
61
  export type ExecutionPushMessage = ExecutionStarted | ExecutionWaiting | ExecutionFinished | ExecutionRecovered | NodeExecuteBefore | NodeExecuteAfter | NodeExecuteAfterData;
@@ -1,3 +1,4 @@
1
+ import type { BuilderCreditsPushMessage } from './builder-credits';
1
2
  import type { CollaborationPushMessage } from './collaboration';
2
3
  import type { DebugPushMessage } from './debug';
3
4
  import type { ExecutionPushMessage } from './execution';
@@ -5,7 +6,7 @@ import type { HotReloadPushMessage } from './hot-reload';
5
6
  import type { WebhookPushMessage } from './webhook';
6
7
  import type { WorkerPushMessage } from './worker';
7
8
  import type { WorkflowPushMessage } from './workflow';
8
- export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage;
9
+ export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage | BuilderCreditsPushMessage;
9
10
  export type PushType = PushMessage['type'];
10
11
  export type PushPayload<T extends PushType> = Extract<PushMessage, {
11
12
  type: T;