@zocomputer/system-api 0.1.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9905,18 +9905,26 @@
9905
9905
  "description": "Validate a payload against an active event definition and publish the occurrence durably under a caller-scoped idempotency key.",
9906
9906
  "input_schema": {
9907
9907
  "additionalProperties": false,
9908
- "description": "The payload and its caller-scoped idempotency key (1 to 255 printable ASCII\ncharacters). Every envelope attribute (``id``, ``source``, ``type``, ``time``,\nthe workspace, the definition and the causal fields) is derived by the server\nand rejected as input.",
9908
+ "description": "The payload and an optional caller-scoped idempotency key (1 to 255 printable ASCII\ncharacters). Every envelope attribute (``id``, ``source``, ``type``, ``time``,\nthe workspace, the definition and the causal fields) is derived by the server\nand rejected as input.",
9909
9909
  "properties": {
9910
9910
  "event_id": {
9911
9911
  "title": "Event Id",
9912
9912
  "type": "string"
9913
9913
  },
9914
9914
  "idempotency_key": {
9915
- "maxLength": 255,
9916
- "minLength": 1,
9917
- "pattern": "^[!-~]{1,255}$",
9918
- "title": "Idempotency Key",
9919
- "type": "string"
9915
+ "anyOf": [
9916
+ {
9917
+ "maxLength": 255,
9918
+ "minLength": 1,
9919
+ "pattern": "^[!-~]{1,255}$",
9920
+ "type": "string"
9921
+ },
9922
+ {
9923
+ "type": "null"
9924
+ }
9925
+ ],
9926
+ "default": null,
9927
+ "title": "Idempotency Key"
9920
9928
  },
9921
9929
  "data": {
9922
9930
  "additionalProperties": {
@@ -9942,7 +9950,6 @@
9942
9950
  },
9943
9951
  "required": [
9944
9952
  "event_id",
9945
- "idempotency_key",
9946
9953
  "data"
9947
9954
  ],
9948
9955
  "title": "EventDispatchInput",
@@ -9996,7 +10003,7 @@
9996
10003
  "resource_not_found",
9997
10004
  "implementation_unavailable"
9998
10005
  ],
9999
- "digest": "sha256:17e006fbe141aced3e7c001a69c3c779e12b347b17909517bdc190dc8f9ed3f4"
10006
+ "digest": "sha256:beff0adf0ddc6dba27a06791565a9835ec91266e22ad74dc6cb8e2bc8b18de03"
10000
10007
  },
10001
10008
  {
10002
10009
  "name": "zo.event.get",
@@ -12170,6 +12177,18 @@
12170
12177
  ],
12171
12178
  "title": "Error Code"
12172
12179
  },
12180
+ "error_message": {
12181
+ "anyOf": [
12182
+ {
12183
+ "maxLength": 300,
12184
+ "type": "string"
12185
+ },
12186
+ {
12187
+ "type": "null"
12188
+ }
12189
+ ],
12190
+ "title": "Error Message"
12191
+ },
12173
12192
  "created_at": {
12174
12193
  "title": "Created At",
12175
12194
  "type": "string"
@@ -12218,6 +12237,7 @@
12218
12237
  "entry_kind",
12219
12238
  "state",
12220
12239
  "error_code",
12240
+ "error_message",
12221
12241
  "created_at",
12222
12242
  "deadline",
12223
12243
  "finished_at",
@@ -12279,7 +12299,7 @@
12279
12299
  "resource_not_found",
12280
12300
  "implementation_unavailable"
12281
12301
  ],
12282
- "digest": "sha256:8895f14a770afcc87f2b35cd8bb718bcc24ebf9d5acafb02176809155c47b1d4"
12302
+ "digest": "sha256:2505ec5258453629ea98a3d70911387096dbbd4c2f68d5c2c24ee5f32746eaca"
12283
12303
  },
12284
12304
  {
12285
12305
  "name": "zo.function.invoke",
@@ -12677,6 +12697,18 @@
12677
12697
  ],
12678
12698
  "title": "Error Code"
12679
12699
  },
12700
+ "error_message": {
12701
+ "anyOf": [
12702
+ {
12703
+ "maxLength": 300,
12704
+ "type": "string"
12705
+ },
12706
+ {
12707
+ "type": "null"
12708
+ }
12709
+ ],
12710
+ "title": "Error Message"
12711
+ },
12680
12712
  "created_at": {
12681
12713
  "title": "Created At",
12682
12714
  "type": "string"
@@ -12704,6 +12736,7 @@
12704
12736
  "entry_kind",
12705
12737
  "state",
12706
12738
  "error_code",
12739
+ "error_message",
12707
12740
  "created_at",
12708
12741
  "deadline",
12709
12742
  "finished_at"
@@ -12737,7 +12770,7 @@
12737
12770
  "resource_not_found",
12738
12771
  "implementation_unavailable"
12739
12772
  ],
12740
- "digest": "sha256:b21109de2f8e96dd818d1f2ff80d40a692a319bbb68d860cc81310ca09b068e6"
12773
+ "digest": "sha256:5afb66f0e9685192469f0fda5db8ea0cf49cf1a645ab23d22a03bc8698c8a7b4"
12741
12774
  },
12742
12775
  {
12743
12776
  "name": "zo.function.publish_contract",
@@ -21108,6 +21141,501 @@
21108
21141
  ],
21109
21142
  "digest": "sha256:aadcb480b26c475386eb47a4694a413a0b118969638cd9bfd9d9e5d68b5f758e"
21110
21143
  },
21144
+ {
21145
+ "name": "zo.model.list",
21146
+ "version": 1,
21147
+ "publisher": "zo",
21148
+ "description": "List the models this workspace can call, each with its ID, capabilities, accepted file types, reasoning levels, limits and current prices.",
21149
+ "input_schema": {
21150
+ "additionalProperties": false,
21151
+ "properties": {
21152
+ "workspace_id": {
21153
+ "maxLength": 200,
21154
+ "minLength": 1,
21155
+ "title": "Workspace Id",
21156
+ "type": "string"
21157
+ }
21158
+ },
21159
+ "required": [
21160
+ "workspace_id"
21161
+ ],
21162
+ "title": "ModelListInput",
21163
+ "type": "object"
21164
+ },
21165
+ "output_schema": {
21166
+ "additionalProperties": false,
21167
+ "properties": {
21168
+ "models": {
21169
+ "items": {
21170
+ "$ref": "#/$defs/ModelEntry"
21171
+ },
21172
+ "title": "Models",
21173
+ "type": "array"
21174
+ },
21175
+ "next_cursor": {
21176
+ "anyOf": [
21177
+ {
21178
+ "type": "string"
21179
+ },
21180
+ {
21181
+ "type": "null"
21182
+ }
21183
+ ],
21184
+ "title": "Next Cursor"
21185
+ }
21186
+ },
21187
+ "required": [
21188
+ "models",
21189
+ "next_cursor"
21190
+ ],
21191
+ "title": "ModelListResult",
21192
+ "type": "object",
21193
+ "$defs": {
21194
+ "ModelEntry": {
21195
+ "additionalProperties": false,
21196
+ "properties": {
21197
+ "id": {
21198
+ "description": "The ID to pass as model.",
21199
+ "title": "Id",
21200
+ "type": "string"
21201
+ },
21202
+ "display_name": {
21203
+ "title": "Display Name",
21204
+ "type": "string"
21205
+ },
21206
+ "provider": {
21207
+ "title": "Provider",
21208
+ "type": "string"
21209
+ },
21210
+ "capabilities": {
21211
+ "items": {
21212
+ "enum": [
21213
+ "text",
21214
+ "structured_output",
21215
+ "embedding",
21216
+ "rerank",
21217
+ "image",
21218
+ "speech",
21219
+ "transcription",
21220
+ "video"
21221
+ ],
21222
+ "type": "string"
21223
+ },
21224
+ "title": "Capabilities",
21225
+ "type": "array"
21226
+ },
21227
+ "input_media": {
21228
+ "description": "Media types the model accepts in file parts, such as image/* and text/*.",
21229
+ "items": {
21230
+ "type": "string"
21231
+ },
21232
+ "title": "Input Media",
21233
+ "type": "array"
21234
+ },
21235
+ "context_window_tokens": {
21236
+ "anyOf": [
21237
+ {
21238
+ "type": "integer"
21239
+ },
21240
+ {
21241
+ "type": "null"
21242
+ }
21243
+ ],
21244
+ "title": "Context Window Tokens"
21245
+ },
21246
+ "max_output_tokens": {
21247
+ "anyOf": [
21248
+ {
21249
+ "type": "integer"
21250
+ },
21251
+ {
21252
+ "type": "null"
21253
+ }
21254
+ ],
21255
+ "title": "Max Output Tokens"
21256
+ },
21257
+ "reasoning_levels": {
21258
+ "description": "The reasoning levels the model offers. Empty when it has none.",
21259
+ "items": {
21260
+ "type": "string"
21261
+ },
21262
+ "title": "Reasoning Levels",
21263
+ "type": "array"
21264
+ },
21265
+ "settings": {
21266
+ "description": "Every setting the model accepts, with its allowed values. A setting not listed is refused with invalid_input before the call.",
21267
+ "items": {
21268
+ "$ref": "#/$defs/ModelSetting"
21269
+ },
21270
+ "title": "Settings",
21271
+ "type": "array"
21272
+ },
21273
+ "limits": {
21274
+ "additionalProperties": {
21275
+ "type": "integer"
21276
+ },
21277
+ "description": "Named limits for the model's actions, such as max_values.",
21278
+ "title": "Limits",
21279
+ "type": "object"
21280
+ },
21281
+ "prices": {
21282
+ "description": "Every rate the model is billed at, the rows zo.billing.list_rates returns for it. A call is charged at the rates whose conditions it meets.",
21283
+ "items": {
21284
+ "$ref": "#/$defs/ModelPrice"
21285
+ },
21286
+ "title": "Prices",
21287
+ "type": "array"
21288
+ },
21289
+ "status": {
21290
+ "enum": [
21291
+ "available",
21292
+ "deprecated"
21293
+ ],
21294
+ "title": "Status",
21295
+ "type": "string"
21296
+ }
21297
+ },
21298
+ "required": [
21299
+ "id",
21300
+ "display_name",
21301
+ "provider",
21302
+ "capabilities",
21303
+ "input_media",
21304
+ "context_window_tokens",
21305
+ "max_output_tokens",
21306
+ "reasoning_levels",
21307
+ "settings",
21308
+ "limits",
21309
+ "prices",
21310
+ "status"
21311
+ ],
21312
+ "title": "ModelEntry",
21313
+ "type": "object"
21314
+ },
21315
+ "ModelPrice": {
21316
+ "additionalProperties": false,
21317
+ "description": "One of the model's rates: the row ``zo.billing.list_rates`` returns for it.",
21318
+ "properties": {
21319
+ "rate_key": {
21320
+ "description": "The rate's key in zo.billing.list_rates.",
21321
+ "title": "Rate Key",
21322
+ "type": "string"
21323
+ },
21324
+ "meter": {
21325
+ "description": "The usage meter the rate prices, as zo.billing.list_rates names it.",
21326
+ "title": "Meter",
21327
+ "type": "string"
21328
+ },
21329
+ "unit": {
21330
+ "description": "What one billed unit is. input, output, cache_read and cache_write are tokens: the usage fields input_tokens, output_tokens, cache_read_tokens and cache_write_tokens. request is one generated output, such as an image or a video.",
21331
+ "enum": [
21332
+ "input",
21333
+ "output",
21334
+ "cache_read",
21335
+ "cache_write",
21336
+ "request",
21337
+ "character",
21338
+ "millisecond",
21339
+ "audio_minute",
21340
+ "megapixel",
21341
+ "video_second"
21342
+ ],
21343
+ "title": "Unit",
21344
+ "type": "string"
21345
+ },
21346
+ "usd": {
21347
+ "description": "The workspace's current price for per units, as a decimal string.",
21348
+ "maxLength": 200,
21349
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21350
+ "title": "Usd",
21351
+ "type": "string"
21352
+ },
21353
+ "per": {
21354
+ "description": "How many units usd is for: 1000000 for tokens.",
21355
+ "maxLength": 200,
21356
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21357
+ "title": "Per",
21358
+ "type": "string"
21359
+ },
21360
+ "conditions": {
21361
+ "$ref": "#/$defs/RateConditions",
21362
+ "description": "When the rate applies, as zo.billing.list_rates gives it: input-token tiers for text models; operation, selector, resolution, quality, duration and quantity bounds for media models."
21363
+ }
21364
+ },
21365
+ "required": [
21366
+ "rate_key",
21367
+ "meter",
21368
+ "unit",
21369
+ "usd",
21370
+ "per",
21371
+ "conditions"
21372
+ ],
21373
+ "title": "ModelPrice",
21374
+ "type": "object"
21375
+ },
21376
+ "ModelSetting": {
21377
+ "additionalProperties": false,
21378
+ "description": "One setting the model accepts and the values it allows.",
21379
+ "properties": {
21380
+ "name": {
21381
+ "description": "The input field, such as temperature or reasoning.",
21382
+ "title": "Name",
21383
+ "type": "string"
21384
+ },
21385
+ "minimum": {
21386
+ "anyOf": [
21387
+ {
21388
+ "type": "string"
21389
+ },
21390
+ {
21391
+ "type": "null"
21392
+ }
21393
+ ],
21394
+ "description": "The smallest allowed value, as a decimal string.",
21395
+ "title": "Minimum"
21396
+ },
21397
+ "maximum": {
21398
+ "anyOf": [
21399
+ {
21400
+ "type": "string"
21401
+ },
21402
+ {
21403
+ "type": "null"
21404
+ }
21405
+ ],
21406
+ "description": "The largest allowed value, as a decimal string.",
21407
+ "title": "Maximum"
21408
+ },
21409
+ "max_items": {
21410
+ "anyOf": [
21411
+ {
21412
+ "type": "integer"
21413
+ },
21414
+ {
21415
+ "type": "null"
21416
+ }
21417
+ ],
21418
+ "description": "The most items a list setting takes.",
21419
+ "title": "Max Items"
21420
+ },
21421
+ "values": {
21422
+ "anyOf": [
21423
+ {
21424
+ "items": {
21425
+ "type": "string"
21426
+ },
21427
+ "type": "array"
21428
+ },
21429
+ {
21430
+ "type": "null"
21431
+ }
21432
+ ],
21433
+ "description": "The allowed values of a string setting.",
21434
+ "title": "Values"
21435
+ }
21436
+ },
21437
+ "required": [
21438
+ "name",
21439
+ "minimum",
21440
+ "maximum",
21441
+ "max_items",
21442
+ "values"
21443
+ ],
21444
+ "title": "ModelSetting",
21445
+ "type": "object"
21446
+ },
21447
+ "RateConditions": {
21448
+ "additionalProperties": false,
21449
+ "properties": {
21450
+ "request_input_tokens_min": {
21451
+ "anyOf": [
21452
+ {
21453
+ "minimum": 0,
21454
+ "type": "integer"
21455
+ },
21456
+ {
21457
+ "type": "null"
21458
+ }
21459
+ ],
21460
+ "default": null,
21461
+ "description": "Inclusive request-size lower bound.",
21462
+ "title": "Request Input Tokens Min"
21463
+ },
21464
+ "request_input_tokens_max": {
21465
+ "anyOf": [
21466
+ {
21467
+ "minimum": 0,
21468
+ "type": "integer"
21469
+ },
21470
+ {
21471
+ "type": "null"
21472
+ }
21473
+ ],
21474
+ "default": null,
21475
+ "description": "Exclusive request-size upper bound.",
21476
+ "title": "Request Input Tokens Max"
21477
+ },
21478
+ "whole_request": {
21479
+ "default": true,
21480
+ "description": "The matching tier prices the whole request.",
21481
+ "title": "Whole Request",
21482
+ "type": "boolean"
21483
+ },
21484
+ "operation": {
21485
+ "anyOf": [
21486
+ {
21487
+ "type": "string"
21488
+ },
21489
+ {
21490
+ "type": "null"
21491
+ }
21492
+ ],
21493
+ "default": null,
21494
+ "title": "Operation"
21495
+ },
21496
+ "resolution": {
21497
+ "anyOf": [
21498
+ {
21499
+ "type": "string"
21500
+ },
21501
+ {
21502
+ "type": "null"
21503
+ }
21504
+ ],
21505
+ "default": null,
21506
+ "title": "Resolution"
21507
+ },
21508
+ "quality": {
21509
+ "anyOf": [
21510
+ {
21511
+ "type": "string"
21512
+ },
21513
+ {
21514
+ "type": "null"
21515
+ }
21516
+ ],
21517
+ "default": null,
21518
+ "title": "Quality"
21519
+ },
21520
+ "duration_seconds": {
21521
+ "anyOf": [
21522
+ {
21523
+ "maxLength": 200,
21524
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21525
+ "type": "string"
21526
+ },
21527
+ {
21528
+ "type": "null"
21529
+ }
21530
+ ],
21531
+ "default": null,
21532
+ "title": "Duration Seconds"
21533
+ },
21534
+ "quantity_min": {
21535
+ "anyOf": [
21536
+ {
21537
+ "maxLength": 200,
21538
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21539
+ "type": "string"
21540
+ },
21541
+ {
21542
+ "type": "null"
21543
+ }
21544
+ ],
21545
+ "default": null,
21546
+ "title": "Quantity Min"
21547
+ },
21548
+ "quantity_max": {
21549
+ "anyOf": [
21550
+ {
21551
+ "maxLength": 200,
21552
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21553
+ "type": "string"
21554
+ },
21555
+ {
21556
+ "type": "null"
21557
+ }
21558
+ ],
21559
+ "default": null,
21560
+ "title": "Quantity Max"
21561
+ },
21562
+ "included_quantity": {
21563
+ "anyOf": [
21564
+ {
21565
+ "maxLength": 200,
21566
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21567
+ "type": "string"
21568
+ },
21569
+ {
21570
+ "type": "null"
21571
+ }
21572
+ ],
21573
+ "default": null,
21574
+ "title": "Included Quantity"
21575
+ },
21576
+ "default_quantity": {
21577
+ "anyOf": [
21578
+ {
21579
+ "maxLength": 200,
21580
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
21581
+ "type": "string"
21582
+ },
21583
+ {
21584
+ "type": "null"
21585
+ }
21586
+ ],
21587
+ "default": null,
21588
+ "title": "Default Quantity"
21589
+ },
21590
+ "quantity_argument": {
21591
+ "anyOf": [
21592
+ {
21593
+ "type": "string"
21594
+ },
21595
+ {
21596
+ "type": "null"
21597
+ }
21598
+ ],
21599
+ "default": null,
21600
+ "title": "Quantity Argument"
21601
+ },
21602
+ "selector": {
21603
+ "additionalProperties": {
21604
+ "x-zo-json-value": true
21605
+ },
21606
+ "title": "Selector",
21607
+ "type": "object"
21608
+ },
21609
+ "rounding": {
21610
+ "default": "none",
21611
+ "enum": [
21612
+ "none",
21613
+ "ceil_step"
21614
+ ],
21615
+ "title": "Rounding",
21616
+ "type": "string"
21617
+ }
21618
+ },
21619
+ "title": "RateConditions",
21620
+ "type": "object",
21621
+ "required": []
21622
+ }
21623
+ }
21624
+ },
21625
+ "target": {
21626
+ "type": "workspace",
21627
+ "input_pointer": "/workspace_id"
21628
+ },
21629
+ "additional_checks": [],
21630
+ "effect": "read",
21631
+ "result_kind": "inline",
21632
+ "error_codes": [
21633
+ "implementation_unavailable",
21634
+ "invalid_input",
21635
+ "invalid_cursor"
21636
+ ],
21637
+ "digest": "sha256:33b88b18e759ba942f7bf344798e5f693926666a1bc2947b75b1c1cc6e1a8fbc"
21638
+ },
21111
21639
  {
21112
21640
  "name": "zo.oauth_app.create",
21113
21641
  "version": 1,
@@ -36573,1838 +37101,6 @@
36573
37101
  ],
