@capxul/observability 4.20.0-beta.26 → 4.20.0-beta.27
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 +44 -0
- package/dist/index.mjs +1 -1
- package/dist/{src-CX-Shigb.mjs → src-BBVEFkzq.mjs} +20 -2
- package/package.json +3 -3
package/dist/engineering.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as CLI_CAPABILITIES, L as CLI_COMMAND_NAMES, R as CLI_INVOCATION_KINDS, dn as redactSecrets, fn as redactUrlSecrets, hn as FAILURE_MODES, ln as ORGANIZATION_SETUP_REASONS, mn as CAPXUL_ERROR_CODES, pn as isCredentialField, sn as isCapxulOperation, un as ORGANIZATION_SETUP_STATUSES } from "./src-
|
|
1
|
+
import { I as CLI_CAPABILITIES, L as CLI_COMMAND_NAMES, R as CLI_INVOCATION_KINDS, dn as redactSecrets, fn as redactUrlSecrets, hn as FAILURE_MODES, ln as ORGANIZATION_SETUP_REASONS, mn as CAPXUL_ERROR_CODES, pn as isCredentialField, sn as isCapxulOperation, un as ORGANIZATION_SETUP_STATUSES } from "./src-BBVEFkzq.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/http";
|
|
4
4
|
import { OtlpExporter, OtlpLogger, OtlpMetrics, OtlpSerialization, OtlpTracer } from "effect/observability";
|
package/dist/index.d.mts
CHANGED
|
@@ -871,9 +871,16 @@ declare const approvals: {
|
|
|
871
871
|
readonly url: Schema.String;
|
|
872
872
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
873
873
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
874
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
875
|
+
readonly kind: Schema.Literal<"personal">;
|
|
876
|
+
}>, Schema.Struct<{
|
|
877
|
+
readonly kind: Schema.Literal<"organization">;
|
|
878
|
+
readonly orgId: Schema.NonEmptyString;
|
|
879
|
+
}>]>;
|
|
874
880
|
readonly summary: Schema.Struct<{
|
|
875
881
|
readonly title: Schema.String;
|
|
876
882
|
readonly from: Schema.Struct<{
|
|
883
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
877
884
|
readonly label: Schema.String;
|
|
878
885
|
readonly address: Schema.Codec<Address, string, never, never>;
|
|
879
886
|
}>;
|
|
@@ -934,9 +941,16 @@ declare const approvals: {
|
|
|
934
941
|
readonly url: Schema.String;
|
|
935
942
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
936
943
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
944
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
945
|
+
readonly kind: Schema.Literal<"personal">;
|
|
946
|
+
}>, Schema.Struct<{
|
|
947
|
+
readonly kind: Schema.Literal<"organization">;
|
|
948
|
+
readonly orgId: Schema.NonEmptyString;
|
|
949
|
+
}>]>;
|
|
937
950
|
readonly summary: Schema.Struct<{
|
|
938
951
|
readonly title: Schema.String;
|
|
939
952
|
readonly from: Schema.Struct<{
|
|
953
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
940
954
|
readonly label: Schema.String;
|
|
941
955
|
readonly address: Schema.Codec<Address, string, never, never>;
|
|
942
956
|
}>;
|
|
@@ -997,9 +1011,16 @@ declare const approvals: {
|
|
|
997
1011
|
readonly url: Schema.String;
|
|
998
1012
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
999
1013
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1014
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1015
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1016
|
+
}>, Schema.Struct<{
|
|
1017
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1018
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1019
|
+
}>]>;
|
|
1000
1020
|
readonly summary: Schema.Struct<{
|
|
1001
1021
|
readonly title: Schema.String;
|
|
1002
1022
|
readonly from: Schema.Struct<{
|
|
1023
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1003
1024
|
readonly label: Schema.String;
|
|
1004
1025
|
readonly address: Schema.Codec<Address, string, never, never>;
|
|
1005
1026
|
}>;
|
|
@@ -1064,9 +1085,16 @@ declare const approvals: {
|
|
|
1064
1085
|
readonly url: Schema.String;
|
|
1065
1086
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1066
1087
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1088
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1089
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1090
|
+
}>, Schema.Struct<{
|
|
1091
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1092
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1093
|
+
}>]>;
|
|
1067
1094
|
readonly summary: Schema.Struct<{
|
|
1068
1095
|
readonly title: Schema.String;
|
|
1069
1096
|
readonly from: Schema.Struct<{
|
|
1097
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1070
1098
|
readonly label: Schema.String;
|
|
1071
1099
|
readonly address: Schema.Codec<Address, string, never, never>;
|
|
1072
1100
|
}>;
|
|
@@ -1127,9 +1155,16 @@ declare const approvals: {
|
|
|
1127
1155
|
readonly url: Schema.String;
|
|
1128
1156
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1129
1157
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1158
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1159
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1160
|
+
}>, Schema.Struct<{
|
|
1161
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1162
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1163
|
+
}>]>;
|
|
1130
1164
|
readonly summary: Schema.Struct<{
|
|
1131
1165
|
readonly title: Schema.String;
|
|
1132
1166
|
readonly from: Schema.Struct<{
|
|
1167
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1133
1168
|
readonly label: Schema.String;
|
|
1134
1169
|
readonly address: Schema.Codec<Address, string, never, never>;
|
|
1135
1170
|
}>;
|
|
@@ -1191,9 +1226,16 @@ declare const approvals: {
|
|
|
1191
1226
|
readonly url: Schema.String;
|
|
1192
1227
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1193
1228
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1229
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1230
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1231
|
+
}>, Schema.Struct<{
|
|
1232
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1233
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1234
|
+
}>]>;
|
|
1194
1235
|
readonly summary: Schema.Struct<{
|
|
1195
1236
|
readonly title: Schema.String;
|
|
1196
1237
|
readonly from: Schema.Struct<{
|
|
1238
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1197
1239
|
readonly label: Schema.String;
|
|
1198
1240
|
readonly address: Schema.Codec<Address, string, never, never>;
|
|
1199
1241
|
}>;
|
|
@@ -20855,6 +20897,7 @@ export declare const CAPXUL_OPERATIONS: {
|
|
|
20855
20897
|
};
|
|
20856
20898
|
readonly identities: {
|
|
20857
20899
|
readonly purgeByEmail: "operator.identities.purgeByEmail";
|
|
20900
|
+
readonly purgeAccount: "operator.identities.purgeAccount";
|
|
20858
20901
|
};
|
|
20859
20902
|
};
|
|
20860
20903
|
readonly organizations: {
|
|
@@ -21063,6 +21106,7 @@ export declare const CAPXUL_OPERATIONS: {
|
|
|
21063
21106
|
};
|
|
21064
21107
|
readonly keys: {
|
|
21065
21108
|
readonly issue: "applications.keys.issue";
|
|
21109
|
+
readonly revokeById: "applications.keys.revokeById";
|
|
21066
21110
|
};
|
|
21067
21111
|
readonly quickstarts: {
|
|
21068
21112
|
readonly claim: "applications.quickstarts.claim";
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-BBVEFkzq.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, 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 };
|
|
@@ -2182,10 +2182,19 @@ const ApprovalNetworkSchema = Schema.Struct({
|
|
|
2182
2182
|
name: Schema.String,
|
|
2183
2183
|
explorerUrl: Schema.String
|
|
2184
2184
|
});
|
|
2185
|
+
/**
|
|
2186
|
+
* Whose money the operation moves: the person's own, or an Organization's,
|
|
2187
|
+
* which a reader follows through that Organization's scope.
|
|
2188
|
+
*/
|
|
2189
|
+
const ApprovalActorSchema = Schema.Union([Schema.Struct({ kind: Schema.Literal("personal") }), Schema.Struct({
|
|
2190
|
+
kind: Schema.Literal("organization"),
|
|
2191
|
+
orgId: Schema.NonEmptyString
|
|
2192
|
+
})]);
|
|
2185
2193
|
/** What the person reads before they sign. */
|
|
2186
2194
|
const ApprovalSummarySchema = Schema.Struct({
|
|
2187
2195
|
title: Schema.String,
|
|
2188
2196
|
from: Schema.Struct({
|
|
2197
|
+
kind: Schema.Literals(["personal", "organization"]),
|
|
2189
2198
|
label: Schema.String,
|
|
2190
2199
|
address: AddressSchema$1
|
|
2191
2200
|
}),
|
|
@@ -2207,6 +2216,7 @@ const ApprovalSchema = Schema.Struct({
|
|
|
2207
2216
|
url: Schema.String,
|
|
2208
2217
|
kind: Schema.Literals(APPROVAL_KINDS),
|
|
2209
2218
|
state: Schema.Literals(APPROVAL_STATES),
|
|
2219
|
+
actor: ApprovalActorSchema,
|
|
2210
2220
|
summary: ApprovalSummarySchema,
|
|
2211
2221
|
operation: ApprovalOperationSchema,
|
|
2212
2222
|
/** Who must sign: the owner key of the paying Safe. */
|
|
@@ -6583,7 +6593,11 @@ const ORGANIZATION_OPERATIONS = {
|
|
|
6583
6593
|
seedNativeReadiness: "operator.fixtures.seedNativeReadiness",
|
|
6584
6594
|
seedPrerequisites: "operator.fixtures.seedPrerequisites"
|
|
6585
6595
|
},
|
|
6586
|
-
identities: {
|
|
6596
|
+
identities: {
|
|
6597
|
+
purgeByEmail: "operator.identities.purgeByEmail",
|
|
6598
|
+
/** One Account and every row that refers to it, unless it has Payments or an Organization tie. */
|
|
6599
|
+
purgeAccount: "operator.identities.purgeAccount"
|
|
6600
|
+
}
|
|
6587
6601
|
},
|
|
6588
6602
|
/** Organizations' internal functions; its public rows join from `OPERATIONS`. */
|
|
6589
6603
|
organizations: {
|
|
@@ -6833,7 +6847,11 @@ const PLATFORM_OPERATIONS = {
|
|
|
6833
6847
|
recordUse: "applications.bootstraps.recordUse",
|
|
6834
6848
|
resolve: "applications.bootstraps.resolve"
|
|
6835
6849
|
},
|
|
6836
|
-
keys: {
|
|
6850
|
+
keys: {
|
|
6851
|
+
issue: "applications.keys.issue",
|
|
6852
|
+
/** Operator-only: revoke one key by its id, whoever owns it. */
|
|
6853
|
+
revokeById: "applications.keys.revokeById"
|
|
6854
|
+
},
|
|
6837
6855
|
quickstarts: {
|
|
6838
6856
|
claim: "applications.quickstarts.claim",
|
|
6839
6857
|
mint: "applications.quickstarts.mint"
|
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.27",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
|
|
42
42
|
"vite-plus": "1.0.0",
|
|
43
43
|
"vitest": "5.0.1",
|
|
44
|
-
"@capxul/
|
|
45
|
-
"@capxul/
|
|
44
|
+
"@capxul/typescript-config": "0.0.0",
|
|
45
|
+
"@capxul/protocol": "0.2.0-beta.1"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"check-types": "vp exec ../../node_modules/@typescript/native/bin/tsc -p tsconfig.json --noEmit",
|