infrawrench-sdk 1.44.0 → 1.45.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: 4308ec15b7df8ff800e6652212f117a63e8eaa92595c3f9f64d0fe4dbb3e50b1
4
- data.tar.gz: 9db42671649c3da37d0e028fd1a4899ae69bf0be534d091df571ff62274a8595
3
+ metadata.gz: b9acf07ccf92112baa7afdbfb817dda783f587277c0abf08d06b8fcaea6ce1dc
4
+ data.tar.gz: '081a6b212f96603c4ea64a0cee0de51d4a6c85e2f5359f854b075750f7f1cb35'
5
5
  SHA512:
6
- metadata.gz: 1ddde6dcd40bc1626e7e0783e3a47b5bb978c66461771f70d08905d67084153ea1f085695b46f7076ecfb3d74142997545c7b6605f0534fad4ab0832cf44e964
7
- data.tar.gz: 0bd23f6b804a61a5d03f86037809fb511d0c232565e80fd02c6c2acfeb43755805f2d02013283c14e306aab484848a108fa656817e7df1403395ebdb0dfe88de
6
+ metadata.gz: caa307c1db0c200ada3738e70a776a8c5841b49cd1d53037d212359416931c0993cb57b0de9638312a126386b79dc8f9fe60c1f7db022189c50ea8b9671dd9b6
7
+ data.tar.gz: aff041c155a34d61ab43cd30d1750daed40d3c75c9348a6117d1f0efd21be26d68ec3fbdc092018194aae4401621b58da367025947633d390ed35c6468ce2613
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.44.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.45.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
- 760 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 763 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.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.45.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 1.44.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.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.44.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v1.44.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.45.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.45.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"
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.45.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 1.44.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -5274,6 +5274,36 @@ module Infrawrench
5274
5274
  )
5275
5275
  end
5276
5276
 
5277
+ # Export a saved cost report as a PDF
5278
+ #
5279
+ # The report's chart and totals table for its saved window, rendered
5280
+ # server-side and converted to the org's display currency where configured.
5281
+ #
5282
+ # _Requires permission: `costs:read`._
5283
+ #
5284
+ # GET /api/org/{orgId}/cost-reports/{id}/pdf
5285
+ #
5286
+ # Raises on 404: Not found
5287
+ #
5288
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
5289
+ # constructed with.
5290
+ # @param id [String]
5291
+ # @param tz [String, nil] IANA zone the document's generated-at line is written in, e.g.
5292
+ # `Europe/Berlin`. UTC when absent or unknown.
5293
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
5294
+ # @return [String] Raw response bytes.
5295
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
5296
+ def pdf(id:, org_id: nil, tz: nil, request_options: nil)
5297
+ @transport.request(
5298
+ http_method: "GET",
5299
+ path: "/api/org/{orgId}/cost-reports/{id}/pdf",
5300
+ path_params: { "orgId" => org_id, "id" => id },
5301
+ query: { "tz" => tz },
5302
+ accept: :binary,
5303
+ request_options: request_options
5304
+ )
5305
+ end
5306
+
5277
5307
  # Run a cost report
5278
5308
  #
5279
5309
  # Executes the report's saved config and returns the series, along with the
@@ -6549,6 +6579,36 @@ module Infrawrench
6549
6579
  end
6550
6580
  end
6551
6581
 
6582
+ # `client.dashboard_notifications`
6583
+ class DashboardNotificationsNamespace
6584
+ # @api private
6585
+ # @param transport [Transport]
6586
+ def initialize(transport)
6587
+ @transport = transport
6588
+ end
6589
+
6590
+ # List every dashboard delivery schedule in the organization
6591
+ #
6592
+ # _Requires permission: `dashboards:read`._
6593
+ #
6594
+ # GET /api/org/{orgId}/dashboard-notifications
6595
+ #
6596
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6597
+ # constructed with.
6598
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6599
+ # @return [Array<Hash>] Parsed JSON, shaped as `Array<DashboardNotification>` — see
6600
+ # `sig/infrawrench/sdk.rbs`.
6601
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6602
+ def list(org_id: nil, request_options: nil)
6603
+ @transport.request(
6604
+ http_method: "GET",
6605
+ path: "/api/org/{orgId}/dashboard-notifications",
6606
+ path_params: { "orgId" => org_id },
6607
+ request_options: request_options
6608
+ )
6609
+ end
6610
+ end
6611
+
6552
6612
  # `client.dashboards.default`
