@breign/client 1.0.138 → 1.0.140

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/openapi.json CHANGED
@@ -1162,6 +1162,12 @@
1162
1162
  },
1163
1163
  "description" : "Editor state retrieved successfully"
1164
1164
  },
1165
+ "401" : {
1166
+ "description" : "Unauthorized"
1167
+ },
1168
+ "403" : {
1169
+ "description" : "Forbidden - User doesn't have access to this agent"
1170
+ },
1165
1171
  "404" : {
1166
1172
  "description" : "Agent or editor state not found"
1167
1173
  }
@@ -1196,6 +1202,12 @@
1196
1202
  "204" : {
1197
1203
  "description" : "Editor state updated successfully"
1198
1204
  },
1205
+ "401" : {
1206
+ "description" : "Unauthorized"
1207
+ },
1208
+ "403" : {
1209
+ "description" : "Forbidden - User doesn't have access to this agent"
1210
+ },
1199
1211
  "404" : {
1200
1212
  "description" : "Agent not found"
1201
1213
  }
@@ -1225,6 +1237,12 @@
1225
1237
  }
1226
1238
  },
1227
1239
  "description" : "Flow editor state"
1240
+ },
1241
+ "401" : {
1242
+ "description" : "Unauthorized"
1243
+ },
1244
+ "403" : {
1245
+ "description" : "Forbidden - User doesn't have access to this agent"
1228
1246
  }
1229
1247
  },
1230
1248
  "summary" : "Get flow editor state for an agent",
@@ -1253,6 +1271,12 @@
1253
1271
  "responses" : {
1254
1272
  "204" : {
1255
1273
  "description" : "Flow editor state updated"
1274
+ },
1275
+ "401" : {
1276
+ "description" : "Unauthorized"
1277
+ },
1278
+ "403" : {
1279
+ "description" : "Forbidden - User doesn't have access to this agent"
1256
1280
  }
1257
1281
  },
1258
1282
  "summary" : "Create or update flow editor state for an agent",
@@ -1710,6 +1734,9 @@
1710
1734
  "401" : {
1711
1735
  "description" : "Unauthorized"
1712
1736
  },
1737
+ "403" : {
1738
+ "description" : "Forbidden - User doesn't have access to this agent"
1739
+ },
1713
1740
  "404" : {
1714
1741
  "description" : "Agent not found"
1715
1742
  },
@@ -3118,6 +3145,12 @@
3118
3145
  }
3119
3146
  },
3120
3147
  "description" : "App Chat created successfully"
3148
+ },
3149
+ "401" : {
3150
+ "description" : "Unauthorized"
3151
+ },
3152
+ "403" : {
3153
+ "description" : "Forbidden - User doesn't have access to this app"
3121
3154
  }
3122
3155
  },
3123
3156
  "summary" : "Initialize a chat",
@@ -3172,6 +3205,12 @@
3172
3205
  }
3173
3206
  },
3174
3207
  "description" : "Message submitted successfully"
3208
+ },
3209
+ "401" : {
3210
+ "description" : "Unauthorized"
3211
+ },
3212
+ "403" : {
3213
+ "description" : "Forbidden - User doesn't have access to this app"
3175
3214
  }
3176
3215
  },
3177
3216
  "summary" : "Submit a new message to a chat",
@@ -3743,6 +3782,9 @@
3743
3782
  "401" : {
3744
3783
  "description" : "Unauthorized"
3745
3784
  },
3785
+ "403" : {
3786
+ "description" : "Forbidden - User doesn't have access to this app"
3787
+ },
3746
3788
  "404" : {
3747
3789
  "description" : "App not found"
3748
3790
  },
@@ -8054,6 +8096,206 @@
8054
8096
  "tags" : [ "metrics" ]
8055
8097
  }
8056
8098
  },
