@settlemint/dalp-cli 3.1.33-main.42933148621 → 3.1.33-main.42945608847

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.
@@ -10395,6 +10395,275 @@
10395
10395
  }
10396
10396
  ]
10397
10397
  },
10398
+ "bankRail/dailyReconciliationCreate": {
10399
+ "name": "bankRail/dailyReconciliationCreate",
10400
+ "method": "POST",
10401
+ "url": "/api/v2/bank-rail/connections/{connectionId}/daily-reconciliations",
10402
+ "summary": "Store a daily bank reconciliation version",
10403
+ "description": "Runs a closed civil date using the connection's pinned report cutoff, the latest retained balance report at or before it and current indexed token facts at a stable drained block. Equal report and block pins return the existing version; either older axis refuses with evidence-older; a higher pin with neither axis lower creates another immutable version. date-not-closed refuses an open date and cutoff-unavailable refuses an ambiguous or missing local cutoff instant. Missing evidence or an unreadable connection reconciliation case count is stored with unavailableReasons, never invented as zero. Requires the bank rail manager role on the token's chain. The worker retries the last three closed dates every five minutes, including suspended connections, and warns once if an unavailable day leaves that window.",
10404
+ "help": "Runs a closed civil date using the connection's pinned report cutoff, the latest retained balance report at or before it and current indexed token facts at a stable drained block. Equal report and block pins return the existing version; either older axis refuses with evidence-older; a higher pin with neither axis lower creates another immutable version. date-not-closed refuses an open date and cutoff-unavailable refuses an ambiguous or missing local cutoff instant. Missing evidence or an unreadable connection reconciliation case count is stored with unavailableReasons, never invented as zero. Requires the bank rail manager role on the token's chain. The worker retries the last three closed dates every five minutes, including suspended connections, and warns once if an unavailable day leaves that window.",
10405
+ "tags": [
10406
+ "Bank rail"
10407
+ ],
10408
+ "pathParams": [
10409
+ {
10410
+ "name": "connectionId",
10411
+ "in": "path",
10412
+ "required": true,
10413
+ "description": null,
10414
+ "type": "string",
10415
+ "enum": null,
10416
+ "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})$",
10417
+ "examples": [],
10418
+ "fields": []
10419
+ }
10420
+ ],
10421
+ "queryParams": [],
10422
+ "headerParams": [
10423
+ {
10424
+ "name": "Idempotency-Key",
10425
+ "in": "header",
10426
+ "required": false,
10427
+ "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.",
10428
+ "type": "string",
10429
+ "enum": null,
10430
+ "pattern": null,
10431
+ "examples": [],
10432
+ "fields": []
10433
+ }
10434
+ ],
10435
+ "requestBodyDescription": null,
10436
+ "hasRequestBody": true,
10437
+ "bodyIsComplex": false,
10438
+ "bodyFields": [
10439
+ {
10440
+ "name": "date",
10441
+ "in": "query",
10442
+ "required": true,
10443
+ "description": null,
10444
+ "type": "string",
10445
+ "enum": null,
10446
+ "pattern": null,
10447
+ "examples": [],
10448
+ "fields": []
10449
+ }
10450
+ ],
10451
+ "examples": [
10452
+ {
10453
+ "description": "Runs a closed civil date using the connection's pinned report cutoff, the latest retained balance report at or before it and current indexed token facts at a stable drained block. Equal report and block pins return the existing version; either older axis refuses with evidence-older; a higher pin with neither axis lower creates another immutable version. date-not-closed refuses an open date and cutoff-unavailable refuses an ambiguous or missing local cutoff instant. Missing evidence or an unreadable connection reconciliation case count is stored with unavailableReasons, never invented as zero. Requires the bank rail manager role on the token's chain. The worker retries the last three closed dates every five minutes, including suspended connections, and warns once if an unavailable day leaves that window.",
10454
+ "path": {
10455
+ "connectionId": "<connectionId>"
10456
+ }
10457
+ }
10458
+ ]
10459
+ },
10460
+ "bankRail/dailyReconciliationVersionRead": {
10461
+ "name": "bankRail/dailyReconciliationVersionRead",
10462
+ "method": "GET",
10463
+ "url": "/api/v2/bank-rail/connections/{connectionId}/daily-reconciliations/{date}",
10464
+ "summary": "Read or export a stored daily bank reconciliation",
10465
+ "description": "Reads the latest immutable version for this connection date, or the positive version number named by version. format=csv returns filename, contentType text/csv and csv with every amount under its term name, blank unavailable values and escaped spreadsheet-formula text. openReconciliationCases is the distinct unresolved connection reconciliation case count at runAt. Rereading or exporting a stored version preserves its values and CSV bytes. A missing date or version returns 404. The indexed block pin describes current facts read at run time, not historical chain state at the day's cutoff. Requires the bank rail manager role.",
10466
+ "help": "Reads the latest immutable version for this connection date, or the positive version number named by version. format=csv returns filename, contentType text/csv and csv with every amount under its term name, blank unavailable values and escaped spreadsheet-formula text. openReconciliationCases is the distinct unresolved connection reconciliation case count at runAt. Rereading or exporting a stored version preserves its values and CSV bytes. A missing date or version returns 404. The indexed block pin describes current facts read at run time, not historical chain state at the day's cutoff. Requires the bank rail manager role.",
10467
+ "tags": [
10468
+ "Bank rail"
10469
+ ],
10470
+ "pathParams": [
10471
+ {
10472
+ "name": "connectionId",
10473
+ "in": "path",
10474
+ "required": true,
10475
+ "description": null,
10476
+ "type": "string",
10477
+ "enum": null,
10478
+ "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})$",
10479
+ "examples": [],
10480
+ "fields": []
10481
+ },
10482
+ {
10483
+ "name": "date",
10484
+ "in": "path",
10485
+ "required": true,
10486
+ "description": null,
10487
+ "type": "string",
10488
+ "enum": null,
10489
+ "pattern": null,
10490
+ "examples": [],
10491
+ "fields": []
10492
+ }
10493
+ ],
10494
+ "queryParams": [
10495
+ {
10496
+ "name": "version",
10497
+ "in": "query",
10498
+ "required": false,
10499
+ "description": null,
10500
+ "type": "string",
10501
+ "enum": null,
10502
+ "pattern": null,
10503
+ "examples": [],
10504
+ "fields": []
10505
+ },
10506
+ {
10507
+ "name": "format",
10508
+ "in": "query",
10509
+ "required": false,
10510
+ "description": null,
10511
+ "type": "string",
10512
+ "enum": [
10513
+ "csv"
10514
+ ],
10515
+ "pattern": null,
10516
+ "examples": [
10517
+ "csv"
10518
+ ],
10519
+ "fields": []
10520
+ }
10521
+ ],
10522
+ "headerParams": [],
10523
+ "requestBodyDescription": null,
10524
+ "hasRequestBody": false,
10525
+ "bodyIsComplex": false,
10526
+ "bodyFields": [],
10527
+ "examples": [
10528
+ {
10529
+ "description": "Reads the latest immutable version for this connection date, or the positive version number named by version. format=csv returns filename, contentType text/csv and csv with every amount under its term name, blank unavailable values and escaped spreadsheet-formula text. openReconciliationCases is the distinct unresolved connection reconciliation case count at runAt. Rereading or exporting a stored version preserves its values and CSV bytes. A missing date or version returns 404. The indexed block pin describes current facts read at run time, not historical chain state at the day's cutoff. Requires the bank rail manager role.",
10530
+ "path": {
10531
+ "connectionId": "<connectionId>",
10532
+ "date": "<date>"
10533
+ },
10534
+ "query": {
10535
+ "format": "csv"
10536
+ }
10537
+ }
10538
+ ]
10539
+ },
10540
+ "bankRail/dailyReconciliationsList": {
10541
+ "name": "bankRail/dailyReconciliationsList",
10542
+ "method": "GET",
10543
+ "url": "/api/v2/bank-rail/connections/{connectionId}/daily-reconciliations",
10544
+ "summary": "List stored daily bank reconciliations",
10545
+ "description": "Returns the latest immutable version per date for this connection in the active organisation. filter[from] and filter[through] bound an inclusive civil-date range; sort=date orders oldest first and sort=-date orders newest first. page[limit] and page[offset] page through the stored dates. Each result carries the report cutoff and evidence pins, both reconciliation lines, overdue counts and the distinct unresolved reconciliation case subjects of the connection, its token links and daily reports at runAt. An unavailable case count is null and adds an unavailable reason. Requires the bank rail manager role.",
10546
+ "help": "Returns the latest immutable version per date for this connection in the active organisation. filter[from] and filter[through] bound an inclusive civil-date range; sort=date orders oldest first and sort=-date orders newest first. page[limit] and page[offset] page through the stored dates. Each result carries the report cutoff and evidence pins, both reconciliation lines, overdue counts and the distinct unresolved reconciliation case subjects of the connection, its token links and daily reports at runAt. An unavailable case count is null and adds an unavailable reason. Requires the bank rail manager role.",
10547
+ "tags": [
10548
+ "Bank rail"
10549
+ ],
10550
+ "pathParams": [
10551
+ {
10552
+ "name": "connectionId",
10553
+ "in": "path",
10554
+ "required": true,
10555
+ "description": null,
10556
+ "type": "string",
10557
+ "enum": null,
10558
+ "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})$",
10559
+ "examples": [],
10560
+ "fields": []
10561
+ }
10562
+ ],
10563
+ "queryParams": [
10564
+ {
10565
+ "name": "filter",
10566
+ "in": "query",
10567
+ "required": false,
10568
+ "description": null,
10569
+ "type": "object",
10570
+ "enum": null,
10571
+ "pattern": null,
10572
+ "examples": [],
10573
+ "fields": [
10574
+ {
10575
+ "name": "from",
10576
+ "in": "query",
10577
+ "required": false,
10578
+ "description": null,
10579
+ "type": "string",
10580
+ "enum": null,
10581
+ "pattern": null,
10582
+ "examples": [],
10583
+ "fields": []
10584
+ },
10585
+ {
10586
+ "name": "through",
10587
+ "in": "query",
10588
+ "required": false,
10589
+ "description": null,
10590
+ "type": "string",
10591
+ "enum": null,
10592
+ "pattern": null,
10593
+ "examples": [],
10594
+ "fields": []
10595
+ }
10596
+ ]
10597
+ },
10598
+ {
10599
+ "name": "page",
10600
+ "in": "query",
10601
+ "required": false,
10602
+ "description": "JSON:API page window. Send `page[offset]` (first item index, from 0; a deep offset costs more, so a list that returns `meta.nextCursor` is better read with `page[cursor]`) and `page[limit]` (page size, 1-200, default 50). The response `links` object repeats these query parameters.",
10603
+ "type": "object",
10604
+ "enum": null,
10605
+ "pattern": null,
10606
+ "examples": [],
10607
+ "fields": [
10608
+ {
10609
+ "name": "offset",
10610
+ "in": "query",
10611
+ "required": false,
10612
+ "description": null,
10613
+ "type": "number",
10614
+ "enum": null,
10615
+ "pattern": null,
10616
+ "examples": [],
10617
+ "fields": []
10618
+ },
10619
+ {
10620
+ "name": "limit",
10621
+ "in": "query",
10622
+ "required": false,
10623
+ "description": null,
10624
+ "type": "number",
10625
+ "enum": null,
10626
+ "pattern": null,
10627
+ "examples": [],
10628
+ "fields": []
10629
+ }
10630
+ ]
10631
+ },
10632
+ {
10633
+ "name": "sort",
10634
+ "in": "query",
10635
+ "required": false,
10636
+ "description": null,
10637
+ "type": "string",
10638
+ "enum": [
10639
+ "date",
10640
+ "-date"
10641
+ ],
10642
+ "pattern": null,
10643
+ "examples": [
10644
+ "date",
10645
+ "-date"
10646
+ ],
10647
+ "fields": []
10648
+ }
10649
+ ],
10650
+ "headerParams": [],
10651
+ "requestBodyDescription": null,
10652
+ "hasRequestBody": false,
10653
+ "bodyIsComplex": false,
10654
+ "bodyFields": [],
10655
+ "examples": [
10656
+ {
10657
+ "description": "Returns the latest immutable version per date for this connection in the active organisation. filter[from] and filter[through] bound an inclusive civil-date range; sort=date orders oldest first and sort=-date orders newest first. page[limit] and page[offset] page through the stored dates. Each result carries the report cutoff and evidence pins, both reconciliation lines, overdue counts and the distinct unresolved reconciliation case subjects of the connection, its token links and daily reports at runAt. An unavailable case count is null and adds an unavailable reason. Requires the bank rail manager role.",
10658
+ "path": {
10659
+ "connectionId": "<connectionId>"
10660
+ },
10661
+ "query": {
10662
+ "sort": "date"
10663
+ }
10664
+ }
10665
+ ]
10666
+ },
10398
10667
  "bankRail/participantBankAccountCreate": {
10399
10668
  "name": "bankRail/participantBankAccountCreate",
10400
10669
  "method": "POST",
@@ -27294,7 +27563,7 @@
27294
27563
  "description": null,
27295
27564
  "type": "string",
27296
27565
  "enum": null,
27297
- "pattern": null,
27566
+ "pattern": "^\\s*\\S(?:[\\s\\S]{0,498}\\S)?\\s*$",
27298
27567
  "examples": [],
27299
27568
  "fields": []
27300
27569
  }
