@capxul/observability 4.20.0-beta.37 → 4.20.0-beta.38

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.
@@ -1,4 +1,4 @@
1
- import { Cn as PROVIDERS, En as FAILURE_MODES, G as CLI_COMMAND_NAMES, K as CLI_INVOCATION_KINDS, Sn as CAPXUL_ERROR_CODES, Tn as isCapxulError, W as CLI_CAPABILITIES, _n as ORGANIZATION_SETUP_REASONS, bn as redactUrlSecrets, hn as isCapxulOperation, q as FAILURE_CLASSES, vn as ORGANIZATION_SETUP_STATUSES, wn as PROVIDER_PROBLEMS, xn as isCredentialField, yn as redactSecrets } from "./src-CkM01SMk.mjs";
1
+ import { Cn as PROVIDERS, En as FAILURE_MODES, G as CLI_COMMAND_NAMES, K as CLI_INVOCATION_KINDS, Sn as CAPXUL_ERROR_CODES, Tn as isCapxulError, W as CLI_CAPABILITIES, _n as ORGANIZATION_SETUP_REASONS, bn as redactUrlSecrets, hn as isCapxulOperation, q as FAILURE_CLASSES, vn as ORGANIZATION_SETUP_STATUSES, wn as PROVIDER_PROBLEMS, xn as isCredentialField, yn as redactSecrets } from "./src-DYrEWRMT.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
@@ -450,6 +450,12 @@ declare const items: {
450
450
  readonly decimals: Schema.Finite;
451
451
  readonly asset: Schema.optional<Schema.Never>;
452
452
  }>>;
453
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
454
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
455
+ readonly value: Schema.String;
456
+ readonly decimals: Schema.Finite;
457
+ readonly asset: Schema.optional<Schema.Never>;
458
+ }>>;
453
459
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
454
460
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
455
461
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -5174,6 +5180,12 @@ declare const quotes: {
5174
5180
  readonly currency: import("effect/Schema").optional<import("effect/Schema").Never>;
5175
5181
  readonly decimals: import("effect/Schema").optional<import("effect/Schema").Never>;
5176
5182
  }>;
5183
+ readonly slippage: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
5184
+ readonly asset: import("effect/Schema").refine<AssetId, import("effect/Schema").String>;
5185
+ readonly value: import("effect/Schema").String;
5186
+ readonly currency: import("effect/Schema").optional<import("effect/Schema").Never>;
5187
+ readonly decimals: import("effect/Schema").optional<import("effect/Schema").Never>;
5188
+ }>>;
5177
5189
  readonly expiresAt: import("effect/Schema").Finite;
5178
5190
  readonly recipient: import("effect/Schema").Struct<{
5179
5191
  readonly label: import("effect/Schema").String;
@@ -5266,6 +5278,12 @@ declare const records: {
5266
5278
  readonly decimals: Schema.Finite;
5267
5279
  readonly asset: Schema.optional<Schema.Never>;
5268
5280
  }>>;
5281
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
5282
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
5283
+ readonly value: Schema.String;
5284
+ readonly decimals: Schema.Finite;
5285
+ readonly asset: Schema.optional<Schema.Never>;
5286
+ }>>;
5269
5287
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
5270
5288
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
5271
5289
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -5357,6 +5375,12 @@ declare const records: {
5357
5375
  readonly decimals: Schema.Finite;
5358
5376
  readonly asset: Schema.optional<Schema.Never>;
5359
5377
  }>>;
5378
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
5379
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
5380
+ readonly value: Schema.String;
5381
+ readonly decimals: Schema.Finite;
5382
+ readonly asset: Schema.optional<Schema.Never>;
5383
+ }>>;
5360
5384
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
5361
5385
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
5362
5386
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -5447,6 +5471,12 @@ declare const records: {
5447
5471
  readonly decimals: Schema.Finite;
5448
5472
  readonly asset: Schema.optional<Schema.Never>;
5449
5473
  }>>;
5474
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
5475
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
5476
+ readonly value: Schema.String;
5477
+ readonly decimals: Schema.Finite;
5478
+ readonly asset: Schema.optional<Schema.Never>;
5479
+ }>>;
5450
5480
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
5451
5481
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
5452
5482
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -5542,6 +5572,12 @@ declare const records: {
5542
5572
  readonly decimals: Schema.Finite;
5543
5573
  readonly asset: Schema.optional<Schema.Never>;
5544
5574
  }>>;