6553
6613
  class DashboardsDefaultNamespace
6554
6614
  # @api private
@@ -6578,6 +6638,184 @@ module Infrawrench
6578
6638
  end
6579
6639
  end
6580
6640
 
6641
+ # `client.dashboards.notifications`
6642
+ class DashboardsNotificationsNamespace
6643
+ # @api private
6644
+ # @param transport [Transport]
6645
+ def initialize(transport)
6646
+ @transport = transport
6647
+ end
6648
+
6649
+ # Create a dashboard delivery schedule
6650
+ #
6651
+ # On its cadence the server renders the dashboard as a PDF and sends a short
6652
+ # summary (one line per card with a figure to quote) and a deep link to the
6653
+ # schedule's destinations, with the PDF attached to emails and uploaded to
6654
+ # Slack when `attachPdf` is on.
6655
+ #
6656
+ # _Requires permission: `org:settings:write`._
6657
+ #
6658
+ # POST /api/org/{orgId}/dashboards/{id}/notifications
6659
+ #
6660
+ # Raises on 400: Bad request
6661
+ #
6662
+ # Raises on 404: Not found
6663
+ #
6664
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6665
+ # constructed with.
6666
+ # @param id [String]
6667
+ # @param body [Hash] Request body, shaped as `DashboardNotificationInput`.
6668
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6669
+ # @return [Hash] Parsed JSON, shaped as `DashboardNotification` — see
6670
+ # `sig/infrawrench/sdk.rbs`.
6671
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6672
+ def create(id:, body:, org_id: nil, request_options: nil)
6673
+ @transport.request(
6674
+ http_method: "POST",
6675
+ path: "/api/org/{orgId}/dashboards/{id}/notifications",
6676
+ path_params: { "orgId" => org_id, "id" => id },
6677
+ body: body,
6678
+ request_options: request_options
6679
+ )
6680
+ end
6681
+
6682
+ # Delete a dashboard delivery schedule
6683
+ #
6684
+ # _Requires permission: `org:settings:write`._
6685
+ #
6686
+ # DELETE /api/org/{orgId}/dashboards/{id}/notifications/{notificationId}
6687
+ #
6688
+ # Raises on 404: Not found
6689
+ #
6690
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6691
+ # constructed with.
6692
+ # @param id [String]
6693
+ # @param notification_id [String]
6694
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6695
+ # @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
6696
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6697
+ def delete(id:, notification_id:, org_id: nil, request_options: nil)
6698
+ @transport.request(
6699
+ http_method: "DELETE",
6700
+ path: "/api/org/{orgId}/dashboards/{id}/notifications/{notificationId}",
6701
+ path_params: { "orgId" => org_id, "id" => id, "notificationId" => notification_id },
6702
+ request_options: request_options
6703
+ )
6704
+ end
6705
+
6706
+ # List a dashboard's delivery schedules
6707
+ #
6708
+ # _Requires permission: `dashboards:read`._
6709
+ #
6710
+ # GET /api/org/{orgId}/dashboards/{id}/notifications
6711
+ #
6712
+ # Raises on 404: Not found
6713
+ #
6714
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6715
+ # constructed with.
6716
+ # @param id [String]
6717
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6718
+ # @return [Array<Hash>] Parsed JSON, shaped as `Array<DashboardNotification>` — see
6719
+ # `sig/infrawrench/sdk.rbs`.
6720
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6721
+ def list(id:, org_id: nil, request_options: nil)
6722
+ @transport.request(
6723
+ http_method: "GET",
6724
+ path: "/api/org/{orgId}/dashboards/{id}/notifications",
6725
+ path_params: { "orgId" => org_id, "id" => id },
6726
+ request_options: request_options
6727
+ )
6728
+ end
6729
+
6730
+ # Send a dashboard schedule now
6731
+ #
6732
+ # Renders and delivers immediately, ignoring the schedule and its enabled
6733
+ # flag. Fails with a 400 naming the reason when nothing could be delivered.
6734
+ #
6735
+ # _Requires permission: `org:settings:write`._
6736
+ #
6737
+ # POST /api/org/{orgId}/dashboards/{id}/notifications/{notificationId}/send
6738
+ #
6739
+ # Raises on 400: Bad request
6740
+ #
6741
+ # Raises on 404: Not found
6742
+ #
6743
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6744
+ # constructed with.
6745
+ # @param id [String]
6746
+ # @param notification_id [String]
6747
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6748
+ # @return [Hash] Parsed JSON, shaped as `DashboardNotificationSendResult` — see
6749
+ # `sig/infrawrench/sdk.rbs`.
6750
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6751
+ def post_org_org_id_dashboards_id_notifications_notification_id_send(
6752
+ id:,
6753
+ notification_id:,
6754
+ org_id: nil,
6755
+ request_options: nil
6756
+ )
6757
+ @transport.request(
6758
+ http_method: "POST",
6759
+ path: "/api/org/{orgId}/dashboards/{id}/notifications/{notificationId}/send",
6760
+ path_params: { "orgId" => org_id, "id" => id, "notificationId" => notification_id },
6761
+ request_options: request_options
6762
+ )
6763
+ end
6764
+
6765
+ # List the destinations a dashboard schedule can deliver to
6766
+ #
6767
+ # _Requires permission: `org:settings:write`._
6768
+ #
6769
+ # GET /api/org/{orgId}/dashboards/{id}/notifications/targets
6770
+ #
6771
+ # Raises on 404: Not found
6772
+ #
6773
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6774
+ # constructed with.
6775
+ # @param id [String]
6776
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6777
+ # @return [Hash] Parsed JSON, shaped as `ReportDeliveryTargets` — see
6778
+ # `sig/infrawrench/sdk.rbs`.
6779
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6780
+ def targets(id:, org_id: nil, request_options: nil)
6781
+ @transport.request(
6782
+ http_method: "GET",
6783
+ path: "/api/org/{orgId}/dashboards/{id}/notifications/targets",
6784
+ path_params: { "orgId" => org_id, "id" => id },
6785
+ request_options: request_options
6786
+ )
6787
+ end
6788
+
6789
+ # Update a dashboard delivery schedule
6790
+ #
6791
+ # _Requires permission: `org:settings:write`._
6792
+ #
6793
+ # PUT /api/org/{orgId}/dashboards/{id}/notifications/{notificationId}
6794
+ #
6795
+ # Raises on 400: Bad request
6796
+ #
6797
+ # Raises on 404: Not found
6798
+ #
6799
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
6800
+ # constructed with.
6801
+ # @param id [String]
6802
+ # @param notification_id [String]
6803
+ # @param body [Hash] Request body, shaped as `DashboardNotificationInput`.
6804
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
6805
+ # @return [Hash] Parsed JSON, shaped as `DashboardNotification` — see
6806
+ # `sig/infrawrench/sdk.rbs`.
6807
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
6808
+ def update(id:, notification_id:, body:, org_id: nil, request_options: nil)
6809
+ @transport.request(
6810
+ http_method: "PUT",
6811
+ path: "/api/org/{orgId}/dashboards/{id}/notifications/{notificationId}",
6812
+ path_params: { "orgId" => org_id, "id" => id, "notificationId" => notification_id },
6813
+ body: body,
6814
+ request_options: request_options
6815
+ )
6816
+ end
6817
+ end
6818
+
6581
6819
  # `client.dashboards.pin`
