@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.
package/openapi.json CHANGED
@@ -11208,18 +11208,26 @@
11208
11208
  "description": "Validate a payload against an active event definition and publish the occurrence durably under a caller-scoped idempotency key.",
11209
11209
  "input_schema": {
11210
11210
  "additionalProperties": false,
11211
- "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.",
11211
+ "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.",
11212
11212
  "properties": {
11213
11213
  "event_id": {
11214
11214
  "title": "Event Id",
11215
11215
  "type": "string"
11216
11216
  },
11217
11217
  "idempotency_key": {
11218
- "maxLength": 255,
11219
- "minLength": 1,
11220
- "pattern": "^[!-~]{1,255}$",
11221
- "title": "Idempotency Key",
11222
- "type": "string"
11218
+ "anyOf": [
11219
+ {
11220
+ "maxLength": 255,
11221
+ "minLength": 1,
11222
+ "pattern": "^[!-~]{1,255}$",
11223
+ "type": "string"
11224
+ },
11225
+ {
11226
+ "type": "null"
11227
+ }
11228
+ ],
11229
+ "default": null,
11230
+ "title": "Idempotency Key"
11223
11231
  },
11224
11232
  "data": {
11225
11233
  "additionalProperties": {
@@ -11245,7 +11253,6 @@
11245
11253
  },
11246
11254
  "required": [
11247
11255
  "event_id",
11248
- "idempotency_key",
11249
11256
  "data"
11250
11257
  ],
11251
11258
  "title": "EventDispatchInput",
@@ -11299,7 +11306,7 @@
11299
11306
  "resource_not_found",
11300
11307
  "implementation_unavailable"
11301
11308
  ],
11302
- "digest": "sha256:17e006fbe141aced3e7c001a69c3c779e12b347b17909517bdc190dc8f9ed3f4"
11309
+ "digest": "sha256:beff0adf0ddc6dba27a06791565a9835ec91266e22ad74dc6cb8e2bc8b18de03"
11303
11310
  },
11304
11311
  {
11305
11312
  "name": "zo.event.get",
@@ -13473,6 +13480,18 @@
13473
13480
  ],
13474
13481
  "title": "Error Code"
13475
13482
  },
13483
+ "error_message": {
13484
+ "anyOf": [
13485
+ {
13486
+ "maxLength": 300,
13487
+ "type": "string"
13488
+ },
13489
+ {
13490
+ "type": "null"
13491
+ }
13492
+ ],
13493
+ "title": "Error Message"
13494
+ },
13476
13495
  "created_at": {
13477
13496
  "title": "Created At",
13478
13497
  "type": "string"
@@ -13521,6 +13540,7 @@
13521
13540
  "entry_kind",
13522
13541
  "state",
13523
13542
  "error_code",
13543
+ "error_message",
13524
13544
  "created_at",
13525
13545
  "deadline",
13526
13546
  "finished_at",
@@ -13582,7 +13602,7 @@
13582
13602
  "resource_not_found",
13583
13603
  "implementation_unavailable"
13584
13604
  ],
13585
- "digest": "sha256:8895f14a770afcc87f2b35cd8bb718bcc24ebf9d5acafb02176809155c47b1d4"
13605
+ "digest": "sha256:2505ec5258453629ea98a3d70911387096dbbd4c2f68d5c2c24ee5f32746eaca"
13586
13606
  },
13587
13607
  {
13588
13608
  "name": "zo.function.invoke",
@@ -13980,6 +14000,18 @@
13980
14000
  ],
13981
14001
  "title": "Error Code"
13982
14002
  },
14003
+ "error_message": {
14004
+ "anyOf": [
14005
+ {
14006
+ "maxLength": 300,
14007
+ "type": "string"
14008
+ },
14009
+ {
14010
+ "type": "null"
14011
+ }
14012
+ ],
14013
+ "title": "Error Message"
14014
+ },
13983
14015
  "created_at": {
13984
14016
  "title": "Created At",
13985
14017
  "type": "string"
@@ -14007,6 +14039,7 @@
14007
14039
  "entry_kind",
14008
14040
  "state",
14009
14041
  "error_code",
14042
+ "error_message",
14010
14043
  "created_at",
14011
14044
  "deadline",
14012
14045
  "finished_at"
@@ -14040,7 +14073,7 @@
14040
14073
  "resource_not_found",
14041
14074
  "implementation_unavailable"
14042
14075
  ],
14043
- "digest": "sha256:b21109de2f8e96dd818d1f2ff80d40a692a319bbb68d860cc81310ca09b068e6"
14076
+ "digest": "sha256:5afb66f0e9685192469f0fda5db8ea0cf49cf1a645ab23d22a03bc8698c8a7b4"
14044
14077
  },
14045
14078
  {
14046
14079
  "name": "zo.function.publish_contract",
@@ -22411,6 +22444,501 @@
22411
22444
  ],
22412
22445
  "digest": "sha256:aadcb480b26c475386eb47a4694a413a0b118969638cd9bfd9d9e5d68b5f758e"
22413
22446
  },
22447
+ {
22448
+ "name": "zo.model.list",
22449
+ "version": 1,
22450
+ "publisher": "zo",
22451
+ "description": "List the models this workspace can call, each with its ID, capabilities, accepted file types, reasoning levels, limits and current prices.",
22452
+ "input_schema": {
22453
+ "additionalProperties": false,
22454
+ "properties": {
22455
+ "workspace_id": {
22456
+ "maxLength": 200,
22457
+ "minLength": 1,
22458
+ "title": "Workspace Id",
22459
+ "type": "string"
22460
+ }
22461
+ },
22462
+ "required": [
22463
+ "workspace_id"
22464
+ ],
22465
+ "title": "ModelListInput",
22466
+ "type": "object"
22467
+ },
22468
+ "output_schema": {
22469
+ "additionalProperties": false,
22470
+ "properties": {
22471
+ "models": {
22472
+ "items": {
22473
+ "$ref": "#/$defs/ModelEntry"
22474
+ },
22475
+ "title": "Models",
22476
+ "type": "array"
22477
+ },
22478
+ "next_cursor": {
22479
+ "anyOf": [
22480
+ {
22481
+ "type": "string"
22482
+ },
22483
+ {
22484
+ "type": "null"
22485
+ }
22486
+ ],
22487
+ "title": "Next Cursor"
22488
+ }
22489
+ },
22490
+ "required": [
22491
+ "models",
22492
+ "next_cursor"
22493
+ ],
22494
+ "title": "ModelListResult",
22495
+ "type": "object",
22496
+ "$defs": {
22497
+ "ModelEntry": {
22498
+ "additionalProperties": false,
22499
+ "properties": {
22500
+ "id": {
22501
+ "description": "The ID to pass as model.",
22502
+ "title": "Id",
22503
+ "type": "string"
22504
+ },
22505
+ "display_name": {
22506
+ "title": "Display Name",
22507
+ "type": "string"
22508
+ },
22509
+ "provider": {
22510
+ "title": "Provider",
22511
+ "type": "string"
22512
+ },
22513
+ "capabilities": {
22514
+ "items": {
22515
+ "enum": [
22516
+ "text",
22517
+ "structured_output",
22518
+ "embedding",
22519
+ "rerank",
22520
+ "image",
22521
+ "speech",
22522
+ "transcription",
22523
+ "video"
22524
+ ],
22525
+ "type": "string"
22526
+ },
22527
+ "title": "Capabilities",
22528
+ "type": "array"
22529
+ },
22530
+ "input_media": {
22531
+ "description": "Media types the model accepts in file parts, such as image/* and text/*.",
22532
+ "items": {
22533
+ "type": "string"
22534
+ },
22535
+ "title": "Input Media",
22536
+ "type": "array"
22537
+ },
22538
+ "context_window_tokens": {
22539
+ "anyOf": [
22540
+ {
22541
+ "type": "integer"
22542
+ },
22543
+ {
22544
+ "type": "null"
22545
+ }
22546
+ ],
22547
+ "title": "Context Window Tokens"
22548
+ },
22549
+ "max_output_tokens": {
22550
+ "anyOf": [
22551
+ {
22552
+ "type": "integer"
22553
+ },
22554
+ {
22555
+ "type": "null"
22556
+ }
22557
+ ],
22558
+ "title": "Max Output Tokens"
22559
+ },
22560
+ "reasoning_levels": {
22561
+ "description": "The reasoning levels the model offers. Empty when it has none.",
22562
+ "items": {
22563
+ "type": "string"
22564
+ },
22565
+ "title": "Reasoning Levels",
22566
+ "type": "array"
22567
+ },
22568
+ "settings": {
22569
+ "description": "Every setting the model accepts, with its allowed values. A setting not listed is refused with invalid_input before the call.",
22570
+ "items": {
22571
+ "$ref": "#/$defs/ModelSetting"
22572
+ },
22573
+ "title": "Settings",
22574
+ "type": "array"
22575
+ },
22576
+ "limits": {
22577
+ "additionalProperties": {
22578
+ "type": "integer"
22579
+ },
22580
+ "description": "Named limits for the model's actions, such as max_values.",
22581
+ "title": "Limits",
22582
+ "type": "object"
22583
+ },
22584
+ "prices": {
22585
+ "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.",
22586
+ "items": {
22587
+ "$ref": "#/$defs/ModelPrice"
22588
+ },
22589
+ "title": "Prices",
22590
+ "type": "array"
22591
+ },
22592
+ "status": {
22593
+ "enum": [
22594
+ "available",
22595
+ "deprecated"
22596
+ ],
22597
+ "title": "Status",
22598
+ "type": "string"
22599
+ }
22600
+ },
22601
+ "required": [
22602
+ "id",
22603
+ "display_name",
22604
+ "provider",
22605
+ "capabilities",
22606
+ "input_media",
22607
+ "context_window_tokens",
22608
+ "max_output_tokens",
22609
+ "reasoning_levels",
22610
+ "settings",
22611
+ "limits",
22612
+ "prices",
22613
+ "status"
22614
+ ],
22615
+ "title": "ModelEntry",
22616
+ "type": "object"
22617
+ },
22618
+ "ModelPrice": {
22619
+ "additionalProperties": false,
22620
+ "description": "One of the model's rates: the row ``zo.billing.list_rates`` returns for it.",
22621
+ "properties": {
22622
+ "rate_key": {
22623
+ "description": "The rate's key in zo.billing.list_rates.",
22624
+ "title": "Rate Key",
22625
+ "type": "string"
22626
+ },
22627
+ "meter": {
22628
+ "description": "The usage meter the rate prices, as zo.billing.list_rates names it.",
22629
+ "title": "Meter",
22630
+ "type": "string"
22631
+ },
22632
+ "unit": {
22633
+ "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.",
22634
+ "enum": [
22635
+ "input",
22636
+ "output",
22637
+ "cache_read",
22638
+ "cache_write",
22639
+ "request",
22640
+ "character",
22641
+ "millisecond",
22642
+ "audio_minute",
22643
+ "megapixel",
22644
+ "video_second"
22645
+ ],
22646
+ "title": "Unit",
22647
+ "type": "string"
22648
+ },
22649
+ "usd": {
22650
+ "description": "The workspace's current price for per units, as a decimal string.",
22651
+ "maxLength": 200,
22652
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22653
+ "title": "Usd",
22654
+ "type": "string"
22655
+ },
22656
+ "per": {
22657
+ "description": "How many units usd is for: 1000000 for tokens.",
22658
+ "maxLength": 200,
22659
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22660
+ "title": "Per",
22661
+ "type": "string"
22662
+ },
22663
+ "conditions": {
22664
+ "$ref": "#/$defs/RateConditions",
22665
+ "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."
22666
+ }
22667
+ },
22668
+ "required": [
22669
+ "rate_key",
22670
+ "meter",
22671
+ "unit",
22672
+ "usd",
22673
+ "per",
22674
+ "conditions"
22675
+ ],
22676
+ "title": "ModelPrice",
22677
+ "type": "object"
22678
+ },
22679
+ "ModelSetting": {
22680
+ "additionalProperties": false,
22681
+ "description": "One setting the model accepts and the values it allows.",
22682
+ "properties": {
22683
+ "name": {
22684
+ "description": "The input field, such as temperature or reasoning.",
22685
+ "title": "Name",
22686
+ "type": "string"
22687
+ },
22688
+ "minimum": {
22689
+ "anyOf": [
22690
+ {
22691
+ "type": "string"
22692
+ },
22693
+ {
22694
+ "type": "null"
22695
+ }
22696
+ ],
22697
+ "description": "The smallest allowed value, as a decimal string.",
22698
+ "title": "Minimum"
22699
+ },
22700
+ "maximum": {
22701
+ "anyOf": [
22702
+ {
22703
+ "type": "string"
22704
+ },
22705
+ {
22706
+ "type": "null"
22707
+ }
22708
+ ],
22709
+ "description": "The largest allowed value, as a decimal string.",
22710
+ "title": "Maximum"
22711
+ },
22712
+ "max_items": {
22713
+ "anyOf": [
22714
+ {
22715
+ "type": "integer"
22716
+ },
22717
+ {
22718
+ "type": "null"
22719
+ }
22720
+ ],
22721
+ "description": "The most items a list setting takes.",
22722
+ "title": "Max Items"
22723
+ },
22724
+ "values": {
22725
+ "anyOf": [
22726
+ {
22727
+ "items": {
22728
+ "type": "string"
22729
+ },
22730
+ "type": "array"
22731
+ },
22732
+ {
22733
+ "type": "null"
22734
+ }
22735
+ ],
22736
+ "description": "The allowed values of a string setting.",
22737
+ "title": "Values"
22738
+ }
22739
+ },
22740
+ "required": [
22741
+ "name",
22742
+ "minimum",
22743
+ "maximum",
22744
+ "max_items",
22745
+ "values"
22746
+ ],
22747
+ "title": "ModelSetting",
22748
+ "type": "object"
22749
+ },
22750
+ "RateConditions": {
22751
+ "additionalProperties": false,
22752
+ "properties": {
22753
+ "request_input_tokens_min": {
22754
+ "anyOf": [
22755
+ {
22756
+ "minimum": 0,
22757
+ "type": "integer"
22758
+ },
22759
+ {
22760
+ "type": "null"
22761
+ }
22762
+ ],
22763
+ "default": null,
22764
+ "description": "Inclusive request-size lower bound.",
22765
+ "title": "Request Input Tokens Min"
22766
+ },
22767
+ "request_input_tokens_max": {
22768
+ "anyOf": [
22769
+ {
22770
+ "minimum": 0,
22771
+ "type": "integer"
22772
+ },
22773
+ {
22774
+ "type": "null"
22775
+ }
22776
+ ],
22777
+ "default": null,
22778
+ "description": "Exclusive request-size upper bound.",
22779
+ "title": "Request Input Tokens Max"
22780
+ },
22781
+ "whole_request": {
22782
+ "default": true,
22783
+ "description": "The matching tier prices the whole request.",
22784
+ "title": "Whole Request",
22785
+ "type": "boolean"
22786
+ },
22787
+ "operation": {
22788
+ "anyOf": [
22789
+ {
22790
+ "type": "string"
22791
+ },
22792
+ {
22793
+ "type": "null"
22794
+ }
22795
+ ],
22796
+ "default": null,
22797
+ "title": "Operation"
22798
+ },
22799
+ "resolution": {
22800
+ "anyOf": [
22801
+ {
22802
+ "type": "string"
22803
+ },
22804
+ {
22805
+ "type": "null"
22806
+ }
22807
+ ],
22808
+ "default": null,
22809
+ "title": "Resolution"
22810
+ },
22811
+ "quality": {
22812
+ "anyOf": [
22813
+ {
22814
+ "type": "string"
22815
+ },
22816
+ {
22817
+ "type": "null"
22818
+ }
22819
+ ],
22820
+ "default": null,
22821
+ "title": "Quality"
22822
+ },
22823
+ "duration_seconds": {
22824
+ "anyOf": [
22825
+ {
22826
+ "maxLength": 200,
22827
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22828
+ "type": "string"
22829
+ },
22830
+ {
22831
+ "type": "null"
22832
+ }
22833
+ ],
22834
+ "default": null,
22835
+ "title": "Duration Seconds"
22836
+ },
22837
+ "quantity_min": {
22838
+ "anyOf": [
22839
+ {
22840
+ "maxLength": 200,
22841
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22842
+ "type": "string"
22843
+ },
22844
+ {
22845
+ "type": "null"
22846
+ }
22847
+ ],
22848
+ "default": null,
22849
+ "title": "Quantity Min"
22850
+ },
22851
+ "quantity_max": {
22852
+ "anyOf": [
22853
+ {
22854
+ "maxLength": 200,
22855
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22856
+ "type": "string"
22857
+ },
22858
+ {
22859
+ "type": "null"
22860
+ }
22861
+ ],
22862
+ "default": null,
22863
+ "title": "Quantity Max"
22864
+ },
22865
+ "included_quantity": {
22866
+ "anyOf": [
22867
+ {
22868
+ "maxLength": 200,
22869
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22870
+ "type": "string"
22871
+ },
22872
+ {
22873
+ "type": "null"
22874
+ }
22875
+ ],
22876
+ "default": null,
22877
+ "title": "Included Quantity"
22878
+ },
22879
+ "default_quantity": {
22880
+ "anyOf": [
22881
+ {
22882
+ "maxLength": 200,
22883
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
22884
+ "type": "string"
22885
+ },
22886
+ {
22887
+ "type": "null"
22888
+ }
22889
+ ],
22890
+ "default": null,
22891
+ "title": "Default Quantity"
22892
+ },
22893
+ "quantity_argument": {
22894
+ "anyOf": [
22895
+ {
22896
+ "type": "string"
22897
+ },
22898
+ {
22899
+ "type": "null"
22900
+ }
22901
+ ],
22902
+ "default": null,
22903
+ "title": "Quantity Argument"
22904
+ },
22905
+ "selector": {
22906
+ "additionalProperties": {
22907
+ "x-zo-json-value": true
22908
+ },
22909
+ "title": "Selector",
22910
+ "type": "object"
22911
+ },
22912
+ "rounding": {
22913
+ "default": "none",
22914
+ "enum": [
22915
+ "none",
22916
+ "ceil_step"
22917
+ ],
22918
+ "title": "Rounding",
22919
+ "type": "string"
22920
+ }
22921
+ },
22922
+ "title": "RateConditions",
22923
+ "type": "object",
22924
+ "required": []
22925
+ }
22926
+ }
22927
+ },
22928
+ "target": {
22929
+ "type": "workspace",
22930
+ "input_pointer": "/workspace_id"
22931
+ },
22932
+ "additional_checks": [],
22933
+ "effect": "read",
22934
+ "result_kind": "inline",
22935
+ "error_codes": [
22936
+ "implementation_unavailable",
22937
+ "invalid_input",
22938
+ "invalid_cursor"
22939
+ ],
22940
+ "digest": "sha256:33b88b18e759ba942f7bf344798e5f693926666a1bc2947b75b1c1cc6e1a8fbc"
22941
+ },
22414
22942
  {
22415
22943
  "name": "zo.oauth_app.create",
22416
22944
  "version": 1,
@@ -37876,1838 +38404,6 @@
37876
38404
  ],
