infrawrench-sdk 1.120.0 → 1.121.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: 14ea1b49f195fa954cbcf30b7bf4260ad556741503d440ed0d1e9469cfbe49e1
4
- data.tar.gz: 0d79a04782090b29c566d2f42acafb009e095c17d2cdfaafe6ffb768178b1084
3
+ metadata.gz: a97a7b4fa68871f5f60da66f16c23b6f6aa4ab488e790a1942830c883f7cb47e
4
+ data.tar.gz: 6b475eb292a86d090757eb98814e406b4dcac5de4bd1fed9f01fa48d0948ddb1
5
5
  SHA512:
6
- metadata.gz: 1681f5bcf22dd99383ae76a985049aa2606da83d4a98c1d6c1f2cff371e32a5bf191f6890975bdfbb2e50acd1517dbf29e4c71a82de5e31bef80ec7bcb47ebd1
7
- data.tar.gz: 537715e48b86329a5889acc80decf55afdd62ef5930018d9662d068db29c0efecee96b1510f34c8587c7c997e4a7609c63ec0f7dcc05de48cd79217b9b66e52a
6
+ metadata.gz: 0eb89e8e44e680fef3bcfb4299cbd025f8472980666066ad6af5417289dcd7803ec5041d68fa08957a58809a62cba73413d82c2005d2b18c78b98ecf66bf113a
7
+ data.tar.gz: f5101aa9960b85b448e670066730ed2e5059d1ca271b8359a042691321a131c3c103b08117f1c0178d7d4afafd8bc0dc3b5c732ce76ef07f62b0e3c2f04d9b27
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.120.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.121.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
- 1360 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 1369 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.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.121.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.120.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.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.120.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v1.120.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.121.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.121.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.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.121.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.120.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -15372,6 +15372,210 @@ module Infrawrench
15372
15372
  end
15373
15373
  end
15374
15374
 
