@capxul/observability 4.20.0-beta.36 → 4.20.0-beta.37

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/index.d.mts CHANGED
@@ -54,11 +54,13 @@ declare const sessions: {
54
54
  //#endregion
55
55
  //#region ../protocol/src/errors/failure-modes.d.ts
56
56
  /**
57
- * Why an operation failed — the one flat vocabulary. The first four are the
58
- * auth/provider diagnoses that predate this file. The rest name the chain
59
- * path. `FailureMode` is derived from this list so a runtime membership check
60
- * (the SDK's `$exception` projection, the observability schema) and the type
61
- * can never drift apart.
57
+ * Why an operation failed — the one flat vocabulary. The first five are the
58
+ * auth and signer diagnoses that predate this file. The next eleven name the
59
+ * chain path. `refused` and `defect` name a provider refusal and a Capxul
60
+ * fault on any path (ADR-0039 D2). `FailureMode` is derived from this list so
61
+ * a runtime membership check (the SDK's `$exception` projection, the
62
+ * observability schema) and the type can never drift apart. Every word has a
63
+ * failure class in `classes.ts`.
62
64
  */
63
65
  declare const FAILURE_MODES: readonly [
64
66
  /** OTP cookies live on `localhost:PORT` but OpenFort hits the Convex host. */
@@ -75,7 +77,12 @@ declare const FAILURE_MODES: readonly [
75
77
  "rate-limited",
76
78
  /** No answer inside the budget. Retryable. */
77
79
  "timeout",
78
- /** HTTP 5xx, a connection failure, or a malformed envelope. Retryable. */
80
+ /**
81
+ * HTTP 5xx, a connection failure, an answer cut off in transit, or a chain
82
+ * RPC answer of the wrong shape (the next upstream may answer it). Retryable.
83
+ * A complete HTTP provider answer Capxul cannot use is
84
+ * `PROVIDER_RESPONSE_INVALID`, with no mode.
85
+ */
79
86
  "upstream-down",
80
87
  /** Simulation or execution reverted; `chain.revert` names it when decodable. */
81
88
  "revert",
@@ -93,6 +100,10 @@ declare const FAILURE_MODES: readonly [
93
100
  "bad-request",
94
101
  /** The node does not serve the method (JSON-RPC -32601). The next upstream may. */
95
102
  "method-unsupported",
103
+ /** The provider understood the request and refused it: an account, permission or policy refusal. */
104
+ "refused",
105
+ /** A Capxul bug or misconfiguration: Capxul's own code or settings failed. */
106
+ "defect",
96
107
  /** No cause could be determined. */
97
108
  "unknown"];
98
109
  type FailureMode = (typeof FAILURE_MODES)[number];
@@ -853,7 +864,7 @@ declare const claims: {
853
864
  readonly deployedAt: Schema.NullOr<Schema.Finite>;
854
865
  readonly claimedAt: Schema.NullOr<Schema.Finite>;
855
866
  readonly createdAt: Schema.Finite;
856
- }>, "ACCOUNT_CLAIMED_BY_OTHER_SIGNER" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROFILE_NOT_FOUND" | "PROVIDER_ERROR" | "UNKNOWN" | "WRONG_STATE">;
867
+ }>, "ACCOUNT_CLAIMED_BY_OTHER_SIGNER" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROFILE_NOT_FOUND" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "UNKNOWN" | "WRONG_STATE">;
857
868
  };
858
869
  declare const balances: {
859
870
  /** Every settlement asset's raw balance in the caller's personal Safe on this chain. */
@@ -880,7 +891,7 @@ declare const grants: {
880
891
  readonly rawAmount: Schema.String;
881
892
  }>, Schema.Struct<{
882
893
  readonly txHash: Schema.String;
883
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "SMART_ACCOUNT_MISSING" | "TRANSACTION_FAILED" | "UNKNOWN" | "WRONG_STATE">;
894
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "SMART_ACCOUNT_MISSING" | "TRANSACTION_FAILED" | "UNKNOWN" | "WRONG_STATE">;
884
895
  };
885
896
  /**
886
897
  * A prepared money action waits here for the person to sign it with their own
@@ -924,7 +935,7 @@ declare const approvals: {
924
935
  readonly explorerUrl: Schema.String;
925
936
  }>;
926
937
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
927
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
938
+ readonly code: Schema.String;
928
939
  readonly message: Schema.String;
929
940
  }>>>;
930
941
  }>;
@@ -999,7 +1010,7 @@ declare const approvals: {
999
1010
  readonly explorerUrl: Schema.String;
1000
1011
  }>;
1001
1012
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
1002
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
1013
+ readonly code: Schema.String;
1003
1014
  readonly message: Schema.String;
1004
1015
  }>>>;
1005
1016
  }>;
@@ -1075,7 +1086,7 @@ declare const approvals: {
1075
1086
  readonly explorerUrl: Schema.String;
1076
1087
  }>;
1077
1088
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
1078
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
1089
+ readonly code: Schema.String;
1079
1090
  readonly message: Schema.String;
1080
1091
  }>>>;
1081
1092
  }>;
@@ -1152,7 +1163,7 @@ declare const approvals: {
1152
1163
  readonly explorerUrl: Schema.String;
1153
1164
  }>;
1154
1165
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
1155
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
1166
+ readonly code: Schema.String;
1156
1167
  readonly message: Schema.String;
1157
1168
  }>>>;
1158
1169
  }>;
@@ -1231,7 +1242,7 @@ declare const approvals: {
1231
1242
  readonly explorerUrl: Schema.String;
1232
1243
  }>;
1233
1244
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
1234
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
1245
+ readonly code: Schema.String;
1235
1246
  readonly message: Schema.String;
1236
1247
  }>>>;
1237
1248
  }>;
@@ -1306,7 +1317,7 @@ declare const approvals: {
1306
1317
  readonly explorerUrl: Schema.String;
1307
1318
  }>;
1308
1319
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
1309
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
1320
+ readonly code: Schema.String;
1310
1321
  readonly message: Schema.String;
1311
1322
  }>>>;
1312
1323
  }>;
@@ -1382,7 +1393,7 @@ declare const approvals: {
1382
1393
  readonly explorerUrl: Schema.String;
1383
1394
  }>;
1384
1395
  readonly warnings: Schema.optional<Schema.$Array<Schema.Struct<{
1385
- readonly code: Schema.Literal<"RECIPIENT_ON_CAPXUL">;
1396
+ readonly code: Schema.String;
1386
1397
  readonly message: Schema.String;
1387
1398
  }>>>;
1388
1399
  }>;
@@ -3257,9 +3268,9 @@ declare const workspaces: {
3257
3268
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3258
3269
  readonly correlationId: Schema.optionalKey<Schema.String>;
3259
3270
  readonly layer: Schema.optionalKey<Schema.String>;
3260
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3271
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3261
3272
  readonly chain: Schema.optionalKey<Schema.Struct<{
3262
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3273
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3263
3274
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3264
3275
  readonly method: Schema.String;
3265
3276
  readonly retryable: Schema.Boolean;
@@ -3273,7 +3284,7 @@ declare const workspaces: {
3273
3284
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3274
3285
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3275
3286
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3276
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3287
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3277
3288
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3278
3289
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3279
3290
  readonly durationMs: Schema.Finite;
@@ -3294,9 +3305,9 @@ declare const workspaces: {
3294
3305
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3295
3306
  readonly correlationId: Schema.optionalKey<Schema.String>;
3296
3307
  readonly layer: Schema.optionalKey<Schema.String>;
3297
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3308
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3298
3309
  readonly chain: Schema.optionalKey<Schema.Struct<{
3299
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3310
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3300
3311
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3301
3312
  readonly method: Schema.String;
3302
3313
  readonly retryable: Schema.Boolean;
@@ -3310,7 +3321,7 @@ declare const workspaces: {
3310
3321
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3311
3322
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3312
3323
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3313
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3324
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3314
3325
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3315
3326
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3316
3327
  readonly durationMs: Schema.Finite;
@@ -3549,9 +3560,9 @@ declare const setups: {
3549
3560
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3550
3561
  readonly correlationId: Schema.optionalKey<Schema.String>;
3551
3562
  readonly layer: Schema.optionalKey<Schema.String>;
3552
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3563
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3553
3564
  readonly chain: Schema.optionalKey<Schema.Struct<{
3554
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3565
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3555
3566
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3556
3567
  readonly method: Schema.String;
3557
3568
  readonly retryable: Schema.Boolean;
@@ -3565,7 +3576,7 @@ declare const setups: {
3565
3576
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3566
3577
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3567
3578
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3568
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3579
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3569
3580
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3570
3581
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3571
3582
  readonly durationMs: Schema.Finite;
@@ -3586,9 +3597,9 @@ declare const setups: {
3586
3597
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3587
3598
  readonly correlationId: Schema.optionalKey<Schema.String>;
3588
3599
  readonly layer: Schema.optionalKey<Schema.String>;
3589
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3600
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3590
3601
  readonly chain: Schema.optionalKey<Schema.Struct<{
3591
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3602
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3592
3603
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3593
3604
  readonly method: Schema.String;
3594
3605
  readonly retryable: Schema.Boolean;
@@ -3602,7 +3613,7 @@ declare const setups: {
3602
3613
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3603
3614
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3604
3615
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3605
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3616
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3606
3617
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3607
3618
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3608
3619
  readonly durationMs: Schema.Finite;
@@ -3636,9 +3647,9 @@ declare const setups: {
3636
3647
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3637
3648
  readonly correlationId: Schema.optionalKey<Schema.String>;
3638
3649
  readonly layer: Schema.optionalKey<Schema.String>;
3639
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3650
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3640
3651
  readonly chain: Schema.optionalKey<Schema.Struct<{
3641
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3652
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3642
3653
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3643
3654
  readonly method: Schema.String;
3644
3655
  readonly retryable: Schema.Boolean;
@@ -3652,7 +3663,7 @@ declare const setups: {
3652
3663
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3653
3664
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3654
3665
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3655
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3666
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3656
3667
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3657
3668
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3658
3669
  readonly durationMs: Schema.Finite;
@@ -3673,9 +3684,9 @@ declare const setups: {
3673
3684
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3674
3685
  readonly correlationId: Schema.optionalKey<Schema.String>;
3675
3686
  readonly layer: Schema.optionalKey<Schema.String>;
3676
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3687
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3677
3688
  readonly chain: Schema.optionalKey<Schema.Struct<{
3678
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3689
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3679
3690
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3680
3691
  readonly method: Schema.String;
3681
3692
  readonly retryable: Schema.Boolean;
@@ -3689,7 +3700,7 @@ declare const setups: {
3689
3700
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3690
3701
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3691
3702
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3692
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3703
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3693
3704
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3694
3705
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3695
3706
  readonly durationMs: Schema.Finite;
@@ -3750,9 +3761,9 @@ declare const setups: {
3750
3761
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3751
3762
  readonly correlationId: Schema.optionalKey<Schema.String>;
3752
3763
  readonly layer: Schema.optionalKey<Schema.String>;
3753
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3764
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3754
3765
  readonly chain: Schema.optionalKey<Schema.Struct<{
3755
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3766
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3756
3767
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3757
3768
  readonly method: Schema.String;
3758
3769
  readonly retryable: Schema.Boolean;
@@ -3766,7 +3777,7 @@ declare const setups: {
3766
3777
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3767
3778
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3768
3779
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3769
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3780
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3770
3781
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3771
3782
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3772
3783
  readonly durationMs: Schema.Finite;
@@ -3787,9 +3798,9 @@ declare const setups: {
3787
3798
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3788
3799
  readonly correlationId: Schema.optionalKey<Schema.String>;
3789
3800
  readonly layer: Schema.optionalKey<Schema.String>;
3790
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3801
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3791
3802
  readonly chain: Schema.optionalKey<Schema.Struct<{
3792
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3803
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3793
3804
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3794
3805
  readonly method: Schema.String;
3795
3806
  readonly retryable: Schema.Boolean;
@@ -3803,7 +3814,7 @@ declare const setups: {
3803
3814
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3804
3815
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3805
3816
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3806
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3817
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3807
3818
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3808
3819
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3809
3820
  readonly durationMs: Schema.Finite;
@@ -3838,9 +3849,9 @@ declare const setups: {
3838
3849
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3839
3850
  readonly correlationId: Schema.optionalKey<Schema.String>;
3840
3851
  readonly layer: Schema.optionalKey<Schema.String>;
3841
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3852
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3842
3853
  readonly chain: Schema.optionalKey<Schema.Struct<{
3843
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3854
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3844
3855
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3845
3856
  readonly method: Schema.String;
3846
3857
  readonly retryable: Schema.Boolean;
@@ -3854,7 +3865,7 @@ declare const setups: {
3854
3865
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3855
3866
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3856
3867
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3857
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3868
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3858
3869
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3859
3870
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3860
3871
  readonly durationMs: Schema.Finite;
@@ -3875,9 +3886,9 @@ declare const setups: {
3875
3886
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3876
3887
  readonly correlationId: Schema.optionalKey<Schema.String>;
3877
3888
  readonly layer: Schema.optionalKey<Schema.String>;
3878
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3889
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3879
3890
  readonly chain: Schema.optionalKey<Schema.Struct<{
3880
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3891
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3881
3892
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3882
3893
  readonly method: Schema.String;
3883
3894
  readonly retryable: Schema.Boolean;
@@ -3891,7 +3902,7 @@ declare const setups: {
3891
3902
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3892
3903
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3893
3904
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3894
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3905
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3895
3906
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3896
3907
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3897
3908
  readonly durationMs: Schema.Finite;
@@ -3935,7 +3946,7 @@ declare const setups: {
3935
3946
  readonly paymasterPostOpGasLimit: Schema.optional<Schema.Codec<`0x${string}`, string, never, never>>;
3936
3947
  readonly paymasterData: Schema.Codec<`0x${string}`, string, never, never>;
3937
3948
  }>;
3938
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "UNKNOWN" | "WRONG_STATE">;
3949
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "UNKNOWN" | "WRONG_STATE">;
3939
3950
  /** Accept the signed bootstrap's hash, then send it from the one elected sender. */
3940
3951
  submitAuthorization: Operation<"action", "organizations.setups.submitAuthorization", Schema.Struct<{
3941
3952
  readonly orgId: Schema.NonEmptyString;
@@ -3971,9 +3982,9 @@ declare const setups: {
3971
3982
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
3972
3983
  readonly correlationId: Schema.optionalKey<Schema.String>;
3973
3984
  readonly layer: Schema.optionalKey<Schema.String>;
3974
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
3985
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
3975
3986
  readonly chain: Schema.optionalKey<Schema.Struct<{
3976
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
3987
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3977
3988
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3978
3989
  readonly method: Schema.String;
3979
3990
  readonly retryable: Schema.Boolean;
@@ -3987,7 +3998,7 @@ declare const setups: {
3987
3998
  readonly providerMessage: Schema.optionalKey<Schema.String>;
3988
3999
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
3989
4000
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
3990
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
4001
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
3991
4002
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
3992
4003
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
3993
4004
  readonly durationMs: Schema.Finite;
@@ -4008,9 +4019,9 @@ declare const setups: {
4008
4019
  readonly details: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
4009
4020
  readonly correlationId: Schema.optionalKey<Schema.String>;
4010
4021
  readonly layer: Schema.optionalKey<Schema.String>;
4011
- readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
4022
+ readonly mode: Schema.optionalKey<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
4012
4023
  readonly chain: Schema.optionalKey<Schema.Struct<{
4013
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
4024
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
4014
4025
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
4015
4026
  readonly method: Schema.String;
4016
4027
  readonly retryable: Schema.Boolean;
@@ -4024,7 +4035,7 @@ declare const setups: {
4024
4035
  readonly providerMessage: Schema.optionalKey<Schema.String>;
4025
4036
  readonly attempts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
4026
4037
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
4027
- readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
4038
+ readonly mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
4028
4039
  readonly httpStatus: Schema.optionalKey<Schema.Finite>;
4029
4040
  readonly rpcCode: Schema.optionalKey<Schema.Finite>;
4030
4041
  readonly durationMs: Schema.Finite;
@@ -4322,7 +4333,7 @@ declare const verifications$1: {
4322
4333
  readonly argv: Schema.$Array<Schema.String>;
4323
4334
  }>;
4324
4335
  readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
4325
- }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4336
+ }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4326
4337
  start: Operation<"action", "parties.verifications.start", Schema.Struct<{
4327
4338
  readonly orgId: Schema.optionalKey<Schema.String>;
4328
4339
  readonly invitationId: Schema.optionalKey<Schema.String>;
@@ -4448,7 +4459,7 @@ declare const verifications$1: {
4448
4459
  readonly argv: Schema.$Array<Schema.String>;
4449
4460
  }>;
4450
4461
  readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
4451
- }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4462
+ }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4452
4463
  status: Operation<"action", "parties.verifications.status", Schema.Struct<{
4453
4464
  orgId: Schema.optionalKey<Schema.String>;
4454
4465
  invitationId: Schema.optionalKey<Schema.String>;
@@ -4573,7 +4584,7 @@ declare const verifications$1: {
4573
4584
  readonly argv: Schema.$Array<Schema.String>;
4574
4585
  }>;
4575
4586
  readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
4576
- }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4587
+ }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4577
4588
  answer: Operation<"action", "parties.verifications.answer", Schema.Struct<{
4578
4589
  readonly orgId: Schema.optionalKey<Schema.String>;
4579
4590
  readonly invitationId: Schema.optionalKey<Schema.String>;
@@ -4700,7 +4711,7 @@ declare const verifications$1: {
4700
4711
  readonly argv: Schema.$Array<Schema.String>;
4701
4712
  }>;
4702
4713
  readonly status: Schema.Literals<readonly ["in_review", "approved", "rejected", "restricted"]>;
4703
- }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4714
+ }>]>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
4704
4715
  };
4705
4716
  declare const contacts: {
4706
4717
  /** The actor's address book, most recent activity first. Hidden entries only when asked. */
@@ -5173,10 +5184,10 @@ declare const quotes: {
5173
5184
  }>;
5174
5185
  readonly rate: import("effect/Schema").optionalKey<import("effect/Schema").String>;
5175
5186
  readonly warnings: import("effect/Schema").$Array<import("effect/Schema").Struct<{
5176
- readonly code: import("effect/Schema").Literal<"RECIPIENT_ON_CAPXUL">;
5187
+ readonly code: import("effect/Schema").String;
5177
5188
  readonly message: import("effect/Schema").String;
5178
5189
  }>>;
5179
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "VERIFICATION_REQUIRED" | "WRONG_STATE">;
5190
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "VERIFICATION_REQUIRED" | "WRONG_STATE">;
5180
5191
  };
5181
5192
  //#endregion
5182
5193
  //#region ../protocol/src/payments/operations.d.ts
@@ -6120,7 +6131,7 @@ declare const commands$1: {
6120
6131
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
6121
6132
  }>;
6122
6133
  }>>;
6123
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
6134
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
6124
6135
  /** A batch of Payments from an Organization Budget the caller may spend from. */
6125
6136
  prepareOrganization: Operation<"action", "payments.commands.prepareOrganization", Schema.Struct<{
6126
6137
  readonly orgId: Schema.refine<string, Schema.String>;
@@ -7935,7 +7946,7 @@ declare const commands$1: {
7935
7946
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
7936
7947
  }>>;
7937
7948
  }>>;
7938
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
7949
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
7939
7950
  /** The Payment a payer confirmed for a request, exactly as the request froze it. */
7940
7951
  prepareRequest: Operation<"action", "payments.commands.prepareRequest", Schema.Struct<{
7941
7952
  readonly confirmation: Schema.Union<readonly [Schema.Struct<{
@@ -9728,7 +9739,7 @@ declare const commands$1: {
9728
9739
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
9729
9740
  }>>;
9730
9741
  }>>;
9731
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
9742
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
9732
9743
  /** A registered payer's Payment for an Offer checkout. */
9733
9744
  prepareOfferCheckout: Operation<"action", "payments.commands.prepareOfferCheckout", Schema.Struct<{
9734
9745
  readonly checkoutId: Schema.String;
@@ -9871,7 +9882,7 @@ declare const commands$1: {
9871
9882
  readonly documentHash: Schema.Codec<DocumentHash, string, never, never>;
9872
9883
  }>]>>;
9873
9884
  }>;
9874
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
9885
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
9875
9886
  /** A registered payer's Payment for an Invoice checkout link. */
9876
9887
  prepareInvoiceCheckout: Operation<"action", "payments.commands.prepareInvoiceCheckout", Schema.Struct<{
9877
9888
  readonly linkToken: Schema.String;
@@ -10004,7 +10015,7 @@ declare const commands$1: {
10004
10015
  readonly contractAddress: Schema.Codec<Address, string, never, never>;
10005
10016
  readonly settlementId: Schema.Codec<`0x${string}`, string, never, never>;
10006
10017
  }>;
10007
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
10018
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
10008
10019
  };
10009
10020
  /** An existing Payment: retry its send, or claim, cancel or redirect its commitment. */
10010
10021
  declare const lifecycles: {
@@ -11776,7 +11787,7 @@ declare const lifecycles: {
11776
11787
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
11777
11788
  }>>;
11778
11789
  }>>;
11779
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
11790
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
11780
11791
  /** The same, refused unless the Payment belongs to the scope the caller names. */
11781
11792
  prepareScoped: Operation<"action", "payments.lifecycles.prepareScoped", Schema.Struct<{
11782
11793
  readonly signerAddress: Schema.Codec<Address, string, never, never>;
@@ -13551,7 +13562,7 @@ declare const lifecycles: {
13551
13562
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
13552
13563
  }>>;
13553
13564
  }>>;
13554
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
13565
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
13555
13566
  /** What retrying an Organization's failed Payment would send again, before anyone signs. */
13556
13567
  previewRetry: Operation<"query", "payments.lifecycles.previewRetry", Schema.Struct<{
13557
13568
  readonly orgId: Schema.NonEmptyString;
@@ -13745,7 +13756,7 @@ declare const executions: {
13745
13756
  readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
13746
13757
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
13747
13758
  }>;
13748
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
13759
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
13749
13760
  /** Send any prepared command's signed execution and record every Payment it carries. */
13750
13761
  submitCommand: Operation<"action", "payments.executions.submitCommand", Schema.Struct<{
13751
13762
  readonly executionId: Schema.refine<string, Schema.String>;
@@ -13840,7 +13851,7 @@ declare const executions: {
13840
13851
  readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
13841
13852
  readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
13842
13853
  }>>;
13843
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
13854
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
13844
13855
  /** Close a prepared execution the signer refused or the caller dropped; false when it moved on. */
13845
13856
  abandon: Operation<"action", "payments.executions.abandon", Schema.Struct<{
13846
13857
  readonly executionId: Schema.refine<string, Schema.String>;
@@ -14051,9 +14062,6 @@ declare const runs: {
14051
14062
  readonly items: Schema.$Array<Schema.refine<{
14052
14063
  readonly operation: "send";
14053
14064
  readonly recipient: {
14054
- readonly kind: "party_account";
14055
- readonly partyAccountId: string;
14056
- } | {
14057
14065
  readonly kind: "account";
14058
14066
  readonly accountId: string;
14059
14067
  } | {
@@ -14062,6 +14070,9 @@ declare const runs: {
14062
14070
  } | {
14063
14071
  readonly kind: "destination";
14064
14072
  readonly destinationId: string;
14073
+ } | {
14074
+ readonly kind: "party_account";
14075
+ readonly partyAccountId: string;
14065
14076
  };
14066
14077
  readonly amount: {
14067
14078
  readonly asset: AssetId;
@@ -14124,9 +14135,6 @@ declare const runs: {
14124
14135
  } | {
14125
14136
  readonly operation: "create_commitment";
14126
14137
  readonly recipient: {
14127
- readonly kind: "party_account";
14128
- readonly partyAccountId: string;
14129
- } | {
14130
14138
  readonly kind: "account";
14131
14139
  readonly accountId: string;
14132
14140
  } | {
@@ -14135,6 +14143,9 @@ declare const runs: {
14135
14143
  } | {
14136
14144
  readonly kind: "destination";
14137
14145
  readonly destinationId: string;
14146
+ } | {
14147
+ readonly kind: "party_account";
14148
+ readonly partyAccountId: string;
14138
14149
  };
14139
14150
  readonly amount: {
14140
14151
  readonly asset: AssetId;
@@ -14831,9 +14842,6 @@ declare const runs: {
14831
14842
  readonly items: readonly ({
14832
14843
  readonly operation: "send";
14833
14844
  readonly recipient: {
14834
- readonly kind: "party_account";
14835
- readonly partyAccountId: string;
14836
- } | {
14837
14845
  readonly kind: "account";
14838
14846
  readonly accountId: string;
14839
14847
  } | {
@@ -14842,6 +14850,9 @@ declare const runs: {
14842
14850
  } | {
14843
14851
  readonly kind: "destination";
14844
14852
  readonly destinationId: string;
14853
+ } | {
14854
+ readonly kind: "party_account";
14855
+ readonly partyAccountId: string;
14845
14856
  };
14846
14857
  readonly amount: {
14847
14858
  readonly asset: AssetId;
@@ -14904,9 +14915,6 @@ declare const runs: {
14904
14915
  } | {
14905
14916
  readonly operation: "create_commitment";
14906
14917
  readonly recipient: {
14907
- readonly kind: "party_account";
14908
- readonly partyAccountId: string;
14909
- } | {
14910
14918
  readonly kind: "account";
14911
14919
  readonly accountId: string;
14912
14920
  } | {
@@ -14915,6 +14923,9 @@ declare const runs: {
14915
14923
  } | {
14916
14924
  readonly kind: "destination";
14917
14925
  readonly destinationId: string;
14926
+ } | {
14927
+ readonly kind: "party_account";
14928
+ readonly partyAccountId: string;
14918
14929
  };
14919
14930
  readonly amount: {
14920
14931
  readonly asset: AssetId;
@@ -14999,9 +15010,6 @@ declare const runs: {
14999
15010
  readonly items: Schema.$Array<Schema.refine<{
15000
15011
  readonly operation: "send";
15001
15012
  readonly recipient: {
15002
- readonly kind: "party_account";
15003
- readonly partyAccountId: string;
15004
- } | {
15005
15013
  readonly kind: "account";
15006
15014
  readonly accountId: string;
15007
15015
  } | {
@@ -15010,6 +15018,9 @@ declare const runs: {
15010
15018
  } | {
15011
15019
  readonly kind: "destination";
15012
15020
  readonly destinationId: string;
15021
+ } | {
15022
+ readonly kind: "party_account";
15023
+ readonly partyAccountId: string;
15013
15024
  };
15014
15025
  readonly amount: {
15015
15026
  readonly asset: AssetId;
@@ -15072,9 +15083,6 @@ declare const runs: {
15072
15083
  } | {
15073
15084
  readonly operation: "create_commitment";
15074
15085
  readonly recipient: {
15075
- readonly kind: "party_account";
15076
- readonly partyAccountId: string;
15077
- } | {
15078
15086
  readonly kind: "account";
15079
15087
  readonly accountId: string;
15080
15088
  } | {
@@ -15083,6 +15091,9 @@ declare const runs: {
15083
15091
  } | {
15084
15092
  readonly kind: "destination";
15085
15093
  readonly destinationId: string;
15094
+ } | {
15095
+ readonly kind: "party_account";
15096
+ readonly partyAccountId: string;
15086
15097
  };
15087
15098
  readonly amount: {
15088
15099
  readonly asset: AssetId;
@@ -15752,7 +15763,7 @@ declare const runs: {
15752
15763
  }>>;
15753
15764
  }>;
15754
15765
  }>]>;
15755
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
15766
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
15756
15767
  /** One saved run with its exact Payslips and Payments; null when the Organization has none by that id. */
15757
15768
  get: Operation<"query", "payroll.runs.get", Schema.Struct<{
15758
15769
  readonly orgId: Schema.NonEmptyString;
@@ -18493,7 +18504,7 @@ declare const commands: {
18493
18504
  readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
18494
18505
  readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
18495
18506
  }>>]>;
18496
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
18507
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
18497
18508
  /** Send the signed UserOperation, record it, and schedule its verification. */
18498
18509
  submitExecution: Operation<"action", "permissions.commands.submitExecution", Schema.Struct<{
18499
18510
  readonly executionId: Schema.refine<string, Schema.String>;
@@ -18589,7 +18600,7 @@ declare const commands: {
18589
18600
  readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
18590
18601
  readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
18591
18602
  }>>]>;
18592
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
18603
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
18593
18604
  };
18594
18605
  declare const replacements: {
18595
18606
  /** What replacing the Organization's Roles module would carry over, with its snapshot hash. */
@@ -19445,7 +19456,7 @@ declare const replacements: {
19445
19456
  readonly limitRaw: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
19446
19457
  readonly allowanceKey: Schema.optional<Schema.Codec<AllowanceKey, string, never, never>>;
19447
19458
  }>>]>;
19448
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
19459
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
19449
19460
  };
19450
19461
  declare const verifications: {
19451
19462
  /** Read the receipt of the caller's submitted command and apply what it proves. */
@@ -19673,7 +19684,7 @@ declare const authorities: {
19673
19684
  readonly everyDays: Schema.Finite;
19674
19685
  readonly nextAt: Schema.Codec<EpochMs, number, never, never>;
19675
19686
  }>>>;
19676
- }>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN">;
19687
+ }>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN">;
19677
19688
  /** Whether the caller's Account may spend this amount from this Budget right now. */
19678
19689
  authorize: Operation<"query", "permissions.authorities.authorize", Schema.Struct<{
19679
19690
  readonly orgId: Schema.refine<string, Schema.String>;
@@ -19755,7 +19766,7 @@ declare const configurations: {
19755
19766
  readonly signerAddress: Schema.Codec<Address, string, never, never>;
19756
19767
  readonly userOpSenderSafe: Schema.Codec<SafeAddress, string, never, never>;
19757
19768
  readonly digest: Schema.Codec<`0x${string}`, string, never, never>;
19758
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
19769
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
19759
19770
  /** Send the signed configuration, record it, and schedule its verification. */
19760
19771
  submitExecution: Operation<"action", "permissions.configurations.submitExecution", Schema.Struct<{
19761
19772
  readonly executionId: Schema.refine<string, Schema.String>;
@@ -19765,7 +19776,7 @@ declare const configurations: {
19765
19776
  readonly executionId: Schema.refine<string, Schema.String>;
19766
19777
  readonly commandId: Schema.Codec<PaymentCommandId, string, never, never>;
19767
19778
  readonly userOpHash: Schema.Codec<`0x${string}`, string, never, never>;
19768
- }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
19779
+ }>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "SUPERSEDED" | "UNKNOWN" | "WRONG_STATE">;
19769
19780
  };
19770
19781
  //#endregion
19771
19782
  //#region ../protocol/src/profiles/operations.d.ts
@@ -24532,7 +24543,7 @@ declare const checkouts: {
24532
24543
  readonly settlementId: Schema.Codec<`0x${string}`, string, never, never>;
24533
24544
  readonly documentKind: Schema.Literals<readonly ["memo", "invoice"]>;
24534
24545
  }>;
24535
- }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
24546
+ }>, "ENV_MISSING" | "INSUFFICIENT_BALANCE" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "NOT_IMPLEMENTED" | "PROVIDER_ERROR" | "PROVIDER_RESPONSE_INVALID" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
24536
24547
  /** An Invoice link's public terms, or null when the link names no Invoice. */
24537
24548
  invoice: Operation<"query", "requests.checkouts.invoice", Schema.Struct<{
24538
24549
  readonly linkToken: Schema.String;
@@ -25690,7 +25701,16 @@ export declare const CAPXUL_OPERATIONS: {
25690
25701
  };
25691
25702
  readonly auth: {
25692
25703
  readonly canSendOtp: "auth.canSendOtp";
25704
+ readonly createEncryptionSession: "auth.createEncryptionSession";
25705
+ readonly clientRequests: {
25706
+ readonly accept: "auth.clientRequests.accept";
25707
+ readonly cancel: "auth.clientRequests.cancel";
25708
+ readonly read: "auth.clientRequests.read";
25709
+ readonly sendOtp: "auth.clientRequests.sendOtp";
25710
+ readonly verifyOtp: "auth.clientRequests.verifyOtp";
25711
+ };
25693
25712
  readonly getSession: "auth.getSession";
25713
+ readonly resumeOtp: "auth.resumeOtp";
25694
25714
  readonly signIn: "auth.signIn";
25695
25715
  readonly signOut: "auth.signOut";
25696
25716
  readonly sendVerificationOtp: "auth.sendVerificationOTP";
@@ -25700,10 +25720,6 @@ export declare const CAPXUL_OPERATIONS: {
25700
25720
  readonly createOrg: "createOrg";
25701
25721
  readonly orgs: "orgs";
25702
25722
  };
25703
- readonly clientRequests: {
25704
- readonly decide: "clientRequests.decide";
25705
- readonly read: "clientRequests.read";
25706
- };
25707
25723
  readonly currentUser: {
25708
25724
  readonly get: "currentUser.get";
25709
25725
  };
@@ -25748,8 +25764,10 @@ export declare const CAPXUL_OPERATIONS: {
25748
25764
  readonly get: "me.get";
25749
25765
  };
25750
25766
  readonly onboarding: {
25767
+ readonly beginOrganization: "onboarding.beginOrganization";
25751
25768
  readonly completeOrganization: "onboarding.completeOrganization";
25752
25769
  readonly completePerson: "onboarding.completePerson";
25770
+ readonly listOrganizationSetups: "onboarding.listOrganizationSetups";
25753
25771
  };
25754
25772
  readonly smartAccount: {
25755
25773
  readonly claim: "smartAccount.claim";
@@ -25834,6 +25852,9 @@ export declare const CAPXUL_OPERATIONS: {
25834
25852
  };
25835
25853
  readonly retry: "org.retry";
25836
25854
  readonly roles: "org.roles";
25855
+ readonly setup: {
25856
+ readonly subscribe: "org.setup.subscribe";
25857
+ };
25837
25858
  readonly treasury: "org.treasury";
25838
25859
  };
25839
25860
  readonly organization: {
@@ -26170,6 +26191,9 @@ export declare const CAPXUL_OPERATIONS: {
26170
26191
  readonly health: "system.health";
26171
26192
  readonly ping: "system.ping";
26172
26193
  };
26194
+ readonly mcp: {
26195
+ readonly request: "mcp.request";
26196
+ };
26173
26197
  readonly _internal: {
26174
26198
  readonly accounts: {
26175
26199
  readonly fund: "_internal.accounts.fund";
@@ -27309,8 +27333,9 @@ type ExceptionEventName = typeof EXCEPTION_EVENT_NAME;
27309
27333
  * same error evidence on its own stream, so expected versus unexpected stays a
27310
27334
  * routing choice inside PostHog. It is its own event kind, not a catalog event:
27311
27335
  * its properties are the error evidence, so no catalog schema validates it.
27312
- * The wide `capxul_backend_operation` log row of the same failure carries ids
27313
- * and classes only, not this evidence.
27336
+ * The wide `capxul_backend_operation` log row of the same failure carries the
27337
+ * same failure row (ADR-0039 D6) beside its ids, but not the masked `details`,
27338
+ * the cause's stack or the chain cause's properties.
27314
27339
  */
27315
27340
  export declare const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outcome";
27316
27341
  /**
@@ -27320,6 +27345,13 @@ export declare const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outc
27320
27345
  * validates it.
27321
27346
  */
27322
27347
  export declare const SDK_EXPECTED_OUTCOME_EVENT_NAME = "capxul_sdk_expected_outcome";
27348
+ /**
27349
+ * The MCP server's twin of `capxul_backend_expected_outcome`: an expected
27350
+ * outcome of a tool call, as the closed facts of the failure projection. Like
27351
+ * the other twins, its properties are the error evidence, so no catalog schema
27352
+ * validates it.
27353
+ */
27354
+ export declare const MCP_EXPECTED_OUTCOME_EVENT_NAME = "capxul_mcp_expected_outcome";
27323
27355
  /** Every name the telemetry port carries: a catalog event or the exception event. */
27324
27356
  type TelemetryPortEventName = TelemetryEventName | ExceptionEventName;
27325
27357
  /** A catalog event: its name has a schema in `TELEMETRY_EVENT_SCHEMAS`. */
@@ -27366,7 +27398,7 @@ type TelemetryProducer = (typeof TELEMETRY_PRODUCERS)[number];
27366
27398
  * failure came from the chain path. Spread into every failure event and posted
27367
27399
  * on `$exception`, so one PostHog filter finds a cause wherever it was seen.
27368
27400
  */
27369
- export declare const FailureModeSchema: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
27401
+ export declare const FailureModeSchema: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
27370
27402
  export declare const ChainUpstreamSchema: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
27371
27403
  /**
27372
27404
  * The refusing upstream's response headers (#1818): exactly the names in
@@ -27386,7 +27418,7 @@ export declare const ResponseHeadersSchema: Schema.Struct<{
27386
27418
  /** One upstream tried, flat (#1818): the `chain_attempts` entry on every producer's row. */
27387
27419
  export declare const ChainAttemptSchema: Schema.Struct<{
27388
27420
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
27389
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
27421
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
27390
27422
  readonly http_status: Schema.optional<Schema.Finite>;
27391
27423
  readonly rpc_code: Schema.optional<Schema.Finite>;
27392
27424
  readonly duration_ms: Schema.Finite;
@@ -27662,7 +27694,7 @@ export declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
27662
27694
  readonly journey_id: Schema.optional<Schema.String>;
27663
27695
  readonly correlation_id: Schema.optional<Schema.String>;
27664
27696
  readonly sdk_version: Schema.optional<Schema.String>;
27665
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
27697
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
27666
27698
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
27667
27699
  readonly chain_method: Schema.optional<Schema.String>;
27668
27700
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -27674,7 +27706,7 @@ export declare const AccountBalanceFailedTelemetryEventSchema: Schema.Struct<{
27674
27706
  readonly chain_provider_message: Schema.optional<Schema.String>;
27675
27707
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
27676
27708
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
27677
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
27709
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
27678
27710
  readonly http_status: Schema.optional<Schema.Finite>;
27679
27711
  readonly rpc_code: Schema.optional<Schema.Finite>;
27680
27712
  readonly duration_ms: Schema.Finite;
@@ -27729,7 +27761,7 @@ export declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
27729
27761
  readonly journey_id: Schema.optional<Schema.String>;
27730
27762
  readonly correlation_id: Schema.optional<Schema.String>;
27731
27763
  readonly sdk_version: Schema.optional<Schema.String>;
27732
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
27764
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
27733
27765
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
27734
27766
  readonly chain_method: Schema.optional<Schema.String>;
27735
27767
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -27741,7 +27773,7 @@ export declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
27741
27773
  readonly chain_provider_message: Schema.optional<Schema.String>;
27742
27774
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
27743
27775
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
27744
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
27776
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
27745
27777
  readonly http_status: Schema.optional<Schema.Finite>;
27746
27778
  readonly rpc_code: Schema.optional<Schema.Finite>;
27747
27779
  readonly duration_ms: Schema.Finite;
@@ -27844,7 +27876,7 @@ export declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
27844
27876
  readonly journey_id: Schema.optional<Schema.String>;
27845
27877
  readonly correlation_id: Schema.optional<Schema.String>;
27846
27878
  readonly sdk_version: Schema.optional<Schema.String>;
27847
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
27879
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
27848
27880
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
27849
27881
  readonly chain_method: Schema.optional<Schema.String>;
27850
27882
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -27856,7 +27888,7 @@ export declare const PaymentFailedTelemetryEventSchema: Schema.Struct<{
27856
27888
  readonly chain_provider_message: Schema.optional<Schema.String>;
27857
27889
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
27858
27890
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
27859
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
27891
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
27860
27892
  readonly http_status: Schema.optional<Schema.Finite>;
27861
27893
  readonly rpc_code: Schema.optional<Schema.Finite>;
27862
27894
  readonly duration_ms: Schema.Finite;
@@ -28042,7 +28074,7 @@ export declare const ChainUpstreamFallbackTelemetryEventSchema: Schema.Struct<{
28042
28074
  readonly method: Schema.String;
28043
28075
  readonly from_upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
28044
28076
  readonly to_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
28045
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
28077
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
28046
28078
  readonly exhausted: Schema.Boolean;
28047
28079
  readonly http_status: Schema.optional<Schema.Finite>;
28048
28080
  readonly rpc_code: Schema.optional<Schema.Finite>;
@@ -28067,7 +28099,7 @@ export declare const BundlerErrorTelemetryEventSchema: Schema.Struct<{
28067
28099
  readonly correlation_id: Schema.optional<Schema.String>;
28068
28100
  readonly sdk_version: Schema.optional<Schema.String>;
28069
28101
  readonly method: Schema.String;
28070
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
28102
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
28071
28103
  readonly chain_upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
28072
28104
  readonly chain_retryable: Schema.Boolean;
28073
28105
  readonly http_status: Schema.optional<Schema.Finite>;
@@ -28099,7 +28131,7 @@ export declare const OperationRetriedTelemetryEventSchema: Schema.Struct<{
28099
28131
  readonly correlation_id: Schema.optional<Schema.String>;
28100
28132
  readonly sdk_version: Schema.optional<Schema.String>;
28101
28133
  readonly operation: Schema.String;
28102
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
28134
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
28103
28135
  readonly reason: Schema.optional<Schema.Literal<"connection-lost-in-flight">>;
28104
28136
  readonly connection_id: Schema.optional<Schema.String>;
28105
28137
  readonly connection_count: Schema.optional<Schema.Finite>;
@@ -28147,7 +28179,7 @@ export declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Stru
28147
28179
  readonly journey_id: Schema.optional<Schema.String>;
28148
28180
  readonly correlation_id: Schema.optional<Schema.String>;
28149
28181
  readonly sdk_version: Schema.optional<Schema.String>;
28150
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
28182
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
28151
28183
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
28152
28184
  readonly chain_method: Schema.optional<Schema.String>;
28153
28185
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -28159,7 +28191,7 @@ export declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Stru
28159
28191
  readonly chain_provider_message: Schema.optional<Schema.String>;
28160
28192
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
28161
28193
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
28162
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
28194
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
28163
28195
  readonly http_status: Schema.optional<Schema.Finite>;
28164
28196
  readonly rpc_code: Schema.optional<Schema.Finite>;
28165
28197
  readonly duration_ms: Schema.Finite;
@@ -29272,6 +29304,16 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29272
29304
  readonly ci: import("effect/Schema").Boolean;
29273
29305
  readonly tty: import("effect/Schema").Boolean;
29274
29306
  readonly output_mode: import("effect/Schema").Literals<readonly ["human", "json"]>;
29307
+ readonly failure_class: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["input", "state", "provider-unavailable", "provider-refused", "provider-answer", "defect"]>>;
29308
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29309
+ readonly provider: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["account-abstraction", "agent-exchange", "auth-cache", "auth-client", "better-auth", "bootstrap", "bridge", "browserBridge", "capxul-backend", "chain", "chain-evidence", "chain-rpc", "clock", "convex", "convex-storage", "credentials", "indexer", "invoice", "openfort", "openfort.shield", "ponder", "posthog", "resend", "sdk", "sdk-react", "signer", "verification"]>>;
29310
+ readonly provider_operation: import("effect/Schema").optional<import("effect/Schema").String>;
29311
+ readonly provider_code: import("effect/Schema").optional<import("effect/Schema").String>;
29312
+ readonly http_status: import("effect/Schema").optional<import("effect/Schema").Number>;
29313
+ readonly field: import("effect/Schema").optional<import("effect/Schema").String>;
29314
+ readonly problem: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["missing", "invalid", "conflict"]>>;
29315
+ readonly request_id: import("effect/Schema").optional<import("effect/Schema").String>;
29316
+ readonly elapsed_ms: import("effect/Schema").optional<import("effect/Schema").Number>;
29275
29317
  readonly outcome: import("effect/Schema").Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
29276
29318
  readonly duration_ms: import("effect/Schema").Finite;
29277
29319
  readonly organization_id: import("effect/Schema").optional<import("effect/Schema").Codec<string, string, never, never>>;
@@ -29442,7 +29484,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29442
29484
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
29443
29485
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
29444
29486
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
29445
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
29487
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29446
29488
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29447
29489
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
29448
29490
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -29454,7 +29496,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29454
29496
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
29455
29497
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
29456
29498
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29457
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
29499
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29458
29500
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29459
29501
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
29460
29502
  readonly duration_ms: import("effect/Schema").Finite;
@@ -29662,7 +29704,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29662
29704
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
29663
29705
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
29664
29706
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
29665
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
29707
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29666
29708
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29667
29709
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
29668
29710
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -29674,7 +29716,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29674
29716
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
29675
29717
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
29676
29718
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29677
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
29719
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29678
29720
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29679
29721
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
29680
29722
  readonly duration_ms: import("effect/Schema").Finite;
@@ -29733,7 +29775,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29733
29775
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
29734
29776
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
29735
29777
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
29736
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
29778
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29737
29779
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29738
29780
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
29739
29781
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -29745,7 +29787,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29745
29787
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
29746
29788
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
29747
29789
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29748
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
29790
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29749
29791
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29750
29792
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
29751
29793
  readonly duration_ms: import("effect/Schema").Finite;
@@ -29804,7 +29846,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29804
29846
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
29805
29847
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
29806
29848
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
29807
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
29849
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29808
29850
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29809
29851
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
29810
29852
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -29816,7 +29858,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29816
29858
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
29817
29859
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
29818
29860
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29819
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
29861
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29820
29862
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29821
29863
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
29822
29864
  readonly duration_ms: import("effect/Schema").Finite;
@@ -29868,7 +29910,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29868
29910
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
29869
29911
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
29870
29912
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
29871
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
29913
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29872
29914
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29873
29915
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
29874
29916
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -29880,7 +29922,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29880
29922
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
29881
29923
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
29882
29924
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29883
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
29925
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29884
29926
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29885
29927
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
29886
29928
  readonly duration_ms: import("effect/Schema").Finite;
@@ -29935,7 +29977,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29935
29977
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
29936
29978
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
29937
29979
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
29938
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
29980
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
29939
29981
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29940
29982
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
29941
29983
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -29947,7 +29989,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29947
29989
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
29948
29990
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
29949
29991
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29950
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
29992
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29951
29993
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29952
29994
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
29953
29995
  readonly duration_ms: import("effect/Schema").Finite;
@@ -29981,7 +30023,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
29981
30023
  readonly method: import("effect/Schema").String;
29982
30024
  readonly from_upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
29983
30025
  readonly to_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
29984
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
30026
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
29985
30027
  readonly exhausted: import("effect/Schema").Boolean;
29986
30028
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
29987
30029
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
@@ -30006,7 +30048,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
30006
30048
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
30007
30049
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
30008
30050
  readonly method: import("effect/Schema").String;
30009
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
30051
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
30010
30052
  readonly chain_upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
30011
30053
  readonly chain_retryable: import("effect/Schema").Boolean;
30012
30054
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
@@ -30038,7 +30080,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
30038
30080
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
30039
30081
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
30040
30082
  readonly operation: import("effect/Schema").String;
30041
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
30083
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
30042
30084
  readonly reason: import("effect/Schema").optional<import("effect/Schema").Literal<"connection-lost-in-flight">>;
30043
30085
  readonly connection_id: import("effect/Schema").optional<import("effect/Schema").String>;
30044
30086
  readonly connection_count: import("effect/Schema").optional<import("effect/Schema").Finite>;
@@ -30180,7 +30222,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
30180
30222
  readonly journey_id: import("effect/Schema").optional<import("effect/Schema").String>;
30181
30223
  readonly correlation_id: import("effect/Schema").optional<import("effect/Schema").String>;
30182
30224
  readonly sdk_version: import("effect/Schema").optional<import("effect/Schema").String>;
30183
- readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
30225
+ readonly failure_mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
30184
30226
  readonly chain_upstream: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
30185
30227
  readonly chain_method: import("effect/Schema").optional<import("effect/Schema").String>;
30186
30228
  readonly chain_retryable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
@@ -30192,7 +30234,7 @@ export declare const TELEMETRY_EVENT_SCHEMAS: {
30192
30234
  readonly chain_provider_message: import("effect/Schema").optional<import("effect/Schema").String>;
30193
30235
  readonly chain_attempts: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
30194
30236
  readonly upstream: import("effect/Schema").Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
30195
- readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
30237
+ readonly failure_mode: import("effect/Schema").Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
30196
30238
  readonly http_status: import("effect/Schema").optional<import("effect/Schema").Finite>;
30197
30239
  readonly rpc_code: import("effect/Schema").optional<import("effect/Schema").Finite>;
30198
30240
  readonly duration_ms: import("effect/Schema").Finite;
@@ -30755,7 +30797,7 @@ export declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
30755
30797
  readonly journey_id: Schema.optional<Schema.String>;
30756
30798
  readonly correlation_id: Schema.optional<Schema.String>;
30757
30799
  readonly sdk_version: Schema.optional<Schema.String>;
30758
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
30800
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
30759
30801
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
30760
30802
  readonly chain_method: Schema.optional<Schema.String>;
30761
30803
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -30767,7 +30809,7 @@ export declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
30767
30809
  readonly chain_provider_message: Schema.optional<Schema.String>;
30768
30810
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
30769
30811
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
30770
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
30812
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
30771
30813
  readonly http_status: Schema.optional<Schema.Finite>;
30772
30814
  readonly rpc_code: Schema.optional<Schema.Finite>;
30773
30815
  readonly duration_ms: Schema.Finite;
@@ -31041,7 +31083,7 @@ export declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
31041
31083
  readonly journey_id: Schema.optional<Schema.String>;
31042
31084
  readonly correlation_id: Schema.optional<Schema.String>;
31043
31085
  readonly sdk_version: Schema.optional<Schema.String>;
31044
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
31086
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
31045
31087
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
31046
31088
  readonly chain_method: Schema.optional<Schema.String>;
31047
31089
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -31053,7 +31095,7 @@ export declare const BootstrapFailedTelemetryEventSchema: Schema.Struct<{
31053
31095
  readonly chain_provider_message: Schema.optional<Schema.String>;
31054
31096
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
31055
31097
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
31056
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
31098
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
31057
31099
  readonly http_status: Schema.optional<Schema.Finite>;
31058
31100
  readonly rpc_code: Schema.optional<Schema.Finite>;
31059
31101
  readonly duration_ms: Schema.Finite;
@@ -31112,7 +31154,7 @@ export declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
31112
31154
  readonly journey_id: Schema.optional<Schema.String>;
31113
31155
  readonly correlation_id: Schema.optional<Schema.String>;
31114
31156
  readonly sdk_version: Schema.optional<Schema.String>;
31115
- readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>>;
31157
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
31116
31158
  readonly chain_upstream: Schema.optional<Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>>;
31117
31159
  readonly chain_method: Schema.optional<Schema.String>;
31118
31160
  readonly chain_retryable: Schema.optional<Schema.Boolean>;
@@ -31124,7 +31166,7 @@ export declare const MemberActivationFailedTelemetryEventSchema: Schema.Struct<{
31124
31166
  readonly chain_provider_message: Schema.optional<Schema.String>;
31125
31167
  readonly chain_attempts: Schema.optional<Schema.$Array<Schema.Struct<{
31126
31168
  readonly upstream: Schema.Literals<readonly ["alchemy", "infura", "public", "alto", "gateway"]>;
31127
- readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "unknown"]>;
31169
+ readonly failure_mode: Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>;
31128
31170
  readonly http_status: Schema.optional<Schema.Finite>;
31129
31171
  readonly rpc_code: Schema.optional<Schema.Finite>;
31130
31172
  readonly duration_ms: Schema.Finite;
@@ -31232,6 +31274,16 @@ export declare const CliCommandCompletedTelemetryEventSchema: Schema.Struct<{
31232
31274
  readonly ci: Schema.Boolean;
31233
31275
  readonly tty: Schema.Boolean;
31234
31276
  readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
31277
+ readonly failure_class: Schema.optional<Schema.Literals<readonly ["input", "state", "provider-unavailable", "provider-refused", "provider-answer", "defect"]>>;
31278
+ readonly failure_mode: Schema.optional<Schema.Literals<readonly ["auth-origin-mismatch", "stale-openfort-cache", "app-env-allowlist", "no-secure-context", "signer-not-ready", "rate-limited", "timeout", "upstream-down", "revert", "insufficient-balance", "insufficient-allowance", "rejected", "unauthorized", "forbidden", "bad-request", "method-unsupported", "refused", "defect", "unknown"]>>;
31279
+ readonly provider: Schema.optional<Schema.Literals<readonly ["account-abstraction", "agent-exchange", "auth-cache", "auth-client", "better-auth", "bootstrap", "bridge", "browserBridge", "capxul-backend", "chain", "chain-evidence", "chain-rpc", "clock", "convex", "convex-storage", "credentials", "indexer", "invoice", "openfort", "openfort.shield", "ponder", "posthog", "resend", "sdk", "sdk-react", "signer", "verification"]>>;
31280
+ readonly provider_operation: Schema.optional<Schema.String>;
31281
+ readonly provider_code: Schema.optional<Schema.String>;
31282
+ readonly http_status: Schema.optional<Schema.Number>;
31283
+ readonly field: Schema.optional<Schema.String>;
31284
+ readonly problem: Schema.optional<Schema.Literals<readonly ["missing", "invalid", "conflict"]>>;
31285
+ readonly request_id: Schema.optional<Schema.String>;
31286
+ readonly elapsed_ms: Schema.optional<Schema.Number>;
31235
31287
  readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
31236
31288
  readonly duration_ms: Schema.Finite;
31237
31289
  readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;