@settlemint/dalp-cli 3.1.32-main.42251724874 → 3.1.32-main.42270409922

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.
@@ -46,7 +46,7 @@
46
46
  "fields": []
47
47
  }
48
48
  ],
49
- "requestBodyDescription": "Proof that the account holder files the request: the password for an account that signs in with one, otherwise a transaction code (PIN, authenticator code or recovery code) in `walletVerification`.",
49
+ "requestBodyDescription": "Proof that the account holder files the request: the password for an account that signs in with one, otherwise a wallet factor (the transaction PIN, the transaction code, a recovery code or a code from the identity provider's authenticator) in `walletVerification`.",
50
50
  "hasRequestBody": true,
51
51
  "bodyIsComplex": true,
52
52
  "bodyFields": [],
@@ -26868,6 +26868,44 @@
26868
26868
  }
26869
26869
  ]
26870
26870
  },
26871
+ "party.multisigDrafts.readFinalize": {
26872
+ "name": "party.multisigDrafts.readFinalize",
26873
+ "method": "GET",
26874
+ "url": "/api/v2/multisig-finalize-requests/{requestId}",
26875
+ "summary": null,
26876
+ "description": null,
26877
+ "help": "party.multisigDrafts.readFinalize",
26878
+ "tags": [
26879
+ "Participants"
26880
+ ],
26881
+ "pathParams": [
26882
+ {
26883
+ "name": "requestId",
26884
+ "in": "path",
26885
+ "required": true,
26886
+ "description": null,
26887
+ "type": "string",
26888
+ "enum": null,
26889
+ "pattern": null,
26890
+ "examples": [],
26891
+ "fields": []
26892
+ }
26893
+ ],
26894
+ "queryParams": [],
26895
+ "headerParams": [],
26896
+ "requestBodyDescription": null,
26897
+ "hasRequestBody": false,
26898
+ "bodyIsComplex": false,
26899
+ "bodyFields": [],
26900
+ "examples": [
26901
+ {
26902
+ "description": "party.multisigDrafts.readFinalize",
26903
+ "path": {
26904
+ "requestId": "<requestId>"
26905
+ }
26906
+ }
26907
+ ]
26908
+ },
26871
26909
  "party.multisigDrafts.readInvite": {
26872
26910
  "name": "party.multisigDrafts.readInvite",
26873
26911
  "method": "GET",
@@ -44491,6 +44529,23 @@
44491
44529
  ],
44492
44530
  "fields": []
44493
44531
  },
44532
+ {
44533
+ "name": "kind",
44534
+ "in": "query",
44535
+ "required": false,
44536
+ "description": null,
44537
+ "type": "string",
44538
+ "enum": [
44539
+ "mutation",
44540
+ "sensitive-read"
44541
+ ],
44542
+ "pattern": null,
44543
+ "examples": [
44544
+ "mutation",
44545
+ "sensitive-read"
44546
+ ],
44547
+ "fields": []
44548
+ },
44494
44549
  {
44495
44550
  "name": "route",
44496
44551
  "in": "query",
@@ -44512,7 +44567,8 @@
44512
44567
  {
44513
44568
  "description": "reporting.trail.trailExport",
44514
44569
  "query": {
44515
- "actorChannel": "admin"
44570
+ "actorChannel": "admin",
44571
+ "kind": "mutation"
44516
44572
  }
44517
44573
  }
44518
44574
  ]
@@ -44687,6 +44743,23 @@
44687
44743
  ],
44688
44744
  "fields": []
44689
44745
  },
