infrawrench-sdk 1.101.0 → 1.103.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 +170 -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 +97 -7
- 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: 2d0b5b78e96419361088c30d98b74fa3d559f4ce740012ae2e99fa696c8979c3
|
|
4
|
+
data.tar.gz: 97e47a2a093fd263706697bfe10e4bd03fe53a7cde040c23d0a6f50c80660a98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 903480908bfaa53a14353dbff29e8ee9427692e6b84b0f1b2c1d5f831365dbd2cced894cf1fd947cec372ee8f9e27a0e713cb042e90908edd77cf50c581701d3
|
|
7
|
+
data.tar.gz: 38b1e35e35fa4306b05085fba40e748b8a8553fb212c1239c7786dd11778e2af8162babb0ca95623c769126707dc601bad6341008a7b8f48aa1c0f31af58ce48
|
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.103.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
|
+
1337 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.103.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.103.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.103.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.103.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.103.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.103.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -638,6 +638,8 @@ module Infrawrench
|
|
|
638
638
|
#
|
|
639
639
|
# POST /api/org/{orgId}/accounts/{id}/sync-type/{typeId}
|
|
640
640
|
#
|
|
641
|
+
# Raises on 400: Bad request
|
|
642
|
+
#
|
|
641
643
|
# Raises on 404: Not found
|
|
642
644
|
#
|
|
643
645
|
# Raises on 500: Server error
|
|
@@ -859,10 +861,16 @@ module Infrawrench
|
|
|
859
861
|
|
|
860
862
|
# Sync all resource types for an account
|
|
861
863
|
#
|
|
864
|
+
# 400 for an account connected for Costs alone: its resources are not
|
|
865
|
+
# synced. Add another app to the connection (`PATCH /accounts/{id}` with
|
|
866
|
+
# `products`) first.
|
|
867
|
+
#
|
|
862
868
|
# _Requires permission: `resources:read`._
|
|
863
869
|
#
|
|
864
870
|
# POST /api/org/{orgId}/accounts/{id}/sync
|
|
865
871
|
#
|
|
872
|
+
# Raises on 400: Bad request
|
|
873
|
+
#
|
|
866
874
|
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
867
875
|
# constructed with.
|
|
868
876
|
# @param id [String]
|
|
@@ -878,7 +886,7 @@ module Infrawrench
|
|
|
878
886
|
)
|
|
879
887
|
end
|
|
880
888
|
|
|
881
|
-
# Update an account (rename
|
|
889
|
+
# Update an account (rename, change bastion binding, change what it is for)
|
|
882
890
|
#
|
|
883
891
|
# _Requires permission: `accounts:write`._
|
|
884
892
|
#
|
|
@@ -6120,6 +6128,69 @@ module Infrawrench
|
|
|
6120
6128
|
end
|
|
6121
6129
|
end
|
|
6122
6130
|
|
|
6131
|
+
# `client.ci.caches`
|
|
6132
|
+
class CiCachesNamespace
|
|
6133
|
+
# @api private
|
|
6134
|
+
# @param transport [Transport]
|
|
6135
|
+
def initialize(transport)
|
|
6136
|
+
@transport = transport
|
|
6137
|
+
end
|
|
6138
|
+
|
|
6139
|
+
# Clear a repository's CI caches
|
|
6140
|
+
#
|
|
6141
|
+
# Deletes every branch's and pull request's `cache:` and `task-cache:`
|
|
6142
|
+
# entries of one repository. The next run of each job starts cold and saves
|
|
6143
|
+
# again.
|
|
6144
|
+
#
|
|
6145
|
+
# _Requires permission: `ci:write`._
|
|
6146
|
+
#
|
|
6147
|
+
# DELETE /api/org/{orgId}/ci/caches/{installationId}/{repo}
|
|
6148
|
+
#
|
|
6149
|
+
# Raises on 400: Bad request
|
|
6150
|
+
#
|
|
6151
|
+
# Raises on 404: Not found
|
|
6152
|
+
#
|
|
6153
|
+
# Raises on 409: Conflict
|
|
6154
|
+
#
|
|
6155
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6156
|
+
# constructed with.
|
|
6157
|
+
# @param installation_id [String]
|
|
6158
|
+
# @param repo [String]
|
|
6159
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6160
|
+
# @return [Hash] Parsed JSON, shaped as `CiCacheCleared` — see `sig/infrawrench/sdk.rbs`.
|
|
6161
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6162
|
+
def delete(installation_id:, repo:, org_id: nil, request_options: nil)
|
|
6163
|
+
@transport.request(
|
|
6164
|
+
http_method: "DELETE",
|
|
6165
|
+
path: "/api/org/{orgId}/ci/caches/{installationId}/{repo}",
|
|
6166
|
+
path_params: { "orgId" => org_id, "installationId" => installation_id, "repo" => repo },
|
|
6167
|
+
request_options: request_options
|
|
6168
|
+
)
|
|
6169
|
+
end
|
|
6170
|
+
|
|
6171
|
+
# The caches CI keeps for each repository
|
|
6172
|
+
#
|
|
6173
|
+
# _Requires permission: `ci:read`._
|
|
6174
|
+
#
|
|
6175
|
+
# GET /api/org/{orgId}/ci/caches
|
|
6176
|
+
#
|
|
6177
|
+
# Raises on 404: Not found
|
|
6178
|
+
#
|
|
6179
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6180
|
+
# constructed with.
|
|
6181
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6182
|
+
# @return [Hash] Parsed JSON, shaped as `CiCaches` — see `sig/infrawrench/sdk.rbs`.
|
|
6183
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6184
|
+
def get(org_id: nil, request_options: nil)
|
|
6185
|
+
@transport.request(
|
|
6186
|
+
http_method: "GET",
|
|
6187
|
+
path: "/api/org/{orgId}/ci/caches",
|
|
6188
|
+
path_params: { "orgId" => org_id },
|
|
6189
|
+
request_options: request_options
|
|
6190
|
+
)
|
|
6191
|
+
end
|
|
6192
|
+
end
|
|
6193
|
+
|
|
6123
6194
|
# `client.ci.runs`
|
|
6124
6195
|
class CiRunsNamespace
|
|
6125
6196
|
# @api private
|
|
@@ -6229,6 +6300,37 @@ module Infrawrench
|
|
|
6229
6300
|
request_options: request_options
|
|
6230
6301
|
)
|
|
6231
6302
|
end
|
|
6303
|
+
|
|
6304
|
+
# Run a finished CI run again
|
|
6305
|
+
#
|
|
6306
|
+
# Queues a new run of the same repository, commit, branch and event, linked
|
|
6307
|
+
# to this one. A run waiting for approval is approved instead, and a fork's
|
|
6308
|
+
# pull request still runs without secrets.
|
|
6309
|
+
#
|
|
6310
|
+
# _Requires permission: `ci:approve`._
|
|
6311
|
+
#
|
|
6312
|
+
# POST /api/org/{orgId}/ci/runs/{runId}/retry
|
|
6313
|
+
#
|
|
6314
|
+
# Raises on 404: Not found
|
|
6315
|
+
#
|
|
6316
|
+
# Raises on 409: Conflict
|
|
6317
|
+
#
|
|
6318
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6319
|
+
# constructed with.
|
|
6320
|
+
# @param run_id [String]
|
|
6321
|
+
# @param body [Hash] Request body, shaped as `Hash`.
|
|
6322
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6323
|
+
# @return [Hash] Parsed JSON, shaped as `CiRun` — see `sig/infrawrench/sdk.rbs`.
|
|
6324
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6325
|
+
def post_org_org_id_ci_runs_run_id_retry(run_id:, body:, org_id: nil, request_options: nil)
|
|
6326
|
+
@transport.request(
|
|
6327
|
+
http_method: "POST",
|
|
6328
|
+
path: "/api/org/{orgId}/ci/runs/{runId}/retry",
|
|
6329
|
+
path_params: { "orgId" => org_id, "runId" => run_id },
|
|
6330
|
+
body: body,
|
|
6331
|
+
request_options: request_options
|
|
6332
|
+
)
|
|
6333
|
+
end
|
|
6232
6334
|
end
|
|
6233
6335
|
|
|
6234
6336
|
# `client.ci.values`
|
|
@@ -6342,6 +6444,8 @@ module Infrawrench
|
|
|
6342
6444
|
class CiNamespace
|
|
6343
6445
|
# @return [CiAccountsNamespace] `client.ci.accounts`
|
|
6344
6446
|
attr_reader :accounts
|
|
6447
|
+
# @return [CiCachesNamespace] `client.ci.caches`
|
|
6448
|
+
attr_reader :caches
|
|
6345
6449
|
# @return [CiRunsNamespace] `client.ci.runs`
|
|
6346
6450
|
attr_reader :runs
|
|
6347
6451
|
# @return [CiValuesNamespace] `client.ci.values`
|
|
@@ -6352,6 +6456,7 @@ module Infrawrench
|
|
|
6352
6456
|
def initialize(transport)
|
|
6353
6457
|
@transport = transport
|
|
6354
6458
|
@accounts = CiAccountsNamespace.new(@transport)
|
|
6459
|
+
@caches = CiCachesNamespace.new(@transport)
|
|
6355
6460
|
@runs = CiRunsNamespace.new(@transport)
|
|
6356
6461
|
@values = CiValuesNamespace.new(@transport)
|
|
6357
6462
|
end
|
|
@@ -21601,6 +21706,65 @@ module Infrawrench
|
|
|
21601
21706
|
end
|
|
21602
21707
|
end
|
|
21603
21708
|
|
|
21709
|
+
# `client.products`
|
|
21710
|
+
class ProductsNamespace
|
|
21711
|
+
# @api private
|
|
21712
|
+
# @param transport [Transport]
|
|
21713
|
+
def initialize(transport)
|
|
21714
|
+
@transport = transport
|
|
21715
|
+
end
|
|
21716
|
+
|
|
21717
|
+
# Get the apps the organization has turned off
|
|
21718
|
+
#
|
|
21719
|
+
# A turned-off app is hidden from Home, the sidebar and the Tools launcher,
|
|
21720
|
+
# and its tools are not offered to, and are refused for, the chat agent and
|
|
21721
|
+
# the MCP server. It does not block this API: the routes behind an app keep
|
|
21722
|
+
# answering under their own permissions.
|
|
21723
|
+
#
|
|
21724
|
+
# GET /api/org/{orgId}/products
|
|
21725
|
+
#
|
|
21726
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
21727
|
+
# constructed with.
|
|
21728
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
21729
|
+
# @return [Hash] Parsed JSON, shaped as `OrgProductPolicy` — see `sig/infrawrench/sdk.rbs`.
|
|
21730
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
21731
|
+
def get(org_id: nil, request_options: nil)
|
|
21732
|
+
@transport.request(
|
|
21733
|
+
http_method: "GET",
|
|
21734
|
+
path: "/api/org/{orgId}/products",
|
|
21735
|
+
path_params: { "orgId" => org_id },
|
|
21736
|
+
request_options: request_options
|
|
21737
|
+
)
|
|
21738
|
+
end
|
|
21739
|
+
|
|
21740
|
+
# Set the apps the organization has turned off
|
|
21741
|
+
#
|
|
21742
|
+
# Replaces the list. An unknown app id, or an app that cannot be turned off
|
|
21743
|
+
# (`infrastructure`), is refused with a 400 and nothing is saved.
|
|
21744
|
+
#
|
|
21745
|
+
# _Requires permission: `org:apps:write`._
|
|
21746
|
+
#
|
|
21747
|
+
# PUT /api/org/{orgId}/products
|
|
21748
|
+
#
|
|
21749
|
+
# Raises on 400: Bad request
|
|
21750
|
+
#
|
|
21751
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
21752
|
+
# constructed with.
|
|
21753
|
+
# @param body [Hash] Request body, shaped as `OrgProductPolicyUpdate`.
|
|
21754
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
21755
|
+
# @return [Hash] Parsed JSON, shaped as `OrgProductPolicy` — see `sig/infrawrench/sdk.rbs`.
|
|
21756
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
21757
|
+
def update(body:, org_id: nil, request_options: nil)
|
|
21758
|
+
@transport.request(
|
|
21759
|
+
http_method: "PUT",
|
|
21760
|
+
path: "/api/org/{orgId}/products",
|
|
21761
|
+
path_params: { "orgId" => org_id },
|
|
21762
|
+
body: body,
|
|
21763
|
+
request_options: request_options
|
|
21764
|
+
)
|
|
21765
|
+
end
|
|
21766
|
+
end
|
|
21767
|
+
|
|
21604
21768
|
# `client.profile.email_change`
|
|
21605
21769
|
class ProfileEmailChangeNamespace
|
|
21606
21770
|
# @api private
|
|
@@ -30034,6 +30198,8 @@ module Infrawrench
|
|
|
30034
30198
|
attr_reader :price_catalog
|
|
30035
30199
|
# @return [ProbesNamespace] `client.probes`
|
|
30036
30200
|
attr_reader :probes
|
|
30201
|
+
# @return [ProductsNamespace] `client.products`
|
|
30202
|
+
attr_reader :products
|
|
30037
30203
|
# @return [ProfileNamespace] `client.profile`
|
|
30038
30204
|
attr_reader :profile
|
|
30039
30205
|
# @return [ProviderOauthNamespace] `client.provider_oauth`
|
|
@@ -30223,6 +30389,7 @@ module Infrawrench
|
|
|
30223
30389
|
@pr_checks = PrChecksNamespace.new(@transport)
|
|
30224
30390
|
@price_catalog = PriceCatalogNamespace.new(@transport)
|
|
30225
30391
|
@probes = ProbesNamespace.new(@transport)
|
|
30392
|
+
@products = ProductsNamespace.new(@transport)
|
|
30226
30393
|
@profile = ProfileNamespace.new(@transport)
|
|
30227
30394
|
@provider_oauth = ProviderOauthNamespace.new(@transport)
|
|
30228
30395
|
@query_monitors = QueryMonitorsNamespace.new(@transport)
|
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.103.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.103.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.103.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.103.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.103.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.103.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.103.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.103.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.103.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.103.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.103.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -255,6 +255,7 @@ module Infrawrench
|
|
|
255
255
|
"displayName" => String,
|
|
256
256
|
"bastionId" => String | nil,
|
|
257
257
|
"oauthStatus" => account_oauth_status,
|
|
258
|
+
?"products" => Array[String] | nil,
|
|
258
259
|
"createdAt" => String
|
|
259
260
|
}
|
|
260
261
|
|
|
@@ -274,7 +275,8 @@ module Infrawrench
|
|
|
274
275
|
"id" => String,
|
|
275
276
|
"pluginId" => String,
|
|
276
277
|
"displayName" => String,
|
|
277
|
-
"oauthStatus" => account_oauth_status
|
|
278
|
+
"oauthStatus" => account_oauth_status,
|
|
279
|
+
?"products" => Array[String] | nil
|
|
278
280
|
},
|
|
279
281
|
"resourceTypes" => Array[resource_type_summary],
|
|
280
282
|
"pluginDisplayName" => String,
|
|
@@ -2293,6 +2295,27 @@ module Infrawrench
|
|
|
2293
2295
|
"ciEnabled" => bool
|
|
2294
2296
|
}
|
|
2295
2297
|
|
|
2298
|
+
# Spec schema: `CiAccountCaches`.
|
|
2299
|
+
type ci_account_caches = {
|
|
2300
|
+
"installationId" => Integer,
|
|
2301
|
+
"accountLogin" => String,
|
|
2302
|
+
"usedBytes" => Numeric | "Infinity" | "-Infinity" | "NaN",
|
|
2303
|
+
"quotaBytes" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2304
|
+
"repos" => Array[ci_repo_cache],
|
|
2305
|
+
"error" => String | nil
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
# Spec schema: `CiCacheCleared`.
|
|
2309
|
+
type ci_cache_cleared = {
|
|
2310
|
+
"installationId" => Integer,
|
|
2311
|
+
"repo" => String,
|
|
2312
|
+
"deletedEntries" => Integer,
|
|
2313
|
+
"deletedBytes" => Numeric | "Infinity" | "-Infinity" | "NaN"
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
# Spec schema: `CiCaches`.
|
|
2317
|
+
type ci_caches = { "accounts" => Array[ci_account_caches] }
|
|
2318
|
+
|
|
2296
2319
|
# Spec schema: `CiJobOutput`.
|
|
2297
2320
|
type ci_job_output = {
|
|
2298
2321
|
"pipeline" => String,
|
|
@@ -2317,6 +2340,13 @@ module Infrawrench
|
|
|
2317
2340
|
?"needs" => Array[String]
|
|
2318
2341
|
}
|
|
2319
2342
|
|
|
2343
|
+
# Spec schema: `CiRepoCache`.
|
|
2344
|
+
type ci_repo_cache = {
|
|
2345
|
+
"repo" => String,
|
|
2346
|
+
"bytes" => Numeric | "Infinity" | "-Infinity" | "NaN",
|
|
2347
|
+
"entries" => Integer
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2320
2350
|
# Spec schema: `CiRun`.
|
|
2321
2351
|
type ci_run = {
|
|
2322
2352
|
"id" => String,
|
|
@@ -2336,7 +2366,10 @@ module Infrawrench
|
|
|
2336
2366
|
"jobs" => Array[ci_job_summary] | nil,
|
|
2337
2367
|
"vcpuSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2338
2368
|
"memoryGibSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2339
|
-
"githubUrl" => String
|
|
2369
|
+
"githubUrl" => String,
|
|
2370
|
+
?"retryOfRunId" => String | nil,
|
|
2371
|
+
?"retriedAsRunId" => String | nil,
|
|
2372
|
+
?"noTaskCache" => bool
|
|
2340
2373
|
}
|
|
2341
2374
|
|
|
2342
2375
|
# Spec schema: `CiRunDetail`.
|
|
@@ -4030,7 +4063,8 @@ module Infrawrench
|
|
|
4030
4063
|
"pluginId" => plugin_id,
|
|
4031
4064
|
"displayName" => String,
|
|
4032
4065
|
"credentials" => Hash[String, String],
|
|
4033
|
-
?"bastionId" => String | nil
|
|
4066
|
+
?"bastionId" => String | nil,
|
|
4067
|
+
?"products" => Array[product_id] | nil
|
|
4034
4068
|
}
|
|
4035
4069
|
|
|
4036
4070
|
# Spec schema: `CreateAccountResponse`.
|
|
@@ -9579,6 +9613,23 @@ module Infrawrench
|
|
|
9579
9613
|
# Spec schema: `OrgMembership`.
|
|
9580
9614
|
type org_membership = { "id" => String, "displayName" => String, "role" => organization_role }
|
|
9581
9615
|
|
|
9616
|
+
# An app the application is presented as.
|
|
9617
|
+
#
|
|
9618
|
+
# Spec schema: `OrgProductId`.
|
|
9619
|
+
type org_product_id = "infrastructure"
|
|
9620
|
+
| "costs"
|
|
9621
|
+
| "observability"
|
|
9622
|
+
| "incidents"
|
|
9623
|
+
| "security"
|
|
9624
|
+
| "delivery"
|
|
9625
|
+
| "automation"
|
|
9626
|
+
|
|
9627
|
+
# Spec schema: `OrgProductPolicy`.
|
|
9628
|
+
type org_product_policy = { "disabled" => Array[org_product_id] }
|
|
9629
|
+
|
|
9630
|
+
# Spec schema: `OrgProductPolicyUpdate`.
|
|
9631
|
+
type org_product_policy_update = { "disabled" => Array[String] }
|
|
9632
|
+
|
|
9582
9633
|
# Spec schema: `OrgScorecard`.
|
|
9583
9634
|
type org_scorecard = {
|
|
9584
9635
|
"score" => Integer | nil,
|
|
@@ -9999,6 +10050,7 @@ module Infrawrench
|
|
|
9999
10050
|
| "invoices:issue"
|
|
10000
10051
|
| "pages:write"
|
|
10001
10052
|
| "sharing:override"
|
|
10053
|
+
| "org:apps:write"
|
|
10002
10054
|
| "org:settings:write"
|
|
10003
10055
|
|
|
10004
10056
|
# Spec schema: `PermissionCatalog`.
|
|
@@ -10488,6 +10540,7 @@ module Infrawrench
|
|
|
10488
10540
|
# Spec schema: `PreflightCapability`.
|
|
10489
10541
|
type preflight_capability = {
|
|
10490
10542
|
"id" => String,
|
|
10543
|
+
?"product" => product_id & untyped,
|
|
10491
10544
|
"label" => String,
|
|
10492
10545
|
?"description" => String,
|
|
10493
10546
|
"requiredPermissions" => Array[preflight_permission],
|
|
@@ -10767,6 +10820,17 @@ module Infrawrench
|
|
|
10767
10820
|
# Spec schema: `ProbeSuggestions`.
|
|
10768
10821
|
type probe_suggestions = { "suggestions" => Array[probe_suggestion] }
|
|
10769
10822
|
|
|
10823
|
+
# One of the apps the product is presented as.
|
|
10824
|
+
#
|
|
10825
|
+
# Spec schema: `ProductId`.
|
|
10826
|
+
type product_id = "infrastructure"
|
|
10827
|
+
| "costs"
|
|
10828
|
+
| "observability"
|
|
10829
|
+
| "incidents"
|
|
10830
|
+
| "security"
|
|
10831
|
+
| "delivery"
|
|
10832
|
+
| "automation"
|
|
10833
|
+
|
|
10770
10834
|
# Spec schema: `Profile`.
|
|
10771
10835
|
type profile = {
|
|
10772
10836
|
"id" => String,
|
|
@@ -14620,6 +14684,7 @@ module Infrawrench
|
|
|
14620
14684
|
| "access-review"
|
|
14621
14685
|
| "jit-access"
|
|
14622
14686
|
| "backups"
|
|
14687
|
+
| "home"
|
|
14623
14688
|
| "wallboard"
|
|
14624
14689
|
| "calendar"
|
|
14625
14690
|
| "runbooks"
|
|
@@ -14656,6 +14721,7 @@ module Infrawrench
|
|
|
14656
14721
|
?"serviceId" => String,
|
|
14657
14722
|
?"view" => "details" | "ssh" | "sftp" | "apps" | "scorecards",
|
|
14658
14723
|
?"framework" => String,
|
|
14724
|
+
?"productId" => String,
|
|
14659
14725
|
?"sessionId" => String,
|
|
14660
14726
|
?"windowId" => Integer,
|
|
14661
14727
|
?"appId" => String
|
|
@@ -14940,7 +15006,11 @@ module Infrawrench
|
|
|
14940
15006
|
}
|
|
14941
15007
|
|
|
14942
15008
|
# Spec schema: `UpdateAccountRequest`.
|
|
14943
|
-
type update_account_request = {
|
|
15009
|
+
type update_account_request = {
|
|
15010
|
+
?"displayName" => String,
|
|
15011
|
+
?"bastionId" => String | nil,
|
|
15012
|
+
?"products" => Array[product_id] | nil
|
|
15013
|
+
}
|
|
14944
15014
|
|
|
14945
15015
|
# Spec schema: `UpdateResourceRequest`.
|
|
14946
15016
|
type update_resource_request = {
|
|
@@ -14966,7 +15036,12 @@ module Infrawrench
|
|
|
14966
15036
|
}
|
|
14967
15037
|
|
|
14968
15038
|
# Spec schema: `UpdatedAccount`.
|
|
14969
|
-
type updated_account = {
|
|
15039
|
+
type updated_account = {
|
|
15040
|
+
"id" => String,
|
|
15041
|
+
"displayName" => String,
|
|
15042
|
+
"bastionId" => String | nil,
|
|
15043
|
+
?"products" => Array[String] | nil
|
|
15044
|
+
}
|
|
14970
15045
|
|
|
14971
15046
|
# Spec schema: `UserSession`.
|
|
14972
15047
|
type user_session = {
|
|
@@ -15881,12 +15956,19 @@ module Infrawrench
|
|
|
15881
15956
|
def update: (installation_id: String, body: { "enabled" => bool }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_account
|
|
15882
15957
|
end
|
|
15883
15958
|
|
|
15959
|
+
class CiCachesNamespace
|
|
15960
|
+
def initialize: (Transport) -> void
|
|
15961
|
+
def delete: (installation_id: String, repo: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_cache_cleared
|
|
15962
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_caches
|
|
15963
|
+
end
|
|
15964
|
+
|
|
15884
15965
|
class CiRunsNamespace
|
|
15885
15966
|
def initialize: (Transport) -> void
|
|
15886
15967
|
def approve: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
15887
15968
|
def get: (?org_id: String?, ?status: ci_run_status?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> { "runs" => Array[ci_run] }
|
|
15888
15969
|
def get_org_org_id_ci_runs_run_id: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run_detail
|
|
15889
15970
|
def reject: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
15971
|
+
def post_org_org_id_ci_runs_run_id_retry: (run_id: String, body: { ?"noTaskCache" => bool }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run
|
|
15890
15972
|
end
|
|
15891
15973
|
|
|
15892
15974
|
class CiValuesNamespace
|
|
@@ -15898,6 +15980,7 @@ module Infrawrench
|
|
|
15898
15980
|
|
|
15899
15981
|
class CiNamespace
|
|
15900
15982
|
attr_reader accounts: CiAccountsNamespace
|
|
15983
|
+
attr_reader caches: CiCachesNamespace
|
|
15901
15984
|
attr_reader runs: CiRunsNamespace
|
|
15902
15985
|
attr_reader values: CiValuesNamespace
|
|
15903
15986
|
def initialize: (Transport) -> void
|
|
@@ -16967,6 +17050,12 @@ module Infrawrench
|
|
|
16967
17050
|
def update: (probe_id: String, ?org_id: String?, ?body: synthetic_probe_update?, ?request_options: Hash[Symbol, untyped]?) -> synthetic_probe
|
|
16968
17051
|
end
|
|
16969
17052
|
|
|
17053
|
+
class ProductsNamespace
|
|
17054
|
+
def initialize: (Transport) -> void
|
|
17055
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> org_product_policy
|
|
17056
|
+
def update: (body: org_product_policy_update, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> org_product_policy
|
|
17057
|
+
end
|
|
17058
|
+
|
|
16970
17059
|
class ProfileEmailChangeNamespace
|
|
16971
17060
|
def initialize: (Transport) -> void
|
|
16972
17061
|
def confirm: (?body: { "code" => String }?, ?request_options: Hash[Symbol, untyped]?) -> { "email" => String }
|
|
@@ -17672,6 +17761,7 @@ module Infrawrench
|
|
|
17672
17761
|
attr_reader pr_checks: PrChecksNamespace
|
|
17673
17762
|
attr_reader price_catalog: PriceCatalogNamespace
|
|
17674
17763
|
attr_reader probes: ProbesNamespace
|
|
17764
|
+
attr_reader products: ProductsNamespace
|
|
17675
17765
|
attr_reader profile: ProfileNamespace
|
|
17676
17766
|
attr_reader provider_oauth: ProviderOauthNamespace
|
|
17677
17767
|
attr_reader query_monitors: QueryMonitorsNamespace
|
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.103.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-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.103.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.103.0).
|
|
62
62
|
test_files: []
|