@capxul/sdk 4.20.0-beta.33 → 4.20.0-beta.34
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/{access-l_ci38yt.mjs → access-DUmQPXVl.mjs} +2 -2
- package/dist/{index-VeQh7FNW.d.mts → index-DtFIxdqJ.d.mts} +96 -96
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{organizations-UEg_C-_v.mjs → organizations-BhSPqVR5.mjs} +1 -1
- package/dist/{permission-approvals-vDZJpy8H.mjs → permission-approvals-tXIk7kNA.mjs} +2 -2
- package/dist/{production-BzEOaP6l.mjs → production-C7WbsKZl.mjs} +2 -2
- package/dist/testing/index.d.mts +1 -1
- package/dist/testing/index.mjs +2 -2
- package/package.json +2 -2
|
@@ -13703,7 +13703,7 @@ function mapAccountLifecycle(input) {
|
|
|
13703
13703
|
}
|
|
13704
13704
|
//#endregion
|
|
13705
13705
|
//#region package.json
|
|
13706
|
-
var version = "4.20.0-beta.
|
|
13706
|
+
var version = "4.20.0-beta.34";
|
|
13707
13707
|
//#endregion
|
|
13708
13708
|
//#region src/observability/telemetry/exception-projection.ts
|
|
13709
13709
|
/** Fixed fallback for failures that have no safe message. */
|
|
@@ -21506,7 +21506,7 @@ function makeApprovalsMethods(deps) {
|
|
|
21506
21506
|
const signal = options?.signal;
|
|
21507
21507
|
if (isCommandApproval(input)) return openApproval(signal, (signerAddress) => prepareVerifiedCommand(deps, input, signerAddress, signal));
|
|
21508
21508
|
if (isPermissionChange(input)) return openApproval(signal, async (signerAddress) => {
|
|
21509
|
-
const { prepareVerifiedPermissionChange } = await import("./permission-approvals-
|
|
21509
|
+
const { prepareVerifiedPermissionChange } = await import("./permission-approvals-tXIk7kNA.mjs");
|
|
21510
21510
|
return prepareVerifiedPermissionChange(deps, input, signerAddress, signal);
|
|
21511
21511
|
});
|
|
21512
21512
|
if ("organizationId" in input) return checkedBankApproval(deps, input, await openApproval(signal, (signerAddress) => prepareVerifiedOrganizationPayment(deps, input, signerAddress, signal)));
|
|
@@ -6848,14 +6848,14 @@ declare const commands$1: {
|
|
|
6848
6848
|
readonly items: Schema.$Array<Schema.refine<{
|
|
6849
6849
|
readonly operation: "send";
|
|
6850
6850
|
readonly recipient: {
|
|
6851
|
-
readonly kind: "party_account";
|
|
6852
|
-
readonly partyAccountId: string;
|
|
6853
|
-
} | {
|
|
6854
6851
|
readonly kind: "account";
|
|
6855
6852
|
readonly accountId: string;
|
|
6856
6853
|
} | {
|
|
6857
6854
|
readonly kind: "organization";
|
|
6858
6855
|
readonly orgId: string;
|
|
6856
|
+
} | {
|
|
6857
|
+
readonly kind: "party_account";
|
|
6858
|
+
readonly partyAccountId: string;
|
|
6859
6859
|
} | {
|
|
6860
6860
|
readonly kind: "destination";
|
|
6861
6861
|
readonly destinationId: string;
|
|
@@ -6921,14 +6921,14 @@ declare const commands$1: {
|
|
|
6921
6921
|
} | {
|
|
6922
6922
|
readonly operation: "create_commitment";
|
|
6923
6923
|
readonly recipient: {
|
|
6924
|
-
readonly kind: "party_account";
|
|
6925
|
-
readonly partyAccountId: string;
|
|
6926
|
-
} | {
|
|
6927
6924
|
readonly kind: "account";
|
|
6928
6925
|
readonly accountId: string;
|
|
6929
6926
|
} | {
|
|
6930
6927
|
readonly kind: "organization";
|
|
6931
6928
|
readonly orgId: string;
|
|
6929
|
+
} | {
|
|
6930
|
+
readonly kind: "party_account";
|
|
6931
|
+
readonly partyAccountId: string;
|
|
6932
6932
|
} | {
|
|
6933
6933
|
readonly kind: "destination";
|
|
6934
6934
|
readonly destinationId: string;
|
|
@@ -7606,14 +7606,14 @@ declare const commands$1: {
|
|
|
7606
7606
|
readonly items: readonly ({
|
|
7607
7607
|
readonly operation: "send";
|
|
7608
7608
|
readonly recipient: {
|
|
7609
|
-
readonly kind: "party_account";
|
|
7610
|
-
readonly partyAccountId: string;
|
|
7611
|
-
} | {
|
|
7612
7609
|
readonly kind: "account";
|
|
7613
7610
|
readonly accountId: string;
|
|
7614
7611
|
} | {
|
|
7615
7612
|
readonly kind: "organization";
|
|
7616
7613
|
readonly orgId: string;
|
|
7614
|
+
} | {
|
|
7615
|
+
readonly kind: "party_account";
|
|
7616
|
+
readonly partyAccountId: string;
|
|
7617
7617
|
} | {
|
|
7618
7618
|
readonly kind: "destination";
|
|
7619
7619
|
readonly destinationId: string;
|
|
@@ -7679,14 +7679,14 @@ declare const commands$1: {
|
|
|
7679
7679
|
} | {
|
|
7680
7680
|
readonly operation: "create_commitment";
|
|
7681
7681
|
readonly recipient: {
|
|
7682
|
-
readonly kind: "party_account";
|
|
7683
|
-
readonly partyAccountId: string;
|
|
7684
|
-
} | {
|
|
7685
7682
|
readonly kind: "account";
|
|
7686
7683
|
readonly accountId: string;
|
|
7687
7684
|
} | {
|
|
7688
7685
|
readonly kind: "organization";
|
|
7689
7686
|
readonly orgId: string;
|
|
7687
|
+
} | {
|
|
7688
|
+
readonly kind: "party_account";
|
|
7689
|
+
readonly partyAccountId: string;
|
|
7690
7690
|
} | {
|
|
7691
7691
|
readonly kind: "destination";
|
|
7692
7692
|
readonly destinationId: string;
|
|
@@ -7774,14 +7774,14 @@ declare const commands$1: {
|
|
|
7774
7774
|
readonly items: Schema.$Array<Schema.refine<{
|
|
7775
7775
|
readonly operation: "send";
|
|
7776
7776
|
readonly recipient: {
|
|
7777
|
-
readonly kind: "party_account";
|
|
7778
|
-
readonly partyAccountId: string;
|
|
7779
|
-
} | {
|
|
7780
7777
|
readonly kind: "account";
|
|
7781
7778
|
readonly accountId: string;
|
|
7782
7779
|
} | {
|
|
7783
7780
|
readonly kind: "organization";
|
|
7784
7781
|
readonly orgId: string;
|
|
7782
|
+
} | {
|
|
7783
|
+
readonly kind: "party_account";
|
|
7784
|
+
readonly partyAccountId: string;
|
|
7785
7785
|
} | {
|
|
7786
7786
|
readonly kind: "destination";
|
|
7787
7787
|
readonly destinationId: string;
|
|
@@ -7847,14 +7847,14 @@ declare const commands$1: {
|
|
|
7847
7847
|
} | {
|
|
7848
7848
|
readonly operation: "create_commitment";
|
|
7849
7849
|
readonly recipient: {
|
|
7850
|
-
readonly kind: "party_account";
|
|
7851
|
-
readonly partyAccountId: string;
|
|
7852
|
-
} | {
|
|
7853
7850
|
readonly kind: "account";
|
|
7854
7851
|
readonly accountId: string;
|
|
7855
7852
|
} | {
|
|
7856
7853
|
readonly kind: "organization";
|
|
7857
7854
|
readonly orgId: string;
|
|
7855
|
+
} | {
|
|
7856
|
+
readonly kind: "party_account";
|
|
7857
|
+
readonly partyAccountId: string;
|
|
7858
7858
|
} | {
|
|
7859
7859
|
readonly kind: "destination";
|
|
7860
7860
|
readonly destinationId: string;
|
|
@@ -8521,14 +8521,14 @@ declare const commands$1: {
|
|
|
8521
8521
|
readonly items: Schema.$Array<Schema.refine<{
|
|
8522
8522
|
readonly operation: "send";
|
|
8523
8523
|
readonly recipient: {
|
|
8524
|
-
readonly kind: "party_account";
|
|
8525
|
-
readonly partyAccountId: string;
|
|
8526
|
-
} | {
|
|
8527
8524
|
readonly kind: "account";
|
|
8528
8525
|
readonly accountId: string;
|
|
8529
8526
|
} | {
|
|
8530
8527
|
readonly kind: "organization";
|
|
8531
8528
|
readonly orgId: string;
|
|
8529
|
+
} | {
|
|
8530
|
+
readonly kind: "party_account";
|
|
8531
|
+
readonly partyAccountId: string;
|
|
8532
8532
|
} | {
|
|
8533
8533
|
readonly kind: "destination";
|
|
8534
8534
|
readonly destinationId: string;
|
|
@@ -8594,14 +8594,14 @@ declare const commands$1: {
|
|
|
8594
8594
|
} | {
|
|
8595
8595
|
readonly operation: "create_commitment";
|
|
8596
8596
|
readonly recipient: {
|
|
8597
|
-
readonly kind: "party_account";
|
|
8598
|
-
readonly partyAccountId: string;
|
|
8599
|
-
} | {
|
|
8600
8597
|
readonly kind: "account";
|
|
8601
8598
|
readonly accountId: string;
|
|
8602
8599
|
} | {
|
|
8603
8600
|
readonly kind: "organization";
|
|
8604
8601
|
readonly orgId: string;
|
|
8602
|
+
} | {
|
|
8603
|
+
readonly kind: "party_account";
|
|
8604
|
+
readonly partyAccountId: string;
|
|
8605
8605
|
} | {
|
|
8606
8606
|
readonly kind: "destination";
|
|
8607
8607
|
readonly destinationId: string;
|
|
@@ -9279,14 +9279,14 @@ declare const commands$1: {
|
|
|
9279
9279
|
readonly items: readonly ({
|
|
9280
9280
|
readonly operation: "send";
|
|
9281
9281
|
readonly recipient: {
|
|
9282
|
-
readonly kind: "party_account";
|
|
9283
|
-
readonly partyAccountId: string;
|
|
9284
|
-
} | {
|
|
9285
9282
|
readonly kind: "account";
|
|
9286
9283
|
readonly accountId: string;
|
|
9287
9284
|
} | {
|
|
9288
9285
|
readonly kind: "organization";
|
|
9289
9286
|
readonly orgId: string;
|
|
9287
|
+
} | {
|
|
9288
|
+
readonly kind: "party_account";
|
|
9289
|
+
readonly partyAccountId: string;
|
|
9290
9290
|
} | {
|
|
9291
9291
|
readonly kind: "destination";
|
|
9292
9292
|
readonly destinationId: string;
|
|
@@ -9352,14 +9352,14 @@ declare const commands$1: {
|
|
|
9352
9352
|
} | {
|
|
9353
9353
|
readonly operation: "create_commitment";
|
|
9354
9354
|
readonly recipient: {
|
|
9355
|
-
readonly kind: "party_account";
|
|
9356
|
-
readonly partyAccountId: string;
|
|
9357
|
-
} | {
|
|
9358
9355
|
readonly kind: "account";
|
|
9359
9356
|
readonly accountId: string;
|
|
9360
9357
|
} | {
|
|
9361
9358
|
readonly kind: "organization";
|
|
9362
9359
|
readonly orgId: string;
|
|
9360
|
+
} | {
|
|
9361
|
+
readonly kind: "party_account";
|
|
9362
|
+
readonly partyAccountId: string;
|
|
9363
9363
|
} | {
|
|
9364
9364
|
readonly kind: "destination";
|
|
9365
9365
|
readonly destinationId: string;
|
|
@@ -9447,14 +9447,14 @@ declare const commands$1: {
|
|
|
9447
9447
|
readonly items: Schema.$Array<Schema.refine<{
|
|
9448
9448
|
readonly operation: "send";
|
|
9449
9449
|
readonly recipient: {
|
|
9450
|
-
readonly kind: "party_account";
|
|
9451
|
-
readonly partyAccountId: string;
|
|
9452
|
-
} | {
|
|
9453
9450
|
readonly kind: "account";
|
|
9454
9451
|
readonly accountId: string;
|
|
9455
9452
|
} | {
|
|
9456
9453
|
readonly kind: "organization";
|
|
9457
9454
|
readonly orgId: string;
|
|
9455
|
+
} | {
|
|
9456
|
+
readonly kind: "party_account";
|
|
9457
|
+
readonly partyAccountId: string;
|
|
9458
9458
|
} | {
|
|
9459
9459
|
readonly kind: "destination";
|
|
9460
9460
|
readonly destinationId: string;
|
|
@@ -9520,14 +9520,14 @@ declare const commands$1: {
|
|
|
9520
9520
|
} | {
|
|
9521
9521
|
readonly operation: "create_commitment";
|
|
9522
9522
|
readonly recipient: {
|
|
9523
|
-
readonly kind: "party_account";
|
|
9524
|
-
readonly partyAccountId: string;
|
|
9525
|
-
} | {
|
|
9526
9523
|
readonly kind: "account";
|
|
9527
9524
|
readonly accountId: string;
|
|
9528
9525
|
} | {
|
|
9529
9526
|
readonly kind: "organization";
|
|
9530
9527
|
readonly orgId: string;
|
|
9528
|
+
} | {
|
|
9529
|
+
readonly kind: "party_account";
|
|
9530
|
+
readonly partyAccountId: string;
|
|
9531
9531
|
} | {
|
|
9532
9532
|
readonly kind: "destination";
|
|
9533
9533
|
readonly destinationId: string;
|
|
@@ -10410,14 +10410,14 @@ declare const lifecycles: {
|
|
|
10410
10410
|
readonly items: Schema.$Array<Schema.refine<{
|
|
10411
10411
|
readonly operation: "send";
|
|
10412
10412
|
readonly recipient: {
|
|
10413
|
-
readonly kind: "party_account";
|
|
10414
|
-
readonly partyAccountId: string;
|
|
10415
|
-
} | {
|
|
10416
10413
|
readonly kind: "account";
|
|
10417
10414
|
readonly accountId: string;
|
|
10418
10415
|
} | {
|
|
10419
10416
|
readonly kind: "organization";
|
|
10420
10417
|
readonly orgId: string;
|
|
10418
|
+
} | {
|
|
10419
|
+
readonly kind: "party_account";
|
|
10420
|
+
readonly partyAccountId: string;
|
|
10421
10421
|
} | {
|
|
10422
10422
|
readonly kind: "destination";
|
|
10423
10423
|
readonly destinationId: string;
|
|
@@ -10483,14 +10483,14 @@ declare const lifecycles: {
|
|
|
10483
10483
|
} | {
|
|
10484
10484
|
readonly operation: "create_commitment";
|
|
10485
10485
|
readonly recipient: {
|
|
10486
|
-
readonly kind: "party_account";
|
|
10487
|
-
readonly partyAccountId: string;
|
|
10488
|
-
} | {
|
|
10489
10486
|
readonly kind: "account";
|
|
10490
10487
|
readonly accountId: string;
|
|
10491
10488
|
} | {
|
|
10492
10489
|
readonly kind: "organization";
|
|
10493
10490
|
readonly orgId: string;
|
|
10491
|
+
} | {
|
|
10492
|
+
readonly kind: "party_account";
|
|
10493
|
+
readonly partyAccountId: string;
|
|
10494
10494
|
} | {
|
|
10495
10495
|
readonly kind: "destination";
|
|
10496
10496
|
readonly destinationId: string;
|
|
@@ -11168,14 +11168,14 @@ declare const lifecycles: {
|
|
|
11168
11168
|
readonly items: readonly ({
|
|
11169
11169
|
readonly operation: "send";
|
|
11170
11170
|
readonly recipient: {
|
|
11171
|
-
readonly kind: "party_account";
|
|
11172
|
-
readonly partyAccountId: string;
|
|
11173
|
-
} | {
|
|
11174
11171
|
readonly kind: "account";
|
|
11175
11172
|
readonly accountId: string;
|
|
11176
11173
|
} | {
|
|
11177
11174
|
readonly kind: "organization";
|
|
11178
11175
|
readonly orgId: string;
|
|
11176
|
+
} | {
|
|
11177
|
+
readonly kind: "party_account";
|
|
11178
|
+
readonly partyAccountId: string;
|
|
11179
11179
|
} | {
|
|
11180
11180
|
readonly kind: "destination";
|
|
11181
11181
|
readonly destinationId: string;
|
|
@@ -11241,14 +11241,14 @@ declare const lifecycles: {
|
|
|
11241
11241
|
} | {
|
|
11242
11242
|
readonly operation: "create_commitment";
|
|
11243
11243
|
readonly recipient: {
|
|
11244
|
-
readonly kind: "party_account";
|
|
11245
|
-
readonly partyAccountId: string;
|
|
11246
|
-
} | {
|
|
11247
11244
|
readonly kind: "account";
|
|
11248
11245
|
readonly accountId: string;
|
|
11249
11246
|
} | {
|
|
11250
11247
|
readonly kind: "organization";
|
|
11251
11248
|
readonly orgId: string;
|
|
11249
|
+
} | {
|
|
11250
|
+
readonly kind: "party_account";
|
|
11251
|
+
readonly partyAccountId: string;
|
|
11252
11252
|
} | {
|
|
11253
11253
|
readonly kind: "destination";
|
|
11254
11254
|
readonly destinationId: string;
|
|
@@ -11336,14 +11336,14 @@ declare const lifecycles: {
|
|
|
11336
11336
|
readonly items: Schema.$Array<Schema.refine<{
|
|
11337
11337
|
readonly operation: "send";
|
|
11338
11338
|
readonly recipient: {
|
|
11339
|
-
readonly kind: "party_account";
|
|
11340
|
-
readonly partyAccountId: string;
|
|
11341
|
-
} | {
|
|
11342
11339
|
readonly kind: "account";
|
|
11343
11340
|
readonly accountId: string;
|
|
11344
11341
|
} | {
|
|
11345
11342
|
readonly kind: "organization";
|
|
11346
11343
|
readonly orgId: string;
|
|
11344
|
+
} | {
|
|
11345
|
+
readonly kind: "party_account";
|
|
11346
|
+
readonly partyAccountId: string;
|
|
11347
11347
|
} | {
|
|
11348
11348
|
readonly kind: "destination";
|
|
11349
11349
|
readonly destinationId: string;
|
|
@@ -11409,14 +11409,14 @@ declare const lifecycles: {
|
|
|
11409
11409
|
} | {
|
|
11410
11410
|
readonly operation: "create_commitment";
|
|
11411
11411
|
readonly recipient: {
|
|
11412
|
-
readonly kind: "party_account";
|
|
11413
|
-
readonly partyAccountId: string;
|
|
11414
|
-
} | {
|
|
11415
11412
|
readonly kind: "account";
|
|
11416
11413
|
readonly accountId: string;
|
|
11417
11414
|
} | {
|
|
11418
11415
|
readonly kind: "organization";
|
|
11419
11416
|
readonly orgId: string;
|
|
11417
|
+
} | {
|
|
11418
|
+
readonly kind: "party_account";
|
|
11419
|
+
readonly partyAccountId: string;
|
|
11420
11420
|
} | {
|
|
11421
11421
|
readonly kind: "destination";
|
|
11422
11422
|
readonly destinationId: string;
|
|
@@ -12064,14 +12064,14 @@ declare const lifecycles: {
|
|
|
12064
12064
|
readonly items: Schema.$Array<Schema.refine<{
|
|
12065
12065
|
readonly operation: "send";
|
|
12066
12066
|
readonly recipient: {
|
|
12067
|
-
readonly kind: "party_account";
|
|
12068
|
-
readonly partyAccountId: string;
|
|
12069
|
-
} | {
|
|
12070
12067
|
readonly kind: "account";
|
|
12071
12068
|
readonly accountId: string;
|
|
12072
12069
|
} | {
|
|
12073
12070
|
readonly kind: "organization";
|
|
12074
12071
|
readonly orgId: string;
|
|
12072
|
+
} | {
|
|
12073
|
+
readonly kind: "party_account";
|
|
12074
|
+
readonly partyAccountId: string;
|
|
12075
12075
|
} | {
|
|
12076
12076
|
readonly kind: "destination";
|
|
12077
12077
|
readonly destinationId: string;
|
|
@@ -12137,14 +12137,14 @@ declare const lifecycles: {
|
|
|
12137
12137
|
} | {
|
|
12138
12138
|
readonly operation: "create_commitment";
|
|
12139
12139
|
readonly recipient: {
|
|
12140
|
-
readonly kind: "party_account";
|
|
12141
|
-
readonly partyAccountId: string;
|
|
12142
|
-
} | {
|
|
12143
12140
|
readonly kind: "account";
|
|
12144
12141
|
readonly accountId: string;
|
|
12145
12142
|
} | {
|
|
12146
12143
|
readonly kind: "organization";
|
|
12147
12144
|
readonly orgId: string;
|
|
12145
|
+
} | {
|
|
12146
|
+
readonly kind: "party_account";
|
|
12147
|
+
readonly partyAccountId: string;
|
|
12148
12148
|
} | {
|
|
12149
12149
|
readonly kind: "destination";
|
|
12150
12150
|
readonly destinationId: string;
|
|
@@ -12822,14 +12822,14 @@ declare const lifecycles: {
|
|
|
12822
12822
|
readonly items: readonly ({
|
|
12823
12823
|
readonly operation: "send";
|
|
12824
12824
|
readonly recipient: {
|
|
12825
|
-
readonly kind: "party_account";
|
|
12826
|
-
readonly partyAccountId: string;
|
|
12827
|
-
} | {
|
|
12828
12825
|
readonly kind: "account";
|
|
12829
12826
|
readonly accountId: string;
|
|
12830
12827
|
} | {
|
|
12831
12828
|
readonly kind: "organization";
|
|
12832
12829
|
readonly orgId: string;
|
|
12830
|
+
} | {
|
|
12831
|
+
readonly kind: "party_account";
|
|
12832
|
+
readonly partyAccountId: string;
|
|
12833
12833
|
} | {
|
|
12834
12834
|
readonly kind: "destination";
|
|
12835
12835
|
readonly destinationId: string;
|
|
@@ -12895,14 +12895,14 @@ declare const lifecycles: {
|
|
|
12895
12895
|
} | {
|
|
12896
12896
|
readonly operation: "create_commitment";
|
|
12897
12897
|
readonly recipient: {
|
|
12898
|
-
readonly kind: "party_account";
|
|
12899
|
-
readonly partyAccountId: string;
|
|
12900
|
-
} | {
|
|
12901
12898
|
readonly kind: "account";
|
|
12902
12899
|
readonly accountId: string;
|
|
12903
12900
|
} | {
|
|
12904
12901
|
readonly kind: "organization";
|
|
12905
12902
|
readonly orgId: string;
|
|
12903
|
+
} | {
|
|
12904
|
+
readonly kind: "party_account";
|
|
12905
|
+
readonly partyAccountId: string;
|
|
12906
12906
|
} | {
|
|
12907
12907
|
readonly kind: "destination";
|
|
12908
12908
|
readonly destinationId: string;
|
|
@@ -12990,14 +12990,14 @@ declare const lifecycles: {
|
|
|
12990
12990
|
readonly items: Schema.$Array<Schema.refine<{
|
|
12991
12991
|
readonly operation: "send";
|
|
12992
12992
|
readonly recipient: {
|
|
12993
|
-
readonly kind: "party_account";
|
|
12994
|
-
readonly partyAccountId: string;
|
|
12995
|
-
} | {
|
|
12996
12993
|
readonly kind: "account";
|
|
12997
12994
|
readonly accountId: string;
|
|
12998
12995
|
} | {
|
|
12999
12996
|
readonly kind: "organization";
|
|
13000
12997
|
readonly orgId: string;
|
|
12998
|
+
} | {
|
|
12999
|
+
readonly kind: "party_account";
|
|
13000
|
+
readonly partyAccountId: string;
|
|
13001
13001
|
} | {
|
|
13002
13002
|
readonly kind: "destination";
|
|
13003
13003
|
readonly destinationId: string;
|
|
@@ -13063,14 +13063,14 @@ declare const lifecycles: {
|
|
|
13063
13063
|
} | {
|
|
13064
13064
|
readonly operation: "create_commitment";
|
|
13065
13065
|
readonly recipient: {
|
|
13066
|
-
readonly kind: "party_account";
|
|
13067
|
-
readonly partyAccountId: string;
|
|
13068
|
-
} | {
|
|
13069
13066
|
readonly kind: "account";
|
|
13070
13067
|
readonly accountId: string;
|
|
13071
13068
|
} | {
|
|
13072
13069
|
readonly kind: "organization";
|
|
13073
13070
|
readonly orgId: string;
|
|
13071
|
+
} | {
|
|
13072
|
+
readonly kind: "party_account";
|
|
13073
|
+
readonly partyAccountId: string;
|
|
13074
13074
|
} | {
|
|
13075
13075
|
readonly kind: "destination";
|
|
13076
13076
|
readonly destinationId: string;
|
|
@@ -14069,10 +14069,6 @@ declare const runs: {
|
|
|
14069
14069
|
readonly quoteId?: string | undefined;
|
|
14070
14070
|
readonly purposeKind: PaymentPurposeKind;
|
|
14071
14071
|
readonly document?: {
|
|
14072
|
-
readonly kind: "memo";
|
|
14073
|
-
readonly reference: string;
|
|
14074
|
-
readonly note: string;
|
|
14075
|
-
} | {
|
|
14076
14072
|
readonly kind: "invoice";
|
|
14077
14073
|
readonly invoiceNumber: string;
|
|
14078
14074
|
readonly payerRef: string;
|
|
@@ -14085,6 +14081,10 @@ declare const runs: {
|
|
|
14085
14081
|
readonly quantity: number;
|
|
14086
14082
|
readonly unitMinor: string;
|
|
14087
14083
|
}[];
|
|
14084
|
+
} | {
|
|
14085
|
+
readonly kind: "memo";
|
|
14086
|
+
readonly reference: string;
|
|
14087
|
+
readonly note: string;
|
|
14088
14088
|
} | {
|
|
14089
14089
|
readonly kind: "envelope";
|
|
14090
14090
|
readonly bytesBase64: string;
|
|
@@ -14151,10 +14151,6 @@ declare const runs: {
|
|
|
14151
14151
|
};
|
|
14152
14152
|
readonly purposeKind: PaymentPurposeKind;
|
|
14153
14153
|
readonly document?: {
|
|
14154
|
-
readonly kind: "memo";
|
|
14155
|
-
readonly reference: string;
|
|
14156
|
-
readonly note: string;
|
|
14157
|
-
} | {
|
|
14158
14154
|
readonly kind: "invoice";
|
|
14159
14155
|
readonly invoiceNumber: string;
|
|
14160
14156
|
readonly payerRef: string;
|
|
@@ -14167,6 +14163,10 @@ declare const runs: {
|
|
|
14167
14163
|
readonly quantity: number;
|
|
14168
14164
|
readonly unitMinor: string;
|
|
14169
14165
|
}[];
|
|
14166
|
+
} | {
|
|
14167
|
+
readonly kind: "memo";
|
|
14168
|
+
readonly reference: string;
|
|
14169
|
+
readonly note: string;
|
|
14170
14170
|
} | {
|
|
14171
14171
|
readonly kind: "envelope";
|
|
14172
14172
|
readonly bytesBase64: string;
|
|
@@ -14827,10 +14827,6 @@ declare const runs: {
|
|
|
14827
14827
|
readonly quoteId?: string | undefined;
|
|
14828
14828
|
readonly purposeKind: PaymentPurposeKind;
|
|
14829
14829
|
readonly document?: {
|
|
14830
|
-
readonly kind: "memo";
|
|
14831
|
-
readonly reference: string;
|
|
14832
|
-
readonly note: string;
|
|
14833
|
-
} | {
|
|
14834
14830
|
readonly kind: "invoice";
|
|
14835
14831
|
readonly invoiceNumber: string;
|
|
14836
14832
|
readonly payerRef: string;
|
|
@@ -14843,6 +14839,10 @@ declare const runs: {
|
|
|
14843
14839
|
readonly quantity: number;
|
|
14844
14840
|
readonly unitMinor: string;
|
|
14845
14841
|
}[];
|
|
14842
|
+
} | {
|
|
14843
|
+
readonly kind: "memo";
|
|
14844
|
+
readonly reference: string;
|
|
14845
|
+
readonly note: string;
|
|
14846
14846
|
} | {
|
|
14847
14847
|
readonly kind: "envelope";
|
|
14848
14848
|
readonly bytesBase64: string;
|
|
@@ -14909,10 +14909,6 @@ declare const runs: {
|
|
|
14909
14909
|
};
|
|
14910
14910
|
readonly purposeKind: PaymentPurposeKind;
|
|
14911
14911
|
readonly document?: {
|
|
14912
|
-
readonly kind: "memo";
|
|
14913
|
-
readonly reference: string;
|
|
14914
|
-
readonly note: string;
|
|
14915
|
-
} | {
|
|
14916
14912
|
readonly kind: "invoice";
|
|
14917
14913
|
readonly invoiceNumber: string;
|
|
14918
14914
|
readonly payerRef: string;
|
|
@@ -14925,6 +14921,10 @@ declare const runs: {
|
|
|
14925
14921
|
readonly quantity: number;
|
|
14926
14922
|
readonly unitMinor: string;
|
|
14927
14923
|
}[];
|
|
14924
|
+
} | {
|
|
14925
|
+
readonly kind: "memo";
|
|
14926
|
+
readonly reference: string;
|
|
14927
|
+
readonly note: string;
|
|
14928
14928
|
} | {
|
|
14929
14929
|
readonly kind: "envelope";
|
|
14930
14930
|
readonly bytesBase64: string;
|
|
@@ -14995,10 +14995,6 @@ declare const runs: {
|
|
|
14995
14995
|
readonly quoteId?: string | undefined;
|
|
14996
14996
|
readonly purposeKind: PaymentPurposeKind;
|
|
14997
14997
|
readonly document?: {
|
|
14998
|
-
readonly kind: "memo";
|
|
14999
|
-
readonly reference: string;
|
|
15000
|
-
readonly note: string;
|
|
15001
|
-
} | {
|
|
15002
14998
|
readonly kind: "invoice";
|
|
15003
14999
|
readonly invoiceNumber: string;
|
|
15004
15000
|
readonly payerRef: string;
|
|
@@ -15011,6 +15007,10 @@ declare const runs: {
|
|
|
15011
15007
|
readonly quantity: number;
|
|
15012
15008
|
readonly unitMinor: string;
|
|
15013
15009
|
}[];
|
|
15010
|
+
} | {
|
|
15011
|
+
readonly kind: "memo";
|
|
15012
|
+
readonly reference: string;
|
|
15013
|
+
readonly note: string;
|
|
15014
15014
|
} | {
|
|
15015
15015
|
readonly kind: "envelope";
|
|
15016
15016
|
readonly bytesBase64: string;
|
|
@@ -15077,10 +15077,6 @@ declare const runs: {
|
|
|
15077
15077
|
};
|
|
15078
15078
|
readonly purposeKind: PaymentPurposeKind;
|
|
15079
15079
|
readonly document?: {
|
|
15080
|
-
readonly kind: "memo";
|
|
15081
|
-
readonly reference: string;
|
|
15082
|
-
readonly note: string;
|
|
15083
|
-
} | {
|
|
15084
15080
|
readonly kind: "invoice";
|
|
15085
15081
|
readonly invoiceNumber: string;
|
|
15086
15082
|
readonly payerRef: string;
|
|
@@ -15093,6 +15089,10 @@ declare const runs: {
|
|
|
15093
15089
|
readonly quantity: number;
|
|
15094
15090
|
readonly unitMinor: string;
|
|
15095
15091
|
}[];
|
|
15092
|
+
} | {
|
|
15093
|
+
readonly kind: "memo";
|
|
15094
|
+
readonly reference: string;
|
|
15095
|
+
readonly note: string;
|
|
15096
15096
|
} | {
|
|
15097
15097
|
readonly kind: "envelope";
|
|
15098
15098
|
readonly bytesBase64: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as AuthMethods, $a as RequestPaymentConfirmation, $i as PaymentDocumentsMethods, $n as PaymentPrepared, $o as ORGANIZATION_SETUP_REASONS, $r as PayrollRunApprovalInput, $t as AddressBookMethods, A as formatAssetAmount, Aa as localPrivateKeyAccountProvider, Ai as MeProfile, An as VerificationInput, Ar as ApprovalsMethods, As as Money, At as Budget, B as IdentityProfileDetails, Ba as PreparedOfferCheckoutExecution, Bi as ActivityKind, Bn as TargetReference, Br as PermissionMethods, Bs as FAILURE_MODES, Bt as DestinationAddInput, C as OpenfortBrowserSigner, Ca as SignerStatusStore, Ci as AccountLifecycle, Cn as BankDetailsOverview, Co as OfferedAuthority, Cr as valueActivitySummary, Cs as AuthUserId, Ct as InvitationSubscriptionOptions, D as CAPXUL_PAYMENTS_V2_ADDRESS, Da as AccountRequirement, Di as DepositInstructions, Dn as BankAccountField, Do as CurrentPolicy, Dr as ApprovalInput, Ds as Errors, Dt as InvitePreviewInput, E as createOpenfortBrowserSigner, Ea as AccountProviderSource, Ei as AccountMethods, En as BankAccountDetails, Eo as BudgetIntent, Er as TOKENS, Es as toAddress, Et as InvitePrepared, F as MoneyParseErrorReason, Fa as FixedOfferDraft, Fi as ActivityAnnotation, Fn as VerificationQuestion, Fo as CapxulOperation, Fr as BudgetLeft, Fs as isCapxulError, Ft as BankingMethods, G as SystemHealth, Ga as PrepareInvoiceCheckoutExecutionInput, Gi as ActivityReference, Gn as OrganizationPaymentRetryPreview, Gr as PermissionReplaceInput, Gt as DestinationRemoveInput, H as IdentityRuntimeSendResult, Ha as InvoiceCheckoutReconciliation, Hi as ActivityMethods, Hn as OrganizationPaymentBatchInput, Ho as ObservationContext, Hr as PermissionPolicyChange, Hs as CAPXUL_ERROR_CODES, Ht as DestinationListInput, I as isMoneyParseError, Ia as FixedOfferDraftSchema, Ii as ActivityAnnotationInput, In as VerificationStatus, Io as NormalizedCapxulOperation, Ir as PermissionAssignInput, Is as CHAIN_UPSTREAMS, It as BankDepositCandidatesOptions, J as destination, Ja as PreparedRequestCheckoutExecution, Ji as ActivitySummaryTotal, Jn as Payment, Jr as PermissionCommandView, Jt as ActorProfileMethods, K as SystemMethods, Ka as PrepareRequestCheckoutExecutionInput, Ki as ActivitySummary, Kn as OrganizationPaymentsMethods, Kr as PermissionRevokeInput, Kt as DestinationsMethods, L as parseMoney, La as OfferCheckout, Li as ActivityDetail, Ln as RecipientResolution, Lo as isCapxulOperation, Lr as PermissionAssignmentEffect, Ls as ChainCause, Lt as BankDepositMethods, M as requireAsset, Ma as CheckoutReconciliation, Mi as inboxPhase, Mn as VerificationOperations, Mr as PermissionApprovalInput, Ms as toCurrencyCode, Mt as OrgMeMethod, N as toRaw, Na as CheckoutState, Ni as paymentPhase, Nn as VerificationAnswers, No as TelemetryPort, Nr as PermissionWrite, Ns as CapxulError, Nt as OrgMeOptions, O as formatMoney, Oa as Eip1193Provider, Oi as Home, On as BankAccountFilter, Oo as Permission, Or as ApprovalOutcome, Os as AssetAmount, Ot as OrgInvitations, P as MoneyParseError, Pa as FixedOffer, Pi as requestPhase, Pn as VerificationPersonInput, Po as CAPXUL_OPERATIONS, Pr as decodePermissionIntent, Ps as CapxulErrorDetails, Pt as BankDetailsMethods, Q as CurrentUserMethods, Qa as RequestCheckoutSummary, Qi as PAYMENT_STATUSES, Qn as PaymentMoney, Qo as Page, Qr as CancelApprovalInput, Qt as AddressBookLabelInput, R as CapxulClient, Ra as OfferCheckoutPreparation, Ri as ActivityFilter, Rn as Ref, Ro as normalizeCapxulOperation, Rr as PermissionChangeInput, Rs as ChainUpstream, Rt as BankDepositsListOptions, S as OpenfortBrowserAuth, Sa as SignerStatus, Si as Approval, Sn as BankDetails, So as InvitePreview, Sr as Valuation, Ss as AuthSession, St as InvitationSnapshot, Ta as AccountProvider, Ti as isSettingUpLifecycle, Tn as BankAccount, To as PermissionReplacementPreview, Tr as AssetMetadata, Ts as EVM_ADDRESS_RE, Tt as InviteOptions, U as MediaMethods, Ua as InvoiceCheckoutState, Ui as ActivityPage, Un as OrganizationPaymentInput, Uo as ObservationDelivery, Ur as PermissionPrepared, Us as CapxulErrorCode, Ut as DestinationPayload, V as IdentityRuntime, Va as InvoiceCheckoutPreparation, Vi as ActivityListParams, Vn as TargetsMethods, Vo as ObservationAdapter, Vr as PermissionOptions, Vs as FailureMode, Vt as DestinationKind, W as UploadImageResult, Wa as InvoiceCheckoutSummary, Wi as ActivityRange, Wn as OrganizationPaymentItemInput, Wo as SdkFailureObservation, Wr as PermissionReadResult, Ws as EXPECTED_OPERATION_OUTCOMES, Wt as DestinationRail, X as isRestoring, Xa as RequestCheckoutReconciliation, Xi as PaymentActivityEvidence, Xn as PaymentDocumentKind, Xo as CapxulResult, Xr as PermissionIntent, Xt as AddressBookAddInput, Y as isClaimed, Ya as RequestCheckoutPreparation, Yi as MovementActivityEvidence, Yn as PaymentDirection, Yo as ActorReference, Yr as SubmittedPermissionExecution, Yt as ActorRelationshipMethods, Z as CurrentUserContext, Za as RequestCheckoutState, Zi as PAYMENT_DIRECTIONS, Zn as PaymentDocumentRef, Zo as OperationResult, Zr as OrganizationApprovalInput, Zt as AddressBookEntry, _ as OpenfortEmbeddedWalletPort, _a as ActorRef, _i as PayrollTermsUnit, _n as BankCurrency, _o as InvitationRecovery, _r as HoldingsMethods, _s as HANDLE_RE, _t as OrganizationAccess, a as captureExceptionSync, aa as CompletedPersonProfile, ai as AuthorizeRunOptions, an as InboxFulfillOptions, ao as OrganizationSetupPageInput, ar as PaymentsPayInput, as as BudgetId, at as IdentityTransition, b as deriveDevPrivateKey, ba as CapxulSigner, bi as PayrollGroupInputSchema, bn as BankDepositMatchCandidate, bo as InviteGrant, br as Rate, bs as toHandle, bt as RoleDefinition, c as CapxulClientInput, ca as OrganizationOnboardingInput, ci as PayrollGroupInput, cn as CheckoutsMethods, co as Unsubscribe, cr as PaymentDocumentOptions, cs as toBudgetId, ct as Readiness, d as PostHogObservabilityOptions, da as PersonOnboardingInput, di as PayrollMethods, dn as PayRequestRegisteredInput, do as GranteeRef, dr as SupportingReceiptInput, ds as Account, dt as MemberIdentityProjection, ea as PaymentDocumentDownload, ei as RedirectApprovalInput, en as ActorRequest, eo as RequestPaymentTerms, er as PaymentSnapshot, es as OrgId, et as Session, f as postHogObservability, fa as ReadyAccountLifecycle, fi as PayrollOptions, fn as isCheckoutSettlementConsumed, fo as InvitationAcceptInput, fr as PaymentQuoteInput, fs as AccountId, ft as MemberStatus, g as OpenfortEmbeddedWalletApi, ga as PayoutAddress, gi as PayrollRuns, gn as BankAccountsMethods, go as InvitationPhase, gr as positionPeg, gs as toCountryCode, gt as OrgView, h as openfortEmbeddedSignerFromWallet, ha as Profile, hi as PayrollRunStatus, hn as BankAccountRequirementsInput, ho as InvitationPageInput, hr as SmartAccountMethods, hs as TesterKind, ht as OrgScopedMethods, i as captureException, ia as LineItemV3, ii as AuthorizeRunInput, in as InboxApproveInput, io as OrganizationSetupPage, ir as PaymentType, is as toPayrollGroupId, it as IdentityEvent, j as parseAssetAmount, ja as CheckoutReceipt, ji as ActivityPhase, jn as VerificationMethods, jr as InvitationApprovalInput, js as toAssetId, jt as OrgMe, k as assetSymbolFor, ka as eip1193AccountProvider, ki as MeMethods, kn as BankAccountTarget, kr as ApprovalWaitOptions, ks as AssetId, kt as OwnInvitationsMethod, l as HostObservability, la as OrganizationOnboardingOptions, li as PayrollGroupMember, ln as CreateOfferCheckoutInput, lo as AuthorityRef, lr as PaymentDocumentOptionsSchema, ls as toPermissionAssignmentId, lt as StateLabel, m as embeddedSigner, ma as IdentityMethods, mi as PayrollRunItemInput, mn as BankAccountRequirements, mo as InvitationPage, mr as SmartAccount, ms as CountryCode, mt as OrgMethods, n as checkoutUrl, na as PaymentDocumentRender, ni as RetryApprovalInput, nn as ActorRequestsMethods, no as InvocationControls, nr as PaymentSubscriptionOptions, ns as PayrollGroupId, nt as ClientRequests, o as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, oa as OnboardingMethods, oi as PayrollEngagementTerms, on as InboxItem, oo as OrganizationSetupSnapshot, or as PaymentsPayOptions, os as PermissionId, ot as IdentityState, p as OpenfortEmbeddedSignerInput, pa as CompleteProfileInput, pi as PayrollRun, pn as BankAccountAddInput, po as InvitationId, pr as FinancialOpsMethods, ps as toAccountId, pt as MemberView, q as Destination$1, qa as PreparedInvoiceCheckoutExecution, qi as ActivitySummaryParams, qn as PaymentsMethods, qr as PermissionCommandSnapshot, qt as ActorProfile, r as HandledErrorReportContext, ra as PaymentDocumentVerification, ri as decodePayrollRunInput, rn as OffersMethods, ro as OrganizationSetup, rr as PaymentTiming, rs as PayrollRunId, rt as ClientRequestView, s as createCapxulClient, sa as OrganizationOnboarding, si as PayrollGroup, sn as InboxMethods, so as SetupIssue, sr as InvoiceDraft, ss as RoleKey, st as OrgLane, t as CheckoutLinkReference, ta as PaymentDocumentReadRef, ti as RequestApprovalInput, tn as ActorRequestIssueInput, to as PaymentQuote, tr as PaymentStatus, ts as toOrgId, tt as AccountSetupPolicy, u as PostHogObservabilityClient, ua as PersonOnboarding, ui as PayrollGroupsMethods, un as PayInvoiceRegisteredInput, uo as EndingReason, ur as PaymentInstructionInput, us as toPermissionId, ut as AssignmentProjection, v as openfortEmbeddedWalletPort, va as fingerprintPaymentIntent, vi as PayrollRunSnapshot, vn as BankDeposit, vo as InvitationTarget, vr as CurrentHoldings, vs as Handle, vt as OrganizationAccount, w as OpenfortBrowserSignerBootstrap, wa as injectedWalletSigner, wi as AccountSetupStep, wn as SettlementToken, wo as SpendingScope, wr as valueIn, ws as Address, wt as InviteMethod, x as devPrivateKeySigner, xa as Eip1193RequestProvider, xi as PayrollRunDetail, xn as BankDepositsPage, xo as InviteInput, xr as RateSource, xs as toPartyId, xt as RoleView, y as DevPrivateKeySignerInput, ya as CapxulDigestSigner, yi as PayrollGroupIdSchema, yn as BankDepositCandidatesPage, yo as InvitationView, yr as AccountsMethods, ys as PartyId, yt as OrganizationAuditLogItem, z as CreateCapxulClientInput, za as PrepareOfferCheckoutExecutionInput, zi as ActivityItem, zn as ResolvedTarget, zr as PermissionCreateInput, zs as RevertSummary, zt as Destination } from "./index-VeQh7FNW.mjs";
|
|
1
|
+
import { $ as AuthMethods, $a as RequestPaymentConfirmation, $i as PaymentDocumentsMethods, $n as PaymentPrepared, $o as ORGANIZATION_SETUP_REASONS, $r as PayrollRunApprovalInput, $t as AddressBookMethods, A as formatAssetAmount, Aa as localPrivateKeyAccountProvider, Ai as MeProfile, An as VerificationInput, Ar as ApprovalsMethods, As as Money, At as Budget, B as IdentityProfileDetails, Ba as PreparedOfferCheckoutExecution, Bi as ActivityKind, Bn as TargetReference, Br as PermissionMethods, Bs as FAILURE_MODES, Bt as DestinationAddInput, C as OpenfortBrowserSigner, Ca as SignerStatusStore, Ci as AccountLifecycle, Cn as BankDetailsOverview, Co as OfferedAuthority, Cr as valueActivitySummary, Cs as AuthUserId, Ct as InvitationSubscriptionOptions, D as CAPXUL_PAYMENTS_V2_ADDRESS, Da as AccountRequirement, Di as DepositInstructions, Dn as BankAccountField, Do as CurrentPolicy, Dr as ApprovalInput, Ds as Errors, Dt as InvitePreviewInput, E as createOpenfortBrowserSigner, Ea as AccountProviderSource, Ei as AccountMethods, En as BankAccountDetails, Eo as BudgetIntent, Er as TOKENS, Es as toAddress, Et as InvitePrepared, F as MoneyParseErrorReason, Fa as FixedOfferDraft, Fi as ActivityAnnotation, Fn as VerificationQuestion, Fo as CapxulOperation, Fr as BudgetLeft, Fs as isCapxulError, Ft as BankingMethods, G as SystemHealth, Ga as PrepareInvoiceCheckoutExecutionInput, Gi as ActivityReference, Gn as OrganizationPaymentRetryPreview, Gr as PermissionReplaceInput, Gt as DestinationRemoveInput, H as IdentityRuntimeSendResult, Ha as InvoiceCheckoutReconciliation, Hi as ActivityMethods, Hn as OrganizationPaymentBatchInput, Ho as ObservationContext, Hr as PermissionPolicyChange, Hs as CAPXUL_ERROR_CODES, Ht as DestinationListInput, I as isMoneyParseError, Ia as FixedOfferDraftSchema, Ii as ActivityAnnotationInput, In as VerificationStatus, Io as NormalizedCapxulOperation, Ir as PermissionAssignInput, Is as CHAIN_UPSTREAMS, It as BankDepositCandidatesOptions, J as destination, Ja as PreparedRequestCheckoutExecution, Ji as ActivitySummaryTotal, Jn as Payment, Jr as PermissionCommandView, Jt as ActorProfileMethods, K as SystemMethods, Ka as PrepareRequestCheckoutExecutionInput, Ki as ActivitySummary, Kn as OrganizationPaymentsMethods, Kr as PermissionRevokeInput, Kt as DestinationsMethods, L as parseMoney, La as OfferCheckout, Li as ActivityDetail, Ln as RecipientResolution, Lo as isCapxulOperation, Lr as PermissionAssignmentEffect, Ls as ChainCause, Lt as BankDepositMethods, M as requireAsset, Ma as CheckoutReconciliation, Mi as inboxPhase, Mn as VerificationOperations, Mr as PermissionApprovalInput, Ms as toCurrencyCode, Mt as OrgMeMethod, N as toRaw, Na as CheckoutState, Ni as paymentPhase, Nn as VerificationAnswers, No as TelemetryPort, Nr as PermissionWrite, Ns as CapxulError, Nt as OrgMeOptions, O as formatMoney, Oa as Eip1193Provider, Oi as Home, On as BankAccountFilter, Oo as Permission, Or as ApprovalOutcome, Os as AssetAmount, Ot as OrgInvitations, P as MoneyParseError, Pa as FixedOffer, Pi as requestPhase, Pn as VerificationPersonInput, Po as CAPXUL_OPERATIONS, Pr as decodePermissionIntent, Ps as CapxulErrorDetails, Pt as BankDetailsMethods, Q as CurrentUserMethods, Qa as RequestCheckoutSummary, Qi as PAYMENT_STATUSES, Qn as PaymentMoney, Qo as Page, Qr as CancelApprovalInput, Qt as AddressBookLabelInput, R as CapxulClient, Ra as OfferCheckoutPreparation, Ri as ActivityFilter, Rn as Ref, Ro as normalizeCapxulOperation, Rr as PermissionChangeInput, Rs as ChainUpstream, Rt as BankDepositsListOptions, S as OpenfortBrowserAuth, Sa as SignerStatus, Si as Approval, Sn as BankDetails, So as InvitePreview, Sr as Valuation, Ss as AuthSession, St as InvitationSnapshot, Ta as AccountProvider, Ti as isSettingUpLifecycle, Tn as BankAccount, To as PermissionReplacementPreview, Tr as AssetMetadata, Ts as EVM_ADDRESS_RE, Tt as InviteOptions, U as MediaMethods, Ua as InvoiceCheckoutState, Ui as ActivityPage, Un as OrganizationPaymentInput, Uo as ObservationDelivery, Ur as PermissionPrepared, Us as CapxulErrorCode, Ut as DestinationPayload, V as IdentityRuntime, Va as InvoiceCheckoutPreparation, Vi as ActivityListParams, Vn as TargetsMethods, Vo as ObservationAdapter, Vr as PermissionOptions, Vs as FailureMode, Vt as DestinationKind, W as UploadImageResult, Wa as InvoiceCheckoutSummary, Wi as ActivityRange, Wn as OrganizationPaymentItemInput, Wo as SdkFailureObservation, Wr as PermissionReadResult, Ws as EXPECTED_OPERATION_OUTCOMES, Wt as DestinationRail, X as isRestoring, Xa as RequestCheckoutReconciliation, Xi as PaymentActivityEvidence, Xn as PaymentDocumentKind, Xo as CapxulResult, Xr as PermissionIntent, Xt as AddressBookAddInput, Y as isClaimed, Ya as RequestCheckoutPreparation, Yi as MovementActivityEvidence, Yn as PaymentDirection, Yo as ActorReference, Yr as SubmittedPermissionExecution, Yt as ActorRelationshipMethods, Z as CurrentUserContext, Za as RequestCheckoutState, Zi as PAYMENT_DIRECTIONS, Zn as PaymentDocumentRef, Zo as OperationResult, Zr as OrganizationApprovalInput, Zt as AddressBookEntry, _ as OpenfortEmbeddedWalletPort, _a as ActorRef, _i as PayrollTermsUnit, _n as BankCurrency, _o as InvitationRecovery, _r as HoldingsMethods, _s as HANDLE_RE, _t as OrganizationAccess, a as captureExceptionSync, aa as CompletedPersonProfile, ai as AuthorizeRunOptions, an as InboxFulfillOptions, ao as OrganizationSetupPageInput, ar as PaymentsPayInput, as as BudgetId, at as IdentityTransition, b as deriveDevPrivateKey, ba as CapxulSigner, bi as PayrollGroupInputSchema, bn as BankDepositMatchCandidate, bo as InviteGrant, br as Rate, bs as toHandle, bt as RoleDefinition, c as CapxulClientInput, ca as OrganizationOnboardingInput, ci as PayrollGroupInput, cn as CheckoutsMethods, co as Unsubscribe, cr as PaymentDocumentOptions, cs as toBudgetId, ct as Readiness, d as PostHogObservabilityOptions, da as PersonOnboardingInput, di as PayrollMethods, dn as PayRequestRegisteredInput, do as GranteeRef, dr as SupportingReceiptInput, ds as Account, dt as MemberIdentityProjection, ea as PaymentDocumentDownload, ei as RedirectApprovalInput, en as ActorRequest, eo as RequestPaymentTerms, er as PaymentSnapshot, es as OrgId, et as Session, f as postHogObservability, fa as ReadyAccountLifecycle, fi as PayrollOptions, fn as isCheckoutSettlementConsumed, fo as InvitationAcceptInput, fr as PaymentQuoteInput, fs as AccountId, ft as MemberStatus, g as OpenfortEmbeddedWalletApi, ga as PayoutAddress, gi as PayrollRuns, gn as BankAccountsMethods, go as InvitationPhase, gr as positionPeg, gs as toCountryCode, gt as OrgView, h as openfortEmbeddedSignerFromWallet, ha as Profile, hi as PayrollRunStatus, hn as BankAccountRequirementsInput, ho as InvitationPageInput, hr as SmartAccountMethods, hs as TesterKind, ht as OrgScopedMethods, i as captureException, ia as LineItemV3, ii as AuthorizeRunInput, in as InboxApproveInput, io as OrganizationSetupPage, ir as PaymentType, is as toPayrollGroupId, it as IdentityEvent, j as parseAssetAmount, ja as CheckoutReceipt, ji as ActivityPhase, jn as VerificationMethods, jr as InvitationApprovalInput, js as toAssetId, jt as OrgMe, k as assetSymbolFor, ka as eip1193AccountProvider, ki as MeMethods, kn as BankAccountTarget, kr as ApprovalWaitOptions, ks as AssetId, kt as OwnInvitationsMethod, l as HostObservability, la as OrganizationOnboardingOptions, li as PayrollGroupMember, ln as CreateOfferCheckoutInput, lo as AuthorityRef, lr as PaymentDocumentOptionsSchema, ls as toPermissionAssignmentId, lt as StateLabel, m as embeddedSigner, ma as IdentityMethods, mi as PayrollRunItemInput, mn as BankAccountRequirements, mo as InvitationPage, mr as SmartAccount, ms as CountryCode, mt as OrgMethods, n as checkoutUrl, na as PaymentDocumentRender, ni as RetryApprovalInput, nn as ActorRequestsMethods, no as InvocationControls, nr as PaymentSubscriptionOptions, ns as PayrollGroupId, nt as ClientRequests, o as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, oa as OnboardingMethods, oi as PayrollEngagementTerms, on as InboxItem, oo as OrganizationSetupSnapshot, or as PaymentsPayOptions, os as PermissionId, ot as IdentityState, p as OpenfortEmbeddedSignerInput, pa as CompleteProfileInput, pi as PayrollRun, pn as BankAccountAddInput, po as InvitationId, pr as FinancialOpsMethods, ps as toAccountId, pt as MemberView, q as Destination$1, qa as PreparedInvoiceCheckoutExecution, qi as ActivitySummaryParams, qn as PaymentsMethods, qr as PermissionCommandSnapshot, qt as ActorProfile, r as HandledErrorReportContext, ra as PaymentDocumentVerification, ri as decodePayrollRunInput, rn as OffersMethods, ro as OrganizationSetup, rr as PaymentTiming, rs as PayrollRunId, rt as ClientRequestView, s as createCapxulClient, sa as OrganizationOnboarding, si as PayrollGroup, sn as InboxMethods, so as SetupIssue, sr as InvoiceDraft, ss as RoleKey, st as OrgLane, t as CheckoutLinkReference, ta as PaymentDocumentReadRef, ti as RequestApprovalInput, tn as ActorRequestIssueInput, to as PaymentQuote, tr as PaymentStatus, ts as toOrgId, tt as AccountSetupPolicy, u as PostHogObservabilityClient, ua as PersonOnboarding, ui as PayrollGroupsMethods, un as PayInvoiceRegisteredInput, uo as EndingReason, ur as PaymentInstructionInput, us as toPermissionId, ut as AssignmentProjection, v as openfortEmbeddedWalletPort, va as fingerprintPaymentIntent, vi as PayrollRunSnapshot, vn as BankDeposit, vo as InvitationTarget, vr as CurrentHoldings, vs as Handle, vt as OrganizationAccount, w as OpenfortBrowserSignerBootstrap, wa as injectedWalletSigner, wi as AccountSetupStep, wn as SettlementToken, wo as SpendingScope, wr as valueIn, ws as Address, wt as InviteMethod, x as devPrivateKeySigner, xa as Eip1193RequestProvider, xi as PayrollRunDetail, xn as BankDepositsPage, xo as InviteInput, xr as RateSource, xs as toPartyId, xt as RoleView, y as DevPrivateKeySignerInput, ya as CapxulDigestSigner, yi as PayrollGroupIdSchema, yn as BankDepositCandidatesPage, yo as InvitationView, yr as AccountsMethods, ys as PartyId, yt as OrganizationAuditLogItem, z as CreateCapxulClientInput, za as PrepareOfferCheckoutExecutionInput, zi as ActivityItem, zn as ResolvedTarget, zr as PermissionCreateInput, zs as RevertSummary, zt as Destination } from "./index-DtFIxdqJ.mjs";
|
|
2
2
|
export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupPolicy, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type Approval, type ApprovalInput, type ApprovalOutcome, type ApprovalWaitOptions, type ApprovalsMethods, type AssetAmount, type AssetId, type AssetMetadata, type AssignmentProjection, type AuthMethods, type AuthSession, type AuthUserId, type AuthorityRef, type AuthorizeRunInput, type AuthorizeRunOptions, type BankAccount, type BankAccountAddInput, type BankAccountDetails, type BankAccountField, type BankAccountFilter, type BankAccountRequirements, type BankAccountRequirementsInput, type BankAccountTarget, type BankAccountsMethods, type BankCurrency, type BankDeposit, type BankDepositCandidatesOptions, type BankDepositCandidatesPage, type BankDepositMatchCandidate, type BankDepositMethods, type BankDepositsListOptions, type BankDepositsPage, type BankDetails, type BankDetailsMethods, type BankDetailsOverview, type BankingMethods, type Budget, type BudgetId, type BudgetIntent, type BudgetLeft, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CancelApprovalInput, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CheckoutLinkReference, type CheckoutReceipt, type CheckoutReconciliation, type CheckoutState, type CheckoutsMethods, type ClientRequestView, type ClientRequests, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOfferCheckoutInput, type CurrentHoldings, type CurrentPolicy, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, type Eip1193Provider, type Eip1193RequestProvider, type EndingReason, Errors, FAILURE_MODES, type FailureMode, type FinancialOpsMethods, type FixedOffer, type FixedOfferDraft, FixedOfferDraftSchema, type GranteeRef, HANDLE_RE, type Handle, type HandledErrorReportContext, type HoldingsMethods, type Home, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxFulfillOptions, type InboxItem, type InboxMethods, type InvitationAcceptInput, type InvitationApprovalInput, type InvitationId, type InvitationPage, type InvitationPageInput, type InvitationPhase, type InvitationRecovery, type InvitationSnapshot, type InvitationSubscriptionOptions, type InvitationTarget, type InvitationView, type InviteGrant, type InviteInput, type InviteMethod, type InviteOptions, type InvitePrepared, type InvitePreview, type InvitePreviewInput, type InvocationControls, type InvoiceCheckoutPreparation, type InvoiceCheckoutReconciliation, type InvoiceCheckoutState, type InvoiceCheckoutSummary, type InvoiceDraft, type LineItemV3, type MeMethods, type MeProfile, type MediaMethods, type MemberIdentityProjection, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, ORGANIZATION_SETUP_REASONS, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfferCheckout, type OfferCheckoutPreparation, type OfferedAuthority, type OffersMethods, type OnboardingMethods, type OpenfortBrowserAuth, type OpenfortBrowserSigner, type OpenfortBrowserSignerBootstrap, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OperationResult, type OrgId, type OrgInvitations, type OrgLane, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgView, type OrganizationAccess, type OrganizationAccount, type OrganizationApprovalInput, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationOnboardingOptions, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentRetryPreview, type OrganizationPaymentsMethods, type OrganizationSetup, type OrganizationSetupPage, type OrganizationSetupPageInput, type OrganizationSetupSnapshot, type OwnInvitationsMethod, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, type Page, type PartyId, type PayInvoiceRegisteredInput, type PayRequestRegisteredInput, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentDownload, type PaymentDocumentKind, type PaymentDocumentOptions, PaymentDocumentOptionsSchema, type PaymentDocumentReadRef, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentInstructionInput, type PaymentMoney, type PaymentPrepared, type PaymentQuote, type PaymentQuoteInput, type PaymentSnapshot, type PaymentStatus, type PaymentSubscriptionOptions, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PaymentsPayOptions, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, PayrollGroupIdSchema, type PayrollGroupInput, PayrollGroupInputSchema, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunApprovalInput, type PayrollRunDetail, type PayrollRunId, type PayrollRunItemInput, type PayrollRunSnapshot, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionApprovalInput, type PermissionAssignInput, type PermissionAssignmentEffect, type PermissionChangeInput, type PermissionCommandSnapshot, type PermissionCommandView, type PermissionCreateInput, type PermissionId, type PermissionIntent, type PermissionMethods, type PermissionOptions, type PermissionPolicyChange, type PermissionPrepared, type PermissionReadResult, type PermissionReplaceInput, type PermissionReplacementPreview, type PermissionRevokeInput, type PermissionWrite, type PersonOnboarding, type PersonOnboardingInput, type PostHogObservabilityClient, type PostHogObservabilityOptions, type PrepareInvoiceCheckoutExecutionInput, type PrepareOfferCheckoutExecutionInput, type PrepareRequestCheckoutExecutionInput, type PreparedInvoiceCheckoutExecution, type PreparedOfferCheckoutExecution, type PreparedRequestCheckoutExecution, type Profile, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type RedirectApprovalInput, type Ref, type RequestApprovalInput, type RequestCheckoutPreparation, type RequestCheckoutReconciliation, type RequestCheckoutState, type RequestCheckoutSummary, type RequestPaymentConfirmation, type RequestPaymentTerms, type ResolvedTarget, type RetryApprovalInput, type RevertSummary, type RoleDefinition, type RoleKey, type RoleView, type SdkFailureObservation, type Session, type SettlementToken, type SetupIssue, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type SpendingScope, type StateLabel, type SubmittedPermissionExecution, type SupportingReceiptInput, type SystemHealth, type SystemMethods, TOKENS, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Unsubscribe, type UploadImageResult, type Valuation, type VerificationAnswers, type VerificationInput, type VerificationMethods, type VerificationOperations, type VerificationPersonInput, type VerificationQuestion, type VerificationStatus, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as decodePermissionIntent } from "./organizations-
|
|
2
|
-
import { $ as parseAssetAmount, $r as EXPECTED_OPERATION_OUTCOMES, $t as isSettingUpLifecycle, Bi as FAILURE_MODES, Bt as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, Cn as EXCEPTION_EVENT_NAME, Cr as toPermissionAssignmentId, Dn as normalizeCapxulOperation, Dr as currencySymbolFor, En as isCapxulOperation, Et as TOKENS, F as decodePayrollRunInput, G as isCheckoutSettlementConsumed, I as toPayrollGroupId, Jt as normalizeExceptionErrorKind, Kt as EXCEPTION_MESSAGE, Li as Errors, Ln as PayrollGroupIdSchema, Nr as toAddress, Or as toAssetId, Q as formatAssetAmount, Qr as CAPXUL_ERROR_CODES, Ri as CapxulError, Rn as PayrollGroupInputSchema, Rt as failureDetail, S as valueIn, Sr as toBudgetId, Tn as CAPXUL_OPERATIONS, Xt as projectSdkException, Yn as CHAIN_UPSTREAMS, Yt as normalizeExceptionOperation, Z as assetSymbolFor, Zn as toOrgId, Zt as safeExceptionLabel, a as paymentPhase, at as fingerprintPaymentIntent, cn as resolveFailureMode, dn as toCountryCode, dr as toAccountId, et as requireAsset, fr as PaymentDocumentOptionsSchema, gn as toPartyId, hn as toHandle, i as inboxPhase, jr as EVM_ADDRESS_RE, kr as toCurrencyCode, mn as HANDLE_RE, nn as injectedWalletSigner, nt as isMoneyParseError, o as requestPhase, qn as ORGANIZATION_SETUP_REASONS, qt as SDK_VERSION, rt as parseMoney, sn as signerFailure, tt as toRaw, vr as PAYMENT_DIRECTIONS, wr as toPermissionId, wt as CAPXUL_PAYMENTS_V2_ADDRESS, x as valueActivitySummary, y as positionPeg, yr as PAYMENT_STATUSES, zi as isCapxulError, zn as FixedOfferDraftSchema } from "./access-
|
|
3
|
-
import { d as devPrivateKeySigner, f as createOpenfortBrowserSigner, h as openfortEmbeddedWalletPort, i as postHogObservability, m as openfortEmbeddedSignerFromWallet, p as embeddedSigner, t as createCapxulClient$1, u as deriveDevPrivateKey } from "./production-
|
|
1
|
+
import { m as decodePermissionIntent } from "./organizations-BhSPqVR5.mjs";
|
|
2
|
+
import { $ as parseAssetAmount, $r as EXPECTED_OPERATION_OUTCOMES, $t as isSettingUpLifecycle, Bi as FAILURE_MODES, Bt as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, Cn as EXCEPTION_EVENT_NAME, Cr as toPermissionAssignmentId, Dn as normalizeCapxulOperation, Dr as currencySymbolFor, En as isCapxulOperation, Et as TOKENS, F as decodePayrollRunInput, G as isCheckoutSettlementConsumed, I as toPayrollGroupId, Jt as normalizeExceptionErrorKind, Kt as EXCEPTION_MESSAGE, Li as Errors, Ln as PayrollGroupIdSchema, Nr as toAddress, Or as toAssetId, Q as formatAssetAmount, Qr as CAPXUL_ERROR_CODES, Ri as CapxulError, Rn as PayrollGroupInputSchema, Rt as failureDetail, S as valueIn, Sr as toBudgetId, Tn as CAPXUL_OPERATIONS, Xt as projectSdkException, Yn as CHAIN_UPSTREAMS, Yt as normalizeExceptionOperation, Z as assetSymbolFor, Zn as toOrgId, Zt as safeExceptionLabel, a as paymentPhase, at as fingerprintPaymentIntent, cn as resolveFailureMode, dn as toCountryCode, dr as toAccountId, et as requireAsset, fr as PaymentDocumentOptionsSchema, gn as toPartyId, hn as toHandle, i as inboxPhase, jr as EVM_ADDRESS_RE, kr as toCurrencyCode, mn as HANDLE_RE, nn as injectedWalletSigner, nt as isMoneyParseError, o as requestPhase, qn as ORGANIZATION_SETUP_REASONS, qt as SDK_VERSION, rt as parseMoney, sn as signerFailure, tt as toRaw, vr as PAYMENT_DIRECTIONS, wr as toPermissionId, wt as CAPXUL_PAYMENTS_V2_ADDRESS, x as valueActivitySummary, y as positionPeg, yr as PAYMENT_STATUSES, zi as isCapxulError, zn as FixedOfferDraftSchema } from "./access-DUmQPXVl.mjs";
|
|
3
|
+
import { d as devPrivateKeySigner, f as createOpenfortBrowserSigner, h as openfortEmbeddedWalletPort, i as postHogObservability, m as openfortEmbeddedSignerFromWallet, p as embeddedSigner, t as createCapxulClient$1, u as deriveDevPrivateKey } from "./production-C7WbsKZl.mjs";
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { privateKeyToAccount } from "viem/accounts";
|
|
6
6
|
//#region src/access/identity/selectors.ts
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bo as oauthBearerAuthClient, Go as AuthCacheError, Jo as CachedJwt, Ko as AuthCachePort, Ss as AuthSession, ba as CapxulSigner, qo as AuthCachePortTag, zo as OAuthBearerAuthClientInput } from "../index-
|
|
1
|
+
import { Bo as oauthBearerAuthClient, Go as AuthCacheError, Jo as CachedJwt, Ko as AuthCachePort, Ss as AuthSession, ba as CapxulSigner, qo as AuthCachePortTag, zo as OAuthBearerAuthClientInput } from "../index-DtFIxdqJ.mjs";
|
|
2
2
|
import { Effect, FileSystem, Layer, Path } from "effect";
|
|
3
3
|
import { Hex } from "viem";
|
|
4
4
|
//#region src/access/auth-cache/file-system.d.ts
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Di as BrowserAuthCacheAdapter, Ei as InMemoryAuthCacheAdapter, Gi as AuthCachePortTag, Hi as isRecord, Nr as toAddress, Oi as parseAuthSession, Ti as globalLocalStorage, Wi as AuthCacheError, ki as parseCachedJwt, ri as oauthBearerAuthClient } from "../access-
|
|
1
|
+
import { Di as BrowserAuthCacheAdapter, Ei as InMemoryAuthCacheAdapter, Gi as AuthCachePortTag, Hi as isRecord, Nr as toAddress, Oi as parseAuthSession, Ti as globalLocalStorage, Wi as AuthCacheError, ki as parseCachedJwt, ri as oauthBearerAuthClient } from "../access-DUmQPXVl.mjs";
|
|
2
2
|
import { Effect, FileSystem, Layer, Option, Path } from "effect";
|
|
3
3
|
import { privateKeyToAccount } from "viem/accounts";
|
|
4
4
|
import * as os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as hashPermissionReplacementPreview, Ar as toExactAssetAmount, At as safe4337MultiSendUserOpCallData, Bn as invitations, Cr as toPermissionAssignmentId, Ct as SEND_SIGNATURE, Dt as deriveCapxulSafeAddress, Fn as PreparedPermissionExecutionSchema, Ft as callOperation, Gn as workspaces, Gr as runCapxulEffect, Gt as withCapturedAttemptContext, Hi as isRecord, Hn as roles, In as PermissionCommandViewSchema, Ir as absurd, It as asCapxulError, J as subscribeFreshQuery, Jr as defectAsCapxulError, Kn as OrganizationSetupSchema, Kr as withVerifiedOrganizationScope, Li as Errors, Lr as reference, Mn as commands, Mt as BASE_SEPOLIA_CHAIN_ID, N as makePayrollMethods, Nn as configurations, Nr as toAddress, Nt as MULTI_SEND_CALL_ONLY, O as retryIdempotentRead, P as makeUnavailablePayrollMethods, Pi as toEmail, Pn as replacements, Pt as SAFE_SENTINEL_OWNERS, Qn as InvitationViewSchema, R as annotateDepositInstructions, Ri as CapxulError, Sr as toBudgetId, St as SEND_BATCH_SIGNATURE, Tn as CAPXUL_OPERATIONS, Tr as toRoleKey, Tt as CONFIGURED_MONEY_ASSETS, U as makeActorRelationshipMethods, Un as setups, V as waitForPaymentSubmission, Vn as members, Wn as treasuries, Wr as observationOnlyControls, Xn as decodeChainCause, Xr as toCapxulResult, Yr as runIfActive, Zn as toOrgId, _ as accountFromAccountPositions, _r as toLowerHex, _t as ROLES_SET_ALLOWANCE_ABI, ar as roleKeyForPermission, b as MONEY_READ_RATES, bt as ROLE_MANAGEMENT_SIGNATURES, ct as resolveOrgPermissionIdentity, di as attachInvocationObservation, dr as toAccountId, dt as MULTI_SEND_SELECTOR, er as decodePermissionIntent$1, fi as copyInvocationObservation, ft as OPERATOR, gn as toPartyId, gr as toLowerBytes32, gt as ROLES_EXEC_TRANSACTION_WITH_ROLE_ABI, hr as toLowerAddress, ht as ROLES_ASSIGN_ROLES_ABI, ir as ORG_BUDGET_ACTIONS, it as canonicalJson, jn as authorities, jt as buildSafeMultiSendExecTransactionCall, kt as safe4337ExecuteUserOpCallData, lr as bankDetails, lt as CREATE_COMMITMENT_SIGNATURE, mr as toExactHex, mt as PARAMETER_TYPE, ni as withInvocationParentSpan, nr as CurrentPolicySchema, ot as moneySafeOpDigest, pi as readInvocationObservation, pt as OWNER_COMMITMENT_SIGNATURES, qr as awaitCapxulResult, rr as MONTHLY_REFILL_PERIOD_SECONDS, sn as signerFailure, st as ZODIAC_MODULE_PROXY_FACTORY, ti as carryInvocationParentSpan, tr as keepRefillOnChange, ur as deposits, ut as MODULE_PROXY_FACTORY_ABI, v as accountPositionsFromWire, vt as ROLES_SET_TRANSACTION_UNWRAPPER_ABI, wr as toPermissionId, wt as CAPXUL_PAYMENTS_V2_ADDRESS, xt as SAFE_ENABLE_MODULE_ABI, yt as ROLES_SET_UP_ABI, z as makeOrganizationPaymentsMethods, zi as isCapxulError } from "./access-
|
|
1
|
+
import { $n as hashPermissionReplacementPreview, Ar as toExactAssetAmount, At as safe4337MultiSendUserOpCallData, Bn as invitations, Cr as toPermissionAssignmentId, Ct as SEND_SIGNATURE, Dt as deriveCapxulSafeAddress, Fn as PreparedPermissionExecutionSchema, Ft as callOperation, Gn as workspaces, Gr as runCapxulEffect, Gt as withCapturedAttemptContext, Hi as isRecord, Hn as roles, In as PermissionCommandViewSchema, Ir as absurd, It as asCapxulError, J as subscribeFreshQuery, Jr as defectAsCapxulError, Kn as OrganizationSetupSchema, Kr as withVerifiedOrganizationScope, Li as Errors, Lr as reference, Mn as commands, Mt as BASE_SEPOLIA_CHAIN_ID, N as makePayrollMethods, Nn as configurations, Nr as toAddress, Nt as MULTI_SEND_CALL_ONLY, O as retryIdempotentRead, P as makeUnavailablePayrollMethods, Pi as toEmail, Pn as replacements, Pt as SAFE_SENTINEL_OWNERS, Qn as InvitationViewSchema, R as annotateDepositInstructions, Ri as CapxulError, Sr as toBudgetId, St as SEND_BATCH_SIGNATURE, Tn as CAPXUL_OPERATIONS, Tr as toRoleKey, Tt as CONFIGURED_MONEY_ASSETS, U as makeActorRelationshipMethods, Un as setups, V as waitForPaymentSubmission, Vn as members, Wn as treasuries, Wr as observationOnlyControls, Xn as decodeChainCause, Xr as toCapxulResult, Yr as runIfActive, Zn as toOrgId, _ as accountFromAccountPositions, _r as toLowerHex, _t as ROLES_SET_ALLOWANCE_ABI, ar as roleKeyForPermission, b as MONEY_READ_RATES, bt as ROLE_MANAGEMENT_SIGNATURES, ct as resolveOrgPermissionIdentity, di as attachInvocationObservation, dr as toAccountId, dt as MULTI_SEND_SELECTOR, er as decodePermissionIntent$1, fi as copyInvocationObservation, ft as OPERATOR, gn as toPartyId, gr as toLowerBytes32, gt as ROLES_EXEC_TRANSACTION_WITH_ROLE_ABI, hr as toLowerAddress, ht as ROLES_ASSIGN_ROLES_ABI, ir as ORG_BUDGET_ACTIONS, it as canonicalJson, jn as authorities, jt as buildSafeMultiSendExecTransactionCall, kt as safe4337ExecuteUserOpCallData, lr as bankDetails, lt as CREATE_COMMITMENT_SIGNATURE, mr as toExactHex, mt as PARAMETER_TYPE, ni as withInvocationParentSpan, nr as CurrentPolicySchema, ot as moneySafeOpDigest, pi as readInvocationObservation, pt as OWNER_COMMITMENT_SIGNATURES, qr as awaitCapxulResult, rr as MONTHLY_REFILL_PERIOD_SECONDS, sn as signerFailure, st as ZODIAC_MODULE_PROXY_FACTORY, ti as carryInvocationParentSpan, tr as keepRefillOnChange, ur as deposits, ut as MODULE_PROXY_FACTORY_ABI, v as accountPositionsFromWire, vt as ROLES_SET_TRANSACTION_UNWRAPPER_ABI, wr as toPermissionId, wt as CAPXUL_PAYMENTS_V2_ADDRESS, xt as SAFE_ENABLE_MODULE_ABI, yt as ROLES_SET_UP_ABI, z as makeOrganizationPaymentsMethods, zi as isCapxulError } from "./access-DUmQPXVl.mjs";
|
|
2
2
|
import { Context, Data, Effect, Result, Schema } from "effect";
|
|
3
3
|
import { BaseError, decodeFunctionData, encodeAbiParameters, encodeFunctionData, formatUnits, getContractAddress, keccak256, padHex, parseAbiParameters, toBytes, toFunctionSelector, toHex } from "viem";
|
|
4
4
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as prepareConfiguration, d as preparedIdentity, f as verifiedPreparation, h as validateReplacementInput, i as authorInvitation, o as verifiedConfiguration, p as buildCommand, u as preparePermission } from "./organizations-
|
|
2
|
-
import { Ir as absurd, It as asCapxulError, Li as Errors, Ri as CapxulError, Tn as CAPXUL_OPERATIONS, Y as abandonPrepared } from "./access-
|
|
1
|
+
import { a as prepareConfiguration, d as preparedIdentity, f as verifiedPreparation, h as validateReplacementInput, i as authorInvitation, o as verifiedConfiguration, p as buildCommand, u as preparePermission } from "./organizations-BhSPqVR5.mjs";
|
|
2
|
+
import { Ir as absurd, It as asCapxulError, Li as Errors, Ri as CapxulError, Tn as CAPXUL_OPERATIONS, Y as abandonPrepared } from "./access-DUmQPXVl.mjs";
|
|
3
3
|
//#region src/accounts/permission-approvals.ts
|
|
4
4
|
/** Prepare a Permission write or an invitation's configuration for `signerAddress`, checked. */
|
|
5
5
|
function prepareVerifiedPermissionChange(deps, input, signerAddress, signal) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as OrgPortTag, l as deserializeCapxulError, n as makeOrgMethods, r as makeBankingMethods, s as ConvexOrganizationAdapter, t as ConvexOrganizationSetupAdapter } from "./organizations-
|
|
2
|
-
import { A as registerProductTelemetryInvocation, An as onboardings, B as makePaymentsMethods, Bi as FAILURE_MODES, Br as publicIdentityFailure, C as AccountReadPortTag, Ci as AuthClientPortTag, D as convexCallErrorFromCapxul, Dn as normalizeCapxulOperation, E as ConvexCallPortTag, En as isCapxulOperation, Er as ChainIdSchema, Ft as callOperation, Gi as AuthCachePortTag, Gr as runCapxulEffect, Gt as withCapturedAttemptContext, H as makeDestinationsMethods, Hi as isRecord, Hr as runPortEffect, Ht as observeFailedResult, It as asCapxulError, Jn as ORGANIZATION_SETUP_STATUSES, K as makeTargetsMethods, L as makeAccountMethods, Li as Errors, Lt as toPublicError, M as makeApprovalsMethods, Mr as isEvmAddress, Mt as BASE_SEPOLIA_CHAIN_ID, Ni as toAuthUserId, Nr as toAddress, On as OPERATIONS, Ot as normalizeSafeSaltEmail, Pi as toEmail, Qr as CAPXUL_ERROR_CODES, Qt as version, Ri as CapxulError, Rr as makeAuthMethods, Rt as failureDetail, Si as AuthClientError, Sn as CLI_INVOCATION_KINDS, T as TelemetryPortTag, Ti as globalLocalStorage, Tn as CAPXUL_OPERATIONS, Ui as readField, Un as setups, Ur as sessionFromActor, Ut as observeSdkClient, Vi as isFailureMode, Vr as runIdentityFacade, Vt as postHogFailureObservation, W as makeCheckoutMethods, Wt as observationContextProps, Xn as decodeChainCause, Xr as toCapxulResult, Zr as formatTraceparent, _i as isCredentialField, _n as validateHandle, an as openfortSignerNotReadyCode, bi as toPublishableKey, bn as CLI_CAPABILITIES, br as DurationMsSchema, c as makePaymentDocumentsMethods, ci as BetterAuthNodeLayer, cr as images, d as SmartAccountPortTag, di as attachInvocationObservation, dn as toCountryCode, ei as ActorFailure, en as UNOBSERVABLE_SIGNER_STATUS, fi as copyInvocationObservation, fn as toKycTier, g as ConvexAccountLayer, gi as redactUrlSecrets, h as makeAccountsMethods, hi as redactSecrets, hn as toHandle, ii as SystemClockLayer, in as isSignerNotReadySignal, ji as toEpochMs, k as bindProductTelemetryInvocation, kn as details, l as makeSmartAccountMethods, li as BetterAuthBrowserLayer, ln as makeCurrentUserMethods, m as PonderIndexerAdapter, mi as sanitizeObservationContext, n as bootIdentityFlow, oi as ClockPortTag, on as recoverRawDigestSigner, or as diagnostics, p as makeHoldingsMethods, pi as readInvocationObservation, pn as toTesterKind, pr as isBytes32, q as makeVerificationMethods, qn as ORGANIZATION_SETUP_REASONS, r as makeMeMethods, rn as isEcdsaSignatureHex, s as makeActivityMethods, sn as signerFailure, sr as AppIdSchema, t as executeIdentityProductObservation, ti as carryInvocationParentSpan, tn as causeChain, u as ConvexSmartAccountLayer, ui as observationRequestHeaders, un as makeClientRequestMethods, vi as toAllowedOrigin, wi as detectAuthCacheAdapter, wn as stampTelemetryEnvelope, xn as CLI_COMMAND_NAMES, xr as EpochMsSchema, yn as redactTelemetryProps, zi as isCapxulError, zr as askIdentity, zt as failureEvidenceProps } from "./access-
|
|
1
|
+
import { c as OrgPortTag, l as deserializeCapxulError, n as makeOrgMethods, r as makeBankingMethods, s as ConvexOrganizationAdapter, t as ConvexOrganizationSetupAdapter } from "./organizations-BhSPqVR5.mjs";
|
|
2
|
+
import { A as registerProductTelemetryInvocation, An as onboardings, B as makePaymentsMethods, Bi as FAILURE_MODES, Br as publicIdentityFailure, C as AccountReadPortTag, Ci as AuthClientPortTag, D as convexCallErrorFromCapxul, Dn as normalizeCapxulOperation, E as ConvexCallPortTag, En as isCapxulOperation, Er as ChainIdSchema, Ft as callOperation, Gi as AuthCachePortTag, Gr as runCapxulEffect, Gt as withCapturedAttemptContext, H as makeDestinationsMethods, Hi as isRecord, Hr as runPortEffect, Ht as observeFailedResult, It as asCapxulError, Jn as ORGANIZATION_SETUP_STATUSES, K as makeTargetsMethods, L as makeAccountMethods, Li as Errors, Lt as toPublicError, M as makeApprovalsMethods, Mr as isEvmAddress, Mt as BASE_SEPOLIA_CHAIN_ID, Ni as toAuthUserId, Nr as toAddress, On as OPERATIONS, Ot as normalizeSafeSaltEmail, Pi as toEmail, Qr as CAPXUL_ERROR_CODES, Qt as version, Ri as CapxulError, Rr as makeAuthMethods, Rt as failureDetail, Si as AuthClientError, Sn as CLI_INVOCATION_KINDS, T as TelemetryPortTag, Ti as globalLocalStorage, Tn as CAPXUL_OPERATIONS, Ui as readField, Un as setups, Ur as sessionFromActor, Ut as observeSdkClient, Vi as isFailureMode, Vr as runIdentityFacade, Vt as postHogFailureObservation, W as makeCheckoutMethods, Wt as observationContextProps, Xn as decodeChainCause, Xr as toCapxulResult, Zr as formatTraceparent, _i as isCredentialField, _n as validateHandle, an as openfortSignerNotReadyCode, bi as toPublishableKey, bn as CLI_CAPABILITIES, br as DurationMsSchema, c as makePaymentDocumentsMethods, ci as BetterAuthNodeLayer, cr as images, d as SmartAccountPortTag, di as attachInvocationObservation, dn as toCountryCode, ei as ActorFailure, en as UNOBSERVABLE_SIGNER_STATUS, fi as copyInvocationObservation, fn as toKycTier, g as ConvexAccountLayer, gi as redactUrlSecrets, h as makeAccountsMethods, hi as redactSecrets, hn as toHandle, ii as SystemClockLayer, in as isSignerNotReadySignal, ji as toEpochMs, k as bindProductTelemetryInvocation, kn as details, l as makeSmartAccountMethods, li as BetterAuthBrowserLayer, ln as makeCurrentUserMethods, m as PonderIndexerAdapter, mi as sanitizeObservationContext, n as bootIdentityFlow, oi as ClockPortTag, on as recoverRawDigestSigner, or as diagnostics, p as makeHoldingsMethods, pi as readInvocationObservation, pn as toTesterKind, pr as isBytes32, q as makeVerificationMethods, qn as ORGANIZATION_SETUP_REASONS, r as makeMeMethods, rn as isEcdsaSignatureHex, s as makeActivityMethods, sn as signerFailure, sr as AppIdSchema, t as executeIdentityProductObservation, ti as carryInvocationParentSpan, tn as causeChain, u as ConvexSmartAccountLayer, ui as observationRequestHeaders, un as makeClientRequestMethods, vi as toAllowedOrigin, wi as detectAuthCacheAdapter, wn as stampTelemetryEnvelope, xn as CLI_COMMAND_NAMES, xr as EpochMsSchema, yn as redactTelemetryProps, zi as isCapxulError, zr as askIdentity, zt as failureEvidenceProps } from "./access-DUmQPXVl.mjs";
|
|
3
3
|
import { Cause, Clock, Context, Data, Deferred, Duration, Effect, Exit, FiberSet, Layer, Logger, Metric, Option, Predicate, References, Result, Schedule, Schema, SchemaIssue, SchemaParser, Scope, Stream, Tracer } from "effect";
|
|
4
4
|
import { getFunctionName } from "convex/server";
|
|
5
5
|
import { keccak256, stringToHex } from "viem";
|
package/dist/testing/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ao as TelemetryIdentifyInput, Mo as TelemetryPortEvent, R as CapxulClient, T as OpenfortBrowserSignerOptions, Vo as ObservationAdapter, Xo as CapxulResult, at as IdentityTransition, ba as CapxulSigner, c as CapxulClientInput, jo as TelemetryEvent, ko as TelemetryGroupInput, ro as OrganizationSetup } from "../index-
|
|
1
|
+
import { Ao as TelemetryIdentifyInput, Mo as TelemetryPortEvent, R as CapxulClient, T as OpenfortBrowserSignerOptions, Vo as ObservationAdapter, Xo as CapxulResult, at as IdentityTransition, ba as CapxulSigner, c as CapxulClientInput, jo as TelemetryEvent, ko as TelemetryGroupInput, ro as OrganizationSetup } from "../index-DtFIxdqJ.mjs";
|
|
2
2
|
import { Effect, Layer } from "effect";
|
|
3
3
|
//#region src/platform/production-client.d.ts
|
|
4
4
|
/** Per-client signing controls; only the testing entry exposes these to consumers. */
|
package/dist/testing/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ai as toDurationMs, D as convexCallErrorFromCapxul, Dt as deriveCapxulSafeAddress, Ei as InMemoryAuthCacheAdapter, Fi as toJwtToken, Fr as toWeiAmount, Ii as toSessionToken, Ir as absurd, Li as Errors, Mi as toEpochSeconds, Ni as toAuthUserId, Nr as toAddress, Pi as toEmail, Pr as toChainId, Ri as CapxulError, Tt as CONFIGURED_MONEY_ASSETS, X as assetAmountFromRaw, Zn as toOrgId, _ as accountFromAccountPositions, _n as validateHandle, ai as ClockError, bi as toPublishableKey, dn as toCountryCode, dr as toAccountId, f as smartAccountErrorFromCapxul, fn as toKycTier, hn as toHandle, j as wireChainId, ji as toEpochMs, oi as ClockPortTag, si as readClockNow, tt as toRaw, vi as toAllowedOrigin, vn as redactTelemetryEvent, w as accountReadErrorFromCapxul, xi as authClientPortFromPromiseAdapter, yi as toAppId } from "../access-
|
|
2
|
-
import { a as cloneTelemetryEvent, c as identityErrorFromCapxul, l as bootstrapErrorFromCapxul, n as createCapxulClientWithSignerControls, o as cloneTelemetryProps, r as assembleCapxulClient, s as IdentityPortTag } from "../production-
|
|
1
|
+
import { Ai as toDurationMs, D as convexCallErrorFromCapxul, Dt as deriveCapxulSafeAddress, Ei as InMemoryAuthCacheAdapter, Fi as toJwtToken, Fr as toWeiAmount, Ii as toSessionToken, Ir as absurd, Li as Errors, Mi as toEpochSeconds, Ni as toAuthUserId, Nr as toAddress, Pi as toEmail, Pr as toChainId, Ri as CapxulError, Tt as CONFIGURED_MONEY_ASSETS, X as assetAmountFromRaw, Zn as toOrgId, _ as accountFromAccountPositions, _n as validateHandle, ai as ClockError, bi as toPublishableKey, dn as toCountryCode, dr as toAccountId, f as smartAccountErrorFromCapxul, fn as toKycTier, hn as toHandle, j as wireChainId, ji as toEpochMs, oi as ClockPortTag, si as readClockNow, tt as toRaw, vi as toAllowedOrigin, vn as redactTelemetryEvent, w as accountReadErrorFromCapxul, xi as authClientPortFromPromiseAdapter, yi as toAppId } from "../access-DUmQPXVl.mjs";
|
|
2
|
+
import { a as cloneTelemetryEvent, c as identityErrorFromCapxul, l as bootstrapErrorFromCapxul, n as createCapxulClientWithSignerControls, o as cloneTelemetryProps, r as assembleCapxulClient, s as IdentityPortTag } from "../production-C7WbsKZl.mjs";
|
|
3
3
|
import { Effect, Layer, Result, Semaphore } from "effect";
|
|
4
4
|
import { getFunctionName } from "convex/server";
|
|
5
5
|
//#region src/testing/production-client.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/sdk",
|
|
3
|
-
"version": "4.20.0-beta.
|
|
3
|
+
"version": "4.20.0-beta.34",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/Xelmar-tech/infrastructure.git",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"vite-plus": "1.0.0",
|
|
85
85
|
"vitest": "5.0.1",
|
|
86
86
|
"zodiac-roles-sdk": "2.22.2",
|
|
87
|
-
"@capxul/observability": "4.20.0-beta.
|
|
87
|
+
"@capxul/observability": "4.20.0-beta.34",
|
|
88
88
|
"@capxul/protocol": "0.2.0-beta.5",
|
|
89
89
|
"@capxul/typescript-config": "0.0.0"
|
|
90
90
|
},
|