15375
+ # `client.heartbeats`
15376
+ class HeartbeatsNamespace
15377
+ # @api private
15378
+ # @param transport [Transport]
15379
+ def initialize(transport)
15380
+ @transport = transport
15381
+ end
15382
+
15383
+ # Create a heartbeat
15384
+ #
15385
+ # Create a heartbeat with a schedule and grace period. It stays `new` until
15386
+ # its first ping, then goes down whenever a ping is later than the schedule
15387
+ # plus grace. Audit-logged.
15388
+ #
15389
+ # _Requires permission: `resources:write`._
15390
+ #
15391
+ # POST /api/org/{orgId}/heartbeats
15392
+ #
15393
+ # Raises on 400: Bad request
15394
+ #
15395
+ # Raises on 404: Not found
15396
+ #
15397
+ # Raises on 409: Conflict
15398
+ #
15399
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15400
+ # constructed with.
15401
+ # @param body [Hash] Request body, shaped as `HeartbeatCreate`.
15402
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15403
+ # @return [Hash] Parsed JSON, shaped as `Heartbeat` — see `sig/infrawrench/sdk.rbs`.
15404
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15405
+ def create(body:, org_id: nil, request_options: nil)
15406
+ @transport.request(
15407
+ http_method: "POST",
15408
+ path: "/api/org/{orgId}/heartbeats",
15409
+ path_params: { "orgId" => org_id },
15410
+ body: body,
15411
+ request_options: request_options
15412
+ )
15413
+ end
15414
+
15415
+ # Delete a heartbeat
15416
+ #
15417
+ # Remove the heartbeat and its ping history. Audit-logged.
15418
+ #
15419
+ # _Requires permission: `resources:write`._
15420
+ #
15421
+ # DELETE /api/org/{orgId}/heartbeats/{heartbeatId}
15422
+ #
15423
+ # Raises on 404: Not found
15424
+ #
15425
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15426
+ # constructed with.
15427
+ # @param heartbeat_id [String]
15428
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15429
+ # @return [nil] This endpoint returns no content.
15430
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15431
+ def delete(heartbeat_id:, org_id: nil, request_options: nil)
15432
+ @transport.request(
15433
+ http_method: "DELETE",
15434
+ path: "/api/org/{orgId}/heartbeats/{heartbeatId}",
15435
+ path_params: { "orgId" => org_id, "heartbeatId" => heartbeat_id },
15436
+ accept: :empty,
15437
+ request_options: request_options
15438
+ )
15439
+ end
15440
+
15441
+ # List heartbeat monitors
15442
+ #
15443
+ # Every heartbeat in the organization with its status, schedule, ping URL,
15444
+ # last ping and next deadline.
15445
+ #
15446
+ # _Requires permission: `resources:read`._
15447
+ #
15448
+ # GET /api/org/{orgId}/heartbeats
15449
+ #
15450
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15451
+ # constructed with.
15452
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15453
+ # @return [Hash] Parsed JSON, shaped as `HeartbeatList` — see `sig/infrawrench/sdk.rbs`.
15454
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15455
+ def get(org_id: nil, request_options: nil)
15456
+ @transport.request(
15457
+ http_method: "GET",
15458
+ path: "/api/org/{orgId}/heartbeats",
15459
+ path_params: { "orgId" => org_id },
15460
+ request_options: request_options
15461
+ )
15462
+ end
15463
+
15464
+ # Read a heartbeat's ping history
15465
+ #
15466
+ # Recent pings, newest first, with each run's duration where a `/start`
15467
+ # opened it. Kept for 30 days.
15468
+ #
15469
+ # _Requires permission: `resources:read`._
15470
+ #
15471
+ # GET /api/org/{orgId}/heartbeats/{heartbeatId}/pings
15472
+ #
15473
+ # Raises on 404: Not found
15474
+ #
15475
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15476
+ # constructed with.
15477
+ # @param heartbeat_id [String]
15478
+ # @param limit [String, nil]
15479
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15480
+ # @return [Hash] Parsed JSON, shaped as `HeartbeatPings` — see `sig/infrawrench/sdk.rbs`.
15481
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15482
+ def pings(heartbeat_id:, org_id: nil, limit: nil, request_options: nil)
15483
+ @transport.request(
15484
+ http_method: "GET",
15485
+ path: "/api/org/{orgId}/heartbeats/{heartbeatId}/pings",
15486
+ path_params: { "orgId" => org_id, "heartbeatId" => heartbeat_id },
15487
+ query: { "limit" => limit },
15488
+ request_options: request_options
15489
+ )
15490
+ end
15491
+
15492
+ # Replace a heartbeat's ping URL
15493
+ #
15494
+ # Issue a new secret ping URL. The old one stops working at once.
15495
+ # Audit-logged.
15496
+ #
15497
+ # _Requires permission: `resources:write`._
15498
+ #
15499
+ # POST /api/org/{orgId}/heartbeats/{heartbeatId}/rotate-token
15500
+ #
15501
+ # Raises on 404: Not found
15502
+ #
15503
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15504
+ # constructed with.
15505
+ # @param heartbeat_id [String]
15506
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15507
+ # @return [Hash] Parsed JSON, shaped as `Heartbeat` — see `sig/infrawrench/sdk.rbs`.
15508
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15509
+ def rotate_token(heartbeat_id:, org_id: nil, request_options: nil)
15510
+ @transport.request(
15511
+ http_method: "POST",
15512
+ path: "/api/org/{orgId}/heartbeats/{heartbeatId}/rotate-token",
15513
+ path_params: { "orgId" => org_id, "heartbeatId" => heartbeat_id },
15514
+ request_options: request_options
15515
+ )
15516
+ end
15517
+
15518
+ # Suggest scheduled resources to watch
15519
+ #
15520
+ # Scheduled jobs, pipelines and functions from the organization's synced
15521
+ # resources (the fields their plugins flag as a schedule), with each
15522
+ # schedule read into cron or an interval. A read over stored state; no
15523
+ # provider API calls.
15524
+ #
15525
+ # _Requires permission: `resources:read`._
15526
+ #
15527
+ # GET /api/org/{orgId}/heartbeats/suggestions
15528
+ #
15529
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15530
+ # constructed with.
15531
+ # @param resource_id [String, nil] Only this resource's schedule.
15532
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15533
+ # @return [Hash] Parsed JSON, shaped as `HeartbeatSuggestions` — see
15534
+ # `sig/infrawrench/sdk.rbs`.
15535
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15536
+ def suggestions(org_id: nil, resource_id: nil, request_options: nil)
15537
+ @transport.request(
15538
+ http_method: "GET",
15539
+ path: "/api/org/{orgId}/heartbeats/suggestions",
15540
+ path_params: { "orgId" => org_id },
15541
+ query: { "resourceId" => resource_id },
15542
+ request_options: request_options
15543
+ )
15544
+ end
15545
+
15546
+ # Update, pause or resume a heartbeat
15547
+ #
15548
+ # Edit the name, schedule or grace period, or toggle `enabled`. A schedule
15549
+ # change recomputes the deadline from the last ping. Audit-logged.
15550
+ #
15551
+ # _Requires permission: `resources:write`._
15552
+ #
15553
+ # PUT /api/org/{orgId}/heartbeats/{heartbeatId}
15554
+ #
15555
+ # Raises on 400: Bad request
15556
+ #
15557
+ # Raises on 404: Not found
15558
+ #
15559
+ # Raises on 409: Conflict
15560
+ #
15561
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15562
+ # constructed with.
15563
+ # @param heartbeat_id [String]
15564
+ # @param body [Hash] Request body, shaped as `HeartbeatUpdate`.
15565
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15566
+ # @return [Hash] Parsed JSON, shaped as `Heartbeat` — see `sig/infrawrench/sdk.rbs`.
15567
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15568
+ def update(heartbeat_id:, body:, org_id: nil, request_options: nil)
15569
+ @transport.request(
15570
+ http_method: "PUT",
15571
+ path: "/api/org/{orgId}/heartbeats/{heartbeatId}",
15572
+ path_params: { "orgId" => org_id, "heartbeatId" => heartbeat_id },
15573
+ body: body,
15574
+ request_options: request_options
15575
+ )
15576
+ end
15577
+ end
15578
+
15375
15579
  # `client.iac.states`
