infrawrench-sdk 1.88.0 → 1.90.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/infrawrench-sdk.gemspec +4 -4
- data/lib/infrawrench/client.rb +98 -11
- data/lib/infrawrench/sdk.rb +2 -2
- data/lib/infrawrench/transport.rb +2 -2
- data/lib/infrawrench/version.rb +3 -3
- data/lib/infrawrench-sdk.rb +2 -2
- data/sig/infrawrench/sdk.rbs +60 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38eed5eade96a6d4f9b8ae9ba62d7a55ce43b16f5b783832b129f0195517d8c9
|
|
4
|
+
data.tar.gz: 5b4241ea6a419cb3159daa54914357b405ae7ec5f7fadda8630e408dbf8cc976
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0739de8e84e5ecd0ebaa28b9a8fca47e10eb0c71b3fb5beb8adcaf4d0e5b33fd21c09f8fa391ec82aa47478cd2ee6fb693458fb8a1c2170192b7165f116af315'
|
|
7
|
+
data.tar.gz: 52b72246e078c34682b67c4607ab74eb9001474881bebdf1401d793f4f68e7d2b46aa40812379a2f725a9f171a58341f117e85b17541fe90278ee11a5637c54a
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# infrawrench-sdk
|
|
2
2
|
|
|
3
|
-
Generated Ruby client for the Infrawrench API (API version `1.
|
|
3
|
+
Generated Ruby client for the Infrawrench API (API version `1.90.0`).
|
|
4
4
|
|
|
5
5
|
**Do not edit this gem by hand** — it is regenerated from `openapi.json` and is
|
|
6
6
|
not checked into the repository. Run
|
|
@@ -41,7 +41,7 @@ Every method takes an optional trailing `request_options:` hash (`:headers`,
|
|
|
41
41
|
Responses are the plain `Hash`/`Array` that `JSON.parse` returns, with String
|
|
42
42
|
keys spelled exactly as the wire spells them. There are no model classes — see
|
|
43
43
|
[`sig/infrawrench/sdk.rbs`](./sig/infrawrench/sdk.rbs) for the shape of every one of the
|
|
44
|
-
|
|
44
|
+
1275 schemas, as RBS type aliases that steep and TypeProf can read.
|
|
45
45
|
|
|
46
46
|
Non-2xx responses raise `Infrawrench::ApiError`, which carries `#status`,
|
|
47
47
|
the parsed `#body`, and the machine-readable `#code` when the API sends one —
|
data/infrawrench-sdk.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -17,8 +17,8 @@ require_relative "lib/infrawrench/version"
|
|
|
17
17
|
Gem::Specification.new do |spec|
|
|
18
18
|
spec.name = "infrawrench-sdk"
|
|
19
19
|
spec.version = Infrawrench::VERSION
|
|
20
|
-
spec.summary = "Generated Ruby client for the Infrawrench API (v1.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v1.
|
|
20
|
+
spec.summary = "Generated Ruby client for the Infrawrench API (v1.90.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.90.0). Covers the published API surface only — operations marked x-internal in the spec are not generated. No runtime dependencies."
|
|
22
22
|
spec.authors = ["Infrawrench LLC", "Astrid Gealer"]
|
|
23
23
|
spec.email = ["astrid@infrawrench.com"]
|
|
24
24
|
spec.homepage = "https://infrawrench.com/docs/team-and-billing/client-sdks"
|
data/lib/infrawrench/client.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1781,12 +1781,57 @@ module Infrawrench
|
|
|
1781
1781
|
end
|
|
1782
1782
|
end
|
|
1783
1783
|
|
|
1784
|
+
# `client.agents.t3_policy`
|
|
1785
|
+
class AgentsT3PolicyNamespace
|
|
1786
|
+
# @api private
|
|
1787
|
+
# @param transport [Transport]
|
|
1788
|
+
def initialize(transport)
|
|
1789
|
+
@transport = transport
|
|
1790
|
+
end
|
|
1791
|
+
|
|
1792
|
+
# Roll the T3 Code policy out to existing servers
|
|
1793
|
+
#
|
|
1794
|
+
# Installs the organization's current T3 Code managed policy (or removes the
|
|
1795
|
+
# one Infrawrench installed, when there is none) on existing T3 Code
|
|
1796
|
+
# servers. T3 Code reads its policy only at startup: `restart: true`
|
|
1797
|
+
# restarts it so the policy applies now, interrupting running agent turns,
|
|
1798
|
+
# terminals and connected clients; `restart: false` installs the file and
|
|
1799
|
+
# marks the session `t3PolicyRestartPending`. Servers that already have the
|
|
1800
|
+
# policy, that the policy does not fit, or that are still setting up are not
|
|
1801
|
+
# dialled. Requires `resources:execute`.
|
|
1802
|
+
#
|
|
1803
|
+
# POST /api/org/{orgId}/agents/t3-policy/apply
|
|
1804
|
+
#
|
|
1805
|
+
# Raises on 400: Bad request
|
|
1806
|
+
#
|
|
1807
|
+
# Raises on 404: Not found
|
|
1808
|
+
#
|
|
1809
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1810
|
+
# constructed with.
|
|
1811
|
+
# @param body [Hash] Request body, shaped as `AgentT3PolicyApplyRequest`.
|
|
1812
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1813
|
+
# @return [Hash] Parsed JSON, shaped as `AgentT3PolicyApplyResult` — see
|
|
1814
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
1815
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1816
|
+
def apply(body:, org_id: nil, request_options: nil)
|
|
1817
|
+
@transport.request(
|
|
1818
|
+
http_method: "POST",
|
|
1819
|
+
path: "/api/org/{orgId}/agents/t3-policy/apply",
|
|
1820
|
+
path_params: { "orgId" => org_id },
|
|
1821
|
+
body: body,
|
|
1822
|
+
request_options: request_options
|
|
1823
|
+
)
|
|
1824
|
+
end
|
|
1825
|
+
end
|
|
1826
|
+
|
|
1784
1827
|
# `client.agents`
|
|
1785
1828
|
class AgentsNamespace
|
|
1786
1829
|
# @return [AgentsSessionsNamespace] `client.agents.sessions`
|
|
1787
1830
|
attr_reader :sessions
|
|
1788
1831
|
# @return [AgentsSettingsNamespace] `client.agents.settings`
|
|
1789
1832
|
attr_reader :settings
|
|
1833
|
+
# @return [AgentsT3PolicyNamespace] `client.agents.t3_policy`
|
|
1834
|
+
attr_reader :t3_policy
|
|
1790
1835
|
|
|
1791
1836
|
# @api private
|
|
1792
1837
|
# @param transport [Transport]
|
|
@@ -1794,6 +1839,7 @@ module Infrawrench
|
|
|
1794
1839
|
@transport = transport
|
|
1795
1840
|
@sessions = AgentsSessionsNamespace.new(@transport)
|
|
1796
1841
|
@settings = AgentsSettingsNamespace.new(@transport)
|
|
1842
|
+
@t3_policy = AgentsT3PolicyNamespace.new(@transport)
|
|
1797
1843
|
end
|
|
1798
1844
|
|
|
1799
1845
|
# List accounts whose plugins can create agent VMs
|
|
@@ -14671,7 +14717,8 @@ module Infrawrench
|
|
|
14671
14717
|
# listed for it (on demand, committed terms and EC2 spot), in every region,
|
|
14672
14718
|
# with history. It covers AWS EC2, RDS, ElastiCache, OpenSearch, Redshift,
|
|
14673
14719
|
# DocumentDB, Neptune, MemoryDB, DAX, SageMaker, EMR and GameLift, RunPod
|
|
14674
|
-
# GPU types and CPU pods,
|
|
14720
|
+
# GPU types and CPU pods, Alibaba Cloud ECS, Azure virtual machines and
|
|
14721
|
+
# Google Cloud Compute Engine. It is the data behind
|
|
14675
14722
|
# instances.infrawrench.com. Needs no scope. Use `GET
|
|
14676
14723
|
# /api/v1/instance-pricing/schema` for the columns, or the tables below;
|
|
14677
14724
|
# filter `prices` on `platform` and `current`.
|
|
@@ -14688,14 +14735,19 @@ module Infrawrench
|
|
|
14688
14735
|
# current specs. EC2 spot prices use the `ec2` rows. Specs the provider does
|
|
14689
14736
|
# not list are NULL or `''`; `attributes` has every attribute it publishes,
|
|
14690
14737
|
# as strings (AWS's price list keys, Alibaba's DescribeInstanceTypes fields
|
|
14691
|
-
# such as `CpuCoreCount` and `CpuOptions.ThreadsPerCore`,
|
|
14692
|
-
# fields such as `
|
|
14738
|
+
# such as `CpuCoreCount` and `CpuOptions.ThreadsPerCore`, Azure's pricing
|
|
14739
|
+
# calculator fields such as `cores`, `ram` and `series`, Google Cloud's
|
|
14740
|
+
# Compute Engine machine type fields such as `guestCpus`, `memoryMb` and
|
|
14741
|
+
# `zones`, RunPod's GraphQL fields such as `maxGpuCountSecureCloud` and
|
|
14742
|
+
# `dataCenters`).
|
|
14693
14743
|
# - `attribute_changes`: History of instance attributes: the values each
|
|
14694
14744
|
# type was first listed with, then every change. Use it for questions like
|
|
14695
14745
|
# when a spec changed.
|
|
14696
14746
|
# - `regions`: Region codes and the names the provider gives them, per
|
|
14697
14747
|
# source. Use it to turn a city or country into a region code. Codes repeat
|
|
14698
|
-
# across clouds (Alibaba also has `us-east-1`), so filter on source.
|
|
14748
|
+
# across clouds (Alibaba also has `us-east-1`), so filter on source. Google
|
|
14749
|
+
# Cloud's names are the city, state or country from its regions page
|
|
14750
|
+
# (`Council Bluffs, Iowa` for us-central1).
|
|
14699
14751
|
# - `sync_state`: When each bundle was loaded and which price lists it
|
|
14700
14752
|
# covers; `max(price_list_to)` is how fresh the data is.
|
|
14701
14753
|
# - `service_events`: Every incident AWS posted on its public Health
|
|
@@ -14753,14 +14805,19 @@ module Infrawrench
|
|
|
14753
14805
|
# current specs. EC2 spot prices use the `ec2` rows. Specs the provider does
|
|
14754
14806
|
# not list are NULL or `''`; `attributes` has every attribute it publishes,
|
|
14755
14807
|
# as strings (AWS's price list keys, Alibaba's DescribeInstanceTypes fields
|
|
14756
|
-
# such as `CpuCoreCount` and `CpuOptions.ThreadsPerCore`,
|
|
14757
|
-
# fields such as `
|
|
14808
|
+
# such as `CpuCoreCount` and `CpuOptions.ThreadsPerCore`, Azure's pricing
|
|
14809
|
+
# calculator fields such as `cores`, `ram` and `series`, Google Cloud's
|
|
14810
|
+
# Compute Engine machine type fields such as `guestCpus`, `memoryMb` and
|
|
14811
|
+
# `zones`, RunPod's GraphQL fields such as `maxGpuCountSecureCloud` and
|
|
14812
|
+
# `dataCenters`).
|
|
14758
14813
|
# - `attribute_changes`: History of instance attributes: the values each
|
|
14759
14814
|
# type was first listed with, then every change. Use it for questions like
|
|
14760
14815
|
# when a spec changed.
|
|
14761
14816
|
# - `regions`: Region codes and the names the provider gives them, per
|
|
14762
14817
|
# source. Use it to turn a city or country into a region code. Codes repeat
|
|
14763
|
-
# across clouds (Alibaba also has `us-east-1`), so filter on source.
|
|
14818
|
+
# across clouds (Alibaba also has `us-east-1`), so filter on source. Google
|
|
14819
|
+
# Cloud's names are the city, state or country from its regions page
|
|
14820
|
+
# (`Council Bluffs, Iowa` for us-central1).
|
|
14764
14821
|
# - `sync_state`: When each bundle was loaded and which price lists it
|
|
14765
14822
|
# covers; `max(price_list_to)` is how fresh the data is.
|
|
14766
14823
|
# - `service_events`: Every incident AWS posted on its public Health
|
|
@@ -14820,10 +14877,40 @@ module Infrawrench
|
|
|
14820
14877
|
# '1yr' or '3yr', with a purchase_option). Prices go back to May 2018; specs
|
|
14821
14878
|
# (attributes) start in May 2023, so older retired types can have NULL vcpu
|
|
14822
14879
|
# and memory_gib.
|
|
14880
|
+
# - Azure virtual machines (platform = 'azure'): default to operating_system
|
|
14881
|
+
# = 'Linux', variant['priority'] = 'Regular' and region 'eastus'. Spot and
|
|
14882
|
+
# Low Priority prices are on_demand rows with variant['priority'] = 'Spot'
|
|
14883
|
+
# or 'Low Priority', so always fix priority. Reservations are offering_class
|
|
14884
|
+
# = 'Reserved Instance', All Upfront (hourly_usd = 0, upfront_usd the whole
|
|
14885
|
+
# term), lease '1yr', '3yr' and for some sizes '5yr' or '10yr'; Azure lists
|
|
14886
|
+
# them under operating_system = 'Linux' only, since a Windows license is
|
|
14887
|
+
# billed on top. Savings plans are offering_class = 'Savings Plan', No
|
|
14888
|
+
# Upfront, '1yr' or '3yr', hourly_usd the plan's rate. Specs come from
|
|
14889
|
+
# Azure's pricing calculator (attributes 'cores', 'ram', 'diskSize', 'gpu',
|
|
14890
|
+
# 'series'); about a third of sizes, mostly the newest and retired series,
|
|
14891
|
+
# have none, so vcpu and memory_gib are NULL there: match on instance_type
|
|
14892
|
+
# or family (the series) for those. Dedicated hosts are not included.
|
|
14893
|
+
# valid_from is when Azure says a price took effect (back to 2017), but
|
|
14894
|
+
# changes are tracked from November 2026.
|
|
14895
|
+
# - Google Cloud Compute Engine (platform = 'gcp'): default to
|
|
14896
|
+
# variant['provisioningModel'] = 'Standard' and region 'us-central1'; Spot
|
|
14897
|
+
# prices are on_demand rows with provisioningModel = 'Spot'. Google bills
|
|
14898
|
+
# most machine types per vCPU and per GiB of memory at their series' rates,
|
|
14899
|
+
# plus their GPUs, so each price is worked out from those rates and the
|
|
14900
|
+
# machine type's shape. Prices leave out bundled Local SSD, OS licenses and
|
|
14901
|
+
# sustained use discounts, and TPU, X4, X5 and A4X machine types are not
|
|
14902
|
+
# included. Committed use discounts are offering_class = 'Committed Use', No
|
|
14903
|
+
# Upfront, '1yr' or '3yr', hourly_usd the commitment's rate. Which zones of
|
|
14904
|
+
# a region offer a machine type is attributes['zones'] (comma separated),
|
|
14905
|
+
# which differs by region: read it from attribute_changes for the region
|
|
14906
|
+
# (attribute = 'zones'), as instance_types holds one region's value. History
|
|
14907
|
+
# starts in November 2026.
|
|
14823
14908
|
# - Comparing clouds: region codes are each provider's own, so join regions
|
|
14824
14909
|
# on source as well as region and compare by location (Alibaba's us-east-1
|
|
14825
|
-
# is US (Virginia), the same area as AWS's us-east-1
|
|
14826
|
-
#
|
|
14910
|
+
# is US (Virginia), the same area as AWS's us-east-1, Azure's eastus and
|
|
14911
|
+
# Google Cloud's us-east4). Compare on effective_hourly_usd for similar vcpu
|
|
14912
|
+
# and memory_gib, like for like (on demand against pay-as-you-go and
|
|
14913
|
+
# Standard; spot against Azure Spot and Google Spot), and say which cloud
|
|
14827
14914
|
# each row is from.
|
|
14828
14915
|
# - Use instance_types for specs and to list types; join prices on
|
|
14829
14916
|
# (platform, instance_type) when you need specs it does not carry.
|
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/lib/infrawrench/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
# Kept in its own file so the gemspec can read the version without loading the
|
|
16
16
|
# client — a gemspec that pulls in net/http is a gemspec that can fail to parse.
|
|
17
17
|
module Infrawrench
|
|
18
|
-
VERSION = "1.
|
|
18
|
+
VERSION = "1.90.0"
|
|
19
19
|
end
|
data/lib/infrawrench-sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/sig/infrawrench/sdk.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# infrawrench-sdk v1.
|
|
1
|
+
# infrawrench-sdk v1.90.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
2
2
|
# https://github.com/Infrawrench/Infrawrench
|
|
3
3
|
#
|
|
4
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.90.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -486,6 +486,8 @@ module Infrawrench
|
|
|
486
486
|
?"surface" => "terminal" | "t3-code" | "nibblets",
|
|
487
487
|
?"serviceAccountIds" => Array[String],
|
|
488
488
|
?"t3Access" => "t3-connect" | "tailscale",
|
|
489
|
+
?"t3Policy" => t3_code_policy & untyped,
|
|
490
|
+
?"t3PolicyRestartPending" => bool,
|
|
489
491
|
?"serviceInstalls" => Array[agent_service_install],
|
|
490
492
|
?"agentLinkId" => String | nil,
|
|
491
493
|
"branchName" => String,
|
|
@@ -505,10 +507,24 @@ module Infrawrench
|
|
|
505
507
|
?"surface" => "terminal" | "t3-code" | "nibblets",
|
|
506
508
|
"fields" => Hash[String, String],
|
|
507
509
|
?"serviceAccountIds" => Array[String],
|
|
508
|
-
?"t3Access" => "t3-connect" | "tailscale"
|
|
510
|
+
?"t3Access" => "t3-connect" | "tailscale",
|
|
511
|
+
?"t3Policy" => t3_code_policy
|
|
509
512
|
}
|
|
510
513
|
| nil
|
|
511
514
|
|
|
515
|
+
# Spec schema: `AgentT3PolicyApplyRequest`.
|
|
516
|
+
type agent_t3_policy_apply_request = { "restart" => bool, ?"sessionId" => String }
|
|
517
|
+
|
|
518
|
+
# Spec schema: `AgentT3PolicyApplyResult`.
|
|
519
|
+
type agent_t3_policy_apply_result = {
|
|
520
|
+
"servers" => Array[{
|
|
521
|
+
"sessionId" => String,
|
|
522
|
+
"projectName" => String,
|
|
523
|
+
"outcome" => "applied" | "installed" | "unchanged" | "skipped" | "setting-up" | "failed",
|
|
524
|
+
?"message" => String
|
|
525
|
+
}]
|
|
526
|
+
}
|
|
527
|
+
|
|
512
528
|
# Spec schema: `AgentVmAccount`.
|
|
513
529
|
type agent_vm_account = {
|
|
514
530
|
"accountId" => String,
|
|
@@ -14301,6 +14317,41 @@ module Infrawrench
|
|
|
14301
14317
|
?"enabled" => bool
|
|
14302
14318
|
}
|
|
14303
14319
|
|
|
14320
|
+
# The organization's T3 Code managed policy, installed on every T3 Code server
|
|
14321
|
+
# (`/etc/t3code/policy.json`). On save: omit to keep the stored policy, `null`
|
|
14322
|
+
# to remove it. A new T3 Code session is refused when the policy does not
|
|
14323
|
+
# allow its tool or turns off the T3 Connect it is reached through.
|
|
14324
|
+
#
|
|
14325
|
+
# Spec schema: `T3CodePolicy`.
|
|
14326
|
+
type t3_code_policy = {
|
|
14327
|
+
"schemaVersion" => Numeric,
|
|
14328
|
+
"organization" => String,
|
|
14329
|
+
?"supportUrl" => String,
|
|
14330
|
+
?"settings" => Hash[String, { ?"value" => untyped, "locked" => bool }],
|
|
14331
|
+
?"limits" => {
|
|
14332
|
+
?"maxRuntimeMode" => "approval-required" | "auto-accept-edits" | "auto" | "full-access",
|
|
14333
|
+
?"clients" => Array["desktop" | "local-browser" | "remote"],
|
|
14334
|
+
?"connect" => bool,
|
|
14335
|
+
?"webhookTasks" => bool,
|
|
14336
|
+
?"telemetry" => bool,
|
|
14337
|
+
?"browserCookieImport" => bool,
|
|
14338
|
+
?"providers" => {
|
|
14339
|
+
?"allowedDrivers" => Array[String],
|
|
14340
|
+
?"instances" => Hash[String, t3_code_policy_provider_instance]
|
|
14341
|
+
},
|
|
14342
|
+
?"updates" => { "mode" => "auto" | "off", ?"feedUrl" => String, ?"allowNightly" => bool }
|
|
14343
|
+
}
|
|
14344
|
+
}
|
|
14345
|
+
| nil
|
|
14346
|
+
|
|
14347
|
+
# Spec schema: `T3CodePolicyProviderInstance`.
|
|
14348
|
+
type t3_code_policy_provider_instance = {
|
|
14349
|
+
"locked" => bool,
|
|
14350
|
+
?"environment" => Array[{ "name" => String, "value" => String }],
|
|
14351
|
+
?"binaryPath" => String,
|
|
14352
|
+
?"launchArgs" => String
|
|
14353
|
+
}
|
|
14354
|
+
|
|
14304
14355
|
# Spec schema: `TabTarget`.
|
|
14305
14356
|
type tab_target = {
|
|
14306
14357
|
"kind" => "dashboard"
|
|
@@ -15061,9 +15112,15 @@ module Infrawrench
|
|
|
15061
15112
|
def update: (body: (agent_settings & Hash[String, untyped]), ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> (agent_settings & Hash[String, untyped])
|
|
15062
15113
|
end
|
|
15063
15114
|
|
|
15115
|
+
class AgentsT3PolicyNamespace
|
|
15116
|
+
def initialize: (Transport) -> void
|
|
15117
|
+
def apply: (body: agent_t3_policy_apply_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> agent_t3_policy_apply_result
|
|
15118
|
+
end
|
|
15119
|
+
|
|
15064
15120
|
class AgentsNamespace
|
|
15065
15121
|
attr_reader sessions: AgentsSessionsNamespace
|
|
15066
15122
|
attr_reader settings: AgentsSettingsNamespace
|
|
15123
|
+
attr_reader t3_policy: AgentsT3PolicyNamespace
|
|
15067
15124
|
def initialize: (Transport) -> void
|
|
15068
15125
|
def accounts: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[agent_vm_account]
|
|
15069
15126
|
def link_scopes: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> agent_linkable_scopes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: infrawrench-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.90.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench LLC
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2026-11-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Generated Ruby client for the Infrawrench API (v1.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v1.90.0). Covers the published
|
|
15
15
|
API surface only — operations marked x-internal in the spec are not generated. No
|
|
16
16
|
runtime dependencies.
|
|
17
17
|
email:
|
|
@@ -58,5 +58,5 @@ requirements: []
|
|
|
58
58
|
rubygems_version: 3.5.22
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
|
-
summary: Generated Ruby client for the Infrawrench API (v1.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v1.90.0).
|
|
62
62
|
test_files: []
|