infrawrench-sdk 1.44.0 → 1.46.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 +280 -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 +87 -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: 9262d49ecfdfc6260493f13c67799469cecf8d5352a986e3aaef13c71f103a7f
|
|
4
|
+
data.tar.gz: 37fe5fdfc05ac17a443360af60cd5a36e8f781656414b4e6277ba7b49bcffd20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b5da21c7079d4a6baaf0b6adfde27c59f9424cfbc0edef65b38bc18cab465038510b7f8f5d7d5351c2c30a8f5031f0f458591bc518d158848ce83d8a2ca74f8
|
|
7
|
+
data.tar.gz: 839ea833e473d3af42a1ad9c746728ea615da06276e530d3d6f7793efc55cd5eb82f423b0b18574db61fc356a991f6150ed367c95a0c51e7022941cc8dde8eae
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# infrawrench-sdk
|
|
2
2
|
|
|
3
|
-
Generated Ruby client for the Infrawrench API (API version `1.
|
|
3
|
+
Generated Ruby client for the Infrawrench API (API version `1.46.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
|
+
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 —
|
data/infrawrench-sdk.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.46.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.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -17,8 +17,8 @@ require_relative "lib/infrawrench/version"
|
|
|
17
17
|
Gem::Specification.new do |spec|
|
|
18
18
|
spec.name = "infrawrench-sdk"
|
|
19
19
|
spec.version = Infrawrench::VERSION
|
|
20
|
-
spec.summary = "Generated Ruby client for the Infrawrench API (v1.
|
|
21
|
-
spec.description = "Generated Ruby client for the Infrawrench API (v1.
|
|
20
|
+
spec.summary = "Generated Ruby client for the Infrawrench API (v1.46.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.46.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 v1.
|
|
3
|
+
# infrawrench-sdk v1.46.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.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.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)
|
data/lib/infrawrench/sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.46.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.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.46.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.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/lib/infrawrench/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.46.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.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
# Kept in its own file so the gemspec can read the version without loading the
|
|
16
16
|
# client — a gemspec that pulls in net/http is a gemspec that can fail to parse.
|
|
17
17
|
module Infrawrench
|
|
18
|
-
VERSION = "1.
|
|
18
|
+
VERSION = "1.46.0"
|
|
19
19
|
end
|
data/lib/infrawrench-sdk.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# infrawrench-sdk v1.
|
|
3
|
+
# infrawrench-sdk v1.46.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.
|
|
6
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
data/sig/infrawrench/sdk.rbs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# infrawrench-sdk v1.
|
|
1
|
+
# infrawrench-sdk v1.46.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.
|
|
4
|
+
# Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.46.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"
|
|
@@ -5263,6 +5315,7 @@ module Infrawrench
|
|
|
5263
5315
|
| "mysql"
|
|
5264
5316
|
| "neon"
|
|
5265
5317
|
| "netlify"
|
|
5318
|
+
| "newrelic"
|
|
5266
5319
|
| "openai"
|
|
5267
5320
|
| "openrouter"
|
|
5268
5321
|
| "opensearch"
|
|
@@ -5968,6 +6021,7 @@ module Infrawrench
|
|
|
5968
6021
|
type resource_type_id = "access-application"
|
|
5969
6022
|
| "access-key"
|
|
5970
6023
|
| "access-policy"
|
|
6024
|
+
| "access-policy-token"
|
|
5971
6025
|
| "account"
|
|
5972
6026
|
| "acm-certificate"
|
|
5973
6027
|
| "actions-cache"
|
|
@@ -5981,8 +6035,10 @@ module Infrawrench
|
|
|
5981
6035
|
| "ai-search"
|
|
5982
6036
|
| "alb"
|
|
5983
6037
|
| "alert"
|
|
6038
|
+
| "alert-condition"
|
|
5984
6039
|
| "alert-configuration"
|
|
5985
6040
|
| "alert-policy"
|
|
6041
|
+
| "alert-rule"
|
|
5986
6042
|
| "alignment-job"
|
|
5987
6043
|
| "alloydb-cluster"
|
|
5988
6044
|
| "alloydb-instance"
|
|
@@ -5990,6 +6046,7 @@ module Infrawrench
|
|
|
5990
6046
|
| "api-gateway"
|
|
5991
6047
|
| "api-key"
|
|
5992
6048
|
| "api-token"
|
|
6049
|
+
| "apm-application"
|
|
5993
6050
|
| "app"
|
|
5994
6051
|
| "app-engine-service"
|
|
5995
6052
|
| "app-secret"
|
|
@@ -6059,6 +6116,7 @@ module Infrawrench
|
|
|
6059
6116
|
| "billing-group"
|
|
6060
6117
|
| "block-volume"
|
|
6061
6118
|
| "boot-volume"
|
|
6119
|
+
| "browser-application"
|
|
6062
6120
|
| "bucket"
|
|
6063
6121
|
| "budget"
|
|
6064
6122
|
| "budget-alert-rule"
|
|
@@ -6107,6 +6165,7 @@ module Infrawrench
|
|
|
6107
6165
|
| "connection"
|
|
6108
6166
|
| "connectivity-rule"
|
|
6109
6167
|
| "connector"
|
|
6168
|
+
| "contact-point"
|
|
6110
6169
|
| "container"
|
|
6111
6170
|
| "container-registry"
|
|
6112
6171
|
| "context"
|
|
@@ -6147,6 +6206,7 @@ module Infrawrench
|
|
|
6147
6206
|
| "databricks-workspace-object"
|
|
6148
6207
|
| "dataflow-job"
|
|
6149
6208
|
| "dataset"
|
|
6209
|
+
| "datasource"
|
|
6150
6210
|
| "db-subnet-group"
|
|
6151
6211
|
| "db-user"
|
|
6152
6212
|
| "dedicated-inference"
|
|
@@ -6242,6 +6302,7 @@ module Infrawrench
|
|
|
6242
6302
|
| "health-check"
|
|
6243
6303
|
| "healthcheck"
|
|
6244
6304
|
| "history-item"
|
|
6305
|
+
| "host"
|
|
6245
6306
|
| "hosted-runner"
|
|
6246
6307
|
| "hyperdrive"
|
|
6247
6308
|
| "iam-role"
|
|
@@ -6498,6 +6559,8 @@ module Infrawrench
|
|
|
6498
6559
|
| "ssh-target"
|
|
6499
6560
|
| "ssl-certificate"
|
|
6500
6561
|
| "ssm-parameter"
|
|
6562
|
+
| "stack"
|
|
6563
|
+
| "stack-plugin"
|
|
6501
6564
|
| "stackscript"
|
|
6502
6565
|
| "static-ip"
|
|
6503
6566
|
| "step-function"
|
|
@@ -6505,6 +6568,8 @@ module Infrawrench
|
|
|
6505
6568
|
| "subaccount"
|
|
6506
6569
|
| "subnet"
|
|
6507
6570
|
| "supervised-fine-tuning-job"
|
|
6571
|
+
| "synthetic-check"
|
|
6572
|
+
| "synthetic-monitor"
|
|
6508
6573
|
| "tailnet"
|
|
6509
6574
|
| "target-group"
|
|
6510
6575
|
| "tco-policy"
|
|
@@ -6573,6 +6638,7 @@ module Infrawrench
|
|
|
6573
6638
|
| "worker-route"
|
|
6574
6639
|
| "workers-ai-model"
|
|
6575
6640
|
| "workflow"
|
|
6641
|
+
| "workload"
|
|
6576
6642
|
| "workspace"
|
|
6577
6643
|
| "workspace-member"
|
|
6578
6644
|
| "zone"
|
|
@@ -8316,6 +8382,7 @@ module Infrawrench
|
|
|
8316
8382
|
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8317
8383
|
def get: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> cost_report
|
|
8318
8384
|
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[cost_report]
|
|
8385
|
+
def pdf: (id: String, ?org_id: String?, ?tz: String?, ?request_options: Hash[Symbol, untyped]?) -> String
|
|
8319
8386
|
def run: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> cost_report_run_result
|
|
8320
8387
|
def update: (id: String, body: cost_report_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> cost_report
|
|
8321
8388
|
end
|
|
@@ -8409,11 +8476,26 @@ module Infrawrench
|
|
|
8409
8476
|
def update: (id: String, body: custom_graph_update, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> custom_graph_full
|
|
8410
8477
|
end
|
|
8411
8478
|
|
|
8479
|
+
class DashboardNotificationsNamespace
|
|
8480
|
+
def initialize: (Transport) -> void
|
|
8481
|
+
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[dashboard_notification]
|
|
8482
|
+
end
|
|
8483
|
+
|
|
8412
8484
|
class DashboardsDefaultNamespace
|
|
8413
8485
|
def initialize: (Transport) -> void
|
|
8414
8486
|
def full: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_with_pins
|
|
8415
8487
|
end
|
|
8416
8488
|
|
|
8489
|
+
class DashboardsNotificationsNamespace
|
|
8490
|
+
def initialize: (Transport) -> void
|
|
8491
|
+
def create: (id: String, body: dashboard_notification_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_notification
|
|
8492
|
+
def delete: (id: String, notification_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8493
|
+
def list: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[dashboard_notification]
|
|
8494
|
+
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
|
|
8495
|
+
def targets: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> report_delivery_targets
|
|
8496
|
+
def update: (id: String, notification_id: String, body: dashboard_notification_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_notification
|
|
8497
|
+
end
|
|
8498
|
+
|
|
8417
8499
|
class DashboardsPinNamespace
|
|
8418
8500
|
def initialize: (Transport) -> void
|
|
8419
8501
|
def create: (body: pin_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
@@ -8430,6 +8512,7 @@ module Infrawrench
|
|
|
8430
8512
|
|
|
8431
8513
|
class DashboardsNamespace
|
|
8432
8514
|
attr_reader default: DashboardsDefaultNamespace
|
|
8515
|
+
attr_reader notifications: DashboardsNotificationsNamespace
|
|
8433
8516
|
attr_reader pin: DashboardsPinNamespace
|
|
8434
8517
|
attr_reader widgets: DashboardsWidgetsNamespace
|
|
8435
8518
|
def initialize: (Transport) -> void
|
|
@@ -8437,6 +8520,7 @@ module Infrawrench
|
|
|
8437
8520
|
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8438
8521
|
def get: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> dashboard_with_pins
|
|
8439
8522
|
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[dashboard]
|
|
8523
|
+
def pdf: (id: String, ?org_id: String?, ?tz: String?, ?request_options: Hash[Symbol, untyped]?) -> String
|
|
8440
8524
|
def probe: (body: probe_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Hash[String, probe_status]
|
|
8441
8525
|
def rename: (id: String, body: { "name" => String }, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
8442
8526
|
def reorder: (id: String, body: reorder_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
@@ -9234,6 +9318,7 @@ module Infrawrench
|
|
|
9234
9318
|
attr_reader credits: CreditsNamespace
|
|
9235
9319
|
attr_reader currency: CurrencyNamespace
|
|
9236
9320
|
attr_reader custom_graphs: CustomGraphsNamespace
|
|
9321
|
+
attr_reader dashboard_notifications: DashboardNotificationsNamespace
|
|
9237
9322
|
attr_reader dashboards: DashboardsNamespace
|
|
9238
9323
|
attr_reader dependency_graph: DependencyGraphNamespace
|
|
9239
9324
|
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.
|
|
4
|
+
version: 1.46.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.
|
|
14
|
+
description: Generated Ruby client for the Infrawrench API (v1.46.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.
|
|
61
|
+
summary: Generated Ruby client for the Infrawrench API (v1.46.0).
|
|
62
62
|
test_files: []
|