infrawrench-sdk 0.24.0 → 0.26.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 +38 -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 +41 -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: 2d2602cdedc66b61d3b3bad751fb661d7e437c502c5144c9ec9cd814d86eb894
|
|
4
|
+
data.tar.gz: 39e5b7420a43d1de53ef24f23397d6a709ef55359150a05eaf1628996197aa25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1903b58cb24c797955629ed23a4f63622be421c10ce59a989fbfbf704f7a88f6e2f651a839e364f0c804d1446b43d788063ce8469758ecfb250db7123bbb1753
|
|
7
|
+
data.tar.gz: 8b6f32ed8a863ebfdc267678d1cb2667da2a6e16caf67cc16f24ebafb1bc51d1716c9604d41a847c0403e5477fb098d220cfff13713a521050dbe4bb9f6f06b1
|
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.26.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.26.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.26.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.26.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v0.26.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.26.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.26.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2287,6 +2287,39 @@ 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, from synced cloud data and output
|
|
2299
|
+
# references
|
|
2300
|
+
#
|
|
2301
|
+
# _Requires permission: `resources:read`._
|
|
2302
|
+
#
|
|
2303
|
+
# GET /api/org/{orgId}/dependency-graph
|
|
2304
|
+
#
|
|
2305
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2306
|
+
# constructed with.
|
|
2307
|
+
# @param resource_id [Hash, nil]
|
|
2308
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2309
|
+
# @return [Hash] Parsed JSON, shaped as `DependencyGraphResponse` — see
|
|
2310
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
2311
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2312
|
+
def get(org_id: nil, resource_id: nil, request_options: nil)
|
|
2313
|
+
@transport.request(
|
|
2314
|
+
http_method: "GET",
|
|
2315
|
+
path: "/api/org/{orgId}/dependency-graph",
|
|
2316
|
+
path_params: { "orgId" => org_id },
|
|
2317
|
+
query: { "resourceId" => resource_id },
|
|
2318
|
+
request_options: request_options
|
|
2319
|
+
)
|
|
2320
|
+
end
|
|
2321
|
+
end
|
|
2322
|
+
|
|
2290
2323
|
# `client.deployments.runs`
|
|
2291
2324
|
class DeploymentsRunsNamespace
|
|
2292
2325
|
# @api private
|
|
@@ -5702,6 +5735,8 @@ module Infrawrench
|
|
|
5702
5735
|
attr_reader :custom_graphs
|
|
5703
5736
|
# @return [DashboardsNamespace] `client.dashboards`
|
|
5704
5737
|
attr_reader :dashboards
|
|
5738
|
+
# @return [DependencyGraphNamespace] `client.dependency_graph`
|
|
5739
|
+
attr_reader :dependency_graph
|
|
5705
5740
|
# @return [DeploymentsNamespace] `client.deployments`
|
|
5706
5741
|
attr_reader :deployments
|
|
5707
5742
|
# @return [DigestNamespace] `client.digest`
|
|
@@ -5764,6 +5799,7 @@ module Infrawrench
|
|
|
5764
5799
|
@costs = CostsNamespace.new(@transport)
|
|
5765
5800
|
@custom_graphs = CustomGraphsNamespace.new(@transport)
|
|
5766
5801
|
@dashboards = DashboardsNamespace.new(@transport)
|
|
5802
|
+
@dependency_graph = DependencyGraphNamespace.new(@transport)
|
|
5767
5803
|
@deployments = DeploymentsNamespace.new(@transport)
|
|
5768
5804
|
@digest = DigestNamespace.new(@transport)
|
|
5769
5805
|
@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.26.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.26.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.26.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.26.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.26.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.26.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.26.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.26.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.26.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.26.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.26.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -771,6 +771,36 @@ 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
|
+
?"kind" => "output-ref" | "declared" | "containment" | "field-match",
|
|
781
|
+
?"label" => String
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
# Spec schema: `DependencyGraphNode`.
|
|
785
|
+
type dependency_graph_node = {
|
|
786
|
+
"id" => resource_id,
|
|
787
|
+
"displayName" => String,
|
|
788
|
+
"pluginId" => String,
|
|
789
|
+
"pluginDisplayName" => String,
|
|
790
|
+
"pluginLogoSvg" => String,
|
|
791
|
+
"resourceTypeId" => String,
|
|
792
|
+
"resourceTypeLabel" => String,
|
|
793
|
+
"accountId" => String,
|
|
794
|
+
"accountName" => String
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
# Spec schema: `DependencyGraphResponse`.
|
|
798
|
+
type dependency_graph_response = {
|
|
799
|
+
"nodes" => Array[dependency_graph_node],
|
|
800
|
+
"edges" => Array[dependency_graph_edge],
|
|
801
|
+
"truncated" => bool
|
|
802
|
+
}
|
|
803
|
+
|
|
774
804
|
# Spec schema: `DeployCreatedResource`.
|
|
775
805
|
type deploy_created_resource = {
|
|
776
806
|
"pluginId" => String,
|
|
@@ -1583,6 +1613,7 @@ module Infrawrench
|
|
|
1583
1613
|
| "azure-app-gateway"
|
|
1584
1614
|
| "azure-app-registration"
|
|
1585
1615
|
| "azure-app-service"
|
|
1616
|
+
| "azure-app-service-plan"
|
|
1586
1617
|
| "azure-container-instance"
|
|
1587
1618
|
| "azure-container-registry"
|
|
1588
1619
|
| "azure-cosmos-db"
|
|
@@ -1677,6 +1708,7 @@ module Infrawrench
|
|
|
1677
1708
|
| "databricks-workspace-object"
|
|
1678
1709
|
| "dataflow-job"
|
|
1679
1710
|
| "dataset"
|
|
1711
|
+
| "db-subnet-group"
|
|
1680
1712
|
| "db-user"
|
|
1681
1713
|
| "dedicated-inference"
|
|
1682
1714
|
| "deployed-model"
|
|
@@ -2264,6 +2296,7 @@ module Infrawrench
|
|
|
2264
2296
|
| "agents"
|
|
2265
2297
|
| "costs"
|
|
2266
2298
|
| "savings"
|
|
2299
|
+
| "graph"
|
|
2267
2300
|
| "workflows"
|
|
2268
2301
|
| "deployments"
|
|
2269
2302
|
| "chat",
|
|
@@ -2536,6 +2569,11 @@ module Infrawrench
|
|
|
2536
2569
|
def workflow_unpin: (body: workflow_pin_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
2537
2570
|
end
|
|
2538
2571
|
|
|
2572
|
+
class DependencyGraphNamespace
|
|
2573
|
+
def initialize: (Transport) -> void
|
|
2574
|
+
def get: (?org_id: String?, ?resource_id: (resource_id & untyped)?, ?request_options: Hash[Symbol, untyped]?) -> dependency_graph_response
|
|
2575
|
+
end
|
|
2576
|
+
|
|
2539
2577
|
class DeploymentsRunsNamespace
|
|
2540
2578
|
def initialize: (Transport) -> void
|
|
2541
2579
|
def create: (?org_id: String?, ?body: deployment_run_input?, ?request_options: Hash[Symbol, untyped]?) -> { "id" => String }
|
|
@@ -2817,6 +2855,7 @@ module Infrawrench
|
|
|
2817
2855
|
attr_reader costs: CostsNamespace
|
|
2818
2856
|
attr_reader custom_graphs: CustomGraphsNamespace
|
|
2819
2857
|
attr_reader dashboards: DashboardsNamespace
|
|
2858
|
+
attr_reader dependency_graph: DependencyGraphNamespace
|
|
2820
2859
|
attr_reader deployments: DeploymentsNamespace
|
|
2821
2860
|
attr_reader digest: DigestNamespace
|
|
2822
2861
|
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.26.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.26.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.26.0).
|
|
62
62
|
test_files: []
|