6582
6820
  class DashboardsPinNamespace
6583
6821
  # @api private
@@ -6749,6 +6987,8 @@ module Infrawrench
6749
6987
  class DashboardsNamespace
6750
6988
  # @return [DashboardsDefaultNamespace] `client.dashboards.default`
6751
6989
  attr_reader :default
6990
+ # @return [DashboardsNotificationsNamespace] `client.dashboards.notifications`
6991
+ attr_reader :notifications
6752
6992
  # @return [DashboardsPinNamespace] `client.dashboards.pin`
6753
6993
  attr_reader :pin
6754
6994
  # @return [DashboardsWidgetsNamespace] `client.dashboards.widgets`
@@ -6759,6 +6999,7 @@ module Infrawrench
6759
6999
  def initialize(transport)
6760
7000
  @transport = transport
6761
7001
  @default = DashboardsDefaultNamespace.new(@transport)
7002
+ @notifications = DashboardsNotificationsNamespace.new(@transport)
6762
7003
  @pin = DashboardsPinNamespace.new(@transport)
6763
7004
  @widgets = DashboardsWidgetsNamespace.new(@transport)
6764
7005
  end
@@ -6856,6 +7097,40 @@ module Infrawrench
6856
7097
  )
6857
7098
  end
6858
7099
 
