@deepraxis/sdk 0.1.1-dev.e5db771 → 0.1.1-dev.e9377c2

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.
@@ -1144,7 +1144,7 @@ export type OwnFileDeleteFileResponse = {
1144
1144
  };
1145
1145
  export type OwnFilePraxisCreateUpload = {
1146
1146
  /**
1147
- * Exact complete file length in bytes, from 1 through 2147483648 (2 GiB); the sum of completed parts must match.
1147
+ * Exact complete file length in bytes, from 1 through 21474836480 (20 GiB); the sum of completed parts must match.
1148
1148
  */
1149
1149
  bytes: number;
1150
1150
  /**
@@ -1195,7 +1195,7 @@ export type OwnFilePraxisUpload = {
1195
1195
  */
1196
1196
  created_at: number;
1197
1197
  /**
1198
- * Expiry time as Unix seconds; unfinished uploads expire after one hour.
1198
+ * Expiry time as Unix seconds; unfinished uploads expire after 7 days.
1199
1199
  */
1200
1200
  expires_at: number;
1201
1201
  /**
@@ -1207,13 +1207,38 @@ export type OwnFilePraxisUpload = {
1207
1207
  */
1208
1208
  purpose: 'user_data' | 'assistants' | 'vision';
1209
1209
  /**
1210
- * Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its one-hour lifetime.
1210
+ * Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its seven-day lifetime.
1211
1211
  */
1212
1212
  status: 'pending' | 'completed' | 'cancelled' | 'expired';
1213
1213
  /**
1214
1214
  * Present after complete. A file with status uploaded is still processing; poll files.retrieve until processed before use.
1215
1215
  */
1216
1216
  file?: OwnFileOpenAiFile | null;
1217
+ /**
1218
+ * Fixed part length in bytes for a fixed-size upload, or null for a general upload. Send exactly this many bytes per numbered part except for the final remainder.
1219
+ */
1220
+ part_size?: number | null;
1221
+ /**
1222
+ * Parts the upload already holds, in resume order: numbered parts by number, then a general upload's parts by arrival. Query GET /file/v1/uploads/{upload_id} after a break and resend only the numbers missing here.
1223
+ */
1224
+ received_parts?: Array<{
1225
+ /**
1226
+ * Fixed part number, or null for a part of a general upload.
1227
+ */
1228
+ part_number: number | null;
1229
+ /**
1230
+ * Part identifier to pass to complete for this content.
1231
+ */
1232
+ id: string;
1233
+ /**
1234
+ * Accepted length of this part in bytes.
1235
+ */
1236
+ bytes: number;
1237
+ /**
1238
+ * Part content digest prefixed sha256:.
1239
+ */
1240
+ sha256: string;
1241
+ }>;
1217
1242
  /**
1218
1243
  * Declared MIME type, verified during assembly.
1219
1244
  */
@@ -1274,7 +1299,7 @@ export type OwnFileSignedUploadRequest = {
1274
1299
  */
1275
1300
  filename: string;
1276
1301
  /**
1277
- * Exact local file size in bytes, from 1 through 2147483648 (2 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs and a completion URL. Every PUT requires its exact signed Content-Length.
1302
+ * Exact local file size in bytes, from 1 through 21474836480 (20 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs, a completion URL and a status URL. Every PUT requires its exact signed Content-Length.
1278
1303
  */
1279
1304
  bytes: number;
1280
1305
  /**
@@ -1286,7 +1311,7 @@ export type OwnFileSignedUploadRequest = {
1286
1311
  */
1287
1312
  purpose?: 'user_data' | 'assistants' | 'vision';
1288
1313
  /**
1289
- * Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 3600 for multipart. All part URLs and the completion URL share one expiry. This does not set the resulting file's lifetime.
1314
+ * Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 604800 (7 days) for multipart. All part URLs, the status URL and the completion URL share one expiry. This does not set the resulting file's lifetime.
1290
1315
  */
1291
1316
  expires_in?: number;
1292
1317
  /**
@@ -1337,6 +1362,10 @@ export type OwnFileSignedUploadResponse = {
1337
1362
  * Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and successful completion replays return 410 CAPABILITY_USED.
1338
1363
  */
1339
1364
  complete_url: string;
1365
+ /**
1366
+ * Read-only bearer URL for GET that answers the same body as GET /file/v1/uploads/{upload_id}: status, part_size and the received_parts. Use it after a break to resend only the missing chunks; it needs no API key and every write on it is refused.
1367
+ */
1368
+ status_url: string;
1340
1369
  };
1341
1370
  /**
1342
1371
  * Problem document returned by the Meta method catalog on failure.
@@ -10553,7 +10582,7 @@ export type AutomationTrigger = {
10553
10582
  */
10554
10583
  end_at: string | null;
10555
10584
  /**
10556
- * Overlap policy when a firing is due while the previous run is still active: skip (default) skips it, allow starts it anyway.
10585
+ * Overlap policy when a firing arrives while the previous run is still active: skip skips it, allow starts it anyway. When omitted, a schedule trigger uses skip and a webhook trigger uses allow, because a skipped webhook call is not redelivered.
10557
10586
  */
10558
10587
  overlap: AutomationTriggerOverlap;
10559
10588
  /**
@@ -10673,7 +10702,7 @@ export type AutomationTriggerCreateResult = {
10673
10702
  */
10674
10703
  end_at: string | null;
10675
10704
  /**
10676
- * Overlap policy when a firing is due while the previous run is still active: skip (default) skips it, allow starts it anyway.
10705
+ * Overlap policy when a firing arrives while the previous run is still active: skip skips it, allow starts it anyway. When omitted, a schedule trigger uses skip and a webhook trigger uses allow, because a skipped webhook call is not redelivered.
10677
10706
  */
10678
10707
  overlap: AutomationTriggerOverlap;
10679
10708
  /**
@@ -13022,6 +13051,27 @@ export type CutExport = {
13022
13051
  */
13023
13052
  audio: 'pending' | 'done';
13024
13053
  };
13054
+ /**
13055
+ * Present when normalization was requested; contains requested targets and measured output levels.
13056
+ */
13057
+ loudness?: {
13058
+ /**
13059
+ * Requested integrated loudness target in LUFS.
13060
+ */
13061
+ target_lufs: number;
13062
+ /**
13063
+ * Requested maximum true peak in dBTP.
13064
+ */
13065
+ true_peak_dbtp: number;
13066
+ /**
13067
+ * Measured integrated loudness of the rendered export in LUFS.
13068
+ */
13069
+ integrated_lufs: number;
13070
+ /**
13071
+ * Measured maximum true peak of the rendered export in dBTP.
13072
+ */
13073
+ measured_true_peak_dbtp: number;
13074
+ };
13025
13075
  /**
13026
13076
  * Output media reference, available after the export reaches done.
13027
13077
  */
@@ -13094,6 +13144,19 @@ export type CutExportInput = {
13094
13144
  */
13095
13145
  binding?: string;
13096
13146
  revision?: CutRevision;
13147
+ /**
13148
+ * Optional loudness normalization target; normalization adds analysis and rendering work.
13149
+ */
13150
+ loudness?: {
13151
+ /**
13152
+ * Integrated loudness target in LUFS.
13153
+ */
13154
+ target_lufs: number;
13155
+ /**
13156
+ * Maximum true peak in dBTP.
13157
+ */
13158
+ true_peak_dbtp: number;
13159
+ };
13097
13160
  };
13098
13161
  /**
13099
13162
  * One page of organization-accessible exports.
@@ -14398,6 +14461,10 @@ export type MediaAsset = {
14398
14461
  * Resource status; active identifies an asset that has not been deleted.
14399
14462
  */
14400
14463
  status: 'active';
14464
+ /**
14465
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
14466
+ */
14467
+ has_alpha?: boolean;
14401
14468
  /**
14402
14469
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
14403
14470
  */
@@ -14886,6 +14953,453 @@ export type MediaGenerationCapabilities = {
14886
14953
  */
14887
14954
  candidate_retention_days: number;
14888
14955
  };
