infrawrench-sdk 0.43.0 → 1.0.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.
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v0.43.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.0.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.43.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.0.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.43.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.0.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.43.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.0.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.43.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.0.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.43.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.0.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.43.0"
18
+ VERSION = "1.0.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v0.43.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.0.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.43.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.0.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 v0.43.0 | MIT | Copyright (c) 2026 Infrawrench LLC
1
+ # infrawrench-sdk v1.0.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.43.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.0.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -230,6 +230,101 @@ module Infrawrench
230
230
  "hiddenFieldKeys" => Array[String]
231
231
  }
232
232
 
233
+ # One clause of a rule. A rule matches when every condition matches; 'or' is
234
+ # expressed by writing a second rule. A condition on a fact the alert does not
235
+ # carry never matches — in either direction, so `accountId notIn [x]` does not
236
+ # match an alert with no account.
237
+ #
238
+ # Spec schema: `AlertCondition`.
239
+ type alert_condition = { "field" => "trigger", "op" => "in" | "notIn", "values" => Array[alert_trigger] }
240
+ | { "field" => "severity", "op" => "gte" | "eq", "severity" => alert_severity }
241
+ | { "field" => "accountId", "op" => "in" | "notIn", "values" => Array[String] }
242
+ | { "field" => "pluginId", "op" => "in" | "notIn", "values" => Array[String] }
243
+ | { "field" => "resourceTypeId", "op" => "in" | "notIn", "values" => Array[String] }
244
+ | { "field" => "amountCents", "op" => "gte" | "lt", "cents" => Integer }
245
+ | { "field" => "key", "op" => "contains" | "notContains" | "eq", "value" => String }
246
+ | { "field" => "text", "op" => "contains" | "notContains", "value" => String }
247
+
248
+ # Spec schema: `AlertDelivery`.
249
+ type alert_delivery = {
250
+ "id" => String,
251
+ "trigger" => alert_trigger,
252
+ "severity" => alert_severity,
253
+ "title" => String,
254
+ "body" => String,
255
+ "ruleName" => String | nil,
256
+ "state" => "held" | "awaiting_ack" | "sent" | "acknowledged" | "escalated" | "expired",
257
+ "createdAt" => String,
258
+ "deliverAfter" => String | nil,
259
+ "escalateAt" => String | nil,
260
+ "acknowledgedAt" => String | nil,
261
+ "acknowledgedByUserId" => String | nil
262
+ }
263
+
264
+ # One place a matched alert goes. `push` reaches the organization's phones,
265
+ # still filtered by each member's own mutes — an organization rule decides
266
+ # whether the org is told, a member decides whether their phone rings.
267
+ #
268
+ # Spec schema: `AlertDestination`.
269
+ type alert_destination = { "kind" => "push" }
270
+ | { "kind" => "slack", "channelId" => String }
271
+ | { "kind" => "msteams", "webhookId" => String }
272
+
273
+ # Spec schema: `AlertRule`.
274
+ type alert_rule = {
275
+ "id" => String,
276
+ "name" => String,
277
+ "enabled" => bool,
278
+ "position" => Integer,
279
+ "conditions" => Array[alert_condition],
280
+ "destinations" => Array[alert_destination],
281
+ "continueOnMatch" => bool,
282
+ "quietHours" => quiet_hours,
283
+ "escalation" => escalation_policy
284
+ }
285
+
286
+ # Spec schema: `AlertRuleInput`.
287
+ type alert_rule_input = {
288
+ ?"id" => String,
289
+ "name" => String,
290
+ ?"enabled" => bool,
291
+ ?"conditions" => Array[alert_condition],
292
+ ?"destinations" => Array[alert_destination],
293
+ ?"continueOnMatch" => bool,
294
+ ?"quietHours" => quiet_hours,
295
+ ?"escalation" => escalation_policy
296
+ }
297
+
298
+ # Spec schema: `AlertRulesResponse`.
299
+ type alert_rules_response = {
300
+ "rules" => Array[alert_rule],
301
+ "usingDefaults" => bool,
302
+ "slackChannels" => Array[{ "id" => String, "name" => String, "isPrivate" => bool }],
303
+ "msTeamsWebhooks" => Array[{ "id" => String, "label" => String }],
304
+ "accounts" => Array[{ "id" => String, "displayName" => String, "pluginId" => String }]
305
+ }
306
+
307
+ # Alert severity, ordered info < warning < critical.
308
+ #
309
+ # Spec schema: `AlertSeverity`.
310
+ type alert_severity = "info" | "warning" | "critical"
311
+
312
+ # A kind of alert that can be routed.
313
+ #
314
+ # Spec schema: `AlertTrigger`.
315
+ type alert_trigger = "syncIncidents"
316
+ | "budgetAlerts"
317
+ | "anomalyAlerts"
318
+ | "metricAlerts"
319
+ | "resourceDrift"
320
+ | "workflowPages"
321
+ | "providerIncidents"
322
+ | "expiryAlerts"
323
+ | "logMatchAlerts"
324
+ | "postureAlerts"
325
+ | "probeAlerts"
326
+ | "weeklyDigest"
327
+
233
328
  # Spec schema: `AllocationRule`.
