@settlemint/dalp-cli 3.1.32-main.42711181012 → 3.1.32-main.42729911515

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.
@@ -118,6 +118,74 @@
118
118
  ],
119
119
  "examples": []
120
120
  },
121
+ "accounting/accountingConfigurationRead": {
122
+ "name": "accounting/accountingConfigurationRead",
123
+ "method": "GET",
124
+ "url": "/api/v2/accounting/configuration",
125
+ "summary": "Read the accounting configuration",
126
+ "description": "Returns the newest posting configuration of the active organisation: its rule table, chart-of-accounts mapping and posting policy.",
127
+ "help": "Returns the newest posting configuration of the active organisation: its rule table, chart-of-accounts mapping and posting policy.",
128
+ "tags": [
129
+ "Accounting"
130
+ ],
131
+ "pathParams": [],
132
+ "queryParams": [],
133
+ "headerParams": [],
134
+ "requestBodyDescription": null,
135
+ "hasRequestBody": false,
136
+ "bodyIsComplex": false,
137
+ "bodyFields": [],
138
+ "examples": []
139
+ },
140
+ "accounting/accountingConfigurationWrite": {
141
+ "name": "accounting/accountingConfigurationWrite",
142
+ "method": "PUT",
143
+ "url": "/api/v2/accounting/configuration",
144
+ "summary": "Write the accounting configuration",
145
+ "description": "Stores a new immutable configuration version from an explicit rule table or the Finstreet preset. Send the version you read as expectedVersion, or null for the first one. Repeating a write whose content matches the current version returns that version and adds nothing.",
146
+ "help": "Stores a new immutable configuration version from an explicit rule table or the Finstreet preset. Send the version you read as expectedVersion, or null for the first one. Repeating a write whose content matches the current version returns that version and adds nothing.",
147
+ "tags": [
148
+ "Accounting"
149
+ ],
150
+ "pathParams": [],
151
+ "queryParams": [],
152
+ "headerParams": [
153
+ {
154
+ "name": "Idempotency-Key",
155
+ "in": "header",
156
+ "required": false,
157
+ "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.",
158
+ "type": "string",
159
+ "enum": null,
160
+ "pattern": null,
161
+ "examples": [],
162
+ "fields": []
163
+ }
164
+ ],
165
+ "requestBodyDescription": null,
166
+ "hasRequestBody": true,
167
+ "bodyIsComplex": true,
168
+ "bodyFields": [
169
+ {
170
+ "name": "postingPolicy",
171
+ "in": "query",
172
+ "required": false,
173
+ "description": null,
174
+ "type": "string",
175
+ "enum": [
176
+ "per-trade",
177
+ "daily-aggregate"
178
+ ],
179
+ "pattern": null,
180
+ "examples": [
181
+ "per-trade",
182
+ "daily-aggregate"
183
+ ],
184
+ "fields": []
185
+ }
186
+ ],
187
+ "examples": []
188
+ },
121
189
  "addons/escrow/escrowBalancesList": {
122
190
  "name": "addons/escrow/escrowBalancesList",
123
191
  "method": "GET",
@@ -28388,7 +28456,7 @@
28388
28456
  "name": "Prefer",
28389
28457
  "in": "header",
28390
28458
  "required": false,
28391
- "description": "RFC 7240 preference; separate directives with commas. Absent or `respond-async` answers 202 Accepted at once with the queued transaction's status URL. `wait` waits for settlement up to 99 seconds; `wait=N` waits up to N seconds, clamped to 5 through 99. Every wait also ends before the request deadline. A write that settles in time answers with its settled result; one that has not answers the same 202 as async. `Preference-Applied` echoes the directives honoured. Poll `Location` after 202 instead of resubmitting. `dalp-no-funding-pause` fails a transaction the chain refuses for gas at once, instead of pausing it until its wallet is funded.",
28459
+ "description": "RFC 7240 preference; separate directives with commas. Absent or `respond-async`, the write waits for its result for as long as the request deadline allows; `wait=N` waits up to N seconds, clamped to 5 through 99, and also ends before the request deadline. A write that finishes in time answers with its result; one that has not answers 202 Accepted with its status URL in `Location`. `Preference-Applied` echoes the directives honoured. Poll `Location` after 202 instead of resubmitting.",
28392
28460
  "type": "string",
28393
28461
  "enum": null,
28394
28462
  "pattern": null,
@@ -52390,6 +52458,91 @@
52390
52458
  }
52391
52459
  ]
52392
52460
  },
