@settlemint/dalp-cli 3.1.33-main.42965272831 → 3.1.33-main.42978998556

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.
@@ -41652,6 +41652,258 @@
41652
41652
  "bodyFields": [],
41653
41653
  "examples": []
41654
41654
  },
41655
+ "reporting.custodianWatch.custodianWatchDelete": {
41656
+ "name": "reporting.custodianWatch.custodianWatchDelete",
41657
+ "method": "DELETE",
41658
+ "url": "/api/v2/reporting/custodian-watch",
41659
+ "summary": "Unsubscribe from the custodian watch",
41660
+ "description": "Removes the organisation's custodian watch and answers the subscription it removed. Cases already opened stay.",
41661
+ "help": "Removes the organisation's custodian watch and answers the subscription it removed. Cases already opened stay.",
41662
+ "tags": [
41663
+ "Regulatory reporting"
41664
+ ],
41665
+ "pathParams": [],
41666
+ "queryParams": [],
41667
+ "headerParams": [
41668
+ {
41669
+ "name": "Idempotency-Key",
41670
+ "in": "header",
41671
+ "required": false,
41672
+ "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.",
41673
+ "type": "string",
41674
+ "enum": null,
41675
+ "pattern": null,
41676
+ "examples": [],
41677
+ "fields": []
41678
+ }
41679
+ ],
41680
+ "requestBodyDescription": null,
41681
+ "hasRequestBody": false,
41682
+ "bodyIsComplex": false,
41683
+ "bodyFields": [],
41684
+ "examples": []
41685
+ },
41686
+ "reporting.custodianWatch.custodianWatchGet": {
41687
+ "name": "reporting.custodianWatch.custodianWatchGet",
41688
+ "method": "GET",
41689
+ "url": "/api/v2/reporting/custodian-watch",
41690
+ "summary": "Read the organisation's custodian watch",
41691
+ "description": "Returns the organisation's custodian watch: the notice period it asks of upgrades. Answers not found while the organisation has not subscribed.",
41692
+ "help": "Returns the organisation's custodian watch: the notice period it asks of upgrades. Answers not found while the organisation has not subscribed.",
41693
+ "tags": [
41694
+ "Regulatory reporting"
41695
+ ],
41696
+ "pathParams": [],
41697
+ "queryParams": [],
41698
+ "headerParams": [],
41699
+ "requestBodyDescription": null,
41700
+ "hasRequestBody": false,
41701
+ "bodyIsComplex": false,
41702
+ "bodyFields": [],
41703
+ "examples": []
41704
+ },
41705
+ "reporting.custodianWatch.custodianWatchReplace": {
41706
+ "name": "reporting.custodianWatch.custodianWatchReplace",
41707
+ "method": "PUT",
41708
+ "url": "/api/v2/reporting/custodian-watch",
41709
+ "summary": "Subscribe to or replace the custodian watch",
41710
+ "description": "Subscribes the organisation, or replaces its notice period. From then on a privileged action on a token it custodies (a forced transfer, recovery, freeze, unfreeze, mint, burn, pause or role change) by a wallet outside the organisation opens an operations case, which sends the `operations.case.opened` webhook and appears in the Console. A factory upgrade that touches such tokens waits for the longest notice period among its custodians. The organisation owner or a platform administrator may call it.",
41711
+ "help": "Subscribes the organisation, or replaces its notice period. From then on a privileged action on a token it custodies (a forced transfer, recovery, freeze, unfreeze, mint, burn, pause or role change) by a wallet outside the organisation opens an operations case, which sends the `operations.case.opened` webhook and appears in the Console. A factory upgrade that touches such tokens waits for the longest notice period among its custodians. The organisation owner or a platform administrator may call it.",
41712
+ "tags": [
41713
+ "Regulatory reporting"
41714
+ ],
41715
+ "pathParams": [],
41716
+ "queryParams": [],
41717
+ "headerParams": [
41718
+ {
41719
+ "name": "Idempotency-Key",
41720
+ "in": "header",
41721
+ "required": false,
41722
+ "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.",
41723
+ "type": "string",
41724
+ "enum": null,
41725
+ "pattern": null,
41726
+ "examples": [],
41727
+ "fields": []
41728
+ }
41729
+ ],
41730
+ "requestBodyDescription": null,
41731
+ "hasRequestBody": true,
41732
+ "bodyIsComplex": false,
41733
+ "bodyFields": [
41734
+ {
41735
+ "name": "upgradeNoticeBusinessDays",
41736
+ "in": "query",
41737
+ "required": false,
41738
+ "description": null,
41739
+ "type": "integer",
41740
+ "enum": null,
41741
+ "pattern": null,
41742
+ "examples": [],
41743
+ "fields": []
41744
+ }
41745
+ ],
41746
+ "examples": []
41747
+ },
41748
+ "reporting.custodianWatch.scheduledUpgradesCancel": {
41749
+ "name": "reporting.custodianWatch.scheduledUpgradesCancel",
41750
+ "method": "DELETE",
41751
+ "url": "/api/v2/reporting/custodian-watch/scheduled-upgrades/{upgradeId}",
41752
+ "summary": "Cancel a scheduled token factory upgrade",
41753
+ "description": "Cancels an upgrade that has not run and closes the notices its custodians were sent. The record stays in the list as cancelled. An upgrade that already ran, or one the organisation did not schedule, answers not found.",
41754
+ "help": "Cancels an upgrade that has not run and closes the notices its custodians were sent. The record stays in the list as cancelled. An upgrade that already ran, or one the organisation did not schedule, answers not found.",
41755
+ "tags": [
41756
+ "Regulatory reporting"
41757
+ ],
41758
+ "pathParams": [
41759
+ {
41760
+ "name": "upgradeId",
41761
+ "in": "path",
41762
+ "required": true,
41763
+ "description": null,
41764
+ "type": "string",
41765
+ "enum": null,
41766
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
41767
+ "examples": [],
41768
+ "fields": []
41769
+ }
41770
+ ],
41771
+ "queryParams": [],
41772
+ "headerParams": [
41773
+ {
41774
+ "name": "Idempotency-Key",
41775
+ "in": "header",
41776
+ "required": false,
41777
+ "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.",
41778
+ "type": "string",
41779
+ "enum": null,
41780
+ "pattern": null,
41781
+ "examples": [],
41782
+ "fields": []
41783
+ }
41784
+ ],
41785
+ "requestBodyDescription": null,
41786
+ "hasRequestBody": false,
41787
+ "bodyIsComplex": false,
41788
+ "bodyFields": [],
41789
+ "examples": [
41790
+ {
41791
+ "description": "Cancels an upgrade that has not run and closes the notices its custodians were sent. The record stays in the list as cancelled. An upgrade that already ran, or one the organisation did not schedule, answers not found.",
41792
+ "path": {
41793
+ "upgradeId": "<upgradeId>"
41794
+ }
41795
+ }
41796
+ ]
41797
+ },
41798
+ "reporting.custodianWatch.scheduledUpgradesCreate": {
41799
+ "name": "reporting.custodianWatch.scheduledUpgradesCreate",
41800
+ "method": "POST",
41801
+ "url": "/api/v2/reporting/custodian-watch/scheduled-upgrades",
41802
+ "summary": "Schedule a token factory upgrade",
41803
+ "description": "Records an upgrade of a token factory of the organisation's system and notifies every custodian organisation holding tokens of it at once. The system migration only upgrades that factory after the longest notice among those custodians. An emergency upgrade bypasses the notice, needs a reason, and still notifies the custodians at once. The organisation owner or a platform administrator may call it.",
41804
+ "help": "Records an upgrade of a token factory of the organisation's system and notifies every custodian organisation holding tokens of it at once. The system migration only upgrades that factory after the longest notice among those custodians. An emergency upgrade bypasses the notice, needs a reason, and still notifies the custodians at once. The organisation owner or a platform administrator may call it.",
41805
+ "tags": [
41806
+ "Regulatory reporting"
41807
+ ],
41808
+ "pathParams": [],
41809
+ "queryParams": [],
41810
+ "headerParams": [
41811
+ {
41812
+ "name": "Idempotency-Key",
41813
+ "in": "header",
41814
+ "required": false,
41815
+ "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.",
41816
+ "type": "string",
41817
+ "enum": null,
41818
+ "pattern": null,
41819
+ "examples": [],
41820
+ "fields": []
41821
+ }
41822
+ ],
41823
+ "requestBodyDescription": null,
41824
+ "hasRequestBody": true,
41825
+ "bodyIsComplex": false,
41826
+ "bodyFields": [
41827
+ {
41828
+ "name": "factoryAddress",
41829
+ "in": "query",
41830
+ "required": true,
41831
+ "description": "A valid Ethereum address (42 characters, starting with 0x)",
41832
+ "type": "string",
41833
+ "enum": null,
41834
+ "pattern": "^0x[a-fA-F0-9]{40}$",
41835
+ "examples": [
41836
+ "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
41837
+ ],
41838
+ "fields": []
41839
+ },
41840
+ {
41841
+ "name": "emergency",
41842
+ "in": "query",
41843
+ "required": false,
41844
+ "description": null,
41845
+ "type": "boolean",
41846
+ "enum": null,
41847
+ "pattern": null,
41848
+ "examples": [],
41849
+ "fields": []
41850
+ },
41851
+ {
41852
+ "name": "reason",
41853
+ "in": "query",
41854
+ "required": false,
41855
+ "description": "Required for an emergency upgrade: why it cannot wait.",
41856
+ "type": "string",
41857
+ "enum": null,
41858
+ "pattern": null,
41859
+ "examples": [],
41860
+ "fields": []
41861
+ }
41862
+ ],
41863
+ "examples": []
41864
+ },
41865
+ "reporting.custodianWatch.scheduledUpgradesList": {
41866
+ "name": "reporting.custodianWatch.scheduledUpgradesList",
41867
+ "method": "GET",
41868
+ "url": "/api/v2/reporting/custodian-watch/scheduled-upgrades",
41869
+ "summary": "List scheduled token factory upgrades",
41870
+ "description": "Lists the upgrades the organisation scheduled on the chain of the request, newest first, with the instant each may first run.",
41871
+ "help": "Lists the upgrades the organisation scheduled on the chain of the request, newest first, with the instant each may first run.",
41872
+ "tags": [
41873
+ "Regulatory reporting"
41874
+ ],
41875
+ "pathParams": [],
41876
+ "queryParams": [
41877
+ {
41878
+ "name": "offset",
41879
+ "in": "query",
41880
+ "required": false,
41881
+ "description": null,
41882
+ "type": "number",
41883
+ "enum": null,
41884
+ "pattern": null,
41885
+ "examples": [],
41886
+ "fields": []
41887
+ },
41888
+ {
41889
+ "name": "limit",
41890
+ "in": "query",
41891
+ "required": false,
41892
+ "description": null,
41893
+ "type": "number",
41894
+ "enum": null,
41895
+ "pattern": null,
41896
+ "examples": [],
41897
+ "fields": []
41898
+ }
41899
+ ],
41900
+ "headerParams": [],
41901
+ "requestBodyDescription": null,
41902
+ "hasRequestBody": false,
41903
+ "bodyIsComplex": false,
41904
+ "bodyFields": [],
41905
+ "examples": []
41906
+ },
41655
41907
  "reporting.dailyTransactions.dailyTransactionsGenerate": {
41656
41908
  "name": "reporting.dailyTransactions.dailyTransactionsGenerate",
41657
41909
  "method": "POST",
@@ -79137,8 +79389,8 @@
79137
79389
  "method": "PATCH",
79138
79390
  "url": "/api/v2/users/{userId}/profile",
79139
79391
  "summary": "Save a user profile",
79140
- "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. With `approve: true` (Save and approve), an identity manager also approves every unreviewed field as of the new version. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79141
- "help": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. With `approve: true` (Save and approve), an identity manager also approves every unreviewed field as of the new version. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79392
+ "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. A version an identity manager corrected waits for a different reviewer to approve it, and `approve: true` is refused. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79393
+ "help": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. A version an identity manager corrected waits for a different reviewer to approve it, and `approve: true` is refused. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79142
79394
  "tags": [
79143
79395
  "Users"
79144
79396
  ],
@@ -79179,7 +79431,7 @@
79179
79431
  "name": "approve",
79180
79432
  "in": "query",
79181
79433
  "required": false,
79182
- "description": null,
79434
+ "description": "Refused when `true`: a profile is approved by an identity manager who did not edit it. Save without it, then have another identity manager approve the version through the profile decisions endpoint.",
79183
79435
  "type": "boolean",
79184
79436
  "enum": null,
79185
79437
  "pattern": null,
@@ -79189,7 +79441,7 @@
79189
79441
  ],
