infrawrench-sdk 1.99.0 → 1.101.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: dd768d3d2fed0ec1e5433f1b322c19d8bd53a84923298d549dbc2abed57887b4
4
- data.tar.gz: feb82dbe4629a04f9b3f94be92b9ec0e1337212013208d3c55aac6f18126c9c4
3
+ metadata.gz: 3fe1fbb7095ab502ce0e2b8e20a4172b4b310c76793c76950d7112ccb415594b
4
+ data.tar.gz: 24472b615e42cdbb29382db45c01929db698114eabc5abb28950c1897742de06
5
5
  SHA512:
6
- metadata.gz: e496a4dff9e84a8e65b0e8dfbd932963d6201389a9335f583384c59aecb2e41e2c0b46d75ecb77669e509e29081544afea7cfda10304fad78a5766458f28989d
7
- data.tar.gz: ec538a7083a26dbee2eb48869a273c4c5b5ba893fd2ddc81d9ecea90f5b80e98c9942d0891570945056a720435dce924688aed637e197c900966242d6a4c1fcd
6
+ metadata.gz: 46cb0bd520a101f2053de8beb45b7de83ccb4529be347a0368d4543ca44a6adb8982c0bffc7313eab7b12f4ecd16c88f257987724d2a717b120a337f9883f675
7
+ data.tar.gz: 8b2941a71625f84c291b0d7095c66a327f910b19efb7468556dec9884a346b00caffeda08dd95aa2ad5d45ed547b7614a2b8d354db29ed5a02339a232200533d
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.99.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.101.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
- 1316 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 1329 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.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.101.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.99.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.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.99.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v1.99.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.101.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.101.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.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.101.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.99.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -6084,6 +6084,323 @@ module Infrawrench
6084
6084
  end
6085
6085
  end
6086
6086
 
