@activepieces/shared 0.40.0 → 0.41.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 (32) hide show
  1. package/package.json +1 -1
  2. package/src/lib/automation/agents/tools.d.ts +5 -0
  3. package/src/lib/automation/agents/tools.js +12 -0
  4. package/src/lib/automation/agents/tools.js.map +1 -1
  5. package/src/lib/automation/app-connection/app-connection.d.ts +2 -2
  6. package/src/lib/automation/app-connection/dto/read-app-connection-request.d.ts +1 -1
  7. package/src/lib/automation/app-connection/dto/upsert-app-connection-request.d.ts +21 -21
  8. package/src/lib/automation/flows/flow-version.d.ts +2 -2
  9. package/src/lib/automation/flows/flow.d.ts +8 -8
  10. package/src/lib/automation/flows/operations/index.d.ts +25 -25
  11. package/src/lib/automation/flows/operations/paste-operations.d.ts +19 -19
  12. package/src/lib/automation/flows/triggers/trigger-events/trigger-event.d.ts +1 -1
  13. package/src/lib/automation/flows/util/flow-structure-util.js +12 -6
  14. package/src/lib/automation/flows/util/flow-structure-util.js.map +1 -1
  15. package/src/lib/automation/mcp/mcp.d.ts +4 -4
  16. package/src/lib/automation/pieces/utils.js +5 -4
  17. package/src/lib/automation/pieces/utils.js.map +1 -1
  18. package/src/lib/automation/project-release/project-state.d.ts +30 -30
  19. package/src/lib/automation/tables/record.d.ts +1 -1
  20. package/src/lib/automation/tables/table.d.ts +3 -3
  21. package/src/lib/automation/workers/job-data.d.ts +27 -27
  22. package/src/lib/core/authentication/dto/authentication-response.d.ts +5 -5
  23. package/src/lib/core/common/activepieces-error.d.ts +2 -50
  24. package/src/lib/core/common/activepieces-error.js +0 -10
  25. package/src/lib/core/common/activepieces-error.js.map +1 -1
  26. package/src/lib/ee/api-key/index.d.ts +1 -1
  27. package/src/lib/ee/audit-events/index.d.ts +24 -24
  28. package/src/lib/ee/git-repo/index.d.ts +1 -1
  29. package/src/lib/ee/project-members/project-member.d.ts +1 -1
  30. package/src/lib/management/invitations/index.d.ts +2 -2
  31. package/src/lib/management/project/project.d.ts +8 -8
  32. package/src/lib/management/template/template.d.ts +10 -10
@@ -421,9 +421,8 @@ export declare const UserInteractionJobData: import("@sinclair/typebox").TUnion<
421
421
  }>]>;
422
422
  export type UserInteractionJobData = Static<typeof UserInteractionJobData>;
423
423
  export declare const UserInteractionJobDataWithoutWatchingInformation: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
424
- platformId: import("@sinclair/typebox").TString;
425
424
  projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
426
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_VALIDATION>;
425
+ platformId: import("@sinclair/typebox").TString;
427
426
  piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
428
427
  packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
429
428
  pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
@@ -443,13 +442,14 @@ export declare const UserInteractionJobDataWithoutWatchingInformation: import("@
443
442
  pieceVersion: import("@sinclair/typebox").TString;
444
443
  platformId: import("@sinclair/typebox").TString;
445
444
  }>]>;
445
+ jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_VALIDATION>;
446
446
  connectionValue: import("@sinclair/typebox").TUnknown;
447
447
  }>, import("@sinclair/typebox").TObject<{
448
- platformId: import("@sinclair/typebox").TString;
449
448
  projectId: import("@sinclair/typebox").TString;
450
- test: import("@sinclair/typebox").TBoolean;
451
449
  flowId: import("@sinclair/typebox").TString;
452
450
  flowVersionId: import("@sinclair/typebox").TString;
451
+ platformId: import("@sinclair/typebox").TString;
452
+ test: import("@sinclair/typebox").TBoolean;
453
453
  jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_TRIGGER_HOOK>;
454
454
  hookType: import("@sinclair/typebox").TEnum<typeof TriggerHookType>;
455
455
  triggerPayload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
@@ -459,12 +459,31 @@ export declare const UserInteractionJobDataWithoutWatchingInformation: import("@
459
459
  queryParams: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
460
460
  }>>;
461
461
  }>, import("@sinclair/typebox").TObject<{
462
- platformId: import("@sinclair/typebox").TString;
463
462
  projectId: import("@sinclair/typebox").TString;
464
- input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
463
+ platformId: import("@sinclair/typebox").TString;
465
464
  actionOrTriggerName: import("@sinclair/typebox").TString;
466
465
  propertyName: import("@sinclair/typebox").TString;
466
+ input: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
467
467
  searchValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
468
+ piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
469
+ packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
470
+ pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
471
+ pieceName: import("@sinclair/typebox").TString;
472
+ pieceVersion: import("@sinclair/typebox").TString;
473
+ archiveId: import("@sinclair/typebox").TString;
474
+ platformId: import("@sinclair/typebox").TString;
475
+ }>, import("@sinclair/typebox").TObject<{
476
+ packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
477
+ pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
478
+ pieceName: import("@sinclair/typebox").TString;
479
+ pieceVersion: import("@sinclair/typebox").TString;
480
+ }>, import("@sinclair/typebox").TObject<{
481
+ packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
482
+ pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
483
+ pieceName: import("@sinclair/typebox").TString;
484
+ pieceVersion: import("@sinclair/typebox").TString;
485
+ platformId: import("@sinclair/typebox").TString;
486
+ }>]>;
468
487
  sampleData: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>;
469
488
  flowVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
470
489
  flowId: import("@sinclair/typebox").TString;
@@ -529,29 +548,9 @@ export declare const UserInteractionJobDataWithoutWatchingInformation: import("@
529
548
  updated: import("@sinclair/typebox").TString;
530
549
  }>>;
531
550
  jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_PROPERTY>;