79190
79442
  "examples": [
79191
79443
  {
79192
- "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. With `approve: true` (Save and approve), an identity manager also approves every unreviewed field as of the new version. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79444
+ "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. A version an identity manager corrected waits for a different reviewer to approve it, and `approve: true` is refused. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79193
79445
  "path": {
79194
79446
  "userId": "<userId>"
79195
79447
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.33-main.42965272831",
3
+ "version": "3.1.33-main.42978998556",
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.42965272831",
53
+ "@settlemint/dalp-sdk": "3.1.33-main.42978998556",
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.42965272831",
60
- "@tools/typescript-config": "3.1.33-main.42965272831",
59
+ "@testkit/effect-bun-test": "3.1.33-main.42978998556",
60
+ "@tools/typescript-config": "3.1.33-main.42978998556",
61
61
  "@types/bun": "1.4.4",
62
62
  "publint": "0.3.25"
63
63
  },
@@ -41652,6 +41652,258 @@
41652
41652
  "bodyFields": [],
41653
41653
  "examples": []
41654
41654
  },
41655
+ "reporting.custodianWatch.custodianWatchDelete": {
41656
+ "name": "reporting.custodianWatch.custodianWatchDelete",
41657
+ "method": "DELETE",
41658
+ "url": "/api/v2/reporting/custodian-watch",
41659
+ "summary": "Unsubscribe from the custodian watch",
41660
+ "description": "Removes the organisation's custodian watch and answers the subscription it removed. Cases already opened stay.",
41661
+ "help": "Removes the organisation's custodian watch and answers the subscription it removed. Cases already opened stay.",
41662
+ "tags": [
41663
+ "Regulatory reporting"
41664
+ ],
41665
+ "pathParams": [],
41666
+ "queryParams": [],
41667
+ "headerParams": [
41668
+ {
41669
+ "name": "Idempotency-Key",
41670
+ "in": "header",
41671
+ "required": false,
41672
+ "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.",
41673
+ "type": "string",
41674
+ "enum": null,
41675
+ "pattern": null,
41676
+ "examples": [],
41677
+ "fields": []
41678
+ }
41679
+ ],
41680
+ "requestBodyDescription": null,
41681
+ "hasRequestBody": false,
41682
+ "bodyIsComplex": false,
41683
+ "bodyFields": [],
41684
+ "examples": []
41685
+ },
41686
+ "reporting.custodianWatch.custodianWatchGet": {
41687
+ "name": "reporting.custodianWatch.custodianWatchGet",
41688
+ "method": "GET",
41689
+ "url": "/api/v2/reporting/custodian-watch",
41690
+ "summary": "Read the organisation's custodian watch",
41691
+ "description": "Returns the organisation's custodian watch: the notice period it asks of upgrades. Answers not found while the organisation has not subscribed.",
41692
+ "help": "Returns the organisation's custodian watch: the notice period it asks of upgrades. Answers not found while the organisation has not subscribed.",
41693
+ "tags": [
41694
+ "Regulatory reporting"
41695
+ ],
41696
+ "pathParams": [],
41697
+ "queryParams": [],
41698
+ "headerParams": [],
41699
+ "requestBodyDescription": null,
41700
+ "hasRequestBody": false,
41701
+ "bodyIsComplex": false,
41702
+ "bodyFields": [],
41703
+ "examples": []
41704
+ },
41705
+ "reporting.custodianWatch.custodianWatchReplace": {
41706
+ "name": "reporting.custodianWatch.custodianWatchReplace",
41707
+ "method": "PUT",
41708
+ "url": "/api/v2/reporting/custodian-watch",
41709
+ "summary": "Subscribe to or replace the custodian watch",
41710
+ "description": "Subscribes the organisation, or replaces its notice period. From then on a privileged action on a token it custodies (a forced transfer, recovery, freeze, unfreeze, mint, burn, pause or role change) by a wallet outside the organisation opens an operations case, which sends the `operations.case.opened` webhook and appears in the Console. A factory upgrade that touches such tokens waits for the longest notice period among its custodians. The organisation owner or a platform administrator may call it.",
41711
+ "help": "Subscribes the organisation, or replaces its notice period. From then on a privileged action on a token it custodies (a forced transfer, recovery, freeze, unfreeze, mint, burn, pause or role change) by a wallet outside the organisation opens an operations case, which sends the `operations.case.opened` webhook and appears in the Console. A factory upgrade that touches such tokens waits for the longest notice period among its custodians. The organisation owner or a platform administrator may call it.",
41712
+ "tags": [
41713
+ "Regulatory reporting"
41714
+ ],
41715
+ "pathParams": [],
41716
+ "queryParams": [],
41717
+ "headerParams": [
41718
+ {
41719
+ "name": "Idempotency-Key",
41720
+ "in": "header",
41721
+ "required": false,
41722
+ "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.",
41723
+ "type": "string",
41724
+ "enum": null,
41725
+ "pattern": null,
41726
+ "examples": [],
41727
+ "fields": []
41728
+ }
41729
+ ],
41730
+ "requestBodyDescription": null,
41731
+ "hasRequestBody": true,
41732
+ "bodyIsComplex": false,
41733
+ "bodyFields": [
41734
+ {
41735
+ "name": "upgradeNoticeBusinessDays",
41736
+ "in": "query",
41737
+ "required": false,
41738
+ "description": null,
41739
+ "type": "integer",
41740
+ "enum": null,
41741
+ "pattern": null,
41742
+ "examples": [],
41743
+ "fields": []
41744
+ }
41745
+ ],
41746
+ "examples": []
41747
+ },
41748
+ "reporting.custodianWatch.scheduledUpgradesCancel": {
41749
+ "name": "reporting.custodianWatch.scheduledUpgradesCancel",
41750
+ "method": "DELETE",
41751
+ "url": "/api/v2/reporting/custodian-watch/scheduled-upgrades/{upgradeId}",
41752
+ "summary": "Cancel a scheduled token factory upgrade",
41753
+ "description": "Cancels an upgrade that has not run and closes the notices its custodians were sent. The record stays in the list as cancelled. An upgrade that already ran, or one the organisation did not schedule, answers not found.",
41754
+ "help": "Cancels an upgrade that has not run and closes the notices its custodians were sent. The record stays in the list as cancelled. An upgrade that already ran, or one the organisation did not schedule, answers not found.",
41755
+ "tags": [
41756
+ "Regulatory reporting"
41757
+ ],
41758
+ "pathParams": [
41759
+ {
41760
+ "name": "upgradeId",
41761
+ "in": "path",
41762
+ "required": true,
41763
+ "description": null,
41764
+ "type": "string",
41765
+ "enum": null,
41766
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
41767
+ "examples": [],
41768
+ "fields": []
41769
+ }
41770
+ ],
41771
+ "queryParams": [],
41772
+ "headerParams": [
41773
+ {
41774
+ "name": "Idempotency-Key",
41775
+ "in": "header",
41776
+ "required": false,
41777
+ "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.",
41778
+ "type": "string",
41779
+ "enum": null,
41780
+ "pattern": null,
41781
+ "examples": [],
41782
+ "fields": []
41783
+ }
41784
+ ],
41785
+ "requestBodyDescription": null,
41786
+ "hasRequestBody": false,
41787
+ "bodyIsComplex": false,
41788
+ "bodyFields": [],
41789
+ "examples": [
41790
+ {
41791
+ "description": "Cancels an upgrade that has not run and closes the notices its custodians were sent. The record stays in the list as cancelled. An upgrade that already ran, or one the organisation did not schedule, answers not found.",
41792
+ "path": {
41793
+ "upgradeId": "<upgradeId>"
41794
+ }
41795
+ }
41796
+ ]
41797
+ },
41798
+ "reporting.custodianWatch.scheduledUpgradesCreate": {
41799
+ "name": "reporting.custodianWatch.scheduledUpgradesCreate",
41800
+ "method": "POST",
41801
+ "url": "/api/v2/reporting/custodian-watch/scheduled-upgrades",
41802
+ "summary": "Schedule a token factory upgrade",
41803
+ "description": "Records an upgrade of a token factory of the organisation's system and notifies every custodian organisation holding tokens of it at once. The system migration only upgrades that factory after the longest notice among those custodians. An emergency upgrade bypasses the notice, needs a reason, and still notifies the custodians at once. The organisation owner or a platform administrator may call it.",
41804
+ "help": "Records an upgrade of a token factory of the organisation's system and notifies every custodian organisation holding tokens of it at once. The system migration only upgrades that factory after the longest notice among those custodians. An emergency upgrade bypasses the notice, needs a reason, and still notifies the custodians at once. The organisation owner or a platform administrator may call it.",
41805
+ "tags": [
41806
+ "Regulatory reporting"
41807
+ ],
41808
+ "pathParams": [],
41809
+ "queryParams": [],
41810
+ "headerParams": [
41811
+ {
41812
+ "name": "Idempotency-Key",
41813
+ "in": "header",
41814
+ "required": false,
41815
+ "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.",
41816
+ "type": "string",
41817
+ "enum": null,
41818
+ "pattern": null,
41819
+ "examples": [],
41820
+ "fields": []
41821
+ }
41822
+ ],
41823
+ "requestBodyDescription": null,
41824
+ "hasRequestBody": true,
41825
+ "bodyIsComplex": false,
41826
+ "bodyFields": [
41827
+ {
41828
+ "name": "factoryAddress",
41829
+ "in": "query",
41830
+ "required": true,
41831
+ "description": "A valid Ethereum address (42 characters, starting with 0x)",
41832
+ "type": "string",
41833
+ "enum": null,
41834
+ "pattern": "^0x[a-fA-F0-9]{40}$",
41835
+ "examples": [
41836
+ "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
41837
+ ],
41838
+ "fields": []
41839
+ },
41840
+ {
41841
+ "name": "emergency",
41842
+ "in": "query",
41843
+ "required": false,
41844
+ "description": null,
41845
+ "type": "boolean",
41846
+ "enum": null,
41847
+ "pattern": null,
41848
+ "examples": [],
41849
+ "fields": []
41850
+ },
41851
+ {
41852
+ "name": "reason",
41853
+ "in": "query",
41854
+ "required": false,
41855
+ "description": "Required for an emergency upgrade: why it cannot wait.",
41856
+ "type": "string",
41857
+ "enum": null,
41858
+ "pattern": null,
41859
+ "examples": [],
41860
+ "fields": []
41861
+ }
41862
+ ],
41863
+ "examples": []
41864
+ },
41865
+ "reporting.custodianWatch.scheduledUpgradesList": {
41866
+ "name": "reporting.custodianWatch.scheduledUpgradesList",
41867
+ "method": "GET",
41868
+ "url": "/api/v2/reporting/custodian-watch/scheduled-upgrades",
41869
+ "summary": "List scheduled token factory upgrades",
41870
+ "description": "Lists the upgrades the organisation scheduled on the chain of the request, newest first, with the instant each may first run.",
41871
+ "help": "Lists the upgrades the organisation scheduled on the chain of the request, newest first, with the instant each may first run.",
41872
+ "tags": [
41873
+ "Regulatory reporting"
41874
+ ],
41875
+ "pathParams": [],
41876
+ "queryParams": [
41877
+ {
41878
+ "name": "offset",
41879
+ "in": "query",
41880
+ "required": false,
41881
+ "description": null,
41882
+ "type": "number",
41883
+ "enum": null,
41884
+ "pattern": null,
41885
+ "examples": [],
41886
+ "fields": []
41887
+ },
41888
+ {
41889
+ "name": "limit",
41890
+ "in": "query",
41891
+ "required": false,
41892
+ "description": null,
41893
+ "type": "number",
41894
+ "enum": null,
41895
+ "pattern": null,
41896
+ "examples": [],
41897
+ "fields": []
41898
+ }
41899
+ ],
41900
+ "headerParams": [],
41901
+ "requestBodyDescription": null,
41902
+ "hasRequestBody": false,
41903
+ "bodyIsComplex": false,
41904
+ "bodyFields": [],
41905
+ "examples": []
41906
+ },
41655
41907
  "reporting.dailyTransactions.dailyTransactionsGenerate": {
41656
41908
  "name": "reporting.dailyTransactions.dailyTransactionsGenerate",
41657
41909
  "method": "POST",
@@ -79137,8 +79389,8 @@
79137
79389
  "method": "PATCH",
79138
79390
  "url": "/api/v2/users/{userId}/profile",
79139
79391
  "summary": "Save a user profile",
79140
- "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. With `approve: true` (Save and approve), an identity manager also approves every unreviewed field as of the new version. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79141
- "help": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. With `approve: true` (Save and approve), an identity manager also approves every unreviewed field as of the new version. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79392
+ "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. A version an identity manager corrected waits for a different reviewer to approve it, and `approve: true` is refused. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79393
+ "help": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. A version an identity manager corrected waits for a different reviewer to approve it, and `approve: true` is refused. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79142
79394
  "tags": [
79143
79395
  "Users"
79144
79396
  ],
@@ -79179,7 +79431,7 @@
79179
79431
  "name": "approve",
79180
79432
  "in": "query",
79181
79433
  "required": false,
79182
- "description": null,
79434
+ "description": "Refused when `true`: a profile is approved by an identity manager who did not edit it. Save without it, then have another identity manager approve the version through the profile decisions endpoint.",
79183
79435
  "type": "boolean",
79184
79436
  "enum": null,
79185
79437
  "pattern": null,
@@ -79189,7 +79441,7 @@
79189
79441
  ],
79190
79442
  "examples": [
79191
79443
  {
79192
- "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. With `approve: true` (Save and approve), an identity manager also approves every unreviewed field as of the new version. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79444
+ "description": "Saves profile values keyed by section slug and field key, and fixed fields by name, as one new version of the profile the user holds in the active organization; a key left out keeps its value and an empty string clears it. A user saves their own fixed and user-filled fields. An identity manager of the active organization saves any field of another user. A saved fixed or user-filled field becomes unreviewed; a manager-filled field is approved by the manager who saved it. A version an identity manager corrected waits for a different reviewer to approve it, and `approve: true` is refused. Only sections the organization sees are written. A field outside them, a field the caller may not write, or a value that does not fit its definition answers 400 naming each field as `<slug>.<key>`, never a value.",
79193
79445
  "path": {
79194
79446
  "userId": "<userId>"
79195
79447
  }