infrawrench-sdk 0.22.0 → 0.23.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 +181 -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 +49 -2
- 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: '08dda7ce89a7fe2f3fa7ac4a5148730d4213ee49bd79d2cd0263e24680353414'
|
|
4
|
+
data.tar.gz: 86b775f9ff8eb7de1ee019f6f3b91d4667a0c7fd6f64a820c6f98539fe6edbf8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67428f17d99e56a2af1abb36caf76be890238f3ad7a0dd5753af50b07620f4e1095b6014cc3d55da29733283a0024d5748a1d360e311e41085945cfca806601e
|
|
7
|
+
data.tar.gz: 7ef24085616046855a2efe885f313dc5959da6ad0fbba75fb7887c29a26e050e881320b9f144de3c2155291d9b7a2aac67c2f03cc5e9f19cf015ee9dad8a92b2
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# infrawrench-sdk
|
|
2
2
|
|
|
3
|
-
Generated Ruby client for the Infrawrench API (API version `0.
|
|
3
|
+
Generated Ruby client for the Infrawrench API (API version `0.23.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
|
+
242 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 v0.
|
|
3
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.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 (v0.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v0.
|
|
20
|
+
spec.summary = "Generated Ruby client for the Infrawrench API (v0.23.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v0.23.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 LLC", "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 v0.
|
|
3
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1112,6 +1112,163 @@ module Infrawrench
|
|
|
1112
1112
|
end
|
|
1113
1113
|
end
|
|
1114
1114
|
|
|
1115
|
+
# `client.change_freezes`
|
|
1116
|
+
class ChangeFreezesNamespace
|
|
1117
|
+
# @api private
|
|
1118
|
+
# @param transport [Transport]
|
|
1119
|
+
def initialize(transport)
|
|
1120
|
+
@transport = transport
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1123
|
+
# Declare a change freeze window
|
|
1124
|
+
#
|
|
1125
|
+
# While the freeze is in effect, destructive actions (resource deletion,
|
|
1126
|
+
# destructive plugin actions, secret-version destroys, deployment rollbacks)
|
|
1127
|
+
# return `423` unless explicitly overridden by a caller with
|
|
1128
|
+
# `freezes:override`.
|
|
1129
|
+
#
|
|
1130
|
+
# _Requires permission: `freezes:write`._
|
|
1131
|
+
#
|
|
1132
|
+
# POST /api/org/{orgId}/change-freezes
|
|
1133
|
+
#
|
|
1134
|
+
# Raises on 400: Bad request
|
|
1135
|
+
#
|
|
1136
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1137
|
+
# constructed with.
|
|
1138
|
+
# @param body [Hash] Request body, shaped as `ChangeFreezeInput`.
|
|
1139
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1140
|
+
# @return [Hash] Parsed JSON, shaped as `ChangeFreeze` — see `sig/infrawrench/sdk.rbs`.
|
|
1141
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1142
|
+
def create(body:, org_id: nil, request_options: nil)
|
|
1143
|
+
@transport.request(
|
|
1144
|
+
http_method: "POST",
|
|
1145
|
+
path: "/api/org/{orgId}/change-freezes",
|
|
1146
|
+
path_params: { "orgId" => org_id },
|
|
1147
|
+
body: body,
|
|
1148
|
+
request_options: request_options
|
|
1149
|
+
)
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# Delete a change freeze window
|
|
1153
|
+
#
|
|
1154
|
+
# _Requires permission: `freezes:write`._
|
|
1155
|
+
#
|
|
1156
|
+
# DELETE /api/org/{orgId}/change-freezes/{id}
|
|
1157
|
+
#
|
|
1158
|
+
# Raises on 404: Not found
|
|
1159
|
+
#
|
|
1160
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1161
|
+
# constructed with.
|
|
1162
|
+
# @param id [String]
|
|
1163
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1164
|
+
# @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
|
|
1165
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1166
|
+
def delete(id:, org_id: nil, request_options: nil)
|
|
1167
|
+
@transport.request(
|
|
1168
|
+
http_method: "DELETE",
|
|
1169
|
+
path: "/api/org/{orgId}/change-freezes/{id}",
|
|
1170
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
1171
|
+
request_options: request_options
|
|
1172
|
+
)
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
# End a change freeze now
|
|
1176
|
+
#
|
|
1177
|
+
# _Requires permission: `freezes:write`._
|
|
1178
|
+
#
|
|
1179
|
+
# POST /api/org/{orgId}/change-freezes/{id}/end
|
|
1180
|
+
#
|
|
1181
|
+
# Raises on 404: Not found
|
|
1182
|
+
#
|
|
1183
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1184
|
+
# constructed with.
|
|
1185
|
+
# @param id [String]
|
|
1186
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1187
|
+
# @return [Hash] Parsed JSON, shaped as `ChangeFreeze` — see `sig/infrawrench/sdk.rbs`.
|
|
1188
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1189
|
+
def post_org_org_id_change_freezes_id_end(id:, org_id: nil, request_options: nil)
|
|
1190
|
+
@transport.request(
|
|
1191
|
+
http_method: "POST",
|
|
1192
|
+
path: "/api/org/{orgId}/change-freezes/{id}/end",
|
|
1193
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
1194
|
+
request_options: request_options
|
|
1195
|
+
)
|
|
1196
|
+
end
|
|
1197
|
+
|
|
1198
|
+
# List change freeze windows, newest first
|
|
1199
|
+
#
|
|
1200
|
+
# _Requires permission: `freezes:read`._
|
|
1201
|
+
#
|
|
1202
|
+
# GET /api/org/{orgId}/change-freezes
|
|
1203
|
+
#
|
|
1204
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1205
|
+
# constructed with.
|
|
1206
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1207
|
+
# @return [Array<Hash>] Parsed JSON, shaped as `Array<ChangeFreeze>` — see
|
|
1208
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
1209
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1210
|
+
def list(org_id: nil, request_options: nil)
|
|
1211
|
+
@transport.request(
|
|
1212
|
+
http_method: "GET",
|
|
1213
|
+
path: "/api/org/{orgId}/change-freezes",
|
|
1214
|
+
path_params: { "orgId" => org_id },
|
|
1215
|
+
request_options: request_options
|
|
1216
|
+
)
|
|
1217
|
+
end
|
|
1218
|
+
|
|
1219
|
+
# The freeze currently in effect, if any
|
|
1220
|
+
#
|
|
1221
|
+
# Returns the active freeze window (active, started, not yet past its end
|
|
1222
|
+
# time) or `freeze: null`. Clients poll this to show the freeze banner and
|
|
1223
|
+
# pre-warn before destructive actions.
|
|
1224
|
+
#
|
|
1225
|
+
# _Requires permission: `freezes:read`._
|
|
1226
|
+
#
|
|
1227
|
+
# GET /api/org/{orgId}/change-freezes/status
|
|
1228
|
+
#
|
|
1229
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1230
|
+
# constructed with.
|
|
1231
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1232
|
+
# @return [Hash] Parsed JSON, shaped as `ChangeFreezeStatus` — see
|
|
1233
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
1234
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1235
|
+
def status(org_id: nil, request_options: nil)
|
|
1236
|
+
@transport.request(
|
|
1237
|
+
http_method: "GET",
|
|
1238
|
+
path: "/api/org/{orgId}/change-freezes/status",
|
|
1239
|
+
path_params: { "orgId" => org_id },
|
|
1240
|
+
request_options: request_options
|
|
1241
|
+
)
|
|
1242
|
+
end
|
|
1243
|
+
|
|
1244
|
+
# Update a change freeze window
|
|
1245
|
+
#
|
|
1246
|
+
# _Requires permission: `freezes:write`._
|
|
1247
|
+
#
|
|
1248
|
+
# PUT /api/org/{orgId}/change-freezes/{id}
|
|
1249
|
+
#
|
|
1250
|
+
# Raises on 400: Bad request
|
|
1251
|
+
#
|
|
1252
|
+
# Raises on 404: Not found
|
|
1253
|
+
#
|
|
1254
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
1255
|
+
# constructed with.
|
|
1256
|
+
# @param id [String]
|
|
1257
|
+
# @param body [Hash] Request body, shaped as `ChangeFreezeInput`.
|
|
1258
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
1259
|
+
# @return [Hash] Parsed JSON, shaped as `ChangeFreeze` — see `sig/infrawrench/sdk.rbs`.
|
|
1260
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
1261
|
+
def update(id:, body:, org_id: nil, request_options: nil)
|
|
1262
|
+
@transport.request(
|
|
1263
|
+
http_method: "PUT",
|
|
1264
|
+
path: "/api/org/{orgId}/change-freezes/{id}",
|
|
1265
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
1266
|
+
body: body,
|
|
1267
|
+
request_options: request_options
|
|
1268
|
+
)
|
|
1269
|
+
end
|
|
1270
|
+
end
|
|
1271
|
+
|
|
1115
1272
|
# `client.changes`
|
|
1116
1273
|
class ChangesNamespace
|
|
1117
1274
|
# @api private
|
|
@@ -2225,6 +2382,10 @@ module Infrawrench
|
|
|
2225
2382
|
#
|
|
2226
2383
|
# Raises on 409: Conflict
|
|
2227
2384
|
#
|
|
2385
|
+
# Raises on 423: Blocked by an active change freeze. Retry with the
|
|
2386
|
+
# `x-change-freeze-override: true` header if you hold `freezes:override`;
|
|
2387
|
+
# both blocks and overrides are audit-logged.
|
|
2388
|
+
#
|
|
2228
2389
|
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2229
2390
|
# constructed with.
|
|
2230
2391
|
# @param id [String]
|
|
@@ -3595,6 +3756,10 @@ module Infrawrench
|
|
|
3595
3756
|
#
|
|
3596
3757
|
# Raises on 404: Not found
|
|
3597
3758
|
#
|
|
3759
|
+
# Raises on 423: Blocked by an active change freeze. Retry with the
|
|
3760
|
+
# `x-change-freeze-override: true` header if you hold `freezes:override`;
|
|
3761
|
+
# both blocks and overrides are audit-logged.
|
|
3762
|
+
#
|
|
3598
3763
|
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
3599
3764
|
# constructed with.
|
|
3600
3765
|
# @param plugin_id [String]
|
|
@@ -3766,6 +3931,10 @@ module Infrawrench
|
|
|
3766
3931
|
#
|
|
3767
3932
|
# Raises on 404: Not found
|
|
3768
3933
|
#
|
|
3934
|
+
# Raises on 423: Blocked by an active change freeze. Retry with the
|
|
3935
|
+
# `x-change-freeze-override: true` header if you hold `freezes:override`;
|
|
3936
|
+
# both blocks and overrides are audit-logged.
|
|
3937
|
+
#
|
|
3769
3938
|
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
3770
3939
|
# constructed with.
|
|
3771
3940
|
# @param plugin_id [String]
|
|
@@ -3962,6 +4131,9 @@ module Infrawrench
|
|
|
3962
4131
|
|
|
3963
4132
|
# Invoke a plugin-defined action on a resource
|
|
3964
4133
|
#
|
|
4134
|
+
# Actions the plugin marks `destructive: true` in its detail schema are
|
|
4135
|
+
# blocked with `423` while an org change freeze is in effect.
|
|
4136
|
+
#
|
|
3965
4137
|
# _Requires permission: `resources:write`._
|
|
3966
4138
|
#
|
|
3967
4139
|
# POST /api/org/{orgId}/resources/invoke-action
|
|
@@ -3970,6 +4142,10 @@ module Infrawrench
|
|
|
3970
4142
|
#
|
|
3971
4143
|
# Raises on 404: Not found
|
|
3972
4144
|
#
|
|
4145
|
+
# Raises on 423: Blocked by an active change freeze. Retry with the
|
|
4146
|
+
# `x-change-freeze-override: true` header if you hold `freezes:override`;
|
|
4147
|
+
# both blocks and overrides are audit-logged.
|
|
4148
|
+
#
|
|
3973
4149
|
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
3974
4150
|
# constructed with.
|
|
3975
4151
|
# @param body [Hash] Request body, shaped as `InvokeActionRequest`.
|
|
@@ -5487,6 +5663,8 @@ module Infrawrench
|
|
|
5487
5663
|
attr_reader :billing
|
|
5488
5664
|
# @return [BudgetsNamespace] `client.budgets`
|
|
5489
5665
|
attr_reader :budgets
|
|
5666
|
+
# @return [ChangeFreezesNamespace] `client.change_freezes`
|
|
5667
|
+
attr_reader :change_freezes
|
|
5490
5668
|
# @return [ChangesNamespace] `client.changes`
|
|
5491
5669
|
attr_reader :changes
|
|
5492
5670
|
# @return [ConnectNamespace] `client.connect`
|
|
@@ -5553,6 +5731,7 @@ module Infrawrench
|
|
|
5553
5731
|
@bastions = BastionsNamespace.new(@transport)
|
|
5554
5732
|
@billing = BillingNamespace.new(@transport)
|
|
5555
5733
|
@budgets = BudgetsNamespace.new(@transport)
|
|
5734
|
+
@change_freezes = ChangeFreezesNamespace.new(@transport)
|
|
5556
5735
|
@changes = ChangesNamespace.new(@transport)
|
|
5557
5736
|
@connect = ConnectNamespace.new(@transport)
|
|
5558
5737
|
@costs = CostsNamespace.new(@transport)
|
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v0.
|
|
3
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.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 = "0.
|
|
18
|
+
VERSION = "0.23.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 v0.
|
|
3
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
4
4
|
# https://github.com/Infrawrench/Infrawrench
|
|
5
5
|
#
|
|
6
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.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 v0.
|
|
1
|
+
# infrawrench-sdk v0.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
|
|
2
2
|
# https://github.com/Infrawrench/Infrawrench
|
|
3
3
|
#
|
|
4
|
-
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.23.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -332,6 +332,39 @@ module Infrawrench
|
|
|
332
332
|
"placements" => Array[{ "widgetId" => String, "dashboardId" => String, "dashboardName" => String }]
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
+
# Spec schema: `ChangeFreeze`.
|
|
336
|
+
type change_freeze = {
|
|
337
|
+
"id" => String,
|
|
338
|
+
"name" => String,
|
|
339
|
+
"reason" => String | nil,
|
|
340
|
+
"startsAt" => String,
|
|
341
|
+
"endsAt" => String | nil,
|
|
342
|
+
"active" => bool,
|
|
343
|
+
"createdByUserId" => String | nil,
|
|
344
|
+
"endedByUserId" => String | nil,
|
|
345
|
+
"createdAt" => String,
|
|
346
|
+
"updatedAt" => String
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
# Spec schema: `ChangeFreezeBlocked`.
|
|
350
|
+
type change_freeze_blocked = {
|
|
351
|
+
"error" => String,
|
|
352
|
+
"code" => "change_freeze_active",
|
|
353
|
+
"freeze" => {
|
|
354
|
+
"id" => String,
|
|
355
|
+
"name" => String,
|
|
356
|
+
"reason" => String | nil,
|
|
357
|
+
"startsAt" => String,
|
|
358
|
+
"endsAt" => String | nil
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
# Spec schema: `ChangeFreezeInput`.
|
|
363
|
+
type change_freeze_input = { "name" => String, ?"reason" => String, ?"startsAt" => String, ?"endsAt" => String }
|
|
364
|
+
|
|
365
|
+
# Spec schema: `ChangeFreezeStatus`.
|
|
366
|
+
type change_freeze_status = { "freeze" => change_freeze & (Hash[String, untyped] | nil) }
|
|
367
|
+
|
|
335
368
|
# Spec schema: `ChildResourceRef`.
|
|
336
369
|
type child_resource_ref = {
|
|
337
370
|
"id" => resource_id,
|
|
@@ -1205,6 +1238,9 @@ module Infrawrench
|
|
|
1205
1238
|
| "costs:write"
|
|
1206
1239
|
| "budgets:read"
|
|
1207
1240
|
| "budgets:write"
|
|
1241
|
+
| "freezes:read"
|
|
1242
|
+
| "freezes:write"
|
|
1243
|
+
| "freezes:override"
|
|
1208
1244
|
| "audit:read"
|
|
1209
1245
|
| "team:read"
|
|
1210
1246
|
| "team:invite"
|
|
@@ -2399,6 +2435,16 @@ module Infrawrench
|
|
|
2399
2435
|
def update: (id: String, body: budget_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> budget_full
|
|
2400
2436
|
end
|
|
2401
2437
|
|
|
2438
|
+
class ChangeFreezesNamespace
|
|
2439
|
+
def initialize: (Transport) -> void
|
|
2440
|
+
def create: (body: change_freeze_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> change_freeze
|
|
2441
|
+
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
2442
|
+
def post_org_org_id_change_freezes_id_end: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> change_freeze
|
|
2443
|
+
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[change_freeze]
|
|
2444
|
+
def status: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> change_freeze_status
|
|
2445
|
+
def update: (id: String, body: change_freeze_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> change_freeze
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2402
2448
|
class ChangesNamespace
|
|
2403
2449
|
def initialize: (Transport) -> void
|
|
2404
2450
|
def get: (?org_id: String?, ?page: Integer?, ?page_size: Integer?, ?account_id: String?, ?resource_id: String?, ?kind: resource_change_kind?, ?from: String?, ?to: String?, ?request_options: Hash[Symbol, untyped]?) -> resource_change_feed_response
|
|
@@ -2744,6 +2790,7 @@ module Infrawrench
|
|
|
2744
2790
|
attr_reader bastions: BastionsNamespace
|
|
2745
2791
|
attr_reader billing: BillingNamespace
|
|
2746
2792
|
attr_reader budgets: BudgetsNamespace
|
|
2793
|
+
attr_reader change_freezes: ChangeFreezesNamespace
|
|
2747
2794
|
attr_reader changes: ChangesNamespace
|
|
2748
2795
|
attr_reader connect: ConnectNamespace
|
|
2749
2796
|
attr_reader costs: CostsNamespace
|
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: 0.
|
|
4
|
+
version: 0.23.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Infrawrench LLC
|
|
@@ -11,7 +11,7 @@ bindir: bin
|
|
|
11
11
|
cert_chain: []
|
|
12
12
|
date: 2026-07-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
|
-
description: Generated Ruby client for the Infrawrench API (v0.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v0.23.0). Covers the published
|
|
15
15
|
API surface only — operations marked x-internal in the spec are not generated. No
|
|
16
16
|
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 (v0.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v0.23.0).
|
|
62
62
|
test_files: []
|