@capxul/observability 4.20.0-beta.24 → 4.20.0-beta.26
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.mjs +1 -1
- package/dist/index.d.mts +264 -176
- package/dist/index.mjs +2 -2
- package/dist/{src-Cvpqpu0w.mjs → src-CX-Shigb.mjs} +126 -98
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as UiAccessStepCompletedTelemetryEventSchema, $t as
|
|
2
|
-
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, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCommandCompletedTelemetryEventSchema, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, EXCEPTION_EVENT_NAME, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, 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, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
1
|
+
import { $ as UiAccessStepCompletedTelemetryEventSchema, $t as PII, A as ProvisioningSafeConfirmedTelemetryEventSchema, At as BundlerErrorTelemetryEventSchema, B as AuthFailedTelemetryEventSchema, Bt as FaucetRequestedTelemetryEventSchema, C as MemberActivationFailedTelemetryEventSchema, Ct as OrgRolesSeededTelemetryEventSchema, D as OnboardingIntentSelectedTelemetryEventSchema, Dt as OrganizationCreationReadyTelemetryEventSchema, E as OnboardingDashboardReachedTelemetryEventSchema, Et as OrganizationCreationFailedTelemetryEventSchema, F as CliFirstUsedTelemetryEventSchema, Ft as AccountBalanceReadTelemetryEventSchema, G as AuthVerifiedTelemetryEventSchema, Gt as PaymentVerificationRetryTelemetryEventSchema, H as AuthOtpExpiredTelemetryEventSchema, Ht as PaymentInitiatedTelemetryEventSchema, I as CLI_CAPABILITIES, It as DepositInitiatedTelemetryEventSchema, J as NativeAuthorizationConnectedTelemetryEventSchema, Jt as ChainAttemptSchema, K as IdentityRefusedTelemetryEventSchema, Kt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, L as CLI_COMMAND_NAMES, Lt as DepositSettledTelemetryEventSchema, M as CliCommandCompletedTelemetryEventSchema, Mt as OperationRetriedTelemetryEventSchema, N as CliCommandStartedTelemetryEventSchema, Nt as ReceiptPendingTelemetryEventSchema, O as OnboardingOrganizationSubmittedTelemetryEventSchema, Ot as OrganizationCreationStartedTelemetryEventSchema, P as CliDiagnosticCompletedTelemetryEventSchema, Pt as AccountBalanceFailedTelemetryEventSchema, Q as NativeAuthorizationStartedTelemetryEventSchema, Qt as FailureModeSchema, R as CLI_INVOCATION_KINDS, Rt as FaucetConfirmedTelemetryEventSchema, S as BootstrapResolvedTelemetryEventSchema, St as OrgInviteSentTelemetryEventSchema, T as MemberActivationStartedTelemetryEventSchema, Tt as OrgSafeCreatedTelemetryEventSchema, U as AuthOtpRequestedTelemetryEventSchema, Ut as PaymentLifecycleTransitionTelemetryEventSchema, V as AuthOtpDeliveredTelemetryEventSchema, Vt as PaymentFailedTelemetryEventSchema, W as AuthSignedOutTelemetryEventSchema, Wt as PaymentSettledTelemetryEventSchema, X as NativeAuthorizationFailedTelemetryEventSchema, Xt as EXCEPTION_EVENT_NAME, Y as NativeAuthorizationDeniedTelemetryEventSchema, Yt as ChainUpstreamSchema, Z as NativeAuthorizationReviewedTelemetryEventSchema, Zt as EXPECTED_OUTCOME_EVENT_NAME, _ as CONTRACT_FIRST_TELEMETRY_EVENTS, _t as OrgCreateStartedTelemetryEventSchema, a as initializeCapxulBrowserAnalytics, an as TELEMETRY_EVENT_NAMES, at as UiPayrollActionCompletedTelemetryEventSchema, b as TELEMETRY_EVENT_SCHEMAS, bt as OrgInviteExpiredTelemetryEventSchema, c as utilityAppAnalytics, cn as normalizeCapxulOperation, ct as ActivityAnnotationSavedTelemetryEventSchema, d as redactTelemetryEvent, dt as MovementScanCheckpointTelemetryEventSchema, en as ResponseHeadersSchema, et as InvoiceIssuedTelemetryEventSchema, f as redactTelemetryProps, ft as MovementScanIncidentTelemetryEventSchema, g as BROWSER_GATED_TELEMETRY_EVENTS, gt as OrgCreateFailedTelemetryEventSchema, h as track, ht as ContactRelationshipChangedTelemetryEventSchema, i as createPostHogBrowserPageviewTracker, in as TELEMETRY_JOURNEYS, it as UiInvoiceStepCompletedTelemetryEventSchema, j as ProvisioningSafeCreatedTelemetryEventSchema, jt as ChainUpstreamFallbackTelemetryEventSchema, k as OnboardingProfileSubmittedTelemetryEventSchema, kt as UiContactActionCompletedTelemetryEventSchema, l as sanitizePostHogBrowserEvent, lt as UiActivityActionCompletedTelemetryEventSchema, m as setTrackHandler, mt as PermissionMirrorVerificationTelemetryEventSchema, n as RecordingTelemetryAdapter, nn as TELEMETRY_PRODUCERS, nt as PayrollGroupChangedTelemetryEventSchema, o as initializePostHogBrowserAnalytics, on as CAPXUL_OPERATIONS, ot as UiReceiveStepCompletedTelemetryEventSchema, p as getTrackHandler, pt as MovementScanWindowTelemetryEventSchema, q as NativeAuthorizationAcceptedTelemetryEventSchema, qt as CAPXUL_ENVS, r as createCapxulBeforeSend, rn as stampTelemetryEnvelope, rt as PayrollRunTransitionedTelemetryEventSchema, s as productAppAnalytics, sn as isCapxulOperation, st as UiTreasuryStepCompletedTelemetryEventSchema, t as InMemoryTelemetryBusAdapter, tn as SYNCABLE_CAPXUL_ENVS, tt as InvoiceRequestTransitionedTelemetryEventSchema, u as maskCapturedNetworkRequest, ut as IndexerDriftCorrectedTelemetryEventSchema, v as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, vt as OrgCreatedTelemetryEventSchema, w as MemberActivationReadyTelemetryEventSchema, wt as OrgSafeConfirmedTelemetryEventSchema, x as BootstrapFailedTelemetryEventSchema, xt as OrgInviteProgressedTelemetryEventSchema, y as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, yt as OrgInviteAcceptedTelemetryEventSchema, z as AccessRecoveryCompletedTelemetryEventSchema, zt as FaucetFailedTelemetryEventSchema } from "./src-CX-Shigb.mjs";
|
|
2
|
+
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, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCommandCompletedTelemetryEventSchema, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, EXCEPTION_EVENT_NAME, EXPECTED_OUTCOME_EVENT_NAME, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, 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, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
@@ -954,7 +954,7 @@ const ActivityItemSchema = Schema.Union([Schema.Struct({
|
|
|
954
954
|
}), Schema.Struct({
|
|
955
955
|
kind: Schema.Literal("movement"),
|
|
956
956
|
id: Schema.String,
|
|
957
|
-
classification: Schema.
|
|
957
|
+
classification: Schema.Literals(["deposit", "movement_only_outflow"]),
|
|
958
958
|
amount: Amount,
|
|
959
959
|
direction: Direction,
|
|
960
960
|
counterpartyLabel: Schema.String,
|
|
@@ -2439,7 +2439,44 @@ const approvals = {
|
|
|
2439
2439
|
]
|
|
2440
2440
|
})
|
|
2441
2441
|
};
|
|
2442
|
+
/**
|
|
2443
|
+
* The home screen in one read. A section whose read failed is null, so the
|
|
2444
|
+
* caller shows it as unavailable, never as empty.
|
|
2445
|
+
*/
|
|
2446
|
+
const HomeSchema = Schema.Struct({
|
|
2447
|
+
email: Schema.String,
|
|
2448
|
+
actingAs: Schema.Union([Schema.Struct({ kind: Schema.Literal("personal") }), Schema.Struct({
|
|
2449
|
+
kind: Schema.Literal("organization"),
|
|
2450
|
+
orgId: Schema.String
|
|
2451
|
+
})]),
|
|
2452
|
+
/** The acting Safe's position in each settlement asset of its chain. */
|
|
2453
|
+
balances: Schema.NullOr(Schema.Array(AssetPositionSchema)),
|
|
2454
|
+
/** The ids of what waits on the caller, newest first. */
|
|
2455
|
+
needsYou: Schema.NullOr(Schema.Struct({
|
|
2456
|
+
requestsToPay: Schema.Array(Schema.String),
|
|
2457
|
+
payrollToApprove: Schema.Array(Schema.String),
|
|
2458
|
+
paymentsToRetry: Schema.Array(Schema.String)
|
|
2459
|
+
})),
|
|
2460
|
+
/** The newest rows of the actor's activity. */
|
|
2461
|
+
recentActivity: Schema.NullOr(Schema.Array(ActivityItemSchema))
|
|
2462
|
+
});
|
|
2442
2463
|
const summaries = {
|
|
2464
|
+
/**
|
|
2465
|
+
* Where the caller acts, its balances, what needs it and its newest activity,
|
|
2466
|
+
* for the person or for an Organization they take part in. One round trip.
|
|
2467
|
+
*/
|
|
2468
|
+
home: Operation.action("accounts.summaries.home", {
|
|
2469
|
+
input: Schema.Struct({
|
|
2470
|
+
chainId: ChainIdSchema$1,
|
|
2471
|
+
orgId: Schema.optionalKey(Schema.NonEmptyString)
|
|
2472
|
+
}),
|
|
2473
|
+
output: HomeSchema,
|
|
2474
|
+
errors: [
|
|
2475
|
+
...CALL$10,
|
|
2476
|
+
...DEFECTS,
|
|
2477
|
+
"ROLE_PERMISSION_DENIED"
|
|
2478
|
+
]
|
|
2479
|
+
}),
|
|
2443
2480
|
/** The signed-in person: id, verified email and Profile display name. */
|
|
2444
2481
|
me: Operation.query("accounts.summaries.me", {
|
|
2445
2482
|
input: Schema.Struct({}),
|
|
@@ -4620,7 +4657,11 @@ const OrgId$2 = Schema.NonEmptyString;
|
|
|
4620
4657
|
const CALL$4 = ["NOT_AUTHENTICATED", "INVALID_INPUT"];
|
|
4621
4658
|
/** The caller's own Account and Safe, which a Payment is signed from. */
|
|
4622
4659
|
const ACCOUNT$1 = ["SMART_ACCOUNT_MISSING", "ACCOUNT_NOT_FOUND"];
|
|
4623
|
-
/**
|
|
4660
|
+
/**
|
|
4661
|
+
* Not a participant of the Organization, no Budget in it that may pay for
|
|
4662
|
+
* this, or a Budget whose on-chain allowance holds less than the batch spends
|
|
4663
|
+
* (`budget_exhausted`, naming what is left).
|
|
4664
|
+
*/
|
|
4624
4665
|
const DENIED$1 = ["ROLE_PERMISSION_DENIED"];
|
|
4625
4666
|
/** The command, its Payment or its execution is not in a state this applies to. */
|
|
4626
4667
|
const STATE$3 = ["WRONG_STATE"];
|
|
@@ -4931,7 +4972,9 @@ const OneOrganization = Schema.Struct({ orgId: OrgId$1 });
|
|
|
4931
4972
|
const CALL$3 = ["NOT_AUTHENTICATED", "INVALID_INPUT"];
|
|
4932
4973
|
/**
|
|
4933
4974
|
* The caller does not take part in the Organization, or holds no Budget in it
|
|
4934
|
-
* that may pay for this
|
|
4975
|
+
* that may pay for this, or the Budget's on-chain allowance holds less than the
|
|
4976
|
+
* run pays (`budget_exhausted`, naming what is left). A caller outside the
|
|
4977
|
+
* Organization learns nothing more.
|
|
4935
4978
|
*/
|
|
4936
4979
|
const DENIED = ["ROLE_PERMISSION_DENIED"];
|
|
4937
4980
|
/**
|
|
@@ -6634,7 +6677,9 @@ emitSaved: "activity.annotations.emitSaved" },
|
|
|
6634
6677
|
linkObservation: "payments.commands.linkObservation",
|
|
6635
6678
|
failPrepared: "payments.commands.failPrepared",
|
|
6636
6679
|
loadContext: "payments.commands.loadContext",
|
|
6637
|
-
loadExecutionContext: "payments.commands.loadExecutionContext"
|
|
6680
|
+
loadExecutionContext: "payments.commands.loadExecutionContext",
|
|
6681
|
+
/** The capped Budget a prepared Organization command spends from, before its allowance is read on chain. */
|
|
6682
|
+
loadBudgetAllowance: "payments.commands.loadBudgetAllowance"
|
|
6638
6683
|
},
|
|
6639
6684
|
lifecycles: { prepareIntent: "payments.lifecycles.prepareIntent" },
|
|
6640
6685
|
/** The stored UserOperation of every money command: Payment, Permission and configuration. */
|
|
@@ -7245,6 +7290,15 @@ const OptionalReasonCode = Schema.optional(Schema.Literals(CAPXUL_ERROR_CODES));
|
|
|
7245
7290
|
* no catalog schema validates it.
|
|
7246
7291
|
*/
|
|
7247
7292
|
const EXCEPTION_EVENT_NAME = "$exception";
|
|
7293
|
+
/**
|
|
7294
|
+
* The backend's twin of `$exception` for an EXPECTED outcome (ADR-0023 R9): the
|
|
7295
|
+
* same error evidence on its own stream, so expected versus unexpected stays a
|
|
7296
|
+
* routing choice inside PostHog. It is its own event kind, not a catalog event:
|
|
7297
|
+
* its properties are the error evidence, so no catalog schema validates it.
|
|
7298
|
+
* The wide `capxul_backend_operation` log row of the same failure carries ids
|
|
7299
|
+
* and classes only, not this evidence.
|
|
7300
|
+
*/
|
|
7301
|
+
const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outcome";
|
|
7248
7302
|
const PII = Schema.String.pipe(Schema.brand("PII"));
|
|
7249
7303
|
/**
|
|
7250
7304
|
* Environment discriminator (ADR-0020 A1 amendment, 2026-08-07). PostHog
|
|
@@ -8454,95 +8508,83 @@ const UiAccessStepCompletedTelemetryEventSchema = Schema.Struct({
|
|
|
8454
8508
|
});
|
|
8455
8509
|
//#endregion
|
|
8456
8510
|
//#region src/catalog/cli.ts
|
|
8457
|
-
/**
|
|
8511
|
+
/** Every command path of the `capxul` tree, dot-separated, plus the root and `unknown`. */
|
|
8458
8512
|
const CLI_COMMAND_NAMES = [
|
|
8459
|
-
"status",
|
|
8460
|
-
"request",
|
|
8461
|
-
"request.list",
|
|
8462
|
-
"request.get",
|
|
8463
|
-
"request.cancel",
|
|
8464
|
-
"offer",
|
|
8465
|
-
"offer.create",
|
|
8466
|
-
"offer.list",
|
|
8467
|
-
"offer.get",
|
|
8468
|
-
"offer.revise",
|
|
8469
|
-
"offer.deactivate",
|
|
8470
|
-
"org.offer",
|
|
8471
|
-
"org.offer.create",
|
|
8472
|
-
"org.offer.list",
|
|
8473
|
-
"org.offer.get",
|
|
8474
|
-
"org.offer.revise",
|
|
8475
|
-
"org.offer.deactivate",
|
|
8476
|
-
"request.issue",
|
|
8477
|
-
"inbox",
|
|
8478
|
-
CAPXUL_OPERATIONS.inbox.list,
|
|
8479
|
-
"inbox.get",
|
|
8480
|
-
"inbox.pay",
|
|
8481
|
-
CAPXUL_OPERATIONS.inbox.decline,
|
|
8482
|
-
"org.request",
|
|
8483
|
-
"org.request.list",
|
|
8484
|
-
"org.request.get",
|
|
8485
|
-
"org.request.cancel",
|
|
8486
|
-
"org.request.issue",
|
|
8487
|
-
"org.inbox",
|
|
8488
|
-
CAPXUL_OPERATIONS.org.inbox.list,
|
|
8489
|
-
"org.inbox.get",
|
|
8490
|
-
"org.inbox.pay",
|
|
8491
|
-
CAPXUL_OPERATIONS.org.inbox.decline,
|
|
8492
8513
|
"capxul",
|
|
8514
|
+
"home",
|
|
8493
8515
|
"whoami",
|
|
8494
8516
|
"use",
|
|
8495
8517
|
"use.personal",
|
|
8496
8518
|
"use.org",
|
|
8497
8519
|
"use.env",
|
|
8498
|
-
"doctor",
|
|
8499
|
-
"telemetry",
|
|
8500
|
-
"telemetry.status",
|
|
8501
|
-
"telemetry.enable",
|
|
8502
|
-
"telemetry.disable",
|
|
8503
8520
|
"auth",
|
|
8504
8521
|
"auth.login",
|
|
8505
|
-
"auth.signup",
|
|
8506
|
-
"auth.send",
|
|
8507
8522
|
"auth.verify",
|
|
8508
8523
|
"auth.switch",
|
|
8509
|
-
"auth.profile",
|
|
8510
|
-
"auth.status",
|
|
8511
8524
|
"auth.logout",
|
|
8512
8525
|
"account",
|
|
8513
|
-
|
|
8514
|
-
CAPXUL_OPERATIONS.account.balance,
|
|
8515
|
-
"account.deposit",
|
|
8526
|
+
"account.show",
|
|
8516
8527
|
"account.retry",
|
|
8517
|
-
"
|
|
8518
|
-
"
|
|
8519
|
-
"document.verify",
|
|
8520
|
-
"document.render",
|
|
8521
|
-
"document.export",
|
|
8528
|
+
"balance",
|
|
8529
|
+
"address",
|
|
8522
8530
|
"payment",
|
|
8531
|
+
"payment.send",
|
|
8523
8532
|
"payment.list",
|
|
8524
8533
|
"payment.get",
|
|
8525
8534
|
"payment.wait",
|
|
8526
|
-
"payment.send",
|
|
8527
8535
|
"payment.retry",
|
|
8528
|
-
"
|
|
8529
|
-
|
|
8530
|
-
"
|
|
8531
|
-
"
|
|
8532
|
-
|
|
8536
|
+
"inbox",
|
|
8537
|
+
CAPXUL_OPERATIONS.inbox.list,
|
|
8538
|
+
"inbox.get",
|
|
8539
|
+
"inbox.pay",
|
|
8540
|
+
CAPXUL_OPERATIONS.inbox.decline,
|
|
8541
|
+
"request",
|
|
8542
|
+
"request.issue",
|
|
8543
|
+
"request.list",
|
|
8544
|
+
"request.get",
|
|
8545
|
+
"request.cancel",
|
|
8546
|
+
"offer",
|
|
8547
|
+
"offer.create",
|
|
8548
|
+
"offer.list",
|
|
8549
|
+
"offer.get",
|
|
8550
|
+
"offer.revise",
|
|
8551
|
+
"offer.deactivate",
|
|
8533
8552
|
"contact",
|
|
8553
|
+
"contact.add",
|
|
8534
8554
|
"contact.list",
|
|
8535
8555
|
"contact.get",
|
|
8536
|
-
"contact.add",
|
|
8537
8556
|
"contact.label",
|
|
8538
8557
|
"contact.hide",
|
|
8539
8558
|
"contact.unhide",
|
|
8559
|
+
"document",
|
|
8560
|
+
"document.get",
|
|
8561
|
+
"document.render",
|
|
8562
|
+
"document.export",
|
|
8563
|
+
"document.verify",
|
|
8564
|
+
"activity",
|
|
8565
|
+
"activity.list",
|
|
8566
|
+
"activity.get",
|
|
8567
|
+
"activity.summary",
|
|
8568
|
+
"activity.annotate",
|
|
8569
|
+
"invite",
|
|
8570
|
+
"invite.list",
|
|
8571
|
+
"invite.accept",
|
|
8572
|
+
"invite.decline",
|
|
8540
8573
|
"org",
|
|
8541
8574
|
CAPXUL_OPERATIONS.org.list,
|
|
8542
|
-
|
|
8575
|
+
CAPXUL_OPERATIONS.org.create,
|
|
8576
|
+
"org.show",
|
|
8543
8577
|
CAPXUL_OPERATIONS.org.me,
|
|
8544
|
-
"org.
|
|
8545
|
-
|
|
8578
|
+
"org.wait",
|
|
8579
|
+
CAPXUL_OPERATIONS.org.retry,
|
|
8580
|
+
"org.member",
|
|
8581
|
+
"org.member.list",
|
|
8582
|
+
"org.member.get",
|
|
8583
|
+
"org.member.invite",
|
|
8584
|
+
CAPXUL_OPERATIONS.org.invite,
|
|
8585
|
+
"org.invite.list",
|
|
8586
|
+
"org.invite.cancel",
|
|
8587
|
+
"org.invite.resend",
|
|
8546
8588
|
"org.permission",
|
|
8547
8589
|
"org.permission.list",
|
|
8548
8590
|
"org.permission.get",
|
|
@@ -8554,46 +8596,32 @@ const CLI_COMMAND_NAMES = [
|
|
|
8554
8596
|
"org.permission.command",
|
|
8555
8597
|
"org.permission.command.get",
|
|
8556
8598
|
"org.permission.command.wait",
|
|
8557
|
-
CAPXUL_OPERATIONS.org.payment,
|
|
8558
|
-
"org.payment.list",
|
|
8559
|
-
"org.payment.get",
|
|
8560
|
-
"org.payment.wait",
|
|
8561
|
-
"org.payment.retry",
|
|
8562
|
-
"org.payment.send",
|
|
8563
8599
|
"org.payroll",
|
|
8600
|
+
"org.payroll.run",
|
|
8601
|
+
"org.payroll.list",
|
|
8602
|
+
"org.payroll.get",
|
|
8603
|
+
"org.payroll.wait",
|
|
8604
|
+
CAPXUL_OPERATIONS.org.payroll.terms,
|
|
8564
8605
|
"org.payroll.groups",
|
|
8565
8606
|
CAPXUL_OPERATIONS.org.payroll.groups.list,
|
|
8566
8607
|
CAPXUL_OPERATIONS.org.payroll.groups.save,
|
|
8567
8608
|
CAPXUL_OPERATIONS.org.payroll.groups.remove,
|
|
8568
|
-
|
|
8569
|
-
"
|
|
8570
|
-
"
|
|
8571
|
-
"
|
|
8572
|
-
"
|
|
8573
|
-
|
|
8574
|
-
"
|
|
8575
|
-
"
|
|
8576
|
-
"org.member.invite",
|
|
8577
|
-
"org.contact",
|
|
8578
|
-
"org.contact.list",
|
|
8579
|
-
"org.contact.get",
|
|
8580
|
-
"org.contact.add",
|
|
8581
|
-
"org.contact.label",
|
|
8582
|
-
"org.contact.hide",
|
|
8583
|
-
"org.contact.unhide",
|
|
8584
|
-
CAPXUL_OPERATIONS.org.invite,
|
|
8585
|
-
"org.invite.list",
|
|
8609
|
+
"config",
|
|
8610
|
+
"config.telemetry",
|
|
8611
|
+
"config.telemetry.on",
|
|
8612
|
+
"config.telemetry.off",
|
|
8613
|
+
"config.telemetry.status",
|
|
8614
|
+
"invite.get",
|
|
8615
|
+
"invite.review",
|
|
8616
|
+
"invite.wait",
|
|
8586
8617
|
"org.invite.get",
|
|
8587
8618
|
"org.invite.wait",
|
|
8588
|
-
"org.invite.review",
|
|
8589
|
-
"org.invite.accept",
|
|
8590
|
-
"org.invite.decline",
|
|
8591
|
-
"org.invite.cancel",
|
|
8592
|
-
"org.invite.resend",
|
|
8593
8619
|
"org.invite.retry",
|
|
8594
|
-
"
|
|
8595
|
-
|
|
8596
|
-
|
|
8620
|
+
"schema",
|
|
8621
|
+
"doctor",
|
|
8622
|
+
"dev",
|
|
8623
|
+
"dev.key",
|
|
8624
|
+
"dev.fund",
|
|
8597
8625
|
"unknown"
|
|
8598
8626
|
];
|
|
8599
8627
|
const CLI_CAPABILITIES = [
|
|
@@ -9495,4 +9523,4 @@ var InMemoryTelemetryBusAdapter = class extends EventOnlyPort {
|
|
|
9495
9523
|
}
|
|
9496
9524
|
};
|
|
9497
9525
|
//#endregion
|
|
9498
|
-
export { UiAccessStepCompletedTelemetryEventSchema as $,
|
|
9526
|
+
export { UiAccessStepCompletedTelemetryEventSchema as $, PII as $t, ProvisioningSafeConfirmedTelemetryEventSchema as A, BundlerErrorTelemetryEventSchema as At, AuthFailedTelemetryEventSchema as B, FaucetRequestedTelemetryEventSchema as Bt, MemberActivationFailedTelemetryEventSchema as C, OrgRolesSeededTelemetryEventSchema as Ct, OnboardingIntentSelectedTelemetryEventSchema as D, OrganizationCreationReadyTelemetryEventSchema as Dt, OnboardingDashboardReachedTelemetryEventSchema as E, OrganizationCreationFailedTelemetryEventSchema as Et, CliFirstUsedTelemetryEventSchema as F, AccountBalanceReadTelemetryEventSchema as Ft, AuthVerifiedTelemetryEventSchema as G, PaymentVerificationRetryTelemetryEventSchema as Gt, AuthOtpExpiredTelemetryEventSchema as H, PaymentInitiatedTelemetryEventSchema as Ht, CLI_CAPABILITIES as I, DepositInitiatedTelemetryEventSchema as It, NativeAuthorizationConnectedTelemetryEventSchema as J, ChainAttemptSchema as Jt, IdentityRefusedTelemetryEventSchema as K, QuickPayExternalAddressAcknowledgedTelemetryEventSchema as Kt, CLI_COMMAND_NAMES as L, DepositSettledTelemetryEventSchema as Lt, CliCommandCompletedTelemetryEventSchema as M, OperationRetriedTelemetryEventSchema as Mt, CliCommandStartedTelemetryEventSchema as N, ReceiptPendingTelemetryEventSchema as Nt, OnboardingOrganizationSubmittedTelemetryEventSchema as O, OrganizationCreationStartedTelemetryEventSchema as Ot, CliDiagnosticCompletedTelemetryEventSchema as P, AccountBalanceFailedTelemetryEventSchema as Pt, NativeAuthorizationStartedTelemetryEventSchema as Q, FailureModeSchema as Qt, CLI_INVOCATION_KINDS as R, FaucetConfirmedTelemetryEventSchema as Rt, BootstrapResolvedTelemetryEventSchema as S, OrgInviteSentTelemetryEventSchema as St, MemberActivationStartedTelemetryEventSchema as T, OrgSafeCreatedTelemetryEventSchema as Tt, AuthOtpRequestedTelemetryEventSchema as U, PaymentLifecycleTransitionTelemetryEventSchema as Ut, AuthOtpDeliveredTelemetryEventSchema as V, PaymentFailedTelemetryEventSchema as Vt, AuthSignedOutTelemetryEventSchema as W, PaymentSettledTelemetryEventSchema as Wt, NativeAuthorizationFailedTelemetryEventSchema as X, EXCEPTION_EVENT_NAME as Xt, NativeAuthorizationDeniedTelemetryEventSchema as Y, ChainUpstreamSchema as Yt, NativeAuthorizationReviewedTelemetryEventSchema as Z, EXPECTED_OUTCOME_EVENT_NAME as Zt, CONTRACT_FIRST_TELEMETRY_EVENTS as _, OrgCreateStartedTelemetryEventSchema as _t, initializeCapxulBrowserAnalytics as a, TELEMETRY_EVENT_NAMES as an, UiPayrollActionCompletedTelemetryEventSchema as at, TELEMETRY_EVENT_SCHEMAS as b, OrgInviteExpiredTelemetryEventSchema as bt, utilityAppAnalytics as c, normalizeCapxulOperation as cn, ActivityAnnotationSavedTelemetryEventSchema as ct, redactTelemetryEvent as d, redactSecrets as dn, MovementScanCheckpointTelemetryEventSchema as dt, ResponseHeadersSchema as en, InvoiceIssuedTelemetryEventSchema as et, redactTelemetryProps as f, redactUrlSecrets as fn, MovementScanIncidentTelemetryEventSchema as ft, BROWSER_GATED_TELEMETRY_EVENTS as g, OrgCreateFailedTelemetryEventSchema as gt, track as h, FAILURE_MODES as hn, ContactRelationshipChangedTelemetryEventSchema as ht, createPostHogBrowserPageviewTracker as i, TELEMETRY_JOURNEYS as in, UiInvoiceStepCompletedTelemetryEventSchema as it, ProvisioningSafeCreatedTelemetryEventSchema as j, ChainUpstreamFallbackTelemetryEventSchema as jt, OnboardingProfileSubmittedTelemetryEventSchema as k, UiContactActionCompletedTelemetryEventSchema as kt, sanitizePostHogBrowserEvent as l, ORGANIZATION_SETUP_REASONS as ln, UiActivityActionCompletedTelemetryEventSchema as lt, setTrackHandler as m, CAPXUL_ERROR_CODES as mn, PermissionMirrorVerificationTelemetryEventSchema as mt, RecordingTelemetryAdapter as n, TELEMETRY_PRODUCERS as nn, PayrollGroupChangedTelemetryEventSchema as nt, initializePostHogBrowserAnalytics as o, CAPXUL_OPERATIONS as on, UiReceiveStepCompletedTelemetryEventSchema as ot, getTrackHandler as p, isCredentialField as pn, MovementScanWindowTelemetryEventSchema as pt, NativeAuthorizationAcceptedTelemetryEventSchema as q, CAPXUL_ENVS as qt, createCapxulBeforeSend as r, stampTelemetryEnvelope as rn, PayrollRunTransitionedTelemetryEventSchema as rt, productAppAnalytics as s, isCapxulOperation as sn, UiTreasuryStepCompletedTelemetryEventSchema as st, InMemoryTelemetryBusAdapter as t, SYNCABLE_CAPXUL_ENVS as tn, InvoiceRequestTransitionedTelemetryEventSchema as tt, maskCapturedNetworkRequest as u, ORGANIZATION_SETUP_STATUSES as un, IndexerDriftCorrectedTelemetryEventSchema as ut, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS as v, OrgCreatedTelemetryEventSchema as vt, MemberActivationReadyTelemetryEventSchema as w, OrgSafeConfirmedTelemetryEventSchema as wt, BootstrapFailedTelemetryEventSchema as x, OrgInviteProgressedTelemetryEventSchema as xt, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS as y, OrgInviteAcceptedTelemetryEventSchema as yt, AccessRecoveryCompletedTelemetryEventSchema as z, FaucetFailedTelemetryEventSchema as zt };
|