36574
37102
  "digest": "sha256:cccdb137ca9c3de5abbd8baf2fd733fa7f9f847119b81cfdae2f6087e88f85a3"
36575
37103
  },
36576
- {
36577
- "name": "zo.vault.create",
36578
- "version": 1,
36579
- "publisher": "zo",
36580
- "description": "Store a pasted credential, such as an API key, with the hosts it may be sent to. The value is never returned.",
36581
- "input_schema": {
36582
- "additionalProperties": false,
36583
- "properties": {
36584
- "workspace_id": {
36585
- "maxLength": 200,
36586
- "minLength": 1,
36587
- "title": "Workspace Id",
36588
- "type": "string"
36589
- },
36590
- "display_name": {
36591
- "maxLength": 256,
36592
- "minLength": 1,
36593
- "title": "Display Name",
36594
- "type": "string"
36595
- },
36596
- "description": {
36597
- "default": "",
36598
- "maxLength": 2000,
36599
- "title": "Description",
36600
- "type": "string"
36601
- },
36602
- "value": {
36603
- "description": "Secret: the credential. Stored sealed and never returned.",
36604
- "maxLength": 16384,
36605
- "minLength": 1,
36606
- "title": "Value",
36607
- "type": "string"
36608
- },
36609
- "environment_variable": {
36610
- "anyOf": [
36611
- {
36612
- "pattern": "^[A-Z_][A-Z0-9_]{0,127}$",
36613
- "type": "string"
36614
- },
36615
- {
36616
- "type": "null"
36617
- }
36618
- ],
36619
- "default": null,
36620
- "description": "The environment variable name a machine gets the value under, such as `OPENAI_API_KEY`.",
36621
- "title": "Environment Variable"
36622
- },
36623
- "injections": {
36624
- "default": [],
36625
- "items": {
36626
- "$ref": "#/$defs/VaultInjection"
36627
- },
36628
- "maxItems": 10,
36629
- "title": "Injections",
36630
- "type": "array"
36631
- },
36632
- "visibility": {
36633
- "default": "workspace",
36634
- "description": "`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.",
36635
- "enum": [
36636
- "workspace",
36637
- "protected"
36638
- ],
36639
- "title": "Visibility",
36640
- "type": "string"
36641
- }
36642
- },
36643
- "required": [
36644
- "workspace_id",
36645
- "display_name",
36646
- "value"
36647
- ],
36648
- "title": "VaultCreateInput",
36649
- "type": "object",
36650
- "$defs": {
36651
- "BasicFormat": {
36652
- "additionalProperties": false,
36653
- "properties": {
36654
- "type": {
36655
- "const": "basic",
36656
- "description": "`Basic` with base64 of `<username>:<value>`.",
36657
- "title": "Type",
36658
- "type": "string"
36659
- },
36660
- "username": {
36661
- "pattern": "^[^:]{1,256}$",
36662
- "title": "Username",
36663
- "type": "string"
36664
- }
36665
- },
36666
- "required": [
36667
- "type",
36668
- "username"
36669
- ],
36670
- "title": "BasicFormat",
36671
- "type": "object"
36672
- },
36673
- "BearerFormat": {
36674
- "additionalProperties": false,
36675
- "properties": {
36676
- "type": {
36677
- "const": "bearer",
36678
- "description": "`Bearer <value>`.",
36679
- "title": "Type",
36680
- "type": "string"
36681
- }
36682
- },
36683
- "required": [
36684
- "type"
36685
- ],
36686
- "title": "BearerFormat",
36687
- "type": "object"
36688
- },
36689
- "HeaderLocation": {
36690
- "additionalProperties": false,
36691
- "properties": {
36692
- "type": {
36693
- "const": "header",
36694
- "title": "Type",
36695
- "type": "string"
36696
- },
36697
- "name": {
36698
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
36699
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
36700
- "title": "Name",
36701
- "type": "string"
36702
- }
36703
- },
36704
- "required": [
36705
- "type",
36706
- "name"
36707
- ],
36708
- "title": "HeaderLocation",
36709
- "type": "object"
36710
- },
36711
- "RawFormat": {
36712
- "additionalProperties": false,
36713
- "properties": {
36714
- "type": {
36715
- "const": "raw",
36716
- "description": "The value as it is.",
36717
- "title": "Type",
36718
- "type": "string"
36719
- }
36720
- },
36721
- "required": [
36722
- "type"
36723
- ],
36724
- "title": "RawFormat",
36725
- "type": "object"
36726
- },
36727
- "VaultInjection": {
36728
- "additionalProperties": false,
36729
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
36730
- "properties": {
36731
- "hosts": {
36732
- "items": {
36733
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
36734
- "maxLength": 253,
36735
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
36736
- "type": "string"
36737
- },
36738
- "maxItems": 20,
36739
- "minItems": 1,
36740
- "title": "Hosts",
36741
- "type": "array"
36742
- },
36743
- "location": {
36744
- "$ref": "#/$defs/HeaderLocation"
36745
- },
36746
- "format": {
36747
- "discriminator": {
36748
- "mapping": {
36749
- "basic": "#/$defs/BasicFormat",
36750
- "bearer": "#/$defs/BearerFormat",
36751
- "raw": "#/$defs/RawFormat"
36752
- },
36753
- "propertyName": "type"
36754
- },
36755
- "oneOf": [
36756
- {
36757
- "$ref": "#/$defs/BearerFormat"
36758
- },
36759
- {
36760
- "$ref": "#/$defs/BasicFormat"
36761
- },
36762
- {
36763
- "$ref": "#/$defs/RawFormat"
36764
- }
36765
- ],
36766
- "title": "Format"
36767
- }
36768
- },
36769
- "required": [
36770
- "hosts",
36771
- "location",
36772
- "format"
36773
- ],
36774
- "title": "VaultInjection",
36775
- "type": "object"
36776
- }
36777
- }
36778
- },
36779
- "output_schema": {
36780
- "additionalProperties": false,
36781
- "description": "A vault's registry envelope and settings. Never its value.",
36782
- "properties": {
36783
- "id": {
36784
- "title": "Id",
36785
- "type": "string"
36786
- },
36787
- "workspace_id": {
36788
- "title": "Workspace Id",
36789
- "type": "string"
36790
- },
36791
- "type": {
36792
- "const": "vault",
36793
- "title": "Type",
36794
- "type": "string"
36795
- },
36796
- "type_version": {
36797
- "const": 1,
36798
- "title": "Type Version",
36799
- "type": "integer"
36800
- },
36801
- "display_name": {
36802
- "title": "Display Name",
36803
- "type": "string"
36804
- },
36805
- "description": {
36806
- "title": "Description",
36807
- "type": "string"
36808
- },
36809
- "visibility": {
36810
- "enum": [
36811
- "workspace",
36812
- "protected"
36813
- ],
36814
- "title": "Visibility",
36815
- "type": "string"
36816
- },
36817
- "owner_user_id": {
36818
- "anyOf": [
36819
- {
36820
- "type": "string"
36821
- },
36822
- {
36823
- "type": "null"
36824
- }
36825
- ],
36826
- "title": "Owner User Id"
36827
- },
36828
- "revision": {
36829
- "exclusiveMinimum": 0,
36830
- "maximum": 9007199254740991,
36831
- "title": "Revision",
36832
- "type": "integer"
36833
- },
36834
- "created_at": {
36835
- "title": "Created At",
36836
- "type": "string"
36837
- },
36838
- "updated_at": {
36839
- "title": "Updated At",
36840
- "type": "string"
36841
- },
36842
- "environment_variable": {
36843
- "anyOf": [
36844
- {
36845
- "type": "string"
36846
- },
36847
- {
36848
- "type": "null"
36849
- }
36850
- ],
36851
- "description": "The environment variable name a machine gets the value under, or null for none.",
36852
- "title": "Environment Variable"
36853
- },
36854
- "injections": {
36855
- "items": {
36856
- "$ref": "#/$defs/VaultInjection"
36857
- },
36858
- "title": "Injections",
36859
- "type": "array"
36860
- },
36861
- "value_updated_at": {
36862
- "description": "When the current value was stored, at create or the last rotate.",
36863
- "title": "Value Updated At",
36864
- "type": "string"
36865
- }
36866
- },
36867
- "required": [
36868
- "id",
36869
- "workspace_id",
36870
- "type",
36871
- "type_version",
36872
- "display_name",
36873
- "description",
36874
- "visibility",
36875
- "owner_user_id",
36876
- "revision",
36877
- "created_at",
36878
- "updated_at",
36879
- "environment_variable",
36880
- "injections",
36881
- "value_updated_at"
36882
- ],
36883
- "title": "VaultView",
36884
- "type": "object",
36885
- "$defs": {
36886
- "BasicFormat": {
36887
- "additionalProperties": false,
36888
- "properties": {
36889
- "type": {
36890
- "const": "basic",
36891
- "description": "`Basic` with base64 of `<username>:<value>`.",
36892
- "title": "Type",
36893
- "type": "string"
36894
- },
36895
- "username": {
36896
- "pattern": "^[^:]{1,256}$",
36897
- "title": "Username",
36898
- "type": "string"
36899
- }
36900
- },
36901
- "required": [
36902
- "type",
36903
- "username"
36904
- ],
36905
- "title": "BasicFormat",
36906
- "type": "object"
36907
- },
36908
- "BearerFormat": {
36909
- "additionalProperties": false,
36910
- "properties": {
36911
- "type": {
36912
- "const": "bearer",
36913
- "description": "`Bearer <value>`.",
36914
- "title": "Type",
36915
- "type": "string"
36916
- }
36917
- },
36918
- "required": [
36919
- "type"
36920
- ],
36921
- "title": "BearerFormat",
36922
- "type": "object"
36923
- },
36924
- "HeaderLocation": {
36925
- "additionalProperties": false,
36926
- "properties": {
36927
- "type": {
36928
- "const": "header",
36929
- "title": "Type",
36930
- "type": "string"
36931
- },
36932
- "name": {
36933
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
36934
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
36935
- "title": "Name",
36936
- "type": "string"
36937
- }
36938
- },
36939
- "required": [
36940
- "type",
36941
- "name"
36942
- ],
36943
- "title": "HeaderLocation",
36944
- "type": "object"
36945
- },
36946
- "RawFormat": {
36947
- "additionalProperties": false,
36948
- "properties": {
36949
- "type": {
36950
- "const": "raw",
36951
- "description": "The value as it is.",
36952
- "title": "Type",
36953
- "type": "string"
36954
- }
36955
- },
36956
- "required": [
36957
- "type"
36958
- ],
36959
- "title": "RawFormat",
36960
- "type": "object"
36961
- },
36962
- "VaultInjection": {
36963
- "additionalProperties": false,
36964
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
36965
- "properties": {
36966
- "hosts": {
36967
- "items": {
36968
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
36969
- "maxLength": 253,
36970
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
36971
- "type": "string"
36972
- },
36973
- "maxItems": 20,
36974
- "minItems": 1,
36975
- "title": "Hosts",
36976
- "type": "array"
36977
- },
36978
- "location": {
36979
- "$ref": "#/$defs/HeaderLocation"
36980
- },
36981
- "format": {
36982
- "discriminator": {
36983
- "mapping": {
36984
- "basic": "#/$defs/BasicFormat",
36985
- "bearer": "#/$defs/BearerFormat",
36986
- "raw": "#/$defs/RawFormat"
36987
- },
36988
- "propertyName": "type"
36989
- },
36990
- "oneOf": [
36991
- {
36992
- "$ref": "#/$defs/BearerFormat"
36993
- },
36994
- {
36995
- "$ref": "#/$defs/BasicFormat"
36996
- },
36997
- {
36998
- "$ref": "#/$defs/RawFormat"
36999
- }
37000
- ],
37001
- "title": "Format"
37002
- }
37003
- },
37004
- "required": [
37005
- "hosts",
37006
- "location",
37007
- "format"
37008
- ],
37009
- "title": "VaultInjection",
37010
- "type": "object"
37011
- }
37012
- }
37013
- },
37014
- "target": {
37015
- "type": "workspace",
37016
- "input_pointer": "/workspace_id"
37017
- },
37018
- "additional_checks": [],
37019
- "effect": "create",
37020
- "result_kind": "inline",
37021
- "error_codes": [
37022
- "invalid_input",
37023
- "conflict",
37024
- "implementation_unavailable"
37025
- ],
37026
- "digest": "sha256:abf7dd3547db941d3ac5ce77e4b534811afddfd21fc73411ffca3738c756b73c"
37027
- },
37028
- {
37029
- "name": "zo.vault.delete",
37030
- "version": 1,
37031
- "publisher": "zo",
37032
- "description": "Delete a vault: its value is destroyed and every grant on it is revoked.",
37033
- "input_schema": {
37034
- "additionalProperties": false,
37035
- "properties": {
37036
- "vault_id": {
37037
- "maxLength": 200,
37038
- "minLength": 1,
37039
- "title": "Vault Id",
37040
- "type": "string"
37041
- },
37042
- "expected_revision": {
37043
- "exclusiveMinimum": 0,
37044
- "maximum": 9007199254740991,
37045
- "title": "Expected Revision",
37046
- "type": "integer"
37047
- }
37048
- },
37049
- "required": [
37050
- "vault_id",
37051
- "expected_revision"
37052
- ],
37053
- "title": "VaultTargetInput",
37054
- "type": "object"
37055
- },
37056
- "output_schema": {
37057
- "additionalProperties": false,
37058
- "properties": {
37059
- "state": {
37060
- "const": "deleted",
37061
- "title": "State",
37062
- "type": "string"
37063
- },
37064
- "revision": {
37065
- "exclusiveMinimum": 0,
37066
- "maximum": 9007199254740991,
37067
- "title": "Revision",
37068
- "type": "integer"
37069
- }
37070
- },
37071
- "required": [
37072
- "state",
37073
- "revision"
37074
- ],
37075
- "title": "VaultDeleteResult",
37076
- "type": "object"
37077
- },
37078
- "target": {
37079
- "type": "vault",
37080
- "input_pointer": "/vault_id"
37081
- },
37082
- "additional_checks": [],
37083
- "effect": "manage",
37084
- "result_kind": "inline",
37085
- "error_codes": [
37086
- "conflict",
37087
- "resource_not_found"
37088
- ],
37089
- "digest": "sha256:21ca9575b1b5092c8e2010ed56b2ad7f263f76b0bc2c5def3e8d778f4fc5e17e"
37090
- },
37091
- {
37092
- "name": "zo.vault.get",
37093
- "version": 1,
37094
- "publisher": "zo",
37095
- "description": "Read a vault's settings. The value is never returned.",
37096
- "input_schema": {
37097
- "additionalProperties": false,
37098
- "properties": {
37099
- "vault_id": {
37100
- "maxLength": 200,
37101
- "minLength": 1,
37102
- "title": "Vault Id",
37103
- "type": "string"
37104
- }
37105
- },
37106
- "required": [
37107
- "vault_id"
37108
- ],
37109
- "title": "VaultGetInput",
37110
- "type": "object"
37111
- },
37112
- "output_schema": {
37113
- "additionalProperties": false,
37114
- "description": "A vault's registry envelope and settings. Never its value.",
37115
- "properties": {
37116
- "id": {
37117
- "title": "Id",
37118
- "type": "string"
37119
- },
37120
- "workspace_id": {
37121
- "title": "Workspace Id",
37122
- "type": "string"
37123
- },
37124
- "type": {
37125
- "const": "vault",
37126
- "title": "Type",
37127
- "type": "string"
37128
- },
37129
- "type_version": {
37130
- "const": 1,
37131
- "title": "Type Version",
37132
- "type": "integer"
37133
- },
37134
- "display_name": {
37135
- "title": "Display Name",
37136
- "type": "string"
37137
- },
37138
- "description": {
37139
- "title": "Description",
37140
- "type": "string"
37141
- },
37142
- "visibility": {
37143
- "enum": [
37144
- "workspace",
37145
- "protected"
37146
- ],
37147
- "title": "Visibility",
37148
- "type": "string"
37149
- },
37150
- "owner_user_id": {
37151
- "anyOf": [
37152
- {
37153
- "type": "string"
37154
- },
37155
- {
37156
- "type": "null"
37157
- }
37158
- ],
37159
- "title": "Owner User Id"
37160
- },
37161
- "revision": {
37162
- "exclusiveMinimum": 0,
37163
- "maximum": 9007199254740991,
37164
- "title": "Revision",
37165
- "type": "integer"
37166
- },
37167
- "created_at": {
37168
- "title": "Created At",
37169
- "type": "string"
37170
- },
37171
- "updated_at": {
37172
- "title": "Updated At",
37173
- "type": "string"
37174
- },
37175
- "environment_variable": {
37176
- "anyOf": [
37177
- {
37178
- "type": "string"
37179
- },
37180
- {
37181
- "type": "null"
37182
- }
37183
- ],
37184
- "description": "The environment variable name a machine gets the value under, or null for none.",
37185
- "title": "Environment Variable"
37186
- },
37187
- "injections": {
37188
- "items": {
37189
- "$ref": "#/$defs/VaultInjection"
37190
- },
37191
- "title": "Injections",
37192
- "type": "array"
37193
- },
37194
- "value_updated_at": {
37195
- "description": "When the current value was stored, at create or the last rotate.",
37196
- "title": "Value Updated At",
37197
- "type": "string"
37198
- }
37199
- },
37200
- "required": [
37201
- "id",
37202
- "workspace_id",
37203
- "type",
37204
- "type_version",
37205
- "display_name",
37206
- "description",
37207
- "visibility",
37208
- "owner_user_id",
37209
- "revision",
37210
- "created_at",
37211
- "updated_at",
37212
- "environment_variable",
37213
- "injections",
37214
- "value_updated_at"
37215
- ],
37216
- "title": "VaultView",
37217
- "type": "object",
37218
- "$defs": {
37219
- "BasicFormat": {
37220
- "additionalProperties": false,
37221
- "properties": {
37222
- "type": {
37223
- "const": "basic",
37224
- "description": "`Basic` with base64 of `<username>:<value>`.",
37225
- "title": "Type",
37226
- "type": "string"
37227
- },
37228
- "username": {
37229
- "pattern": "^[^:]{1,256}$",
37230
- "title": "Username",
37231
- "type": "string"
37232
- }
37233
- },
37234
- "required": [
37235
- "type",
37236
- "username"
37237
- ],
37238
- "title": "BasicFormat",
37239
- "type": "object"
37240
- },
37241
- "BearerFormat": {
37242
- "additionalProperties": false,
37243
- "properties": {
37244
- "type": {
37245
- "const": "bearer",
37246
- "description": "`Bearer <value>`.",
37247
- "title": "Type",
37248
- "type": "string"
37249
- }
37250
- },
37251
- "required": [
37252
- "type"
37253
- ],
37254
- "title": "BearerFormat",
37255
- "type": "object"
37256
- },
37257
- "HeaderLocation": {
37258
- "additionalProperties": false,
37259
- "properties": {
37260
- "type": {
37261
- "const": "header",
37262
- "title": "Type",
37263
- "type": "string"
37264
- },
37265
- "name": {
37266
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
37267
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
37268
- "title": "Name",
37269
- "type": "string"
37270
- }
37271
- },
37272
- "required": [
37273
- "type",
37274
- "name"
37275
- ],
37276
- "title": "HeaderLocation",
37277
- "type": "object"
37278
- },
37279
- "RawFormat": {
37280
- "additionalProperties": false,
37281
- "properties": {
37282
- "type": {
37283
- "const": "raw",
37284
- "description": "The value as it is.",
37285
- "title": "Type",
37286
- "type": "string"
37287
- }
37288
- },
37289
- "required": [
37290
- "type"
37291
- ],
37292
- "title": "RawFormat",
37293
- "type": "object"
37294
- },
37295
- "VaultInjection": {
37296
- "additionalProperties": false,
37297
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
37298
- "properties": {
37299
- "hosts": {
37300
- "items": {
37301
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
37302
- "maxLength": 253,
37303
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
37304
- "type": "string"
37305
- },
37306
- "maxItems": 20,
37307
- "minItems": 1,
37308
- "title": "Hosts",
37309
- "type": "array"
37310
- },
37311
- "location": {
37312
- "$ref": "#/$defs/HeaderLocation"
37313
- },
37314
- "format": {
37315
- "discriminator": {
37316
- "mapping": {
37317
- "basic": "#/$defs/BasicFormat",
37318
- "bearer": "#/$defs/BearerFormat",
37319
- "raw": "#/$defs/RawFormat"
37320
- },
37321
- "propertyName": "type"
37322
- },
37323
- "oneOf": [
37324
- {
37325
- "$ref": "#/$defs/BearerFormat"
37326
- },
37327
- {
37328
- "$ref": "#/$defs/BasicFormat"
37329
- },
37330
- {
37331
- "$ref": "#/$defs/RawFormat"
37332
- }
37333
- ],
37334
- "title": "Format"
37335
- }
37336
- },
37337
- "required": [
37338
- "hosts",
37339
- "location",
37340
- "format"
37341
- ],
37342
- "title": "VaultInjection",
37343
- "type": "object"
37344
- }
37345
- }
37346
- },
37347
- "target": {
37348
- "type": "vault",
37349
- "input_pointer": "/vault_id"
37350
- },
37351
- "additional_checks": [],
37352
- "effect": "read",
37353
- "result_kind": "inline",
37354
- "error_codes": [
37355
- "resource_not_found"
37356
- ],
37357
- "digest": "sha256:78172cbf9b4b9a5ea41a97f9073111f775a8f13e7c3d4b7a1c20503f3f156e84"
37358
- },
37359
- {
37360
- "name": "zo.vault.list",
37361
- "version": 1,
37362
- "publisher": "zo",
37363
- "description": "List the vaults the caller can read in a workspace.",
37364
- "input_schema": {
37365
- "additionalProperties": false,
37366
- "properties": {
37367
- "workspace_id": {
37368
- "maxLength": 200,
37369
- "minLength": 1,
37370
- "title": "Workspace Id",
37371
- "type": "string"
37372
- }
37373
- },
37374
- "required": [
37375
- "workspace_id"
37376
- ],
37377
- "title": "VaultListInput",
37378
- "type": "object"
37379
- },
37380
- "output_schema": {
37381
- "additionalProperties": false,
37382
- "properties": {
37383
- "vaults": {
37384
- "items": {
37385
- "$ref": "#/$defs/VaultView"
37386
- },
37387
- "title": "Vaults",
37388
- "type": "array"
37389
- },
37390
- "next_cursor": {
37391
- "anyOf": [
37392
- {
37393
- "type": "string"
37394
- },
37395
- {
37396
- "type": "null"
37397
- }
37398
- ],
37399
- "title": "Next Cursor"
37400
- }
37401
- },
37402
- "required": [
37403
- "vaults",
37404
- "next_cursor"
37405
- ],
37406
- "title": "VaultListOutput",
37407
- "type": "object",
37408
- "$defs": {
37409
- "BasicFormat": {
37410
- "additionalProperties": false,
37411
- "properties": {
37412
- "type": {
37413
- "const": "basic",
37414
- "description": "`Basic` with base64 of `<username>:<value>`.",
37415
- "title": "Type",
37416
- "type": "string"
37417
- },
37418
- "username": {
37419
- "pattern": "^[^:]{1,256}$",
37420
- "title": "Username",
37421
- "type": "string"
37422
- }
37423
- },
37424
- "required": [
37425
- "type",
37426
- "username"
37427
- ],
37428
- "title": "BasicFormat",
37429
- "type": "object"
37430
- },
37431
- "BearerFormat": {
37432
- "additionalProperties": false,
37433
- "properties": {
37434
- "type": {
37435
- "const": "bearer",
37436
- "description": "`Bearer <value>`.",
37437
- "title": "Type",
37438
- "type": "string"
37439
- }
37440
- },
37441
- "required": [
37442
- "type"
37443
- ],
37444
- "title": "BearerFormat",
37445
- "type": "object"
37446
- },
37447
- "HeaderLocation": {
37448
- "additionalProperties": false,
37449
- "properties": {
37450
- "type": {
37451
- "const": "header",
37452
- "title": "Type",
37453
- "type": "string"
37454
- },
37455
- "name": {
37456
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
37457
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
37458
- "title": "Name",
37459
- "type": "string"
37460
- }
37461
- },
37462
- "required": [
37463
- "type",
37464
- "name"
37465
- ],
37466
- "title": "HeaderLocation",
37467
- "type": "object"
37468
- },
37469
- "RawFormat": {
37470
- "additionalProperties": false,
37471
- "properties": {
37472
- "type": {
37473
- "const": "raw",
37474
- "description": "The value as it is.",
37475
- "title": "Type",
37476
- "type": "string"
37477
- }
37478
- },
37479
- "required": [
37480
- "type"
37481
- ],
37482
- "title": "RawFormat",
37483
- "type": "object"
37484
- },
37485
- "VaultInjection": {
37486
- "additionalProperties": false,
37487
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
37488
- "properties": {
37489
- "hosts": {
37490
- "items": {
37491
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
37492
- "maxLength": 253,
37493
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
37494
- "type": "string"
37495
- },
37496
- "maxItems": 20,
37497
- "minItems": 1,
37498
- "title": "Hosts",
37499
- "type": "array"
37500
- },
37501
- "location": {
37502
- "$ref": "#/$defs/HeaderLocation"
37503
- },
37504
- "format": {
37505
- "discriminator": {
37506
- "mapping": {
37507
- "basic": "#/$defs/BasicFormat",
37508
- "bearer": "#/$defs/BearerFormat",
37509
- "raw": "#/$defs/RawFormat"
37510
- },
37511
- "propertyName": "type"
37512
- },
37513
- "oneOf": [
37514
- {
37515
- "$ref": "#/$defs/BearerFormat"
37516
- },
37517
- {
37518
- "$ref": "#/$defs/BasicFormat"
37519
- },
37520
- {
37521
- "$ref": "#/$defs/RawFormat"
37522
- }
37523
- ],
37524
- "title": "Format"
37525
- }
37526
- },
37527
- "required": [
37528
- "hosts",
37529
- "location",
37530
- "format"
37531
- ],
37532
- "title": "VaultInjection",
37533
- "type": "object"
37534
- },
37535
- "VaultView": {
37536
- "additionalProperties": false,
37537
- "description": "A vault's registry envelope and settings. Never its value.",
37538
- "properties": {
37539
- "id": {
37540
- "title": "Id",
37541
- "type": "string"
37542
- },
37543
- "workspace_id": {
37544
- "title": "Workspace Id",
37545
- "type": "string"
37546
- },
37547
- "type": {
37548
- "const": "vault",
37549
- "title": "Type",
37550
- "type": "string"
37551
- },
37552
- "type_version": {
37553
- "const": 1,
37554
- "title": "Type Version",
37555
- "type": "integer"
37556
- },
37557
- "display_name": {
37558
- "title": "Display Name",
37559
- "type": "string"
37560
- },
37561
- "description": {
37562
- "title": "Description",
37563
- "type": "string"
37564
- },
37565
- "visibility": {
37566
- "enum": [
37567
- "workspace",
37568
- "protected"
37569
- ],
37570
- "title": "Visibility",
37571
- "type": "string"
37572
- },
37573
- "owner_user_id": {
37574
- "anyOf": [
37575
- {
37576
- "type": "string"
37577
- },
37578
- {
37579
- "type": "null"
37580
- }
37581
- ],
37582
- "title": "Owner User Id"
37583
- },
37584
- "revision": {
37585
- "exclusiveMinimum": 0,
37586
- "maximum": 9007199254740991,
37587
- "title": "Revision",
37588
- "type": "integer"
37589
- },
37590
- "created_at": {
37591
- "title": "Created At",
37592
- "type": "string"
37593
- },
37594
- "updated_at": {
37595
- "title": "Updated At",
37596
- "type": "string"
37597
- },
37598
- "environment_variable": {
37599
- "anyOf": [
37600
- {
37601
- "type": "string"
37602
- },
37603
- {
37604
- "type": "null"
37605
- }
37606
- ],
37607
- "description": "The environment variable name a machine gets the value under, or null for none.",
37608
- "title": "Environment Variable"
37609
- },
37610
- "injections": {
37611
- "items": {
37612
- "$ref": "#/$defs/VaultInjection"
37613
- },
37614
- "title": "Injections",
37615
- "type": "array"
37616
- },
37617
- "value_updated_at": {
37618
- "description": "When the current value was stored, at create or the last rotate.",
37619
- "title": "Value Updated At",
37620
- "type": "string"
37621
- }
37622
- },
37623
- "required": [
37624
- "id",
37625
- "workspace_id",
37626
- "type",
37627
- "type_version",
37628
- "display_name",
37629
- "description",
37630
- "visibility",
37631
- "owner_user_id",
37632
- "revision",
37633
- "created_at",
37634
- "updated_at",
37635
- "environment_variable",
37636
- "injections",
37637
- "value_updated_at"
37638
- ],
37639
- "title": "VaultView",
37640
- "type": "object"
37641
- }
37642
- }
37643
- },
37644
- "target": {
37645
- "type": "workspace",
37646
- "input_pointer": "/workspace_id"
37647
- },
37648
- "additional_checks": [],
37649
- "effect": "read",
37650
- "result_kind": "inline",
37651
- "error_codes": [
37652
- "invalid_cursor"
37653
- ],
37654
- "digest": "sha256:451cd7005b562af6de1d381a81d57e54bba8def1db9e7c86134c28ed85dab6e4"
37655
- },
37656
- {
37657
- "name": "zo.vault.rotate",
37658
- "version": 1,
37659
- "publisher": "zo",
37660
- "description": "Replace a vault's value. The previous value is destroyed.",
37661
- "input_schema": {
37662
- "additionalProperties": false,
37663
- "properties": {
37664
- "vault_id": {
37665
- "maxLength": 200,
37666
- "minLength": 1,
37667
- "title": "Vault Id",
37668
- "type": "string"
37669
- },
37670
- "expected_revision": {
37671
- "exclusiveMinimum": 0,
37672
- "maximum": 9007199254740991,
37673
- "title": "Expected Revision",
37674
- "type": "integer"
37675
- },
37676
- "value": {
37677
- "description": "Secret: the credential. Stored sealed and never returned.",
37678
- "maxLength": 16384,
37679
- "minLength": 1,
37680
- "title": "Value",
37681
- "type": "string"
37682
- }
37683
- },
37684
- "required": [
37685
- "vault_id",
37686
- "expected_revision",
37687
- "value"
37688
- ],
37689
- "title": "VaultRotateInput",
37690
- "type": "object"
37691
- },
37692
- "output_schema": {
37693
- "additionalProperties": false,
37694
- "description": "A vault's registry envelope and settings. Never its value.",
37695
- "properties": {
37696
- "id": {
37697
- "title": "Id",
37698
- "type": "string"
37699
- },
37700
- "workspace_id": {
37701
- "title": "Workspace Id",
37702
- "type": "string"
37703
- },
37704
- "type": {
37705
- "const": "vault",
37706
- "title": "Type",
37707
- "type": "string"
37708
- },
37709
- "type_version": {
37710
- "const": 1,
37711
- "title": "Type Version",
37712
- "type": "integer"
37713
- },
37714
- "display_name": {
37715
- "title": "Display Name",
37716
- "type": "string"
37717
- },
37718
- "description": {
37719
- "title": "Description",
37720
- "type": "string"
37721
- },
37722
- "visibility": {
37723
- "enum": [
37724
- "workspace",
37725
- "protected"
37726
- ],
37727
- "title": "Visibility",
37728
- "type": "string"
37729
- },
37730
- "owner_user_id": {
37731
- "anyOf": [
37732
- {
37733
- "type": "string"
37734
- },
37735
- {
37736
- "type": "null"
37737
- }
37738
- ],
37739
- "title": "Owner User Id"
37740
- },
37741
- "revision": {
37742
- "exclusiveMinimum": 0,
37743
- "maximum": 9007199254740991,
37744
- "title": "Revision",
37745
- "type": "integer"
37746
- },
37747
- "created_at": {
37748
- "title": "Created At",
37749
- "type": "string"
37750
- },
37751
- "updated_at": {
37752
- "title": "Updated At",
37753
- "type": "string"
37754
- },
37755
- "environment_variable": {
37756
- "anyOf": [
37757
- {
37758
- "type": "string"
37759
- },
37760
- {
37761
- "type": "null"
37762
- }
37763
- ],
37764
- "description": "The environment variable name a machine gets the value under, or null for none.",
37765
- "title": "Environment Variable"
37766
- },
37767
- "injections": {
37768
- "items": {
37769
- "$ref": "#/$defs/VaultInjection"
37770
- },
37771
- "title": "Injections",
37772
- "type": "array"
37773
- },
37774
- "value_updated_at": {
37775
- "description": "When the current value was stored, at create or the last rotate.",
37776
- "title": "Value Updated At",
37777
- "type": "string"
37778
- }
37779
- },
37780
- "required": [
37781
- "id",
37782
- "workspace_id",
37783
- "type",
37784
- "type_version",
37785
- "display_name",
37786
- "description",
37787
- "visibility",
37788
- "owner_user_id",
37789
- "revision",
37790
- "created_at",
37791
- "updated_at",
37792
- "environment_variable",
37793
- "injections",
37794
- "value_updated_at"
37795
- ],
37796
- "title": "VaultView",
37797
- "type": "object",
37798
- "$defs": {
37799
- "BasicFormat": {
37800
- "additionalProperties": false,
37801
- "properties": {
37802
- "type": {
37803
- "const": "basic",
37804
- "description": "`Basic` with base64 of `<username>:<value>`.",
37805
- "title": "Type",
37806
- "type": "string"
37807
- },
37808
- "username": {
37809
- "pattern": "^[^:]{1,256}$",
37810
- "title": "Username",
37811
- "type": "string"
37812
- }
37813
- },
37814
- "required": [
37815
- "type",
37816
- "username"
37817
- ],
37818
- "title": "BasicFormat",
37819
- "type": "object"
37820
- },
37821
- "BearerFormat": {
37822
- "additionalProperties": false,
37823
- "properties": {
37824
- "type": {
37825
- "const": "bearer",
37826
- "description": "`Bearer <value>`.",
37827
- "title": "Type",
37828
- "type": "string"
37829
- }
37830
- },
37831
- "required": [
37832
- "type"
37833
- ],
37834
- "title": "BearerFormat",
37835
- "type": "object"
37836
- },
37837
- "HeaderLocation": {
37838
- "additionalProperties": false,
37839
- "properties": {
37840
- "type": {
37841
- "const": "header",
37842
- "title": "Type",
37843
- "type": "string"
37844
- },
37845
- "name": {
37846
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
37847
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
37848
- "title": "Name",
37849
- "type": "string"
37850
- }
37851
- },
37852
- "required": [
37853
- "type",
37854
- "name"
37855
- ],
37856
- "title": "HeaderLocation",
37857
- "type": "object"
37858
- },
37859
- "RawFormat": {
37860
- "additionalProperties": false,
37861
- "properties": {
37862
- "type": {
37863
- "const": "raw",
37864
- "description": "The value as it is.",
37865
- "title": "Type",
37866
- "type": "string"
37867
- }
37868
- },
37869
- "required": [
37870
- "type"
37871
- ],
37872
- "title": "RawFormat",
37873
- "type": "object"
37874
- },
37875
- "VaultInjection": {
37876
- "additionalProperties": false,
37877
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
37878
- "properties": {
37879
- "hosts": {
37880
- "items": {
37881
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
37882
- "maxLength": 253,
37883
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
37884
- "type": "string"
37885
- },
37886
- "maxItems": 20,
37887
- "minItems": 1,
37888
- "title": "Hosts",
37889
- "type": "array"
37890
- },
37891
- "location": {
37892
- "$ref": "#/$defs/HeaderLocation"
37893
- },
37894
- "format": {
37895
- "discriminator": {
37896
- "mapping": {
37897
- "basic": "#/$defs/BasicFormat",
37898
- "bearer": "#/$defs/BearerFormat",
37899
- "raw": "#/$defs/RawFormat"
37900
- },
37901
- "propertyName": "type"
37902
- },
37903
- "oneOf": [
37904
- {
37905
- "$ref": "#/$defs/BearerFormat"
37906
- },
37907
- {
37908
- "$ref": "#/$defs/BasicFormat"
37909
- },
37910
- {
37911
- "$ref": "#/$defs/RawFormat"
37912
- }
37913
- ],
37914
- "title": "Format"
37915
- }
37916
- },
37917
- "required": [
37918
- "hosts",
37919
- "location",
37920
- "format"
37921
- ],
37922
- "title": "VaultInjection",
37923
- "type": "object"
37924
- }
37925
- }
37926
- },
37927
- "target": {
37928
- "type": "vault",
37929
- "input_pointer": "/vault_id"
37930
- },
37931
- "additional_checks": [],
37932
- "effect": "manage",
37933
- "result_kind": "inline",
37934
- "error_codes": [
37935
- "invalid_input",
37936
- "conflict",
37937
- "permission_denied",
37938
- "resource_not_found",
37939
- "implementation_unavailable"
37940
- ],
37941
- "digest": "sha256:93570595ef11a357f7cdb50c7f4b8d24a1fc36f9d678cb59627abeb1fa7cff6e"
37942
- },
37943
- {
37944
- "name": "zo.vault.update",
37945
- "version": 1,
37946
- "publisher": "zo",
37947
- "description": "Change a vault's name, description, environment variable or injections against its current revision.",
37948
- "input_schema": {
37949
- "additionalProperties": false,
37950
- "description": "Omitted fields keep their value; ``injections`` replaces the whole list.",
37951
- "properties": {
37952
- "vault_id": {
37953
- "maxLength": 200,
37954
- "minLength": 1,
37955
- "title": "Vault Id",
37956
- "type": "string"
37957
- },
37958
- "expected_revision": {
37959
- "exclusiveMinimum": 0,
37960
- "maximum": 9007199254740991,
37961
- "title": "Expected Revision",
37962
- "type": "integer"
37963
- },
37964
- "display_name": {
37965
- "anyOf": [
37966
- {
37967
- "maxLength": 256,
37968
- "minLength": 1,
37969
- "type": "string"
37970
- },
37971
- {
37972
- "type": "null"
37973
- }
37974
- ],
37975
- "default": null,
37976
- "title": "Display Name"
37977
- },
37978
- "description": {
37979
- "anyOf": [
37980
- {
37981
- "maxLength": 2000,
37982
- "type": "string"
37983
- },
37984
- {
37985
- "type": "null"
37986
- }
37987
- ],
37988
- "default": null,
37989
- "description": "`\"\"` clears the description.",
37990
- "title": "Description"
37991
- },
37992
- "environment_variable": {
37993
- "anyOf": [
37994
- {
37995
- "pattern": "^([A-Z_][A-Z0-9_]{0,127})?$",
37996
- "type": "string"
37997
- },
37998
- {
37999
- "type": "null"
38000
- }
38001
- ],
38002
- "default": null,
38003
- "description": "`\"\"` clears the variable.",
38004
- "title": "Environment Variable"
38005
- },
38006
- "injections": {
38007
- "anyOf": [
38008
- {
38009
- "items": {
38010
- "$ref": "#/$defs/VaultInjection"
38011
- },
38012
- "maxItems": 10,
38013
- "type": "array"
38014
- },
38015
- {
38016
- "type": "null"
38017
- }
38018
- ],
38019
- "default": null,
38020
- "title": "Injections"
38021
- }
38022
- },
38023
- "required": [
38024
- "vault_id",
38025
- "expected_revision"
38026
- ],
38027
- "title": "VaultUpdateInput",
38028
- "type": "object",
38029
- "$defs": {
38030
- "BasicFormat": {
38031
- "additionalProperties": false,
38032
- "properties": {
38033
- "type": {
38034
- "const": "basic",
38035
- "description": "`Basic` with base64 of `<username>:<value>`.",
38036
- "title": "Type",
38037
- "type": "string"
38038
- },
38039
- "username": {
38040
- "pattern": "^[^:]{1,256}$",
38041
- "title": "Username",
38042
- "type": "string"
38043
- }
38044
- },
38045
- "required": [
38046
- "type",
38047
- "username"
38048
- ],
38049
- "title": "BasicFormat",
38050
- "type": "object"
38051
- },
38052
- "BearerFormat": {
38053
- "additionalProperties": false,
38054
- "properties": {
38055
- "type": {
38056
- "const": "bearer",
38057
- "description": "`Bearer <value>`.",
38058
- "title": "Type",
38059
- "type": "string"
38060
- }
38061
- },
38062
- "required": [
38063
- "type"
38064
- ],
38065
- "title": "BearerFormat",
38066
- "type": "object"
38067
- },
38068
- "HeaderLocation": {
38069
- "additionalProperties": false,
38070
- "properties": {
38071
- "type": {
38072
- "const": "header",
38073
- "title": "Type",
38074
- "type": "string"
38075
- },
38076
- "name": {
38077
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
38078
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
38079
- "title": "Name",
38080
- "type": "string"
38081
- }
38082
- },
38083
- "required": [
38084
- "type",
38085
- "name"
38086
- ],
38087
- "title": "HeaderLocation",
38088
- "type": "object"
38089
- },
38090
- "RawFormat": {
38091
- "additionalProperties": false,
38092
- "properties": {
38093
- "type": {
38094
- "const": "raw",
38095
- "description": "The value as it is.",
38096
- "title": "Type",
38097
- "type": "string"
38098
- }
38099
- },
38100
- "required": [
38101
- "type"
38102
- ],
38103
- "title": "RawFormat",
38104
- "type": "object"
38105
- },
38106
- "VaultInjection": {
38107
- "additionalProperties": false,
38108
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
38109
- "properties": {
38110
- "hosts": {
38111
- "items": {
38112
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
38113
- "maxLength": 253,
38114
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
38115
- "type": "string"
38116
- },
38117
- "maxItems": 20,
38118
- "minItems": 1,
38119
- "title": "Hosts",
38120
- "type": "array"
38121
- },
38122
- "location": {
38123
- "$ref": "#/$defs/HeaderLocation"
38124
- },
38125
- "format": {
38126
- "discriminator": {
38127
- "mapping": {
38128
- "basic": "#/$defs/BasicFormat",
38129
- "bearer": "#/$defs/BearerFormat",
38130
- "raw": "#/$defs/RawFormat"
38131
- },
38132
- "propertyName": "type"
38133
- },
38134
- "oneOf": [
38135
- {
38136
- "$ref": "#/$defs/BearerFormat"
38137
- },
38138
- {
38139
- "$ref": "#/$defs/BasicFormat"
38140
- },
38141
- {
38142
- "$ref": "#/$defs/RawFormat"
38143
- }
38144
- ],
38145
- "title": "Format"
38146
- }
38147
- },
38148
- "required": [
38149
- "hosts",
38150
- "location",
38151
- "format"
38152
- ],
38153
- "title": "VaultInjection",
38154
- "type": "object"
38155
- }
38156
- }
38157
- },
38158
- "output_schema": {
38159
- "additionalProperties": false,
38160
- "description": "A vault's registry envelope and settings. Never its value.",
38161
- "properties": {
38162
- "id": {
38163
- "title": "Id",
38164
- "type": "string"
38165
- },
38166
- "workspace_id": {
38167
- "title": "Workspace Id",
38168
- "type": "string"
38169
- },
38170
- "type": {
38171
- "const": "vault",
38172
- "title": "Type",
38173
- "type": "string"
38174
- },
38175
- "type_version": {
38176
- "const": 1,
38177
- "title": "Type Version",
38178
- "type": "integer"
38179
- },
38180
- "display_name": {
38181
- "title": "Display Name",
38182
- "type": "string"
38183
- },
38184
- "description": {
38185
- "title": "Description",
38186
- "type": "string"
38187
- },
38188
- "visibility": {
38189
- "enum": [
38190
- "workspace",
38191
- "protected"
38192
- ],
38193
- "title": "Visibility",
38194
- "type": "string"
38195
- },
38196
- "owner_user_id": {
38197
- "anyOf": [
38198
- {
38199
- "type": "string"
38200
- },
38201
- {
38202
- "type": "null"
38203
- }
38204
- ],
38205
- "title": "Owner User Id"
38206
- },
38207
- "revision": {
38208
- "exclusiveMinimum": 0,
38209
- "maximum": 9007199254740991,
38210
- "title": "Revision",
38211
- "type": "integer"
38212
- },
38213
- "created_at": {
38214
- "title": "Created At",
38215
- "type": "string"
38216
- },
38217
- "updated_at": {
38218
- "title": "Updated At",
38219
- "type": "string"
38220
- },
38221
- "environment_variable": {
38222
- "anyOf": [
38223
- {
38224
- "type": "string"
38225
- },
38226
- {
38227
- "type": "null"
38228
- }
38229
- ],
38230
- "description": "The environment variable name a machine gets the value under, or null for none.",
38231
- "title": "Environment Variable"
38232
- },
38233
- "injections": {
38234
- "items": {
38235
- "$ref": "#/$defs/VaultInjection"
38236
- },
38237
- "title": "Injections",
38238
- "type": "array"
38239
- },
38240
- "value_updated_at": {
38241
- "description": "When the current value was stored, at create or the last rotate.",
38242
- "title": "Value Updated At",
38243
- "type": "string"
38244
- }
38245
- },
38246
- "required": [
38247
- "id",
38248
- "workspace_id",
38249
- "type",
38250
- "type_version",
38251
- "display_name",
38252
- "description",
38253
- "visibility",
38254
- "owner_user_id",
38255
- "revision",
38256
- "created_at",
38257
- "updated_at",
38258
- "environment_variable",
38259
- "injections",
38260
- "value_updated_at"
38261
- ],
38262
- "title": "VaultView",
38263
- "type": "object",
38264
- "$defs": {
38265
- "BasicFormat": {
38266
- "additionalProperties": false,
38267
- "properties": {
38268
- "type": {
38269
- "const": "basic",
38270
- "description": "`Basic` with base64 of `<username>:<value>`.",
38271
- "title": "Type",
38272
- "type": "string"
38273
- },
38274
- "username": {
38275
- "pattern": "^[^:]{1,256}$",
38276
- "title": "Username",
38277
- "type": "string"
38278
- }
38279
- },
38280
- "required": [
38281
- "type",
38282
- "username"
38283
- ],
38284
- "title": "BasicFormat",
38285
- "type": "object"
38286
- },
38287
- "BearerFormat": {
38288
- "additionalProperties": false,
38289
- "properties": {
38290
- "type": {
38291
- "const": "bearer",
38292
- "description": "`Bearer <value>`.",
38293
- "title": "Type",
38294
- "type": "string"
38295
- }
38296
- },
38297
- "required": [
38298
- "type"
38299
- ],
38300
- "title": "BearerFormat",
38301
- "type": "object"
38302
- },
38303
- "HeaderLocation": {
38304
- "additionalProperties": false,
38305
- "properties": {
38306
- "type": {
38307
- "const": "header",
38308
- "title": "Type",
38309
- "type": "string"
38310
- },
38311
- "name": {
38312
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
38313
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
38314
- "title": "Name",
38315
- "type": "string"
38316
- }
38317
- },
38318
- "required": [
38319
- "type",
38320
- "name"
38321
- ],
38322
- "title": "HeaderLocation",
38323
- "type": "object"
38324
- },
38325
- "RawFormat": {
38326
- "additionalProperties": false,
38327
- "properties": {
38328
- "type": {
38329
- "const": "raw",
38330
- "description": "The value as it is.",
38331
- "title": "Type",
38332
- "type": "string"
38333
- }
38334
- },
38335
- "required": [
38336
- "type"
38337
- ],
38338
- "title": "RawFormat",
38339
- "type": "object"
38340
- },
38341
- "VaultInjection": {
38342
- "additionalProperties": false,
38343
- "description": "Where and how the value is sent on requests to ``hosts``. A host appears\nin at most one entry of a vault's list.",
38344
- "properties": {
38345
- "hosts": {
38346
- "items": {
38347
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
38348
- "maxLength": 253,
38349
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
38350
- "type": "string"
38351
- },
38352
- "maxItems": 20,
38353
- "minItems": 1,
38354
- "title": "Hosts",
38355
- "type": "array"
38356
- },
38357
- "location": {
38358
- "$ref": "#/$defs/HeaderLocation"
38359
- },
38360
- "format": {
38361
- "discriminator": {
38362
- "mapping": {
38363
- "basic": "#/$defs/BasicFormat",
38364
- "bearer": "#/$defs/BearerFormat",
38365
- "raw": "#/$defs/RawFormat"
38366
- },
38367
- "propertyName": "type"
38368
- },
38369
- "oneOf": [
38370
- {
38371
- "$ref": "#/$defs/BearerFormat"
38372
- },
38373
- {
38374
- "$ref": "#/$defs/BasicFormat"
38375
- },
38376
- {
38377
- "$ref": "#/$defs/RawFormat"
38378
- }
38379
- ],
38380
- "title": "Format"
38381
- }
38382
- },
38383
- "required": [
38384
- "hosts",
38385
- "location",
38386
- "format"
38387
- ],
38388
- "title": "VaultInjection",
38389
- "type": "object"
38390
- }
38391
- }
38392
- },
38393
- "target": {
38394
- "type": "vault",
38395
- "input_pointer": "/vault_id"
38396
- },
38397
- "additional_checks": [],
38398
- "effect": "manage",
38399
- "result_kind": "inline",
38400
- "error_codes": [
38401
- "invalid_input",
38402
- "conflict",
38403
- "permission_denied",
38404
- "resource_not_found"
38405
- ],
38406
- "digest": "sha256:80aa675da723e68f10b88b4f1663724a0c3e8f3ba11399b420c88cdcb7430d53"
38407
- },
38408
37104
  {
38409
37105
  "name": "zo.web.fetch",
38410
37106
  "version": 1,
@@ -38951,6 +37647,15 @@
38951
37647
  ],