234
329
  type allocation_rule = {
235
330
  "id" => String,
@@ -1332,6 +1427,13 @@ module Infrawrench
1332
1427
  # Spec schema: `Error`.
1333
1428
  type error = { "error" => String }
1334
1429
 
1430
+ # Notify these destinations too if nobody acknowledges within afterMinutes.
1431
+ # Acknowledgement comes from the button on the Slack message, so an alert
1432
+ # routed only to Teams or push will always escalate.
1433
+ #
1434
+ # Spec schema: `EscalationPolicy`.
1435
+ type escalation_policy = { "afterMinutes" => Integer, "destinations" => Array[alert_destination] } | nil
1436
+
1335
1437
  # Spec schema: `ExpiryAlertSettings`.
1336
1438
  type expiry_alert_settings = { "enabled" => bool, "leadDays" => Integer, "lastNotifiedAt" => String | nil }
1337
1439
 
@@ -1810,58 +1912,13 @@ module Infrawrench
1810
1912
  type ms_teams_status = { "webhooks" => Array[ms_teams_webhook] }
1811
1913
 
1812
1914
  # Spec schema: `MsTeamsWebhook`.
1813
- type ms_teams_webhook = {
1814
- "id" => String,
1815
- "label" => String,
1816
- "urlHint" => String,
1817
- "syncIncidents" => bool,
1818
- "budgetAlerts" => bool,
1819
- "anomalyAlerts" => bool,
1820
- "metricAlerts" => bool,
1821
- "resourceDrift" => bool,
1822
- "workflowPages" => bool,
1823
- "providerIncidents" => bool,
1824
- "expiryAlerts" => bool,
1825
- "logMatchAlerts" => bool,
1826
- "postureAlerts" => bool,
1827
- "probeAlerts" => bool,
1828
- "weeklyDigest" => bool
1829
- }
1915
+ type ms_teams_webhook = { "id" => String, "label" => String, "urlHint" => String }
1830
1916
 
1831
1917
  # Spec schema: `MsTeamsWebhookCreate`.
1832
- type ms_teams_webhook_create = {
1833
- "label" => String,
1834
- "url" => String,
1835
- ?"syncIncidents" => bool,
1836
- ?"budgetAlerts" => bool,
1837
- ?"anomalyAlerts" => bool,
1838
- ?"metricAlerts" => bool,
1839
- ?"resourceDrift" => bool,
1840
- ?"workflowPages" => bool,
1841
- ?"providerIncidents" => bool,
1842
- ?"expiryAlerts" => bool,
1843
- ?"logMatchAlerts" => bool,
1844
- ?"postureAlerts" => bool,
1845
- ?"probeAlerts" => bool,
1846
- ?"weeklyDigest" => bool
1847
- }
1918
+ type ms_teams_webhook_create = { "label" => String, "url" => String }
1848
1919
 
1849
1920
  # Spec schema: `MsTeamsWebhookUpdate`.
1850
- type ms_teams_webhook_update = {
1851
- ?"label" => String,
1852
- ?"syncIncidents" => bool,
1853
- ?"budgetAlerts" => bool,
1854
- ?"anomalyAlerts" => bool,
1855
- ?"metricAlerts" => bool,
1856
- ?"resourceDrift" => bool,
1857
- ?"workflowPages" => bool,
1858
- ?"providerIncidents" => bool,
1859
- ?"expiryAlerts" => bool,
1860
- ?"logMatchAlerts" => bool,
1861
- ?"postureAlerts" => bool,
1862
- ?"probeAlerts" => bool,
1863
- ?"weeklyDigest" => bool
1864
- }
1921
+ type ms_teams_webhook_update = { "label" => String }
1865
1922
 
1866
1923
  # Spec schema: `NoSqlCommandRequest`.
1867
1924
  type no_sql_command_request = {
@@ -1946,6 +2003,7 @@ module Infrawrench
1946
2003
  type orphan_list_response = {
1947
2004
  "accounts" => Array[orphan_account_group],
1948
2005
  "totalCount" => Integer,
2006
+ "unownedCount" => Integer,
1949
2007
  "costWindowDays" => Integer,
1950
2008
  "generatedAt" => String
1951
2009
  }
@@ -1960,6 +2018,7 @@ module Infrawrench
1960
2018
  "externalId" => String | nil,
1961
2019
  "reason" => String,
1962
2020
  "cost" => orphan_cost_annotation,
2021
+ "owner" => resource_owner_annotation,
1963
2022
  "lastSyncedAt" => String | nil
1964
2023
  }
1965
2024
 
@@ -2003,6 +2062,12 @@ module Infrawrench
2003
2062
  "priceMonthly" => Numeric | nil
2004
2063
  }