37877
38405
  "digest": "sha256:cccdb137ca9c3de5abbd8baf2fd733fa7f9f847119b81cfdae2f6087e88f85a3"
37878
38406
  },
37879
- {
37880
- "name": "zo.vault.create",
37881
- "version": 1,
37882
- "publisher": "zo",
37883
- "description": "Store a pasted credential, such as an API key, with the hosts it may be sent to. The value is never returned.",
37884
- "input_schema": {
37885
- "additionalProperties": false,
37886
- "properties": {
37887
- "workspace_id": {
37888
- "maxLength": 200,
37889
- "minLength": 1,
37890
- "title": "Workspace Id",
37891
- "type": "string"
37892
- },
37893
- "display_name": {
37894
- "maxLength": 256,
37895
- "minLength": 1,
37896
- "title": "Display Name",
37897
- "type": "string"
37898
- },
37899
- "description": {
37900
- "default": "",
37901
- "maxLength": 2000,
37902
- "title": "Description",
37903
- "type": "string"
37904
- },
37905
- "value": {
37906
- "description": "Secret: the credential. Stored sealed and never returned.",
37907
- "maxLength": 16384,
37908
- "minLength": 1,
37909
- "title": "Value",
37910
- "type": "string"
37911
- },
37912
- "environment_variable": {
37913
- "anyOf": [
37914
- {
37915
- "pattern": "^[A-Z_][A-Z0-9_]{0,127}$",
37916
- "type": "string"
37917
- },
37918
- {
37919
- "type": "null"
37920
- }
37921
- ],
37922
- "default": null,
37923
- "description": "The environment variable name a machine gets the value under, such as `OPENAI_API_KEY`.",
37924
- "title": "Environment Variable"
37925
- },
37926
- "injections": {
37927
- "default": [],
37928
- "items": {
37929
- "$ref": "#/$defs/VaultInjection"
37930
- },
37931
- "maxItems": 10,
37932
- "title": "Injections",
37933
- "type": "array"
37934
- },
37935
- "visibility": {
37936
- "default": "workspace",
37937
- "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.",
37938
- "enum": [
37939
- "workspace",
37940
- "protected"
37941
- ],
37942
- "title": "Visibility",
37943
- "type": "string"
37944
- }
37945
- },
37946
- "required": [
37947
- "workspace_id",
37948
- "display_name",
37949
- "value"
37950
- ],
37951
- "title": "VaultCreateInput",
37952
- "type": "object",
37953
- "$defs": {
37954
- "BasicFormat": {
37955
- "additionalProperties": false,
37956
- "properties": {
37957
- "type": {
37958
- "const": "basic",
37959
- "description": "`Basic` with base64 of `<username>:<value>`.",
37960
- "title": "Type",
37961
- "type": "string"
37962
- },
37963
- "username": {
37964
- "pattern": "^[^:]{1,256}$",
37965
- "title": "Username",
37966
- "type": "string"
37967
- }
37968
- },
37969
- "required": [
37970
- "type",
37971
- "username"
37972
- ],
37973
- "title": "BasicFormat",
37974
- "type": "object"
37975
- },
37976
- "BearerFormat": {
37977
- "additionalProperties": false,
37978
- "properties": {
37979
- "type": {
37980
- "const": "bearer",
37981
- "description": "`Bearer <value>`.",
37982
- "title": "Type",
37983
- "type": "string"
37984
- }
37985
- },
37986
- "required": [
37987
- "type"
37988
- ],
37989
- "title": "BearerFormat",
37990
- "type": "object"
37991
- },
37992
- "HeaderLocation": {
37993
- "additionalProperties": false,
37994
- "properties": {
37995
- "type": {
37996
- "const": "header",
37997
- "title": "Type",
37998
- "type": "string"
37999
- },
38000
- "name": {
38001
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
38002
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
38003
- "title": "Name",
38004
- "type": "string"
38005
- }
38006
- },
38007
- "required": [
38008
- "type",
38009
- "name"
38010
- ],
38011
- "title": "HeaderLocation",
38012
- "type": "object"
38013
- },
38014
- "RawFormat": {
38015
- "additionalProperties": false,
38016
- "properties": {
38017
- "type": {
38018
- "const": "raw",
38019
- "description": "The value as it is.",
38020
- "title": "Type",
38021
- "type": "string"
38022
- }
38023
- },
38024
- "required": [
38025
- "type"
38026
- ],
38027
- "title": "RawFormat",
38028
- "type": "object"
38029
- },
38030
- "VaultInjection": {
38031
- "additionalProperties": false,
38032
- "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.",
38033
- "properties": {
38034
- "hosts": {
38035
- "items": {
38036
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
38037
- "maxLength": 253,
38038
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
38039
- "type": "string"
38040
- },
38041
- "maxItems": 20,
38042
- "minItems": 1,
38043
- "title": "Hosts",
38044
- "type": "array"
38045
- },
38046
- "location": {
38047
- "$ref": "#/$defs/HeaderLocation"
38048
- },
38049
- "format": {
38050
- "discriminator": {
38051
- "mapping": {
38052
- "basic": "#/$defs/BasicFormat",
38053
- "bearer": "#/$defs/BearerFormat",
38054
- "raw": "#/$defs/RawFormat"
38055
- },
38056
- "propertyName": "type"
38057
- },
38058
- "oneOf": [
38059
- {
38060
- "$ref": "#/$defs/BearerFormat"
38061
- },
38062
- {
38063
- "$ref": "#/$defs/BasicFormat"
38064
- },
38065
- {
38066
- "$ref": "#/$defs/RawFormat"
38067
- }
38068
- ],
38069
- "title": "Format"
38070
- }
38071
- },
38072
- "required": [
38073
- "hosts",
38074
- "location",
38075
- "format"
38076
- ],
38077
- "title": "VaultInjection",
38078
- "type": "object"
38079
- }
38080
- }
38081
- },
38082
- "output_schema": {
38083
- "additionalProperties": false,
38084
- "description": "A vault's registry envelope and settings. Never its value.",
38085
- "properties": {
38086
- "id": {
38087
- "title": "Id",
38088
- "type": "string"
38089
- },
38090
- "workspace_id": {
38091
- "title": "Workspace Id",
38092
- "type": "string"
38093
- },
38094
- "type": {
38095
- "const": "vault",
38096
- "title": "Type",
38097
- "type": "string"
38098
- },
38099
- "type_version": {
38100
- "const": 1,
38101
- "title": "Type Version",
38102
- "type": "integer"
38103
- },
38104
- "display_name": {
38105
- "title": "Display Name",
38106
- "type": "string"
38107
- },
38108
- "description": {
38109
- "title": "Description",
38110
- "type": "string"
38111
- },
38112
- "visibility": {
38113
- "enum": [
38114
- "workspace",
38115
- "protected"
38116
- ],
38117
- "title": "Visibility",
38118
- "type": "string"
38119
- },
38120
- "owner_user_id": {
38121
- "anyOf": [
38122
- {
38123
- "type": "string"
38124
- },
38125
- {
38126
- "type": "null"
38127
- }
38128
- ],
38129
- "title": "Owner User Id"
38130
- },
38131
- "revision": {
38132
- "exclusiveMinimum": 0,
38133
- "maximum": 9007199254740991,
38134
- "title": "Revision",
38135
- "type": "integer"
38136
- },
38137
- "created_at": {
38138
- "title": "Created At",
38139
- "type": "string"
38140
- },
38141
- "updated_at": {
38142
- "title": "Updated At",
38143
- "type": "string"
38144
- },
38145
- "environment_variable": {
38146
- "anyOf": [
38147
- {
38148
- "type": "string"
38149
- },
38150
- {
38151
- "type": "null"
38152
- }
38153
- ],
38154
- "description": "The environment variable name a machine gets the value under, or null for none.",
38155
- "title": "Environment Variable"
38156
- },
38157
- "injections": {
38158
- "items": {
38159
- "$ref": "#/$defs/VaultInjection"
38160
- },
38161
- "title": "Injections",
38162
- "type": "array"
38163
- },
38164
- "value_updated_at": {
38165
- "description": "When the current value was stored, at create or the last rotate.",
38166
- "title": "Value Updated At",
38167
- "type": "string"
38168
- }
38169
- },
38170
- "required": [
38171
- "id",
38172
- "workspace_id",
38173
- "type",
38174
- "type_version",
38175
- "display_name",
38176
- "description",
38177
- "visibility",
38178
- "owner_user_id",
38179
- "revision",
38180
- "created_at",
38181
- "updated_at",
38182
- "environment_variable",
38183
- "injections",
38184
- "value_updated_at"
38185
- ],
38186
- "title": "VaultView",
38187
- "type": "object",
38188
- "$defs": {
38189
- "BasicFormat": {
38190
- "additionalProperties": false,
38191
- "properties": {
38192
- "type": {
38193
- "const": "basic",
38194
- "description": "`Basic` with base64 of `<username>:<value>`.",
38195
- "title": "Type",
38196
- "type": "string"
38197
- },
38198
- "username": {
38199
- "pattern": "^[^:]{1,256}$",
38200
- "title": "Username",
38201
- "type": "string"
38202
- }
38203
- },
38204
- "required": [
38205
- "type",
38206
- "username"
38207
- ],
38208
- "title": "BasicFormat",
38209
- "type": "object"
38210
- },
38211
- "BearerFormat": {
38212
- "additionalProperties": false,
38213
- "properties": {
38214
- "type": {
38215
- "const": "bearer",
38216
- "description": "`Bearer <value>`.",
38217
- "title": "Type",
38218
- "type": "string"
38219
- }
38220
- },
38221
- "required": [
38222
- "type"
38223
- ],
38224
- "title": "BearerFormat",
38225
- "type": "object"
38226
- },
38227
- "HeaderLocation": {
38228
- "additionalProperties": false,
38229
- "properties": {
38230
- "type": {
38231
- "const": "header",
38232
- "title": "Type",
38233
- "type": "string"
38234
- },
38235
- "name": {
38236
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
38237
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
38238
- "title": "Name",
38239
- "type": "string"
38240
- }
38241
- },
38242
- "required": [
38243
- "type",
38244
- "name"
38245
- ],
38246
- "title": "HeaderLocation",
38247
- "type": "object"
38248
- },
38249
- "RawFormat": {
38250
- "additionalProperties": false,
38251
- "properties": {
38252
- "type": {
38253
- "const": "raw",
38254
- "description": "The value as it is.",
38255
- "title": "Type",
38256
- "type": "string"
38257
- }
38258
- },
38259
- "required": [
38260
- "type"
38261
- ],
38262
- "title": "RawFormat",
38263
- "type": "object"
38264
- },
38265
- "VaultInjection": {
38266
- "additionalProperties": false,
38267
- "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.",
38268
- "properties": {
38269
- "hosts": {
38270
- "items": {
38271
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
38272
- "maxLength": 253,
38273
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
38274
- "type": "string"
38275
- },
38276
- "maxItems": 20,
38277
- "minItems": 1,
38278
- "title": "Hosts",
38279
- "type": "array"
38280
- },
38281
- "location": {
38282
- "$ref": "#/$defs/HeaderLocation"
38283
- },
38284
- "format": {
38285
- "discriminator": {
38286
- "mapping": {
38287
- "basic": "#/$defs/BasicFormat",
38288
- "bearer": "#/$defs/BearerFormat",
38289
- "raw": "#/$defs/RawFormat"
38290
- },
38291
- "propertyName": "type"
38292
- },
38293
- "oneOf": [
38294
- {
38295
- "$ref": "#/$defs/BearerFormat"
38296
- },
38297
- {
38298
- "$ref": "#/$defs/BasicFormat"
38299
- },
38300
- {
38301
- "$ref": "#/$defs/RawFormat"
38302
- }
38303
- ],
38304
- "title": "Format"
38305
- }
38306
- },
38307
- "required": [
38308
- "hosts",
38309
- "location",
38310
- "format"
38311
- ],
38312
- "title": "VaultInjection",
38313
- "type": "object"
38314
- }
38315
- }
38316
- },
38317
- "target": {
38318
- "type": "workspace",
38319
- "input_pointer": "/workspace_id"
38320
- },
38321
- "additional_checks": [],
38322
- "effect": "create",
38323
- "result_kind": "inline",
38324
- "error_codes": [
38325
- "invalid_input",
38326
- "conflict",
38327
- "implementation_unavailable"
38328
- ],
38329
- "digest": "sha256:abf7dd3547db941d3ac5ce77e4b534811afddfd21fc73411ffca3738c756b73c"
38330
- },
38331
- {
38332
- "name": "zo.vault.delete",
38333
- "version": 1,
38334
- "publisher": "zo",
38335
- "description": "Delete a vault: its value is destroyed and every grant on it is revoked.",
38336
- "input_schema": {
38337
- "additionalProperties": false,
38338
- "properties": {
38339
- "vault_id": {
38340
- "maxLength": 200,
38341
- "minLength": 1,
38342
- "title": "Vault Id",
38343
- "type": "string"
38344
- },
38345
- "expected_revision": {
38346
- "exclusiveMinimum": 0,
38347
- "maximum": 9007199254740991,
38348
- "title": "Expected Revision",
38349
- "type": "integer"
38350
- }
38351
- },
38352
- "required": [
38353
- "vault_id",
38354
- "expected_revision"
38355
- ],
38356
- "title": "VaultTargetInput",
38357
- "type": "object"
38358
- },
38359
- "output_schema": {
38360
- "additionalProperties": false,
38361
- "properties": {
38362
- "state": {
38363
- "const": "deleted",
38364
- "title": "State",
38365
- "type": "string"
38366
- },
38367
- "revision": {
38368
- "exclusiveMinimum": 0,
38369
- "maximum": 9007199254740991,
38370
- "title": "Revision",
38371
- "type": "integer"
38372
- }
38373
- },
38374
- "required": [
38375
- "state",
38376
- "revision"
38377
- ],
38378
- "title": "VaultDeleteResult",
38379
- "type": "object"
38380
- },
38381
- "target": {
38382
- "type": "vault",
38383
- "input_pointer": "/vault_id"
38384
- },
38385
- "additional_checks": [],
38386
- "effect": "manage",
38387
- "result_kind": "inline",
38388
- "error_codes": [
38389
- "conflict",
38390
- "resource_not_found"
38391
- ],
38392
- "digest": "sha256:21ca9575b1b5092c8e2010ed56b2ad7f263f76b0bc2c5def3e8d778f4fc5e17e"
38393
- },
38394
- {
38395
- "name": "zo.vault.get",
38396
- "version": 1,
38397
- "publisher": "zo",
38398
- "description": "Read a vault's settings. The value is never returned.",
38399
- "input_schema": {
38400
- "additionalProperties": false,
38401
- "properties": {
38402
- "vault_id": {
38403
- "maxLength": 200,
38404
- "minLength": 1,
38405
- "title": "Vault Id",
38406
- "type": "string"
38407
- }
38408
- },
38409
- "required": [
38410
- "vault_id"
38411
- ],
38412
- "title": "VaultGetInput",
38413
- "type": "object"
38414
- },
38415
- "output_schema": {
38416
- "additionalProperties": false,
38417
- "description": "A vault's registry envelope and settings. Never its value.",
38418
- "properties": {
38419
- "id": {
38420
- "title": "Id",
38421
- "type": "string"
38422
- },
38423
- "workspace_id": {
38424
- "title": "Workspace Id",
38425
- "type": "string"
38426
- },
38427
- "type": {
38428
- "const": "vault",
38429
- "title": "Type",
38430
- "type": "string"
38431
- },
38432
- "type_version": {
38433
- "const": 1,
38434
- "title": "Type Version",
38435
- "type": "integer"
38436
- },
38437
- "display_name": {
38438
- "title": "Display Name",
38439
- "type": "string"
38440
- },
38441
- "description": {
38442
- "title": "Description",
38443
- "type": "string"
38444
- },
38445
- "visibility": {
38446
- "enum": [
38447
- "workspace",
38448
- "protected"
38449
- ],
38450
- "title": "Visibility",
38451
- "type": "string"
38452
- },
38453
- "owner_user_id": {
38454
- "anyOf": [
38455
- {
38456
- "type": "string"
38457
- },
38458
- {
38459
- "type": "null"
38460
- }
38461
- ],
38462
- "title": "Owner User Id"
38463
- },
38464
- "revision": {
38465
- "exclusiveMinimum": 0,
38466
- "maximum": 9007199254740991,
38467
- "title": "Revision",
38468
- "type": "integer"
38469
- },
38470
- "created_at": {
38471
- "title": "Created At",
38472
- "type": "string"
38473
- },
38474
- "updated_at": {
38475
- "title": "Updated At",
38476
- "type": "string"
38477
- },
38478
- "environment_variable": {
38479
- "anyOf": [
38480
- {
38481
- "type": "string"
38482
- },
38483
- {
38484
- "type": "null"
38485
- }
38486
- ],
38487
- "description": "The environment variable name a machine gets the value under, or null for none.",
38488
- "title": "Environment Variable"
38489
- },
38490
- "injections": {
38491
- "items": {
38492
- "$ref": "#/$defs/VaultInjection"
38493
- },
38494
- "title": "Injections",
38495
- "type": "array"
38496
- },
38497
- "value_updated_at": {
38498
- "description": "When the current value was stored, at create or the last rotate.",
38499
- "title": "Value Updated At",
38500
- "type": "string"
38501
- }
38502
- },
38503
- "required": [
38504
- "id",
38505
- "workspace_id",
38506
- "type",
38507
- "type_version",
38508
- "display_name",
38509
- "description",
38510
- "visibility",
38511
- "owner_user_id",
38512
- "revision",
38513
- "created_at",
38514
- "updated_at",
38515
- "environment_variable",
38516
- "injections",
38517
- "value_updated_at"
38518
- ],
38519
- "title": "VaultView",
38520
- "type": "object",
38521
- "$defs": {
38522
- "BasicFormat": {
38523
- "additionalProperties": false,
38524
- "properties": {
38525
- "type": {
38526
- "const": "basic",
38527
- "description": "`Basic` with base64 of `<username>:<value>`.",
38528
- "title": "Type",
38529
- "type": "string"
38530
- },
38531
- "username": {
38532
- "pattern": "^[^:]{1,256}$",
38533
- "title": "Username",
38534
- "type": "string"
38535
- }
38536
- },
38537
- "required": [
38538
- "type",
38539
- "username"
38540
- ],
38541
- "title": "BasicFormat",
38542
- "type": "object"
38543
- },
38544
- "BearerFormat": {
38545
- "additionalProperties": false,
38546
- "properties": {
38547
- "type": {
38548
- "const": "bearer",
38549
- "description": "`Bearer <value>`.",
38550
- "title": "Type",
38551
- "type": "string"
38552
- }
38553
- },
38554
- "required": [
38555
- "type"
38556
- ],
38557
- "title": "BearerFormat",
38558
- "type": "object"
38559
- },
38560
- "HeaderLocation": {
38561
- "additionalProperties": false,
38562
- "properties": {
38563
- "type": {
38564
- "const": "header",
38565
- "title": "Type",
38566
- "type": "string"
38567
- },
38568
- "name": {
38569
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
38570
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
38571
- "title": "Name",
38572
- "type": "string"
38573
- }
38574
- },
38575
- "required": [
38576
- "type",
38577
- "name"
38578
- ],
38579
- "title": "HeaderLocation",
38580
- "type": "object"
38581
- },
38582
- "RawFormat": {
38583
- "additionalProperties": false,
38584
- "properties": {
38585
- "type": {
38586
- "const": "raw",
38587
- "description": "The value as it is.",
38588
- "title": "Type",
38589
- "type": "string"
38590
- }
38591
- },
38592
- "required": [
38593
- "type"
38594
- ],
38595
- "title": "RawFormat",
38596
- "type": "object"
38597
- },
38598
- "VaultInjection": {
38599
- "additionalProperties": false,
38600
- "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.",
38601
- "properties": {
38602
- "hosts": {
38603
- "items": {
38604
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
38605
- "maxLength": 253,
38606
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
38607
- "type": "string"
38608
- },
38609
- "maxItems": 20,
38610
- "minItems": 1,
38611
- "title": "Hosts",
38612
- "type": "array"
38613
- },
38614
- "location": {
38615
- "$ref": "#/$defs/HeaderLocation"
38616
- },
38617
- "format": {
38618
- "discriminator": {
38619
- "mapping": {
38620
- "basic": "#/$defs/BasicFormat",
38621
- "bearer": "#/$defs/BearerFormat",
38622
- "raw": "#/$defs/RawFormat"
38623
- },
38624
- "propertyName": "type"
38625
- },
38626
- "oneOf": [
38627
- {
38628
- "$ref": "#/$defs/BearerFormat"
38629
- },
38630
- {
38631
- "$ref": "#/$defs/BasicFormat"
38632
- },
38633
- {
38634
- "$ref": "#/$defs/RawFormat"
38635
- }
38636
- ],
38637
- "title": "Format"
38638
- }
38639
- },
38640
- "required": [
38641
- "hosts",
38642
- "location",
38643
- "format"
38644
- ],
38645
- "title": "VaultInjection",
38646
- "type": "object"
38647
- }
38648
- }
38649
- },
38650
- "target": {
38651
- "type": "vault",
38652
- "input_pointer": "/vault_id"
38653
- },
38654
- "additional_checks": [],
38655
- "effect": "read",
38656
- "result_kind": "inline",
38657
- "error_codes": [
38658
- "resource_not_found"
38659
- ],
38660
- "digest": "sha256:78172cbf9b4b9a5ea41a97f9073111f775a8f13e7c3d4b7a1c20503f3f156e84"
38661
- },
38662
- {
38663
- "name": "zo.vault.list",
38664
- "version": 1,
38665
- "publisher": "zo",
38666
- "description": "List the vaults the caller can read in a workspace.",
38667
- "input_schema": {
38668
- "additionalProperties": false,
38669
- "properties": {
38670
- "workspace_id": {
38671
- "maxLength": 200,
38672
- "minLength": 1,
38673
- "title": "Workspace Id",
38674
- "type": "string"
38675
- }
38676
- },
38677
- "required": [
38678
- "workspace_id"
38679
- ],
38680
- "title": "VaultListInput",
38681
- "type": "object"
38682
- },
38683
- "output_schema": {
38684
- "additionalProperties": false,
38685
- "properties": {
38686
- "vaults": {
38687
- "items": {
38688
- "$ref": "#/$defs/VaultView"
38689
- },
38690
- "title": "Vaults",
38691
- "type": "array"
38692
- },
38693
- "next_cursor": {
38694
- "anyOf": [
38695
- {
38696
- "type": "string"
38697
- },
38698
- {
38699
- "type": "null"
38700
- }
38701
- ],
38702
- "title": "Next Cursor"
38703
- }
38704
- },
38705
- "required": [
38706
- "vaults",
38707
- "next_cursor"
38708
- ],
38709
- "title": "VaultListOutput",
38710
- "type": "object",
38711
- "$defs": {
38712
- "BasicFormat": {
38713
- "additionalProperties": false,
38714
- "properties": {
38715
- "type": {
38716
- "const": "basic",
38717
- "description": "`Basic` with base64 of `<username>:<value>`.",
38718
- "title": "Type",
38719
- "type": "string"
38720
- },
38721
- "username": {
38722
- "pattern": "^[^:]{1,256}$",
38723
- "title": "Username",
38724
- "type": "string"
38725
- }
38726
- },
38727
- "required": [
38728
- "type",
38729
- "username"
38730
- ],
38731
- "title": "BasicFormat",
38732
- "type": "object"
38733
- },
38734
- "BearerFormat": {
38735
- "additionalProperties": false,
38736
- "properties": {
38737
- "type": {
38738
- "const": "bearer",
38739
- "description": "`Bearer <value>`.",
38740
- "title": "Type",
38741
- "type": "string"
38742
- }
38743
- },
38744
- "required": [
38745
- "type"
38746
- ],
38747
- "title": "BearerFormat",
38748
- "type": "object"
38749
- },
38750
- "HeaderLocation": {
38751
- "additionalProperties": false,
38752
- "properties": {
38753
- "type": {
38754
- "const": "header",
38755
- "title": "Type",
38756
- "type": "string"
38757
- },
38758
- "name": {
38759
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
38760
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
38761
- "title": "Name",
38762
- "type": "string"
38763
- }
38764
- },
38765
- "required": [
38766
- "type",
38767
- "name"
38768
- ],
38769
- "title": "HeaderLocation",
38770
- "type": "object"
38771
- },
38772
- "RawFormat": {
38773
- "additionalProperties": false,
38774
- "properties": {
38775
- "type": {
38776
- "const": "raw",
38777
- "description": "The value as it is.",
38778
- "title": "Type",
38779
- "type": "string"
38780
- }
38781
- },
38782
- "required": [
38783
- "type"
38784
- ],
38785
- "title": "RawFormat",
38786
- "type": "object"
38787
- },
38788
- "VaultInjection": {
38789
- "additionalProperties": false,
38790
- "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.",
38791
- "properties": {
38792
- "hosts": {
38793
- "items": {
38794
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
38795
- "maxLength": 253,
38796
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
38797
- "type": "string"
38798
- },
38799
- "maxItems": 20,
38800
- "minItems": 1,
38801
- "title": "Hosts",
38802
- "type": "array"
38803
- },
38804
- "location": {
38805
- "$ref": "#/$defs/HeaderLocation"
38806
- },
38807
- "format": {
38808
- "discriminator": {
38809
- "mapping": {
38810
- "basic": "#/$defs/BasicFormat",
38811
- "bearer": "#/$defs/BearerFormat",
38812
- "raw": "#/$defs/RawFormat"
38813
- },
38814
- "propertyName": "type"
38815
- },
38816
- "oneOf": [
38817
- {
38818
- "$ref": "#/$defs/BearerFormat"
38819
- },
38820
- {
38821
- "$ref": "#/$defs/BasicFormat"
38822
- },
38823
- {
38824
- "$ref": "#/$defs/RawFormat"
38825
- }
38826
- ],
38827
- "title": "Format"
38828
- }
38829
- },
38830
- "required": [
38831
- "hosts",
38832
- "location",
38833
- "format"
38834
- ],
38835
- "title": "VaultInjection",
38836
- "type": "object"
38837
- },
38838
- "VaultView": {
38839
- "additionalProperties": false,
38840
- "description": "A vault's registry envelope and settings. Never its value.",
38841
- "properties": {
38842
- "id": {
38843
- "title": "Id",
38844
- "type": "string"
38845
- },
38846
- "workspace_id": {
38847
- "title": "Workspace Id",
38848
- "type": "string"
38849
- },
38850
- "type": {
38851
- "const": "vault",
38852
- "title": "Type",
38853
- "type": "string"
38854
- },
38855
- "type_version": {
38856
- "const": 1,
38857
- "title": "Type Version",
38858
- "type": "integer"
38859
- },
38860
- "display_name": {
38861
- "title": "Display Name",
38862
- "type": "string"
38863
- },
38864
- "description": {
38865
- "title": "Description",
38866
- "type": "string"
38867
- },
38868
- "visibility": {
38869
- "enum": [
38870
- "workspace",
38871
- "protected"
38872
- ],
38873
- "title": "Visibility",
38874
- "type": "string"
38875
- },
38876
- "owner_user_id": {
38877
- "anyOf": [
38878
- {
38879
- "type": "string"
38880
- },
38881
- {
38882
- "type": "null"
38883
- }
38884
- ],
38885
- "title": "Owner User Id"
38886
- },
38887
- "revision": {
38888
- "exclusiveMinimum": 0,
38889
- "maximum": 9007199254740991,
38890
- "title": "Revision",
38891
- "type": "integer"
38892
- },
38893
- "created_at": {
38894
- "title": "Created At",
38895
- "type": "string"
38896
- },
38897
- "updated_at": {
38898
- "title": "Updated At",
38899
- "type": "string"
38900
- },
38901
- "environment_variable": {
38902
- "anyOf": [
38903
- {
38904
- "type": "string"
38905
- },
38906
- {
38907
- "type": "null"
38908
- }
38909
- ],
38910
- "description": "The environment variable name a machine gets the value under, or null for none.",
38911
- "title": "Environment Variable"
38912
- },
38913
- "injections": {
38914
- "items": {
38915
- "$ref": "#/$defs/VaultInjection"
38916
- },
38917
- "title": "Injections",
38918
- "type": "array"
38919
- },
38920
- "value_updated_at": {
38921
- "description": "When the current value was stored, at create or the last rotate.",
38922
- "title": "Value Updated At",
38923
- "type": "string"
38924
- }
38925
- },
38926
- "required": [
38927
- "id",
38928
- "workspace_id",
38929
- "type",
38930
- "type_version",
38931
- "display_name",
38932
- "description",
38933
- "visibility",
38934
- "owner_user_id",
38935
- "revision",
38936
- "created_at",
38937
- "updated_at",
38938
- "environment_variable",
38939
- "injections",
38940
- "value_updated_at"
38941
- ],
38942
- "title": "VaultView",
38943
- "type": "object"
38944
- }
38945
- }
38946
- },
38947
- "target": {
38948
- "type": "workspace",
38949
- "input_pointer": "/workspace_id"
38950
- },
38951
- "additional_checks": [],
38952
- "effect": "read",
38953
- "result_kind": "inline",
38954
- "error_codes": [
38955
- "invalid_cursor"
38956
- ],
38957
- "digest": "sha256:451cd7005b562af6de1d381a81d57e54bba8def1db9e7c86134c28ed85dab6e4"
38958
- },
38959
- {
38960
- "name": "zo.vault.rotate",
38961
- "version": 1,
38962
- "publisher": "zo",
38963
- "description": "Replace a vault's value. The previous value is destroyed.",
38964
- "input_schema": {
38965
- "additionalProperties": false,
38966
- "properties": {
38967
- "vault_id": {
38968
- "maxLength": 200,
38969
- "minLength": 1,
38970
- "title": "Vault Id",
38971
- "type": "string"
38972
- },
38973
- "expected_revision": {
38974
- "exclusiveMinimum": 0,
38975
- "maximum": 9007199254740991,
38976
- "title": "Expected Revision",
38977
- "type": "integer"
38978
- },
38979
- "value": {
38980
- "description": "Secret: the credential. Stored sealed and never returned.",
38981
- "maxLength": 16384,
38982
- "minLength": 1,
38983
- "title": "Value",
38984
- "type": "string"
38985
- }
38986
- },
38987
- "required": [
38988
- "vault_id",
38989
- "expected_revision",
38990
- "value"
38991
- ],
38992
- "title": "VaultRotateInput",
38993
- "type": "object"
38994
- },
38995
- "output_schema": {
38996
- "additionalProperties": false,
38997
- "description": "A vault's registry envelope and settings. Never its value.",
38998
- "properties": {
38999
- "id": {
39000
- "title": "Id",
39001
- "type": "string"
39002
- },
39003
- "workspace_id": {
39004
- "title": "Workspace Id",
39005
- "type": "string"
39006
- },
39007
- "type": {
39008
- "const": "vault",
39009
- "title": "Type",
39010
- "type": "string"
39011
- },
39012
- "type_version": {
39013
- "const": 1,
39014
- "title": "Type Version",
39015
- "type": "integer"
39016
- },
39017
- "display_name": {
39018
- "title": "Display Name",
39019
- "type": "string"
39020
- },
39021
- "description": {
39022
- "title": "Description",
39023
- "type": "string"
39024
- },
39025
- "visibility": {
39026
- "enum": [
39027
- "workspace",
39028
- "protected"
39029
- ],
39030
- "title": "Visibility",
39031
- "type": "string"
39032
- },
39033
- "owner_user_id": {
39034
- "anyOf": [
39035
- {
39036
- "type": "string"
39037
- },
39038
- {
39039
- "type": "null"
39040
- }
39041
- ],
39042
- "title": "Owner User Id"
39043
- },
39044
- "revision": {
39045
- "exclusiveMinimum": 0,
39046
- "maximum": 9007199254740991,
39047
- "title": "Revision",
39048
- "type": "integer"
39049
- },
39050
- "created_at": {
39051
- "title": "Created At",
39052
- "type": "string"
39053
- },
39054
- "updated_at": {
39055
- "title": "Updated At",
39056
- "type": "string"
39057
- },
39058
- "environment_variable": {
39059
- "anyOf": [
39060
- {
39061
- "type": "string"
39062
- },
39063
- {
39064
- "type": "null"
39065
- }
39066
- ],
39067
- "description": "The environment variable name a machine gets the value under, or null for none.",
39068
- "title": "Environment Variable"
39069
- },
39070
- "injections": {
39071
- "items": {
39072
- "$ref": "#/$defs/VaultInjection"
39073
- },
39074
- "title": "Injections",
39075
- "type": "array"
39076
- },
39077
- "value_updated_at": {
39078
- "description": "When the current value was stored, at create or the last rotate.",
39079
- "title": "Value Updated At",
39080
- "type": "string"
39081
- }
39082
- },
39083
- "required": [
39084
- "id",
39085
- "workspace_id",
39086
- "type",
39087
- "type_version",
39088
- "display_name",
39089
- "description",
39090
- "visibility",
39091
- "owner_user_id",
39092
- "revision",
39093
- "created_at",
39094
- "updated_at",
39095
- "environment_variable",
39096
- "injections",
39097
- "value_updated_at"
39098
- ],
39099
- "title": "VaultView",
39100
- "type": "object",
39101
- "$defs": {
39102
- "BasicFormat": {
39103
- "additionalProperties": false,
39104
- "properties": {
39105
- "type": {
39106
- "const": "basic",
39107
- "description": "`Basic` with base64 of `<username>:<value>`.",
39108
- "title": "Type",
39109
- "type": "string"
39110
- },
39111
- "username": {
39112
- "pattern": "^[^:]{1,256}$",
39113
- "title": "Username",
39114
- "type": "string"
39115
- }
39116
- },
39117
- "required": [
39118
- "type",
39119
- "username"
39120
- ],
39121
- "title": "BasicFormat",
39122
- "type": "object"
39123
- },
39124
- "BearerFormat": {
39125
- "additionalProperties": false,
39126
- "properties": {
39127
- "type": {
39128
- "const": "bearer",
39129
- "description": "`Bearer <value>`.",
39130
- "title": "Type",
39131
- "type": "string"
39132
- }
39133
- },
39134
- "required": [
39135
- "type"
39136
- ],
39137
- "title": "BearerFormat",
39138
- "type": "object"
39139
- },
39140
- "HeaderLocation": {
39141
- "additionalProperties": false,
39142
- "properties": {
39143
- "type": {
39144
- "const": "header",
39145
- "title": "Type",
39146
- "type": "string"
39147
- },
39148
- "name": {
39149
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
39150
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
39151
- "title": "Name",
39152
- "type": "string"
39153
- }
39154
- },
39155
- "required": [
39156
- "type",
39157
- "name"
39158
- ],
39159
- "title": "HeaderLocation",
39160
- "type": "object"
39161
- },
39162
- "RawFormat": {
39163
- "additionalProperties": false,
39164
- "properties": {
39165
- "type": {
39166
- "const": "raw",
39167
- "description": "The value as it is.",
39168
- "title": "Type",
39169
- "type": "string"
39170
- }
39171
- },
39172
- "required": [
39173
- "type"
39174
- ],
39175
- "title": "RawFormat",
39176
- "type": "object"
39177
- },
39178
- "VaultInjection": {
39179
- "additionalProperties": false,
39180
- "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.",
39181
- "properties": {
39182
- "hosts": {
39183
- "items": {
39184
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
39185
- "maxLength": 253,
39186
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
39187
- "type": "string"
39188
- },
39189
- "maxItems": 20,
39190
- "minItems": 1,
39191
- "title": "Hosts",
39192
- "type": "array"
39193
- },
39194
- "location": {
39195
- "$ref": "#/$defs/HeaderLocation"
39196
- },
39197
- "format": {
39198
- "discriminator": {
39199
- "mapping": {
39200
- "basic": "#/$defs/BasicFormat",
39201
- "bearer": "#/$defs/BearerFormat",
39202
- "raw": "#/$defs/RawFormat"
39203
- },
39204
- "propertyName": "type"
39205
- },
39206
- "oneOf": [
39207
- {
39208
- "$ref": "#/$defs/BearerFormat"
39209
- },
39210
- {
39211
- "$ref": "#/$defs/BasicFormat"
39212
- },
39213
- {
39214
- "$ref": "#/$defs/RawFormat"
39215
- }
39216
- ],
39217
- "title": "Format"
39218
- }
39219
- },
39220
- "required": [
39221
- "hosts",
39222
- "location",
39223
- "format"
39224
- ],
39225
- "title": "VaultInjection",
39226
- "type": "object"
39227
- }
39228
- }
39229
- },
39230
- "target": {
39231
- "type": "vault",
39232
- "input_pointer": "/vault_id"
39233
- },
39234
- "additional_checks": [],
39235
- "effect": "manage",
39236
- "result_kind": "inline",
39237
- "error_codes": [
39238
- "invalid_input",
39239
- "conflict",
39240
- "permission_denied",
39241
- "resource_not_found",
39242
- "implementation_unavailable"
39243
- ],
39244
- "digest": "sha256:93570595ef11a357f7cdb50c7f4b8d24a1fc36f9d678cb59627abeb1fa7cff6e"
39245
- },
39246
- {
39247
- "name": "zo.vault.update",
39248
- "version": 1,
39249
- "publisher": "zo",
39250
- "description": "Change a vault's name, description, environment variable or injections against its current revision.",
39251
- "input_schema": {
39252
- "additionalProperties": false,
39253
- "description": "Omitted fields keep their value; ``injections`` replaces the whole list.",
39254
- "properties": {
39255
- "vault_id": {
39256
- "maxLength": 200,
39257
- "minLength": 1,
39258
- "title": "Vault Id",
39259
- "type": "string"
39260
- },
39261
- "expected_revision": {
39262
- "exclusiveMinimum": 0,
39263
- "maximum": 9007199254740991,
39264
- "title": "Expected Revision",
39265
- "type": "integer"
39266
- },
39267
- "display_name": {
39268
- "anyOf": [
39269
- {
39270
- "maxLength": 256,
39271
- "minLength": 1,
39272
- "type": "string"
39273
- },
39274
- {
39275
- "type": "null"
39276
- }
39277
- ],
39278
- "default": null,
39279
- "title": "Display Name"
39280
- },
39281
- "description": {
39282
- "anyOf": [
39283
- {
39284
- "maxLength": 2000,
39285
- "type": "string"
39286
- },
39287
- {
39288
- "type": "null"
39289
- }
39290
- ],
39291
- "default": null,
39292
- "description": "`\"\"` clears the description.",
39293
- "title": "Description"
39294
- },
39295
- "environment_variable": {
39296
- "anyOf": [
39297
- {
39298
- "pattern": "^([A-Z_][A-Z0-9_]{0,127})?$",
39299
- "type": "string"
39300
- },
39301
- {
39302
- "type": "null"
39303
- }
39304
- ],
39305
- "default": null,
39306
- "description": "`\"\"` clears the variable.",
39307
- "title": "Environment Variable"
39308
- },
39309
- "injections": {
39310
- "anyOf": [
39311
- {
39312
- "items": {
39313
- "$ref": "#/$defs/VaultInjection"
39314
- },
39315
- "maxItems": 10,
39316
- "type": "array"
39317
- },
39318
- {
39319
- "type": "null"
39320
- }
39321
- ],
39322
- "default": null,
39323
- "title": "Injections"
39324
- }
39325
- },
39326
- "required": [
39327
- "vault_id",
39328
- "expected_revision"
39329
- ],
39330
- "title": "VaultUpdateInput",
39331
- "type": "object",
39332
- "$defs": {
39333
- "BasicFormat": {
39334
- "additionalProperties": false,
39335
- "properties": {
39336
- "type": {
39337
- "const": "basic",
39338
- "description": "`Basic` with base64 of `<username>:<value>`.",
39339
- "title": "Type",
39340
- "type": "string"
39341
- },
39342
- "username": {
39343
- "pattern": "^[^:]{1,256}$",
39344
- "title": "Username",
39345
- "type": "string"
39346
- }
39347
- },
39348
- "required": [
39349
- "type",
39350
- "username"
39351
- ],
39352
- "title": "BasicFormat",
39353
- "type": "object"
39354
- },
39355
- "BearerFormat": {
39356
- "additionalProperties": false,
39357
- "properties": {
39358
- "type": {
39359
- "const": "bearer",
39360
- "description": "`Bearer <value>`.",
39361
- "title": "Type",
39362
- "type": "string"
39363
- }
39364
- },
39365
- "required": [
39366
- "type"
39367
- ],
39368
- "title": "BearerFormat",
39369
- "type": "object"
39370
- },
39371
- "HeaderLocation": {
39372
- "additionalProperties": false,
39373
- "properties": {
39374
- "type": {
39375
- "const": "header",
39376
- "title": "Type",
39377
- "type": "string"
39378
- },
39379
- "name": {
39380
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
39381
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
39382
- "title": "Name",
39383
- "type": "string"
39384
- }
39385
- },
39386
- "required": [
39387
- "type",
39388
- "name"
39389
- ],
39390
- "title": "HeaderLocation",
39391
- "type": "object"
39392
- },
39393
- "RawFormat": {
39394
- "additionalProperties": false,
39395
- "properties": {
39396
- "type": {
39397
- "const": "raw",
39398
- "description": "The value as it is.",
39399
- "title": "Type",
39400
- "type": "string"
39401
- }
39402
- },
39403
- "required": [
39404
- "type"
39405
- ],
39406
- "title": "RawFormat",
39407
- "type": "object"
39408
- },
39409
- "VaultInjection": {
39410
- "additionalProperties": false,
39411
- "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.",
39412
- "properties": {
39413
- "hosts": {
39414
- "items": {
39415
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
39416
- "maxLength": 253,
39417
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
39418
- "type": "string"
39419
- },
39420
- "maxItems": 20,
39421
- "minItems": 1,
39422
- "title": "Hosts",
39423
- "type": "array"
39424
- },
39425
- "location": {
39426
- "$ref": "#/$defs/HeaderLocation"
39427
- },
39428
- "format": {
39429
- "discriminator": {
39430
- "mapping": {
39431
- "basic": "#/$defs/BasicFormat",
39432
- "bearer": "#/$defs/BearerFormat",
39433
- "raw": "#/$defs/RawFormat"
39434
- },
39435
- "propertyName": "type"
39436
- },
39437
- "oneOf": [
39438
- {
39439
- "$ref": "#/$defs/BearerFormat"
39440
- },
39441
- {
39442
- "$ref": "#/$defs/BasicFormat"
39443
- },
39444
- {
39445
- "$ref": "#/$defs/RawFormat"
39446
- }
39447
- ],
39448
- "title": "Format"
39449
- }
39450
- },
39451
- "required": [
39452
- "hosts",
39453
- "location",
39454
- "format"
39455
- ],
39456
- "title": "VaultInjection",
39457
- "type": "object"
39458
- }
39459
- }
39460
- },
39461
- "output_schema": {
39462
- "additionalProperties": false,
39463
- "description": "A vault's registry envelope and settings. Never its value.",
39464
- "properties": {
39465
- "id": {
39466
- "title": "Id",
39467
- "type": "string"
39468
- },
39469
- "workspace_id": {
39470
- "title": "Workspace Id",
39471
- "type": "string"
39472
- },
39473
- "type": {
39474
- "const": "vault",
39475
- "title": "Type",
39476
- "type": "string"
39477
- },
39478
- "type_version": {
39479
- "const": 1,
39480
- "title": "Type Version",
39481
- "type": "integer"
39482
- },
39483
- "display_name": {
39484
- "title": "Display Name",
39485
- "type": "string"
39486
- },
39487
- "description": {
39488
- "title": "Description",
39489
- "type": "string"
39490
- },
39491
- "visibility": {
39492
- "enum": [
39493
- "workspace",
39494
- "protected"
39495
- ],
39496
- "title": "Visibility",
39497
- "type": "string"
39498
- },
39499
- "owner_user_id": {
39500
- "anyOf": [
39501
- {
39502
- "type": "string"
39503
- },
39504
- {
39505
- "type": "null"
39506
- }
39507
- ],
39508
- "title": "Owner User Id"
39509
- },
39510
- "revision": {
39511
- "exclusiveMinimum": 0,
39512
- "maximum": 9007199254740991,
39513
- "title": "Revision",
39514
- "type": "integer"
39515
- },
39516
- "created_at": {
39517
- "title": "Created At",
39518
- "type": "string"
39519
- },
39520
- "updated_at": {
39521
- "title": "Updated At",
39522
- "type": "string"
39523
- },
39524
- "environment_variable": {
39525
- "anyOf": [
39526
- {
39527
- "type": "string"
39528
- },
39529
- {
39530
- "type": "null"
39531
- }
39532
- ],
39533
- "description": "The environment variable name a machine gets the value under, or null for none.",
39534
- "title": "Environment Variable"
39535
- },
39536
- "injections": {
39537
- "items": {
39538
- "$ref": "#/$defs/VaultInjection"
39539
- },
39540
- "title": "Injections",
39541
- "type": "array"
39542
- },
39543
- "value_updated_at": {
39544
- "description": "When the current value was stored, at create or the last rotate.",
39545
- "title": "Value Updated At",
39546
- "type": "string"
39547
- }
39548
- },
39549
- "required": [
39550
- "id",
39551
- "workspace_id",
39552
- "type",
39553
- "type_version",
39554
- "display_name",
39555
- "description",
39556
- "visibility",
39557
- "owner_user_id",
39558
- "revision",
39559
- "created_at",
39560
- "updated_at",
39561
- "environment_variable",
39562
- "injections",
39563
- "value_updated_at"
39564
- ],
39565
- "title": "VaultView",
39566
- "type": "object",
39567
- "$defs": {
39568
- "BasicFormat": {
39569
- "additionalProperties": false,
39570
- "properties": {
39571
- "type": {
39572
- "const": "basic",
39573
- "description": "`Basic` with base64 of `<username>:<value>`.",
39574
- "title": "Type",
39575
- "type": "string"
39576
- },
39577
- "username": {
39578
- "pattern": "^[^:]{1,256}$",
39579
- "title": "Username",
39580
- "type": "string"
39581
- }
39582
- },
39583
- "required": [
39584
- "type",
39585
- "username"
39586
- ],
39587
- "title": "BasicFormat",
39588
- "type": "object"
39589
- },
39590
- "BearerFormat": {
39591
- "additionalProperties": false,
39592
- "properties": {
39593
- "type": {
39594
- "const": "bearer",
39595
- "description": "`Bearer <value>`.",
39596
- "title": "Type",
39597
- "type": "string"
39598
- }
39599
- },
39600
- "required": [
39601
- "type"
39602
- ],
39603
- "title": "BearerFormat",
39604
- "type": "object"
39605
- },
39606
- "HeaderLocation": {
39607
- "additionalProperties": false,
39608
- "properties": {
39609
- "type": {
39610
- "const": "header",
39611
- "title": "Type",
39612
- "type": "string"
39613
- },
39614
- "name": {
39615
- "description": "The header to set, such as `Authorization` or `X-API-Key`.",
39616
- "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]{1,128}$",
39617
- "title": "Name",
39618
- "type": "string"
39619
- }
39620
- },
39621
- "required": [
39622
- "type",
39623
- "name"
39624
- ],
39625
- "title": "HeaderLocation",
39626
- "type": "object"
39627
- },
39628
- "RawFormat": {
39629
- "additionalProperties": false,
39630
- "properties": {
39631
- "type": {
39632
- "const": "raw",
39633
- "description": "The value as it is.",
39634
- "title": "Type",
39635
- "type": "string"
39636
- }
39637
- },
39638
- "required": [
39639
- "type"
39640
- ],
39641
- "title": "RawFormat",
39642
- "type": "object"
39643
- },
39644
- "VaultInjection": {
39645
- "additionalProperties": false,
39646
- "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.",
39647
- "properties": {
39648
- "hosts": {
39649
- "items": {
39650
- "description": "An exact lowercase DNS name, such as `api.openai.com`: no wildcard, port or path.",
39651
- "maxLength": 253,
39652
- "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$",
39653
- "type": "string"
39654
- },
39655
- "maxItems": 20,
39656
- "minItems": 1,
39657
- "title": "Hosts",
39658
- "type": "array"
39659
- },
39660
- "location": {
39661
- "$ref": "#/$defs/HeaderLocation"
39662
- },
39663
- "format": {
39664
- "discriminator": {
39665
- "mapping": {
39666
- "basic": "#/$defs/BasicFormat",
39667
- "bearer": "#/$defs/BearerFormat",
39668
- "raw": "#/$defs/RawFormat"
39669
- },
39670
- "propertyName": "type"
39671
- },
39672
- "oneOf": [
39673
- {
39674
- "$ref": "#/$defs/BearerFormat"
39675
- },
39676
- {
39677
- "$ref": "#/$defs/BasicFormat"
39678
- },
39679
- {
39680
- "$ref": "#/$defs/RawFormat"
39681
- }
39682
- ],
39683
- "title": "Format"
39684
- }
39685
- },
39686
- "required": [
39687
- "hosts",
39688
- "location",
39689
- "format"
39690
- ],
39691
- "title": "VaultInjection",
39692
- "type": "object"
39693
- }
39694
- }
39695
- },
39696
- "target": {
39697
- "type": "vault",
39698
- "input_pointer": "/vault_id"
39699
- },
39700
- "additional_checks": [],
39701
- "effect": "manage",
39702
- "result_kind": "inline",
39703
- "error_codes": [
39704
- "invalid_input",
39705
- "conflict",
39706
- "permission_denied",
39707
- "resource_not_found"
39708
- ],
39709
- "digest": "sha256:80aa675da723e68f10b88b4f1663724a0c3e8f3ba11399b420c88cdcb7430d53"
39710
- },
39711
38407
  {
39712
38408
  "name": "zo.web.fetch",
39713
38409
  "version": 1,
@@ -40254,6 +38950,15 @@
40254
38950
  ],
