@capxul/observability 4.20.0-beta.2 → 4.20.0-beta.20

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
@@ -227,6 +227,26 @@ declare const CAPXUL_OPERATIONS: {
227
227
  readonly createOrg: "createOrg";
228
228
  readonly orgs: "orgs";
229
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
+ };
230
250
  readonly credentials: {
231
251
  readonly bootstrapClient: "credentials.bootstrapClient";
232
252
  readonly mintQuickstartKey: "credentials.mintQuickstartKey";
@@ -266,7 +286,6 @@ declare const CAPXUL_OPERATIONS: {
266
286
  };
267
287
  readonly holdings: {
268
288
  readonly current: "holdings.current";
269
- readonly primary: "holdings.primary";
270
289
  };
271
290
  readonly indexer: {
272
291
  readonly reconcile: "indexer.reconcile";
@@ -325,12 +344,17 @@ declare const CAPXUL_OPERATIONS: {
325
344
  readonly moneyExecution: {
326
345
  readonly abandonPaymentExecution: "moneyExecution.abandonPaymentExecution";
327
346
  readonly prepareOrganizationPaymentExecution: "moneyExecution.prepareOrganizationPaymentExecution";
347
+ readonly prepareRequestPaymentExecution: "moneyExecution.prepareRequestPaymentExecution";
328
348
  readonly preparePaymentExecution: "moneyExecution.preparePaymentExecution";
329
349
  readonly preparePaymentLifecycleExecution: "moneyExecution.preparePaymentLifecycleExecution";
350
+ readonly prepareInvitationConfiguration: "moneyExecution.prepareInvitationConfiguration";
330
351
  readonly preparePermissionExecution: "moneyExecution.preparePermissionExecution";
331
352
  readonly recoverSubmissionClaims: "moneyExecution.recoverSubmissionClaims";
332
353
  readonly submit: "moneyExecution.submit";
354
+ readonly prepareInvoiceCheckoutExecution: "moneyExecution.prepareInvoiceCheckoutExecution";
355
+ readonly prepareOfferCheckoutExecution: "moneyExecution.prepareOfferCheckoutExecution";
333
356
  readonly submitPaymentCommandExecution: "moneyExecution.submitPaymentCommandExecution";
357
+ readonly submitInvitationConfigurationExecution: "moneyExecution.submitInvitationConfigurationExecution";
334
358
  readonly submitPaymentExecution: "moneyExecution.submitPaymentExecution";
335
359
  readonly submitPermissionExecution: "moneyExecution.submitPermissionExecution";
336
360
  };
@@ -339,7 +363,9 @@ declare const CAPXUL_OPERATIONS: {
339
363
  readonly scan: "movement.scan";
340
364
  };
341
365
  readonly inbox: {
366
+ readonly paymentTerms: "inbox.paymentTerms";
342
367
  readonly approve: "inbox.approve";
368
+ readonly fulfill: "inbox.fulfill";
343
369
  readonly decline: "inbox.decline";
344
370
  readonly list: "inbox.list";
345
371
  };
@@ -347,27 +373,81 @@ declare const CAPXUL_OPERATIONS: {
347
373
  readonly quote: "offramp.quote";
348
374
  readonly status: "offramp.status";
349
375
  };
376
+ readonly offers: {
377
+ readonly create: "offers.create";
378
+ readonly get: "offers.get";
379
+ readonly list: "offers.list";
380
+ readonly revise: "offers.revise";
381
+ readonly deactivate: "offers.deactivate";
382
+ };
383
+ readonly checkouts: {
384
+ readonly invoice: "checkouts.invoice";
385
+ readonly prepareInvoice: "checkouts.prepareInvoice";
386
+ readonly invoiceState: "checkouts.invoiceState";
387
+ readonly reconcileInvoice: "checkouts.reconcileInvoice";
388
+ readonly payInvoiceRegistered: "checkouts.payInvoiceRegistered";
389
+ readonly prepareRegistered: "checkouts.prepareRegistered";
390
+ readonly state: "checkouts.state";
391
+ readonly reconcile: "checkouts.reconcile";
392
+ readonly offer: "checkouts.offer";
393
+ readonly create: "checkouts.create";
394
+ readonly get: "checkouts.get";
395
+ readonly prepare: "checkouts.prepare";
396
+ };
350
397
  readonly onboarding: {
351
398
  readonly completeOrganization: "onboarding.completeOrganization";
352
399
  readonly completePerson: "onboarding.completePerson";
353
400
  };
354
401
  readonly org: {
355
- readonly acceptInvitations: "org.acceptInvitations";
356
402
  readonly account: {
357
403
  readonly get: "org.account.get";
358
404
  };
359
- readonly activateMember: "org.activateMember";
360
405
  readonly auditLog: "org.auditLog";
361
406
  readonly confirmBootstrap: "org.confirmBootstrap";
362
407
  readonly createOrg: "org.createOrg";
363
408
  readonly create: "org.create";
364
- readonly detectAndAcceptPendingInvitations: "org.detectAndAcceptPendingInvitations";
409
+ /**
410
+ * §11: the consent mutation reports `org_invite_accepted` through its own
411
+ * scheduled emitter. It is named for the emit, not the acceptance, because
412
+ * the interactive acceptance itself owns `org.invitations.accept`.
413
+ */
414
+ readonly emitInviteAccepted: "org.emitInviteAccepted";
365
415
  readonly emitInviteProgressed: "org.emitInviteProgressed";
366
416
  readonly expireInvitations: "org.expireInvitations";
367
417
  readonly getLifecycle: "org.getLifecycle";
368
418
  readonly getProofReceipt: "org.getProofReceipt";
369
419
  readonly invite: "org.invite";
370
- readonly inviteMember: "org.inviteMember";
420
+ /** D8 invitation lifecycle: preview, own list, read, and the four transitions. */
421
+ readonly invitations: {
422
+ /** The exact grantee's consent commit (§8): one accepted digest, once. */
423
+ readonly accept: "org.invitations.accept";
424
+ /**
425
+ * The authoring write. It is named `authorize`, not `invite`, because the
426
+ * backend already uses `org.invitations.invite` as a refusal label and
427
+ * `lint:telemetry-spine` refuses a label that collides with an operation.
428
+ */
429
+ readonly authorize: "org.invitations.authorize";
430
+ readonly cancel: "org.invitations.cancel";
431
+ readonly decline: "org.invitations.decline";
432
+ readonly get: "org.invitations.get";
433
+ readonly subscribe: "org.invitations.subscribe";
434
+ readonly list: "org.invitations.list";
435
+ /**
436
+ * The Admin-scoped Organization list. It is named `listScoped`, not
437
+ * `list`, because the own-offer list already owns `org.invitations.list`.
438
+ */
439
+ readonly listScoped: "org.invitations.listScoped";
440
+ /**
441
+ * The authoring write's inner hops: the SDK drives the backend's existing
442
+ * prepare/submit pair, and these names label the two Convex calls. The
443
+ * owning `capxul_sdk_operation` record stays `org.invitations.authorize`.
444
+ */
445
+ readonly prepareConfiguration: "org.invitations.prepareConfiguration";
446
+ readonly preview: "org.invitations.preview";
447
+ readonly resend: "org.invitations.resend";
448
+ readonly retry: "org.invitations.retry";
449
+ readonly submitConfiguration: "org.invitations.submitConfiguration";
450
+ };
371
451
  readonly list: "org.list";
372
452
  readonly load: "org.load";
373
453
  readonly me: "org.me";
@@ -379,16 +459,25 @@ declare const CAPXUL_OPERATIONS: {
379
459
  readonly change: "org.permissions.change";
380
460
  readonly create: "org.permissions.create";
381
461
  readonly get: "org.permissions.get";
462
+ readonly getCommand: "org.permissions.getCommand";
463
+ readonly subscribeCommand: "org.permissions.subscribeCommand";
382
464
  readonly list: "org.permissions.list";
383
465
  readonly replace: "org.permissions.replace";
466
+ readonly previewReplacement: "org.permissions.previewReplacement";
384
467
  readonly revoke: "org.permissions.revoke";
385
468
  };
386
469
  readonly payments: {
470
+ readonly get: "org.payments.get";
471
+ readonly list: "org.payments.list";
387
472
  readonly pay: "org.payments.pay";
388
473
  readonly payBatch: "org.payments.payBatch";
474
+ readonly previewRetry: "org.payments.previewRetry";
475
+ readonly subscribe: "org.payments.subscribe";
389
476
  };
390
477
  readonly payroll: {
391
478
  readonly authorizeRun: "org.payroll.authorizeRun";
479
+ readonly getRun: "org.payroll.getRun";
480
+ readonly subscribeRun: "org.payroll.subscribeRun";
392
481
  readonly groups: {
393
482
  readonly list: "org.payroll.groups.list";
394
483
  readonly remove: "org.payroll.groups.remove";
@@ -428,7 +517,6 @@ declare const CAPXUL_OPERATIONS: {
428
517
  };
429
518
  readonly recordFailure: "org.recordFailure";
430
519
  readonly recordProgress: "org.recordProgress";
431
- readonly resendInviteToken: "org.resendInviteToken";
432
520
  readonly resumeBootstrapSubmission: "org.resumeBootstrapSubmission";
433
521
  readonly retry: "org.retry";
434
522
  readonly retrySetup: "org.retrySetup";
@@ -449,9 +537,6 @@ declare const CAPXUL_OPERATIONS: {
449
537
  readonly organizationSetup: {
450
538
  readonly getProofReceipt: "organizationSetup.getProofReceipt";
451
539
  };
452
- readonly organizations: {
453
- readonly detectAndAcceptPendingInvitations: "orgs.detectAndAcceptPendingInvitations";
454
- };
455
540
  readonly payments: {
456
541
  readonly cancel: "payments.cancel";
457
542
  readonly claim: "payments.claim";
@@ -466,8 +551,10 @@ declare const CAPXUL_OPERATIONS: {
466
551
  readonly retry: "payments.retry";
467
552
  readonly submitCommandExecution: "payments.submitCommandExecution";
468
553
  readonly submitExecution: "payments.submitExecution";
554
+ readonly subscribe: "payments.subscribe";
469
555
  };
470
556
  readonly paymentDocuments: {
557
+ readonly get: "paymentDocuments.get";
471
558
  readonly render: "paymentDocuments.render";
472
559
  readonly verify: "paymentDocuments.verify";
473
560
  };
@@ -476,6 +563,8 @@ declare const CAPXUL_OPERATIONS: {
476
563
  };
477
564
  readonly payroll: {
478
565
  readonly authorizeRun: "payroll.authorizeRun";
566
+ readonly getRun: "payroll.getRun";
567
+ readonly subscribeRun: "payroll.subscribeRun";
479
568
  readonly emitGroupChanged: "payroll.emitGroupChanged";
480
569
  readonly emitRunTransitioned: "payroll.emitRunTransitioned";
481
570
  readonly groups: {
@@ -490,6 +579,9 @@ declare const CAPXUL_OPERATIONS: {
490
579
  readonly terms: "payroll.terms";
491
580
  };
492
581
  readonly permission: {
582
+ readonly getCommand: "permission.getCommand";
583
+ readonly previewReplacement: "permission.previewReplacement";
584
+ readonly verifyInvitationConfiguration: "permission.verifyInvitationConfiguration";
493
585
  readonly command: "permission.command";
494
586
  readonly retryVerification: "permission.retryVerification";
495
587
  readonly verify: "permission.verify";
@@ -500,8 +592,11 @@ declare const CAPXUL_OPERATIONS: {
500
592
  readonly change: "permissions.change";
501
593
  readonly create: "permissions.create";
502
594
  readonly get: "permissions.get";
595
+ readonly getCommand: "permissions.getCommand";
596
+ readonly subscribeCommand: "permissions.subscribeCommand";
503
597
  readonly list: "permissions.list";
504
598
  readonly prepareExecution: "permissions.prepareExecution";
599
+ readonly previewReplacement: "permissions.previewReplacement";
505
600
  readonly replace: "permissions.replace";
506
601
  readonly revoke: "permissions.revoke";
507
602
  readonly submitExecution: "permissions.submitExecution";
@@ -612,7 +707,7 @@ interface TelemetryPort {
612
707
  }
613
708
  //#endregion
614
709
  //#region src/index.d.ts
615
- declare const TELEMETRY_EVENT_NAMES: readonly ["auth_otp_requested", "auth_otp_delivered", "auth_otp_expired", "auth_verified", "auth_failed", "identity_refused", "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", "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"];
710
+ 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"];
616
711
  type TelemetryEventName = (typeof TELEMETRY_EVENT_NAMES)[number];
617
712
  type NonEmptyTelemetryEventNames = readonly [TelemetryEventName, ...TelemetryEventName[]];
618
713
  type FunnelStepPropertyFilter = {
@@ -959,6 +1054,81 @@ declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
959
1054
  sdk_version: Schema.optional<Schema.String>;
960
1055
  }>;
961
1056
  }>;
1057
+ declare const NativeAuthorizationStartedTelemetryEventSchema: Schema.Struct<{
1058
+ readonly name: Schema.Literal<"native_authorization_started">;
1059
+ readonly props: Schema.Struct<{
1060
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1061
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1062
+ readonly journey_id: Schema.optional<Schema.String>;
1063
+ readonly correlation_id: Schema.optional<Schema.String>;
1064
+ readonly sdk_version: Schema.optional<Schema.String>;
1065
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1066
+ }>;
1067
+ }>;
1068
+ declare const NativeAuthorizationReviewedTelemetryEventSchema: Schema.Struct<{
1069
+ readonly name: Schema.Literal<"native_authorization_reviewed">;
1070
+ readonly props: Schema.Struct<{
1071
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1072
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1073
+ readonly journey_id: Schema.optional<Schema.String>;
1074
+ readonly correlation_id: Schema.optional<Schema.String>;
1075
+ readonly sdk_version: Schema.optional<Schema.String>;
1076
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1077
+ }>;
1078
+ }>;
1079
+ declare const NativeAuthorizationAcceptedTelemetryEventSchema: Schema.Struct<{
1080
+ readonly name: Schema.Literal<"native_authorization_accepted">;
1081
+ readonly props: Schema.Struct<{
1082
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1083
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1084
+ readonly journey_id: Schema.optional<Schema.String>;
1085
+ readonly correlation_id: Schema.optional<Schema.String>;
1086
+ readonly sdk_version: Schema.optional<Schema.String>;
1087
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1088
+ /** Whether consent also had to finish account setup first. */
1089
+ readonly setup_state: Schema.optional<Schema.Literals<readonly ["not_required", "new", "resumable"]>>;
1090
+ }>;
1091
+ }>;
1092
+ declare const NativeAuthorizationDeniedTelemetryEventSchema: Schema.Struct<{
1093
+ readonly name: Schema.Literal<"native_authorization_denied">;
1094
+ readonly props: Schema.Struct<{
1095
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1096
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1097
+ readonly journey_id: Schema.optional<Schema.String>;
1098
+ readonly correlation_id: Schema.optional<Schema.String>;
1099
+ readonly sdk_version: Schema.optional<Schema.String>;
1100
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1101
+ }>;
1102
+ }>;
1103
+ declare const NativeAuthorizationConnectedTelemetryEventSchema: Schema.Struct<{
1104
+ readonly name: Schema.Literal<"native_authorization_connected">;
1105
+ readonly props: Schema.Struct<{
1106
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1107
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1108
+ readonly journey_id: Schema.optional<Schema.String>;
1109
+ readonly correlation_id: Schema.optional<Schema.String>;
1110
+ readonly sdk_version: Schema.optional<Schema.String>;
1111
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
1112
+ }>;
1113
+ }>;
1114
+ declare const NativeAuthorizationFailedTelemetryEventSchema: Schema.Struct<{
1115
+ readonly name: Schema.Literal<"native_authorization_failed">;
1116
+ readonly props: Schema.Struct<{
1117
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1118
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1119
+ readonly journey_id: Schema.optional<Schema.String>;
1120
+ readonly correlation_id: Schema.optional<Schema.String>;
1121
+ readonly sdk_version: Schema.optional<Schema.String>;
1122
+ readonly mode: Schema.optional<Schema.Literals<readonly ["login", "signup"]>>;
1123
+ /** The refusal word the store returned, for example `identity_mismatch` or
1124
+ * `request_expired`. These are the closed `CLIENT_AUTHORIZATION_REFUSALS` from
1125
+ * `@capxul/wire` plus the store-internal `fresh_session_required` (ruling R3),
1126
+ * which the continuation maps to `identity_mismatch` on the wire but reports
1127
+ * truthfully here. Kept as `OptionalString` rather than an imported literal
1128
+ * set: this package must not depend on the transport contract. */
1129
+ readonly reason: Schema.optional<Schema.String>;
1130
+ }>;
1131
+ }>;
962
1132
  declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
963
1133
  readonly name: Schema.Literal<"onboarding_intent_selected">;
964
1134
  readonly props: Schema.Struct<{
@@ -1166,6 +1336,7 @@ declare const OrganizationCreationStartedTelemetryEventSchema: Schema.Struct<{
1166
1336
  readonly $insert_id: Schema.String;
1167
1337
  readonly organization_id: Schema.Codec<string, string, never, never>;
1168
1338
  readonly attempt_number: Schema.refine<number, Schema.Number>;
1339
+ readonly release: Schema.optional<Schema.String>;
1169
1340
  }>;
1170
1341
  }>;
1171
1342
  declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
@@ -1180,6 +1351,7 @@ declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
1180
1351
  readonly organization_id: Schema.Codec<string, string, never, never>;
1181
1352
  readonly attempt_number: Schema.refine<number, Schema.Number>;
1182
1353
  readonly duration_ms: Schema.Codec<DurationMs, number, never, never>;
1354
+ readonly release: Schema.optional<Schema.String>;
1183
1355
  }>;
1184
1356
  }>;
1185
1357
  declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
@@ -1223,9 +1395,10 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
1223
1395
  readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
1224
1396
  readonly error_code: Schema.String;
1225
1397
  readonly retryable: Schema.Boolean;
1398
+ readonly release: Schema.optional<Schema.String>;
1226
1399
  /** #1655: the SDK's backoff before this attempt. Absent on the first attempt. */
1227
1400
  readonly backoff_ms: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
1228
- readonly failure_reason: Schema.optional<Schema.Literals<readonly ["deterministic_address_mismatch", "receipt_provider_unavailable", "receipt_mismatch", "block_provider_unavailable", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch"]>>;
1401
+ readonly failure_reason: Schema.optional<Schema.Literals<readonly ["receipt_provider_unavailable", "block_provider_unavailable", "submission_unknown", "receipt_unresolved", "provider_unavailable", "receipt_reverted", "deterministic_address_mismatch", "receipt_mismatch", "block_identity_changed", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch", "bootstrap_reorg", "dependent_authority_unresolved", "historical_evidence_missing", "worker_failed"]>>;
1229
1402
  }>;
1230
1403
  }>;
1231
1404
  declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
@@ -1240,6 +1413,7 @@ declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
1240
1413
  readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
1241
1414
  readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1242
1415
  readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1416
+ readonly asset_id: Schema.optional<Schema.String>;
1243
1417
  readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
1244
1418
  readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
1245
1419
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
@@ -1293,6 +1467,7 @@ declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
1293
1467
  readonly sdk_version: Schema.optional<Schema.String>;
1294
1468
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
1295
1469
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1470
+ readonly asset_id: Schema.optional<Schema.String>;
1296
1471
  }>;
1297
1472
  }>;
1298
1473
  declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
@@ -1306,6 +1481,8 @@ declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
1306
1481
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
1307
1482
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1308
1483
  readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
1484
+ readonly asset_id: Schema.optional<Schema.String>;
1485
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1309
1486
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
1310
1487
  }>;
1311
1488
  }>;
@@ -1345,6 +1522,10 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
1345
1522
  readonly server: Schema.optional<Schema.String>;
1346
1523
  }>>;
1347
1524
  readonly reason: Schema.optional<Schema.String>;
1525
+ readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
1526
+ readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1527
+ readonly asset_id: Schema.optional<Schema.String>;
1528
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1348
1529
  }>;
1349
1530
  }>;
1350
1531
  declare const ChainUpstreamFallbackTelemetryEventSchema: Schema.Struct<{
@@ -1540,6 +1721,11 @@ declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
1540
1721
  readonly correlation_id: Schema.optional<Schema.String>;
1541
1722
  readonly sdk_version: Schema.optional<Schema.String>;
1542
1723
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
1724
+ readonly invitation_id: Schema.optional<Schema.String>;
1725
+ readonly generation: Schema.optional<Schema.String>;
1726
+ readonly command_id: Schema.optional<Schema.String>;
1727
+ readonly subject_party_id: Schema.optional<Schema.String>;
1728
+ readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
1543
1729
  readonly email_domain: Schema.optional<Schema.String>;
1544
1730
  readonly role: Schema.optional<Schema.String>;
1545
1731
  readonly status: Schema.optional<Schema.String>;
@@ -1554,6 +1740,11 @@ declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
1554
1740
  readonly correlation_id: Schema.optional<Schema.String>;
1555
1741
  readonly sdk_version: Schema.optional<Schema.String>;
1556
1742
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
1743
+ readonly invitation_id: Schema.optional<Schema.String>;
1744
+ readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
1745
+ readonly generation: Schema.optional<Schema.String>;
1746
+ readonly command_id: Schema.optional<Schema.String>;
1747
+ readonly subject_party_id: Schema.optional<Schema.String>;
1557
1748
  readonly role: Schema.optional<Schema.String>;
1558
1749
  readonly status: Schema.optional<Schema.String>;
1559
1750
  }>;
@@ -1568,6 +1759,7 @@ declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
1568
1759
  readonly sdk_version: Schema.optional<Schema.String>;
1569
1760
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
1570
1761
  readonly email_domain: Schema.optional<Schema.String>;
1762
+ readonly invitation_id: Schema.optional<Schema.String>;
1571
1763
  readonly reason: Schema.optional<Schema.String>;
1572
1764
  readonly role: Schema.optional<Schema.String>;
1573
1765
  readonly status: Schema.optional<Schema.String>;
@@ -1823,8 +2015,13 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
1823
2015
  * actually returned, and which command it was, without either fact rewriting
1824
2016
  * the receipt outcome above. Absent when application has not happened yet.
1825
2017
  */
1826
- readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
2018
+ readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
2019
+ readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
1827
2020
  readonly command_id: Schema.optional<Schema.String>;
2021
+ readonly invitation_id: Schema.optional<Schema.String>;
2022
+ readonly generation: Schema.optional<Schema.String>;
2023
+ readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
2024
+ readonly $insert_id: Schema.optional<Schema.String>;
1828
2025
  /**
1829
2026
  * #1961 R03. The authorized stored row names the Permission it changed; the
1830
2027
  * verified receipt names the chain facts that prove it. Every field is
@@ -1924,6 +2121,99 @@ declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
1924
2121
  }>;
1925
2122
  }>;
1926
2123
  /** One completed online CLI diagnostic. No command input or provider text. */
2124
+ declare const CLI_COMMAND_NAMES: readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"];
2125
+ declare const CLI_CAPABILITIES: readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"];
2126
+ declare const CLI_INVOCATION_KINDS: readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"];
2127
+ type CliCommandName = (typeof CLI_COMMAND_NAMES)[number];
2128
+ type CliCapability = (typeof CLI_CAPABILITIES)[number];
2129
+ type CliInvocationKind = (typeof CLI_INVOCATION_KINDS)[number];
2130
+ declare const CliFirstUsedTelemetryEventSchema: Schema.Struct<{
2131
+ readonly name: Schema.Literal<"cli_first_used">;
2132
+ readonly props: Schema.Struct<{
2133
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2134
+ producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2135
+ journey_id: Schema.optional<Schema.String>;
2136
+ correlation_id: Schema.optional<Schema.String>;
2137
+ schema_version: Schema.Literal<1>;
2138
+ command: Schema.Literals<readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"]>;
2139
+ capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"]>;
2140
+ invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2141
+ invocation_id: Schema.String;
2142
+ cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2143
+ anonymous_id: Schema.optional<Schema.String>;
2144
+ auth_user_id: Schema.optional<Schema.String>;
2145
+ occurred_at: Schema.Number;
2146
+ cli_version: Schema.String;
2147
+ sdk_version: Schema.String;
2148
+ release: Schema.String;
2149
+ platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2150
+ architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2151
+ ci: Schema.Boolean;
2152
+ tty: Schema.Boolean;
2153
+ output_mode: Schema.Literals<readonly ["human", "json"]>;
2154
+ }>;
2155
+ }>;
2156
+ declare const CliCommandStartedTelemetryEventSchema: Schema.Struct<{
2157
+ readonly name: Schema.Literal<"cli_command_started">;
2158
+ readonly props: Schema.Struct<{
2159
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2160
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2161
+ readonly journey_id: Schema.optional<Schema.String>;
2162
+ readonly correlation_id: Schema.optional<Schema.String>;
2163
+ readonly schema_version: Schema.Literal<1>;
2164
+ readonly command: Schema.Literals<readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"]>;
2165
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"]>;
2166
+ readonly invocation_id: Schema.String;
2167
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2168
+ readonly anonymous_id: Schema.optional<Schema.String>;
2169
+ readonly auth_user_id: Schema.optional<Schema.String>;
2170
+ readonly occurred_at: Schema.Number;
2171
+ readonly cli_version: Schema.String;
2172
+ readonly sdk_version: Schema.String;
2173
+ readonly release: Schema.String;
2174
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2175
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2176
+ readonly ci: Schema.Boolean;
2177
+ readonly tty: Schema.Boolean;
2178
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2179
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version"]>;
2180
+ }>;
2181
+ }>;
2182
+ declare const CliCommandCompletedTelemetryEventSchema: Schema.Struct<{
2183
+ readonly name: Schema.Literal<"cli_command_completed">;
2184
+ readonly props: Schema.Struct<{
2185
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2186
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2187
+ readonly journey_id: Schema.optional<Schema.String>;
2188
+ readonly correlation_id: Schema.optional<Schema.String>;
2189
+ readonly schema_version: Schema.Literal<1>;
2190
+ readonly command: Schema.Literals<readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"]>;
2191
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"]>;
2192
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2193
+ readonly invocation_id: Schema.String;
2194
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2195
+ readonly anonymous_id: Schema.optional<Schema.String>;
2196
+ readonly auth_user_id: Schema.optional<Schema.String>;
2197
+ readonly occurred_at: Schema.Number;
2198
+ readonly cli_version: Schema.String;
2199
+ readonly sdk_version: Schema.String;
2200
+ readonly release: Schema.String;
2201
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2202
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2203
+ readonly ci: Schema.Boolean;
2204
+ readonly tty: Schema.Boolean;
2205
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2206
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2207
+ readonly duration_ms: Schema.Number;
2208
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2209
+ readonly setup_status: Schema.optional<Schema.Literals<readonly ["awaitingAuthorization", "processing", "needsAttention", "ready", "rechecking", "failed"]>>;
2210
+ readonly setup_reason: Schema.optional<Schema.Literals<readonly ["submission_unknown", "receipt_unresolved", "provider_unavailable", "receipt_reverted", "deterministic_address_mismatch", "receipt_mismatch", "block_identity_changed", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch", "bootstrap_reorg", "dependent_authority_unresolved", "historical_evidence_missing", "worker_failed"]>>;
2211
+ readonly $groups: Schema.optional<Schema.Struct<{
2212
+ readonly organization: Schema.Codec<string, string, never, never>;
2213
+ }>>;
2214
+ 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", "CLI_DEADLINE"]>>;
2215
+ }>;
2216
+ }>;
1927
2217
  declare const CliDiagnosticCompletedTelemetryEventSchema: Schema.Struct<{
1928
2218
  readonly name: Schema.Literal<"cli_diagnostic_completed">;
1929
2219
  readonly props: Schema.Struct<{
@@ -2149,9 +2439,12 @@ declare const OrgInviteProgressedTelemetryEventSchema: Schema.Struct<{
2149
2439
  readonly correlation_id: Schema.optional<Schema.String>;
2150
2440
  readonly sdk_version: Schema.optional<Schema.String>;
2151
2441
  readonly organization_id: Schema.Codec<string, string, never, never>;
2152
- readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
2442
+ readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
2153
2443
  /** The invited Party. The initiating actor stays on the envelope's identity. */
2154
2444
  readonly member_party_id: Schema.String;
2445
+ readonly invitation_id: Schema.optional<Schema.String>;
2446
+ readonly generation: Schema.optional<Schema.String>;
2447
+ readonly command_id: Schema.optional<Schema.String>;
2155
2448
  readonly occurred_at: Schema.Number;
2156
2449
  }>;
2157
2450
  }>;
@@ -2350,9 +2643,12 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2350
2643
  readonly correlation_id: Schema.optional<Schema.String>;
2351
2644
  readonly sdk_version: Schema.optional<Schema.String>;
2352
2645
  readonly organization_id: Schema.Codec<string, string, never, never>;
2353
- readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
2646
+ readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
2354
2647
  /** The invited Party. The initiating actor stays on the envelope's identity. */
2355
2648
  readonly member_party_id: Schema.String;
2649
+ readonly invitation_id: Schema.optional<Schema.String>;
2650
+ readonly generation: Schema.optional<Schema.String>;
2651
+ readonly command_id: Schema.optional<Schema.String>;
2356
2652
  readonly occurred_at: Schema.Number;
2357
2653
  }>;
2358
2654
  }>;
@@ -2532,6 +2828,93 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2532
2828
  readonly cli_version: Schema.String;
2533
2829
  }>;
2534
2830
  }>;
