infrawrench-sdk 1.23.0 → 1.25.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: 10a383170e662790905795c2e478efcc3e18f0e38bc207c339c405f7b8929634
4
+ data.tar.gz: b8edc9af2fbd4d9250b17fd0b63288f3e464baa3c46e78c938d57d4c67e9c1d7
5
5
  SHA512:
6
- metadata.gz: d147ab6ffc174f6d7ca66a18ceb18fa7812d139ada44434d2e22799aac893d9955b3481f93cf9f529d9f1badab5fe69ac2c65574e82e4abe8356e3691b349e11
7
- data.tar.gz: 82df8ca3b6f460aaafdd7aaed1e84ba1adc45fc73c6c18d398968c4934d9ff44fc4164b4ec9a7d5a43adb5e8a4a504c0979bfa315fb7e00f28ef367b9e93d74b
6
+ metadata.gz: 4fc9822609ed783e60b495f8b79574f8211546750a21b389105bc765ba3a3292215c42e16e1d9529d274d12aa1ebdafe31901f4154657adfccfec19f955c8705
7
+ data.tar.gz: e0174d19aedf2430a009265b81ebb24ed56d4db734f75a378e18a7604e459589ef79a8a0160d16a9baee3c1d762358969519b2e59cc0dbb6e52914c197beff12
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.25.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.pending.answer`. 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
+ 665 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.25.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.25.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.25.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.25.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.25.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.25.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -3011,6 +3011,135 @@ module Infrawrench
3011
3011
  end
3012
3012
  end
3013
3013
 
3014
+ # `client.chat.conversations.pending`
3015
+ class ChatConversationsPendingNamespace
3016
+ # @api private
3017
+ # @param transport [Transport]
3018
+ def initialize(transport)
3019
+ @transport = transport
3020
+ end
3021
+
3022
+ # Answer an agent question
3023
+ #
3024
+ # Submit answers to a chat-only `ask_question` pending action (selection
3025
+ # with an Other field, or a textarea). Not used for destructive-tool
3026
+ # approval.
3027
+ #
3028
+ # _Requires permission: `chat:write`._
3029
+ #
3030
+ # POST
3031
+ # /api/org/{orgId}/chat/conversations/{conversationId}/pending/{pendingId}/answer
3032
+ #
3033
+ # Raises on 400: Bad request
3034
+ #
3035
+ # Raises on 403: Forbidden
3036
+ #
3037
+ # Raises on 404: Not found
3038
+ #
3039
+ # Raises on 409: Conflict
3040
+ #
3041
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
3042
+ # constructed with.
3043
+ # @param conversation_id [String] Chat conversation id
3044
+ # @param pending_id [String] Pending ask_question action id
3045
+ # @param body [Hash] Request body, shaped as `ChatAskQuestionInput`.
3046
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
3047
+ # @return [Hash] Parsed JSON, shaped as `ChatAskQuestionResult` — see
3048
+ # `sig/infrawrench/sdk.rbs`.
3049
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
3050
+ def answer(conversation_id:, pending_id:, body:, org_id: nil, request_options: nil)
3051
+ @transport.request(
3052
+ http_method: "POST",
3053
+ path: "/api/org/{orgId}/chat/conversations/{conversationId}/pending/{pendingId}/answer",
3054
+ path_params: {
3055
+ "orgId" => org_id,
3056
+ "conversationId" => conversation_id,
3057
+ "pendingId" => pending_id
3058
+ },
3059
+ body: body,
3060
+ request_options: request_options
3061
+ )
3062
+ end
3063
+ end
3064
+
3065
+ # `client.chat.conversations.secret_requests`
3066
+ class ChatConversationsSecretRequestsNamespace
3067
+ # @api private
3068
+ # @param transport [Transport]
3069
+ def initialize(transport)
3070
+ @transport = transport
3071
+ end
3072
+
3073
+ # Submit a requested workflow secret
3074
+ #
3075
+ # Human-only, write-only handoff from the chat password field to encrypted
3076
+ # workflow-secret storage. The value is never returned or added to chat
3077
+ # history.
3078
+ #
3079
+ # POST
3080
+ # /api/org/{orgId}/chat/conversations/{conversationId}/secret-requests/{requestId}
3081
+ #
3082
+ # Raises on 400: Bad request
3083
+ #
3084
+ # Raises on 403: Forbidden
3085
+ #
3086
+ # Raises on 404: Not found
3087
+ #
3088
+ # Raises on 409: Conflict
3089
+ #
3090
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
3091
+ # constructed with.
3092
+ # @param conversation_id [String] Chat conversation id
3093
+ # @param request_id [String] Pending secret request id
3094
+ # @param body [Hash] Request body, shaped as `WorkflowSecretValueWrite`.
3095
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
3096
+ # @return [Hash] Parsed JSON, shaped as `ChatSecretRequestResult` — see
3097
+ # `sig/infrawrench/sdk.rbs`.
3098
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
3099
+ def create(conversation_id:, request_id:, body:, org_id: nil, request_options: nil)
3100
+ @transport.request(
3101
+ http_method: "POST",
3102
+ path: "/api/org/{orgId}/chat/conversations/{conversationId}/secret-requests/{requestId}",
3103
+ path_params: {
3104
+ "orgId" => org_id,
3105
+ "conversationId" => conversation_id,
3106
+ "requestId" => request_id
3107
+ },
3108
+ body: body,
3109
+ request_options: request_options
3110
+ )
3111
+ end
3112
+ end
3113
+
3114
+ # `client.chat.conversations`
3115
+ class ChatConversationsNamespace
3116
+ # @return [ChatConversationsPendingNamespace] `client.chat.conversations.pending`
3117
+ attr_reader :pending
3118
+ # @return [ChatConversationsSecretRequestsNamespace] `client.chat.conversations.secret_requests`
3119
+ attr_reader :secret_requests
3120
+
3121
+ # @api private
3122
+ # @param transport [Transport]
3123
+ def initialize(transport)
3124
+ @transport = transport
3125
+ @pending = ChatConversationsPendingNamespace.new(@transport)
3126
+ @secret_requests = ChatConversationsSecretRequestsNamespace.new(@transport)
3127
+ end
3128
+ end
3129
+
3130
+ # `client.chat`
3131
+ class ChatNamespace
3132
+ # @return [ChatConversationsNamespace] `client.chat.conversations`
3133
+ attr_reader :conversations
3134
+
3135
+ # @api private
3136
+ # @param transport [Transport]
3137
+ def initialize(transport)
3138
+ @transport = transport
3139
+ @conversations = ChatConversationsNamespace.new(@transport)
3140
+ end
3141
+ end
3142
+
3014
3143
  # `client.commitments`
3015
3144
  class CommitmentsNamespace
3016
3145
  # @api private
@@ -14668,6 +14797,151 @@ module Infrawrench
14668
14797
  end
14669
14798
  end
14670
14799
 
14800
+ # `client.workflow_secrets`
14801
+ class WorkflowSecretsNamespace
14802
+ # @api private
14803
+ # @param transport [Transport]
14804
+ def initialize(transport)
14805
+ @transport = transport
14806
+ end
14807
+
14808
+ # Create workflow secret metadata
14809
+ #
14810
+ # Creates metadata without a value. Write the value separately through the
14811
+ # write-only value endpoint.
14812
+ #
14813
+ # _Requires permission: `secrets:write`._
14814
+ #
14815
+ # POST /api/org/{orgId}/workflow-secrets
14816
+ #
14817
+ # Raises on 400: Bad request
14818
+ #
14819
+ # Raises on 409: Conflict
14820
+ #
14821
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14822
+ # constructed with.
14823
+ # @param body [Hash] Request body, shaped as `WorkflowSecretCreate`.
14824
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14825
+ # @return [Hash] Parsed JSON, shaped as `WorkflowSecret` — see `sig/infrawrench/sdk.rbs`.
14826
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14827
+ def create(body:, org_id: nil, request_options: nil)
14828
+ @transport.request(
14829
+ http_method: "POST",
14830
+ path: "/api/org/{orgId}/workflow-secrets",
14831
+ path_params: { "orgId" => org_id },
14832
+ body: body,
14833
+ request_options: request_options
14834
+ )
14835
+ end
14836
+
14837
+ # Delete a workflow secret
14838
+ #
14839
+ # Also removes every workflow assignment through database cascades.
14840
+ #
14841
+ # _Requires permission: `secrets:write`._
14842
+ #
14843
+ # DELETE /api/org/{orgId}/workflow-secrets/{id}
14844
+ #
14845
+ # Raises on 404: Not found
14846
+ #
14847
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14848
+ # constructed with.
14849
+ # @param id [String] Workflow secret id
14850
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14851
+ # @return [Hash] Parsed JSON, shaped as `Ok` — see `sig/infrawrench/sdk.rbs`.
14852
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14853
+ def delete(id:, org_id: nil, request_options: nil)
14854
+ @transport.request(
14855
+ http_method: "DELETE",
14856
+ path: "/api/org/{orgId}/workflow-secrets/{id}",
14857
+ path_params: { "orgId" => org_id, "id" => id },
14858
+ request_options: request_options
14859
+ )
14860
+ end
14861
+
14862
+ # List reusable workflow secrets
14863
+ #
14864
+ # Returns metadata and hasValue only; plaintext values are never returned.
14865
+ #
14866
+ # _Requires permission: `secrets:read`._
14867
+ #
14868
+ # GET /api/org/{orgId}/workflow-secrets
14869
+ #
14870
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14871
+ # constructed with.
14872
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14873
+ # @return [Array<Hash>] Parsed JSON, shaped as `Array<WorkflowSecret>` — see
14874
+ # `sig/infrawrench/sdk.rbs`.
14875
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14876
+ def list(org_id: nil, request_options: nil)
14877
+ @transport.request(
14878
+ http_method: "GET",
14879
+ path: "/api/org/{orgId}/workflow-secrets",
14880
+ path_params: { "orgId" => org_id },
14881
+ request_options: request_options
14882
+ )
14883
+ end
14884
+
14885
+ # Update workflow secret metadata
14886
+ #
14887
+ # _Requires permission: `secrets:write`._
14888
+ #
14889
+ # PATCH /api/org/{orgId}/workflow-secrets/{id}
14890
+ #
14891
+ # Raises on 400: Bad request
14892
+ #
14893
+ # Raises on 404: Not found
14894
+ #
14895
+ # Raises on 409: Conflict
14896
+ #
14897
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14898
+ # constructed with.
14899
+ # @param id [String] Workflow secret id
14900
+ # @param body [Hash] Request body, shaped as `WorkflowSecretUpdate`.
14901
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14902
+ # @return [Hash] Parsed JSON, shaped as `WorkflowSecret` — see `sig/infrawrench/sdk.rbs`.
14903
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14904
+ def update(id:, body:, org_id: nil, request_options: nil)
14905
+ @transport.request(
14906
+ http_method: "PATCH",
14907
+ path: "/api/org/{orgId}/workflow-secrets/{id}",
14908
+ path_params: { "orgId" => org_id, "id" => id },
14909
+ body: body,
14910
+ request_options: request_options
14911
+ )
14912
+ end
14913
+
14914
+ # Write a workflow secret value
14915
+ #
14916
+ # Write-only. The response contains metadata and hasValue, never the
14917
+ # supplied plaintext.
14918
+ #
14919
+ # _Requires permission: `secrets:write`._
14920
+ #
14921
+ # PUT /api/org/{orgId}/workflow-secrets/{id}/value
14922
+ #
14923
+ # Raises on 400: Bad request
14924
+ #
14925
+ # Raises on 404: Not found
14926
+ #
14927
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
14928
+ # constructed with.
14929
+ # @param id [String] Workflow secret id
14930
+ # @param body [Hash] Request body, shaped as `WorkflowSecretValueWrite`.
14931
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
14932
+ # @return [Hash] Parsed JSON, shaped as `WorkflowSecret` — see `sig/infrawrench/sdk.rbs`.
14933
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
14934
+ def value(id:, body:, org_id: nil, request_options: nil)
14935
+ @transport.request(
14936
+ http_method: "PUT",
14937
+ path: "/api/org/{orgId}/workflow-secrets/{id}/value",
14938
+ path_params: { "orgId" => org_id, "id" => id },
14939
+ body: body,
14940
+ request_options: request_options
14941
+ )
14942
+ end
14943
+ end
14944
+
14671
14945
  # `client.workflows.schedule`
14672
14946
  class WorkflowsScheduleNamespace
14673
14947
  # @api private
@@ -14763,16 +15037,82 @@ module Infrawrench
14763
15037
  end
14764
15038
  end
14765
15039
 
15040
+ # `client.workflows.secrets`
15041
+ class WorkflowsSecretsNamespace
15042
+ # @api private
15043
+ # @param transport [Transport]
15044
+ def initialize(transport)
15045
+ @transport = transport
15046
+ end
15047
+
15048
+ # List a workflow's assigned secrets
15049
+ #
15050
+ # Returns assigned ids and metadata only, never values.
15051
+ #
15052
+ # _Requires permission: `secrets:read`._
15053
+ #
15054
+ # GET /api/org/{orgId}/workflows/{id}/secrets
15055
+ #
15056
+ # Raises on 404: Not found
15057
+ #
15058
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15059
+ # constructed with.
15060
+ # @param id [String] Workflow id
15061
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15062
+ # @return [Hash] Parsed JSON, shaped as `WorkflowSecretAssignment` — see
15063
+ # `sig/infrawrench/sdk.rbs`.
15064
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15065
+ def get(id:, org_id: nil, request_options: nil)
15066
+ @transport.request(
15067
+ http_method: "GET",
15068
+ path: "/api/org/{orgId}/workflows/{id}/secrets",
15069
+ path_params: { "orgId" => org_id, "id" => id },
15070
+ request_options: request_options
15071
+ )
15072
+ end
15073
+
15074
+ # Replace a workflow's secret assignments
15075
+ #
15076
+ # _Requires permission: `workflows:write`._
15077
+ #
15078
+ # PUT /api/org/{orgId}/workflows/{id}/secrets
15079
+ #
15080
+ # Raises on 400: Bad request
15081
+ #
15082
+ # Raises on 404: Not found
15083
+ #
15084
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15085
+ # constructed with.
15086
+ # @param id [String] Workflow id
15087
+ # @param body [Hash] Request body, shaped as `WorkflowSecretAssignmentInput`.
15088
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15089
+ # @return [Hash] Parsed JSON, shaped as `WorkflowSecretAssignment` — see
15090
+ # `sig/infrawrench/sdk.rbs`.
15091
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
15092
+ def update(id:, body:, org_id: nil, request_options: nil)
15093
+ @transport.request(
15094
+ http_method: "PUT",
15095
+ path: "/api/org/{orgId}/workflows/{id}/secrets",
15096
+ path_params: { "orgId" => org_id, "id" => id },
15097
+ body: body,
15098
+ request_options: request_options
15099
+ )
15100
+ end
15101
+ end
15102
+
14766
15103
  # `client.workflows`
14767
15104
  class WorkflowsNamespace
14768
15105
  # @return [WorkflowsScheduleNamespace] `client.workflows.schedule`
14769
15106
  attr_reader :schedule
15107
+ # @return [WorkflowsSecretsNamespace] `client.workflows.secrets`
15108
+ attr_reader :secrets
14770
15109
 
14771
15110
  # @api private
14772
15111
  # @param transport [Transport]
14773
15112
  def initialize(transport)
14774
15113
  @transport = transport
14775
15114
  @schedule = WorkflowsScheduleNamespace.new(@transport)
15115
+ @secrets = WorkflowsSecretsNamespace.new(@transport)
14776
15116
  end
14777
15117
 
14778
15118
  # Generated infra.d.ts for a workflow
@@ -14861,6 +15201,8 @@ module Infrawrench
14861
15201
  attr_reader :change_freezes
14862
15202
  # @return [ChangesNamespace] `client.changes`
14863
15203
  attr_reader :changes
15204
+ # @return [ChatNamespace] `client.chat`
15205
+ attr_reader :chat
14864
15206
  # @return [CommitmentsNamespace] `client.commitments`
14865
15207
  attr_reader :commitments
14866
15208
  # @return [ConfigNamespace] `client.config`
@@ -14995,6 +15337,8 @@ module Infrawrench
14995
15337
  attr_reader :team
14996
15338
  # @return [WorkflowApprovalsNamespace] `client.workflow_approvals`
14997
15339
  attr_reader :workflow_approvals
15340
+ # @return [WorkflowSecretsNamespace] `client.workflow_secrets`
15341
+ attr_reader :workflow_secrets
14998
15342
  # @return [WorkflowsNamespace] `client.workflows`
14999
15343
  attr_reader :workflows
15000
15344
 
@@ -15022,6 +15366,7 @@ module Infrawrench
15022
15366
  @business_metrics = BusinessMetricsNamespace.new(@transport)
15023
15367
  @change_freezes = ChangeFreezesNamespace.new(@transport)
15024
15368
  @changes = ChangesNamespace.new(@transport)
15369
+ @chat = ChatNamespace.new(@transport)
15025
15370
  @commitments = CommitmentsNamespace.new(@transport)
15026
15371
  @config = ConfigNamespace.new(@transport)
15027
15372
  @connect = ConnectNamespace.new(@transport)
@@ -15089,6 +15434,7 @@ module Infrawrench
15089
15434
  @tag_policy = TagPolicyNamespace.new(@transport)
15090
15435
  @team = TeamNamespace.new(@transport)
15091
15436
  @workflow_approvals = WorkflowApprovalsNamespace.new(@transport)
15437
+ @workflow_secrets = WorkflowSecretsNamespace.new(@transport)
15092
15438
  @workflows = WorkflowsNamespace.new(@transport)
15093
15439
  end
15094
15440
  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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -1143,6 +1143,18 @@ 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: `ChatAskQuestionAnswer`.
1147
+ type chat_ask_question_answer = { "questionId" => String, ?"optionId" => String, ?"text" => String }
1148
+
1149
+ # Spec schema: `ChatAskQuestionInput`.
1150
+ type chat_ask_question_input = { "answers" => Array[chat_ask_question_answer] }
1151
+
1152
+ # Spec schema: `ChatAskQuestionResult`.
1153
+ type chat_ask_question_result = { "ok" => bool, "allResolved" => bool }
1154
+
1155
+ # Spec schema: `ChatSecretRequestResult`.
1156
+ type chat_secret_request_result = { "ok" => bool, "allResolved" => bool }
1157
+
1146
1158
  # Spec schema: `ChildResourceRef`.
1147
1159
  type child_resource_ref = {
1148
1160
  "id" => resource_id,
@@ -6706,6 +6718,31 @@ module Infrawrench
6706
6718
  # Spec schema: `WorkflowScheduleResponse`.
6707
6719
  type workflow_schedule_response = { "schedule" => workflow_schedule | nil | nil }
6708
6720
 
6721
+ # Spec schema: `WorkflowSecret`.
6722
+ type workflow_secret = {
6723
+ "id" => String,
6724
+ "name" => String,
6725
+ "description" => String | nil,
6726
+ "hasValue" => bool,
6727
+ "createdAt" => String,
6728
+ "updatedAt" => String
6729
+ }
6730
+
6731
+ # Spec schema: `WorkflowSecretAssignment`.
6732
+ type workflow_secret_assignment = { "secretIds" => Array[String], "secrets" => Array[workflow_secret] }
6733
+
6734
+ # Spec schema: `WorkflowSecretAssignmentInput`.
6735
+ type workflow_secret_assignment_input = { "secretIds" => Array[String] }
6736
+
6737
+ # Spec schema: `WorkflowSecretCreate`.
6738
+ type workflow_secret_create = { "name" => String, ?"description" => String | nil }
6739
+
6740
+ # Spec schema: `WorkflowSecretUpdate`.
6741
+ type workflow_secret_update = { ?"name" => String, ?"description" => String | nil }
6742
+
6743
+ # Spec schema: `WorkflowSecretValueWrite`.
6744
+ type workflow_secret_value_write = { "value" => String }
6745
+
6709
6746
  # Spec schema: `WorkflowTypingsResponse`.
6710
6747
  type workflow_typings_response = { "dts" => String }
6711
6748
 
@@ -6950,6 +6987,27 @@ module Infrawrench
6950
6987
  def resource: (resource_id: String, ?org_id: String?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> resource_change_list_response
6951
6988
  end
6952
6989
 
6990
+ class ChatConversationsPendingNamespace
6991
+ def initialize: (Transport) -> void
6992
+ def answer: (conversation_id: String, pending_id: String, body: chat_ask_question_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> chat_ask_question_result
6993
+ end
6994
+
6995
+ class ChatConversationsSecretRequestsNamespace
6996
+ def initialize: (Transport) -> void
6997
+ 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
6998
+ end
6999
+
7000
+ class ChatConversationsNamespace
7001
+ attr_reader pending: ChatConversationsPendingNamespace
7002
+ attr_reader secret_requests: ChatConversationsSecretRequestsNamespace
7003
+ def initialize: (Transport) -> void
7004
+ end
7005
+
7006
+ class ChatNamespace
7007
+ attr_reader conversations: ChatConversationsNamespace
7008
+ def initialize: (Transport) -> void
7009
+ end
7010
+
6953
7011
  class CommitmentsNamespace
6954
7012
  def initialize: (Transport) -> void
6955
7013
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> commitments_feed
@@ -7801,6 +7859,15 @@ module Infrawrench
7801
7859
  def list: (?org_id: String?, ?status: workflow_approval_status?, ?workflow_id: String?, ?run_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[workflow_approval]
7802
7860
  end
7803
7861
 
7862
+ class WorkflowSecretsNamespace
7863
+ def initialize: (Transport) -> void
7864
+ def create: (body: workflow_secret_create, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret
7865
+ def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
7866
+ def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[workflow_secret]
7867
+ def update: (id: String, body: workflow_secret_update, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret
7868
+ def value: (id: String, body: workflow_secret_value_write, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret
7869
+ end
7870
+
7804
7871
  class WorkflowsScheduleNamespace
7805
7872
  def initialize: (Transport) -> void
7806
7873
  def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> ok
@@ -7808,8 +7875,15 @@ module Infrawrench
7808
7875
  def update: (id: String, body: workflow_schedule_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_schedule_response
7809
7876
  end
7810
7877
 
7878
+ class WorkflowsSecretsNamespace
7879
+ def initialize: (Transport) -> void
7880
+ def get: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret_assignment
7881
+ def update: (id: String, body: workflow_secret_assignment_input, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> workflow_secret_assignment
7882
+ end
7883
+
7811
7884
  class WorkflowsNamespace
7812
7885
  attr_reader schedule: WorkflowsScheduleNamespace
7886
+ attr_reader secrets: WorkflowsSecretsNamespace
7813
7887
  def initialize: (Transport) -> void
7814
7888
  def typings: (id: String, ?org_id: String?, ?enrich: "1" | "true"?, ?request_options: Hash[Symbol, untyped]?) -> workflow_typings_response
7815
7889
  end
@@ -7835,6 +7909,7 @@ module Infrawrench
7835
7909
  attr_reader business_metrics: BusinessMetricsNamespace
7836
7910
  attr_reader change_freezes: ChangeFreezesNamespace
7837
7911
  attr_reader changes: ChangesNamespace
7912
+ attr_reader chat: ChatNamespace
7838
7913
  attr_reader commitments: CommitmentsNamespace
7839
7914
  attr_reader config: ConfigNamespace
7840
7915
  attr_reader connect: ConnectNamespace
@@ -7902,6 +7977,7 @@ module Infrawrench
7902
7977
  attr_reader tag_policy: TagPolicyNamespace
7903
7978
  attr_reader team: TeamNamespace
7904
7979
  attr_reader workflow_approvals: WorkflowApprovalsNamespace
7980
+ attr_reader workflow_secrets: WorkflowSecretsNamespace
7905
7981
  attr_reader workflows: WorkflowsNamespace
7906
7982
  def initialize: (**untyped) -> void
7907
7983
  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.25.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.25.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.25.0).
62
62
  test_files: []