40255
38951
  "title": "Visibility",
40256
38952
  "type": "string"
38953
+ },
38954
+ "access": {
38955
+ "default": "public",
38956
+ "enum": [
38957
+ "public",
38958
+ "authenticated"
38959
+ ],
38960
+ "title": "Access",
38961
+ "type": "string"
40257
38962
  }
40258
38963
  },
40259
38964
  "required": [
@@ -40302,224 +39007,230 @@
40302
39007
  ]
40303
39008
  },
40304
39009
  "access": {
40305
- "const": "public",
40306
- "title": "Access",
40307
- "type": "string"
40308
- },
40309
- "revision": {
40310
- "exclusiveMinimum": 0,
40311
- "maximum": 9007199254740991,
40312
- "title": "Revision",
40313
- "type": "integer"
40314
- },
40315
- "visibility": {
40316
39010
  "enum": [
40317
- "workspace",
40318
- "protected"
40319
- ],
40320
- "title": "Visibility",
40321
- "type": "string"
40322
- },
40323
- "owner_user_id": {
40324
- "anyOf": [
40325
- {
40326
- "type": "string"
40327
- },
40328
- {
40329
- "type": "null"
40330
- }
40331
- ],
40332
- "title": "Owner User Id"
40333
- },
40334
- "created_at": {
40335
- "title": "Created At",
40336
- "type": "string"
40337
- },
40338
- "updated_at": {
40339
- "title": "Updated At",
40340
- "type": "string"
40341
- }
40342
- },
40343
- "required": [
40344
- "id",
40345
- "workspace_id",
40346
- "slug",
40347
- "display_name",
40348
- "description",
40349
- "generated_hostname",
40350
- "custom_hostname",
40351
- "access",
40352
- "revision",
40353
- "visibility",
40354
- "owner_user_id",
40355
- "created_at",
40356
- "updated_at"
40357
- ],
40358
- "title": "Website",
40359
- "type": "object",
40360
- "$defs": {
40361
- "WebsiteHostname": {
40362
- "additionalProperties": false,
40363
- "properties": {
40364
- "hostname": {
40365
- "title": "Hostname",
40366
- "type": "string"
40367
- },
40368
- "state": {
40369
- "enum": [
40370
- "pending_dns",
40371
- "pending_ssl",
40372
- "active",
40373
- "released"
40374
- ],
40375
- "title": "State",
40376
- "type": "string"
40377
- }
40378
- },
40379
- "required": [
40380
- "hostname",
40381
- "state"
39011
+ "public",
39012
+ "authenticated"
39013
+ ],
39014
+ "title": "Access",
39015
+ "type": "string"
39016
+ },
39017
+ "revision": {
39018
+ "exclusiveMinimum": 0,
39019
+ "maximum": 9007199254740991,
39020
+ "title": "Revision",
39021
+ "type": "integer"
39022
+ },
39023
+ "visibility": {
39024
+ "enum": [
39025
+ "workspace",
39026
+ "protected"
39027
+ ],
39028
+ "title": "Visibility",
39029
+ "type": "string"
39030
+ },
39031
+ "owner_user_id": {
39032
+ "anyOf": [
39033
+ {
39034
+ "type": "string"
39035
+ },
39036
+ {
39037
+ "type": "null"
39038
+ }
39039
+ ],
39040
+ "title": "Owner User Id"
39041
+ },
39042
+ "created_at": {
39043
+ "title": "Created At",
39044
+ "type": "string"
39045
+ },
39046
+ "updated_at": {
39047
+ "title": "Updated At",
39048
+ "type": "string"
39049
+ }
39050
+ },
39051
+ "required": [
39052
+ "id",
39053
+ "workspace_id",
39054
+ "slug",
39055
+ "display_name",
39056
+ "description",
39057
+ "generated_hostname",
39058
+ "custom_hostname",
39059
+ "access",
39060
+ "revision",
39061
+ "visibility",
39062
+ "owner_user_id",
39063
+ "created_at",
39064
+ "updated_at"
39065
+ ],
39066
+ "title": "Website",
39067
+ "type": "object",
39068
+ "$defs": {
39069
+ "WebsiteHostname": {
39070
+ "additionalProperties": false,
39071
+ "properties": {
39072
+ "hostname": {
39073
+ "title": "Hostname",
39074
+ "type": "string"
39075
+ },
39076
+ "state": {
39077
+ "enum": [
39078
+ "pending_dns",
39079
+ "pending_ssl",
39080
+ "active",
39081
+ "released"
39082
+ ],
39083
+ "title": "State",
39084
+ "type": "string"
39085
+ }
39086
+ },
39087
+ "required": [
39088
+ "hostname",
39089
+ "state"
39090
+ ],
39091
+ "title": "WebsiteHostname",
39092
+ "type": "object"
39093
+ }
39094
+ }
39095
+ },
39096
+ "target": {
39097
+ "type": "workspace",
39098
+ "input_pointer": "/workspace_id"
39099
+ },
39100
+ "additional_checks": [],
39101
+ "effect": "create",
39102
+ "result_kind": "inline",
39103
+ "error_codes": [
39104
+ "implementation_unavailable",
39105
+ "invalid_input",
39106
+ "conflict"
39107
+ ],
39108
+ "digest": "sha256:8c7b48e80e39d01eb6fa121ba0a2688deba2f2ba7396dee8e3f583d7f6c884ff"
39109
+ },
39110
+ {
39111
+ "name": "zo.website.delete",
39112
+ "version": 1,
39113
+ "publisher": "zo",
39114
+ "description": "Delete a Website and retire its routes.",
39115
+ "input_schema": {
39116
+ "additionalProperties": false,
39117
+ "properties": {
39118
+ "website_id": {
39119
+ "maxLength": 200,
39120
+ "minLength": 1,
39121
+ "title": "Website Id",
39122
+ "type": "string"
39123
+ },
39124
+ "expected_revision": {
39125
+ "exclusiveMinimum": 0,
39126
+ "maximum": 9007199254740991,
39127
+ "title": "Expected Revision",
39128
+ "type": "integer"
39129
+ }
39130
+ },
39131
+ "required": [
39132
+ "website_id",
39133
+ "expected_revision"
39134
+ ],
39135
+ "title": "WebsiteRevisionInput",
39136
+ "type": "object"
39137
+ },
39138
+ "output_schema": {
39139
+ "additionalProperties": false,
39140
+ "properties": {
39141
+ "id": {
39142
+ "title": "Id",
39143
+ "type": "string"
39144
+ },
39145
+ "deleted": {
39146
+ "const": true,
39147
+ "title": "Deleted",
39148
+ "type": "boolean"
39149
+ }
39150
+ },
39151
+ "required": [
39152
+ "id",
39153
+ "deleted"
39154
+ ],
39155
+ "title": "Deleted",
39156
+ "type": "object"
39157
+ },
39158
+ "target": {
39159
+ "type": "website",
39160
+ "input_pointer": "/website_id"
39161
+ },
39162
+ "additional_checks": [],
39163
+ "effect": "manage",
39164
+ "result_kind": "inline",
39165
+ "error_codes": [
39166
+ "implementation_unavailable",
39167
+ "conflict"
39168
+ ],
39169
+ "digest": "sha256:2db56e54e0b5566279d44af943774876d9996d525a3dab2b7af47389167ec896"
39170
+ },
39171
+ {
39172
+ "name": "zo.website.get",
39173
+ "version": 1,
39174
+ "publisher": "zo",
39175
+ "description": "Read a Website and its hostname.",
39176
+ "input_schema": {
39177
+ "additionalProperties": false,
39178
+ "properties": {
39179
+ "website_id": {
39180
+ "maxLength": 200,
39181
+ "minLength": 1,
39182
+ "title": "Website Id",
39183
+ "type": "string"
39184
+ }
39185
+ },
39186
+ "required": [
39187
+ "website_id"
39188
+ ],
39189
+ "title": "WebsiteGetInput",
39190
+ "type": "object"
39191
+ },
39192
+ "output_schema": {
39193
+ "additionalProperties": false,
39194
+ "properties": {
39195
+ "id": {
39196
+ "title": "Id",
39197
+ "type": "string"
39198
+ },
39199
+ "workspace_id": {
39200
+ "title": "Workspace Id",
39201
+ "type": "string"
39202
+ },
39203
+ "slug": {
39204
+ "title": "Slug",
39205
+ "type": "string"
39206
+ },
39207
+ "display_name": {
39208
+ "title": "Display Name",
39209
+ "type": "string"
39210
+ },
39211
+ "description": {
39212
+ "title": "Description",
39213
+ "type": "string"
39214
+ },
39215
+ "generated_hostname": {
39216
+ "title": "Generated Hostname",
39217
+ "type": "string"
39218
+ },
39219
+ "custom_hostname": {
39220
+ "anyOf": [
39221
+ {
39222
+ "$ref": "#/$defs/WebsiteHostname"
39223
+ },
39224
+ {
39225
+ "type": "null"
39226
+ }
39227
+ ]
39228
+ },
39229
+ "access": {
39230
+ "enum": [
39231
+ "public",
39232
+ "authenticated"
40382
39233
  ],
40383
- "title": "WebsiteHostname",
40384
- "type": "object"
40385
- }
40386
- }
40387
- },
40388
- "target": {
40389
- "type": "workspace",
40390
- "input_pointer": "/workspace_id"
40391
- },
40392
- "additional_checks": [],
40393
- "effect": "create",
40394
- "result_kind": "inline",
40395
- "error_codes": [
40396
- "implementation_unavailable",
40397
- "invalid_input",
40398
- "conflict"
40399
- ],
40400
- "digest": "sha256:2b3ecdf8b5a8943b54adc1cb3edd6d55bbd2b50f9306d626cea73157ef84f379"
40401
- },
40402
- {
40403
- "name": "zo.website.delete",
40404
- "version": 1,
40405
- "publisher": "zo",
40406
- "description": "Delete a Website and retire its routes.",
40407
- "input_schema": {
40408
- "additionalProperties": false,
40409
- "properties": {
40410
- "website_id": {
40411
- "maxLength": 200,
40412
- "minLength": 1,
40413
- "title": "Website Id",
40414
- "type": "string"
40415
- },
40416
- "expected_revision": {
40417
- "exclusiveMinimum": 0,
40418
- "maximum": 9007199254740991,
40419
- "title": "Expected Revision",
40420
- "type": "integer"
40421
- }
40422
- },
40423
- "required": [
40424
- "website_id",
40425
- "expected_revision"
40426
- ],
40427
- "title": "WebsiteRevisionInput",
40428
- "type": "object"
40429
- },
40430
- "output_schema": {
40431
- "additionalProperties": false,
40432
- "properties": {
40433
- "id": {
40434
- "title": "Id",
40435
- "type": "string"
40436
- },
40437
- "deleted": {
40438
- "const": true,
40439
- "title": "Deleted",
40440
- "type": "boolean"
40441
- }
40442
- },
40443
- "required": [
40444
- "id",
40445
- "deleted"
40446
- ],
40447
- "title": "Deleted",
40448
- "type": "object"
40449
- },
40450
- "target": {
40451
- "type": "website",
40452
- "input_pointer": "/website_id"
40453
- },
40454
- "additional_checks": [],
40455
- "effect": "manage",
40456
- "result_kind": "inline",
40457
- "error_codes": [
40458
- "implementation_unavailable",
40459
- "conflict"
40460
- ],
40461
- "digest": "sha256:2db56e54e0b5566279d44af943774876d9996d525a3dab2b7af47389167ec896"
40462
- },
40463
- {
40464
- "name": "zo.website.get",
40465
- "version": 1,
40466
- "publisher": "zo",
40467
- "description": "Read a Website and its hostname.",
40468
- "input_schema": {
40469
- "additionalProperties": false,
40470
- "properties": {
40471
- "website_id": {
40472
- "maxLength": 200,
40473
- "minLength": 1,
40474
- "title": "Website Id",
40475
- "type": "string"
40476
- }
40477
- },
40478
- "required": [
40479
- "website_id"
40480
- ],
40481
- "title": "WebsiteGetInput",
40482
- "type": "object"
40483
- },
40484
- "output_schema": {
40485
- "additionalProperties": false,
40486
- "properties": {
40487
- "id": {
40488
- "title": "Id",
40489
- "type": "string"
40490
- },
40491
- "workspace_id": {
40492
- "title": "Workspace Id",
40493
- "type": "string"
40494
- },
40495
- "slug": {
40496
- "title": "Slug",
40497
- "type": "string"
40498
- },
40499
- "display_name": {
40500
- "title": "Display Name",
40501
- "type": "string"
40502
- },
40503
- "description": {
40504
- "title": "Description",
40505
- "type": "string"
40506
- },
40507
- "generated_hostname": {
40508
- "title": "Generated Hostname",
40509
- "type": "string"
40510
- },
40511
- "custom_hostname": {
40512
- "anyOf": [
40513
- {
40514
- "$ref": "#/$defs/WebsiteHostname"
40515
- },
40516
- {
40517
- "type": "null"
40518
- }
40519
- ]
40520
- },
40521
- "access": {
40522
- "const": "public",
40523
39234
  "title": "Access",
40524
39235
  "type": "string"
40525
39236
  },
@@ -40613,7 +39324,7 @@
40613
39324
  "implementation_unavailable",
40614
39325
  "resource_not_found"
40615
39326
  ],
40616
- "digest": "sha256:69267cde0d466e6011a6f11dc475ea6b7ef928541ecb2ee0f77db72a6d51dd79"
39327
+ "digest": "sha256:e95171ac43bb4bf95e277a4c6777ee8061c728feb119cbfc2354dc45dfb82d49"
40617
39328
  },
40618
39329
  {
40619
39330
  "name": "zo.website.list",
@@ -40844,7 +39555,10 @@
40844
39555
  ]
40845
39556
  },