6087
+ # `client.ci.accounts`
6088
+ class CiAccountsNamespace
6089
+ # @api private
6090
+ # @param transport [Transport]
6091
+ def initialize(transport)
6092
+ @transport = transport
6093
+ end
6094
+
6095
+ # Run CI, or stop running it, for a connected GitHub account
6096
+ #
6097
+ # _Requires permission: `ci:write`._
6098
+ #
6099
+ # PUT /api/org/{orgId}/ci/accounts/{installationId}
6100
+ #
6101
+ # Raises on 400: Bad request
6102
+ #
6103
+ # Raises on 404: Not found
6104
+ #
6105
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6106
+ # constructed with.
6107
+ # @param installation_id [String]
6108
+ # @param body [Hash] Request body, shaped as `Hash`.
6109
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6110
+ # @return [Hash] Parsed JSON, shaped as `CiAccount` — see `sig/infrawrench/sdk.rbs`.
6111
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6112
+ def update(installation_id:, body:, org_id: nil, request_options: nil)
6113
+ @transport.request(
6114
+ http_method: "PUT",
6115
+ path: "/api/org/{orgId}/ci/accounts/{installationId}",
6116
+ path_params: { "orgId" => org_id, "installationId" => installation_id },
6117
+ body: body,
6118
+ request_options: request_options
6119
+ )
6120
+ end
6121
+ end
6122
+
6123
+ # `client.ci.runs`
6124
+ class CiRunsNamespace
6125
+ # @api private
6126
+ # @param transport [Transport]
6127
+ def initialize(transport)
6128
+ @transport = transport
6129
+ end
6130
+
6131
+ # Approve a fork's pull request commit
6132
+ #
6133
+ # Runs CI for this one commit of a pull request from a fork, without the
6134
+ # organization's or repository's secrets. A later commit needs approving
6135
+ # again.
6136
+ #
6137
+ # _Requires permission: `ci:approve`._
6138
+ #
6139
+ # POST /api/org/{orgId}/ci/runs/{runId}/approve
6140
+ #
6141
+ # Raises on 404: Not found
6142
+ #
6143
+ # Raises on 409: Conflict
6144
+ #
6145
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6146
+ # constructed with.
6147
+ # @param run_id [String]
6148
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6149
+ # @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
6150
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6151
+ def approve(run_id:, org_id: nil, request_options: nil)
6152
+ @transport.request(
6153
+ http_method: "POST",
6154
+ path: "/api/org/{orgId}/ci/runs/{runId}/approve",
6155
+ path_params: { "orgId" => org_id, "runId" => run_id },
6156
+ request_options: request_options
6157
+ )
6158
+ end
6159
+
6160
+ # List CI runs, newest first
6161
+ #
6162
+ # _Requires permission: `ci:read`._
6163
+ #
6164
+ # GET /api/org/{orgId}/ci/runs
6165
+ #
6166
+ # Raises on 404: Not found
6167
+ #
6168
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6169
+ # constructed with.
6170
+ # @param status [String, nil]
6171
+ # @param limit [Integer, nil]
6172
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6173
+ # @return [Hash] Parsed JSON, shaped as `Hash` — see `sig/infrawrench/sdk.rbs`.
6174
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6175
+ def get(org_id: nil, status: nil, limit: nil, request_options: nil)
6176
+ @transport.request(
6177
+ http_method: "GET",
6178
+ path: "/api/org/{orgId}/ci/runs",
6179
+ path_params: { "orgId" => org_id },
6180
+ query: { "status" => status, "limit" => limit },
6181
+ request_options: request_options
6182
+ )
6183
+ end
6184
+
6185
+ # A CI run, with each job's output once it has finished
6186
+ #
6187
+ # _Requires permission: `ci:read`._
6188
+ #
6189
+ # GET /api/org/{orgId}/ci/runs/{runId}
6190
+ #
6191
+ # Raises on 404: Not found
6192
+ #
6193
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6194
+ # constructed with.
6195
+ # @param run_id [String]
6196
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6197
+ # @return [Hash] Parsed JSON, shaped as `CiRunDetail` — see `sig/infrawrench/sdk.rbs`.
6198
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6199
+ def get_org_org_id_ci_runs_run_id(run_id:, org_id: nil, request_options: nil)
6200
+ @transport.request(
6201
+ http_method: "GET",
6202
+ path: "/api/org/{orgId}/ci/runs/{runId}",
6203
+ path_params: { "orgId" => org_id, "runId" => run_id },
6204
+ request_options: request_options
6205
+ )
6206
+ end
6207
+
6208
+ # Decline to run a fork's pull request commit
6209
+ #
6210
+ # _Requires permission: `ci:approve`._
6211
+ #
6212
+ # POST /api/org/{orgId}/ci/runs/{runId}/reject
6213
+ #
6214
+ # Raises on 404: Not found
6215
+ #
6216
+ # Raises on 409: Conflict
6217
+ #
6218
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6219
+ # constructed with.
6220
+ # @param run_id [String]
6221
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6222
+ # @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
6223
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6224
+ def reject(run_id:, org_id: nil, request_options: nil)
6225
+ @transport.request(
6226
+ http_method: "POST",
6227
+ path: "/api/org/{orgId}/ci/runs/{runId}/reject",
6228
+ path_params: { "orgId" => org_id, "runId" => run_id },
6229
+ request_options: request_options
6230
+ )
6231
+ end
6232
+ end
6233
+
6234
+ # `client.ci.values`
6235
+ class CiValuesNamespace
6236
+ # @api private
6237
+ # @param transport [Transport]
6238
+ def initialize(transport)
6239
+ @transport = transport
6240
+ end
6241
+
6242
+ # Remove a CI secret or variable
6243
+ #
6244
+ # _Requires permission: `ci:write`._
6245
+ #
6246
+ # DELETE /api/org/{orgId}/ci/values/{kind}/{name}
6247
+ #
6248
+ # Raises on 400: Bad request
6249
+ #
6250
+ # Raises on 404: Not found
6251
+ #
6252
+ # Raises on 409: Conflict
6253
+ #
6254
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6255
+ # constructed with.
6256
+ # @param kind [String]
6257
+ # @param name [String]
6258
+ # @param installation_id [Integer] The GitHub App installation of an account that runs CI.
6259
+ # @param repo [String, nil] A repository's name, for its own values. Omitted: the whole
6260
+ # account's.
6261
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6262
+ # @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
6263
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6264
+ def delete(kind:, name:, installation_id:, org_id: nil, repo: nil, request_options: nil)
6265
+ @transport.request(
6266
+ http_method: "DELETE",
6267
+ path: "/api/org/{orgId}/ci/values/{kind}/{name}",
6268
+ path_params: { "orgId" => org_id, "kind" => kind, "name" => name },
6269
+ query: { "installationId" => installation_id, "repo" => repo },
6270
+ request_options: request_options
6271
+ )
6272
+ end
6273
+
6274
+ # List an account's or a repository's CI secrets and variables
6275
+ #
6276
+ # A repository's own value overrides the account's of the same name.
6277
+ # Pipelines read them as `${{ secrets.NAME }}` and `${{ vars.NAME }}`; a
6278
+ # fork's pull request gets variables but never secrets.
6279
+ #
6280
+ # _Requires permission: `ci:write`._
6281
+ #
6282
+ # GET /api/org/{orgId}/ci/values
6283
+ #
6284
+ # Raises on 400: Bad request
6285
+ #
6286
+ # Raises on 404: Not found
6287
+ #
6288
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6289
+ # constructed with.
6290
+ # @param installation_id [Integer] The GitHub App installation of an account that runs CI.
6291
+ # @param repo [String, nil] A repository's name, for its own values. Omitted: the whole
6292
+ # account's.
6293
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6294
+ # @return [Hash] Parsed JSON, shaped as `CiValues` — see `sig/infrawrench/sdk.rbs`.
6295
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6296
+ def get(installation_id:, org_id: nil, repo: nil, request_options: nil)
6297
+ @transport.request(
6298
+ http_method: "GET",
6299
+ path: "/api/org/{orgId}/ci/values",
6300
+ path_params: { "orgId" => org_id },
6301
+ query: { "installationId" => installation_id, "repo" => repo },
6302
+ request_options: request_options
6303
+ )
6304
+ end
6305
+
6306
+ # Set a CI secret or variable
6307
+ #
6308
+ # _Requires permission: `ci:write`._
6309
+ #
6310
+ # PUT /api/org/{orgId}/ci/values/{kind}/{name}
6311
+ #
6312
+ # Raises on 400: Bad request
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 kind [String]
6321
+ # @param name [String]
6322
+ # @param installation_id [Integer] The GitHub App installation of an account that runs CI.
6323
+ # @param repo [String, nil] A repository's name, for its own values. Omitted: the whole
6324
+ # account's.
6325
+ # @param body [Hash] Request body, shaped as `Hash`.
6326
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6327
+ # @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
6328
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6329
+ def update(kind:, name:, installation_id:, body:, org_id: nil, repo: nil, request_options: nil)
6330
+ @transport.request(
6331
+ http_method: "PUT",
6332
+ path: "/api/org/{orgId}/ci/values/{kind}/{name}",
6333
+ path_params: { "orgId" => org_id, "kind" => kind, "name" => name },
6334
+ query: { "installationId" => installation_id, "repo" => repo },
6335
+ body: body,
6336
+ request_options: request_options
6337
+ )
6338
+ end
6339
+ end
6340
+
6341
+ # `client.ci`
6342
+ class CiNamespace
6343
+ # @return [CiAccountsNamespace] `client.ci.accounts`
6344
+ attr_reader :accounts
6345
+ # @return [CiRunsNamespace] `client.ci.runs`
6346
+ attr_reader :runs
6347
+ # @return [CiValuesNamespace] `client.ci.values`
6348
+ attr_reader :values
6349
+
6350
+ # @api private
6351
+ # @param transport [Transport]
6352
+ def initialize(transport)
6353
+ @transport = transport
6354
+ @accounts = CiAccountsNamespace.new(@transport)
6355
+ @runs = CiRunsNamespace.new(@transport)
6356
+ @values = CiValuesNamespace.new(@transport)
6357
+ end
6358
+
6359
+ # CI status and the GitHub accounts that run it
6360
+ #
6361
+ # _Requires permission: `ci:read`._
6362
+ #
6363
+ # GET /api/org/{orgId}/ci
6364
+ #
6365
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6366
+ # constructed with.
6367
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6368
+ # @return [Hash] Parsed JSON, shaped as `CiStatus` — see `sig/infrawrench/sdk.rbs`.
6369
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6370
+ def get(org_id: nil, request_options: nil)
6371
+ @transport.request(
6372
+ http_method: "GET",
6373
+ path: "/api/org/{orgId}/ci",
6374
+ path_params: { "orgId" => org_id },
6375
+ request_options: request_options
6376
+ )
6377
+ end
6378
+
6379
+ # CI usage in a month: runs, compute and cache storage
6380
+ #
6381
+ # _Requires permission: `ci:read`._
6382
+ #
6383
+ # GET /api/org/{orgId}/ci/usage
6384
+ #
6385
+ # Raises on 404: Not found
6386
+ #
6387
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6388
+ # constructed with.
6389
+ # @param month [String, nil]
6390
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6391
+ # @return [Hash] Parsed JSON, shaped as `CiUsage` — see `sig/infrawrench/sdk.rbs`.
6392
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6393
+ def usage(org_id: nil, month: nil, request_options: nil)
6394
+ @transport.request(
6395
+ http_method: "GET",
6396
+ path: "/api/org/{orgId}/ci/usage",
6397
+ path_params: { "orgId" => org_id },
6398
+ query: { "month" => month },
6399
+ request_options: request_options
6400
+ )
6401
+ end
6402
+ end
6403
+
6087
6404
  # `client.commitments`