38952
37648
  "title": "Visibility",
38953
37649
  "type": "string"
37650
+ },
37651
+ "access": {
37652
+ "default": "public",
37653
+ "enum": [
37654
+ "public",
37655
+ "authenticated"
37656
+ ],
37657
+ "title": "Access",
37658
+ "type": "string"
38954
37659
  }
38955
37660
  },
38956
37661
  "required": [
@@ -38999,224 +37704,230 @@
38999
37704
  ]
39000
37705
  },
39001
37706
  "access": {
39002
- "const": "public",
39003
- "title": "Access",
39004
- "type": "string"
39005
- },
39006
- "revision": {
39007
- "exclusiveMinimum": 0,
39008
- "maximum": 9007199254740991,
39009
- "title": "Revision",
39010
- "type": "integer"
39011
- },
39012
- "visibility": {
39013
37707
  "enum": [
39014
- "workspace",
39015
- "protected"
39016
- ],
39017
- "title": "Visibility",
39018
- "type": "string"
39019
- },
39020
- "owner_user_id": {
39021
- "anyOf": [
39022
- {
39023
- "type": "string"
39024
- },
39025
- {
39026
- "type": "null"
39027
- }
39028
- ],
39029
- "title": "Owner User Id"
39030
- },
39031
- "created_at": {
39032
- "title": "Created At",
39033
- "type": "string"
39034
- },
39035
- "updated_at": {
39036
- "title": "Updated At",
39037
- "type": "string"
39038
- }
39039
- },
39040
- "required": [
39041
- "id",
39042
- "workspace_id",
39043
- "slug",
39044
- "display_name",
39045
- "description",
39046
- "generated_hostname",
39047
- "custom_hostname",
39048
- "access",
39049
- "revision",
39050
- "visibility",
39051
- "owner_user_id",
39052
- "created_at",
39053
- "updated_at"
39054
- ],
39055
- "title": "Website",
39056
- "type": "object",
39057
- "$defs": {
39058
- "WebsiteHostname": {
39059
- "additionalProperties": false,
39060
- "properties": {
39061
- "hostname": {
39062
- "title": "Hostname",
39063
- "type": "string"
39064
- },
39065
- "state": {
39066
- "enum": [
39067
- "pending_dns",
39068
- "pending_ssl",
39069
- "active",
39070
- "released"
39071
- ],
39072
- "title": "State",
39073
- "type": "string"
39074
- }
39075
- },
39076
- "required": [
39077
- "hostname",
39078
- "state"
37708
+ "public",
37709
+ "authenticated"
37710
+ ],
37711
+ "title": "Access",
37712
+ "type": "string"
37713
+ },
37714
+ "revision": {
37715
+ "exclusiveMinimum": 0,
37716
+ "maximum": 9007199254740991,
37717
+ "title": "Revision",
37718
+ "type": "integer"
37719
+ },
37720
+ "visibility": {
37721
+ "enum": [
37722
+ "workspace",
37723
+ "protected"
37724
+ ],
37725
+ "title": "Visibility",
37726
+ "type": "string"
37727
+ },
37728
+ "owner_user_id": {
37729
+ "anyOf": [
37730
+ {
37731
+ "type": "string"
37732
+ },
37733
+ {
37734
+ "type": "null"
37735
+ }
37736
+ ],
37737
+ "title": "Owner User Id"
37738
+ },
37739
+ "created_at": {
37740
+ "title": "Created At",
37741
+ "type": "string"
37742
+ },
37743
+ "updated_at": {
37744
+ "title": "Updated At",
37745
+ "type": "string"
37746
+ }
37747
+ },
37748
+ "required": [
37749
+ "id",
37750
+ "workspace_id",
37751
+ "slug",
37752
+ "display_name",
37753
+ "description",
37754
+ "generated_hostname",
37755
+ "custom_hostname",
37756
+ "access",
37757
+ "revision",
37758
+ "visibility",
37759
+ "owner_user_id",
37760
+ "created_at",
37761
+ "updated_at"
37762
+ ],
37763
+ "title": "Website",
37764
+ "type": "object",
37765
+ "$defs": {
37766
+ "WebsiteHostname": {
37767
+ "additionalProperties": false,
37768
+ "properties": {
37769
+ "hostname": {
37770
+ "title": "Hostname",
37771
+ "type": "string"
37772
+ },
37773
+ "state": {
37774
+ "enum": [
37775
+ "pending_dns",
37776
+ "pending_ssl",
37777
+ "active",
37778
+ "released"
37779
+ ],
37780
+ "title": "State",
37781
+ "type": "string"
37782
+ }
37783
+ },
37784
+ "required": [
37785
+ "hostname",
37786
+ "state"
37787
+ ],
37788
+ "title": "WebsiteHostname",
37789
+ "type": "object"
37790
+ }
37791
+ }
37792
+ },
37793
+ "target": {
37794
+ "type": "workspace",
37795
+ "input_pointer": "/workspace_id"
37796
+ },
37797
+ "additional_checks": [],
37798
+ "effect": "create",
37799
+ "result_kind": "inline",
37800
+ "error_codes": [
37801
+ "implementation_unavailable",
37802
+ "invalid_input",
37803
+ "conflict"
37804
+ ],
37805
+ "digest": "sha256:8c7b48e80e39d01eb6fa121ba0a2688deba2f2ba7396dee8e3f583d7f6c884ff"
37806
+ },
37807
+ {
37808
+ "name": "zo.website.delete",
37809
+ "version": 1,
37810
+ "publisher": "zo",
37811
+ "description": "Delete a Website and retire its routes.",
37812
+ "input_schema": {
37813
+ "additionalProperties": false,
37814
+ "properties": {
37815
+ "website_id": {
37816
+ "maxLength": 200,
37817
+ "minLength": 1,
37818
+ "title": "Website Id",
37819
+ "type": "string"
37820
+ },
37821
+ "expected_revision": {
37822
+ "exclusiveMinimum": 0,
37823
+ "maximum": 9007199254740991,
37824
+ "title": "Expected Revision",
37825
+ "type": "integer"
37826
+ }
37827
+ },
37828
+ "required": [
37829
+ "website_id",
37830
+ "expected_revision"
37831
+ ],
37832
+ "title": "WebsiteRevisionInput",
37833
+ "type": "object"
37834
+ },
37835
+ "output_schema": {
37836
+ "additionalProperties": false,
37837
+ "properties": {
37838
+ "id": {
37839
+ "title": "Id",
37840
+ "type": "string"
37841
+ },
37842
+ "deleted": {
37843
+ "const": true,
37844
+ "title": "Deleted",
37845
+ "type": "boolean"
37846
+ }
37847
+ },
37848
+ "required": [
37849
+ "id",
37850
+ "deleted"
37851
+ ],
37852
+ "title": "Deleted",
37853
+ "type": "object"
37854
+ },
37855
+ "target": {
37856
+ "type": "website",
37857
+ "input_pointer": "/website_id"
37858
+ },
37859
+ "additional_checks": [],
37860
+ "effect": "manage",
37861
+ "result_kind": "inline",
37862
+ "error_codes": [
37863
+ "implementation_unavailable",
37864
+ "conflict"
37865
+ ],
37866
+ "digest": "sha256:2db56e54e0b5566279d44af943774876d9996d525a3dab2b7af47389167ec896"
37867
+ },
37868
+ {
37869
+ "name": "zo.website.get",
37870
+ "version": 1,
37871
+ "publisher": "zo",
37872
+ "description": "Read a Website and its hostname.",
37873
+ "input_schema": {
37874
+ "additionalProperties": false,
37875
+ "properties": {
37876
+ "website_id": {
37877
+ "maxLength": 200,
37878
+ "minLength": 1,
37879
+ "title": "Website Id",
37880
+ "type": "string"
37881
+ }
37882
+ },
37883
+ "required": [
37884
+ "website_id"
37885
+ ],
37886
+ "title": "WebsiteGetInput",
37887
+ "type": "object"
37888
+ },
37889
+ "output_schema": {
37890
+ "additionalProperties": false,
37891
+ "properties": {
37892
+ "id": {
37893
+ "title": "Id",
37894
+ "type": "string"
37895
+ },
37896
+ "workspace_id": {
37897
+ "title": "Workspace Id",
37898
+ "type": "string"
37899
+ },
37900
+ "slug": {
37901
+ "title": "Slug",
37902
+ "type": "string"
37903
+ },
37904
+ "display_name": {
37905
+ "title": "Display Name",
37906
+ "type": "string"
37907
+ },
37908
+ "description": {
37909
+ "title": "Description",
37910
+ "type": "string"
37911
+ },
37912
+ "generated_hostname": {
37913
+ "title": "Generated Hostname",
37914
+ "type": "string"
37915
+ },
37916
+ "custom_hostname": {
37917
+ "anyOf": [
37918
+ {
37919
+ "$ref": "#/$defs/WebsiteHostname"
37920
+ },
37921
+ {
37922
+ "type": "null"
37923
+ }
37924
+ ]
37925
+ },
37926
+ "access": {
37927
+ "enum": [
37928
+ "public",
37929
+ "authenticated"
39079
37930
  ],
39080
- "title": "WebsiteHostname",
39081
- "type": "object"
39082
- }
39083
- }
39084
- },
39085
- "target": {
39086
- "type": "workspace",
39087
- "input_pointer": "/workspace_id"
39088
- },
39089
- "additional_checks": [],
39090
- "effect": "create",
39091
- "result_kind": "inline",
39092
- "error_codes": [
39093
- "implementation_unavailable",
39094
- "invalid_input",
39095
- "conflict"
39096
- ],
39097
- "digest": "sha256:2b3ecdf8b5a8943b54adc1cb3edd6d55bbd2b50f9306d626cea73157ef84f379"
39098
- },
39099
- {
39100
- "name": "zo.website.delete",
39101
- "version": 1,
39102
- "publisher": "zo",
39103
- "description": "Delete a Website and retire its routes.",
39104
- "input_schema": {
39105
- "additionalProperties": false,
39106
- "properties": {
39107
- "website_id": {
39108
- "maxLength": 200,
39109
- "minLength": 1,
39110
- "title": "Website Id",
39111
- "type": "string"
39112
- },
39113
- "expected_revision": {
39114
- "exclusiveMinimum": 0,
39115
- "maximum": 9007199254740991,
39116
- "title": "Expected Revision",
39117
- "type": "integer"
39118
- }
39119
- },
39120
- "required": [
39121
- "website_id",
39122
- "expected_revision"
39123
- ],
39124
- "title": "WebsiteRevisionInput",
39125
- "type": "object"
39126
- },
39127
- "output_schema": {
39128
- "additionalProperties": false,
39129
- "properties": {
39130
- "id": {
39131
- "title": "Id",
39132
- "type": "string"
39133
- },
39134
- "deleted": {
39135
- "const": true,
39136
- "title": "Deleted",
39137
- "type": "boolean"
39138
- }
39139
- },
39140
- "required": [
39141
- "id",
39142
- "deleted"
39143
- ],
39144
- "title": "Deleted",
39145
- "type": "object"
39146
- },
39147
- "target": {
39148
- "type": "website",
39149
- "input_pointer": "/website_id"
39150
- },
39151
- "additional_checks": [],
39152
- "effect": "manage",
39153
- "result_kind": "inline",
39154
- "error_codes": [
39155
- "implementation_unavailable",
39156
- "conflict"
39157
- ],
39158
- "digest": "sha256:2db56e54e0b5566279d44af943774876d9996d525a3dab2b7af47389167ec896"
39159
- },
39160
- {
39161
- "name": "zo.website.get",
39162
- "version": 1,
39163
- "publisher": "zo",
39164
- "description": "Read a Website and its hostname.",
39165
- "input_schema": {
39166
- "additionalProperties": false,
39167
- "properties": {
39168
- "website_id": {
39169
- "maxLength": 200,
39170
- "minLength": 1,
39171
- "title": "Website Id",
39172
- "type": "string"
39173
- }
39174
- },
39175
- "required": [
39176
- "website_id"
39177
- ],
39178
- "title": "WebsiteGetInput",
39179
- "type": "object"
39180
- },
39181
- "output_schema": {
39182
- "additionalProperties": false,
39183
- "properties": {
39184
- "id": {
39185
- "title": "Id",
39186
- "type": "string"
39187
- },
39188
- "workspace_id": {
39189
- "title": "Workspace Id",
39190
- "type": "string"
39191
- },
39192
- "slug": {
39193
- "title": "Slug",
39194
- "type": "string"
39195
- },
39196
- "display_name": {
39197
- "title": "Display Name",
39198
- "type": "string"
39199
- },
39200
- "description": {
39201
- "title": "Description",
39202
- "type": "string"
39203
- },
39204
- "generated_hostname": {
39205
- "title": "Generated Hostname",
39206
- "type": "string"
39207
- },
39208
- "custom_hostname": {
39209
- "anyOf": [
39210
- {
39211
- "$ref": "#/$defs/WebsiteHostname"
39212
- },
39213
- {
39214
- "type": "null"
39215
- }
39216
- ]
39217
- },
39218
- "access": {
39219
- "const": "public",
39220
37931
  "title": "Access",
39221
37932
  "type": "string"
39222
37933
  },
@@ -39310,7 +38021,7 @@
39310
38021
  "implementation_unavailable",
39311
38022
  "resource_not_found"
39312
38023
  ],
39313
- "digest": "sha256:69267cde0d466e6011a6f11dc475ea6b7ef928541ecb2ee0f77db72a6d51dd79"
38024
+ "digest": "sha256:e95171ac43bb4bf95e277a4c6777ee8061c728feb119cbfc2354dc45dfb82d49"
39314
38025
  },
39315
38026
  {
39316
38027
  "name": "zo.website.list",
@@ -39541,7 +38252,10 @@
39541
38252
  ]
39542
38253
  },
