@zocomputer/system-api 0.1.4 → 0.2.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);
@@ -7409,493 +7411,6 @@ export interface ZoTaskUpdateOutputV1CommentAuthor {
7409
7411
  display_name: string;
7410
7412
  active: boolean;
7411
7413
  }
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
7414
  export interface ZoWebFetchInputV1 {
7900
7415
  workspace_id: string;
7901
7416
  /**
@@ -8041,6 +7556,7 @@ export interface ZoWebsiteCreateInputV1 {
8041
7556
  */
8042
7557
  description?: string;
8043
7558
  visibility?: ("workspace" | "protected");
7559
+ access?: ("public" | "authenticated");
8044
7560
  }
8045
7561
  export interface ZoWebsiteCreateOutputV1 {
8046
7562
  id: string;
@@ -8050,7 +7566,7 @@ export interface ZoWebsiteCreateOutputV1 {
8050
7566
  description: string;
8051
7567
  generated_hostname: string;
8052
7568
  custom_hostname: (ZoWebsiteCreateOutputV1WebsiteHostname | null);
8053
- access: "public";
7569
+ access: ("public" | "authenticated");
8054
7570
  revision: number;
8055
7571
  visibility: ("workspace" | "protected");
8056
7572
  owner_user_id: (string | null);
@@ -8080,7 +7596,7 @@ export interface ZoWebsiteGetOutputV1 {
8080
7596
  description: string;
8081
7597
  generated_hostname: string;
8082
7598
  custom_hostname: (ZoWebsiteGetOutputV1WebsiteHostname | null);
8083
- access: "public";
7599
+ access: ("public" | "authenticated");
8084
7600
  revision: number;
8085
7601
  visibility: ("workspace" | "protected");
8086
7602
  owner_user_id: (string | null);
@@ -8106,7 +7622,7 @@ export interface ZoWebsiteListOutputV1WebsiteListItem {
8106
7622
  description: string;
8107
7623
  generated_hostname: string;
8108
7624
  custom_hostname: (ZoWebsiteListOutputV1WebsiteHostname | null);
8109
- access: "public";
7625
+ access: ("public" | "authenticated");
8110
7626
  revision: number;
8111
7627
  visibility: ("workspace" | "protected");
8112
7628
  owner_user_id: (string | null);
@@ -8127,6 +7643,7 @@ export interface ZoWebsiteListOutputV1WebsiteRoute {
8127
7643
  state: ("unpublished" | "published");
8128
7644
  published_at: (string | null);
8129
7645
  target: (ZoWebsiteListOutputV1FunctionRouteConfig | ZoWebsiteListOutputV1MachineRouteConfig | ZoWebsiteListOutputV1KbRouteConfig);
7646
+ access: ("public" | "authenticated");
8130
7647
  }
8131
7648
  export interface ZoWebsiteListOutputV1FunctionRouteConfig {
8132
7649
  kind: "function";
@@ -8170,6 +7687,7 @@ export interface ZoWebsiteUpdateInputV1 {
8170
7687
  */
8171
7688
  description?: (string | null);
8172
7689
  custom_hostname?: (ZoWebsiteUpdateInputV1CustomHostnameChange | null);
7690
+ access?: (("public" | "authenticated") | null);
8173
7691
  }
8174
7692
  export interface ZoWebsiteUpdateInputV1CustomHostnameChange {
8175
7693
  hostname: (string | null);
@@ -8182,7 +7700,7 @@ export interface ZoWebsiteUpdateOutputV1 {
8182
7700
  description: string;
8183
7701
  generated_hostname: string;
8184
7702
  custom_hostname: (ZoWebsiteUpdateOutputV1WebsiteHostname | null);
8185
- access: "public";
7703
+ access: ("public" | "authenticated");
8186
7704
  revision: number;
8187
7705
  visibility: ("workspace" | "protected");
8188
7706
  owner_user_id: (string | null);
@@ -8202,6 +7720,7 @@ export interface ZoWebsiteRouteCreateInputV1 {
8202
7720
  * @maxItems 8
8203
7721
  */
8204
7722
  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];
7723
+ access?: ("public" | "authenticated");
8205
7724
  }
8206
7725
  export interface ZoWebsiteRouteCreateInputV1FunctionRouteConfigInput {
8207
7726
  kind: "function";
@@ -8233,6 +7752,7 @@ export interface ZoWebsiteRouteCreateOutputV1 {
8233
7752
  state: ("unpublished" | "published");
8234
7753
  published_at: (string | null);
8235
7754
  target: (ZoWebsiteRouteCreateOutputV1FunctionRouteConfig | ZoWebsiteRouteCreateOutputV1MachineRouteConfig | ZoWebsiteRouteCreateOutputV1KbRouteConfig);
7755
+ access: ("public" | "authenticated");
8236
7756
  }
8237
7757
  export interface ZoWebsiteRouteCreateOutputV1FunctionRouteConfig {
8238
7758
  kind: "function";
@@ -8281,6 +7801,7 @@ export interface ZoWebsiteRouteGetOutputV1 {
8281
7801
  state: ("unpublished" | "published");
8282
7802
  published_at: (string | null);
8283
7803
  target: (ZoWebsiteRouteGetOutputV1FunctionRouteConfig | ZoWebsiteRouteGetOutputV1MachineRouteConfig | ZoWebsiteRouteGetOutputV1KbRouteConfig);
7804
+ access: ("public" | "authenticated");
8284
7805
  }
8285
7806
  export interface ZoWebsiteRouteGetOutputV1FunctionRouteConfig {
8286
7807
  kind: "function";
@@ -8319,6 +7840,7 @@ export interface ZoWebsiteRouteListOutputV1WebsiteRoute {
8319
7840
  state: ("unpublished" | "published");
8320
7841
  published_at: (string | null);
8321
7842
  target: (ZoWebsiteRouteListOutputV1FunctionRouteConfig | ZoWebsiteRouteListOutputV1MachineRouteConfig | ZoWebsiteRouteListOutputV1KbRouteConfig);
7843
+ access: ("public" | "authenticated");
8322
7844
  }
8323
7845
  export interface ZoWebsiteRouteListOutputV1FunctionRouteConfig {
8324
7846
  kind: "function";
@@ -8369,6 +7891,7 @@ export interface ZoWebsiteRoutePublishOutputV1 {
8369
7891
  state: ("unpublished" | "published");
8370
7892
  published_at: (string | null);
8371
7893
  target: (ZoWebsiteRoutePublishOutputV1FunctionRouteConfig | ZoWebsiteRoutePublishOutputV1MachineRouteConfig | ZoWebsiteRoutePublishOutputV1KbRouteConfig);
7894
+ access: ("public" | "authenticated");
8372
7895
  }
8373
7896
  export interface ZoWebsiteRoutePublishOutputV1FunctionRouteConfig {
8374
7897
  kind: "function";
@@ -8409,6 +7932,7 @@ export interface ZoWebsiteRouteUnpublishOutputV1 {
8409
7932
  state: ("unpublished" | "published");
8410
7933
  published_at: (string | null);
8411
7934
  target: (ZoWebsiteRouteUnpublishOutputV1FunctionRouteConfig | ZoWebsiteRouteUnpublishOutputV1MachineRouteConfig | ZoWebsiteRouteUnpublishOutputV1KbRouteConfig);
7935
+ access: ("public" | "authenticated");
8412
7936
  }
8413
7937
  export interface ZoWebsiteRouteUnpublishOutputV1FunctionRouteConfig {
8414
7938
  kind: "function";
@@ -8442,6 +7966,7 @@ export interface ZoWebsiteRouteUpdateInputV1 {
8442
7966
  * @maxItems 8
8443
7967
  */
8444
7968
  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];
7969
+ access?: (("public" | "authenticated") | null);
8445
7970
  }
8446
7971
  export interface ZoWebsiteRouteUpdateInputV1FunctionRouteConfigInput {
8447
7972
  kind: "function";
@@ -8473,6 +7998,7 @@ export interface ZoWebsiteRouteUpdateOutputV1 {
8473
7998
  state: ("unpublished" | "published");
8474
7999
  published_at: (string | null);
8475
8000
  target: (ZoWebsiteRouteUpdateOutputV1FunctionRouteConfig | ZoWebsiteRouteUpdateOutputV1MachineRouteConfig | ZoWebsiteRouteUpdateOutputV1KbRouteConfig);
8001
+ access: ("public" | "authenticated");
8476
8002
  }
8477
8003
  export interface ZoWebsiteRouteUpdateOutputV1FunctionRouteConfig {
8478
8004
  kind: "function";
@@ -8737,7 +8263,7 @@ export interface ZoWorkspaceGetInputV1 {
8737
8263
  workspace_id: string;
8738
8264
  }
8739
8265
  /**
8740
- * A `workspace` resource instance returned by `zo.workspace.get`.
8266
+ * A `workspace` resource instance returned by `zo.workspace.get`, with the caller.
8741
8267
  *
8742
8268
  * `workspace_id` keeps the resource envelope uniform across types; for a
8743
8269
  * workspace resource it equals `id`.
@@ -8750,6 +8276,7 @@ export interface ZoWorkspaceGetOutputV1 {
8750
8276
  display_name: string;
8751
8277
  revision: number;
8752
8278
  properties: ZoWorkspaceGetOutputV1WorkspaceProperties;
8279
+ caller: ZoWorkspaceGetOutputV1WorkspaceCaller;
8753
8280
  }
8754
8281
  /**
8755
8282
  * Public properties of a `workspace` resource, type version 1.
@@ -8759,6 +8286,68 @@ export interface ZoWorkspaceGetOutputV1 {
8759
8286
  */
8760
8287
  export interface ZoWorkspaceGetOutputV1WorkspaceProperties {
8761
8288
  }
8289
+ /**
8290
+ * Who is calling, from the verified credential. `authorizes_as` is the
8291
+ * identity policy decided for; `initiated_by` and `owner` are attribution and
8292
+ * grant no permission.
8293
+ */
8294
+ export interface ZoWorkspaceGetOutputV1WorkspaceCaller {
8295
+ principal: ZoWorkspaceGetOutputV1CallerIdentity;
8296
+ authorizes_as: ZoWorkspaceGetOutputV1CallerIdentity;
8297
+ initiated_by: (ZoWorkspaceGetOutputV1CallerIdentity | null);
8298
+ /**
8299
+ * The owner of a protected resource principal.
8300
+ */
8301
+ owner: (ZoWorkspaceGetOutputV1CallerPerson | null);
8302
+ person: (ZoWorkspaceGetOutputV1CallerRelatedPerson | null);
8303
+ credential: ZoWorkspaceGetOutputV1CallerCredential;
8304
+ /**
8305
+ * The person's built-in standing in this workspace: Workspace owners, then Workspace members.
8306
+ */
8307
+ workspace_membership: (("owner" | "member") | null);
8308
+ }
8309
+ /**
8310
+ * A verified identity of the request: its type, ID and current display name.
8311
+ */
8312
+ export interface ZoWorkspaceGetOutputV1CallerIdentity {
8313
+ type: ("user" | "agent" | "function" | "service" | "machine" | "service_account" | "workflow");
8314
+ id: string;
8315
+ /**
8316
+ * A person's full name or a resource's display name; never an email.
8317
+ */
8318
+ display_name: (string | null);
8319
+ }
8320
+ /**
8321
+ * A person, by user ID and current full name.
8322
+ */
8323
+ export interface ZoWorkspaceGetOutputV1CallerPerson {
8324
+ user_id: string;
8325
+ display_name: (string | null);
8326
+ }
8327
+ /**
8328
+ * The person this request relates to and how: as its principal, its policy
8329
+ * authority, its initiator, or the owner of its protected principal.
8330
+ */
8331
+ export interface ZoWorkspaceGetOutputV1CallerRelatedPerson {
8332
+ user_id: string;
8333
+ display_name: (string | null);
8334
+ relationship: ("principal" | "authority" | "initiator" | "owner");
8335
+ }
8336
+ /**
8337
+ * The kind of the verified credential and its client facts.
8338
+ */
8339
+ export interface ZoWorkspaceGetOutputV1CallerCredential {
8340
+ kind: ("login" | "agent_runner" | "function_run" | "workflow_run" | "client_credentials" | "authorization_code" | "workload" | "execution" | "delegated" | "persisted");
8341
+ client_id: string;
8342
+ /**
8343
+ * The OAuth client's kind, from the sign-in an `authorization_code` credential belongs to.
8344
+ */
8345
+ client_kind: (("account_app" | "local_app" | "website" | "hosted_app" | "registered_legacy") | null);
8346
+ /**
8347
+ * What an `authorization_code` credential may do.
8348
+ */
8349
+ access: (("act_as_identity" | "login_only") | null);
8350
+ }
8762
8351
  export interface ZoWorkspaceListResourcesInputV1 {
8763
8352
  workspace_id: string;
8764
8353
  }
@@ -8931,14 +8520,14 @@ export interface SourceV1 {
8931
8520
  export interface TaskV1 {
8932
8521
  }
8933
8522
  /**
8934
- * A vault's settings live in its credential's configuration, and its value in the secret vault.
8523
+ * The address and access mode live in the Website's typed row.
8935
8524
  */
8936
- export interface VaultV1 {
8525
+ export interface WebsiteV1 {
8937
8526
  }
8938
8527
  /**
8939
8528
  * The address and access mode live in the Website's typed row.
8940
8529
  */
8941
- export interface WebsiteV1 {
8530
+ export interface WebsiteRouteV1 {
8942
8531
  }
8943
8532
  /**
8944
8533
  * Workflow lifecycle facts are read from the extension row.
@@ -9701,43 +9290,6 @@ export type Operations = {
9701
9290
  output: ZoTaskUpdateOutputV1;
9702
9291
  };
9703
9292
  };
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
9293
  "zo.web.fetch": {
9742
9294
  1: {
9743
9295
  input: ZoWebFetchInputV1;
@@ -10029,12 +9581,6 @@ export type DefaultVersions = {
10029
9581
  "zo.task.get": 1;
10030
9582
  "zo.task.list": 1;
10031
9583
  "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
9584
  "zo.web.fetch": 1;
10039
9585
  "zo.web.search": 1;
10040
9586
  "zo.website.create": 1;