6088
6405
  class CommitmentsNamespace
6089
6406
  # @api private
@@ -14147,6 +14464,36 @@ module Infrawrench
14147
14464
  end
14148
14465
  end
14149
14466
 
14467
+ # `client.features`
14468
+ class FeaturesNamespace
14469
+ # @api private
14470
+ # @param transport [Transport]
14471
+ def initialize(transport)
14472
+ @transport = transport
14473
+ end
14474
+
14475
+ # List the organization's rolled-out features
14476
+ #
14477
+ # Features still being rolled out are turned on per organization by a
14478
+ # platform admin. A feature not listed here is refused by its own routes.
14479
+ #
14480
+ # GET /api/org/{orgId}/features
14481
+ #
14482
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14483
+ # constructed with.
14484
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14485
+ # @return [Hash] Parsed JSON, shaped as `OrgFeatureList` — see `sig/infrawrench/sdk.rbs`.
14486
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14487
+ def get(org_id: nil, request_options: nil)
14488
+ @transport.request(
14489
+ http_method: "GET",
14490
+ path: "/api/org/{orgId}/features",
14491
+ path_params: { "orgId" => org_id },
14492
+ request_options: request_options
14493
+ )
14494
+ end
14495
+ end
14496
+
14150
14497
  # `client.github.installations`