52461
+ "token/applyExcessRights": {
52462
+ "name": "token/applyExcessRights",
52463
+ "method": "POST",
52464
+ "url": "/api/v2/tokens/{assetId}/corporate-actions/{corporateActionId}/rights-excess-applications",
52465
+ "summary": null,
52466
+ "description": null,
52467
+ "help": "token/applyExcessRights",
52468
+ "tags": [
52469
+ "Corporate actions"
52470
+ ],
52471
+ "pathParams": [
52472
+ {
52473
+ "name": "assetId",
52474
+ "in": "path",
52475
+ "required": true,
52476
+ "description": null,
52477
+ "type": "string",
52478
+ "enum": null,
52479
+ "pattern": null,
52480
+ "examples": [],
52481
+ "fields": []
52482
+ },
52483
+ {
52484
+ "name": "corporateActionId",
52485
+ "in": "path",
52486
+ "required": true,
52487
+ "description": null,
52488
+ "type": "string",
52489
+ "enum": null,
52490
+ "pattern": null,
52491
+ "examples": [],
52492
+ "fields": []
52493
+ }
52494
+ ],
52495
+ "queryParams": [],
52496
+ "headerParams": [
52497
+ {
52498
+ "name": "Idempotency-Key",
52499
+ "in": "header",
52500
+ "required": false,
52501
+ "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.",
52502
+ "type": "string",
52503
+ "enum": null,
52504
+ "pattern": null,
52505
+ "examples": [],
52506
+ "fields": []
52507
+ },
52508
+ {
52509
+ "name": "Prefer",
52510
+ "in": "header",
52511
+ "required": false,
52512
+ "description": "RFC 7240 preference; separate directives with commas. Absent or `respond-async` answers 202 Accepted at once with the queued transaction's status URL. `wait` waits for settlement up to 99 seconds; `wait=N` waits up to N seconds, clamped to 5 through 99. Every wait also ends before the request deadline. A write that settles in time answers with its settled result; one that has not answers the same 202 as async. `Preference-Applied` echoes the directives honoured. Poll `Location` after 202 instead of resubmitting. `dalp-no-funding-pause` fails a transaction the chain refuses for gas at once, instead of pausing it until its wallet is funded.",
52513
+ "type": "string",
52514
+ "enum": null,
52515
+ "pattern": null,
52516
+ "examples": [],
52517
+ "fields": []
52518
+ }
52519
+ ],
52520
+ "requestBodyDescription": null,
52521
+ "hasRequestBody": true,
52522
+ "bodyIsComplex": true,
52523
+ "bodyFields": [
52524
+ {
52525
+ "name": "shares",
52526
+ "in": "query",
52527
+ "required": true,
52528
+ "description": null,
52529
+ "type": "string",
52530
+ "enum": null,
52531
+ "pattern": "^[0-9]+$",
52532
+ "examples": [],
52533
+ "fields": []
52534
+ }
52535
+ ],
52536
+ "examples": [
52537
+ {
52538
+ "description": "token/applyExcessRights",
52539
+ "path": {
52540
+ "assetId": "<assetId>",
52541
+ "corporateActionId": "<corporateActionId>"
52542
+ }
52543
+ }
52544
+ ]
52545
+ },
52393
52546
  "token/approve": {
52394
52547
  "name": "token/approve",
52395
52548
  "method": "POST",
@@ -74490,6 +74643,94 @@
74490
74643
  ],
74491
74644
  "examples": []
74492
74645
  },
