@capxul/observability 4.2.0 → 4.20.0-beta.10

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
@@ -199,6 +199,8 @@ declare const CAPXUL_OPERATIONS: {
199
199
  readonly emitAnnotationSaved: "activity.emitAnnotationSaved";
200
200
  readonly get: "activity.get";
201
201
  readonly list: "activity.list";
202
+ /** The SDK's live Activity read over the indexer's SSE stream. */
203
+ readonly subscribe: "activity.subscribe";
202
204
  readonly summary: "activity.summary";
203
205
  };
204
206
  readonly addressBook: {
@@ -225,6 +227,26 @@ declare const CAPXUL_OPERATIONS: {
225
227
  readonly createOrg: "createOrg";
226
228
  readonly orgs: "orgs";
227
229
  };
230
+ /** AUTH A3 (#2073): the SDK facade over the native continuation endpoints. */
231
+ readonly clientRequests: {
232
+ readonly decide: "clientRequests.decide";
233
+ readonly read: "clientRequests.read";
234
+ };
235
+ /** AUTH A2 (#2072): the native client authorization issuer and its browser
236
+ * continuation. One name per durable transition the endpoints can fail on. */
237
+ readonly clientAuthorization: {
238
+ readonly acceptRequest: "clientAuthorization.acceptRequest";
239
+ readonly cancelRequest: "clientAuthorization.cancelRequest";
240
+ readonly consumeRequest: "clientAuthorization.consumeRequest";
241
+ readonly denyRequest: "clientAuthorization.denyRequest";
242
+ readonly invalidateContext: "clientAuthorization.invalidateContext";
243
+ readonly markConsented: "clientAuthorization.markConsented";
244
+ readonly readMetadata: "clientAuthorization.readMetadata";
245
+ readonly revokeGrant: "clientAuthorization.revokeGrant";
246
+ readonly rotateGrant: "clientAuthorization.rotateGrant";
247
+ readonly startRequest: "clientAuthorization.startRequest";
248
+ readonly sweepExpired: "clientAuthorization.sweepExpired";
249
+ };
228
250
  readonly credentials: {
229
251
  readonly bootstrapClient: "credentials.bootstrapClient";
230
252
  readonly mintQuickstartKey: "credentials.mintQuickstartKey";
@@ -252,15 +274,21 @@ declare const CAPXUL_OPERATIONS: {
252
274
  readonly cancelRequest: "financialOps.cancelRequest";
253
275
  readonly createPayee: "financialOps.createPayee";
254
276
  readonly declineRequest: "financialOps.declineRequest";
277
+ readonly emitInvoiceIssued: "financialOps.emitInvoiceIssued";
278
+ readonly emitInvoiceRequestTransitioned: "financialOps.emitInvoiceRequestTransitioned";
255
279
  readonly emitPaymentWriterTelemetry: "financialOps.emitPaymentWriterTelemetry";
256
280
  readonly issueRequest: "financialOps.issueRequest";
281
+ readonly migrateEvidenceIdentity: "financialOps.migrateEvidenceIdentity";
282
+ readonly planEvidenceIdentity: "financialOps.planEvidenceIdentity";
257
283
  readonly recoverSettlementVerification: "financialOps.recoverSettlementVerification";
258
284
  readonly removeDestination: "financialOps.removeDestination";
259
285
  readonly verifySettlement: "financialOps.verifySettlement";
260
286
  };
261
287
  readonly holdings: {
262
288
  readonly current: "holdings.current";
263
- readonly primary: "holdings.primary";
289
+ };
290
+ readonly indexer: {
291
+ readonly reconcile: "indexer.reconcile";
264
292
  };
265
293
  readonly identity: {
266
294
  readonly accountAt: "identity.AccountAt";
@@ -318,10 +346,12 @@ declare const CAPXUL_OPERATIONS: {
318
346
  readonly prepareOrganizationPaymentExecution: "moneyExecution.prepareOrganizationPaymentExecution";
319
347
  readonly preparePaymentExecution: "moneyExecution.preparePaymentExecution";
320
348
  readonly preparePaymentLifecycleExecution: "moneyExecution.preparePaymentLifecycleExecution";
349
+ readonly prepareInvitationConfiguration: "moneyExecution.prepareInvitationConfiguration";
321
350
  readonly preparePermissionExecution: "moneyExecution.preparePermissionExecution";
322
351
  readonly recoverSubmissionClaims: "moneyExecution.recoverSubmissionClaims";
323
352
  readonly submit: "moneyExecution.submit";
324
353
  readonly submitPaymentCommandExecution: "moneyExecution.submitPaymentCommandExecution";
354
+ readonly submitInvitationConfigurationExecution: "moneyExecution.submitInvitationConfigurationExecution";
325
355
  readonly submitPaymentExecution: "moneyExecution.submitPaymentExecution";
326
356
  readonly submitPermissionExecution: "moneyExecution.submitPermissionExecution";
327
357
  };
@@ -343,21 +373,54 @@ declare const CAPXUL_OPERATIONS: {
343
373
  readonly completePerson: "onboarding.completePerson";
344
374
  };
345
375
  readonly org: {
346
- readonly acceptInvitations: "org.acceptInvitations";
347
376
  readonly account: {
348
377
  readonly get: "org.account.get";
349
378
  };
350
- readonly activateMember: "org.activateMember";
351
379
  readonly auditLog: "org.auditLog";
352
380
  readonly confirmBootstrap: "org.confirmBootstrap";
353
381
  readonly createOrg: "org.createOrg";
354
382
  readonly create: "org.create";
355
- readonly detectAndAcceptPendingInvitations: "org.detectAndAcceptPendingInvitations";
383
+ /**
384
+ * §11: the consent mutation reports `org_invite_accepted` through its own
385
+ * scheduled emitter. It is named for the emit, not the acceptance, because
386
+ * the interactive acceptance itself owns `org.invitations.accept`.
387
+ */
388
+ readonly emitInviteAccepted: "org.emitInviteAccepted";
389
+ readonly emitInviteProgressed: "org.emitInviteProgressed";
356
390
  readonly expireInvitations: "org.expireInvitations";
357
391
  readonly getLifecycle: "org.getLifecycle";
358
392
  readonly getProofReceipt: "org.getProofReceipt";
359
393
  readonly invite: "org.invite";
360
- readonly inviteMember: "org.inviteMember";
394
+ /** D8 invitation lifecycle: preview, own list, read, and the four transitions. */
395
+ readonly invitations: {
396
+ /** The exact grantee's consent commit (§8): one accepted digest, once. */
397
+ readonly accept: "org.invitations.accept";
398
+ /**
399
+ * The authoring write. It is named `authorize`, not `invite`, because the
400
+ * backend already uses `org.invitations.invite` as a refusal label and
401
+ * `lint:telemetry-spine` refuses a label that collides with an operation.
402
+ */
403
+ readonly authorize: "org.invitations.authorize";
404
+ readonly cancel: "org.invitations.cancel";
405
+ readonly decline: "org.invitations.decline";
406
+ readonly get: "org.invitations.get";
407
+ readonly list: "org.invitations.list";
408
+ /**
409
+ * The Admin-scoped Organization list. It is named `listScoped`, not
410
+ * `list`, because the own-offer list already owns `org.invitations.list`.
411
+ */
412
+ readonly listScoped: "org.invitations.listScoped";
413
+ /**
414
+ * The authoring write's inner hops: the SDK drives the backend's existing
415
+ * prepare/submit pair, and these names label the two Convex calls. The
416
+ * owning `capxul_sdk_operation` record stays `org.invitations.authorize`.
417
+ */
418
+ readonly prepareConfiguration: "org.invitations.prepareConfiguration";
419
+ readonly preview: "org.invitations.preview";
420
+ readonly resend: "org.invitations.resend";
421
+ readonly retry: "org.invitations.retry";
422
+ readonly submitConfiguration: "org.invitations.submitConfiguration";
423
+ };
361
424
  readonly list: "org.list";
362
425
  readonly load: "org.load";
363
426
  readonly me: "org.me";
@@ -418,7 +481,6 @@ declare const CAPXUL_OPERATIONS: {
418
481
  };
419
482
  readonly recordFailure: "org.recordFailure";
420
483
  readonly recordProgress: "org.recordProgress";
421
- readonly resendInviteToken: "org.resendInviteToken";
422
484
  readonly resumeBootstrapSubmission: "org.resumeBootstrapSubmission";
423
485
  readonly retry: "org.retry";
424
486
  readonly retrySetup: "org.retrySetup";
@@ -439,9 +501,6 @@ declare const CAPXUL_OPERATIONS: {
439
501
  readonly organizationSetup: {
440
502
  readonly getProofReceipt: "organizationSetup.getProofReceipt";
441
503
  };
442
- readonly organizations: {
443
- readonly detectAndAcceptPendingInvitations: "orgs.detectAndAcceptPendingInvitations";
444
- };
445
504
  readonly payments: {
446
505
  readonly cancel: "payments.cancel";
447
506
  readonly claim: "payments.claim";
@@ -458,6 +517,7 @@ declare const CAPXUL_OPERATIONS: {
458
517
  readonly submitExecution: "payments.submitExecution";
459
518
  };
460
519
  readonly paymentDocuments: {
520
+ readonly get: "paymentDocuments.get";
461
521
  readonly render: "paymentDocuments.render";
462
522
  readonly verify: "paymentDocuments.verify";
463
523
  };
@@ -466,6 +526,8 @@ declare const CAPXUL_OPERATIONS: {
466
526
  };
467
527
  readonly payroll: {
468
528
  readonly authorizeRun: "payroll.authorizeRun";
529
+ readonly emitGroupChanged: "payroll.emitGroupChanged";
530
+ readonly emitRunTransitioned: "payroll.emitRunTransitioned";
469
531
  readonly groups: {
470
532
  readonly access: "payroll.groups";
471
533
  readonly list: "payroll.groups.list";
@@ -478,6 +540,7 @@ declare const CAPXUL_OPERATIONS: {
478
540
  readonly terms: "payroll.terms";
479
541
  };
480
542
  readonly permission: {
543
+ readonly verifyInvitationConfiguration: "permission.verifyInvitationConfiguration";
481
544
  readonly command: "permission.command";
482
545
  readonly retryVerification: "permission.retryVerification";
483
546
  readonly verify: "permission.verify";
@@ -600,7 +663,7 @@ interface TelemetryPort {
600
663
  }
601
664
  //#endregion
602
665
  //#region src/index.d.ts
603
- declare const TELEMETRY_EVENT_NAMES: readonly ["auth_otp_requested", "auth_otp_delivered", "auth_otp_expired", "auth_verified", "auth_failed", "auth_signed_out", "onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "provisioning_safe_created", "provisioning_safe_confirmed", "bootstrap_resolved", "bootstrap_failed", "member_activation_started", "member_activation_ready", "member_activation_failed", "organization_creation_started", "organization_creation_ready", "organization_creation_failed", "chain_upstream_fallback", "bundler_error", "receipt_pending", "operation_retried", "account_balance_read", "account_balance_failed", "faucet_requested", "faucet_confirmed", "faucet_failed", "org_create_started", "org_safe_created", "org_safe_confirmed", "org_roles_seeded", "org_created", "org_create_failed", "org_invite_sent", "org_invite_accepted", "org_invite_expired", "payment_initiated", "payment_settled", "payment_failed", "payment_verification_retry", "payment_lifecycle_transition", "quick_pay_external_address_acknowledged", "deposit_initiated", "deposit_settled", "permission_mirror_verification", "movement_scan_window", "movement_scan_checkpoint", "movement_scan_incident", "activity_annotation_saved", "ui_activity_action_completed", "contact_relationship_changed", "ui_contact_action_completed"];
666
+ declare const TELEMETRY_EVENT_NAMES: readonly ["auth_otp_requested", "auth_otp_delivered", "auth_otp_expired", "auth_verified", "auth_failed", "identity_refused", "auth_signed_out", "native_authorization_started", "native_authorization_reviewed", "native_authorization_accepted", "native_authorization_denied", "native_authorization_connected", "native_authorization_failed", "onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "provisioning_safe_created", "provisioning_safe_confirmed", "bootstrap_resolved", "bootstrap_failed", "member_activation_started", "member_activation_ready", "member_activation_failed", "organization_creation_started", "organization_creation_ready", "organization_creation_failed", "chain_upstream_fallback", "bundler_error", "receipt_pending", "operation_retried", "account_balance_read", "account_balance_failed", "faucet_requested", "faucet_confirmed", "faucet_failed", "org_create_started", "org_safe_created", "org_safe_confirmed", "org_roles_seeded", "org_created", "org_create_failed", "org_invite_sent", "org_invite_accepted", "org_invite_expired", "payment_initiated", "payment_settled", "payment_failed", "payment_verification_retry", "payment_lifecycle_transition", "quick_pay_external_address_acknowledged", "deposit_initiated", "deposit_settled", "permission_mirror_verification", "movement_scan_window", "movement_scan_checkpoint", "movement_scan_incident", "indexer_drift_corrected", "activity_annotation_saved", "ui_activity_action_completed", "contact_relationship_changed", "ui_contact_action_completed", "access_recovery_completed", "ui_access_step_completed", "org_invite_progressed", "invoice_issued", "invoice_request_transitioned", "ui_invoice_step_completed", "ui_treasury_step_completed", "ui_receive_step_completed", "payroll_group_changed", "payroll_run_transitioned", "ui_payroll_action_completed", "cli_diagnostic_completed", "cli_first_used", "cli_command_started", "cli_command_completed"];
604
667
  type TelemetryEventName = (typeof TELEMETRY_EVENT_NAMES)[number];
605
668
  type NonEmptyTelemetryEventNames = readonly [TelemetryEventName, ...TelemetryEventName[]];
606
669
  type FunnelStepPropertyFilter = {
@@ -919,6 +982,24 @@ declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
919
982
  readonly reason: Schema.optional<Schema.String>;
920
983
  }>;
921
984
  }>;
985
+ declare const IdentityRefusedTelemetryEventSchema: Schema.Struct<{
986
+ readonly name: Schema.Literal<"identity_refused">;
987
+ readonly props: Schema.Struct<{
988
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
989
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
990
+ readonly journey_id: Schema.optional<Schema.String>;
991
+ readonly correlation_id: Schema.optional<Schema.String>;
992
+ readonly sdk_version: Schema.optional<Schema.String>;
993
+ /** The refused identity event tag, for example CreateOrganization. */
994
+ readonly event: Schema.optional<Schema.String>;
995
+ /** The machine's refusal code: WRONG_STATE, SUPERSEDED or STALE_EPOCH. */
996
+ readonly refusal_code: Schema.optional<Schema.String>;
997
+ /** The machine slot the request targeted, for example identity:org. */
998
+ readonly slot: Schema.optional<Schema.String>;
999
+ /** The machine state at refusal, for example authenticated:claiming. */
1000
+ readonly state: Schema.optional<Schema.String>;
1001
+ }>;
1002
+ }>;
922
1003
  declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
923
1004
  readonly name: Schema.Literal<"auth_signed_out">;
924
1005
  readonly props: Schema.Struct<{
@@ -929,6 +1010,81 @@ declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
929
1010
  sdk_version: Schema.optional<Schema.String>;
930
1011
  }>;
931
1012
  }>;
1013
+ declare const NativeAuthorizationStartedTelemetryEventSchema: Schema.Struct<{
1014
+ readonly name: Schema.Literal<"native_authorization_started">;
1015
+ readonly props: Schema.Struct<{
1016
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1017
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1018
+ readonly journey_id: Schema.optional<Schema.String>;
1019
+ readonly correlation_id: Schema.optional<Schema.String>;
1020
+ readonly sdk_version: Schema.optional<Schema.String>;
1021
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1022
+ }>;
1023
+ }>;
1024
+ declare const NativeAuthorizationReviewedTelemetryEventSchema: Schema.Struct<{
1025
+ readonly name: Schema.Literal<"native_authorization_reviewed">;
1026
+ readonly props: Schema.Struct<{
1027
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1028
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1029
+ readonly journey_id: Schema.optional<Schema.String>;
1030
+ readonly correlation_id: Schema.optional<Schema.String>;
1031
+ readonly sdk_version: Schema.optional<Schema.String>;
1032
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1033
+ }>;
1034
+ }>;
1035
+ declare const NativeAuthorizationAcceptedTelemetryEventSchema: Schema.Struct<{
1036
+ readonly name: Schema.Literal<"native_authorization_accepted">;
1037
+ readonly props: Schema.Struct<{
1038
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1039
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1040
+ readonly journey_id: Schema.optional<Schema.String>;
1041
+ readonly correlation_id: Schema.optional<Schema.String>;
1042
+ readonly sdk_version: Schema.optional<Schema.String>;
1043
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1044
+ /** Whether consent also had to finish account setup first. */
1045
+ readonly setup_state: Schema.optional<Schema.Literals<readonly ["not_required", "new", "resumable"]>>;
1046
+ }>;
1047
+ }>;
1048
+ declare const NativeAuthorizationDeniedTelemetryEventSchema: Schema.Struct<{
1049
+ readonly name: Schema.Literal<"native_authorization_denied">;
1050
+ readonly props: Schema.Struct<{
1051
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1052
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1053
+ readonly journey_id: Schema.optional<Schema.String>;
1054
+ readonly correlation_id: Schema.optional<Schema.String>;
1055
+ readonly sdk_version: Schema.optional<Schema.String>;
1056
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1057
+ }>;
1058
+ }>;
1059
+ declare const NativeAuthorizationConnectedTelemetryEventSchema: Schema.Struct<{
1060
+ readonly name: Schema.Literal<"native_authorization_connected">;
1061
+ readonly props: Schema.Struct<{
1062
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1063
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1064
+ readonly journey_id: Schema.optional<Schema.String>;
1065
+ readonly correlation_id: Schema.optional<Schema.String>;
1066
+ readonly sdk_version: Schema.optional<Schema.String>;
1067
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1068
+ }>;
1069
+ }>;
1070
+ declare const NativeAuthorizationFailedTelemetryEventSchema: Schema.Struct<{
1071
+ readonly name: Schema.Literal<"native_authorization_failed">;
1072
+ readonly props: Schema.Struct<{
1073
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1074
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1075
+ readonly journey_id: Schema.optional<Schema.String>;
1076
+ readonly correlation_id: Schema.optional<Schema.String>;
1077
+ readonly sdk_version: Schema.optional<Schema.String>;
1078
+ readonly mode: Schema.optional<Schema.Literals<readonly ["login", "signup"]>>;
1079
+ /** The refusal word the store returned, for example `identity_mismatch` or
1080
+ * `request_expired`. These are the closed `CLIENT_AUTHORIZATION_REFUSALS` from
1081
+ * `@capxul/wire` plus the store-internal `fresh_session_required` (ruling R3),
1082
+ * which the continuation maps to `identity_mismatch` on the wire but reports
1083
+ * truthfully here. Kept as `OptionalString` rather than an imported literal
1084
+ * set: this package must not depend on the transport contract. */
1085
+ readonly reason: Schema.optional<Schema.String>;
1086
+ }>;
1087
+ }>;
932
1088
  declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
933
1089
  readonly name: Schema.Literal<"onboarding_intent_selected">;
934
1090
  readonly props: Schema.Struct<{
@@ -1207,6 +1363,10 @@ declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
1207
1363
  readonly correlation_id: Schema.optional<Schema.String>;
1208
1364
  readonly sdk_version: Schema.optional<Schema.String>;
1209
1365
  readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
1366
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
1367
+ readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1368
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1369
+ readonly asset_id: Schema.optional<Schema.String>;
1210
1370
  readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
1211
1371
  readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
1212
1372
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
@@ -1260,6 +1420,7 @@ declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
1260
1420
  readonly sdk_version: Schema.optional<Schema.String>;
1261
1421
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
1262
1422
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1423
+ readonly asset_id: Schema.optional<Schema.String>;
1263
1424
  }>;
1264
1425
  }>;
1265
1426
  declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
@@ -1273,6 +1434,8 @@ declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
1273
1434
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
1274
1435
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1275
1436
  readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
1437
+ readonly asset_id: Schema.optional<Schema.String>;
1438
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1276
1439
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
1277
1440
  }>;
1278
1441
  }>;
@@ -1312,6 +1475,10 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
1312
1475
  readonly server: Schema.optional<Schema.String>;
1313
1476
  }>>;
1314
1477
  readonly reason: Schema.optional<Schema.String>;
1478
+ readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
1479
+ readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1480
+ readonly asset_id: Schema.optional<Schema.String>;
1481
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1315
1482
  }>;
1316
1483
  }>;
1317
1484
  declare const ChainUpstreamFallbackTelemetryEventSchema: Schema.Struct<{
@@ -1507,6 +1674,11 @@ declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
1507
1674
  readonly correlation_id: Schema.optional<Schema.String>;
1508
1675
  readonly sdk_version: Schema.optional<Schema.String>;
1509
1676
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
1677
+ readonly invitation_id: Schema.optional<Schema.String>;
1678
+ readonly generation: Schema.optional<Schema.String>;
1679
+ readonly command_id: Schema.optional<Schema.String>;
1680
+ readonly subject_party_id: Schema.optional<Schema.String>;
1681
+ readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
1510
1682
  readonly email_domain: Schema.optional<Schema.String>;
1511
1683
  readonly role: Schema.optional<Schema.String>;
1512
1684
  readonly status: Schema.optional<Schema.String>;
@@ -1521,6 +1693,11 @@ declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
1521
1693
  readonly correlation_id: Schema.optional<Schema.String>;
1522
1694
  readonly sdk_version: Schema.optional<Schema.String>;
1523
1695
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
1696
+ readonly invitation_id: Schema.optional<Schema.String>;
1697
+ readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
1698
+ readonly generation: Schema.optional<Schema.String>;
1699
+ readonly command_id: Schema.optional<Schema.String>;
1700
+ readonly subject_party_id: Schema.optional<Schema.String>;
1524
1701
  readonly role: Schema.optional<Schema.String>;
1525
1702
  readonly status: Schema.optional<Schema.String>;
1526
1703
  }>;
@@ -1535,6 +1712,7 @@ declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
1535
1712
  readonly sdk_version: Schema.optional<Schema.String>;
1536
1713
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
1537
1714
  readonly email_domain: Schema.optional<Schema.String>;
1715
+ readonly invitation_id: Schema.optional<Schema.String>;
1538
1716
  readonly reason: Schema.optional<Schema.String>;
1539
1717
  readonly role: Schema.optional<Schema.String>;
1540
1718
  readonly status: Schema.optional<Schema.String>;
@@ -1779,10 +1957,38 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
1779
1957
  readonly journey_id: Schema.optional<Schema.String>;
1780
1958
  readonly correlation_id: Schema.optional<Schema.String>;
1781
1959
  readonly sdk_version: Schema.optional<Schema.String>;
1960
+ /** The RECEIPT verification outcome. What the mirror then did is separate. */
1782
1961
  readonly outcome: Schema.String;
1783
1962
  readonly reason: Schema.String;
1784
1963
  readonly chain_id: Schema.Number;
1785
1964
  readonly retry_count: Schema.Number;
1965
+ /**
1966
+ * #1960 R02, consumed by R03. A verified receipt is not an applied Permission:
1967
+ * these two optional fields let the producer say what the applying mutation
1968
+ * actually returned, and which command it was, without either fact rewriting
1969
+ * the receipt outcome above. Absent when application has not happened yet.
1970
+ */
1971
+ readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
1972
+ readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
1973
+ readonly command_id: Schema.optional<Schema.String>;
1974
+ readonly invitation_id: Schema.optional<Schema.String>;
1975
+ readonly generation: Schema.optional<Schema.String>;
1976
+ readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
1977
+ readonly $insert_id: Schema.optional<Schema.String>;
1978
+ /**
1979
+ * #1961 R03. The authorized stored row names the Permission it changed; the
1980
+ * verified receipt names the chain facts that prove it. Every field is
1981
+ * optional because a pending or provider-failed verification has neither an
1982
+ * application result nor a receipt to report.
1983
+ */
1984
+ readonly permission_id: Schema.optional<Schema.String>;
1985
+ readonly permission_assignment_id: Schema.optional<Schema.String>;
1986
+ readonly permission_operation: Schema.optional<Schema.Literals<readonly ["create", "change", "assign", "revoke", "replace"]>>;
1987
+ readonly revision: Schema.optional<Schema.Number>;
1988
+ readonly user_op_hash: Schema.optional<Schema.String>;
1989
+ readonly transaction_hash: Schema.optional<Schema.String>;
1990
+ readonly block_number: Schema.optional<Schema.Number>;
1991
+ readonly log_index: Schema.optional<Schema.Number>;
1786
1992
  }>;
1787
1993
  }>;
1788
1994
  declare const MovementScanWindowTelemetryEventSchema: Schema.Struct<{
@@ -1830,6 +2036,25 @@ declare const MovementScanIncidentTelemetryEventSchema: Schema.Struct<{
1830
2036
  readonly anchor_block_number: Schema.Number;
1831
2037
  }>;
1832
2038
  }>;
2039
+ declare const IndexerDriftCorrectedTelemetryEventSchema: Schema.Struct<{
2040
+ readonly name: Schema.Literal<"indexer_drift_corrected">;
2041
+ readonly props: Schema.Struct<{
2042
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2043
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2044
+ readonly journey_id: Schema.optional<Schema.String>;
2045
+ readonly correlation_id: Schema.optional<Schema.String>;
2046
+ readonly sdk_version: Schema.optional<Schema.String>;
2047
+ readonly projection_kind: Schema.Literals<readonly ["member_authority", "payment_settlement", "permission_assignment"]>;
2048
+ readonly previous_state: Schema.String;
2049
+ readonly current_state: Schema.String;
2050
+ readonly previous_block: Schema.optional<Schema.Number>;
2051
+ readonly current_block: Schema.optional<Schema.Number>;
2052
+ readonly logical_event_id: Schema.optional<Schema.String>;
2053
+ readonly scope_kind: Schema.optional<Schema.Literals<readonly ["account", "organization"]>>;
2054
+ readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
2055
+ readonly reference_id: Schema.optional<Schema.String>;
2056
+ }>;
2057
+ }>;
1833
2058
  declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
1834
2059
  readonly name: Schema.Literal<"contact_relationship_changed">;
1835
2060
  readonly props: Schema.Struct<{
@@ -1848,6 +2073,107 @@ declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
1848
2073
  readonly operation: Schema.Literals<readonly ["addressBook.add", "addressBook.label", "addressBook.hide", "addressBook.unhide"]>;
1849
2074
  }>;
1850
2075
  }>;