5575
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
5576
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
5577
+ readonly value: Schema.String;
5578
+ readonly decimals: Schema.Finite;
5579
+ readonly asset: Schema.optional<Schema.Never>;
5580
+ }>>;
5545
5581
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
5546
5582
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
5547
5583
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -6115,6 +6151,12 @@ declare const commands$1: {
6115
6151
  readonly decimals: Schema.Finite;
6116
6152
  readonly asset: Schema.optional<Schema.Never>;
6117
6153
  }>>;
6154
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
6155
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
6156
+ readonly value: Schema.String;
6157
+ readonly decimals: Schema.Finite;
6158
+ readonly asset: Schema.optional<Schema.Never>;
6159
+ }>>;
6118
6160
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
6119
6161
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
6120
6162
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -7930,6 +7972,12 @@ declare const commands$1: {
7930
7972
  readonly decimals: Schema.Finite;
7931
7973
  readonly asset: Schema.optional<Schema.Never>;
7932
7974
  }>>;
7975
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
7976
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
7977
+ readonly value: Schema.String;
7978
+ readonly decimals: Schema.Finite;
7979
+ readonly asset: Schema.optional<Schema.Never>;
7980
+ }>>;
7933
7981
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
7934
7982
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
7935
7983
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -9723,6 +9771,12 @@ declare const commands$1: {
9723
9771
  readonly decimals: Schema.Finite;
9724
9772
  readonly asset: Schema.optional<Schema.Never>;
9725
9773
  }>>;
9774
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
9775
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
9776
+ readonly value: Schema.String;
9777
+ readonly decimals: Schema.Finite;
9778
+ readonly asset: Schema.optional<Schema.Never>;
9779
+ }>>;
9726
9780
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
9727
9781
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
9728
9782
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -11771,6 +11825,12 @@ declare const lifecycles: {
11771
11825
  readonly decimals: Schema.Finite;
11772
11826
  readonly asset: Schema.optional<Schema.Never>;
11773
11827
  }>>;
11828
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
11829
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
11830
+ readonly value: Schema.String;
11831
+ readonly decimals: Schema.Finite;
11832
+ readonly asset: Schema.optional<Schema.Never>;
11833
+ }>>;
11774
11834
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
11775
11835
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
11776
11836
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -13546,6 +13606,12 @@ declare const lifecycles: {
13546
13606
  readonly decimals: Schema.Finite;
13547
13607
  readonly asset: Schema.optional<Schema.Never>;
13548
13608
  }>>;
13609
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
13610
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
13611
+ readonly value: Schema.String;
13612
+ readonly decimals: Schema.Finite;
13613
+ readonly asset: Schema.optional<Schema.Never>;
13614
+ }>>;
13549
13615
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
13550
13616
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
13551
13617
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -13643,6 +13709,12 @@ declare const lifecycles: {
13643
13709
  readonly decimals: Schema.Finite;
13644
13710
  readonly asset: Schema.optional<Schema.Never>;
13645
13711
  }>>;
13712
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
13713
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
13714
+ readonly value: Schema.String;
13715
+ readonly decimals: Schema.Finite;
13716
+ readonly asset: Schema.optional<Schema.Never>;
13717
+ }>>;
13646
13718
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
13647
13719
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
13648
13720
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -13741,6 +13813,12 @@ declare const executions: {
13741
13813
  readonly decimals: Schema.Finite;
13742
13814
  readonly asset: Schema.optional<Schema.Never>;
13743
13815
  }>>;
13816
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
13817
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
13818
+ readonly value: Schema.String;
13819
+ readonly decimals: Schema.Finite;
13820
+ readonly asset: Schema.optional<Schema.Never>;
13821
+ }>>;
13744
13822
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
13745
13823
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
13746
13824
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -13836,6 +13914,12 @@ declare const executions: {
13836
13914
  readonly decimals: Schema.Finite;
13837
13915
  readonly asset: Schema.optional<Schema.Never>;
13838
13916
  }>>;