8099
+ "/organizations/{organizationId}/tool-approvals" : {
8100
+ "get" : {
8101
+ "description" : "Returns the approvals the CALLER granted in this organisation, newest first. Revoking one deletes it, so every approval returned is a right in force — there is no expiry and no revoked state to filter out. Never another user's: an approval is a personal consent.",
8102
+ "operationId" : "listToolApprovals",
8103
+ "parameters" : [ {
8104
+ "description" : "ID of the organization",
8105
+ "in" : "path",
8106
+ "name" : "organizationId",
8107
+ "required" : true,
8108
+ "schema" : {
8109
+ "type" : "string"
8110
+ }
8111
+ }, {
8112
+ "description" : "Restricts the listing to one agent: its own approvals plus the organisation-wide ones, which apply to it as well. Omitted, everything the caller granted in the organisation.",
8113
+ "in" : "query",
8114
+ "name" : "agentId",
8115
+ "required" : false,
8116
+ "schema" : {
8117
+ "type" : "string"
8118
+ }
8119
+ } ],
8120
+ "responses" : {
8121
+ "200" : {
8122
+ "content" : {
8123
+ "application/json" : {
8124
+ "schema" : {
8125
+ "$ref" : "#/components/schemas/ToolApprovalsResponse"
8126
+ }
8127
+ }
8128
+ },
8129
+ "description" : "Approvals granted by the caller"
8130
+ },
8131
+ "401" : {
8132
+ "description" : "Unauthorized"
8133
+ },
8134
+ "403" : {
8135
+ "description" : "Forbidden"
8136
+ }
8137
+ },
8138
+ "summary" : "List the operations the caller has authorised",
8139
+ "tags" : [ "organizations" ]
8140
+ },
8141
+ "post" : {
8142
+ "description" : "Creates an approval without waiting for the agent to ask for one — preparing an agent rather than answering its questions. It widens no boundary: the value goes through the same validation as an in-conversation approval, the scope is the only one open (this agent, for the caller), and the author is the caller. Granting a value that is already granted returns the existing approval rather than a duplicate.",
8143
+ "operationId" : "createToolApproval",
8144
+ "parameters" : [ {
8145
+ "description" : "ID of the organization",
8146
+ "in" : "path",
8147
+ "name" : "organizationId",
8148
+ "required" : true,
8149
+ "schema" : {
8150
+ "type" : "string"
8151
+ }
8152
+ } ],
8153
+ "requestBody" : {
8154
+ "content" : {
8155
+ "application/json" : {
8156
+ "schema" : {
8157
+ "$ref" : "#/components/schemas/createToolApproval_request"
8158
+ }
8159
+ }
8160
+ },
8161
+ "required" : true
8162
+ },
8163
+ "responses" : {
8164
+ "201" : {
8165
+ "content" : {
8166
+ "application/json" : {
8167
+ "schema" : {
8168
+ "$ref" : "#/components/schemas/ToolApproval"
8169
+ }
8170
+ }
8171
+ },
8172
+ "description" : "Approval granted"
8173
+ },
8174
+ "400" : {
8175
+ "description" : "The value is not valid for that family"
8176
+ },
8177
+ "401" : {
8178
+ "description" : "Unauthorized"
8179
+ },
8180
+ "403" : {
8181
+ "description" : "Forbidden, or no access to that agent"
8182
+ },
8183
+ "404" : {
8184
+ "description" : "No such agent in this organisation"
8185
+ },
8186
+ "503" : {
8187
+ "description" : "Tool approvals are not configured on this deployment"
8188
+ }
8189
+ },
8190
+ "summary" : "Grant an approval by hand",
8191
+ "tags" : [ "organizations" ]
8192
+ }
8193
+ },
8194
+ "/organizations/{organizationId}/tool-approvals/{approvalId}" : {
8195
+ "delete" : {
8196
+ "description" : "Takes back one approval the caller granted. The approval is deleted, and the agent asks again the next time it needs that operation. It takes effect on the agent's next turn.",
8197
+ "operationId" : "revokeToolApproval",
8198
+ "parameters" : [ {
8199
+ "description" : "ID of the organization",
8200
+ "in" : "path",
8201
+ "name" : "organizationId",
8202
+ "required" : true,
8203
+ "schema" : {
8204
+ "type" : "string"
8205
+ }
8206
+ }, {
8207
+ "description" : "Identifier of the approval, as returned by the listing.",
8208
+ "in" : "path",
8209
+ "name" : "approvalId",
8210
+ "required" : true,
8211
+ "schema" : {
8212
+ "type" : "string"
8213
+ }
8214
+ } ],
8215
+ "responses" : {
8216
+ "204" : {
8217
+ "description" : "Approval revoked"
8218
+ },
8219
+ "401" : {
8220
+ "description" : "Unauthorized"
8221
+ },
8222
+ "403" : {
8223
+ "description" : "Forbidden"
8224
+ },
8225
+ "404" : {
8226
+ "description" : "No such approval granted by the caller in this organisation"
8227
+ },
8228
+ "503" : {
8229
+ "description" : "Tool approvals are not configured on this deployment"
8230
+ }
8231
+ },
8232
+ "summary" : "Revoke an approval",
8233
+ "tags" : [ "organizations" ]
8234
+ },
8235
+ "patch" : {
8236
+ "description" : "Rewrites what one approval covers — widening an address into a pattern, or correcting a command. Only an approval the caller granted himself, and only its resource: the scope, the agent and the author never change. An approval cannot be created this way; a right only ever starts with a question the agent actually asked.",
8237
+ "operationId" : "editToolApproval",
8238
+ "parameters" : [ {
8239
+ "description" : "ID of the organization",
8240
+ "in" : "path",
8241
+ "name" : "organizationId",
8242
+ "required" : true,
8243
+ "schema" : {
8244
+ "type" : "string"
8245
+ }
8246
+ }, {
8247
+ "description" : "Identifier of the approval, as returned by the listing.",
8248
+ "in" : "path",
8249
+ "name" : "approvalId",
8250
+ "required" : true,
8251
+ "schema" : {
8252
+ "type" : "string"
8253
+ }
8254
+ } ],
8255
+ "requestBody" : {
8256
+ "content" : {
8257
+ "application/json" : {
8258
+ "schema" : {
8259
+ "$ref" : "#/components/schemas/editToolApproval_request"
8260
+ }
8261
+ }
8262
+ },
8263
+ "required" : true
8264
+ },
8265
+ "responses" : {
8266
+ "200" : {
8267
+ "content" : {
8268
+ "application/json" : {
8269
+ "schema" : {
8270
+ "$ref" : "#/components/schemas/ToolApproval"
8271
+ }
8272
+ }
8273
+ },
8274
+ "description" : "Approval updated"
8275
+ },
8276
+ "400" : {
8277
+ "description" : "The value is not valid for that family"
8278
+ },
8279
+ "401" : {
8280
+ "description" : "Unauthorized"
8281
+ },
8282
+ "403" : {
8283
+ "description" : "Forbidden"
8284
+ },
8285
+ "404" : {
8286
+ "description" : "No such approval granted by the caller in this organisation"
8287
+ },
8288
+ "409" : {
8289
+ "description" : "The caller already granted that exact value in the same scope"
8290
+ },
8291
+ "503" : {
8292
+ "description" : "Tool approvals are not configured on this deployment"
8293
+ }
8294
+ },
8295
+ "summary" : "Edit an approval the caller granted",
8296
+ "tags" : [ "organizations" ]
8297
+ }
8298
+ },
8057
8299
  "/manifests" : {
8058
8300
  "get" : {
8059
8301
  "description" : "Retrieves manifests, filtered by user ID for non-admin users",
@@ -9198,6 +9440,9 @@
9198
9440
  "401" : {
9199
9441
  "description" : "Unauthorized"
9200
9442
  },
9443
+ "403" : {
9444
+ "description" : "Forbidden - Organization admin rights required"
9445
+ },
9201
9446
  "404" : {
9202
9447
  "description" : "Knowledge base not found"
9203
9448
  },
@@ -9460,6 +9705,9 @@
9460
9705
  "401" : {
9461
9706
  "description" : "Unauthorized"
9462
9707
  },
9708
+ "403" : {
9709
+ "description" : "Forbidden - User is not part of the organization"
9710
+ },
9463
9711
  "404" : {
9464
9712
  "description" : "File not found"
9465
9713
  },
@@ -11497,7 +11745,10 @@
11497
11745
  "description" : "Invalid request body"
11498
11746
  },
11499
11747
  "401" : {
11500
- "description" : "Unauthorized (organization admin rights required)"
11748
+ "description" : "Unauthorized"
11749
+ },
11750
+ "403" : {
11751
+ "description" : "Forbidden - Organization admin rights required"
11501
11752
  },
11502
11753
  "404" : {
11503
11754
  "description" : "LIBRARY_AGENT_NOT_FOUND"
@@ -11971,7 +12222,10 @@
11971
12222
  "description" : "Invalid request body"
11972
12223
  },
11973
12224
  "401" : {
11974
- "description" : "Unauthorized (organization admin rights required)"
12225
+ "description" : "Unauthorized"
12226
+ },
12227
+ "403" : {
12228
+ "description" : "Forbidden - Organization admin rights required"
11975
12229
  },
11976
12230
  "404" : {
11977
12231
  "description" : "AGENT_NOT_FOUND, AGENT_NOT_MANAGED or LIBRARY_AGENT_NOT_FOUND"
@@ -15491,12 +15745,13 @@
15491
15745
  "type" : "object"
15492
15746
  },
15493
15747
  "AgentSandboxNetworkConfiguration" : {
15494
- "description" : "Enables curl inside the sandbox. Without at least one entry in allowedUrlPrefixes the network stays cut. Private address ranges are always denied, server-side.",
15748
+ "description" : "Enables curl inside the sandbox. allowedUrlPrefixes is optional and normally empty: an address that is not listed is submitted to the user, who allows or refuses it in the conversation. It only stays useful where nobody can be asked — an app or a widget — since the network is cut there without a pre-approved entry. Private address ranges are always denied, server-side.",
15495
15749
  "properties" : {
15496
15750
  "enabled" : {
15497
15751
  "type" : "boolean"
15498
15752
  },
15499
15753
  "allowedUrlPrefixes" : {
15754
+ "description" : "Addresses that need no confirmation. Not editable from the agent settings screen: an empty list is the nominal setup, and what the user approves in conversation is stored separately and revoked from the organisation settings.",
15500
15755
  "items" : {
15501
15756
  "description" : "Full origin, path prefix allowed (e.g. https://api.exemple.com/v1/).",
15502
15757
  "type" : "string"
@@ -16690,6 +16945,12 @@
16690
16945
  },
16691
16946
  "type" : "array"
16692
16947
  },
16948
+ "approvals" : {
16949
+ "items" : {
16950
+ "$ref" : "#/components/schemas/ConversationMessageApproval"
16951
+ },
16952
+ "type" : "array"
16953
+ },
16693
16954
  "suggestions" : {
16694
16955
  "items" : {
16695
16956
  "$ref" : "#/components/schemas/Suggestion"
@@ -16802,6 +17063,40 @@
16802
17063
  "required" : [ "code" ],
16803
17064
  "type" : "object"
16804
17065
  },
17066
+ "ConversationMessageApproval" : {
17067
+ "additionalProperties" : false,
17068
+ "description" : "One authorisation decision taken during this message: which tool, over what, by whom, when. Carried by the message so the history reads as it stands, with no extra request. For a decision granted once it is the only lasting trace there is — a one-off creates no standing approval. Deliberately beside toolResults rather than inside it: toolResults is replayed to the model every turn, and a one-off appearing there would later suggest a right that has expired.",
17069
+ "properties" : {
17070
+ "tool" : {
17071
+ "description" : "The tool whose use was submitted for approval. It also says which family the decision belongs to: bash_network_approval an address, bash_python_approval a command.",
17072
+ "type" : "string"
17073
+ },
17074
+ "granted" : {
17075
+ "description" : "Refusals are kept too — deciding not to allow is worth reading back.",
17076
+ "type" : "boolean"
17077
+ },
17078
+ "resource" : {
17079
+ "description" : "What was granted, or on a refusal what had been asked for. An address is the prefix, never the full URL, which can carry a token.",
17080
+ "example" : "https://api.exemple.com/v1",
17081
+ "type" : "string"
17082
+ },
17083
+ "scope" : {
17084
+ "description" : "How far the yes reached. once — this reply only, nothing stored, asked about again next time. agentUser — this agent, for this user, in every conversation, until revoked. Absent on a refusal, which grants nothing.",
17085
+ "enum" : [ "once", "agentUser" ],
17086
+ "type" : "string"
17087
+ },
17088
+ "approvedBy" : {
17089
+ "description" : "Name or email of the person who decided, as it stood when they decided.",
17090
+ "type" : "string"
17091
+ },
17092
+ "at" : {
17093
+ "type" : "string"
17094
+ }
17095
+ },
17096
+ "required" : [ "at", "granted", "resource", "tool" ],
17097
+ "title" : "ConversationMessageApproval",
17098
+ "type" : "object"
17099
+ },
16805
17100
  "Suggestion" : {
16806
17101
  "properties" : {
16807
17102
  "id" : {
@@ -19514,6 +19809,61 @@
19514
19809
  "TotalRequests" : {
19515
19810
  "type" : "number"
19516
19811
  },
19812
+ "ToolApprovalsResponse" : {
19813
+ "additionalProperties" : false,
19814
+ "properties" : {
19815
+ "approvals" : {
19816
+ "items" : {
19817
+ "$ref" : "#/components/schemas/ToolApproval"
19818
+ },
19819
+ "type" : "array"
19820
+ }
19821
+ },
19822
+ "required" : [ "approvals" ],
19823
+ "title" : "ToolApprovalsResponse",
19824
+ "type" : "object"
19825
+ },
19826
+ "ToolApproval" : {
19827
+ "additionalProperties" : false,
19828
+ "description" : "One operation the user has authorised an agent to perform. Two families share this shape: an address the agent sandbox may reach, and a python command it may run. An address is stored normalised — query string, fragment and credentials removed — so a token carried by the URL the user saw is not kept here; a command is stored as it was approved, since the command itself is what was judged.",
19829
+ "properties" : {
19830
+ "id" : {
19831
+ "description" : "Identifier to revoke the approval with.",
19832
+ "type" : "string"
19833
+ },
19834
+ "scopeKind" : {
19835
+ "description" : "What the approval covers. agentUser — this agent, for this user, across all of their conversations — is the only scope stored today. user is still listed because rows stored under it remain in force and readable. A one-off \"allow once\" answer creates no row here at all: it is recorded on the tool call it answered, see ToolCallApproval.",
19836
+ "enum" : [ "agentUser", "user" ],
19837
+ "type" : "string"
19838
+ },
19839
+ "toolName" : {
19840
+ "description" : "The tool the approval applies to. Approvals never cross tools.",
19841
+ "example" : "Bash_exec",
19842
+ "type" : "string"
19843
+ },
19844
+ "resourceKind" : {
19845
+ "description" : "Which family the approval belongs to. url is an address the agent sandbox may reach; urlPattern is a glob covering a whole site, subdomains included; command is one exact command line it may run.",
19846
+ "enum" : [ "url", "command", "urlPattern" ],
19847
+ "type" : "string"
19848
+ },
19849
+ "resource" : {
19850
+ "description" : "What is granted, in the family's own notation. A url is a PREFIX: it covers any path below it, with any query parameters. A urlPattern is a GLOB, not a regular expression: a star stands for any text up to the next slash, everything else is literal, the pattern covers the start of the address and is matched case-insensitively. It must start with https://, close its host with a slash, and end with a slash or a star. A command is matched exactly, whitespace aside — a command that differs at all is asked about again.",
19851
+ "example" : "https://api.exemple.com/v1",
19852
+ "type" : "string"
19853
+ },
19854
+ "agentId" : {
19855
+ "description" : "Present on an agentUser-scoped approval.",
19856
+ "type" : "string"
19857
+ },
19858
+ "createdAt" : {
19859
+ "format" : "date-time",
19860
+ "type" : "string"
19861
+ }
19862
+ },
19863
+ "required" : [ "createdAt", "id", "resource", "resourceKind", "scopeKind", "toolName" ],
19864
+ "title" : "ToolApproval",
19865
+ "type" : "object"
19866
+ },
19517
19867
  "Manifest" : {
19518
19868
  "additionalProperties" : true,
19519
19869
  "properties" : {
@@ -21304,14 +21654,14 @@
21304
21654
  },
21305
21655
  "ToolCall" : {
21306
21656
  "additionalProperties" : false,
21307
- "description" : "A tool call whose result does not come from the server. The conversation turn stays suspended until a client posts the result, or until expiresAt passes.",
21657
+ "description" : "A tool call whose result does not come from the server. The conversation turn stays suspended until a client posts the result, or until expiresAt passes when the call carries one.",
21308
21658
  "properties" : {
21309
21659
  "callId" : {
21310
21660
  "description" : "Identifier to post the result to.",
21311
21661
  "type" : "string"
21312
21662
  },
21313
21663
  "tool" : {
21314
- "description" : "Name of the tool the model called.",
21664
+ "description" : "Name of the tool the model called. Three values are produced by the server today. take_screenshot asks the client to capture the screen. bash_network_approval is an agent sandbox asking permission to reach an address: arguments carries url (the full address, to be shown as-is), urlPrefix (what a yes actually grants), origin, host and method. bash_python_approval is an agent sandbox asking permission to run a python command: arguments carries command, which is both what has to be shown in full and exactly what a yes grants — nothing ran, so a refusal leaves the sandbox untouched.",
21315
21665
  "type" : "string"
21316
21666
  },
21317
21667
  "status" : {
@@ -21340,12 +21690,12 @@
21340
21690
  "type" : "string"
21341
21691
  },
21342
21692
  "expiresAt" : {
21343
- "description" : "Past this point the call is expired and the conversation turn is released.",
21693
+ "description" : "Optional, and set tool by tool: a call with no deadline never expires, and none of the tools produced today carries one. When present, past this point the call is expired and the conversation turn is released.",
21344
21694
  "format" : "date-time",
21345
21695
  "type" : "string"
21346
21696
  }
21347
21697
  },
21348
- "required" : [ "callId", "expiresAt", "status", "tool" ],
21698
+ "required" : [ "callId", "status", "tool" ],
21349
21699
  "title" : "ToolCall",
21350
21700
  "type" : "object"
21351
21701
  },
@@ -21372,6 +21722,16 @@
21372
21722
  "error" : {
21373
21723
  "description" : "Failure detail, surfaced to the model when status is failed.",
21374
21724
  "type" : "string"
21725
+ },
21726
+ "approvalScope" : {
21727
+ "description" : "Only read when resolving a bash_network_approval or bash_python_approval call with status completed: how far the approval reaches. once — the suspended reply and nothing after it, so the same request is asked about again next time — is the default, and nothing is stored. agentUser covers this agent, for this user, across all of their conversations, and is kept until revoked. Any other value is refused with a 400. Never widens what the agent is allowed to do: the server-side lock and the per-agent switch remain prerequisites. Only the user the question was asked of may answer it: an approval is a personal consent, so another caller — an admin included — gets a 403.",
21728
+ "enum" : [ "once", "agentUser" ],
21729
+ "type" : "string"
21730
+ },
21731
+ "approvalWidth" : {
21732
+ "description" : "Only read when resolving a bash_network_approval call with status completed: how wide the approval is. prefix (the default) grants the prefix shown in the request — origin plus first path segment; origin grants the whole domain. Nothing narrower is offered: nobody can predict the paths an API will serve, and an approval that is too fine is paid for in repeated questions. The server recomputes both from the URL it recorded, so a client cannot submit a prefix of its own. Ignored on a bash_python_approval call, which has a single width: the exact command the server already recorded.",
21733
+ "enum" : [ "prefix", "origin" ],
21734
+ "type" : "string"
21375
21735
  }
21376
21736
  },
21377
21737
  "required" : [ "status" ],
@@ -22930,6 +23290,43 @@
22930
23290
  "required" : [ "success" ],
22931
23291
  "type" : "object"
22932
23292
  },
23293
+ "createToolApproval_request" : {
23294
+ "additionalProperties" : false,
23295
+ "properties" : {
23296
+ "agentId" : {
23297
+ "description" : "The agent the approval is granted to. The caller must have access to it.",
23298
+ "type" : "string"
23299
+ },
23300
+ "resourceKind" : {
23301
+ "enum" : [ "url", "command", "urlPattern" ],
23302
+ "type" : "string"
23303
+ },
23304
+ "resource" : {
23305
+ "description" : "An address is re-normalised server-side (https only, no credentials, no ambiguous separators) and stored as a prefix; a pattern is a glob — a star stands for any text up to the next slash, everything else is literal — that must start with https://, close its host with a slash and end with a slash or a star; a command is stored exactly as written, whitespace normalised.",
23306
+ "maxLength" : 1000,
23307
+ "type" : "string"
23308
+ }
23309
+ },
23310
+ "required" : [ "agentId", "resource", "resourceKind" ],
23311
+ "type" : "object"
23312
+ },
23313
+ "editToolApproval_request" : {
23314
+ "additionalProperties" : false,
23315
+ "properties" : {
23316
+ "resourceKind" : {
23317
+ "description" : "The family the edited value belongs to. Changing it is allowed and is the point: an approved address becomes a pattern this way.",
23318
+ "enum" : [ "url", "command", "urlPattern" ],
23319
+ "type" : "string"
23320
+ },
23321
+ "resource" : {
23322
+ "description" : "The new value. An address is re-normalised server-side (https only, no credentials, no ambiguous separators) and stored as a prefix; a pattern is a glob — a star stands for any text up to the next slash, everything else is literal — that must start with https://, close its host with a slash and end with a slash or a star; a command is stored exactly as written, whitespace normalised.",
23323
+ "maxLength" : 1000,
23324
+ "type" : "string"
23325
+ }
23326
+ },
23327
+ "required" : [ "resource", "resourceKind" ],
23328
+ "type" : "object"
23329
+ },
22933
23330
  "patchKnowledgeBase_request" : {
22934
23331
  "properties" : {
22935
23332
  "name" : {
@@ -23899,6 +24296,12 @@
23899
24296
  },
23900
24297
  "type" : "array"
23901
24298
  },
24299
+ "approvals" : {
24300
+ "items" : {
24301
+ "$ref" : "#/components/schemas/ConversationMessageApproval"
24302
+ },
24303
+ "type" : "array"
24304
+ },
23902
24305
  "workspaceFiles" : {
23903
24306
  "items" : {
23904
24307
  "type" : "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.138",
3
+ "version": "1.0.140",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",