@zocomputer/system-api 0.1.3 → 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.
- package/dist/generated/catalog.js +21 -57
- package/dist/generated/manifest.json +25 -55
- package/dist/generated/operations.d.ts +125 -550
- package/dist/generated/schema.json +1152 -2530
- package/openapi.json +1152 -2530
- package/package.json +1 -1
|
@@ -1477,9 +1477,10 @@ export interface ZoDatabaseCreateInputV1 {
|
|
|
1477
1477
|
tags?: string[];
|
|
1478
1478
|
workspace_id: string;
|
|
1479
1479
|
/**
|
|
1480
|
-
*
|
|
1480
|
+
* @deprecated
|
|
1481
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
1481
1482
|
*/
|
|
1482
|
-
idempotency_key
|
|
1483
|
+
idempotency_key?: (string | null);
|
|
1483
1484
|
display_name: string;
|
|
1484
1485
|
/**
|
|
1485
1486
|
* What the database holds. Members and their agents choose a database from `zo.database.list` by it.
|
|
@@ -2313,14 +2314,14 @@ export interface ZoEventDeleteOutputV1 {
|
|
|
2313
2314
|
lifecycle: "retired";
|
|
2314
2315
|
}
|
|
2315
2316
|
/**
|
|
2316
|
-
* The payload and
|
|
2317
|
+
* The payload and an optional caller-scoped idempotency key (1 to 255 printable ASCII
|
|
2317
2318
|
* characters). Every envelope attribute (``id``, ``source``, ``type``, ``time``,
|
|
2318
2319
|
* the workspace, the definition and the causal fields) is derived by the server
|
|
2319
2320
|
* and rejected as input.
|
|
2320
2321
|
*/
|
|
2321
2322
|
export interface ZoEventDispatchInputV1 {
|
|
2322
2323
|
event_id: string;
|
|
2323
|
-
idempotency_key
|
|
2324
|
+
idempotency_key?: (string | null);
|
|
2324
2325
|
data: {
|
|
2325
2326
|
[k: string]: JsonValue;
|
|
2326
2327
|
};
|
|
@@ -2735,6 +2736,7 @@ export interface ZoFunctionGetRunOutputV1 {
|
|
|
2735
2736
|
entry_kind: ("direct" | "connection" | "http");
|
|
2736
2737
|
state: ZoFunctionGetRunOutputV1RunState;
|
|
2737
2738
|
error_code: (string | null);
|
|
2739
|
+
error_message: (string | null);
|
|
2738
2740
|
created_at: string;
|
|
2739
2741
|
deadline: string;
|
|
2740
2742
|
finished_at: (string | null);
|
|
@@ -2825,6 +2827,7 @@ export interface ZoFunctionListRunsOutputV1FunctionRunSummary {
|
|
|
2825
2827
|
entry_kind: ("direct" | "connection" | "http");
|
|
2826
2828
|
state: ZoFunctionListRunsOutputV1RunState;
|
|
2827
2829
|
error_code: (string | null);
|
|
2830
|
+
error_message: (string | null);
|
|
2828
2831
|
created_at: string;
|
|
2829
2832
|
deadline: string;
|
|
2830
2833
|
finished_at: (string | null);
|
|
@@ -2911,7 +2914,11 @@ export interface ZoMachineCreateInputV1 {
|
|
|
2911
2914
|
*/
|
|
2912
2915
|
tags?: string[];
|
|
2913
2916
|
workspace_id: string;
|
|
2914
|
-
|
|
2917
|
+
/**
|
|
2918
|
+
* @deprecated
|
|
2919
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
2920
|
+
*/
|
|
2921
|
+
idempotency_key?: (string | null);
|
|
2915
2922
|
display_name: string;
|
|
2916
2923
|
/**
|
|
2917
2924
|
* Describe what this machine is for in the user's terms.
|
|
@@ -3127,7 +3134,11 @@ export interface ZoMachineCreateOutputV1MachineBootedView {
|
|
|
3127
3134
|
export interface ZoMachineDestroyInputV1 {
|
|
3128
3135
|
machine_id: string;
|
|
3129
3136
|
expected_revision: number;
|
|
3130
|
-
|
|
3137
|
+
/**
|
|
3138
|
+
* @deprecated
|
|
3139
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
3140
|
+
*/
|
|
3141
|
+
idempotency_key?: (string | null);
|
|
3131
3142
|
}
|
|
3132
3143
|
export type ZoMachineDestroyOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
|
|
3133
3144
|
export type ZoMachineDestroyOutputV1ObservedState = ("creating" | "running" | "stopping" | "stopped" | "resuming" | "destroying" | "destroyed" | "failed");
|
|
@@ -3572,7 +3583,11 @@ export interface ZoMachineReadBytesOutputV1 {
|
|
|
3572
3583
|
export interface ZoMachineResumeInputV1 {
|
|
3573
3584
|
machine_id: string;
|
|
3574
3585
|
expected_revision: number;
|
|
3575
|
-
|
|
3586
|
+
/**
|
|
3587
|
+
* @deprecated
|
|
3588
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
3589
|
+
*/
|
|
3590
|
+
idempotency_key?: (string | null);
|
|
3576
3591
|
accept_recovery?: boolean;
|
|
3577
3592
|
}
|
|
3578
3593
|
export type ZoMachineResumeOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
|
|
@@ -3738,7 +3753,11 @@ export interface ZoMachineSnapshotOutputV1MachineImageProperties {
|
|
|
3738
3753
|
export interface ZoMachineStopInputV1 {
|
|
3739
3754
|
machine_id: string;
|
|
3740
3755
|
expected_revision: number;
|
|
3741
|
-
|
|
3756
|
+
/**
|
|
3757
|
+
* @deprecated
|
|
3758
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
3759
|
+
*/
|
|
3760
|
+
idempotency_key?: (string | null);
|
|
3742
3761
|
}
|
|
3743
3762
|
export type ZoMachineStopOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
|
|
3744
3763
|
export type ZoMachineStopOutputV1ObservedState = ("creating" | "running" | "stopping" | "stopped" | "resuming" | "destroying" | "destroyed" | "failed");
|
|
@@ -4043,7 +4062,11 @@ export interface ZoMachineWriteBytesOutputV1 {
|
|
|
4043
4062
|
export interface ZoMachineImageDeleteInputV1 {
|
|
4044
4063
|
machine_image_id: string;
|
|
4045
4064
|
expected_revision: number;
|
|
4046
|
-
|
|
4065
|
+
/**
|
|
4066
|
+
* @deprecated
|
|
4067
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
4068
|
+
*/
|
|
4069
|
+
idempotency_key?: (string | null);
|
|
4047
4070
|
}
|
|
4048
4071
|
export type ZoMachineImageDeleteOutputV1ImageOrigin = ("registry" | "build" | "machine_snapshot");
|
|
4049
4072
|
export type ZoMachineImageDeleteOutputV1ImageStatus = ("pending" | "preparing" | "ready" | "failed" | "deleting" | "deleted");
|
|
@@ -4129,7 +4152,11 @@ export interface ZoMachineImageImportInputV1 {
|
|
|
4129
4152
|
*/
|
|
4130
4153
|
visibility?: ("workspace" | "protected");
|
|
4131
4154
|
workspace_id: string;
|
|
4132
|
-
|
|
4155
|
+
/**
|
|
4156
|
+
* @deprecated
|
|
4157
|
+
* Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
|
|
4158
|
+
*/
|
|
4159
|
+
idempotency_key?: (string | null);
|
|
4133
4160
|
source: ZoMachineImageImportInputV1RegistrySourceInput;
|
|
4134
4161
|
}
|
|
4135
4162
|
export interface ZoMachineImageImportInputV1RegistrySourceInput {
|
|
@@ -5715,7 +5742,7 @@ export interface ZoSubscriptionListOutputV1PrincipalRef {
|
|
|
5715
5742
|
}
|
|
5716
5743
|
export interface ZoSubscriptionListQueryV1 {
|
|
5717
5744
|
/**
|
|
5718
|
-
* Rows per page, at most
|
|
5745
|
+
* Rows per page, at most 100; a larger value is reduced to it.
|
|
5719
5746
|
*/
|
|
5720
5747
|
limit?: number;
|
|
5721
5748
|
/**
|
|
@@ -5872,7 +5899,7 @@ export interface ZoSubscriptionListOutputV2PrincipalRef {
|
|
|
5872
5899
|
}
|
|
5873
5900
|
export interface ZoSubscriptionListQueryV2 {
|
|
5874
5901
|
/**
|
|
5875
|
-
* Rows per page, at most
|
|
5902
|
+
* Rows per page, at most 100; a larger value is reduced to it.
|
|
5876
5903
|
*/
|
|
5877
5904
|
limit?: number;
|
|
5878
5905
|
/**
|
|
@@ -7245,6 +7272,10 @@ export interface ZoTaskListQueryV1 {
|
|
|
7245
7272
|
* Only blocked tasks, or only unblocked ones.
|
|
7246
7273
|
*/
|
|
7247
7274
|
is_blocked?: (boolean | null);
|
|
7275
|
+
/**
|
|
7276
|
+
* Tasks carrying any of these workspace tag IDs.
|
|
7277
|
+
*/
|
|
7278
|
+
tags?: (string[] | null);
|
|
7248
7279
|
};
|
|
7249
7280
|
}
|
|
7250
7281
|
/**
|
|
@@ -7380,493 +7411,6 @@ export interface ZoTaskUpdateOutputV1CommentAuthor {
|
|
|
7380
7411
|
display_name: string;
|
|
7381
7412
|
active: boolean;
|
|
7382
7413
|
}
|
|
7383
|
-
export interface ZoVaultCreateInputV1 {
|
|
7384
|
-
workspace_id: string;
|
|
7385
|
-
display_name: string;
|
|
7386
|
-
description?: string;
|
|
7387
|
-
/**
|
|
7388
|
-
* Secret: the credential. Stored sealed and never returned.
|
|
7389
|
-
*/
|
|
7390
|
-
value: string;
|
|
7391
|
-
/**
|
|
7392
|
-
* The environment variable name a machine gets the value under, such as `OPENAI_API_KEY`.
|
|
7393
|
-
*/
|
|
7394
|
-
environment_variable?: (string | null);
|
|
7395
|
-
/**
|
|
7396
|
-
* @maxItems 10
|
|
7397
|
-
*/
|
|
7398
|
-
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];
|
|
7399
|
-
/**
|
|
7400
|
-
* `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.
|
|
7401
|
-
*/
|
|
7402
|
-
visibility?: ("workspace" | "protected");
|
|
7403
|
-
}
|
|
7404
|
-
/**
|
|
7405
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7406
|
-
* in at most one entry of a vault's list.
|
|
7407
|
-
*/
|
|
7408
|
-
export interface ZoVaultCreateInputV1VaultInjection {
|
|
7409
|
-
/**
|
|
7410
|
-
* @minItems 1
|
|
7411
|
-
* @maxItems 20
|
|
7412
|
-
*
|
|
7413
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7414
|
-
*/
|
|
7415
|
-
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];
|
|
7416
|
-
location: ZoVaultCreateInputV1HeaderLocation;
|
|
7417
|
-
format: (ZoVaultCreateInputV1BearerFormat | ZoVaultCreateInputV1BasicFormat | ZoVaultCreateInputV1RawFormat);
|
|
7418
|
-
}
|
|
7419
|
-
export interface ZoVaultCreateInputV1HeaderLocation {
|
|
7420
|
-
type: "header";
|
|
7421
|
-
/**
|
|
7422
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7423
|
-
*/
|
|
7424
|
-
name: string;
|
|
7425
|
-
}
|
|
7426
|
-
export interface ZoVaultCreateInputV1BearerFormat {
|
|
7427
|
-
/**
|
|
7428
|
-
* `Bearer <value>`.
|
|
7429
|
-
*/
|
|
7430
|
-
type: "bearer";
|
|
7431
|
-
}
|
|
7432
|
-
export interface ZoVaultCreateInputV1BasicFormat {
|
|
7433
|
-
/**
|
|
7434
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7435
|
-
*/
|
|
7436
|
-
type: "basic";
|
|
7437
|
-
username: string;
|
|
7438
|
-
}
|
|
7439
|
-
export interface ZoVaultCreateInputV1RawFormat {
|
|
7440
|
-
/**
|
|
7441
|
-
* The value as it is.
|
|
7442
|
-
*/
|
|
7443
|
-
type: "raw";
|
|
7444
|
-
}
|
|
7445
|
-
/**
|
|
7446
|
-
* A vault's registry envelope and settings. Never its value.
|
|
7447
|
-
*/
|
|
7448
|
-
export interface ZoVaultCreateOutputV1 {
|
|
7449
|
-
id: string;
|
|
7450
|
-
workspace_id: string;
|
|
7451
|
-
type: "vault";
|
|
7452
|
-
type_version: 1;
|
|
7453
|
-
display_name: string;
|
|
7454
|
-
description: string;
|
|
7455
|
-
visibility: ("workspace" | "protected");
|
|
7456
|
-
owner_user_id: (string | null);
|
|
7457
|
-
revision: number;
|
|
7458
|
-
created_at: string;
|
|
7459
|
-
updated_at: string;
|
|
7460
|
-
/**
|
|
7461
|
-
* The environment variable name a machine gets the value under, or null for none.
|
|
7462
|
-
*/
|
|
7463
|
-
environment_variable: (string | null);
|
|
7464
|
-
injections: ZoVaultCreateOutputV1VaultInjection[];
|
|
7465
|
-
/**
|
|
7466
|
-
* When the current value was stored, at create or the last rotate.
|
|
7467
|
-
*/
|
|
7468
|
-
value_updated_at: string;
|
|
7469
|
-
}
|
|
7470
|
-
/**
|
|
7471
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7472
|
-
* in at most one entry of a vault's list.
|
|
7473
|
-
*/
|
|
7474
|
-
export interface ZoVaultCreateOutputV1VaultInjection {
|
|
7475
|
-
/**
|
|
7476
|
-
* @minItems 1
|
|
7477
|
-
* @maxItems 20
|
|
7478
|
-
*
|
|
7479
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7480
|
-
*/
|
|
7481
|
-
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];
|
|
7482
|
-
location: ZoVaultCreateOutputV1HeaderLocation;
|
|
7483
|
-
format: (ZoVaultCreateOutputV1BearerFormat | ZoVaultCreateOutputV1BasicFormat | ZoVaultCreateOutputV1RawFormat);
|
|
7484
|
-
}
|
|
7485
|
-
export interface ZoVaultCreateOutputV1HeaderLocation {
|
|
7486
|
-
type: "header";
|
|
7487
|
-
/**
|
|
7488
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7489
|
-
*/
|
|
7490
|
-
name: string;
|
|
7491
|
-
}
|
|
7492
|
-
export interface ZoVaultCreateOutputV1BearerFormat {
|
|
7493
|
-
/**
|
|
7494
|
-
* `Bearer <value>`.
|
|
7495
|
-
*/
|
|
7496
|
-
type: "bearer";
|
|
7497
|
-
}
|
|
7498
|
-
export interface ZoVaultCreateOutputV1BasicFormat {
|
|
7499
|
-
/**
|
|
7500
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7501
|
-
*/
|
|
7502
|
-
type: "basic";
|
|
7503
|
-
username: string;
|
|
7504
|
-
}
|
|
7505
|
-
export interface ZoVaultCreateOutputV1RawFormat {
|
|
7506
|
-
/**
|
|
7507
|
-
* The value as it is.
|
|
7508
|
-
*/
|
|
7509
|
-
type: "raw";
|
|
7510
|
-
}
|
|
7511
|
-
export interface ZoVaultDeleteInputV1 {
|
|
7512
|
-
vault_id: string;
|
|
7513
|
-
expected_revision: number;
|
|
7514
|
-
}
|
|
7515
|
-
export interface ZoVaultDeleteOutputV1 {
|
|
7516
|
-
state: "deleted";
|
|
7517
|
-
revision: number;
|
|
7518
|
-
}
|
|
7519
|
-
export interface ZoVaultGetInputV1 {
|
|
7520
|
-
vault_id: string;
|
|
7521
|
-
}
|
|
7522
|
-
/**
|
|
7523
|
-
* A vault's registry envelope and settings. Never its value.
|
|
7524
|
-
*/
|
|
7525
|
-
export interface ZoVaultGetOutputV1 {
|
|
7526
|
-
id: string;
|
|
7527
|
-
workspace_id: string;
|
|
7528
|
-
type: "vault";
|
|
7529
|
-
type_version: 1;
|
|
7530
|
-
display_name: string;
|
|
7531
|
-
description: string;
|
|
7532
|
-
visibility: ("workspace" | "protected");
|
|
7533
|
-
owner_user_id: (string | null);
|
|
7534
|
-
revision: number;
|
|
7535
|
-
created_at: string;
|
|
7536
|
-
updated_at: string;
|
|
7537
|
-
/**
|
|
7538
|
-
* The environment variable name a machine gets the value under, or null for none.
|
|
7539
|
-
*/
|
|
7540
|
-
environment_variable: (string | null);
|
|
7541
|
-
injections: ZoVaultGetOutputV1VaultInjection[];
|
|
7542
|
-
/**
|
|
7543
|
-
* When the current value was stored, at create or the last rotate.
|
|
7544
|
-
*/
|
|
7545
|
-
value_updated_at: string;
|
|
7546
|
-
}
|
|
7547
|
-
/**
|
|
7548
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7549
|
-
* in at most one entry of a vault's list.
|
|
7550
|
-
*/
|
|
7551
|
-
export interface ZoVaultGetOutputV1VaultInjection {
|
|
7552
|
-
/**
|
|
7553
|
-
* @minItems 1
|
|
7554
|
-
* @maxItems 20
|
|
7555
|
-
*
|
|
7556
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7557
|
-
*/
|
|
7558
|
-
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];
|
|
7559
|
-
location: ZoVaultGetOutputV1HeaderLocation;
|
|
7560
|
-
format: (ZoVaultGetOutputV1BearerFormat | ZoVaultGetOutputV1BasicFormat | ZoVaultGetOutputV1RawFormat);
|
|
7561
|
-
}
|
|
7562
|
-
export interface ZoVaultGetOutputV1HeaderLocation {
|
|
7563
|
-
type: "header";
|
|
7564
|
-
/**
|
|
7565
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7566
|
-
*/
|
|
7567
|
-
name: string;
|
|
7568
|
-
}
|
|
7569
|
-
export interface ZoVaultGetOutputV1BearerFormat {
|
|
7570
|
-
/**
|
|
7571
|
-
* `Bearer <value>`.
|
|
7572
|
-
*/
|
|
7573
|
-
type: "bearer";
|
|
7574
|
-
}
|
|
7575
|
-
export interface ZoVaultGetOutputV1BasicFormat {
|
|
7576
|
-
/**
|
|
7577
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7578
|
-
*/
|
|
7579
|
-
type: "basic";
|
|
7580
|
-
username: string;
|
|
7581
|
-
}
|
|
7582
|
-
export interface ZoVaultGetOutputV1RawFormat {
|
|
7583
|
-
/**
|
|
7584
|
-
* The value as it is.
|
|
7585
|
-
*/
|
|
7586
|
-
type: "raw";
|
|
7587
|
-
}
|
|
7588
|
-
export interface ZoVaultListInputV1 {
|
|
7589
|
-
workspace_id: string;
|
|
7590
|
-
}
|
|
7591
|
-
export interface ZoVaultListOutputV1 {
|
|
7592
|
-
vaults: ZoVaultListOutputV1VaultView[];
|
|
7593
|
-
next_cursor: (string | null);
|
|
7594
|
-
}
|
|
7595
|
-
/**
|
|
7596
|
-
* A vault's registry envelope and settings. Never its value.
|
|
7597
|
-
*/
|
|
7598
|
-
export interface ZoVaultListOutputV1VaultView {
|
|
7599
|
-
id: string;
|
|
7600
|
-
workspace_id: string;
|
|
7601
|
-
type: "vault";
|
|
7602
|
-
type_version: 1;
|
|
7603
|
-
display_name: string;
|
|
7604
|
-
description: string;
|
|
7605
|
-
visibility: ("workspace" | "protected");
|
|
7606
|
-
owner_user_id: (string | null);
|
|
7607
|
-
revision: number;
|
|
7608
|
-
created_at: string;
|
|
7609
|
-
updated_at: string;
|
|
7610
|
-
/**
|
|
7611
|
-
* The environment variable name a machine gets the value under, or null for none.
|
|
7612
|
-
*/
|
|
7613
|
-
environment_variable: (string | null);
|
|
7614
|
-
injections: ZoVaultListOutputV1VaultInjection[];
|
|
7615
|
-
/**
|
|
7616
|
-
* When the current value was stored, at create or the last rotate.
|
|
7617
|
-
*/
|
|
7618
|
-
value_updated_at: string;
|
|
7619
|
-
}
|
|
7620
|
-
/**
|
|
7621
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7622
|
-
* in at most one entry of a vault's list.
|
|
7623
|
-
*/
|
|
7624
|
-
export interface ZoVaultListOutputV1VaultInjection {
|
|
7625
|
-
/**
|
|
7626
|
-
* @minItems 1
|
|
7627
|
-
* @maxItems 20
|
|
7628
|
-
*
|
|
7629
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7630
|
-
*/
|
|
7631
|
-
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];
|
|
7632
|
-
location: ZoVaultListOutputV1HeaderLocation;
|
|
7633
|
-
format: (ZoVaultListOutputV1BearerFormat | ZoVaultListOutputV1BasicFormat | ZoVaultListOutputV1RawFormat);
|
|
7634
|
-
}
|
|
7635
|
-
export interface ZoVaultListOutputV1HeaderLocation {
|
|
7636
|
-
type: "header";
|
|
7637
|
-
/**
|
|
7638
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7639
|
-
*/
|
|
7640
|
-
name: string;
|
|
7641
|
-
}
|
|
7642
|
-
export interface ZoVaultListOutputV1BearerFormat {
|
|
7643
|
-
/**
|
|
7644
|
-
* `Bearer <value>`.
|
|
7645
|
-
*/
|
|
7646
|
-
type: "bearer";
|
|
7647
|
-
}
|
|
7648
|
-
export interface ZoVaultListOutputV1BasicFormat {
|
|
7649
|
-
/**
|
|
7650
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7651
|
-
*/
|
|
7652
|
-
type: "basic";
|
|
7653
|
-
username: string;
|
|
7654
|
-
}
|
|
7655
|
-
export interface ZoVaultListOutputV1RawFormat {
|
|
7656
|
-
/**
|
|
7657
|
-
* The value as it is.
|
|
7658
|
-
*/
|
|
7659
|
-
type: "raw";
|
|
7660
|
-
}
|
|
7661
|
-
export interface ZoVaultListQueryV1 {
|
|
7662
|
-
/**
|
|
7663
|
-
* Rows per page, at most 100; a larger value is reduced to it.
|
|
7664
|
-
*/
|
|
7665
|
-
limit?: number;
|
|
7666
|
-
/**
|
|
7667
|
-
* The previous page's next_cursor, sent with the same sort, filter and search.
|
|
7668
|
-
*/
|
|
7669
|
-
cursor?: string;
|
|
7670
|
-
sort?: ("id.asc" | "created_at.desc" | "created_at.asc" | "display_name.asc");
|
|
7671
|
-
}
|
|
7672
|
-
export interface ZoVaultRotateInputV1 {
|
|
7673
|
-
vault_id: string;
|
|
7674
|
-
expected_revision: number;
|
|
7675
|
-
/**
|
|
7676
|
-
* Secret: the credential. Stored sealed and never returned.
|
|
7677
|
-
*/
|
|
7678
|
-
value: string;
|
|
7679
|
-
}
|
|
7680
|
-
/**
|
|
7681
|
-
* A vault's registry envelope and settings. Never its value.
|
|
7682
|
-
*/
|
|
7683
|
-
export interface ZoVaultRotateOutputV1 {
|
|
7684
|
-
id: string;
|
|
7685
|
-
workspace_id: string;
|
|
7686
|
-
type: "vault";
|
|
7687
|
-
type_version: 1;
|
|
7688
|
-
display_name: string;
|
|
7689
|
-
description: string;
|
|
7690
|
-
visibility: ("workspace" | "protected");
|
|
7691
|
-
owner_user_id: (string | null);
|
|
7692
|
-
revision: number;
|
|
7693
|
-
created_at: string;
|
|
7694
|
-
updated_at: string;
|
|
7695
|
-
/**
|
|
7696
|
-
* The environment variable name a machine gets the value under, or null for none.
|
|
7697
|
-
*/
|
|
7698
|
-
environment_variable: (string | null);
|
|
7699
|
-
injections: ZoVaultRotateOutputV1VaultInjection[];
|
|
7700
|
-
/**
|
|
7701
|
-
* When the current value was stored, at create or the last rotate.
|
|
7702
|
-
*/
|
|
7703
|
-
value_updated_at: string;
|
|
7704
|
-
}
|
|
7705
|
-
/**
|
|
7706
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7707
|
-
* in at most one entry of a vault's list.
|
|
7708
|
-
*/
|
|
7709
|
-
export interface ZoVaultRotateOutputV1VaultInjection {
|
|
7710
|
-
/**
|
|
7711
|
-
* @minItems 1
|
|
7712
|
-
* @maxItems 20
|
|
7713
|
-
*
|
|
7714
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7715
|
-
*/
|
|
7716
|
-
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];
|
|
7717
|
-
location: ZoVaultRotateOutputV1HeaderLocation;
|
|
7718
|
-
format: (ZoVaultRotateOutputV1BearerFormat | ZoVaultRotateOutputV1BasicFormat | ZoVaultRotateOutputV1RawFormat);
|
|
7719
|
-
}
|
|
7720
|
-
export interface ZoVaultRotateOutputV1HeaderLocation {
|
|
7721
|
-
type: "header";
|
|
7722
|
-
/**
|
|
7723
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7724
|
-
*/
|
|
7725
|
-
name: string;
|
|
7726
|
-
}
|
|
7727
|
-
export interface ZoVaultRotateOutputV1BearerFormat {
|
|
7728
|
-
/**
|
|
7729
|
-
* `Bearer <value>`.
|
|
7730
|
-
*/
|
|
7731
|
-
type: "bearer";
|
|
7732
|
-
}
|
|
7733
|
-
export interface ZoVaultRotateOutputV1BasicFormat {
|
|
7734
|
-
/**
|
|
7735
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7736
|
-
*/
|
|
7737
|
-
type: "basic";
|
|
7738
|
-
username: string;
|
|
7739
|
-
}
|
|
7740
|
-
export interface ZoVaultRotateOutputV1RawFormat {
|
|
7741
|
-
/**
|
|
7742
|
-
* The value as it is.
|
|
7743
|
-
*/
|
|
7744
|
-
type: "raw";
|
|
7745
|
-
}
|
|
7746
|
-
/**
|
|
7747
|
-
* Omitted fields keep their value; ``injections`` replaces the whole list.
|
|
7748
|
-
*/
|
|
7749
|
-
export interface ZoVaultUpdateInputV1 {
|
|
7750
|
-
vault_id: string;
|
|
7751
|
-
expected_revision: number;
|
|
7752
|
-
display_name?: (string | null);
|
|
7753
|
-
/**
|
|
7754
|
-
* `""` clears the description.
|
|
7755
|
-
*/
|
|
7756
|
-
description?: (string | null);
|
|
7757
|
-
/**
|
|
7758
|
-
* `""` clears the variable.
|
|
7759
|
-
*/
|
|
7760
|
-
environment_variable?: (string | null);
|
|
7761
|
-
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);
|
|
7762
|
-
}
|
|
7763
|
-
/**
|
|
7764
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7765
|
-
* in at most one entry of a vault's list.
|
|
7766
|
-
*/
|
|
7767
|
-
export interface ZoVaultUpdateInputV1VaultInjection {
|
|
7768
|
-
/**
|
|
7769
|
-
* @minItems 1
|
|
7770
|
-
* @maxItems 20
|
|
7771
|
-
*
|
|
7772
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7773
|
-
*/
|
|
7774
|
-
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];
|
|
7775
|
-
location: ZoVaultUpdateInputV1HeaderLocation;
|
|
7776
|
-
format: (ZoVaultUpdateInputV1BearerFormat | ZoVaultUpdateInputV1BasicFormat | ZoVaultUpdateInputV1RawFormat);
|
|
7777
|
-
}
|
|
7778
|
-
export interface ZoVaultUpdateInputV1HeaderLocation {
|
|
7779
|
-
type: "header";
|
|
7780
|
-
/**
|
|
7781
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7782
|
-
*/
|
|
7783
|
-
name: string;
|
|
7784
|
-
}
|
|
7785
|
-
export interface ZoVaultUpdateInputV1BearerFormat {
|
|
7786
|
-
/**
|
|
7787
|
-
* `Bearer <value>`.
|
|
7788
|
-
*/
|
|
7789
|
-
type: "bearer";
|
|
7790
|
-
}
|
|
7791
|
-
export interface ZoVaultUpdateInputV1BasicFormat {
|
|
7792
|
-
/**
|
|
7793
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7794
|
-
*/
|
|
7795
|
-
type: "basic";
|
|
7796
|
-
username: string;
|
|
7797
|
-
}
|
|
7798
|
-
export interface ZoVaultUpdateInputV1RawFormat {
|
|
7799
|
-
/**
|
|
7800
|
-
* The value as it is.
|
|
7801
|
-
*/
|
|
7802
|
-
type: "raw";
|
|
7803
|
-
}
|
|
7804
|
-
/**
|
|
7805
|
-
* A vault's registry envelope and settings. Never its value.
|
|
7806
|
-
*/
|
|
7807
|
-
export interface ZoVaultUpdateOutputV1 {
|
|
7808
|
-
id: string;
|
|
7809
|
-
workspace_id: string;
|
|
7810
|
-
type: "vault";
|
|
7811
|
-
type_version: 1;
|
|
7812
|
-
display_name: string;
|
|
7813
|
-
description: string;
|
|
7814
|
-
visibility: ("workspace" | "protected");
|
|
7815
|
-
owner_user_id: (string | null);
|
|
7816
|
-
revision: number;
|
|
7817
|
-
created_at: string;
|
|
7818
|
-
updated_at: string;
|
|
7819
|
-
/**
|
|
7820
|
-
* The environment variable name a machine gets the value under, or null for none.
|
|
7821
|
-
*/
|
|
7822
|
-
environment_variable: (string | null);
|
|
7823
|
-
injections: ZoVaultUpdateOutputV1VaultInjection[];
|
|
7824
|
-
/**
|
|
7825
|
-
* When the current value was stored, at create or the last rotate.
|
|
7826
|
-
*/
|
|
7827
|
-
value_updated_at: string;
|
|
7828
|
-
}
|
|
7829
|
-
/**
|
|
7830
|
-
* Where and how the value is sent on requests to ``hosts``. A host appears
|
|
7831
|
-
* in at most one entry of a vault's list.
|
|
7832
|
-
*/
|
|
7833
|
-
export interface ZoVaultUpdateOutputV1VaultInjection {
|
|
7834
|
-
/**
|
|
7835
|
-
* @minItems 1
|
|
7836
|
-
* @maxItems 20
|
|
7837
|
-
*
|
|
7838
|
-
* Items: An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.
|
|
7839
|
-
*/
|
|
7840
|
-
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];
|
|
7841
|
-
location: ZoVaultUpdateOutputV1HeaderLocation;
|
|
7842
|
-
format: (ZoVaultUpdateOutputV1BearerFormat | ZoVaultUpdateOutputV1BasicFormat | ZoVaultUpdateOutputV1RawFormat);
|
|
7843
|
-
}
|
|
7844
|
-
export interface ZoVaultUpdateOutputV1HeaderLocation {
|
|
7845
|
-
type: "header";
|
|
7846
|
-
/**
|
|
7847
|
-
* The header to set, such as `Authorization` or `X-API-Key`.
|
|
7848
|
-
*/
|
|
7849
|
-
name: string;
|
|
7850
|
-
}
|
|
7851
|
-
export interface ZoVaultUpdateOutputV1BearerFormat {
|
|
7852
|
-
/**
|
|
7853
|
-
* `Bearer <value>`.
|
|
7854
|
-
*/
|
|
7855
|
-
type: "bearer";
|
|
7856
|
-
}
|
|
7857
|
-
export interface ZoVaultUpdateOutputV1BasicFormat {
|
|
7858
|
-
/**
|
|
7859
|
-
* `Basic` with base64 of `<username>:<value>`.
|
|
7860
|
-
*/
|
|
7861
|
-
type: "basic";
|
|
7862
|
-
username: string;
|
|
7863
|
-
}
|
|
7864
|
-
export interface ZoVaultUpdateOutputV1RawFormat {
|
|
7865
|
-
/**
|
|
7866
|
-
* The value as it is.
|
|
7867
|
-
*/
|
|
7868
|
-
type: "raw";
|
|
7869
|
-
}
|
|
7870
7414
|
export interface ZoWebFetchInputV1 {
|
|
7871
7415
|
workspace_id: string;
|
|
7872
7416
|
/**
|
|
@@ -8012,6 +7556,7 @@ export interface ZoWebsiteCreateInputV1 {
|
|
|
8012
7556
|
*/
|
|
8013
7557
|
description?: string;
|
|
8014
7558
|
visibility?: ("workspace" | "protected");
|
|
7559
|
+
access?: ("public" | "authenticated");
|
|
8015
7560
|
}
|
|
8016
7561
|
export interface ZoWebsiteCreateOutputV1 {
|
|
8017
7562
|
id: string;
|
|
@@ -8021,7 +7566,7 @@ export interface ZoWebsiteCreateOutputV1 {
|
|
|
8021
7566
|
description: string;
|
|
8022
7567
|
generated_hostname: string;
|
|
8023
7568
|
custom_hostname: (ZoWebsiteCreateOutputV1WebsiteHostname | null);
|
|
8024
|
-
access: "public";
|
|
7569
|
+
access: ("public" | "authenticated");
|
|
8025
7570
|
revision: number;
|
|
8026
7571
|
visibility: ("workspace" | "protected");
|
|
8027
7572
|
owner_user_id: (string | null);
|
|
@@ -8051,7 +7596,7 @@ export interface ZoWebsiteGetOutputV1 {
|
|
|
8051
7596
|
description: string;
|
|
8052
7597
|
generated_hostname: string;
|
|
8053
7598
|
custom_hostname: (ZoWebsiteGetOutputV1WebsiteHostname | null);
|
|
8054
|
-
access: "public";
|
|
7599
|
+
access: ("public" | "authenticated");
|
|
8055
7600
|
revision: number;
|
|
8056
7601
|
visibility: ("workspace" | "protected");
|
|
8057
7602
|
owner_user_id: (string | null);
|
|
@@ -8077,7 +7622,7 @@ export interface ZoWebsiteListOutputV1WebsiteListItem {
|
|
|
8077
7622
|
description: string;
|
|
8078
7623
|
generated_hostname: string;
|
|
8079
7624
|
custom_hostname: (ZoWebsiteListOutputV1WebsiteHostname | null);
|
|
8080
|
-
access: "public";
|
|
7625
|
+
access: ("public" | "authenticated");
|
|
8081
7626
|
revision: number;
|
|
8082
7627
|
visibility: ("workspace" | "protected");
|
|
8083
7628
|
owner_user_id: (string | null);
|
|
@@ -8098,6 +7643,7 @@ export interface ZoWebsiteListOutputV1WebsiteRoute {
|
|
|
8098
7643
|
state: ("unpublished" | "published");
|
|
8099
7644
|
published_at: (string | null);
|
|
8100
7645
|
target: (ZoWebsiteListOutputV1FunctionRouteConfig | ZoWebsiteListOutputV1MachineRouteConfig | ZoWebsiteListOutputV1KbRouteConfig);
|
|
7646
|
+
access: ("public" | "authenticated");
|
|
8101
7647
|
}
|
|
8102
7648
|
export interface ZoWebsiteListOutputV1FunctionRouteConfig {
|
|
8103
7649
|
kind: "function";
|
|
@@ -8141,6 +7687,7 @@ export interface ZoWebsiteUpdateInputV1 {
|
|
|
8141
7687
|
*/
|
|
8142
7688
|
description?: (string | null);
|
|
8143
7689
|
custom_hostname?: (ZoWebsiteUpdateInputV1CustomHostnameChange | null);
|
|
7690
|
+
access?: (("public" | "authenticated") | null);
|
|
8144
7691
|
}
|
|
8145
7692
|
export interface ZoWebsiteUpdateInputV1CustomHostnameChange {
|
|
8146
7693
|
hostname: (string | null);
|
|
@@ -8153,7 +7700,7 @@ export interface ZoWebsiteUpdateOutputV1 {
|
|
|
8153
7700
|
description: string;
|
|
8154
7701
|
generated_hostname: string;
|
|
8155
7702
|
custom_hostname: (ZoWebsiteUpdateOutputV1WebsiteHostname | null);
|
|
8156
|
-
access: "public";
|
|
7703
|
+
access: ("public" | "authenticated");
|
|
8157
7704
|
revision: number;
|
|
8158
7705
|
visibility: ("workspace" | "protected");
|
|
8159
7706
|
owner_user_id: (string | null);
|
|
@@ -8173,6 +7720,7 @@ export interface ZoWebsiteRouteCreateInputV1 {
|
|
|
8173
7720
|
* @maxItems 8
|
|
8174
7721
|
*/
|
|
8175
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");
|
|
8176
7724
|
}
|
|
8177
7725
|
export interface ZoWebsiteRouteCreateInputV1FunctionRouteConfigInput {
|
|
8178
7726
|
kind: "function";
|
|
@@ -8204,6 +7752,7 @@ export interface ZoWebsiteRouteCreateOutputV1 {
|
|
|
8204
7752
|
state: ("unpublished" | "published");
|
|
8205
7753
|
published_at: (string | null);
|
|
8206
7754
|
target: (ZoWebsiteRouteCreateOutputV1FunctionRouteConfig | ZoWebsiteRouteCreateOutputV1MachineRouteConfig | ZoWebsiteRouteCreateOutputV1KbRouteConfig);
|
|
7755
|
+
access: ("public" | "authenticated");
|
|
8207
7756
|
}
|
|
8208
7757
|
export interface ZoWebsiteRouteCreateOutputV1FunctionRouteConfig {
|
|
8209
7758
|
kind: "function";
|
|
@@ -8252,6 +7801,7 @@ export interface ZoWebsiteRouteGetOutputV1 {
|
|
|
8252
7801
|
state: ("unpublished" | "published");
|
|
8253
7802
|
published_at: (string | null);
|
|
8254
7803
|
target: (ZoWebsiteRouteGetOutputV1FunctionRouteConfig | ZoWebsiteRouteGetOutputV1MachineRouteConfig | ZoWebsiteRouteGetOutputV1KbRouteConfig);
|
|
7804
|
+
access: ("public" | "authenticated");
|
|
8255
7805
|
}
|
|
8256
7806
|
export interface ZoWebsiteRouteGetOutputV1FunctionRouteConfig {
|
|
8257
7807
|
kind: "function";
|
|
@@ -8290,6 +7840,7 @@ export interface ZoWebsiteRouteListOutputV1WebsiteRoute {
|
|
|
8290
7840
|
state: ("unpublished" | "published");
|
|
8291
7841
|
published_at: (string | null);
|
|
8292
7842
|
target: (ZoWebsiteRouteListOutputV1FunctionRouteConfig | ZoWebsiteRouteListOutputV1MachineRouteConfig | ZoWebsiteRouteListOutputV1KbRouteConfig);
|
|
7843
|
+
access: ("public" | "authenticated");
|
|
8293
7844
|
}
|
|
8294
7845
|
export interface ZoWebsiteRouteListOutputV1FunctionRouteConfig {
|
|
8295
7846
|
kind: "function";
|
|
@@ -8340,6 +7891,7 @@ export interface ZoWebsiteRoutePublishOutputV1 {
|
|
|
8340
7891
|
state: ("unpublished" | "published");
|
|
8341
7892
|
published_at: (string | null);
|
|
8342
7893
|
target: (ZoWebsiteRoutePublishOutputV1FunctionRouteConfig | ZoWebsiteRoutePublishOutputV1MachineRouteConfig | ZoWebsiteRoutePublishOutputV1KbRouteConfig);
|
|
7894
|
+
access: ("public" | "authenticated");
|
|
8343
7895
|
}
|
|
8344
7896
|
export interface ZoWebsiteRoutePublishOutputV1FunctionRouteConfig {
|
|
8345
7897
|
kind: "function";
|
|
@@ -8380,6 +7932,7 @@ export interface ZoWebsiteRouteUnpublishOutputV1 {
|
|
|
8380
7932
|
state: ("unpublished" | "published");
|
|
8381
7933
|
published_at: (string | null);
|
|
8382
7934
|
target: (ZoWebsiteRouteUnpublishOutputV1FunctionRouteConfig | ZoWebsiteRouteUnpublishOutputV1MachineRouteConfig | ZoWebsiteRouteUnpublishOutputV1KbRouteConfig);
|
|
7935
|
+
access: ("public" | "authenticated");
|
|
8383
7936
|
}
|
|
8384
7937
|
export interface ZoWebsiteRouteUnpublishOutputV1FunctionRouteConfig {
|
|
8385
7938
|
kind: "function";
|
|
@@ -8413,6 +7966,7 @@ export interface ZoWebsiteRouteUpdateInputV1 {
|
|
|
8413
7966
|
* @maxItems 8
|
|
8414
7967
|
*/
|
|
8415
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);
|
|
8416
7970
|
}
|
|
8417
7971
|
export interface ZoWebsiteRouteUpdateInputV1FunctionRouteConfigInput {
|
|
8418
7972
|
kind: "function";
|
|
@@ -8444,6 +7998,7 @@ export interface ZoWebsiteRouteUpdateOutputV1 {
|
|
|
8444
7998
|
state: ("unpublished" | "published");
|
|
8445
7999
|
published_at: (string | null);
|
|
8446
8000
|
target: (ZoWebsiteRouteUpdateOutputV1FunctionRouteConfig | ZoWebsiteRouteUpdateOutputV1MachineRouteConfig | ZoWebsiteRouteUpdateOutputV1KbRouteConfig);
|
|
8001
|
+
access: ("public" | "authenticated");
|
|
8447
8002
|
}
|
|
8448
8003
|
export interface ZoWebsiteRouteUpdateOutputV1FunctionRouteConfig {
|
|
8449
8004
|
kind: "function";
|
|
@@ -8708,7 +8263,7 @@ export interface ZoWorkspaceGetInputV1 {
|
|
|
8708
8263
|
workspace_id: string;
|
|
8709
8264
|
}
|
|
8710
8265
|
/**
|
|
8711
|
-
* A `workspace` resource instance returned by `zo.workspace.get
|
|
8266
|
+
* A `workspace` resource instance returned by `zo.workspace.get`, with the caller.
|
|
8712
8267
|
*
|
|
8713
8268
|
* `workspace_id` keeps the resource envelope uniform across types; for a
|
|
8714
8269
|
* workspace resource it equals `id`.
|
|
@@ -8721,6 +8276,7 @@ export interface ZoWorkspaceGetOutputV1 {
|
|
|
8721
8276
|
display_name: string;
|
|
8722
8277
|
revision: number;
|
|
8723
8278
|
properties: ZoWorkspaceGetOutputV1WorkspaceProperties;
|
|
8279
|
+
caller: ZoWorkspaceGetOutputV1WorkspaceCaller;
|
|
8724
8280
|
}
|
|
8725
8281
|
/**
|
|
8726
8282
|
* Public properties of a `workspace` resource, type version 1.
|
|
@@ -8730,6 +8286,68 @@ export interface ZoWorkspaceGetOutputV1 {
|
|
|
8730
8286
|
*/
|
|
8731
8287
|
export interface ZoWorkspaceGetOutputV1WorkspaceProperties {
|
|
8732
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
|
+
}
|
|
8733
8351
|
export interface ZoWorkspaceListResourcesInputV1 {
|
|
8734
8352
|
workspace_id: string;
|
|
8735
8353
|
}
|
|
@@ -8902,14 +8520,14 @@ export interface SourceV1 {
|
|
|
8902
8520
|
export interface TaskV1 {
|
|
8903
8521
|
}
|
|
8904
8522
|
/**
|
|
8905
|
-
*
|
|
8523
|
+
* The address and access mode live in the Website's typed row.
|
|
8906
8524
|
*/
|
|
8907
|
-
export interface
|
|
8525
|
+
export interface WebsiteV1 {
|
|
8908
8526
|
}
|
|
8909
8527
|
/**
|
|
8910
8528
|
* The address and access mode live in the Website's typed row.
|
|
8911
8529
|
*/
|
|
8912
|
-
export interface
|
|
8530
|
+
export interface WebsiteRouteV1 {
|
|
8913
8531
|
}
|
|
8914
8532
|
/**
|
|
8915
8533
|
* Workflow lifecycle facts are read from the extension row.
|
|
@@ -9672,43 +9290,6 @@ export type Operations = {
|
|
|
9672
9290
|
output: ZoTaskUpdateOutputV1;
|
|
9673
9291
|
};
|
|
9674
9292
|
};
|
|
9675
|
-
"zo.vault.create": {
|
|
9676
|
-
1: {
|
|
9677
|
-
input: ZoVaultCreateInputV1;
|
|
9678
|
-
output: ZoVaultCreateOutputV1;
|
|
9679
|
-
};
|
|
9680
|
-
};
|
|
9681
|
-
"zo.vault.delete": {
|
|
9682
|
-
1: {
|
|
9683
|
-
input: ZoVaultDeleteInputV1;
|
|
9684
|
-
output: ZoVaultDeleteOutputV1;
|
|
9685
|
-
};
|
|
9686
|
-
};
|
|
9687
|
-
"zo.vault.get": {
|
|
9688
|
-
1: {
|
|
9689
|
-
input: ZoVaultGetInputV1;
|
|
9690
|
-
output: ZoVaultGetOutputV1;
|
|
9691
|
-
};
|
|
9692
|
-
};
|
|
9693
|
-
"zo.vault.list": {
|
|
9694
|
-
1: {
|
|
9695
|
-
input: ZoVaultListInputV1;
|
|
9696
|
-
output: ZoVaultListOutputV1;
|
|
9697
|
-
query: ZoVaultListQueryV1;
|
|
9698
|
-
};
|
|
9699
|
-
};
|
|
9700
|
-
"zo.vault.rotate": {
|
|
9701
|
-
1: {
|
|
9702
|
-
input: ZoVaultRotateInputV1;
|
|
9703
|
-
output: ZoVaultRotateOutputV1;
|
|
9704
|
-
};
|
|
9705
|
-
};
|
|
9706
|
-
"zo.vault.update": {
|
|
9707
|
-
1: {
|
|
9708
|
-
input: ZoVaultUpdateInputV1;
|
|
9709
|
-
output: ZoVaultUpdateOutputV1;
|
|
9710
|
-
};
|
|
9711
|
-
};
|
|
9712
9293
|
"zo.web.fetch": {
|
|
9713
9294
|
1: {
|
|
9714
9295
|
input: ZoWebFetchInputV1;
|
|
@@ -10000,12 +9581,6 @@ export type DefaultVersions = {
|
|
|
10000
9581
|
"zo.task.get": 1;
|
|
10001
9582
|
"zo.task.list": 1;
|
|
10002
9583
|
"zo.task.update": 1;
|
|
10003
|
-
"zo.vault.create": 1;
|
|
10004
|
-
"zo.vault.delete": 1;
|
|
10005
|
-
"zo.vault.get": 1;
|
|
10006
|
-
"zo.vault.list": 1;
|
|
10007
|
-
"zo.vault.rotate": 1;
|
|
10008
|
-
"zo.vault.update": 1;
|
|
10009
9584
|
"zo.web.fetch": 1;
|
|
10010
9585
|
"zo.web.search": 1;
|
|
10011
9586
|
"zo.website.create": 1;
|