@@ -31808,8 +32077,8 @@
31808
32077
  "method": "POST",
31809
32078
  "url": "/api/v2/users",
31810
32079
  "summary": "Create a user",
31811
- "description": "Creates a user in the active organization, provisions a managed custody account with the selected provider configuration, and deploys an identity contract. Identity registration is a separate step. A 200 means the custody account settled and is usable. When the managed custody account is still settling (for example awaiting account-abstraction reconciliation or an approval), the user is created but the response is 202 with the lifecycle `requestId`, its `state`, and a `statusUrl` to poll until the state is terminal. `email` must be unique in the organization. Send `walletVerification` when the calling wallet is protected by a code. An email another member already holds returns 409.",
31812
- "help": "Creates a user in the active organization, provisions a managed custody account with the selected provider configuration, and deploys an identity contract. Identity registration is a separate step. A 200 means the custody account settled and is usable. When the managed custody account is still settling (for example awaiting account-abstraction reconciliation or an approval), the user is created but the response is 202 with the lifecycle `requestId`, its `state`, and a `statusUrl` to poll until the state is terminal. `email` must be unique in the organization. Send `walletVerification` when the calling wallet is protected by a code. An email another member already holds returns 409.",
32080
+ "description": "Creates a user in the active organization, provisions a managed custody account with the selected provider configuration, and deploys an identity contract. Identity registration is a separate step. A 200 means the custody account settled and is usable. When the managed custody account is still settling (for example awaiting account-abstraction reconciliation or an approval), the user is created but the response is 202 with the lifecycle `requestId`, its `state`, and a `statusUrl` to poll until the state is terminal. `email` must be unique across the platform, not only in the organization: an email that any existing user holds, in this or another organization, returns 409. Send `walletVerification` when the calling wallet is protected by a code.",
32081
+ "help": "Creates a user in the active organization, provisions a managed custody account with the selected provider configuration, and deploys an identity contract. Identity registration is a separate step. A 200 means the custody account settled and is usable. When the managed custody account is still settling (for example awaiting account-abstraction reconciliation or an approval), the user is created but the response is 202 with the lifecycle `requestId`, its `state`, and a `statusUrl` to poll until the state is terminal. `email` must be unique across the platform, not only in the organization: an email that any existing user holds, in this or another organization, returns 409. Send `walletVerification` when the calling wallet is protected by a code.",
31813
32082
  "tags": [
31814
32083
  "Users"
31815
32084
  ],
