infrawrench-sdk 1.28.0 → 1.29.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 +141 -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 +97 -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: 5c362846225df8931e2bd779cc2f9dcce4145e43951c34bfe62a61711939cb91
|
|
4
|
+
data.tar.gz: 9bb8c9b3cf1cf4faf6464a00519ef4f5e8572920d9c90226e46aef5890bf7545
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cde1ebf5a67b74bdc9f529ed386abbd581e3bec55c04bc36c80313eb8935f37c8ae30cfcd20af960d04e2b26a388b319699f3e1b4a83df6dd57c9925f31fd74d
|
|
7
|
+
data.tar.gz: fc6dbab1201c0794c74ecefa9d5f72d43f9404dfd76558587eb190d4a05f2ffe2f0e8ccc6a0710dbdf16cc31991894eb8bc85b2de258d6b28830a2db24a8491a
|
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.29.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
|
+
686 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.29.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.29.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.29.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.29.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.29.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.29.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -2762,6 +2762,142 @@ module Infrawrench
|
|
|
2762
2762
|
end
|
|
2763
2763
|
end
|
|
2764
2764
|
|
|
2765
|
+
# `client.calendar.subscriptions`
|
|
2766
|
+
class CalendarSubscriptionsNamespace
|
|
2767
|
+
# @api private
|
|
2768
|
+
# @param transport [Transport]
|
|
2769
|
+
def initialize(transport)
|
|
2770
|
+
@transport = transport
|
|
2771
|
+
end
|
|
2772
|
+
|
|
2773
|
+
# Mint an iCalendar subscription URL
|
|
2774
|
+
#
|
|
2775
|
+
# Returns the only copy of the feed URL. The token in it is 32 random bytes,
|
|
2776
|
+
# stored as a SHA-256 hash, and is the sole credential on a route that runs
|
|
2777
|
+
# outside every auth layer — treat the URL as a secret. The URL deliberately
|
|
2778
|
+
# contains no organization id.
|
|
2779
|
+
#
|
|
2780
|
+
# An organization may hold 25 live subscriptions; revoking makes room.
|
|
2781
|
+
#
|
|
2782
|
+
# POST /api/org/{orgId}/calendar/subscriptions
|
|
2783
|
+
#
|
|
2784
|
+
# Raises on 400: Bad request
|
|
2785
|
+
#
|
|
2786
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2787
|
+
# constructed with.
|
|
2788
|
+
# @param body [Hash, nil] Request body, shaped as `CalendarSubscriptionCreate`.
|
|
2789
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2790
|
+
# @return [Hash] Parsed JSON, shaped as `CalendarSubscription` — see
|
|
2791
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
2792
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2793
|
+
def create(org_id: nil, body: nil, request_options: nil)
|
|
2794
|
+
@transport.request(
|
|
2795
|
+
http_method: "POST",
|
|
2796
|
+
path: "/api/org/{orgId}/calendar/subscriptions",
|
|
2797
|
+
path_params: { "orgId" => org_id },
|
|
2798
|
+
body: body,
|
|
2799
|
+
request_options: request_options
|
|
2800
|
+
)
|
|
2801
|
+
end
|
|
2802
|
+
|
|
2803
|
+
# Revoke an iCalendar subscription
|
|
2804
|
+
#
|
|
2805
|
+
# The URL stops working immediately. The row is kept, and revoking twice is
|
|
2806
|
+
# not an error.
|
|
2807
|
+
#
|
|
2808
|
+
# DELETE /api/org/{orgId}/calendar/subscriptions/{subscriptionId}
|
|
2809
|
+
#
|
|
2810
|
+
# Raises on 404: Not found
|
|
2811
|
+
#
|
|
2812
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2813
|
+
# constructed with.
|
|
2814
|
+
# @param subscription_id [String]
|
|
2815
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2816
|
+
# @return [Hash] Parsed JSON, shaped as `CalendarSubscription` — see
|
|
2817
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
2818
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2819
|
+
def delete(subscription_id:, org_id: nil, request_options: nil)
|
|
2820
|
+
@transport.request(
|
|
2821
|
+
http_method: "DELETE",
|
|
2822
|
+
path: "/api/org/{orgId}/calendar/subscriptions/{subscriptionId}",
|
|
2823
|
+
path_params: { "orgId" => org_id, "subscriptionId" => subscription_id },
|
|
2824
|
+
request_options: request_options
|
|
2825
|
+
)
|
|
2826
|
+
end
|
|
2827
|
+
|
|
2828
|
+
# List the organization's iCalendar subscriptions
|
|
2829
|
+
#
|
|
2830
|
+
# Feed URLs that have been minted, including revoked ones — a revoked row is
|
|
2831
|
+
# kept so the audit trail still resolves. The token itself is never
|
|
2832
|
+
# returned.
|
|
2833
|
+
#
|
|
2834
|
+
# GET /api/org/{orgId}/calendar/subscriptions
|
|
2835
|
+
#
|
|
2836
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2837
|
+
# constructed with.
|
|
2838
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2839
|
+
# @return [Hash] Parsed JSON, shaped as `CalendarSubscriptionList` — see
|
|
2840
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
2841
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2842
|
+
def get(org_id: nil, request_options: nil)
|
|
2843
|
+
@transport.request(
|
|
2844
|
+
http_method: "GET",
|
|
2845
|
+
path: "/api/org/{orgId}/calendar/subscriptions",
|
|
2846
|
+
path_params: { "orgId" => org_id },
|
|
2847
|
+
request_options: request_options
|
|
2848
|
+
)
|
|
2849
|
+
end
|
|
2850
|
+
end
|
|
2851
|
+
|
|
2852
|
+
# `client.calendar`
|
|
2853
|
+
class CalendarNamespace
|
|
2854
|
+
# @return [CalendarSubscriptionsNamespace] `client.calendar.subscriptions`
|
|
2855
|
+
attr_reader :subscriptions
|
|
2856
|
+
|
|
2857
|
+
# @api private
|
|
2858
|
+
# @param transport [Transport]
|
|
2859
|
+
def initialize(transport)
|
|
2860
|
+
@transport = transport
|
|
2861
|
+
@subscriptions = CalendarSubscriptionsNamespace.new(@transport)
|
|
2862
|
+
end
|
|
2863
|
+
|
|
2864
|
+
# List dated operational events in a window
|
|
2865
|
+
#
|
|
2866
|
+
# One time axis over six things the organization already stores: change
|
|
2867
|
+
# freezes, sleep/wake schedules, declared deadlines (certificates, domains,
|
|
2868
|
+
# keys and resource leases), commitment term ends, cron-triggered workflow
|
|
2869
|
+
# runs, and declared incidents. Nothing here is a new record — the calendar
|
|
2870
|
+
# is recomputed on every read, exactly as posture findings and backup
|
|
2871
|
+
# coverage are.
|
|
2872
|
+
#
|
|
2873
|
+
# The window defaults to the last 7 and next 35 days and may span at most
|
|
2874
|
+
# 400. Recurring sources are expanded to at most 400 occurrences each, so
|
|
2875
|
+
# one nightly schedule cannot flood a year-long query.
|
|
2876
|
+
#
|
|
2877
|
+
# GET /api/org/{orgId}/calendar
|
|
2878
|
+
#
|
|
2879
|
+
# Raises on 400: Bad request
|
|
2880
|
+
#
|
|
2881
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
2882
|
+
# constructed with.
|
|
2883
|
+
# @param from [String, nil] Inclusive lower bound. Defaults to 7 days ago.
|
|
2884
|
+
# @param to [String, nil] Exclusive upper bound. Defaults to 35 days ahead.
|
|
2885
|
+
# @param kinds [String, nil] Comma-separated `CalendarEventKind`s. Unknown members are
|
|
2886
|
+
# ignored rather than rejected; omitting the parameter returns every kind.
|
|
2887
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
2888
|
+
# @return [Hash] Parsed JSON, shaped as `CalendarResponse` — see `sig/infrawrench/sdk.rbs`.
|
|
2889
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
2890
|
+
def get(org_id: nil, from: nil, to: nil, kinds: nil, request_options: nil)
|
|
2891
|
+
@transport.request(
|
|
2892
|
+
http_method: "GET",
|
|
2893
|
+
path: "/api/org/{orgId}/calendar",
|
|
2894
|
+
path_params: { "orgId" => org_id },
|
|
2895
|
+
query: { "from" => from, "to" => to, "kinds" => kinds },
|
|
2896
|
+
request_options: request_options
|
|
2897
|
+
)
|
|
2898
|
+
end
|
|
2899
|
+
end
|
|
2900
|
+
|
|
2765
2901
|
# `client.change_freezes`
|
|
2766
2902
|
class ChangeFreezesNamespace
|
|
2767
2903
|
# @api private
|
|
@@ -15499,6 +15635,8 @@ module Infrawrench
|
|
|
15499
15635
|
attr_reader :budgets
|
|
15500
15636
|
# @return [BusinessMetricsNamespace] `client.business_metrics`
|
|
15501
15637
|
attr_reader :business_metrics
|
|
15638
|
+
# @return [CalendarNamespace] `client.calendar`
|
|
15639
|
+
attr_reader :calendar
|
|
15502
15640
|
# @return [ChangeFreezesNamespace] `client.change_freezes`
|
|
15503
15641
|
attr_reader :change_freezes
|
|
15504
15642
|
# @return [ChangesNamespace] `client.changes`
|
|
@@ -15670,6 +15808,7 @@ module Infrawrench
|
|
|
15670
15808
|
@blast_radius = BlastRadiusNamespace.new(@transport)
|
|
15671
15809
|
@budgets = BudgetsNamespace.new(@transport)
|
|
15672
15810
|
@business_metrics = BusinessMetricsNamespace.new(@transport)
|
|
15811
|
+
@calendar = CalendarNamespace.new(@transport)
|
|
15673
15812
|
@change_freezes = ChangeFreezesNamespace.new(@transport)
|
|
15674
15813
|
@changes = ChangesNamespace.new(@transport)
|
|
15675
15814
|
@chat = ChatNamespace.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.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.29.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1065,6 +1065,86 @@ module Infrawrench
|
|
|
1065
1065
|
# Spec schema: `BusinessMetricValuesInput`.
|
|
1066
1066
|
type business_metric_values_input = { "values" => Array[{ "date" => String, "value" => Numeric }] }
|
|
1067
1067
|
|
|
1068
|
+
# Spec schema: `CalendarEvent`.
|
|
1069
|
+
type calendar_event = {
|
|
1070
|
+
"id" => String,
|
|
1071
|
+
"kind" => "change-freeze"
|
|
1072
|
+
| "sleep-schedule"
|
|
1073
|
+
| "expiry"
|
|
1074
|
+
| "commitment-expiry"
|
|
1075
|
+
| "workflow-schedule"
|
|
1076
|
+
| "incident",
|
|
1077
|
+
"title" => String,
|
|
1078
|
+
"detail" => String | nil,
|
|
1079
|
+
"startsAt" => String,
|
|
1080
|
+
"endsAt" => String | nil,
|
|
1081
|
+
"openEnded" => bool,
|
|
1082
|
+
"allDay" => bool,
|
|
1083
|
+
"severity" => "critical" | "warning" | "info",
|
|
1084
|
+
"link" => calendar_event_link
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
# Where opening the event should go — a hint rather than a URL, because each
|
|
1088
|
+
# surface addresses its own pages differently.
|
|
1089
|
+
#
|
|
1090
|
+
# Spec schema: `CalendarEventLink`.
|
|
1091
|
+
type calendar_event_link = { "target" => "resource", "accountId" => String, "resourceId" => String }
|
|
1092
|
+
| {
|
|
1093
|
+
"target" => "tab",
|
|
1094
|
+
"tab" => "expiring" | "incidents" | "workflows" | "costs" | "settings"
|
|
1095
|
+
}
|
|
1096
|
+
| nil
|
|
1097
|
+
|
|
1098
|
+
# Spec schema: `CalendarResponse`.
|
|
1099
|
+
type calendar_response = {
|
|
1100
|
+
"events" => Array[calendar_event],
|
|
1101
|
+
"from" => String,
|
|
1102
|
+
"to" => String,
|
|
1103
|
+
"emptyKinds" => Array["change-freeze"
|
|
1104
|
+
| "sleep-schedule"
|
|
1105
|
+
| "expiry"
|
|
1106
|
+
| "commitment-expiry"
|
|
1107
|
+
| "workflow-schedule"
|
|
1108
|
+
| "incident"],
|
|
1109
|
+
"failedKinds" => Array["change-freeze"
|
|
1110
|
+
| "sleep-schedule"
|
|
1111
|
+
| "expiry"
|
|
1112
|
+
| "commitment-expiry"
|
|
1113
|
+
| "workflow-schedule"
|
|
1114
|
+
| "incident"],
|
|
1115
|
+
"generatedAt" => String
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
# Spec schema: `CalendarSubscription`.
|
|
1119
|
+
type calendar_subscription = {
|
|
1120
|
+
"id" => String,
|
|
1121
|
+
"name" => String,
|
|
1122
|
+
"kinds" => Array["change-freeze"
|
|
1123
|
+
| "sleep-schedule"
|
|
1124
|
+
| "expiry"
|
|
1125
|
+
| "commitment-expiry"
|
|
1126
|
+
| "workflow-schedule"
|
|
1127
|
+
| "incident"],
|
|
1128
|
+
?"url" => String,
|
|
1129
|
+
"createdAt" => String,
|
|
1130
|
+
"lastAccessedAt" => String | nil,
|
|
1131
|
+
"revokedAt" => String | nil
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
# Spec schema: `CalendarSubscriptionCreate`.
|
|
1135
|
+
type calendar_subscription_create = {
|
|
1136
|
+
"name" => String,
|
|
1137
|
+
?"kinds" => Array["change-freeze"
|
|
1138
|
+
| "sleep-schedule"
|
|
1139
|
+
| "expiry"
|
|
1140
|
+
| "commitment-expiry"
|
|
1141
|
+
| "workflow-schedule"
|
|
1142
|
+
| "incident"]
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
# Spec schema: `CalendarSubscriptionList`.
|
|
1146
|
+
type calendar_subscription_list = { "subscriptions" => Array[calendar_subscription] }
|
|
1147
|
+
|
|
1068
1148
|
# Spec schema: `CapacityCheckoutRequest`.
|
|
1069
1149
|
type capacity_checkout_request = { ?"quantity" => Integer }
|
|
1070
1150
|
|
|
@@ -6559,6 +6639,7 @@ module Infrawrench
|
|
|
6559
6639
|
| "access-review"
|
|
6560
6640
|
| "backups"
|
|
6561
6641
|
| "wallboard"
|
|
6642
|
+
| "calendar"
|
|
6562
6643
|
| "dns"
|
|
6563
6644
|
| "iac"
|
|
6564
6645
|
| "environment-diff"
|
|
@@ -7095,6 +7176,19 @@ module Infrawrench
|
|
|
7095
7176
|
def update: (id: String, body: business_metric_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> business_metric
|
|
7096
7177
|
end
|
|
7097
7178
|
|
|
7179
|
+
class CalendarSubscriptionsNamespace
|
|
7180
|
+
def initialize: (Transport) -> void
|
|
7181
|
+
def create: (?org_id: String?, ?body: calendar_subscription_create?, ?request_options: Hash[Symbol, untyped]?) -> calendar_subscription
|
|
7182
|
+
def delete: (subscription_id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> calendar_subscription
|
|
7183
|
+
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> calendar_subscription_list
|
|
7184
|
+
end
|
|
7185
|
+
|
|
7186
|
+
class CalendarNamespace
|
|
7187
|
+
attr_reader subscriptions: CalendarSubscriptionsNamespace
|
|
7188
|
+
def initialize: (Transport) -> void
|
|
7189
|
+
def get: (?org_id: String?, ?from: String?, ?to: String?, ?kinds: String?, ?request_options: Hash[Symbol, untyped]?) -> calendar_response
|
|
7190
|
+
end
|
|
7191
|
+
|
|
7098
7192
|
class ChangeFreezesNamespace
|
|
7099
7193
|
def initialize: (Transport) -> void
|
|
7100
7194
|
def create: (body: change_freeze_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> change_freeze
|
|
@@ -8053,6 +8147,7 @@ module Infrawrench
|
|
|
8053
8147
|
attr_reader blast_radius: BlastRadiusNamespace
|
|
8054
8148
|
attr_reader budgets: BudgetsNamespace
|
|
8055
8149
|
attr_reader business_metrics: BusinessMetricsNamespace
|
|
8150
|
+
attr_reader calendar: CalendarNamespace
|
|
8056
8151
|
attr_reader change_freezes: ChangeFreezesNamespace
|
|
8057
8152
|
attr_reader changes: ChangesNamespace
|
|
8058
8153
|
attr_reader chat: ChatNamespace
|
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.29.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-18 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.29.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.29.0).
|
|
62
62
|
test_files: []
|