@settlemint/dalp-cli 3.1.32-main.42187519164 → 3.1.32-main.42202049300
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.
|
@@ -10614,13 +10614,104 @@
|
|
|
10614
10614
|
}
|
|
10615
10615
|
]
|
|
10616
10616
|
},
|
|
10617
|
+
"bankRail/recallDecision": {
|
|
10618
|
+
"name": "bankRail/recallDecision",
|
|
10619
|
+
"method": "POST",
|
|
10620
|
+
"url": "/api/v2/bank-rail/connections/{connectionId}/recalls/{recallId}/decisions",
|
|
10621
|
+
"summary": "Approve or reject a credit recall's request",
|
|
10622
|
+
"description": "Approves or rejects the recall's open request. The approval id must name the request shown on the recall, and the manager who asked cannot decide it. Approving `execute` recomputes what the request bound and refuses `recall-stale` when it changed, returning the recall to `received`; otherwise the rail cancels an unminted credit, burns or books back suspense, waits for a custodian's forced transfer (`clawing`) or books the correction. Approving `abandon` closes the recall. Rejecting returns the recall to `received`. Repeating the same decision returns the stored recall.",
|
|
10623
|
+
"help": "Approves or rejects the recall's open request. The approval id must name the request shown on the recall, and the manager who asked cannot decide it. Approving `execute` recomputes what the request bound and refuses `recall-stale` when it changed, returning the recall to `received`; otherwise the rail cancels an unminted credit, burns or books back suspense, waits for a custodian's forced transfer (`clawing`) or books the correction. Approving `abandon` closes the recall. Rejecting returns the recall to `received`. Repeating the same decision returns the stored recall.",
|
|
10624
|
+
"tags": [
|
|
10625
|
+
"Bank rail"
|
|
10626
|
+
],
|
|
10627
|
+
"pathParams": [
|
|
10628
|
+
{
|
|
10629
|
+
"name": "connectionId",
|
|
10630
|
+
"in": "path",
|
|
10631
|
+
"required": true,
|
|
10632
|
+
"description": null,
|
|
10633
|
+
"type": "string",
|
|
10634
|
+
"enum": null,
|
|
10635
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
10636
|
+
"examples": [],
|
|
10637
|
+
"fields": []
|
|
10638
|
+
},
|
|
10639
|
+
{
|
|
10640
|
+
"name": "recallId",
|
|
10641
|
+
"in": "path",
|
|
10642
|
+
"required": true,
|
|
10643
|
+
"description": null,
|
|
10644
|
+
"type": "string",
|
|
10645
|
+
"enum": null,
|
|
10646
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
10647
|
+
"examples": [],
|
|
10648
|
+
"fields": []
|
|
10649
|
+
}
|
|
10650
|
+
],
|
|
10651
|
+
"queryParams": [],
|
|
10652
|
+
"headerParams": [
|
|
10653
|
+
{
|
|
10654
|
+
"name": "Idempotency-Key",
|
|
10655
|
+
"in": "header",
|
|
10656
|
+
"required": false,
|
|
10657
|
+
"description": "Retry key for one mutation. Reuse it only for the same method, path, and body on a route that documents replay safety. If omitted, the platform generates a UUIDv7 key; replay-safe writes echo it in the `Idempotency-Key` response header. A lost response still requires status reconciliation.",
|
|
10658
|
+
"type": "string",
|
|
10659
|
+
"enum": null,
|
|
10660
|
+
"pattern": null,
|
|
10661
|
+
"examples": [],
|
|
10662
|
+
"fields": []
|
|
10663
|
+
}
|
|
10664
|
+
],
|
|
10665
|
+
"requestBodyDescription": "A checker's decision on the recall's open request. Approve recomputes what the request bound and refuses recall-stale when it changed; reject returns the recall to received. The requester cannot decide it.",
|
|
10666
|
+
"hasRequestBody": true,
|
|
10667
|
+
"bodyIsComplex": false,
|
|
10668
|
+
"bodyFields": [
|
|
10669
|
+
{
|
|
10670
|
+
"name": "action",
|
|
10671
|
+
"in": "query",
|
|
10672
|
+
"required": true,
|
|
10673
|
+
"description": null,
|
|
10674
|
+
"type": "string",
|
|
10675
|
+
"enum": [
|
|
10676
|
+
"approve",
|
|
10677
|
+
"reject"
|
|
10678
|
+
],
|
|
10679
|
+
"pattern": null,
|
|
10680
|
+
"examples": [
|
|
10681
|
+
"approve",
|
|
10682
|
+
"reject"
|
|
10683
|
+
],
|
|
10684
|
+
"fields": []
|
|
10685
|
+
},
|
|
10686
|
+
{
|
|
10687
|
+
"name": "approvalId",
|
|
10688
|
+
"in": "query",
|
|
10689
|
+
"required": true,
|
|
10690
|
+
"description": "The recall's open approval, from approval.approvalId.",
|
|
10691
|
+
"type": "string",
|
|
10692
|
+
"enum": null,
|
|
10693
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
10694
|
+
"examples": [],
|
|
10695
|
+
"fields": []
|
|
10696
|
+
}
|
|
10697
|
+
],
|
|
10698
|
+
"examples": [
|
|
10699
|
+
{
|
|
10700
|
+
"description": "Approves or rejects the recall's open request. The approval id must name the request shown on the recall, and the manager who asked cannot decide it. Approving `execute` recomputes what the request bound and refuses `recall-stale` when it changed, returning the recall to `received`; otherwise the rail cancels an unminted credit, burns or books back suspense, waits for a custodian's forced transfer (`clawing`) or books the correction. Approving `abandon` closes the recall. Rejecting returns the recall to `received`. Repeating the same decision returns the stored recall.",
|
|
10701
|
+
"path": {
|
|
10702
|
+
"connectionId": "<connectionId>",
|
|
10703
|
+
"recallId": "<recallId>"
|
|
10704
|
+
}
|
|
10705
|
+
}
|
|
10706
|
+
]
|
|
10707
|
+
},
|
|
10617
10708
|
"bankRail/recallRead": {
|
|
10618
10709
|
"name": "bankRail/recallRead",
|
|
10619
10710
|
"method": "GET",
|
|
10620
10711
|
"url": "/api/v2/bank-rail/connections/{connectionId}/recalls/{recallId}",
|
|
10621
10712
|
"summary": "Read a credit recall",
|
|
10622
|
-
"description": "Returns one recall on the connection: the credit the bank reversed, the bank's reversal id, the amount it reversed and the
|
|
10623
|
-
"help": "Returns one recall on the connection: the credit the bank reversed, the bank's reversal id, the amount it reversed and the
|
|
10713
|
+
"description": "Returns one recall on the connection: the credit the bank reversed, the bank's reversal id, the amount it reversed, the recall's state and open request, the forced transfers recorded against it, and, while it is clawing, what the target wallet still holds free and on the rail's escrow.",
|
|
10714
|
+
"help": "Returns one recall on the connection: the credit the bank reversed, the bank's reversal id, the amount it reversed, the recall's state and open request, the forced transfers recorded against it, and, while it is clawing, what the target wallet still holds free and on the rail's escrow.",
|
|
10624
10715
|
"tags": [
|
|
10625
10716
|
"Bank rail"
|
|
10626
10717
|
],
|
|
@@ -10656,7 +10747,69 @@
|
|
|
10656
10747
|
"bodyFields": [],
|
|
10657
10748
|
"examples": [
|
|
10658
10749
|
{
|
|
10659
|
-
"description": "Returns one recall on the connection: the credit the bank reversed, the bank's reversal id, the amount it reversed and the
|
|
10750
|
+
"description": "Returns one recall on the connection: the credit the bank reversed, the bank's reversal id, the amount it reversed, the recall's state and open request, the forced transfers recorded against it, and, while it is clawing, what the target wallet still holds free and on the rail's escrow.",
|
|
10751
|
+
"path": {
|
|
10752
|
+
"connectionId": "<connectionId>",
|
|
10753
|
+
"recallId": "<recallId>"
|
|
10754
|
+
}
|
|
10755
|
+
}
|
|
10756
|
+
]
|
|
10757
|
+
},
|
|
10758
|
+
"bankRail/recallTransition": {
|
|
10759
|
+
"name": "bankRail/recallTransition",
|
|
10760
|
+
"method": "POST",
|
|
10761
|
+
"url": "/api/v2/bank-rail/connections/{connectionId}/recalls/{recallId}/transitions",
|
|
10762
|
+
"summary": "Request, abandon or record the claw of a credit recall",
|
|
10763
|
+
"description": "Transitions a recall. `request-execution` asks another bank rail manager to approve taking the tokens back; the recall names how (cancel, suspense, claw or book), the target wallet, the line it corrects and the most it may write down, and is refused when a blocker stands, such as a mint in flight or a live cash-out. `abandon` asks to close the recall without taking anything back. Each opens an approval and the recall waits in `awaiting-checker`. While the recall is `clawing`, `record-claw` records a custodian's forced transfer out of the target wallet by transaction hash and log index, and `close-claw` stops clawing so the rail burns what it recorded and writes down the rest. Not idempotent: repeat `record-claw` with the same transfer and the recall answers it unchanged; any other repeat is refused by the recall's state.",
|
|
10764
|
+
"help": "Transitions a recall. `request-execution` asks another bank rail manager to approve taking the tokens back; the recall names how (cancel, suspense, claw or book), the target wallet, the line it corrects and the most it may write down, and is refused when a blocker stands, such as a mint in flight or a live cash-out. `abandon` asks to close the recall without taking anything back. Each opens an approval and the recall waits in `awaiting-checker`. While the recall is `clawing`, `record-claw` records a custodian's forced transfer out of the target wallet by transaction hash and log index, and `close-claw` stops clawing so the rail burns what it recorded and writes down the rest. Not idempotent: repeat `record-claw` with the same transfer and the recall answers it unchanged; any other repeat is refused by the recall's state.",
|
|
10765
|
+
"tags": [
|
|
10766
|
+
"Bank rail"
|
|
10767
|
+
],
|
|
10768
|
+
"pathParams": [
|
|
10769
|
+
{
|
|
10770
|
+
"name": "connectionId",
|
|
10771
|
+
"in": "path",
|
|
10772
|
+
"required": true,
|
|
10773
|
+
"description": null,
|
|
10774
|
+
"type": "string",
|
|
10775
|
+
"enum": null,
|
|
10776
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
10777
|
+
"examples": [],
|
|
10778
|
+
"fields": []
|
|
10779
|
+
},
|
|
10780
|
+
{
|
|
10781
|
+
"name": "recallId",
|
|
10782
|
+
"in": "path",
|
|
10783
|
+
"required": true,
|
|
10784
|
+
"description": null,
|
|
10785
|
+
"type": "string",
|
|
10786
|
+
"enum": null,
|
|
10787
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
10788
|
+
"examples": [],
|
|
10789
|
+
"fields": []
|
|
10790
|
+
}
|
|
10791
|
+
],
|
|
10792
|
+
"queryParams": [],
|
|
10793
|
+
"headerParams": [
|
|
10794
|
+
{
|
|
10795
|
+
"name": "Idempotency-Key",
|
|
10796
|
+
"in": "header",
|
|
10797
|
+
"required": false,
|
|
10798
|
+
"description": "Retry key for one mutation. Reuse it only for the same method, path, and body on a route that documents replay safety. If omitted, the platform generates a UUIDv7 key; replay-safe writes echo it in the `Idempotency-Key` response header. A lost response still requires status reconciliation.",
|
|
10799
|
+
"type": "string",
|
|
10800
|
+
"enum": null,
|
|
10801
|
+
"pattern": null,
|
|
10802
|
+
"examples": [],
|
|
10803
|
+
"fields": []
|
|
10804
|
+
}
|
|
10805
|
+
],
|
|
10806
|
+
"requestBodyDescription": "request-execution asks another bank rail manager to approve taking the tokens back; it names what the rail will do and the most it may write down. abandon asks them to approve ending the recall without taking anything back, with your reason. record-claw counts a token custodian's forced transfer from the target into the rail wallet, made after the approval, while the recall is clawing; it is idempotent on the transfer. close-claw ends the clawing: the rail burns what was recorded and writes down the rest.",
|
|
10807
|
+
"hasRequestBody": true,
|
|
10808
|
+
"bodyIsComplex": true,
|
|
10809
|
+
"bodyFields": [],
|
|
10810
|
+
"examples": [
|
|
10811
|
+
{
|
|
10812
|
+
"description": "Transitions a recall. `request-execution` asks another bank rail manager to approve taking the tokens back; the recall names how (cancel, suspense, claw or book), the target wallet, the line it corrects and the most it may write down, and is refused when a blocker stands, such as a mint in flight or a live cash-out. `abandon` asks to close the recall without taking anything back. Each opens an approval and the recall waits in `awaiting-checker`. While the recall is `clawing`, `record-claw` records a custodian's forced transfer out of the target wallet by transaction hash and log index, and `close-claw` stops clawing so the rail burns what it recorded and writes down the rest. Not idempotent: repeat `record-claw` with the same transfer and the recall answers it unchanged; any other repeat is refused by the recall's state.",
|
|
10660
10813
|
"path": {
|
|
10661
10814
|
"connectionId": "<connectionId>",
|
|
10662
10815
|
"recallId": "<recallId>"
|
|
@@ -10702,7 +10855,7 @@
|
|
|
10702
10855
|
"name": "state",
|
|
10703
10856
|
"in": "query",
|
|
10704
10857
|
"required": false,
|
|
10705
|
-
"description": "received when the bank's reversal is recorded; the credit then neither mints nor retries. A recall ends recalled once the tokens are taken back or written down, or abandoned.",
|
|
10858
|
+
"description": "received when the bank's reversal is recorded; the credit then neither mints nor retries. awaiting-checker while another bank rail manager decides a request to execute or abandon it. approved while the rail cancels, books or burns, clawing while a token custodian force-transfers the client's tokens to the rail wallet, and burning while the rail wallet burns what was recorded or books it back. A recall ends recalled once the tokens are taken back or written down, or abandoned.",
|
|
10706
10859
|
"type": "string",
|
|
10707
10860
|
"enum": [
|
|
10708
10861
|
"received",
|
|
@@ -10867,7 +11020,7 @@
|
|
|
10867
11020
|
"name": "reason",
|
|
10868
11021
|
"in": "query",
|
|
10869
11022
|
"required": true,
|
|
10870
|
-
"description": "Why the bank's balance moved without a credit or redemption: a bank fee, interest the bank paid, a refund to a payer, the balance a token already had when it was linked
|
|
11023
|
+
"description": "Why the bank's balance moved without a credit or redemption: a bank fee, interest the bank paid, a refund to a payer, or the balance a token already had when it was linked.",
|
|
10871
11024
|
"type": "string",
|
|
10872
11025
|
"enum": [
|
|
10873
11026
|
"bank-fee",
|
|
@@ -22782,6 +22935,72 @@
|
|
|
22782
22935
|
"bodyFields": [],
|
|
22783
22936
|
"examples": []
|
|
22784
22937
|
},
|
|
22938
|
+
"opsStatus.outbound": {
|
|
22939
|
+
"name": "opsStatus.outbound",
|
|
22940
|
+
"method": "GET",
|
|
22941
|
+
"url": "/api/v2/platform-status/outbound",
|
|
22942
|
+
"summary": null,
|
|
22943
|
+
"description": null,
|
|
22944
|
+
"help": "opsStatus.outbound",
|
|
22945
|
+
"tags": [
|
|
22946
|
+
"Monitoring"
|
|
22947
|
+
],
|
|
22948
|
+
"pathParams": [],
|
|
22949
|
+
"queryParams": [],
|
|
22950
|
+
"headerParams": [],
|
|
22951
|
+
"requestBodyDescription": null,
|
|
22952
|
+
"hasRequestBody": false,
|
|
22953
|
+
"bodyIsComplex": false,
|
|
22954
|
+
"bodyFields": [],
|
|
22955
|
+
"examples": []
|
|
22956
|
+
},
|
|
22957
|
+
"opsStatus.outboundDetail": {
|
|
22958
|
+
"name": "opsStatus.outboundDetail",
|
|
22959
|
+
"method": "GET",
|
|
22960
|
+
"url": "/api/v2/platform-status/outbound/{subsystem}",
|
|
22961
|
+
"summary": null,
|
|
22962
|
+
"description": null,
|
|
22963
|
+
"help": "opsStatus.outboundDetail",
|
|
22964
|
+
"tags": [
|
|
22965
|
+
"Monitoring"
|
|
22966
|
+
],
|
|
22967
|
+
"pathParams": [
|
|
22968
|
+
{
|
|
22969
|
+
"name": "subsystem",
|
|
22970
|
+
"in": "path",
|
|
22971
|
+
"required": true,
|
|
22972
|
+
"description": null,
|
|
22973
|
+
"type": "string",
|
|
22974
|
+
"enum": [
|
|
22975
|
+
"email",
|
|
22976
|
+
"fix",
|
|
22977
|
+
"batch-jobs",
|
|
22978
|
+
"scheduled-jobs"
|
|
22979
|
+
],
|
|
22980
|
+
"pattern": null,
|
|
22981
|
+
"examples": [
|
|
22982
|
+
"email",
|
|
22983
|
+
"fix",
|
|
22984
|
+
"batch-jobs"
|
|
22985
|
+
],
|
|
22986
|
+
"fields": []
|
|
22987
|
+
}
|
|
22988
|
+
],
|
|
22989
|
+
"queryParams": [],
|
|
22990
|
+
"headerParams": [],
|
|
22991
|
+
"requestBodyDescription": null,
|
|
22992
|
+
"hasRequestBody": false,
|
|
22993
|
+
"bodyIsComplex": false,
|
|
22994
|
+
"bodyFields": [],
|
|
22995
|
+
"examples": [
|
|
22996
|
+
{
|
|
22997
|
+
"description": "opsStatus.outboundDetail",
|
|
22998
|
+
"path": {
|
|
22999
|
+
"subsystem": "email"
|
|
23000
|
+
}
|
|
23001
|
+
}
|
|
23002
|
+
]
|
|
23003
|
+
},
|
|
22785
23004
|
"opsStatus.platformStatus": {
|
|
22786
23005
|
"name": "opsStatus.platformStatus",
|
|
22787
23006
|
"method": "GET",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "3.1.32-main.
|
|
3
|
+
"version": "3.1.32-main.42202049300",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
6
6
|
"homepage": "https://settlemint.com",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"typecheck": "taskguard effect-tsgo tsrs --customConditions dalp-types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@settlemint/dalp-sdk": "3.1.32-main.
|
|
45
|
+
"@settlemint/dalp-sdk": "3.1.32-main.42202049300",
|
|
46
46
|
"incur": "0.7.1",
|
|
47
47
|
"zod": "4.6.7"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@arethetypeswrong/cli": "0.18.5",
|
|
51
|
-
"@testkit/effect-bun-test": "3.1.32-main.
|
|
52
|
-
"@tools/typescript-config": "3.1.32-main.
|
|
51
|
+
"@testkit/effect-bun-test": "3.1.32-main.42202049300",
|
|
52
|
+
"@tools/typescript-config": "3.1.32-main.42202049300",
|
|
53
53
|
"@types/bun": "1.4.4",
|
|
54
54
|
"publint": "0.3.25"
|
|
55
55
|
},
|