14956
+ /**
14957
+ * One page of type registrations; types are few enough that this face returns them in a single page.
14958
+ */
14959
+ export type OntologyTypeRegistrationPage = {
14960
+ /**
14961
+ * The registrations in force for this organization.
14962
+ */
14963
+ data: Array<OntologyTypeRegistration>;
14964
+ /**
14965
+ * Always null here; the field is present so every list on this face has the same shape.
14966
+ */
14967
+ next_cursor: string;
14968
+ };
14969
+ /**
14970
+ * One service's registered types for this organization, as shipped by that service and stored by the deploy gate.
14971
+ */
14972
+ export type OntologyTypeRegistration = {
14973
+ /**
14974
+ * Service that registered these types, for example file or ticket; it is the registrant a later change to a type is checked against.
14975
+ */
14976
+ owner: string;
14977
+ /**
14978
+ * Monotonic version of this owner's registration; a later registration must extend this one without removing or narrowing anything.
14979
+ */
14980
+ version: number;
14981
+ /**
14982
+ * Node types this owner registers.
14983
+ */
14984
+ nodes: Array<OntologyNodeType>;
14985
+ /**
14986
+ * Relation types this owner registers.
14987
+ */
14988
+ edges: Array<OntologyEdgeType>;
14989
+ };
14990
+ export type OntologyOntologyError = {
14991
+ /**
14992
+ * Failure details for a non-2xx response; choose a recovery action using the operation's status and code description.
14993
+ */
14994
+ error: {
14995
+ /**
14996
+ * Machine-readable failure category; see this operation's error responses for triggering conditions and recovery actions.
14997
+ */
14998
+ code: string;
14999
+ /**
15000
+ * Human-readable explanation of why the request failed; it names the offending field or condition and the action to take.
15001
+ */
15002
+ message: string;
15003
+ /**
15004
+ * Optional error-specific context, present when the failure names particular items; absent for failures that concern the request as a whole.
15005
+ */
15006
+ details?: {
15007
+ [key: string]: unknown;
15008
+ };
15009
+ };
15010
+ };
15011
+ /**
15012
+ * One registered type, with the registration it belongs to and whether it is a node or a relation type.
15013
+ */
15014
+ export type OntologyTypeLookup = {
15015
+ /**
15016
+ * Service that registered this type; a change to the type is checked against that registrant.
15017
+ */
15018
+ owner: string;
15019
+ /**
15020
+ * Version of the registration this type came from, so a caller can tell when a definition moved on.
15021
+ */
15022
+ version: number;
15023
+ /**
15024
+ * Whether the type describes an entity or a fact, which decides whether it is used when creating a node or a relation.
15025
+ */
15026
+ kind: 'node' | 'edge';
15027
+ /**
15028
+ * The full registered definition — the same object as the entry in its registration's nodes or edges array.
15029
+ */
15030
+ definition: {
15031
+ [key: string]: unknown;
15032
+ };
15033
+ };
15034
+ /**
15035
+ * One page of nodes; a restricted entry carries only id, type, name and restricted.
15036
+ */
15037
+ export type OntologyNodePage = {
15038
+ /**
15039
+ * The nodes on this page, ordered by node id.
15040
+ */
15041
+ data: Array<OntologyNode | OntologyRestrictedNode>;
15042
+ /**
15043
+ * Opaque cursor for the next page, or null when this is the last page; copy it into the next request's cursor unchanged.
15044
+ */
15045
+ next_cursor: string;
15046
+ };
15047
+ /**
15048
+ * The entity to record; type must be registered and ref must match that type's prefix.
15049
+ */
15050
+ export type OntologyCreateNodeInput = {
15051
+ /**
15052
+ * Registered node type name from types.list; an unregistered name is refused and nothing is written.
15053
+ */
15054
+ type: string;
15055
+ /**
15056
+ * Id of the mirrored record in the owning service, which must start with the type's ref_prefix; omit or null for a concept with no external record.
15057
+ */
15058
+ ref?: string;
15059
+ /**
15060
+ * Display name of the entity, at most 200 characters.
15061
+ */
15062
+ name: string;
15063
+ /**
15064
+ * Other names this entity is known by; they are matched by search alongside the name.
15065
+ */
15066
+ aliases?: Array<string>;
15067
+ /**
15068
+ * Profile of the entity, at most 500 characters; omit or null for none.
15069
+ */
15070
+ description?: string;
15071
+ /**
15072
+ * Member id whose content this is, restricting it to that member; omit or null to make it readable organization-wide.
15073
+ */
15074
+ owner?: string;
15075
+ };
15076
+ /**
15077
+ * One entity in the graph, with when it was recorded and last changed.
15078
+ */
15079
+ export type OntologyNode = {
15080
+ /**
15081
+ * Node id, used by relations, merges and later reads; treat it as opaque and do not parse it.
15082
+ */
15083
+ id: string;
15084
+ /**
15085
+ * Registered node type this entity was recorded as; it never changes after creation.
15086
+ */
15087
+ type: string;
15088
+ /**
15089
+ * Id of the mirrored record in the service that owns it, matching the type's ref_prefix; null for a concept with no external record.
15090
+ */
15091
+ ref?: string;
15092
+ /**
15093
+ * Display name of the entity, at most 200 characters.
15094
+ */
15095
+ name: string;
15096
+ /**
15097
+ * Other names this entity is known by; they are matched by search alongside the name.
15098
+ */
15099
+ aliases: Array<string>;
15100
+ /**
15101
+ * Profile of the entity, at most 500 characters; null when none was recorded.
15102
+ */
15103
+ description?: string;
15104
+ /**
15105
+ * Member id whose content this is; null means it is readable organization-wide. Another member's node comes back restricted.
15106
+ */
15107
+ owner: string;
15108
+ /**
15109
+ * When this node was merged into another, that survivor's id; reads of a merged node resolve to the survivor.
15110
+ */
15111
+ merged_into?: string;
15112
+ /**
15113
+ * System time when the node was first recorded, in ISO 8601 UTC.
15114
+ */
15115
+ created_at: string;
15116
+ /**
15117
+ * System time of the last change to this node's content, in ISO 8601 UTC.
15118
+ */
15119
+ updated_at: string;
15120
+ /**
15121
+ * System time the mirrored record was deleted, when that is known; kept so history stays answerable.
15122
+ */
15123
+ deleted_at?: string;
15124
+ };
15125
+ export type OntologyNodeWithRelations = OntologyNode & {
15126
+ /**
15127
+ * Relations on and around this node that the caller may read, ordered by relation id; present only when expand=relations was sent.
15128
+ */
15129
+ relations?: Array<OntologyRelation>;
15130
+ };
15131
+ /**
15132
+ * The fields to change; omitted fields keep their current values.
15133
+ */
15134
+ export type OntologyUpdateNodeInput = {
15135
+ /**
15136
+ * New display name, at most 200 characters; omit to keep the current name.
15137
+ */
15138
+ name?: string;
15139
+ /**
15140
+ * Replacement alias list; an empty array clears the aliases and omitting the field keeps them.
15141
+ */
15142
+ aliases?: Array<string>;
15143
+ /**
15144
+ * Replacement profile, at most 500 characters; an explicit null clears it and omitting the field keeps it.
15145
+ */
15146
+ description?: string;
15147
+ };
15148
+ /**
15149
+ * The survivor the merged node folds into.
15150
+ */
15151
+ export type OntologyMergeNodeInput = {
15152
+ /**
15153
+ * Node id that should survive, from nodes.list or search; the merged node's relations and aliases move to it.
15154
+ */
15155
+ into: string;
15156
+ };
15157
+ /**
15158
+ * One page of relations.
15159
+ */
15160
+ export type OntologyRelationPage = {
15161
+ /**
15162
+ * The relations on this page, ordered by relation id.
15163
+ */
15164
+ data: Array<OntologyRelation>;
15165
+ /**
15166
+ * Opaque cursor for the next page, or null when this is the last page; copy it into the next request's cursor unchanged.
15167
+ */
15168
+ next_cursor: string;
15169
+ };
15170
+ /**
15171
+ * The fact to record between two existing nodes of this organization.
15172
+ */
15173
+ export type OntologyCreateRelationInput = {
15174
+ /**
15175
+ * Registered relation type name from types.list; it must admit both endpoints or the write is refused.
15176
+ */
15177
+ type: string;
15178
+ /**
15179
+ * Node id the fact starts from, from nodes.list or nodes.create.
15180
+ */
15181
+ source: string;
15182
+ /**
15183
+ * Node id the fact points at, from nodes.list or nodes.create.
15184
+ */
15185
+ target: string;
15186
+ /**
15187
+ * The relationship in one sentence, at most 280 characters, written to read back on its own.
15188
+ */
15189
+ fact: string;
15190
+ /**
15191
+ * World time the fact became true, when the mirrored record dates it; omit to leave it undated.
15192
+ */
15193
+ valid_at?: string;
15194
+ /**
15195
+ * Member id whose content this fact is, restricting it to that member; omit or null for organization-wide.
15196
+ */
15197
+ owner?: string;
15198
+ };
15199
+ /**
15200
+ * One fact between two nodes, with two clocks — when it was true in the world and when it was recorded.
15201
+ */
15202
+ export type OntologyRelation = {
15203
+ /**
15204
+ * Relation id, used by invalidation and later reads; treat it as opaque and do not parse it.
15205
+ */
15206
+ id: string;
15207
+ /**
15208
+ * Registered relation type this fact was recorded as; it must admit both endpoints.
15209
+ */
15210
+ type: string;
15211
+ /**
15212
+ * Node id the fact starts from.
15213
+ */
15214
+ source: string;
15215
+ /**
15216
+ * Node id the fact points at.
15217
+ */
15218
+ target: string;
15219
+ /**
15220
+ * The relationship in one sentence, at most 280 characters, as it should be read back.
15221
+ */
15222
+ fact: string;
15223
+ /**
15224
+ * Where this fact was learned, oldest first; each entry names the scope it came from and an optional time range.
15225
+ */
15226
+ episodes?: Array<{
15227
+ /**
15228
+ * Scope the experience belonged to, normally a session id.
15229
+ */
15230
+ scope?: string;
15231
+ /**
15232
+ * Start of the period the experience covered, when known; omit for a single moment.
15233
+ */
15234
+ from?: string;
15235
+ /**
15236
+ * End of the period the experience covered, when known; omit for a single moment.
15237
+ */
15238
+ to?: string;
15239
+ }>;
15240
+ /**
15241
+ * Where the fact came from; the relation type must list this origin among the ones it accepts.
15242
+ */
15243
+ origin: 'platform' | 'stated' | 'observed' | 'inferred';
15244
+ /**
15245
+ * How strongly the fact is held, from 0 to 1; 1 is fully held and lower values fade faster.
15246
+ */
15247
+ confidence: number;
15248
+ /**
15249
+ * Member id whose content this fact is; null means it is readable organization-wide. Another member's relation reads as not found.
15250
+ */
15251
+ owner?: string;
15252
+ /**
15253
+ * World time the fact became true; null when it was never dated, in which case treat it as true since it was recorded.
15254
+ */
15255
+ valid_at?: string;
15256
+ /**
15257
+ * World time the fact stopped being true; null while it still holds. The relation is kept and reads at an earlier as_of.
15258
+ */
15259
+ invalid_at?: string;
15260
+ /**
15261
+ * System time the fact was recorded, in ISO 8601 UTC.
15262
+ */
15263
+ created_at: string;
15264
+ /**
15265
+ * System time the fact was judged no longer true, which trails invalid_at; null while it still holds.
15266
+ */
15267
+ expired_at?: string;
15268
+ /**
15269
+ * Relation id that replaced this one, when the invalidation named a successor; null when nothing replaced it.
15270
+ */
15271
+ superseded_by?: string;
15272
+ /**
15273
+ * System time the fact was archived out of spreading; null while it still spreads, and reads by time still reach it either way.
15274
+ */
15275
+ archived_at?: string;
15276
+ };
15277
+ /**
15278
+ * When the fact stopped being true, and optionally what replaced it.
15279
+ */
15280
+ export type OntologyInvalidateRelationInput = {
15281
+ /**
15282
+ * World time the fact stopped being true, in ISO 8601 UTC; reads at an earlier as_of still return the relation.
15283
+ */
15284
+ invalid_at: string;
15285
+ /**
15286
+ * Relation id that replaces this one, when a successor was recorded; omit or null when nothing replaced it.
15287
+ */
15288
+ superseded_by?: string;
15289
+ /**
15290
+ * Why it stopped being true, for people reading the history later; not enforced and safe to omit.
15291
+ */
15292
+ reason?: string;
15293
+ };
15294
+ /**
15295
+ * A batch of graph operations applied as one transaction; every operation succeeds or none is applied.
15296
+ */
15297
+ export type OntologyChangesetInput = {
15298
+ /**
15299
+ * World time the batch describes, in ISO 8601 UTC; operations without their own time are dated by it.
15300
+ */
15301
+ at: string;
15302
+ /**
15303
+ * Scope the batch came from, normally the session id it was observed in; it is stored with the operations for later reading.
15304
+ */
15305
+ scope?: string;
15306
+ /**
15307
+ * At most 500 operations, applied in order; each names its kind in op and the fields that kind requires.
15308
+ */
15309
+ ops: Array<OntologyChangesetOp>;
15310
+ };
15311
+ /**
15312
+ * What the batch did, including the ids it assigned and anything it refused.
15313
+ */
15314
+ export type OntologyChangesetResult = {
15315
+ /**
15316
+ * Number of operations that changed the graph; zero when the key had been seen before.
15317
+ */
15318
+ applied: number;
15319
+ /**
15320
+ * Map from each key used in the batch to the node or relation id it produced or matched.
15321
+ */
15322
+ ids: {
15323
+ [key: string]: string;
15324
+ };
15325
+ /**
15326
+ * Relations that already held the same meaning and were refreshed instead of duplicated.
15327
+ */
15328
+ refreshed: Array<string>;
15329
+ /**
15330
+ * Operations refused within the batch, each with its index and reason; empty when the batch applied whole.
15331
+ */
15332
+ rejected: Array<{
15333
+ /**
15334
+ * Zero-based position of the operation in the submitted ops array.
15335
+ */
15336
+ index?: number;
15337
+ /**
15338
+ * Failure category for this operation, such as ONTOLOGY_TYPE_UNKNOWN for an unregistered type.
15339
+ */
15340
+ code?: string;
15341
+ /**
15342
+ * Why this operation was refused, naming the offending field.
15343
+ */
15344
+ message?: string;
15345
+ }>;
15346
+ /**
15347
+ * True when the Idempotency-Key had been seen before, so nothing changed and the first result is returned.
15348
+ */
15349
+ replayed: boolean;
15350
+ };
15351
+ /**
15352
+ * The text to resolve, optionally narrowed to types and a result count.
15353
+ */
15354
+ export type OntologySearchInput = {
15355
+ /**
15356
+ * Text to find nodes for, matched against names, aliases, descriptions and relation facts; an empty string is refused.
15357
+ */
15358
+ text: string;
15359
+ /**
15360
+ * Registered node type names to search within; omit to search every type.
15361
+ */
15362
+ types?: Array<string>;
15363
+ /**
15364
+ * Restrict matches to facts recorded within a period; omit to search all time.
15365
+ */
15366
+ window?: {
15367
+ /**
15368
+ * Start of the period, inclusive, in ISO 8601 UTC; omit to leave the start open.
15369
+ */
15370
+ from?: string;
15371
+ /**
15372
+ * End of the period, exclusive, in ISO 8601 UTC; omit to leave the end open.
15373
+ */
15374
+ to?: string;
15375
+ };
15376
+ /**
15377
+ * Maximum candidate nodes to return, from 1 to 50; defaults to 20 when omitted.
15378
+ */
15379
+ limit?: number;
15380
+ };
15381
+ /**
15382
+ * Ranked candidate nodes for the searched text, best match first.
15383
+ */
15384
+ export type OntologySearchResult = {
15385
+ /**
15386
+ * The candidate nodes, strongest match first; an empty array means nothing matched.
15387
+ */
15388
+ hits: Array<{
15389
+ /**
15390
+ * Node id of the candidate; pass it to nodes.retrieve to confirm before writing with it.
15391
+ */
15392
+ node?: string;
15393
+ /**
15394
+ * Match strength from 0 to 1; compare candidates within one response rather than across queries.
15395
+ */
15396
+ score?: number;
15397
+ /**
15398
+ * Which field matched, so a weak fact match can be checked against the node itself.
15399
+ */
15400
+ matched?: 'name' | 'alias' | 'description' | 'fact';
15401
+ }>;
15402
+ };
14889
15403
  /**
14890
15404
  * Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
14891
15405
  */