@@ -34283,7 +34552,7 @@
34283
34552
  "description": null,
34284
34553
  "type": "string",
34285
34554
  "enum": null,
34286
- "pattern": null,
34555
+ "pattern": "^\\s*\\S(?:[\\s\\S]{0,498}\\S)?\\s*$",
34287
34556
  "examples": [],
34288
34557
  "fields": []
34289
34558
  }
@@ -35774,7 +36043,7 @@
35774
36043
  "description": null,
35775
36044
  "type": "string",
35776
36045
  "enum": null,
35777
- "pattern": null,
36046
+ "pattern": "^\\s*\\S(?:[\\s\\S]{0,30}\\S)?\\s*$",
35778
36047
  "examples": [],
35779
36048
  "fields": []
35780
36049
  },
@@ -37956,7 +38225,7 @@
37956
38225
  "description": null,
37957
38226
  "type": "string",
37958
38227
  "enum": null,
37959
- "pattern": null,
38228
+ "pattern": "^\\s*\\S(?:[\\s\\S]{0,253}\\S)?\\s*$",
37960
38229
  "examples": [],
37961
38230
  "fields": []
37962
38231
  },
@@ -38373,7 +38642,7 @@
38373
38642
  "description": null,
38374
38643
  "type": "string",
38375
38644
  "enum": null,
