infrawrench-sdk 1.29.0 → 1.30.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 +39 -6
- 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 +22 -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: 1fea7bb06c3006769b2b4e677cdc1c258e941c2d43b0c0884691b72bc8a46afd
|
|
4
|
+
data.tar.gz: 7f45fb1dcf6324a973fa00f78712367234f4f9b3028cc8a2d1a24939bf242c26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1cd4a850642b81afdfa0eb3ba3f7797e95eb35314d5f062f3108e805366df6bbcc75a007cb3e26ed0dfcbe069b04ad67a87575d49879cf5ed86c9ed319955df
|
|
7
|
+
data.tar.gz: 91fb4571a51a4c71231cf2bc15a3464fd53ffa18685fb41de005ab17cac4a00f97de3d4f023eaa1d57586f33681ef4692ec960e943eefcd8be19934d533d2a23
|
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.30.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
|
+
689 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.30.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.30.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.30.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.30.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.30.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.30.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -14187,6 +14187,39 @@ module Infrawrench
|
|
|
14187
14187
|
request_options: request_options
|
|
14188
14188
|
)
|
|
14189
14189
|
end
|
|
14190
|
+
|
|
14191
|
+
# Sign an SSH auth challenge with a cloud-held key (the cloud as an SSH
|
|
14192
|
+
# agent)
|
|
14193
|
+
#
|
|
14194
|
+
# Signs one publickey-authentication challenge with a server-generated org
|
|
14195
|
+
# key whose private half never leaves Infrawrench Cloud. Requires the
|
|
14196
|
+
# `resources:execute` permission — producing an auth signature is the same
|
|
14197
|
+
# authority as opening a shell. Imported keys cannot sign (only their public
|
|
14198
|
+
# half is stored). Every call is audited.
|
|
14199
|
+
#
|
|
14200
|
+
# POST /api/org/{orgId}/ssh-keys/{id}/sign
|
|
14201
|
+
#
|
|
14202
|
+
# Raises on 400: Bad request
|
|
14203
|
+
#
|
|
14204
|
+
# Raises on 404: Not found
|
|
14205
|
+
#
|
|
14206
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14207
|
+
# constructed with.
|
|
14208
|
+
# @param id [String]
|
|
14209
|
+
# @param body [Hash] Request body, shaped as `SignSshKeyRequest`.
|
|
14210
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14211
|
+
# @return [Hash] Parsed JSON, shaped as `SignSshKeyResponse` — see
|
|
14212
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
14213
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14214
|
+
def sign(id:, body:, org_id: nil, request_options: nil)
|
|
14215
|
+
@transport.request(
|
|
14216
|
+
http_method: "POST",
|
|
14217
|
+
path: "/api/org/{orgId}/ssh-keys/{id}/sign",
|
|
14218
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
14219
|
+
body: body,
|
|
14220
|
+
request_options: request_options
|
|
14221
|
+
)
|
|
14222
|
+
end
|
|
14190
14223
|
end
|
|
14191
14224
|
|
|
14192
14225
|
# `client.ssh_tunnels`
|
|
@@ -15110,10 +15143,10 @@ module Infrawrench
|
|
|
15110
15143
|
# no trend and no breakdown — those belong on the page you open when you do
|
|
15111
15144
|
# walk over.
|
|
15112
15145
|
#
|
|
15113
|
-
#
|
|
15114
|
-
#
|
|
15115
|
-
#
|
|
15116
|
-
#
|
|
15146
|
+
# Three sources — declared incidents, synthetic probes and account sync
|
|
15147
|
+
# health — each guarded independently, because a television that goes blank
|
|
15148
|
+
# because one query threw is showing nothing to a room that was relying on
|
|
15149
|
+
# it.
|
|
15117
15150
|
#
|
|
15118
15151
|
# Session-authenticated on purpose: unlike the calendar feed or a public
|
|
15119
15152
|
# status page, this carries incident titles, probe names and account names,
|
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.30.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.30.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.30.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.30.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.30.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.30.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.30.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.30.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.30.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.30.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.30.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -6214,6 +6214,16 @@ module Infrawrench
|
|
|
6214
6214
|
}]
|
|
6215
6215
|
}
|
|
6216
6216
|
|
|
6217
|
+
# Spec schema: `SignSshKeyRequest`.
|
|
6218
|
+
type sign_ssh_key_request = {
|
|
6219
|
+
"data" => String,
|
|
6220
|
+
"algorithm" => ssh_sign_algorithm,
|
|
6221
|
+
?"context" => { ?"host" => String, ?"username" => String }
|
|
6222
|
+
}
|
|
6223
|
+
|
|
6224
|
+
# Spec schema: `SignSshKeyResponse`.
|
|
6225
|
+
type sign_ssh_key_response = { "signature" => String, "algorithm" => ssh_sign_algorithm }
|
|
6226
|
+
|
|
6217
6227
|
# Spec schema: `SlackAvailableChannel`.
|
|
6218
6228
|
type slack_available_channel = { "id" => String, "name" => String, "isPrivate" => bool }
|
|
6219
6229
|
|
|
@@ -6421,6 +6431,15 @@ module Infrawrench
|
|
|
6421
6431
|
| "sk-ssh-ed25519@openssh.com"
|
|
6422
6432
|
| "sk-ecdsa-sha2-nistp256@openssh.com"
|
|
6423
6433
|
|
|
6434
|
+
# Spec schema: `SshSignAlgorithm`.
|
|
6435
|
+
type ssh_sign_algorithm = "ssh-ed25519"
|
|
6436
|
+
| "ssh-rsa"
|
|
6437
|
+
| "rsa-sha2-256"
|
|
6438
|
+
| "rsa-sha2-512"
|
|
6439
|
+
| "ecdsa-sha2-nistp256"
|
|
6440
|
+
| "ecdsa-sha2-nistp384"
|
|
6441
|
+
| "ecdsa-sha2-nistp521"
|
|
6442
|
+
|
|
6424
6443
|
# Spec schema: `SshSnippet`.
|
|
6425
6444
|
type ssh_snippet = {
|
|
6426
6445
|
"id" => String,
|
|
@@ -8008,6 +8027,7 @@ module Infrawrench
|
|
|
8008
8027
|
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8009
8028
|
def import: (body: import_ssh_key_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> imported_ssh_key
|
|
8010
8029
|
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[ssh_key]
|
|
8030
|
+
def sign: (id: String, body: sign_ssh_key_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> sign_ssh_key_response
|
|
8011
8031
|
end
|
|
8012
8032
|
|
|
8013
8033
|
class SshTunnelsNamespace
|
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.30.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.30.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.30.0).
|
|
62
62
|
test_files: []
|