44746
+ {
44747
+ "name": "kind",
44748
+ "in": "query",
44749
+ "required": false,
44750
+ "description": null,
44751
+ "type": "string",
44752
+ "enum": [
44753
+ "mutation",
44754
+ "sensitive-read"
44755
+ ],
44756
+ "pattern": null,
44757
+ "examples": [
44758
+ "mutation",
44759
+ "sensitive-read"
44760
+ ],
44761
+ "fields": []
44762
+ },
44690
44763
  {
44691
44764
  "name": "route",
44692
44765
  "in": "query",
@@ -44730,7 +44803,8 @@
44730
44803
  {
44731
44804
  "description": "Returns recorded actions across every organization, including platform-administration rows that belong to none. Requires platform administration, and the access is itself recorded: a cross-organization read of the audit trail is the most sensitive read on the platform.",
44732
44805
  "query": {
44733
- "actorChannel": "admin"
44806
+ "actorChannel": "admin",
44807
+ "kind": "mutation"
44734
44808
  }
44735
44809
  }
44736
44810
  ]
@@ -44810,6 +44884,23 @@
44810
44884
  ],
44811
44885
  "fields": []
44812
44886
  },
44887
+ {
44888
+ "name": "kind",
44889
+ "in": "query",
44890
+ "required": false,
44891
+ "description": null,
44892
+ "type": "string",
44893
+ "enum": [
44894
+ "mutation",
44895
+ "sensitive-read"
44896
+ ],
44897
+ "pattern": null,
44898
+ "examples": [
44899
+ "mutation",
44900
+ "sensitive-read"
44901
+ ],
44902
+ "fields": []
44903
+ },
44813
44904
  {
44814
44905
  "name": "route",
44815
44906
  "in": "query",
@@ -44853,7 +44944,8 @@
44853
44944
  {
44854
44945
  "description": "Returns the recorded actions of the active organization in a time window. Reading the trail is itself recorded on the trail. Only this organization's rows are returned; platform-administration rows, which belong to no organization, are visible on the operator surface instead.",
44855
44946
  "query": {
44856
- "actorChannel": "admin"
44947
+ "actorChannel": "admin",
44948
+ "kind": "mutation"
44857
44949
  }
44858
44950
  }
44859
44951
  ]
@@ -48078,6 +48170,17 @@
48078
48170
  "examples": [],
48079
48171
  "fields": []
48080
48172
  },
48173
+ {
48174
+ "name": "heldRoles",
48175
+ "in": "query",
48176
+ "required": false,
48177
+ "description": null,
48178
+ "type": "string",
48179
+ "enum": null,
48180
+ "pattern": null,
48181
+ "examples": [],
48182
+ "fields": []
48183
+ },
48081
48184
  {
48082
48185
  "name": "drift",
48083
48186
  "in": "query",
@@ -63549,7 +63652,7 @@
63549
63652
  "name": "receives",
63550
63653
  "in": "query",
63551
63654
  "required": false,
63552
- "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63655
+ "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. A rights issue through a linked sale with no ratio allocates nothing and enrols every holder it lists on the sale's whitelist, so true keeps all of them and false keeps none. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63553
63656
  "type": "string",
63554
63657
  "enum": [
63555
63658
  "true",
@@ -63662,7 +63765,7 @@
63662
63765
  "name": "receives",
63663
63766
  "in": "query",
63664
63767
  "required": false,
63665
- "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63768
+ "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. A rights issue through a linked sale with no ratio allocates nothing and enrols every holder it lists on the sale's whitelist, so true keeps all of them and false keeps none. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63666
63769
  "type": "string",
63667
63770
  "enum": [
63668
63771
  "true",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.32-main.42251724874",
3
+ "version": "3.1.32-main.42270409922",
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.0.0-alpha.4",
53
- "@settlemint/dalp-sdk": "3.1.32-main.42251724874",
53
+ "@settlemint/dalp-sdk": "3.1.32-main.42270409922",
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.42251724874",
60
- "@tools/typescript-config": "3.1.32-main.42251724874",
59
+ "@testkit/effect-bun-test": "3.1.32-main.42270409922",
60
+ "@tools/typescript-config": "3.1.32-main.42270409922",
61
61
  "@types/bun": "1.4.4",
62
62
  "publint": "0.3.25"
63
63
  },
@@ -355,7 +355,7 @@ export const loginCommand = Cli.create("login", {
355
355
  message: undefined,
356
356
  }));
357
357
  const refusalCode = refusal.code ?? "";
358
- if (refusalCode.startsWith("WALLET_")) {
358
+ if (refusalCode.startsWith("WALLET_") || refusalCode === "LOGIN_TWO_FACTOR_REQUIRED") {
359
359
  return c.error({
360
360
  code: refusalCode,
361
361
  message: `Authorized, but the API key was not created: ${refusal.message ?? refusalCode}`,
@@ -46,7 +46,7 @@
46
46
  "fields": []
47
47
  }
48
48
  ],
49
- "requestBodyDescription": "Proof that the account holder files the request: the password for an account that signs in with one, otherwise a transaction code (PIN, authenticator code or recovery code) in `walletVerification`.",
49
+ "requestBodyDescription": "Proof that the account holder files the request: the password for an account that signs in with one, otherwise a wallet factor (the transaction PIN, the transaction code, a recovery code or a code from the identity provider's authenticator) in `walletVerification`.",
50
50
  "hasRequestBody": true,
51
51
  "bodyIsComplex": true,
52
52
  "bodyFields": [],
@@ -26868,6 +26868,44 @@
26868
26868
  }
26869
26869
  ]
26870
26870
  },