15376
15580
  class IacStatesNamespace
15377
15581
  # @api private
@@ -16798,7 +17002,10 @@ module Infrawrench
16798
17002
  #
16799
17003
  # The GitHub App's webhook URL. `X-Hub-Signature-256` is verified with the
16800
17004
  # server's `GITHUB_APP_WEBHOOK_SECRET`; `issues` events update the status of
16801
- # filed issues and `ping` is acknowledged. Every other event is ignored.
17005
+ # filed issues; `push` and `pull_request` events start CI runs;
17006
+ # `check_suite` and `check_run` `rerequested` events retry the CI runs
17007
+ # behind Infrawrench's own checks; and `ping` is acknowledged. Every other
17008
+ # event is ignored.
16802
17009
  #
16803
17010
  # POST /api/issue-webhooks/github
16804
17011
  #
@@ -21171,6 +21378,208 @@ module Infrawrench
21171
21378
  end
21172
21379
  end
21173
21380
 
21381
+ # `client.ping.fail`
21382
+ class PingFailNamespace
21383
+ # @api private
21384
+ # @param transport [Transport]
21385
+ def initialize(transport)
21386
+ @transport = transport
21387
+ end
21388
+
21389
+ # Signal a run failed
21390
+ #
21391
+ # **Unauthenticated**: the token in the path is the credential. The
21392
+ # heartbeat goes down at once and alerts. Answers `OK` in plain text; an
21393
+ # unknown token answers 404, and more than 20 pings a minute for one
21394
+ # heartbeat answer 429 without being recorded. A POST body's first 1000
21395
+ # characters are kept with the ping.
21396
+ #
21397
+ # POST /api/ping/{token}/fail
21398
+ #
21399
+ # Raises on 404: Not found
21400
+ #
21401
+ # Raises on 429: Error
21402
+ #
21403
+ # @param token [String]
21404
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
21405
+ # @return [String] Raw response bytes.
21406
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
21407
+ def create(token:, request_options: nil)
21408
+ @transport.request(
21409
+ http_method: "POST",
21410
+ path: "/api/ping/{token}/fail",
21411
+ path_params: { "token" => token },
21412
+ accept: :binary,
21413
+ request_options: request_options
21414
+ )
21415
+ end
21416
+
21417
+ # Signal a run failed (GET)
21418
+ #
21419
+ # **Unauthenticated**: the token in the path is the credential. The
21420
+ # heartbeat goes down at once and alerts. Answers `OK` in plain text; an
21421
+ # unknown token answers 404, and more than 20 pings a minute for one
21422
+ # heartbeat answer 429 without being recorded. A POST body's first 1000
21423
+ # characters are kept with the ping.
21424
+ #
21425
+ # GET /api/ping/{token}/fail
21426
+ #
21427
+ # Raises on 404: Not found
21428
+ #
21429
+ # Raises on 429: Error
21430
+ #
21431
+ # @param token [String]
21432
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
21433
+ # @return [String] Raw response bytes.
21434
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
21435
+ def get(token:, request_options: nil)
21436
+ @transport.request(
21437
+ http_method: "GET",
21438
+ path: "/api/ping/{token}/fail",
21439
+ path_params: { "token" => token },
21440
+ accept: :binary,
21441
+ request_options: request_options
21442
+ )
21443
+ end
21444
+ end
21445
+
21446
+ # `client.ping.start`
21447
+ class PingStartNamespace
21448
+ # @api private
21449
+ # @param transport [Transport]
21450
+ def initialize(transport)
21451
+ @transport = transport
21452
+ end
21453
+
21454
+ # Signal a run started
21455
+ #
21456
+ # **Unauthenticated**: the token in the path is the credential. Records the
21457
+ # start so the closing ping can report the run's duration. Answers `OK` in
21458
+ # plain text; an unknown token answers 404, and more than 20 pings a minute
21459
+ # for one heartbeat answer 429 without being recorded. A POST body's first
21460
+ # 1000 characters are kept with the ping.
21461
+ #
21462
+ # POST /api/ping/{token}/start
21463
+ #
21464
+ # Raises on 404: Not found
21465
+ #
21466
+ # Raises on 429: Error
21467
+ #
21468
+ # @param token [String]
21469
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
21470
+ # @return [String] Raw response bytes.
21471
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
21472
+ def create(token:, request_options: nil)
21473
+ @transport.request(
21474
+ http_method: "POST",
21475
+ path: "/api/ping/{token}/start",
21476
+ path_params: { "token" => token },
21477
+ accept: :binary,
21478
+ request_options: request_options
21479
+ )
21480
+ end
21481
+
21482
+ # Signal a run started (GET)
21483
+ #
21484
+ # **Unauthenticated**: the token in the path is the credential. Records the
21485
+ # start so the closing ping can report the run's duration. Answers `OK` in
21486
+ # plain text; an unknown token answers 404, and more than 20 pings a minute
21487
+ # for one heartbeat answer 429 without being recorded. A POST body's first
21488
+ # 1000 characters are kept with the ping.
21489
+ #
21490
+ # GET /api/ping/{token}/start
21491
+ #
21492
+ # Raises on 404: Not found
21493
+ #
21494
+ # Raises on 429: Error
21495
+ #
21496
+ # @param token [String]
21497
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
21498
+ # @return [String] Raw response bytes.
21499
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
21500
+ def get(token:, request_options: nil)
21501
+ @transport.request(
21502
+ http_method: "GET",
21503
+ path: "/api/ping/{token}/start",
21504
+ path_params: { "token" => token },
21505
+ accept: :binary,
21506
+ request_options: request_options
21507
+ )
21508
+ end
21509
+ end
21510
+
21511
+ # `client.ping`
21512
+ class PingNamespace
21513
+ # @return [PingFailNamespace] `client.ping.fail`
21514
+ attr_reader :fail
21515
+ # @return [PingStartNamespace] `client.ping.start`
21516
+ attr_reader :start
21517
+
21518
+ # @api private
21519
+ # @param transport [Transport]
21520
+ def initialize(transport)
21521
+ @transport = transport
21522
+ @fail = PingFailNamespace.new(@transport)
21523
+ @start = PingStartNamespace.new(@transport)
21524
+ end
21525
+
21526
+ # Ping a heartbeat
21527
+ #
21528
+ # **Unauthenticated**: the token in the path is the credential. The job ran:
21529
+ # the heartbeat is up and its next deadline is set from the schedule.
21530
+ # Answers `OK` in plain text; an unknown token answers 404, and more than 20
21531
+ # pings a minute for one heartbeat answer 429 without being recorded. A POST
21532
+ # body's first 1000 characters are kept with the ping.
21533
+ #
21534
+ # POST /api/ping/{token}
21535
+ #
21536
+ # Raises on 404: Not found
21537
+ #
21538
+ # Raises on 429: Error
21539
+ #
21540
+ # @param token [String]
21541
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
21542
+ # @return [String] Raw response bytes.
21543
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
21544
+ def create(token:, request_options: nil)
21545
+ @transport.request(
21546
+ http_method: "POST",
21547
+ path: "/api/ping/{token}",
21548
+ path_params: { "token" => token },
21549
+ accept: :binary,
21550
+ request_options: request_options
21551
+ )
21552
+ end
21553
+
21554
+ # Ping a heartbeat (GET)
21555
+ #
21556
+ # **Unauthenticated**: the token in the path is the credential. The job ran:
21557
+ # the heartbeat is up and its next deadline is set from the schedule.
21558
+ # Answers `OK` in plain text; an unknown token answers 404, and more than 20
21559
+ # pings a minute for one heartbeat answer 429 without being recorded. A POST
21560
+ # body's first 1000 characters are kept with the ping.
21561
+ #
21562
+ # GET /api/ping/{token}
21563
+ #
21564
+ # Raises on 404: Not found
21565
+ #
21566
+ # Raises on 429: Error
21567
+ #
21568
+ # @param token [String]
21569
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
21570
+ # @return [String] Raw response bytes.
21571
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
21572
+ def get(token:, request_options: nil)
21573
+ @transport.request(
21574
+ http_method: "GET",
21575
+ path: "/api/ping/{token}",
21576
+ path_params: { "token" => token },
21577
+ accept: :binary,
21578
+ request_options: request_options
21579
+ )
21580
+ end
21581
+ end
21582
+
21174
21583
  # `client.posture.dismissals`
21175
21584
  class PostureDismissalsNamespace
21176
21585
  # @api private
@@ -30423,6 +30832,8 @@ module Infrawrench
30423
30832
  attr_reader :github
30424
30833
  # @return [GithubIssuesNamespace] `client.github_issues`
30425
30834
  attr_reader :github_issues
30835
+ # @return [HeartbeatsNamespace] `client.heartbeats`
30836
+ attr_reader :heartbeats
30426
30837
  # @return [IacNamespace] `client.iac`
30427
30838
  attr_reader :iac
30428
30839
  # @return [IdleFindingsNamespace] `client.idle_findings`
@@ -30479,6 +30890,8 @@ module Infrawrench
30479
30890
  attr_reader :paging_providers
30480
30891
  # @return [PagingWebhooksNamespace] `client.paging_webhooks`
30481
30892
  attr_reader :paging_webhooks
30893
+ # @return [PingNamespace] `client.ping`
30894
+ attr_reader :ping
30482
30895
  # @return [PostureNamespace] `client.posture`
30483
30896
  attr_reader :posture
30484
30897
  # @return [PrChecksNamespace] `client.pr_checks`
@@ -30644,6 +31057,7 @@ module Infrawrench
30644
31057
  @extended_support = ExtendedSupportNamespace.new(@transport)
30645
31058
  @github = GithubNamespace.new(@transport)
30646
31059
  @github_issues = GithubIssuesNamespace.new(@transport)
31060
+ @heartbeats = HeartbeatsNamespace.new(@transport)
30647
31061
  @iac = IacNamespace.new(@transport)
30648
31062
  @idle_findings = IdleFindingsNamespace.new(@transport)
30649
31063
  @incidents = IncidentsNamespace.new(@transport)
@@ -30672,6 +31086,7 @@ module Infrawrench
30672
31086
  @paging_incidents = PagingIncidentsNamespace.new(@transport)
30673
31087
  @paging_providers = PagingProvidersNamespace.new(@transport)
30674
31088
  @paging_webhooks = PagingWebhooksNamespace.new(@transport)
31089
+ @ping = PingNamespace.new(@transport)
30675
31090
  @posture = PostureNamespace.new(@transport)
30676
31091
  @pr_checks = PrChecksNamespace.new(@transport)
30677
31092
  @price_catalog = PriceCatalogNamespace.new(@transport)
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.121.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.120.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.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.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.121.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.120.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.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.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.121.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.120.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.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.120.0"
18
+ VERSION = "1.121.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.121.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.120.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.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.120.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
1
+ # infrawrench-sdk v1.121.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.120.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.121.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -829,6 +829,7 @@ module Infrawrench
829
829
  | "leakedSecretAlerts"