74646
+ "tokenSaleV2.v2/addons/tokenSale/createPreflight": {
74647
+ "name": "tokenSaleV2.v2/addons/tokenSale/createPreflight",
74648
+ "method": "POST",
74649
+ "url": "/api/v2/addons/token-sales/preflights",
74650
+ "summary": null,
74651
+ "description": null,
74652
+ "help": "tokenSaleV2.v2/addons/tokenSale/createPreflight",
74653
+ "tags": [
74654
+ "Primary offerings"
74655
+ ],
74656
+ "pathParams": [],
74657
+ "queryParams": [],
74658
+ "headerParams": [],
74659
+ "requestBodyDescription": null,
74660
+ "hasRequestBody": true,
74661
+ "bodyIsComplex": true,
74662
+ "bodyFields": [
74663
+ {
74664
+ "name": "tokenAddress",
74665
+ "in": "query",
74666
+ "required": true,
74667
+ "description": "A valid Ethereum address (42 characters, starting with 0x)",
74668
+ "type": "string",
74669
+ "enum": null,
74670
+ "pattern": "^0x[a-fA-F0-9]{40}$",
74671
+ "examples": [
74672
+ "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
74673
+ ],
74674
+ "fields": []
74675
+ },
74676
+ {
74677
+ "name": "saleStart",
74678
+ "in": "query",
74679
+ "required": false,
74680
+ "description": null,
74681
+ "type": "integer",
74682
+ "enum": null,
74683
+ "pattern": null,
74684
+ "examples": [],
74685
+ "fields": []
74686
+ },
74687
+ {
74688
+ "name": "saleDuration",
74689
+ "in": "query",
74690
+ "required": true,
74691
+ "description": null,
74692
+ "type": "integer",
74693
+ "enum": null,
74694
+ "pattern": null,
74695
+ "examples": [],
74696
+ "fields": []
74697
+ },
74698
+ {
74699
+ "name": "hardCap",
74700
+ "in": "query",
74701
+ "required": true,
74702
+ "description": "Non-negative uint256 asset amount decoded to a bigint",
74703
+ "type": "string",
74704
+ "enum": null,
74705
+ "pattern": "^[0-9]+$",
74706
+ "examples": [],
74707
+ "fields": []
74708
+ },
74709
+ {
74710
+ "name": "softCap",
74711
+ "in": "query",
74712
+ "required": false,
74713
+ "description": "Non-negative uint256 asset amount decoded to a bigint",
74714
+ "type": "string",
74715
+ "enum": null,
74716
+ "pattern": "^[0-9]+$",
74717
+ "examples": [],
74718
+ "fields": []
74719
+ },
74720
+ {
74721
+ "name": "instrumentAdmin",
74722
+ "in": "query",
74723
+ "required": false,
74724
+ "description": null,
74725
+ "type": null,
74726
+ "enum": null,
74727
+ "pattern": null,
74728
+ "examples": [],
74729
+ "fields": []
74730
+ }
74731
+ ],
74732
+ "examples": []
74733
+ },
74493
74734
  "tokenSaleV2.v2/addons/tokenSale/currentTime": {
74494
74735
  "name": "tokenSaleV2.v2/addons/tokenSale/currentTime",
74495
74736
  "method": "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.32-main.42711181012",
3
+ "version": "3.1.32-main.42729911515",
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.32-main.42711181012",
53
+ "@settlemint/dalp-sdk": "3.1.32-main.42729911515",
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.32-main.42711181012",
60
- "@tools/typescript-config": "3.1.32-main.42711181012",
59
+ "@testkit/effect-bun-test": "3.1.32-main.42729911515",
60
+ "@tools/typescript-config": "3.1.32-main.42729911515",
61
61
  "@types/bun": "1.4.4",
62
62
  "publint": "0.3.25"
63
63
  },
@@ -118,6 +118,74 @@
118
118
  ],
119
119
  "examples": []
120
120
  },
