infrawrench-sdk 0.6.0 → 0.7.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: dbfd4cd55b135eec7f0859bd26ffe332eaf39a69f611d5fbabea8dce03eae45b
4
- data.tar.gz: ec1daed9ffe1f064a829b4ba39093304578eab97dd5e6d56af8f36785229e599
3
+ metadata.gz: 841b80b462e7fe64f59847149bbfb263bec1433564f7867e19d021c5328c569b
4
+ data.tar.gz: 01abef2509287b704641063578ff793faa9a4f2b63b179a5326107e652cbcb36
5
5
  SHA512:
6
- metadata.gz: cf515858a7579228173280a28a704f9614bd20677d902830aadd8964301d1200f2cbbf20c27041d359260038e39eb2ce6d236ca3608fb7676fd5584a80473d3f
7
- data.tar.gz: dfb0a6958ecc8d82e144edb65d4870c777904d3ed8b8dd4555960e865af550be55e336fd4a83f130553556fd58f234a76dc17af09634d8f2b3e3cb19f5ab4af1
6
+ metadata.gz: 80aa321d91f01802ee431a175bab1a7658b9a2d9659373459ed47c944d27ae55fd19d46f93a146bda12e51ae865e36968e503215d409000f0c86490a2cf85d23
7
+ data.tar.gz: 8d70273720ea8348e4b7e3a21f82265734f56ab0d159c24eb244e43e8510e08fa2741fa5791eb52e6fc5853bfc6f7922da1f795e7cad5dd1c40320aeca70b8f2
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # infrawrench-sdk
2
2
 
3
- Generated Ruby client for the Infrawrench API (API version `0.6.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `0.7.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
- 193 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 194 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 v0.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v0.7.0 | MIT | Copyright (c) 2026 Infrawrench LLC
4
4
  # https://github.com/Infrawrench/Infrawrench
5
5
  #
6
- # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.6.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -17,8 +17,8 @@ require_relative "lib/infrawrench/version"
17
17
  Gem::Specification.new do |spec|
18
18
  spec.name = "infrawrench-sdk"
19
19
  spec.version = Infrawrench::VERSION
20
- spec.summary = "Generated Ruby client for the Infrawrench API (v0.6.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v0.6.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 (v0.7.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v0.7.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 v0.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v0.7.0 | MIT | Copyright (c) 2026 Infrawrench LLC
4
4
  # https://github.com/Infrawrench/Infrawrench
5
5
  #
6
- # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.6.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -102,7 +102,7 @@ module Infrawrench
102
102
  # @param id [String]
103
103
  # @param type_id [String]
104
104
  # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
105
- # @return [Array<Hash>] Parsed JSON, shaped as `Array<Resource>` — see
105
+ # @return [Array<Hash>] Parsed JSON, shaped as `Array<SyncedResource>` — see
106
106
  # `sig/infrawrench/sdk.rbs`.
107
107
  # @raise [Infrawrench::ApiError] On any non-2xx response.
108
108
  def create(id:, type_id:, org_id: nil, request_options: nil)
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v0.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v0.7.0 | MIT | Copyright (c) 2026 Infrawrench LLC
4
4
  # https://github.com/Infrawrench/Infrawrench
5
5
  #
6
- # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.6.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.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.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v0.7.0 | MIT | Copyright (c) 2026 Infrawrench LLC
4
4
  # https://github.com/Infrawrench/Infrawrench
5
5
  #
6
- # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.6.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.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.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v0.7.0 | MIT | Copyright (c) 2026 Infrawrench LLC
4
4
  # https://github.com/Infrawrench/Infrawrench
5
5
  #
6
- # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.6.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.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.6.0"
18
+ VERSION = "0.7.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v0.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v0.7.0 | MIT | Copyright (c) 2026 Infrawrench LLC
4
4
  # https://github.com/Infrawrench/Infrawrench
5
5
  #
6
- # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.6.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.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.6.0 | MIT | Copyright (c) 2026 Infrawrench LLC
1
+ # infrawrench-sdk v0.7.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.6.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 0.7.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -329,7 +329,8 @@ module Infrawrench
329
329
  "resourceTypeId" => String,
330
330
  "pluginId" => String,
331
331
  "accountId" => String,
332
- ?"status" => status_dot
332
+ ?"status" => status_dot,
333
+ ?"fields" => json_object
333
334
  }
