infrawrench-sdk 0.24.0 → 0.25.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 +33 -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: 007df63dcd655a2601d597b0d804ef854fc3b5509b8b0a21a9f286b8b5997783
|
|
4
|
+
data.tar.gz: 9fc7e36443cd20a65a900d62c5e8b910f321011408f92de93e640b63d023461f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02d2b41b61b2c73e9537a06d040d647a5a04e446cb1637fc45108405ac09255c2576974426558082ea58e828cd52bcbcb6baf9640fc5d045f3dd911f2a710fff
|
|
7
|
+
data.tar.gz: 237e0d8d2d8558a681036f38a09adbd29c155cd34c876934db18c486eaa5b653e179b53c807ad126ef916ade3cf29bcbc025576dd57766e8a2601a4aa20711ab
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# infrawrench-sdk
|
|
2
2
|
|
|
3
|
-
Generated Ruby client for the Infrawrench API (API version `0.
|
|
3
|
+
Generated Ruby client for the Infrawrench API (API version `0.25.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
|
+
246 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 v0.
|
|
3
|
+
# infrawrench-sdk v0.25.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 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.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 (v0.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v0.
|
|
20
|
+
spec.summary = "Generated Ruby client for the Infrawrench API (v0.25.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v0.25.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.25.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 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2287,6 +2287,38 @@ module Infrawrench
|
|
|
2287
2287
|
end
|
|
2288
2288
|
end
|
|
2289
2289
|
|
|
2290
|
+
# `client.dependency_graph`
|
|
2291
|
+
class DependencyGraphNamespace
|
|
2292
|
+
# @api private
|
|
2293
|
+
# @param transport [Transport]
|
|
2294
|
+
def initialize(transport)
|
|
2295
|
+
@transport = transport
|
|
2296
|
+
end
|
|
2297
|
+
|
|
2298
|
+
# The org's resource dependency graph, built from output references
|
|
2299
|
+
#
|
|
2300
|
+
# _Requires permission: `resources:read`._
|
|
2301
|
+
#
|
|
2302
|
+
# GET /api/org/{orgId}/dependency-graph
|
|
2303
|
+
#
|
|
2304
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2305
|
+
# constructed with.
|
|
2306
|
+
# @param resource_id [Hash, nil]
|
|
2307
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2308
|
+
# @return [Hash] Parsed JSON, shaped as `DependencyGraphResponse` — see
|
|
2309
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
2310
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2311
|
+
def get(org_id: nil, resource_id: nil, request_options: nil)
|
|
2312
|
+
@transport.request(
|
|
2313
|
+
http_method: "GET",
|
|
2314
|
+
path: "/api/org/{orgId}/dependency-graph",
|
|
2315
|
+
path_params: { "orgId" => org_id },
|
|
2316
|
+
query: { "resourceId" => resource_id },
|
|
2317
|
+
request_options: request_options
|
|
2318
|
+
)
|
|
2319
|
+
end
|
|
2320
|
+
end
|
|
2321
|
+
|
|
2290
2322
|
# `client.deployments.runs`
|
|
2291
2323
|
class DeploymentsRunsNamespace
|
|
2292
2324
|
# @api private
|
|
@@ -5702,6 +5734,8 @@ module Infrawrench
|
|
|
5702
5734
|
attr_reader :custom_graphs
|
|
5703
5735
|
# @return [DashboardsNamespace] `client.dashboards`
|
|
5704
5736
|
attr_reader :dashboards
|
|
5737
|
+
# @return [DependencyGraphNamespace] `client.dependency_graph`
|
|
5738
|
+
attr_reader :dependency_graph
|
|
5705
5739
|
# @return [DeploymentsNamespace] `client.deployments`
|
|
5706
5740
|
attr_reader :deployments
|
|
5707
5741
|
# @return [DigestNamespace] `client.digest`
|
|
@@ -5764,6 +5798,7 @@ module Infrawrench
|
|
|
5764
5798
|
@costs = CostsNamespace.new(@transport)
|
|
5765
5799
|
@custom_graphs = CustomGraphsNamespace.new(@transport)
|
|
5766
5800
|
@dashboards = DashboardsNamespace.new(@transport)
|
|
5801
|
+
@dependency_graph = DependencyGraphNamespace.new(@transport)
|
|
5767
5802
|
@deployments = DeploymentsNamespace.new(@transport)
|
|
5768
5803
|
@digest = DigestNamespace.new(@transport)
|
|
5769
5804
|
@docker = DockerNamespace.new(@transport)
|
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v0.
|
|
3
|
+
# infrawrench-sdk v0.25.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 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.25.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 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.25.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 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.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 = "0.
|
|
18
|
+
VERSION = "0.25.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.25.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 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.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 v0.
|
|
1
|
+
# infrawrench-sdk v0.25.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 0.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.25.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -771,6 +771,30 @@ module Infrawrench
|
|
|
771
771
|
"metrics" => Array[{ "key" => String, "label" => String, "unit" => String | nil, ?"value" => untyped }]
|
|
772
772
|
}
|
|
773
773
|
|
|
774
|
+
# Spec schema: `DependencyGraphEdge`.
|
|
775
|
+
type dependency_graph_edge = {
|
|
776
|
+
"consumerResourceId" => resource_id & untyped,
|
|
777
|
+
"consumerFieldKey" => String,
|
|
778
|
+
"providerResourceId" => resource_id & untyped,
|
|
779
|
+
"providerOutputKey" => String
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
# Spec schema: `DependencyGraphNode`.
|
|
783
|
+
type dependency_graph_node = {
|
|
784
|
+
"id" => resource_id,
|
|
785
|
+
"displayName" => String,
|
|
786
|
+
"pluginId" => String,
|
|
787
|
+
"pluginDisplayName" => String,
|
|
788
|
+
"pluginLogoSvg" => String,
|
|
789
|
+
"resourceTypeId" => String,
|
|
790
|
+
"resourceTypeLabel" => String,
|
|
791
|
+
"accountId" => String,
|
|
792
|
+
"accountName" => String
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
# Spec schema: `DependencyGraphResponse`.
|
|
796
|
+
type dependency_graph_response = { "nodes" => Array[dependency_graph_node], "edges" => Array[dependency_graph_edge] }
|
|
797
|
+
|
|
774
798
|
# Spec schema: `DeployCreatedResource`.
|
|
775
799
|
type deploy_created_resource = {
|
|
776
800
|
"pluginId" => String,
|
|
@@ -2264,6 +2288,7 @@ module Infrawrench
|
|
|
2264
2288
|
| "agents"
|
|
2265
2289
|
| "costs"
|
|
2266
2290
|
| "savings"
|
|
2291
|
+
| "graph"
|
|
2267
2292
|
| "workflows"
|
|
2268
2293
|
| "deployments"
|
|
2269
2294
|
| "chat",
|
|
@@ -2536,6 +2561,11 @@ module Infrawrench
|
|
|
2536
2561
|
def workflow_unpin: (body: workflow_pin_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
2537
2562
|
end
|
|
2538
2563
|
|
|
2564
|
+
class DependencyGraphNamespace
|
|
2565
|
+
def initialize: (Transport) -> void
|
|
2566
|
+
def get: (?org_id: String?, ?resource_id: (resource_id & untyped)?, ?request_options: Hash[Symbol, untyped]?) -> dependency_graph_response
|
|
2567
|
+
end
|
|
2568
|
+
|
|
2539
2569
|
class DeploymentsRunsNamespace
|
|
2540
2570
|
def initialize: (Transport) -> void
|
|
2541
2571
|
def create: (?org_id: String?, ?body: deployment_run_input?, ?request_options: Hash[Symbol, untyped]?) -> { "id" => String }
|
|
@@ -2817,6 +2847,7 @@ module Infrawrench
|
|
|
2817
2847
|
attr_reader costs: CostsNamespace
|
|
2818
2848
|
attr_reader custom_graphs: CustomGraphsNamespace
|
|
2819
2849
|
attr_reader dashboards: DashboardsNamespace
|
|
2850
|
+
attr_reader dependency_graph: DependencyGraphNamespace
|
|
2820
2851
|
attr_reader deployments: DeploymentsNamespace
|
|
2821
2852
|
attr_reader digest: DigestNamespace
|
|
2822
2853
|
attr_reader docker: DockerNamespace
|
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: 0.
|
|
4
|
+
version: 0.25.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-07-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Generated Ruby client for the Infrawrench API (v0.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v0.25.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 (v0.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v0.25.0).
|
|
62
62
|
test_files: []
|