7100
+ # Export a dashboard as a PDF
7101
+ #
7102
+ # Renders every card server-side: cost graphs and saved reports (chart plus
7103
+ # a totals table, converted to the org's display currency where configured),
7104
+ # budgets (spend against the amount, forecast and thresholds), custom graphs
7105
+ # (including their KPI and table forms) and pinned resources and workflows.
7106
+ # Cost cards need `costs:read` as well and are replaced by a note without
7107
+ # it. A card that fails renders its error in place.
7108
+ #
7109
+ # _Requires permission: `dashboards:read`._
7110
+ #
7111
+ # GET /api/org/{orgId}/dashboards/{id}/pdf
7112
+ #
7113
+ # Raises on 404: Not found
7114
+ #
7115
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
7116
+ # constructed with.
7117
+ # @param id [String]
7118
+ # @param tz [String, nil] IANA zone the document's generated-at line is written in, e.g.
7119
+ # `Europe/Berlin`. UTC when absent or unknown.
7120
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
7121
+ # @return [String] Raw response bytes.
7122
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
7123
+ def pdf(id:, org_id: nil, tz: nil, request_options: nil)
7124
+ @transport.request(
7125
+ http_method: "GET",
7126
+ path: "/api/org/{orgId}/dashboards/{id}/pdf",
7127
+ path_params: { "orgId" => org_id, "id" => id },
7128
+ query: { "tz" => tz },
7129
+ accept: :binary,
7130
+ request_options: request_options
7131
+ )
7132
+ end
7133
+
6859
7134
  # Read cached stats/metrics for dashboard cards
6860
7135
  #
6861
7136
  # _Requires permission: `dashboards:read`._
@@ -17084,6 +17359,8 @@ module Infrawrench
17084
17359
  attr_reader :currency
17085
17360
  # @return [CustomGraphsNamespace] `client.custom_graphs`
17086
17361
  attr_reader :custom_graphs
17362
+ # @return [DashboardNotificationsNamespace] `client.dashboard_notifications`
17363
+ attr_reader :dashboard_notifications
17087
17364
  # @return [DashboardsNamespace] `client.dashboards`
17088
17365
  attr_reader :dashboards
17089
17366
  # @return [DependencyGraphNamespace] `client.dependency_graph`
@@ -17248,6 +17525,7 @@ module Infrawrench
17248
17525
  @credits = CreditsNamespace.new(@transport)
17249
17526
  @currency = CurrencyNamespace.new(@transport)
17250
17527
  @custom_graphs = CustomGraphsNamespace.new(@transport)
17528
+ @dashboard_notifications = DashboardNotificationsNamespace.new(@transport)
17251
17529
  @dashboards = DashboardsNamespace.new(@transport)
17252
17530
  @dependency_graph = DependencyGraphNamespace.new(@transport)
17253
17531
  @deployments = DeploymentsNamespace.new(@transport)
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.45.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 1.44.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.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.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.45.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 1.44.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.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.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.45.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 1.44.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.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.44.0"
18
+ VERSION = "1.45.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.45.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 1.44.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.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.44.0 | MIT | Copyright (c) 2026 Infrawrench LLC
1
+ # infrawrench-sdk v1.45.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 1.44.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.45.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -2556,6 +2556,57 @@ module Infrawrench
2556
2556
  "syncVersion" => Integer
2557
2557
  }
2558
2558
 
