@zocomputer/system-api 0.1.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2314,14 +2314,14 @@ export interface ZoEventDeleteOutputV1 {
2314
2314
  lifecycle: "retired";
2315
2315
  }
2316
2316
  /**
2317
- * The payload and its caller-scoped idempotency key (1 to 255 printable ASCII
2317
+ * The payload and an optional caller-scoped idempotency key (1 to 255 printable ASCII
2318
2318
  * characters). Every envelope attribute (``id``, ``source``, ``type``, ``time``,
2319
2319
  * the workspace, the definition and the causal fields) is derived by the server
2320
2320
  * and rejected as input.
2321
2321
  */
2322
2322
  export interface ZoEventDispatchInputV1 {
2323
2323
  event_id: string;
2324
- idempotency_key: string;
2324
+ idempotency_key?: (string | null);
2325
2325
  data: {
2326
2326
  [k: string]: JsonValue;
2327
2327
  };
@@ -2736,6 +2736,7 @@ export interface ZoFunctionGetRunOutputV1 {
2736
2736
  entry_kind: ("direct" | "connection" | "http");
2737
2737
  state: ZoFunctionGetRunOutputV1RunState;
2738
2738
  error_code: (string | null);
2739
+ error_message: (string | null);
2739
2740
  created_at: string;
2740
2741
  deadline: string;
2741
2742
  finished_at: (string | null);
@@ -2826,6 +2827,7 @@ export interface ZoFunctionListRunsOutputV1FunctionRunSummary {
2826
2827
  entry_kind: ("direct" | "connection" | "http");
2827
2828
  state: ZoFunctionListRunsOutputV1RunState;
2828
2829
  error_code: (string | null);
2830
+ error_message: (string | null);
2829
2831
  created_at: string;
2830
2832
  deadline: string;
2831
2833
  finished_at: (string | null);
@@ -4370,6 +4372,145 @@ export interface ZoMessageGetOutputV1MessageDelivery {
4370
4372
  */
4371
4373
  reasoning: (string | null);
4372
4374
  }
4375
+ export interface ZoModelListInputV1 {
4376
+ workspace_id: string;
4377
+ }
4378
+ export interface ZoModelListOutputV1 {
4379
+ models: ZoModelListOutputV1ModelEntry[];
4380
+ next_cursor: (string | null);
4381
+ }
4382
+ export interface ZoModelListOutputV1ModelEntry {
4383
+ /**
4384
+ * The ID to pass as model.
4385
+ */
4386
+ id: string;
4387
+ display_name: string;
4388
+ provider: string;
4389
+ capabilities: ("text" | "structured_output" | "embedding" | "rerank" | "image" | "speech" | "transcription" | "video")[];
4390
+ /**
4391
+ * Media types the model accepts in file parts, such as image/* and text/*.
4392
+ */
4393
+ input_media: string[];
4394
+ context_window_tokens: (number | null);
4395
+ max_output_tokens: (number | null);
4396
+ /**
4397
+ * The reasoning levels the model offers. Empty when it has none.
4398
+ */
4399
+ reasoning_levels: string[];
4400
+ /**
4401
+ * Every setting the model accepts, with its allowed values. A setting not listed is refused with invalid_input before the call.
4402
+ */
4403
+ settings: ZoModelListOutputV1ModelSetting[];
4404
+ /**
4405
+ * Named limits for the model's actions, such as max_values.
4406
+ */
4407
+ limits: {
4408
+ [k: string]: number;
4409
+ };
4410
+ /**
4411
+ * Every rate the model is billed at, the rows zo.billing.list_rates returns for it. A call is charged at the rates whose conditions it meets.
4412
+ */
4413
+ prices: ZoModelListOutputV1ModelPrice[];
4414
+ status: ("available" | "deprecated");
4415
+ }
4416
+ /**
4417
+ * One setting the model accepts and the values it allows.
4418
+ */
4419
+ export interface ZoModelListOutputV1ModelSetting {
4420
+ /**
4421
+ * The input field, such as temperature or reasoning.
4422
+ */
4423
+ name: string;
4424
+ /**
4425
+ * The smallest allowed value, as a decimal string.
4426
+ */
4427
+ minimum: (string | null);
4428
+ /**
4429
+ * The largest allowed value, as a decimal string.
4430
+ */
4431
+ maximum: (string | null);
4432
+ /**
4433
+ * The most items a list setting takes.
4434
+ */
4435
+ max_items: (number | null);
4436
+ /**
4437
+ * The allowed values of a string setting.
4438
+ */
4439
+ values: (string[] | null);
4440
+ }
4441
+ /**
4442
+ * One of the model's rates: the row ``zo.billing.list_rates`` returns for it.
4443
+ */
4444
+ export interface ZoModelListOutputV1ModelPrice {
4445
+ /**
4446
+ * The rate's key in zo.billing.list_rates.
4447
+ */
4448
+ rate_key: string;
4449
+ /**
4450
+ * The usage meter the rate prices, as zo.billing.list_rates names it.
4451
+ */
4452
+ meter: string;
4453
+ /**
4454
+ * What one billed unit is. input, output, cache_read and cache_write are tokens: the usage fields input_tokens, output_tokens, cache_read_tokens and cache_write_tokens. request is one generated output, such as an image or a video.
4455
+ */
4456
+ unit: ("input" | "output" | "cache_read" | "cache_write" | "request" | "character" | "millisecond" | "audio_minute" | "megapixel" | "video_second");
4457
+ /**
4458
+ * The workspace's current price for per units, as a decimal string.
4459
+ */
4460
+ usd: string;
4461
+ /**
4462
+ * How many units usd is for: 1000000 for tokens.
4463
+ */
4464
+ per: string;
4465
+ conditions: ZoModelListOutputV1RateConditions;
4466
+ }
4467
+ /**
4468
+ * When the rate applies, as zo.billing.list_rates gives it: input-token tiers for text models; operation, selector, resolution, quality, duration and quantity bounds for media models.
4469
+ */
4470
+ export interface ZoModelListOutputV1RateConditions {
4471
+ /**
4472
+ * Inclusive request-size lower bound.
4473
+ */
4474
+ request_input_tokens_min?: (number | null);
4475
+ /**
4476
+ * Exclusive request-size upper bound.
4477
+ */
4478
+ request_input_tokens_max?: (number | null);
4479
+ /**
4480
+ * The matching tier prices the whole request.
4481
+ */
4482
+ whole_request?: boolean;
4483
+ operation?: (string | null);
4484
+ resolution?: (string | null);
4485
+ quality?: (string | null);
4486
+ duration_seconds?: (string | null);
4487
+ quantity_min?: (string | null);
4488
+ quantity_max?: (string | null);
4489
+ included_quantity?: (string | null);
4490
+ default_quantity?: (string | null);
4491
+ quantity_argument?: (string | null);
4492
+ selector?: {
4493
+ [k: string]: JsonValue;
4494
+ };
4495
+ rounding?: ("none" | "ceil_step");
4496
+ }
4497
+ export interface ZoModelListQueryV1 {
4498
+ /**
4499
+ * Rows per page, at most 200; a larger value is reduced to it.
4500
+ */
4501
+ limit?: number;
4502
+ /**
4503
+ * The previous page's next_cursor, sent with the same sort, filter and search.
4504
+ */
4505
+ cursor?: string;
4506
+ sort?: "id.asc";
4507
+ filter?: {
4508
+ /**
4509
+ * Only models with this capability.
4510
+ */
4511
+ capability?: (("text" | "structured_output" | "embedding" | "rerank" | "image" | "speech" | "transcription" | "video") | null);
4512
+ };
4513
+ }
4373
4514
  export interface ZoOauthAppCreateInputV1 {
4374
4515
  workspace_id: string;
4375
4516
  provider: string;
@@ -7409,493 +7550,6 @@ export interface ZoTaskUpdateOutputV1CommentAuthor {
7409
7550
  display_name: string;
7410
7551
  active: boolean;
7411
7552
  }
7412
- export interface ZoVaultCreateInputV1 {
7413
- workspace_id: string;
7414
- display_name: string;
7415
- description?: string;
7416
- /**
7417
- * Secret: the credential. Stored sealed and never returned.
7418
- */
7419
- value: string;
7420
- /**
7421
- * The environment variable name a machine gets the value under, such as `OPENAI_API_KEY`.
7422
- */
7423
- environment_variable?: (string | null);
7424
- /**
7425
- * @maxItems 10
7426
- */
7427
- injections?: [] | [ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection] | [ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection, ZoVaultCreateInputV1VaultInjection];
7428
- /**
7429
- * `workspace` (default): every member can use it. `protected`: only you, and whoever you share it with; workspace-wide grants don't reach it. Fixed at creation.
7430
- */
7431
- visibility?: ("workspace" | "protected");
7432
- }
7433
- /**
7434
- * Where and how the value is sent on requests to ``hosts``. A host appears
7435
- * in at most one entry of a vault's list.
7436
- */
7437
- export interface ZoVaultCreateInputV1VaultInjection {
7438
- /**
7439
- * @minItems 1
7440
- * @maxItems 20
7441
- *
7442
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7443
- */
7444
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7445
- location: ZoVaultCreateInputV1HeaderLocation;
7446
- format: (ZoVaultCreateInputV1BearerFormat | ZoVaultCreateInputV1BasicFormat | ZoVaultCreateInputV1RawFormat);
7447
- }
7448
- export interface ZoVaultCreateInputV1HeaderLocation {
7449
- type: "header";
7450
- /**
7451
- * The header to set, such as `Authorization` or `X-API-Key`.
7452
- */
7453
- name: string;
7454
- }
7455
- export interface ZoVaultCreateInputV1BearerFormat {
7456
- /**
7457
- * `Bearer <value>`.
7458
- */
7459
- type: "bearer";
7460
- }
7461
- export interface ZoVaultCreateInputV1BasicFormat {
7462
- /**
7463
- * `Basic` with base64 of `<username>:<value>`.
7464
- */
7465
- type: "basic";
7466
- username: string;
7467
- }
7468
- export interface ZoVaultCreateInputV1RawFormat {
7469
- /**
7470
- * The value as it is.
7471
- */
7472
- type: "raw";
7473
- }
7474
- /**
7475
- * A vault's registry envelope and settings. Never its value.
7476
- */
7477
- export interface ZoVaultCreateOutputV1 {
7478
- id: string;
7479
- workspace_id: string;
7480
- type: "vault";
7481
- type_version: 1;
7482
- display_name: string;
7483
- description: string;
7484
- visibility: ("workspace" | "protected");
7485
- owner_user_id: (string | null);
7486
- revision: number;
7487
- created_at: string;
7488
- updated_at: string;
7489
- /**
7490
- * The environment variable name a machine gets the value under, or null for none.
7491
- */
7492
- environment_variable: (string | null);
7493
- injections: ZoVaultCreateOutputV1VaultInjection[];
7494
- /**
7495
- * When the current value was stored, at create or the last rotate.
7496
- */
7497
- value_updated_at: string;
7498
- }
7499
- /**
7500
- * Where and how the value is sent on requests to ``hosts``. A host appears
7501
- * in at most one entry of a vault's list.
7502
- */
7503
- export interface ZoVaultCreateOutputV1VaultInjection {
7504
- /**
7505
- * @minItems 1
7506
- * @maxItems 20
7507
- *
7508
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7509
- */
7510
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7511
- location: ZoVaultCreateOutputV1HeaderLocation;
7512
- format: (ZoVaultCreateOutputV1BearerFormat | ZoVaultCreateOutputV1BasicFormat | ZoVaultCreateOutputV1RawFormat);
7513
- }
7514
- export interface ZoVaultCreateOutputV1HeaderLocation {
7515
- type: "header";
7516
- /**
7517
- * The header to set, such as `Authorization` or `X-API-Key`.
7518
- */
7519
- name: string;
7520
- }
7521
- export interface ZoVaultCreateOutputV1BearerFormat {
7522
- /**
7523
- * `Bearer <value>`.
7524
- */
7525
- type: "bearer";
7526
- }
7527
- export interface ZoVaultCreateOutputV1BasicFormat {
7528
- /**
7529
- * `Basic` with base64 of `<username>:<value>`.
7530
- */
7531
- type: "basic";
7532
- username: string;
7533
- }
7534
- export interface ZoVaultCreateOutputV1RawFormat {
7535
- /**
7536
- * The value as it is.
7537
- */
7538
- type: "raw";
7539
- }
7540
- export interface ZoVaultDeleteInputV1 {
7541
- vault_id: string;
7542
- expected_revision: number;
7543
- }
7544
- export interface ZoVaultDeleteOutputV1 {
7545
- state: "deleted";
7546
- revision: number;
7547
- }
7548
- export interface ZoVaultGetInputV1 {
7549
- vault_id: string;
7550
- }
7551
- /**
7552
- * A vault's registry envelope and settings. Never its value.
7553
- */
7554
- export interface ZoVaultGetOutputV1 {
7555
- id: string;
7556
- workspace_id: string;
7557
- type: "vault";
7558
- type_version: 1;
7559
- display_name: string;
7560
- description: string;
7561
- visibility: ("workspace" | "protected");
7562
- owner_user_id: (string | null);
7563
- revision: number;
7564
- created_at: string;
7565
- updated_at: string;
7566
- /**
7567
- * The environment variable name a machine gets the value under, or null for none.
7568
- */
7569
- environment_variable: (string | null);
7570
- injections: ZoVaultGetOutputV1VaultInjection[];
7571
- /**
7572
- * When the current value was stored, at create or the last rotate.
7573
- */
7574
- value_updated_at: string;
7575
- }
7576
- /**
7577
- * Where and how the value is sent on requests to ``hosts``. A host appears
7578
- * in at most one entry of a vault's list.
7579
- */
7580
- export interface ZoVaultGetOutputV1VaultInjection {
7581
- /**
7582
- * @minItems 1
7583
- * @maxItems 20
7584
- *
7585
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7586
- */
7587
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7588
- location: ZoVaultGetOutputV1HeaderLocation;
7589
- format: (ZoVaultGetOutputV1BearerFormat | ZoVaultGetOutputV1BasicFormat | ZoVaultGetOutputV1RawFormat);
7590
- }
7591
- export interface ZoVaultGetOutputV1HeaderLocation {
7592
- type: "header";
7593
- /**
7594
- * The header to set, such as `Authorization` or `X-API-Key`.
7595
- */
7596
- name: string;
7597
- }
7598
- export interface ZoVaultGetOutputV1BearerFormat {
7599
- /**
7600
- * `Bearer <value>`.
7601
- */
7602
- type: "bearer";
7603
- }
7604
- export interface ZoVaultGetOutputV1BasicFormat {
7605
- /**
7606
- * `Basic` with base64 of `<username>:<value>`.
7607
- */
7608
- type: "basic";
7609
- username: string;
7610
- }
7611
- export interface ZoVaultGetOutputV1RawFormat {
7612
- /**
7613
- * The value as it is.
7614
- */
7615
- type: "raw";
7616
- }
7617
- export interface ZoVaultListInputV1 {
7618
- workspace_id: string;
7619
- }
7620
- export interface ZoVaultListOutputV1 {
7621
- vaults: ZoVaultListOutputV1VaultView[];
7622
- next_cursor: (string | null);
7623
- }
7624
- /**
7625
- * A vault's registry envelope and settings. Never its value.
7626
- */
7627
- export interface ZoVaultListOutputV1VaultView {
7628
- id: string;
7629
- workspace_id: string;
7630
- type: "vault";
7631
- type_version: 1;
7632
- display_name: string;
7633
- description: string;
7634
- visibility: ("workspace" | "protected");
7635
- owner_user_id: (string | null);
7636
- revision: number;
7637
- created_at: string;
7638
- updated_at: string;
7639
- /**
7640
- * The environment variable name a machine gets the value under, or null for none.
7641
- */
7642
- environment_variable: (string | null);
7643
- injections: ZoVaultListOutputV1VaultInjection[];
7644
- /**
7645
- * When the current value was stored, at create or the last rotate.
7646
- */
7647
- value_updated_at: string;
7648
- }
7649
- /**
7650
- * Where and how the value is sent on requests to ``hosts``. A host appears
7651
- * in at most one entry of a vault's list.
7652
- */
7653
- export interface ZoVaultListOutputV1VaultInjection {
7654
- /**
7655
- * @minItems 1
7656
- * @maxItems 20
7657
- *
7658
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7659
- */
7660
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7661
- location: ZoVaultListOutputV1HeaderLocation;
7662
- format: (ZoVaultListOutputV1BearerFormat | ZoVaultListOutputV1BasicFormat | ZoVaultListOutputV1RawFormat);
7663
- }
7664
- export interface ZoVaultListOutputV1HeaderLocation {
7665
- type: "header";
7666
- /**
7667
- * The header to set, such as `Authorization` or `X-API-Key`.
7668
- */
7669
- name: string;
7670
- }
7671
- export interface ZoVaultListOutputV1BearerFormat {
7672
- /**
7673
- * `Bearer <value>`.
7674
- */
7675
- type: "bearer";
7676
- }
7677
- export interface ZoVaultListOutputV1BasicFormat {
7678
- /**
7679
- * `Basic` with base64 of `<username>:<value>`.
7680
- */
7681
- type: "basic";
7682
- username: string;
7683
- }
7684
- export interface ZoVaultListOutputV1RawFormat {
7685
- /**
7686
- * The value as it is.
7687
- */
7688
- type: "raw";
7689
- }
7690
- export interface ZoVaultListQueryV1 {
7691
- /**
7692
- * Rows per page, at most 100; a larger value is reduced to it.
7693
- */
7694
- limit?: number;
7695
- /**
7696
- * The previous page's next_cursor, sent with the same sort, filter and search.
7697
- */
7698
- cursor?: string;
7699
- sort?: ("id.asc" | "created_at.desc" | "created_at.asc" | "display_name.asc");
7700
- }
7701
- export interface ZoVaultRotateInputV1 {
7702
- vault_id: string;
7703
- expected_revision: number;
7704
- /**
7705
- * Secret: the credential. Stored sealed and never returned.
7706
- */
7707
- value: string;
7708
- }
7709
- /**
7710
- * A vault's registry envelope and settings. Never its value.
7711
- */
7712
- export interface ZoVaultRotateOutputV1 {
7713
- id: string;
7714
- workspace_id: string;
7715
- type: "vault";
7716
- type_version: 1;
7717
- display_name: string;
7718
- description: string;
7719
- visibility: ("workspace" | "protected");
7720
- owner_user_id: (string | null);
7721
- revision: number;
7722
- created_at: string;
7723
- updated_at: string;
7724
- /**
7725
- * The environment variable name a machine gets the value under, or null for none.
7726
- */
7727
- environment_variable: (string | null);
7728
- injections: ZoVaultRotateOutputV1VaultInjection[];
7729
- /**
7730
- * When the current value was stored, at create or the last rotate.
7731
- */
7732
- value_updated_at: string;
7733
- }
7734
- /**
7735
- * Where and how the value is sent on requests to ``hosts``. A host appears
7736
- * in at most one entry of a vault's list.
7737
- */
7738
- export interface ZoVaultRotateOutputV1VaultInjection {
7739
- /**
7740
- * @minItems 1
7741
- * @maxItems 20
7742
- *
7743
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7744
- */
7745
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7746
- location: ZoVaultRotateOutputV1HeaderLocation;
7747
- format: (ZoVaultRotateOutputV1BearerFormat | ZoVaultRotateOutputV1BasicFormat | ZoVaultRotateOutputV1RawFormat);
7748
- }
7749
- export interface ZoVaultRotateOutputV1HeaderLocation {
7750
- type: "header";
7751
- /**
7752
- * The header to set, such as `Authorization` or `X-API-Key`.
7753
- */
7754
- name: string;
7755
- }
7756
- export interface ZoVaultRotateOutputV1BearerFormat {
7757
- /**
7758
- * `Bearer <value>`.
7759
- */
7760
- type: "bearer";
7761
- }
7762
- export interface ZoVaultRotateOutputV1BasicFormat {
7763
- /**
7764
- * `Basic` with base64 of `<username>:<value>`.
7765
- */
7766
- type: "basic";
7767
- username: string;
7768
- }
7769
- export interface ZoVaultRotateOutputV1RawFormat {
7770
- /**
7771
- * The value as it is.
7772
- */
7773
- type: "raw";
7774
- }
7775
- /**
7776
- * Omitted fields keep their value; ``injections`` replaces the whole list.
7777
- */
7778
- export interface ZoVaultUpdateInputV1 {
7779
- vault_id: string;
7780
- expected_revision: number;
7781
- display_name?: (string | null);
7782
- /**
7783
- * `""` clears the description.
7784
- */
7785
- description?: (string | null);
7786
- /**
7787
- * `""` clears the variable.
7788
- */
7789
- environment_variable?: (string | null);
7790
- injections?: ([] | [ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | [ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection, ZoVaultUpdateInputV1VaultInjection] | null);
7791
- }
7792
- /**
7793
- * Where and how the value is sent on requests to ``hosts``. A host appears
7794
- * in at most one entry of a vault's list.
7795
- */
7796
- export interface ZoVaultUpdateInputV1VaultInjection {
7797
- /**
7798
- * @minItems 1
7799
- * @maxItems 20
7800
- *
7801
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7802
- */
7803
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7804
- location: ZoVaultUpdateInputV1HeaderLocation;
7805
- format: (ZoVaultUpdateInputV1BearerFormat | ZoVaultUpdateInputV1BasicFormat | ZoVaultUpdateInputV1RawFormat);
7806
- }
7807
- export interface ZoVaultUpdateInputV1HeaderLocation {
7808
- type: "header";
7809
- /**
7810
- * The header to set, such as `Authorization` or `X-API-Key`.
7811
- */
7812
- name: string;
7813
- }
7814
- export interface ZoVaultUpdateInputV1BearerFormat {
7815
- /**
7816
- * `Bearer <value>`.
7817
- */
7818
- type: "bearer";
7819
- }
7820
- export interface ZoVaultUpdateInputV1BasicFormat {
7821
- /**
7822
- * `Basic` with base64 of `<username>:<value>`.
7823
- */
7824
- type: "basic";
7825
- username: string;
7826
- }
7827
- export interface ZoVaultUpdateInputV1RawFormat {
7828
- /**
7829
- * The value as it is.
7830
- */
7831
- type: "raw";
7832
- }
7833
- /**
7834
- * A vault's registry envelope and settings. Never its value.
7835
- */
7836
- export interface ZoVaultUpdateOutputV1 {
7837
- id: string;
7838
- workspace_id: string;
7839
- type: "vault";
7840
- type_version: 1;
7841
- display_name: string;
7842
- description: string;
7843
- visibility: ("workspace" | "protected");
7844
- owner_user_id: (string | null);
7845
- revision: number;
7846
- created_at: string;
7847
- updated_at: string;
7848
- /**
7849
- * The environment variable name a machine gets the value under, or null for none.
7850
- */
7851
- environment_variable: (string | null);
7852
- injections: ZoVaultUpdateOutputV1VaultInjection[];
7853
- /**
7854
- * When the current value was stored, at create or the last rotate.
7855
- */
7856
- value_updated_at: string;
7857
- }
7858
- /**
7859
- * Where and how the value is sent on requests to ``hosts``. A host appears
7860
- * in at most one entry of a vault's list.
7861
- */
7862
- export interface ZoVaultUpdateOutputV1VaultInjection {
7863
- /**
7864
- * @minItems 1
7865
- * @maxItems 20
7866
- *
7867
- * Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
7868
- */
7869
- hosts: [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7870
- location: ZoVaultUpdateOutputV1HeaderLocation;
7871
- format: (ZoVaultUpdateOutputV1BearerFormat | ZoVaultUpdateOutputV1BasicFormat | ZoVaultUpdateOutputV1RawFormat);
7872
- }
7873
- export interface ZoVaultUpdateOutputV1HeaderLocation {
7874
- type: "header";
7875
- /**
7876
- * The header to set, such as `Authorization` or `X-API-Key`.
7877
- */
7878
- name: string;
7879
- }
7880
- export interface ZoVaultUpdateOutputV1BearerFormat {
7881
- /**
7882
- * `Bearer <value>`.
7883
- */
7884
- type: "bearer";
7885
- }
7886
- export interface ZoVaultUpdateOutputV1BasicFormat {
7887
- /**
7888
- * `Basic` with base64 of `<username>:<value>`.
7889
- */
7890
- type: "basic";
7891
- username: string;
7892
- }
7893
- export interface ZoVaultUpdateOutputV1RawFormat {
7894
- /**
7895
- * The value as it is.
7896
- */
7897
- type: "raw";
7898
- }
7899
7553
  export interface ZoWebFetchInputV1 {
7900
7554
  workspace_id: string;
7901
7555
  /**
@@ -8041,6 +7695,7 @@ export interface ZoWebsiteCreateInputV1 {
8041
7695
  */
8042
7696
  description?: string;
8043
7697
  visibility?: ("workspace" | "protected");
7698
+ access?: ("public" | "authenticated");
8044
7699
  }
8045
7700
  export interface ZoWebsiteCreateOutputV1 {
8046
7701
  id: string;
@@ -8050,7 +7705,7 @@ export interface ZoWebsiteCreateOutputV1 {
8050
7705
  description: string;
8051
7706
  generated_hostname: string;
8052
7707
  custom_hostname: (ZoWebsiteCreateOutputV1WebsiteHostname | null);
8053
- access: "public";
7708
+ access: ("public" | "authenticated");
8054
7709
  revision: number;
8055
7710
  visibility: ("workspace" | "protected");
8056
7711
  owner_user_id: (string | null);
@@ -8080,7 +7735,7 @@ export interface ZoWebsiteGetOutputV1 {
8080
7735
  description: string;
8081
7736
  generated_hostname: string;
8082
7737
  custom_hostname: (ZoWebsiteGetOutputV1WebsiteHostname | null);
8083
- access: "public";
7738
+ access: ("public" | "authenticated");
8084
7739
  revision: number;
8085
7740
  visibility: ("workspace" | "protected");
8086
7741
  owner_user_id: (string | null);
@@ -8106,7 +7761,7 @@ export interface ZoWebsiteListOutputV1WebsiteListItem {
8106
7761
  description: string;
8107
7762
  generated_hostname: string;
8108
7763
  custom_hostname: (ZoWebsiteListOutputV1WebsiteHostname | null);
8109
- access: "public";
7764
+ access: ("public" | "authenticated");
8110
7765
  revision: number;
8111
7766
  visibility: ("workspace" | "protected");
8112
7767
  owner_user_id: (string | null);
@@ -8127,6 +7782,7 @@ export interface ZoWebsiteListOutputV1WebsiteRoute {
8127
7782
  state: ("unpublished" | "published");
8128
7783
  published_at: (string | null);
8129
7784
  target: (ZoWebsiteListOutputV1FunctionRouteConfig | ZoWebsiteListOutputV1MachineRouteConfig | ZoWebsiteListOutputV1KbRouteConfig);
7785
+ access: ("public" | "authenticated");
8130
7786
  }
8131
7787
  export interface ZoWebsiteListOutputV1FunctionRouteConfig {
8132
7788
  kind: "function";
@@ -8170,6 +7826,7 @@ export interface ZoWebsiteUpdateInputV1 {
8170
7826
  */
8171
7827
  description?: (string | null);
8172
7828
  custom_hostname?: (ZoWebsiteUpdateInputV1CustomHostnameChange | null);
7829
+ access?: (("public" | "authenticated") | null);
8173
7830
  }
8174
7831
  export interface ZoWebsiteUpdateInputV1CustomHostnameChange {
8175
7832
  hostname: (string | null);
@@ -8182,7 +7839,7 @@ export interface ZoWebsiteUpdateOutputV1 {
8182
7839
  description: string;
8183
7840
  generated_hostname: string;
8184
7841
  custom_hostname: (ZoWebsiteUpdateOutputV1WebsiteHostname | null);
8185
- access: "public";
7842
+ access: ("public" | "authenticated");
8186
7843
  revision: number;
8187
7844
  visibility: ("workspace" | "protected");
8188
7845
  owner_user_id: (string | null);
@@ -8202,6 +7859,7 @@ export interface ZoWebsiteRouteCreateInputV1 {
8202
7859
  * @maxItems 8
8203
7860
  */
8204
7861
  acknowledge_bound_accounts?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string];
7862
+ access?: ("public" | "authenticated");
8205
7863
  }
8206
7864
  export interface ZoWebsiteRouteCreateInputV1FunctionRouteConfigInput {
8207
7865
  kind: "function";
@@ -8233,6 +7891,7 @@ export interface ZoWebsiteRouteCreateOutputV1 {
8233
7891
  state: ("unpublished" | "published");
8234
7892
  published_at: (string | null);
8235
7893
  target: (ZoWebsiteRouteCreateOutputV1FunctionRouteConfig | ZoWebsiteRouteCreateOutputV1MachineRouteConfig | ZoWebsiteRouteCreateOutputV1KbRouteConfig);
7894
+ access: ("public" | "authenticated");
8236
7895
  }
8237
7896
  export interface ZoWebsiteRouteCreateOutputV1FunctionRouteConfig {
8238
7897
  kind: "function";
@@ -8281,6 +7940,7 @@ export interface ZoWebsiteRouteGetOutputV1 {
8281
7940
  state: ("unpublished" | "published");
8282
7941
  published_at: (string | null);
8283
7942
  target: (ZoWebsiteRouteGetOutputV1FunctionRouteConfig | ZoWebsiteRouteGetOutputV1MachineRouteConfig | ZoWebsiteRouteGetOutputV1KbRouteConfig);
7943
+ access: ("public" | "authenticated");
8284
7944
  }
8285
7945
  export interface ZoWebsiteRouteGetOutputV1FunctionRouteConfig {
8286
7946
  kind: "function";
@@ -8319,6 +7979,7 @@ export interface ZoWebsiteRouteListOutputV1WebsiteRoute {
8319
7979
  state: ("unpublished" | "published");
8320
7980
  published_at: (string | null);
8321
7981
  target: (ZoWebsiteRouteListOutputV1FunctionRouteConfig | ZoWebsiteRouteListOutputV1MachineRouteConfig | ZoWebsiteRouteListOutputV1KbRouteConfig);
7982
+ access: ("public" | "authenticated");
8322
7983
  }
8323
7984
  export interface ZoWebsiteRouteListOutputV1FunctionRouteConfig {
8324
7985
  kind: "function";
@@ -8369,6 +8030,7 @@ export interface ZoWebsiteRoutePublishOutputV1 {
8369
8030
  state: ("unpublished" | "published");
8370
8031
  published_at: (string | null);
8371
8032
  target: (ZoWebsiteRoutePublishOutputV1FunctionRouteConfig | ZoWebsiteRoutePublishOutputV1MachineRouteConfig | ZoWebsiteRoutePublishOutputV1KbRouteConfig);
8033
+ access: ("public" | "authenticated");
8372
8034
  }
8373
8035
  export interface ZoWebsiteRoutePublishOutputV1FunctionRouteConfig {
8374
8036
  kind: "function";
@@ -8409,6 +8071,7 @@ export interface ZoWebsiteRouteUnpublishOutputV1 {
8409
8071
  state: ("unpublished" | "published");
8410
8072
  published_at: (string | null);
8411
8073
  target: (ZoWebsiteRouteUnpublishOutputV1FunctionRouteConfig | ZoWebsiteRouteUnpublishOutputV1MachineRouteConfig | ZoWebsiteRouteUnpublishOutputV1KbRouteConfig);
8074
+ access: ("public" | "authenticated");
8412
8075
  }
8413
8076
  export interface ZoWebsiteRouteUnpublishOutputV1FunctionRouteConfig {
8414
8077
  kind: "function";
@@ -8442,6 +8105,7 @@ export interface ZoWebsiteRouteUpdateInputV1 {
8442
8105
  * @maxItems 8
8443
8106
  */
8444
8107
  acknowledge_bound_accounts?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string];
8108
+ access?: (("public" | "authenticated") | null);
8445
8109
  }
8446
8110
  export interface ZoWebsiteRouteUpdateInputV1FunctionRouteConfigInput {
8447
8111
  kind: "function";
@@ -8473,6 +8137,7 @@ export interface ZoWebsiteRouteUpdateOutputV1 {
8473
8137
  state: ("unpublished" | "published");
8474
8138
  published_at: (string | null);
8475
8139
  target: (ZoWebsiteRouteUpdateOutputV1FunctionRouteConfig | ZoWebsiteRouteUpdateOutputV1MachineRouteConfig | ZoWebsiteRouteUpdateOutputV1KbRouteConfig);
8140
+ access: ("public" | "authenticated");
8476
8141
  }
8477
8142
  export interface ZoWebsiteRouteUpdateOutputV1FunctionRouteConfig {
8478
8143
  kind: "function";
@@ -8737,7 +8402,7 @@ export interface ZoWorkspaceGetInputV1 {
8737
8402
  workspace_id: string;
8738
8403
  }
8739
8404
  /**
8740
- * A `workspace` resource instance returned by `zo.workspace.get`.
8405
+ * A `workspace` resource instance returned by `zo.workspace.get`, with the caller.
8741
8406
  *
8742
8407
  * `workspace_id` keeps the resource envelope uniform across types; for a
8743
8408
  * workspace resource it equals `id`.
@@ -8750,6 +8415,7 @@ export interface ZoWorkspaceGetOutputV1 {
8750
8415
  display_name: string;
8751
8416
  revision: number;
8752
8417
  properties: ZoWorkspaceGetOutputV1WorkspaceProperties;
8418
+ caller: ZoWorkspaceGetOutputV1WorkspaceCaller;
8753
8419
  }
8754
8420
  /**
8755
8421
  * Public properties of a `workspace` resource, type version 1.
@@ -8759,6 +8425,68 @@ export interface ZoWorkspaceGetOutputV1 {
8759
8425
  */
8760
8426
  export interface ZoWorkspaceGetOutputV1WorkspaceProperties {
8761
8427
  }
8428
+ /**
8429
+ * Who is calling, from the verified credential. `authorizes_as` is the
8430
+ * identity policy decided for; `initiated_by` and `owner` are attribution and
8431
+ * grant no permission.
8432
+ */
8433
+ export interface ZoWorkspaceGetOutputV1WorkspaceCaller {
8434
+ principal: ZoWorkspaceGetOutputV1CallerIdentity;
8435
+ authorizes_as: ZoWorkspaceGetOutputV1CallerIdentity;
8436
+ initiated_by: (ZoWorkspaceGetOutputV1CallerIdentity | null);
8437
+ /**
8438
+ * The owner of a protected resource principal.
8439
+ */
8440
+ owner: (ZoWorkspaceGetOutputV1CallerPerson | null);
8441
+ person: (ZoWorkspaceGetOutputV1CallerRelatedPerson | null);
8442
+ credential: ZoWorkspaceGetOutputV1CallerCredential;
8443
+ /**
8444
+ * The person's built-in standing in this workspace: Workspace owners, then Workspace members.
8445
+ */
8446
+ workspace_membership: (("owner" | "member") | null);
8447
+ }
8448
+ /**
8449
+ * A verified identity of the request: its type, ID and current display name.
8450
+ */
8451
+ export interface ZoWorkspaceGetOutputV1CallerIdentity {
8452
+ type: ("user" | "agent" | "function" | "service" | "machine" | "service_account" | "workflow");
8453
+ id: string;
8454
+ /**
8455
+ * A person's full name or a resource's display name; never an email.
8456
+ */
8457
+ display_name: (string | null);
8458
+ }
8459
+ /**
8460
+ * A person, by user ID and current full name.
8461
+ */
8462
+ export interface ZoWorkspaceGetOutputV1CallerPerson {
8463
+ user_id: string;
8464
+ display_name: (string | null);
8465
+ }
8466
+ /**
8467
+ * The person this request relates to and how: as its principal, its policy
8468
+ * authority, its initiator, or the owner of its protected principal.
8469
+ */
8470
+ export interface ZoWorkspaceGetOutputV1CallerRelatedPerson {
8471
+ user_id: string;
8472
+ display_name: (string | null);
8473
+ relationship: ("principal" | "authority" | "initiator" | "owner");
8474
+ }
8475
+ /**
8476
+ * The kind of the verified credential and its client facts.
8477
+ */
8478
+ export interface ZoWorkspaceGetOutputV1CallerCredential {
8479
+ kind: ("login" | "agent_runner" | "function_run" | "workflow_run" | "client_credentials" | "authorization_code" | "workload" | "execution" | "delegated" | "persisted");
8480
+ client_id: string;
8481
+ /**
8482
+ * The OAuth client's kind, from the sign-in an `authorization_code` credential belongs to.
8483
+ */
8484
+ client_kind: (("account_app" | "local_app" | "website" | "hosted_app" | "registered_legacy") | null);
8485
+ /**
8486
+ * What an `authorization_code` credential may do.
8487
+ */
8488
+ access: (("act_as_identity" | "login_only") | null);
8489
+ }
8762
8490
  export interface ZoWorkspaceListResourcesInputV1 {
8763
8491
  workspace_id: string;
8764
8492
  }
@@ -8931,14 +8659,14 @@ export interface SourceV1 {
8931
8659
  export interface TaskV1 {
8932
8660
  }
8933
8661
  /**
8934
- * A vault's settings live in its credential's configuration, and its value in the secret vault.
8662
+ * The address and access mode live in the Website's typed row.
8935
8663
  */
8936
- export interface VaultV1 {
8664
+ export interface WebsiteV1 {
8937
8665
  }
8938
8666
  /**
8939
8667
  * The address and access mode live in the Website's typed row.
8940
8668
  */
8941
- export interface WebsiteV1 {
8669
+ export interface WebsiteRouteV1 {
8942
8670
  }
8943
8671
  /**
8944
8672
  * Workflow lifecycle facts are read from the extension row.
@@ -9448,6 +9176,13 @@ export type Operations = {
9448
9176
  output: ZoMessageGetOutputV1;
9449
9177
  };
9450
9178
  };
9179
+ "zo.model.list": {
9180
+ 1: {
9181
+ input: ZoModelListInputV1;
9182
+ output: ZoModelListOutputV1;
9183
+ query: ZoModelListQueryV1;
9184
+ };
9185
+ };
9451
9186
  "zo.oauth_app.create": {
9452
9187
  1: {
9453
9188
  input: ZoOauthAppCreateInputV1;
@@ -9701,43 +9436,6 @@ export type Operations = {
9701
9436
  output: ZoTaskUpdateOutputV1;
9702
9437
  };
9703
9438
  };
9704
- "zo.vault.create": {
9705
- 1: {
9706
- input: ZoVaultCreateInputV1;
9707
- output: ZoVaultCreateOutputV1;
9708
- };
9709
- };
9710
- "zo.vault.delete": {
9711
- 1: {
9712
- input: ZoVaultDeleteInputV1;
9713
- output: ZoVaultDeleteOutputV1;
9714
- };
9715
- };
9716
- "zo.vault.get": {
9717
- 1: {
9718
- input: ZoVaultGetInputV1;
9719
- output: ZoVaultGetOutputV1;
9720
- };
9721
- };
9722
- "zo.vault.list": {
9723
- 1: {
9724
- input: ZoVaultListInputV1;
9725
- output: ZoVaultListOutputV1;
9726
- query: ZoVaultListQueryV1;
9727
- };
9728
- };
9729
- "zo.vault.rotate": {
9730
- 1: {
9731
- input: ZoVaultRotateInputV1;
9732
- output: ZoVaultRotateOutputV1;
9733
- };
9734
- };
9735
- "zo.vault.update": {
9736
- 1: {
9737
- input: ZoVaultUpdateInputV1;
9738
- output: ZoVaultUpdateOutputV1;
9739
- };
9740
- };
9741
9439
  "zo.web.fetch": {
9742
9440
  1: {
9743
9441
  input: ZoWebFetchInputV1;
@@ -9991,6 +9689,7 @@ export type DefaultVersions = {
9991
9689
  "zo.machine_image.list": 1;
9992
9690
  "zo.machine_image.update": 1;
9993
9691
  "zo.message.get": 1;
9692
+ "zo.model.list": 1;
9994
9693
  "zo.oauth_app.create": 1;
9995
9694
  "zo.oauth_app.delete": 1;
9996
9695
  "zo.oauth_app.get": 1;
@@ -10029,12 +9728,6 @@ export type DefaultVersions = {
10029
9728
  "zo.task.get": 1;
10030
9729
  "zo.task.list": 1;
10031
9730
  "zo.task.update": 1;
10032
- "zo.vault.create": 1;
10033
- "zo.vault.delete": 1;
10034
- "zo.vault.get": 1;
10035
- "zo.vault.list": 1;
10036
- "zo.vault.rotate": 1;
10037
- "zo.vault.update": 1;
10038
9731
  "zo.web.fetch": 1;
10039
9732
  "zo.web.search": 1;
10040
9733
  "zo.website.create": 1;