2005
2064
 
2065
+ # Spec schema: `OwnerCandidate`.
2066
+ type owner_candidate = { "userId" => String, "name" => String, "email" => String }
2067
+
2068
+ # Spec schema: `OwnerCandidateListResponse`.
2069
+ type owner_candidate_list_response = { "members" => Array[owner_candidate] }
2070
+
2006
2071
  # Spec schema: `OwnershipBlocker`.
2007
2072
  type ownership_blocker = { "id" => String, "name" => String, "memberCount" => Integer }
2008
2073
 
@@ -2414,6 +2479,30 @@ module Infrawrench
2414
2479
  # Spec schema: `ProviderIncidentState`.
2415
2480
  type provider_incident_state = "investigating" | "identified" | "monitoring" | "resolved"
2416
2481
 
2482
+ # Spec schema: `PublicStatusComponent`.
2483
+ type public_status_component = {
2484
+ "id" => String,
2485
+ "name" => String,
2486
+ "groupName" => String | nil,
2487
+ "state" => "operational" | "degraded" | "down" | "unknown",
2488
+ "uptime24h" => Numeric | nil,
2489
+ "history" => Array[status_history_day]
2490
+ }
2491
+
2492
+ # Spec schema: `PublicStatusPage`.
2493
+ type public_status_page = {
2494
+ "title" => String,
2495
+ "description" => String | nil,
2496
+ "state" => "operational" | "degraded" | "major_outage" | "unknown",
2497
+ "summary" => String,
2498
+ "components" => Array[public_status_component],
2499
+ "supportUrl" => String | nil,
2500
+ "showHistory" => bool,
2501
+ "showUptime" => bool,
2502
+ "historyDays" => Integer,
2503
+ "generatedAt" => String
2504
+ }
2505
+
2417
2506
  # Spec schema: `PushedCostRow`.
2418
2507
  type pushed_cost_row = {
2419
2508
  "date" => String,
@@ -2428,6 +2517,19 @@ module Infrawrench
2428
2517
  ?"accountId" => String
2429
2518
  }
2430
2519
 
2520
+ # A recurring local-time window during which the rule holds its alerts. Held,
2521
+ # not dropped — a held alert is queued and delivered when the window closes.
2522
+ #
2523
+ # Spec schema: `QuietHours`.
2524
+ type quiet_hours = {
2525
+ "timezone" => String,
2526
+ "startMinute" => Integer,
2527
+ "endMinute" => Integer,
2528
+ "days" => Array[Integer],
2529
+ "urgentOverride" => alert_severity & (String | nil)
2530
+ }
2531
+ | nil
2532
+
2431
2533
  # Spec schema: `ReauthenticationRequired`.
2432
2534
  type reauthentication_required = { "error" => String, "code" => "reauthentication_required" }
2433
2535
 
@@ -2571,6 +2673,53 @@ module Infrawrench
2571
2673
  # Spec schema: `ResourceLeaseUpdate`.
2572
2674
  type resource_lease_update = { ?"expiresAt" => String, ?"autoDelete" => bool, ?"note" => String | nil }
2573
2675
 