26871
+ "party.multisigDrafts.readFinalize": {
26872
+ "name": "party.multisigDrafts.readFinalize",
26873
+ "method": "GET",
26874
+ "url": "/api/v2/multisig-finalize-requests/{requestId}",
26875
+ "summary": null,
26876
+ "description": null,
26877
+ "help": "party.multisigDrafts.readFinalize",
26878
+ "tags": [
26879
+ "Participants"
26880
+ ],
26881
+ "pathParams": [
26882
+ {
26883
+ "name": "requestId",
26884
+ "in": "path",
26885
+ "required": true,
26886
+ "description": null,
26887
+ "type": "string",
26888
+ "enum": null,
26889
+ "pattern": null,
26890
+ "examples": [],
26891
+ "fields": []
26892
+ }
26893
+ ],
26894
+ "queryParams": [],
26895
+ "headerParams": [],
26896
+ "requestBodyDescription": null,
26897
+ "hasRequestBody": false,
26898
+ "bodyIsComplex": false,
26899
+ "bodyFields": [],
26900
+ "examples": [
26901
+ {
26902
+ "description": "party.multisigDrafts.readFinalize",
26903
+ "path": {
26904
+ "requestId": "<requestId>"
26905
+ }
26906
+ }
26907
+ ]
26908
+ },
26871
26909
  "party.multisigDrafts.readInvite": {
26872
26910
  "name": "party.multisigDrafts.readInvite",
26873
26911
  "method": "GET",
@@ -44491,6 +44529,23 @@
44491
44529
  ],
44492
44530
  "fields": []
44493
44531
  },
44532
+ {
44533
+ "name": "kind",
44534
+ "in": "query",
44535
+ "required": false,
44536
+ "description": null,
44537
+ "type": "string",
44538
+ "enum": [
44539
+ "mutation",
44540
+ "sensitive-read"
44541
+ ],
44542
+ "pattern": null,
44543
+ "examples": [
44544
+ "mutation",
44545
+ "sensitive-read"
44546
+ ],
44547
+ "fields": []
44548
+ },
44494
44549
  {
44495
44550
  "name": "route",
44496
44551
  "in": "query",
@@ -44512,7 +44567,8 @@
44512
44567
  {
44513
44568
  "description": "reporting.trail.trailExport",
44514
44569
  "query": {
44515
- "actorChannel": "admin"
44570
+ "actorChannel": "admin",
44571
+ "kind": "mutation"
44516
44572
  }
44517
44573
  }
44518
44574
  ]
@@ -44687,6 +44743,23 @@
44687
44743
  ],
44688
44744
  "fields": []
