@1claw/openapi-spec 0.34.1 → 0.34.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/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "1Claw API",
5
- "version": "2.19.0",
5
+ "version": "2.21.0",
6
6
  "description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
7
7
  "contact": {
8
8
  "email": "ops@1claw.xyz"
@@ -7370,6 +7370,16 @@
7370
7370
  }
7371
7371
  }
7372
7372
  }
7373
+ },
7374
+ "409": {
7375
+ "description": "User exists in a different organization. Contains a link_required payload with an OAuth authorize URL for cross-org consent.",
7376
+ "content": {
7377
+ "application/json": {
7378
+ "schema": {
7379
+ "$ref": "#/components/schemas/PlatformUserLinkRequiredResponse"
7380
+ }
7381
+ }
7382
+ }
7373
7383
  }
7374
7384
  }
7375
7385
  }
@@ -10869,6 +10879,10 @@
10869
10879
  "type": "boolean",
10870
10880
  "description": "Whether EIP-191 personal_sign is enabled."
10871
10881
  },
10882
+ "raw_signing_enabled": {
10883
+ "type": "boolean",
10884
+ "description": "Whether the raw/precomputed-digest signing intent (eip712_digest) is enabled. Blind signing — bypasses transaction guardrails; OFF by default and human-set. Required for ERC-1271/ERC-7739 flows (e.g. Polymarket).\n"
10885
+ },
10872
10886
  "api_key_expires_at": {
10873
10887
  "type": "string",
10874
10888
  "format": "date-time",
@@ -11980,6 +11994,7 @@
11980
11994
  "enum": [
11981
11995
  "personal_sign",
11982
11996
  "typed_data",
11997
+ "eip712_digest",
11983
11998
  "transaction"
11984
11999
  ]
11985
12000
  },
@@ -11998,6 +12013,10 @@
11998
12013
  "type": "object",
11999
12014
  "description": "EIP-712 typed data JSON (for typed_data)"
12000
12015
  },
12016
+ "hash": {
12017
+ "type": "string",
12018
+ "description": "Client-computed 32-byte digest (0x-prefixed) for the eip712_digest intent. Signed directly (blind signing); requires the agent's raw_signing_enabled flag. Use for ERC-1271/ERC-7739 nested EIP-712 flows (e.g. Polymarket) where the canonical hash is computed client-side.\n"
12019
+ },
12001
12020
  "tx_type": {
12002
12021
  "type": "integer",
12003
12022
  "description": "EIP-2718 type: 0=legacy, 1=2930, 2=1559, 3=4844, 4=7702"
@@ -14754,6 +14773,58 @@
14754
14773
  },
14755
14774
  "email": {
14756
14775
  "type": "string"
14776
+ },
14777
+ "link_required": {
14778
+ "$ref": "#/components/schemas/LinkRequiredInfo"
14779
+ }
14780
+ }
14781
+ },
14782
+ "PlatformUserLinkRequiredResponse": {
14783
+ "type": "object",
14784
+ "required": [
14785
+ "is_new",
14786
+ "email",
14787
+ "link_required"
14788
+ ],
14789
+ "properties": {
14790
+ "is_new": {
14791
+ "type": "boolean",
14792
+ "example": false
14793
+ },
14794
+ "email": {
14795
+ "type": "string"
14796
+ },
14797
+ "link_required": {
14798
+ "$ref": "#/components/schemas/LinkRequiredInfo"
14799
+ }
14800
+ }
14801
+ },
14802
+ "LinkRequiredInfo": {
14803
+ "type": "object",
14804
+ "required": [
14805
+ "status",
14806
+ "reason",
14807
+ "authorize_url",
14808
+ "app_slug"
14809
+ ],
14810
+ "properties": {
14811
+ "status": {
14812
+ "type": "string",
14813
+ "enum": [
14814
+ "link_required"
14815
+ ]
14816
+ },
14817
+ "reason": {
14818
+ "type": "string",
14819
+ "example": "user_exists_in_other_org"
14820
+ },
14821
+ "authorize_url": {
14822
+ "type": "string",
14823
+ "format": "uri",
14824
+ "description": "OAuth authorize URL the platform app should redirect the user to for consent."
14825
+ },
14826
+ "app_slug": {
14827
+ "type": "string"
14757
14828
  }
14758
14829
  }
14759
14830
  },