2559
+ # Spec schema: `DashboardNotification`.
2560
+ type dashboard_notification = {
2561
+ "id" => String,
2562
+ "dashboardId" => String,
2563
+ "cadence" => "daily" | "weekly" | "monthly",
2564
+ "sendDay" => Integer,
2565
+ "sendDayOfMonth" => Integer,
2566
+ "hour" => Integer,
2567
+ "timezone" => String,
2568
+ "slackChannelIds" => Array[String],
2569
+ "teamsWebhookIds" => Array[String],
2570
+ "emailRecipients" => Array[String],
2571
+ "enabled" => bool,
2572
+ "attachPdf" => bool,
2573
+ "nextSendAt" => String | nil,
2574
+ "lastSentAt" => String | nil,
2575
+ "lastStatus" => "pending" | "succeeded" | "partial" | "failed" | "no_targets" | nil,
2576
+ "lastError" => String | nil,
2577
+ "createdByUserId" => String | nil,
2578
+ "createdAt" => String,
2579
+ "updatedAt" => String
2580
+ }
2581
+
2582
+ # A full replace. At least one destination is required. The same schedule
2583
+ # shape as a cost report's delivery schedule, plus `attachPdf`.
2584
+ #
2585
+ # Spec schema: `DashboardNotificationInput`.
2586
+ type dashboard_notification_input = {
2587
+ "cadence" => "daily" | "weekly" | "monthly",
2588
+ ?"sendDay" => Integer,
2589
+ ?"sendDayOfMonth" => Integer,
2590
+ "hour" => Integer,
2591
+ "timezone" => String,
2592
+ "slackChannelIds" => Array[String],
2593
+ "teamsWebhookIds" => Array[String],
2594
+ "emailRecipients" => Array[String],
2595
+ "enabled" => bool,
2596
+ ?"attachPdf" => bool
2597
+ }
2598
+
2599
+ # Spec schema: `DashboardNotificationSendResult`.
2600
+ type dashboard_notification_send_result = {
2601
+ "attempted" => Integer,
2602
+ "succeeded" => Integer,
2603
+ "slack" => { "attempted" => Integer, "succeeded" => Integer },
2604
+ "teams" => { "attempted" => Integer, "succeeded" => Integer },
2605
+ "email" => { "attempted" => Integer, "succeeded" => Integer },
2606
+ "pdfAttached" => bool,
2607
+ "slackFilesUploaded" => Integer
2608
+ }
2609
+
2559
2610
  # Spec schema: `DashboardPin`.