39543
38254
  "access": {
39544
- "const": "public",
38255
+ "enum": [
38256
+ "public",
38257
+ "authenticated"
38258
+ ],
39545
38259
  "title": "Access",
39546
38260
  "type": "string"
39547
38261
  },
@@ -39672,6 +38386,14 @@
39672
38386
  }
39673
38387
  ],
39674
38388
  "title": "Target"
38389
+ },
38390
+ "access": {
38391
+ "enum": [
38392
+ "public",
38393
+ "authenticated"
38394
+ ],
38395
+ "title": "Access",
38396
+ "type": "string"
39675
38397
  }
39676
38398
  },
39677
38399
  "required": [
@@ -39681,7 +38403,8 @@
39681
38403
  "revision",
39682
38404
  "state",
39683
38405
  "published_at",
39684
- "target"
38406
+ "target",
38407
+ "access"
39685
38408
  ],
39686
38409
  "title": "WebsiteRoute",
39687
38410
  "type": "object"
@@ -39699,7 +38422,7 @@
39699
38422
  "implementation_unavailable",
39700
38423
  "invalid_input"
39701
38424
  ],
39702
- "digest": "sha256:54c7ec12e23d6d642a6b738f23797aacb945e4bafebf4604b15c12ecf70d019f"
38425
+ "digest": "sha256:1acce33b16bd903d94f40273da1785d694f99444facb40e166a061190db1bb74"
39703
38426
  },