38376
- "pattern": null,
38645
+ "pattern": "^\\s*\\S(?:[\\s\\S]{0,253}\\S)?\\s*$",
38377
38646
  "examples": [],
38378
38647
  "fields": []
38379
38648
  },
@@ -45714,10 +45983,10 @@
45714
45983
  "name": "note",
45715
45984
  "in": "query",
45716
45985
  "required": false,
45717
- "description": null,
45986
+ "description": "Free text of 1 to 500 characters. Surrounding whitespace is removed and does not count.",
45718
45987
  "type": "string",
45719
45988
  "enum": null,
45720
- "pattern": null,
45989
+ "pattern": "^\\s*\\S(?:[\\s\\S]{0,498}\\S)?\\s*$",
45721
45990
  "examples": [],
45722
45991
  "fields": []
45723
45992
  }
@@ -78441,8 +78710,8 @@
78441
78710
  "method": "GET",
78442
78711
  "url": "/api/v2/transaction-requests/{transactionId}/stream",
78443
78712
  "summary": "Stream transaction-request status",
78444
- "description": "Opens an SSE stream of the indexed queue row for `transactionId`. Browser callers must be same-origin or the route answers 404 before any event. The 200 body starts with the current snapshot, then emits again only when `status`, `subStatus`, `transactionHash`, or `errorMessage` changes. The stream ends on COMPLETED, FAILED, DEAD_LETTER, or CANCELLED, or after 180 seconds while still in flight.",
78445
- "help": "Opens an SSE stream of the indexed queue row for `transactionId`. Browser callers must be same-origin or the route answers 404 before any event. The 200 body starts with the current snapshot, then emits again only when `status`, `subStatus`, `transactionHash`, or `errorMessage` changes. The stream ends on COMPLETED, FAILED, DEAD_LETTER, or CANCELLED, or after 180 seconds while still in flight.",
78713
+ "description": "Opens an SSE stream of the indexed queue row for `transactionId`. Browser callers must be same-origin or the route answers 404 before any event. The 200 body starts with the current snapshot, then emits again only when the row's state changes, such as `status`, `subStatus`, `transactionHash`, `errorMessage`, or `mayStillLand`. The stream ends on COMPLETED, FAILED, or CANCELLED, and on DEAD_LETTER once `mayStillLand` is not `true`. A DEAD_LETTER row with `mayStillLand: true` can still reach the chain, so the stream stays open. The stream also ends after 180 seconds while the request is still in flight.",
78714
+ "help": "Opens an SSE stream of the indexed queue row for `transactionId`. Browser callers must be same-origin or the route answers 404 before any event. The 200 body starts with the current snapshot, then emits again only when the row's state changes, such as `status`, `subStatus`, `transactionHash`, `errorMessage`, or `mayStillLand`. The stream ends on COMPLETED, FAILED, or CANCELLED, and on DEAD_LETTER once `mayStillLand` is not `true`. A DEAD_LETTER row with `mayStillLand: true` can still reach the chain, so the stream stays open. The stream also ends after 180 seconds while the request is still in flight.",
78446
78715
  "tags": [
78447
78716
  "Transactions"
78448
78717
  ],