13917
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
13918
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
13919
+ readonly value: Schema.String;
13920
+ readonly decimals: Schema.Finite;
13921
+ readonly asset: Schema.optional<Schema.Never>;
13922
+ }>>;
13839
13923
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
13840
13924
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
13841
13925
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -15648,6 +15732,12 @@ declare const runs: {
15648
15732
  readonly decimals: Schema.Finite;
15649
15733
  readonly asset: Schema.optional<Schema.Never>;
15650
15734
  }>>;
15735
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
15736
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
15737
+ readonly value: Schema.String;
15738
+ readonly decimals: Schema.Finite;
15739
+ readonly asset: Schema.optional<Schema.Never>;
15740
+ }>>;
15651
15741
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
15652
15742
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
15653
15743
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -15746,6 +15836,12 @@ declare const runs: {
15746
15836
  readonly decimals: Schema.Finite;
15747
15837
  readonly asset: Schema.optional<Schema.Never>;
15748
15838
  }>>;
15839
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
15840
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
15841
+ readonly value: Schema.String;
15842
+ readonly decimals: Schema.Finite;
15843
+ readonly asset: Schema.optional<Schema.Never>;
15844
+ }>>;
15749
15845
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
15750
15846
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
15751
15847
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -15879,6 +15975,12 @@ declare const runs: {
15879
15975
  readonly decimals: Schema.Finite;
15880
15976
  readonly asset: Schema.optional<Schema.Never>;
15881
15977
  }>>;
15978
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
15979
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
15980
+ readonly value: Schema.String;
15981
+ readonly decimals: Schema.Finite;
15982
+ readonly asset: Schema.optional<Schema.Never>;
15983
+ }>>;
15882
15984
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
15883
15985
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
15884
15986
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -20101,6 +20203,12 @@ declare const receivables: {
20101
20203
  readonly decimals: Schema.Finite;
20102
20204
  readonly asset: Schema.optional<Schema.Never>;
20103
20205
  }>>;
20206
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
20207
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
20208
+ readonly value: Schema.String;
20209
+ readonly decimals: Schema.Finite;
20210
+ readonly asset: Schema.optional<Schema.Never>;
20211
+ }>>;
20104
20212
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
20105
20213
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
20106
20214
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -20251,6 +20359,12 @@ declare const receivables: {
20251
20359
  readonly decimals: Schema.Finite;
20252
20360
  readonly asset: Schema.optional<Schema.Never>;
20253
20361
  }>>;
20362
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
20363
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
20364
+ readonly value: Schema.String;
20365
+ readonly decimals: Schema.Finite;
20366
+ readonly asset: Schema.optional<Schema.Never>;
20367
+ }>>;
20254
20368
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
20255
20369
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
20256
20370
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -20403,6 +20517,12 @@ declare const receivables: {
20403
20517
  readonly decimals: Schema.Finite;
20404
20518
  readonly asset: Schema.optional<Schema.Never>;
20405
20519
  }>>;
20520
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
20521
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
20522
+ readonly value: Schema.String;
20523
+ readonly decimals: Schema.Finite;
20524
+ readonly asset: Schema.optional<Schema.Never>;
20525
+ }>>;
20406
20526
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
20407
20527
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
20408
20528
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -20553,6 +20673,12 @@ declare const receivables: {
20553
20673
  readonly decimals: Schema.Finite;
20554
20674
  readonly asset: Schema.optional<Schema.Never>;
20555
20675
  }>>;
20676
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
20677
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
20678
+ readonly value: Schema.String;
20679
+ readonly decimals: Schema.Finite;
20680
+ readonly asset: Schema.optional<Schema.Never>;
20681
+ }>>;
20556
20682
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
20557
20683
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
20558
20684
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -20703,6 +20829,12 @@ declare const receivables: {
20703
20829
  readonly decimals: Schema.Finite;
20704
20830
  readonly asset: Schema.optional<Schema.Never>;
20705
20831
  }>>;