830
830
  | "vulnerabilityAlerts"
831
831
  | "probeAlerts"
832
+ | "heartbeatAlerts"
832
833
  | "sloAlerts"
833
834
  | "scorecardAlerts"
834
835
  | "quotaAlerts"
@@ -7400,6 +7401,96 @@ module Infrawrench
7400
7401
  # Spec schema: `GithubResolveAction`.
7401
7402
  type github_resolve_action = "close" | "comment" | "none"
7402
7403
 
7404
+ # Spec schema: `Heartbeat`.
7405
+ type heartbeat = {
7406
+ "id" => String,
7407
+ "name" => String,
7408
+ "scheduleKind" => "cron" | "interval",
7409
+ "cronExpression" => String | nil,
7410
+ "timezone" => String,
7411
+ "intervalMinutes" => Integer | nil,
7412
+ "graceMinutes" => Integer,
7413
+ "enabled" => bool,
7414
+ "status" => "new" | "up" | "down",
7415
+ "downReason" => "missed" | "failed" | nil,
7416
+ "pingUrl" => String,
7417
+ "lastPingAt" => String | nil,
7418
+ "lastStartAt" => String | nil,
7419
+ "lastFailAt" => String | nil,
7420
+ "lastDurationMs" => Integer | nil,
7421
+ "nextExpectedAt" => String | nil,
7422
+ "deadlineAt" => String | nil,
7423
+ "lastStateChangeAt" => String | nil,
7424
+ "accountId" => String | nil,
7425
+ "resourceId" => String | nil,
7426
+ "pluginId" => plugin_id | nil,
7427
+ "resourceTypeId" => String | nil,
7428
+ "fieldKey" => String | nil,
7429
+ "createdAt" => String,
7430
+ "updatedAt" => String
7431
+ }
7432
+
7433
+ # Spec schema: `HeartbeatCreate`.
7434
+ type heartbeat_create = {
7435
+ "name" => String,
7436
+ "scheduleKind" => "cron" | "interval",
7437
+ ?"cronExpression" => String,
7438
+ ?"timezone" => String,
7439
+ ?"intervalMinutes" => Integer,
7440
+ ?"graceMinutes" => Integer,
7441
+ ?"enabled" => bool,
7442
+ ?"resourceId" => String,
7443
+ ?"fieldKey" => String
7444
+ }
7445
+
7446
+ # Spec schema: `HeartbeatList`.
7447
+ type heartbeat_list = { "heartbeats" => Array[heartbeat] }
7448
+
7449
+ # Spec schema: `HeartbeatPing`.
7450
+ type heartbeat_ping = {
7451
+ "id" => String,
7452
+ "kind" => "success" | "start" | "fail",
7453
+ "receivedAt" => String,
7454
+ "durationMs" => Integer | nil,
7455
+ "method" => String,
7456
+ "userAgent" => String | nil,
7457
+ "body" => String | nil
7458
+ }
7459
+
7460
+ # Spec schema: `HeartbeatPings`.
7461
+ type heartbeat_pings = { "pings" => Array[heartbeat_ping] }
7462
+
7463
+ # Spec schema: `HeartbeatSchedule`.
7464
+ type heartbeat_schedule = { "kind" => "cron", "cronExpression" => String, "timezone" => String }
7465
+ | { "kind" => "interval", "intervalMinutes" => Integer }
7466
+
7467
+ # Spec schema: `HeartbeatSuggestion`.
7468
+ type heartbeat_suggestion = {
7469
+ "resourceId" => String,
7470
+ "displayName" => String,
7471
+ "pluginId" => plugin_id,
7472
+ "resourceTypeId" => String,
7473
+ "accountId" => String,
7474
+ "fieldKey" => String,
7475
+ "rawSchedule" => String,
7476
+ "schedule" => heartbeat_schedule | nil,
7477
+ "watchedBy" => Array[String]
7478
+ }
7479
+
7480
+ # Spec schema: `HeartbeatSuggestions`.
7481
+ type heartbeat_suggestions = { "suggestions" => Array[heartbeat_suggestion] }
7482
+
7483
+ # Spec schema: `HeartbeatUpdate`.
7484
+ type heartbeat_update = {
7485
+ ?"name" => String,
7486
+ ?"scheduleKind" => "cron" | "interval",
7487
+ ?"cronExpression" => String,
7488
+ ?"timezone" => String,
7489
+ ?"intervalMinutes" => Integer,
7490
+ ?"graceMinutes" => Integer,
7491
+ ?"enabled" => bool
7492
+ }
7493
+
7403
7494
  # Spec schema: `HygieneFinding`.