334
335
 
335
336
  # Spec schema: `ChildTypeRef`.
@@ -337,7 +338,8 @@ module Infrawrench
337
338
  "id" => String,
338
339
  "displayName" => String,
339
340
  ?"pluralDisplayName" => String,
340
- "supportsCreate" => bool
341
+ "supportsCreate" => bool,
342
+ ?"fields" => Array[json_object]
341
343
  }
342
344
 
343
345
  # Spec schema: `ConnectEnvDeployRequest`.
@@ -543,7 +545,7 @@ module Infrawrench
543
545
  "content" => String,
544
546
  "filename" => String,
545
547
  "mimeType" => String,
546
- ?"fields" => Hash[String, String],
548
+ ?"fields" => Array[{ "label" => String, "value" => String, ?"sensitive" => bool, ?"hint" => String }],
547
549
  ?"warning" => String
548
550
  }
549
551
 
@@ -568,8 +570,8 @@ module Infrawrench
568
570
  "id" => String,
569
571
  "label" => String,
570
572
  ?"description" => String,
571
- ?"fileExtension" => String,
572
- ?"mimeType" => String
573
+ "mediaType" => "json" | "text" | "ini" | "binary-base64",
574
+ ?"filenameTemplate" => String
573
575
  }
574
576
 
575
577
  # Spec schema: `Dashboard`.
@@ -797,7 +799,7 @@ module Infrawrench
797
799
  }
798
800
 
799
801
  # Spec schema: `LogsResponse`.
800
- type logs_response = { "lines" => Array[String], ?"nextPageToken" => String, ?"truncated" => bool }
802
+ type logs_response = { "text" => String, "containers" => Array[String], "activeContainer" => String }
801
803
 
802
804
  # Spec schema: `Manifest`.
803
805
  type manifest = { "manifest" => String }
@@ -814,7 +816,7 @@ module Infrawrench
814
816
  type metric_series = {
815
817
  "label" => String,
816
818
  ?"unit" => String,
817
- "points" => Array[{ "ts" => Numeric, "value" => Numeric }]
819
+ "points" => Array[{ "timestamp" => Numeric, "value" => Numeric }]
818
820
  }
819
821
 
820
822
  # Spec schema: `MetricsRequest`.
@@ -984,7 +986,8 @@ module Infrawrench
984
986
  type picker_resources_request = {
985
987
  "sources" => Array[{ "pluginId" => String, "resourceTypeId" => String, "outputKey" => String }],
986
988
  "accountId" => String,
987
- ?"regionHint" => String
989
+ ?"regionHint" => String,
990
+ ?"crossAccount" => bool
988
991
  }
989
992
 
990
993
  # Spec schema: `PinFull`.
@@ -1076,12 +1079,12 @@ module Infrawrench
1076
1079
 
1077
1080
  # Spec schema: `ProbeStatus`.
1078
1081
  type probe_status = {
1079
- "phase" => "ok" | "loading" | "error",
1082
+ "phase" => "ok" | "error",
1080
1083
  ?"error" => String,
1081
1084
  ?"stats" => Array[json_object],
1082
- ?"sparkline" => Array[{ "ts" => Numeric, "value" => Numeric }],
1085
+ ?"sparkline" => Array[{ "timestamp" => Numeric, "value" => Numeric }],
1083
1086
  ?"sparklineLabel" => String,
1084
- ?"resourceCounts" => Array[{ "typeId" => String, "count" => Integer }]
1087
+ ?"resourceCounts" => Array[{ "typeLabel" => String, "count" => Integer }]
1085
1088
  }
1086
1089
 
1087
1090
  # Spec schema: `Profile`.
@@ -1193,7 +1196,7 @@ module Infrawrench
1193
1196
  # Normalized status reported by a plugin's renderSidebarItem/renderDetail.
1194
1197
  #
1195
1198
  # Spec schema: `ResourceStatus`.
1196
- type resource_status = "healthy" | "warning" | "error" | "unknown" | "pending" | "stopped"
1199
+ type resource_status = "healthy" | "degraded" | "error" | "unknown" | "provisioning" | "info"
1197
1200
 
