infrawrench-sdk 1.22.0 → 1.24.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 +3 -3
- data/infrawrench-sdk.gemspec +4 -4
- data/lib/infrawrench/client.rb +329 -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 +67 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8d6c83177073ee047e58759a47956af1179a467839e20c583d4b25713c294ac
|
|
4
|
+
data.tar.gz: 1850be24762115fe542a4257852e77066bd0494cb4aa61021be1004764f32b1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5122765f50d8eac6b85654a9bed9013104cf52944d2957769202da43060eaf10de38697890dbe296c06f4ade65401fa6f00ac4810451b5b4e1a8b05215f96c38
|
|
7
|
+
data.tar.gz: 678187a5980ab0f79fb99c2b51f7874f72a890a9152882046afc11dc706e146ed2cf6c7c301161612c88ab6c8b1c3c4555b2d673b866f3c6968afb178b6ff70d
|
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.24.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
|
|
@@ -30,7 +30,7 @@ end
|
|
|
30
30
|
Calls are namespaced to mirror the URL structure, so
|
|
31
31
|
`POST /api/org/{orgId}/accounts/{id}/sync` is
|
|
32
32
|
`client.accounts.sync(id: id)`, and nesting goes as deep as the paths do —
|
|
33
|
-
`client.
|
|
33
|
+
`client.chat.conversations.secret_requests.create`. Set `org_id:` once on the client and every org-scoped call can
|
|
34
34
|
omit it; pass `org_id:` on an individual call to override it.
|
|
35
35
|
|
|
36
36
|
Every method takes an optional trailing `request_options:` hash (`:headers`,
|
|
@@ -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
|
+
662 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.24.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.24.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.24.0)."
|
|
21
|
+
spec.description = "Generated Ruby client for the Infrawrench API (v1.24.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.24.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.24.0).
|
|
7
7
|
#
|
|
8
8
|
# DO NOT EDIT. Regenerate with:
|
|
9
9
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -3011,6 +3011,81 @@ module Infrawrench
|
|
|
3011
3011
|
end
|
|
3012
3012
|
end
|
|
3013
3013
|
|
|
3014
|
+
# `client.chat.conversations.secret_requests`
|
|
3015
|
+
class ChatConversationsSecretRequestsNamespace
|
|
3016
|
+
# @api private
|
|
3017
|
+
# @param transport [Transport]
|
|
3018
|
+
def initialize(transport)
|
|
3019
|
+
@transport = transport
|
|
3020
|
+
end
|
|
3021
|
+
|
|
3022
|
+
# Submit a requested workflow secret
|
|
3023
|
+
#
|
|
3024
|
+
# Human-only, write-only handoff from the chat password field to encrypted
|
|
3025
|
+
# workflow-secret storage. The value is never returned or added to chat
|
|
3026
|
+
# history.
|
|
3027
|
+
#
|
|
3028
|
+
# POST
|
|
3029
|
+
# /api/org/{orgId}/chat/conversations/{conversationId}/secret-requests/{requestId}
|
|
3030
|
+
#
|
|
3031
|
+
# Raises on 400: Bad request
|
|
3032
|
+
#
|
|
3033
|
+
# Raises on 403: Forbidden
|
|
3034
|
+
#
|
|
3035
|
+
# Raises on 404: Not found
|
|
3036
|
+
#
|
|
3037
|
+
# Raises on 409: Conflict
|
|
3038
|
+
#
|
|
3039
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
3040
|
+
# constructed with.
|
|
3041
|
+
# @param conversation_id [String] Chat conversation id
|
|
3042
|
+
# @param request_id [String] Pending secret request id
|
|
3043
|
+
# @param body [Hash] Request body, shaped as `WorkflowSecretValueWrite`.
|
|
3044
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
3045
|
+
# @return [Hash] Parsed JSON, shaped as `ChatSecretRequestResult` — see
|
|
3046
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
3047
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
3048
|
+
def create(conversation_id:, request_id:, body:, org_id: nil, request_options: nil)
|
|
3049
|
+
@transport.request(
|
|
3050
|
+
http_method: "POST",
|
|
3051
|
+
path: "/api/org/{orgId}/chat/conversations/{conversationId}/secret-requests/{requestId}",
|
|
3052
|
+
path_params: {
|
|
3053
|
+
"orgId" => org_id,
|
|
3054
|
+
"conversationId" => conversation_id,
|
|
3055
|
+
"requestId" => request_id
|
|
3056
|
+
},
|
|
3057
|
+
body: body,
|
|
3058
|
+
request_options: request_options
|
|
3059
|
+
)
|
|
3060
|
+
end
|
|
3061
|
+
end
|
|
3062
|
+
|
|
3063
|
+
# `client.chat.conversations`
|
|
3064
|
+
class ChatConversationsNamespace
|
|
3065
|
+
# @return [ChatConversationsSecretRequestsNamespace] `client.chat.conversations.secret_requests`
|
|
3066
|
+
attr_reader :secret_requests
|
|
3067
|
+
|
|
3068
|
+
# @api private
|
|
3069
|
+
# @param transport [Transport]
|
|
3070
|
+
def initialize(transport)
|
|
3071
|
+
@transport = transport
|
|
3072
|
+
@secret_requests = ChatConversationsSecretRequestsNamespace.new(@transport)
|
|
3073
|
+
end
|
|
3074
|
+
end
|
|
3075
|
+
|
|
3076
|
+
# `client.chat`
|
|
3077
|
+
class ChatNamespace
|
|
3078
|
+
# @return [ChatConversationsNamespace] `client.chat.conversations`
|
|
3079
|
+
attr_reader :conversations
|
|
3080
|
+
|
|
3081
|
+
# @api private
|
|
3082
|
+
# @param transport [Transport]
|
|
3083
|
+
def initialize(transport)
|
|
3084
|
+
@transport = transport
|
|
3085
|
+
@conversations = ChatConversationsNamespace.new(@transport)
|
|
3086
|
+
end
|
|
3087
|
+
end
|
|
3088
|
+
|
|
3014
3089
|
# `client.commitments`
|
|
3015
3090
|
class CommitmentsNamespace
|
|
3016
3091
|
# @api private
|
|
@@ -14668,6 +14743,151 @@ module Infrawrench
|
|
|
14668
14743
|
end
|
|
14669
14744
|
end
|
|
14670
14745
|
|
|
14746
|
+
# `client.workflow_secrets`
|
|
14747
|
+
class WorkflowSecretsNamespace
|
|
14748
|
+
# @api private
|
|
14749
|
+
# @param transport [Transport]
|
|
14750
|
+
def initialize(transport)
|
|
14751
|
+
@transport = transport
|
|
14752
|
+
end
|
|
14753
|
+
|
|
14754
|
+
# Create workflow secret metadata
|
|
14755
|
+
#
|
|
14756
|
+
# Creates metadata without a value. Write the value separately through the
|
|
14757
|
+
# write-only value endpoint.
|
|
14758
|
+
#
|
|
14759
|
+
# _Requires permission: `secrets:write`._
|
|
14760
|
+
#
|
|
14761
|
+
# POST /api/org/{orgId}/workflow-secrets
|
|
14762
|
+
#
|
|
14763
|
+
# Raises on 400: Bad request
|
|
14764
|
+
#
|
|
14765
|
+
# Raises on 409: Conflict
|
|
14766
|
+
#
|
|
14767
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14768
|
+
# constructed with.
|
|
14769
|
+
# @param body [Hash] Request body, shaped as `WorkflowSecretCreate`.
|
|
14770
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14771
|
+
# @return [Hash] Parsed JSON, shaped as `WorkflowSecret` — see `sig/infrawrench/sdk.rbs`.
|
|
14772
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14773
|
+
def create(body:, org_id: nil, request_options: nil)
|
|
14774
|
+
@transport.request(
|
|
14775
|
+
http_method: "POST",
|
|
14776
|
+
path: "/api/org/{orgId}/workflow-secrets",
|
|
14777
|
+
path_params: { "orgId" => org_id },
|
|
14778
|
+
body: body,
|
|
14779
|
+
request_options: request_options
|
|
14780
|
+
)
|
|
14781
|
+
end
|
|
14782
|
+
|
|
14783
|
+
# Delete a workflow secret
|
|
14784
|
+
#
|
|
14785
|
+
# Also removes every workflow assignment through database cascades.
|
|
14786
|
+
#
|
|
14787
|
+
# _Requires permission: `secrets:write`._
|
|
14788
|
+
#
|
|
14789
|
+
# DELETE /api/org/{orgId}/workflow-secrets/{id}
|
|
14790
|
+
#
|
|
14791
|
+
# Raises on 404: Not found
|
|
14792
|
+
#
|
|
14793
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14794
|
+
# constructed with.
|
|
14795
|
+
# @param id [String] Workflow secret id
|
|
14796
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14797
|
+
# @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
|
|
14798
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14799
|
+
def delete(id:, org_id: nil, request_options: nil)
|
|
14800
|
+
@transport.request(
|
|
14801
|
+
http_method: "DELETE",
|
|
14802
|
+
path: "/api/org/{orgId}/workflow-secrets/{id}",
|
|
14803
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
14804
|
+
request_options: request_options
|
|
14805
|
+
)
|
|
14806
|
+
end
|
|
14807
|
+
|
|
14808
|
+
# List reusable workflow secrets
|
|
14809
|
+
#
|
|
14810
|
+
# Returns metadata and hasValue only; plaintext values are never returned.
|
|
14811
|
+
#
|
|
14812
|
+
# _Requires permission: `secrets:read`._
|
|
14813
|
+
#
|
|
14814
|
+
# GET /api/org/{orgId}/workflow-secrets
|
|
14815
|
+
#
|
|
14816
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14817
|
+
# constructed with.
|
|
14818
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14819
|
+
# @return [Array<Hash>] Parsed JSON, shaped as `Array<WorkflowSecret>` — see
|
|
14820
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
14821
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14822
|
+
def list(org_id: nil, request_options: nil)
|
|
14823
|
+
@transport.request(
|
|
14824
|
+
http_method: "GET",
|
|
14825
|
+
path: "/api/org/{orgId}/workflow-secrets",
|
|
14826
|
+
path_params: { "orgId" => org_id },
|
|
14827
|
+
request_options: request_options
|
|
14828
|
+
)
|
|
14829
|
+
end
|
|
14830
|
+
|
|
14831
|
+
# Update workflow secret metadata
|
|
14832
|
+
#
|
|
14833
|
+
# _Requires permission: `secrets:write`._
|
|
14834
|
+
#
|
|
14835
|
+
# PATCH /api/org/{orgId}/workflow-secrets/{id}
|
|
14836
|
+
#
|
|
14837
|
+
# Raises on 400: Bad request
|
|
14838
|
+
#
|
|
14839
|
+
# Raises on 404: Not found
|
|
14840
|
+
#
|
|
14841
|
+
# Raises on 409: Conflict
|
|
14842
|
+
#
|
|
14843
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14844
|
+
# constructed with.
|
|
14845
|
+
# @param id [String] Workflow secret id
|
|
14846
|
+
# @param body [Hash] Request body, shaped as `WorkflowSecretUpdate`.
|
|
14847
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14848
|
+
# @return [Hash] Parsed JSON, shaped as `WorkflowSecret` — see `sig/infrawrench/sdk.rbs`.
|
|
14849
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14850
|
+
def update(id:, body:, org_id: nil, request_options: nil)
|
|
14851
|
+
@transport.request(
|
|
14852
|
+
http_method: "PATCH",
|
|
14853
|
+
path: "/api/org/{orgId}/workflow-secrets/{id}",
|
|
14854
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
14855
|
+
body: body,
|
|
14856
|
+
request_options: request_options
|
|
14857
|
+
)
|
|
14858
|
+
end
|
|
14859
|
+
|
|
14860
|
+
# Write a workflow secret value
|
|
14861
|
+
#
|
|
14862
|
+
# Write-only. The response contains metadata and hasValue, never the
|
|
14863
|
+
# supplied plaintext.
|
|
14864
|
+
#
|
|
14865
|
+
# _Requires permission: `secrets:write`._
|
|
14866
|
+
#
|
|
14867
|
+
# PUT /api/org/{orgId}/workflow-secrets/{id}/value
|
|
14868
|
+
#
|
|
14869
|
+
# Raises on 400: Bad request
|
|
14870
|
+
#
|
|
14871
|
+
# Raises on 404: Not found
|
|
14872
|
+
#
|
|
14873
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
14874
|
+
# constructed with.
|
|
14875
|
+
# @param id [String] Workflow secret id
|
|
14876
|
+
# @param body [Hash] Request body, shaped as `WorkflowSecretValueWrite`.
|
|
14877
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
14878
|
+
# @return [Hash] Parsed JSON, shaped as `WorkflowSecret` — see `sig/infrawrench/sdk.rbs`.
|
|
14879
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
14880
|
+
def value(id:, body:, org_id: nil, request_options: nil)
|
|
14881
|
+
@transport.request(
|
|
14882
|
+
http_method: "PUT",
|
|
14883
|
+
path: "/api/org/{orgId}/workflow-secrets/{id}/value",
|
|
14884
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
14885
|
+
body: body,
|
|
14886
|
+
request_options: request_options
|
|
14887
|
+
)
|
|
14888
|
+
end
|
|
14889
|
+
end
|
|
14890
|
+
|
|
14671
14891
|
# `client.workflows.schedule`
|
|
14672
14892
|
class WorkflowsScheduleNamespace
|
|
14673
14893
|
# @api private
|
|
@@ -14763,16 +14983,117 @@ module Infrawrench
|
|
|
14763
14983
|
end
|
|
14764
14984
|
end
|
|
14765
14985
|
|
|
14986
|
+
# `client.workflows.secrets`
|
|
14987
|
+
class WorkflowsSecretsNamespace
|
|
14988
|
+
# @api private
|
|
14989
|
+
# @param transport [Transport]
|
|
14990
|
+
def initialize(transport)
|
|
14991
|
+
@transport = transport
|
|
14992
|
+
end
|
|
14993
|
+
|
|
14994
|
+
# List a workflow's assigned secrets
|
|
14995
|
+
#
|
|
14996
|
+
# Returns assigned ids and metadata only, never values.
|
|
14997
|
+
#
|
|
14998
|
+
# _Requires permission: `secrets:read`._
|
|
14999
|
+
#
|
|
15000
|
+
# GET /api/org/{orgId}/workflows/{id}/secrets
|
|
15001
|
+
#
|
|
15002
|
+
# Raises on 404: Not found
|
|
15003
|
+
#
|
|
15004
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
15005
|
+
# constructed with.
|
|
15006
|
+
# @param id [String] Workflow id
|
|
15007
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
15008
|
+
# @return [Hash] Parsed JSON, shaped as `WorkflowSecretAssignment` — see
|
|
15009
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
15010
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
15011
|
+
def get(id:, org_id: nil, request_options: nil)
|
|
15012
|
+
@transport.request(
|
|
15013
|
+
http_method: "GET",
|
|
15014
|
+
path: "/api/org/{orgId}/workflows/{id}/secrets",
|
|
15015
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
15016
|
+
request_options: request_options
|
|
15017
|
+
)
|
|
15018
|
+
end
|
|
15019
|
+
|
|
15020
|
+
# Replace a workflow's secret assignments
|
|
15021
|
+
#
|
|
15022
|
+
# _Requires permission: `workflows:write`._
|
|
15023
|
+
#
|
|
15024
|
+
# PUT /api/org/{orgId}/workflows/{id}/secrets
|
|
15025
|
+
#
|
|
15026
|
+
# Raises on 400: Bad request
|
|
15027
|
+
#
|
|
15028
|
+
# Raises on 404: Not found
|
|
15029
|
+
#
|
|
15030
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
15031
|
+
# constructed with.
|
|
15032
|
+
# @param id [String] Workflow id
|
|
15033
|
+
# @param body [Hash] Request body, shaped as `WorkflowSecretAssignmentInput`.
|
|
15034
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
15035
|
+
# @return [Hash] Parsed JSON, shaped as `WorkflowSecretAssignment` — see
|
|
15036
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
15037
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
15038
|
+
def update(id:, body:, org_id: nil, request_options: nil)
|
|
15039
|
+
@transport.request(
|
|
15040
|
+
http_method: "PUT",
|
|
15041
|
+
path: "/api/org/{orgId}/workflows/{id}/secrets",
|
|
15042
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
15043
|
+
body: body,
|
|
15044
|
+
request_options: request_options
|
|
15045
|
+
)
|
|
15046
|
+
end
|
|
15047
|
+
end
|
|
15048
|
+
|
|
14766
15049
|
# `client.workflows`
|
|
14767
15050
|
class WorkflowsNamespace
|
|
14768
15051
|
# @return [WorkflowsScheduleNamespace] `client.workflows.schedule`
|
|
14769
15052
|
attr_reader :schedule
|
|
15053
|
+
# @return [WorkflowsSecretsNamespace] `client.workflows.secrets`
|
|
15054
|
+
attr_reader :secrets
|
|
14770
15055
|
|
|
14771
15056
|
# @api private
|
|
14772
15057
|
# @param transport [Transport]
|
|
14773
15058
|
def initialize(transport)
|
|
14774
15059
|
@transport = transport
|
|
14775
15060
|
@schedule = WorkflowsScheduleNamespace.new(@transport)
|
|
15061
|
+
@secrets = WorkflowsSecretsNamespace.new(@transport)
|
|
15062
|
+
end
|
|
15063
|
+
|
|
15064
|
+
# Generated infra.d.ts for a workflow
|
|
15065
|
+
#
|
|
15066
|
+
# The ambient TypeScript declarations workflow source is written against,
|
|
15067
|
+
# specialized with this organization's connected accounts, resource types,
|
|
15068
|
+
# SSH key names, and the workflow's trigger + metrics. Default is the fast
|
|
15069
|
+
# static surface (`create` fields are `Record<string, string>`). Pass
|
|
15070
|
+
# `enrich=1` for a second pass that hits provider APIs for precise create()
|
|
15071
|
+
# field unions and live sidecar capability flags — the editor loads static
|
|
15072
|
+
# first and upgrades when that finishes.
|
|
15073
|
+
#
|
|
15074
|
+
# _Requires permission: `workflows:read`._
|
|
15075
|
+
#
|
|
15076
|
+
# GET /api/org/{orgId}/workflows/{id}/typings
|
|
15077
|
+
#
|
|
15078
|
+
# Raises on 404: Not found
|
|
15079
|
+
#
|
|
15080
|
+
# @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
|
|
15081
|
+
# constructed with.
|
|
15082
|
+
# @param id [String] Workflow id
|
|
15083
|
+
# @param enrich [String, nil] When `1` or `true`, enrich create() field shapes and sidecar
|
|
15084
|
+
# capabilities from live provider configs. Omit for the fast static surface.
|
|
15085
|
+
# @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
|
|
15086
|
+
# @return [Hash] Parsed JSON, shaped as `WorkflowTypingsResponse` — see
|
|
15087
|
+
# `sig/infrawrench/sdk.rbs`.
|
|
15088
|
+
# @raise [Infrawrench::ApiError] On any non-2xx response.
|
|
15089
|
+
def typings(id:, org_id: nil, enrich: nil, request_options: nil)
|
|
15090
|
+
@transport.request(
|
|
15091
|
+
http_method: "GET",
|
|
15092
|
+
path: "/api/org/{orgId}/workflows/{id}/typings",
|
|
15093
|
+
path_params: { "orgId" => org_id, "id" => id },
|
|
15094
|
+
query: { "enrich" => enrich },
|
|
15095
|
+
request_options: request_options
|
|
15096
|
+
)
|
|
14776
15097
|
end
|
|
14777
15098
|
end
|
|
14778
15099
|
|
|
@@ -14826,6 +15147,8 @@ module Infrawrench
|
|
|
14826
15147
|
attr_reader :change_freezes
|
|
14827
15148
|
# @return [ChangesNamespace] `client.changes`
|
|
14828
15149
|
attr_reader :changes
|
|
15150
|
+
# @return [ChatNamespace] `client.chat`
|
|
15151
|
+
attr_reader :chat
|
|
14829
15152
|
# @return [CommitmentsNamespace] `client.commitments`
|
|
14830
15153
|
attr_reader :commitments
|
|
14831
15154
|
# @return [ConfigNamespace] `client.config`
|
|
@@ -14960,6 +15283,8 @@ module Infrawrench
|
|
|
14960
15283
|
attr_reader :team
|
|
14961
15284
|
# @return [WorkflowApprovalsNamespace] `client.workflow_approvals`
|
|
14962
15285
|
attr_reader :workflow_approvals
|
|
15286
|
+
# @return [WorkflowSecretsNamespace] `client.workflow_secrets`
|
|
15287
|
+
attr_reader :workflow_secrets
|
|
14963
15288
|
# @return [WorkflowsNamespace] `client.workflows`
|
|
14964
15289
|
attr_reader :workflows
|
|
14965
15290
|
|
|
@@ -14987,6 +15312,7 @@ module Infrawrench
|
|
|
14987
15312
|
@business_metrics = BusinessMetricsNamespace.new(@transport)
|
|
14988
15313
|
@change_freezes = ChangeFreezesNamespace.new(@transport)
|
|
14989
15314
|
@changes = ChangesNamespace.new(@transport)
|
|
15315
|
+
@chat = ChatNamespace.new(@transport)
|
|
14990
15316
|
@commitments = CommitmentsNamespace.new(@transport)
|
|
14991
15317
|
@config = ConfigNamespace.new(@transport)
|
|
14992
15318
|
@connect = ConnectNamespace.new(@transport)
|
|
@@ -15054,6 +15380,7 @@ module Infrawrench
|
|
|
15054
15380
|
@tag_policy = TagPolicyNamespace.new(@transport)
|
|
15055
15381
|
@team = TeamNamespace.new(@transport)
|
|
15056
15382
|
@workflow_approvals = WorkflowApprovalsNamespace.new(@transport)
|
|
15383
|
+
@workflow_secrets = WorkflowSecretsNamespace.new(@transport)
|
|
15057
15384
|
@workflows = WorkflowsNamespace.new(@transport)
|
|
15058
15385
|
end
|
|
15059
15386
|
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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.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.24.0).
|
|
5
5
|
#
|
|
6
6
|
# DO NOT EDIT. Regenerate with:
|
|
7
7
|
# pnpm --filter @infrawrench/web generate:sdk
|
|
@@ -1143,6 +1143,9 @@ module Infrawrench
|
|
|
1143
1143
|
# Spec schema: `ChangeFreezeStatus`.
|
|
1144
1144
|
type change_freeze_status = { "freeze" => change_freeze & (Hash[String, untyped] | nil) }
|
|
1145
1145
|
|
|
1146
|
+
# Spec schema: `ChatSecretRequestResult`.
|
|
1147
|
+
type chat_secret_request_result = { "ok" => bool, "allResolved" => bool }
|
|
1148
|
+
|
|
1146
1149
|
# Spec schema: `ChildResourceRef`.
|
|
1147
1150
|
type child_resource_ref = {
|
|
1148
1151
|
"id" => resource_id,
|
|
@@ -6706,6 +6709,34 @@ module Infrawrench
|
|
|
6706
6709
|
# Spec schema: `WorkflowScheduleResponse`.
|
|
6707
6710
|
type workflow_schedule_response = { "schedule" => workflow_schedule | nil | nil }
|
|
6708
6711
|
|
|
6712
|
+
# Spec schema: `WorkflowSecret`.
|
|
6713
|
+
type workflow_secret = {
|
|
6714
|
+
"id" => String,
|
|
6715
|
+
"name" => String,
|
|
6716
|
+
"description" => String | nil,
|
|
6717
|
+
"hasValue" => bool,
|
|
6718
|
+
"createdAt" => String,
|
|
6719
|
+
"updatedAt" => String
|
|
6720
|
+
}
|
|
6721
|
+
|
|
6722
|
+
# Spec schema: `WorkflowSecretAssignment`.
|
|
6723
|
+
type workflow_secret_assignment = { "secretIds" => Array[String], "secrets" => Array[workflow_secret] }
|
|
6724
|
+
|
|
6725
|
+
# Spec schema: `WorkflowSecretAssignmentInput`.
|
|
6726
|
+
type workflow_secret_assignment_input = { "secretIds" => Array[String] }
|
|
6727
|
+
|
|
6728
|
+
# Spec schema: `WorkflowSecretCreate`.
|
|
6729
|
+
type workflow_secret_create = { "name" => String, ?"description" => String | nil }
|
|
6730
|
+
|
|
6731
|
+
# Spec schema: `WorkflowSecretUpdate`.
|
|
6732
|
+
type workflow_secret_update = { ?"name" => String, ?"description" => String | nil }
|
|
6733
|
+
|
|
6734
|
+
# Spec schema: `WorkflowSecretValueWrite`.
|
|
6735
|
+
type workflow_secret_value_write = { "value" => String }
|
|
6736
|
+
|
|
6737
|
+
# Spec schema: `WorkflowTypingsResponse`.
|
|
6738
|
+
type workflow_typings_response = { "dts" => String }
|
|
6739
|
+
|
|
6709
6740
|
class AccessRequestsNamespace
|
|
6710
6741
|
def initialize: (Transport) -> void
|
|
6711
6742
|
def approve: (request_id: String, ?org_id: String?, ?body: access_decision?, ?request_options: Hash[Symbol, untyped]?) -> access_request
|
|
@@ -6947,6 +6978,21 @@ module Infrawrench
|
|
|
6947
6978
|
def resource: (resource_id: String, ?org_id: String?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> resource_change_list_response
|
|
6948
6979
|
end
|
|
6949
6980
|
|
|
6981
|
+
class ChatConversationsSecretRequestsNamespace
|
|
6982
|
+
def initialize: (Transport) -> void
|
|
6983
|
+
def create: (conversation_id: String, request_id: String, body: workflow_secret_value_write, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> chat_secret_request_result
|
|
6984
|
+
end
|
|
6985
|
+
|
|
6986
|
+
class ChatConversationsNamespace
|
|
6987
|
+
attr_reader secret_requests: ChatConversationsSecretRequestsNamespace
|
|
6988
|
+
def initialize: (Transport) -> void
|
|
6989
|
+
end
|
|
6990
|
+
|
|
6991
|
+
class ChatNamespace
|
|
6992
|
+
attr_reader conversations: ChatConversationsNamespace
|
|
6993
|
+
def initialize: (Transport) -> void
|
|
6994
|
+
end
|
|
6995
|
+
|
|
6950
6996
|
class CommitmentsNamespace
|
|
6951
6997
|
def initialize: (Transport) -> void
|
|
6952
6998
|
def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> commitments_feed
|
|
@@ -7798,6 +7844,15 @@ module Infrawrench
|
|
|
7798
7844
|
def list: (?org_id: String?, ?status: workflow_approval_status?, ?workflow_id: String?, ?run_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[workflow_approval]
|
|
7799
7845
|
end
|
|
7800
7846
|
|
|
7847
|
+
class WorkflowSecretsNamespace
|
|
7848
|
+
def initialize: (Transport) -> void
|
|
7849
|
+
def create: (body: workflow_secret_create, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret
|
|
7850
|
+
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
7851
|
+
def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[workflow_secret]
|
|
7852
|
+
def update: (id: String, body: workflow_secret_update, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret
|
|
7853
|
+
def value: (id: String, body: workflow_secret_value_write, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret
|
|
7854
|
+
end
|
|
7855
|
+
|
|
7801
7856
|
class WorkflowsScheduleNamespace
|
|
7802
7857
|
def initialize: (Transport) -> void
|
|
7803
7858
|
def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
|
|
@@ -7805,9 +7860,17 @@ module Infrawrench
|
|
|
7805
7860
|
def update: (id: String, body: workflow_schedule_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_schedule_response
|
|
7806
7861
|
end
|
|
7807
7862
|
|
|
7863
|
+
class WorkflowsSecretsNamespace
|
|
7864
|
+
def initialize: (Transport) -> void
|
|
7865
|
+
def get: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret_assignment
|
|
7866
|
+
def update: (id: String, body: workflow_secret_assignment_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret_assignment
|
|
7867
|
+
end
|
|
7868
|
+
|
|
7808
7869
|
class WorkflowsNamespace
|
|
7809
7870
|
attr_reader schedule: WorkflowsScheduleNamespace
|
|
7871
|
+
attr_reader secrets: WorkflowsSecretsNamespace
|
|
7810
7872
|
def initialize: (Transport) -> void
|
|
7873
|
+
def typings: (id: String, ?org_id: String?, ?enrich: "1" | "true"?, ?request_options: Hash[Symbol, untyped]?) -> workflow_typings_response
|
|
7811
7874
|
end
|
|
7812
7875
|
|
|
7813
7876
|
class APIV1Client
|
|
@@ -7831,6 +7894,7 @@ module Infrawrench
|
|
|
7831
7894
|
attr_reader business_metrics: BusinessMetricsNamespace
|
|
7832
7895
|
attr_reader change_freezes: ChangeFreezesNamespace
|
|
7833
7896
|
attr_reader changes: ChangesNamespace
|
|
7897
|
+
attr_reader chat: ChatNamespace
|
|
7834
7898
|
attr_reader commitments: CommitmentsNamespace
|
|
7835
7899
|
attr_reader config: ConfigNamespace
|
|
7836
7900
|
attr_reader connect: ConnectNamespace
|
|
@@ -7898,6 +7962,7 @@ module Infrawrench
|
|
|
7898
7962
|
attr_reader tag_policy: TagPolicyNamespace
|
|
7899
7963
|
attr_reader team: TeamNamespace
|
|
7900
7964
|
attr_reader workflow_approvals: WorkflowApprovalsNamespace
|
|
7965
|
+
attr_reader workflow_secrets: WorkflowSecretsNamespace
|
|
7901
7966
|
attr_reader workflows: WorkflowsNamespace
|
|
7902
7967
|
def initialize: (**untyped) -> void
|
|
7903
7968
|
end
|
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.24.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
|
+
date: 2026-08-13 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.24.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.24.0).
|
|
62
62
|
test_files: []
|