2560
2611
  type dashboard_pin = {
2561
2612
  "pinId" => String,
@@ -5249,6 +5300,7 @@ module Infrawrench
5249
5300
  | "gemini"
5250
5301
  | "github"
5251
5302
  | "gladia"
5303
+ | "grafana-cloud"
5252
5304
  | "groq"
5253
5305
  | "hetzner"
5254
5306
  | "kafka"
@@ -5968,6 +6020,7 @@ module Infrawrench
5968
6020
  type resource_type_id = "access-application"
5969
6021
  | "access-key"
5970
6022
  | "access-policy"
6023
+ | "access-policy-token"
5971
6024
  | "account"
5972
6025
  | "acm-certificate"
5973
6026
  | "actions-cache"
@@ -5983,6 +6036,7 @@ module Infrawrench
5983
6036
  | "alert"
5984
6037
  | "alert-configuration"
5985
6038
  | "alert-policy"
6039
+ | "alert-rule"
5986
6040
  | "alignment-job"
5987
6041
  | "alloydb-cluster"
5988
6042
  | "alloydb-instance"
@@ -6107,6 +6161,7 @@ module Infrawrench
6107
6161
  | "connection"
6108
6162
  | "connectivity-rule"
6109
6163
  | "connector"
6164
+ | "contact-point"
6110
6165
  | "container"
6111
6166
  | "container-registry"
6112
6167
  | "context"
@@ -6147,6 +6202,7 @@ module Infrawrench
6147
6202
  | "databricks-workspace-object"
6148
6203
  | "dataflow-job"
6149
6204
  | "dataset"
6205
+ | "datasource"
6150
6206
  | "db-subnet-group"
6151
6207
  | "db-user"
6152
6208
  | "dedicated-inference"
@@ -6498,6 +6554,8 @@ module Infrawrench
6498
6554
  | "ssh-target"
6499
6555
  | "ssl-certificate"
6500
6556
  | "ssm-parameter"
6557
+ | "stack"
6558
+ | "stack-plugin"
6501
6559
  | "stackscript"
6502
6560
  | "static-ip"
6503
6561
  | "step-function"
@@ -6505,6 +6563,7 @@ module Infrawrench
6505
6563
  | "subaccount"
6506
6564
  | "subnet"
6507
6565
  | "supervised-fine-tuning-job"
6566
+ | "synthetic-check"
6508
6567
  | "tailnet"
6509
6568
  | "target-group"
6510
6569
  | "tco-policy"
@@ -8316,6 +8375,7 @@ module Infrawrench
8316
8375
  def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
8317
8376
  def get: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> cost_report
8318
8377
  def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[cost_report]
8378
+ def pdf: (id: String, ?org_id: String?, ?tz: String?, ?request_options: Hash[Symbol, untyped]?) -> String
8319
8379
  def run: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> cost_report_run_result
8320
8380
  def update: (id: String, body: cost_report_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> cost_report
8321
8381
  end
@@ -8409,11 +8469,26 @@ module Infrawrench
8409
8469
  def update: (id: String, body: custom_graph_update, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> custom_graph_full
8410
8470
  end
8411
8471
 
8472
+ class DashboardNotificationsNamespace
8473
+ def initialize: (Transport) -> void
8474
+ def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[dashboard_notification]
8475
+ end
8476
+
8412
8477
  class DashboardsDefaultNamespace
8413
8478
  def initialize: (Transport) -> void
8414
8479
  def full: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_with_pins
8415
8480
  end
8416
8481
 
8482
+ class DashboardsNotificationsNamespace
8483
+ def initialize: (Transport) -> void
8484
+ def create: (id: String, body: dashboard_notification_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_notification
8485
+ def delete: (id: String, notification_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
8486
+ def list: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[dashboard_notification]
8487
+ def post_org_org_id_dashboards_id_notifications_notification_id_send: (id: String, notification_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_notification_send_result
8488
+ def targets: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> report_delivery_targets
8489
+ def update: (id: String, notification_id: String, body: dashboard_notification_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_notification
8490
+ end
8491
+
8417
8492
  class DashboardsPinNamespace
8418
8493
  def initialize: (Transport) -> void
8419
8494
  def create: (body: pin_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
@@ -8430,6 +8505,7 @@ module Infrawrench
8430
8505
 
8431
8506
  class DashboardsNamespace
8432
8507
  attr_reader default: DashboardsDefaultNamespace
8508
+ attr_reader notifications: DashboardsNotificationsNamespace
8433
8509
  attr_reader pin: DashboardsPinNamespace
8434
8510
  attr_reader widgets: DashboardsWidgetsNamespace
8435
8511
  def initialize: (Transport) -> void
@@ -8437,6 +8513,7 @@ module Infrawrench
8437
8513
  def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
8438
8514
  def get: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_with_pins
8439
8515
  def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[dashboard]
8516
+ def pdf: (id: String, ?org_id: String?, ?tz: String?, ?request_options: Hash[Symbol, untyped]?) -> String
8440
8517
  def probe: (body: probe_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Hash[String, probe_status]
8441
8518
  def rename: (id: String, body: { "name" => String }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
8442
8519
  def reorder: (id: String, body: reorder_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
@@ -9234,6 +9311,7 @@ module Infrawrench
9234
9311
  attr_reader credits: CreditsNamespace
9235
9312
  attr_reader currency: CurrencyNamespace
9236
9313
  attr_reader custom_graphs: CustomGraphsNamespace
9314
+ attr_reader dashboard_notifications: DashboardNotificationsNamespace
9237
9315
  attr_reader dashboards: DashboardsNamespace
9238
9316
  attr_reader dependency_graph: DependencyGraphNamespace
9239
9317
  attr_reader deployments: DeploymentsNamespace
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.44.0
4
+ version: 1.45.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-10-04 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.44.0). Covers the published
14
+ description: Generated Ruby client for the Infrawrench API (v1.45.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 (v1.44.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.45.0).
62
62
  test_files: []