@abloatai/transaction 0.59.1 → 0.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/capability.d.ts +15 -15
- package/dist/auth/capabilityLifecycle.d.ts +2 -2
- package/dist/auth/credentialEndpoint.js.map +1 -1
- package/dist/auth/credentialSource.js.map +1 -1
- package/dist/auth/identity.js.map +1 -1
- package/dist/auth/schemas.d.ts +5 -5
- package/dist/auth/sessionIssuanceProtocol.d.ts +8 -8
- package/dist/auth/sessionIssuanceProtocol.d.ts.map +1 -1
- package/dist/branches.d.ts +38 -38
- package/dist/claims/contract.d.ts +27 -27
- package/dist/claims/eventContract.d.ts +18 -18
- package/dist/claims/routes.d.ts +9 -9
- package/dist/claims/routes.d.ts.map +1 -1
- package/dist/claims/trace.d.ts.map +1 -1
- package/dist/claims/trace.js.map +1 -1
- package/dist/client/ablo.d.ts +6 -5
- package/dist/client/ablo.d.ts.map +1 -1
- package/dist/client/ablo.js +0 -8
- package/dist/client/ablo.js.map +1 -1
- package/dist/client/resources/httpResources.js.map +1 -1
- package/dist/client/resources/modelOperations.d.ts +6 -6
- package/dist/client/resources/modelOperations.d.ts.map +1 -1
- package/dist/client/resources/where.d.ts +12 -12
- package/dist/client/surface.d.ts +2 -2
- package/dist/client/surface.d.ts.map +1 -1
- package/dist/client/surface.js +7 -0
- package/dist/client/surface.js.map +1 -1
- package/dist/commit/confirmation/commitEnvelope.d.ts +7 -7
- package/dist/commit/confirmation/httpCommitEnvelope.d.ts +1 -1
- package/dist/commit/confirmation/pendingWrite.d.ts +5 -5
- package/dist/commit/contract.d.ts +249 -249
- package/dist/commit/contract.d.ts.map +1 -1
- package/dist/commit/recordRuntime.d.ts +3 -2
- package/dist/commit/recordRuntime.d.ts.map +1 -1
- package/dist/commit/recordRuntime.js +1 -0
- package/dist/commit/recordRuntime.js.map +1 -1
- package/dist/coordination/schema.d.ts +54 -54
- package/dist/coordination/schema.js.map +1 -1
- package/dist/environment.d.ts +3 -3
- package/dist/environment.d.ts.map +1 -1
- package/dist/environment.js.map +1 -1
- package/dist/errorCodes.d.ts +6 -5
- package/dist/errorCodes.d.ts.map +1 -1
- package/dist/errorCodes.js +2 -1
- package/dist/errorCodes.js.map +1 -1
- package/dist/errorObservation.d.ts +14 -14
- package/dist/errors.d.ts +11 -11
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +16 -1
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/keys/index.d.ts +1 -1
- package/dist/keys/index.d.ts.map +1 -1
- package/dist/keys/index.js.map +1 -1
- package/dist/observation/contract.d.ts +34 -34
- package/dist/observation/feedContract.d.ts +86 -86
- package/dist/observation/persistence/syncDeltaRow.d.ts +23 -23
- package/dist/observation/persistence/syncDeltaRow.d.ts.map +1 -1
- package/dist/pricing.d.ts +12 -12
- package/dist/schema/audit.js.map +1 -1
- package/dist/schema/ddl.js.map +1 -1
- package/dist/schema/ddlLock.js.map +1 -1
- package/dist/schema/deployment/contracts.d.ts +64 -64
- package/dist/schema/deployment/index.js.map +1 -1
- package/dist/schema/deployment/reconcile.js.map +1 -1
- package/dist/schema/diff.js.map +1 -1
- package/dist/schema/field.d.ts +1 -1
- package/dist/schema/field.d.ts.map +1 -1
- package/dist/schema/loadStrategy.d.ts +2 -2
- package/dist/schema/loadStrategy.d.ts.map +1 -1
- package/dist/schema/openapi.js.map +1 -1
- package/dist/schema/relation.d.ts +3 -3
- package/dist/schema/relation.d.ts.map +1 -1
- package/dist/schema/residency.d.ts +1 -1
- package/dist/schema/roles.d.ts +1 -1
- package/dist/schema/roles.d.ts.map +1 -1
- package/dist/schema/roles.js.map +1 -1
- package/dist/schema/schema.d.ts +1 -1
- package/dist/schema/schema.d.ts.map +1 -1
- package/dist/schema/serialize.js.map +1 -1
- package/dist/schema/sugar.d.ts.map +1 -1
- package/dist/schema/tenancy.d.ts +2 -2
- package/dist/server/storageMode.d.ts +1 -1
- package/dist/source/adapters/adapterProfile.d.ts +6 -6
- package/dist/source/adapters/conformance.js.map +1 -1
- package/dist/source/adapters/contract.d.ts +14 -14
- package/dist/source/adapters/kysely.js.map +1 -1
- package/dist/source/adapters/memory.js.map +1 -1
- package/dist/source/adapters/prisma.js.map +1 -1
- package/dist/source/connector/client.d.ts.map +1 -1
- package/dist/source/connector/client.js.map +1 -1
- package/dist/source/connector/protocol.d.ts.map +1 -1
- package/dist/source/delivery/pushQueue.d.ts.map +1 -1
- package/dist/source/delivery/pushQueue.js.map +1 -1
- package/dist/source/endpoint/signing.d.ts +4 -4
- package/dist/source/endpoint/signing.d.ts.map +1 -1
- package/dist/source/outbox/contract.d.ts +4 -4
- package/dist/testing/fixtures/httpResponses.d.ts +2 -2
- package/dist/testing/fixtures/httpResponses.d.ts.map +1 -1
- package/dist/testing/fixtures/httpResponses.js.map +1 -1
- package/dist/transport/connection/credentialLifecycle.d.ts.map +1 -1
- package/dist/transport/connection/credentialLifecycle.js.map +1 -1
- package/dist/transport/connection/manager.d.ts.map +1 -1
- package/dist/transport/connection/manager.js.map +1 -1
- package/dist/transport/connection/networkProbe.d.ts +18 -5
- package/dist/transport/connection/networkProbe.d.ts.map +1 -1
- package/dist/transport/connection/networkProbe.js.map +1 -1
- package/dist/transport/http/client.d.ts +37 -1
- package/dist/transport/http/client.d.ts.map +1 -1
- package/dist/transport/http/client.js +117 -2
- package/dist/transport/http/client.js.map +1 -1
- package/dist/transport/http/transport.d.ts +21 -0
- package/dist/transport/http/transport.d.ts.map +1 -1
- package/dist/transport/http/transport.js +93 -5
- package/dist/transport/http/transport.js.map +1 -1
- package/dist/transport/websocket/commitFrames.d.ts +4 -3
- package/dist/transport/websocket/commitFrames.d.ts.map +1 -1
- package/dist/transport/websocket/commitFrames.js +1 -0
- package/dist/transport/websocket/commitFrames.js.map +1 -1
- package/dist/transport/websocket/contextSubscription.d.ts +6 -0
- package/dist/transport/websocket/contextSubscription.d.ts.map +1 -0
- package/dist/transport/websocket/contextSubscription.js +45 -0
- package/dist/transport/websocket/contextSubscription.js.map +1 -0
- package/dist/transport/websocket/heartbeat.d.ts.map +1 -1
- package/dist/transport/websocket/heartbeat.js.map +1 -1
- package/dist/transport/websocket/session.d.ts +4 -0
- package/dist/transport/websocket/session.d.ts.map +1 -0
- package/dist/transport/websocket/session.js +385 -0
- package/dist/transport/websocket/session.js.map +1 -0
- package/dist/transport/websocket/sessionContract.d.ts +89 -0
- package/dist/transport/websocket/sessionContract.d.ts.map +1 -0
- package/dist/transport/websocket/sessionContract.js +2 -0
- package/dist/transport/websocket/sessionContract.js.map +1 -0
- package/dist/transport/websocket/transport.d.ts +22 -0
- package/dist/transport/websocket/transport.d.ts.map +1 -1
- package/dist/transport/websocket/transport.js +63 -1
- package/dist/transport/websocket/transport.js.map +1 -1
- package/dist/wire/accountResponses.d.ts +31 -31
- package/dist/wire/auth.d.ts +3 -3
- package/dist/wire/bootstrapReason.d.ts +2 -2
- package/dist/wire/dataSourceResponses.d.ts +2 -2
- package/dist/wire/dataSourceResponses.d.ts.map +1 -1
- package/dist/wire/frames.d.ts +8 -8
- package/dist/wire/inboundFrames.d.ts +56 -56
- package/dist/wire/inboundFrames.d.ts.map +1 -1
- package/dist/wire/listEnvelope.js.map +1 -1
- package/dist/wire/modelResponses.d.ts +2 -2
- package/dist/wire/modelShape.d.ts +4 -4
- package/dist/wire/pricing.d.ts +3 -3
- package/dist/wire/protocolVersion.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/client/ablo.ts +10 -5
- package/src/client/surface.ts +8 -1
- package/src/commit/recordRuntime.ts +4 -2
- package/src/errorCodes.ts +5 -1
- package/src/errors.ts +18 -1
- package/src/index.ts +1 -0
- package/src/transport/http/client.ts +171 -4
- package/src/transport/http/transport.ts +126 -4
- package/src/transport/websocket/commitFrames.ts +5 -3
- package/src/transport/websocket/contextSubscription.ts +55 -0
- package/src/transport/websocket/session.ts +467 -0
- package/src/transport/websocket/sessionContract.ts +115 -0
- package/src/transport/websocket/transport.ts +72 -0
|
@@ -76,20 +76,20 @@ export type CommitStatus = CommitStatusValue['status'];
|
|
|
76
76
|
export declare const commitWaitSchema: z.ZodUnion<readonly [z.ZodLiteral<"queued">, z.ZodLiteral<"confirmed">]>;
|
|
77
77
|
export type CommitWait = z.infer<typeof commitWaitSchema>;
|
|
78
78
|
export declare const commitOperationOutcomeSchema: z.ZodEnum<{
|
|
79
|
-
deleted: "deleted";
|
|
80
|
-
created: "created";
|
|
81
|
-
updated: "updated";
|
|
82
79
|
archived: "archived";
|
|
80
|
+
created: "created";
|
|
81
|
+
deleted: "deleted";
|
|
83
82
|
unarchived: "unarchived";
|
|
83
|
+
updated: "updated";
|
|
84
84
|
}>;
|
|
85
85
|
export declare const commitOperationResultSchema: z.ZodObject<{
|
|
86
86
|
transactionId: z.ZodString;
|
|
87
87
|
outcome: z.ZodEnum<{
|
|
88
|
-
deleted: "deleted";
|
|
89
|
-
created: "created";
|
|
90
|
-
updated: "updated";
|
|
91
88
|
archived: "archived";
|
|
89
|
+
created: "created";
|
|
90
|
+
deleted: "deleted";
|
|
92
91
|
unarchived: "unarchived";
|
|
92
|
+
updated: "updated";
|
|
93
93
|
}>;
|
|
94
94
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
95
95
|
}, z.core.$strict>;
|
|
@@ -98,9 +98,9 @@ export type CommitOperationResult<Row extends Record<string, unknown> = Record<s
|
|
|
98
98
|
};
|
|
99
99
|
export declare const commitActorSchema: z.ZodObject<{
|
|
100
100
|
kind: z.ZodEnum<{
|
|
101
|
-
user: "user";
|
|
102
101
|
agent: "agent";
|
|
103
102
|
system: "system";
|
|
103
|
+
user: "user";
|
|
104
104
|
}>;
|
|
105
105
|
id: z.ZodString;
|
|
106
106
|
}, z.core.$strict>;
|
|
@@ -109,8 +109,8 @@ export declare const commitAttemptSchema: z.ZodObject<{
|
|
|
109
109
|
id: z.ZodString;
|
|
110
110
|
observedAt: z.ZodISODateTime;
|
|
111
111
|
transport: z.ZodEnum<{
|
|
112
|
-
internal: "internal";
|
|
113
112
|
http: "http";
|
|
113
|
+
internal: "internal";
|
|
114
114
|
websocket: "websocket";
|
|
115
115
|
}>;
|
|
116
116
|
kind: z.ZodEnum<{
|
|
@@ -153,11 +153,11 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
153
153
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
154
154
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
155
155
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
156
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
156
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
157
157
|
participantKind: z.ZodEnum<{
|
|
158
|
-
user: "user";
|
|
159
158
|
agent: "agent";
|
|
160
159
|
system: "system";
|
|
160
|
+
user: "user";
|
|
161
161
|
}>;
|
|
162
162
|
participantId: z.ZodString;
|
|
163
163
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -169,11 +169,11 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
169
169
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
170
170
|
transactionId: z.ZodString;
|
|
171
171
|
outcome: z.ZodEnum<{
|
|
172
|
-
deleted: "deleted";
|
|
173
|
-
created: "created";
|
|
174
|
-
updated: "updated";
|
|
175
172
|
archived: "archived";
|
|
173
|
+
created: "created";
|
|
174
|
+
deleted: "deleted";
|
|
176
175
|
unarchived: "unarchived";
|
|
176
|
+
updated: "updated";
|
|
177
177
|
}>;
|
|
178
178
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
179
179
|
}, z.core.$strict>>>;
|
|
@@ -194,11 +194,11 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
194
194
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
195
195
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
196
196
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
197
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
197
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
198
198
|
participantKind: z.ZodEnum<{
|
|
199
|
-
user: "user";
|
|
200
199
|
agent: "agent";
|
|
201
200
|
system: "system";
|
|
201
|
+
user: "user";
|
|
202
202
|
}>;
|
|
203
203
|
participantId: z.ZodString;
|
|
204
204
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -210,11 +210,11 @@ export declare const commitReceiptSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
210
210
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
211
|
transactionId: z.ZodString;
|
|
212
212
|
outcome: z.ZodEnum<{
|
|
213
|
-
deleted: "deleted";
|
|
214
|
-
created: "created";
|
|
215
|
-
updated: "updated";
|
|
216
213
|
archived: "archived";
|
|
214
|
+
created: "created";
|
|
215
|
+
deleted: "deleted";
|
|
217
216
|
unarchived: "unarchived";
|
|
217
|
+
updated: "updated";
|
|
218
218
|
}>;
|
|
219
219
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
220
220
|
}, z.core.$strict>>>;
|
|
@@ -235,11 +235,11 @@ export declare const rejectedCommitReceiptSchema: z.ZodObject<{
|
|
|
235
235
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
236
236
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
237
237
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
238
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
238
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
239
239
|
participantKind: z.ZodEnum<{
|
|
240
|
-
user: "user";
|
|
241
240
|
agent: "agent";
|
|
242
241
|
system: "system";
|
|
242
|
+
user: "user";
|
|
243
243
|
}>;
|
|
244
244
|
participantId: z.ZodString;
|
|
245
245
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -248,7 +248,7 @@ export declare const rejectedCommitReceiptSchema: z.ZodObject<{
|
|
|
248
248
|
}, z.core.$strip>>>;
|
|
249
249
|
}, z.core.$strip>;
|
|
250
250
|
error: z.ZodObject<{
|
|
251
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
251
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
252
252
|
message: z.ZodString;
|
|
253
253
|
field: z.ZodOptional<z.ZodString>;
|
|
254
254
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -281,11 +281,11 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
281
281
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
282
282
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
283
283
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
284
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
284
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
285
285
|
participantKind: z.ZodEnum<{
|
|
286
|
-
user: "user";
|
|
287
286
|
agent: "agent";
|
|
288
287
|
system: "system";
|
|
288
|
+
user: "user";
|
|
289
289
|
}>;
|
|
290
290
|
participantId: z.ZodString;
|
|
291
291
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -297,11 +297,11 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
297
297
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
298
|
transactionId: z.ZodString;
|
|
299
299
|
outcome: z.ZodEnum<{
|
|
300
|
-
deleted: "deleted";
|
|
301
|
-
created: "created";
|
|
302
|
-
updated: "updated";
|
|
303
300
|
archived: "archived";
|
|
301
|
+
created: "created";
|
|
302
|
+
deleted: "deleted";
|
|
304
303
|
unarchived: "unarchived";
|
|
304
|
+
updated: "updated";
|
|
305
305
|
}>;
|
|
306
306
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
307
307
|
}, z.core.$strict>>>;
|
|
@@ -322,11 +322,11 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
322
322
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
323
323
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
324
324
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
325
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
325
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
326
326
|
participantKind: z.ZodEnum<{
|
|
327
|
-
user: "user";
|
|
328
327
|
agent: "agent";
|
|
329
328
|
system: "system";
|
|
329
|
+
user: "user";
|
|
330
330
|
}>;
|
|
331
331
|
participantId: z.ZodString;
|
|
332
332
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -338,11 +338,11 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
338
338
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
339
339
|
transactionId: z.ZodString;
|
|
340
340
|
outcome: z.ZodEnum<{
|
|
341
|
-
deleted: "deleted";
|
|
342
|
-
created: "created";
|
|
343
|
-
updated: "updated";
|
|
344
341
|
archived: "archived";
|
|
342
|
+
created: "created";
|
|
343
|
+
deleted: "deleted";
|
|
345
344
|
unarchived: "unarchived";
|
|
345
|
+
updated: "updated";
|
|
346
346
|
}>;
|
|
347
347
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
348
348
|
}, z.core.$strict>>>;
|
|
@@ -360,11 +360,11 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
360
360
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
361
361
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
362
362
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
363
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
363
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
364
364
|
participantKind: z.ZodEnum<{
|
|
365
|
-
user: "user";
|
|
366
365
|
agent: "agent";
|
|
367
366
|
system: "system";
|
|
367
|
+
user: "user";
|
|
368
368
|
}>;
|
|
369
369
|
participantId: z.ZodString;
|
|
370
370
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -373,7 +373,7 @@ export declare const mutationResultPayloadSchema: z.ZodUnion<readonly [z.ZodDisc
|
|
|
373
373
|
}, z.core.$strip>>>;
|
|
374
374
|
}, z.core.$strip>;
|
|
375
375
|
error: z.ZodObject<{
|
|
376
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
376
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
377
377
|
message: z.ZodString;
|
|
378
378
|
field: z.ZodOptional<z.ZodString>;
|
|
379
379
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -408,11 +408,11 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
408
408
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
409
409
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
410
410
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
411
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
411
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
412
412
|
participantKind: z.ZodEnum<{
|
|
413
|
-
user: "user";
|
|
414
413
|
agent: "agent";
|
|
415
414
|
system: "system";
|
|
415
|
+
user: "user";
|
|
416
416
|
}>;
|
|
417
417
|
participantId: z.ZodString;
|
|
418
418
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -424,11 +424,11 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
424
424
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
425
425
|
transactionId: z.ZodString;
|
|
426
426
|
outcome: z.ZodEnum<{
|
|
427
|
-
deleted: "deleted";
|
|
428
|
-
created: "created";
|
|
429
|
-
updated: "updated";
|
|
430
427
|
archived: "archived";
|
|
428
|
+
created: "created";
|
|
429
|
+
deleted: "deleted";
|
|
431
430
|
unarchived: "unarchived";
|
|
431
|
+
updated: "updated";
|
|
432
432
|
}>;
|
|
433
433
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
434
434
|
}, z.core.$strict>>>;
|
|
@@ -449,11 +449,11 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
449
449
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
450
450
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
451
451
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
452
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
452
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
453
453
|
participantKind: z.ZodEnum<{
|
|
454
|
-
user: "user";
|
|
455
454
|
agent: "agent";
|
|
456
455
|
system: "system";
|
|
456
|
+
user: "user";
|
|
457
457
|
}>;
|
|
458
458
|
participantId: z.ZodString;
|
|
459
459
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -465,11 +465,11 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
465
465
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
466
466
|
transactionId: z.ZodString;
|
|
467
467
|
outcome: z.ZodEnum<{
|
|
468
|
-
deleted: "deleted";
|
|
469
|
-
created: "created";
|
|
470
|
-
updated: "updated";
|
|
471
468
|
archived: "archived";
|
|
469
|
+
created: "created";
|
|
470
|
+
deleted: "deleted";
|
|
472
471
|
unarchived: "unarchived";
|
|
472
|
+
updated: "updated";
|
|
473
473
|
}>;
|
|
474
474
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
475
475
|
}, z.core.$strict>>>;
|
|
@@ -487,11 +487,11 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
487
487
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
488
488
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
489
489
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
490
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
490
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
491
491
|
participantKind: z.ZodEnum<{
|
|
492
|
-
user: "user";
|
|
493
492
|
agent: "agent";
|
|
494
493
|
system: "system";
|
|
494
|
+
user: "user";
|
|
495
495
|
}>;
|
|
496
496
|
participantId: z.ZodString;
|
|
497
497
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -500,7 +500,7 @@ export declare const mutationResultMessageSchema: z.ZodObject<{
|
|
|
500
500
|
}, z.core.$strip>>>;
|
|
501
501
|
}, z.core.$strip>;
|
|
502
502
|
error: z.ZodObject<{
|
|
503
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
503
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
504
504
|
message: z.ZodString;
|
|
505
505
|
field: z.ZodOptional<z.ZodString>;
|
|
506
506
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -549,11 +549,11 @@ export declare const commitAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
549
549
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
550
550
|
transactionId: z.ZodString;
|
|
551
551
|
outcome: z.ZodEnum<{
|
|
552
|
-
deleted: "deleted";
|
|
553
|
-
created: "created";
|
|
554
|
-
updated: "updated";
|
|
555
552
|
archived: "archived";
|
|
553
|
+
created: "created";
|
|
554
|
+
deleted: "deleted";
|
|
556
555
|
unarchived: "unarchived";
|
|
556
|
+
updated: "updated";
|
|
557
557
|
}>;
|
|
558
558
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
559
559
|
}, z.core.$strict>>>;
|
|
@@ -566,11 +566,11 @@ export declare const commitAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
566
566
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
567
567
|
transactionId: z.ZodString;
|
|
568
568
|
outcome: z.ZodEnum<{
|
|
569
|
-
deleted: "deleted";
|
|
570
|
-
created: "created";
|
|
571
|
-
updated: "updated";
|
|
572
569
|
archived: "archived";
|
|
570
|
+
created: "created";
|
|
571
|
+
deleted: "deleted";
|
|
573
572
|
unarchived: "unarchived";
|
|
573
|
+
updated: "updated";
|
|
574
574
|
}>;
|
|
575
575
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
576
576
|
}, z.core.$strict>>>;
|
|
@@ -591,11 +591,11 @@ export declare const mutationCommitResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
591
591
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
592
592
|
transactionId: z.ZodString;
|
|
593
593
|
outcome: z.ZodEnum<{
|
|
594
|
-
deleted: "deleted";
|
|
595
|
-
created: "created";
|
|
596
|
-
updated: "updated";
|
|
597
594
|
archived: "archived";
|
|
595
|
+
created: "created";
|
|
596
|
+
deleted: "deleted";
|
|
598
597
|
unarchived: "unarchived";
|
|
598
|
+
updated: "updated";
|
|
599
599
|
}>;
|
|
600
600
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
601
601
|
}, z.core.$strict>>>;
|
|
@@ -608,11 +608,11 @@ export declare const mutationCommitResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
608
608
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
609
609
|
transactionId: z.ZodString;
|
|
610
610
|
outcome: z.ZodEnum<{
|
|
611
|
-
deleted: "deleted";
|
|
612
|
-
created: "created";
|
|
613
|
-
updated: "updated";
|
|
614
611
|
archived: "archived";
|
|
612
|
+
created: "created";
|
|
613
|
+
deleted: "deleted";
|
|
615
614
|
unarchived: "unarchived";
|
|
615
|
+
updated: "updated";
|
|
616
616
|
}>;
|
|
617
617
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
618
618
|
}, z.core.$strict>>>;
|
|
@@ -636,11 +636,11 @@ export declare const clientCommitReceiptSchema: z.ZodObject<{
|
|
|
636
636
|
operationResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
637
637
|
transactionId: z.ZodString;
|
|
638
638
|
outcome: z.ZodEnum<{
|
|
639
|
-
deleted: "deleted";
|
|
640
|
-
created: "created";
|
|
641
|
-
updated: "updated";
|
|
642
639
|
archived: "archived";
|
|
640
|
+
created: "created";
|
|
641
|
+
deleted: "deleted";
|
|
643
642
|
unarchived: "unarchived";
|
|
643
|
+
updated: "updated";
|
|
644
644
|
}>;
|
|
645
645
|
row: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
646
646
|
}, z.core.$strict>>>;
|
|
@@ -656,50 +656,50 @@ export declare const commitOperationControlShape: {
|
|
|
656
656
|
};
|
|
657
657
|
/** Canonical public spelling of a model operation. */
|
|
658
658
|
export declare const modelOperationActionSchema: z.ZodEnum<{
|
|
659
|
-
|
|
659
|
+
archive: "archive";
|
|
660
660
|
create: "create";
|
|
661
661
|
delete: "delete";
|
|
662
|
-
archive: "archive";
|
|
663
662
|
unarchive: "unarchive";
|
|
663
|
+
update: "update";
|
|
664
664
|
}>;
|
|
665
665
|
export type ModelOperationAction = z.infer<typeof modelOperationActionSchema>;
|
|
666
666
|
/** Convert a storage operation verb into the canonical lowercase commit action. */
|
|
667
667
|
export declare function normalizeStorageOperationAction(value: string): ModelOperationAction;
|
|
668
668
|
/** One write inside a commit, in the canonical spelling. */
|
|
669
669
|
export declare const commitOperationBodySchema: z.ZodObject<{
|
|
670
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
671
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
|
+
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
673
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
674
|
+
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
670
675
|
action: z.ZodEnum<{
|
|
671
|
-
|
|
676
|
+
archive: "archive";
|
|
672
677
|
create: "create";
|
|
673
678
|
delete: "delete";
|
|
674
|
-
archive: "archive";
|
|
675
679
|
unarchive: "unarchive";
|
|
680
|
+
update: "update";
|
|
676
681
|
}>;
|
|
677
682
|
model: z.ZodString;
|
|
678
683
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
679
684
|
where: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
680
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
681
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
682
|
-
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
683
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
684
|
-
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
685
685
|
}, z.core.$strip>;
|
|
686
686
|
export type CommitOperationBody = z.infer<typeof commitOperationBodySchema>;
|
|
687
687
|
/** Commit records retain intent metadata but never copy customer mutation data. */
|
|
688
|
-
export declare const COMMIT_OPERATION_DATA_RETENTION:
|
|
688
|
+
export declare const COMMIT_OPERATION_DATA_RETENTION: 'redacted';
|
|
689
689
|
export declare const commitRecordOperationSchema: z.ZodObject<{
|
|
690
690
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
691
|
-
|
|
692
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
691
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
692
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
694
694
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
695
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
696
695
|
action: z.ZodEnum<{
|
|
697
|
-
|
|
696
|
+
archive: "archive";
|
|
698
697
|
create: "create";
|
|
699
698
|
delete: "delete";
|
|
700
|
-
archive: "archive";
|
|
701
699
|
unarchive: "unarchive";
|
|
700
|
+
update: "update";
|
|
702
701
|
}>;
|
|
702
|
+
model: z.ZodString;
|
|
703
703
|
data: z.ZodObject<{
|
|
704
704
|
retention: z.ZodLiteral<"redacted">;
|
|
705
705
|
}, z.core.$strict>;
|
|
@@ -712,7 +712,7 @@ export declare const commitReceiptEvidenceSchema: z.ZodObject<{
|
|
|
712
712
|
ops: z.ZodOptional<z.ZodNumber>;
|
|
713
713
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
714
714
|
error: z.ZodOptional<z.ZodObject<{
|
|
715
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
715
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
716
716
|
message: z.ZodString;
|
|
717
717
|
field: z.ZodOptional<z.ZodString>;
|
|
718
718
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -737,21 +737,21 @@ export type CommitReceiptEvidence = z.infer<typeof commitReceiptEvidenceSchema>;
|
|
|
737
737
|
*/
|
|
738
738
|
export declare const commitRequestSchema: z.ZodObject<{
|
|
739
739
|
operations: z.ZodArray<z.ZodObject<{
|
|
740
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
741
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
742
|
+
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
743
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
744
|
+
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
740
745
|
action: z.ZodEnum<{
|
|
741
|
-
|
|
746
|
+
archive: "archive";
|
|
742
747
|
create: "create";
|
|
743
748
|
delete: "delete";
|
|
744
|
-
archive: "archive";
|
|
745
749
|
unarchive: "unarchive";
|
|
750
|
+
update: "update";
|
|
746
751
|
}>;
|
|
747
752
|
model: z.ZodString;
|
|
748
753
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
749
754
|
where: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
750
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
751
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
752
|
-
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
753
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
754
|
-
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
755
755
|
}, z.core.$strip>>;
|
|
756
756
|
reads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
757
757
|
model: z.ZodString;
|
|
@@ -769,61 +769,12 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
769
769
|
statusAt: z.ZodISODateTime;
|
|
770
770
|
lastSyncId: z.ZodLiteral<0>;
|
|
771
771
|
correlationId: z.ZodString;
|
|
772
|
-
createdAt: z.ZodISODateTime;
|
|
773
|
-
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
774
|
-
model: z.ZodString;
|
|
775
|
-
id: z.ZodString;
|
|
776
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
777
|
-
readAt: z.ZodNumber;
|
|
778
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
779
|
-
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
780
|
-
readAt: z.ZodNumber;
|
|
781
|
-
}, z.core.$strip>]>>>;
|
|
782
|
-
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
783
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
784
|
-
model: z.ZodString;
|
|
785
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
786
|
-
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
787
|
-
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
788
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
789
|
-
action: z.ZodEnum<{
|
|
790
|
-
update: "update";
|
|
791
|
-
create: "create";
|
|
792
|
-
delete: "delete";
|
|
793
|
-
archive: "archive";
|
|
794
|
-
unarchive: "unarchive";
|
|
795
|
-
}>;
|
|
796
|
-
data: z.ZodObject<{
|
|
797
|
-
retention: z.ZodLiteral<"redacted">;
|
|
798
|
-
}, z.core.$strict>;
|
|
799
|
-
}, z.core.$strip>>>;
|
|
800
|
-
receipt: z.ZodObject<{
|
|
801
|
-
clientTxId: z.ZodString;
|
|
802
|
-
serverTxId: z.ZodString;
|
|
803
|
-
ops: z.ZodOptional<z.ZodNumber>;
|
|
804
|
-
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
805
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
806
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
807
|
-
message: z.ZodString;
|
|
808
|
-
field: z.ZodOptional<z.ZodString>;
|
|
809
|
-
request_id: z.ZodOptional<z.ZodString>;
|
|
810
|
-
event_id: z.ZodOptional<z.ZodString>;
|
|
811
|
-
requiredCapability: z.ZodOptional<z.ZodObject<{
|
|
812
|
-
scope: z.ZodString;
|
|
813
|
-
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodString]>>>;
|
|
814
|
-
issuer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
815
|
-
ttlSeconds: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
816
|
-
nonce: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
817
|
-
}, z.core.$loose>>;
|
|
818
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
819
|
-
}, z.core.$strip>>;
|
|
820
|
-
}, z.core.$strict>;
|
|
821
772
|
attempts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
822
773
|
id: z.ZodString;
|
|
823
774
|
observedAt: z.ZodISODateTime;
|
|
824
775
|
transport: z.ZodEnum<{
|
|
825
|
-
internal: "internal";
|
|
826
776
|
http: "http";
|
|
777
|
+
internal: "internal";
|
|
827
778
|
websocket: "websocket";
|
|
828
779
|
}>;
|
|
829
780
|
kind: z.ZodEnum<{
|
|
@@ -833,9 +784,9 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
833
784
|
}, z.core.$strict>>>;
|
|
834
785
|
actor: z.ZodObject<{
|
|
835
786
|
kind: z.ZodEnum<{
|
|
836
|
-
user: "user";
|
|
837
787
|
agent: "agent";
|
|
838
788
|
system: "system";
|
|
789
|
+
user: "user";
|
|
839
790
|
}>;
|
|
840
791
|
id: z.ZodString;
|
|
841
792
|
}, z.core.$strict>;
|
|
@@ -844,11 +795,11 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
844
795
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
845
796
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
846
797
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
847
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
798
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
848
799
|
participantKind: z.ZodEnum<{
|
|
849
|
-
user: "user";
|
|
850
800
|
agent: "agent";
|
|
851
801
|
system: "system";
|
|
802
|
+
user: "user";
|
|
852
803
|
}>;
|
|
853
804
|
participantId: z.ZodString;
|
|
854
805
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -867,11 +818,6 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
867
818
|
fenceToken: z.ZodNumber;
|
|
868
819
|
}, z.core.$strict>>>;
|
|
869
820
|
id: z.ZodString;
|
|
870
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
871
|
-
status: z.ZodLiteral<"confirmed">;
|
|
872
|
-
statusAt: z.ZodISODateTime;
|
|
873
|
-
lastSyncId: z.ZodNumber;
|
|
874
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
875
821
|
createdAt: z.ZodISODateTime;
|
|
876
822
|
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
877
823
|
model: z.ZodString;
|
|
@@ -884,18 +830,18 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
884
830
|
}, z.core.$strip>]>>>;
|
|
885
831
|
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
886
832
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
887
|
-
|
|
888
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
833
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
889
834
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
835
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
890
836
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
891
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
892
837
|
action: z.ZodEnum<{
|
|
893
|
-
|
|
838
|
+
archive: "archive";
|
|
894
839
|
create: "create";
|
|
895
840
|
delete: "delete";
|
|
896
|
-
archive: "archive";
|
|
897
841
|
unarchive: "unarchive";
|
|
842
|
+
update: "update";
|
|
898
843
|
}>;
|
|
844
|
+
model: z.ZodString;
|
|
899
845
|
data: z.ZodObject<{
|
|
900
846
|
retention: z.ZodLiteral<"redacted">;
|
|
901
847
|
}, z.core.$strict>;
|
|
@@ -906,7 +852,7 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
906
852
|
ops: z.ZodOptional<z.ZodNumber>;
|
|
907
853
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
908
854
|
error: z.ZodOptional<z.ZodObject<{
|
|
909
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
855
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
910
856
|
message: z.ZodString;
|
|
911
857
|
field: z.ZodOptional<z.ZodString>;
|
|
912
858
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -921,12 +867,17 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
921
867
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
922
868
|
}, z.core.$strip>>;
|
|
923
869
|
}, z.core.$strict>;
|
|
870
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
871
|
+
status: z.ZodLiteral<"confirmed">;
|
|
872
|
+
statusAt: z.ZodISODateTime;
|
|
873
|
+
lastSyncId: z.ZodNumber;
|
|
874
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
924
875
|
attempts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
925
876
|
id: z.ZodString;
|
|
926
877
|
observedAt: z.ZodISODateTime;
|
|
927
878
|
transport: z.ZodEnum<{
|
|
928
|
-
internal: "internal";
|
|
929
879
|
http: "http";
|
|
880
|
+
internal: "internal";
|
|
930
881
|
websocket: "websocket";
|
|
931
882
|
}>;
|
|
932
883
|
kind: z.ZodEnum<{
|
|
@@ -936,9 +887,9 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
936
887
|
}, z.core.$strict>>>;
|
|
937
888
|
actor: z.ZodObject<{
|
|
938
889
|
kind: z.ZodEnum<{
|
|
939
|
-
user: "user";
|
|
940
890
|
agent: "agent";
|
|
941
891
|
system: "system";
|
|
892
|
+
user: "user";
|
|
942
893
|
}>;
|
|
943
894
|
id: z.ZodString;
|
|
944
895
|
}, z.core.$strict>;
|
|
@@ -947,11 +898,11 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
947
898
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
948
899
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
949
900
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
950
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
901
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
951
902
|
participantKind: z.ZodEnum<{
|
|
952
|
-
user: "user";
|
|
953
903
|
agent: "agent";
|
|
954
904
|
system: "system";
|
|
905
|
+
user: "user";
|
|
955
906
|
}>;
|
|
956
907
|
participantId: z.ZodString;
|
|
957
908
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -970,10 +921,6 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
970
921
|
fenceToken: z.ZodNumber;
|
|
971
922
|
}, z.core.$strict>>>;
|
|
972
923
|
id: z.ZodString;
|
|
973
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
974
|
-
status: z.ZodLiteral<"rejected">;
|
|
975
|
-
statusAt: z.ZodISODateTime;
|
|
976
|
-
lastSyncId: z.ZodLiteral<0>;
|
|
977
924
|
createdAt: z.ZodISODateTime;
|
|
978
925
|
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
979
926
|
model: z.ZodString;
|
|
@@ -986,18 +933,18 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
986
933
|
}, z.core.$strip>]>>>;
|
|
987
934
|
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
988
935
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
989
|
-
|
|
990
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
936
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
991
937
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
938
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
992
939
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
993
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
940
|
action: z.ZodEnum<{
|
|
995
|
-
|
|
941
|
+
archive: "archive";
|
|
996
942
|
create: "create";
|
|
997
943
|
delete: "delete";
|
|
998
|
-
archive: "archive";
|
|
999
944
|
unarchive: "unarchive";
|
|
945
|
+
update: "update";
|
|
1000
946
|
}>;
|
|
947
|
+
model: z.ZodString;
|
|
1001
948
|
data: z.ZodObject<{
|
|
1002
949
|
retention: z.ZodLiteral<"redacted">;
|
|
1003
950
|
}, z.core.$strict>;
|
|
@@ -1008,7 +955,7 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1008
955
|
ops: z.ZodOptional<z.ZodNumber>;
|
|
1009
956
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1010
957
|
error: z.ZodOptional<z.ZodObject<{
|
|
1011
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
958
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
1012
959
|
message: z.ZodString;
|
|
1013
960
|
field: z.ZodOptional<z.ZodString>;
|
|
1014
961
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1023,12 +970,15 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1023
970
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1024
971
|
}, z.core.$strip>>;
|
|
1025
972
|
}, z.core.$strict>;
|
|
973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
974
|
+
status: z.ZodLiteral<"rejected">;
|
|
975
|
+
statusAt: z.ZodISODateTime;
|
|
1026
976
|
attempts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1027
977
|
id: z.ZodString;
|
|
1028
978
|
observedAt: z.ZodISODateTime;
|
|
1029
979
|
transport: z.ZodEnum<{
|
|
1030
|
-
internal: "internal";
|
|
1031
980
|
http: "http";
|
|
981
|
+
internal: "internal";
|
|
1032
982
|
websocket: "websocket";
|
|
1033
983
|
}>;
|
|
1034
984
|
kind: z.ZodEnum<{
|
|
@@ -1038,9 +988,9 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1038
988
|
}, z.core.$strict>>>;
|
|
1039
989
|
actor: z.ZodObject<{
|
|
1040
990
|
kind: z.ZodEnum<{
|
|
1041
|
-
user: "user";
|
|
1042
991
|
agent: "agent";
|
|
1043
992
|
system: "system";
|
|
993
|
+
user: "user";
|
|
1044
994
|
}>;
|
|
1045
995
|
id: z.ZodString;
|
|
1046
996
|
}, z.core.$strict>;
|
|
@@ -1049,11 +999,11 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1049
999
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1050
1000
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1051
1001
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
1052
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
1002
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
1053
1003
|
participantKind: z.ZodEnum<{
|
|
1054
|
-
user: "user";
|
|
1055
1004
|
agent: "agent";
|
|
1056
1005
|
system: "system";
|
|
1006
|
+
user: "user";
|
|
1057
1007
|
}>;
|
|
1058
1008
|
participantId: z.ZodString;
|
|
1059
1009
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1072,6 +1022,56 @@ export declare const commitRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1072
1022
|
fenceToken: z.ZodNumber;
|
|
1073
1023
|
}, z.core.$strict>>>;
|
|
1074
1024
|
id: z.ZodString;
|
|
1025
|
+
createdAt: z.ZodISODateTime;
|
|
1026
|
+
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1027
|
+
model: z.ZodString;
|
|
1028
|
+
id: z.ZodString;
|
|
1029
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1030
|
+
readAt: z.ZodNumber;
|
|
1031
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1032
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
1033
|
+
readAt: z.ZodNumber;
|
|
1034
|
+
}, z.core.$strip>]>>>;
|
|
1035
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1036
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1037
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1038
|
+
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1039
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1040
|
+
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1041
|
+
action: z.ZodEnum<{
|
|
1042
|
+
archive: "archive";
|
|
1043
|
+
create: "create";
|
|
1044
|
+
delete: "delete";
|
|
1045
|
+
unarchive: "unarchive";
|
|
1046
|
+
update: "update";
|
|
1047
|
+
}>;
|
|
1048
|
+
model: z.ZodString;
|
|
1049
|
+
data: z.ZodObject<{
|
|
1050
|
+
retention: z.ZodLiteral<"redacted">;
|
|
1051
|
+
}, z.core.$strict>;
|
|
1052
|
+
}, z.core.$strip>>>;
|
|
1053
|
+
receipt: z.ZodObject<{
|
|
1054
|
+
clientTxId: z.ZodString;
|
|
1055
|
+
serverTxId: z.ZodString;
|
|
1056
|
+
ops: z.ZodOptional<z.ZodNumber>;
|
|
1057
|
+
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1058
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1059
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
1060
|
+
message: z.ZodString;
|
|
1061
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
event_id: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
requiredCapability: z.ZodOptional<z.ZodObject<{
|
|
1065
|
+
scope: z.ZodString;
|
|
1066
|
+
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodString]>>>;
|
|
1067
|
+
issuer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
1068
|
+
ttlSeconds: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
1069
|
+
nonce: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
1070
|
+
}, z.core.$loose>>;
|
|
1071
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1072
|
+
}, z.core.$strip>>;
|
|
1073
|
+
}, z.core.$strict>;
|
|
1074
|
+
lastSyncId: z.ZodLiteral<0>;
|
|
1075
1075
|
}, z.core.$strict>], "status">;
|
|
1076
1076
|
export type CommitRecord = z.infer<typeof commitRecordSchema>;
|
|
1077
1077
|
export declare const commitRecordWhereSchema: z.ZodObject<{
|
|
@@ -1094,61 +1094,12 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1094
1094
|
statusAt: z.ZodISODateTime;
|
|
1095
1095
|
lastSyncId: z.ZodLiteral<0>;
|
|
1096
1096
|
correlationId: z.ZodString;
|
|
1097
|
-
createdAt: z.ZodISODateTime;
|
|
1098
|
-
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1099
|
-
model: z.ZodString;
|
|
1100
|
-
id: z.ZodString;
|
|
1101
|
-
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1102
|
-
readAt: z.ZodNumber;
|
|
1103
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1104
|
-
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
1105
|
-
readAt: z.ZodNumber;
|
|
1106
|
-
}, z.core.$strip>]>>>;
|
|
1107
|
-
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1108
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1109
|
-
model: z.ZodString;
|
|
1110
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1111
|
-
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
|
-
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1113
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1114
|
-
action: z.ZodEnum<{
|
|
1115
|
-
update: "update";
|
|
1116
|
-
create: "create";
|
|
1117
|
-
delete: "delete";
|
|
1118
|
-
archive: "archive";
|
|
1119
|
-
unarchive: "unarchive";
|
|
1120
|
-
}>;
|
|
1121
|
-
data: z.ZodObject<{
|
|
1122
|
-
retention: z.ZodLiteral<"redacted">;
|
|
1123
|
-
}, z.core.$strict>;
|
|
1124
|
-
}, z.core.$strip>>>;
|
|
1125
|
-
receipt: z.ZodObject<{
|
|
1126
|
-
clientTxId: z.ZodString;
|
|
1127
|
-
serverTxId: z.ZodString;
|
|
1128
|
-
ops: z.ZodOptional<z.ZodNumber>;
|
|
1129
|
-
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1130
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
1131
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
1132
|
-
message: z.ZodString;
|
|
1133
|
-
field: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
request_id: z.ZodOptional<z.ZodString>;
|
|
1135
|
-
event_id: z.ZodOptional<z.ZodString>;
|
|
1136
|
-
requiredCapability: z.ZodOptional<z.ZodObject<{
|
|
1137
|
-
scope: z.ZodString;
|
|
1138
|
-
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodString]>>>;
|
|
1139
|
-
issuer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
1140
|
-
ttlSeconds: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
1141
|
-
nonce: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
1142
|
-
}, z.core.$loose>>;
|
|
1143
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1144
|
-
}, z.core.$strip>>;
|
|
1145
|
-
}, z.core.$strict>;
|
|
1146
1097
|
attempts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1147
1098
|
id: z.ZodString;
|
|
1148
1099
|
observedAt: z.ZodISODateTime;
|
|
1149
1100
|
transport: z.ZodEnum<{
|
|
1150
|
-
internal: "internal";
|
|
1151
1101
|
http: "http";
|
|
1102
|
+
internal: "internal";
|
|
1152
1103
|
websocket: "websocket";
|
|
1153
1104
|
}>;
|
|
1154
1105
|
kind: z.ZodEnum<{
|
|
@@ -1158,9 +1109,9 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1158
1109
|
}, z.core.$strict>>>;
|
|
1159
1110
|
actor: z.ZodObject<{
|
|
1160
1111
|
kind: z.ZodEnum<{
|
|
1161
|
-
user: "user";
|
|
1162
1112
|
agent: "agent";
|
|
1163
1113
|
system: "system";
|
|
1114
|
+
user: "user";
|
|
1164
1115
|
}>;
|
|
1165
1116
|
id: z.ZodString;
|
|
1166
1117
|
}, z.core.$strict>;
|
|
@@ -1169,11 +1120,11 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1169
1120
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1170
1121
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1171
1122
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
1172
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
1123
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
1173
1124
|
participantKind: z.ZodEnum<{
|
|
1174
|
-
user: "user";
|
|
1175
1125
|
agent: "agent";
|
|
1176
1126
|
system: "system";
|
|
1127
|
+
user: "user";
|
|
1177
1128
|
}>;
|
|
1178
1129
|
participantId: z.ZodString;
|
|
1179
1130
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1192,11 +1143,6 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1192
1143
|
fenceToken: z.ZodNumber;
|
|
1193
1144
|
}, z.core.$strict>>>;
|
|
1194
1145
|
id: z.ZodString;
|
|
1195
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1196
|
-
status: z.ZodLiteral<"confirmed">;
|
|
1197
|
-
statusAt: z.ZodISODateTime;
|
|
1198
|
-
lastSyncId: z.ZodNumber;
|
|
1199
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
1200
1146
|
createdAt: z.ZodISODateTime;
|
|
1201
1147
|
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1202
1148
|
model: z.ZodString;
|
|
@@ -1209,18 +1155,18 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1209
1155
|
}, z.core.$strip>]>>>;
|
|
1210
1156
|
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1211
1157
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1212
|
-
|
|
1213
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1158
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1214
1159
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1160
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1215
1161
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1216
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
1162
|
action: z.ZodEnum<{
|
|
1218
|
-
|
|
1163
|
+
archive: "archive";
|
|
1219
1164
|
create: "create";
|
|
1220
1165
|
delete: "delete";
|
|
1221
|
-
archive: "archive";
|
|
1222
1166
|
unarchive: "unarchive";
|
|
1167
|
+
update: "update";
|
|
1223
1168
|
}>;
|
|
1169
|
+
model: z.ZodString;
|
|
1224
1170
|
data: z.ZodObject<{
|
|
1225
1171
|
retention: z.ZodLiteral<"redacted">;
|
|
1226
1172
|
}, z.core.$strict>;
|
|
@@ -1231,7 +1177,7 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1231
1177
|
ops: z.ZodOptional<z.ZodNumber>;
|
|
1232
1178
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1233
1179
|
error: z.ZodOptional<z.ZodObject<{
|
|
1234
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
1180
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
1235
1181
|
message: z.ZodString;
|
|
1236
1182
|
field: z.ZodOptional<z.ZodString>;
|
|
1237
1183
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1246,12 +1192,17 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1246
1192
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1247
1193
|
}, z.core.$strip>>;
|
|
1248
1194
|
}, z.core.$strict>;
|
|
1195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1196
|
+
status: z.ZodLiteral<"confirmed">;
|
|
1197
|
+
statusAt: z.ZodISODateTime;
|
|
1198
|
+
lastSyncId: z.ZodNumber;
|
|
1199
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
1249
1200
|
attempts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1250
1201
|
id: z.ZodString;
|
|
1251
1202
|
observedAt: z.ZodISODateTime;
|
|
1252
1203
|
transport: z.ZodEnum<{
|
|
1253
|
-
internal: "internal";
|
|
1254
1204
|
http: "http";
|
|
1205
|
+
internal: "internal";
|
|
1255
1206
|
websocket: "websocket";
|
|
1256
1207
|
}>;
|
|
1257
1208
|
kind: z.ZodEnum<{
|
|
@@ -1261,9 +1212,9 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1261
1212
|
}, z.core.$strict>>>;
|
|
1262
1213
|
actor: z.ZodObject<{
|
|
1263
1214
|
kind: z.ZodEnum<{
|
|
1264
|
-
user: "user";
|
|
1265
1215
|
agent: "agent";
|
|
1266
1216
|
system: "system";
|
|
1217
|
+
user: "user";
|
|
1267
1218
|
}>;
|
|
1268
1219
|
id: z.ZodString;
|
|
1269
1220
|
}, z.core.$strict>;
|
|
@@ -1272,11 +1223,11 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1272
1223
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1273
1224
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1274
1225
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
1275
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
1226
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
1276
1227
|
participantKind: z.ZodEnum<{
|
|
1277
|
-
user: "user";
|
|
1278
1228
|
agent: "agent";
|
|
1279
1229
|
system: "system";
|
|
1230
|
+
user: "user";
|
|
1280
1231
|
}>;
|
|
1281
1232
|
participantId: z.ZodString;
|
|
1282
1233
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1295,10 +1246,6 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1295
1246
|
fenceToken: z.ZodNumber;
|
|
1296
1247
|
}, z.core.$strict>>>;
|
|
1297
1248
|
id: z.ZodString;
|
|
1298
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1299
|
-
status: z.ZodLiteral<"rejected">;
|
|
1300
|
-
statusAt: z.ZodISODateTime;
|
|
1301
|
-
lastSyncId: z.ZodLiteral<0>;
|
|
1302
1249
|
createdAt: z.ZodISODateTime;
|
|
1303
1250
|
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1304
1251
|
model: z.ZodString;
|
|
@@ -1311,18 +1258,18 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1311
1258
|
}, z.core.$strip>]>>>;
|
|
1312
1259
|
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1313
1260
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1314
|
-
|
|
1315
|
-
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1261
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1316
1262
|
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1263
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1317
1264
|
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1318
|
-
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1319
1265
|
action: z.ZodEnum<{
|
|
1320
|
-
|
|
1266
|
+
archive: "archive";
|
|
1321
1267
|
create: "create";
|
|
1322
1268
|
delete: "delete";
|
|
1323
|
-
archive: "archive";
|
|
1324
1269
|
unarchive: "unarchive";
|
|
1270
|
+
update: "update";
|
|
1325
1271
|
}>;
|
|
1272
|
+
model: z.ZodString;
|
|
1326
1273
|
data: z.ZodObject<{
|
|
1327
1274
|
retention: z.ZodLiteral<"redacted">;
|
|
1328
1275
|
}, z.core.$strict>;
|
|
@@ -1333,7 +1280,7 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1333
1280
|
ops: z.ZodOptional<z.ZodNumber>;
|
|
1334
1281
|
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1335
1282
|
error: z.ZodOptional<z.ZodObject<{
|
|
1336
|
-
code: z.ZodType<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown, z.core.$ZodTypeInternals<"apikey_invalid" | "apikey_revoked" | "apikey_expired" | "apikey_missing" | "api_key_required" | "capability_id_missing" | "exchange_failed" | "identity_resolve_failed" | "auth_no_credentials" | "identity_missing_organization" | "session_expired" | "better_auth_request_failed" | "better_auth_upstream_failed" | "jwt_invalid" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_issuer_untrusted" | "jwt_signature_invalid" | "jwt_audience_mismatch" | "jwt_missing_subject" | "jwt_missing_organization" | "jwt_expired" | "jwt_org_membership_denied" | "file_upload_auth_required" | "browser_apikey_blocked" | "datasource_connection_unsupported" | "source_connector_localhost_required" | "source_connector_unauthenticated" | "capability_scope_denied" | "issuer_register_forbidden" | "capability_invalid" | "tenant_routing_failed" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_host_not_allowed" | "database_loopback_requires_connector" | "connected_database_unreachable" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "byo_host_not_allowed" | "claim_conflict" | "claim_lost" | "fence_token_stale" | "entity_claimed" | "malformed_claim" | "malformed_subscription" | "malformed_response" | "model_claimed" | "model_claimed_timeout" | "model_claim_not_configured" | "model_join_not_configured" | "stale_context" | "contention_exhausted" | "update_aborted" | "idempotency_conflict" | "idempotency_key_expired" | "source_transport_pinned" | "precondition_failed" | "idempotency_key_too_long" | "write_options_invalid" | "write_payload_invalid" | "source_operation_id_required" | "source_adapter_misconfigured" | "source_event_invalid" | "duration_invalid" | "schema_definition_invalid" | "cli_invalid_arguments" | "cli_api_key_missing" | "cli_database_url_missing" | "cli_database_unreachable" | "commit_operation_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operations_ambiguous" | "commit_too_many_operations" | "model_required_field_missing" | "model_identifier_missing" | "snapshot_reserved_key" | "mesh_message_invalid_input" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "agent_perception_missing_context" | "invalid_input" | "validation_failed" | "invalid_mutator" | "permission_denied" | "source_connector_requires_secret_key" | "source_connector_production_not_enabled" | "entity_not_found" | "model_not_found" | "mutate_update_entity_not_found" | "no_data_source_registered" | "source_connector_no_source_registered" | "item_id_missing" | "not_null_violation" | "foreign_key_violation" | "entity_already_exists" | "unique_violation" | "check_violation" | "constraint_violation" | "column_type_mismatch" | "column_value_out_of_range" | "server_execute_unknown_model" | "mutate_create_unknown_model" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "schema_mutable_missing_meta" | "schema_scope_kind_invalid" | "schema_field_not_camelcase" | "schema_field_consecutive_caps" | "schema_reserved_field" | "schema_grants_shape_invalid" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_target_not_scope_root" | "drop_field" | "drop_model" | "lossy_recreate" | "made_required" | "required_field_added" | "enum_value_removed" | "risky_cast" | "claim_lease_unavailable" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "grant_timeout" | "bootstrap_fetch_timeout" | "bootstrap_cancelled" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "exchange_malformed_response" | "exchange_network_error" | "source_network_error" | "source_request_failed" | "source_id_missing" | "source_api_key_missing" | "source_timestamp_missing" | "source_timestamp_invalid" | "source_timestamp_expired" | "source_signature_missing" | "source_signature_invalid" | "source_forbidden" | "source_connector_not_attached" | "source_connector_timeout" | "source_connector_send_failed" | "source_connector_disconnected" | "source_connector_superseded" | "source_connector_shutdown" | "source_connector_protocol_error" | "source_unreachable" | "data_source_blocked" | "source_connector_handler_error" | "source_connector_internal_error" | "identity_network_error" | "commit_no_result" | "commit_failed" | "replication_lag_timeout" | "commit_offline_grace_expired" | "queue_too_deep" | "flush_timeout" | "wait_for_timeout" | "instance_at_capacity" | "delivery_partition_mismatch" | "fetch_unavailable" | "api_unreachable" | "response_unrecognized" | "base_url_missing" | "sync_not_ready" | "ws_not_ready" | "quota_exceeded" | "connection_limit_exceeded" | "rate_limit_exceeded" | "session_check_failed" | "mint_failed" | "server_side_only" | "unknown_auth_host" | "no_active_organization" | "data_session_unsupported" | "internal_error" | "quota_lookup_failed" | "rate_limiter_unavailable" | "invalid_options" | "no_ablo_provider" | "no_sync_group_provider" | "sync_context_missing_provider" | "db_not_opened" | "db_secure_hash_unavailable" | "db_identity_mismatch" | "db_cleanup_failed" | "db_store_not_found" | "db_unknown_action_type" | "idb_unavailable" | "meta_db_not_initialized" | "sync_client_db_missing" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "model_class_not_registered" | "model_not_registered" | "model_not_in_schema" | "model_disposed" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "query_returns_unknown_model" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "undo_scope_schema_missing" | "undo_entry_invalid" | "mock_mutation_failed" | "mock_unsupported_operation" | "invalid_body" | "invalid_json" | "capability_id_required" | "organization_mismatch" | "project_scope_denied" | "branch_scope_denied" | "project_slug_taken" | "forbidden" | "source_api_key_unresolved" | "capability_auth_disabled" | "capability_rotation_unavailable" | "provisioner_unavailable" | "invalid_model" | "invalid_id" | "unknown_model" | "model_not_tenant_scoped" | "source_tenancy_not_enforced" | "user_scope_not_enforced" | "model_not_provisioned" | "schema_table_invalid" | "schema_scope_invalid" | "entity_fetch_failed" | "events_required" | "ingest_failed" | "migration_failed" | "schema_provisioning_forbidden" | "model_query_failed" | "queries_required" | "query_unsupported_operator" | "query_invalid_like_pattern" | "query_invalid_boolean" | "protocol_version_unsupported" | "database_unreachable" | "database_not_replication_ready" | "database_already_connected" | "replication_publication_drift" | "query_unknown_relation" | "query_relation_target_unknown" | "query_invalid_identifier" | "query_relation_expansion_too_large" | "organization_disabled" | "org_id_required" | "presence_identity_required" | "upload_fields_required" | "upload_items_required" | "presigned_url_failed" | "upload_not_configured" | "item_id_required" | "claim_id_required" | "commit_operation_action_required" | "commit_operation_unsupported" | "usage_invalid" | "invalid_request" | "capability_not_found" | "claim_not_found" | "invalid_participant_kind" | "invalid_sync_group" | "narrow_scope_required" | "wide_scope_forbidden" | "capability_required" | "position_missing_parent" | "position_unknown_sibling" | "schema_too_large" | "request_too_large" | "invalid_schema" | "operational_warning" | "incompatible_change" | "replication_reset_required", unknown>>;
|
|
1283
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
1337
1284
|
message: z.ZodString;
|
|
1338
1285
|
field: z.ZodOptional<z.ZodString>;
|
|
1339
1286
|
request_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1348,12 +1295,15 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1348
1295
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1349
1296
|
}, z.core.$strip>>;
|
|
1350
1297
|
}, z.core.$strict>;
|
|
1298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1299
|
+
status: z.ZodLiteral<"rejected">;
|
|
1300
|
+
statusAt: z.ZodISODateTime;
|
|
1351
1301
|
attempts: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1352
1302
|
id: z.ZodString;
|
|
1353
1303
|
observedAt: z.ZodISODateTime;
|
|
1354
1304
|
transport: z.ZodEnum<{
|
|
1355
|
-
internal: "internal";
|
|
1356
1305
|
http: "http";
|
|
1306
|
+
internal: "internal";
|
|
1357
1307
|
websocket: "websocket";
|
|
1358
1308
|
}>;
|
|
1359
1309
|
kind: z.ZodEnum<{
|
|
@@ -1363,9 +1313,9 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1363
1313
|
}, z.core.$strict>>>;
|
|
1364
1314
|
actor: z.ZodObject<{
|
|
1365
1315
|
kind: z.ZodEnum<{
|
|
1366
|
-
user: "user";
|
|
1367
1316
|
agent: "agent";
|
|
1368
1317
|
system: "system";
|
|
1318
|
+
user: "user";
|
|
1369
1319
|
}>;
|
|
1370
1320
|
id: z.ZodString;
|
|
1371
1321
|
}, z.core.$strict>;
|
|
@@ -1374,11 +1324,11 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1374
1324
|
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1375
1325
|
branchId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1376
1326
|
syncGroups: z.ZodArray<z.ZodString>;
|
|
1377
|
-
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.
|
|
1327
|
+
operations: z.ZodArray<z.ZodTemplateLiteral<`${string}.create` | `${string}.delete` | `${string}.read` | `${string}.update`>>;
|
|
1378
1328
|
participantKind: z.ZodEnum<{
|
|
1379
|
-
user: "user";
|
|
1380
1329
|
agent: "agent";
|
|
1381
1330
|
system: "system";
|
|
1331
|
+
user: "user";
|
|
1382
1332
|
}>;
|
|
1383
1333
|
participantId: z.ZodString;
|
|
1384
1334
|
deliveryPartition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1397,6 +1347,56 @@ export declare const commitRecordListSchema: z.ZodObject<{
|
|
|
1397
1347
|
fenceToken: z.ZodNumber;
|
|
1398
1348
|
}, z.core.$strict>>>;
|
|
1399
1349
|
id: z.ZodString;
|
|
1350
|
+
createdAt: z.ZodISODateTime;
|
|
1351
|
+
reads: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1352
|
+
model: z.ZodString;
|
|
1353
|
+
id: z.ZodString;
|
|
1354
|
+
fields: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1355
|
+
readAt: z.ZodNumber;
|
|
1356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1357
|
+
group: z.ZodTemplateLiteral<`${string}:${string}`>;
|
|
1358
|
+
readAt: z.ZodNumber;
|
|
1359
|
+
}, z.core.$strip>]>>>;
|
|
1360
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1361
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1362
|
+
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1363
|
+
claimId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1364
|
+
readAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1365
|
+
fenceToken: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1366
|
+
action: z.ZodEnum<{
|
|
1367
|
+
archive: "archive";
|
|
1368
|
+
create: "create";
|
|
1369
|
+
delete: "delete";
|
|
1370
|
+
unarchive: "unarchive";
|
|
1371
|
+
update: "update";
|
|
1372
|
+
}>;
|
|
1373
|
+
model: z.ZodString;
|
|
1374
|
+
data: z.ZodObject<{
|
|
1375
|
+
retention: z.ZodLiteral<"redacted">;
|
|
1376
|
+
}, z.core.$strict>;
|
|
1377
|
+
}, z.core.$strip>>>;
|
|
1378
|
+
receipt: z.ZodObject<{
|
|
1379
|
+
clientTxId: z.ZodString;
|
|
1380
|
+
serverTxId: z.ZodString;
|
|
1381
|
+
ops: z.ZodOptional<z.ZodNumber>;
|
|
1382
|
+
missingIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1383
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1384
|
+
code: z.ZodType<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown, z.core.$ZodTypeInternals<"agent_perception_missing_context" | "api_key_required" | "api_unreachable" | "apikey_expired" | "apikey_invalid" | "apikey_missing" | "apikey_revoked" | "auth_no_credentials" | "base_url_missing" | "better_auth_request_failed" | "better_auth_upstream_failed" | "bootstrap_cancelled" | "bootstrap_fetch_timeout" | "bootstrap_offline" | "bootstrap_offline_no_cache" | "bootstrap_response_invalid" | "bootstrap_response_schema_invalid" | "branch_scope_denied" | "browser_apikey_blocked" | "byo_host_not_allowed" | "byo_role_cannot_enforce_rls" | "byo_role_unreadable" | "byo_tenant_tables_unforced_rls" | "capability_auth_disabled" | "capability_id_missing" | "capability_id_required" | "capability_invalid" | "capability_not_found" | "capability_required" | "capability_rotation_unavailable" | "capability_scope_denied" | "check_violation" | "claim_conflict" | "claim_id_required" | "claim_lease_unavailable" | "claim_lost" | "claim_not_found" | "claim_not_wired" | "claim_queued" | "claim_wait_aborted" | "cli_api_key_missing" | "cli_database_unreachable" | "cli_database_url_missing" | "cli_invalid_arguments" | "column_type_mismatch" | "column_value_out_of_range" | "commit_failed" | "commit_no_result" | "commit_offline_grace_expired" | "commit_operation_action_required" | "commit_operation_invalid" | "commit_operation_model_required" | "commit_operation_required" | "commit_operation_unsupported" | "commit_operations_ambiguous" | "commit_too_many_operations" | "connected_database_unreachable" | "connection_limit_exceeded" | "constraint_violation" | "contention_exhausted" | "data_session_unsupported" | "data_source_blocked" | "database_already_connected" | "database_host_not_allowed" | "database_loopback_requires_connector" | "database_not_replication_ready" | "database_role_cannot_enforce_rls" | "database_role_unreadable" | "database_tables_unforced_rls" | "database_unreachable" | "datasource_connection_unsupported" | "db_cleanup_failed" | "db_identity_mismatch" | "db_not_opened" | "db_secure_hash_unavailable" | "db_store_not_found" | "db_unknown_action_type" | "delivery_partition_mismatch" | "drop_field" | "drop_model" | "duration_invalid" | "entity_already_exists" | "entity_claimed" | "entity_fetch_failed" | "entity_not_found" | "enum_value_removed" | "events_required" | "exchange_failed" | "exchange_malformed_response" | "exchange_network_error" | "fence_token_stale" | "fetch_unavailable" | "file_upload_auth_required" | "flush_timeout" | "forbidden" | "foreign_key_violation" | "grant_timeout" | "idb_unavailable" | "idempotency_conflict" | "idempotency_key_expired" | "idempotency_key_too_long" | "identity_missing_organization" | "identity_network_error" | "identity_resolve_failed" | "incompatible_change" | "ingest_failed" | "instance_at_capacity" | "internal_error" | "invalid_body" | "invalid_id" | "invalid_input" | "invalid_json" | "invalid_model" | "invalid_mutator" | "invalid_options" | "invalid_participant_kind" | "invalid_request" | "invalid_schema" | "invalid_sync_group" | "issuer_register_forbidden" | "item_id_missing" | "item_id_required" | "jwt_audience_mismatch" | "jwt_expired" | "jwt_invalid" | "jwt_issuer_untrusted" | "jwt_malformed" | "jwt_missing_issuer" | "jwt_missing_organization" | "jwt_missing_subject" | "jwt_org_membership_denied" | "jwt_signature_invalid" | "lazy_ref_db_missing" | "lazy_ref_pool_missing" | "lossy_recreate" | "made_required" | "malformed_claim" | "malformed_response" | "malformed_subscription" | "mesh_message_from_id_spoof" | "mesh_message_from_kind_mismatch" | "mesh_message_invalid_input" | "meta_db_not_initialized" | "migration_failed" | "mint_failed" | "mock_mutation_failed" | "mock_unsupported_operation" | "model_claim_not_configured" | "model_claimed" | "model_claimed_timeout" | "model_class_not_registered" | "model_disposed" | "model_identifier_missing" | "model_join_not_configured" | "model_not_found" | "model_not_in_schema" | "model_not_provisioned" | "model_not_registered" | "model_not_tenant_scoped" | "model_query_failed" | "model_required_field_missing" | "mutate_create_unknown_model" | "mutate_update_entity_not_found" | "mutator_registry_duplicate" | "mutator_registry_unnamed_def" | "mutators_schema_missing" | "narrow_scope_required" | "no_ablo_provider" | "no_active_organization" | "no_data_source_registered" | "no_sync_group_provider" | "not_null_violation" | "observation_buffer_overflow" | "operational_warning" | "org_id_required" | "organization_disabled" | "organization_mismatch" | "permission_denied" | "pool_model_class_not_registered" | "pool_registry_missing" | "pool_subscribe_unregistered" | "position_missing_parent" | "position_unknown_sibling" | "precondition_failed" | "presence_identity_required" | "presigned_url_failed" | "project_scope_denied" | "project_slug_taken" | "protocol_version_unsupported" | "provisioner_unavailable" | "queries_required" | "query_invalid_boolean" | "query_invalid_identifier" | "query_invalid_like_pattern" | "query_relation_expansion_too_large" | "query_relation_target_unknown" | "query_returns_unknown_model" | "query_unknown_relation" | "query_unsupported_operator" | "queue_too_deep" | "quota_exceeded" | "quota_lookup_failed" | "rate_limit_exceeded" | "rate_limiter_unavailable" | "registry_invalid_constructor" | "registry_not_initialized" | "registry_property_conflict" | "registry_reference_unknown_target" | "registry_reference_unresolved" | "registry_unknown_model" | "replication_lag_timeout" | "replication_publication_drift" | "replication_reset_required" | "request_too_large" | "required_field_added" | "response_unrecognized" | "risky_cast" | "schema_definition_invalid" | "schema_field_consecutive_caps" | "schema_field_not_camelcase" | "schema_grants_identifier_unsafe" | "schema_grants_relation_kind" | "schema_grants_relation_missing" | "schema_grants_shape_invalid" | "schema_grants_target_not_scope_root" | "schema_mutable_missing_meta" | "schema_provisioning_forbidden" | "schema_reserved_field" | "schema_scope_invalid" | "schema_scope_kind_invalid" | "schema_table_invalid" | "schema_too_large" | "server_execute_unknown_model" | "server_side_only" | "session_check_failed" | "session_expired" | "snapshot_reserved_key" | "source_adapter_misconfigured" | "source_api_key_missing" | "source_api_key_unresolved" | "source_connector_disconnected" | "source_connector_handler_error" | "source_connector_internal_error" | "source_connector_localhost_required" | "source_connector_no_source_registered" | "source_connector_not_attached" | "source_connector_production_not_enabled" | "source_connector_protocol_error" | "source_connector_requires_secret_key" | "source_connector_send_failed" | "source_connector_shutdown" | "source_connector_superseded" | "source_connector_timeout" | "source_connector_unauthenticated" | "source_event_invalid" | "source_forbidden" | "source_id_missing" | "source_network_error" | "source_operation_id_required" | "source_request_failed" | "source_signature_invalid" | "source_signature_missing" | "source_tenancy_not_enforced" | "source_timestamp_expired" | "source_timestamp_invalid" | "source_timestamp_missing" | "source_transport_pinned" | "source_unreachable" | "stale_context" | "store_create_schema_missing" | "store_manager_unknown_model" | "store_query_schema_missing" | "store_query_unknown_model" | "sync_client_db_missing" | "sync_context_missing_provider" | "sync_not_ready" | "tenant_model_columns_unknown" | "tenant_model_missing_organization_id" | "tenant_routing_failed" | "transaction_mutate_unknown_model" | "transaction_read_unknown_model" | "undo_entry_invalid" | "undo_scope_schema_missing" | "unique_violation" | "unknown_auth_host" | "unknown_model" | "update_aborted" | "upload_fields_required" | "upload_items_required" | "upload_not_configured" | "usage_invalid" | "user_scope_not_enforced" | "validation_failed" | "wait_for_timeout" | "wide_scope_forbidden" | "write_options_invalid" | "write_payload_invalid" | "ws_not_ready", unknown>>;
|
|
1385
|
+
message: z.ZodString;
|
|
1386
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
event_id: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
requiredCapability: z.ZodOptional<z.ZodObject<{
|
|
1390
|
+
scope: z.ZodString;
|
|
1391
|
+
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodString]>>>;
|
|
1392
|
+
issuer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
1393
|
+
ttlSeconds: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
1394
|
+
nonce: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
1395
|
+
}, z.core.$loose>>;
|
|
1396
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1397
|
+
}, z.core.$strip>>;
|
|
1398
|
+
}, z.core.$strict>;
|
|
1399
|
+
lastSyncId: z.ZodLiteral<0>;
|
|
1400
1400
|
}, z.core.$strict>], "status">>>;
|
|
1401
1401
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1402
1402
|
}, z.core.$strict>;
|