2076
+ /** One completed online CLI diagnostic. No command input or provider text. */
2077
+ declare const CLI_COMMAND_NAMES: readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"];
2078
+ declare const CLI_CAPABILITIES: readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"];
2079
+ declare const CLI_INVOCATION_KINDS: readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"];
2080
+ type CliCommandName = (typeof CLI_COMMAND_NAMES)[number];
2081
+ type CliCapability = (typeof CLI_CAPABILITIES)[number];
2082
+ type CliInvocationKind = (typeof CLI_INVOCATION_KINDS)[number];
2083
+ declare const CliFirstUsedTelemetryEventSchema: Schema.Struct<{
2084
+ readonly name: Schema.Literal<"cli_first_used">;
2085
+ readonly props: Schema.Struct<{
2086
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2087
+ producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2088
+ journey_id: Schema.optional<Schema.String>;
2089
+ correlation_id: Schema.optional<Schema.String>;
2090
+ schema_version: Schema.Literal<1>;
2091
+ command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
2092
+ capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
2093
+ invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2094
+ invocation_id: Schema.String;
2095
+ cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2096
+ anonymous_id: Schema.optional<Schema.String>;
2097
+ auth_user_id: Schema.optional<Schema.String>;
2098
+ occurred_at: Schema.Number;
2099
+ cli_version: Schema.String;
2100
+ sdk_version: Schema.String;
2101
+ release: Schema.String;
2102
+ platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2103
+ architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2104
+ ci: Schema.Boolean;
2105
+ tty: Schema.Boolean;
2106
+ output_mode: Schema.Literals<readonly ["human", "json"]>;
2107
+ }>;
2108
+ }>;
2109
+ declare const CliCommandStartedTelemetryEventSchema: Schema.Struct<{
2110
+ readonly name: Schema.Literal<"cli_command_started">;
2111
+ readonly props: Schema.Struct<{
2112
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2113
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2114
+ readonly journey_id: Schema.optional<Schema.String>;
2115
+ readonly correlation_id: Schema.optional<Schema.String>;
2116
+ readonly schema_version: Schema.Literal<1>;
2117
+ readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
2118
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
2119
+ readonly invocation_id: Schema.String;
2120
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2121
+ readonly anonymous_id: Schema.optional<Schema.String>;
2122
+ readonly auth_user_id: Schema.optional<Schema.String>;
2123
+ readonly occurred_at: Schema.Number;
2124
+ readonly cli_version: Schema.String;
2125
+ readonly sdk_version: Schema.String;
2126
+ readonly release: Schema.String;
2127
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2128
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2129
+ readonly ci: Schema.Boolean;
2130
+ readonly tty: Schema.Boolean;
2131
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2132
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version"]>;
2133
+ }>;
2134
+ }>;
2135
+ declare const CliCommandCompletedTelemetryEventSchema: Schema.Struct<{
2136
+ readonly name: Schema.Literal<"cli_command_completed">;
2137
+ readonly props: Schema.Struct<{
2138
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2139
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2140
+ readonly journey_id: Schema.optional<Schema.String>;
2141
+ readonly correlation_id: Schema.optional<Schema.String>;
2142
+ readonly schema_version: Schema.Literal<1>;
2143
+ readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
2144
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
2145
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2146
+ readonly invocation_id: Schema.String;
2147
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2148
+ readonly anonymous_id: Schema.optional<Schema.String>;
2149
+ readonly auth_user_id: Schema.optional<Schema.String>;
2150
+ readonly occurred_at: Schema.Number;
2151
+ readonly cli_version: Schema.String;
2152
+ readonly sdk_version: Schema.String;
2153
+ readonly release: Schema.String;
2154
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2155
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2156
+ readonly ci: Schema.Boolean;
2157
+ readonly tty: Schema.Boolean;
2158
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2159
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2160
+ readonly duration_ms: Schema.Number;
2161
+ readonly error_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED", "CLI_USAGE", "CLI_CONFIG", "CLI_STORAGE", "CLI_DEFECT"]>>;
2162
+ }>;
2163
+ }>;
2164
+ declare const CliDiagnosticCompletedTelemetryEventSchema: Schema.Struct<{
2165
+ readonly name: Schema.Literal<"cli_diagnostic_completed">;
2166
+ readonly props: Schema.Struct<{
2167
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2168
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2169
+ readonly journey_id: Schema.optional<Schema.String>;
2170
+ readonly correlation_id: Schema.optional<Schema.String>;
2171
+ readonly sdk_version: Schema.optional<Schema.String>;
2172
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2173
+ readonly invocation_id: Schema.String;
2174
+ readonly cli_version: Schema.String;
2175
+ }>;
2176
+ }>;
1851
2177
  declare const UiContactActionCompletedTelemetryEventSchema: Schema.Struct<{
1852
2178
  readonly name: Schema.Literal<"ui_contact_action_completed">;
1853
2179
  readonly props: Schema.Union<readonly [Schema.Struct<{
@@ -1903,6 +2229,17 @@ declare const ActivityAnnotationSavedTelemetryEventSchema: Schema.Struct<{
1903
2229
  declare const UiActivityActionCompletedTelemetryEventSchema: Schema.Struct<{
1904
2230
  readonly name: Schema.Literal<"ui_activity_action_completed">;
1905
2231
  readonly props: Schema.Union<readonly [Schema.Struct<{
2232
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2233
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2234
+ readonly journey_id: Schema.optional<Schema.String>;
2235
+ readonly correlation_id: Schema.optional<Schema.String>;
2236
+ readonly sdk_version: Schema.optional<Schema.String>;
2237
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2238
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2239
+ readonly action: Schema.Literal<"read">;
2240
+ readonly outcome: Schema.Literals<readonly ["partial_displayed", "recovered"]>;
2241
+ readonly surface: Schema.Literals<readonly ["transactions", "recent", "summary"]>;
2242
+ }>, Schema.Struct<{
1906
2243
  readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1907
2244
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1908
2245
  readonly journey_id: Schema.optional<Schema.String>;
@@ -1976,6 +2313,214 @@ declare const UiActivityActionCompletedTelemetryEventSchema: Schema.Struct<{
1976
2313
  readonly truncated: Schema.optional<Schema.Boolean>;
1977
2314
  }>]>;
1978
2315
  }>;
2316
+ declare const AccessRecoveryCompletedTelemetryEventSchema: Schema.Struct<{
2317
+ readonly name: Schema.Literal<"access_recovery_completed">;
2318
+ readonly props: Schema.Union<readonly [Schema.Struct<{
2319
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2320
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2321
+ readonly journey_id: Schema.optional<Schema.String>;
2322
+ readonly correlation_id: Schema.optional<Schema.String>;
2323
+ readonly sdk_version: Schema.optional<Schema.String>;
2324
+ readonly recovery: Schema.Literal<"session_restoration">;
2325
+ readonly outcome: Schema.Literals<readonly ["restored", "absent", "failed"]>;
2326
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2327
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2328
+ }>, Schema.Struct<{
2329
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2330
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2331
+ readonly journey_id: Schema.optional<Schema.String>;
2332
+ readonly correlation_id: Schema.optional<Schema.String>;
2333
+ readonly sdk_version: Schema.optional<Schema.String>;
2334
+ readonly recovery: Schema.Literal<"signer_readiness">;
2335
+ readonly outcome: Schema.Literals<readonly ["ready", "unavailable"]>;
2336
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2337
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2338
+ }>]>;
2339
+ }>;
2340
+ /**
2341
+ * R05 (#1963) wired three of these steps at the app's dashboard Access
2342
+ * boundary: `dashboard_granted` on the commit of the granted content,
2343
+ * `gate_error_displayed` on the mounted error surface, and `retry_selected` on
2344
+ * the actual selection. `redirect_completed` stays RESERVED and unproduced —
2345
+ * asking for a navigation is not arriving, and the destination page's own
2346
+ * normalized pageview already carries the arrival on the same journey, so a
2347
+ * second event would add no fact. `capability_refusal_displayed` and
2348
+ * `signer_refusal_displayed` belong to the screens that draw those refusals
2349
+ * (Recipients, Invoice, Payroll, Quick Pay); Access publishes the contract and
2350
+ * the `CanReason` those owners report, and produces neither itself.
2351
+ */
2352
+ declare const UiAccessStepCompletedTelemetryEventSchema: Schema.Struct<{
2353
+ readonly name: Schema.Literal<"ui_access_step_completed">;
2354
+ readonly props: Schema.Struct<{
2355
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2356
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2357
+ readonly journey_id: Schema.optional<Schema.String>;
2358
+ readonly correlation_id: Schema.optional<Schema.String>;
2359
+ readonly sdk_version: Schema.optional<Schema.String>;
2360
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2361
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2362
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2363
+ readonly step: Schema.Literals<readonly ["dashboard_granted", "redirect_completed", "gate_error_displayed", "retry_selected", "capability_refusal_displayed", "signer_refusal_displayed"]>;
2364
+ readonly capability: Schema.optional<Schema.Literals<readonly ["spend", "managePeople"]>>;
2365
+ readonly probe: Schema.optional<Schema.Literals<readonly ["session", "membership", "lifecycle"]>>;
2366
+ readonly reason: Schema.optional<Schema.Literals<readonly ["loading", "no-permission", "org-unavailable"]>>;
2367
+ }>;
2368
+ }>;
2369
+ /**
2370
+ * R06 (#1964) wired three of the four progress words to the durable writer that
2371
+ * commits each one. `account_ready` comes from `org/memberLifecycle.ts`, for
2372
+ * every membership row a claimed personal Account actually advanced.
2373
+ * `permission_applied` and `membership_activated` come from
2374
+ * `permission/mirror.ts`: the first only when the mirror wrote a NEW Permission
2375
+ * state, the second only when that call flipped a `pending_grant` row to
2376
+ * `active`. A replay of an applied command writes neither, so it reports
2377
+ * neither. `revoked` stays RESERVED and unproduced — no writer revokes a
2378
+ * membership yet, and #1459 owns that ceremony.
2379
+ */
2380
+ declare const OrgInviteProgressedTelemetryEventSchema: Schema.Struct<{
2381
+ readonly name: Schema.Literal<"org_invite_progressed">;
2382
+ readonly props: Schema.Struct<{
2383
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2384
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2385
+ readonly journey_id: Schema.optional<Schema.String>;
2386
+ readonly correlation_id: Schema.optional<Schema.String>;
2387
+ readonly sdk_version: Schema.optional<Schema.String>;
2388
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2389
+ readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
2390
+ /** The invited Party. The initiating actor stays on the envelope's identity. */
2391
+ readonly member_party_id: Schema.String;
2392
+ readonly invitation_id: Schema.optional<Schema.String>;
2393
+ readonly generation: Schema.optional<Schema.String>;
2394
+ readonly command_id: Schema.optional<Schema.String>;
2395
+ readonly occurred_at: Schema.Number;
2396
+ }>;
2397
+ }>;
2398
+ declare const InvoiceIssuedTelemetryEventSchema: Schema.Struct<{
2399
+ readonly name: Schema.Literal<"invoice_issued">;
2400
+ readonly props: Schema.Struct<{
2401
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2402
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2403
+ readonly journey_id: Schema.optional<Schema.String>;
2404
+ readonly correlation_id: Schema.optional<Schema.String>;
2405
+ readonly sdk_version: Schema.optional<Schema.String>;
2406
+ readonly request_id: Schema.String;
2407
+ readonly issuer_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2408
+ readonly issuer_scope_id: Schema.String;
2409
+ readonly payer_party_id: Schema.optional<Schema.String>;
2410
+ readonly occurred_at: Schema.Number;
2411
+ }>;
2412
+ }>;
2413
+ declare const InvoiceRequestTransitionedTelemetryEventSchema: Schema.Struct<{
2414
+ readonly name: Schema.Literal<"invoice_request_transitioned">;
2415
+ readonly props: Schema.Struct<{
2416
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2417
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2418
+ readonly journey_id: Schema.optional<Schema.String>;
2419
+ readonly correlation_id: Schema.optional<Schema.String>;
2420
+ readonly sdk_version: Schema.optional<Schema.String>;
2421
+ readonly request_id: Schema.String;
2422
+ readonly transition: Schema.Literals<readonly ["approval_prepared", "declined", "cancelled"]>;
2423
+ readonly actor_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2424
+ readonly actor_scope_id: Schema.String;
2425
+ readonly occurred_at: Schema.Number;
2426
+ }>;
2427
+ }>;
2428
+ declare const UiInvoiceStepCompletedTelemetryEventSchema: Schema.Struct<{
2429
+ readonly name: Schema.Literal<"ui_invoice_step_completed">;
2430
+ readonly props: Schema.Struct<{
2431
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2432
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2433
+ readonly journey_id: Schema.optional<Schema.String>;
2434
+ readonly correlation_id: Schema.optional<Schema.String>;
2435
+ readonly sdk_version: Schema.optional<Schema.String>;
2436
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2437
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2438
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2439
+ readonly step: Schema.Literals<readonly ["opened", "previewed", "dismissed", "submitted", "result_displayed", "refusal_displayed", "retry_selected"]>;
2440
+ readonly request_id: Schema.optional<Schema.String>;
2441
+ }>;
2442
+ }>;
2443
+ declare const UiTreasuryStepCompletedTelemetryEventSchema: Schema.Struct<{
2444
+ readonly name: Schema.Literal<"ui_treasury_step_completed">;
2445
+ readonly props: Schema.Struct<{
2446
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2447
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2448
+ readonly journey_id: Schema.optional<Schema.String>;
2449
+ readonly correlation_id: Schema.optional<Schema.String>;
2450
+ readonly sdk_version: Schema.optional<Schema.String>;
2451
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2452
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2453
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2454
+ readonly step: Schema.Literals<readonly ["balance_displayed", "read_refusal_displayed", "retry_selected", "recovery_completed"]>;
2455
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2456
+ }>;
2457
+ }>;
2458
+ declare const UiReceiveStepCompletedTelemetryEventSchema: Schema.Struct<{
2459
+ readonly name: Schema.Literal<"ui_receive_step_completed">;
2460
+ readonly props: Schema.Struct<{
2461
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2462
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2463
+ readonly journey_id: Schema.optional<Schema.String>;
2464
+ readonly correlation_id: Schema.optional<Schema.String>;
2465
+ readonly sdk_version: Schema.optional<Schema.String>;
2466
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2467
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2468
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2469
+ readonly step: Schema.Literals<readonly ["instructions_displayed", "address_copied", "copy_failed", "refusal_displayed", "retry_selected"]>;
2470
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2471
+ }>;
2472
+ }>;
2473
+ declare const PayrollGroupChangedTelemetryEventSchema: Schema.Struct<{
2474
+ readonly name: Schema.Literal<"payroll_group_changed">;
2475
+ readonly props: Schema.Struct<{
2476
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2477
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2478
+ readonly journey_id: Schema.optional<Schema.String>;
2479
+ readonly correlation_id: Schema.optional<Schema.String>;
2480
+ readonly sdk_version: Schema.optional<Schema.String>;
2481
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2482
+ readonly change: Schema.Literals<readonly ["created", "updated", "deleted"]>;
2483
+ readonly group_id: Schema.String;
2484
+ readonly member_count: Schema.Number;
2485
+ readonly occurred_at: Schema.Number;
2486
+ }>;
2487
+ }>;
2488
+ declare const PayrollRunTransitionedTelemetryEventSchema: Schema.Struct<{
2489
+ readonly name: Schema.Literal<"payroll_run_transitioned">;
2490
+ readonly props: Schema.Struct<{
2491
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2492
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2493
+ readonly journey_id: Schema.optional<Schema.String>;
2494
+ readonly correlation_id: Schema.optional<Schema.String>;
2495
+ readonly sdk_version: Schema.optional<Schema.String>;
2496
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2497
+ readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2498
+ readonly run_id: Schema.String;
2499
+ /**
2500
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2501
+ * this run's Payment membership. `payment_count` counts THAT command's
2502
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2503
+ */
2504
+ readonly command_id: Schema.optional<Schema.String>;
2505
+ readonly payment_count: Schema.optional<Schema.Number>;
2506
+ readonly occurred_at: Schema.Number;
2507
+ }>;
2508
+ }>;
2509
+ declare const UiPayrollActionCompletedTelemetryEventSchema: Schema.Struct<{
2510
+ readonly name: Schema.Literal<"ui_payroll_action_completed">;
2511
+ readonly props: Schema.Struct<{
2512
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2513
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2514
+ readonly journey_id: Schema.optional<Schema.String>;
2515
+ readonly correlation_id: Schema.optional<Schema.String>;
2516
+ readonly sdk_version: Schema.optional<Schema.String>;
2517
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2518
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2519
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2520
+ readonly action: Schema.Literals<readonly ["opened", "refusal_displayed", "recovery_completed", "cancelled", "submitted_displayed"]>;
2521
+ readonly run_id: Schema.optional<Schema.String>;
2522
+ }>;
2523
+ }>;
1979
2524
  declare const TELEMETRY_EVENT_SCHEMAS: {
1980
2525
  readonly contact_relationship_changed: Schema.Struct<{
1981
2526
  readonly name: Schema.Literal<"contact_relationship_changed">;
@@ -1995,6 +2540,191 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1995
2540
  readonly operation: Schema.Literals<readonly ["addressBook.add", "addressBook.label", "addressBook.hide", "addressBook.unhide"]>;
1996
2541
  }>;
1997
2542
  }>;
2543
+ readonly access_recovery_completed: Schema.Struct<{
2544
+ readonly name: Schema.Literal<"access_recovery_completed">;
2545
+ readonly props: Schema.Union<readonly [Schema.Struct<{
2546
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2547
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2548
+ readonly journey_id: Schema.optional<Schema.String>;
2549
+ readonly correlation_id: Schema.optional<Schema.String>;
2550
+ readonly sdk_version: Schema.optional<Schema.String>;
2551
+ readonly recovery: Schema.Literal<"session_restoration">;
2552
+ readonly outcome: Schema.Literals<readonly ["restored", "absent", "failed"]>;
2553
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2554
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2555
+ }>, Schema.Struct<{
2556
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2557
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2558
+ readonly journey_id: Schema.optional<Schema.String>;
2559
+ readonly correlation_id: Schema.optional<Schema.String>;
2560
+ readonly sdk_version: Schema.optional<Schema.String>;
2561
+ readonly recovery: Schema.Literal<"signer_readiness">;
2562
+ readonly outcome: Schema.Literals<readonly ["ready", "unavailable"]>;
2563
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2564
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2565
+ }>]>;
2566
+ }>;
2567
+ readonly ui_access_step_completed: Schema.Struct<{
2568
+ readonly name: Schema.Literal<"ui_access_step_completed">;
2569
+ readonly props: Schema.Struct<{
2570
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2571
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2572
+ readonly journey_id: Schema.optional<Schema.String>;
2573
+ readonly correlation_id: Schema.optional<Schema.String>;
2574
+ readonly sdk_version: Schema.optional<Schema.String>;
2575
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2576
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2577
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2578
+ readonly step: Schema.Literals<readonly ["dashboard_granted", "redirect_completed", "gate_error_displayed", "retry_selected", "capability_refusal_displayed", "signer_refusal_displayed"]>;
2579
+ readonly capability: Schema.optional<Schema.Literals<readonly ["spend", "managePeople"]>>;
2580
+ readonly probe: Schema.optional<Schema.Literals<readonly ["session", "membership", "lifecycle"]>>;
2581
+ readonly reason: Schema.optional<Schema.Literals<readonly ["loading", "no-permission", "org-unavailable"]>>;
2582
+ }>;
2583
+ }>;
2584
+ readonly org_invite_progressed: Schema.Struct<{
2585
+ readonly name: Schema.Literal<"org_invite_progressed">;
2586
+ readonly props: Schema.Struct<{
2587
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2588
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2589
+ readonly journey_id: Schema.optional<Schema.String>;
2590
+ readonly correlation_id: Schema.optional<Schema.String>;
2591
+ readonly sdk_version: Schema.optional<Schema.String>;
2592
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2593
+ readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
2594
+ /** The invited Party. The initiating actor stays on the envelope's identity. */
2595
+ readonly member_party_id: Schema.String;
2596
+ readonly invitation_id: Schema.optional<Schema.String>;
2597
+ readonly generation: Schema.optional<Schema.String>;
2598
+ readonly command_id: Schema.optional<Schema.String>;
2599
+ readonly occurred_at: Schema.Number;
2600
+ }>;
2601
+ }>;
2602
+ readonly invoice_issued: Schema.Struct<{
2603
+ readonly name: Schema.Literal<"invoice_issued">;
2604
+ readonly props: Schema.Struct<{
2605
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2606
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2607
+ readonly journey_id: Schema.optional<Schema.String>;
2608
+ readonly correlation_id: Schema.optional<Schema.String>;
2609
+ readonly sdk_version: Schema.optional<Schema.String>;
2610
+ readonly request_id: Schema.String;
2611
+ readonly issuer_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2612
+ readonly issuer_scope_id: Schema.String;
2613
+ readonly payer_party_id: Schema.optional<Schema.String>;
2614
+ readonly occurred_at: Schema.Number;
2615
+ }>;
2616
+ }>;
2617
+ readonly invoice_request_transitioned: Schema.Struct<{
2618
+ readonly name: Schema.Literal<"invoice_request_transitioned">;
2619
+ readonly props: Schema.Struct<{
2620
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2621
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2622
+ readonly journey_id: Schema.optional<Schema.String>;
2623
+ readonly correlation_id: Schema.optional<Schema.String>;
2624
+ readonly sdk_version: Schema.optional<Schema.String>;
2625
+ readonly request_id: Schema.String;
2626
+ readonly transition: Schema.Literals<readonly ["approval_prepared", "declined", "cancelled"]>;
2627
+ readonly actor_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2628
+ readonly actor_scope_id: Schema.String;
2629
+ readonly occurred_at: Schema.Number;
2630
+ }>;
2631
+ }>;
2632
+ readonly ui_invoice_step_completed: Schema.Struct<{
2633
+ readonly name: Schema.Literal<"ui_invoice_step_completed">;
2634
+ readonly props: Schema.Struct<{
2635
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2636
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2637
+ readonly journey_id: Schema.optional<Schema.String>;
2638
+ readonly correlation_id: Schema.optional<Schema.String>;
2639
+ readonly sdk_version: Schema.optional<Schema.String>;
2640
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2641
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2642
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2643
+ readonly step: Schema.Literals<readonly ["opened", "previewed", "dismissed", "submitted", "result_displayed", "refusal_displayed", "retry_selected"]>;
2644
+ readonly request_id: Schema.optional<Schema.String>;
2645
+ }>;
2646
+ }>;
2647
+ readonly ui_treasury_step_completed: Schema.Struct<{
2648
+ readonly name: Schema.Literal<"ui_treasury_step_completed">;
2649
+ readonly props: Schema.Struct<{
2650
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2651
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2652
+ readonly journey_id: Schema.optional<Schema.String>;
2653
+ readonly correlation_id: Schema.optional<Schema.String>;
2654
+ readonly sdk_version: Schema.optional<Schema.String>;
2655
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2656
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2657
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2658
+ readonly step: Schema.Literals<readonly ["balance_displayed", "read_refusal_displayed", "retry_selected", "recovery_completed"]>;
2659
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2660
+ }>;
2661
+ }>;
2662
+ readonly ui_receive_step_completed: Schema.Struct<{
2663
+ readonly name: Schema.Literal<"ui_receive_step_completed">;
2664
+ readonly props: Schema.Struct<{
2665
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2666
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2667
+ readonly journey_id: Schema.optional<Schema.String>;
2668
+ readonly correlation_id: Schema.optional<Schema.String>;
2669
+ readonly sdk_version: Schema.optional<Schema.String>;
2670
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2671
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2672
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2673
+ readonly step: Schema.Literals<readonly ["instructions_displayed", "address_copied", "copy_failed", "refusal_displayed", "retry_selected"]>;
2674
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2675
+ }>;
2676
+ }>;
2677
+ readonly payroll_group_changed: Schema.Struct<{
2678
+ readonly name: Schema.Literal<"payroll_group_changed">;
2679
+ readonly props: Schema.Struct<{
2680
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2681
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2682
+ readonly journey_id: Schema.optional<Schema.String>;
2683
+ readonly correlation_id: Schema.optional<Schema.String>;
2684
+ readonly sdk_version: Schema.optional<Schema.String>;
2685
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2686
+ readonly change: Schema.Literals<readonly ["created", "updated", "deleted"]>;
2687
+ readonly group_id: Schema.String;
2688
+ readonly member_count: Schema.Number;
2689
+ readonly occurred_at: Schema.Number;
2690
+ }>;
2691
+ }>;
2692
+ readonly payroll_run_transitioned: Schema.Struct<{
2693
+ readonly name: Schema.Literal<"payroll_run_transitioned">;
2694
+ readonly props: Schema.Struct<{
2695
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2696
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2697
+ readonly journey_id: Schema.optional<Schema.String>;
2698
+ readonly correlation_id: Schema.optional<Schema.String>;
2699
+ readonly sdk_version: Schema.optional<Schema.String>;
2700
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2701
+ readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2702
+ readonly run_id: Schema.String;
2703
+ /**
2704
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2705
+ * this run's Payment membership. `payment_count` counts THAT command's
2706
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2707
+ */
2708
+ readonly command_id: Schema.optional<Schema.String>;
2709
+ readonly payment_count: Schema.optional<Schema.Number>;
2710
+ readonly occurred_at: Schema.Number;
2711
+ }>;
2712
+ }>;
2713
+ readonly ui_payroll_action_completed: Schema.Struct<{
2714
+ readonly name: Schema.Literal<"ui_payroll_action_completed">;
2715
+ readonly props: Schema.Struct<{
2716
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2717
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2718
+ readonly journey_id: Schema.optional<Schema.String>;
2719
+ readonly correlation_id: Schema.optional<Schema.String>;
2720
+ readonly sdk_version: Schema.optional<Schema.String>;
2721
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2722
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2723
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2724
+ readonly action: Schema.Literals<readonly ["opened", "refusal_displayed", "recovery_completed", "cancelled", "submitted_displayed"]>;
2725
+ readonly run_id: Schema.optional<Schema.String>;
2726
+ }>;
2727
+ }>;
1998
2728
  readonly ui_contact_action_completed: Schema.Struct<{
1999
2729
  readonly name: Schema.Literal<"ui_contact_action_completed">;
2000
2730
  readonly props: Schema.Union<readonly [Schema.Struct<{
@@ -2032,6 +2762,100 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2032
2762
  readonly outcome: Schema.Literal<"requested">;
2033
2763
  }>]>;
2034
2764
  }>;
2765
+ readonly cli_diagnostic_completed: Schema.Struct<{
2766
+ readonly name: Schema.Literal<"cli_diagnostic_completed">;
2767
+ readonly props: Schema.Struct<{
2768
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2769
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2770
+ readonly journey_id: Schema.optional<Schema.String>;
2771
+ readonly correlation_id: Schema.optional<Schema.String>;
2772
+ readonly sdk_version: Schema.optional<Schema.String>;
2773
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2774
+ readonly invocation_id: Schema.String;
2775
+ readonly cli_version: Schema.String;
2776
+ }>;
2777
+ }>;
2778
+ readonly cli_first_used: Schema.Struct<{
2779
+ readonly name: Schema.Literal<"cli_first_used">;
2780
+ readonly props: Schema.Struct<{
2781
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2782
+ producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2783
+ journey_id: Schema.optional<Schema.String>;
2784
+ correlation_id: Schema.optional<Schema.String>;
2785
+ schema_version: Schema.Literal<1>;
2786
+ command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
2787
+ capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
2788
+ invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2789
+ invocation_id: Schema.String;
2790
+ cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2791
+ anonymous_id: Schema.optional<Schema.String>;
2792
+ auth_user_id: Schema.optional<Schema.String>;
2793
+ occurred_at: Schema.Number;
2794
+ cli_version: Schema.String;
2795
+ sdk_version: Schema.String;
2796
+ release: Schema.String;
2797
+ platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2798
+ architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2799
+ ci: Schema.Boolean;
2800
+ tty: Schema.Boolean;
2801
+ output_mode: Schema.Literals<readonly ["human", "json"]>;
2802
+ }>;
2803
+ }>;
2804
+ readonly cli_command_started: Schema.Struct<{
2805
+ readonly name: Schema.Literal<"cli_command_started">;
2806
+ readonly props: Schema.Struct<{
2807
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2808
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2809
+ readonly journey_id: Schema.optional<Schema.String>;
2810
+ readonly correlation_id: Schema.optional<Schema.String>;
2811
+ readonly schema_version: Schema.Literal<1>;
2812
+ readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
2813
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
2814
+ readonly invocation_id: Schema.String;
2815
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2816
+ readonly anonymous_id: Schema.optional<Schema.String>;
2817
+ readonly auth_user_id: Schema.optional<Schema.String>;
2818
+ readonly occurred_at: Schema.Number;
2819
+ readonly cli_version: Schema.String;
2820
+ readonly sdk_version: Schema.String;
2821
+ readonly release: Schema.String;
2822
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2823
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2824
+ readonly ci: Schema.Boolean;
2825
+ readonly tty: Schema.Boolean;
2826
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2827
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version"]>;
2828
+ }>;
2829
+ }>;
2830
+ readonly cli_command_completed: Schema.Struct<{
2831
+ readonly name: Schema.Literal<"cli_command_completed">;
2832
+ readonly props: Schema.Struct<{
2833
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2834
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2835
+ readonly journey_id: Schema.optional<Schema.String>;
2836
+ readonly correlation_id: Schema.optional<Schema.String>;
2837
+ readonly schema_version: Schema.Literal<1>;
2838
+ readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
2839
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
2840
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2841
+ readonly invocation_id: Schema.String;
2842
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2843
+ readonly anonymous_id: Schema.optional<Schema.String>;
2844
+ readonly auth_user_id: Schema.optional<Schema.String>;
2845
+ readonly occurred_at: Schema.Number;
2846
+ readonly cli_version: Schema.String;
2847
+ readonly sdk_version: Schema.String;
2848
+ readonly release: Schema.String;
2849
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2850
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2851
+ readonly ci: Schema.Boolean;
2852
+ readonly tty: Schema.Boolean;
2853
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2854
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2855
+ readonly duration_ms: Schema.Number;
2856
+ readonly error_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED", "CLI_USAGE", "CLI_CONFIG", "CLI_STORAGE", "CLI_DEFECT"]>>;
2857
+ }>;
2858
+ }>;
2035
2859
  readonly activity_annotation_saved: Schema.Struct<{
2036
2860
  readonly name: Schema.Literal<"activity_annotation_saved">;
2037
2861
  readonly props: Schema.Struct<{
@@ -2050,6 +2874,17 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2050
2874
  readonly ui_activity_action_completed: Schema.Struct<{
2051
2875
  readonly name: Schema.Literal<"ui_activity_action_completed">;
2052
2876
  readonly props: Schema.Union<readonly [Schema.Struct<{
2877
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2878
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2879
+ readonly journey_id: Schema.optional<Schema.String>;
2880
+ readonly correlation_id: Schema.optional<Schema.String>;
2881
+ readonly sdk_version: Schema.optional<Schema.String>;
2882
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2883
+ readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2884
+ readonly action: Schema.Literal<"read">;
2885
+ readonly outcome: Schema.Literals<readonly ["partial_displayed", "recovered"]>;
2886
+ readonly surface: Schema.Literals<readonly ["transactions", "recent", "summary"]>;
2887
+ }>, Schema.Struct<{
2053
2888
  readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2054
2889
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2055
2890
  readonly journey_id: Schema.optional<Schema.String>;
@@ -2212,6 +3047,24 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2212
3047
  readonly reason: Schema.optional<Schema.String>;
2213
3048
  }>;
2214
3049
  }>;
3050
+ readonly identity_refused: Schema.Struct<{
3051
+ readonly name: Schema.Literal<"identity_refused">;
3052
+ readonly props: Schema.Struct<{
3053
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3054
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3055
+ readonly journey_id: Schema.optional<Schema.String>;
3056
+ readonly correlation_id: Schema.optional<Schema.String>;
3057
+ readonly sdk_version: Schema.optional<Schema.String>;
3058
+ /** The refused identity event tag, for example CreateOrganization. */
3059
+ readonly event: Schema.optional<Schema.String>;
3060
+ /** The machine's refusal code: WRONG_STATE, SUPERSEDED or STALE_EPOCH. */
3061
+ readonly refusal_code: Schema.optional<Schema.String>;
3062
+ /** The machine slot the request targeted, for example identity:org. */
3063
+ readonly slot: Schema.optional<Schema.String>;
3064
+ /** The machine state at refusal, for example authenticated:claiming. */
3065
+ readonly state: Schema.optional<Schema.String>;
3066
+ }>;
3067
+ }>;
2215
3068
  readonly auth_signed_out: Schema.Struct<{
2216
3069
  readonly name: Schema.Literal<"auth_signed_out">;
2217
3070
  readonly props: Schema.Struct<{
@@ -2222,6 +3075,81 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2222
3075
  sdk_version: Schema.optional<Schema.String>;
2223
3076
  }>;
2224
3077
  }>;
3078
+ readonly native_authorization_started: Schema.Struct<{
3079
+ readonly name: Schema.Literal<"native_authorization_started">;
3080
+ readonly props: Schema.Struct<{
3081
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3082
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3083
+ readonly journey_id: Schema.optional<Schema.String>;
3084
+ readonly correlation_id: Schema.optional<Schema.String>;
3085
+ readonly sdk_version: Schema.optional<Schema.String>;
3086
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3087
+ }>;
3088
+ }>;
3089
+ readonly native_authorization_reviewed: Schema.Struct<{
3090
+ readonly name: Schema.Literal<"native_authorization_reviewed">;
3091
+ readonly props: Schema.Struct<{
3092
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3093
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3094
+ readonly journey_id: Schema.optional<Schema.String>;
3095
+ readonly correlation_id: Schema.optional<Schema.String>;
3096
+ readonly sdk_version: Schema.optional<Schema.String>;
3097
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3098
+ }>;
3099
+ }>;
3100
+ readonly native_authorization_accepted: Schema.Struct<{
3101
+ readonly name: Schema.Literal<"native_authorization_accepted">;
3102
+ readonly props: Schema.Struct<{
3103
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3104
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3105
+ readonly journey_id: Schema.optional<Schema.String>;
3106
+ readonly correlation_id: Schema.optional<Schema.String>;
3107
+ readonly sdk_version: Schema.optional<Schema.String>;
3108
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3109
+ /** Whether consent also had to finish account setup first. */
3110
+ readonly setup_state: Schema.optional<Schema.Literals<readonly ["not_required", "new", "resumable"]>>;
3111
+ }>;
3112
+ }>;
3113
+ readonly native_authorization_denied: Schema.Struct<{
3114
+ readonly name: Schema.Literal<"native_authorization_denied">;
3115
+ readonly props: Schema.Struct<{
3116
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3117
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3118
+ readonly journey_id: Schema.optional<Schema.String>;
3119
+ readonly correlation_id: Schema.optional<Schema.String>;
3120
+ readonly sdk_version: Schema.optional<Schema.String>;
3121
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3122
+ }>;
3123
+ }>;
3124
+ readonly native_authorization_connected: Schema.Struct<{
3125
+ readonly name: Schema.Literal<"native_authorization_connected">;
3126
+ readonly props: Schema.Struct<{
3127
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3128
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3129
+ readonly journey_id: Schema.optional<Schema.String>;
3130
+ readonly correlation_id: Schema.optional<Schema.String>;
3131
+ readonly sdk_version: Schema.optional<Schema.String>;
3132
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3133
+ }>;
3134
+ }>;
3135
+ readonly native_authorization_failed: Schema.Struct<{
3136
+ readonly name: Schema.Literal<"native_authorization_failed">;
3137
+ readonly props: Schema.Struct<{
3138
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3139
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3140
+ readonly journey_id: Schema.optional<Schema.String>;
3141
+ readonly correlation_id: Schema.optional<Schema.String>;
3142
+ readonly sdk_version: Schema.optional<Schema.String>;
3143
+ readonly mode: Schema.optional<Schema.Literals<readonly ["login", "signup"]>>;
3144
+ /** The refusal word the store returned, for example `identity_mismatch` or
3145
+ * `request_expired`. These are the closed `CLIENT_AUTHORIZATION_REFUSALS` from
3146
+ * `@capxul/wire` plus the store-internal `fresh_session_required` (ruling R3),
3147
+ * which the continuation maps to `identity_mismatch` on the wire but reports
3148
+ * truthfully here. Kept as `OptionalString` rather than an imported literal
3149
+ * set: this package must not depend on the transport contract. */
3150
+ readonly reason: Schema.optional<Schema.String>;
3151
+ }>;
3152
+ }>;
2225
3153
  readonly onboarding_intent_selected: Schema.Struct<{
2226
3154
  readonly name: Schema.Literal<"onboarding_intent_selected">;
2227
3155
  readonly props: Schema.Struct<{
@@ -2500,6 +3428,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2500
3428
  readonly correlation_id: Schema.optional<Schema.String>;
2501
3429
  readonly sdk_version: Schema.optional<Schema.String>;
2502
3430
  readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
3431
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
3432
+ readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3433
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
3434
+ readonly asset_id: Schema.optional<Schema.String>;
2503
3435
  readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
2504
3436
  readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
2505
3437
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
@@ -2553,6 +3485,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2553
3485
  readonly sdk_version: Schema.optional<Schema.String>;
2554
3486
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
2555
3487
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3488
+ readonly asset_id: Schema.optional<Schema.String>;
2556
3489
  }>;
2557
3490
  }>;
2558
3491
  readonly faucet_confirmed: Schema.Struct<{
@@ -2566,6 +3499,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2566
3499
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
2567
3500
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
2568
3501
  readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
3502
+ readonly asset_id: Schema.optional<Schema.String>;
3503
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
2569
3504
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
2570
3505
  }>;
2571
3506
  }>;
@@ -2605,6 +3540,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2605
3540
  readonly server: Schema.optional<Schema.String>;
2606
3541
  }>>;
2607
3542
  readonly reason: Schema.optional<Schema.String>;
3543
+ readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
3544
+ readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3545
+ readonly asset_id: Schema.optional<Schema.String>;
3546
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
2608
3547
  }>;
2609
3548
  }>;
2610
3549
  readonly chain_upstream_fallback: Schema.Struct<{
@@ -2800,6 +3739,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2800
3739
  readonly correlation_id: Schema.optional<Schema.String>;
2801
3740
  readonly sdk_version: Schema.optional<Schema.String>;
2802
3741
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
3742
+ readonly invitation_id: Schema.optional<Schema.String>;
3743
+ readonly generation: Schema.optional<Schema.String>;
3744
+ readonly command_id: Schema.optional<Schema.String>;
3745
+ readonly subject_party_id: Schema.optional<Schema.String>;
3746
+ readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
2803
3747
  readonly email_domain: Schema.optional<Schema.String>;
2804
3748
  readonly role: Schema.optional<Schema.String>;
2805
3749
  readonly status: Schema.optional<Schema.String>;
@@ -2814,6 +3758,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2814
3758
  readonly correlation_id: Schema.optional<Schema.String>;
2815
3759
  readonly sdk_version: Schema.optional<Schema.String>;
2816
3760
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
3761
+ readonly invitation_id: Schema.optional<Schema.String>;
3762
+ readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
3763
+ readonly generation: Schema.optional<Schema.String>;
3764
+ readonly command_id: Schema.optional<Schema.String>;
3765
+ readonly subject_party_id: Schema.optional<Schema.String>;
2817
3766
  readonly role: Schema.optional<Schema.String>;
2818
3767
  readonly status: Schema.optional<Schema.String>;
2819
3768
  }>;
@@ -2828,6 +3777,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2828
3777
  readonly sdk_version: Schema.optional<Schema.String>;
2829
3778
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2830
3779
  readonly email_domain: Schema.optional<Schema.String>;
3780
+ readonly invitation_id: Schema.optional<Schema.String>;
2831
3781
  readonly reason: Schema.optional<Schema.String>;
2832
3782
  readonly role: Schema.optional<Schema.String>;
2833
3783
  readonly status: Schema.optional<Schema.String>;
@@ -3072,10 +4022,38 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3072
4022
  readonly journey_id: Schema.optional<Schema.String>;
3073
4023
  readonly correlation_id: Schema.optional<Schema.String>;
3074
4024
  readonly sdk_version: Schema.optional<Schema.String>;
4025
+ /** The RECEIPT verification outcome. What the mirror then did is separate. */
3075
4026
  readonly outcome: Schema.String;
3076
4027
  readonly reason: Schema.String;
3077
4028
  readonly chain_id: Schema.Number;
3078
4029
  readonly retry_count: Schema.Number;
4030
+ /**
4031
+ * #1960 R02, consumed by R03. A verified receipt is not an applied Permission:
4032
+ * these two optional fields let the producer say what the applying mutation
4033
+ * actually returned, and which command it was, without either fact rewriting
4034
+ * the receipt outcome above. Absent when application has not happened yet.
4035
+ */
4036
+ readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
4037
+ readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
4038
+ readonly command_id: Schema.optional<Schema.String>;
4039
+ readonly invitation_id: Schema.optional<Schema.String>;
4040
+ readonly generation: Schema.optional<Schema.String>;
4041
+ readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
4042
+ readonly $insert_id: Schema.optional<Schema.String>;
4043
+ /**
4044
+ * #1961 R03. The authorized stored row names the Permission it changed; the
4045
+ * verified receipt names the chain facts that prove it. Every field is
4046
+ * optional because a pending or provider-failed verification has neither an
4047
+ * application result nor a receipt to report.
4048
+ */
4049
+ readonly permission_id: Schema.optional<Schema.String>;
4050
+ readonly permission_assignment_id: Schema.optional<Schema.String>;
4051
+ readonly permission_operation: Schema.optional<Schema.Literals<readonly ["create", "change", "assign", "revoke", "replace"]>>;
4052
+ readonly revision: Schema.optional<Schema.Number>;
4053
+ readonly user_op_hash: Schema.optional<Schema.String>;
4054
+ readonly transaction_hash: Schema.optional<Schema.String>;
4055
+ readonly block_number: Schema.optional<Schema.Number>;
4056
+ readonly log_index: Schema.optional<Schema.Number>;
3079
4057
  }>;
3080
4058
  }>;
3081
4059
  readonly movement_scan_window: Schema.Struct<{
@@ -3123,6 +4101,25 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3123
4101
  readonly anchor_block_number: Schema.Number;
3124
4102
  }>;
3125
4103
  }>;
4104
+ readonly indexer_drift_corrected: Schema.Struct<{
4105
+ readonly name: Schema.Literal<"indexer_drift_corrected">;
4106
+ readonly props: Schema.Struct<{
4107
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
4108
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
4109
+ readonly journey_id: Schema.optional<Schema.String>;
4110
+ readonly correlation_id: Schema.optional<Schema.String>;
4111
+ readonly sdk_version: Schema.optional<Schema.String>;
4112
+ readonly projection_kind: Schema.Literals<readonly ["member_authority", "payment_settlement", "permission_assignment"]>;
4113
+ readonly previous_state: Schema.String;
4114
+ readonly current_state: Schema.String;
4115
+ readonly previous_block: Schema.optional<Schema.Number>;
4116
+ readonly current_block: Schema.optional<Schema.Number>;
4117
+ readonly logical_event_id: Schema.optional<Schema.String>;
4118
+ readonly scope_kind: Schema.optional<Schema.Literals<readonly ["account", "organization"]>>;
4119
+ readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
4120
+ readonly reference_id: Schema.optional<Schema.String>;
4121
+ }>;
4122
+ }>;
3126
4123
  };