121
+ "accounting/accountingConfigurationRead": {
122
+ "name": "accounting/accountingConfigurationRead",
123
+ "method": "GET",
124
+ "url": "/api/v2/accounting/configuration",
125
+ "summary": "Read the accounting configuration",
126
+ "description": "Returns the newest posting configuration of the active organisation: its rule table, chart-of-accounts mapping and posting policy.",
127
+ "help": "Returns the newest posting configuration of the active organisation: its rule table, chart-of-accounts mapping and posting policy.",
128
+ "tags": [
129
+ "Accounting"
130
+ ],
131
+ "pathParams": [],
132
+ "queryParams": [],
133
+ "headerParams": [],
134
+ "requestBodyDescription": null,
135
+ "hasRequestBody": false,
136
+ "bodyIsComplex": false,
137
+ "bodyFields": [],
138
+ "examples": []
139
+ },
140
+ "accounting/accountingConfigurationWrite": {
141
+ "name": "accounting/accountingConfigurationWrite",
142
+ "method": "PUT",
143
+ "url": "/api/v2/accounting/configuration",
144
+ "summary": "Write the accounting configuration",
145
+ "description": "Stores a new immutable configuration version from an explicit rule table or the Finstreet preset. Send the version you read as expectedVersion, or null for the first one. Repeating a write whose content matches the current version returns that version and adds nothing.",
146
+ "help": "Stores a new immutable configuration version from an explicit rule table or the Finstreet preset. Send the version you read as expectedVersion, or null for the first one. Repeating a write whose content matches the current version returns that version and adds nothing.",
147
+ "tags": [
148
+ "Accounting"
149
+ ],
150
+ "pathParams": [],
151
+ "queryParams": [],
152
+ "headerParams": [
153
+ {
154
+ "name": "Idempotency-Key",
155
+ "in": "header",
156
+ "required": false,
157
+ "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.",
158
+ "type": "string",
159
+ "enum": null,
160
+ "pattern": null,
161
+ "examples": [],
162
+ "fields": []
163
+ }
164
+ ],
165
+ "requestBodyDescription": null,
166
+ "hasRequestBody": true,
167
+ "bodyIsComplex": true,
168
+ "bodyFields": [
169
+ {
170
+ "name": "postingPolicy",
171
+ "in": "query",
172
+ "required": false,
173
+ "description": null,
174
+ "type": "string",
175
+ "enum": [
176
+ "per-trade",
177
+ "daily-aggregate"
178
+ ],
179
+ "pattern": null,
180
+ "examples": [
181
+ "per-trade",
182
+ "daily-aggregate"
183
+ ],
184
+ "fields": []
185
+ }
186
+ ],
187
+ "examples": []
188
+ },
121
189
  "addons/escrow/escrowBalancesList": {
122
190
  "name": "addons/escrow/escrowBalancesList",
123
191
  "method": "GET",
@@ -28388,7 +28456,7 @@
28388
28456
  "name": "Prefer",
28389
28457
  "in": "header",
28390
28458
  "required": false,
28391
- "description": "RFC 7240 preference; separate directives with commas. Absent or `respond-async` answers 202 Accepted at once with the queued transaction's status URL. `wait` waits for settlement up to 99 seconds; `wait=N` waits up to N seconds, clamped to 5 through 99. Every wait also ends before the request deadline. A write that settles in time answers with its settled result; one that has not answers the same 202 as async. `Preference-Applied` echoes the directives honoured. Poll `Location` after 202 instead of resubmitting. `dalp-no-funding-pause` fails a transaction the chain refuses for gas at once, instead of pausing it until its wallet is funded.",
28459
+ "description": "RFC 7240 preference; separate directives with commas. Absent or `respond-async`, the write waits for its result for as long as the request deadline allows; `wait=N` waits up to N seconds, clamped to 5 through 99, and also ends before the request deadline. A write that finishes in time answers with its result; one that has not answers 202 Accepted with its status URL in `Location`. `Preference-Applied` echoes the directives honoured. Poll `Location` after 202 instead of resubmitting.",
28392
28460
  "type": "string",
28393
28461
  "enum": null,
28394
28462
  "pattern": null,
@@ -52390,6 +52458,91 @@
52390
52458
  }
52391
52459
  ]
52392
52460
  },
52461
+ "token/applyExcessRights": {
52462
+ "name": "token/applyExcessRights",
52463
+ "method": "POST",
52464
+ "url": "/api/v2/tokens/{assetId}/corporate-actions/{corporateActionId}/rights-excess-applications",
52465
+ "summary": null,
52466
+ "description": null,
52467
+ "help": "token/applyExcessRights",
52468
+ "tags": [
52469
+ "Corporate actions"
52470
+ ],
52471
+ "pathParams": [
52472
+ {
52473
+ "name": "assetId",
52474
+ "in": "path",
52475
+ "required": true,
52476
+ "description": null,
52477
+ "type": "string",
52478
+ "enum": null,
52479
+ "pattern": null,
52480
+ "examples": [],
52481
+ "fields": []
52482
+ },
52483
+ {
52484
+ "name": "corporateActionId",
52485
+ "in": "path",
52486
+ "required": true,
52487
+ "description": null,
52488
+ "type": "string",
52489
+ "enum": null,
52490
+ "pattern": null,
52491
+ "examples": [],
52492
+ "fields": []
52493
+ }
52494
+ ],
52495
+ "queryParams": [],
52496
+ "headerParams": [
52497
+ {
52498
+ "name": "Idempotency-Key",
52499
+ "in": "header",
52500
+ "required": false,
52501
+ "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.",
52502
+ "type": "string",
52503
+ "enum": null,
52504
+ "pattern": null,
52505
+ "examples": [],
52506
+ "fields": []
52507
+ },
52508
+ {
52509
+ "name": "Prefer",
52510
+ "in": "header",
52511
+ "required": false,
52512
+ "description": "RFC 7240 preference; separate directives with commas. Absent or `respond-async` answers 202 Accepted at once with the queued transaction's status URL. `wait` waits for settlement up to 99 seconds; `wait=N` waits up to N seconds, clamped to 5 through 99. Every wait also ends before the request deadline. A write that settles in time answers with its settled result; one that has not answers the same 202 as async. `Preference-Applied` echoes the directives honoured. Poll `Location` after 202 instead of resubmitting. `dalp-no-funding-pause` fails a transaction the chain refuses for gas at once, instead of pausing it until its wallet is funded.",
52513
+ "type": "string",
52514
+ "enum": null,
52515
+ "pattern": null,
52516
+ "examples": [],
52517
+ "fields": []
52518
+ }
52519
+ ],
52520
+ "requestBodyDescription": null,
52521
+ "hasRequestBody": true,
52522
+ "bodyIsComplex": true,
52523
+ "bodyFields": [
52524
+ {
52525
+ "name": "shares",
52526
+ "in": "query",
52527
+ "required": true,
52528
+ "description": null,
52529
+ "type": "string",
52530
+ "enum": null,
52531
+ "pattern": "^[0-9]+$",
52532
+ "examples": [],
52533
+ "fields": []
52534
+ }
52535
+ ],
52536
+ "examples": [
52537
+ {
52538
+ "description": "token/applyExcessRights",
52539
+ "path": {
52540
+ "assetId": "<assetId>",
52541
+ "corporateActionId": "<corporateActionId>"
52542
+ }
52543
+ }
52544
+ ]
52545
+ },
52393
52546
  "token/approve": {
52394
52547
  "name": "token/approve",
52395
52548
  "method": "POST",
@@ -74490,6 +74643,94 @@
74490
74643
  ],
