infrawrench-sdk 1.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '019e04317675b640204525b08a24e495b9327d5bcca016b35ad16e17db4adc43'
4
- data.tar.gz: d1e1ea9c5ae2dba3a074b6a0a067b386d347e93f009290d40a1f0df5021f17ee
3
+ metadata.gz: b8d6c83177073ee047e58759a47956af1179a467839e20c583d4b25713c294ac
4
+ data.tar.gz: 1850be24762115fe542a4257852e77066bd0494cb4aa61021be1004764f32b1b
5
5
  SHA512:
6
- metadata.gz: d147ab6ffc174f6d7ca66a18ceb18fa7812d139ada44434d2e22799aac893d9955b3481f93cf9f529d9f1badab5fe69ac2c65574e82e4abe8356e3691b349e11
7
- data.tar.gz: 82df8ca3b6f460aaafdd7aaed1e84ba1adc45fc73c6c18d398968c4934d9ff44fc4164b4ec9a7d5a43adb5e8a4a504c0979bfa315fb7e00f28ef367b9e93d74b
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.23.0`).
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.invitations.by_token.get`. Set `org_id:` once on the client and every org-scoped call can
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
- 655 schemas, as RBS type aliases that steep and TypeProf can read.
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 —
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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.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."
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"
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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,82 @@ 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)
14776
15062
  end
14777
15063
 
14778
15064
  # Generated infra.d.ts for a workflow
@@ -14861,6 +15147,8 @@ module Infrawrench
14861
15147
  attr_reader :change_freezes
14862
15148
  # @return [ChangesNamespace] `client.changes`
14863
15149
  attr_reader :changes
15150
+ # @return [ChatNamespace] `client.chat`
15151
+ attr_reader :chat
14864
15152
  # @return [CommitmentsNamespace] `client.commitments`
14865
15153
  attr_reader :commitments
14866
15154
  # @return [ConfigNamespace] `client.config`
@@ -14995,6 +15283,8 @@ module Infrawrench
14995
15283
  attr_reader :team
14996
15284
  # @return [WorkflowApprovalsNamespace] `client.workflow_approvals`
14997
15285
  attr_reader :workflow_approvals
15286
+ # @return [WorkflowSecretsNamespace] `client.workflow_secrets`
15287
+ attr_reader :workflow_secrets
14998
15288
  # @return [WorkflowsNamespace] `client.workflows`
14999
15289
  attr_reader :workflows
15000
15290
 
@@ -15022,6 +15312,7 @@ module Infrawrench
15022
15312
  @business_metrics = BusinessMetricsNamespace.new(@transport)
15023
15313
  @change_freezes = ChangeFreezesNamespace.new(@transport)
15024
15314
  @changes = ChangesNamespace.new(@transport)
15315
+ @chat = ChatNamespace.new(@transport)
15025
15316
  @commitments = CommitmentsNamespace.new(@transport)
15026
15317
  @config = ConfigNamespace.new(@transport)
15027
15318
  @connect = ConnectNamespace.new(@transport)
@@ -15089,6 +15380,7 @@ module Infrawrench
15089
15380
  @tag_policy = TagPolicyNamespace.new(@transport)
15090
15381
  @team = TeamNamespace.new(@transport)
15091
15382
  @workflow_approvals = WorkflowApprovalsNamespace.new(@transport)
15383
+ @workflow_secrets = WorkflowSecretsNamespace.new(@transport)
15092
15384
  @workflows = WorkflowsNamespace.new(@transport)
15093
15385
  end
15094
15386
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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.23.0"
18
+ VERSION = "1.24.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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,7 +1,7 @@
1
- # infrawrench-sdk v1.23.0 | MIT | Copyright (c) 2026 Infrawrench LLC
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.23.0).
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,31 @@ 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
+
6709
6737
  # Spec schema: `WorkflowTypingsResponse`.
6710
6738
  type workflow_typings_response = { "dts" => String }
6711
6739
 
@@ -6950,6 +6978,21 @@ module Infrawrench
6950
6978
  def resource: (resource_id: String, ?org_id: String?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> resource_change_list_response
6951
6979
  end
6952
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
+
6953
6996
  class CommitmentsNamespace
6954
6997
  def initialize: (Transport) -> void
6955
6998
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> commitments_feed
@@ -7801,6 +7844,15 @@ module Infrawrench
7801
7844
  def list: (?org_id: String?, ?status: workflow_approval_status?, ?workflow_id: String?, ?run_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[workflow_approval]
7802
7845
  end
7803
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
+
7804
7856
  class WorkflowsScheduleNamespace
7805
7857
  def initialize: (Transport) -> void
7806
7858
  def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
@@ -7808,8 +7860,15 @@ module Infrawrench
7808
7860
  def update: (id: String, body: workflow_schedule_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_schedule_response
7809
7861
  end
7810
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
+
7811
7869
  class WorkflowsNamespace
7812
7870
  attr_reader schedule: WorkflowsScheduleNamespace
7871
+ attr_reader secrets: WorkflowsSecretsNamespace
7813
7872
  def initialize: (Transport) -> void
7814
7873
  def typings: (id: String, ?org_id: String?, ?enrich: "1" | "true"?, ?request_options: Hash[Symbol, untyped]?) -> workflow_typings_response
7815
7874
  end
@@ -7835,6 +7894,7 @@ module Infrawrench
7835
7894
  attr_reader business_metrics: BusinessMetricsNamespace
7836
7895
  attr_reader change_freezes: ChangeFreezesNamespace
7837
7896
  attr_reader changes: ChangesNamespace
7897
+ attr_reader chat: ChatNamespace
7838
7898
  attr_reader commitments: CommitmentsNamespace
7839
7899
  attr_reader config: ConfigNamespace
7840
7900
  attr_reader connect: ConnectNamespace
@@ -7902,6 +7962,7 @@ module Infrawrench
7902
7962
  attr_reader tag_policy: TagPolicyNamespace
7903
7963
  attr_reader team: TeamNamespace
7904
7964
  attr_reader workflow_approvals: WorkflowApprovalsNamespace
7965
+ attr_reader workflow_secrets: WorkflowSecretsNamespace
7905
7966
  attr_reader workflows: WorkflowsNamespace
7906
7967
  def initialize: (**untyped) -> void
7907
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.23.0
4
+ version: 1.24.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-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.23.0). Covers the published
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.23.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.24.0).
62
62
  test_files: []