532
- piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
533
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
534
- pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
535
- pieceName: import("@sinclair/typebox").TString;
536
- pieceVersion: import("@sinclair/typebox").TString;
537
- archiveId: import("@sinclair/typebox").TString;
538
- platformId: import("@sinclair/typebox").TString;
539
- }>, import("@sinclair/typebox").TObject<{
540
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
541
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.OFFICIAL>;
542
- pieceName: import("@sinclair/typebox").TString;
543
- pieceVersion: import("@sinclair/typebox").TString;
544
- }>, import("@sinclair/typebox").TObject<{
545
- packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.REGISTRY>;
546
- pieceType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PieceType.CUSTOM>;
547
- pieceName: import("@sinclair/typebox").TString;
548
- pieceVersion: import("@sinclair/typebox").TString;
549
- platformId: import("@sinclair/typebox").TString;
550
- }>]>;
551
551
  }>, import("@sinclair/typebox").TObject<{
552
- platformId: import("@sinclair/typebox").TString;
553
552
  projectId: import("@sinclair/typebox").TUndefined;
554
- jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
553
+ platformId: import("@sinclair/typebox").TString;
555
554
  piece: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
556
555
  packageType: import("@sinclair/typebox").TLiteral<import("../pieces/piece").PackageType.ARCHIVE>;
557
556
  pieceType: import("@sinclair/typebox").TEnum<typeof import("../pieces/piece").PieceType>;
@@ -571,6 +570,7 @@ export declare const UserInteractionJobDataWithoutWatchingInformation: import("@
571
570
  pieceVersion: import("@sinclair/typebox").TString;
572
571
  platformId: import("@sinclair/typebox").TString;
573
572
  }>]>;
573
+ jobType: import("@sinclair/typebox").TLiteral<WorkerJobType.EXECUTE_EXTRACT_PIECE_INFORMATION>;
574
574
  }>]>;
575
575
  export type UserInteractionJobDataWithoutWatchingInformation = Static<typeof UserInteractionJobDataWithoutWatchingInformation>;