40846
39557
  "access": {
40847
- "const": "public",
39558
+ "enum": [
39559
+ "public",
39560
+ "authenticated"
39561
+ ],
40848
39562
  "title": "Access",
40849
39563
  "type": "string"
40850
39564
  },
@@ -40975,6 +39689,14 @@
40975
39689
  }
40976
39690
  ],
40977
39691
  "title": "Target"
39692
+ },
39693
+ "access": {
39694
+ "enum": [
39695
+ "public",
39696
+ "authenticated"
39697
+ ],
39698
+ "title": "Access",
39699
+ "type": "string"
40978
39700
  }
40979
39701
  },
40980
39702
  "required": [
@@ -40984,7 +39706,8 @@
40984
39706
  "revision",
40985
39707
  "state",
40986
39708
  "published_at",
40987
- "target"
39709
+ "target",
39710
+ "access"
40988
39711
  ],
40989
39712
  "title": "WebsiteRoute",
40990
39713
  "type": "object"
@@ -41002,7 +39725,7 @@
41002
39725
  "implementation_unavailable",
41003
39726
  "invalid_input"
41004
39727
  ],
41005
- "digest": "sha256:54c7ec12e23d6d642a6b738f23797aacb945e4bafebf4604b15c12ecf70d019f"
39728
+ "digest": "sha256:1acce33b16bd903d94f40273da1785d694f99444facb40e166a061190db1bb74"
41006
39729
  },