@@ -15328,6 +15842,10 @@ export type SandboxTemplateBuildInfo = {
15328
15842
  reason?: SandboxBuildStatusReason;
15329
15843
  };
15330
15844
  export type SandboxTemplateWithBuilds = {
15845
+ /**
15846
+ * Lifecycle classes this template can run as. ephemeral: cannot pause, snapshot or mount volumes and is deleted when it stops; persistent: can pause, resume and snapshot.
15847
+ */
15848
+ lifecycles?: Array<'ephemeral' | 'persistent'>;
15331
15849
  /**
15332
15850
  * Identifier of the template
15333
15851
  */
@@ -25380,9 +25898,9 @@ export type CutExportOutput = {
25380
25898
  */
25381
25899
  fps?: number;
25382
25900
  /**
25383
- * draft favors faster review renders; high favors final delivery quality.
25901
+ * Compression of the encoded video, like Shotstack quality. medium is the default and balances render, upload and storage at about 70% of the bitrate of high. draft is about 40% of high, for review renders. high is for delivery that will be transcoded again or needs the most detail.
25384
25902
  */
25385
- quality?: 'draft' | 'high';
25903
+ quality?: 'draft' | 'medium' | 'high';
25386
25904
  };
25387
25905
  export type DatabaseField = {
25388
25906
  /**
@@ -26038,7 +26556,7 @@ export type MediaChunkComplete = MediaCloudinaryResource & {
26038
26556
  done: true;
26039
26557
  };
26040
26558
  /**
26041
- * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
26559
+ * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
26042
26560
  */
26043
26561
  export type MediaProcessing = {
26044
26562
  /**
@@ -26338,6 +26856,10 @@ export type MediaSearchAsset = {
26338
26856
  * Resource status; active identifies an asset that has not been deleted.
26339
26857
  */
26340
26858
  status: 'active';
26859
+ /**
26860
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
26861
+ */
26862
+ has_alpha?: boolean;
26341
26863
  /**
26342
26864
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
26343
26865
  */
@@ -26515,6 +27037,170 @@ export type MediaFailureGroup = {
26515
27037
  */
26516
27038
  sample_asset_ids: Array<MediaAssetId>;
26517
27039
  };
27040
+ /**
27041
+ * A kind of entity the graph accepts, for example a file or a customer.
27042
+ */
27043
+ export type OntologyNodeType = {
27044
+ /**
27045
+ * Globally unique type name, used as a node's type when creating it; a dotted name marks a namespaced subtype.
27046
+ */
27047
+ name: string;
27048
+ /**
27049
+ * Required prefix of the external record id when a node of this type carries a ref, for example file_ for the file type; omit for types that are pure concepts.
27050
+ */
27051
+ ref_prefix?: string;
27052
+ /**
27053
+ * Type significance from 0 to 1, used when ranking how strongly reaching this kind of node matters.
27054
+ */
27055
+ weight: number;
27056
+ /**
27057
+ * Whether the graph may continue through a node of this type; false makes it a stopping point that is reached but never expanded.
27058
+ */
27059
+ passable: boolean;
27060
+ /**
27061
+ * What this type means in the registering service, used to choose the right type when writing.
27062
+ */
27063
+ description: string;
27064
+ };
27065
+ /**
27066
+ * A kind of fact the graph accepts between two nodes.
27067
+ */
27068
+ export type OntologyEdgeType = {
27069
+ /**
27070
+ * Globally unique relation type name, used as a relation's type when creating it.
27071
+ */
27072
+ name: string;
27073
+ /**
27074
+ * Node type names this relation may start from; the single entry * admits every type.
27075
+ */
27076
+ source: Array<string>;
27077
+ /**
27078
+ * Node type names this relation may point at; the single entry * admits every type.
27079
+ */
27080
+ target: Array<string>;
27081
+ /**
27082
+ * Whether the fact reads one way or the same in both directions, which decides how it renders on each endpoint.
27083
+ */
27084
+ direction: 'forward' | 'both';
27085
+ /**
27086
+ * Whether spreading may continue through this relation; false makes it a stopping point that is reached but never traversed.
27087
+ */
27088
+ passable: boolean;
27089
+ /**
27090
+ * Relation significance from 0 to 1, used when ranking how strongly reaching through this relation matters.
27091
+ */
27092
+ weight: number;
27093
+ /**
27094
+ * Whether a source may have at most one valid relation of this type at a time; true makes a new one supersede the old.
27095
+ */
27096
+ functional: boolean;
27097
+ /**
27098
+ * How long the relation stays strong while valid, from 0 to 1; 1 never fades and lower values decay faster. Omit for the default decay.
27099
+ */
27100
+ persistence?: number;
27101
+ /**
27102
+ * Origins a relation of this type may carry; each value names where the fact came from and they are checked when writing.
27103
+ */
27104
+ origins: Array<'platform' | 'stated' | 'observed' | 'inferred'>;
27105
+ /**
27106
+ * What this fact means in the registering service, used to choose the right type when writing.
27107
+ */
27108
+ description: string;
27109
+ };
27110
+ /**
27111
+ * A node the caller may reach but not read, because its content belongs to another member; its name confirms what was reached while the content stays withheld.
27112
+ */
27113
+ export type OntologyRestrictedNode = {
27114
+ /**
27115
+ * Node id, usable to relate this entity to others; treat it as opaque.
27116
+ */
27117
+ id: string;
27118
+ /**
27119
+ * Registered node type of the hidden entity, which is not itself restricted content.
27120
+ */
27121
+ type: string;
27122
+ /**
27123
+ * Display name of the hidden entity, shown so a caller can tell whether the reached node is the one it meant.
27124
+ */
27125
+ name: string;
27126
+ /**
27127
+ * Always true; its presence is how a caller tells a withheld node from a readable one.
27128
+ */
27129
+ restricted: boolean;
27130
+ };
27131
+ /**
27132
+ * One operation of a changeset, discriminated by op; it names new nodes and relations by caller-local keys reused within the same batch.
27133
+ */
27134
+ export type OntologyChangesetOp = {
27135
+ /**
27136
+ * Which operation to apply; the remaining required fields follow from this value.
27137
+ */
27138
+ op: 'upsert_node' | 'relate' | 'invalidate' | 'merge' | 'alias';
27139
+ /**
27140
+ * Caller-local name for the node or relation this operation creates, reused by later operations in the same batch; it is not an id.
27141
+ */
27142
+ key?: string;
27143
+ /**
27144
+ * Registered type name for upsert_node and relate; an unregistered name refuses the whole batch.
27145
+ */
27146
+ type?: string;
27147
+ /**
27148
+ * Mirrored record id for upsert_node, which must start with the type's ref_prefix; omit for a concept.
27149
+ */
27150
+ ref?: string;
27151
+ /**
27152
+ * Display name for upsert_node, at most 200 characters.
27153
+ */
27154
+ name?: string;
27155
+ /**
27156
+ * Start of a relate fact; a key from this batch or an existing node id.
27157
+ */
27158
+ source?: string;
27159
+ /**
27160
+ * End of a relate fact; a key from this batch or an existing node id.
27161
+ */
27162
+ target?: string;
27163
+ /**
27164
+ * The relationship in one sentence for relate, at most 280 characters.
27165
+ */
27166
+ fact?: string;
27167
+ /**
27168
+ * Where a relate fact came from; the relation type must accept this origin.
27169
+ */
27170
+ origin?: 'platform' | 'stated' | 'observed' | 'inferred';
27171
+ /**
27172
+ * Relation id an invalidate operation acts on, from relations.list or an earlier operation in this batch.
27173
+ */
27174
+ edge?: string;
27175
+ /**
27176
+ * World time an invalidate operation marks the fact as no longer true.
27177
+ */
27178
+ invalid_at?: string;
27179
+ /**
27180
+ * Relation id that replaces the invalidated one, when a successor was recorded; omit when nothing replaced it.
27181
+ */
27182
+ by?: string;
27183
+ /**
27184
+ * Why the operation was applied, kept for people reading the history; not enforced.
27185
+ */
27186
+ reason?: string;
27187
+ /**
27188
+ * Node id a merge operation folds away, resolving to the into node afterwards.
27189
+ */
27190
+ from?: string;
27191
+ /**
27192
+ * Node id a merge operation keeps, receiving the merged node's relations and aliases.
27193
+ */
27194
+ into?: string;
27195
+ /**
27196
+ * Node id an alias operation adds a name to.
27197
+ */
27198
+ node?: string;
27199
+ /**
27200
+ * The additional name an alias operation records for its node.
27201
+ */
27202
+ alias?: string;
27203
+ };
26518
27204
  /**
26519
27205
  * Auto-resume configuration for paused sandboxes.
26520
27206
  */
@@ -32059,6 +32745,23 @@ export type CutJoinEffect = {
32059
32745
  * Flash strength.
32060
32746
  */
32061
32747
  intensity?: number;
32748
+ } | {
32749
+ /**
32750
+ * Luma transition.
32751
+ */
32752
+ kind: 'luma';
32753
+ /**
32754
+ * Built-in map. User maps are not available yet.
32755
+ */
32756
+ map?: 'radial' | 'diagonal' | 'clouds' | 'spiral' | 'honeycomb' | 'bars';
32757
+ /**
32758
+ * Edge feather width.
32759
+ */
32760
+ softness?: number;
32761
+ /**
32762
+ * Reveal order.
32763
+ */
32764
+ invert?: 'normal' | 'inverted';
32062
32765
  };
32063
32766
  export type KnowledgeStaticChunking = {
32064
32767
  /**
@@ -32977,6 +33680,10 @@ export type MediaAssetWritable = {
32977
33680
  * Resource status; active identifies an asset that has not been deleted.
32978
33681
  */
32979
33682
  status: 'active';
33683
+ /**
33684
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
33685
+ */
33686
+ has_alpha?: boolean;
32980
33687
  /**
32981
33688
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
32982
33689
  */
@@ -33370,7 +34077,7 @@ export type MediaChunkCompleteWritable = MediaCloudinaryResourceWritable & {
33370
34077
  done: true;
33371
34078
  };
33372
34079
  /**
33373
- * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
34080
+ * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
33374
34081
  */
33375
34082
  export type MediaProcessingWritable = {
33376
34083
  state: MediaProcessingState;
@@ -33599,6 +34306,10 @@ export type MediaSearchAssetWritable = {
33599
34306
  * Resource status; active identifies an asset that has not been deleted.
33600
34307
  */
33601
34308
  status: 'active';
34309
+ /**
34310
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
34311
+ */
34312
+ has_alpha?: boolean;
33602
34313
  /**
33603
34314
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
33604
34315
  */
@@ -33732,6 +34443,26 @@ export type CutExportId = string;
33732
34443
  * Version identifier returned by its create or list operation; use the id, not a display name.
33733
34444
  */
33734
34445
  export type CutVersionId = string;
34446
+ /**
34447
+ * A type name from types.list, with its dots preserved — a display label is not accepted.
34448
+ */
34449
+ export type OntologyTypeName = string;
34450
+ /**
34451
+ * Maximum items to return per page, from 1 to 100; defaults to 50 when omitted. Values above 100 are clamped to 100.
34452
+ */
34453
+ export type OntologyLimit = number;
34454
+ /**
34455
+ * Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null.
34456
+ */
34457
+ export type OntologyCursor = string;
34458
+ /**
34459
+ * Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted.
34460
+ */
34461
+ export type OntologyNodeId = string;
34462
+ /**
34463
+ * Relation id returned by relations.list, relations.create or a changeset, in the form oed_ followed by 32 lowercase letters or digits; a node id is not accepted.
34464
+ */
34465
+ export type OntologyRelationId = string;
33735
34466
  /**
33736
34467
  * Cursor to start the list from
33737
34468
  */
@@ -33921,7 +34652,7 @@ export type ApplyAgentVersionResponses = {
33921
34652
  */
33922
34653
  note: string | null;
33923
34654
  /**
33924
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
34655
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
33925
34656
  */
33926
34657
  bindings: Array<{
33927
34658
  /**
@@ -33952,7 +34683,7 @@ export type ApplyAgentVersionResponses = {
33952
34683
  /**
33953
34684
  * Service type. Opens the whole service to codemode; there is no per-resource id.
33954
34685
  */
33955
- type: 'search' | 'browser';
34686
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
33956
34687
  /**
33957
34688
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
33958
34689
  */
@@ -35138,7 +35869,7 @@ export type UnarchiveAgentResponses = {
35138
35869
  */
35139
35870
  note: string | null;
35140
35871
  /**
35141
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
35872
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
35142
35873
  */
35143
35874
  bindings: Array<{
35144
35875
  /**
@@ -35169,7 +35900,7 @@ export type UnarchiveAgentResponses = {
35169
35900
  /**
35170
35901
  * Service type. Opens the whole service to codemode; there is no per-resource id.
35171
35902
  */
35172
- type: 'search' | 'browser';
35903
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
35173
35904
  /**
35174
35905
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
35175
35906
  */
@@ -44276,6 +45007,42 @@ export type FileCancelUploadResponses = {
44276
45007
  200: OwnFilePraxisUpload;
44277
45008
  };
44278
45009
  export type FileCancelUploadResponse = FileCancelUploadResponses[keyof FileCancelUploadResponses];
45010
+ export type FileRetrieveUploadData = {
45011
+ body?: never;
45012
+ path: {
45013
+ /**
45014
+ * Upload identifier returned by create on this face; the upload belongs to your organization.
45015
+ */
45016
+ upload_id: string;
45017
+ };
45018
+ query?: never;
45019
+ url: '/file/v1/uploads/{upload_id}';
45020
+ };
45021
+ export type FileRetrieveUploadErrors = {
45022
+ /**
45023
+ * INVALID_PARAMS: correct the upload_id before retrying.
45024
+ */
45025
+ 400: unknown;
45026
+ /**
45027
+ * UNAUTHENTICATED: supply a valid organization API key or signed-in session.
45028
+ */
45029
+ 401: unknown;
45030
+ /**
45031
+ * UPLOAD_NOT_FOUND: the upload is missing or belongs to another organization; create a new upload and send its parts.
45032
+ */
45033
+ 404: unknown;
45034
+ /**
45035
+ * UPLOAD_INVALID_STATE: the upload was cancelled or expired; create a new upload and send its parts again.
45036
+ */
45037
+ 409: unknown;
45038
+ };
45039
+ export type FileRetrieveUploadResponses = {
45040
+ /**
45041
+ * The upload state plus part_size and the received_parts list; complete once every part is present.
45042
+ */
45043
+ 200: OwnFilePraxisUpload;
45044
+ };
45045
+ export type FileRetrieveUploadResponse = FileRetrieveUploadResponses[keyof FileRetrieveUploadResponses];
44279
45046
  export type FileCreateSignedUploadData = {
44280
45047
  body: OwnFileSignedUploadRequest;
44281
45048
  path?: never;
@@ -51712,7 +52479,7 @@ export type AgentsListResponses = {
51712
52479
  */
51713
52480
  note: string | null;
51714
52481
  /**
51715
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
52482
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
51716
52483
  */
51717
52484
  bindings: Array<{
51718
52485
  /**
@@ -51743,7 +52510,7 @@ export type AgentsListResponses = {
51743
52510
  /**
51744
52511
  * Service type. Opens the whole service to codemode; there is no per-resource id.
51745
52512
  */
51746
- type: 'search' | 'browser';
52513
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
51747
52514
  /**
51748
52515
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
51749
52516
  */
@@ -52251,7 +53018,7 @@ export type AgentsCreateData = {
52251
53018
  */
52252
53019
  tools?: Array<AgentManaged15 | AgentManaged29 | AgentManaged32>;
52253
53020
  /**
52254
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
53021
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
52255
53022
  */
52256
53023
  bindings?: Array<{
52257
53024
  /**
@@ -52282,7 +53049,7 @@ export type AgentsCreateData = {
52282
53049
  /**
52283
53050
  * Service type. Opens the whole service to codemode; there is no per-resource id.
52284
53051
  */
52285
- type: 'search' | 'browser';
53052
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
52286
53053
  /**
52287
53054
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
52288
53055
  */
@@ -52852,7 +53619,7 @@ export type AgentsCreateResponses = {
52852
53619
  */
52853
53620
  note: string | null;
52854
53621
  /**
52855
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
53622
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
52856
53623
  */
52857
53624
  bindings: Array<{
52858
53625
  /**
@@ -52883,7 +53650,7 @@ export type AgentsCreateResponses = {
52883
53650
  /**
52884
53651
  * Service type. Opens the whole service to codemode; there is no per-resource id.
52885
53652
  */
52886
- type: 'search' | 'browser';
53653
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
52887
53654
  /**
52888
53655
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
52889
53656
  */
@@ -53480,7 +54247,7 @@ export type AgentsRetrieveResponses = {
53480
54247
  */
53481
54248
  note: string | null;
53482
54249
  /**
53483
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
54250
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
53484
54251
  */
53485
54252
  bindings: Array<{
53486
54253
  /**
@@ -53511,7 +54278,7 @@ export type AgentsRetrieveResponses = {
53511
54278
  /**
53512
54279
  * Service type. Opens the whole service to codemode; there is no per-resource id.
53513
54280
  */
53514
- type: 'search' | 'browser';
54281
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
53515
54282
  /**
53516
54283
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
53517
54284
  */
@@ -54059,7 +54826,7 @@ export type AgentsUpdateData = {
54059
54826
  /**
54060
54827
  * Service type. Opens the whole service to codemode; there is no per-resource id.
54061
54828
  */
54062
- type: 'search' | 'browser';
54829
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
54063
54830
  /**
54064
54831
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
54065
54832
  */
@@ -54642,7 +55409,7 @@ export type AgentsUpdateResponses = {
54642
55409
  */
54643
55410
  note: string | null;
54644
55411
  /**
54645
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
55412
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
54646
55413
  */
54647
55414
  bindings: Array<{
54648
55415
  /**
@@ -54673,7 +55440,7 @@ export type AgentsUpdateResponses = {
54673
55440
  /**
54674
55441
  * Service type. Opens the whole service to codemode; there is no per-resource id.
54675
55442
  */
54676
- type: 'search' | 'browser';
55443
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
54677
55444
  /**
54678
55445
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
54679
55446
  */
@@ -55256,7 +56023,7 @@ export type AgentsArchiveResponses = {
55256
56023
  */
55257
56024
  note: string | null;
55258
56025
  /**
55259
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
56026
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
55260
56027
  */
55261
56028
  bindings: Array<{
55262
56029
  /**
@@ -55287,7 +56054,7 @@ export type AgentsArchiveResponses = {
55287
56054
  /**
55288
56055
  * Service type. Opens the whole service to codemode; there is no per-resource id.
55289
56056
  */
55290
- type: 'search' | 'browser';
56057
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
55291
56058
  /**
55292
56059
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
55293
56060
  */
@@ -55888,7 +56655,7 @@ export type AgentsVersionsListResponses = {
55888
56655
  */
55889
56656
  note: string | null;
55890
56657
  /**
55891
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
56658
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
55892
56659
  */
55893
56660
  bindings: Array<{
55894
56661
  /**
@@ -55919,7 +56686,7 @@ export type AgentsVersionsListResponses = {
55919
56686
  /**
55920
56687
  * Service type. Opens the whole service to codemode; there is no per-resource id.
55921
56688
  */
55922
- type: 'search' | 'browser';
56689
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
55923
56690
  /**
55924
56691
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
55925
56692
  */
@@ -65896,7 +66663,7 @@ export type AutomationTriggersCreateData = {
65896
66663
  */
65897
66664
  end_at?: string | null;
65898
66665
  /**
65899
- * skip (default) skips when a previous run is still active; allow permits overlapping runs.
66666
+ * skip skips while a previous run is still active; allow permits overlapping runs. When omitted, schedule triggers use skip and webhook triggers use allow.
65900
66667
  */
65901
66668
  overlap?: 'skip' | 'allow';
65902
66669
  /**
@@ -66095,7 +66862,7 @@ export type AutomationTriggersPatchData = {
66095
66862
  */
66096
66863
  end_at?: string | null;
66097
66864
  /**
66098
- * skip (default) skips when a previous run is still active; allow permits overlapping runs.
66865
+ * skip skips while a previous run is still active; allow permits overlapping runs. When omitted, schedule triggers use skip and webhook triggers use allow.
66099
66866
  */
66100
66867
  overlap?: 'skip' | 'allow';
66101
66868
  /**
@@ -69680,7 +70447,7 @@ export type CutExecuteData = {
69680
70447
  };
69681
70448
  export type CutExecuteErrors = {
69682
70449
  /**
69683
- * SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED means the script failed and its writes rolled back; correct the source using error.details.edit_id and edits when provided. EDIT_EXPIRED means the saved source is older than ten minutes; resubmit corrected script source.
70450
+ * SCRIPT_ERROR, SCRIPT_LIMIT, OPS_REJECTED or INVALID_CAPTION_FILE means the script failed and its writes rolled back; correct the source using error.details.edit_id and edits when provided. EDIT_EXPIRED means the saved source is older than ten minutes; resubmit corrected script source.
69684
70451
  */
69685
70452
  400: CutCutError;
69686
70453
  /**
@@ -75743,6 +76510,646 @@ export type MediaGetGenerationCapabilitiesResponses = {
75743
76510
  200: MediaGenerationCapabilities;
75744
76511
  };
75745
76512
  export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
76513
+ export type OntologyListTypesData = {
76514
+ body?: never;
76515
+ path?: never;
76516
+ query?: never;
76517
+ url: '/ontology/v1/types';
76518
+ };
76519
+ export type OntologyListTypesErrors = {
76520
+ /**
76521
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76522
+ */
76523
+ 401: OntologyOntologyError;
76524
+ /**
76525
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76526
+ */
76527
+ 403: OntologyOntologyError;
76528
+ /**
76529
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76530
+ */
76531
+ 500: OntologyOntologyError;
76532
+ };
76533
+ export type OntologyListTypesError = OntologyListTypesErrors[keyof OntologyListTypesErrors];
76534
+ export type OntologyListTypesResponses = {
76535
+ /**
76536
+ * Every registration in force for this organization, in registration order.
76537
+ */
76538
+ 200: OntologyTypeRegistrationPage;
76539
+ };
76540
+ export type OntologyListTypesResponse = OntologyListTypesResponses[keyof OntologyListTypesResponses];
76541
+ export type OntologyRegisterTypeData = {
76542
+ /**
76543
+ * The registration to add; the same shape one registrant ships as its ontology.types.json.
76544
+ */
76545
+ body: OntologyTypeRegistration;
76546
+ path?: never;
76547
+ query?: never;
76548
+ url: '/ontology/v1/types';
76549
+ };
76550
+ export type OntologyRegisterTypeErrors = {
76551
+ /**
76552
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76553
+ */
76554
+ 400: OntologyOntologyError;
76555
+ /**
76556
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76557
+ */
76558
+ 401: OntologyOntologyError;
76559
+ /**
76560
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76561
+ */
76562
+ 403: OntologyOntologyError;
76563
+ /**
76564
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76565
+ */
76566
+ 500: OntologyOntologyError;
76567
+ /**
76568
+ * NOT_IMPLEMENTED means runtime registration is not open; the deploy gate registers types. Nothing was written.
76569
+ */
76570
+ 501: OntologyOntologyError;
76571
+ };
76572
+ export type OntologyRegisterTypeError = OntologyRegisterTypeErrors[keyof OntologyRegisterTypeErrors];
76573
+ export type OntologyRetrieveTypeData = {
76574
+ body?: never;
76575
+ path: {
76576
+ /**
76577
+ * A type name from types.list, with its dots preserved — a display label is not accepted.
76578
+ */
76579
+ name: string;
76580
+ };
76581
+ query?: never;
76582
+ url: '/ontology/v1/types/{name}';
76583
+ };
76584
+ export type OntologyRetrieveTypeErrors = {
76585
+ /**
76586
+ * ONTOLOGY_TYPE_UNKNOWN means the named type is not registered for this organization; call types.list for the names in force before writing records of it.
76587
+ */
76588
+ 400: OntologyOntologyError;
76589
+ /**
76590
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76591
+ */
76592
+ 401: OntologyOntologyError;
76593
+ /**
76594
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76595
+ */
76596
+ 403: OntologyOntologyError;
76597
+ /**
76598
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76599
+ */
76600
+ 500: OntologyOntologyError;
76601
+ };
76602
+ export type OntologyRetrieveTypeError = OntologyRetrieveTypeErrors[keyof OntologyRetrieveTypeErrors];
76603
+ export type OntologyRetrieveTypeResponses = {
76604
+ /**
76605
+ * The registration that carries this type, with its kind and definition.
76606
+ */
76607
+ 200: OntologyTypeLookup;
76608
+ };
76609
+ export type OntologyRetrieveTypeResponse = OntologyRetrieveTypeResponses[keyof OntologyRetrieveTypeResponses];
76610
+ export type OntologyListNodesData = {
76611
+ body?: never;
76612
+ path?: never;
76613
+ query?: {
76614
+ /**
76615
+ * Repeat to filter to any of several registered node type names, for example type=file&type=ticket; omit to list every type.
76616
+ */
76617
+ type?: Array<string>;
76618
+ /**
76619
+ * Free text matched against node names, aliases and descriptions; omit to list without a text filter.
76620
+ */
76621
+ q?: string;
76622
+ /**
76623
+ * Filter to nodes owned by this member id, or omit to list nodes of every owner; organization-wide nodes carry no owner.
76624
+ */
76625
+ owner?: string;
76626
+ /**
76627
+ * ISO 8601 timestamp; return the graph as it was then, so a node recorded later is absent. Omit to read current state.
76628
+ */
76629
+ as_of?: string;
76630
+ /**
76631
+ * Maximum items to return per page, from 1 to 100; defaults to 50 when omitted. Values above 100 are clamped to 100.
76632
+ */
76633
+ limit?: number;
76634
+ /**
76635
+ * Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null.
76636
+ */
76637
+ cursor?: string;
76638
+ };
76639
+ url: '/ontology/v1/nodes';
76640
+ };
76641
+ export type OntologyListNodesErrors = {
76642
+ /**
76643
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76644
+ */
76645
+ 400: OntologyOntologyError;
76646
+ /**
76647
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76648
+ */
76649
+ 401: OntologyOntologyError;
76650
+ /**
76651
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76652
+ */
76653
+ 403: OntologyOntologyError;
76654
+ /**
76655
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76656
+ */
76657
+ 500: OntologyOntologyError;
76658
+ };
76659
+ export type OntologyListNodesError = OntologyListNodesErrors[keyof OntologyListNodesErrors];
76660
+ export type OntologyListNodesResponses = {
76661
+ /**
76662
+ * One page of nodes, ordered by node id, with next_cursor null on the last page.
76663
+ */
76664
+ 200: OntologyNodePage;
76665
+ };
76666
+ export type OntologyListNodesResponse = OntologyListNodesResponses[keyof OntologyListNodesResponses];
76667
+ export type OntologyCreateNodeData = {
76668
+ /**
76669
+ * The entity to record; name, type and the optional identity of the mirrored record.
76670
+ */
76671
+ body: OntologyCreateNodeInput;
76672
+ headers: {
76673
+ /**
76674
+ * Unique key for this write, at most 255 characters; resend the same key to replay the first result instead of writing twice. A missing or blank key is refused 400.
76675
+ */
76676
+ 'Idempotency-Key': string;
76677
+ };
76678
+ path?: never;
76679
+ query?: never;
76680
+ url: '/ontology/v1/nodes';
76681
+ };
76682
+ export type OntologyCreateNodeErrors = {
76683
+ /**
76684
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76685
+ */
76686
+ 400: OntologyOntologyError;
76687
+ /**
76688
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76689
+ */
76690
+ 401: OntologyOntologyError;
76691
+ /**
76692
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76693
+ */
76694
+ 403: OntologyOntologyError;
76695
+ /**
76696
+ * ONTOLOGY_CONFLICT means the Idempotency-Key was already used with different content; reuse the original request for that key or send a new key for a different write.
76697
+ */
76698
+ 409: OntologyOntologyError;
76699
+ /**
76700
+ * ONTOLOGY_CAPACITY means this organization's graph is at its size budget; free space by invalidating facts that are no longer true before retrying.
76701
+ */
76702
+ 429: OntologyOntologyError;
76703
+ /**
76704
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76705
+ */
76706
+ 500: OntologyOntologyError;
76707
+ };
76708
+ export type OntologyCreateNodeError = OntologyCreateNodeErrors[keyof OntologyCreateNodeErrors];
76709
+ export type OntologyCreateNodeResponses = {
76710
+ /**
76711
+ * The recorded node, with the id later reads, updates and relations use.
76712
+ */
76713
+ 201: OntologyNode;
76714
+ };
76715
+ export type OntologyCreateNodeResponse = OntologyCreateNodeResponses[keyof OntologyCreateNodeResponses];
76716
+ export type OntologyRetrieveNodeData = {
76717
+ body?: never;
76718
+ path: {
76719
+ /**
76720
+ * Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted.
76721
+ */
76722
+ node_id: string;
76723
+ };
76724
+ query?: {
76725
+ /**
76726
+ * Set to relations to include the node's incoming and outgoing relations in the same response; omit for the node alone.
76727
+ */
76728
+ expand?: 'relations';
76729
+ /**
76730
+ * ISO 8601 timestamp; read the node and its relations as they were then, including relations invalidated since. Omit to read current state.
76731
+ */
76732
+ as_of?: string;
76733
+ };
76734
+ url: '/ontology/v1/nodes/{node_id}';
76735
+ };
76736
+ export type OntologyRetrieveNodeErrors = {
76737
+ /**
76738
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76739
+ */
76740
+ 400: OntologyOntologyError;
76741
+ /**
76742
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76743
+ */
76744
+ 401: OntologyOntologyError;
76745
+ /**
76746
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76747
+ */
76748
+ 403: OntologyOntologyError;
76749
+ /**
76750
+ * ONTOLOGY_NODE_NOT_FOUND means the node does not exist in this organization — never created, or owned by another organization; list nodes to find an id you can read.
76751
+ */
76752
+ 404: OntologyOntologyError;
76753
+ /**
76754
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76755
+ */
76756
+ 500: OntologyOntologyError;
76757
+ };
76758
+ export type OntologyRetrieveNodeError = OntologyRetrieveNodeErrors[keyof OntologyRetrieveNodeErrors];
76759
+ export type OntologyRetrieveNodeResponses = {
76760
+ /**
76761
+ * The node, plus a relations array when expand=relations was requested.
76762
+ */
76763
+ 200: OntologyNodeWithRelations;
76764
+ };
76765
+ export type OntologyRetrieveNodeResponse = OntologyRetrieveNodeResponses[keyof OntologyRetrieveNodeResponses];
76766
+ export type OntologyUpdateNodeData = {
76767
+ /**
76768
+ * The fields to change; at least one of name, aliases or description.
76769
+ */
76770
+ body: OntologyUpdateNodeInput;
76771
+ path: {
76772
+ /**
76773
+ * Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted.
76774
+ */
76775
+ node_id: string;
76776
+ };
76777
+ query?: never;
76778
+ url: '/ontology/v1/nodes/{node_id}';
76779
+ };
76780
+ export type OntologyUpdateNodeErrors = {
76781
+ /**
76782
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76783
+ */
76784
+ 400: OntologyOntologyError;
76785
+ /**
76786
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76787
+ */
76788
+ 401: OntologyOntologyError;
76789
+ /**
76790
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76791
+ */
76792
+ 403: OntologyOntologyError;
76793
+ /**
76794
+ * ONTOLOGY_NODE_NOT_FOUND means the node does not exist in this organization — never created, or owned by another organization; list nodes to find an id you can read.
76795
+ */
76796
+ 404: OntologyOntologyError;
76797
+ /**
76798
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76799
+ */
76800
+ 500: OntologyOntologyError;
76801
+ };
76802
+ export type OntologyUpdateNodeError = OntologyUpdateNodeErrors[keyof OntologyUpdateNodeErrors];
76803
+ export type OntologyUpdateNodeResponses = {
76804
+ /**
76805
+ * The node after the update, with its new updated_at.
76806
+ */
76807
+ 200: OntologyNode;
76808
+ };
76809
+ export type OntologyUpdateNodeResponse = OntologyUpdateNodeResponses[keyof OntologyUpdateNodeResponses];
76810
+ export type OntologyMergeNodeData = {
76811
+ /**
76812
+ * The node the merged one folds into.
76813
+ */
76814
+ body: OntologyMergeNodeInput;
76815
+ headers: {
76816
+ /**
76817
+ * Unique key for this merge, at most 255 characters; resend the same key to replay the first result instead of merging twice.
76818
+ */
76819
+ 'Idempotency-Key': string;
76820
+ };
76821
+ path: {
76822
+ /**
76823
+ * Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted.
76824
+ */
76825
+ node_id: string;
76826
+ };
76827
+ query?: never;
76828
+ url: '/ontology/v1/nodes/{node_id}/merge';
76829
+ };
76830
+ export type OntologyMergeNodeErrors = {
76831
+ /**
76832
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76833
+ */
76834
+ 400: OntologyOntologyError;
76835
+ /**
76836
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76837
+ */
76838
+ 401: OntologyOntologyError;
76839
+ /**
76840
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76841
+ */
76842
+ 403: OntologyOntologyError;
76843
+ /**
76844
+ * ONTOLOGY_NODE_NOT_FOUND means the node does not exist in this organization — never created, or owned by another organization; list nodes to find an id you can read.
76845
+ */
76846
+ 404: OntologyOntologyError;
76847
+ /**
76848
+ * ONTOLOGY_CONFLICT means the Idempotency-Key was already used with different content; reuse the original request for that key or send a new key for a different write.
76849
+ */
76850
+ 409: OntologyOntologyError;
76851
+ /**
76852
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76853
+ */
76854
+ 500: OntologyOntologyError;
76855
+ };
76856
+ export type OntologyMergeNodeError = OntologyMergeNodeErrors[keyof OntologyMergeNodeErrors];
76857
+ export type OntologyMergeNodeResponses = {
76858
+ /**
76859
+ * The surviving node that the merged id now resolves to.
76860
+ */
76861
+ 200: OntologyNode;
76862
+ };
76863
+ export type OntologyMergeNodeResponse = OntologyMergeNodeResponses[keyof OntologyMergeNodeResponses];
76864
+ export type OntologyListRelationsData = {
76865
+ body?: never;
76866
+ path?: never;
76867
+ query?: {
76868
+ /**
76869
+ * A node id from nodes.list or nodes.create; returns the relations this node takes part in, narrowed by direction. Omit to list relations between every node.
76870
+ */
76871
+ node?: string;
76872
+ /**
76873
+ * Repeat to filter to any of several registered relation type names, for example type=references&type=serves; omit to list every type.
76874
+ */
76875
+ type?: Array<string>;
76876
+ /**
76877
+ * Which side of node to follow; out returns relations the node is the source of, in returns those it is the target of. Only meaningful together with node.
76878
+ */
76879
+ direction?: 'out' | 'in' | 'both';
76880
+ /**
76881
+ * ISO 8601 timestamp; read relations as they were then, so one recorded or invalidated later is judged by that time. Omit to read current state.
76882
+ */
76883
+ as_of?: string;
76884
+ /**
76885
+ * Set true to include relations whose invalid_at has passed, which is how a relation that stopped being true stays readable. Omit or false for currently valid relations only.
76886
+ */
76887
+ include_invalid?: boolean;
76888
+ /**
76889
+ * Maximum items to return per page, from 1 to 100; defaults to 50 when omitted. Values above 100 are clamped to 100.
76890
+ */
76891
+ limit?: number;
76892
+ /**
76893
+ * Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null.
76894
+ */
76895
+ cursor?: string;
76896
+ };
76897
+ url: '/ontology/v1/relations';
76898
+ };
76899
+ export type OntologyListRelationsErrors = {
76900
+ /**
76901
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76902
+ */
76903
+ 400: OntologyOntologyError;
76904
+ /**
76905
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76906
+ */
76907
+ 401: OntologyOntologyError;
76908
+ /**
76909
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76910
+ */
76911
+ 403: OntologyOntologyError;
76912
+ /**
76913
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76914
+ */
76915
+ 500: OntologyOntologyError;
76916
+ };
76917
+ export type OntologyListRelationsError = OntologyListRelationsErrors[keyof OntologyListRelationsErrors];
76918
+ export type OntologyListRelationsResponses = {
76919
+ /**
76920
+ * One page of relations, ordered by relation id, with next_cursor null on the last page.
76921
+ */
76922
+ 200: OntologyRelationPage;
76923
+ };
76924
+ export type OntologyListRelationsResponse = OntologyListRelationsResponses[keyof OntologyListRelationsResponses];
76925
+ export type OntologyCreateRelationData = {
76926
+ /**
76927
+ * The fact to record, between two node ids from this organization's graph.
76928
+ */
76929
+ body: OntologyCreateRelationInput;
76930
+ headers: {
76931
+ /**
76932
+ * Unique key for this write, at most 255 characters; resend the same key to replay the first result instead of writing twice. A missing or blank key is refused 400.
76933
+ */
76934
+ 'Idempotency-Key': string;
76935
+ };
76936
+ path?: never;
76937
+ query?: never;
76938
+ url: '/ontology/v1/relations';
76939
+ };
76940
+ export type OntologyCreateRelationErrors = {
76941
+ /**
76942
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76943
+ */
76944
+ 400: OntologyOntologyError;
76945
+ /**
76946
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76947
+ */
76948
+ 401: OntologyOntologyError;
76949
+ /**
76950
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76951
+ */
76952
+ 403: OntologyOntologyError;
76953
+ /**
76954
+ * ONTOLOGY_CONFLICT means the Idempotency-Key was already used with different content; reuse the original request for that key or send a new key for a different write.
76955
+ */
76956
+ 409: OntologyOntologyError;
76957
+ /**
76958
+ * ONTOLOGY_CAPACITY means this organization's graph is at its size budget; free space by invalidating facts that are no longer true before retrying.
76959
+ */
76960
+ 429: OntologyOntologyError;
76961
+ /**
76962
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
76963
+ */
76964
+ 500: OntologyOntologyError;
76965
+ };
76966
+ export type OntologyCreateRelationError = OntologyCreateRelationErrors[keyof OntologyCreateRelationErrors];
76967
+ export type OntologyCreateRelationResponses = {
76968
+ /**
76969
+ * The recorded relation, with the id later reads and invalidation use.
76970
+ */
76971
+ 201: OntologyRelation;
76972
+ };
76973
+ export type OntologyCreateRelationResponse = OntologyCreateRelationResponses[keyof OntologyCreateRelationResponses];
76974
+ export type OntologyRetrieveRelationData = {
76975
+ body?: never;
76976
+ path: {
76977
+ /**
76978
+ * Relation id returned by relations.list, relations.create or a changeset, in the form oed_ followed by 32 lowercase letters or digits; a node id is not accepted.
76979
+ */
76980
+ relation_id: string;
76981
+ };
76982
+ query?: never;
76983
+ url: '/ontology/v1/relations/{relation_id}';
76984
+ };
76985
+ export type OntologyRetrieveRelationErrors = {
76986
+ /**
76987
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
76988
+ */
76989
+ 400: OntologyOntologyError;
76990
+ /**
76991
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
76992
+ */
76993
+ 401: OntologyOntologyError;
76994
+ /**
76995
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
76996
+ */
76997
+ 403: OntologyOntologyError;
76998
+ /**
76999
+ * ONTOLOGY_EDGE_NOT_FOUND means the relation does not exist in this organization, or its content belongs to another member; list relations for the ids you may read.
77000
+ */
77001
+ 404: OntologyOntologyError;
77002
+ /**
77003
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
77004
+ */
77005
+ 500: OntologyOntologyError;
77006
+ };
77007
+ export type OntologyRetrieveRelationError = OntologyRetrieveRelationErrors[keyof OntologyRetrieveRelationErrors];
77008
+ export type OntologyRetrieveRelationResponses = {
77009
+ /**
77010
+ * The relation, including its fact, endpoints and both clocks.
77011
+ */
77012
+ 200: OntologyRelation;
77013
+ };
77014
+ export type OntologyRetrieveRelationResponse = OntologyRetrieveRelationResponses[keyof OntologyRetrieveRelationResponses];
77015
+ export type OntologyInvalidateRelationData = {
77016
+ /**
77017
+ * When the fact stopped being true, and optionally what replaced it and why.
77018
+ */
77019
+ body: OntologyInvalidateRelationInput;
77020
+ headers: {
77021
+ /**
77022
+ * Unique key for this invalidation, at most 255 characters; resend the same key to replay the first result instead of invalidating twice.
77023
+ */
77024
+ 'Idempotency-Key': string;
77025
+ };
77026
+ path: {
77027
+ /**
77028
+ * Relation id returned by relations.list, relations.create or a changeset, in the form oed_ followed by 32 lowercase letters or digits; a node id is not accepted.
77029
+ */
77030
+ relation_id: string;
77031
+ };
77032
+ query?: never;
77033
+ url: '/ontology/v1/relations/{relation_id}/invalidate';
77034
+ };
77035
+ export type OntologyInvalidateRelationErrors = {
77036
+ /**
77037
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
77038
+ */
77039
+ 400: OntologyOntologyError;
77040
+ /**
77041
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
77042
+ */
77043
+ 401: OntologyOntologyError;
77044
+ /**
77045
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
77046
+ */
77047
+ 403: OntologyOntologyError;
77048
+ /**
77049
+ * ONTOLOGY_EDGE_NOT_FOUND means the relation does not exist in this organization, or its content belongs to another member; list relations for the ids you may read.
77050
+ */
77051
+ 404: OntologyOntologyError;
77052
+ /**
77053
+ * ONTOLOGY_CONFLICT means the Idempotency-Key was already used with different content; reuse the original request for that key or send a new key for a different write.
77054
+ */
77055
+ 409: OntologyOntologyError;
77056
+ /**
77057
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
77058
+ */
77059
+ 500: OntologyOntologyError;
77060
+ };
77061
+ export type OntologyInvalidateRelationError = OntologyInvalidateRelationErrors[keyof OntologyInvalidateRelationErrors];
77062
+ export type OntologyInvalidateRelationResponses = {
77063
+ /**
77064
+ * The relation after invalidation, with invalid_at set to the given time.
77065
+ */
77066
+ 200: OntologyRelation;
77067
+ };
77068
+ export type OntologyInvalidateRelationResponse = OntologyInvalidateRelationResponses[keyof OntologyInvalidateRelationResponses];
77069
+ export type OntologyApplyChangesetData = {
77070
+ /**
77071
+ * The operations to apply together, with the world time they describe.
77072
+ */
77073
+ body: OntologyChangesetInput;
77074
+ headers: {
77075
+ /**
77076
+ * Unique key for this batch, at most 255 characters; resend the same key to replay the first result instead of writing the batch twice.
77077
+ */
77078
+ 'Idempotency-Key': string;
77079
+ };
77080
+ path?: never;
77081
+ query?: never;
77082
+ url: '/ontology/v1/changesets';
77083
+ };
77084
+ export type OntologyApplyChangesetErrors = {
77085
+ /**
77086
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
77087
+ */
77088
+ 400: OntologyOntologyError;
77089
+ /**
77090
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
77091
+ */
77092
+ 401: OntologyOntologyError;
77093
+ /**
77094
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
77095
+ */
77096
+ 403: OntologyOntologyError;
77097
+ /**
77098
+ * ONTOLOGY_CONFLICT means the Idempotency-Key was already used with different content; reuse the original request for that key or send a new key for a different write.
77099
+ */
77100
+ 409: OntologyOntologyError;
77101
+ /**
77102
+ * ONTOLOGY_CAPACITY means this organization's graph is at its size budget; free space by invalidating facts that are no longer true before retrying.
77103
+ */
77104
+ 429: OntologyOntologyError;
77105
+ /**
77106
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
77107
+ */
77108
+ 500: OntologyOntologyError;
77109
+ };
77110
+ export type OntologyApplyChangesetError = OntologyApplyChangesetErrors[keyof OntologyApplyChangesetErrors];
77111
+ export type OntologyApplyChangesetResponses = {
77112
+ /**
77113
+ * The applied count, the ids assigned to the batch's keys, and replayed true when the key had been seen before.
77114
+ */
77115
+ 200: OntologyChangesetResult;
77116
+ };
77117
+ export type OntologyApplyChangesetResponse = OntologyApplyChangesetResponses[keyof OntologyApplyChangesetResponses];
77118
+ export type OntologySearchData = {
77119
+ /**
77120
+ * The text to resolve, optionally narrowed to particular node types and a result count.
77121
+ */
77122
+ body: OntologySearchInput;
77123
+ path?: never;
77124
+ query?: never;
77125
+ url: '/ontology/v1/search';
77126
+ };
77127
+ export type OntologySearchErrors = {
77128
+ /**
77129
+ * INVALID_PARAMS means a field, query value, header or identifier violates the documented format or range — a missing Idempotency-Key, an unknown direction, a non-numeric limit. Correct the indicated input; the message names what was wrong.
77130
+ */
77131
+ 400: OntologyOntologyError;
77132
+ /**
77133
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
77134
+ */
77135
+ 401: OntologyOntologyError;
77136
+ /**
77137
+ * The API key lacks permission for this operation, or carries no organization; use a key with the required ontology access in the owning organization.
77138
+ */
77139
+ 403: OntologyOntologyError;
77140
+ /**
77141
+ * INTERNAL means the service could not complete the request; before retrying a write, read the graph back so a partially applied change is not sent twice.
77142
+ */
77143
+ 500: OntologyOntologyError;
77144
+ };
77145
+ export type OntologySearchError = OntologySearchErrors[keyof OntologySearchErrors];
77146
+ export type OntologySearchResponses = {
77147
+ /**
77148
+ * Ranked candidate nodes, best match first, with the field each one matched on.
77149
+ */
77150
+ 200: OntologySearchResult;
77151
+ };
77152
+ export type OntologySearchResponse = OntologySearchResponses[keyof OntologySearchResponses];
75746
77153
  export type GetSandboxV1SandboxesData = {
75747
77154
  body?: never;
75748
77155
  path?: never;
@@ -76135,6 +77542,10 @@ export type ListSandboxTemplatesResponses = {
76135
77542
  buildCount: number;
76136
77543
  envdVersion: SandboxEnvdVersion;
76137
77544
  buildStatus: SandboxTemplateBuildStatus;
77545
+ /**
77546
+ * Lifecycle classes this template can run as. ephemeral: cannot pause, snapshot or mount volumes and is deleted when it stops; persistent: can pause, resume and snapshot.
77547
+ */
77548
+ lifecycles?: Array<'ephemeral' | 'persistent'>;
76138
77549
  /**
76139
77550
  * True for an official catalog template; false for your organization's custom templates.
76140
77551
  */