infrawrench-sdk 1.108.0 → 1.109.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 +63 -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 -3
- 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: 84f1ad12725c327ae61f372120ac092e322d1c8f34b2deffd0f6482c6bf28c75
|
|
4
|
+
data.tar.gz: 7c970108e91c867390dffb579cfeb08d1023f9ad582434e052b69fb175e34869
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df4fca62f893e1fec1f3fcff2c03259c02a4632f8dbf2f1f347e3dbe7d2780258496d91f61153a3029e6466d5ba7b55ba12df763bd5d80149d5c8ae277698cbd
|
|
7
|
+
data.tar.gz: 951b1d66ea25511c66490b6850c463d206cedf5505d3cdc8abb493bc6f8b6fa2232bf561a77643ddd73837aeee650b739fa3d1977555590c3bab0fb4157e112d
|
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.109.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
|
+
1358 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.109.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.109.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.109.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.109.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.109.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.109.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -6566,6 +6566,41 @@ module Infrawrench
|
|
|
6566
6566
|
)
|
|
6567
6567
|
end
|
|
6568
6568
|
|
|
6569
|
+
# Start a pipeline by hand
|
|
6570
|
+
#
|
|
6571
|
+
# Queues a run of one pipeline with `on.manual`, at the head of a branch of
|
|
6572
|
+
# the repository itself, with the inputs given. The pipeline must be listed
|
|
6573
|
+
# by `GET /ci/manual`, and the inputs are checked against its declaration
|
|
6574
|
+
# there; the runner checks them again against the branch's own file. The run
|
|
6575
|
+
# is trusted like a push to that branch: it gets the repository's secrets
|
|
6576
|
+
# and only what is lent to that branch.
|
|
6577
|
+
#
|
|
6578
|
+
# _Requires permission: `ci:approve`._
|
|
6579
|
+
#
|
|
6580
|
+
# POST /api/org/{orgId}/ci/runs
|
|
6581
|
+
#
|
|
6582
|
+
# Raises on 400: Bad request
|
|
6583
|
+
#
|
|
6584
|
+
# Raises on 404: Not found
|
|
6585
|
+
#
|
|
6586
|
+
# Raises on 409: Conflict
|
|
6587
|
+
#
|
|
6588
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6589
|
+
# constructed with.
|
|
6590
|
+
# @param body [Hash] Request body, shaped as `CiStartRun`.
|
|
6591
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6592
|
+
# @return [Hash] Parsed JSON, shaped as `CiRun` — see `sig/infrawrench/sdk.rbs`.
|
|
6593
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6594
|
+
def create(body:, org_id: nil, request_options: nil)
|
|
6595
|
+
@transport.request(
|
|
6596
|
+
http_method: "POST",
|
|
6597
|
+
path: "/api/org/{orgId}/ci/runs",
|
|
6598
|
+
path_params: { "orgId" => org_id },
|
|
6599
|
+
body: body,
|
|
6600
|
+
request_options: request_options
|
|
6601
|
+
)
|
|
6602
|
+
end
|
|
6603
|
+
|
|
6569
6604
|
# A short-lived link to a file a job kept for download
|
|
6570
6605
|
#
|
|
6571
6606
|
# The link is signed for this one file for 15 minutes (less when the file
|
|
@@ -6853,6 +6888,32 @@ module Infrawrench
|
|
|
6853
6888
|
)
|
|
6854
6889
|
end
|
|
6855
6890
|
|
|
6891
|
+
# Pipelines that can be started by hand
|
|
6892
|
+
#
|
|
6893
|
+
# Each repository's pipelines with `on.manual` on its default branch, as
|
|
6894
|
+
# last read, with their inputs. They are read again on every push to the
|
|
6895
|
+
# default branch.
|
|
6896
|
+
#
|
|
6897
|
+
# _Requires permission: `ci:read`._
|
|
6898
|
+
#
|
|
6899
|
+
# GET /api/org/{orgId}/ci/manual
|
|
6900
|
+
#
|
|
6901
|
+
# Raises on 404: Not found
|
|
6902
|
+
#
|
|
6903
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6904
|
+
# constructed with.
|
|
6905
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6906
|
+
# @return [Hash] Parsed JSON, shaped as `CiManualPipelines` — see `sig/infrawrench/sdk.rbs`.
|
|
6907
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6908
|
+
def manual(org_id: nil, request_options: nil)
|
|
6909
|
+
@transport.request(
|
|
6910
|
+
http_method: "GET",
|
|
6911
|
+
path: "/api/org/{orgId}/ci/manual",
|
|
6912
|
+
path_params: { "orgId" => org_id },
|
|
6913
|
+
request_options: request_options
|
|
6914
|
+
)
|
|
6915
|
+
end
|
|
6916
|
+
|
|
6856
6917
|
# Repositories' scheduled pipelines
|
|
6857
6918
|
#
|
|
6858
6919
|
# Each repository's pipelines with `on.schedule` on its default branch, as
|
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.109.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.109.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.109.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.109.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.109.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.109.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.109.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.109.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.109.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.109.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.109.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2395,6 +2395,16 @@ module Infrawrench
|
|
|
2395
2395
|
# Spec schema: `CiDownloadLink`.
|
|
2396
2396
|
type ci_download_link = { "url" => String, "expiresAt" => String }
|
|
2397
2397
|
|
|
2398
|
+
# Spec schema: `CiInput`.
|
|
2399
|
+
type ci_input = {
|
|
2400
|
+
"name" => String,
|
|
2401
|
+
"type" => "string" | "boolean" | "choice" | "number",
|
|
2402
|
+
?"description" => String,
|
|
2403
|
+
"required" => bool,
|
|
2404
|
+
?"default" => String,
|
|
2405
|
+
?"options" => Array[String]
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2398
2408
|
# What the job was lent, by name only: connections, SSH keys, resources and
|
|
2399
2409
|
# `env-from:` grants.
|
|
2400
2410
|
#
|
|
@@ -2446,6 +2456,12 @@ module Infrawrench
|
|
|
2446
2456
|
?"cloud" => ci_job_cloud
|
|
2447
2457
|
}
|
|
2448
2458
|
|
|
2459
|
+
# Spec schema: `CiManualPipeline`.
|
|
2460
|
+
type ci_manual_pipeline = { "file" => String, "name" => String, "inputs" => Array[ci_input] }
|
|
2461
|
+
|
|
2462
|
+
# Spec schema: `CiManualPipelines`.
|
|
2463
|
+
type ci_manual_pipelines = { "repositories" => Array[ci_repo_manual] }
|
|
2464
|
+
|
|
2449
2465
|
# Spec schema: `CiPreflightRecord`.
|
|
2450
2466
|
type ci_preflight_record = {
|
|
2451
2467
|
"ok" => bool,
|
|
@@ -2462,6 +2478,16 @@ module Infrawrench
|
|
|
2462
2478
|
"entries" => Integer
|
|
2463
2479
|
}
|
|
2464
2480
|
|
|
2481
|
+
# Spec schema: `CiRepoManual`.
|
|
2482
|
+
type ci_repo_manual = {
|
|
2483
|
+
"installationId" => Integer,
|
|
2484
|
+
"repoFullName" => String,
|
|
2485
|
+
"defaultBranch" => String,
|
|
2486
|
+
"sha" => String | nil,
|
|
2487
|
+
"pipelines" => Array[ci_manual_pipeline],
|
|
2488
|
+
"refreshedAt" => String | nil
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2465
2491
|
# Spec schema: `CiRepoSchedule`.
|
|
2466
2492
|
type ci_repo_schedule = {
|
|
2467
2493
|
"installationId" => Integer,
|
|
@@ -2510,7 +2536,7 @@ module Infrawrench
|
|
|
2510
2536
|
type ci_run = {
|
|
2511
2537
|
"id" => String,
|
|
2512
2538
|
"repoFullName" => String,
|
|
2513
|
-
"event" => "push" | "pull-request" | "schedule",
|
|
2539
|
+
"event" => "push" | "pull-request" | "schedule" | "manual",
|
|
2514
2540
|
"headRef" => String,
|
|
2515
2541
|
"sha" => String,
|
|
2516
2542
|
"pullNumber" => Integer | nil,
|
|
@@ -2530,6 +2556,7 @@ module Infrawrench
|
|
|
2530
2556
|
?"retriedAsRunId" => String | nil,
|
|
2531
2557
|
?"noTaskCache" => bool,
|
|
2532
2558
|
?"pipelineFile" => String,
|
|
2559
|
+
?"inputs" => Hash[String, String],
|
|
2533
2560
|
?"concurrencyGroups" => Array[String],
|
|
2534
2561
|
?"cancelRequested" => bool
|
|
2535
2562
|
}
|
|
@@ -2570,6 +2597,15 @@ module Infrawrench
|
|
|
2570
2597
|
"createdAt" => String
|
|
2571
2598
|
}
|
|
2572
2599
|
|
|
2600
|
+
# Spec schema: `CiStartRun`.
|
|
2601
|
+
type ci_start_run = {
|
|
2602
|
+
"installationId" => Integer,
|
|
2603
|
+
"repoFullName" => String,
|
|
2604
|
+
"pipelineFile" => String,
|
|
2605
|
+
?"branch" => String,
|
|
2606
|
+
?"inputs" => Hash[String, String | bool | Numeric]
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2573
2609
|
# Spec schema: `CiStatus`.
|
|
2574
2610
|
type ci_status = {
|
|
2575
2611
|
"enabled" => bool,
|
|
@@ -16187,6 +16223,7 @@ module Infrawrench
|
|
|
16187
16223
|
def initialize: (Transport) -> void
|
|
16188
16224
|
def approve: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
16189
16225
|
def cancel: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run
|
|
16226
|
+
def create: (body: ci_start_run, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run
|
|
16190
16227
|
def download: (run_id: String, job: String, path: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_download_link
|
|
16191
16228
|
def get: (?org_id: String?, ?status: ci_run_status?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> { "runs" => Array[ci_run] }
|
|
16192
16229
|
def get_org_org_id_ci_runs_run_id: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run_detail
|
|
@@ -16209,6 +16246,7 @@ module Infrawrench
|
|
|
16209
16246
|
attr_reader values: CiValuesNamespace
|
|
16210
16247
|
def initialize: (Transport) -> void
|
|
16211
16248
|
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_status
|
|
16249
|
+
def manual: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_manual_pipelines
|
|
16212
16250
|
def schedules: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_schedules
|
|
16213
16251
|
def usage: (?org_id: String?, ?month: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_usage
|
|
16214
16252
|
end
|
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.109.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench Services, Inc.
|
|
@@ -9,9 +9,9 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-11-
|
|
12
|
+
date: 2026-11-15 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.109.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.109.0).
|
|
62
62
|
test_files: []
|