41007
39730
  {
41008
39731
  "name": "zo.website.update",
@@ -41062,6 +39785,22 @@
41062
39785
  }
41063
39786
  ],
41064
39787
  "default": null
39788
+ },
39789
+ "access": {
39790
+ "anyOf": [
39791
+ {
39792
+ "enum": [
39793
+ "public",
39794
+ "authenticated"
39795
+ ],
39796
+ "type": "string"
39797
+ },
39798
+ {
39799
+ "type": "null"
39800
+ }
39801
+ ],
39802
+ "default": null,
39803
+ "title": "Access"
41065
39804
  }
41066
39805
  },
41067
39806
  "required": [
@@ -41134,7 +39873,10 @@
41134
39873
  ]
41135
39874
  },
41136
39875
  "access": {
41137
- "const": "public",
39876
+ "enum": [
39877
+ "public",
39878
+ "authenticated"
39879
+ ],
41138
39880
  "title": "Access",
41139
39881
  "type": "string"
41140
39882
  },
@@ -41229,7 +39971,7 @@
41229
39971
  "invalid_input",
41230
39972
  "conflict"
41231
39973
  ],
41232
- "digest": "sha256:6900ed69ecf24c10329a7e4277a228d5d1fa0d68e445e51744e89201d0d675da"
39974
+ "digest": "sha256:99ad2a085bd283d6fee339a8c3c1adf1414065e7f0a5714f0292ba352c9d7655"
41233
39975
  },
