@naturali/cli 0.232.1 → 0.233.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/dist/index.mjs +274 -23
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "0.
|
|
20
|
+
var version = "0.233.0";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -5316,6 +5316,72 @@ var Playbooks = class {
|
|
|
5316
5316
|
});
|
|
5317
5317
|
}
|
|
5318
5318
|
};
|
|
5319
|
+
var Policies = class {
|
|
5320
|
+
/**
|
|
5321
|
+
* List policies
|
|
5322
|
+
*
|
|
5323
|
+
* Returns the policies of the project `project_id` names, or of the project a project-scoped credential is bound to. Without either, the unrestricted admin lists every policy, global and project ones. Pass `user_id` (unrestricted admin only) to list only the policies attached to that user.
|
|
5324
|
+
*
|
|
5325
|
+
*/
|
|
5326
|
+
static listPolicies(options) {
|
|
5327
|
+
return (options.client ?? client).get({
|
|
5328
|
+
url: "/v1/projects/{project_id}/policies",
|
|
5329
|
+
...options
|
|
5330
|
+
});
|
|
5331
|
+
}
|
|
5332
|
+
/**
|
|
5333
|
+
* Create a policy
|
|
5334
|
+
*
|
|
5335
|
+
* Creates a project policy when `project_id` is given or the credential is bound to a project: its `Allow` statements may name only that project's resources (`srn:<project_id>:<type>:<id>`), else `400`. Without a project, creates a global policy, which only the unrestricted admin may.
|
|
5336
|
+
*/
|
|
5337
|
+
static createPolicy(options) {
|
|
5338
|
+
return (options.client ?? client).post({
|
|
5339
|
+
url: "/v1/projects/{project_id}/policies",
|
|
5340
|
+
...options,
|
|
5341
|
+
headers: {
|
|
5342
|
+
"Content-Type": "application/json",
|
|
5343
|
+
...options.headers
|
|
5344
|
+
}
|
|
5345
|
+
});
|
|
5346
|
+
}
|
|
5347
|
+
/**
|
|
5348
|
+
* Delete a policy
|
|
5349
|
+
*
|
|
5350
|
+
* Deletes a policy. A project policy needs `policies:DeletePolicy` in its project; a global one, the unrestricted admin. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger, agent or webhook names it in its `policy_ids`.
|
|
5351
|
+
*/
|
|
5352
|
+
static deletePolicy(options) {
|
|
5353
|
+
return (options.client ?? client).delete({
|
|
5354
|
+
url: "/v1/projects/{project_id}/policies/{policy_id}",
|
|
5355
|
+
...options
|
|
5356
|
+
});
|
|
5357
|
+
}
|
|
5358
|
+
/**
|
|
5359
|
+
* Get a policy
|
|
5360
|
+
*
|
|
5361
|
+
* Returns a policy. A project policy needs `policies:GetPolicy` in its project; a global one, the unrestricted admin.
|
|
5362
|
+
*/
|
|
5363
|
+
static getPolicy(options) {
|
|
5364
|
+
return (options.client ?? client).get({
|
|
5365
|
+
url: "/v1/projects/{project_id}/policies/{policy_id}",
|
|
5366
|
+
...options
|
|
5367
|
+
});
|
|
5368
|
+
}
|
|
5369
|
+
/**
|
|
5370
|
+
* Update a policy
|
|
5371
|
+
*
|
|
5372
|
+
* Updates a policy. A project policy needs `policies:UpdatePolicy` in its project and its `Allow` statements stay within that project; a global one, the unrestricted admin. The project never changes.
|
|
5373
|
+
*/
|
|
5374
|
+
static updatePolicy(options) {
|
|
5375
|
+
return (options.client ?? client).put({
|
|
5376
|
+
url: "/v1/projects/{project_id}/policies/{policy_id}",
|
|
5377
|
+
...options,
|
|
5378
|
+
headers: {
|
|
5379
|
+
"Content-Type": "application/json",
|
|
5380
|
+
...options.headers
|
|
5381
|
+
}
|
|
5382
|
+
});
|
|
5383
|
+
}
|
|
5384
|
+
};
|
|
5319
5385
|
var Projects = class {
|
|
5320
5386
|
/**
|
|
5321
5387
|
* List projects
|
|
@@ -7039,6 +7105,7 @@ var NaturaliClient = class {
|
|
|
7039
7105
|
models;
|
|
7040
7106
|
orchestrations;
|
|
7041
7107
|
playbooks;
|
|
7108
|
+
policies;
|
|
7042
7109
|
projects;
|
|
7043
7110
|
secrets;
|
|
7044
7111
|
sessions;
|
|
@@ -7099,6 +7166,7 @@ var NaturaliClient = class {
|
|
|
7099
7166
|
this.models = bindResource(Models, this.http);
|
|
7100
7167
|
this.orchestrations = bindResource(Orchestrations, this.http);
|
|
7101
7168
|
this.playbooks = bindResource(Playbooks, this.http);
|
|
7169
|
+
this.policies = bindResource(Policies, this.http);
|
|
7102
7170
|
this.projects = bindResource(Projects, this.http);
|
|
7103
7171
|
this.secrets = bindResource(Secrets, this.http);
|
|
7104
7172
|
this.sessions = bindResource(Sessions, this.http);
|
|
@@ -7154,6 +7222,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
7154
7222
|
OauthConnections: () => OauthConnections,
|
|
7155
7223
|
Orchestrations: () => Orchestrations,
|
|
7156
7224
|
Playbooks: () => Playbooks,
|
|
7225
|
+
Policies: () => Policies,
|
|
7157
7226
|
Projects: () => Projects,
|
|
7158
7227
|
Quotas: () => Quotas,
|
|
7159
7228
|
Secrets: () => Secrets,
|
|
@@ -8165,7 +8234,7 @@ const routes = {
|
|
|
8165
8234
|
},
|
|
8166
8235
|
{
|
|
8167
8236
|
"name": "tags",
|
|
8168
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
8237
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
8169
8238
|
"required": false,
|
|
8170
8239
|
"type": "object",
|
|
8171
8240
|
"in": "body"
|
|
@@ -8247,7 +8316,7 @@ const routes = {
|
|
|
8247
8316
|
},
|
|
8248
8317
|
{
|
|
8249
8318
|
"name": "tags",
|
|
8250
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
8319
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
8251
8320
|
"required": true,
|
|
8252
8321
|
"type": "object",
|
|
8253
8322
|
"in": "body-root"
|
|
@@ -8281,7 +8350,7 @@ const routes = {
|
|
|
8281
8350
|
},
|
|
8282
8351
|
{
|
|
8283
8352
|
"name": "tags",
|
|
8284
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
8353
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
8285
8354
|
"required": true,
|
|
8286
8355
|
"type": "object",
|
|
8287
8356
|
"in": "body-root"
|
|
@@ -12627,7 +12696,7 @@ const routes = {
|
|
|
12627
12696
|
},
|
|
12628
12697
|
{
|
|
12629
12698
|
"name": "tags",
|
|
12630
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
12699
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
12631
12700
|
"required": true,
|
|
12632
12701
|
"type": "object",
|
|
12633
12702
|
"in": "body-root"
|
|
@@ -12672,7 +12741,7 @@ const routes = {
|
|
|
12672
12741
|
},
|
|
12673
12742
|
{
|
|
12674
12743
|
"name": "tags",
|
|
12675
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
12744
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
12676
12745
|
"required": true,
|
|
12677
12746
|
"type": "object",
|
|
12678
12747
|
"in": "body-root"
|
|
@@ -13141,7 +13210,7 @@ const routes = {
|
|
|
13141
13210
|
},
|
|
13142
13211
|
{
|
|
13143
13212
|
"name": "tags",
|
|
13144
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
13213
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
13145
13214
|
"required": true,
|
|
13146
13215
|
"type": "object",
|
|
13147
13216
|
"in": "body-root"
|
|
@@ -13175,7 +13244,7 @@ const routes = {
|
|
|
13175
13244
|
},
|
|
13176
13245
|
{
|
|
13177
13246
|
"name": "tags",
|
|
13178
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
13247
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
13179
13248
|
"required": true,
|
|
13180
13249
|
"type": "object",
|
|
13181
13250
|
"in": "body-root"
|
|
@@ -13859,7 +13928,7 @@ const routes = {
|
|
|
13859
13928
|
},
|
|
13860
13929
|
{
|
|
13861
13930
|
"name": "tags",
|
|
13862
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
13931
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
13863
13932
|
"required": false,
|
|
13864
13933
|
"type": "object",
|
|
13865
13934
|
"in": "body"
|
|
@@ -13928,7 +13997,7 @@ const routes = {
|
|
|
13928
13997
|
},
|
|
13929
13998
|
{
|
|
13930
13999
|
"name": "tags",
|
|
13931
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
14000
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
13932
14001
|
"required": false,
|
|
13933
14002
|
"type": "object",
|
|
13934
14003
|
"in": "body"
|
|
@@ -14097,7 +14166,7 @@ const routes = {
|
|
|
14097
14166
|
},
|
|
14098
14167
|
{
|
|
14099
14168
|
"name": "tags",
|
|
14100
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
14169
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
14101
14170
|
"required": false,
|
|
14102
14171
|
"type": "object",
|
|
14103
14172
|
"in": "body"
|
|
@@ -14672,7 +14741,7 @@ const routes = {
|
|
|
14672
14741
|
},
|
|
14673
14742
|
{
|
|
14674
14743
|
"name": "tags",
|
|
14675
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
14744
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
14676
14745
|
"required": true,
|
|
14677
14746
|
"type": "object",
|
|
14678
14747
|
"in": "body-root"
|
|
@@ -14713,7 +14782,7 @@ const routes = {
|
|
|
14713
14782
|
},
|
|
14714
14783
|
{
|
|
14715
14784
|
"name": "tags",
|
|
14716
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
14785
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
14717
14786
|
"required": true,
|
|
14718
14787
|
"type": "object",
|
|
14719
14788
|
"in": "body-root"
|
|
@@ -16128,7 +16197,7 @@ const routes = {
|
|
|
16128
16197
|
},
|
|
16129
16198
|
{
|
|
16130
16199
|
"name": "tags",
|
|
16131
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
16200
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
16132
16201
|
"required": true,
|
|
16133
16202
|
"type": "object",
|
|
16134
16203
|
"in": "body-root"
|
|
@@ -16162,7 +16231,7 @@ const routes = {
|
|
|
16162
16231
|
},
|
|
16163
16232
|
{
|
|
16164
16233
|
"name": "tags",
|
|
16165
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
16234
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
16166
16235
|
"required": true,
|
|
16167
16236
|
"type": "object",
|
|
16168
16237
|
"in": "body-root"
|
|
@@ -18837,7 +18906,7 @@ const routes = {
|
|
|
18837
18906
|
},
|
|
18838
18907
|
{
|
|
18839
18908
|
"name": "tags",
|
|
18840
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
18909
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
18841
18910
|
"required": true,
|
|
18842
18911
|
"type": "object",
|
|
18843
18912
|
"in": "body-root"
|
|
@@ -18878,7 +18947,7 @@ const routes = {
|
|
|
18878
18947
|
},
|
|
18879
18948
|
{
|
|
18880
18949
|
"name": "tags",
|
|
18881
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
18950
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
18882
18951
|
"required": true,
|
|
18883
18952
|
"type": "object",
|
|
18884
18953
|
"in": "body-root"
|
|
@@ -19558,7 +19627,7 @@ const routes = {
|
|
|
19558
19627
|
},
|
|
19559
19628
|
{
|
|
19560
19629
|
"name": "tags",
|
|
19561
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
19630
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
19562
19631
|
"required": true,
|
|
19563
19632
|
"type": "object",
|
|
19564
19633
|
"in": "body-root"
|
|
@@ -19592,7 +19661,7 @@ const routes = {
|
|
|
19592
19661
|
},
|
|
19593
19662
|
{
|
|
19594
19663
|
"name": "tags",
|
|
19595
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
19664
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
19596
19665
|
"required": true,
|
|
19597
19666
|
"type": "object",
|
|
19598
19667
|
"in": "body-root"
|
|
@@ -22577,6 +22646,188 @@ const routes = {
|
|
|
22577
22646
|
}
|
|
22578
22647
|
]
|
|
22579
22648
|
},
|
|
22649
|
+
"list-policies": {
|
|
22650
|
+
serviceClass: "Policies",
|
|
22651
|
+
operationId: "listPolicies",
|
|
22652
|
+
description: "Returns the policies of the project `project_id` names, or of the project a project-scoped credential is bound to. Without either, the unrestricted admin lists every policy, global and project ones. Pass `user_id` (unrestricted admin only) to list only the policies attached to that user.",
|
|
22653
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/policies",
|
|
22654
|
+
httpMethod: "get",
|
|
22655
|
+
pathParams: ["project_id"],
|
|
22656
|
+
queryParams: [
|
|
22657
|
+
"user_id",
|
|
22658
|
+
"limit",
|
|
22659
|
+
"cursor"
|
|
22660
|
+
],
|
|
22661
|
+
headerParams: [],
|
|
22662
|
+
cookieParams: [],
|
|
22663
|
+
flags: [
|
|
22664
|
+
{
|
|
22665
|
+
"name": "project_id",
|
|
22666
|
+
"description": "Project public ID (proj_ prefix).",
|
|
22667
|
+
"required": true,
|
|
22668
|
+
"type": "string",
|
|
22669
|
+
"in": "path"
|
|
22670
|
+
},
|
|
22671
|
+
{
|
|
22672
|
+
"name": "user_id",
|
|
22673
|
+
"description": "Return only policies attached to this user (user_...)",
|
|
22674
|
+
"required": false,
|
|
22675
|
+
"type": "string",
|
|
22676
|
+
"in": "query"
|
|
22677
|
+
},
|
|
22678
|
+
{
|
|
22679
|
+
"name": "limit",
|
|
22680
|
+
"description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
|
|
22681
|
+
"required": false,
|
|
22682
|
+
"type": "integer",
|
|
22683
|
+
"in": "query"
|
|
22684
|
+
},
|
|
22685
|
+
{
|
|
22686
|
+
"name": "cursor",
|
|
22687
|
+
"description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
|
|
22688
|
+
"required": false,
|
|
22689
|
+
"type": "string",
|
|
22690
|
+
"in": "query"
|
|
22691
|
+
}
|
|
22692
|
+
]
|
|
22693
|
+
},
|
|
22694
|
+
"create-policy": {
|
|
22695
|
+
serviceClass: "Policies",
|
|
22696
|
+
operationId: "createPolicy",
|
|
22697
|
+
description: "Creates a project policy when `project_id` is given or the credential is bound to a project: its `Allow` statements may name only that project's resources (`srn:<project_id>:<type>:<id>`), else `400`. Without a project, creates a global policy, which only the unrestricted admin may.",
|
|
22698
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/policies",
|
|
22699
|
+
httpMethod: "post",
|
|
22700
|
+
pathParams: ["project_id"],
|
|
22701
|
+
queryParams: [],
|
|
22702
|
+
headerParams: [],
|
|
22703
|
+
cookieParams: [],
|
|
22704
|
+
flags: [
|
|
22705
|
+
{
|
|
22706
|
+
"name": "project_id",
|
|
22707
|
+
"description": "Project public ID (proj_ prefix).",
|
|
22708
|
+
"required": true,
|
|
22709
|
+
"type": "string",
|
|
22710
|
+
"in": "path"
|
|
22711
|
+
},
|
|
22712
|
+
{
|
|
22713
|
+
"name": "name",
|
|
22714
|
+
"description": "",
|
|
22715
|
+
"required": false,
|
|
22716
|
+
"type": "string",
|
|
22717
|
+
"in": "body"
|
|
22718
|
+
},
|
|
22719
|
+
{
|
|
22720
|
+
"name": "description",
|
|
22721
|
+
"description": "",
|
|
22722
|
+
"required": false,
|
|
22723
|
+
"type": "string",
|
|
22724
|
+
"in": "body"
|
|
22725
|
+
},
|
|
22726
|
+
{
|
|
22727
|
+
"name": "document",
|
|
22728
|
+
"description": "",
|
|
22729
|
+
"required": true,
|
|
22730
|
+
"type": "object",
|
|
22731
|
+
"in": "body"
|
|
22732
|
+
}
|
|
22733
|
+
]
|
|
22734
|
+
},
|
|
22735
|
+
"get-policy": {
|
|
22736
|
+
serviceClass: "Policies",
|
|
22737
|
+
operationId: "getPolicy",
|
|
22738
|
+
description: "Returns a policy. A project policy needs `policies:GetPolicy` in its project; a global one, the unrestricted admin.",
|
|
22739
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/policies",
|
|
22740
|
+
httpMethod: "get",
|
|
22741
|
+
pathParams: ["project_id", "policy_id"],
|
|
22742
|
+
queryParams: [],
|
|
22743
|
+
headerParams: [],
|
|
22744
|
+
cookieParams: [],
|
|
22745
|
+
flags: [{
|
|
22746
|
+
"name": "project_id",
|
|
22747
|
+
"description": "Project public ID (proj_ prefix).",
|
|
22748
|
+
"required": true,
|
|
22749
|
+
"type": "string",
|
|
22750
|
+
"in": "path"
|
|
22751
|
+
}, {
|
|
22752
|
+
"name": "policy_id",
|
|
22753
|
+
"description": "Policy public ID (pol_ prefix)",
|
|
22754
|
+
"required": true,
|
|
22755
|
+
"type": "string",
|
|
22756
|
+
"in": "path"
|
|
22757
|
+
}]
|
|
22758
|
+
},
|
|
22759
|
+
"update-policy": {
|
|
22760
|
+
serviceClass: "Policies",
|
|
22761
|
+
operationId: "updatePolicy",
|
|
22762
|
+
description: "Updates a policy. A project policy needs `policies:UpdatePolicy` in its project and its `Allow` statements stay within that project; a global one, the unrestricted admin. The project never changes.",
|
|
22763
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/policies",
|
|
22764
|
+
httpMethod: "put",
|
|
22765
|
+
pathParams: ["project_id", "policy_id"],
|
|
22766
|
+
queryParams: [],
|
|
22767
|
+
headerParams: [],
|
|
22768
|
+
cookieParams: [],
|
|
22769
|
+
flags: [
|
|
22770
|
+
{
|
|
22771
|
+
"name": "project_id",
|
|
22772
|
+
"description": "Project public ID (proj_ prefix).",
|
|
22773
|
+
"required": true,
|
|
22774
|
+
"type": "string",
|
|
22775
|
+
"in": "path"
|
|
22776
|
+
},
|
|
22777
|
+
{
|
|
22778
|
+
"name": "policy_id",
|
|
22779
|
+
"description": "Policy public ID (pol_ prefix)",
|
|
22780
|
+
"required": true,
|
|
22781
|
+
"type": "string",
|
|
22782
|
+
"in": "path"
|
|
22783
|
+
},
|
|
22784
|
+
{
|
|
22785
|
+
"name": "name",
|
|
22786
|
+
"description": "",
|
|
22787
|
+
"required": false,
|
|
22788
|
+
"type": "string",
|
|
22789
|
+
"in": "body"
|
|
22790
|
+
},
|
|
22791
|
+
{
|
|
22792
|
+
"name": "description",
|
|
22793
|
+
"description": "",
|
|
22794
|
+
"required": false,
|
|
22795
|
+
"type": "string",
|
|
22796
|
+
"in": "body"
|
|
22797
|
+
},
|
|
22798
|
+
{
|
|
22799
|
+
"name": "document",
|
|
22800
|
+
"description": "",
|
|
22801
|
+
"required": true,
|
|
22802
|
+
"type": "object",
|
|
22803
|
+
"in": "body"
|
|
22804
|
+
}
|
|
22805
|
+
]
|
|
22806
|
+
},
|
|
22807
|
+
"delete-policy": {
|
|
22808
|
+
serviceClass: "Policies",
|
|
22809
|
+
operationId: "deletePolicy",
|
|
22810
|
+
description: "Deletes a policy. A project policy needs `policies:DeletePolicy` in its project; a global one, the unrestricted admin. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger, agent or webhook names it in its `policy_ids`.",
|
|
22811
|
+
moduleDocsUrl: "https://naturali.ai/docs/modules/policies",
|
|
22812
|
+
httpMethod: "delete",
|
|
22813
|
+
pathParams: ["project_id", "policy_id"],
|
|
22814
|
+
queryParams: [],
|
|
22815
|
+
headerParams: [],
|
|
22816
|
+
cookieParams: [],
|
|
22817
|
+
flags: [{
|
|
22818
|
+
"name": "project_id",
|
|
22819
|
+
"description": "Project public ID (proj_ prefix).",
|
|
22820
|
+
"required": true,
|
|
22821
|
+
"type": "string",
|
|
22822
|
+
"in": "path"
|
|
22823
|
+
}, {
|
|
22824
|
+
"name": "policy_id",
|
|
22825
|
+
"description": "Policy public ID (pol_ prefix)",
|
|
22826
|
+
"required": true,
|
|
22827
|
+
"type": "string",
|
|
22828
|
+
"in": "path"
|
|
22829
|
+
}]
|
|
22830
|
+
},
|
|
22580
22831
|
"list-projects": {
|
|
22581
22832
|
serviceClass: "Projects",
|
|
22582
22833
|
operationId: "listProjects",
|
|
@@ -23894,7 +24145,7 @@ const routes = {
|
|
|
23894
24145
|
},
|
|
23895
24146
|
{
|
|
23896
24147
|
"name": "tags",
|
|
23897
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
24148
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
23898
24149
|
"required": false,
|
|
23899
24150
|
"type": "object",
|
|
23900
24151
|
"in": "body"
|
|
@@ -24266,7 +24517,7 @@ const routes = {
|
|
|
24266
24517
|
},
|
|
24267
24518
|
{
|
|
24268
24519
|
"name": "tags",
|
|
24269
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
24520
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
24270
24521
|
"required": false,
|
|
24271
24522
|
"type": "object",
|
|
24272
24523
|
"in": "body"
|
|
@@ -24372,7 +24623,7 @@ const routes = {
|
|
|
24372
24623
|
},
|
|
24373
24624
|
{
|
|
24374
24625
|
"name": "tags",
|
|
24375
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
24626
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
24376
24627
|
"required": true,
|
|
24377
24628
|
"type": "object",
|
|
24378
24629
|
"in": "body-root"
|
|
@@ -24406,7 +24657,7 @@ const routes = {
|
|
|
24406
24657
|
},
|
|
24407
24658
|
{
|
|
24408
24659
|
"name": "tags",
|
|
24409
|
-
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter and
|
|
24660
|
+
"description": "Key-value labels on a resource. A flat object of string values — an array, a nested object or a number is rejected with `400 VALIDATION_FAILED`, never coerced. Keys are opaque and stored verbatim, so `cost_center` and `costCenter` are two different tags. Matched by JSONB containment wherever tags are read: the `?tags=` filter, knowledge search, and the IAM `iam:ResourceTag/<key>` condition.\n\nKeys beginning `system.` are reserved: the platform writes them to record which conversation, actor, agent and role a row came from, and a write naming one is refused with `400 RESERVED_TAG_KEY`. They are read and filtered like any other tag.\n\nThe bag is bounded, because every pair reaches the IAM context of every access check on the resource: at most 50 keys, each key at most 128 characters and each value at most 256. A write past a bound — including a merge that would grow the stored bag past the key count — is `400 VALIDATION_FAILED` with `meta.limit` naming the bound it crossed. `system.*` keys are the platform's and do not count against the 50.",
|
|
24410
24661
|
"required": true,
|
|
24411
24662
|
"type": "object",
|
|
24412
24663
|
"in": "body-root"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.233.0",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"yaml": "^2.9.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@naturali/sdk": "0.
|
|
34
|
+
"@naturali/sdk": "0.233.0",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|