@capxul/observability 4.20.0-beta.5 → 4.20.0-beta.7
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 +1 -1
- package/dist/engineering.mjs +38 -6
- package/dist/index.d.mts +110 -27
- package/dist/index.mjs +1 -1
- package/dist/{src-DiNkwk99.mjs → src-Dhf8f_EV.mjs} +124 -15
- package/package.json +3 -3
package/dist/engineering.d.mts
CHANGED
|
@@ -71,7 +71,7 @@ declare const flushEngineeringTelemetry: Effect.Effect<void, never, OtlpExporter
|
|
|
71
71
|
declare const EngineeringLog_base: Context.ServiceClass<EngineeringLog, "capxul/EngineeringLog", Logger.Logger<unknown, void>>;
|
|
72
72
|
declare class EngineeringLog extends EngineeringLog_base {}
|
|
73
73
|
/** Deliver an owned engineering record without changing the caller's console verbosity. */
|
|
74
|
-
declare const logEngineeringInfo: (message: string, attributes: Readonly<Record<string, unknown>>) => Effect.Effect<void, never,
|
|
74
|
+
declare const logEngineeringInfo: (message: string, attributes: Readonly<Record<string, unknown>>) => Effect.Effect<void, never, never>;
|
|
75
75
|
/** Shared browser/server OTLP layer. OtlpLogger merges with incumbent loggers once. */
|
|
76
76
|
declare const makeEngineeringTelemetryLayer: (config: EngineeringTelemetryConfig) => Layer.Layer<EngineeringLog | OtlpExporter.Flusher, never, never>;
|
|
77
77
|
//#endregion
|
package/dist/engineering.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as CLI_COMMAND_NAMES, cn as CAPXUL_ERROR_CODES, dn as redactSecrets, fn as redactUrlSecrets, g as CLI_CAPABILITIES, ln as FAILURE_MODES, on as isCapxulOperation, un as isCredentialField, v as CLI_INVOCATION_KINDS } from "./src-
|
|
1
|
+
import { _ as CLI_COMMAND_NAMES, cn as CAPXUL_ERROR_CODES, dn as redactSecrets, fn as redactUrlSecrets, g as CLI_CAPABILITIES, ln as FAILURE_MODES, on as isCapxulOperation, un as isCredentialField, v as CLI_INVOCATION_KINDS } from "./src-Dhf8f_EV.mjs";
|
|
2
2
|
import { Cause, Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, LogLevel, Logger, Metric, Option, References, Schedule, Stream, Tracer } from "effect";
|
|
3
3
|
import { FetchHttpClient, Headers, HttpBody, HttpClient, HttpClientError, HttpClientResponse } from "effect/unstable/http";
|
|
4
4
|
import { OtlpExporter, OtlpLogger, OtlpMetrics, OtlpSerialization, OtlpTracer } from "effect/unstable/observability";
|
|
@@ -137,7 +137,7 @@ const attributes = (input, limit = 32) => {
|
|
|
137
137
|
} catch {}
|
|
138
138
|
return out;
|
|
139
139
|
};
|
|
140
|
-
const terminalName = (name) => name === "cli.command.completed" || CLI_COMMAND_NAMES.some((command) => name === `cli.command.${command}`);
|
|
140
|
+
const terminalName = (name) => name === "cli.command.completed" || name === "cli.wallet.step" || CLI_COMMAND_NAMES.some((command) => name === `cli.command.${command}`);
|
|
141
141
|
/** Native exporters retain their serialization and scheduling; this owns admission only. */
|
|
142
142
|
function cliEngineeringDelivery(budget, ownsMetrics) {
|
|
143
143
|
const closed = Deferred.makeUnsafe();
|
|
@@ -293,7 +293,7 @@ function cliEngineeringDelivery(budget, ownsMetrics) {
|
|
|
293
293
|
const releases = logs.splice(0);
|
|
294
294
|
try {
|
|
295
295
|
const body = delegate.logs(data);
|
|
296
|
-
if (data.resourceLogs.some((r) => r.scopeLogs.some((s) => s.logRecords?.some((l) => l.body?.stringValue
|
|
296
|
+
if (data.resourceLogs.some((r) => r.scopeLogs.some((s) => s.logRecords?.some((l) => terminalName(l.body?.stringValue ?? ""))))) terminalBodies.add(body);
|
|
297
297
|
holdBody(body, releases);
|
|
298
298
|
return body;
|
|
299
299
|
} catch (error) {
|
|
@@ -527,7 +527,8 @@ const MINIMAL_LOG_NAMES = /* @__PURE__ */ new Set([
|
|
|
527
527
|
"convex.connection.changed",
|
|
528
528
|
"convex.action.connection_lost",
|
|
529
529
|
"cli.command.completed",
|
|
530
|
-
"cli.sdk.operation.failed"
|
|
530
|
+
"cli.sdk.operation.failed",
|
|
531
|
+
"cli.wallet.step"
|
|
531
532
|
]);
|
|
532
533
|
const MINIMAL_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
533
534
|
...CAPXUL_ERROR_CODES,
|
|
@@ -546,7 +547,14 @@ const MINIMAL_NUMBERS = /* @__PURE__ */ new Set([
|
|
|
546
547
|
"http_status",
|
|
547
548
|
"rpc.code",
|
|
548
549
|
"connection_count",
|
|
549
|
-
"connection_retries"
|
|
550
|
+
"connection_retries",
|
|
551
|
+
"elapsed_ms",
|
|
552
|
+
"total_ms",
|
|
553
|
+
"token_calls",
|
|
554
|
+
"call",
|
|
555
|
+
"attempt",
|
|
556
|
+
"bridge_protocol_version",
|
|
557
|
+
"httpStatus"
|
|
550
558
|
]);
|
|
551
559
|
const MINIMAL_CORRELATIONS = /* @__PURE__ */ new Set([
|
|
552
560
|
"correlation_id",
|
|
@@ -581,6 +589,30 @@ const MINIMAL_ENUM_VALUES = /* @__PURE__ */ new Map([
|
|
|
581
589
|
["command", CLI_COMMAND_NAMES],
|
|
582
590
|
["capability", CLI_CAPABILITIES],
|
|
583
591
|
["invocation_kind", CLI_INVOCATION_KINDS],
|
|
592
|
+
["diagnostic_scope", [
|
|
593
|
+
"openfort.step",
|
|
594
|
+
"openfort.token",
|
|
595
|
+
"openfort.encryptionSession",
|
|
596
|
+
"openfort.embeddedState",
|
|
597
|
+
"openfort.storageCleared",
|
|
598
|
+
"openfort.configure",
|
|
599
|
+
"openfort.get",
|
|
600
|
+
"openfort.address",
|
|
601
|
+
"openfort.staleCacheHeal",
|
|
602
|
+
"openfort.signerRecovery",
|
|
603
|
+
"openfort.signerStatusListener"
|
|
604
|
+
]],
|
|
605
|
+
["step", [
|
|
606
|
+
"initialize",
|
|
607
|
+
"token",
|
|
608
|
+
"encryptionSession",
|
|
609
|
+
"embeddedState",
|
|
610
|
+
"configure",
|
|
611
|
+
"get",
|
|
612
|
+
"healStaleCache",
|
|
613
|
+
"walletReady"
|
|
614
|
+
]],
|
|
615
|
+
["provider", ["better-auth", "oidc"]],
|
|
584
616
|
["cli_identity_kind", ["anonymous", "identified"]],
|
|
585
617
|
["output_mode", ["human", "json"]],
|
|
586
618
|
["unit", [
|
|
@@ -803,7 +835,7 @@ var EngineeringLog = class extends Context.Service()("capxul/EngineeringLog") {}
|
|
|
803
835
|
/** Deliver an owned engineering record without changing the caller's console verbosity. */
|
|
804
836
|
const logEngineeringInfo = (message, attributes) => {
|
|
805
837
|
const record = Effect.logInfo(message).pipe(Effect.annotateLogs(attributes));
|
|
806
|
-
return Effect.flatMap(LogLevel.isEnabled("Info"), (visible) => visible ? record : Effect.flatMap(EngineeringLog, (logger) => record.pipe(Effect.provideService(Logger.CurrentLoggers, /* @__PURE__ */ new Set([logger])), Effect.provideService(References.MinimumLogLevel, "All"))));
|
|
838
|
+
return Effect.flatMap(LogLevel.isEnabled("Info"), (visible) => visible ? record : Effect.flatMap(Effect.serviceOption(EngineeringLog), (logger) => logger._tag === "None" ? Effect.void : record.pipe(Effect.provideService(Logger.CurrentLoggers, /* @__PURE__ */ new Set([logger.value])), Effect.provideService(References.MinimumLogLevel, "All"))));
|
|
807
839
|
};
|
|
808
840
|
/** Shared browser/server OTLP layer. OtlpLogger merges with incumbent loggers once. */
|
|
809
841
|
const makeEngineeringTelemetryLayer = (config) => {
|
package/dist/index.d.mts
CHANGED
|
@@ -286,7 +286,6 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
286
286
|
};
|
|
287
287
|
readonly holdings: {
|
|
288
288
|
readonly current: "holdings.current";
|
|
289
|
-
readonly primary: "holdings.primary";
|
|
290
289
|
};
|
|
291
290
|
readonly indexer: {
|
|
292
291
|
readonly reconcile: "indexer.reconcile";
|
|
@@ -347,10 +346,12 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
347
346
|
readonly prepareOrganizationPaymentExecution: "moneyExecution.prepareOrganizationPaymentExecution";
|
|
348
347
|
readonly preparePaymentExecution: "moneyExecution.preparePaymentExecution";
|
|
349
348
|
readonly preparePaymentLifecycleExecution: "moneyExecution.preparePaymentLifecycleExecution";
|
|
349
|
+
readonly prepareInvitationConfiguration: "moneyExecution.prepareInvitationConfiguration";
|
|
350
350
|
readonly preparePermissionExecution: "moneyExecution.preparePermissionExecution";
|
|
351
351
|
readonly recoverSubmissionClaims: "moneyExecution.recoverSubmissionClaims";
|
|
352
352
|
readonly submit: "moneyExecution.submit";
|
|
353
353
|
readonly submitPaymentCommandExecution: "moneyExecution.submitPaymentCommandExecution";
|
|
354
|
+
readonly submitInvitationConfigurationExecution: "moneyExecution.submitInvitationConfigurationExecution";
|
|
354
355
|
readonly submitPaymentExecution: "moneyExecution.submitPaymentExecution";
|
|
355
356
|
readonly submitPermissionExecution: "moneyExecution.submitPermissionExecution";
|
|
356
357
|
};
|
|
@@ -372,22 +373,54 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
372
373
|
readonly completePerson: "onboarding.completePerson";
|
|
373
374
|
};
|
|
374
375
|
readonly org: {
|
|
375
|
-
readonly acceptInvitations: "org.acceptInvitations";
|
|
376
376
|
readonly account: {
|
|
377
377
|
readonly get: "org.account.get";
|
|
378
378
|
};
|
|
379
|
-
readonly activateMember: "org.activateMember";
|
|
380
379
|
readonly auditLog: "org.auditLog";
|
|
381
380
|
readonly confirmBootstrap: "org.confirmBootstrap";
|
|
382
381
|
readonly createOrg: "org.createOrg";
|
|
383
382
|
readonly create: "org.create";
|
|
384
|
-
|
|
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";
|
|
385
389
|
readonly emitInviteProgressed: "org.emitInviteProgressed";
|
|
386
390
|
readonly expireInvitations: "org.expireInvitations";
|
|
387
391
|
readonly getLifecycle: "org.getLifecycle";
|
|
388
392
|
readonly getProofReceipt: "org.getProofReceipt";
|
|
389
393
|
readonly invite: "org.invite";
|
|
390
|
-
|
|
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
|
+
};
|
|
391
424
|
readonly list: "org.list";
|
|
392
425
|
readonly load: "org.load";
|
|
393
426
|
readonly me: "org.me";
|
|
@@ -448,7 +481,6 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
448
481
|
};
|
|
449
482
|
readonly recordFailure: "org.recordFailure";
|
|
450
483
|
readonly recordProgress: "org.recordProgress";
|
|
451
|
-
readonly resendInviteToken: "org.resendInviteToken";
|
|
452
484
|
readonly resumeBootstrapSubmission: "org.resumeBootstrapSubmission";
|
|
453
485
|
readonly retry: "org.retry";
|
|
454
486
|
readonly retrySetup: "org.retrySetup";
|
|
@@ -469,9 +501,6 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
469
501
|
readonly organizationSetup: {
|
|
470
502
|
readonly getProofReceipt: "organizationSetup.getProofReceipt";
|
|
471
503
|
};
|
|
472
|
-
readonly organizations: {
|
|
473
|
-
readonly detectAndAcceptPendingInvitations: "orgs.detectAndAcceptPendingInvitations";
|
|
474
|
-
};
|
|
475
504
|
readonly payments: {
|
|
476
505
|
readonly cancel: "payments.cancel";
|
|
477
506
|
readonly claim: "payments.claim";
|
|
@@ -488,6 +517,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
488
517
|
readonly submitExecution: "payments.submitExecution";
|
|
489
518
|
};
|
|
490
519
|
readonly paymentDocuments: {
|
|
520
|
+
readonly get: "paymentDocuments.get";
|
|
491
521
|
readonly render: "paymentDocuments.render";
|
|
492
522
|
readonly verify: "paymentDocuments.verify";
|
|
493
523
|
};
|
|
@@ -510,6 +540,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
510
540
|
readonly terms: "payroll.terms";
|
|
511
541
|
};
|
|
512
542
|
readonly permission: {
|
|
543
|
+
readonly verifyInvitationConfiguration: "permission.verifyInvitationConfiguration";
|
|
513
544
|
readonly command: "permission.command";
|
|
514
545
|
readonly retryVerification: "permission.retryVerification";
|
|
515
546
|
readonly verify: "permission.verify";
|
|
@@ -1389,6 +1420,7 @@ declare const FaucetRequestedTelemetryEventSchema: Schema.Struct<{
|
|
|
1389
1420
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1390
1421
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
1391
1422
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1423
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1392
1424
|
}>;
|
|
1393
1425
|
}>;
|
|
1394
1426
|
declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1402,6 +1434,8 @@ declare const FaucetConfirmedTelemetryEventSchema: Schema.Struct<{
|
|
|
1402
1434
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
1403
1435
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1404
1436
|
readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
|
|
1437
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1438
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
1405
1439
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
1406
1440
|
}>;
|
|
1407
1441
|
}>;
|
|
@@ -1441,6 +1475,10 @@ declare const FaucetFailedTelemetryEventSchema: Schema.Struct<{
|
|
|
1441
1475
|
readonly server: Schema.optional<Schema.String>;
|
|
1442
1476
|
}>>;
|
|
1443
1477
|
readonly reason: Schema.optional<Schema.String>;
|
|
1478
|
+
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
1479
|
+
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
1480
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
1481
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
1444
1482
|
}>;
|
|
1445
1483
|
}>;
|
|
1446
1484
|
declare const ChainUpstreamFallbackTelemetryEventSchema: Schema.Struct<{
|
|
@@ -1636,6 +1674,11 @@ declare const OrgInviteSentTelemetryEventSchema: Schema.Struct<{
|
|
|
1636
1674
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1637
1675
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1638
1676
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1677
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1678
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
1679
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
1680
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
1681
|
+
readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
1639
1682
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
1640
1683
|
readonly role: Schema.optional<Schema.String>;
|
|
1641
1684
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -1650,6 +1693,11 @@ declare const OrgInviteAcceptedTelemetryEventSchema: Schema.Struct<{
|
|
|
1650
1693
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
1651
1694
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1652
1695
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1696
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1697
|
+
readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
1698
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
1699
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
1700
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
1653
1701
|
readonly role: Schema.optional<Schema.String>;
|
|
1654
1702
|
readonly status: Schema.optional<Schema.String>;
|
|
1655
1703
|
}>;
|
|
@@ -1664,6 +1712,7 @@ declare const OrgInviteExpiredTelemetryEventSchema: Schema.Struct<{
|
|
|
1664
1712
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
1665
1713
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
1666
1714
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
1715
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1667
1716
|
readonly reason: Schema.optional<Schema.String>;
|
|
1668
1717
|
readonly role: Schema.optional<Schema.String>;
|
|
1669
1718
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -1919,8 +1968,13 @@ declare const PermissionMirrorVerificationTelemetryEventSchema: Schema.Struct<{
|
|
|
1919
1968
|
* actually returned, and which command it was, without either fact rewriting
|
|
1920
1969
|
* the receipt outcome above. Absent when application has not happened yet.
|
|
1921
1970
|
*/
|
|
1922
|
-
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
|
|
1971
|
+
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
|
|
1972
|
+
readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
|
|
1923
1973
|
readonly command_id: Schema.optional<Schema.String>;
|
|
1974
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
1975
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
1976
|
+
readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
|
|
1977
|
+
readonly $insert_id: Schema.optional<Schema.String>;
|
|
1924
1978
|
/**
|
|
1925
1979
|
* #1961 R03. The authorized stored row names the Permission it changed; the
|
|
1926
1980
|
* verified receipt names the chain facts that prove it. Every field is
|
|
@@ -2020,8 +2074,8 @@ declare const ContactRelationshipChangedTelemetryEventSchema: Schema.Struct<{
|
|
|
2020
2074
|
}>;
|
|
2021
2075
|
}>;
|
|
2022
2076
|
/** One completed online CLI diagnostic. No command input or provider text. */
|
|
2023
|
-
declare const CLI_COMMAND_NAMES: readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"];
|
|
2024
|
-
declare const CLI_CAPABILITIES: readonly ["cli", "diagnostics", "collection", "authentication"];
|
|
2077
|
+
declare const CLI_COMMAND_NAMES: readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"];
|
|
2078
|
+
declare const CLI_CAPABILITIES: readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"];
|
|
2025
2079
|
declare const CLI_INVOCATION_KINDS: readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"];
|
|
2026
2080
|
type CliCommandName = (typeof CLI_COMMAND_NAMES)[number];
|
|
2027
2081
|
type CliCapability = (typeof CLI_CAPABILITIES)[number];
|
|
@@ -2034,8 +2088,8 @@ declare const CliFirstUsedTelemetryEventSchema: Schema.Struct<{
|
|
|
2034
2088
|
journey_id: Schema.optional<Schema.String>;
|
|
2035
2089
|
correlation_id: Schema.optional<Schema.String>;
|
|
2036
2090
|
schema_version: Schema.Literal<1>;
|
|
2037
|
-
command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"]>;
|
|
2038
|
-
capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication"]>;
|
|
2091
|
+
command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2092
|
+
capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2039
2093
|
invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2040
2094
|
invocation_id: Schema.String;
|
|
2041
2095
|
cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
@@ -2060,8 +2114,8 @@ declare const CliCommandStartedTelemetryEventSchema: Schema.Struct<{
|
|
|
2060
2114
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
2061
2115
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2062
2116
|
readonly schema_version: Schema.Literal<1>;
|
|
2063
|
-
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"]>;
|
|
2064
|
-
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication"]>;
|
|
2117
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2118
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2065
2119
|
readonly invocation_id: Schema.String;
|
|
2066
2120
|
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2067
2121
|
readonly anonymous_id: Schema.optional<Schema.String>;
|
|
@@ -2086,8 +2140,8 @@ declare const CliCommandCompletedTelemetryEventSchema: Schema.Struct<{
|
|
|
2086
2140
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
2087
2141
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2088
2142
|
readonly schema_version: Schema.Literal<1>;
|
|
2089
|
-
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"]>;
|
|
2090
|
-
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication"]>;
|
|
2143
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2144
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2091
2145
|
readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2092
2146
|
readonly invocation_id: Schema.String;
|
|
2093
2147
|
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
@@ -2332,9 +2386,12 @@ declare const OrgInviteProgressedTelemetryEventSchema: Schema.Struct<{
|
|
|
2332
2386
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2333
2387
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
2334
2388
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
2335
|
-
readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2389
|
+
readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2336
2390
|
/** The invited Party. The initiating actor stays on the envelope's identity. */
|
|
2337
2391
|
readonly member_party_id: Schema.String;
|
|
2392
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
2393
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
2394
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
2338
2395
|
readonly occurred_at: Schema.Number;
|
|
2339
2396
|
}>;
|
|
2340
2397
|
}>;
|
|
@@ -2533,9 +2590,12 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2533
2590
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2534
2591
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
2535
2592
|
readonly organization_id: Schema.Codec<string, string, never, never>;
|
|
2536
|
-
readonly progress: Schema.Literals<readonly ["account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2593
|
+
readonly progress: Schema.Literals<readonly ["configuration_authorized", "account_ready", "permission_applied", "membership_activated", "revoked"]>;
|
|
2537
2594
|
/** The invited Party. The initiating actor stays on the envelope's identity. */
|
|
2538
2595
|
readonly member_party_id: Schema.String;
|
|
2596
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
2597
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
2598
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
2539
2599
|
readonly occurred_at: Schema.Number;
|
|
2540
2600
|
}>;
|
|
2541
2601
|
}>;
|
|
@@ -2723,8 +2783,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2723
2783
|
journey_id: Schema.optional<Schema.String>;
|
|
2724
2784
|
correlation_id: Schema.optional<Schema.String>;
|
|
2725
2785
|
schema_version: Schema.Literal<1>;
|
|
2726
|
-
command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"]>;
|
|
2727
|
-
capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication"]>;
|
|
2786
|
+
command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2787
|
+
capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2728
2788
|
invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2729
2789
|
invocation_id: Schema.String;
|
|
2730
2790
|
cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
@@ -2749,8 +2809,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2749
2809
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
2750
2810
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2751
2811
|
readonly schema_version: Schema.Literal<1>;
|
|
2752
|
-
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"]>;
|
|
2753
|
-
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication"]>;
|
|
2812
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2813
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2754
2814
|
readonly invocation_id: Schema.String;
|
|
2755
2815
|
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
2756
2816
|
readonly anonymous_id: Schema.optional<Schema.String>;
|
|
@@ -2775,8 +2835,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
2775
2835
|
readonly journey_id: Schema.optional<Schema.String>;
|
|
2776
2836
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
2777
2837
|
readonly schema_version: Schema.Literal<1>;
|
|
2778
|
-
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.status", "auth.logout", "unknown"]>;
|
|
2779
|
-
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication"]>;
|
|
2838
|
+
readonly command: Schema.Literals<readonly ["capxul", "doctor", "telemetry", "telemetry.status", "telemetry.enable", "telemetry.disable", "auth", "auth.login", "auth.signup", "auth.send", "auth.verify", "auth.profile", "auth.status", "auth.logout", "contact", "contact.list", "contact.get", "contact.add", "contact.label", "contact.hide", "contact.unhide", "org", "org.list", "org.use", "org.status", "org.me", "org.members", "org.member", "org.member.get", "org.member.invite", "org.contact", "org.contact.list", "org.contact.get", "org.contact.add", "org.contact.label", "org.contact.hide", "org.contact.unhide", "org.invite", "org.invite.list", "org.invite.get", "org.invite.wait", "org.invite.review", "org.invite.accept", "org.invite.decline", "org.invite.cancel", "org.invite.resend", "org.invite.retry", "org.wait", "org.create", "org.retry", "unknown"]>;
|
|
2839
|
+
readonly capability: Schema.Literals<readonly ["cli", "diagnostics", "collection", "authentication", "organization", "contacts"]>;
|
|
2780
2840
|
readonly invocation_kind: Schema.Literals<readonly ["command", "help", "version", "completion", "parse_refusal", "collection_control"]>;
|
|
2781
2841
|
readonly invocation_id: Schema.String;
|
|
2782
2842
|
readonly cli_identity_kind: Schema.optional<Schema.Literals<readonly ["anonymous", "identified"]>>;
|
|
@@ -3425,6 +3485,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3425
3485
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3426
3486
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
3427
3487
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3488
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3428
3489
|
}>;
|
|
3429
3490
|
}>;
|
|
3430
3491
|
readonly faucet_confirmed: Schema.Struct<{
|
|
@@ -3438,6 +3499,8 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3438
3499
|
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
3439
3500
|
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3440
3501
|
readonly txHash: Schema.optional<Schema.Codec<TxHash, string, never, never>>;
|
|
3502
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3503
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
3441
3504
|
readonly durationMs: Schema.optional<Schema.Codec<DurationMs, number, never, never>>;
|
|
3442
3505
|
}>;
|
|
3443
3506
|
}>;
|
|
@@ -3477,6 +3540,10 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3477
3540
|
readonly server: Schema.optional<Schema.String>;
|
|
3478
3541
|
}>>;
|
|
3479
3542
|
readonly reason: Schema.optional<Schema.String>;
|
|
3543
|
+
readonly amount: Schema.optional<Schema.Codec<WeiAmount, string, never, never>>;
|
|
3544
|
+
readonly chainId: Schema.optional<Schema.Codec<ChainId, number, never, never>>;
|
|
3545
|
+
readonly asset_id: Schema.optional<Schema.String>;
|
|
3546
|
+
readonly token_address: Schema.optional<Schema.Codec<Address, string, never, never>>;
|
|
3480
3547
|
}>;
|
|
3481
3548
|
}>;
|
|
3482
3549
|
readonly chain_upstream_fallback: Schema.Struct<{
|
|
@@ -3672,6 +3739,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3672
3739
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3673
3740
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3674
3741
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
3742
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
3743
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
3744
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
3745
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
3746
|
+
readonly persisted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
3675
3747
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
3676
3748
|
readonly role: Schema.optional<Schema.String>;
|
|
3677
3749
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -3686,6 +3758,11 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3686
3758
|
readonly correlation_id: Schema.optional<Schema.String>;
|
|
3687
3759
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3688
3760
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
3761
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
3762
|
+
readonly accepted_at: Schema.optional<Schema.Codec<EpochMs, number, never, never>>;
|
|
3763
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
3764
|
+
readonly command_id: Schema.optional<Schema.String>;
|
|
3765
|
+
readonly subject_party_id: Schema.optional<Schema.String>;
|
|
3689
3766
|
readonly role: Schema.optional<Schema.String>;
|
|
3690
3767
|
readonly status: Schema.optional<Schema.String>;
|
|
3691
3768
|
}>;
|
|
@@ -3700,6 +3777,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3700
3777
|
readonly sdk_version: Schema.optional<Schema.String>;
|
|
3701
3778
|
readonly org_id: Schema.optional<Schema.Codec<string, string, never, never>>;
|
|
3702
3779
|
readonly email_domain: Schema.optional<Schema.String>;
|
|
3780
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
3703
3781
|
readonly reason: Schema.optional<Schema.String>;
|
|
3704
3782
|
readonly role: Schema.optional<Schema.String>;
|
|
3705
3783
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -3955,8 +4033,13 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
|
|
|
3955
4033
|
* actually returned, and which command it was, without either fact rewriting
|
|
3956
4034
|
* the receipt outcome above. Absent when application has not happened yet.
|
|
3957
4035
|
*/
|
|
3958
|
-
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch"]>>;
|
|
4036
|
+
readonly application_result: Schema.optional<Schema.Literals<readonly ["applied", "replayed", "conflicting_replay", "revision_mismatch", "cleanup_required", "not_applied", "application_failure", "mismatch", "refused"]>>;
|
|
4037
|
+
readonly command_kind: Schema.optional<Schema.Literals<readonly ["invitation_configuration", "invitation_eoa"]>>;
|
|
3959
4038
|
readonly command_id: Schema.optional<Schema.String>;
|
|
4039
|
+
readonly invitation_id: Schema.optional<Schema.String>;
|
|
4040
|
+
readonly generation: Schema.optional<Schema.String>;
|
|
4041
|
+
readonly purpose: Schema.optional<Schema.Literals<readonly ["configure", "grant", "disable", "compensate"]>>;
|
|
4042
|
+
readonly $insert_id: Schema.optional<Schema.String>;
|
|
3960
4043
|
/**
|
|
3961
4044
|
* #1961 R03. The authorized stored row names the Permission it changed; the
|
|
3962
4045
|
* verified receipt names the chain facts that prove it. Every field is
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as OnboardingIntentSelectedTelemetryEventSchema, $t as redactTelemetryProps, A as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, At as ReceiptPendingTelemetryEventSchema, B as MemberActivationFailedTelemetryEventSchema, Bt as UiContactActionCompletedTelemetryEventSchema, C as CliCommandCompletedTelemetryEventSchema, Ct as PayrollGroupChangedTelemetryEventSchema, D as ContactRelationshipChangedTelemetryEventSchema, Dt as ProvisioningSafeConfirmedTelemetryEventSchema, E as CliFirstUsedTelemetryEventSchema, Et as PostHogTelemetryAdapter, F as IdentityRefusedTelemetryEventSchema, Ft as TELEMETRY_EVENT_SCHEMAS, G as MovementScanWindowTelemetryEventSchema, Gt as createCapxulBeforeSend, H as MemberActivationStartedTelemetryEventSchema, Ht as UiPayrollActionCompletedTelemetryEventSchema, I as InMemoryTelemetryBusAdapter, It as TELEMETRY_JOURNEYS, J as NativeAuthorizationDeniedTelemetryEventSchema, Jt as initializeCapxulBrowserAnalytics, K as NativeAuthorizationAcceptedTelemetryEventSchema, Kt as createPostHogBrowserPageviewTracker, L as IndexerDriftCorrectedTelemetryEventSchema, Lt as TELEMETRY_PRODUCERS, M as FaucetConfirmedTelemetryEventSchema, Mt as ResponseHeadersSchema, N as FaucetFailedTelemetryEventSchema, Nt as SYNCABLE_CAPXUL_ENVS, O as DepositInitiatedTelemetryEventSchema, Ot as ProvisioningSafeCreatedTelemetryEventSchema, P as FaucetRequestedTelemetryEventSchema, Pt as TELEMETRY_EVENT_NAMES, Q as OnboardingDashboardReachedTelemetryEventSchema, Qt as redactTelemetryEvent, R as InvoiceIssuedTelemetryEventSchema, Rt as UiAccessStepCompletedTelemetryEventSchema, S as ChainUpstreamSchema, St as PaymentVerificationRetryTelemetryEventSchema, T as CliDiagnosticCompletedTelemetryEventSchema, Tt as PermissionMirrorVerificationTelemetryEventSchema, U as MovementScanCheckpointTelemetryEventSchema, Ut as UiReceiveStepCompletedTelemetryEventSchema, V as MemberActivationReadyTelemetryEventSchema, Vt as UiInvoiceStepCompletedTelemetryEventSchema, W as MovementScanIncidentTelemetryEventSchema, Wt as UiTreasuryStepCompletedTelemetryEventSchema, X as NativeAuthorizationReviewedTelemetryEventSchema, Xt as maskCapturedNetworkRequest, Y as NativeAuthorizationFailedTelemetryEventSchema, Yt as initializePostHogBrowserAnalytics, Z as NativeAuthorizationStartedTelemetryEventSchema, Zt as productAppAnalytics, _ as CLI_COMMAND_NAMES, _t as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, a as AuthFailedTelemetryEventSchema, an as CAPXUL_OPERATIONS, at as OrgCreatedTelemetryEventSchema, b as ChainAttemptSchema, bt as PaymentLifecycleTransitionTelemetryEventSchema, c as AuthOtpRequestedTelemetryEventSchema, ct as OrgInviteProgressedTelemetryEventSchema, d as BROWSER_GATED_TELEMETRY_EVENTS, dt as OrgSafeConfirmedTelemetryEventSchema, en as sanitizePostHogBrowserEvent, et as OnboardingOrganizationSubmittedTelemetryEventSchema, f as BootstrapFailedTelemetryEventSchema, ft as OrgSafeCreatedTelemetryEventSchema, g as CLI_CAPABILITIES, gt as PII, h as CAPXUL_ENVS, ht as OrganizationCreationStartedTelemetryEventSchema, i as ActivityAnnotationSavedTelemetryEventSchema, in as utilityAppAnalytics, it as OrgCreateStartedTelemetryEventSchema, j as FailureModeSchema, jt as RecordingTelemetryAdapter, k as DepositSettledTelemetryEventSchema, kt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, l as AuthSignedOutTelemetryEventSchema, lt as OrgInviteSentTelemetryEventSchema, m as BundlerErrorTelemetryEventSchema, mt as OrganizationCreationReadyTelemetryEventSchema, n as AccountBalanceFailedTelemetryEventSchema, nn as stampTelemetryEnvelope, nt as OperationRetriedTelemetryEventSchema, o as AuthOtpDeliveredTelemetryEventSchema, on as isCapxulOperation, ot as OrgInviteAcceptedTelemetryEventSchema, p as BootstrapResolvedTelemetryEventSchema, pt as OrganizationCreationFailedTelemetryEventSchema, q as NativeAuthorizationConnectedTelemetryEventSchema, qt as getTrackHandler, r as AccountBalanceReadTelemetryEventSchema, rn as track, rt as OrgCreateFailedTelemetryEventSchema, s as AuthOtpExpiredTelemetryEventSchema, sn as normalizeCapxulOperation, st as OrgInviteExpiredTelemetryEventSchema, t as AccessRecoveryCompletedTelemetryEventSchema, tn as setTrackHandler, tt as OnboardingProfileSubmittedTelemetryEventSchema, u as AuthVerifiedTelemetryEventSchema, ut as OrgRolesSeededTelemetryEventSchema, v as CLI_INVOCATION_KINDS, vt as PaymentFailedTelemetryEventSchema, w as CliCommandStartedTelemetryEventSchema, wt as PayrollRunTransitionedTelemetryEventSchema, x as ChainUpstreamFallbackTelemetryEventSchema, xt as PaymentSettledTelemetryEventSchema, y as CONTRACT_FIRST_TELEMETRY_EVENTS, yt as PaymentInitiatedTelemetryEventSchema, z as InvoiceRequestTransitionedTelemetryEventSchema, zt as UiActivityActionCompletedTelemetryEventSchema } from "./src-
|
|
1
|
+
import { $ as OnboardingIntentSelectedTelemetryEventSchema, $t as redactTelemetryProps, A as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, At as ReceiptPendingTelemetryEventSchema, B as MemberActivationFailedTelemetryEventSchema, Bt as UiContactActionCompletedTelemetryEventSchema, C as CliCommandCompletedTelemetryEventSchema, Ct as PayrollGroupChangedTelemetryEventSchema, D as ContactRelationshipChangedTelemetryEventSchema, Dt as ProvisioningSafeConfirmedTelemetryEventSchema, E as CliFirstUsedTelemetryEventSchema, Et as PostHogTelemetryAdapter, F as IdentityRefusedTelemetryEventSchema, Ft as TELEMETRY_EVENT_SCHEMAS, G as MovementScanWindowTelemetryEventSchema, Gt as createCapxulBeforeSend, H as MemberActivationStartedTelemetryEventSchema, Ht as UiPayrollActionCompletedTelemetryEventSchema, I as InMemoryTelemetryBusAdapter, It as TELEMETRY_JOURNEYS, J as NativeAuthorizationDeniedTelemetryEventSchema, Jt as initializeCapxulBrowserAnalytics, K as NativeAuthorizationAcceptedTelemetryEventSchema, Kt as createPostHogBrowserPageviewTracker, L as IndexerDriftCorrectedTelemetryEventSchema, Lt as TELEMETRY_PRODUCERS, M as FaucetConfirmedTelemetryEventSchema, Mt as ResponseHeadersSchema, N as FaucetFailedTelemetryEventSchema, Nt as SYNCABLE_CAPXUL_ENVS, O as DepositInitiatedTelemetryEventSchema, Ot as ProvisioningSafeCreatedTelemetryEventSchema, P as FaucetRequestedTelemetryEventSchema, Pt as TELEMETRY_EVENT_NAMES, Q as OnboardingDashboardReachedTelemetryEventSchema, Qt as redactTelemetryEvent, R as InvoiceIssuedTelemetryEventSchema, Rt as UiAccessStepCompletedTelemetryEventSchema, S as ChainUpstreamSchema, St as PaymentVerificationRetryTelemetryEventSchema, T as CliDiagnosticCompletedTelemetryEventSchema, Tt as PermissionMirrorVerificationTelemetryEventSchema, U as MovementScanCheckpointTelemetryEventSchema, Ut as UiReceiveStepCompletedTelemetryEventSchema, V as MemberActivationReadyTelemetryEventSchema, Vt as UiInvoiceStepCompletedTelemetryEventSchema, W as MovementScanIncidentTelemetryEventSchema, Wt as UiTreasuryStepCompletedTelemetryEventSchema, X as NativeAuthorizationReviewedTelemetryEventSchema, Xt as maskCapturedNetworkRequest, Y as NativeAuthorizationFailedTelemetryEventSchema, Yt as initializePostHogBrowserAnalytics, Z as NativeAuthorizationStartedTelemetryEventSchema, Zt as productAppAnalytics, _ as CLI_COMMAND_NAMES, _t as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, a as AuthFailedTelemetryEventSchema, an as CAPXUL_OPERATIONS, at as OrgCreatedTelemetryEventSchema, b as ChainAttemptSchema, bt as PaymentLifecycleTransitionTelemetryEventSchema, c as AuthOtpRequestedTelemetryEventSchema, ct as OrgInviteProgressedTelemetryEventSchema, d as BROWSER_GATED_TELEMETRY_EVENTS, dt as OrgSafeConfirmedTelemetryEventSchema, en as sanitizePostHogBrowserEvent, et as OnboardingOrganizationSubmittedTelemetryEventSchema, f as BootstrapFailedTelemetryEventSchema, ft as OrgSafeCreatedTelemetryEventSchema, g as CLI_CAPABILITIES, gt as PII, h as CAPXUL_ENVS, ht as OrganizationCreationStartedTelemetryEventSchema, i as ActivityAnnotationSavedTelemetryEventSchema, in as utilityAppAnalytics, it as OrgCreateStartedTelemetryEventSchema, j as FailureModeSchema, jt as RecordingTelemetryAdapter, k as DepositSettledTelemetryEventSchema, kt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, l as AuthSignedOutTelemetryEventSchema, lt as OrgInviteSentTelemetryEventSchema, m as BundlerErrorTelemetryEventSchema, mt as OrganizationCreationReadyTelemetryEventSchema, n as AccountBalanceFailedTelemetryEventSchema, nn as stampTelemetryEnvelope, nt as OperationRetriedTelemetryEventSchema, o as AuthOtpDeliveredTelemetryEventSchema, on as isCapxulOperation, ot as OrgInviteAcceptedTelemetryEventSchema, p as BootstrapResolvedTelemetryEventSchema, pt as OrganizationCreationFailedTelemetryEventSchema, q as NativeAuthorizationConnectedTelemetryEventSchema, qt as getTrackHandler, r as AccountBalanceReadTelemetryEventSchema, rn as track, rt as OrgCreateFailedTelemetryEventSchema, s as AuthOtpExpiredTelemetryEventSchema, sn as normalizeCapxulOperation, st as OrgInviteExpiredTelemetryEventSchema, t as AccessRecoveryCompletedTelemetryEventSchema, tn as setTrackHandler, tt as OnboardingProfileSubmittedTelemetryEventSchema, u as AuthVerifiedTelemetryEventSchema, ut as OrgRolesSeededTelemetryEventSchema, v as CLI_INVOCATION_KINDS, vt as PaymentFailedTelemetryEventSchema, w as CliCommandStartedTelemetryEventSchema, wt as PayrollRunTransitionedTelemetryEventSchema, x as ChainUpstreamFallbackTelemetryEventSchema, xt as PaymentSettledTelemetryEventSchema, y as CONTRACT_FIRST_TELEMETRY_EVENTS, yt as PaymentInitiatedTelemetryEventSchema, z as InvoiceRequestTransitionedTelemetryEventSchema, zt as UiActivityActionCompletedTelemetryEventSchema } from "./src-Dhf8f_EV.mjs";
|
|
2
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, 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, PostHogTelemetryAdapter, 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 };
|
|
@@ -500,10 +500,7 @@ const CAPXUL_OPERATIONS = {
|
|
|
500
500
|
removeDestination: "financialOps.removeDestination",
|
|
501
501
|
verifySettlement: "financialOps.verifySettlement"
|
|
502
502
|
},
|
|
503
|
-
holdings: {
|
|
504
|
-
current: "holdings.current",
|
|
505
|
-
primary: "holdings.primary"
|
|
506
|
-
},
|
|
503
|
+
holdings: { current: "holdings.current" },
|
|
507
504
|
indexer: { reconcile: "indexer.reconcile" },
|
|
508
505
|
identity: {
|
|
509
506
|
accountAt: "identity.AccountAt",
|
|
@@ -561,10 +558,12 @@ const CAPXUL_OPERATIONS = {
|
|
|
561
558
|
prepareOrganizationPaymentExecution: "moneyExecution.prepareOrganizationPaymentExecution",
|
|
562
559
|
preparePaymentExecution: "moneyExecution.preparePaymentExecution",
|
|
563
560
|
preparePaymentLifecycleExecution: "moneyExecution.preparePaymentLifecycleExecution",
|
|
561
|
+
prepareInvitationConfiguration: "moneyExecution.prepareInvitationConfiguration",
|
|
564
562
|
preparePermissionExecution: "moneyExecution.preparePermissionExecution",
|
|
565
563
|
recoverSubmissionClaims: "moneyExecution.recoverSubmissionClaims",
|
|
566
564
|
submit: "moneyExecution.submit",
|
|
567
565
|
submitPaymentCommandExecution: "moneyExecution.submitPaymentCommandExecution",
|
|
566
|
+
submitInvitationConfigurationExecution: "moneyExecution.submitInvitationConfigurationExecution",
|
|
568
567
|
submitPaymentExecution: "moneyExecution.submitPaymentExecution",
|
|
569
568
|
submitPermissionExecution: "moneyExecution.submitPermissionExecution"
|
|
570
569
|
},
|
|
@@ -586,20 +585,52 @@ const CAPXUL_OPERATIONS = {
|
|
|
586
585
|
completePerson: "onboarding.completePerson"
|
|
587
586
|
},
|
|
588
587
|
org: {
|
|
589
|
-
acceptInvitations: "org.acceptInvitations",
|
|
590
588
|
account: { get: "org.account.get" },
|
|
591
|
-
activateMember: "org.activateMember",
|
|
592
589
|
auditLog: "org.auditLog",
|
|
593
590
|
confirmBootstrap: "org.confirmBootstrap",
|
|
594
591
|
createOrg: "org.createOrg",
|
|
595
592
|
create: "org.create",
|
|
596
|
-
|
|
593
|
+
/**
|
|
594
|
+
* §11: the consent mutation reports `org_invite_accepted` through its own
|
|
595
|
+
* scheduled emitter. It is named for the emit, not the acceptance, because
|
|
596
|
+
* the interactive acceptance itself owns `org.invitations.accept`.
|
|
597
|
+
*/
|
|
598
|
+
emitInviteAccepted: "org.emitInviteAccepted",
|
|
597
599
|
emitInviteProgressed: "org.emitInviteProgressed",
|
|
598
600
|
expireInvitations: "org.expireInvitations",
|
|
599
601
|
getLifecycle: "org.getLifecycle",
|
|
600
602
|
getProofReceipt: "org.getProofReceipt",
|
|
601
603
|
invite: "org.invite",
|
|
602
|
-
|
|
604
|
+
/** D8 invitation lifecycle: preview, own list, read, and the four transitions. */
|
|
605
|
+
invitations: {
|
|
606
|
+
/** The exact grantee's consent commit (§8): one accepted digest, once. */
|
|
607
|
+
accept: "org.invitations.accept",
|
|
608
|
+
/**
|
|
609
|
+
* The authoring write. It is named `authorize`, not `invite`, because the
|
|
610
|
+
* backend already uses `org.invitations.invite` as a refusal label and
|
|
611
|
+
* `lint:telemetry-spine` refuses a label that collides with an operation.
|
|
612
|
+
*/
|
|
613
|
+
authorize: "org.invitations.authorize",
|
|
614
|
+
cancel: "org.invitations.cancel",
|
|
615
|
+
decline: "org.invitations.decline",
|
|
616
|
+
get: "org.invitations.get",
|
|
617
|
+
list: "org.invitations.list",
|
|
618
|
+
/**
|
|
619
|
+
* The Admin-scoped Organization list. It is named `listScoped`, not
|
|
620
|
+
* `list`, because the own-offer list already owns `org.invitations.list`.
|
|
621
|
+
*/
|
|
622
|
+
listScoped: "org.invitations.listScoped",
|
|
623
|
+
/**
|
|
624
|
+
* The authoring write's inner hops: the SDK drives the backend's existing
|
|
625
|
+
* prepare/submit pair, and these names label the two Convex calls. The
|
|
626
|
+
* owning `capxul_sdk_operation` record stays `org.invitations.authorize`.
|
|
627
|
+
*/
|
|
628
|
+
prepareConfiguration: "org.invitations.prepareConfiguration",
|
|
629
|
+
preview: "org.invitations.preview",
|
|
630
|
+
resend: "org.invitations.resend",
|
|
631
|
+
retry: "org.invitations.retry",
|
|
632
|
+
submitConfiguration: "org.invitations.submitConfiguration"
|
|
633
|
+
},
|
|
603
634
|
list: "org.list",
|
|
604
635
|
load: "org.load",
|
|
605
636
|
me: "org.me",
|
|
@@ -658,7 +689,6 @@ const CAPXUL_OPERATIONS = {
|
|
|
658
689
|
},
|
|
659
690
|
recordFailure: "org.recordFailure",
|
|
660
691
|
recordProgress: "org.recordProgress",
|
|
661
|
-
resendInviteToken: "org.resendInviteToken",
|
|
662
692
|
resumeBootstrapSubmission: "org.resumeBootstrapSubmission",
|
|
663
693
|
retry: "org.retry",
|
|
664
694
|
retrySetup: "org.retrySetup",
|
|
@@ -675,7 +705,6 @@ const CAPXUL_OPERATIONS = {
|
|
|
675
705
|
retry: "organizationPayments.retry"
|
|
676
706
|
},
|
|
677
707
|
organizationSetup: { getProofReceipt: "organizationSetup.getProofReceipt" },
|
|
678
|
-
organizations: { detectAndAcceptPendingInvitations: "orgs.detectAndAcceptPendingInvitations" },
|
|
679
708
|
payments: {
|
|
680
709
|
cancel: "payments.cancel",
|
|
681
710
|
claim: "payments.claim",
|
|
@@ -692,6 +721,7 @@ const CAPXUL_OPERATIONS = {
|
|
|
692
721
|
submitExecution: "payments.submitExecution"
|
|
693
722
|
},
|
|
694
723
|
paymentDocuments: {
|
|
724
|
+
get: "paymentDocuments.get",
|
|
695
725
|
render: "paymentDocuments.render",
|
|
696
726
|
verify: "paymentDocuments.verify"
|
|
697
727
|
},
|
|
@@ -712,6 +742,7 @@ const CAPXUL_OPERATIONS = {
|
|
|
712
742
|
terms: "payroll.terms"
|
|
713
743
|
},
|
|
714
744
|
permission: {
|
|
745
|
+
verifyInvitationConfiguration: "permission.verifyInvitationConfiguration",
|
|
715
746
|
command: "permission.command",
|
|
716
747
|
retryVerification: "permission.retryVerification",
|
|
717
748
|
verify: "permission.verify",
|
|
@@ -1324,7 +1355,7 @@ const BootstrapFailedProps = Schema.Struct({
|
|
|
1324
1355
|
* R08 (#1966): which Safe was read, on which chain, of which token. `currency`
|
|
1325
1356
|
* is the DISPLAY code the surface shows ("USD"); it never says which ERC-20 the
|
|
1326
1357
|
* `balanceOf` actually hit, so a reader could not tell a treasury read from a
|
|
1327
|
-
* personal one, nor
|
|
1358
|
+
* personal one, nor one token from another with the same fiat peg. The producer
|
|
1328
1359
|
* takes each of these from the authority that already decided it — the verified
|
|
1329
1360
|
* Organization row's chain, the configured token address — never from a label.
|
|
1330
1361
|
* The verified `organization_id` and its group arrive from the backend
|
|
@@ -1355,19 +1386,26 @@ const AccountBalanceFailedProps = Schema.Struct({
|
|
|
1355
1386
|
const FaucetRequestedProps = Schema.Struct({
|
|
1356
1387
|
...TelemetryEnvelopeProps,
|
|
1357
1388
|
amount: OptionalWeiAmount,
|
|
1358
|
-
chainId: OptionalChainId
|
|
1389
|
+
chainId: OptionalChainId,
|
|
1390
|
+
asset_id: OptionalString
|
|
1359
1391
|
});
|
|
1360
1392
|
const FaucetConfirmedProps = Schema.Struct({
|
|
1361
1393
|
...TelemetryEnvelopeProps,
|
|
1362
1394
|
amount: OptionalWeiAmount,
|
|
1363
1395
|
chainId: OptionalChainId,
|
|
1364
1396
|
txHash: OptionalTxHash,
|
|
1397
|
+
asset_id: OptionalString,
|
|
1398
|
+
token_address: OptionalAddress,
|
|
1365
1399
|
durationMs: OptionalDurationMs
|
|
1366
1400
|
});
|
|
1367
1401
|
const FaucetFailedProps = Schema.Struct({
|
|
1368
1402
|
...TelemetryEnvelopeProps,
|
|
1369
1403
|
...ChainCauseTelemetryProps,
|
|
1370
|
-
reason: OptionalString
|
|
1404
|
+
reason: OptionalString,
|
|
1405
|
+
amount: OptionalWeiAmount,
|
|
1406
|
+
chainId: OptionalChainId,
|
|
1407
|
+
asset_id: OptionalString,
|
|
1408
|
+
token_address: OptionalAddress
|
|
1371
1409
|
});
|
|
1372
1410
|
const ChainServiceSchema = Schema.Literals(["aa-gateway", "backend"]);
|
|
1373
1411
|
const ChainUpstreamFallbackProps = Schema.Struct({
|
|
@@ -1542,6 +1580,11 @@ const OrgCreateFailedProps = Schema.Struct({
|
|
|
1542
1580
|
const OrgInviteSentProps = Schema.Struct({
|
|
1543
1581
|
...TelemetryEnvelopeProps,
|
|
1544
1582
|
org_id: OptionalOrgId,
|
|
1583
|
+
invitation_id: OptionalString,
|
|
1584
|
+
generation: OptionalString,
|
|
1585
|
+
command_id: OptionalString,
|
|
1586
|
+
subject_party_id: OptionalString,
|
|
1587
|
+
persisted_at: OptionalEpochMs,
|
|
1545
1588
|
email_domain: OptionalString,
|
|
1546
1589
|
role: OptionalString,
|
|
1547
1590
|
status: OptionalString
|
|
@@ -1549,6 +1592,11 @@ const OrgInviteSentProps = Schema.Struct({
|
|
|
1549
1592
|
const OrgInviteAcceptedProps = Schema.Struct({
|
|
1550
1593
|
...TelemetryEnvelopeProps,
|
|
1551
1594
|
org_id: OptionalOrgId,
|
|
1595
|
+
invitation_id: OptionalString,
|
|
1596
|
+
accepted_at: OptionalEpochMs,
|
|
1597
|
+
generation: OptionalString,
|
|
1598
|
+
command_id: OptionalString,
|
|
1599
|
+
subject_party_id: OptionalString,
|
|
1552
1600
|
role: OptionalString,
|
|
1553
1601
|
status: OptionalString
|
|
1554
1602
|
});
|
|
@@ -1556,6 +1604,7 @@ const OrgInviteExpiredProps = Schema.Struct({
|
|
|
1556
1604
|
...TelemetryEnvelopeProps,
|
|
1557
1605
|
org_id: OptionalOrgId,
|
|
1558
1606
|
email_domain: OptionalString,
|
|
1607
|
+
invitation_id: OptionalString,
|
|
1559
1608
|
reason: OptionalString,
|
|
1560
1609
|
role: OptionalString,
|
|
1561
1610
|
status: OptionalString
|
|
@@ -1708,9 +1757,24 @@ const PermissionMirrorVerificationProps = Schema.Struct({
|
|
|
1708
1757
|
"applied",
|
|
1709
1758
|
"replayed",
|
|
1710
1759
|
"conflicting_replay",
|
|
1711
|
-
"revision_mismatch"
|
|
1760
|
+
"revision_mismatch",
|
|
1761
|
+
"cleanup_required",
|
|
1762
|
+
"not_applied",
|
|
1763
|
+
"application_failure",
|
|
1764
|
+
"mismatch",
|
|
1765
|
+
"refused"
|
|
1712
1766
|
])),
|
|
1767
|
+
command_kind: Schema.optional(Schema.Literals(["invitation_configuration", "invitation_eoa"])),
|
|
1713
1768
|
command_id: OptionalString,
|
|
1769
|
+
invitation_id: OptionalString,
|
|
1770
|
+
generation: OptionalString,
|
|
1771
|
+
purpose: Schema.optional(Schema.Literals([
|
|
1772
|
+
"configure",
|
|
1773
|
+
"grant",
|
|
1774
|
+
"disable",
|
|
1775
|
+
"compensate"
|
|
1776
|
+
])),
|
|
1777
|
+
$insert_id: OptionalString,
|
|
1714
1778
|
/**
|
|
1715
1779
|
* #1961 R03. The authorized stored row names the Permission it changed; the
|
|
1716
1780
|
* verified receipt names the chain facts that prove it. Every field is
|
|
@@ -2092,15 +2156,56 @@ const CLI_COMMAND_NAMES = [
|
|
|
2092
2156
|
"auth",
|
|
2093
2157
|
"auth.login",
|
|
2094
2158
|
"auth.signup",
|
|
2159
|
+
"auth.send",
|
|
2160
|
+
"auth.verify",
|
|
2161
|
+
"auth.profile",
|
|
2095
2162
|
"auth.status",
|
|
2096
2163
|
"auth.logout",
|
|
2164
|
+
"contact",
|
|
2165
|
+
"contact.list",
|
|
2166
|
+
"contact.get",
|
|
2167
|
+
"contact.add",
|
|
2168
|
+
"contact.label",
|
|
2169
|
+
"contact.hide",
|
|
2170
|
+
"contact.unhide",
|
|
2171
|
+
"org",
|
|
2172
|
+
CAPXUL_OPERATIONS.org.list,
|
|
2173
|
+
"org.use",
|
|
2174
|
+
"org.status",
|
|
2175
|
+
CAPXUL_OPERATIONS.org.me,
|
|
2176
|
+
CAPXUL_OPERATIONS.org.members,
|
|
2177
|
+
"org.member",
|
|
2178
|
+
"org.member.get",
|
|
2179
|
+
"org.member.invite",
|
|
2180
|
+
"org.contact",
|
|
2181
|
+
"org.contact.list",
|
|
2182
|
+
"org.contact.get",
|
|
2183
|
+
"org.contact.add",
|
|
2184
|
+
"org.contact.label",
|
|
2185
|
+
"org.contact.hide",
|
|
2186
|
+
"org.contact.unhide",
|
|
2187
|
+
CAPXUL_OPERATIONS.org.invite,
|
|
2188
|
+
"org.invite.list",
|
|
2189
|
+
"org.invite.get",
|
|
2190
|
+
"org.invite.wait",
|
|
2191
|
+
"org.invite.review",
|
|
2192
|
+
"org.invite.accept",
|
|
2193
|
+
"org.invite.decline",
|
|
2194
|
+
"org.invite.cancel",
|
|
2195
|
+
"org.invite.resend",
|
|
2196
|
+
"org.invite.retry",
|
|
2197
|
+
"org.wait",
|
|
2198
|
+
CAPXUL_OPERATIONS.org.create,
|
|
2199
|
+
CAPXUL_OPERATIONS.org.retry,
|
|
2097
2200
|
"unknown"
|
|
2098
2201
|
];
|
|
2099
2202
|
const CLI_CAPABILITIES = [
|
|
2100
2203
|
"cli",
|
|
2101
2204
|
"diagnostics",
|
|
2102
2205
|
"collection",
|
|
2103
|
-
"authentication"
|
|
2206
|
+
"authentication",
|
|
2207
|
+
"organization",
|
|
2208
|
+
"contacts"
|
|
2104
2209
|
];
|
|
2105
2210
|
const CLI_INVOCATION_KINDS = [
|
|
2106
2211
|
"command",
|
|
@@ -2365,6 +2470,7 @@ const OrgInviteProgressedTelemetryEventSchema = Schema.Struct({
|
|
|
2365
2470
|
...TelemetryEnvelopeProps,
|
|
2366
2471
|
organization_id: OrgIdTelemetrySchema,
|
|
2367
2472
|
progress: Schema.Literals([
|
|
2473
|
+
"configuration_authorized",
|
|
2368
2474
|
"account_ready",
|
|
2369
2475
|
"permission_applied",
|
|
2370
2476
|
"membership_activated",
|
|
@@ -2372,6 +2478,9 @@ const OrgInviteProgressedTelemetryEventSchema = Schema.Struct({
|
|
|
2372
2478
|
]),
|
|
2373
2479
|
/** The invited Party. The initiating actor stays on the envelope's identity. */
|
|
2374
2480
|
member_party_id: Schema.String,
|
|
2481
|
+
invitation_id: Schema.optional(Schema.String),
|
|
2482
|
+
generation: Schema.optional(Schema.String),
|
|
2483
|
+
command_id: Schema.optional(Schema.String),
|
|
2375
2484
|
occurred_at: Schema.Number
|
|
2376
2485
|
})
|
|
2377
2486
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/observability",
|
|
3
|
-
"version": "4.20.0-beta.
|
|
3
|
+
"version": "4.20.0-beta.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
|
|
38
38
|
"vite-plus": "0.3.0",
|
|
39
39
|
"vitest": "4.1.11",
|
|
40
|
+
"@capxul/errors": "0.3.0",
|
|
40
41
|
"@capxul/types": "0.3.0",
|
|
41
|
-
"@capxul/typescript-config": "0.0.0"
|
|
42
|
-
"@capxul/errors": "0.3.0"
|
|
42
|
+
"@capxul/typescript-config": "0.0.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"check-types": "vp exec ../../node_modules/@typescript/native/bin/tsc -p tsconfig.json --noEmit",
|