2831
+ readonly cli_first_used: Schema.Struct<{
2832
+ readonly name: Schema.Literal<"cli_first_used">;
2833
+ readonly props: Schema.Struct<{
2834
+ capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2835
+ producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2836
+ journey_id: Schema.optional<Schema.String>;
2837
+ correlation_id: Schema.optional<Schema.String>;
2838
+ schema_version: Schema.Literal<1>;
2839
+ command: Schema.Literals<readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"]>;
2840
+ capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"]>;
2841
+ invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2842
+ invocation_id: Schema.String;
2843
+ cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2844
+ anonymous_id: Schema.optional<Schema.String>;
2845
+ auth_user_id: Schema.optional<Schema.String>;
2846
+ occurred_at: Schema.Number;
2847
+ cli_version: Schema.String;
2848
+ sdk_version: Schema.String;
2849
+ release: Schema.String;
2850
+ platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2851
+ architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2852
+ ci: Schema.Boolean;
2853
+ tty: Schema.Boolean;
2854
+ output_mode: Schema.Literals<readonly ["human", "json"]>;
2855
+ }>;
2856
+ }>;
2857
+ readonly cli_command_started: Schema.Struct<{
2858
+ readonly name: Schema.Literal<"cli_command_started">;
2859
+ readonly props: Schema.Struct<{
2860
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2861
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2862
+ readonly journey_id: Schema.optional<Schema.String>;
2863
+ readonly correlation_id: Schema.optional<Schema.String>;
2864
+ readonly schema_version: Schema.Literal<1>;
2865
+ readonly command: Schema.Literals<readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"]>;
2866
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"]>;
2867
+ readonly invocation_id: Schema.String;
2868
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2869
+ readonly anonymous_id: Schema.optional<Schema.String>;
2870
+ readonly auth_user_id: Schema.optional<Schema.String>;
2871
+ readonly occurred_at: Schema.Number;
2872
+ readonly cli_version: Schema.String;
2873
+ readonly sdk_version: Schema.String;
2874
+ readonly release: Schema.String;
2875
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2876
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2877
+ readonly ci: Schema.Boolean;
2878
+ readonly tty: Schema.Boolean;
2879
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2880
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version"]>;
2881
+ }>;
2882
+ }>;
2883
+ readonly cli_command_completed: Schema.Struct<{
2884
+ readonly name: Schema.Literal<"cli_command_completed">;
2885
+ readonly props: Schema.Struct<{
2886
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2887
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2888
+ readonly journey_id: Schema.optional<Schema.String>;
2889
+ readonly correlation_id: Schema.optional<Schema.String>;
2890
+ readonly schema_version: Schema.Literal<1>;
2891
+ readonly command: Schema.Literals<readonly ["status", "request", "request.list", "request.get", "request.cancel", "offer", "offer.create", "offer.list", "offer.get", "offer.revise", "offer.deactivate", "org.offer", "org.offer.create", "org.offer.list", "org.offer.get", "org.offer.revise", "org.offer.deactivate", "request.issue", "inbox", "inbox.list", "inbox.get", "inbox.pay", "inbox.decline", "org.request", "org.request.list", "org.request.get", "org.request.cancel", "org.request.issue", "org.inbox", "org.inbox.list", "org.inbox.get", "org.inbox.pay", "org.inbox.decline", "capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "account", "account.status", "account.balance", "account.deposit", "account.retry", "document", "document.get", "document.verify", "document.render", "document.export", "payment", "payment.list", "payment.get", "payment.wait", "payment.send", "payment.retry", "activity", "activity.list", "activity.get", "activity.summary", "activity.annotate", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.balance", "org.deposit", "org.permission", "org.permission.list", "org.permission.get", "org.permission.create", "org.permission.change", "org.permission.assign", "org.permission.revoke", "org.permission.replace", "org.permission.command", "org.permission.command.get", "org.permission.command.wait", "org.payment", "org.payment.list", "org.payment.get", "org.payment.wait", "org.payment.retry", "org.payment.send", "org.payroll", "org.payroll.groups", "org.payroll.groups.list", "org.payroll.groups.save", "org.payroll.groups.remove", "org.payroll.terms", "org.payroll.list", "org.payroll.run", "org.payroll.get", "org.payroll.wait", "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"]>;
2892
+ readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "account", "organization", "contacts", "documents", "payments", "activity"]>;
2893
+ readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
2894
+ readonly invocation_id: Schema.String;
2895
+ readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
2896
+ readonly anonymous_id: Schema.optional<Schema.String>;
2897
+ readonly auth_user_id: Schema.optional<Schema.String>;
2898
+ readonly occurred_at: Schema.Number;
2899
+ readonly cli_version: Schema.String;
2900
+ readonly sdk_version: Schema.String;
2901
+ readonly release: Schema.String;
2902
+ readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
2903
+ readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
2904
+ readonly ci: Schema.Boolean;
2905
+ readonly tty: Schema.Boolean;
2906
+ readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
2907
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2908
+ readonly duration_ms: Schema.Number;
2909
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2910
+ readonly setup_status: Schema.optional<Schema.Literals<readonly ["awaitingAuthorization", "processing", "needsAttention", "ready", "rechecking", "failed"]>>;
2911
+ readonly setup_reason: Schema.optional<Schema.Literals<readonly ["submission_unknown", "receipt_unresolved", "provider_unavailable", "receipt_reverted", "deterministic_address_mismatch", "receipt_mismatch", "block_identity_changed", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch", "bootstrap_reorg", "dependent_authority_unresolved", "historical_evidence_missing", "worker_failed"]>>;
2912
+ readonly $groups: Schema.optional<Schema.Struct<{
2913
+ readonly organization: Schema.Codec<string, string, never, never>;
2914
+ }>>;
2915
+ 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", "CLI_DEADLINE"]>>;
2916
+ }>;
2917
+ }>;
2535
2918
  readonly activity_annotation_saved: Schema.Struct<{
2536
2919
  readonly name: Schema.Literal<"activity_annotation_saved">;
2537
2920
  readonly props: Schema.Struct<{
@@ -2751,6 +3134,81 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2751
3134
  sdk_version: Schema.optional<Schema.String>;
2752
3135
  }>;
2753
3136
  }>;