39704
38427
  {
39705
38428
  "name": "zo.website.update",
@@ -39759,6 +38482,22 @@
39759
38482
  }
39760
38483
  ],
39761
38484
  "default": null
38485
+ },
38486
+ "access": {
38487
+ "anyOf": [
38488
+ {
38489
+ "enum": [
38490
+ "public",
38491
+ "authenticated"
38492
+ ],
38493
+ "type": "string"
38494
+ },
38495
+ {
38496
+ "type": "null"
38497
+ }
38498
+ ],
38499
+ "default": null,
38500
+ "title": "Access"
39762
38501
  }
39763
38502
  },
39764
38503
  "required": [
@@ -39831,7 +38570,10 @@
39831
38570
  ]
39832
38571
  },
39833
38572
  "access": {
39834
- "const": "public",
38573
+ "enum": [
38574
+ "public",
38575
+ "authenticated"
38576
+ ],
39835
38577
  "title": "Access",
39836
38578
  "type": "string"
39837
38579
  },
@@ -39926,7 +38668,7 @@
39926
38668
  "invalid_input",
39927
38669
  "conflict"
39928
38670
  ],
39929
- "digest": "sha256:6900ed69ecf24c10329a7e4277a228d5d1fa0d68e445e51744e89201d0d675da"
38671
+ "digest": "sha256:99ad2a085bd283d6fee339a8c3c1adf1414065e7f0a5714f0292ba352c9d7655"
39930
38672
  },
