infrawrench-sdk 1.107.0 → 1.108.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 970422be1092dca1a625504a9f1ee9f8f3a45399a503a69ba66180f37052b242
4
- data.tar.gz: dbf398730ae4f3f3d6aa2109149dcc9ef5af9dae91564b3e3ff4d1035203e767
3
+ metadata.gz: 2549c04d26f9f1143a306e0e0b4c81f91507b7fb2d6913b5563b0fa16b3e6d5b
4
+ data.tar.gz: c89a8cf430959cc8946936c8644d67ed276c444ad82c7e9dab4e0673b415e676
5
5
  SHA512:
6
- metadata.gz: 4baaf59d2d3d9e757767ab76569d8846309f240236958cc367391cc0d3f7d541115b4a9012afd47ae6d2b62a861820a317c98534fc221719288a59d947f1835b
7
- data.tar.gz: 5f907b483e04e516027a41fa132af0fe1139baa80de5688ee057e5ef2a42aa0dd138c855f38ea92a10edab756b56bb86e459765c8158931a804cd961a7016030
6
+ metadata.gz: 37c43a5d049ba3e08815e85d733d1c6c1afc943184a8988dbe0da1cc3a5f66932580a73f329dc465c06b58b5b4c9718ef224377d16ffd1151890ac0336f50e33
7
+ data.tar.gz: 815efdea413237a7bd451b4687a2cbd22d01d979c0d8060b5657114a4a2377253eb7a87fe9ae8832c5ab40baf6b2df04425c208694cb56380a334ea109768ba9
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.107.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.108.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
- 1350 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 1353 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 —
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.108.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.107.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.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.107.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v1.107.0). Covers the published API surface only — operations marked x-internal in the spec are not generated. No runtime dependencies."
20
+ spec.summary = "Generated Ruby client for the Infrawrench API (v1.108.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.108.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"
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.108.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.107.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -6853,6 +6853,34 @@ module Infrawrench
6853
6853
  )
6854
6854
  end
6855
6855
 
6856
+ # Repositories' scheduled pipelines
6857
+ #
6858
+ # Each repository's pipelines with `on.schedule` on its default branch, as
6859
+ # last read, with each pipeline's next run. They are read again on every
6860
+ # push to the default branch, which is also how a schedule is added, changed
6861
+ # or removed. Repositories with no scheduled pipeline are left out unless
6862
+ # their last read failed.
6863
+ #
6864
+ # _Requires permission: `ci:read`._
6865
+ #
6866
+ # GET /api/org/{orgId}/ci/schedules
6867
+ #
6868
+ # Raises on 404: Not found
6869
+ #
6870
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6871
+ # constructed with.
6872
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6873
+ # @return [Hash] Parsed JSON, shaped as `CiSchedules` — see `sig/infrawrench/sdk.rbs`.
6874
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6875
+ def schedules(org_id: nil, request_options: nil)
6876
+ @transport.request(
6877
+ http_method: "GET",
6878
+ path: "/api/org/{orgId}/ci/schedules",
6879
+ path_params: { "orgId" => org_id },
6880
+ request_options: request_options
6881
+ )
6882
+ end
6883
+
6856
6884
  # CI usage in a month: runs, compute and storage (caches and downloads)
6857
6885
  #
6858
6886
  # _Requires permission: `ci:read`._
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.108.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.107.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.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.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.108.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.107.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.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.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.108.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.107.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.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.107.0"
18
+ VERSION = "1.108.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.108.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.107.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -1,7 +1,7 @@
1
- # infrawrench-sdk v1.107.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
1
+ # infrawrench-sdk v1.108.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.107.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.108.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -2462,6 +2462,17 @@ module Infrawrench
2462
2462
  "entries" => Integer
2463
2463
  }
2464
2464
 
2465
+ # Spec schema: `CiRepoSchedule`.
2466
+ type ci_repo_schedule = {
2467
+ "installationId" => Integer,
2468
+ "repoFullName" => String,
2469
+ "defaultBranch" => String,
2470
+ "sha" => String | nil,
2471
+ "pipelines" => Array[ci_scheduled_pipeline],
2472
+ "refreshedAt" => String | nil,
2473
+ "error" => String | nil
2474
+ }
2475
+
2465
2476
  # Spec schema: `CiResourceGrant`.
2466
2477
  type ci_resource_grant = {
2467
2478
  "id" => String,
@@ -2499,7 +2510,7 @@ module Infrawrench
2499
2510
  type ci_run = {
2500
2511
  "id" => String,
2501
2512
  "repoFullName" => String,
2502
- "event" => "push" | "pull-request",
2513
+ "event" => "push" | "pull-request" | "schedule",
2503
2514
  "headRef" => String,
2504
2515
  "sha" => String,
2505
2516
  "pullNumber" => Integer | nil,
@@ -2518,6 +2529,7 @@ module Infrawrench
2518
2529
  ?"retryOfRunId" => String | nil,
2519
2530
  ?"retriedAsRunId" => String | nil,
2520
2531
  ?"noTaskCache" => bool,
2532
+ ?"pipelineFile" => String,
2521
2533
  ?"concurrencyGroups" => Array[String],
2522
2534
  ?"cancelRequested" => bool
2523
2535
  }
@@ -2536,6 +2548,12 @@ module Infrawrench
2536
2548
  | "rejected"
2537
2549
  | "cancelled"
2538
2550
 
2551
+ # Spec schema: `CiScheduledPipeline`.
2552
+ type ci_scheduled_pipeline = { "file" => String, "name" => String, "cron" => Array[String], "nextRunAt" => String | nil }
2553
+
2554
+ # Spec schema: `CiSchedules`.
2555
+ type ci_schedules = { "schedules" => Array[ci_repo_schedule] }
2556
+
2539
2557
  # Spec schema: `CiSecret`.
2540
2558
  type ci_secret = { "name" => String, "updatedAt" => String }
2541
2559
 
@@ -16191,6 +16209,7 @@ module Infrawrench
16191
16209
  attr_reader values: CiValuesNamespace
16192
16210
  def initialize: (Transport) -> void
16193
16211
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_status
16212
+ def schedules: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_schedules
16194
16213
  def usage: (?org_id: String?, ?month: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_usage
16195
16214
  end
16196
16215
 
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.107.0
4
+ version: 1.108.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-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.107.0). Covers the
14
+ description: Generated Ruby client for the Infrawrench API (v1.108.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.107.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.108.0).
62
62
  test_files: []