20832
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
20833
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
20834
+ readonly value: Schema.String;
20835
+ readonly decimals: Schema.Finite;
20836
+ readonly asset: Schema.optional<Schema.Never>;
20837
+ }>>;
20706
20838
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
20707
20839
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
20708
20840
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -20853,6 +20985,12 @@ declare const receivables: {
20853
20985
  readonly decimals: Schema.Finite;
20854
20986
  readonly asset: Schema.optional<Schema.Never>;
20855
20987
  }>>;
20988
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
20989
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
20990
+ readonly value: Schema.String;
20991
+ readonly decimals: Schema.Finite;
20992
+ readonly asset: Schema.optional<Schema.Never>;
20993
+ }>>;
20856
20994
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
20857
20995
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
20858
20996
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -21005,6 +21143,12 @@ declare const receivables: {
21005
21143
  readonly decimals: Schema.Finite;
21006
21144
  readonly asset: Schema.optional<Schema.Never>;
21007
21145
  }>>;
21146
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
21147
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
21148
+ readonly value: Schema.String;
21149
+ readonly decimals: Schema.Finite;
21150
+ readonly asset: Schema.optional<Schema.Never>;
21151
+ }>>;
21008
21152
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
21009
21153
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
21010
21154
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -21155,6 +21299,12 @@ declare const receivables: {
21155
21299
  readonly decimals: Schema.Finite;
21156
21300
  readonly asset: Schema.optional<Schema.Never>;
21157
21301
  }>>;
21302
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
21303
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
21304
+ readonly value: Schema.String;
21305
+ readonly decimals: Schema.Finite;
21306
+ readonly asset: Schema.optional<Schema.Never>;
21307
+ }>>;
21158
21308
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
21159
21309
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
21160
21310
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -21308,6 +21458,12 @@ declare const inboxes: {
21308
21458
  readonly decimals: Schema.Finite;
21309
21459
  readonly asset: Schema.optional<Schema.Never>;
21310
21460
  }>>;
21461
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
21462
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
21463
+ readonly value: Schema.String;
21464
+ readonly decimals: Schema.Finite;
21465
+ readonly asset: Schema.optional<Schema.Never>;
21466
+ }>>;
21311
21467
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
21312
21468
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
21313
21469
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -21460,6 +21616,12 @@ declare const inboxes: {
21460
21616
  readonly decimals: Schema.Finite;
21461
21617
  readonly asset: Schema.optional<Schema.Never>;
21462
21618
  }>>;
21619
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
21620
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
21621
+ readonly value: Schema.String;
21622
+ readonly decimals: Schema.Finite;
21623
+ readonly asset: Schema.optional<Schema.Never>;
21624
+ }>>;
21463
21625
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
21464
21626
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
21465
21627
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
@@ -21974,6 +22136,12 @@ declare const inboxes: {
21974
22136
  readonly decimals: Schema.Finite;
21975
22137
  readonly asset: Schema.optional<Schema.Never>;
21976
22138
  }>>;
22139
+ readonly deliveredOutput: Schema.optionalKey<Schema.Struct<{
22140
+ readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
22141
+ readonly value: Schema.String;
22142
+ readonly decimals: Schema.Finite;
22143
+ readonly asset: Schema.optional<Schema.Never>;
22144
+ }>>;
21977
22145
  readonly outputExact: Schema.optionalKey<Schema.Boolean>;
21978
22146
  readonly recipientOnCapxul: Schema.optionalKey<Schema.Boolean>;
