infrawrench-sdk 1.22.0 → 1.23.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: fb9eeb64fa09152b2c64e0dd72fbf56160ab1447064a683d6611b4017c380e33
4
- data.tar.gz: 4dc2e29cc24388f7b1eb588def8ac852cd7438f5cba69fd82ad482ad9f168dc7
3
+ metadata.gz: '019e04317675b640204525b08a24e495b9327d5bcca016b35ad16e17db4adc43'
4
+ data.tar.gz: d1e1ea9c5ae2dba3a074b6a0a067b386d347e93f009290d40a1f0df5021f17ee
5
5
  SHA512:
6
- metadata.gz: 9afc981bac83fc80810c908230b83b0ce35e9f5039cfbcde7ba0e0ccbfcecfd18184f1a52549cd1f3b31fdf2e03909787d7806ce27a719183ba38447f425c155
7
- data.tar.gz: 721dba6ea2183416418eb7f79ff4fd33419c25e12d1f1278ffcdbe20c8163a603f4f77727f6e34e8ae0bf52cc2a519a317df9ef9cce27589879d8c6f40d910d3
6
+ metadata.gz: d147ab6ffc174f6d7ca66a18ceb18fa7812d139ada44434d2e22799aac893d9955b3481f93cf9f529d9f1badab5fe69ac2c65574e82e4abe8356e3691b349e11
7
+ data.tar.gz: 82df8ca3b6f460aaafdd7aaed1e84ba1adc45fc73c6c18d398968c4934d9ff44fc4164b4ec9a7d5a43adb5e8a4a504c0979bfa315fb7e00f28ef367b9e93d74b
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.22.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.23.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
- 654 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 655 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.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.23.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.22.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.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.22.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v1.22.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.23.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.23.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.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.23.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.22.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -14774,6 +14774,41 @@ module Infrawrench
14774
14774
  @transport = transport
14775
14775
  @schedule = WorkflowsScheduleNamespace.new(@transport)
14776
14776
  end
14777
+
14778
+ # Generated infra.d.ts for a workflow
14779
+ #
14780
+ # The ambient TypeScript declarations workflow source is written against,
14781
+ # specialized with this organization's connected accounts, resource types,
14782
+ # SSH key names, and the workflow's trigger + metrics. Default is the fast
14783
+ # static surface (`create` fields are `Record<string, string>`). Pass
14784
+ # `enrich=1` for a second pass that hits provider APIs for precise create()
14785
+ # field unions and live sidecar capability flags — the editor loads static
14786
+ # first and upgrades when that finishes.
14787
+ #
14788
+ # _Requires permission: `workflows:read`._
14789
+ #
14790
+ # GET /api/org/{orgId}/workflows/{id}/typings
14791
+ #
14792
+ # Raises on 404: Not found
14793
+ #
14794
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14795
+ # constructed with.
14796
+ # @param id [String] Workflow id
14797
+ # @param enrich [String, nil] When `1` or `true`, enrich create() field shapes and sidecar
14798
+ # capabilities from live provider configs. Omit for the fast static surface.
14799
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14800
+ # @return [Hash] Parsed JSON, shaped as `WorkflowTypingsResponse` — see
14801
+ # `sig/infrawrench/sdk.rbs`.
14802
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14803
+ def typings(id:, org_id: nil, enrich: nil, request_options: nil)
14804
+ @transport.request(
14805
+ http_method: "GET",
14806
+ path: "/api/org/{orgId}/workflows/{id}/typings",
14807
+ path_params: { "orgId" => org_id, "id" => id },
14808
+ query: { "enrich" => enrich },
14809
+ request_options: request_options
14810
+ )
14811
+ end
14777
14812
  end
14778
14813
 
14779
14814
  # A client for the Infrawrench API.
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.23.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.22.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.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.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.23.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.22.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.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.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.23.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.22.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.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.22.0"
18
+ VERSION = "1.23.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.23.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.22.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.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.22.0 | MIT | Copyright (c) 2026 Infrawrench LLC
1
+ # infrawrench-sdk v1.23.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.22.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.23.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -6706,6 +6706,9 @@ module Infrawrench
6706
6706
  # Spec schema: `WorkflowScheduleResponse`.
6707
6707
  type workflow_schedule_response = { "schedule" => workflow_schedule | nil | nil }
6708
6708
 
6709
+ # Spec schema: `WorkflowTypingsResponse`.
6710
+ type workflow_typings_response = { "dts" => String }
6711
+
6709
6712
  class AccessRequestsNamespace
6710
6713
  def initialize: (Transport) -> void
6711
6714
  def approve: (request_id: String, ?org_id: String?, ?body: access_decision?, ?request_options: Hash[Symbol, untyped]?) -> access_request
@@ -7808,6 +7811,7 @@ module Infrawrench
7808
7811
  class WorkflowsNamespace
7809
7812
  attr_reader schedule: WorkflowsScheduleNamespace
7810
7813
  def initialize: (Transport) -> void
7814
+ def typings: (id: String, ?org_id: String?, ?enrich: "1" | "true"?, ?request_options: Hash[Symbol, untyped]?) -> workflow_typings_response
7811
7815
  end
7812
7816
 
7813
7817
  class APIV1Client
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.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Infrawrench LLC
@@ -9,9 +9,9 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-08-12 00:00:00.000000000 Z
12
+ date: 2026-08-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.22.0). Covers the published
14
+ description: Generated Ruby client for the Infrawrench API (v1.23.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.22.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.23.0).
62
62
  test_files: []