14151
14498
  class GithubInstallationsNamespace
14152
14499
  # @api private
@@ -29547,6 +29894,8 @@ module Infrawrench
29547
29894
  attr_reader :changes
29548
29895
  # @return [ChatNamespace] `client.chat`
29549
29896
  attr_reader :chat
29897
+ # @return [CiNamespace] `client.ci`
29898
+ attr_reader :ci
29550
29899
  # @return [CommitmentsNamespace] `client.commitments`
29551
29900
  attr_reader :commitments
29552
29901
  # @return [ComplianceNamespace] `client.compliance`
@@ -29615,6 +29964,8 @@ module Infrawrench
29615
29964
  attr_reader :expiring
29616
29965
  # @return [ExtendedSupportNamespace] `client.extended_support`
29617
29966
  attr_reader :extended_support
29967
+ # @return [FeaturesNamespace] `client.features`
29968
+ attr_reader :features
29618
29969
  # @return [GithubNamespace] `client.github`
29619
29970
  attr_reader :github
29620
29971
  # @return [GithubIssuesNamespace] `client.github_issues`
@@ -29802,6 +30153,7 @@ module Infrawrench
29802
30153
  @change_freezes = ChangeFreezesNamespace.new(@transport)
29803
30154
  @changes = ChangesNamespace.new(@transport)
29804
30155
  @chat = ChatNamespace.new(@transport)
