infrawrench-sdk 1.29.1 → 1.31.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 +119 -2
- 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 +92 -2
- 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: 6b9949aa079c143a23690ba5fa79798a1432feced3cce42a39bfba2f9a626c90
|
|
4
|
+
data.tar.gz: 70f71ff7e4cf680c9c9363d9d61bdb3d753e6c6c0f70aa6cb04363ccbf9842e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25404cf3021a1f519e36207932834a902b6748ef3a6214623a850145819b3eb71756201e7371b382de5c35dbfc63ef32bb45078b7e954546d18abca28014aaae
|
|
7
|
+
data.tar.gz: b34d1eddb479f2aae4a28876d788c90269bb3afab12251a009db2bfd7f1b14972dfbfc7b3964a58bdf40c76ae65ef525bd117d388642160c9246781f119bfcf2
|
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.31.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
|
+
698 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.31.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.31.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.31.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.31.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.31.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.31.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1594,6 +1594,87 @@ module Infrawrench
|
|
|
1594
1594
|
end
|
|
1595
1595
|
end
|
|
1596
1596
|
|
|
1597
|
+
# `client.apps`
|
|
1598
|
+
class AppsNamespace
|
|
1599
|
+
# @api private
|
|
1600
|
+
# @param transport [Transport]
|
|
1601
|
+
def initialize(transport)
|
|
1602
|
+
@transport = transport
|
|
1603
|
+
end
|
|
1604
|
+
|
|
1605
|
+
# Check whether a host can run Linux applications
|
|
1606
|
+
#
|
|
1607
|
+
# Runs a read-only shell probe over SSH and reports what the host is
|
|
1608
|
+
# missing, plus the packages and commands that would fix it. A POST because
|
|
1609
|
+
# it opens a connection to the named host and must never be cached — its
|
|
1610
|
+
# whole value is saying what the host is now.
|
|
1611
|
+
#
|
|
1612
|
+
# POST /api/org/{orgId}/apps/check
|
|
1613
|
+
#
|
|
1614
|
+
# Raises on 400: Bad request
|
|
1615
|
+
#
|
|
1616
|
+
# Raises on 404: Not found
|
|
1617
|
+
#
|
|
1618
|
+
# Raises on 409: The host key is new or has changed; trust it and retry
|
|
1619
|
+
#
|
|
1620
|
+
# Raises on 502: The host could not be reached or probed
|
|
1621
|
+
#
|
|
1622
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1623
|
+
# constructed with.
|
|
1624
|
+
# @param body [Hash] Request body, shaped as `LinuxAppHostTarget`.
|
|
1625
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1626
|
+
# @return [Hash] Parsed JSON, shaped as `LinuxAppHostCheck` — see `sig/infrawrench/sdk.rbs`.
|
|
1627
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1628
|
+
def check(body:, org_id: nil, request_options: nil)
|
|
1629
|
+
@transport.request(
|
|
1630
|
+
http_method: "POST",
|
|
1631
|
+
path: "/api/org/{orgId}/apps/check",
|
|
1632
|
+
path_params: { "orgId" => org_id },
|
|
1633
|
+
body: body,
|
|
1634
|
+
request_options: request_options
|
|
1635
|
+
)
|
|
1636
|
+
end
|
|
1637
|
+
|
|
1638
|
+
# Install what a host needs to run Linux applications
|
|
1639
|
+
#
|
|
1640
|
+
# Installs the named requirements using the host's own package manager, then
|
|
1641
|
+
# re-probes and reports what the host now is. Takes requirement ids, never
|
|
1642
|
+
# commands — the commands are derived server-side from a fresh probe. Needs
|
|
1643
|
+
# root or passwordless sudo on the host, respects change freezes, and is
|
|
1644
|
+
# audited as `linux_app.host_setup`.
|
|
1645
|
+
#
|
|
1646
|
+
# Responds with `application/x-ndjson`: one `{"line":"…"}` per line of
|
|
1647
|
+
# package-manager output, then a final `{"outcome":{…}}`. A failure arrives
|
|
1648
|
+
# as `{"error":"…"}` inside the stream, because the status line has already
|
|
1649
|
+
# been sent by then.
|
|
1650
|
+
#
|
|
1651
|
+
# POST /api/org/{orgId}/apps/setup
|
|
1652
|
+
#
|
|
1653
|
+
# Raises on 400: Bad request
|
|
1654
|
+
#
|
|
1655
|
+
# Raises on 404: Not found
|
|
1656
|
+
#
|
|
1657
|
+
# Raises on 409: A change freeze is in effect, or the host key needs
|
|
1658
|
+
# trusting
|
|
1659
|
+
#
|
|
1660
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1661
|
+
# constructed with.
|
|
1662
|
+
# @param body [Hash] Request body, shaped as `LinuxAppSetupRequest`.
|
|
1663
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1664
|
+
# @return [Hash] Parsed JSON, shaped as `LinuxAppSetupEvent` — see
|
|
1665
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
1666
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1667
|
+
def setup(body:, org_id: nil, request_options: nil)
|
|
1668
|
+
@transport.request(
|
|
1669
|
+
http_method: "POST",
|
|
1670
|
+
path: "/api/org/{orgId}/apps/setup",
|
|
1671
|
+
path_params: { "orgId" => org_id },
|
|
1672
|
+
body: body,
|
|
1673
|
+
request_options: request_options
|
|
1674
|
+
)
|
|
1675
|
+
end
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1597
1678
|
# `client.artifacts`
|
|
1598
1679
|
class ArtifactsNamespace
|
|
1599
1680
|
# @api private
|
|
@@ -14187,6 +14268,39 @@ module Infrawrench
|
|
|
14187
14268
|
request_options: request_options
|
|
14188
14269
|
)
|
|
14189
14270
|
end
|
|
14271
|
+
|
|
14272
|
+
# Sign an SSH auth challenge with a cloud-held key (the cloud as an SSH
|
|
14273
|
+
# agent)
|
|
14274
|
+
#
|
|
14275
|
+
# Signs one publickey-authentication challenge with a server-generated org
|
|
14276
|
+
# key whose private half never leaves Infrawrench Cloud. Requires the
|
|
14277
|
+
# `resources:execute` permission — producing an auth signature is the same
|
|
14278
|
+
# authority as opening a shell. Imported keys cannot sign (only their public
|
|
14279
|
+
# half is stored). Every call is audited.
|
|
14280
|
+
#
|
|
14281
|
+
# POST /api/org/{orgId}/ssh-keys/{id}/sign
|
|
14282
|
+
#
|
|
14283
|
+
# Raises on 400: Bad request
|
|
14284
|
+
#
|
|
14285
|
+
# Raises on 404: Not found
|
|
14286
|
+
#
|
|
14287
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14288
|
+
# constructed with.
|
|
14289
|
+
# @param id [String]
|
|
14290
|
+
# @param body [Hash] Request body, shaped as `SignSshKeyRequest`.
|
|
14291
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14292
|
+
# @return [Hash] Parsed JSON, shaped as `SignSshKeyResponse` — see
|
|
14293
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
14294
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14295
|
+
def sign(id:, body:, org_id: nil, request_options: nil)
|
|
14296
|
+
@transport.request(
|
|
14297
|
+
http_method: "POST",
|
|
14298
|
+
path: "/api/org/{orgId}/ssh-keys/{id}/sign",
|
|
14299
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
14300
|
+
body: body,
|
|
14301
|
+
request_options: request_options
|
|
14302
|
+
)
|
|
14303
|
+
end
|
|
14190
14304
|
end
|
|
14191
14305
|
|
|
14192
14306
|
# `client.ssh_tunnels`
|
|
@@ -15613,6 +15727,8 @@ module Infrawrench
|
|
|
15613
15727
|
attr_reader :alert_rules
|
|
15614
15728
|
# @return [ApiKeysNamespace] `client.api_keys`
|
|
15615
15729
|
attr_reader :api_keys
|
|
15730
|
+
# @return [AppsNamespace] `client.apps`
|
|
15731
|
+
attr_reader :apps
|
|
15616
15732
|
# @return [ArtifactsNamespace] `client.artifacts`
|
|
15617
15733
|
attr_reader :artifacts
|
|
15618
15734
|
# @return [AssociationsNamespace] `client.associations`
|
|
@@ -15797,6 +15913,7 @@ module Infrawrench
|
|
|
15797
15913
|
@agents = AgentsNamespace.new(@transport)
|
|
15798
15914
|
@alert_rules = AlertRulesNamespace.new(@transport)
|
|
15799
15915
|
@api_keys = ApiKeysNamespace.new(@transport)
|
|
15916
|
+
@apps = AppsNamespace.new(@transport)
|
|
15800
15917
|
@artifacts = ArtifactsNamespace.new(@transport)
|
|
15801
15918
|
@associations = AssociationsNamespace.new(@transport)
|
|
15802
15919
|
@audit_logs = AuditLogsNamespace.new(@transport)
|
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.31.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.31.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.31.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.31.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.31.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.31.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.31.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.31.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.31.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.31.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.31.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -3822,6 +3822,69 @@ module Infrawrench
|
|
|
3822
3822
|
# Spec schema: `LinearVerifyResult`.
|
|
3823
3823
|
type linear_verify_result = { "ok" => bool, "id" => String, "name" => String, "email" => String | nil }
|
|
3824
3824
|
|
|
3825
|
+
# Spec schema: `LinuxAppHostCheck`.
|
|
3826
|
+
type linux_app_host_check = { "preflight" => linux_app_host_preflight, "plan" => linux_app_install_plan }
|
|
3827
|
+
|
|
3828
|
+
# Spec schema: `LinuxAppHostPreflight`.
|
|
3829
|
+
type linux_app_host_preflight = {
|
|
3830
|
+
"arch" => String,
|
|
3831
|
+
"osId" => String,
|
|
3832
|
+
"osName" => String,
|
|
3833
|
+
"packageManager" => "apt-get" | "dnf" | "yum" | "apk" | "pacman" | "zypper" | nil,
|
|
3834
|
+
"privilege" => "root" | "sudo" | "sudo-password" | "none",
|
|
3835
|
+
"requirements" => Array[linux_app_requirement],
|
|
3836
|
+
"staging" => bool,
|
|
3837
|
+
"appCount" => Integer,
|
|
3838
|
+
"ready" => bool
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
# Spec schema: `LinuxAppHostTarget`.
|
|
3842
|
+
type linux_app_host_target = {
|
|
3843
|
+
"accountId" => String,
|
|
3844
|
+
"resourceId" => String,
|
|
3845
|
+
"sshKeyId" => String,
|
|
3846
|
+
"host" => String,
|
|
3847
|
+
"username" => String,
|
|
3848
|
+
?"port" => Integer
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
# Spec schema: `LinuxAppInstallOutcome`.
|
|
3852
|
+
type linux_app_install_outcome = { "log" => Array[String], "failed" => Array[String], "preflight" => linux_app_host_preflight }
|
|
3853
|
+
|
|
3854
|
+
# Spec schema: `LinuxAppInstallPlan`.
|
|
3855
|
+
type linux_app_install_plan = {
|
|
3856
|
+
"packageManager" => "apt-get" | "dnf" | "yum" | "apk" | "pacman" | "zypper",
|
|
3857
|
+
"privilege" => "root" | "sudo" | "sudo-password" | "none",
|
|
3858
|
+
"requirements" => Array[linux_app_requirement_id],
|
|
3859
|
+
"packages" => Array[String],
|
|
3860
|
+
"commands" => Array[String],
|
|
3861
|
+
"canInstall" => bool,
|
|
3862
|
+
?"blockedReason" => String
|
|
3863
|
+
}
|
|
3864
|
+
| nil
|
|
3865
|
+
|
|
3866
|
+
# Spec schema: `LinuxAppRequirement`.
|
|
3867
|
+
type linux_app_requirement = {
|
|
3868
|
+
"id" => linux_app_requirement_id,
|
|
3869
|
+
"severity" => "required" | "recommended",
|
|
3870
|
+
"title" => String,
|
|
3871
|
+
"summary" => String,
|
|
3872
|
+
"ok" => bool
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
# gzip unpacks the uploaded app server; xkb is the keyboard layout data
|
|
3876
|
+
# xkbcommon compiles a keymap from; dbus is the session bus GTK applications
|
|
3877
|
+
# wait for; fonts, mesa and icons decide what an application then looks like.
|
|
3878
|
+
#
|
|
3879
|
+
# Spec schema: `LinuxAppRequirementId`.
|
|
3880
|
+
type linux_app_requirement_id = "gzip" | "xkb" | "dbus" | "fonts" | "mesa" | "icons"
|
|
3881
|
+
|
|
3882
|
+
# Spec schema: `LinuxAppSetupEvent`.
|
|
3883
|
+
type linux_app_setup_event = { ?"line" => String, ?"outcome" => linux_app_install_outcome, ?"error" => String }
|
|
3884
|
+
|
|
3885
|
+
# Spec schema: `LinuxAppSetupRequest`.
|
|
3886
|
+
type linux_app_setup_request = linux_app_host_target & { ?"requirements" => Array[linux_app_requirement_id] }
|
|
3887
|
+
|
|
3825
3888
|
# Spec schema: `LiteralAssociationRequest`.
|
|
3826
3889
|
type literal_association_request = { "resourceId" => resource_id, "fieldKey" => String, "plaintextValue" => String }
|
|
3827
3890
|
|
|
@@ -6214,6 +6277,16 @@ module Infrawrench
|
|
|
6214
6277
|
}]
|
|
6215
6278
|
}
|
|
6216
6279
|
|
|
6280
|
+
# Spec schema: `SignSshKeyRequest`.
|
|
6281
|
+
type sign_ssh_key_request = {
|
|
6282
|
+
"data" => String,
|
|
6283
|
+
"algorithm" => ssh_sign_algorithm,
|
|
6284
|
+
?"context" => { ?"host" => String, ?"username" => String }
|
|
6285
|
+
}
|
|
6286
|
+
|
|
6287
|
+
# Spec schema: `SignSshKeyResponse`.
|
|
6288
|
+
type sign_ssh_key_response = { "signature" => String, "algorithm" => ssh_sign_algorithm }
|
|
6289
|
+
|
|
6217
6290
|
# Spec schema: `SlackAvailableChannel`.
|
|
6218
6291
|
type slack_available_channel = { "id" => String, "name" => String, "isPrivate" => bool }
|
|
6219
6292
|
|
|
@@ -6421,6 +6494,15 @@ module Infrawrench
|
|
|
6421
6494
|
| "sk-ssh-ed25519@openssh.com"
|
|
6422
6495
|
| "sk-ecdsa-sha2-nistp256@openssh.com"
|
|
6423
6496
|
|
|
6497
|
+
# Spec schema: `SshSignAlgorithm`.
|
|
6498
|
+
type ssh_sign_algorithm = "ssh-ed25519"
|
|
6499
|
+
| "ssh-rsa"
|
|
6500
|
+
| "rsa-sha2-256"
|
|
6501
|
+
| "rsa-sha2-512"
|
|
6502
|
+
| "ecdsa-sha2-nistp256"
|
|
6503
|
+
| "ecdsa-sha2-nistp384"
|
|
6504
|
+
| "ecdsa-sha2-nistp521"
|
|
6505
|
+
|
|
6424
6506
|
# Spec schema: `SshSnippet`.
|
|
6425
6507
|
type ssh_snippet = {
|
|
6426
6508
|
"id" => String,
|
|
@@ -7074,6 +7156,12 @@ module Infrawrench
|
|
|
7074
7156
|
def rotate: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> created_api_key
|
|
7075
7157
|
end
|
|
7076
7158
|
|
|
7159
|
+
class AppsNamespace
|
|
7160
|
+
def initialize: (Transport) -> void
|
|
7161
|
+
def check: (body: linux_app_host_target, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> linux_app_host_check
|
|
7162
|
+
def setup: (body: linux_app_setup_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> linux_app_setup_event
|
|
7163
|
+
end
|
|
7164
|
+
|
|
7077
7165
|
class ArtifactsNamespace
|
|
7078
7166
|
def initialize: (Transport) -> void
|
|
7079
7167
|
def list: (body: artifacts_list_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> json_object
|
|
@@ -8008,6 +8096,7 @@ module Infrawrench
|
|
|
8008
8096
|
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8009
8097
|
def import: (body: import_ssh_key_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> imported_ssh_key
|
|
8010
8098
|
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[ssh_key]
|
|
8099
|
+
def sign: (id: String, body: sign_ssh_key_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> sign_ssh_key_response
|
|
8011
8100
|
end
|
|
8012
8101
|
|
|
8013
8102
|
class SshTunnelsNamespace
|
|
@@ -8136,6 +8225,7 @@ module Infrawrench
|
|
|
8136
8225
|
attr_reader agents: AgentsNamespace
|
|
8137
8226
|
attr_reader alert_rules: AlertRulesNamespace
|
|
8138
8227
|
attr_reader api_keys: ApiKeysNamespace
|
|
8228
|
+
attr_reader apps: AppsNamespace
|
|
8139
8229
|
attr_reader artifacts: ArtifactsNamespace
|
|
8140
8230
|
attr_reader associations: AssociationsNamespace
|
|
8141
8231
|
attr_reader audit_logs: AuditLogsNamespace
|
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.31.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-08-18 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.31.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.31.0).
|
|
62
62
|
test_files: []
|