21979
22147
  readonly recipientWarning: Schema.optionalKey<Schema.Boolean>;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as AuthSignedOutTelemetryEventSchema, $t as CAPXUL_ENVS, A as BootstrapResolvedTelemetryEventSchema, At as OrganizationCreationFailedTelemetryEventSchema, B as CliCommandCompletedTelemetryEventSchema, Bt as DepositInitiatedTelemetryEventSchema, C as VerificationInformationRequestedTelemetryEventSchema, Ct as MovementScanWindowTelemetryEventSchema, D as VerificationSubmittedTelemetryEventSchema, Dt as OrgInviteExpiredTelemetryEventSchema, E as VerificationStartedTelemetryEventSchema, Et as OrgInviteAcceptedTelemetryEventSchema, F as OnboardingIntentSelectedTelemetryEventSchema, Ft as ChainUpstreamFallbackTelemetryEventSchema, G as CLI_COMMAND_NAMES, Gt as PaymentFailedTelemetryEventSchema, H as CliDiagnosticCompletedTelemetryEventSchema, Ht as FaucetConfirmedTelemetryEventSchema, I as OnboardingOrganizationSubmittedTelemetryEventSchema, It as OperationRetriedTelemetryEventSchema, J as AccessRecoveryCompletedTelemetryEventSchema, Jt as PaymentSettledTelemetryEventSchema, K as CLI_INVOCATION_KINDS, Kt as PaymentInitiatedTelemetryEventSchema, L as OnboardingProfileSubmittedTelemetryEventSchema, Lt as ReceiptPendingTelemetryEventSchema, M as MemberActivationReadyTelemetryEventSchema, Mt as OrganizationCreationStartedTelemetryEventSchema, N as MemberActivationStartedTelemetryEventSchema, Nt as UiContactActionCompletedTelemetryEventSchema, O as VerificationTermsAcceptedTelemetryEventSchema, Ot as OrgInviteProgressedTelemetryEventSchema, P as OnboardingDashboardReachedTelemetryEventSchema, Pt as BundlerErrorTelemetryEventSchema, Q as AuthOtpRequestedTelemetryEventSchema, Qt as TELEMETRY_JOURNEYS, R as ProvisioningSafeConfirmedTelemetryEventSchema, Rt as AccountBalanceFailedTelemetryEventSchema, S as VerificationApprovedTelemetryEventSchema, St as MovementScanIncidentTelemetryEventSchema, T as VerificationRejectedTelemetryEventSchema, Tt as ContactRelationshipChangedTelemetryEventSchema, U as CliFirstUsedTelemetryEventSchema, Ut as FaucetFailedTelemetryEventSchema, V as CliCommandStartedTelemetryEventSchema, Vt as DepositSettledTelemetryEventSchema, W as CLI_CAPABILITIES, Wt as FaucetRequestedTelemetryEventSchema, X as AuthOtpDeliveredTelemetryEventSchema, Xt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, Y as AuthFailedTelemetryEventSchema, Yt as PaymentVerificationRetryTelemetryEventSchema, Z as AuthOtpExpiredTelemetryEventSchema, Zt as JOURNEYS, _ as CONTRACT_FIRST_TELEMETRY_EVENTS, _t as UiTreasuryStepCompletedTelemetryEventSchema, a as initializeCapxulBrowserAnalytics, an as JourneyVariantProps, at as NativeAuthorizationFailedTelemetryEventSchema, b as RETIRED_TELEMETRY_EVENTS, bt as IndexerDriftCorrectedTelemetryEventSchema, c as utilityAppAnalytics, cn as ResponseHeadersSchema, ct as UiAccessStepCompletedTelemetryEventSchema, d as redactTelemetryEvent, dn as TELEMETRY_PRODUCERS, dt as PayrollGroupChangedTelemetryEventSchema, en as ChainAttemptSchema, et as AuthVerifiedTelemetryEventSchema, f as redactTelemetryProps, fn as stampTelemetryEnvelope, ft as PayrollRunTransitionedTelemetryEventSchema, g as BROWSER_GATED_TELEMETRY_EVENTS, gn as normalizeCapxulOperation, gt as UiReceiveStepCompletedTelemetryEventSchema, h as track, hn as isCapxulOperation, ht as UiPayrollActionCompletedTelemetryEventSchema, i as createPostHogBrowserPageviewTracker, in as FailureModeSchema, it as NativeAuthorizationDeniedTelemetryEventSchema, j as MemberActivationFailedTelemetryEventSchema, jt as OrganizationCreationReadyTelemetryEventSchema, k as BootstrapFailedTelemetryEventSchema, kt as OrgInviteSentTelemetryEventSchema, l as sanitizePostHogBrowserEvent, ln as SDK_EXPECTED_OUTCOME_EVENT_NAME, lt as InvoiceIssuedTelemetryEventSchema, m as setTrackHandler, mn as CAPXUL_OPERATIONS, mt as UiInvoiceStepCompletedTelemetryEventSchema, n as RecordingTelemetryAdapter, nn as EXCEPTION_EVENT_NAME, nt as NativeAuthorizationAcceptedTelemetryEventSchema, o as initializePostHogBrowserAnalytics, on as MCP_EXPECTED_OUTCOME_EVENT_NAME, ot as NativeAuthorizationReviewedTelemetryEventSchema, p as getTrackHandler, pn as TELEMETRY_EVENT_NAMES, pt as UiApprovalSignInRequiredTelemetryEventSchema, qt as PaymentLifecycleTransitionTelemetryEventSchema, r as createCapxulBeforeSend, rn as EXPECTED_OUTCOME_EVENT_NAME, rt as NativeAuthorizationConnectedTelemetryEventSchema, s as productAppAnalytics, sn as PII, st as NativeAuthorizationStartedTelemetryEventSchema, t as InMemoryTelemetryBusAdapter, tn as ChainUpstreamSchema, tt as IdentityRefusedTelemetryEventSchema, u as maskCapturedNetworkRequest, un as SYNCABLE_CAPXUL_ENVS, ut as InvoiceRequestTransitionedTelemetryEventSchema, v as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, vt as ActivityAnnotationSavedTelemetryEventSchema, w as VerificationLivenessRequestedTelemetryEventSchema, wt as PermissionMirrorVerificationTelemetryEventSchema, x as TELEMETRY_EVENT_SCHEMAS, xt as MovementScanCheckpointTelemetryEventSchema, y as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, yt as UiActivityActionCompletedTelemetryEventSchema, z as ProvisioningSafeCreatedTelemetryEventSchema, zt as AccountBalanceReadTelemetryEventSchema } from "./src-CkM01SMk.mjs";
