infrawrench-sdk 1.103.0 → 1.104.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 +34 -3
- 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 +18 -3
- 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: 6bd2fd74ea8af35e742f99553328cefe88f9425cd6eb24d8ea5e42fcbe4994cf
|
|
4
|
+
data.tar.gz: a48bfdf8b1a569d3709801a2d2c17b989afd20a23d27da69efa687aab2a1085b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f9128ea88247f42d27e48490d72dfa63bc73e7bbeb03c79f7d6e091cc0e5c0657a87d252d891c398f25b037e17ddcea05aee9587263c884260b18dd2e1a8df4
|
|
7
|
+
data.tar.gz: ffda71eb889fd43221cf2f4fa4383570fa8aa17b60a62daa28ae5836a1408aec1f42eaf86d2fa971e78092e4935441c0ad852533e4c0b88bce70273f5231219e
|
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.104.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
|
+
1339 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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.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.104.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.104.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 Services, Inc.", "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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -6228,6 +6228,37 @@ module Infrawrench
|
|
|
6228
6228
|
)
|
|
6229
6229
|
end
|
|
6230
6230
|
|
|
6231
|
+
# A short-lived link to a file a job kept for download
|
|
6232
|
+
#
|
|
6233
|
+
# The link is signed for this one file for 15 minutes (less when the file
|
|
6234
|
+
# expires sooner) and is served by the CI proxy, not this API.
|
|
6235
|
+
#
|
|
6236
|
+
# _Requires permission: `ci:read`._
|
|
6237
|
+
#
|
|
6238
|
+
# GET /api/org/{orgId}/ci/runs/{runId}/download
|
|
6239
|
+
#
|
|
6240
|
+
# Raises on 404: Not found
|
|
6241
|
+
#
|
|
6242
|
+
# Raises on 409: Conflict
|
|
6243
|
+
#
|
|
6244
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6245
|
+
# constructed with.
|
|
6246
|
+
# @param run_id [String]
|
|
6247
|
+
# @param job [String] The job's id, as the run's `jobs` list it.
|
|
6248
|
+
# @param path [String] The file's `path`, as the job's `downloads` list it.
|
|
6249
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6250
|
+
# @return [Hash] Parsed JSON, shaped as `CiDownloadLink` — see `sig/infrawrench/sdk.rbs`.
|
|
6251
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6252
|
+
def download(run_id:, job:, path:, org_id: nil, request_options: nil)
|
|
6253
|
+
@transport.request(
|
|
6254
|
+
http_method: "GET",
|
|
6255
|
+
path: "/api/org/{orgId}/ci/runs/{runId}/download",
|
|
6256
|
+
path_params: { "orgId" => org_id, "runId" => run_id },
|
|
6257
|
+
query: { "job" => job, "path" => path },
|
|
6258
|
+
request_options: request_options
|
|
6259
|
+
)
|
|
6260
|
+
end
|
|
6261
|
+
|
|
6231
6262
|
# List CI runs, newest first
|
|
6232
6263
|
#
|
|
6233
6264
|
# _Requires permission: `ci:read`._
|
|
@@ -6481,7 +6512,7 @@ module Infrawrench
|
|
|
6481
6512
|
)
|
|
6482
6513
|
end
|
|
6483
6514
|
|
|
6484
|
-
# CI usage in a month: runs, compute and
|
|
6515
|
+
# CI usage in a month: runs, compute and storage (caches and downloads)
|
|
6485
6516
|
#
|
|
6486
6517
|
# _Requires permission: `ci:read`._
|
|
6487
6518
|
#
|
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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.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.104.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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.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.104.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
|
|
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.104.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2316,6 +2316,19 @@ module Infrawrench
|
|
|
2316
2316
|
# Spec schema: `CiCaches`.
|
|
2317
2317
|
type ci_caches = { "accounts" => Array[ci_account_caches] }
|
|
2318
2318
|
|
|
2319
|
+
# Spec schema: `CiDownload`.
|
|
2320
|
+
type ci_download = {
|
|
2321
|
+
"path" => String,
|
|
2322
|
+
"size" => Numeric | "Infinity" | "-Infinity" | "NaN",
|
|
2323
|
+
"sha256" => String,
|
|
2324
|
+
"contentType" => String,
|
|
2325
|
+
"expiresAt" => String,
|
|
2326
|
+
"masked" => bool
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
# Spec schema: `CiDownloadLink`.
|
|
2330
|
+
type ci_download_link = { "url" => String, "expiresAt" => String }
|
|
2331
|
+
|
|
2319
2332
|
# Spec schema: `CiJobOutput`.
|
|
2320
2333
|
type ci_job_output = {
|
|
2321
2334
|
"pipeline" => String,
|
|
@@ -2326,7 +2339,8 @@ module Infrawrench
|
|
|
2326
2339
|
"durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2327
2340
|
?"needs" => Array[String],
|
|
2328
2341
|
"stdout" => String,
|
|
2329
|
-
"stderr" => String
|
|
2342
|
+
"stderr" => String,
|
|
2343
|
+
?"downloads" => Array[ci_download]
|
|
2330
2344
|
}
|
|
2331
2345
|
|
|
2332
2346
|
# Spec schema: `CiJobSummary`.
|
|
@@ -15965,6 +15979,7 @@ module Infrawrench
|
|
|
15965
15979
|
class CiRunsNamespace
|
|
15966
15980
|
def initialize: (Transport) -> void
|
|
15967
15981
|
def approve: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
15982
|
+
def download: (run_id: String, job: String, path: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_download_link
|
|
15968
15983
|
def get: (?org_id: String?, ?status: ci_run_status?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> { "runs" => Array[ci_run] }
|
|
15969
15984
|
def get_org_org_id_ci_runs_run_id: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run_detail
|
|
15970
15985
|
def reject: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
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.104.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench Services, Inc.
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2026-11-12 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.104.0). Covers the
|
|
15
15
|
published API surface only — operations marked x-internal in the spec are not generated.
|
|
16
16
|
No 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.104.0).
|
|
62
62
|
test_files: []
|