30156
+ @ci = CiNamespace.new(@transport)
29805
30157
  @commitments = CommitmentsNamespace.new(@transport)
29806
30158
  @compliance = ComplianceNamespace.new(@transport)
29807
30159
  @config = ConfigNamespace.new(@transport)
@@ -29836,6 +30188,7 @@ module Infrawrench
29836
30188
  @event_subscriptions = EventSubscriptionsNamespace.new(@transport)
29837
30189
  @expiring = ExpiringNamespace.new(@transport)
29838
30190
  @extended_support = ExtendedSupportNamespace.new(@transport)
30191
+ @features = FeaturesNamespace.new(@transport)
29839
30192
  @github = GithubNamespace.new(@transport)
29840
30193
  @github_issues = GithubIssuesNamespace.new(@transport)
29841
30194
  @iac = IacNamespace.new(@transport)
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.101.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.99.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.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.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.101.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.99.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.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.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.101.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.99.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.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.99.0"
18
+ VERSION = "1.101.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
3
+ # infrawrench-sdk v1.101.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.99.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.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.99.0 | MIT | Copyright (c) 2026 Infrawrench Services, Inc.
1
+ # infrawrench-sdk v1.101.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.99.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.101.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -2285,6 +2285,99 @@ module Infrawrench
2285
2285
  ?"fields" => Array[json_object]
2286
2286
  }
2287
2287
 
2288
+ # Spec schema: `CiAccount`.
2289
+ type ci_account = {
2290
+ "installationId" => Integer,
2291
+ "accountLogin" => String,
2292
+ "accountType" => String | nil,
2293
+ "ciEnabled" => bool
2294
+ }
2295
+
2296
+ # Spec schema: `CiJobOutput`.
2297
+ type ci_job_output = {
2298
+ "pipeline" => String,
2299
+ "id" => String,
2300
+ "name" => String,
2301
+ "status" => "passed" | "failed" | "skipped" | "error",
2302
+ "reason" => String | nil,
2303
+ "durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
2304
+ ?"needs" => Array[String],
2305
+ "stdout" => String,
2306
+ "stderr" => String
2307
+ }
2308
+
2309
+ # Spec schema: `CiJobSummary`.
2310
+ type ci_job_summary = {
2311
+ "pipeline" => String,
2312
+ "id" => String,
2313
+ "name" => String,
2314
+ "status" => "passed" | "failed" | "skipped" | "error",
2315
+ "reason" => String | nil,
2316
+ "durationMs" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
2317
+ ?"needs" => Array[String]
2318
+ }
2319
+
2320
+ # Spec schema: `CiRun`.
2321
+ type ci_run = {
2322
+ "id" => String,
2323
+ "repoFullName" => String,
2324
+ "event" => "push" | "pull-request",
2325
+ "headRef" => String,
2326
+ "sha" => String,
2327
+ "pullNumber" => Integer | nil,
2328
+ "headRepoFullName" => String | nil,
2329
+ "fromFork" => bool,
2330
+ "actorLogin" => String | nil,
2331
+ "status" => ci_run_status,
2332
+ "statusReason" => String | nil,
2333
+ "createdAt" => String,
2334
+ "startedAt" => String | nil,
2335
+ "finishedAt" => String | nil,
2336
+ "jobs" => Array[ci_job_summary] | nil,
2337
+ "vcpuSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
2338
+ "memoryGibSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil,
2339
+ "githubUrl" => String
2340
+ }
2341
+
2342
+ # Spec schema: `CiRunDetail`.
2343
+ type ci_run_detail = { "run" => ci_run, "jobs" => Array[ci_job_output] | nil }
2344
+
2345
+ # Spec schema: `CiRunStatus`.
2346
+ type ci_run_status = "awaiting_approval" | "queued" | "running" | "passed" | "failed" | "error" | "rejected"
2347
+
2348
+ # Spec schema: `CiSecret`.
2349
+ type ci_secret = { "name" => String, "updatedAt" => String }
2350
+
2351
+ # Spec schema: `CiStatus`.
2352
+ type ci_status = {
2353
+ "enabled" => bool,
2354
+ "configured" => bool,
2355
+ "githubConfigured" => bool,
2356
+ "planIncludesCi" => bool,
2357
+ "accounts" => Array[ci_account]
2358
+ }
2359
+
2360
+ # Spec schema: `CiUsage`.
2361
+ type ci_usage = {
2362
+ "month" => String,
2363
+ "runs" => Integer,
2364
+ "vcpuSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN",
2365
+ "memoryGibSeconds" => Numeric | "Infinity" | "-Infinity" | "NaN",
2366
+ "storageGibHours" => Numeric | "Infinity" | "-Infinity" | "NaN",
2367
+ "storageBytes" => Numeric | "Infinity" | "-Infinity" | "NaN" | nil
2368
+ }
2369
+
2370
+ # Spec schema: `CiValues`.
2371
+ type ci_values = {
2372
+ "installationId" => Integer,
2373
+ "repo" => String | nil,
2374
+ "secrets" => Array[ci_secret],
2375
+ "variables" => Array[ci_variable]
2376
+ }
2377
+
2378
+ # Spec schema: `CiVariable`.
2379
+ type ci_variable = { "name" => String, "value" => String, "updatedAt" => String }
2380
+
2288
2381
  # Spec schema: `CommitmentCoverage`.