576
576
  export declare const EventDestinationJobData: import("@sinclair/typebox").TObject<{
@@ -1,17 +1,17 @@
1
1
  import { Static } from '@sinclair/typebox';
2
2
  export declare const UserWithoutPassword: import("@sinclair/typebox").TObject<{
3
- platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
4
3
  id: import("@sinclair/typebox").TString;
5
- externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
6
- status: import("@sinclair/typebox").TEnum<typeof import("../../user/user").UserStatus>;
7
4
  platformRole: import("@sinclair/typebox").TEnum<typeof import("../../user/user").PlatformRole>;
5
+ status: import("@sinclair/typebox").TEnum<typeof import("../../user/user").UserStatus>;
6
+ externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
7
+ platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
8
8
  }>;
9
9
  export type UserWithoutPassword = Static<typeof UserWithoutPassword>;
10
10
  export declare const AuthenticationResponse: import("@sinclair/typebox").TObject<{
11
11
  id: import("@sinclair/typebox").TString;
12
- platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
13
- externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
14
12
  status: import("@sinclair/typebox").TEnum<typeof import("../../user/user").UserStatus>;
13
+ externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
14
+ platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
15
15
  platformRole: import("@sinclair/typebox").TEnum<typeof import("../../user/user").PlatformRole>;
16
16
  email: import("@sinclair/typebox").TString;
17
17
  firstName: import("@sinclair/typebox").TString;
@@ -1,10 +1,8 @@
1
- import type { FlowRunId } from '../../automation/flow-run/flow-run';
2
1
  import type { FlowId } from '../../automation/flows/flow';
3
2
  import type { FlowVersionId } from '../../automation/flows/flow-version';
4
3
  import type { PlatformUsageMetric } from '../../management/platform';
5
4
  import type { ProjectId } from '../../management/project';
6
5
  import type { ProjectRole } from '../../management/project-role/project-role';
7
- import type { FileId } from '../file';
8
6
  import type { UserId } from '../user';
9
7
  import type { ApId } from './id-generator';
10
8
  import type { Permission } from './security';
@@ -13,7 +11,7 @@ export declare class ActivepiecesError extends Error {
13
11
  constructor(error: ApErrorParams, message?: string);
14
12
  toString(): string;
15
13
  }
16
- export type ApErrorParams = AuthenticationParams | AuthorizationErrorParams | ConfigNotFoundErrorParams | EmailIsNotVerifiedErrorParams | EngineOperationFailureParams | EntityNotFoundErrorParams | ExistingUserErrorParams | FileNotFoundErrorParams | FlowFormNotFoundError | FlowNotFoundErrorParams | FlowIsLockedErrorParams | FlowOperationErrorParams | FlowOperationInProgressErrorParams | FlowRunNotFoundErrorParams | InvalidApiKeyParams | InvalidAppConnectionParams | InvalidBearerTokenParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidCredentialsErrorParams | InvalidJwtTokenErrorParams | InvalidOtpParams | InvalidSAMLResponseParams | InvitationOnlySignUpParams | JobRemovalFailureErrorParams | OpenAiFailedErrorParams | PauseMetadataMissingErrorParams | PermissionDeniedErrorParams | PieceNotFoundErrorParams | PieceTriggerNotFoundErrorParams | QuotaExceededParams | FeatureDisabledErrorParams | SignUpDisabledParams | StepNotFoundErrorParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | TestTriggerFailedErrorParams | TriggerUpdateStatusErrorParams | TriggerFailedErrorParams | ValidationErrorParams | InvitationOnlySignUpParams | UserIsInActiveErrorParams | DomainIsNotAllowedErrorParams | EmailAuthIsDisabledParams | ExistingAlertChannelErrorParams | EmailAlreadyHasActivationKey | ProviderProxyConfigNotFoundParams | AIProviderModelNotSupportedParams | AIProviderNotSupportedParams | AIRequestNotSupportedParams | AICreditLimitExceededParams | SessionExpiredParams | InvalidLicenseKeyParams | NoChatResponseParams | InvalidSmtpCredentialsErrorParams | InvalidGitCredentialsParams | InvalidReleaseTypeParams | ProjectExternalIdAlreadyExistsParams | SandboxMemoryIssueParams | SandboxExecutionTimeoutParams | SandboxInternalErrorParams | InvalidCustomDomainErrorParams | McpPieceRequiresConnectionParams | McpPieceConnectionMismatchParams | ErrorUpdatingSubscriptionParams | TriggerExecutionFailedParams | SubflowFailedParams | MachineNotAvailableParams | MachineNotConnectedParams | DoesNotMeetBusinessRequirementsParams | PieceSyncNotSupportedErrorParams | SecretManagerConnectionFailedParams | SecretManagerGetSecretFailedParams | SecretManagerKeyNotSecretParams | InvalidAIProviderCredentialsParams;
14
+ export type ApErrorParams = AuthenticationParams | AuthorizationErrorParams | EmailIsNotVerifiedErrorParams | EngineOperationFailureParams | EntityNotFoundErrorParams | ExistingUserErrorParams | FlowIsLockedErrorParams | FlowOperationErrorParams | FlowOperationInProgressErrorParams | InvalidApiKeyParams | InvalidAppConnectionParams | InvalidBearerTokenParams | InvalidClaimParams | InvalidCloudClaimParams | InvalidCredentialsErrorParams | InvalidJwtTokenErrorParams | InvalidOtpParams | InvalidSAMLResponseParams | InvitationOnlySignUpParams | JobRemovalFailureErrorParams | OpenAiFailedErrorParams | PauseMetadataMissingErrorParams | PermissionDeniedErrorParams | QuotaExceededParams | FeatureDisabledErrorParams | SignUpDisabledParams | SystemInvalidErrorParams | SystemPropNotDefinedErrorParams | TestTriggerFailedErrorParams | TriggerUpdateStatusErrorParams | TriggerFailedErrorParams | ValidationErrorParams | InvitationOnlySignUpParams | UserIsInActiveErrorParams | DomainIsNotAllowedErrorParams | EmailAuthIsDisabledParams | ExistingAlertChannelErrorParams | EmailAlreadyHasActivationKey | AIProviderModelNotSupportedParams | AIProviderNotSupportedParams | AIRequestNotSupportedParams | AICreditLimitExceededParams | SessionExpiredParams | InvalidLicenseKeyParams | NoChatResponseParams | InvalidSmtpCredentialsErrorParams | InvalidGitCredentialsParams | InvalidReleaseTypeParams | ProjectExternalIdAlreadyExistsParams | SandboxMemoryIssueParams | SandboxExecutionTimeoutParams | SandboxInternalErrorParams | InvalidCustomDomainErrorParams | McpPieceRequiresConnectionParams | McpPieceConnectionMismatchParams | ErrorUpdatingSubscriptionParams | TriggerExecutionFailedParams | SubflowFailedParams | MachineNotAvailableParams | MachineNotConnectedParams | DoesNotMeetBusinessRequirementsParams | PieceSyncNotSupportedErrorParams | SecretManagerConnectionFailedParams | SecretManagerGetSecretFailedParams | SecretManagerKeyNotSecretParams | InvalidAIProviderCredentialsParams;
17
15
  export type TriggerExecutionFailedParams = BaseErrorParams<ErrorCode.TRIGGER_EXECUTION_FAILED, {
18
16
  flowId: FlowId;
19
17
  message?: string;
@@ -56,9 +54,6 @@ export type SessionExpiredParams = BaseErrorParams<ErrorCode.SESSION_EXPIRED, {
56
54
  message?: string;
57
55
  }>;
58
56
  export type NoChatResponseParams = BaseErrorParams<ErrorCode.NO_CHAT_RESPONSE, Record<string, never>>;
59
- export type FileNotFoundErrorParams = BaseErrorParams<ErrorCode.FILE_NOT_FOUND, {
60
- id: FileId;
61
- }>;
62
57
  export type EmailAuthIsDisabledParams = BaseErrorParams<ErrorCode.EMAIL_AUTH_DISABLED, Record<string, never>>;
63
58
  export type AuthorizationErrorParams = BaseErrorParams<ErrorCode.AUTHORIZATION, Record<string, string> & {
64
59
  message?: string;
@@ -76,12 +71,6 @@ export type PermissionDeniedErrorParams = BaseErrorParams<ErrorCode.PERMISSION_D
76
71
  export type SystemInvalidErrorParams = BaseErrorParams<ErrorCode.SYSTEM_PROP_INVALID, {
77
72
  prop: string;
78
73
  }>;
79
- export type FlowNotFoundErrorParams = BaseErrorParams<ErrorCode.FLOW_NOT_FOUND, {
80
- id: FlowId;
81
- }>;
82
- export type FlowRunNotFoundErrorParams = BaseErrorParams<ErrorCode.FLOW_RUN_NOT_FOUND, {
83
- id: FlowRunId;
84
- }>;
85
74
  export type InvalidCredentialsErrorParams = BaseErrorParams<ErrorCode.INVALID_CREDENTIALS, null>;
86
75
  export type DomainIsNotAllowedErrorParams = BaseErrorParams<ErrorCode.DOMAIN_NOT_ALLOWED, {
87
76
  domain: string;
@@ -96,33 +85,12 @@ export type ExistingUserErrorParams = BaseErrorParams<ErrorCode.EXISTING_USER, {
96
85
  email: string;
97
86
  platformId: string | null;
98
87
  }>;
99
- export type StepNotFoundErrorParams = BaseErrorParams<ErrorCode.STEP_NOT_FOUND, {
100
- pieceName?: string;
101
- pieceVersion?: string;
102
- stepName: string;
103
- }>;
104
- export type PieceNotFoundErrorParams = BaseErrorParams<ErrorCode.PIECE_NOT_FOUND, {
105
- pieceName: string;
106
- pieceVersion: string | undefined;
107
- message: string;
108
- }>;
109
- export type PieceTriggerNotFoundErrorParams = BaseErrorParams<ErrorCode.PIECE_TRIGGER_NOT_FOUND, {
110
- pieceName: string;
111
- pieceVersion: string;
112
- triggerName: string | undefined;
113
- }>;
114
88
  export type TriggerFailedErrorParams = BaseErrorParams<ErrorCode.TRIGGER_FAILED, {
115
89
  pieceName: string;
116
90
  pieceVersion: string;
117
91
  triggerName: string;
118
92
  error: string | undefined;
119
93
  }>;
120
- export type ConfigNotFoundErrorParams = BaseErrorParams<ErrorCode.CONFIG_NOT_FOUND, {
121
- pieceName: string;
122
- pieceVersion: string;
123
- stepName: string;
124
- configName: string;
125
- }>;
126
94
  export type JobRemovalFailureErrorParams = BaseErrorParams<ErrorCode.JOB_REMOVAL_FAILURE, {
127
95
  flowVersionId: ApId;
128
96
  }>;
@@ -136,10 +104,6 @@ export type FlowOperationErrorParams = BaseErrorParams<ErrorCode.FLOW_OPERATION_
136
104
  export type FlowOperationInProgressErrorParams = BaseErrorParams<ErrorCode.FLOW_OPERATION_IN_PROGRESS, {
137
105
  message: string;
138
106
  }>;
139
- export type FlowFormNotFoundError = BaseErrorParams<ErrorCode.FLOW_FORM_NOT_FOUND, {
140
- flowId: FlowVersionId;
141
- message: string;
142
- }>;
143
107
  export type FlowIsLockedErrorParams = BaseErrorParams<ErrorCode.FLOW_IN_USE, {
144
108
  flowVersionId: FlowVersionId;
145
109
  message: string;
@@ -154,6 +118,7 @@ export type EntityNotFoundErrorParams = BaseErrorParams<ErrorCode.ENTITY_NOT_FOU
154
118
  message?: string;
155
119
  entityType?: string;
156
120
  entityId?: string;
121
+ extra?: Record<string, unknown>;
157
122
  }>;
158
123
  export type InvalidCustomDomainErrorParams = BaseErrorParams<ErrorCode.INVALID_CUSTOM_DOMAIN, {
159
124
  message: string;
@@ -187,9 +152,6 @@ export type QuotaExceededParams = BaseErrorParams<ErrorCode.QUOTA_EXCEEDED, {
187
152
  export type ErrorUpdatingSubscriptionParams = BaseErrorParams<ErrorCode.ERROR_UPDATING_SUBSCRIPTION, {
188
153
  message: string;
189
154
  }>;
190
- export type ProviderProxyConfigNotFoundParams = BaseErrorParams<ErrorCode.PROVIDER_PROXY_CONFIG_NOT_FOUND_FOR_PROVIDER, {
191
- provider: string;
192
- }>;
193
155
  export type AIProviderModelNotSupportedParams = BaseErrorParams<ErrorCode.AI_MODEL_NOT_SUPPORTED, {
194
156
  provider: string;
195
157
  model: string;
@@ -277,11 +239,9 @@ export declare enum ErrorCode {
277
239
  ERROR_UPDATING_SUBSCRIPTION = "ERROR_UPDATING_SUBSCRIPTION",
278
240
  AUTHENTICATION = "AUTHENTICATION",
279
241
  AUTHORIZATION = "AUTHORIZATION",
280
- PROVIDER_PROXY_CONFIG_NOT_FOUND_FOR_PROVIDER = "PROVIDER_PROXY_CONFIG_NOT_FOUND_FOR_PROVIDER",
281
242
  AI_MODEL_NOT_SUPPORTED = "AI_MODEL_NOT_SUPPORTED",
282
243
  AI_PROVIDER_NOT_SUPPORTED = "AI_PROVIDER_NOT_SUPPORTED",
283
244
  AI_REQUEST_NOT_SUPPORTED = "AI_REQUEST_NOT_SUPPORTED",
284
- CONFIG_NOT_FOUND = "CONFIG_NOT_FOUND",
285
245
  DOMAIN_NOT_ALLOWED = "DOMAIN_NOT_ALLOWED",
286
246
  EMAIL_IS_NOT_VERIFIED = "EMAIL_IS_NOT_VERIFIED",
287
247
  ENGINE_OPERATION_FAILURE = "ENGINE_OPERATION_FAILURE",
@@ -294,14 +254,9 @@ export declare enum ErrorCode {
294
254
  EXISTING_USER = "EXISTING_USER",
295
255
  EXISTING_ALERT_CHANNEL = "EXISTING_ALERT_CHANNEL",
296
256
  PROJECT_EXTERNAL_ID_ALREADY_EXISTS = "PROJECT_EXTERNAL_ID_ALREADY_EXISTS",
297
- FLOW_FORM_NOT_FOUND = "FLOW_FORM_NOT_FOUND",
298
- FILE_NOT_FOUND = "FILE_NOT_FOUND",
299
- FLOW_INSTANCE_NOT_FOUND = "INSTANCE_NOT_FOUND",
300
- FLOW_NOT_FOUND = "FLOW_NOT_FOUND",
301
257
  FLOW_OPERATION_INVALID = "FLOW_OPERATION_INVALID",
302
258
  FLOW_OPERATION_IN_PROGRESS = "FLOW_OPERATION_IN_PROGRESS",
303
259
  FLOW_IN_USE = "FLOW_IN_USE",
304
- FLOW_RUN_NOT_FOUND = "FLOW_RUN_NOT_FOUND",
305
260
  INVALID_API_KEY = "INVALID_API_KEY",
306
261
  INVALID_APP_CONNECTION = "INVALID_APP_CONNECTION",
307
262
  INVALID_BEARER_TOKEN = "INVALID_BEARER_TOKEN",
@@ -317,13 +272,10 @@ export declare enum ErrorCode {
317
272
  OPEN_AI_FAILED = "OPEN_AI_FAILED",
318
273
  PAUSE_METADATA_MISSING = "PAUSE_METADATA_MISSING",
319
274
  PERMISSION_DENIED = "PERMISSION_DENIED",
320
- PIECE_NOT_FOUND = "PIECE_NOT_FOUND",
321
- PIECE_TRIGGER_NOT_FOUND = "PIECE_TRIGGER_NOT_FOUND",
322
275
  QUOTA_EXCEEDED = "QUOTA_EXCEEDED",
323
276
  FEATURE_DISABLED = "FEATURE_DISABLED",
324
277
  AI_CREDIT_LIMIT_EXCEEDED = "AI_CREDIT_LIMIT_EXCEEDED",
325
278
  SIGN_UP_DISABLED = "SIGN_UP_DISABLED",
326
- STEP_NOT_FOUND = "STEP_NOT_FOUND",
327
279
  SYSTEM_PROP_INVALID = "SYSTEM_PROP_INVALID",
328
280
  SYSTEM_PROP_NOT_DEFINED = "SYSTEM_PROP_NOT_DEFINED",
329
281
  TEST_TRIGGER_FAILED = "TEST_TRIGGER_FAILED",
@@ -24,11 +24,9 @@ var ErrorCode;
24
24
  ErrorCode["ERROR_UPDATING_SUBSCRIPTION"] = "ERROR_UPDATING_SUBSCRIPTION";
25
25
  ErrorCode["AUTHENTICATION"] = "AUTHENTICATION";
26
26
  ErrorCode["AUTHORIZATION"] = "AUTHORIZATION";
27
- ErrorCode["PROVIDER_PROXY_CONFIG_NOT_FOUND_FOR_PROVIDER"] = "PROVIDER_PROXY_CONFIG_NOT_FOUND_FOR_PROVIDER";
28
27
  ErrorCode["AI_MODEL_NOT_SUPPORTED"] = "AI_MODEL_NOT_SUPPORTED";
29
28
  ErrorCode["AI_PROVIDER_NOT_SUPPORTED"] = "AI_PROVIDER_NOT_SUPPORTED";
30
29
  ErrorCode["AI_REQUEST_NOT_SUPPORTED"] = "AI_REQUEST_NOT_SUPPORTED";
31
- ErrorCode["CONFIG_NOT_FOUND"] = "CONFIG_NOT_FOUND";
32
30
  ErrorCode["DOMAIN_NOT_ALLOWED"] = "DOMAIN_NOT_ALLOWED";
33
31
  ErrorCode["EMAIL_IS_NOT_VERIFIED"] = "EMAIL_IS_NOT_VERIFIED";
34
32
  ErrorCode["ENGINE_OPERATION_FAILURE"] = "ENGINE_OPERATION_FAILURE";
@@ -41,14 +39,9 @@ var ErrorCode;
41
39
  ErrorCode["EXISTING_USER"] = "EXISTING_USER";
42
40
  ErrorCode["EXISTING_ALERT_CHANNEL"] = "EXISTING_ALERT_CHANNEL";
43
41
  ErrorCode["PROJECT_EXTERNAL_ID_ALREADY_EXISTS"] = "PROJECT_EXTERNAL_ID_ALREADY_EXISTS";
44
- ErrorCode["FLOW_FORM_NOT_FOUND"] = "FLOW_FORM_NOT_FOUND";
45
- ErrorCode["FILE_NOT_FOUND"] = "FILE_NOT_FOUND";
46
- ErrorCode["FLOW_INSTANCE_NOT_FOUND"] = "INSTANCE_NOT_FOUND";
47
- ErrorCode["FLOW_NOT_FOUND"] = "FLOW_NOT_FOUND";
48
42
  ErrorCode["FLOW_OPERATION_INVALID"] = "FLOW_OPERATION_INVALID";
49
43
  ErrorCode["FLOW_OPERATION_IN_PROGRESS"] = "FLOW_OPERATION_IN_PROGRESS";
50
44
  ErrorCode["FLOW_IN_USE"] = "FLOW_IN_USE";
51
- ErrorCode["FLOW_RUN_NOT_FOUND"] = "FLOW_RUN_NOT_FOUND";
52
45
  ErrorCode["INVALID_API_KEY"] = "INVALID_API_KEY";
53
46
  ErrorCode["INVALID_APP_CONNECTION"] = "INVALID_APP_CONNECTION";
54
47
  ErrorCode["INVALID_BEARER_TOKEN"] = "INVALID_BEARER_TOKEN";
@@ -64,13 +57,10 @@ var ErrorCode;
64
57
  ErrorCode["OPEN_AI_FAILED"] = "OPEN_AI_FAILED";
65
58
  ErrorCode["PAUSE_METADATA_MISSING"] = "PAUSE_METADATA_MISSING";
66
59
  ErrorCode["PERMISSION_DENIED"] = "PERMISSION_DENIED";
67
- ErrorCode["PIECE_NOT_FOUND"] = "PIECE_NOT_FOUND";
68
- ErrorCode["PIECE_TRIGGER_NOT_FOUND"] = "PIECE_TRIGGER_NOT_FOUND";
69
60
  ErrorCode["QUOTA_EXCEEDED"] = "QUOTA_EXCEEDED";
70
61
  ErrorCode["FEATURE_DISABLED"] = "FEATURE_DISABLED";
71
62
  ErrorCode["AI_CREDIT_LIMIT_EXCEEDED"] = "AI_CREDIT_LIMIT_EXCEEDED";
72
63
  ErrorCode["SIGN_UP_DISABLED"] = "SIGN_UP_DISABLED";
73
- ErrorCode["STEP_NOT_FOUND"] = "STEP_NOT_FOUND";
74
64
  ErrorCode["SYSTEM_PROP_INVALID"] = "SYSTEM_PROP_INVALID";
75
65
  ErrorCode["SYSTEM_PROP_NOT_DEFINED"] = "SYSTEM_PROP_NOT_DEFINED";
76
66
  ErrorCode["TEST_TRIGGER_FAILED"] = "TEST_TRIGGER_FAILED";
@@ -1 +1 @@
1
- {"version":3,"file":"activepieces-error.js","sourceRoot":"","sources":["../../../../../src/lib/core/common/activepieces-error.ts"],"names":[],"mappings":";;;AAWA,MAAa,iBAAkB,SAAQ,KAAK;IACxC,YAAmB,KAAoB,EAAE,OAAgB;QACrD,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QADpC,UAAK,GAAL,KAAK,CAAe;IAEvC,CAAC;IAEQ,QAAQ;QACb,OAAO,IAAI,CAAC,SAAS,CAAC;YAClB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;SAC5B,CAAC,CAAA;IACN,CAAC;CACJ;AAZD,8CAYC;AAigBD,IAAY,SA4EX;AA5ED,WAAY,SAAS;IACjB,4DAA+C,CAAA;IAC/C,4DAA+C,CAAA;IAC/C,4DAA+C,CAAA;IAC/C,kDAAqC,CAAA;IACrC,wEAA2D,CAAA;IAC3D,8CAAiC,CAAA;IACjC,4CAA+B,CAAA;IAC/B,0GAA6F,CAAA;IAC7F,8DAAiD,CAAA;IACjD,oEAAuD,CAAA;IACvD,kEAAqD,CAAA;IACrD,kDAAqC,CAAA;IACrC,sDAAyC,CAAA;IACzC,4DAA+C,CAAA;IAC/C,kEAAqD,CAAA;IACrD,kDAAqC,CAAA;IACrC,oEAAuD,CAAA;IACvD,0DAA6C,CAAA;IAC7C,8DAAiD,CAAA;IACjD,kEAAqD,CAAA;IACrD,wDAA2C,CAAA;IAC3C,4CAA+B,CAAA;IAC/B,8DAAiD,CAAA;IACjD,sFAAyE,CAAA;IACzE,wDAA2C,CAAA;IAC3C,8CAAiC,CAAA;IACjC,2DAA8C,CAAA;IAC9C,8CAAiC,CAAA;IACjC,8DAAiD,CAAA;IACjD,sEAAyD,CAAA;IACzD,wCAA2B,CAAA;IAC3B,sDAAyC,CAAA;IACzC,gDAAmC,CAAA;IACnC,8DAAiD,CAAA;IACjD,0DAA6C,CAAA;IAC7C,gDAAmC,CAAA;IACnC,4CAA+B,CAAA;IAC/B,wDAA2C,CAAA;IAC3C,wDAA2C,CAAA;IAC3C,0EAA6D,CAAA;IAC7D,wCAA2B,CAAA;IAC3B,4DAA+C,CAAA;IAC/C,gEAAmD,CAAA;IACnD,wDAA2C,CAAA;IAC3C,8CAAiC,CAAA;IACjC,8DAAiD,CAAA;IACjD,oDAAuC,CAAA;IACvC,gDAAmC,CAAA;IACnC,gEAAmD,CAAA;IACnD,8CAAiC,CAAA;IACjC,kDAAqC,CAAA;IACrC,kEAAqD,CAAA;IACrD,kDAAqC,CAAA;IACrC,8CAAiC,CAAA;IACjC,wDAA2C,CAAA;IAC3C,gEAAmD,CAAA;IACnD,wDAA2C,CAAA;IAC3C,4DAA+C,CAAA;IAC/C,8CAAiC,CAAA;IACjC,kDAAqC,CAAA;IACrC,sCAAyB,CAAA;IACzB,wDAA2C,CAAA;IAC3C,kFAAqE,CAAA;IACrE,kEAAqD,CAAA;IACrD,gEAAmD,CAAA;IACnD,0DAA6C,CAAA;IAC7C,4EAA+D,CAAA;IAC/D,4EAA+D,CAAA;IAC/D,8CAAiC,CAAA;IACjC,wFAA2E,CAAA;IAC3E,kEAAqD,CAAA;IACrD,kFAAqE,CAAA;IACrE,kFAAqE,CAAA;IACrE,4EAA+D,CAAA;IAC/D,gFAAmE,CAAA;AACvE,CAAC,EA5EW,SAAS,yBAAT,SAAS,QA4EpB"}
1
+ {"version":3,"file":"activepieces-error.js","sourceRoot":"","sources":["../../../../../src/lib/core/common/activepieces-error.ts"],"names":[],"mappings":";;;AASA,MAAa,iBAAkB,SAAQ,KAAK;IACxC,YAAmB,KAAoB,EAAE,OAAgB;QACrD,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QADpC,UAAK,GAAL,KAAK,CAAe;IAEvC,CAAC;IAEQ,QAAQ;QACb,OAAO,IAAI,CAAC,SAAS,CAAC;YAClB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;SAC5B,CAAC,CAAA;IACN,CAAC;CACJ;AAZD,8CAYC;AAubD,IAAY,SAkEX;AAlED,WAAY,SAAS;IACjB,4DAA+C,CAAA;IAC/C,4DAA+C,CAAA;IAC/C,4DAA+C,CAAA;IAC/C,kDAAqC,CAAA;IACrC,wEAA2D,CAAA;IAC3D,8CAAiC,CAAA;IACjC,4CAA+B,CAAA;IAC/B,8DAAiD,CAAA;IACjD,oEAAuD,CAAA;IACvD,kEAAqD,CAAA;IACrD,sDAAyC,CAAA;IACzC,4DAA+C,CAAA;IAC/C,kEAAqD,CAAA;IACrD,kDAAqC,CAAA;IACrC,oEAAuD,CAAA;IACvD,0DAA6C,CAAA;IAC7C,8DAAiD,CAAA;IACjD,kEAAqD,CAAA;IACrD,wDAA2C,CAAA;IAC3C,4CAA+B,CAAA;IAC/B,8DAAiD,CAAA;IACjD,sFAAyE,CAAA;IACzE,8DAAiD,CAAA;IACjD,sEAAyD,CAAA;IACzD,wCAA2B,CAAA;IAC3B,gDAAmC,CAAA;IACnC,8DAAiD,CAAA;IACjD,0DAA6C,CAAA;IAC7C,gDAAmC,CAAA;IACnC,4CAA+B,CAAA;IAC/B,wDAA2C,CAAA;IAC3C,wDAA2C,CAAA;IAC3C,0EAA6D,CAAA;IAC7D,wCAA2B,CAAA;IAC3B,4DAA+C,CAAA;IAC/C,gEAAmD,CAAA;IACnD,wDAA2C,CAAA;IAC3C,8CAAiC,CAAA;IACjC,8DAAiD,CAAA;IACjD,oDAAuC,CAAA;IACvC,8CAAiC,CAAA;IACjC,kDAAqC,CAAA;IACrC,kEAAqD,CAAA;IACrD,kDAAqC,CAAA;IACrC,wDAA2C,CAAA;IAC3C,gEAAmD,CAAA;IACnD,wDAA2C,CAAA;IAC3C,4DAA+C,CAAA;IAC/C,8CAAiC,CAAA;IACjC,kDAAqC,CAAA;IACrC,sCAAyB,CAAA;IACzB,wDAA2C,CAAA;IAC3C,kFAAqE,CAAA;IACrE,kEAAqD,CAAA;IACrD,gEAAmD,CAAA;IACnD,0DAA6C,CAAA;IAC7C,4EAA+D,CAAA;IAC/D,4EAA+D,CAAA;IAC/D,8CAAiC,CAAA;IACjC,wFAA2E,CAAA;IAC3E,kEAAqD,CAAA;IACrD,kFAAqE,CAAA;IACrE,kFAAqE,CAAA;IACrE,4EAA+D,CAAA;IAC/D,gFAAmE,CAAA;AACvE,CAAC,EAlEW,SAAS,yBAAT,SAAS,QAkEpB"}
@@ -22,10 +22,10 @@ export declare const ApiKeyResponseWithValue: import("@sinclair/typebox").TObjec
22
22
  }>;
23
23
  export type ApiKeyResponseWithValue = Static<typeof ApiKeyResponseWithValue>;
24
24
  export declare const ApiKeyResponseWithoutValue: import("@sinclair/typebox").TObject<{
25
- platformId: import("@sinclair/typebox").TString;
26
25
  id: import("@sinclair/typebox").TString;
27
26
  created: import("@sinclair/typebox").TString;
28
27
  updated: import("@sinclair/typebox").TString;
28
+ platformId: import("@sinclair/typebox").TString;
29
29
  displayName: import("@sinclair/typebox").TString;
30
30
  truncatedValue: import("@sinclair/typebox").TString;
31
31
  lastUsedAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -41,9 +41,9 @@ export declare const ConnectionEvent: import("@sinclair/typebox").TObject<{
41
41
  id: import("@sinclair/typebox").TString;
42
42
  created: import("@sinclair/typebox").TString;
43
43
  updated: import("@sinclair/typebox").TString;
44
- displayName: import("@sinclair/typebox").TString;
45
- externalId: import("@sinclair/typebox").TString;
46
44
  status: import("@sinclair/typebox").TEnum<typeof import("../../automation/app-connection/app-connection").AppConnectionStatus>;
45
+ externalId: import("@sinclair/typebox").TString;
46
+ displayName: import("@sinclair/typebox").TString;
47
47
  }>;
48
48
  project: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
49
49
  displayName: import("@sinclair/typebox").TString;
@@ -88,11 +88,11 @@ export declare const FlowRunEvent: import("@sinclair/typebox").TObject<{
88
88
  action: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_RUN_STARTED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_RUN_FINISHED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_RUN_RESUMED>]>;
89
89
  data: import("@sinclair/typebox").TObject<{
90
90
  flowRun: import("@sinclair/typebox").TObject<{
91
+ flowId: import("@sinclair/typebox").TString;
92
+ flowVersionId: import("@sinclair/typebox").TString;
91
93
  id: import("@sinclair/typebox").TString;
92
94
  status: import("@sinclair/typebox").TEnum<typeof import("../../..").FlowRunStatus>;
93
95
  startTime: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
94
- flowId: import("@sinclair/typebox").TString;
95
- flowVersionId: import("@sinclair/typebox").TString;
96
96
  stepNameToTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
97
97
  finishTime: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
98
98
  triggeredBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -145,11 +145,11 @@ export declare const FlowDeletedEvent: import("@sinclair/typebox").TObject<{
145
145
  updated: import("@sinclair/typebox").TString;
146
146
  }>;
147
147
  flowVersion: import("@sinclair/typebox").TObject<{
148
+ flowId: import("@sinclair/typebox").TString;
148
149
  id: import("@sinclair/typebox").TString;
149
150
  created: import("@sinclair/typebox").TString;
150
151
  updated: import("@sinclair/typebox").TString;
151
152
  displayName: import("@sinclair/typebox").TString;
152
- flowId: import("@sinclair/typebox").TString;
153
153
  }>;
154
154
  project: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
155
155
  displayName: import("@sinclair/typebox").TString;
@@ -170,11 +170,11 @@ export declare const FlowUpdatedEvent: import("@sinclair/typebox").TObject<{
170
170
  action: import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_UPDATED>;
171
171
  data: import("@sinclair/typebox").TObject<{
172
172
  flowVersion: import("@sinclair/typebox").TObject<{
173
+ flowId: import("@sinclair/typebox").TString;
173
174
  id: import("@sinclair/typebox").TString;
174
175
  created: import("@sinclair/typebox").TString;
175
176
  updated: import("@sinclair/typebox").TString;
176
177
  displayName: import("@sinclair/typebox").TString;
177
- flowId: import("@sinclair/typebox").TString;
178
178
  }>;
179
179
  request: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
180
180
  type: import("@sinclair/typebox").TLiteral<FlowOperationType.MOVE_ACTION>;
@@ -240,8 +240,8 @@ export declare const FlowUpdatedEvent: import("@sinclair/typebox").TObject<{
240
240
  notes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{
241
241
  ownerId?: string | null | undefined;
242
242
  id: string;
243
- color: import("../../..").NoteColorVariant;
244
243
  content: string;
244
+ color: import("../../..").NoteColorVariant;
245
245
  position: {
246
246
  x: number;
247
247
  y: number;
@@ -616,9 +616,9 @@ export declare const FlowUpdatedEvent: import("@sinclair/typebox").TObject<{
616
616
  type: import("@sinclair/typebox").TLiteral<FlowOperationType.UPDATE_NOTE>;
617
617
  request: import("@sinclair/typebox").TObject<{
618
618
  id: import("@sinclair/typebox").TString;
619
+ content: import("@sinclair/typebox").TString;
619
620
  ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
620
621
  color: import("@sinclair/typebox").TEnum<typeof import("../../..").NoteColorVariant>;
621
- content: import("@sinclair/typebox").TString;
622
622
  position: import("@sinclair/typebox").TObject<{
623
623
  x: import("@sinclair/typebox").TNumber;
624
624
  y: import("@sinclair/typebox").TNumber;
@@ -637,8 +637,8 @@ export declare const FlowUpdatedEvent: import("@sinclair/typebox").TObject<{
637
637
  type: import("@sinclair/typebox").TLiteral<FlowOperationType.ADD_NOTE>;
638
638
  request: import("@sinclair/typebox").TObject<{
639
639
  id: import("@sinclair/typebox").TString;
640
- color: import("@sinclair/typebox").TEnum<typeof import("../../..").NoteColorVariant>;
641
640
  content: import("@sinclair/typebox").TString;
641
+ color: import("@sinclair/typebox").TEnum<typeof import("../../..").NoteColorVariant>;
642
642
  position: import("@sinclair/typebox").TObject<{
643
643
  x: import("@sinclair/typebox").TNumber;
644
644
  y: import("@sinclair/typebox").TNumber;
@@ -726,11 +726,11 @@ export declare const ProjectRoleEvent: import("@sinclair/typebox").TObject<{
726
726
  action: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<ApplicationEventName.PROJECT_ROLE_CREATED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.PROJECT_ROLE_UPDATED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.PROJECT_ROLE_DELETED>]>;
727
727
  data: import("@sinclair/typebox").TObject<{
728
728
  projectRole: import("@sinclair/typebox").TObject<{
729
- platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
730
729
  id: import("@sinclair/typebox").TString;
731
730
  created: import("@sinclair/typebox").TString;
732
731
  updated: import("@sinclair/typebox").TString;
733
732
  name: import("@sinclair/typebox").TString;
733
+ platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
734
734
  permissions: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
735
735
  }>;
736
736
  }>;
@@ -750,9 +750,9 @@ export declare const ProjectReleaseEvent: import("@sinclair/typebox").TObject<{
750
750
  data: import("@sinclair/typebox").TObject<{
751
751
  release: import("@sinclair/typebox").TObject<{
752
752
  type: import("@sinclair/typebox").TEnum<typeof import("../../..").ProjectReleaseType>;
753
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
754
- name: import("@sinclair/typebox").TString;
755
753
  projectId: import("@sinclair/typebox").TString;
754
+ name: import("@sinclair/typebox").TString;
755
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
756
756
  importedByUser: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
757
757
  id: import("@sinclair/typebox").TString;
758
758
  email: import("@sinclair/typebox").TString;
@@ -789,9 +789,9 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
789
789
  id: import("@sinclair/typebox").TString;
790
790
  created: import("@sinclair/typebox").TString;
791
791
  updated: import("@sinclair/typebox").TString;
792
- displayName: import("@sinclair/typebox").TString;
793
- externalId: import("@sinclair/typebox").TString;
794
792
  status: import("@sinclair/typebox").TEnum<typeof import("../../automation/app-connection/app-connection").AppConnectionStatus>;
793
+ externalId: import("@sinclair/typebox").TString;
794
+ displayName: import("@sinclair/typebox").TString;
795
795
  }>;
796
796
  project: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
797
797
  displayName: import("@sinclair/typebox").TString;
@@ -836,11 +836,11 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
836
836
  updated: import("@sinclair/typebox").TString;
837
837
  }>;
838
838
  flowVersion: import("@sinclair/typebox").TObject<{
839
+ flowId: import("@sinclair/typebox").TString;
839
840
  id: import("@sinclair/typebox").TString;
840
841
  created: import("@sinclair/typebox").TString;
841
842
  updated: import("@sinclair/typebox").TString;
842
843
  displayName: import("@sinclair/typebox").TString;
843
- flowId: import("@sinclair/typebox").TString;
844
844
  }>;
845
845
  project: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
846
846
  displayName: import("@sinclair/typebox").TString;
@@ -859,11 +859,11 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
859
859
  action: import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_UPDATED>;
860
860
  data: import("@sinclair/typebox").TObject<{
861
861
  flowVersion: import("@sinclair/typebox").TObject<{
862
+ flowId: import("@sinclair/typebox").TString;
862
863
  id: import("@sinclair/typebox").TString;
863
864
  created: import("@sinclair/typebox").TString;
864
865
  updated: import("@sinclair/typebox").TString;
865
866
  displayName: import("@sinclair/typebox").TString;
866
- flowId: import("@sinclair/typebox").TString;
867
867
  }>;
868
868
  request: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
869
869
  type: import("@sinclair/typebox").TLiteral<FlowOperationType.MOVE_ACTION>;
@@ -929,8 +929,8 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
929
929
  notes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{
930
930
  ownerId?: string | null | undefined;
931
931
  id: string;
932
- color: import("../../..").NoteColorVariant;
933
932
  content: string;
933
+ color: import("../../..").NoteColorVariant;
934
934
  position: {
935
935
  x: number;
936
936
  y: number;
@@ -1305,9 +1305,9 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
1305
1305
  type: import("@sinclair/typebox").TLiteral<FlowOperationType.UPDATE_NOTE>;
1306
1306
  request: import("@sinclair/typebox").TObject<{
1307
1307
  id: import("@sinclair/typebox").TString;
1308
+ content: import("@sinclair/typebox").TString;
1308
1309
  ownerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
1309
1310
  color: import("@sinclair/typebox").TEnum<typeof import("../../..").NoteColorVariant>;
1310
- content: import("@sinclair/typebox").TString;
1311
1311
  position: import("@sinclair/typebox").TObject<{
1312
1312
  x: import("@sinclair/typebox").TNumber;
1313
1313
  y: import("@sinclair/typebox").TNumber;
@@ -1326,8 +1326,8 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
1326
1326
  type: import("@sinclair/typebox").TLiteral<FlowOperationType.ADD_NOTE>;
1327
1327
  request: import("@sinclair/typebox").TObject<{
1328
1328
  id: import("@sinclair/typebox").TString;
1329
- color: import("@sinclair/typebox").TEnum<typeof import("../../..").NoteColorVariant>;
1330
1329
  content: import("@sinclair/typebox").TString;
1330
+ color: import("@sinclair/typebox").TEnum<typeof import("../../..").NoteColorVariant>;
1331
1331
  position: import("@sinclair/typebox").TObject<{
1332
1332
  x: import("@sinclair/typebox").TNumber;
1333
1333
  y: import("@sinclair/typebox").TNumber;
@@ -1355,11 +1355,11 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
1355
1355
  action: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_RUN_STARTED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_RUN_FINISHED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.FLOW_RUN_RESUMED>]>;
1356
1356
  data: import("@sinclair/typebox").TObject<{
1357
1357
  flowRun: import("@sinclair/typebox").TObject<{
1358
+ flowId: import("@sinclair/typebox").TString;
1359
+ flowVersionId: import("@sinclair/typebox").TString;
1358
1360
  id: import("@sinclair/typebox").TString;
1359
1361
  status: import("@sinclair/typebox").TEnum<typeof import("../../..").FlowRunStatus>;
1360
1362
  startTime: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1361
- flowId: import("@sinclair/typebox").TString;
1362
- flowVersionId: import("@sinclair/typebox").TString;
1363
1363
  stepNameToTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1364
1364
  finishTime: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1365
1365
  triggeredBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -1456,11 +1456,11 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
1456
1456
  action: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<ApplicationEventName.PROJECT_ROLE_CREATED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.PROJECT_ROLE_UPDATED>, import("@sinclair/typebox").TLiteral<ApplicationEventName.PROJECT_ROLE_DELETED>]>;
1457
1457
  data: import("@sinclair/typebox").TObject<{
1458
1458
  projectRole: import("@sinclair/typebox").TObject<{
1459
- platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1460
1459
  id: import("@sinclair/typebox").TString;
1461
1460
  created: import("@sinclair/typebox").TString;
1462
1461
  updated: import("@sinclair/typebox").TString;
1463
1462
  name: import("@sinclair/typebox").TString;
1463
+ platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
1464
1464
  permissions: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
1465
1465
  }>;
1466
1466
  }>;
@@ -1478,9 +1478,9 @@ export declare const ApplicationEvent: import("@sinclair/typebox").TUnion<[impor
1478
1478
  data: import("@sinclair/typebox").TObject<{
1479
1479
  release: import("@sinclair/typebox").TObject<{
1480
1480
  type: import("@sinclair/typebox").TEnum<typeof import("../../..").ProjectReleaseType>;
1481
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
1482
- name: import("@sinclair/typebox").TString;
1483
1481
  projectId: import("@sinclair/typebox").TString;
1482
+ name: import("@sinclair/typebox").TString;
1483
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
1484
1484
  importedByUser: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
1485
1485
  id: import("@sinclair/typebox").TString;
1486
1486
  email: import("@sinclair/typebox").TString;
@@ -16,10 +16,10 @@ export declare const GitRepo: import("@sinclair/typebox").TObject<{
16
16
  }>;
17
17
  export type GitRepo = Static<typeof GitRepo>;
18
18
  export declare const GitRepoWithoutSensitiveData: import("@sinclair/typebox").TObject<{
19
+ projectId: import("@sinclair/typebox").TString;
19
20
  id: import("@sinclair/typebox").TString;
20
21
  created: import("@sinclair/typebox").TString;
21
22
  updated: import("@sinclair/typebox").TString;
22
- projectId: import("@sinclair/typebox").TString;
23
23
  branchType: import("@sinclair/typebox").TEnum<typeof GitBranchType>;
24
24
  remoteUrl: import("@sinclair/typebox").TString;
25
25
  branch: import("@sinclair/typebox").TString;
@@ -11,11 +11,11 @@ export declare const ProjectMember: import("@sinclair/typebox").TObject<{
11
11
  }>;
12
12
  export type ProjectMember = Static<typeof ProjectMember>;
13
13
  export declare const ProjectMemberWithUser: import("@sinclair/typebox").TObject<{
14
+ projectId: import("@sinclair/typebox").TString;
14
15
  id: import("@sinclair/typebox").TString;
15
16
  created: import("@sinclair/typebox").TString;
16
17
  updated: import("@sinclair/typebox").TString;
17
18
  platformId: import("@sinclair/typebox").TString;
18
- projectId: import("@sinclair/typebox").TString;
19
19
  projectRoleId: import("@sinclair/typebox").TString;
20
20
  userId: import("@sinclair/typebox").TString;
21
21
  projectRole: import("@sinclair/typebox").TObject<{
@@ -32,13 +32,13 @@ export declare const UserInvitation: import("@sinclair/typebox").TObject<{
32
32
  }>;
33
33
  export type UserInvitation = Static<typeof UserInvitation>;
34
34
  export declare const UserInvitationWithLink: import("@sinclair/typebox").TObject<{
35
+ projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
35
36
  id: import("@sinclair/typebox").TString;
36
37
  created: import("@sinclair/typebox").TString;
37
38
  updated: import("@sinclair/typebox").TString;
39
+ status: import("@sinclair/typebox").TEnum<typeof InvitationStatus>;
38
40
  type: import("@sinclair/typebox").TEnum<typeof InvitationType>;
39
41
  platformId: import("@sinclair/typebox").TString;
40
- projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
41
- status: import("@sinclair/typebox").TEnum<typeof InvitationStatus>;
42
42
  platformRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<PlatformRole | null>>;
43
43
  email: import("@sinclair/typebox").TString;
44
44
  projectRoleId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;