package/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
 
3
3
  info:
4
4
  title: 1Claw API
5
- version: 2.19.0
5
+ version: 2.21.0
6
6
  description: |
7
7
  Secure secret management for AI agents. Provides vaults, secrets,
8
8
  policy-based access control, agent identity, Intents API,
@@ -4774,6 +4774,12 @@ paths:
4774
4774
  application/json:
4775
4775
  schema:
4776
4776
  $ref: "#/components/schemas/PlatformUserResponse"
4777
+ "409":
4778
+ description: User exists in a different organization. Contains a link_required payload with an OAuth authorize URL for cross-org consent.
4779
+ content:
4780
+ application/json:
4781
+ schema:
4782
+ $ref: "#/components/schemas/PlatformUserLinkRequiredResponse"
4777
4783
 
4778
4784
  /v1/platform/apps/{appId}/users:
4779
4785
  get:
@@ -7059,6 +7065,12 @@ components:
7059
7065
  message_signing_enabled:
7060
7066
  type: boolean
7061
7067
  description: Whether EIP-191 personal_sign is enabled.
7068
+ raw_signing_enabled:
7069
+ type: boolean
7070
+ description: >
7071
+ Whether the raw/precomputed-digest signing intent (eip712_digest) is
7072
+ enabled. Blind signing — bypasses transaction guardrails; OFF by default
7073
+ and human-set. Required for ERC-1271/ERC-7739 flows (e.g. Polymarket).
7062
7074
  api_key_expires_at:
7063
7075
  type: string
7064
7076
  format: date-time
@@ -7820,7 +7832,7 @@ components:
7820
7832
  properties:
7821
7833
  intent_type:
7822
7834
  type: string
7823
- enum: [personal_sign, typed_data, transaction]
7835
+ enum: [personal_sign, typed_data, eip712_digest, transaction]
7824
7836
  chain:
7825
7837
  type: string
7826
7838
  signing_key_path:
@@ -7832,6 +7844,13 @@ components:
7832
7844
  typed_data:
7833
7845
  type: object
7834
7846
  description: EIP-712 typed data JSON (for typed_data)
7847
+ hash:
7848
+ type: string
7849
+ description: >
7850
+ Client-computed 32-byte digest (0x-prefixed) for the eip712_digest
7851
+ intent. Signed directly (blind signing); requires the agent's
7852
+ raw_signing_enabled flag. Use for ERC-1271/ERC-7739 nested EIP-712
7853
+ flows (e.g. Polymarket) where the canonical hash is computed client-side.
7835
7854
  tx_type:
7836
7855
  type: integer
7837
7856
  description: "EIP-2718 type: 0=legacy, 1=2930, 2=1559, 3=4844, 4=7702"
@@ -9732,6 +9751,37 @@ components:
9732
9751
  format: uuid
9733
9752
  email:
9734
9753
  type: string
9754
+ link_required:
9755
+ $ref: "#/components/schemas/LinkRequiredInfo"
9756
+
9757
+ PlatformUserLinkRequiredResponse:
9758
+ type: object
9759
+ required: [is_new, email, link_required]
9760
+ properties:
9761
+ is_new:
9762
+ type: boolean
9763
+ example: false
9764
+ email:
9765
+ type: string
9766
+ link_required:
9767
+ $ref: "#/components/schemas/LinkRequiredInfo"
9768
+
9769
+ LinkRequiredInfo:
9770
+ type: object
9771
+ required: [status, reason, authorize_url, app_slug]
9772
+ properties:
9773
+ status:
9774
+ type: string
9775
+ enum: [link_required]
9776
+ reason:
9777
+ type: string
9778
+ example: user_exists_in_other_org
9779
+ authorize_url:
9780
+ type: string
9781
+ format: uri
9782
+ description: OAuth authorize URL the platform app should redirect the user to for consent.
9783
+ app_slug:
9784
+ type: string
9735
9785
 
9736
9786
  PlatformConnectedUserResponse:
9737
9787
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.34.1",
3
+ "version": "0.34.3",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API — generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {