@1claw/openapi-spec 0.7.0 → 0.8.0
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 +10 -3
- package/openapi.yaml +11 -6
- package/package.json +1 -1
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.
|
|
5
|
+
"version": "2.3.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"
|
|
@@ -3020,7 +3020,7 @@
|
|
|
3020
3020
|
],
|
|
3021
3021
|
"summary": "Set org billing tier (without Stripe)",
|
|
3022
3022
|
"operationId": "adminSetBillingTier",
|
|
3023
|
-
"description": "Manually set an organization's billing tier to free, pro, or
|
|
3023
|
+
"description": "Manually set an organization's billing tier to free, pro, business, or enterprise.\nFor testing, manual upgrades, and trial grants — does not create a Stripe subscription.\nSetting to \"pro\", \"business\", or \"enterprise\" sets period_end to now + duration_days (default 365).\nSetting to \"free\" clears subscription data. Use duration_days: 90 for a 3-month trial.\n",
|
|
3024
3024
|
"parameters": [
|
|
3025
3025
|
{
|
|
3026
3026
|
"name": "org_id",
|
|
@@ -5576,8 +5576,15 @@
|
|
|
5576
5576
|
"enum": [
|
|
5577
5577
|
"free",
|
|
5578
5578
|
"pro",
|
|
5579
|
-
"business"
|
|
5579
|
+
"business",
|
|
5580
|
+
"enterprise"
|
|
5580
5581
|
]
|
|
5582
|
+
},
|
|
5583
|
+
"duration_days": {
|
|
5584
|
+
"type": "integer",
|
|
5585
|
+
"description": "How many days the tier lasts (default 365). Use 90 for a 3-month trial.",
|
|
5586
|
+
"minimum": 1,
|
|
5587
|
+
"maximum": 3650
|
|
5581
5588
|
}
|
|
5582
5589
|
}
|
|
5583
5590
|
},
|
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.
|
|
5
|
+
version: 2.3.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,
|
|
@@ -1926,10 +1926,10 @@ paths:
|
|
|
1926
1926
|
summary: Set org billing tier (without Stripe)
|
|
1927
1927
|
operationId: adminSetBillingTier
|
|
1928
1928
|
description: |
|
|
1929
|
-
Manually set an organization's billing tier to free, pro, or
|
|
1930
|
-
For testing
|
|
1931
|
-
Setting to "pro" or "
|
|
1932
|
-
Setting to "free" clears subscription data.
|
|
1929
|
+
Manually set an organization's billing tier to free, pro, business, or enterprise.
|
|
1930
|
+
For testing, manual upgrades, and trial grants — does not create a Stripe subscription.
|
|
1931
|
+
Setting to "pro", "business", or "enterprise" sets period_end to now + duration_days (default 365).
|
|
1932
|
+
Setting to "free" clears subscription data. Use duration_days: 90 for a 3-month trial.
|
|
1933
1933
|
parameters:
|
|
1934
1934
|
- name: org_id
|
|
1935
1935
|
in: path
|
|
@@ -3695,7 +3695,12 @@ components:
|
|
|
3695
3695
|
properties:
|
|
3696
3696
|
tier:
|
|
3697
3697
|
type: string
|
|
3698
|
-
enum: [free, pro, business]
|
|
3698
|
+
enum: [free, pro, business, enterprise]
|
|
3699
|
+
duration_days:
|
|
3700
|
+
type: integer
|
|
3701
|
+
description: How many days the tier lasts (default 365). Use 90 for a 3-month trial.
|
|
3702
|
+
minimum: 1
|
|
3703
|
+
maximum: 3650
|
|
3699
3704
|
|
|
3700
3705
|
# --- x402 ---
|
|
3701
3706
|
|
package/package.json
CHANGED