1
+ import { $ as AuthSignedOutTelemetryEventSchema, $t as CAPXUL_ENVS, A as BootstrapResolvedTelemetryEventSchema, At as OrganizationCreationFailedTelemetryEventSchema, B as CliCommandCompletedTelemetryEventSchema, Bt as DepositInitiatedTelemetryEventSchema, C as VerificationInformationRequestedTelemetryEventSchema, Ct as MovementScanWindowTelemetryEventSchema, D as VerificationSubmittedTelemetryEventSchema, Dt as OrgInviteExpiredTelemetryEventSchema, E as VerificationStartedTelemetryEventSchema, Et as OrgInviteAcceptedTelemetryEventSchema, F as OnboardingIntentSelectedTelemetryEventSchema, Ft as ChainUpstreamFallbackTelemetryEventSchema, G as CLI_COMMAND_NAMES, Gt as PaymentFailedTelemetryEventSchema, H as CliDiagnosticCompletedTelemetryEventSchema, Ht as FaucetConfirmedTelemetryEventSchema, I as OnboardingOrganizationSubmittedTelemetryEventSchema, It as OperationRetriedTelemetryEventSchema, J as AccessRecoveryCompletedTelemetryEventSchema, Jt as PaymentSettledTelemetryEventSchema, K as CLI_INVOCATION_KINDS, Kt as PaymentInitiatedTelemetryEventSchema, L as OnboardingProfileSubmittedTelemetryEventSchema, Lt as ReceiptPendingTelemetryEventSchema, M as MemberActivationReadyTelemetryEventSchema, Mt as OrganizationCreationStartedTelemetryEventSchema, N as MemberActivationStartedTelemetryEventSchema, Nt as UiContactActionCompletedTelemetryEventSchema, O as VerificationTermsAcceptedTelemetryEventSchema, Ot as OrgInviteProgressedTelemetryEventSchema, P as OnboardingDashboardReachedTelemetryEventSchema, Pt as BundlerErrorTelemetryEventSchema, Q as AuthOtpRequestedTelemetryEventSchema, Qt as TELEMETRY_JOURNEYS, R as ProvisioningSafeConfirmedTelemetryEventSchema, Rt as AccountBalanceFailedTelemetryEventSchema, S as VerificationApprovedTelemetryEventSchema, St as MovementScanIncidentTelemetryEventSchema, T as VerificationRejectedTelemetryEventSchema, Tt as ContactRelationshipChangedTelemetryEventSchema, U as CliFirstUsedTelemetryEventSchema, Ut as FaucetFailedTelemetryEventSchema, V as CliCommandStartedTelemetryEventSchema, Vt as DepositSettledTelemetryEventSchema, W as CLI_CAPABILITIES, Wt as FaucetRequestedTelemetryEventSchema, X as AuthOtpDeliveredTelemetryEventSchema, Xt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, Y as AuthFailedTelemetryEventSchema, Yt as PaymentVerificationRetryTelemetryEventSchema, Z as AuthOtpExpiredTelemetryEventSchema, Zt as JOURNEYS, _ as CONTRACT_FIRST_TELEMETRY_EVENTS, _t as UiTreasuryStepCompletedTelemetryEventSchema, a as initializeCapxulBrowserAnalytics, an as JourneyVariantProps, at as NativeAuthorizationFailedTelemetryEventSchema, b as RETIRED_TELEMETRY_EVENTS, bt as IndexerDriftCorrectedTelemetryEventSchema, c as utilityAppAnalytics, cn as ResponseHeadersSchema, ct as UiAccessStepCompletedTelemetryEventSchema, d as redactTelemetryEvent, dn as TELEMETRY_PRODUCERS, dt as PayrollGroupChangedTelemetryEventSchema, en as ChainAttemptSchema, et as AuthVerifiedTelemetryEventSchema, f as redactTelemetryProps, fn as stampTelemetryEnvelope, ft as PayrollRunTransitionedTelemetryEventSchema, g as BROWSER_GATED_TELEMETRY_EVENTS, gn as normalizeCapxulOperation, gt as UiReceiveStepCompletedTelemetryEventSchema, h as track, hn as isCapxulOperation, ht as UiPayrollActionCompletedTelemetryEventSchema, i as createPostHogBrowserPageviewTracker, in as FailureModeSchema, it as NativeAuthorizationDeniedTelemetryEventSchema, j as MemberActivationFailedTelemetryEventSchema, jt as OrganizationCreationReadyTelemetryEventSchema, k as BootstrapFailedTelemetryEventSchema, kt as OrgInviteSentTelemetryEventSchema, l as sanitizePostHogBrowserEvent, ln as SDK_EXPECTED_OUTCOME_EVENT_NAME, lt as InvoiceIssuedTelemetryEventSchema, m as setTrackHandler, mn as CAPXUL_OPERATIONS, mt as UiInvoiceStepCompletedTelemetryEventSchema, n as RecordingTelemetryAdapter, nn as EXCEPTION_EVENT_NAME, nt as NativeAuthorizationAcceptedTelemetryEventSchema, o as initializePostHogBrowserAnalytics, on as MCP_EXPECTED_OUTCOME_EVENT_NAME, ot as NativeAuthorizationReviewedTelemetryEventSchema, p as getTrackHandler, pn as TELEMETRY_EVENT_NAMES, pt as UiApprovalSignInRequiredTelemetryEventSchema, qt as PaymentLifecycleTransitionTelemetryEventSchema, r as createCapxulBeforeSend, rn as EXPECTED_OUTCOME_EVENT_NAME, rt as NativeAuthorizationConnectedTelemetryEventSchema, s as productAppAnalytics, sn as PII, st as NativeAuthorizationStartedTelemetryEventSchema, t as InMemoryTelemetryBusAdapter, tn as ChainUpstreamSchema, tt as IdentityRefusedTelemetryEventSchema, u as maskCapturedNetworkRequest, un as SYNCABLE_CAPXUL_ENVS, ut as InvoiceRequestTransitionedTelemetryEventSchema, v as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, vt as ActivityAnnotationSavedTelemetryEventSchema, w as VerificationLivenessRequestedTelemetryEventSchema, wt as PermissionMirrorVerificationTelemetryEventSchema, x as TELEMETRY_EVENT_SCHEMAS, xt as MovementScanCheckpointTelemetryEventSchema, y as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, yt as UiActivityActionCompletedTelemetryEventSchema, z as ProvisioningSafeCreatedTelemetryEventSchema, zt as AccountBalanceReadTelemetryEventSchema } from "./src-DYrEWRMT.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, JOURNEYS, JourneyVariantProps, MCP_EXPECTED_OUTCOME_EVENT_NAME, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteProgressedTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PayrollGroupChangedTelemetryEventSchema, PayrollRunTransitionedTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, RETIRED_TELEMETRY_EVENTS, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SDK_EXPECTED_OUTCOME_EVENT_NAME, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiApprovalSignInRequiredTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, VerificationApprovedTelemetryEventSchema, VerificationInformationRequestedTelemetryEventSchema, VerificationLivenessRequestedTelemetryEventSchema, VerificationRejectedTelemetryEventSchema, VerificationStartedTelemetryEventSchema, VerificationSubmittedTelemetryEventSchema, VerificationTermsAcceptedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
@@ -1005,6 +1005,8 @@ const Payment = Schema.Struct({
1005
1005
  notSent: Schema.optionalKey(Schema.Literal(true))
1006
1006
  })),