74491
74644
  "examples": []
74492
74645
  },
74646
+ "tokenSaleV2.v2/addons/tokenSale/createPreflight": {
74647
+ "name": "tokenSaleV2.v2/addons/tokenSale/createPreflight",
74648
+ "method": "POST",
74649
+ "url": "/api/v2/addons/token-sales/preflights",
74650
+ "summary": null,
74651
+ "description": null,
74652
+ "help": "tokenSaleV2.v2/addons/tokenSale/createPreflight",
74653
+ "tags": [
74654
+ "Primary offerings"
74655
+ ],
74656
+ "pathParams": [],
74657
+ "queryParams": [],
74658
+ "headerParams": [],
74659
+ "requestBodyDescription": null,
74660
+ "hasRequestBody": true,
74661
+ "bodyIsComplex": true,
74662
+ "bodyFields": [
74663
+ {
74664
+ "name": "tokenAddress",
74665
+ "in": "query",
74666
+ "required": true,
74667
+ "description": "A valid Ethereum address (42 characters, starting with 0x)",
74668
+ "type": "string",
74669
+ "enum": null,
74670
+ "pattern": "^0x[a-fA-F0-9]{40}$",
74671
+ "examples": [
74672
+ "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
74673
+ ],
74674
+ "fields": []
74675
+ },
74676
+ {
74677
+ "name": "saleStart",
74678
+ "in": "query",
74679
+ "required": false,
74680
+ "description": null,
74681
+ "type": "integer",
74682
+ "enum": null,
74683
+ "pattern": null,
74684
+ "examples": [],
74685
+ "fields": []
74686
+ },
74687
+ {
74688
+ "name": "saleDuration",
74689
+ "in": "query",
74690
+ "required": true,
74691
+ "description": null,
74692
+ "type": "integer",
74693
+ "enum": null,
74694
+ "pattern": null,
74695
+ "examples": [],
74696
+ "fields": []
74697
+ },
74698
+ {
74699
+ "name": "hardCap",
74700
+ "in": "query",
74701
+ "required": true,
74702
+ "description": "Non-negative uint256 asset amount decoded to a bigint",
74703
+ "type": "string",
74704
+ "enum": null,
74705
+ "pattern": "^[0-9]+$",
74706
+ "examples": [],
74707
+ "fields": []
74708
+ },
74709
+ {
74710
+ "name": "softCap",
74711
+ "in": "query",
74712
+ "required": false,
74713
+ "description": "Non-negative uint256 asset amount decoded to a bigint",
74714
+ "type": "string",
74715
+ "enum": null,
74716
+ "pattern": "^[0-9]+$",
74717
+ "examples": [],
74718
+ "fields": []
74719
+ },
74720
+ {
74721
+ "name": "instrumentAdmin",
74722
+ "in": "query",
74723
+ "required": false,
74724
+ "description": null,
74725
+ "type": null,
74726
+ "enum": null,
74727
+ "pattern": null,
74728
+ "examples": [],
74729
+ "fields": []
74730
+ }
74731
+ ],
74732
+ "examples": []
74733
+ },
74493
74734
  "tokenSaleV2.v2/addons/tokenSale/currentTime": {
74494
74735
  "name": "tokenSaleV2.v2/addons/tokenSale/currentTime",
74495
74736
  "method": "GET",