2676
+ # Who owns this resource, or null when nobody has claimed it. Present only
2677
+ # when the owner can be named: a resource carrying a purpose but no owner
2678
+ # reads as null, because the question this answers is who to tell.
2679
+ #
2680
+ # Spec schema: `ResourceOwnerAnnotation`.
2681
+ type resource_owner_annotation = {
2682
+ "userId" => String | nil,
2683
+ "displayName" => String,
2684
+ "isLabel" => bool,
2685
+ "ticketUrl" => String | nil,
2686
+ "purpose" => String | nil
2687
+ }
2688
+ | nil
2689
+
2690
+ # Spec schema: `ResourceOwnership`.
2691
+ type resource_ownership = {
2692
+ "id" => String,
2693
+ "resourceId" => String,
2694
+ "accountId" => String,
2695
+ "pluginId" => plugin_id,
2696
+ "resourceTypeId" => String,
2697
+ "resourceName" => String,
2698
+ "ownerUserId" => String | nil,
2699
+ "ownerName" => String | nil,
2700
+ "ownerEmail" => String | nil,
2701
+ "ownerLabel" => String | nil,
2702
+ "purpose" => String | nil,
2703
+ "ticketUrl" => String | nil,
2704
+ "createdAt" => String,
2705
+ "updatedAt" => String
2706
+ }
2707
+
2708
+ # Spec schema: `ResourceOwnershipEnvelope`.
2709
+ type resource_ownership_envelope = { "ownership" => resource_ownership & (Hash[String, untyped] | nil) }
2710
+
2711
+ # Spec schema: `ResourceOwnershipListResponse`.
2712
+ type resource_ownership_list_response = { "ownership" => Array[resource_ownership] }
2713
+
2714
+ # Spec schema: `ResourceOwnershipPatch`.
2715
+ type resource_ownership_patch = {
2716
+ "resourceId" => String,
2717
+ ?"ownerUserId" => String | nil,
2718
+ ?"ownerLabel" => String | nil,
2719
+ ?"purpose" => String | nil,
2720
+ ?"ticketUrl" => String | nil
2721
+ }
2722
+
2574
2723
  # Normalized status reported by a plugin's renderSidebarItem/renderDetail.
2575
2724
  #
2576
2725
  # Spec schema: `ResourceStatus`.
@@ -3188,19 +3337,7 @@ module Infrawrench
3188
3337
  "installationId" => String,
3189
3338
  "channelId" => String,
3190
3339
  "channelName" => String,
3191
- "isPrivate" => bool,
3192
- "syncIncidents" => bool,
3193
- "budgetAlerts" => bool,
3194
- "anomalyAlerts" => bool,
3195
- "metricAlerts" => bool,
3196
- "resourceDrift" => bool,
3197
- "workflowPages" => bool,
3198
- "providerIncidents" => bool,
3199
- "expiryAlerts" => bool,
3200
- "logMatchAlerts" => bool,
3201
- "postureAlerts" => bool,
3202
- "probeAlerts" => bool,
3203
- "weeklyDigest" => bool
3340
+ "isPrivate" => bool
3204
3341
  }
3205
3342
 
3206
3343
  # Spec schema: `SlackChannelCreate`.
@@ -3208,36 +3345,11 @@ module Infrawrench
3208
3345
  "installationId" => String,
3209
3346
  "channelId" => String,
3210
3347
  "channelName" => String,
3211
- ?"isPrivate" => bool,
3212
- ?"syncIncidents" => bool,
3213
- ?"budgetAlerts" => bool,
3214
- ?"anomalyAlerts" => bool,
3215
- ?"metricAlerts" => bool,
3216
- ?"resourceDrift" => bool,
3217
- ?"workflowPages" => bool,
3218
- ?"providerIncidents" => bool,
3219
- ?"expiryAlerts" => bool,
3220
- ?"logMatchAlerts" => bool,
3221
- ?"postureAlerts" => bool,
3222
- ?"probeAlerts" => bool,
3223
- ?"weeklyDigest" => bool
3348
+ ?"isPrivate" => bool
3224
3349
  }
3225
3350
 
3226
3351
  # Spec schema: `SlackChannelUpdate`.
3227
- type slack_channel_update = {
3228
- ?"syncIncidents" => bool,
3229
- ?"budgetAlerts" => bool,
3230
- ?"anomalyAlerts" => bool,
3231
- ?"metricAlerts" => bool,
3232
- ?"resourceDrift" => bool,
3233
- ?"workflowPages" => bool,
3234
- ?"providerIncidents" => bool,
3235
- ?"expiryAlerts" => bool,
3236
- ?"logMatchAlerts" => bool,
3237
- ?"postureAlerts" => bool,
3238
- ?"probeAlerts" => bool,
3239
- ?"weeklyDigest" => bool
3240
- }
3352
+ type slack_channel_update = { "channelName" => String }
3241
3353
 