39931
38673
  {
39932
38674
  "name": "zo.website_route.create",
@@ -39986,6 +38728,15 @@
39986
38728
  "maxItems": 8,
39987
38729
  "title": "Acknowledge Bound Accounts",
39988
38730
  "type": "array"
38731
+ },
38732
+ "access": {
38733
+ "default": "authenticated",
38734
+ "enum": [
38735
+ "public",
38736
+ "authenticated"
38737
+ ],
38738
+ "title": "Access",
38739
+ "type": "string"
39989
38740
  }
39990
38741
  },
39991
38742
  "required": [
@@ -40185,6 +38936,14 @@
40185
38936
  }
40186
38937
  ],
40187
38938
  "title": "Target"
38939
+ },
38940
+ "access": {
38941
+ "enum": [
38942
+ "public",
38943
+ "authenticated"
38944
+ ],
38945
+ "title": "Access",
38946
+ "type": "string"
40188
38947
  }
40189
38948
  },
40190
38949
  "required": [
@@ -40194,7 +38953,8 @@
40194
38953
  "revision",
40195
38954
  "state",
40196
38955
  "published_at",
40197
- "target"
38956
+ "target",
38957
+ "access"
40198
38958
  ],
40199
38959
  "title": "WebsiteRoute",
40200
38960
  "type": "object",