1007
1007
  requestedOutput: Schema.optionalKey(MoneySchema),
1008
+ /** What Bridge reports reached the recipient's bank. Present once delivery is done. */
1009
+ deliveredOutput: Schema.optionalKey(MoneySchema),
1008
1010
  outputExact: Schema.optionalKey(Schema.Boolean),
1009
1011
  recipientOnCapxul: Schema.optionalKey(Schema.Boolean),
1010
1012
  recipientWarning: Schema.optionalKey(Schema.Boolean),
@@ -1024,7 +1026,7 @@ const Payment = Schema.Struct({
1024
1026
  })),
1025
1027
  createdAt: EpochMsSchema$1,
1026
1028
  updatedAt: EpochMsSchema$1
1027
- }).pipe(Schema.check(Schema.makeFilter((payment) => payment.documents.every((document) => document.role !== "instruction" || document.kind === "memo" || paymentTypeForDocumentKind(document.kind) === payment.paymentType), { message: "document kind must map to paymentType" }), Schema.makeFilter((payment) => payment.recipient.kind === "party_account" ? payment.requestedOutput !== void 0 && payment.outputExact !== void 0 && payment.recipientOnCapxul !== void 0 && payment.recipientWarning !== void 0 && payment.links !== void 0 && payment.legs?.length === 2 && payment.legs[0]?.kind === "funding" && payment.legs[1]?.kind === "delivery" : payment.requestedOutput === void 0 && payment.outputExact === void 0 && payment.recipientOnCapxul === void 0 && payment.recipientWarning === void 0 && payment.links === void 0 && payment.legs === void 0, { message: "Bank payout Payments require their quote, output and two rail legs" })));
1029
+ }).pipe(Schema.check(Schema.makeFilter((payment) => payment.documents.every((document) => document.role !== "instruction" || document.kind === "memo" || paymentTypeForDocumentKind(document.kind) === payment.paymentType), { message: "document kind must map to paymentType" }), Schema.makeFilter((payment) => payment.recipient.kind === "party_account" ? payment.requestedOutput !== void 0 && payment.outputExact !== void 0 && payment.recipientOnCapxul !== void 0 && payment.recipientWarning !== void 0 && payment.links !== void 0 && payment.legs?.length === 2 && payment.legs[0]?.kind === "funding" && payment.legs[1]?.kind === "delivery" : payment.requestedOutput === void 0 && payment.deliveredOutput === void 0 && payment.outputExact === void 0 && payment.recipientOnCapxul === void 0 && payment.recipientWarning === void 0 && payment.links === void 0 && payment.legs === void 0, { message: "Bank payout Payments require their quote, output and two rail legs" })));
1028
1030
  //#endregion
1029
1031
  //#region ../protocol/src/payments/value-schema.ts
1030
1032
  const PaymentIdSchema = nonEmpty("paymentId").pipe(Schema.refine((value) => value.length > 0));
@@ -1607,6 +1609,8 @@ const PaymentQuoteSchema = Schema.Struct({
1607
1609
  requestedOutput: MoneySchema,
1608
1610
  outputExact: Schema.Boolean,
1609
1611
  funding: AssetAmountSchema,
1612
+ /** The part of `funding` that covers rate movement before the transfer is funded. */
1613
+ slippage: Schema.optionalKey(AssetAmountSchema),
1610
1614
  expiresAt: Schema.Finite,
1611
1615
  recipient: Schema.Struct({
1612
1616
  label: Schema.String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "4.20.0-beta.37",
3
+ "version": "4.20.0-beta.38",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",