1198
1201
  # Resource type id. Note: not every plugin exposes every type — see the
1199
1202
  # plugin's `resourceTypes` for the valid (pluginId, typeId) pairs.
@@ -1592,7 +1595,13 @@ module Infrawrench
1592
1595
  }
1593
1596
 
1594
1597
  # Spec schema: `SecretVersion`.
1595
- type secret_version = { "id" => String, "state" => "ENABLED" | "DISABLED" | "DESTROYED", "createdAt" => String }
1598
+ type secret_version = {
1599
+ "id" => String,
1600
+ "state" => "enabled" | "disabled" | "destroyed",
1601
+ "createdAt" => String,
1602
+ ?"destroyedAt" => String,
1603
+ ?"isLatest" => bool
1604
+ }
1596
1605
 
1597
1606
  # Spec schema: `SecretVersionResponse`.
1598
1607
  type secret_version_response = { "version" => secret_version }
@@ -1607,7 +1616,14 @@ module Infrawrench
1607
1616
  type sftp_delete_request = sftp_list_request & { "isDir" => bool }
1608
1617
 
1609
1618
  # Spec schema: `SftpEntry`.
1610
- type sftp_entry = { "name" => String, "isDir" => bool, ?"size" => Integer, ?"modifiedAt" => String }
1619
+ type sftp_entry = {
1620
+ "key" => String,
1621
+ "name" => String,
1622
+ "size" => Numeric,
1623
+ "lastModified" => String,
1624
+ "isDirectory" => bool,
1625
+ ?"contentType" => String
1626
+ }
1611
1627
 
1612
1628
  # Spec schema: `SftpListRequest`.
1613
1629
  type sftp_list_request = {
@@ -1755,7 +1771,14 @@ module Infrawrench
1755
1771
  type storage_list_request = { "accountId" => String, "bucket" => String, "prefix" => String }
1756
1772
 
1757
1773
  # Spec schema: `StorageObject`.
1758
- type storage_object = { "key" => String, ?"size" => Integer, ?"isFolder" => bool, ?"lastModified" => String }
1774
+ type storage_object = {
1775
+ "key" => String,
1776
+ "name" => String,
1777
+ "size" => Numeric,
1778
+ "lastModified" => String,
1779
+ "isDirectory" => bool,
1780
+ ?"contentType" => String
1781
+ }
1759
1782
 
1760
1783
  # Spec schema: `StoragePathRequest`.
1761
1784
  type storage_path_request = { "accountId" => String, "bucket" => String, "key" => String }
@@ -1783,6 +1806,18 @@ module Infrawrench
1783
1806
  # Spec schema: `SyncResponse`.
1784
1807
  type sync_response = { "synced" => Integer }
1785
1808
 
1809
+ # Spec schema: `SyncedResource`.
1810
+ type synced_resource = {
1811
+ "id" => resource_id,
1812
+ "pluginId" => String,
1813
+ "resourceTypeId" => String,
1814
+ "displayName" => String,
1815
+ "externalId" => String | nil,
1816
+ "fieldsJson" => json_object,
1817
+ "outputsJson" => json_object,
1818
+ "parentResourceId" => resource_id & (String | nil)
1819
+ }
1820
+
1786
1821
  # Spec schema: `TabTarget`.
1787
1822
  type tab_target = {
1788
1823
  "kind" => "dashboard" | "account" | "resource" | "agents" | "costs" | "workflows" | "chat",
@@ -1863,7 +1898,7 @@ module Infrawrench
1863
1898
 
1864
1899
  class AccountsSyncTypeNamespace
1865
1900
  def initialize: (Transport) -> void
1866
- def create: (id: String, type_id: resource_type_id, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[resource]
1901
+ def create: (id: String, type_id: resource_type_id, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[synced_resource]
1867
1902
  end
1868
1903
 
1869
1904
  class AccountsNamespace
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.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infrawrench LLC
@@ -11,7 +11,7 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2026-07-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v0.6.0). Covers the published
14
+ description: Generated Ruby client for the Infrawrench API (v0.7.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.6.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v0.7.0).
62
62
  test_files: []