@capxul/observability 4.20.0-beta.1 → 4.20.0-beta.11
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/engineering.d.mts +48 -4
- package/dist/engineering.mjs +482 -23
- package/dist/index.d.mts +458 -17
- package/dist/index.mjs +2 -2236
- package/dist/src-BZJgbf-f.mjs +3327 -0
- package/package.json +1 -1
- package/dist/operations-sJPrehYY.mjs +0 -748
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";
|
|
@@ -327,10 +346,12 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
327
346
|
readonly prepareOrganizationPaymentExecution: "moneyExecution.prepareOrganizationPaymentExecution";
|
|
328
347
|
readonly preparePaymentExecution: "moneyExecution.preparePaymentExecution";
|
|
329
348
|
readonly preparePaymentLifecycleExecution: "moneyExecution.preparePaymentLifecycleExecution";
|
|
349
|
+
readonly prepareInvitationConfiguration: "moneyExecution.prepareInvitationConfiguration";
|
|
330
350
|
readonly preparePermissionExecution: "moneyExecution.preparePermissionExecution";
|
|
331
351
|
readonly recoverSubmissionClaims: "moneyExecution.recoverSubmissionClaims";
|
|
332
352
|
readonly submit: "moneyExecution.submit";
|
|
333
353
|
readonly submitPaymentCommandExecution: "moneyExecution.submitPaymentCommandExecution";
|
|
354
|
+
readonly submitInvitationConfigurationExecution: "moneyExecution.submitInvitationConfigurationExecution";
|
|
334
355
|
readonly submitPaymentExecution: "moneyExecution.submitPaymentExecution";
|
|
335
356
|
readonly submitPermissionExecution: "moneyExecution.submitPermissionExecution";
|
|
336
357
|
};
|
|
@@ -352,22 +373,54 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
352
373
|
readonly completePerson: "onboarding.completePerson";
|
|
353
374
|
};
|
|
354
375
|
readonly org: {
|
|
355
|
-
readonly acceptInvitations: "org.acceptInvitations";
|
|
356
376
|
readonly account: {
|
|
357
377
|
readonly get: "org.account.get";
|
|
358
378
|
};
|
|
359
|
-
readonly activateMember: "org.activateMember";
|
|
360
379
|
readonly auditLog: "org.auditLog";
|
|
361
380
|
readonly confirmBootstrap: "org.confirmBootstrap";
|
|
362
381
|
readonly createOrg: "org.createOrg";
|
|
363
382
|
readonly create: "org.create";
|
|
364
|
-
|
|
383
|
+
/**
|
|
384
|
+
* §11: the consent mutation reports `org_invite_accepted` through its own
|
|
385
|
+
* scheduled emitter. It is named for the emit, not the acceptance, because
|
|
386
|
+
* the interactive acceptance itself owns `org.invitations.accept`.
|
|
387
|
+
*/
|
|
388
|
+
readonly emitInviteAccepted: "org.emitInviteAccepted";
|
|
365
389
|
readonly emitInviteProgressed: "org.emitInviteProgressed";
|
|
366
390
|
readonly expireInvitations: "org.expireInvitations";
|
|
367
391
|
readonly getLifecycle: "org.getLifecycle";
|
|
368
392
|
readonly getProofReceipt: "org.getProofReceipt";
|
|
369
393
|
readonly invite: "org.invite";
|
|
370
|
-
|
|
394
|
+
/** D8 invitation lifecycle: preview, own list, read, and the four transitions. */
|
|
395
|
+
readonly invitations: {
|
|
396
|
+
/** The exact grantee's consent commit (§8): one accepted digest, once. */
|
|
397
|
+
readonly accept: "org.invitations.accept";
|
|
398
|
+
/**
|
|
399
|
+
* The authoring write. It is named `authorize`, not `invite`, because the
|
|
400
|
+
* backend already uses `org.invitations.invite` as a refusal label and
|
|
401
|
+
* `lint:telemetry-spine` refuses a label that collides with an operation.
|
|
402
|
+
*/
|
|
403
|
+
readonly authorize: "org.invitations.authorize";
|
|
404
|
+
readonly cancel: "org.invitations.cancel";
|
|
405
|
+
readonly decline: "org.invitations.decline";
|
|
406
|
+
readonly get: "org.invitations.get";
|
|
407
|
+
readonly list: "org.invitations.list";
|
|
408
|
+
/**
|
|
409
|
+
* The Admin-scoped Organization list. It is named `listScoped`, not
|
|
410
|
+
* `list`, because the own-offer list already owns `org.invitations.list`.
|
|
411
|
+
*/
|
|
412
|
+
readonly listScoped: "org.invitations.listScoped";
|
|
413
|
+
/**
|
|
414
|
+
* The authoring write's inner hops: the SDK drives the backend's existing
|
|
415
|
+
* prepare/submit pair, and these names label the two Convex calls. The
|
|
416
|
+
* owning `capxul_sdk_operation` record stays `org.invitations.authorize`.
|
|
417
|
+
*/
|
|
418
|
+
readonly prepareConfiguration: "org.invitations.prepareConfiguration";
|
|
419
|
+
readonly preview: "org.invitations.preview";
|
|
420
|
+
readonly resend: "org.invitations.resend";
|
|
421
|
+
readonly retry: "org.invitations.retry";
|
|
422
|
+
readonly submitConfiguration: "org.invitations.submitConfiguration";
|
|
423
|
+
};
|
|
371
424
|
readonly list: "org.list";
|
|
372
425
|
readonly load: "org.load";
|
|
373
426
|
readonly me: "org.me";
|
|
@@ -428,7 +481,6 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
428
481
|
};
|
|
429
482
|
readonly recordFailure: "org.recordFailure";
|
|
430
483
|
readonly recordProgress: "org.recordProgress";
|
|
431
|
-
readonly resendInviteToken: "org.resendInviteToken";
|
|
432
484
|
readonly resumeBootstrapSubmission: "org.resumeBootstrapSubmission";
|
|
433
485
|
readonly retry: "org.retry";
|
|
434
486
|
readonly retrySetup: "org.retrySetup";
|
|
@@ -449,9 +501,6 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
449
501
|
readonly organizationSetup: {
|
|
450
502
|
readonly getProofReceipt: "organizationSetup.getProofReceipt";
|
|
451
503
|
};
|
|
452
|
-
readonly organizations: {
|
|
453
|
-
readonly detectAndAcceptPendingInvitations: "orgs.detectAndAcceptPendingInvitations";
|
|
454
|
-
};
|
|
455
504
|
readonly payments: {
|
|
456
505
|
readonly cancel: "payments.cancel";
|
|
457
506
|
readonly claim: "payments.claim";
|
|
@@ -468,6 +517,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
468
517
|
readonly submitExecution: "payments.submitExecution";
|
|
469
518
|
};
|
|
470
519
|
readonly paymentDocuments: {
|
|
520
|
+
readonly get: "paymentDocuments.get";
|
|
471
521
|
readonly render: "paymentDocuments.render";
|
|
472
522
|
readonly verify: "paymentDocuments.verify";
|
|
473
523
|
};
|
|
@@ -490,6 +540,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
490
540
|
readonly terms: "payroll.terms";
|
|
491
541
|
};
|
|
492
542
|
readonly permission: {
|
|
543
|
+
readonly verifyInvitationConfiguration: "permission.verifyInvitationConfiguration";
|
|
493
544
|
readonly command: "permission.command";
|
|
494
545
|
readonly retryVerification: "permission.retryVerification";
|
|
495
546
|
readonly verify: "permission.verify";
|
|
@@ -612,7 +663,7 @@ interface TelemetryPort {
|
|
|
612
663
|
}
|
|
613
664
|
//#endregion
|
|
614
665
|
//#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"];
|
|
666
|
+
declare const TELEMETRY_EVENT_NAMES: readonly ["auth_otp_requested", "auth_otp_delivered", "auth_otp_expired", "auth_verified", "auth_failed", "identity_refused", "auth_signed_out", "native_authorization_started", "native_authorization_reviewed", "native_authorization_accepted", "native_authorization_denied", "native_authorization_connected", "native_authorization_failed", "onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "provisioning_safe_created", "provisioning_safe_confirmed", "bootstrap_resolved", "bootstrap_failed", "member_activation_started", "member_activation_ready", "member_activation_failed", "organization_creation_started", "organization_creation_ready", "organization_creation_failed", "chain_upstream_fallback", "bundler_error", "receipt_pending", "operation_retried", "account_balance_read", "account_balance_failed", "faucet_requested", "faucet_confirmed", "faucet_failed", "org_create_started", "org_safe_created", "org_safe_confirmed", "org_roles_seeded", "org_created", "org_create_failed", "org_invite_sent", "org_invite_accepted", "org_invite_expired", "payment_initiated", "payment_settled", "payment_failed", "payment_verification_retry", "payment_lifecycle_transition", "quick_pay_external_address_acknowledged", "deposit_initiated", "deposit_settled", "permission_mirror_verification", "movement_scan_window", "movement_scan_checkpoint", "movement_scan_incident", "indexer_drift_corrected", "activity_annotation_saved", "ui_activity_action_completed", "contact_relationship_changed", "ui_contact_action_completed", "access_recovery_completed", "ui_access_step_completed", "org_invite_progressed", "invoice_issued", "invoice_request_transitioned", "ui_invoice_step_completed", "ui_treasury_step_completed", "ui_receive_step_completed", "payroll_group_changed", "payroll_run_transitioned", "ui_payroll_action_completed", "cli_diagnostic_completed", "cli_first_used", "cli_command_started", "cli_command_completed"];
|
|
616
667
|
type TelemetryEventName = (typeof TELEMETRY_EVENT_NAMES)[number];
|
|
617
668
|
type NonEmptyTelemetryEventNames = readonly [TelemetryEventName, ...TelemetryEventName[]];
|
|
618
669
|
type FunnelStepPropertyFilter = {
|
|
@@ -959,6 +1010,81 @@ declare const AuthSignedOutTelemetryEventSchema: Schema.Struct<{
|
|
|
959
1010
|
sdk_version: Schema.optional<Schema.String>;
|
|
960
1011
|
}>;
|
|
961
1012
|
}>;
|
|
1013
|
+
declare const NativeAuthorizationStartedTelemetryEventSchema: Schema.Struct<{
|
|
1014
|
+
readonly name: Schema.Literal<"native_authorization_started">;
|
|
1015
|
+
readonly props: Schema.Struct<{
|
|
1016
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
1017
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
1018
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
1019
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1020
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1021
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
1022
|
+
}>;
|
|
1023
|
+
}>;
|
|
1024
|
+
declare const NativeAuthorizationReviewedTelemetryEventSchema: Schema.Struct<{
|
|
1025
|
+
readonly name: Schema.Literal<"native_authorization_reviewed">;
|
|
1026
|
+
readonly props: Schema.Struct<{
|
|
1027
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
1028
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
1029
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
1030
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1031
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1032
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
1033
|
+
}>;
|
|
1034
|
+
}>;
|
|
1035
|
+
declare const NativeAuthorizationAcceptedTelemetryEventSchema: Schema.Struct<{
|
|
1036
|
+
readonly name: Schema.Literal<"native_authorization_accepted">;
|
|
1037
|
+
readonly props: Schema.Struct<{
|
|
1038
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
1039
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
1040
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
1041
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1042
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1043
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
1044
|
+
/** Whether consent also had to finish account setup first. */
|
|
1045
|
+
readonly setup_state: Schema.optional<Schema.Literals<readonly ["not_required", "new", "resumable"]>>;
|
|
1046
|
+
}>;
|
|
1047
|
+
}>;
|
|
1048
|
+
declare const NativeAuthorizationDeniedTelemetryEventSchema: Schema.Struct<{
|
|
1049
|
+
readonly name: Schema.Literal<"native_authorization_denied">;
|
|
1050
|
+
readonly props: Schema.Struct<{
|
|
1051
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
1052
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
1053
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
1054
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1055
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1056
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
1057
|
+
}>;
|
|
1058
|
+
}>;
|
|
1059
|
+
declare const NativeAuthorizationConnectedTelemetryEventSchema: Schema.Struct<{
|
|
1060
|
+
readonly name: Schema.Literal<"native_authorization_connected">;
|
|
1061
|
+
readonly props: Schema.Struct<{
|
|
1062
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
1063
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
1064
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
1065
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1066
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1067
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
1068
|
+
}>;
|
|
1069
|
+
}>;
|
|
1070
|
+
declare const NativeAuthorizationFailedTelemetryEventSchema: Schema.Struct<{
|
|
1071
|
+
readonly name: Schema.Literal<"native_authorization_failed">;
|
|
1072
|
+
readonly props: Schema.Struct<{
|
|
1073
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
1074
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
1075
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
1076
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1077
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1078
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["login", "signup"]>>;
|
|
1079
|
+
/** The refusal word the store returned, for example `identity_mismatch` or
|
|
1080
|
+
* `request_expired`. These are the closed `CLIENT_AUTHORIZATION_REFUSALS` from
|
|
1081
|
+
* `@capxul/wire` plus the store-internal `fresh_session_required` (ruling R3),
|
|
1082
|
+
* which the continuation maps to `identity_mismatch` on the wire but reports
|
|
1083
|
+
* truthfully here. Kept as `OptionalString` rather than an imported literal
|
|
1084
|
+
* set: this package must not depend on the transport contract. */
|
|
1085
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
1086
|
+
}>;
|
|
1087
|
+
}>;
|
|
962
1088
|
declare const OnboardingIntentSelectedTelemetryEventSchema: Schema.Struct<{
|
|
963
1089
|
readonly name: Schema.Literal<"onboarding_intent_selected">;
|
|
964
1090
|
readonly props: Schema.Struct<{
|
|
@@ -1166,6 +1292,7 @@ declare const OrganizationCreationStartedTelemetryEventSchema: Schema.Struct<{
|
|
|
1166
1292
|
readonly $insert_id: Schema.String;
|
|
1167
1293
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
1168
1294
|
readonly attempt_number: Schema.refine<number, Schema.Number>;
|
|
1295
|
+
readonly release: Schema.optional<Schema.String>;
|
|
1169
1296
|
}>;
|
|
1170
1297
|
}>;
|
|
1171
1298
|
declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1180,6 +1307,7 @@ declare const OrganizationCreationReadyTelemetryEventSchema: Schema.Struct<{
|
|
|
1180
1307
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
1181
1308
|
readonly attempt_number: Schema.refine<number, Schema.Number>;
|
|
1182
1309
|
readonly duration_ms: Schema.Codec<DurationMs, number, never, never>;
|
|
1310
|
+
readonly release: Schema.optional<Schema.String>;
|
|
1183
1311
|
}>;
|
|
1184
1312
|
}>;
|
|
1185
1313
|
declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1223,9 +1351,10 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
1223
1351
|
readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
|
|
1224
1352
|
readonly error_code: Schema.String;
|
|
1225
1353
|
readonly retryable: Schema.Boolean;
|
|
1354
|
+
readonly release: Schema.optional<Schema.String>;
|
|
1226
1355
|
/** #1655: the SDK's backoff before this attempt. Absent on the first attempt. */
|
|
1227
1356
|
readonly backoff_ms: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
1228
|
-
readonly failure_reason: Schema.optional<Schema.Literals<readonly ["
|
|
1357
|
+
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
1358
|
}>;
|
|
1230
1359
|
}>;
|
|
1231
1360
|
declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1240,6 +1369,7 @@ declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
|
|
|
1240
1369
|
readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
|
|
1241
1370
|
readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1242
1371
|
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
1372
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1243
1373
|
readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
|
|
1244
1374
|
readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
|
|
1245
1375
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
@@ -1293,6 +1423,7 @@ declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
|
|
|
1293
1423
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1294
1424
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
1295
1425
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1426
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1296
1427
|
}>;
|
|
1297
1428
|
}>;
|
|
1298
1429
|
declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1306,6 +1437,8 @@ declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
|
|
|
1306
1437
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
1307
1438
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1308
1439
|
readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
|
|
1440
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1441
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
1309
1442
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
1310
1443
|
}>;
|
|
1311
1444
|
}>;
|
|
@@ -1345,6 +1478,10 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
1345
1478
|
readonly server: Schema.optional<Schema.String>;
|
|
1346
1479
|
}>>;
|
|
1347
1480
|
readonly reason: Schema.optional<Schema.String>;
|
|
1481
|
+
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
1482
|
+
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1483
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1484
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
1348
1485
|
}>;
|
|
1349
1486
|
}>;
|
|
1350
1487
|
declare const ChainUpstreamFallbackTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1540,6 +1677,11 @@ declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
|
|
|
1540
1677
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1541
1678
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1542
1679
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1680
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1681
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
1682
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
1683
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
1684
|
+
readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
1543
1685
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
1544
1686
|
readonly role: Schema.optional<Schema.String>;
|
|
1545
1687
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -1554,6 +1696,11 @@ declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
|
|
|
1554
1696
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1555
1697
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1556
1698
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1699
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1700
|
+
readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
1701
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
1702
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
1703
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
1557
1704
|
readonly role: Schema.optional<Schema.String>;
|
|
1558
1705
|
readonly status: Schema.optional<Schema.String>;
|
|
1559
1706
|
}>;
|
|
@@ -1568,6 +1715,7 @@ declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
|
|
|
1568
1715
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1569
1716
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1570
1717
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
1718
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1571
1719
|
readonly reason: Schema.optional<Schema.String>;
|
|
1572
1720
|
readonly role: Schema.optional<Schema.String>;
|
|
1573
1721
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -1823,8 +1971,13 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
|
|
|
1823
1971
|
* actually returned, and which command it was, without either fact rewriting
|
|
1824
1972
|
* the receipt outcome above. Absent when application has not happened yet.
|
|
1825
1973
|
*/
|
|
1826
|
-
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
|
|
1974
|
+
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
|
|
1975
|
+
readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
|
|
1827
1976
|
readonly command_id: Schema.optional<Schema.String>;
|
|
1977
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1978
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
1979
|
+
readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
|
|
1980
|
+
readonly $insert_id: Schema.optional<Schema.String>;
|
|
1828
1981
|
/**
|
|
1829
1982
|
* #1961 R03. The authorized stored row names the Permission it changed; the
|
|
1830
1983
|
* verified receipt names the chain facts that prove it. Every field is
|
|
@@ -1924,6 +2077,99 @@ declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
|
|
|
1924
2077
|
}>;
|
|
1925
2078
|
}>;
|
|
1926
2079
|
/** One completed online CLI diagnostic. No command input or provider text. */
|
|
2080
|
+
declare const CLI_COMMAND_NAMES: readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"];
|
|
2081
|
+
declare const CLI_CAPABILITIES: readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"];
|
|
2082
|
+
declare const CLI_INVOCATION_KINDS: readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"];
|
|
2083
|
+
type CliCommandName = (typeof CLI_COMMAND_NAMES)[number];
|
|
2084
|
+
type CliCapability = (typeof CLI_CAPABILITIES)[number];
|
|
2085
|
+
type CliInvocationKind = (typeof CLI_INVOCATION_KINDS)[number];
|
|
2086
|
+
declare const CliFirstUsedTelemetryEventSchema: Schema.Struct<{
|
|
2087
|
+
readonly name: Schema.Literal<"cli_first_used">;
|
|
2088
|
+
readonly props: Schema.Struct<{
|
|
2089
|
+
capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
2090
|
+
producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
2091
|
+
journey_id: Schema.optional<Schema.String>;
|
|
2092
|
+
correlation_id: Schema.optional<Schema.String>;
|
|
2093
|
+
schema_version: Schema.Literal<1>;
|
|
2094
|
+
command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2095
|
+
capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2096
|
+
invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2097
|
+
invocation_id: Schema.String;
|
|
2098
|
+
cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2099
|
+
anonymous_id: Schema.optional<Schema.String>;
|
|
2100
|
+
auth_user_id: Schema.optional<Schema.String>;
|
|
2101
|
+
occurred_at: Schema.Number;
|
|
2102
|
+
cli_version: Schema.String;
|
|
2103
|
+
sdk_version: Schema.String;
|
|
2104
|
+
release: Schema.String;
|
|
2105
|
+
platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
|
|
2106
|
+
architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
|
|
2107
|
+
ci: Schema.Boolean;
|
|
2108
|
+
tty: Schema.Boolean;
|
|
2109
|
+
output_mode: Schema.Literals<readonly ["human", "json"]>;
|
|
2110
|
+
}>;
|
|
2111
|
+
}>;
|
|
2112
|
+
declare const CliCommandStartedTelemetryEventSchema: Schema.Struct<{
|
|
2113
|
+
readonly name: Schema.Literal<"cli_command_started">;
|
|
2114
|
+
readonly props: Schema.Struct<{
|
|
2115
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
2116
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
2117
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
2118
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2119
|
+
readonly schema_version: Schema.Literal<1>;
|
|
2120
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2121
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2122
|
+
readonly invocation_id: Schema.String;
|
|
2123
|
+
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2124
|
+
readonly anonymous_id: Schema.optional<Schema.String>;
|
|
2125
|
+
readonly auth_user_id: Schema.optional<Schema.String>;
|
|
2126
|
+
readonly occurred_at: Schema.Number;
|
|
2127
|
+
readonly cli_version: Schema.String;
|
|
2128
|
+
readonly sdk_version: Schema.String;
|
|
2129
|
+
readonly release: Schema.String;
|
|
2130
|
+
readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
|
|
2131
|
+
readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
|
|
2132
|
+
readonly ci: Schema.Boolean;
|
|
2133
|
+
readonly tty: Schema.Boolean;
|
|
2134
|
+
readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
|
|
2135
|
+
readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version"]>;
|
|
2136
|
+
}>;
|
|
2137
|
+
}>;
|
|
2138
|
+
declare const CliCommandCompletedTelemetryEventSchema: Schema.Struct<{
|
|
2139
|
+
readonly name: Schema.Literal<"cli_command_completed">;
|
|
2140
|
+
readonly props: Schema.Struct<{
|
|
2141
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
2142
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
2143
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
2144
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2145
|
+
readonly schema_version: Schema.Literal<1>;
|
|
2146
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2147
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2148
|
+
readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2149
|
+
readonly invocation_id: Schema.String;
|
|
2150
|
+
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2151
|
+
readonly anonymous_id: Schema.optional<Schema.String>;
|
|
2152
|
+
readonly auth_user_id: Schema.optional<Schema.String>;
|
|
2153
|
+
readonly occurred_at: Schema.Number;
|
|
2154
|
+
readonly cli_version: Schema.String;
|
|
2155
|
+
readonly sdk_version: Schema.String;
|
|
2156
|
+
readonly release: Schema.String;
|
|
2157
|
+
readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
|
|
2158
|
+
readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
|
|
2159
|
+
readonly ci: Schema.Boolean;
|
|
2160
|
+
readonly tty: Schema.Boolean;
|
|
2161
|
+
readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
|
|
2162
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
|
|
2163
|
+
readonly duration_ms: Schema.Number;
|
|
2164
|
+
readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
2165
|
+
readonly setup_status: Schema.optional<Schema.Literals<readonly ["awaitingAuthorization", "processing", "needsAttention", "ready", "rechecking", "failed"]>>;
|
|
2166
|
+
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"]>>;
|
|
2167
|
+
readonly $groups: Schema.optional<Schema.Struct<{
|
|
2168
|
+
readonly organization: Schema.Codec<string, string, never, never>;
|
|
2169
|
+
}>>;
|
|
2170
|
+
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"]>>;
|
|
2171
|
+
}>;
|
|
2172
|
+
}>;
|
|
1927
2173
|
declare const CliDiagnosticCompletedTelemetryEventSchema: Schema.Struct<{
|
|
1928
2174
|
readonly name: Schema.Literal<"cli_diagnostic_completed">;
|
|
1929
2175
|
readonly props: Schema.Struct<{
|
|
@@ -2149,9 +2395,12 @@ declare const OrgInviteProgressedTelemetryEventSchema: Schema.Struct<{
|
|
|
2149
2395
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2150
2396
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
2151
2397
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
2152
|
-
readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2398
|
+
readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2153
2399
|
/** The invited Party. The initiating actor stays on the envelope's identity. */
|
|
2154
2400
|
readonly member_party_id: Schema.String;
|
|
2401
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
2402
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
2403
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
2155
2404
|
readonly occurred_at: Schema.Number;
|
|
2156
2405
|
}>;
|
|
2157
2406
|
}>;
|
|
@@ -2350,9 +2599,12 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2350
2599
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2351
2600
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
2352
2601
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
2353
|
-
readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2602
|
+
readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2354
2603
|
/** The invited Party. The initiating actor stays on the envelope's identity. */
|
|
2355
2604
|
readonly member_party_id: Schema.String;
|
|
2605
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
2606
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
2607
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
2356
2608
|
readonly occurred_at: Schema.Number;
|
|
2357
2609
|
}>;
|
|
2358
2610
|
}>;
|
|
@@ -2532,6 +2784,93 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2532
2784
|
readonly cli_version: Schema.String;
|
|
2533
2785
|
}>;
|
|
2534
2786
|
}>;
|
|
2787
|
+
readonly cli_first_used: Schema.Struct<{
|
|
2788
|
+
readonly name: Schema.Literal<"cli_first_used">;
|
|
2789
|
+
readonly props: Schema.Struct<{
|
|
2790
|
+
capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
2791
|
+
producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
2792
|
+
journey_id: Schema.optional<Schema.String>;
|
|
2793
|
+
correlation_id: Schema.optional<Schema.String>;
|
|
2794
|
+
schema_version: Schema.Literal<1>;
|
|
2795
|
+
command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2796
|
+
capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2797
|
+
invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2798
|
+
invocation_id: Schema.String;
|
|
2799
|
+
cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2800
|
+
anonymous_id: Schema.optional<Schema.String>;
|
|
2801
|
+
auth_user_id: Schema.optional<Schema.String>;
|
|
2802
|
+
occurred_at: Schema.Number;
|
|
2803
|
+
cli_version: Schema.String;
|
|
2804
|
+
sdk_version: Schema.String;
|
|
2805
|
+
release: Schema.String;
|
|
2806
|
+
platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
|
|
2807
|
+
architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
|
|
2808
|
+
ci: Schema.Boolean;
|
|
2809
|
+
tty: Schema.Boolean;
|
|
2810
|
+
output_mode: Schema.Literals<readonly ["human", "json"]>;
|
|
2811
|
+
}>;
|
|
2812
|
+
}>;
|
|
2813
|
+
readonly cli_command_started: Schema.Struct<{
|
|
2814
|
+
readonly name: Schema.Literal<"cli_command_started">;
|
|
2815
|
+
readonly props: Schema.Struct<{
|
|
2816
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
2817
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
2818
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
2819
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2820
|
+
readonly schema_version: Schema.Literal<1>;
|
|
2821
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2822
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2823
|
+
readonly invocation_id: Schema.String;
|
|
2824
|
+
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2825
|
+
readonly anonymous_id: Schema.optional<Schema.String>;
|
|
2826
|
+
readonly auth_user_id: Schema.optional<Schema.String>;
|
|
2827
|
+
readonly occurred_at: Schema.Number;
|
|
2828
|
+
readonly cli_version: Schema.String;
|
|
2829
|
+
readonly sdk_version: Schema.String;
|
|
2830
|
+
readonly release: Schema.String;
|
|
2831
|
+
readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
|
|
2832
|
+
readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
|
|
2833
|
+
readonly ci: Schema.Boolean;
|
|
2834
|
+
readonly tty: Schema.Boolean;
|
|
2835
|
+
readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
|
|
2836
|
+
readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version"]>;
|
|
2837
|
+
}>;
|
|
2838
|
+
}>;
|
|
2839
|
+
readonly cli_command_completed: Schema.Struct<{
|
|
2840
|
+
readonly name: Schema.Literal<"cli_command_completed">;
|
|
2841
|
+
readonly props: Schema.Struct<{
|
|
2842
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
2843
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
2844
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
2845
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2846
|
+
readonly schema_version: Schema.Literal<1>;
|
|
2847
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2848
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2849
|
+
readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2850
|
+
readonly invocation_id: Schema.String;
|
|
2851
|
+
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2852
|
+
readonly anonymous_id: Schema.optional<Schema.String>;
|
|
2853
|
+
readonly auth_user_id: Schema.optional<Schema.String>;
|
|
2854
|
+
readonly occurred_at: Schema.Number;
|
|
2855
|
+
readonly cli_version: Schema.String;
|
|
2856
|
+
readonly sdk_version: Schema.String;
|
|
2857
|
+
readonly release: Schema.String;
|
|
2858
|
+
readonly platform: Schema.Literals<readonly ["darwin", "linux", "unknown"]>;
|
|
2859
|
+
readonly architecture: Schema.Literals<readonly ["arm64", "x64", "unknown"]>;
|
|
2860
|
+
readonly ci: Schema.Boolean;
|
|
2861
|
+
readonly tty: Schema.Boolean;
|
|
2862
|
+
readonly output_mode: Schema.Literals<readonly ["human", "json"]>;
|
|
2863
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "refused", "failed", "cancelled"]>;
|
|
2864
|
+
readonly duration_ms: Schema.Number;
|
|
2865
|
+
readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
2866
|
+
readonly setup_status: Schema.optional<Schema.Literals<readonly ["awaitingAuthorization", "processing", "needsAttention", "ready", "rechecking", "failed"]>>;
|
|
2867
|
+
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"]>>;
|
|
2868
|
+
readonly $groups: Schema.optional<Schema.Struct<{
|
|
2869
|
+
readonly organization: Schema.Codec<string, string, never, never>;
|
|
2870
|
+
}>>;
|
|
2871
|
+
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"]>>;
|
|
2872
|
+
}>;
|
|
2873
|
+
}>;
|
|
2535
2874
|
readonly activity_annotation_saved: Schema.Struct<{
|
|
2536
2875
|
readonly name: Schema.Literal<"activity_annotation_saved">;
|
|
2537
2876
|
readonly props: Schema.Struct<{
|
|
@@ -2751,6 +3090,81 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2751
3090
|
sdk_version: Schema.optional<Schema.String>;
|
|
2752
3091
|
}>;
|
|
2753
3092
|
}>;
|
|
3093
|
+
readonly native_authorization_started: Schema.Struct<{
|
|
3094
|
+
readonly name: Schema.Literal<"native_authorization_started">;
|
|
3095
|
+
readonly props: Schema.Struct<{
|
|
3096
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
3097
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
3098
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
3099
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3100
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3101
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
3102
|
+
}>;
|
|
3103
|
+
}>;
|
|
3104
|
+
readonly native_authorization_reviewed: Schema.Struct<{
|
|
3105
|
+
readonly name: Schema.Literal<"native_authorization_reviewed">;
|
|
3106
|
+
readonly props: Schema.Struct<{
|
|
3107
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
3108
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
3109
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
3110
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3111
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3112
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
3113
|
+
}>;
|
|
3114
|
+
}>;
|
|
3115
|
+
readonly native_authorization_accepted: Schema.Struct<{
|
|
3116
|
+
readonly name: Schema.Literal<"native_authorization_accepted">;
|
|
3117
|
+
readonly props: Schema.Struct<{
|
|
3118
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
3119
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
3120
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
3121
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3122
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3123
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
3124
|
+
/** Whether consent also had to finish account setup first. */
|
|
3125
|
+
readonly setup_state: Schema.optional<Schema.Literals<readonly ["not_required", "new", "resumable"]>>;
|
|
3126
|
+
}>;
|
|
3127
|
+
}>;
|
|
3128
|
+
readonly native_authorization_denied: Schema.Struct<{
|
|
3129
|
+
readonly name: Schema.Literal<"native_authorization_denied">;
|
|
3130
|
+
readonly props: Schema.Struct<{
|
|
3131
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
3132
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
3133
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
3134
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3135
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3136
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
3137
|
+
}>;
|
|
3138
|
+
}>;
|
|
3139
|
+
readonly native_authorization_connected: Schema.Struct<{
|
|
3140
|
+
readonly name: Schema.Literal<"native_authorization_connected">;
|
|
3141
|
+
readonly props: Schema.Struct<{
|
|
3142
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
3143
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
3144
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
3145
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3146
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3147
|
+
readonly mode: Schema.Literals<readonly ["login", "signup"]>;
|
|
3148
|
+
}>;
|
|
3149
|
+
}>;
|
|
3150
|
+
readonly native_authorization_failed: Schema.Struct<{
|
|
3151
|
+
readonly name: Schema.Literal<"native_authorization_failed">;
|
|
3152
|
+
readonly props: Schema.Struct<{
|
|
3153
|
+
readonly capxul_env: Schema.Literals<readonly ["development", "staging", "production", "unknown", "local"]>;
|
|
3154
|
+
readonly producer: Schema.Literals<readonly ["server", "browser", "sdk", "mcp", "e2e"]>;
|
|
3155
|
+
readonly journey_id: Schema.optional<Schema.String>;
|
|
3156
|
+
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3157
|
+
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3158
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["login", "signup"]>>;
|
|
3159
|
+
/** The refusal word the store returned, for example `identity_mismatch` or
|
|
3160
|
+
* `request_expired`. These are the closed `CLIENT_AUTHORIZATION_REFUSALS` from
|
|
3161
|
+
* `@capxul/wire` plus the store-internal `fresh_session_required` (ruling R3),
|
|
3162
|
+
* which the continuation maps to `identity_mismatch` on the wire but reports
|
|
3163
|
+
* truthfully here. Kept as `OptionalString` rather than an imported literal
|
|
3164
|
+
* set: this package must not depend on the transport contract. */
|
|
3165
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
3166
|
+
}>;
|
|
3167
|
+
}>;
|
|
2754
3168
|
readonly onboarding_intent_selected: Schema.Struct<{
|
|
2755
3169
|
readonly name: Schema.Literal<"onboarding_intent_selected">;
|
|
2756
3170
|
readonly props: Schema.Struct<{
|
|
@@ -2958,6 +3372,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2958
3372
|
readonly $insert_id: Schema.String;
|
|
2959
3373
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
2960
3374
|
readonly attempt_number: Schema.refine<number, Schema.Number>;
|
|
3375
|
+
readonly release: Schema.optional<Schema.String>;
|
|
2961
3376
|
}>;
|
|
2962
3377
|
}>;
|
|
2963
3378
|
readonly organization_creation_ready: Schema.Struct<{
|
|
@@ -2972,6 +3387,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2972
3387
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
2973
3388
|
readonly attempt_number: Schema.refine<number, Schema.Number>;
|
|
2974
3389
|
readonly duration_ms: Schema.Codec<DurationMs, number, never, never>;
|
|
3390
|
+
readonly release: Schema.optional<Schema.String>;
|
|
2975
3391
|
}>;
|
|
2976
3392
|
}>;
|
|
2977
3393
|
readonly organization_creation_failed: Schema.Struct<{
|
|
@@ -3015,9 +3431,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3015
3431
|
readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
|
|
3016
3432
|
readonly error_code: Schema.String;
|
|
3017
3433
|
readonly retryable: Schema.Boolean;
|
|
3434
|
+
readonly release: Schema.optional<Schema.String>;
|
|
3018
3435
|
/** #1655: the SDK's backoff before this attempt. Absent on the first attempt. */
|
|
3019
3436
|
readonly backoff_ms: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
3020
|
-
readonly failure_reason: Schema.optional<Schema.Literals<readonly ["
|
|
3437
|
+
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
3438
|
}>;
|
|
3022
3439
|
}>;
|
|
3023
3440
|
readonly account_balance_read: Schema.Struct<{
|
|
@@ -3032,6 +3449,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3032
3449
|
readonly account_kind: Schema.optional<Schema.Literals<readonly ["personalSafe", "orgTreasury"]>>;
|
|
3033
3450
|
readonly chain_id: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3034
3451
|
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
3452
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3035
3453
|
readonly currency: Schema.optional<Schema.Codec<CurrencyCode, string, never, never>>;
|
|
3036
3454
|
readonly balance_bucket: Schema.optional<Schema.Literals<readonly ["zero", "nonzero"]>>;
|
|
3037
3455
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
@@ -3085,6 +3503,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3085
3503
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3086
3504
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
3087
3505
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3506
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3088
3507
|
}>;
|
|
3089
3508
|
}>;
|
|
3090
3509
|
readonly faucet_confirmed: Schema.Struct<{
|
|
@@ -3098,6 +3517,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3098
3517
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
3099
3518
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3100
3519
|
readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
|
|
3520
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3521
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
3101
3522
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
3102
3523
|
}>;
|
|
3103
3524
|
}>;
|
|
@@ -3137,6 +3558,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3137
3558
|
readonly server: Schema.optional<Schema.String>;
|
|
3138
3559
|
}>>;
|
|
3139
3560
|
readonly reason: Schema.optional<Schema.String>;
|
|
3561
|
+
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
3562
|
+
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3563
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3564
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
3140
3565
|
}>;
|
|
3141
3566
|
}>;
|
|
3142
3567
|
readonly chain_upstream_fallback: Schema.Struct<{
|
|
@@ -3332,6 +3757,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3332
3757
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3333
3758
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3334
3759
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
3760
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
3761
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
3762
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
3763
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
3764
|
+
readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
3335
3765
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
3336
3766
|
readonly role: Schema.optional<Schema.String>;
|
|
3337
3767
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -3346,6 +3776,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3346
3776
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3347
3777
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3348
3778
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
3779
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
3780
|
+
readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
3781
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
3782
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
3783
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
3349
3784
|
readonly role: Schema.optional<Schema.String>;
|
|
3350
3785
|
readonly status: Schema.optional<Schema.String>;
|
|
3351
3786
|
}>;
|
|
@@ -3360,6 +3795,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3360
3795
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3361
3796
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
3362
3797
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
3798
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
3363
3799
|
readonly reason: Schema.optional<Schema.String>;
|
|
3364
3800
|
readonly role: Schema.optional<Schema.String>;
|
|
3365
3801
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -3615,8 +4051,13 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3615
4051
|
* actually returned, and which command it was, without either fact rewriting
|
|
3616
4052
|
* the receipt outcome above. Absent when application has not happened yet.
|
|
3617
4053
|
*/
|
|
3618
|
-
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
|
|
4054
|
+
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
|
|
4055
|
+
readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
|
|
3619
4056
|
readonly command_id: Schema.optional<Schema.String>;
|
|
4057
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
4058
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
4059
|
+
readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
|
|
4060
|
+
readonly $insert_id: Schema.optional<Schema.String>;
|
|
3620
4061
|
/**
|
|
3621
4062
|
* #1961 R03. The authorized stored row names the Permission it changed; the
|
|
3622
4063
|
* verified receipt names the chain facts that prove it. Every field is
|
|
@@ -3934,4 +4375,4 @@ declare class InMemoryTelemetryBusAdapter implements TelemetryPort {
|
|
|
3934
4375
|
reportHandledError(_error: CapxulError, _context?: HandledErrorReportContext): Effect.Effect<void, never>;
|
|
3935
4376
|
}
|
|
3936
4377
|
//#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 };
|
|
4378
|
+
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 };
|