@soat/cli 0.15.6 → 0.15.7
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/dist/index.mjs +8 -8
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { load } from "js-yaml";
|
|
|
13
13
|
import * as os from "node:os";
|
|
14
14
|
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "0.15.
|
|
16
|
+
var version = "0.15.7";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -1313,7 +1313,7 @@ var routes = {
|
|
|
1313
1313
|
"create-api-key": {
|
|
1314
1314
|
serviceClass: "APIKeys",
|
|
1315
1315
|
operationId: "createApiKey",
|
|
1316
|
-
description: "Creates a new API key for the authenticated user. - `project_id` is
|
|
1316
|
+
description: "Creates a new API key for the authenticated user. - `project_id` is optional. When set, the key is scoped to that single project. When omitted or null, the key is **unscoped** and spans every project its owner can reach. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - Otherwise the key inherits the user's permissions (confined to the key's project when scoped).",
|
|
1317
1317
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/api-keys",
|
|
1318
1318
|
pathParams: [],
|
|
1319
1319
|
queryParams: [],
|
|
@@ -1325,8 +1325,8 @@ var routes = {
|
|
|
1325
1325
|
"in": "body"
|
|
1326
1326
|
}, {
|
|
1327
1327
|
"name": "project_id",
|
|
1328
|
-
"description": "
|
|
1329
|
-
"required":
|
|
1328
|
+
"description": "Optional project ID to scope the key to. Omit or set null to create an unscoped key that spans projects.",
|
|
1329
|
+
"required": false,
|
|
1330
1330
|
"type": "string",
|
|
1331
1331
|
"in": "body"
|
|
1332
1332
|
}, {
|
|
@@ -1355,7 +1355,7 @@ var routes = {
|
|
|
1355
1355
|
"update-api-key": {
|
|
1356
1356
|
serviceClass: "APIKeys",
|
|
1357
1357
|
operationId: "updateApiKey",
|
|
1358
|
-
description: "Updates an API key's name, project scope, or policies. The project scope can be changed to another project
|
|
1358
|
+
description: "Updates an API key's name, project scope, or policies. The project scope can be changed to another project, set (scoping a previously unscoped key), or cleared with null (unscoping the key). Only the owner or an admin can update it.",
|
|
1359
1359
|
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/api-keys",
|
|
1360
1360
|
pathParams: ["api_key_id"],
|
|
1361
1361
|
queryParams: [],
|
|
@@ -1373,7 +1373,7 @@ var routes = {
|
|
|
1373
1373
|
"in": "body"
|
|
1374
1374
|
}, {
|
|
1375
1375
|
"name": "project_id",
|
|
1376
|
-
"description": "Re-scope the key to a different project
|
|
1376
|
+
"description": "Re-scope the key to a different project, or set null to clear the scope (unscoped key). Omit to leave the scope unchanged.",
|
|
1377
1377
|
"required": false,
|
|
1378
1378
|
"type": "string",
|
|
1379
1379
|
"in": "body"
|
|
@@ -3005,7 +3005,7 @@ var routes = {
|
|
|
3005
3005
|
"in": "body"
|
|
3006
3006
|
}, {
|
|
3007
3007
|
"name": "metadata",
|
|
3008
|
-
"description": "",
|
|
3008
|
+
"description": "Static annotations stored on the formation record. This field is NOT a substitution site: `sub`/`param`/`ref` expressions are rejected with 400 (`FORMATION_INVALID_METADATA`). For deploy-time substitution use the template's top-level `metadata` block, which is resolved into `resolved_metadata`.\n",
|
|
3009
3009
|
"required": false,
|
|
3010
3010
|
"type": "object",
|
|
3011
3011
|
"in": "body"
|
|
@@ -3053,7 +3053,7 @@ var routes = {
|
|
|
3053
3053
|
"in": "body"
|
|
3054
3054
|
}, {
|
|
3055
3055
|
"name": "metadata",
|
|
3056
|
-
"description": "",
|
|
3056
|
+
"description": "Static annotations stored on the formation record. This field is NOT a substitution site: `sub`/`param`/`ref` expressions are rejected with 400 (`FORMATION_INVALID_METADATA`). For deploy-time substitution use the template's top-level `metadata` block, which is resolved into `resolved_metadata`.\n",
|
|
3057
3057
|
"required": false,
|
|
3058
3058
|
"type": "object",
|
|
3059
3059
|
"in": "body"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.1.2",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.19",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^5.2.1",
|
|
11
|
-
"@soat/sdk": "0.15.
|
|
11
|
+
"@soat/sdk": "0.15.7"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.17",
|