7404
7495
  type hygiene_finding = {
7405
7496
  "id" => String,
@@ -11663,7 +11754,8 @@ module Infrawrench
11663
11754
  "databaseName" => String,
11664
11755
  "storageBucketName" => String,
11665
11756
  "supportsMetrics" => bool,
11666
- "schedulable" => bool
11757
+ "schedulable" => bool,
11758
+ ?"hasSchedule" => bool
11667
11759
  }
11668
11760
 
11669
11761
  # Spec schema: `ResourceFieldChange`.
@@ -15033,6 +15125,7 @@ module Infrawrench
15033
15125
  | "ssh-fanout"
15034
15126
  | "metric-alerts"
15035
15127
  | "probes"
15128
+ | "heartbeats"
15036
15129
  | "status-pages"
15037
15130
  | "quotas"
15038
15131
  | "price-catalog"
@@ -16948,6 +17041,17 @@ module Infrawrench
16948
17041
  def settings: (body: github_issue_settings_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> github_issue_settings
16949
17042
  end
16950
17043
 
17044
+ class HeartbeatsNamespace
17045
+ def initialize: (Transport) -> void
17046
+ def create: (body: heartbeat_create, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> heartbeat
17047
+ def delete: (heartbeat_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> nil
17048
+ def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> heartbeat_list
17049
+ def pings: (heartbeat_id: String, ?org_id: String?, ?limit: String?, ?request_options: Hash[Symbol, untyped]?) -> heartbeat_pings
17050
+ def rotate_token: (heartbeat_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> heartbeat
17051
+ def suggestions: (?org_id: String?, ?resource_id: String?, ?request_options: Hash[Symbol, untyped]?) -> heartbeat_suggestions
17052
+ def update: (heartbeat_id: String, body: heartbeat_update, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> heartbeat
17053
+ end
17054
+
16951
17055
  class IacStatesNamespace
16952
17056
  def initialize: (Transport) -> void
16953
17057
  def create: (?org_id: String?, ?body: iac_state_upload_request?, ?request_options: Hash[Symbol, untyped]?) -> { "state" => iac_state }
@@ -17350,6 +17454,26 @@ module Infrawrench
17350
17454
  def create: (token: String, ?request_options: Hash[Symbol, untyped]?) -> nil
17351
17455
  end
17352
17456
 
17457
+ class PingFailNamespace
17458
+ def initialize: (Transport) -> void
17459
+ def create: (token: String, ?request_options: Hash[Symbol, untyped]?) -> String
17460
+ def get: (token: String, ?request_options: Hash[Symbol, untyped]?) -> String
17461
+ end
17462
+
17463
+ class PingStartNamespace
17464
+ def initialize: (Transport) -> void
17465
+ def create: (token: String, ?request_options: Hash[Symbol, untyped]?) -> String
17466
+ def get: (token: String, ?request_options: Hash[Symbol, untyped]?) -> String
17467
+ end
17468
+
17469
+ class PingNamespace
17470
+ attr_reader fail: PingFailNamespace
17471
+ attr_reader start: PingStartNamespace
17472
+ def initialize: (Transport) -> void
17473
+ def create: (token: String, ?request_options: Hash[Symbol, untyped]?) -> String
17474
+ def get: (token: String, ?request_options: Hash[Symbol, untyped]?) -> String
17475
+ end
17476
+
17353
17477
  class PostureDismissalsNamespace
17354
17478
  def initialize: (Transport) -> void
17355
17479
  def create: (?org_id: String?, ?body: posture_dismissal_create?, ?request_options: Hash[Symbol, untyped]?) -> posture_dismissal
@@ -18080,6 +18204,7 @@ module Infrawrench
18080
18204
  attr_reader extended_support: ExtendedSupportNamespace
18081
18205
  attr_reader github: GithubNamespace
18082
18206
  attr_reader github_issues: GithubIssuesNamespace
18207
+ attr_reader heartbeats: HeartbeatsNamespace
18083
18208
  attr_reader iac: IacNamespace
18084
18209
  attr_reader idle_findings: IdleFindingsNamespace
18085
18210
  attr_reader incidents: IncidentsNamespace
@@ -18108,6 +18233,7 @@ module Infrawrench
18108
18233
  attr_reader paging_incidents: PagingIncidentsNamespace
18109
18234
  attr_reader paging_providers: PagingProvidersNamespace
18110
18235
  attr_reader paging_webhooks: PagingWebhooksNamespace
18236
+ attr_reader ping: PingNamespace
18111
18237
  attr_reader posture: PostureNamespace
18112
18238
  attr_reader pr_checks: PrChecksNamespace
18113
18239
  attr_reader price_catalog: PriceCatalogNamespace
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.120.0
4
+ version: 1.121.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-18 00:00:00.000000000 Z
12
+ date: 2026-11-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.120.0). Covers the
14
+ description: Generated Ruby client for the Infrawrench API (v1.121.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.120.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.121.0).
62
62
  test_files: []