@@ -78467,7 +78736,7 @@
78467
78736
  "bodyFields": [],
78468
78737
  "examples": [
78469
78738
  {
78470
- "description": "Opens an SSE stream of the indexed queue row for `transactionId`. Browser callers must be same-origin or the route answers 404 before any event. The 200 body starts with the current snapshot, then emits again only when `status`, `subStatus`, `transactionHash`, or `errorMessage` changes. The stream ends on COMPLETED, FAILED, DEAD_LETTER, or CANCELLED, or after 180 seconds while still in flight.",
78739
+ "description": "Opens an SSE stream of the indexed queue row for `transactionId`. Browser callers must be same-origin or the route answers 404 before any event. The 200 body starts with the current snapshot, then emits again only when the row's state changes, such as `status`, `subStatus`, `transactionHash`, `errorMessage`, or `mayStillLand`. The stream ends on COMPLETED, FAILED, or CANCELLED, and on DEAD_LETTER once `mayStillLand` is not `true`. A DEAD_LETTER row with `mayStillLand: true` can still reach the chain, so the stream stays open. The stream also ends after 180 seconds while the request is still in flight.",
78471
78740
  "path": {
78472
78741
  "transactionId": "<transactionId>"
78473
78742
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.33-main.42933148621",
3
+ "version": "3.1.33-main.42945608847",
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",
@@ -50,14 +50,14 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@modelcontextprotocol/server": "2.4.0",
53
- "@settlemint/dalp-sdk": "3.1.33-main.42933148621",
53
+ "@settlemint/dalp-sdk": "3.1.33-main.42945608847",
54
54
  "incur": "0.7.1",
55
55
  "zod": "4.6.7"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@arethetypeswrong/cli": "0.18.5",
59
- "@testkit/effect-bun-test": "3.1.33-main.42933148621",
60
- "@tools/typescript-config": "3.1.33-main.42933148621",
59
+ "@testkit/effect-bun-test": "3.1.33-main.42945608847",
60
+ "@tools/typescript-config": "3.1.33-main.42945608847",
61
61
  "@types/bun": "1.4.4",
62
62
  "publint": "0.3.25"
63
63
  },