3242
3354
  # Spec schema: `SlackInstallation`.
3243
3355
  type slack_installation = { "id" => String, "teamId" => String, "teamName" => String | nil }
@@ -3455,6 +3567,64 @@ module Infrawrench
3455
3567
  # Spec schema: `StatusDot`.
3456
3568
  type status_dot = { "kind" => "status-dot", "status" => resource_status, ?"label" => String }
3457
3569
 
3570
+ # Spec schema: `StatusHistoryDay`.
3571
+ type status_history_day = { "day" => String, "uptime" => Numeric | nil }
3572
+
3573
+ # Spec schema: `StatusPage`.
3574
+ type status_page = {
3575
+ "id" => String,
3576
+ "slug" => String,
3577
+ "title" => String,
3578
+ "description" => String | nil,
3579
+ "published" => bool,
3580
+ "showHistory" => bool,
3581
+ "showUptime" => bool,
3582
+ "supportUrl" => String | nil,
3583
+ "components" => Array[status_page_component],
3584
+ "createdAt" => String,
3585
+ "updatedAt" => String
3586
+ }
3587
+
3588
+ # Spec schema: `StatusPageComponent`.
3589
+ type status_page_component = {
3590
+ "id" => String,
3591
+ "probeId" => String,
3592
+ "label" => String | nil,
3593
+ "groupName" => String | nil,
3594
+ "position" => Integer,
3595
+ "probeName" => String,
3596
+ "probeStatus" => "up" | "down" | "unknown",
3597
+ "probeEnabled" => bool
3598
+ }
3599
+
3600
+ # Spec schema: `StatusPageComponentInput`.
3601
+ type status_page_component_input = { "probeId" => String, ?"label" => String | nil, ?"groupName" => String | nil }
3602
+
3603
+ # Spec schema: `StatusPageCreate`.
3604
+ type status_page_create = {
3605
+ "title" => String,
3606
+ ?"description" => String | nil,
3607
+ ?"published" => bool,
3608
+ ?"showHistory" => bool,
3609
+ ?"showUptime" => bool,
3610
+ ?"supportUrl" => String | nil,
3611
+ ?"components" => Array[status_page_component_input]
3612
+ }
3613
+
3614
+ # Spec schema: `StatusPageListResponse`.
3615
+ type status_page_list_response = { "pages" => Array[status_page] }
3616
+
3617
+ # Spec schema: `StatusPagePatch`.
3618
+ type status_page_patch = {
3619
+ ?"title" => String,
3620
+ ?"description" => String | nil,
3621
+ ?"published" => bool,
3622
+ ?"showHistory" => bool,
3623
+ ?"showUptime" => bool,
3624
+ ?"supportUrl" => String | nil,
3625
+ ?"components" => Array[status_page_component_input]
3626
+ }
3627
+
3458
3628
  # Spec schema: `StorageListRequest`.
3459
3629
  type storage_list_request = { "accountId" => String, "bucket" => String, "prefix" => String }
3460
3630
 
@@ -3800,6 +3970,21 @@ module Infrawrench
3800
3970
  def accounts: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[agent_vm_account]
3801
3971
  end
3802
3972
 
3973
+ class AlertRulesDeliveriesNamespace
3974
+ def initialize: (Transport) -> void
3975
+ def ack: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "acknowledged" => bool, ?"alreadyAcknowledgedBy" => String | nil, ?"reason" => "not_pending" | "already_escalated" | "already_acknowledged", ?"title" => String }
3976
+ def cancel: (?org_id: String?, ?body: { "ids" => Array[String] }?, ?request_options: Hash[Symbol, untyped]?) -> { "cancelled" => Integer }
3977
+ def list: (?org_id: String?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> Array[alert_delivery]
3978
+ end
3979
+
3980
+ class AlertRulesNamespace
3981
+ attr_reader deliveries: AlertRulesDeliveriesNamespace
3982
+ def initialize: (Transport) -> void
3983
+ def adopt_defaults: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "rules" => Array[alert_rule], "adopted" => bool }
3984
+ def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> alert_rules_response
3985
+ def update: (?org_id: String?, ?body: { "rules" => Array[alert_rule_input] }?, ?request_options: Hash[Symbol, untyped]?) -> { "rules" => Array[alert_rule] }
3986
+ end
3987
+
3803
3988
  class ApiKeysNamespace