3137
+ readonly native_authorization_started: Schema.Struct<{
3138
+ readonly name: Schema.Literal<"native_authorization_started">;
3139
+ readonly props: Schema.Struct<{
3140
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3141
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3142
+ readonly journey_id: Schema.optional<Schema.String>;
3143
+ readonly correlation_id: Schema.optional<Schema.String>;
3144
+ readonly sdk_version: Schema.optional<Schema.String>;
3145
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3146
+ }>;
3147
+ }>;
3148
+ readonly native_authorization_reviewed: Schema.Struct<{
3149
+ readonly name: Schema.Literal<"native_authorization_reviewed">;
3150
+ readonly props: Schema.Struct<{
3151
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3152
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3153
+ readonly journey_id: Schema.optional<Schema.String>;
3154
+ readonly correlation_id: Schema.optional<Schema.String>;
3155
+ readonly sdk_version: Schema.optional<Schema.String>;
3156
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3157
+ }>;
3158
+ }>;
3159
+ readonly native_authorization_accepted: Schema.Struct<{
3160
+ readonly name: Schema.Literal<"native_authorization_accepted">;
3161
+ readonly props: Schema.Struct<{
3162
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3163
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3164
+ readonly journey_id: Schema.optional<Schema.String>;
3165
+ readonly correlation_id: Schema.optional<Schema.String>;
3166
+ readonly sdk_version: Schema.optional<Schema.String>;
3167
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3168
+ /** Whether consent also had to finish account setup first. */
3169
+ readonly setup_state: Schema.optional<Schema.Literals<readonly ["not_required", "new", "resumable"]>>;
3170
+ }>;
3171
+ }>;
3172
+ readonly native_authorization_denied: Schema.Struct<{
3173
+ readonly name: Schema.Literal<"native_authorization_denied">;
3174
+ readonly props: Schema.Struct<{
3175
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3176
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3177
+ readonly journey_id: Schema.optional<Schema.String>;
3178
+ readonly correlation_id: Schema.optional<Schema.String>;
3179
+ readonly sdk_version: Schema.optional<Schema.String>;
3180
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3181
+ }>;
3182
+ }>;
3183
+ readonly native_authorization_connected: Schema.Struct<{
3184
+ readonly name: Schema.Literal<"native_authorization_connected">;
3185
+ readonly props: Schema.Struct<{
3186
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3187
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3188
+ readonly journey_id: Schema.optional<Schema.String>;
3189
+ readonly correlation_id: Schema.optional<Schema.String>;
3190
+ readonly sdk_version: Schema.optional<Schema.String>;
3191
+ readonly mode: Schema.Literals<readonly ["login", "signup"]>;
3192
+ }>;
3193
+ }>;
3194
+ readonly native_authorization_failed: Schema.Struct<{
3195
+ readonly name: Schema.Literal<"native_authorization_failed">;
3196
+ readonly props: Schema.Struct<{
3197
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3198
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3199
+ readonly journey_id: Schema.optional<Schema.String>;
3200
+ readonly correlation_id: Schema.optional<Schema.String>;
3201
+ readonly sdk_version: Schema.optional<Schema.String>;
3202
+ readonly mode: Schema.optional<Schema.Literals<readonly ["login", "signup"]>>;
3203
+ /** The refusal word the store returned, for example `identity_mismatch` or
3204
+ * `request_expired`. These are the closed `CLIENT_AUTHORIZATION_REFUSALS` from
3205
+ * `@capxul/wire` plus the store-internal `fresh_session_required` (ruling R3),
3206
+ * which the continuation maps to `identity_mismatch` on the wire but reports
3207
+ * truthfully here. Kept as `OptionalString` rather than an imported literal
3208
+ * set: this package must not depend on the transport contract. */
3209
+ readonly reason: Schema.optional<Schema.String>;
3210
+ }>;
3211
+ }>;
2754
3212
  readonly onboarding_intent_selected: Schema.Struct<{
2755
3213
  readonly name: Schema.Literal<"onboarding_intent_selected">;
2756
3214
  readonly props: Schema.Struct<{
@@ -2958,6 +3416,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2958
3416
  readonly $insert_id: Schema.String;
2959
3417
  readonly organization_id: Schema.Codec<string, string, never, never>;
2960
3418
  readonly attempt_number: Schema.refine<number, Schema.Number>;
3419
+ readonly release: Schema.optional<Schema.String>;
2961
3420
  }>;
2962
3421
  }>;
2963
3422
  readonly organization_creation_ready: Schema.Struct<{
@@ -2972,6 +3431,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2972
3431
  readonly organization_id: Schema.Codec<string, string, never, never>;
2973
3432
  readonly attempt_number: Schema.refine<number, Schema.Number>;
2974
3433
  readonly duration_ms: Schema.Codec<DurationMs, number, never, never>;
3434
+ readonly release: Schema.optional<Schema.String>;
2975
3435
  }>;
2976
3436
  }>;
2977
3437
  readonly organization_creation_failed: Schema.Struct<{
@@ -3015,9 +3475,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3015
3475
  readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
3016
3476
  readonly error_code: Schema.String;
3017
3477
  readonly retryable: Schema.Boolean;
3478
+ readonly release: Schema.optional<Schema.String>;
3018
3479
  /** #1655: the SDK's backoff before this attempt. Absent on the first attempt. */
3019
3480
  readonly backoff_ms: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
3020
- readonly failure_reason: Schema.optional<Schema.Literals<readonly ["deterministic_address_mismatch", "receipt_provider_unavailable", "receipt_mismatch", "block_provider_unavailable", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch"]>>;
3481
+ readonly failure_reason: Schema.optional<Schema.Literals<readonly ["receipt_provider_unavailable", "block_provider_unavailable", "submission_unknown", "receipt_unresolved", "provider_unavailable", "receipt_reverted", "deterministic_address_mismatch", "receipt_mismatch", "block_identity_changed", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch", "bootstrap_reorg", "dependent_authority_unresolved", "historical_evidence_missing", "worker_failed"]>>;
3021
3482
  }>;
3022
3483
  }>;
3023
3484
  readonly account_balance_read: Schema.Struct<{
@@ -3032,6 +3493,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3032
3493
  readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
3033
3494
  readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3034
3495
  readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
3496
+ readonly asset_id: Schema.optional<Schema.String>;
3035
3497
  readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
3036
3498
  readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
3037
3499
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
@@ -3085,6 +3547,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3085
3547
  readonly sdk_version: Schema.optional<Schema.String>;
3086
3548
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
3087
3549
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3550
+ readonly asset_id: Schema.optional<Schema.String>;
3088
3551
  }>;
3089
3552
  }>;
3090
3553
  readonly faucet_confirmed: Schema.Struct<{
@@ -3098,6 +3561,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3098
3561
  readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
3099
3562
  readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3100
3563
  readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
3564
+ readonly asset_id: Schema.optional<Schema.String>;
3565
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
3101
3566
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
3102
3567
  }>;
3103
3568
  }>;
@@ -3137,6 +3602,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3137
3602
  readonly server: Schema.optional<Schema.String>;
3138
3603
  }>>;
3139
3604
  readonly reason: Schema.optional<Schema.String>;
3605
+ readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
3606
+ readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3607
+ readonly asset_id: Schema.optional<Schema.String>;
3608
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
3140
3609
  }>;
3141
3610
  }>;
3142
3611
  readonly chain_upstream_fallback: Schema.Struct<{
@@ -3332,6 +3801,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3332
3801
  readonly correlation_id: Schema.optional<Schema.String>;
3333
3802
  readonly sdk_version: Schema.optional<Schema.String>;
3334
3803
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
3804
+ readonly invitation_id: Schema.optional<Schema.String>;
3805
+ readonly generation: Schema.optional<Schema.String>;
3806
+ readonly command_id: Schema.optional<Schema.String>;
3807
+ readonly subject_party_id: Schema.optional<Schema.String>;
3808
+ readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
3335
3809
  readonly email_domain: Schema.optional<Schema.String>;
3336
3810
  readonly role: Schema.optional<Schema.String>;
3337
3811
  readonly status: Schema.optional<Schema.String>;
@@ -3346,6 +3820,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3346
3820
  readonly correlation_id: Schema.optional<Schema.String>;
3347
3821
  readonly sdk_version: Schema.optional<Schema.String>;
3348
3822
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
3823
+ readonly invitation_id: Schema.optional<Schema.String>;
3824
+ readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
3825
+ readonly generation: Schema.optional<Schema.String>;
3826
+ readonly command_id: Schema.optional<Schema.String>;
3827
+ readonly subject_party_id: Schema.optional<Schema.String>;
3349
3828
  readonly role: Schema.optional<Schema.String>;
3350
3829
  readonly status: Schema.optional<Schema.String>;
3351
3830
  }>;
@@ -3360,6 +3839,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3360
3839
  readonly sdk_version: Schema.optional<Schema.String>;
3361
3840
  readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
3362
3841
  readonly email_domain: Schema.optional<Schema.String>;
3842
+ readonly invitation_id: Schema.optional<Schema.String>;
3363
3843
  readonly reason: Schema.optional<Schema.String>;
3364
3844
  readonly role: Schema.optional<Schema.String>;
3365
3845
  readonly status: Schema.optional<Schema.String>;
@@ -3615,8 +4095,13 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3615
4095
  * actually returned, and which command it was, without either fact rewriting
3616
4096
  * the receipt outcome above. Absent when application has not happened yet.
3617
4097
  */
3618
- readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
4098
+ readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
4099
+ readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
3619
4100
  readonly command_id: Schema.optional<Schema.String>;
4101
+ readonly invitation_id: Schema.optional<Schema.String>;
4102
+ readonly generation: Schema.optional<Schema.String>;
4103
+ readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
4104
+ readonly $insert_id: Schema.optional<Schema.String>;
3620
4105
  /**
3621
4106
  * #1961 R03. The authorized stored row names the Permission it changed; the
3622
4107
  * verified receipt names the chain facts that prove it. Every field is
@@ -3934,4 +4419,4 @@ declare class InMemoryTelemetryBusAdapter implements TelemetryPort {
3934
4419
  reportHandledError(_error: CapxulError, _context?: HandledErrorReportContext): Effect.Effect<void, never>;
3935
4420
  }
3936
4421
  //#endregion
3937
- export { AccessRecoveryCompletedTelemetryEventSchema, 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, CliDiagnosticCompletedTelemetryEventSchema, 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, 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 };
4422
+ 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 };