infrawrench-sdk 1.84.0 → 1.85.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 +37 -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 +15 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab87dafcd7c12cac8a244e452c023c98dbd60ee1e10ecbf5c588f418676b1a84
|
|
4
|
+
data.tar.gz: 59a5f35f4ea7bd3022b4a370789b67056a62fa33de2e182263c68a4641fef2a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25ff2c4264572a2ac1dce7b13b3235b749c59ef107a749d967ab3cbea4d986b0f5a75064ddaff835a2535ab7c8b3b686fac7a92f2b1753aa0893eda768a1373f
|
|
7
|
+
data.tar.gz: 20223e66ea8c5e3d0eed41b05d929de0c27ea3206c346f123961cd440cdfc75cebf85d61e0b99fa91681d51469dc0b9048be5ad749092c2e9e037e5377ac71d1
|
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.85.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
|
+
1263 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.85.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.85.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.85.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.85.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.85.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.85.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -27452,6 +27452,38 @@ module Infrawrench
|
|
|
27452
27452
|
end
|
|
27453
27453
|
end
|
|
27454
27454
|
|
|
27455
|
+
# `client.whoami`
|
|
27456
|
+
class WhoamiNamespace
|
|
27457
|
+
# @api private
|
|
27458
|
+
# @param transport [Transport]
|
|
27459
|
+
def initialize(transport)
|
|
27460
|
+
@transport = transport
|
|
27461
|
+
end
|
|
27462
|
+
|
|
27463
|
+
# Identify a bearer credential
|
|
27464
|
+
#
|
|
27465
|
+
# Reports who an `Authorization: Bearer` credential belongs to: an API key,
|
|
27466
|
+
# an agent credential, or a WorkOS access token. Needs no scope; a 401 means
|
|
27467
|
+
# the credential is unknown, revoked, expired or no longer backed by an
|
|
27468
|
+
# organization membership. Use it to check a key before relying on it, or to
|
|
27469
|
+
# gate a service of your own on Infrawrench sign-in.
|
|
27470
|
+
#
|
|
27471
|
+
# GET /api/v1/whoami
|
|
27472
|
+
#
|
|
27473
|
+
# Raises on 401: Unauthenticated
|
|
27474
|
+
#
|
|
27475
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
27476
|
+
# @return [Hash] Parsed JSON, shaped as `Whoami` — see `sig/infrawrench/sdk.rbs`.
|
|
27477
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
27478
|
+
def get(request_options: nil)
|
|
27479
|
+
@transport.request(
|
|
27480
|
+
http_method: "GET",
|
|
27481
|
+
path: "/api/v1/whoami",
|
|
27482
|
+
request_options: request_options
|
|
27483
|
+
)
|
|
27484
|
+
end
|
|
27485
|
+
end
|
|
27486
|
+
|
|
27455
27487
|
# `client.workflow_approvals`
|
|
27456
27488
|
class WorkflowApprovalsNamespace
|
|
27457
27489
|
# @api private
|
|
@@ -28182,6 +28214,8 @@ module Infrawrench
|
|
|
28182
28214
|
attr_reader :vulnerabilities
|
|
28183
28215
|
# @return [WallboardNamespace] `client.wallboard`
|
|
28184
28216
|
attr_reader :wallboard
|
|
28217
|
+
# @return [WhoamiNamespace] `client.whoami`
|
|
28218
|
+
attr_reader :whoami
|
|
28185
28219
|
# @return [WorkflowApprovalsNamespace] `client.workflow_approvals`
|
|
28186
28220
|
attr_reader :workflow_approvals
|
|
28187
28221
|
# @return [WorkflowSecretsNamespace] `client.workflow_secrets`
|
|
@@ -28327,6 +28361,7 @@ module Infrawrench
|
|
|
28327
28361
|
@virtual_tags = VirtualTagsNamespace.new(@transport)
|
|
28328
28362
|
@vulnerabilities = VulnerabilitiesNamespace.new(@transport)
|
|
28329
28363
|
@wallboard = WallboardNamespace.new(@transport)
|
|
28364
|
+
@whoami = WhoamiNamespace.new(@transport)
|
|
28330
28365
|
@workflow_approvals = WorkflowApprovalsNamespace.new(@transport)
|
|
28331
28366
|
@workflow_secrets = WorkflowSecretsNamespace.new(@transport)
|
|
28332
28367
|
@workflows = WorkflowsNamespace.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.85.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.85.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.85.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.85.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.85.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.85.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.85.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.85.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.85.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.85.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.85.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -14804,6 +14804,13 @@ module Infrawrench
|
|
|
14804
14804
|
"status" => "ok" | "degraded" | "down"
|
|
14805
14805
|
}
|
|
14806
14806
|
|
|
14807
|
+
# Spec schema: `Whoami`.
|
|
14808
|
+
type whoami = {
|
|
14809
|
+
"userId" => String,
|
|
14810
|
+
"organizationId" => String,
|
|
14811
|
+
"principal" => "user" | "api_key" | "agent"
|
|
14812
|
+
}
|
|
14813
|
+
|
|
14807
14814
|
# Spec schema: `WorkflowApproval`.
|
|
14808
14815
|
type workflow_approval = {
|
|
14809
14816
|
"id" => String,
|
|
@@ -16913,6 +16920,11 @@ module Infrawrench
|
|
|
16913
16920
|
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> wallboard_response
|
|
16914
16921
|
end
|
|
16915
16922
|
|
|
16923
|
+
class WhoamiNamespace
|
|
16924
|
+
def initialize: (Transport) -> void
|
|
16925
|
+
def get: (?request_options: Hash[Symbol, untyped]?) -> whoami
|
|
16926
|
+
end
|
|
16927
|
+
|
|
16916
16928
|
class WorkflowApprovalsNamespace
|
|
16917
16929
|
def initialize: (Transport) -> void
|
|
16918
16930
|
def approve: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_approval
|
|
@@ -17084,6 +17096,7 @@ module Infrawrench
|
|
|
17084
17096
|
attr_reader virtual_tags: VirtualTagsNamespace
|
|
17085
17097
|
attr_reader vulnerabilities: VulnerabilitiesNamespace
|
|
17086
17098
|
attr_reader wallboard: WallboardNamespace
|
|
17099
|
+
attr_reader whoami: WhoamiNamespace
|
|
17087
17100
|
attr_reader workflow_approvals: WorkflowApprovalsNamespace
|
|
17088
17101
|
attr_reader workflow_secrets: WorkflowSecretsNamespace
|
|
17089
17102
|
attr_reader workflows: WorkflowsNamespace
|
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.85.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench LLC
|
|
@@ -9,9 +9,9 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-10-
|
|
12
|
+
date: 2026-10-29 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.85.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.85.0).
|
|
62
62
|
test_files: []
|