41234
39976
  {
41235
39977
  "name": "zo.website_route.create",
@@ -41289,6 +40031,15 @@
41289
40031
  "maxItems": 8,
41290
40032
  "title": "Acknowledge Bound Accounts",
41291
40033
  "type": "array"
40034
+ },
40035
+ "access": {
40036
+ "default": "authenticated",
40037
+ "enum": [
40038
+ "public",
40039
+ "authenticated"
40040
+ ],
40041
+ "title": "Access",
40042
+ "type": "string"
41292
40043
  }
41293
40044
  },
41294
40045
  "required": [
@@ -41488,6 +40239,14 @@
41488
40239
  }
41489
40240
  ],
41490
40241
  "title": "Target"
40242
+ },
40243
+ "access": {
40244
+ "enum": [
40245
+ "public",
40246
+ "authenticated"
40247
+ ],
40248
+ "title": "Access",
40249
+ "type": "string"
41491
40250
  }
41492
40251
  },
41493
40252
  "required": [
@@ -41497,7 +40256,8 @@
41497
40256
  "revision",
41498
40257
  "state",
41499
40258
  "published_at",
41500
- "target"
40259
+ "target",
40260
+ "access"
41501
40261
  ],
41502
40262
  "title": "WebsiteRoute",
41503
40263
  "type": "object",