44689
44745
  },
44746
+ {
44747
+ "name": "kind",
44748
+ "in": "query",
44749
+ "required": false,
44750
+ "description": null,
44751
+ "type": "string",
44752
+ "enum": [
44753
+ "mutation",
44754
+ "sensitive-read"
44755
+ ],
44756
+ "pattern": null,
44757
+ "examples": [
44758
+ "mutation",
44759
+ "sensitive-read"
44760
+ ],
44761
+ "fields": []
44762
+ },
44690
44763
  {
44691
44764
  "name": "route",
44692
44765
  "in": "query",
@@ -44730,7 +44803,8 @@
44730
44803
  {
44731
44804
  "description": "Returns recorded actions across every organization, including platform-administration rows that belong to none. Requires platform administration, and the access is itself recorded: a cross-organization read of the audit trail is the most sensitive read on the platform.",
44732
44805
  "query": {
44733
- "actorChannel": "admin"
44806
+ "actorChannel": "admin",
44807
+ "kind": "mutation"
44734
44808
  }
44735
44809
  }
44736
44810
  ]
@@ -44810,6 +44884,23 @@
44810
44884
  ],
44811
44885
  "fields": []
44812
44886
  },
44887
+ {
44888
+ "name": "kind",
44889
+ "in": "query",
44890
+ "required": false,
44891
+ "description": null,
44892
+ "type": "string",
44893
+ "enum": [
44894
+ "mutation",
44895
+ "sensitive-read"
44896
+ ],
44897
+ "pattern": null,
44898
+ "examples": [
44899
+ "mutation",
44900
+ "sensitive-read"
44901
+ ],
44902
+ "fields": []
44903
+ },
44813
44904
  {
44814
44905
  "name": "route",
44815
44906
  "in": "query",
@@ -44853,7 +44944,8 @@
44853
44944
  {
44854
44945
  "description": "Returns the recorded actions of the active organization in a time window. Reading the trail is itself recorded on the trail. Only this organization's rows are returned; platform-administration rows, which belong to no organization, are visible on the operator surface instead.",
44855
44946
  "query": {
44856
- "actorChannel": "admin"
44947
+ "actorChannel": "admin",
44948
+ "kind": "mutation"
44857
44949
  }
44858
44950
  }
44859
44951
  ]
@@ -48078,6 +48170,17 @@
48078
48170
  "examples": [],
48079
48171
  "fields": []
48080
48172
  },
48173
+ {
48174
+ "name": "heldRoles",
48175
+ "in": "query",
48176
+ "required": false,
48177
+ "description": null,
48178
+ "type": "string",
48179
+ "enum": null,
48180
+ "pattern": null,
48181
+ "examples": [],
48182
+ "fields": []
48183
+ },
48081
48184
  {
48082
48185
  "name": "drift",
48083
48186
  "in": "query",
@@ -63549,7 +63652,7 @@
63549
63652
  "name": "receives",
63550
63653
  "in": "query",
63551
63654
  "required": false,
63552
- "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63655
+ "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. A rights issue through a linked sale with no ratio allocates nothing and enrols every holder it lists on the sale's whitelist, so true keeps all of them and false keeps none. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63553
63656
  "type": "string",
63554
63657
  "enum": [
63555
63658
  "true",
@@ -63662,7 +63765,7 @@
63662
63765
  "name": "receives",
63663
63766
  "in": "query",
63664
63767
  "required": false,
63665
- "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63768
+ "description": "true keeps the holders whose allocation is greater than zero, false keeps the holders whose allocation is zero. A rights issue through a linked sale with no ratio allocates nothing and enrols every holder it lists on the sale's whitelist, so true keeps all of them and false keeps none. `meta.total` and the page links follow the filter; `holderCount`, `totalAmount` and `quoteFingerprint` always describe the whole plan.",
63666
63769
  "type": "string",
63667
63770
  "enum": [
63668
63771
  "true",