3127
4124
  declare const FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS: readonly [];
3128
4125
  /**
@@ -3141,7 +4138,7 @@ declare const CONTRACT_FIRST_TELEMETRY_EVENTS: readonly [];
3141
4138
  */
3142
4139
  declare const PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS: readonly ["auth_otp_expired"];
3143
4140
  /** Catalogued browser observations whose producers remain owned by app adoption. */
3144
- declare const BROWSER_GATED_TELEMETRY_EVENTS: readonly ["onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "ui_activity_action_completed", "ui_contact_action_completed"];
4141
+ declare const BROWSER_GATED_TELEMETRY_EVENTS: readonly ["onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "ui_activity_action_completed", "ui_contact_action_completed", "ui_access_step_completed", "ui_invoice_step_completed", "ui_treasury_step_completed", "ui_receive_step_completed", "ui_payroll_action_completed"];
3145
4142
  interface TelemetryIdentifyInput {
3146
4143
  readonly distinctId: string;
3147
4144
  readonly anonDistinctId?: AnonymousDistinctId;
@@ -3178,8 +4175,8 @@ interface PostHogBrowserCapture {
3178
4175
  * property before transport. Browser applications may carry emails, draft ids,
3179
4176
  * or other capabilities in the URL; those values must never leave the origin.
3180
4177
  *
3181
- * The callback mutates and returns the supplied event, matching PostHog's
3182
- * `before_send` contract while preserving the event's full structural type.
4178
+ * The callback replaces the event's data with a sanitized copy. Nested values
4179
+ * can refer to live clients or configuration; observation must never mutate them.
3183
4180
  */
3184
4181
  declare function sanitizePostHogBrowserEvent<T extends PostHogBrowserCapture | null>(event: T, urlPolicy?: "path-only" | "diagnostic"): T;
3185
4182
  /**
@@ -3360,4 +4357,4 @@ declare class InMemoryTelemetryBusAdapter implements TelemetryPort {
3360
4357
  reportHandledError(_error: CapxulError, _context?: HandledErrorReportContext): Effect.Effect<void, never>;
3361
4358
  }
3362
4359
  //#endregion
3363
- export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, ActivityAnnotationSavedTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CAPXUL_OPERATIONS, CONTRACT_FIRST_TELEMETRY_EVENTS, CapturedNetworkRequestLike, CapxulBrowserAnalyticsInput, CapxulEnv, type CapxulOperation, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, FunnelJourney, FunnelStepPropertyFilter, type HandledErrorReportContext, InMemoryTelemetryBusAdapter, InitializePostHogBrowserAnalyticsInput, Journey, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NonEmptyTelemetryEventNames, type NormalizedCapxulOperation, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PointEventJourney, PostHogBeforeSend, PostHogBrowserCapture, PostHogBrowserInitialize, PostHogBrowserOptions, PostHogBrowserPageviewClient, PostHogProductAppOptions, PostHogTelemetryAdapter, PostHogUtilityAppOptions, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, TelemetryEnvelopeDefaults, TelemetryEvent, TelemetryEventName, TelemetryGroupInput, TelemetryIdentifyInput, type TelemetryPort, TelemetryProducer, TelemetryProps, TelemetryRedactionOptions, TrackHandler, UiActivityActionCompletedTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
4360
+ export { AccessRecoveryCompletedTelemetryEventSchema, AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, ActivityAnnotationSavedTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CAPXUL_OPERATIONS, CLI_CAPABILITIES, CLI_COMMAND_NAMES, CLI_INVOCATION_KINDS, CONTRACT_FIRST_TELEMETRY_EVENTS, CapturedNetworkRequestLike, CapxulBrowserAnalyticsInput, CapxulEnv, type CapxulOperation, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCapability, CliCommandCompletedTelemetryEventSchema, CliCommandName, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, CliInvocationKind, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, FunnelJourney, FunnelStepPropertyFilter, type HandledErrorReportContext, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InitializePostHogBrowserAnalyticsInput, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, Journey, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, NonEmptyTelemetryEventNames, type NormalizedCapxulOperation, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteProgressedTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PayrollGroupChangedTelemetryEventSchema, PayrollRunTransitionedTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PointEventJourney, PostHogBeforeSend, PostHogBrowserCapture, PostHogBrowserInitialize, PostHogBrowserOptions, PostHogBrowserPageviewClient, PostHogProductAppOptions, PostHogTelemetryAdapter, PostHogUtilityAppOptions, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, TelemetryEnvelopeDefaults, TelemetryEvent, TelemetryEventName, TelemetryGroupInput, TelemetryIdentifyInput, type TelemetryPort, TelemetryProducer, TelemetryProps, TelemetryRedactionOptions, TrackHandler, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };