@capxul/observability 4.2.0 → 4.20.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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: {
@@ -252,8 +254,12 @@ declare const CAPXUL_OPERATIONS: {
252
254
  readonly cancelRequest: "financialOps.cancelRequest";
253
255
  readonly createPayee: "financialOps.createPayee";
254
256
  readonly declineRequest: "financialOps.declineRequest";
257
+ readonly emitInvoiceIssued: "financialOps.emitInvoiceIssued";
258
+ readonly emitInvoiceRequestTransitioned: "financialOps.emitInvoiceRequestTransitioned";
255
259
  readonly emitPaymentWriterTelemetry: "financialOps.emitPaymentWriterTelemetry";
256
260
  readonly issueRequest: "financialOps.issueRequest";
261
+ readonly migrateEvidenceIdentity: "financialOps.migrateEvidenceIdentity";
262
+ readonly planEvidenceIdentity: "financialOps.planEvidenceIdentity";
257
263
  readonly recoverSettlementVerification: "financialOps.recoverSettlementVerification";
258
264
  readonly removeDestination: "financialOps.removeDestination";
259
265
  readonly verifySettlement: "financialOps.verifySettlement";
@@ -262,6 +268,9 @@ declare const CAPXUL_OPERATIONS: {
262
268
  readonly current: "holdings.current";
263
269
  readonly primary: "holdings.primary";
264
270
  };
271
+ readonly indexer: {
272
+ readonly reconcile: "indexer.reconcile";
273
+ };
265
274
  readonly identity: {
266
275
  readonly accountAt: "identity.AccountAt";
267
276
  readonly accountClaimed: "identity.AccountClaimed";
@@ -353,6 +362,7 @@ declare const CAPXUL_OPERATIONS: {
353
362
  readonly createOrg: "org.createOrg";
354
363
  readonly create: "org.create";
355
364
  readonly detectAndAcceptPendingInvitations: "org.detectAndAcceptPendingInvitations";
365
+ readonly emitInviteProgressed: "org.emitInviteProgressed";
356
366
  readonly expireInvitations: "org.expireInvitations";
357
367
  readonly getLifecycle: "org.getLifecycle";
358
368
  readonly getProofReceipt: "org.getProofReceipt";
@@ -466,6 +476,8 @@ declare const CAPXUL_OPERATIONS: {
466
476
  };
467
477
  readonly payroll: {
468
478
  readonly authorizeRun: "payroll.authorizeRun";
479
+ readonly emitGroupChanged: "payroll.emitGroupChanged";
480
+ readonly emitRunTransitioned: "payroll.emitRunTransitioned";
469
481
  readonly groups: {
470
482
  readonly access: "payroll.groups";
471
483
  readonly list: "payroll.groups.list";
@@ -600,7 +612,7 @@ interface TelemetryPort {
600
612
  }
601
613
  //#endregion
602
614
  //#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"];
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"];
604
616
  type TelemetryEventName = (typeof TELEMETRY_EVENT_NAMES)[number];
605
617
  type NonEmptyTelemetryEventNames = readonly [TelemetryEventName, ...TelemetryEventName[]];
606
618
  type FunnelStepPropertyFilter = {
@@ -919,6 +931,24 @@ declare const AuthFailedTelemetryEventSchema: Schema.Struct<{
919
931
  readonly reason: Schema.optional<Schema.String>;
920
932
  }>;
921
933
  }>;
934
+ declare const IdentityRefusedTelemetryEventSchema: Schema.Struct<{
935
+ readonly name: Schema.Literal<"identity_refused">;
936
+ readonly props: Schema.Struct<{
937
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
938
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
939
+ readonly journey_id: Schema.optional<Schema.String>;
940
+ readonly correlation_id: Schema.optional<Schema.String>;
941
+ readonly sdk_version: Schema.optional<Schema.String>;
942
+ /** The refused identity event tag, for example CreateOrganization. */
943
+ readonly event: Schema.optional<Schema.String>;
944
+ /** The machine's refusal code: WRONG_STATE, SUPERSEDED or STALE_EPOCH. */
945
+ readonly refusal_code: Schema.optional<Schema.String>;
946
+ /** The machine slot the request targeted, for example identity:org. */
947
+ readonly slot: Schema.optional<Schema.String>;
948
+ /** The machine state at refusal, for example authenticated:claiming. */
949
+ readonly state: Schema.optional<Schema.String>;
950
+ }>;
951
+ }>;
922
952
  declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
923
953
  readonly name: Schema.Literal<"auth_signed_out">;
924
954
  readonly props: Schema.Struct<{
@@ -1207,6 +1237,9 @@ declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
1207
1237
  readonly correlation_id: Schema.optional<Schema.String>;
1208
1238
  readonly sdk_version: Schema.optional<Schema.String>;
1209
1239
  readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
1240
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
1241
+ readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
1242
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
1210
1243
  readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
1211
1244
  readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
1212
1245
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
@@ -1779,10 +1812,33 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
1779
1812
  readonly journey_id: Schema.optional<Schema.String>;
1780
1813
  readonly correlation_id: Schema.optional<Schema.String>;
1781
1814
  readonly sdk_version: Schema.optional<Schema.String>;
1815
+ /** The RECEIPT verification outcome. What the mirror then did is separate. */
1782
1816
  readonly outcome: Schema.String;
1783
1817
  readonly reason: Schema.String;
1784
1818
  readonly chain_id: Schema.Number;
1785
1819
  readonly retry_count: Schema.Number;
1820
+ /**
1821
+ * #1960 R02, consumed by R03. A verified receipt is not an applied Permission:
1822
+ * these two optional fields let the producer say what the applying mutation
1823
+ * actually returned, and which command it was, without either fact rewriting
1824
+ * the receipt outcome above. Absent when application has not happened yet.
1825
+ */
1826
+ readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
1827
+ readonly command_id: Schema.optional<Schema.String>;
1828
+ /**
1829
+ * #1961 R03. The authorized stored row names the Permission it changed; the
1830
+ * verified receipt names the chain facts that prove it. Every field is
1831
+ * optional because a pending or provider-failed verification has neither an
1832
+ * application result nor a receipt to report.
1833
+ */
1834
+ readonly permission_id: Schema.optional<Schema.String>;
1835
+ readonly permission_assignment_id: Schema.optional<Schema.String>;
1836
+ readonly permission_operation: Schema.optional<Schema.Literals<readonly ["create", "change", "assign", "revoke", "replace"]>>;
1837
+ readonly revision: Schema.optional<Schema.Number>;
1838
+ readonly user_op_hash: Schema.optional<Schema.String>;
1839
+ readonly transaction_hash: Schema.optional<Schema.String>;
1840
+ readonly block_number: Schema.optional<Schema.Number>;
1841
+ readonly log_index: Schema.optional<Schema.Number>;
1786
1842
  }>;
1787
1843
  }>;
1788
1844
  declare const MovementScanWindowTelemetryEventSchema: Schema.Struct<{
@@ -1830,6 +1886,25 @@ declare const MovementScanIncidentTelemetryEventSchema: Schema.Struct<{
1830
1886
  readonly anchor_block_number: Schema.Number;
1831
1887
  }>;
1832
1888
  }>;
1889
+ declare const IndexerDriftCorrectedTelemetryEventSchema: Schema.Struct<{
1890
+ readonly name: Schema.Literal<"indexer_drift_corrected">;
1891
+ readonly props: Schema.Struct<{
1892
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1893
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1894
+ readonly journey_id: Schema.optional<Schema.String>;
1895
+ readonly correlation_id: Schema.optional<Schema.String>;
1896
+ readonly sdk_version: Schema.optional<Schema.String>;
1897
+ readonly projection_kind: Schema.Literals<readonly ["member_authority", "payment_settlement", "permission_assignment"]>;
1898
+ readonly previous_state: Schema.String;
1899
+ readonly current_state: Schema.String;
1900
+ readonly previous_block: Schema.optional<Schema.Number>;
1901
+ readonly current_block: Schema.optional<Schema.Number>;
1902
+ readonly logical_event_id: Schema.optional<Schema.String>;
1903
+ readonly scope_kind: Schema.optional<Schema.Literals<readonly ["account", "organization"]>>;
1904
+ readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
1905
+ readonly reference_id: Schema.optional<Schema.String>;
1906
+ }>;
1907
+ }>;
1833
1908
  declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
1834
1909
  readonly name: Schema.Literal<"contact_relationship_changed">;
1835
1910
  readonly props: Schema.Struct<{
@@ -1848,6 +1923,20 @@ declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
1848
1923
  readonly operation: Schema.Literals<readonly ["addressBook.add", "addressBook.label", "addressBook.hide", "addressBook.unhide"]>;
1849
1924
  }>;
1850
1925
  }>;
1926
+ /** One completed online CLI diagnostic. No command input or provider text. */
1927
+ declare const CliDiagnosticCompletedTelemetryEventSchema: Schema.Struct<{
1928
+ readonly name: Schema.Literal<"cli_diagnostic_completed">;
1929
+ readonly props: Schema.Struct<{
1930
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1931
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1932
+ readonly journey_id: Schema.optional<Schema.String>;
1933
+ readonly correlation_id: Schema.optional<Schema.String>;
1934
+ readonly sdk_version: Schema.optional<Schema.String>;
1935
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
1936
+ readonly invocation_id: Schema.String;
1937
+ readonly cli_version: Schema.String;
1938
+ }>;
1939
+ }>;
1851
1940
  declare const UiContactActionCompletedTelemetryEventSchema: Schema.Struct<{
1852
1941
  readonly name: Schema.Literal<"ui_contact_action_completed">;
1853
1942
  readonly props: Schema.Union<readonly [Schema.Struct<{
@@ -1903,6 +1992,17 @@ declare const ActivityAnnotationSavedTelemetryEventSchema: Schema.Struct<{
1903
1992
  declare const UiActivityActionCompletedTelemetryEventSchema: Schema.Struct<{
1904
1993
  readonly name: Schema.Literal<"ui_activity_action_completed">;
1905
1994
  readonly props: Schema.Union<readonly [Schema.Struct<{
1995
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1996
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1997
+ readonly journey_id: Schema.optional<Schema.String>;
1998
+ readonly correlation_id: Schema.optional<Schema.String>;
1999
+ readonly sdk_version: Schema.optional<Schema.String>;
2000
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2001
+ 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"]>>;
2002
+ readonly action: Schema.Literal<"read">;
2003
+ readonly outcome: Schema.Literals<readonly ["partial_displayed", "recovered"]>;
2004
+ readonly surface: Schema.Literals<readonly ["transactions", "recent", "summary"]>;
2005
+ }>, Schema.Struct<{
1906
2006
  readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
1907
2007
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
1908
2008
  readonly journey_id: Schema.optional<Schema.String>;
@@ -1976,6 +2076,211 @@ declare const UiActivityActionCompletedTelemetryEventSchema: Schema.Struct<{
1976
2076
  readonly truncated: Schema.optional<Schema.Boolean>;
1977
2077
  }>]>;
1978
2078
  }>;
2079
+ declare const AccessRecoveryCompletedTelemetryEventSchema: Schema.Struct<{
2080
+ readonly name: Schema.Literal<"access_recovery_completed">;
2081
+ readonly props: Schema.Union<readonly [Schema.Struct<{
2082
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2083
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2084
+ readonly journey_id: Schema.optional<Schema.String>;
2085
+ readonly correlation_id: Schema.optional<Schema.String>;
2086
+ readonly sdk_version: Schema.optional<Schema.String>;
2087
+ readonly recovery: Schema.Literal<"session_restoration">;
2088
+ readonly outcome: Schema.Literals<readonly ["restored", "absent", "failed"]>;
2089
+ 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"]>>;
2090
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2091
+ }>, Schema.Struct<{
2092
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2093
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2094
+ readonly journey_id: Schema.optional<Schema.String>;
2095
+ readonly correlation_id: Schema.optional<Schema.String>;
2096
+ readonly sdk_version: Schema.optional<Schema.String>;
2097
+ readonly recovery: Schema.Literal<"signer_readiness">;
2098
+ readonly outcome: Schema.Literals<readonly ["ready", "unavailable"]>;
2099
+ 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"]>>;
2100
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2101
+ }>]>;
2102
+ }>;
2103
+ /**
2104
+ * R05 (#1963) wired three of these steps at the app's dashboard Access
2105
+ * boundary: `dashboard_granted` on the commit of the granted content,
2106
+ * `gate_error_displayed` on the mounted error surface, and `retry_selected` on
2107
+ * the actual selection. `redirect_completed` stays RESERVED and unproduced —
2108
+ * asking for a navigation is not arriving, and the destination page's own
2109
+ * normalized pageview already carries the arrival on the same journey, so a
2110
+ * second event would add no fact. `capability_refusal_displayed` and
2111
+ * `signer_refusal_displayed` belong to the screens that draw those refusals
2112
+ * (Recipients, Invoice, Payroll, Quick Pay); Access publishes the contract and
2113
+ * the `CanReason` those owners report, and produces neither itself.
2114
+ */
2115
+ declare const UiAccessStepCompletedTelemetryEventSchema: Schema.Struct<{
2116
+ readonly name: Schema.Literal<"ui_access_step_completed">;
2117
+ readonly props: Schema.Struct<{
2118
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2119
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2120
+ readonly journey_id: Schema.optional<Schema.String>;
2121
+ readonly correlation_id: Schema.optional<Schema.String>;
2122
+ readonly sdk_version: Schema.optional<Schema.String>;
2123
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2124
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2125
+ 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"]>>;
2126
+ readonly step: Schema.Literals<readonly ["dashboard_granted", "redirect_completed", "gate_error_displayed", "retry_selected", "capability_refusal_displayed", "signer_refusal_displayed"]>;
2127
+ readonly capability: Schema.optional<Schema.Literals<readonly ["spend", "managePeople"]>>;
2128
+ readonly probe: Schema.optional<Schema.Literals<readonly ["session", "membership", "lifecycle"]>>;
2129
+ readonly reason: Schema.optional<Schema.Literals<readonly ["loading", "no-permission", "org-unavailable"]>>;
2130
+ }>;
2131
+ }>;
2132
+ /**
2133
+ * R06 (#1964) wired three of the four progress words to the durable writer that
2134
+ * commits each one. `account_ready` comes from `org/memberLifecycle.ts`, for
2135
+ * every membership row a claimed personal Account actually advanced.
2136
+ * `permission_applied` and `membership_activated` come from
2137
+ * `permission/mirror.ts`: the first only when the mirror wrote a NEW Permission
2138
+ * state, the second only when that call flipped a `pending_grant` row to
2139
+ * `active`. A replay of an applied command writes neither, so it reports
2140
+ * neither. `revoked` stays RESERVED and unproduced — no writer revokes a
2141
+ * membership yet, and #1459 owns that ceremony.
2142
+ */
2143
+ declare const OrgInviteProgressedTelemetryEventSchema: Schema.Struct<{
2144
+ readonly name: Schema.Literal<"org_invite_progressed">;
2145
+ readonly props: Schema.Struct<{
2146
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2147
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2148
+ readonly journey_id: Schema.optional<Schema.String>;
2149
+ readonly correlation_id: Schema.optional<Schema.String>;
2150
+ readonly sdk_version: Schema.optional<Schema.String>;
2151
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2152
+ readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
2153
+ /** The invited Party. The initiating actor stays on the envelope's identity. */
2154
+ readonly member_party_id: Schema.String;
2155
+ readonly occurred_at: Schema.Number;
2156
+ }>;
2157
+ }>;
2158
+ declare const InvoiceIssuedTelemetryEventSchema: Schema.Struct<{
2159
+ readonly name: Schema.Literal<"invoice_issued">;
2160
+ readonly props: Schema.Struct<{
2161
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2162
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2163
+ readonly journey_id: Schema.optional<Schema.String>;
2164
+ readonly correlation_id: Schema.optional<Schema.String>;
2165
+ readonly sdk_version: Schema.optional<Schema.String>;
2166
+ readonly request_id: Schema.String;
2167
+ readonly issuer_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2168
+ readonly issuer_scope_id: Schema.String;
2169
+ readonly payer_party_id: Schema.optional<Schema.String>;
2170
+ readonly occurred_at: Schema.Number;
2171
+ }>;
2172
+ }>;
2173
+ declare const InvoiceRequestTransitionedTelemetryEventSchema: Schema.Struct<{
2174
+ readonly name: Schema.Literal<"invoice_request_transitioned">;
2175
+ readonly props: Schema.Struct<{
2176
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2177
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2178
+ readonly journey_id: Schema.optional<Schema.String>;
2179
+ readonly correlation_id: Schema.optional<Schema.String>;
2180
+ readonly sdk_version: Schema.optional<Schema.String>;
2181
+ readonly request_id: Schema.String;
2182
+ readonly transition: Schema.Literals<readonly ["approval_prepared", "declined", "cancelled"]>;
2183
+ readonly actor_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2184
+ readonly actor_scope_id: Schema.String;
2185
+ readonly occurred_at: Schema.Number;
2186
+ }>;
2187
+ }>;
2188
+ declare const UiInvoiceStepCompletedTelemetryEventSchema: Schema.Struct<{
2189
+ readonly name: Schema.Literal<"ui_invoice_step_completed">;
2190
+ readonly props: Schema.Struct<{
2191
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2192
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2193
+ readonly journey_id: Schema.optional<Schema.String>;
2194
+ readonly correlation_id: Schema.optional<Schema.String>;
2195
+ readonly sdk_version: Schema.optional<Schema.String>;
2196
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2197
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2198
+ 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"]>>;
2199
+ readonly step: Schema.Literals<readonly ["opened", "previewed", "dismissed", "submitted", "result_displayed", "refusal_displayed", "retry_selected"]>;
2200
+ readonly request_id: Schema.optional<Schema.String>;
2201
+ }>;
2202
+ }>;
2203
+ declare const UiTreasuryStepCompletedTelemetryEventSchema: Schema.Struct<{
2204
+ readonly name: Schema.Literal<"ui_treasury_step_completed">;
2205
+ readonly props: Schema.Struct<{
2206
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2207
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2208
+ readonly journey_id: Schema.optional<Schema.String>;
2209
+ readonly correlation_id: Schema.optional<Schema.String>;
2210
+ readonly sdk_version: Schema.optional<Schema.String>;
2211
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2212
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2213
+ 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"]>>;
2214
+ readonly step: Schema.Literals<readonly ["balance_displayed", "read_refusal_displayed", "retry_selected", "recovery_completed"]>;
2215
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2216
+ }>;
2217
+ }>;
2218
+ declare const UiReceiveStepCompletedTelemetryEventSchema: Schema.Struct<{
2219
+ readonly name: Schema.Literal<"ui_receive_step_completed">;
2220
+ readonly props: Schema.Struct<{
2221
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2222
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2223
+ readonly journey_id: Schema.optional<Schema.String>;
2224
+ readonly correlation_id: Schema.optional<Schema.String>;
2225
+ readonly sdk_version: Schema.optional<Schema.String>;
2226
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2227
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2228
+ 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"]>>;
2229
+ readonly step: Schema.Literals<readonly ["instructions_displayed", "address_copied", "copy_failed", "refusal_displayed", "retry_selected"]>;
2230
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2231
+ }>;
2232
+ }>;
2233
+ declare const PayrollGroupChangedTelemetryEventSchema: Schema.Struct<{
2234
+ readonly name: Schema.Literal<"payroll_group_changed">;
2235
+ readonly props: Schema.Struct<{
2236
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2237
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2238
+ readonly journey_id: Schema.optional<Schema.String>;
2239
+ readonly correlation_id: Schema.optional<Schema.String>;
2240
+ readonly sdk_version: Schema.optional<Schema.String>;
2241
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2242
+ readonly change: Schema.Literals<readonly ["created", "updated", "deleted"]>;
2243
+ readonly group_id: Schema.String;
2244
+ readonly member_count: Schema.Number;
2245
+ readonly occurred_at: Schema.Number;
2246
+ }>;
2247
+ }>;
2248
+ declare const PayrollRunTransitionedTelemetryEventSchema: Schema.Struct<{
2249
+ readonly name: Schema.Literal<"payroll_run_transitioned">;
2250
+ readonly props: Schema.Struct<{
2251
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2252
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2253
+ readonly journey_id: Schema.optional<Schema.String>;
2254
+ readonly correlation_id: Schema.optional<Schema.String>;
2255
+ readonly sdk_version: Schema.optional<Schema.String>;
2256
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2257
+ readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2258
+ readonly run_id: Schema.String;
2259
+ /**
2260
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2261
+ * this run's Payment membership. `payment_count` counts THAT command's
2262
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2263
+ */
2264
+ readonly command_id: Schema.optional<Schema.String>;
2265
+ readonly payment_count: Schema.optional<Schema.Number>;
2266
+ readonly occurred_at: Schema.Number;
2267
+ }>;
2268
+ }>;
2269
+ declare const UiPayrollActionCompletedTelemetryEventSchema: Schema.Struct<{
2270
+ readonly name: Schema.Literal<"ui_payroll_action_completed">;
2271
+ readonly props: Schema.Struct<{
2272
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2273
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2274
+ readonly journey_id: Schema.optional<Schema.String>;
2275
+ readonly correlation_id: Schema.optional<Schema.String>;
2276
+ readonly sdk_version: Schema.optional<Schema.String>;
2277
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2278
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2279
+ 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"]>>;
2280
+ readonly action: Schema.Literals<readonly ["opened", "refusal_displayed", "recovery_completed", "cancelled", "submitted_displayed"]>;
2281
+ readonly run_id: Schema.optional<Schema.String>;
2282
+ }>;
2283
+ }>;
1979
2284
  declare const TELEMETRY_EVENT_SCHEMAS: {
1980
2285
  readonly contact_relationship_changed: Schema.Struct<{
1981
2286
  readonly name: Schema.Literal<"contact_relationship_changed">;
@@ -1995,6 +2300,188 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1995
2300
  readonly operation: Schema.Literals<readonly ["addressBook.add", "addressBook.label", "addressBook.hide", "addressBook.unhide"]>;
1996
2301
  }>;
1997
2302
  }>;
2303
+ readonly access_recovery_completed: Schema.Struct<{
2304
+ readonly name: Schema.Literal<"access_recovery_completed">;
2305
+ readonly props: Schema.Union<readonly [Schema.Struct<{
2306
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2307
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2308
+ readonly journey_id: Schema.optional<Schema.String>;
2309
+ readonly correlation_id: Schema.optional<Schema.String>;
2310
+ readonly sdk_version: Schema.optional<Schema.String>;
2311
+ readonly recovery: Schema.Literal<"session_restoration">;
2312
+ readonly outcome: Schema.Literals<readonly ["restored", "absent", "failed"]>;
2313
+ 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"]>>;
2314
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2315
+ }>, Schema.Struct<{
2316
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2317
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2318
+ readonly journey_id: Schema.optional<Schema.String>;
2319
+ readonly correlation_id: Schema.optional<Schema.String>;
2320
+ readonly sdk_version: Schema.optional<Schema.String>;
2321
+ readonly recovery: Schema.Literal<"signer_readiness">;
2322
+ readonly outcome: Schema.Literals<readonly ["ready", "unavailable"]>;
2323
+ 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"]>>;
2324
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2325
+ }>]>;
2326
+ }>;
2327
+ readonly ui_access_step_completed: Schema.Struct<{
2328
+ readonly name: Schema.Literal<"ui_access_step_completed">;
2329
+ readonly props: Schema.Struct<{
2330
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2331
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2332
+ readonly journey_id: Schema.optional<Schema.String>;
2333
+ readonly correlation_id: Schema.optional<Schema.String>;
2334
+ readonly sdk_version: Schema.optional<Schema.String>;
2335
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2336
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2337
+ 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"]>>;
2338
+ readonly step: Schema.Literals<readonly ["dashboard_granted", "redirect_completed", "gate_error_displayed", "retry_selected", "capability_refusal_displayed", "signer_refusal_displayed"]>;
2339
+ readonly capability: Schema.optional<Schema.Literals<readonly ["spend", "managePeople"]>>;
2340
+ readonly probe: Schema.optional<Schema.Literals<readonly ["session", "membership", "lifecycle"]>>;
2341
+ readonly reason: Schema.optional<Schema.Literals<readonly ["loading", "no-permission", "org-unavailable"]>>;
2342
+ }>;
2343
+ }>;
2344
+ readonly org_invite_progressed: Schema.Struct<{
2345
+ readonly name: Schema.Literal<"org_invite_progressed">;
2346
+ readonly props: Schema.Struct<{
2347
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2348
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2349
+ readonly journey_id: Schema.optional<Schema.String>;
2350
+ readonly correlation_id: Schema.optional<Schema.String>;
2351
+ readonly sdk_version: Schema.optional<Schema.String>;
2352
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2353
+ readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
2354
+ /** The invited Party. The initiating actor stays on the envelope's identity. */
2355
+ readonly member_party_id: Schema.String;
2356
+ readonly occurred_at: Schema.Number;
2357
+ }>;
2358
+ }>;
2359
+ readonly invoice_issued: Schema.Struct<{
2360
+ readonly name: Schema.Literal<"invoice_issued">;
2361
+ readonly props: Schema.Struct<{
2362
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2363
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2364
+ readonly journey_id: Schema.optional<Schema.String>;
2365
+ readonly correlation_id: Schema.optional<Schema.String>;
2366
+ readonly sdk_version: Schema.optional<Schema.String>;
2367
+ readonly request_id: Schema.String;
2368
+ readonly issuer_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2369
+ readonly issuer_scope_id: Schema.String;
2370
+ readonly payer_party_id: Schema.optional<Schema.String>;
2371
+ readonly occurred_at: Schema.Number;
2372
+ }>;
2373
+ }>;
2374
+ readonly invoice_request_transitioned: Schema.Struct<{
2375
+ readonly name: Schema.Literal<"invoice_request_transitioned">;
2376
+ readonly props: Schema.Struct<{
2377
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2378
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2379
+ readonly journey_id: Schema.optional<Schema.String>;
2380
+ readonly correlation_id: Schema.optional<Schema.String>;
2381
+ readonly sdk_version: Schema.optional<Schema.String>;
2382
+ readonly request_id: Schema.String;
2383
+ readonly transition: Schema.Literals<readonly ["approval_prepared", "declined", "cancelled"]>;
2384
+ readonly actor_scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2385
+ readonly actor_scope_id: Schema.String;
2386
+ readonly occurred_at: Schema.Number;
2387
+ }>;
2388
+ }>;
2389
+ readonly ui_invoice_step_completed: Schema.Struct<{
2390
+ readonly name: Schema.Literal<"ui_invoice_step_completed">;
2391
+ readonly props: Schema.Struct<{
2392
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2393
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2394
+ readonly journey_id: Schema.optional<Schema.String>;
2395
+ readonly correlation_id: Schema.optional<Schema.String>;
2396
+ readonly sdk_version: Schema.optional<Schema.String>;
2397
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2398
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2399
+ 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"]>>;
2400
+ readonly step: Schema.Literals<readonly ["opened", "previewed", "dismissed", "submitted", "result_displayed", "refusal_displayed", "retry_selected"]>;
2401
+ readonly request_id: Schema.optional<Schema.String>;
2402
+ }>;
2403
+ }>;
2404
+ readonly ui_treasury_step_completed: Schema.Struct<{
2405
+ readonly name: Schema.Literal<"ui_treasury_step_completed">;
2406
+ readonly props: Schema.Struct<{
2407
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2408
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2409
+ readonly journey_id: Schema.optional<Schema.String>;
2410
+ readonly correlation_id: Schema.optional<Schema.String>;
2411
+ readonly sdk_version: Schema.optional<Schema.String>;
2412
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2413
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2414
+ 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"]>>;
2415
+ readonly step: Schema.Literals<readonly ["balance_displayed", "read_refusal_displayed", "retry_selected", "recovery_completed"]>;
2416
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2417
+ }>;
2418
+ }>;
2419
+ readonly ui_receive_step_completed: Schema.Struct<{
2420
+ readonly name: Schema.Literal<"ui_receive_step_completed">;
2421
+ readonly props: Schema.Struct<{
2422
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2423
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2424
+ readonly journey_id: Schema.optional<Schema.String>;
2425
+ readonly correlation_id: Schema.optional<Schema.String>;
2426
+ readonly sdk_version: Schema.optional<Schema.String>;
2427
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2428
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2429
+ 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"]>>;
2430
+ readonly step: Schema.Literals<readonly ["instructions_displayed", "address_copied", "copy_failed", "refusal_displayed", "retry_selected"]>;
2431
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
2432
+ }>;
2433
+ }>;
2434
+ readonly payroll_group_changed: Schema.Struct<{
2435
+ readonly name: Schema.Literal<"payroll_group_changed">;
2436
+ readonly props: Schema.Struct<{
2437
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2438
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2439
+ readonly journey_id: Schema.optional<Schema.String>;
2440
+ readonly correlation_id: Schema.optional<Schema.String>;
2441
+ readonly sdk_version: Schema.optional<Schema.String>;
2442
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2443
+ readonly change: Schema.Literals<readonly ["created", "updated", "deleted"]>;
2444
+ readonly group_id: Schema.String;
2445
+ readonly member_count: Schema.Number;
2446
+ readonly occurred_at: Schema.Number;
2447
+ }>;
2448
+ }>;
2449
+ readonly payroll_run_transitioned: Schema.Struct<{
2450
+ readonly name: Schema.Literal<"payroll_run_transitioned">;
2451
+ readonly props: Schema.Struct<{
2452
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2453
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2454
+ readonly journey_id: Schema.optional<Schema.String>;
2455
+ readonly correlation_id: Schema.optional<Schema.String>;
2456
+ readonly sdk_version: Schema.optional<Schema.String>;
2457
+ readonly organization_id: Schema.Codec<string, string, never, never>;
2458
+ readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2459
+ readonly run_id: Schema.String;
2460
+ /**
2461
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2462
+ * this run's Payment membership. `payment_count` counts THAT command's
2463
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2464
+ */
2465
+ readonly command_id: Schema.optional<Schema.String>;
2466
+ readonly payment_count: Schema.optional<Schema.Number>;
2467
+ readonly occurred_at: Schema.Number;
2468
+ }>;
2469
+ }>;
2470
+ readonly ui_payroll_action_completed: Schema.Struct<{
2471
+ readonly name: Schema.Literal<"ui_payroll_action_completed">;
2472
+ readonly props: Schema.Struct<{
2473
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2474
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2475
+ readonly journey_id: Schema.optional<Schema.String>;
2476
+ readonly correlation_id: Schema.optional<Schema.String>;
2477
+ readonly sdk_version: Schema.optional<Schema.String>;
2478
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2479
+ readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2480
+ 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"]>>;
2481
+ readonly action: Schema.Literals<readonly ["opened", "refusal_displayed", "recovery_completed", "cancelled", "submitted_displayed"]>;
2482
+ readonly run_id: Schema.optional<Schema.String>;
2483
+ }>;
2484
+ }>;
1998
2485
  readonly ui_contact_action_completed: Schema.Struct<{
1999
2486
  readonly name: Schema.Literal<"ui_contact_action_completed">;
2000
2487
  readonly props: Schema.Union<readonly [Schema.Struct<{
@@ -2032,6 +2519,19 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2032
2519
  readonly outcome: Schema.Literal<"requested">;
2033
2520
  }>]>;
2034
2521
  }>;
2522
+ readonly cli_diagnostic_completed: Schema.Struct<{
2523
+ readonly name: Schema.Literal<"cli_diagnostic_completed">;
2524
+ readonly props: Schema.Struct<{
2525
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2526
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2527
+ readonly journey_id: Schema.optional<Schema.String>;
2528
+ readonly correlation_id: Schema.optional<Schema.String>;
2529
+ readonly sdk_version: Schema.optional<Schema.String>;
2530
+ readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
2531
+ readonly invocation_id: Schema.String;
2532
+ readonly cli_version: Schema.String;
2533
+ }>;
2534
+ }>;
2035
2535
  readonly activity_annotation_saved: Schema.Struct<{
2036
2536
  readonly name: Schema.Literal<"activity_annotation_saved">;
2037
2537
  readonly props: Schema.Struct<{
@@ -2050,6 +2550,17 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2050
2550
  readonly ui_activity_action_completed: Schema.Struct<{
2051
2551
  readonly name: Schema.Literal<"ui_activity_action_completed">;
2052
2552
  readonly props: Schema.Union<readonly [Schema.Struct<{
2553
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2554
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2555
+ readonly journey_id: Schema.optional<Schema.String>;
2556
+ readonly correlation_id: Schema.optional<Schema.String>;
2557
+ readonly sdk_version: Schema.optional<Schema.String>;
2558
+ readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2559
+ 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"]>>;
2560
+ readonly action: Schema.Literal<"read">;
2561
+ readonly outcome: Schema.Literals<readonly ["partial_displayed", "recovered"]>;
2562
+ readonly surface: Schema.Literals<readonly ["transactions", "recent", "summary"]>;
2563
+ }>, Schema.Struct<{
2053
2564
  readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2054
2565
  readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2055
2566
  readonly journey_id: Schema.optional<Schema.String>;
@@ -2212,6 +2723,24 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2212
2723
  readonly reason: Schema.optional<Schema.String>;
2213
2724
  }>;
2214
2725
  }>;
2726
+ readonly identity_refused: Schema.Struct<{
2727
+ readonly name: Schema.Literal<"identity_refused">;
2728
+ readonly props: Schema.Struct<{
2729
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
2730
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
2731
+ readonly journey_id: Schema.optional<Schema.String>;
2732
+ readonly correlation_id: Schema.optional<Schema.String>;
2733
+ readonly sdk_version: Schema.optional<Schema.String>;
2734
+ /** The refused identity event tag, for example CreateOrganization. */
2735
+ readonly event: Schema.optional<Schema.String>;
2736
+ /** The machine's refusal code: WRONG_STATE, SUPERSEDED or STALE_EPOCH. */
2737
+ readonly refusal_code: Schema.optional<Schema.String>;
2738
+ /** The machine slot the request targeted, for example identity:org. */
2739
+ readonly slot: Schema.optional<Schema.String>;
2740
+ /** The machine state at refusal, for example authenticated:claiming. */
2741
+ readonly state: Schema.optional<Schema.String>;
2742
+ }>;
2743
+ }>;
2215
2744
  readonly auth_signed_out: Schema.Struct<{
2216
2745
  readonly name: Schema.Literal<"auth_signed_out">;
2217
2746
  readonly props: Schema.Struct<{
@@ -2500,6 +3029,9 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2500
3029
  readonly correlation_id: Schema.optional<Schema.String>;
2501
3030
  readonly sdk_version: Schema.optional<Schema.String>;
2502
3031
  readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
3032
+ readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
3033
+ readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
3034
+ readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
2503
3035
  readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
2504
3036
  readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
2505
3037
  readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
@@ -3072,10 +3604,33 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3072
3604
  readonly journey_id: Schema.optional<Schema.String>;
3073
3605
  readonly correlation_id: Schema.optional<Schema.String>;
3074
3606
  readonly sdk_version: Schema.optional<Schema.String>;
3607
+ /** The RECEIPT verification outcome. What the mirror then did is separate. */
3075
3608
  readonly outcome: Schema.String;
3076
3609
  readonly reason: Schema.String;
3077
3610
  readonly chain_id: Schema.Number;
3078
3611
  readonly retry_count: Schema.Number;
3612
+ /**
3613
+ * #1960 R02, consumed by R03. A verified receipt is not an applied Permission:
3614
+ * these two optional fields let the producer say what the applying mutation
3615
+ * actually returned, and which command it was, without either fact rewriting
3616
+ * the receipt outcome above. Absent when application has not happened yet.
3617
+ */
3618
+ readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
3619
+ readonly command_id: Schema.optional<Schema.String>;
3620
+ /**
3621
+ * #1961 R03. The authorized stored row names the Permission it changed; the
3622
+ * verified receipt names the chain facts that prove it. Every field is
3623
+ * optional because a pending or provider-failed verification has neither an
3624
+ * application result nor a receipt to report.
3625
+ */
3626
+ readonly permission_id: Schema.optional<Schema.String>;
3627
+ readonly permission_assignment_id: Schema.optional<Schema.String>;
3628
+ readonly permission_operation: Schema.optional<Schema.Literals<readonly ["create", "change", "assign", "revoke", "replace"]>>;
3629
+ readonly revision: Schema.optional<Schema.Number>;
3630
+ readonly user_op_hash: Schema.optional<Schema.String>;
3631
+ readonly transaction_hash: Schema.optional<Schema.String>;
3632
+ readonly block_number: Schema.optional<Schema.Number>;
3633
+ readonly log_index: Schema.optional<Schema.Number>;
3079
3634
  }>;
3080
3635
  }>;
3081
3636
  readonly movement_scan_window: Schema.Struct<{
@@ -3123,6 +3678,25 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
3123
3678
  readonly anchor_block_number: Schema.Number;
3124
3679
  }>;
3125
3680
  }>;
3681
+ readonly indexer_drift_corrected: Schema.Struct<{
3682
+ readonly name: Schema.Literal<"indexer_drift_corrected">;
3683
+ readonly props: Schema.Struct<{
3684
+ readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
3685
+ readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
3686
+ readonly journey_id: Schema.optional<Schema.String>;
3687
+ readonly correlation_id: Schema.optional<Schema.String>;
3688
+ readonly sdk_version: Schema.optional<Schema.String>;
3689
+ readonly projection_kind: Schema.Literals<readonly ["member_authority", "payment_settlement", "permission_assignment"]>;
3690
+ readonly previous_state: Schema.String;
3691
+ readonly current_state: Schema.String;
3692
+ readonly previous_block: Schema.optional<Schema.Number>;
3693
+ readonly current_block: Schema.optional<Schema.Number>;
3694
+ readonly logical_event_id: Schema.optional<Schema.String>;
3695
+ readonly scope_kind: Schema.optional<Schema.Literals<readonly ["account", "organization"]>>;
3696
+ readonly account_id: Schema.optional<Schema.Codec<AccountId, string, never, never>>;
3697
+ readonly reference_id: Schema.optional<Schema.String>;
3698
+ }>;
3699
+ }>;
3126
3700
  };
3127
3701
  declare const FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS: readonly [];
3128
3702
  /**
@@ -3141,7 +3715,7 @@ declare const CONTRACT_FIRST_TELEMETRY_EVENTS: readonly [];
3141
3715
  */
3142
3716
  declare const PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS: readonly ["auth_otp_expired"];
3143
3717
  /** 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"];
3718
+ 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
3719
  interface TelemetryIdentifyInput {
3146
3720
  readonly distinctId: string;
3147
3721
  readonly anonDistinctId?: AnonymousDistinctId;
@@ -3178,8 +3752,8 @@ interface PostHogBrowserCapture {
3178
3752
  * property before transport. Browser applications may carry emails, draft ids,
3179
3753
  * or other capabilities in the URL; those values must never leave the origin.
3180
3754
  *
3181
- * The callback mutates and returns the supplied event, matching PostHog's
3182
- * `before_send` contract while preserving the event's full structural type.
3755
+ * The callback replaces the event's data with a sanitized copy. Nested values
3756
+ * can refer to live clients or configuration; observation must never mutate them.
3183
3757
  */
3184
3758
  declare function sanitizePostHogBrowserEvent<T extends PostHogBrowserCapture | null>(event: T, urlPolicy?: "path-only" | "diagnostic"): T;
3185
3759
  /**
@@ -3360,4 +3934,4 @@ declare class InMemoryTelemetryBusAdapter implements TelemetryPort {
3360
3934
  reportHandledError(_error: CapxulError, _context?: HandledErrorReportContext): Effect.Effect<void, never>;
3361
3935
  }
3362
3936
  //#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 };
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 };