@@ -41633,7 +40393,7 @@
41633
40393
  "conflict",
41634
40394
  "permission_denied"
41635
40395
  ],
41636
- "digest": "sha256:9dd5792ac451e211437d2e29791df9f95f3bc7e55f5d90dc1d6afdfbc5a25bb8"
40396
+ "digest": "sha256:7e47790fe89cfc69715e870249a89bd770d836ba81b68a6ea5efc889a902bca0"
41637
40397
  },
41638
40398
  {
41639
40399
  "name": "zo.website_route.delete",
@@ -41803,6 +40563,14 @@
41803
40563
  }
41804
40564
  ],
41805
40565
  "title": "Target"
40566
+ },
40567
+ "access": {
40568
+ "enum": [
40569
+ "public",
40570
+ "authenticated"
40571
+ ],
40572
+ "title": "Access",
40573
+ "type": "string"
41806
40574
  }
41807
40575
  },
41808
40576
  "required": [
@@ -41812,7 +40580,8 @@
41812
40580
  "revision",
41813
40581
  "state",
41814
40582
  "published_at",
41815
- "target"
40583
+ "target",
40584
+ "access"
41816
40585
  ],
41817
40586
  "title": "WebsiteRoute",
41818
40587
  "type": "object",
@@ -41946,7 +40715,7 @@
41946
40715
  "implementation_unavailable",
41947
40716
  "resource_not_found"
41948
40717
  ],
41949
- "digest": "sha256:9d186c5f2887ae961c088459bafcbd44b1e46fb3c5daeaddc9d3d251dfa91f3c"
40718
+ "digest": "sha256:6b3a84ac84b6d88ab2d6220266ae425613246fdc9e3100c4ea2f7039114de352"
41950
40719
  },
41951
40720
  {
41952
40721
  "name": "zo.website_route.list",
@@ -42175,6 +40944,14 @@
42175
40944
  }
42176
40945
  ],
42177
40946
  "title": "Target"
40947
+ },
40948
+ "access": {
40949
+ "enum": [
40950
+ "public",
40951
+ "authenticated"
40952
+ ],
40953
+ "title": "Access",
40954
+ "type": "string"
42178
40955
  }
42179
40956
  },
42180
40957
  "required": [
@@ -42184,7 +40961,8 @@
42184
40961
  "revision",
42185
40962
  "state",
42186
40963
  "published_at",
42187
- "target"
40964
+ "target",
40965
+ "access"
42188
40966
  ],
42189
40967
  "title": "WebsiteRoute",
42190
40968
  "type": "object"
@@ -42201,7 +40979,7 @@
42201
40979
  "error_codes": [
42202
40980
  "implementation_unavailable"
42203
40981
  ],
42204
- "digest": "sha256:cdf770225f63cd112b61ccd2d03dab43e4ff3f6efd6f3bd926fade80651f16a0"
40982
+ "digest": "sha256:2385bb19164c328895293e07b28a3217eecdb5261cea316cdab32abb7d399ba2"
42205
40983
  },
42206
40984
  {
42207
40985
  "name": "zo.website_route.publish",
@@ -42310,6 +41088,14 @@
42310
41088
  }
42311
41089
  ],
42312
41090
  "title": "Target"
41091
+ },
41092
+ "access": {
41093
+ "enum": [
41094
+ "public",
41095
+ "authenticated"
41096
+ ],
41097
+ "title": "Access",
41098
+ "type": "string"
42313
41099
  }
42314
41100
  },
42315
41101
  "required": [
@@ -42319,7 +41105,8 @@
42319
41105
  "revision",
42320
41106
  "state",
42321
41107
  "published_at",
42322
- "target"
41108
+ "target",
41109
+ "access"
42323
41110
  ],
42324
41111
  "title": "WebsiteRoute",
42325
41112
  "type": "object",
@@ -42455,7 +41242,7 @@
42455
41242
  "conflict",
42456
41243
  "permission_denied"
42457
41244
  ],
42458
- "digest": "sha256:28b4cf3d5a6a57a8a8337c920c54529de2278d93806bc836c7f44863e7d6e98c"
41245
+ "digest": "sha256:f67678ec3f38d276b70b567b1487eb249772b6442f690ec050b2cfb8af825438"
42459
41246
  },
42460
41247
  {
42461
41248
  "name": "zo.website_route.unpublish",
@@ -42564,6 +41351,14 @@
42564
41351
  }
42565
41352
  ],
42566
41353
  "title": "Target"
41354
+ },
41355
+ "access": {
41356
+ "enum": [
41357
+ "public",
41358
+ "authenticated"
41359
+ ],
41360
+ "title": "Access",
41361
+ "type": "string"
42567
41362
  }
42568
41363
  },
42569
41364
  "required": [
@@ -42573,7 +41368,8 @@
42573
41368
  "revision",
42574
41369
  "state",
42575
41370
  "published_at",
42576
- "target"
41371
+ "target",
41372
+ "access"
42577
41373
  ],
42578
41374
  "title": "WebsiteRoute",
42579
41375
  "type": "object",
@@ -42707,7 +41503,7 @@
42707
41503
  "implementation_unavailable",
42708
41504
  "conflict"
42709
41505
  ],
42710
- "digest": "sha256:b483fb1010a229d4de97eacb9134e86d43e648bb59f96cd83c4d7b90ac0d71f9"
41506
+ "digest": "sha256:c7b4fd53bac6778012f85a13644d30704ffba13cf4767cc87ccf8927f898036a"
42711
41507
  },
42712
41508
  {
42713
41509
  "name": "zo.website_route.update",
@@ -42789,6 +41585,22 @@
42789
41585
  "maxItems": 8,
42790
41586
  "title": "Acknowledge Bound Accounts",
42791
41587
  "type": "array"
41588
+ },
41589
+ "access": {
41590
+ "anyOf": [
41591
+ {
41592
+ "enum": [
41593
+ "public",
41594
+ "authenticated"
41595
+ ],
41596
+ "type": "string"
41597
+ },
41598
+ {
41599
+ "type": "null"
41600
+ }
41601
+ ],
41602
+ "default": null,
41603
+ "title": "Access"
42792
41604
  }
42793
41605
  },
42794
41606
  "required": [
@@ -42987,6 +41799,14 @@
42987
41799
  }
42988
41800
  ],
42989
41801
  "title": "Target"
41802
+ },
41803
+ "access": {
41804
+ "enum": [
41805
+ "public",
41806
+ "authenticated"
41807
+ ],
41808
+ "title": "Access",
41809
+ "type": "string"
42990
41810
  }
42991
41811
  },
42992
41812
  "required": [
@@ -42996,7 +41816,8 @@
42996
41816
  "revision",
42997
41817
  "state",
42998
41818
  "published_at",
42999
- "target"
41819
+ "target",
41820
+ "access"
43000
41821
  ],
43001
41822
  "title": "WebsiteRoute",
43002
41823
  "type": "object",
@@ -43132,7 +41953,7 @@
43132
41953
  "conflict",
43133
41954
  "permission_denied"
43134
41955
  ],
43135
- "digest": "sha256:35ae85e4343e8e223e431b08ec1b6237fcc7bc0cfeb11089105251d40b8c1f8d"
41956
+ "digest": "sha256:7d7b5de1fbfffcd924aa18c8bc2bc8825d6f554bd740a232d7e03362d2799e0e"
43136
41957
  },
43137
41958
  {
43138
41959
  "name": "zo.workflow.activate",
@@ -44657,7 +43478,7 @@
44657
43478
  },
44658
43479
  "output_schema": {
44659
43480
  "additionalProperties": false,
44660
- "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`.",
43481
+ "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`.",
44661
43482
  "properties": {
44662
43483
  "id": {
44663
43484
  "title": "Id",
@@ -44690,6 +43511,9 @@
44690
43511
  },
44691
43512
  "properties": {
44692
43513
  "$ref": "#/$defs/WorkspaceProperties"
43514
+ },
43515
+ "caller": {
43516
+ "$ref": "#/$defs/WorkspaceCaller"
44693
43517
  }
44694
43518
  },
44695
43519
  "required": [
@@ -44699,11 +43523,261 @@
44699
43523
  "type_version",
44700
43524
  "display_name",
44701
43525
  "revision",
44702
- "properties"
43526
+ "properties",
43527
+ "caller"
44703
43528
  ],
44704
43529
  "title": "WorkspaceResource",
44705
43530
  "type": "object",
44706
43531
  "$defs": {
43532
+ "CallerCredential": {
43533
+ "additionalProperties": false,
43534
+ "description": "The kind of the verified credential and its client facts.",
43535
+ "properties": {
43536
+ "kind": {
43537
+ "enum": [
43538
+ "login",
43539
+ "agent_runner",
43540
+ "function_run",
43541
+ "workflow_run",
43542
+ "client_credentials",
43543
+ "authorization_code",
43544
+ "workload",
43545
+ "execution",
43546
+ "delegated",
43547
+ "persisted"
43548
+ ],
43549
+ "title": "Kind",
43550
+ "type": "string"
43551
+ },
43552
+ "client_id": {
43553
+ "title": "Client Id",
43554
+ "type": "string"
43555
+ },
43556
+ "client_kind": {
43557
+ "anyOf": [
43558
+ {
43559
+ "enum": [
43560
+ "account_app",
43561
+ "local_app",
43562
+ "website",
43563
+ "hosted_app",
43564
+ "registered_legacy"
43565
+ ],
43566
+ "type": "string"
43567
+ },
43568
+ {
43569
+ "type": "null"
43570
+ }
43571
+ ],
43572
+ "description": "The OAuth client's kind, from the sign-in an `authorization_code` credential belongs to.",
43573
+ "title": "Client Kind"
43574
+ },
43575
+ "access": {
43576
+ "anyOf": [
43577
+ {
43578
+ "enum": [
43579
+ "act_as_identity",
43580
+ "login_only"
43581
+ ],
43582
+ "type": "string"
43583
+ },
43584
+ {
43585
+ "type": "null"
43586
+ }
43587
+ ],
43588
+ "description": "What an `authorization_code` credential may do.",
43589
+ "title": "Access"
43590
+ }
43591
+ },
43592
+ "required": [
43593
+ "kind",
43594
+ "client_id",
43595
+ "client_kind",
43596
+ "access"
43597
+ ],
43598
+ "title": "CallerCredential",
43599
+ "type": "object"
43600
+ },
43601
+ "CallerIdentity": {
43602
+ "additionalProperties": false,
43603
+ "description": "A verified identity of the request: its type, ID and current display name.",
43604
+ "properties": {
43605
+ "type": {
43606
+ "enum": [
43607
+ "user",
43608
+ "agent",
43609
+ "function",
43610
+ "service",
43611
+ "machine",
43612
+ "service_account",
43613
+ "workflow"
43614
+ ],
43615
+ "title": "Type",
43616
+ "type": "string"
43617
+ },
43618
+ "id": {
43619
+ "title": "Id",
43620
+ "type": "string"
43621
+ },
43622
+ "display_name": {
43623
+ "anyOf": [
43624
+ {
43625
+ "type": "string"
43626
+ },
43627
+ {
43628
+ "type": "null"
43629
+ }
43630
+ ],
43631
+ "description": "A person's full name or a resource's display name; never an email.",
43632
+ "title": "Display Name"
43633
+ }
43634
+ },
43635
+ "required": [
43636
+ "type",
43637
+ "id",
43638
+ "display_name"
43639
+ ],
43640
+ "title": "CallerIdentity",
43641
+ "type": "object"
43642
+ },
43643
+ "CallerPerson": {
43644
+ "additionalProperties": false,
43645
+ "description": "A person, by user ID and current full name.",
43646
+ "properties": {
43647
+ "user_id": {
43648
+ "title": "User Id",
43649
+ "type": "string"
43650
+ },
43651
+ "display_name": {
43652
+ "anyOf": [
43653
+ {
43654
+ "type": "string"
43655
+ },
43656
+ {
43657
+ "type": "null"
43658
+ }
43659
+ ],
43660
+ "title": "Display Name"
43661
+ }
43662
+ },
43663
+ "required": [
43664
+ "user_id",
43665
+ "display_name"
43666
+ ],
43667
+ "title": "CallerPerson",
43668
+ "type": "object"
43669
+ },
43670
+ "CallerRelatedPerson": {
43671
+ "additionalProperties": false,
43672
+ "description": "The person this request relates to and how: as its principal, its policy\nauthority, its initiator, or the owner of its protected principal.",
43673
+ "properties": {
43674
+ "user_id": {
43675
+ "title": "User Id",
43676
+ "type": "string"
43677
+ },
43678
+ "display_name": {
43679
+ "anyOf": [
43680
+ {
43681
+ "type": "string"
43682
+ },
43683
+ {
43684
+ "type": "null"
43685
+ }
43686
+ ],
43687
+ "title": "Display Name"
43688
+ },
43689
+ "relationship": {
43690
+ "enum": [
43691
+ "principal",
43692
+ "authority",
43693
+ "initiator",
43694
+ "owner"
43695
+ ],
43696
+ "title": "Relationship",
43697
+ "type": "string"
43698
+ }
43699
+ },
43700
+ "required": [
43701
+ "user_id",
43702
+ "display_name",
43703
+ "relationship"
43704
+ ],
43705
+ "title": "CallerRelatedPerson",
43706
+ "type": "object"
43707
+ },
43708
+ "WorkspaceCaller": {
43709
+ "additionalProperties": false,
43710
+ "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.",
43711
+ "properties": {
43712
+ "principal": {
43713
+ "$ref": "#/$defs/CallerIdentity"
43714
+ },
43715
+ "authorizes_as": {
43716
+ "$ref": "#/$defs/CallerIdentity"
43717
+ },
43718
+ "initiated_by": {
43719
+ "anyOf": [
43720
+ {
43721
+ "$ref": "#/$defs/CallerIdentity"
43722
+ },
43723
+ {
43724
+ "type": "null"
43725
+ }
43726
+ ]
43727
+ },
43728
+ "owner": {
43729
+ "anyOf": [
43730
+ {
43731
+ "$ref": "#/$defs/CallerPerson"
43732
+ },
43733
+ {
43734
+ "type": "null"
43735
+ }
43736
+ ],
43737
+ "description": "The owner of a protected resource principal."
43738
+ },
43739
+ "person": {
43740
+ "anyOf": [
43741
+ {
43742
+ "$ref": "#/$defs/CallerRelatedPerson"
43743
+ },
43744
+ {
43745
+ "type": "null"
43746
+ }
43747
+ ]
43748
+ },
43749
+ "credential": {
43750
+ "$ref": "#/$defs/CallerCredential"
43751
+ },
43752
+ "workspace_membership": {
43753
+ "anyOf": [
43754
+ {
43755
+ "enum": [
43756
+ "owner",
43757
+ "member"
43758
+ ],
43759
+ "type": "string"
43760
+ },
43761
+ {
43762
+ "type": "null"
43763
+ }
43764
+ ],
43765
+ "description": "The person's built-in standing in this workspace: Workspace owners, then Workspace members.",
43766
+ "title": "Workspace Membership"
43767
+ }
43768
+ },
43769
+ "required": [
43770
+ "principal",
43771
+ "authorizes_as",
43772
+ "initiated_by",
43773
+ "owner",
43774
+ "person",
43775
+ "credential",
43776
+ "workspace_membership"
43777
+ ],
43778
+ "title": "WorkspaceCaller",
43779
+ "type": "object"
43780
+ },
44707
43781
  "WorkspaceProperties": {
44708
43782
  "additionalProperties": false,
44709
43783
  "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.",
@@ -44724,7 +43798,7 @@
44724
43798
  "error_codes": [
44725
43799
  "implementation_unavailable"
44726
43800
  ],
44727
- "digest": "sha256:76a80094bb826bb160ed2c82f27e2b1da3b74a89229d5b660abff05540c7c4fb"
43801
+ "digest": "sha256:7146f7e15b6ee636740e282666a7c6ece2bee7d249b4faed1f65a92846f1d653"
44728
43802
  },
44729
43803
  {
44730
43804
  "name": "zo.workspace.list_resources",
@@ -45539,21 +44613,21 @@
45539
44613
  "digest": "sha256:1e355460f3453e487c63f32be9791ef06325d881e5b5c80ff09836860d6f6773"
45540
44614
  },
45541
44615
  {
45542
- "type": "vault",
44616
+ "type": "website",
45543
44617
  "version": 1,
45544
44618
  "publisher": "zo",
45545
44619
  "properties_schema": {
45546
44620
  "additionalProperties": false,
45547
- "description": "A vault's settings live in its credential's configuration, and its value in the secret vault.",
44621
+ "description": "The address and access mode live in the Website's typed row.",
45548
44622
  "properties": {},
45549
- "title": "VaultProperties",
44623
+ "title": "WebsiteProperties",
45550
44624
  "type": "object",
45551
44625
  "required": []
45552
44626
  },
45553
- "digest": "sha256:9eef8368b0a6d812be0e966f68d1d5db8a6dbffdfefd6d576a3a1947d37ad95d"
44627
+ "digest": "sha256:e340b5846f88e80c1f45ebb17caa711e52d77ea8d213cbc1852e67e043dc0ec9"
45554
44628
  },
45555
44629
  {
45556
- "type": "website",
44630
+ "type": "website_route",
45557
44631
  "version": 1,
45558
44632
  "publisher": "zo",
45559
44633
  "properties_schema": {
@@ -45564,7 +44638,7 @@
45564
44638
  "type": "object",
45565
44639
  "required": []
45566
44640
  },
45567
- "digest": "sha256:e340b5846f88e80c1f45ebb17caa711e52d77ea8d213cbc1852e67e043dc0ec9"
44641
+ "digest": "sha256:4c8cbfed69ef84a96a5bafbfd7d4c3eac40b0417945e7054c0835d666f7a0143"
45568
44642
  },
45569
44643
  {
45570
44644
  "type": "workflow",
@@ -45674,6 +44748,7 @@
45674
44748
  "zo.machine_image.list": 1,
45675
44749
  "zo.machine_image.update": 1,
45676
44750
  "zo.message.get": 1,
44751
+ "zo.model.list": 1,
45677
44752
  "zo.oauth_app.create": 1,
45678
44753
  "zo.oauth_app.delete": 1,
45679
44754
  "zo.oauth_app.get": 1,
@@ -45712,12 +44787,6 @@
45712
44787
  "zo.task.get": 1,
45713
44788
  "zo.task.list": 1,
45714
44789
  "zo.task.update": 1,
45715
- "zo.vault.create": 1,
45716
- "zo.vault.delete": 1,
45717
- "zo.vault.get": 1,
45718
- "zo.vault.list": 1,
45719
- "zo.vault.rotate": 1,
45720
- "zo.vault.update": 1,
45721
44790
  "zo.web.fetch": 1,
45722
44791
  "zo.web.search": 1,
45723
44792
  "zo.website.create": 1,
@@ -47260,6 +46329,63 @@
47260
46329
  },
47261
46330
  "required": []
47262
46331
  },
46332
+ "zo.model.list@1": {
46333
+ "type": "object",
46334
+ "additionalProperties": false,
46335
+ "properties": {
46336
+ "limit": {
46337
+ "type": "integer",
46338
+ "minimum": 1,
46339
+ "default": 100,
46340
+ "description": "Rows per page, at most 200; a larger value is reduced to it."
46341
+ },
46342
+ "cursor": {
46343
+ "type": "string",
46344
+ "minLength": 1,
46345
+ "maxLength": 5504,
46346
+ "description": "The previous page's next_cursor, sent with the same sort, filter and search."
46347
+ },
46348
+ "sort": {
46349
+ "type": "string",
46350
+ "enum": [
46351
+ "id.asc"
46352
+ ],
46353
+ "default": "id.asc"
46354
+ },
46355
+ "filter": {
46356
+ "additionalProperties": false,
46357
+ "properties": {
46358
+ "capability": {
46359
+ "anyOf": [
46360
+ {
46361
+ "enum": [
46362
+ "text",
46363
+ "structured_output",
46364
+ "embedding",
46365
+ "rerank",
46366
+ "image",
46367
+ "speech",
46368
+ "transcription",
46369
+ "video"
46370
+ ],
46371
+ "type": "string"
46372
+ },
46373
+ {
46374
+ "type": "null"
46375
+ }
46376
+ ],
46377
+ "default": null,
46378
+ "description": "Only models with this capability.",
46379
+ "title": "Capability"
46380
+ }
46381
+ },
46382
+ "type": "object",
46383
+ "required": [],
46384
+ "default": {}
46385
+ }
46386
+ },
46387
+ "required": []
46388
+ },
47263
46389
  "zo.oauth_app.list@1": {
47264
46390
  "type": "object",
47265
46391
  "additionalProperties": false,
@@ -47790,35 +46916,6 @@
47790
46916
  }
47791
46917
  }
47792
46918
  },
47793
- "zo.vault.list@1": {
47794
- "type": "object",
47795
- "additionalProperties": false,
47796
- "properties": {
47797
- "limit": {
47798
- "type": "integer",
47799
- "minimum": 1,
47800
- "default": 50,
47801
- "description": "Rows per page, at most 100; a larger value is reduced to it."
47802
- },
47803
- "cursor": {
47804
- "type": "string",
47805
- "minLength": 1,
47806
- "maxLength": 5504,
47807
- "description": "The previous page's next_cursor, sent with the same sort, filter and search."
47808
- },
47809
- "sort": {
47810
- "type": "string",
47811
- "enum": [
47812
- "id.asc",
47813
- "created_at.desc",
47814
- "created_at.asc",
47815
- "display_name.asc"
47816
- ],
47817
- "default": "id.asc"
47818
- }
47819
- },
47820
- "required": []
47821
- },
47822
46919
  "zo.website.list@1": {
47823
46920
  "type": "object",
47824
46921
  "additionalProperties": false,