@@ -40330,7 +39090,7 @@
40330
39090
  "conflict",
40331
39091
  "permission_denied"
40332
39092
  ],
40333
- "digest": "sha256:9dd5792ac451e211437d2e29791df9f95f3bc7e55f5d90dc1d6afdfbc5a25bb8"
39093
+ "digest": "sha256:7e47790fe89cfc69715e870249a89bd770d836ba81b68a6ea5efc889a902bca0"
40334
39094
  },
40335
39095
  {
40336
39096
  "name": "zo.website_route.delete",
@@ -40500,6 +39260,14 @@
40500
39260
  }
40501
39261
  ],
40502
39262
  "title": "Target"
39263
+ },
39264
+ "access": {
39265
+ "enum": [
39266
+ "public",
39267
+ "authenticated"
39268
+ ],
39269
+ "title": "Access",
39270
+ "type": "string"
40503
39271
  }
40504
39272
  },
40505
39273
  "required": [
@@ -40509,7 +39277,8 @@
40509
39277
  "revision",
40510
39278
  "state",
40511
39279
  "published_at",
40512
- "target"
39280
+ "target",
39281
+ "access"
40513
39282
  ],
40514
39283
  "title": "WebsiteRoute",
40515
39284
  "type": "object",
@@ -40643,7 +39412,7 @@
40643
39412
  "implementation_unavailable",
40644
39413
  "resource_not_found"
40645
39414
  ],
40646
- "digest": "sha256:9d186c5f2887ae961c088459bafcbd44b1e46fb3c5daeaddc9d3d251dfa91f3c"
39415
+ "digest": "sha256:6b3a84ac84b6d88ab2d6220266ae425613246fdc9e3100c4ea2f7039114de352"
40647
39416
  },
40648
39417
  {
40649
39418
  "name": "zo.website_route.list",
@@ -40872,6 +39641,14 @@
40872
39641
  }
40873
39642
  ],
40874
39643
  "title": "Target"
39644
+ },
39645
+ "access": {
39646
+ "enum": [
39647
+ "public",
39648
+ "authenticated"
39649
+ ],
39650
+ "title": "Access",
39651
+ "type": "string"
40875
39652
  }
40876
39653
  },
40877
39654
  "required": [
@@ -40881,7 +39658,8 @@
40881
39658
  "revision",
40882
39659
  "state",
40883
39660
  "published_at",
40884
- "target"
39661
+ "target",
39662
+ "access"
40885
39663
  ],
40886
39664
  "title": "WebsiteRoute",
40887
39665
  "type": "object"
@@ -40898,7 +39676,7 @@
40898
39676
  "error_codes": [
40899
39677
  "implementation_unavailable"
40900
39678
  ],
40901
- "digest": "sha256:cdf770225f63cd112b61ccd2d03dab43e4ff3f6efd6f3bd926fade80651f16a0"
39679
+ "digest": "sha256:2385bb19164c328895293e07b28a3217eecdb5261cea316cdab32abb7d399ba2"
40902
39680
  },
40903
39681
  {
40904
39682
  "name": "zo.website_route.publish",
@@ -41007,6 +39785,14 @@
41007
39785
  }
41008
39786
  ],
41009
39787
  "title": "Target"
39788
+ },
39789
+ "access": {
39790
+ "enum": [
39791
+ "public",
39792
+ "authenticated"
39793
+ ],
39794
+ "title": "Access",
39795
+ "type": "string"
41010
39796
  }
41011
39797
  },
41012
39798
  "required": [
@@ -41016,7 +39802,8 @@
41016
39802
  "revision",
41017
39803
  "state",
41018
39804
  "published_at",
41019
- "target"
39805
+ "target",
39806
+ "access"
41020
39807
  ],
41021
39808
  "title": "WebsiteRoute",
41022
39809
  "type": "object",
@@ -41152,7 +39939,7 @@
41152
39939
  "conflict",
41153
39940
  "permission_denied"
41154
39941
  ],
41155
- "digest": "sha256:28b4cf3d5a6a57a8a8337c920c54529de2278d93806bc836c7f44863e7d6e98c"
39942
+ "digest": "sha256:f67678ec3f38d276b70b567b1487eb249772b6442f690ec050b2cfb8af825438"
41156
39943
  },
41157
39944
  {
41158
39945
  "name": "zo.website_route.unpublish",
@@ -41261,6 +40048,14 @@
41261
40048
  }
41262
40049
  ],
41263
40050
  "title": "Target"
40051
+ },
40052
+ "access": {
40053
+ "enum": [
40054
+ "public",
40055
+ "authenticated"
40056
+ ],
40057
+ "title": "Access",
40058
+ "type": "string"
41264
40059
  }
41265
40060
  },
41266
40061
  "required": [
@@ -41270,7 +40065,8 @@
41270
40065
  "revision",
41271
40066
  "state",
41272
40067
  "published_at",
41273
- "target"
40068
+ "target",
40069
+ "access"
41274
40070
  ],
41275
40071
  "title": "WebsiteRoute",
41276
40072
  "type": "object",
@@ -41404,7 +40200,7 @@
41404
40200
  "implementation_unavailable",
41405
40201
  "conflict"
41406
40202
  ],
41407
- "digest": "sha256:b483fb1010a229d4de97eacb9134e86d43e648bb59f96cd83c4d7b90ac0d71f9"
40203
+ "digest": "sha256:c7b4fd53bac6778012f85a13644d30704ffba13cf4767cc87ccf8927f898036a"
41408
40204
  },
41409
40205
  {
41410
40206
  "name": "zo.website_route.update",
@@ -41486,6 +40282,22 @@
41486
40282
  "maxItems": 8,
41487
40283
  "title": "Acknowledge Bound Accounts",
41488
40284
  "type": "array"
40285
+ },
40286
+ "access": {
40287
+ "anyOf": [
40288
+ {
40289
+ "enum": [
40290
+ "public",
40291
+ "authenticated"
40292
+ ],
40293
+ "type": "string"
40294
+ },
40295
+ {
40296
+ "type": "null"
40297
+ }
40298
+ ],
40299
+ "default": null,
40300
+ "title": "Access"
41489
40301
  }
41490
40302
  },
41491
40303
  "required": [
@@ -41684,6 +40496,14 @@
41684
40496
  }
41685
40497
  ],
41686
40498
  "title": "Target"
40499
+ },
40500
+ "access": {
40501
+ "enum": [
40502
+ "public",
40503
+ "authenticated"
40504
+ ],
40505
+ "title": "Access",
40506
+ "type": "string"
41687
40507
  }
41688
40508
  },
41689
40509
  "required": [
@@ -41693,7 +40513,8 @@
41693
40513
  "revision",
41694
40514
  "state",
41695
40515
  "published_at",
41696
- "target"
40516
+ "target",
40517
+ "access"
41697
40518
  ],
41698
40519
  "title": "WebsiteRoute",
41699
40520
  "type": "object",
@@ -41829,7 +40650,7 @@
41829
40650
  "conflict",
41830
40651
  "permission_denied"
41831
40652
  ],
41832
- "digest": "sha256:35ae85e4343e8e223e431b08ec1b6237fcc7bc0cfeb11089105251d40b8c1f8d"
40653
+ "digest": "sha256:7d7b5de1fbfffcd924aa18c8bc2bc8825d6f554bd740a232d7e03362d2799e0e"
41833
40654
  },
41834
40655
  {
41835
40656
  "name": "zo.workflow.activate",
@@ -43354,7 +42175,7 @@
43354
42175
  },