2289
2382
  type commitment_coverage = {
2290
2383
  "available" => bool,
@@ -9465,6 +9558,12 @@ module Infrawrench
9465
9558
  ?"metric" => "actual" | "forecast"
9466
9559
  }
9467
9560
 
9561
+ # Spec schema: `OrgFeatureList`.
9562
+ type org_feature_list = { "features" => Array[org_feature_name] }
9563
+
9564
+ # Spec schema: `OrgFeatureName`.
9565
+ type org_feature_name = "ci"
9566
+
9468
9567
  # Spec schema: `OrgMember`.
9469
9568
  type org_member = {
9470
9569
  "id" => String,
@@ -9859,6 +9958,9 @@ module Infrawrench
9859
9958
  | "freezes:read"
9860
9959
  | "freezes:write"
9861
9960
  | "freezes:override"
9961
+ | "ci:read"
9962
+ | "ci:write"
9963
+ | "ci:approve"
9862
9964
  | "incidents:read"
9863
9965
  | "incidents:write"
9864
9966
  | "tag-policy:override"
@@ -12168,7 +12270,6 @@ module Infrawrench
12168
12270
  | "parsing-rule-group"
12169
12271
  | "permission"
12170
12272
  | "perplexity-agent-model"
12171
- | "perplexity-async-request"
12172
12273
  | "perplexity-router-model"
12173
12274
  | "perplexity-skill"
12174
12275
  | "perplexity-sonar-model"
@@ -14537,6 +14638,7 @@ module Infrawrench
14537
14638
  | "slos"
14538
14639
  | "services"
14539
14640
  | "delivery"
14641
+ | "ci"
14540
14642
  | "workflows"
14541
14643
  | "deployments"
14542
14644
  | "settings"
@@ -14550,6 +14652,7 @@ module Infrawrench
14550
14652
  ?"invoiceId" => String,
14551
14653
  ?"canvasId" => String,
14552
14654
  ?"sloId" => String,
14655
+ ?"runId" => String,
14553
14656
  ?"serviceId" => String,
14554
14657
  ?"view" => "details" | "ssh" | "sftp" | "apps" | "scorecards",
14555
14658
  ?"framework" => String,
@@ -15773,6 +15876,35 @@ module Infrawrench
15773
15876
  def spend: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> chat_spend_status
15774
15877
  end
15775
15878
 
15879
+ class CiAccountsNamespace
15880
+ def initialize: (Transport) -> void
15881
+ def update: (installation_id: String, body: { "enabled" => bool }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_account
15882
+ end
15883
+
15884
+ class CiRunsNamespace
15885
+ def initialize: (Transport) -> void
15886
+ def approve: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
15887
+ def get: (?org_id: String?, ?status: ci_run_status?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> { "runs" => Array[ci_run] }
15888
+ def get_org_org_id_ci_runs_run_id: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_run_detail
15889
+ def reject: (run_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
15890
+ end
15891
+
15892
+ class CiValuesNamespace
15893
+ def initialize: (Transport) -> void
15894
+ def delete: (kind: "secrets" | "variables", name: String, installation_id: Integer, ?org_id: String?, ?repo: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
15895
+ def get: (installation_id: Integer, ?org_id: String?, ?repo: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_values
15896
+ def update: (kind: "secrets" | "variables", name: String, installation_id: Integer, body: { "value" => String }, ?org_id: String?, ?repo: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
15897
+ end
15898
+
15899
+ class CiNamespace
15900
+ attr_reader accounts: CiAccountsNamespace
15901
+ attr_reader runs: CiRunsNamespace
15902
+ attr_reader values: CiValuesNamespace
15903
+ def initialize: (Transport) -> void
15904
+ def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_status
15905
+ def usage: (?org_id: String?, ?month: String?, ?request_options: Hash[Symbol, untyped]?) -> ci_usage
15906
+ end
15907
+
15776
15908
  class CommitmentsNamespace
15777
15909
  def initialize: (Transport) -> void
15778
15910
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> commitments_feed
@@ -16337,6 +16469,11 @@ module Infrawrench
16337
16469
  def get: (?org_id: String?, ?refresh: "true" | "false"?, ?request_options: Hash[Symbol, untyped]?) -> extended_support_list_response
16338
16470
  end
16339
16471
 
16472
+ class FeaturesNamespace
16473
+ def initialize: (Transport) -> void
16474
+ def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> org_feature_list
16475
+ end
16476
+
16340
16477
  class GithubInstallationsNamespace
16341
16478
  def initialize: (Transport) -> void
16342
16479
  def delete: (installation_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
@@ -16345,7 +16482,7 @@ module Infrawrench
16345
16482
  class GithubNamespace
16346
16483
  attr_reader installations: GithubInstallationsNamespace
16347
16484
  def initialize: (Transport) -> void
16348
- def install_url: (?org_id: String?, ?return_param: "agents" | "workflows" | "settings/github-issues"?, ?request_options: Hash[Symbol, untyped]?) -> github_install_url
16485
+ def install_url: (?org_id: String?, ?return_param: "agents" | "workflows" | "settings/github-issues" | "settings/pr-checks" | "ci"?, ?request_options: Hash[Symbol, untyped]?) -> github_install_url
16349
16486
  def repos: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> github_app_repos
16350
16487
  def status: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> github_app_status
16351
16488
  end
@@ -17465,6 +17602,7 @@ module Infrawrench
17465
17602
  attr_reader change_freezes: ChangeFreezesNamespace
17466
17603
  attr_reader changes: ChangesNamespace
17467
17604
  attr_reader chat: ChatNamespace
17605
+ attr_reader ci: CiNamespace
17468
17606
  attr_reader commitments: CommitmentsNamespace
17469
17607
  attr_reader compliance: ComplianceNamespace
17470
17608
  attr_reader config: ConfigNamespace
@@ -17499,6 +17637,7 @@ module Infrawrench
17499
17637
  attr_reader event_subscriptions: EventSubscriptionsNamespace
17500
17638
  attr_reader expiring: ExpiringNamespace
17501
17639
  attr_reader extended_support: ExtendedSupportNamespace
17640
+ attr_reader features: FeaturesNamespace
17502
17641
  attr_reader github: GithubNamespace
17503
17642
  attr_reader github_issues: GithubIssuesNamespace
17504
17643
  attr_reader iac: IacNamespace
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.99.0
4
+ version: 1.101.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infrawrench Services, Inc.
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-11-08 00:00:00.000000000 Z
12
+ date: 2026-11-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.99.0). Covers the published
15
- API surface only — operations marked x-internal in the spec are not generated. No
16
- runtime dependencies.
14
+ description: Generated Ruby client for the Infrawrench API (v1.101.0). Covers the
15
+ published API surface only — operations marked x-internal in the spec are not generated.
16
+ No runtime dependencies.
17
17
  email:
18
18
  - astrid@infrawrench.com
19
19
  executables: []
@@ -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.99.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.101.0).
62
62
  test_files: []