@1claw/openapi-spec 0.47.1 → 0.47.3
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.
- package/README.md +10 -1
- package/openapi.json +5 -2
- package/openapi.yaml +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,7 +40,16 @@ openapi-generator generate \
|
|
|
40
40
|
import spec from "@1claw/openapi-spec/openapi.json";
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## What's in the spec (v0.
|
|
43
|
+
## What's in the spec (v0.47.1)
|
|
44
|
+
|
|
45
|
+
### Turnkey parity (v0.47)
|
|
46
|
+
- **Portfolio** — `GET /v1/portfolio` (unified balance aggregator)
|
|
47
|
+
- **Cedar policies** — `POST/GET/DELETE /v1/org/cedar-policies`, dry-run `POST .../test` (Team+ tier)
|
|
48
|
+
- **OPA policies** — `POST/GET/DELETE /v1/org/opa-policies`, dry-run `POST .../test` (Business+ tier)
|
|
49
|
+
- **Sub-organizations** — `POST/GET/DELETE /v1/org/sub-orgs`, permissions, users, wallet generation
|
|
50
|
+
- **Smart account import** — `POST /v1/agents/{id}/smart-accounts/import`
|
|
51
|
+
- **Signing key BYOK** — `POST /v1/agents/{id}/signing-keys/{chain}/import` (human-only, `X-Auth-Confirm`)
|
|
52
|
+
- **Treasury wallet import** — `POST /v1/treasury/wallets/{chain}/import` (human-only, multi-chain send)
|
|
44
53
|
|
|
45
54
|
### OAuth & Platform enhancements (0.44.4)
|
|
46
55
|
- **OAuth token revocation** — `POST /v1/oauth/revoke` (RFC 7009 token revocation)
|
package/openapi.json
CHANGED
|
@@ -6527,7 +6527,7 @@
|
|
|
6527
6527
|
"Treasury Wallets"
|
|
6528
6528
|
],
|
|
6529
6529
|
"summary": "Generate multi-chain wallets for the authenticated user",
|
|
6530
|
-
"description": "Generates keypairs for the requested chains (or all supported chains if omitted).\nPrivate keys are stored in a per-org `__treasury-keys` vault with tier-appropriate\nMPC custody. Skips chains where the user already has an active wallet.
|
|
6530
|
+
"description": "Generates keypairs for the requested chains (or all supported chains if omitted).\nPrivate keys are stored in a per-org `__treasury-keys` vault with tier-appropriate\nMPC custody. Skips chains where the user already has an active wallet. Available\non all tiers (counts toward wallet quota). Human users only — agents get 403.\n",
|
|
6531
6531
|
"operationId": "generateTreasuryWallets",
|
|
6532
6532
|
"security": [
|
|
6533
6533
|
{
|
|
@@ -6740,7 +6740,7 @@
|
|
|
6740
6740
|
"Treasury Wallets"
|
|
6741
6741
|
],
|
|
6742
6742
|
"summary": "Rotate the user's wallet key for a chain",
|
|
6743
|
-
"description": "Generates a new keypair, deactivates the old wallet, and creates a\nnew active wallet. The old private key version is retained in the\nvault for audit.
|
|
6743
|
+
"description": "Generates a new keypair, deactivates the old wallet, and creates a\nnew active wallet. The old private key version is retained in the\nvault for audit. Counts toward wallet quota (does not require a paid plan).\n",
|
|
6744
6744
|
"operationId": "rotateTreasuryWallet",
|
|
6745
6745
|
"security": [
|
|
6746
6746
|
{
|
|
@@ -19306,6 +19306,9 @@
|
|
|
19306
19306
|
"intent_transactions": {
|
|
19307
19307
|
"$ref": "#/components/schemas/UsageMeter"
|
|
19308
19308
|
},
|
|
19309
|
+
"wallets": {
|
|
19310
|
+
"$ref": "#/components/schemas/UsageMeter"
|
|
19311
|
+
},
|
|
19309
19312
|
"shares": {
|
|
19310
19313
|
"$ref": "#/components/schemas/UsageMeter"
|
|
19311
19314
|
}
|
package/openapi.yaml
CHANGED
|
@@ -4229,8 +4229,8 @@ paths:
|
|
|
4229
4229
|
description: |
|
|
4230
4230
|
Generates keypairs for the requested chains (or all supported chains if omitted).
|
|
4231
4231
|
Private keys are stored in a per-org `__treasury-keys` vault with tier-appropriate
|
|
4232
|
-
MPC custody. Skips chains where the user already has an active wallet.
|
|
4233
|
-
|
|
4232
|
+
MPC custody. Skips chains where the user already has an active wallet. Available
|
|
4233
|
+
on all tiers (counts toward wallet quota). Human users only — agents get 403.
|
|
4234
4234
|
operationId: generateTreasuryWallets
|
|
4235
4235
|
security:
|
|
4236
4236
|
- BearerAuth: []
|
|
@@ -4366,7 +4366,7 @@ paths:
|
|
|
4366
4366
|
description: |
|
|
4367
4367
|
Generates a new keypair, deactivates the old wallet, and creates a
|
|
4368
4368
|
new active wallet. The old private key version is retained in the
|
|
4369
|
-
vault for audit.
|
|
4369
|
+
vault for audit. Counts toward wallet quota (does not require a paid plan).
|
|
4370
4370
|
operationId: rotateTreasuryWallet
|
|
4371
4371
|
security:
|
|
4372
4372
|
- BearerAuth: []
|
|
@@ -12628,6 +12628,8 @@ components:
|
|
|
12628
12628
|
$ref: "#/components/schemas/UsageMeter"
|
|
12629
12629
|
intent_transactions:
|
|
12630
12630
|
$ref: "#/components/schemas/UsageMeter"
|
|
12631
|
+
wallets:
|
|
12632
|
+
$ref: "#/components/schemas/UsageMeter"
|
|
12631
12633
|
shares:
|
|
12632
12634
|
$ref: "#/components/schemas/UsageMeter"
|
|
12633
12635
|
|