3804
3989
  def initialize: (Transport) -> void
3805
3990
  def create: (body: create_api_key_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> created_api_key
@@ -4129,6 +4314,15 @@ module Infrawrench
4129
4314
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> orphan_list_response
4130
4315
  end
4131
4316
 
4317
+ class OwnershipNamespace
4318
+ def initialize: (Transport) -> void
4319
+ def delete: (resource_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> nil
4320
+ def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> resource_ownership_list_response
4321
+ def members: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> owner_candidate_list_response
4322
+ def resource: (resource_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> resource_ownership_envelope
4323
+ def update: (?org_id: String?, ?body: resource_ownership_patch?, ?request_options: Hash[Symbol, untyped]?) -> (resource_ownership & (Hash[String, untyped] | nil))
4324
+ end
4325
+
4132
4326
  class PagesNamespace
4133
4327
  def initialize: (Transport) -> void
4134
4328
  def create: (body: page_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> page_response
@@ -4341,11 +4535,25 @@ module Infrawrench
4341
4535
  def open: (body: { "accountId" => String }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> { "tunnelId" => String, "localPort" => Integer }
4342
4536
  end
4343
4537
 
4538
+ class StatusNamespace
4539
+ def initialize: (Transport) -> void
4540
+ def get: (slug: String, ?request_options: Hash[Symbol, untyped]?) -> public_status_page
4541
+ end
4542
+
4344
4543
  class StatusIncidentsNamespace
4345
4544
  def initialize: (Transport) -> void
4346
4545
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> org_status_incidents_response
4347
4546
  end
4348
4547
 
4548
+ class StatusPagesNamespace
4549
+ def initialize: (Transport) -> void
4550
+ def create: (?org_id: String?, ?body: status_page_create?, ?request_options: Hash[Symbol, untyped]?) -> status_page
4551
+ def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> nil
4552
+ def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> status_page_list_response
4553
+ def rotate_slug: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> status_page
4554
+ def update: (id: String, ?org_id: String?, ?body: status_page_patch?, ?request_options: Hash[Symbol, untyped]?) -> status_page
4555
+ end
4556
+
4349
4557
  class StorageNamespace
4350
4558
  def initialize: (Transport) -> void
4351
4559
  def delete: (body: storage_path_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
@@ -4417,6 +4625,7 @@ module Infrawrench
4417
4625
  attr_reader access_requests: AccessRequestsNamespace
4418
4626
  attr_reader accounts: AccountsNamespace
4419
4627
  attr_reader agents: AgentsNamespace
4628
+ attr_reader alert_rules: AlertRulesNamespace
4420
4629
  attr_reader api_keys: ApiKeysNamespace
4421
4630
  attr_reader artifacts: ArtifactsNamespace
4422
4631
  attr_reader associations: AssociationsNamespace
@@ -4449,6 +4658,7 @@ module Infrawrench
4449
4658
  attr_reader msteams: MsteamsNamespace
4450
4659
  attr_reader orgs: OrgsNamespace
4451
4660
  attr_reader orphans: OrphansNamespace
4661
+ attr_reader ownership: OwnershipNamespace
4452
4662
  attr_reader pages: PagesNamespace
4453
4663
  attr_reader posture: PostureNamespace
4454
4664
  attr_reader probes: ProbesNamespace
@@ -4464,7 +4674,9 @@ module Infrawrench
4464
4674
  attr_reader ssh_fanout: SshFanoutNamespace
4465
4675
  attr_reader ssh_keys: SshKeysNamespace
4466
4676
  attr_reader ssh_tunnels: SshTunnelsNamespace
4677
+ attr_reader status: StatusNamespace
4467
4678
  attr_reader status_incidents: StatusIncidentsNamespace
4679
+ attr_reader status_pages: StatusPagesNamespace
4468
4680
  attr_reader storage: StorageNamespace
4469
4681
  attr_reader tag_policy: TagPolicyNamespace
4470
4682
  attr_reader team: TeamNamespace
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.43.0
4
+ version: 1.0.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-08-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v0.43.0). Covers the published
14
+ description: Generated Ruby client for the Infrawrench API (v1.0.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.43.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.0.0).
62
62
  test_files: []