43355
42176
  "output_schema": {
43356
42177
  "additionalProperties": false,
43357
- "description": "A `workspace` resource instance returned by `zo.workspace.get`.\n\n`workspace_id` keeps the resource envelope uniform across types; for a\nworkspace resource it equals `id`.",
42178
+ "description": "A `workspace` resource instance returned by `zo.workspace.get`, with the caller.\n\n`workspace_id` keeps the resource envelope uniform across types; for a\nworkspace resource it equals `id`.",
43358
42179
  "properties": {
43359
42180
  "id": {
43360
42181
  "title": "Id",
@@ -43387,6 +42208,9 @@
43387
42208
  },
43388
42209
  "properties": {
43389
42210
  "$ref": "#/$defs/WorkspaceProperties"
42211
+ },
42212
+ "caller": {
42213
+ "$ref": "#/$defs/WorkspaceCaller"
43390
42214
  }
43391
42215
  },
43392
42216
  "required": [
@@ -43396,11 +42220,261 @@
43396
42220
  "type_version",
43397
42221
  "display_name",
43398
42222
  "revision",
43399
- "properties"
42223
+ "properties",
42224
+ "caller"
43400
42225
  ],
43401
42226
  "title": "WorkspaceResource",
43402
42227
  "type": "object",
43403
42228
  "$defs": {
42229
+ "CallerCredential": {
42230
+ "additionalProperties": false,
42231
+ "description": "The kind of the verified credential and its client facts.",
42232
+ "properties": {
42233
+ "kind": {
42234
+ "enum": [
42235
+ "login",
42236
+ "agent_runner",
42237
+ "function_run",
42238
+ "workflow_run",
42239
+ "client_credentials",
42240
+ "authorization_code",
42241
+ "workload",
42242
+ "execution",
42243
+ "delegated",
42244
+ "persisted"
42245
+ ],
42246
+ "title": "Kind",
42247
+ "type": "string"
42248
+ },
42249
+ "client_id": {
42250
+ "title": "Client Id",
42251
+ "type": "string"
42252
+ },
42253
+ "client_kind": {
42254
+ "anyOf": [
42255
+ {
42256
+ "enum": [
42257
+ "account_app",
42258
+ "local_app",
42259
+ "website",
42260
+ "hosted_app",
42261
+ "registered_legacy"
42262
+ ],
42263
+ "type": "string"
42264
+ },
42265
+ {
42266
+ "type": "null"
42267
+ }
42268
+ ],
42269
+ "description": "The OAuth client's kind, from the sign-in an `authorization_code` credential belongs to.",
42270
+ "title": "Client Kind"
42271
+ },
42272
+ "access": {
42273
+ "anyOf": [
42274
+ {
42275
+ "enum": [
42276
+ "act_as_identity",
42277
+ "login_only"
42278
+ ],
42279
+ "type": "string"
42280
+ },
42281
+ {
42282
+ "type": "null"
42283
+ }
42284
+ ],
42285
+ "description": "What an `authorization_code` credential may do.",
42286
+ "title": "Access"
42287
+ }
42288
+ },
42289
+ "required": [
42290
+ "kind",
42291
+ "client_id",
42292
+ "client_kind",
42293
+ "access"
42294
+ ],
42295
+ "title": "CallerCredential",
42296
+ "type": "object"
42297
+ },
42298
+ "CallerIdentity": {
42299
+ "additionalProperties": false,
42300
+ "description": "A verified identity of the request: its type, ID and current display name.",
42301
+ "properties": {
42302
+ "type": {
42303
+ "enum": [
42304
+ "user",
42305
+ "agent",
42306
+ "function",
42307
+ "service",
42308
+ "machine",
42309
+ "service_account",
42310
+ "workflow"
42311
+ ],
42312
+ "title": "Type",
42313
+ "type": "string"
42314
+ },
42315
+ "id": {
42316
+ "title": "Id",
42317
+ "type": "string"
42318
+ },
42319
+ "display_name": {
42320
+ "anyOf": [
42321
+ {
42322
+ "type": "string"
42323
+ },
42324
+ {
42325
+ "type": "null"
42326
+ }
42327
+ ],
42328
+ "description": "A person's full name or a resource's display name; never an email.",
42329
+ "title": "Display Name"
42330
+ }
42331
+ },
42332
+ "required": [
42333
+ "type",
42334
+ "id",
42335
+ "display_name"
42336
+ ],
42337
+ "title": "CallerIdentity",
42338
+ "type": "object"
42339
+ },
42340
+ "CallerPerson": {
42341
+ "additionalProperties": false,
42342
+ "description": "A person, by user ID and current full name.",
42343
+ "properties": {
42344
+ "user_id": {
42345
+ "title": "User Id",
42346
+ "type": "string"
42347
+ },
42348
+ "display_name": {
42349
+ "anyOf": [
42350
+ {
42351
+ "type": "string"
42352
+ },
42353
+ {
42354
+ "type": "null"
42355
+ }
42356
+ ],
42357
+ "title": "Display Name"
42358
+ }
42359
+ },
42360
+ "required": [
42361
+ "user_id",
42362
+ "display_name"
42363
+ ],
42364
+ "title": "CallerPerson",
42365
+ "type": "object"
42366
+ },
42367
+ "CallerRelatedPerson": {
42368
+ "additionalProperties": false,
42369
+ "description": "The person this request relates to and how: as its principal, its policy\nauthority, its initiator, or the owner of its protected principal.",
42370
+ "properties": {
42371
+ "user_id": {
42372
+ "title": "User Id",
42373
+ "type": "string"
42374
+ },
42375
+ "display_name": {
42376
+ "anyOf": [
42377
+ {
42378
+ "type": "string"
42379
+ },
42380
+ {
42381
+ "type": "null"
42382
+ }
42383
+ ],
42384
+ "title": "Display Name"
42385
+ },
42386
+ "relationship": {
42387
+ "enum": [
42388
+ "principal",
42389
+ "authority",
42390
+ "initiator",
42391
+ "owner"
42392
+ ],
42393
+ "title": "Relationship",
42394
+ "type": "string"
42395
+ }
42396
+ },
42397
+ "required": [
42398
+ "user_id",
42399
+ "display_name",
42400
+ "relationship"
42401
+ ],
42402
+ "title": "CallerRelatedPerson",
42403
+ "type": "object"
42404
+ },
42405
+ "WorkspaceCaller": {
42406
+ "additionalProperties": false,
42407
+ "description": "Who is calling, from the verified credential. `authorizes_as` is the\nidentity policy decided for; `initiated_by` and `owner` are attribution and\ngrant no permission.",
42408
+ "properties": {
42409
+ "principal": {
42410
+ "$ref": "#/$defs/CallerIdentity"
42411
+ },
42412
+ "authorizes_as": {
42413
+ "$ref": "#/$defs/CallerIdentity"
42414
+ },
42415
+ "initiated_by": {
42416
+ "anyOf": [
42417
+ {
42418
+ "$ref": "#/$defs/CallerIdentity"
42419
+ },
42420
+ {
42421
+ "type": "null"
42422
+ }
42423
+ ]
42424
+ },
42425
+ "owner": {
42426
+ "anyOf": [
42427
+ {
42428
+ "$ref": "#/$defs/CallerPerson"
42429
+ },
42430
+ {
42431
+ "type": "null"
42432
+ }
42433
+ ],
42434
+ "description": "The owner of a protected resource principal."
42435
+ },
42436
+ "person": {
42437
+ "anyOf": [
42438
+ {
42439
+ "$ref": "#/$defs/CallerRelatedPerson"
42440
+ },
42441
+ {
42442
+ "type": "null"
42443
+ }
42444
+ ]
42445
+ },
42446
+ "credential": {
42447
+ "$ref": "#/$defs/CallerCredential"
42448
+ },
42449
+ "workspace_membership": {
42450
+ "anyOf": [
42451
+ {
42452
+ "enum": [
42453
+ "owner",
42454
+ "member"
42455
+ ],
42456
+ "type": "string"
42457
+ },
42458
+ {
42459
+ "type": "null"
42460
+ }
42461
+ ],
42462
+ "description": "The person's built-in standing in this workspace: Workspace owners, then Workspace members.",
42463
+ "title": "Workspace Membership"
42464
+ }
42465
+ },
42466
+ "required": [
42467
+ "principal",
42468
+ "authorizes_as",
42469
+ "initiated_by",
42470
+ "owner",
42471
+ "person",
42472
+ "credential",
42473
+ "workspace_membership"
42474
+ ],
42475
+ "title": "WorkspaceCaller",
42476
+ "type": "object"
42477
+ },
43404
42478
  "WorkspaceProperties": {
43405
42479
  "additionalProperties": false,
43406
42480
  "description": "Public properties of a `workspace` resource, type version 1.\n\nA workspace exposes its identity and display metadata on the resource\nenvelope and carries no custom registry properties in v1.",
@@ -43421,7 +42495,7 @@
43421
42495
  "error_codes": [
43422
42496
  "implementation_unavailable"
43423
42497
  ],
43424
- "digest": "sha256:76a80094bb826bb160ed2c82f27e2b1da3b74a89229d5b660abff05540c7c4fb"
42498
+ "digest": "sha256:7146f7e15b6ee636740e282666a7c6ece2bee7d249b4faed1f65a92846f1d653"
43425
42499
  },
43426
42500
  {
43427
42501
  "name": "zo.workspace.list_resources",
@@ -44236,21 +43310,21 @@
44236
43310
  "digest": "sha256:1e355460f3453e487c63f32be9791ef06325d881e5b5c80ff09836860d6f6773"
44237
43311
  },
44238
43312
  {
44239
- "type": "vault",
43313
+ "type": "website",
44240
43314
  "version": 1,
44241
43315
  "publisher": "zo",
44242
43316
  "properties_schema": {
44243
43317
  "additionalProperties": false,
44244
- "description": "A vault's settings live in its credential's configuration, and its value in the secret vault.",
43318
+ "description": "The address and access mode live in the Website's typed row.",
44245
43319
  "properties": {},
44246
- "title": "VaultProperties",
43320
+ "title": "WebsiteProperties",
44247
43321
  "type": "object",
44248
43322
  "required": []
44249
43323
  },
44250
- "digest": "sha256:9eef8368b0a6d812be0e966f68d1d5db8a6dbffdfefd6d576a3a1947d37ad95d"
43324
+ "digest": "sha256:e340b5846f88e80c1f45ebb17caa711e52d77ea8d213cbc1852e67e043dc0ec9"
44251
43325
  },
44252
43326
  {
44253
- "type": "website",
43327
+ "type": "website_route",
44254
43328
  "version": 1,
44255
43329
  "publisher": "zo",
44256
43330
  "properties_schema": {
@@ -44261,7 +43335,7 @@
44261
43335
  "type": "object",
44262
43336
  "required": []
44263
43337
  },
44264
- "digest": "sha256:e340b5846f88e80c1f45ebb17caa711e52d77ea8d213cbc1852e67e043dc0ec9"
43338
+ "digest": "sha256:4c8cbfed69ef84a96a5bafbfd7d4c3eac40b0417945e7054c0835d666f7a0143"
44265
43339
  },
44266
43340
  {
44267
43341
  "type": "workflow",
@@ -44371,6 +43445,7 @@
44371
43445
  "zo.machine_image.list": 1,
44372
43446
  "zo.machine_image.update": 1,
44373
43447
  "zo.message.get": 1,
43448
+ "zo.model.list": 1,
44374
43449
  "zo.oauth_app.create": 1,
44375
43450
  "zo.oauth_app.delete": 1,
44376
43451
  "zo.oauth_app.get": 1,
@@ -44409,12 +43484,6 @@
44409
43484
  "zo.task.get": 1,
44410
43485
  "zo.task.list": 1,
44411
43486
  "zo.task.update": 1,
44412
- "zo.vault.create": 1,
44413
- "zo.vault.delete": 1,
44414
- "zo.vault.get": 1,
44415
- "zo.vault.list": 1,
44416
- "zo.vault.rotate": 1,
44417
- "zo.vault.update": 1,
44418
43487
  "zo.web.fetch": 1,
44419
43488
  "zo.web.search": 1,
44420
43489
  "zo.website.create": 1,
@@ -45957,6 +45026,63 @@
45957
45026
  },
45958
45027
  "required": []
45959
45028
  },
45029
+ "zo.model.list@1": {
45030
+ "type": "object",
45031
+ "additionalProperties": false,
45032
+ "properties": {
45033
+ "limit": {
45034
+ "type": "integer",
45035
+ "minimum": 1,
45036
+ "default": 100,
45037
+ "description": "Rows per page, at most 200; a larger value is reduced to it."
45038
+ },
45039
+ "cursor": {
45040
+ "type": "string",
45041
+ "minLength": 1,
45042
+ "maxLength": 5504,
45043
+ "description": "The previous page's next_cursor, sent with the same sort, filter and search."
45044
+ },
45045
+ "sort": {
45046
+ "type": "string",
45047
+ "enum": [
45048
+ "id.asc"
45049
+ ],
45050
+ "default": "id.asc"
45051
+ },
45052
+ "filter": {
45053
+ "additionalProperties": false,
45054
+ "properties": {
45055
+ "capability": {
45056
+ "anyOf": [
45057
+ {
45058
+ "enum": [
45059
+ "text",
45060
+ "structured_output",
45061
+ "embedding",
45062
+ "rerank",
45063
+ "image",
45064
+ "speech",
45065
+ "transcription",
45066
+ "video"
45067
+ ],
45068
+ "type": "string"
45069
+ },
45070
+ {
45071
+ "type": "null"
45072
+ }
45073
+ ],
45074
+ "default": null,
45075
+ "description": "Only models with this capability.",
45076
+ "title": "Capability"
45077
+ }
45078
+ },
45079
+ "type": "object",
45080
+ "required": [],
45081
+ "default": {}
45082
+ }
45083
+ },
45084
+ "required": []
45085
+ },
45960
45086
  "zo.oauth_app.list@1": {
45961
45087
  "type": "object",
45962
45088
  "additionalProperties": false,
@@ -46487,35 +45613,6 @@
46487
45613
  }
46488
45614
  }
46489
45615
  },
46490
- "zo.vault.list@1": {
46491
- "type": "object",
46492
- "additionalProperties": false,
46493
- "properties": {
46494
- "limit": {
46495
- "type": "integer",
46496
- "minimum": 1,
46497
- "default": 50,
46498
- "description": "Rows per page, at most 100; a larger value is reduced to it."
46499
- },
46500
- "cursor": {
46501
- "type": "string",
46502
- "minLength": 1,
46503
- "maxLength": 5504,
46504
- "description": "The previous page's next_cursor, sent with the same sort, filter and search."
46505
- },
46506
- "sort": {
46507
- "type": "string",
46508
- "enum": [
46509
- "id.asc",
46510
- "created_at.desc",
46511
- "created_at.asc",
46512
- "display_name.asc"
46513
- ],
46514
- "default": "id.asc"
46515
- }
46516
- },
46517
- "required": []
46518
- },
46519
45616
  "zo.website.list@1": {
46520
45617
  "type": "object",
46521
45618
  "additionalProperties": false,