infrawrench-sdk 1.106.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 +4 -4
- data/README.md +2 -2
- data/infrawrench-sdk.gemspec +4 -4
- data/lib/infrawrench/client.rb +341 -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 +201 -5
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2549c04d26f9f1143a306e0e0b4c81f91507b7fb2d6913b5563b0fa16b3e6d5b
|
|
4
|
+
data.tar.gz: c89a8cf430959cc8946936c8644d67ed276c444ad82c7e9dab4e0673b415e676
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
|
|
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 —
|
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.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.
|
|
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.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v1.
|
|
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"
|
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.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.
|
|
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
|
|
@@ -752,6 +752,8 @@ module Infrawrench
|
|
|
752
752
|
#
|
|
753
753
|
# DELETE /api/org/{orgId}/accounts/{id}
|
|
754
754
|
#
|
|
755
|
+
# Raises on 409: Conflict
|
|
756
|
+
#
|
|
755
757
|
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
756
758
|
# constructed with.
|
|
757
759
|
# @param id [String]
|
|
@@ -6092,6 +6094,312 @@ module Infrawrench
|
|
|
6092
6094
|
end
|
|
6093
6095
|
end
|
|
6094
6096
|
|
|
6097
|
+
# `client.ci.access.connections`
|
|
6098
|
+
class CiAccessConnectionsNamespace
|
|
6099
|
+
# @api private
|
|
6100
|
+
# @param transport [Transport]
|
|
6101
|
+
def initialize(transport)
|
|
6102
|
+
@transport = transport
|
|
6103
|
+
end
|
|
6104
|
+
|
|
6105
|
+
# Check whether a connection can run cloud jobs of a kind
|
|
6106
|
+
#
|
|
6107
|
+
# Asks the provider without starting anything (a dry run or a permission
|
|
6108
|
+
# test) and keeps the answer: what is missing and how to grant it. A failing
|
|
6109
|
+
# check turns that kind off.
|
|
6110
|
+
#
|
|
6111
|
+
# _Requires permission: `ci-access:write`._
|
|
6112
|
+
#
|
|
6113
|
+
# POST /api/org/{orgId}/ci/access/connections/{accountId}/preflight
|
|
6114
|
+
#
|
|
6115
|
+
# Raises on 400: Bad request
|
|
6116
|
+
#
|
|
6117
|
+
# Raises on 404: Not found
|
|
6118
|
+
#
|
|
6119
|
+
# Raises on 409: Conflict
|
|
6120
|
+
#
|
|
6121
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6122
|
+
# constructed with.
|
|
6123
|
+
# @param account_id [String]
|
|
6124
|
+
# @param body [Hash] Request body, shaped as `Hash`.
|
|
6125
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6126
|
+
# @return [Hash] Parsed JSON, shaped as `CiConnectionAccess` — see
|
|
6127
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
6128
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6129
|
+
def preflight(account_id:, body:, org_id: nil, request_options: nil)
|
|
6130
|
+
@transport.request(
|
|
6131
|
+
http_method: "POST",
|
|
6132
|
+
path: "/api/org/{orgId}/ci/access/connections/{accountId}/preflight",
|
|
6133
|
+
path_params: { "orgId" => org_id, "accountId" => account_id },
|
|
6134
|
+
body: body,
|
|
6135
|
+
request_options: request_options
|
|
6136
|
+
)
|
|
6137
|
+
end
|
|
6138
|
+
|
|
6139
|
+
# Set what CI may do with a connection
|
|
6140
|
+
#
|
|
6141
|
+
# Run cloud jobs on it (kinds, limits, repositories, branches) and lend its
|
|
6142
|
+
# credentials to jobs (repositories, branches). Turning cloud jobs on needs
|
|
6143
|
+
# a passing permission check for every kind.
|
|
6144
|
+
#
|
|
6145
|
+
# _Requires permission: `ci-access:write`._
|
|
6146
|
+
#
|
|
6147
|
+
# PUT /api/org/{orgId}/ci/access/connections/{accountId}
|
|
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 account_id [String]
|
|
6158
|
+
# @param body [Hash] Request body, shaped as `CiConnectionAccessSettings`.
|
|
6159
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6160
|
+
# @return [Hash] Parsed JSON, shaped as `CiConnectionAccess` — see
|
|
6161
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
6162
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6163
|
+
def update(account_id:, body:, org_id: nil, request_options: nil)
|
|
6164
|
+
@transport.request(
|
|
6165
|
+
http_method: "PUT",
|
|
6166
|
+
path: "/api/org/{orgId}/ci/access/connections/{accountId}",
|
|
6167
|
+
path_params: { "orgId" => org_id, "accountId" => account_id },
|
|
6168
|
+
body: body,
|
|
6169
|
+
request_options: request_options
|
|
6170
|
+
)
|
|
6171
|
+
end
|
|
6172
|
+
end
|
|
6173
|
+
|
|
6174
|
+
# `client.ci.access.grants`
|
|
6175
|
+
class CiAccessGrantsNamespace
|
|
6176
|
+
# @api private
|
|
6177
|
+
# @param transport [Transport]
|
|
6178
|
+
def initialize(transport)
|
|
6179
|
+
@transport = transport
|
|
6180
|
+
end
|
|
6181
|
+
|
|
6182
|
+
# Grant CI jobs a resource's outputs
|
|
6183
|
+
#
|
|
6184
|
+
# Pipelines read them as `${{ resources.<ciName>.<output> }}` in `env:`, or
|
|
6185
|
+
# all at once with `env-from: [<ciName>]`, read fresh for every run. Only
|
|
6186
|
+
# for the listed repositories and branches, and never for a fork's pull
|
|
6187
|
+
# request.
|
|
6188
|
+
#
|
|
6189
|
+
# _Requires permission: `ci-access:write`._
|
|
6190
|
+
#
|
|
6191
|
+
# POST /api/org/{orgId}/ci/access/grants
|
|
6192
|
+
#
|
|
6193
|
+
# Raises on 400: Bad request
|
|
6194
|
+
#
|
|
6195
|
+
# Raises on 404: Not found
|
|
6196
|
+
#
|
|
6197
|
+
# Raises on 409: Conflict
|
|
6198
|
+
#
|
|
6199
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6200
|
+
# constructed with.
|
|
6201
|
+
# @param body [Hash] Request body, shaped as `CiResourceGrantInput`.
|
|
6202
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6203
|
+
# @return [Hash] Parsed JSON, shaped as `CiResourceGrant` — see `sig/infrawrench/sdk.rbs`.
|
|
6204
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6205
|
+
def create(body:, org_id: nil, request_options: nil)
|
|
6206
|
+
@transport.request(
|
|
6207
|
+
http_method: "POST",
|
|
6208
|
+
path: "/api/org/{orgId}/ci/access/grants",
|
|
6209
|
+
path_params: { "orgId" => org_id },
|
|
6210
|
+
body: body,
|
|
6211
|
+
request_options: request_options
|
|
6212
|
+
)
|
|
6213
|
+
end
|
|
6214
|
+
|
|
6215
|
+
# Remove a resource grant
|
|
6216
|
+
#
|
|
6217
|
+
# _Requires permission: `ci:write`._
|
|
6218
|
+
#
|
|
6219
|
+
# DELETE /api/org/{orgId}/ci/access/grants/{grantId}
|
|
6220
|
+
#
|
|
6221
|
+
# Raises on 404: Not found
|
|
6222
|
+
#
|
|
6223
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6224
|
+
# constructed with.
|
|
6225
|
+
# @param grant_id [String]
|
|
6226
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6227
|
+
# @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
|
|
6228
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6229
|
+
def delete(grant_id:, org_id: nil, request_options: nil)
|
|
6230
|
+
@transport.request(
|
|
6231
|
+
http_method: "DELETE",
|
|
6232
|
+
path: "/api/org/{orgId}/ci/access/grants/{grantId}",
|
|
6233
|
+
path_params: { "orgId" => org_id, "grantId" => grant_id },
|
|
6234
|
+
request_options: request_options
|
|
6235
|
+
)
|
|
6236
|
+
end
|
|
6237
|
+
|
|
6238
|
+
# Change a resource grant
|
|
6239
|
+
#
|
|
6240
|
+
# _Requires permission: `ci-access:write`._
|
|
6241
|
+
#
|
|
6242
|
+
# PUT /api/org/{orgId}/ci/access/grants/{grantId}
|
|
6243
|
+
#
|
|
6244
|
+
# Raises on 400: Bad request
|
|
6245
|
+
#
|
|
6246
|
+
# Raises on 404: Not found
|
|
6247
|
+
#
|
|
6248
|
+
# Raises on 409: Conflict
|
|
6249
|
+
#
|
|
6250
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6251
|
+
# constructed with.
|
|
6252
|
+
# @param grant_id [String]
|
|
6253
|
+
# @param body [Hash] Request body, shaped as `CiResourceGrantInput`.
|
|
6254
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6255
|
+
# @return [Hash] Parsed JSON, shaped as `CiResourceGrant` — see `sig/infrawrench/sdk.rbs`.
|
|
6256
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6257
|
+
def update(grant_id:, body:, org_id: nil, request_options: nil)
|
|
6258
|
+
@transport.request(
|
|
6259
|
+
http_method: "PUT",
|
|
6260
|
+
path: "/api/org/{orgId}/ci/access/grants/{grantId}",
|
|
6261
|
+
path_params: { "orgId" => org_id, "grantId" => grant_id },
|
|
6262
|
+
body: body,
|
|
6263
|
+
request_options: request_options
|
|
6264
|
+
)
|
|
6265
|
+
end
|
|
6266
|
+
end
|
|
6267
|
+
|
|
6268
|
+
# `client.ci.access.ssh_keys`
|
|
6269
|
+
class CiAccessSshKeysNamespace
|
|
6270
|
+
# @api private
|
|
6271
|
+
# @param transport [Transport]
|
|
6272
|
+
def initialize(transport)
|
|
6273
|
+
@transport = transport
|
|
6274
|
+
end
|
|
6275
|
+
|
|
6276
|
+
# Stop CI jobs using someone's SSH key
|
|
6277
|
+
#
|
|
6278
|
+
# _Requires permission: `ci:write`._
|
|
6279
|
+
#
|
|
6280
|
+
# DELETE /api/org/{orgId}/ci/access/ssh-keys/{sshKeyId}
|
|
6281
|
+
#
|
|
6282
|
+
# Raises on 404: Not found
|
|
6283
|
+
#
|
|
6284
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6285
|
+
# constructed with.
|
|
6286
|
+
# @param ssh_key_id [String]
|
|
6287
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6288
|
+
# @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
|
|
6289
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6290
|
+
def delete(ssh_key_id:, org_id: nil, request_options: nil)
|
|
6291
|
+
@transport.request(
|
|
6292
|
+
http_method: "DELETE",
|
|
6293
|
+
path: "/api/org/{orgId}/ci/access/ssh-keys/{sshKeyId}",
|
|
6294
|
+
path_params: { "orgId" => org_id, "sshKeyId" => ssh_key_id },
|
|
6295
|
+
request_options: request_options
|
|
6296
|
+
)
|
|
6297
|
+
end
|
|
6298
|
+
|
|
6299
|
+
# Lend one of your SSH keys to CI jobs, or stop
|
|
6300
|
+
#
|
|
6301
|
+
# Only the key's owner can, and only for a key whose private half
|
|
6302
|
+
# Infrawrench holds. Jobs name it in `ssh-keys:`.
|
|
6303
|
+
#
|
|
6304
|
+
# _Requires permission: `ssh-keys:write`._
|
|
6305
|
+
#
|
|
6306
|
+
# PUT /api/org/{orgId}/ci/access/ssh-keys/{sshKeyId}
|
|
6307
|
+
#
|
|
6308
|
+
# Raises on 400: Bad request
|
|
6309
|
+
#
|
|
6310
|
+
# Raises on 404: Not found
|
|
6311
|
+
#
|
|
6312
|
+
# Raises on 409: Conflict
|
|
6313
|
+
#
|
|
6314
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6315
|
+
# constructed with.
|
|
6316
|
+
# @param ssh_key_id [String]
|
|
6317
|
+
# @param body [Hash] Request body, shaped as `Hash`.
|
|
6318
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6319
|
+
# @return [Hash] Parsed JSON, shaped as `Hash` — see `sig/infrawrench/sdk.rbs`.
|
|
6320
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6321
|
+
def update(ssh_key_id:, body:, org_id: nil, request_options: nil)
|
|
6322
|
+
@transport.request(
|
|
6323
|
+
http_method: "PUT",
|
|
6324
|
+
path: "/api/org/{orgId}/ci/access/ssh-keys/{sshKeyId}",
|
|
6325
|
+
path_params: { "orgId" => org_id, "sshKeyId" => ssh_key_id },
|
|
6326
|
+
body: body,
|
|
6327
|
+
request_options: request_options
|
|
6328
|
+
)
|
|
6329
|
+
end
|
|
6330
|
+
end
|
|
6331
|
+
|
|
6332
|
+
# `client.ci.access`
|
|
6333
|
+
class CiAccessNamespace
|
|
6334
|
+
# @return [CiAccessConnectionsNamespace] `client.ci.access.connections`
|
|
6335
|
+
attr_reader :connections
|
|
6336
|
+
# @return [CiAccessGrantsNamespace] `client.ci.access.grants`
|
|
6337
|
+
attr_reader :grants
|
|
6338
|
+
# @return [CiAccessSshKeysNamespace] `client.ci.access.ssh_keys`
|
|
6339
|
+
attr_reader :ssh_keys
|
|
6340
|
+
|
|
6341
|
+
# @api private
|
|
6342
|
+
# @param transport [Transport]
|
|
6343
|
+
def initialize(transport)
|
|
6344
|
+
@transport = transport
|
|
6345
|
+
@connections = CiAccessConnectionsNamespace.new(@transport)
|
|
6346
|
+
@grants = CiAccessGrantsNamespace.new(@transport)
|
|
6347
|
+
@ssh_keys = CiAccessSshKeysNamespace.new(@transport)
|
|
6348
|
+
end
|
|
6349
|
+
|
|
6350
|
+
# What CI jobs may use: connections, resources and SSH keys
|
|
6351
|
+
#
|
|
6352
|
+
# Every connection whose provider can run CI jobs or lend its credentials,
|
|
6353
|
+
# with what it is allowed; the resources granted to CI; and the SSH keys
|
|
6354
|
+
# their owners lend. Nothing secret.
|
|
6355
|
+
#
|
|
6356
|
+
# _Requires permission: `ci:read`._
|
|
6357
|
+
#
|
|
6358
|
+
# GET /api/org/{orgId}/ci/access
|
|
6359
|
+
#
|
|
6360
|
+
# Raises on 404: Not found
|
|
6361
|
+
#
|
|
6362
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6363
|
+
# constructed with.
|
|
6364
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6365
|
+
# @return [Hash] Parsed JSON, shaped as `CiAccessOverview` — see `sig/infrawrench/sdk.rbs`.
|
|
6366
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6367
|
+
def get(org_id: nil, request_options: nil)
|
|
6368
|
+
@transport.request(
|
|
6369
|
+
http_method: "GET",
|
|
6370
|
+
path: "/api/org/{orgId}/ci/access",
|
|
6371
|
+
path_params: { "orgId" => org_id },
|
|
6372
|
+
request_options: request_options
|
|
6373
|
+
)
|
|
6374
|
+
end
|
|
6375
|
+
|
|
6376
|
+
# What a resource can be granted to CI
|
|
6377
|
+
#
|
|
6378
|
+
# _Requires permission: `ci-access:write`._
|
|
6379
|
+
#
|
|
6380
|
+
# GET /api/org/{orgId}/ci/access/resource-outputs
|
|
6381
|
+
#
|
|
6382
|
+
# Raises on 400: Bad request
|
|
6383
|
+
#
|
|
6384
|
+
# Raises on 404: Not found
|
|
6385
|
+
#
|
|
6386
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
6387
|
+
# constructed with.
|
|
6388
|
+
# @param resource_id [String] The resource's id.
|
|
6389
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
6390
|
+
# @return [Hash] Parsed JSON, shaped as `CiResourceOutputs` — see `sig/infrawrench/sdk.rbs`.
|
|
6391
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
6392
|
+
def resource_outputs(resource_id:, org_id: nil, request_options: nil)
|
|
6393
|
+
@transport.request(
|
|
6394
|
+
http_method: "GET",
|
|
6395
|
+
path: "/api/org/{orgId}/ci/access/resource-outputs",
|
|
6396
|
+
path_params: { "orgId" => org_id },
|
|
6397
|
+
query: { "resourceId" => resource_id },
|
|
6398
|
+
request_options: request_options
|
|
6399
|
+
)
|
|
6400
|
+
end
|
|
6401
|
+
end
|
|
6402
|
+
|
|
6095
6403
|
# `client.ci.accounts`
|
|
6096
6404
|
class CiAccountsNamespace
|
|
6097
6405
|
# @api private
|
|
@@ -6503,6 +6811,8 @@ module Infrawrench
|
|
|
6503
6811
|
|
|
6504
6812
|
# `client.ci`
|
|
6505
6813
|
class CiNamespace
|
|
6814
|
+
# @return [CiAccessNamespace] `client.ci.access`
|
|
6815
|
+
attr_reader :access
|
|
6506
6816
|
# @return [CiAccountsNamespace] `client.ci.accounts`
|
|
6507
6817
|
attr_reader :accounts
|
|
6508
6818
|
# @return [CiCachesNamespace] `client.ci.caches`
|
|
@@ -6516,6 +6826,7 @@ module Infrawrench
|
|
|
6516
6826
|
# @param transport [Transport]
|
|
6517
6827
|
def initialize(transport)
|
|
6518
6828
|
@transport = transport
|
|
6829
|
+
@access = CiAccessNamespace.new(@transport)
|
|
6519
6830
|
@accounts = CiAccountsNamespace.new(@transport)
|
|
6520
6831
|
@caches = CiCachesNamespace.new(@transport)
|
|
6521
6832
|
@runs = CiRunsNamespace.new(@transport)
|
|
@@ -6542,6 +6853,34 @@ module Infrawrench
|
|
|
6542
6853
|
)
|
|
6543
6854
|
end
|
|
6544
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
|
+
|
|
6545
6884
|
# CI usage in a month: runs, compute and storage (caches and downloads)
|
|
6546
6885
|
#
|
|
6547
6886
|
# _Requires permission: `ci:read`._
|
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.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.
|
|
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.
|
|
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.
|
|
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
|
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.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.
|
|
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.
|
|
18
|
+
VERSION = "1.108.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.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.
|
|
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
|
data/sig/infrawrench/sdk.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# infrawrench-sdk v1.
|
|
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.
|
|
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
|
|
@@ -2287,6 +2287,14 @@ module Infrawrench
|
|
|
2287
2287
|
?"fields" => Array[json_object]
|
|
2288
2288
|
}
|
|
2289
2289
|
|
|
2290
|
+
# Spec schema: `CiAccessOverview`.
|
|
2291
|
+
type ci_access_overview = {
|
|
2292
|
+
"viewerUserId" => String | nil,
|
|
2293
|
+
"connections" => Array[ci_connection_access],
|
|
2294
|
+
"grants" => Array[ci_resource_grant],
|
|
2295
|
+
"sshKeys" => Array[ci_ssh_key_lending]
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2290
2298
|
# Spec schema: `CiAccount`.
|
|
2291
2299
|
type ci_account = {
|
|
2292
2300
|
"installationId" => Integer,
|
|
@@ -2316,6 +2324,64 @@ module Infrawrench
|
|
|
2316
2324
|
# Spec schema: `CiCaches`.
|
|
2317
2325
|
type ci_caches = { "accounts" => Array[ci_account_caches] }
|
|
2318
2326
|
|
|
2327
|
+
# Spec schema: `CiCloudJob`.
|
|
2328
|
+
type ci_cloud_job = {
|
|
2329
|
+
"jobId" => String,
|
|
2330
|
+
"jobName" => String,
|
|
2331
|
+
"pipeline" => String,
|
|
2332
|
+
"accountId" => String | nil,
|
|
2333
|
+
"accountName" => String | nil,
|
|
2334
|
+
"pluginId" => String,
|
|
2335
|
+
"kind" => String,
|
|
2336
|
+
"machine" => String | nil,
|
|
2337
|
+
"region" => String | nil,
|
|
2338
|
+
"state" => "claiming" | "starting" | "running" | "tearing_down" | "done",
|
|
2339
|
+
"outcome" => String | nil,
|
|
2340
|
+
"reason" => String | nil,
|
|
2341
|
+
"label" => String | nil,
|
|
2342
|
+
"claimedAt" => String,
|
|
2343
|
+
"finishedAt" => String | nil
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
# Spec schema: `CiConnectionAccess`.
|
|
2347
|
+
type ci_connection_access = {
|
|
2348
|
+
"accountId" => String,
|
|
2349
|
+
"accountName" => String,
|
|
2350
|
+
"pluginId" => String,
|
|
2351
|
+
"pluginName" => String,
|
|
2352
|
+
"executor" => {
|
|
2353
|
+
"kinds" => Array[{
|
|
2354
|
+
"kind" => "vm" | "container" | "build" | "host" | "cluster",
|
|
2355
|
+
"label" => String,
|
|
2356
|
+
"defaults" => { ?"machine" => String, ?"image" => String, ?"region" => String },
|
|
2357
|
+
?"typicalStartSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN",
|
|
2358
|
+
?"minimumBillingSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN",
|
|
2359
|
+
?"gpus" => bool,
|
|
2360
|
+
?"machineSuggestions" => Array[String],
|
|
2361
|
+
?"regionLabel" => String
|
|
2362
|
+
}],
|
|
2363
|
+
"helpLink" => { "label" => String, "url" => String } | nil
|
|
2364
|
+
}
|
|
2365
|
+
| nil,
|
|
2366
|
+
"credential" => { "description" => String, "shortLived" => bool, "namespaces" => bool } | nil,
|
|
2367
|
+
"settings" => ci_connection_access_settings,
|
|
2368
|
+
"preflight" => Hash[String, ci_preflight_record],
|
|
2369
|
+
"updatedAt" => String | nil
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
# Spec schema: `CiConnectionAccessSettings`.
|
|
2373
|
+
type ci_connection_access_settings = {
|
|
2374
|
+
"jobsEnabled" => bool,
|
|
2375
|
+
"jobKinds" => Array["vm" | "container" | "build" | "host" | "cluster"],
|
|
2376
|
+
"maxConcurrentJobs" => Integer,
|
|
2377
|
+
"maxJobMinutes" => Integer,
|
|
2378
|
+
"jobRepos" => Array[String] | nil,
|
|
2379
|
+
"jobBranchPattern" => String | nil,
|
|
2380
|
+
"lendEnabled" => bool,
|
|
2381
|
+
"lendRepos" => Array[String] | nil,
|
|
2382
|
+
"lendBranchPattern" => String | nil
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2319
2385
|
# Spec schema: `CiDownload`.
|
|
2320
2386
|
type ci_download = {
|
|
2321
2387
|
"path" => String,
|
|
@@ -2329,6 +2395,28 @@ module Infrawrench
|
|
|
2329
2395
|
# Spec schema: `CiDownloadLink`.
|
|
2330
2396
|
type ci_download_link = { "url" => String, "expiresAt" => String }
|
|
2331
2397
|
|
|
2398
|
+
# What the job was lent, by name only: connections, SSH keys, resources and
|
|
2399
|
+
# `env-from:` grants.
|
|
2400
|
+
#
|
|
2401
|
+
# Spec schema: `CiJobAccessNames`.
|
|
2402
|
+
type ci_job_access_names = {
|
|
2403
|
+
?"connections" => Array[String],
|
|
2404
|
+
?"sshKeys" => Array[String],
|
|
2405
|
+
?"resources" => Array[String],
|
|
2406
|
+
?"envFrom" => Array[String]
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
# A cloud job's `cloud:` block and what ran it.
|
|
2410
|
+
#
|
|
2411
|
+
# Spec schema: `CiJobCloud`.
|
|
2412
|
+
type ci_job_cloud = {
|
|
2413
|
+
"provider" => String,
|
|
2414
|
+
"kind" => String,
|
|
2415
|
+
?"machine" => String,
|
|
2416
|
+
?"region" => String,
|
|
2417
|
+
?"executor" => String
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2332
2420
|
# Spec schema: `CiJobOutput`.
|
|
2333
2421
|
type ci_job_output = {
|
|
2334
2422
|
"pipeline" => String,
|
|
@@ -2338,6 +2426,8 @@ module Infrawrench
|
|
|
2338
2426
|
"reason" => String | nil,
|
|
2339
2427
|
"durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2340
2428
|
?"needs" => Array[String],
|
|
2429
|
+
?"access" => ci_job_access_names,
|
|
2430
|
+
?"cloud" => ci_job_cloud,
|
|
2341
2431
|
"stdout" => String,
|
|
2342
2432
|
"stderr" => String,
|
|
2343
2433
|
?"downloads" => Array[ci_download]
|
|
@@ -2351,7 +2441,18 @@ module Infrawrench
|
|
|
2351
2441
|
"status" => "passed" | "failed" | "skipped" | "error" | "cancelled",
|
|
2352
2442
|
"reason" => String | nil,
|
|
2353
2443
|
"durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
|
|
2354
|
-
?"needs" => Array[String]
|
|
2444
|
+
?"needs" => Array[String],
|
|
2445
|
+
?"access" => ci_job_access_names,
|
|
2446
|
+
?"cloud" => ci_job_cloud
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
# Spec schema: `CiPreflightRecord`.
|
|
2450
|
+
type ci_preflight_record = {
|
|
2451
|
+
"ok" => bool,
|
|
2452
|
+
"missing" => Array[{ "permission" => String, "label" => String }],
|
|
2453
|
+
"problems" => Array[String],
|
|
2454
|
+
?"region" => String,
|
|
2455
|
+
"checkedAt" => String
|
|
2355
2456
|
}
|
|
2356
2457
|
|
|
2357
2458
|
# Spec schema: `CiRepoCache`.
|
|
@@ -2361,11 +2462,55 @@ module Infrawrench
|
|
|
2361
2462
|
"entries" => Integer
|
|
2362
2463
|
}
|
|
2363
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
|
+
|
|
2476
|
+
# Spec schema: `CiResourceGrant`.
|
|
2477
|
+
type ci_resource_grant = {
|
|
2478
|
+
"id" => String,
|
|
2479
|
+
"accountId" => String,
|
|
2480
|
+
"accountName" => String,
|
|
2481
|
+
"pluginId" => String,
|
|
2482
|
+
"resourceId" => String,
|
|
2483
|
+
"resourceTypeId" => String,
|
|
2484
|
+
"resourceName" => String,
|
|
2485
|
+
"ciName" => String,
|
|
2486
|
+
"outputs" => Array[String],
|
|
2487
|
+
"secretVersion" => String | nil,
|
|
2488
|
+
"repos" => Array[String] | nil,
|
|
2489
|
+
"branchPattern" => String | nil,
|
|
2490
|
+
"createdAt" => String
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
# Spec schema: `CiResourceGrantInput`.
|
|
2494
|
+
type ci_resource_grant_input = {
|
|
2495
|
+
"resourceId" => String,
|
|
2496
|
+
"ciName" => String,
|
|
2497
|
+
"outputs" => Array[String],
|
|
2498
|
+
"secretVersion" => String | nil,
|
|
2499
|
+
"repos" => Array[String] | nil,
|
|
2500
|
+
"branchPattern" => String | nil
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
# Spec schema: `CiResourceOutputs`.
|
|
2504
|
+
type ci_resource_outputs = {
|
|
2505
|
+
"outputs" => Array[{ "key" => String, "label" => String, "sensitive" => bool }],
|
|
2506
|
+
"secretVersions" => Array[{ "id" => String, "state" => String, "createdAt" => String | nil }] | nil
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2364
2509
|
# Spec schema: `CiRun`.
|
|
2365
2510
|
type ci_run = {
|
|
2366
2511
|
"id" => String,
|
|
2367
2512
|
"repoFullName" => String,
|
|
2368
|
-
"event" => "push" | "pull-request",
|
|
2513
|
+
"event" => "push" | "pull-request" | "schedule",
|
|
2369
2514
|
"headRef" => String,
|
|
2370
2515
|
"sha" => String,
|
|
2371
2516
|
"pullNumber" => Integer | nil,
|
|
@@ -2384,12 +2529,13 @@ module Infrawrench
|
|
|
2384
2529
|
?"retryOfRunId" => String | nil,
|
|
2385
2530
|
?"retriedAsRunId" => String | nil,
|
|
2386
2531
|
?"noTaskCache" => bool,
|
|
2532
|
+
?"pipelineFile" => String,
|
|
2387
2533
|
?"concurrencyGroups" => Array[String],
|
|
2388
2534
|
?"cancelRequested" => bool
|
|
2389
2535
|
}
|
|
2390
2536
|
|
|
2391
2537
|
# Spec schema: `CiRunDetail`.
|
|
2392
|
-
type ci_run_detail = { "run" => ci_run, "jobs" => Array[ci_job_output] | nil }
|
|
2538
|
+
type ci_run_detail = { "run" => ci_run, "jobs" => Array[ci_job_output] | nil, ?"cloudJobs" => Array[ci_cloud_job] }
|
|
2393
2539
|
|
|
2394
2540
|
# Spec schema: `CiRunStatus`.
|
|
2395
2541
|
type ci_run_status = "awaiting_approval"
|
|
@@ -2402,9 +2548,28 @@ module Infrawrench
|
|
|
2402
2548
|
| "rejected"
|
|
2403
2549
|
| "cancelled"
|
|
2404
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
|
+
|
|
2405
2557
|
# Spec schema: `CiSecret`.
|
|
2406
2558
|
type ci_secret = { "name" => String, "updatedAt" => String }
|
|
2407
2559
|
|
|
2560
|
+
# Spec schema: `CiSshKeyLending`.
|
|
2561
|
+
type ci_ssh_key_lending = {
|
|
2562
|
+
"sshKeyId" => String,
|
|
2563
|
+
"keyName" => String,
|
|
2564
|
+
"ownerUserId" => String,
|
|
2565
|
+
"ownerName" => String | nil,
|
|
2566
|
+
"ciName" => String,
|
|
2567
|
+
"repos" => Array[String] | nil,
|
|
2568
|
+
"branchPattern" => String | nil,
|
|
2569
|
+
"mine" => bool,
|
|
2570
|
+
"createdAt" => String
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2408
2573
|
# Spec schema: `CiStatus`.
|
|
2409
2574
|
type ci_status = {
|
|
2410
2575
|
"enabled" => bool,
|
|
@@ -10036,6 +10201,7 @@ module Infrawrench
|
|
|
10036
10201
|
| "ci:read"
|
|
10037
10202
|
| "ci:write"
|
|
10038
10203
|
| "ci:approve"
|
|
10204
|
+
| "ci-access:write"
|
|
10039
10205
|
| "incidents:read"
|
|
10040
10206
|
| "incidents:write"
|
|
10041
10207
|
| "tag-policy:override"
|
|
@@ -15978,6 +16144,34 @@ module Infrawrench
|
|
|
15978
16144
|
def spend: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> chat_spend_status
|
|
15979
16145
|
end
|
|
15980
16146
|
|
|
16147
|
+
class CiAccessConnectionsNamespace
|
|
16148
|
+
def initialize: (Transport) -> void
|
|
16149
|
+
def preflight: (account_id: String, body: { "kind" => "vm" | "container" | "build" | "host" | "cluster", ?"region" => String }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_connection_access
|
|
16150
|
+
def update: (account_id: String, body: ci_connection_access_settings, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_connection_access
|
|
16151
|
+
end
|
|
16152
|
+
|
|
16153
|
+
class CiAccessGrantsNamespace
|
|
16154
|
+
def initialize: (Transport) -> void
|
|
16155
|
+
def create: (body: ci_resource_grant_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_resource_grant
|
|
16156
|
+
def delete: (grant_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
16157
|
+
def update: (grant_id: String, body: ci_resource_grant_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_resource_grant
|
|
16158
|
+
end
|
|
16159
|
+
|
|
16160
|
+
class CiAccessSshKeysNamespace
|
|
16161
|
+
def initialize: (Transport) -> void
|
|
16162
|
+
def delete: (ssh_key_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
16163
|
+
def update: (ssh_key_id: String, body: { "enabled" => bool, "ciName" => String, "repos" => Array[String] | nil, "branchPattern" => String | nil }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "lending" => ci_ssh_key_lending | nil }
|
|
16164
|
+
end
|
|
16165
|
+
|
|
16166
|
+
class CiAccessNamespace
|
|
16167
|
+
attr_reader connections: CiAccessConnectionsNamespace
|
|
16168
|
+
attr_reader grants: CiAccessGrantsNamespace
|
|
16169
|
+
attr_reader ssh_keys: CiAccessSshKeysNamespace
|
|
16170
|
+
def initialize: (Transport) -> void
|
|
16171
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_access_overview
|
|
16172
|
+
def resource_outputs: (resource_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_resource_outputs
|
|
16173
|
+
end
|
|
16174
|
+
|
|
15981
16175
|
class CiAccountsNamespace
|
|
15982
16176
|
def initialize: (Transport) -> void
|
|
15983
16177
|
def update: (installation_id: String, body: { "enabled" => bool }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_account
|
|
@@ -16008,12 +16202,14 @@ module Infrawrench
|
|
|
16008
16202
|
end
|
|
16009
16203
|
|
|
16010
16204
|
class CiNamespace
|
|
16205
|
+
attr_reader access: CiAccessNamespace
|
|
16011
16206
|
attr_reader accounts: CiAccountsNamespace
|
|
16012
16207
|
attr_reader caches: CiCachesNamespace
|
|
16013
16208
|
attr_reader runs: CiRunsNamespace
|
|
16014
16209
|
attr_reader values: CiValuesNamespace
|
|
16015
16210
|
def initialize: (Transport) -> void
|
|
16016
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
|
|
16017
16213
|
def usage: (?org_id: String?, ?month: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_usage
|
|
16018
16214
|
end
|
|
16019
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.
|
|
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.
|
|
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.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v1.108.0).
|
|
62
62
|
test_files: []
|