infrawrench-sdk 1.24.0 → 1.26.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: b8d6c83177073ee047e58759a47956af1179a467839e20c583d4b25713c294ac
4
- data.tar.gz: 1850be24762115fe542a4257852e77066bd0494cb4aa61021be1004764f32b1b
3
+ metadata.gz: cb59cf971d8395531a0b761e09199bf6d21f4bca51f2f1b137db4b0ea804c771
4
+ data.tar.gz: 93952148454bfa20505d6ea4cb66b6bcdedc599164edcd76b22527f14c6101d6
5
5
  SHA512:
6
- metadata.gz: 5122765f50d8eac6b85654a9bed9013104cf52944d2957769202da43060eaf10de38697890dbe296c06f4ade65401fa6f00ac4810451b5b4e1a8b05215f96c38
7
- data.tar.gz: 678187a5980ab0f79fb99c2b51f7874f72a890a9152882046afc11dc706e146ed2cf6c7c301161612c88ab6c8b1c3c4555b2d673b866f3c6968afb178b6ff70d
6
+ metadata.gz: 75a1e06bd67e2db9c0de76bb99d19d77fc0f7f5a85524e8bd33a1846102dadc6c089f090a9ceb3a05280b724bbe46fa353f8c29042c86d6e26bc5710a0287679
7
+ data.tar.gz: 6ac50fcb026e21ac3397220120d176213384f16799622ec775cb7308e356594c73228ee240365d57cfe454561d7ed2fa487d7e59bf99b4336cebe21ddcf178fd
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.24.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.26.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.chat.conversations.secret_requests.create`. 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
- 662 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 676 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.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.26.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.24.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.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.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."
20
+ spec.summary = "Generated Ruby client for the Infrawrench API (v1.26.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.26.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.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.26.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.24.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -857,6 +857,261 @@ module Infrawrench
857
857
  end
858
858
  end
859
859
 
860
+ # `client.agent.claim`
861
+ class AgentClaimNamespace
862
+ # @api private
863
+ # @param transport [Transport]
864
+ def initialize(transport)
865
+ @transport = transport
866
+ end
867
+
868
+ # Confirm a claim, binding the workspace to the signed-in user
869
+ #
870
+ # The code is re-resolved here rather than trusting a registration id from
871
+ # the lookup, so the lookup cannot be used as an oracle. Rate limited per
872
+ # user.
873
+ #
874
+ # POST /api/agent/claim
875
+ #
876
+ # Raises on 400: Bad code, already claimed, revoked, or a merge with no
877
+ # valid target
878
+ #
879
+ # Raises on 401: Unauthenticated
880
+ #
881
+ # Raises on 402: The merge would put a free target organization over its
882
+ # plan limits
883
+ #
884
+ # Raises on 403: You lack the permission the merge needs in the target
885
+ # organization (`accounts:write`, plus `costs:write` when moving history).
886
+ #
887
+ # Raises on 429: Too many attempts
888
+ #
889
+ # @param body [Hash, nil] Request body, shaped as `AgentClaimRequest`.
890
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
891
+ # @return [Hash] Parsed JSON, shaped as `AgentClaimResult` — see `sig/infrawrench/sdk.rbs`.
892
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
893
+ def create(body: nil, request_options: nil)
894
+ @transport.request(
895
+ http_method: "POST",
896
+ path: "/api/agent/claim",
897
+ body: body,
898
+ request_options: request_options
899
+ )
900
+ end
901
+
902
+ # Resolve a user code so the claim page can show what is being claimed
903
+ #
904
+ # A POST rather than a GET with the code in the path: the code is a live
905
+ # bearer secret for 15 minutes, and a URL lands in history, in `Referer`,
906
+ # and in access logs. Rate limited per user.
907
+ #
908
+ # POST /api/agent/claim/lookup
909
+ #
910
+ # Raises on 400: Missing, malformed, or expired code
911
+ #
912
+ # Raises on 401: Unauthenticated
913
+ #
914
+ # Raises on 404: The workspace no longer exists
915
+ #
916
+ # Raises on 429: Too many attempts
917
+ #
918
+ # @param body [Hash, nil] Request body, shaped as `AgentClaimLookupRequest`.
919
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
920
+ # @return [Hash] Parsed JSON, shaped as `AgentClaimLookup` — see `sig/infrawrench/sdk.rbs`.
921
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
922
+ def lookup(body: nil, request_options: nil)
923
+ @transport.request(
924
+ http_method: "POST",
925
+ path: "/api/agent/claim/lookup",
926
+ body: body,
927
+ request_options: request_options
928
+ )
929
+ end
930
+ end
931
+
932
+ # `client.agent.identity`
933
+ class AgentIdentityNamespace
934
+ # @api private
935
+ # @param transport [Transport]
936
+ def initialize(transport)
937
+ @transport = transport
938
+ end
939
+
940
+ # Start the claim ceremony and mint a user code
941
+ #
942
+ # Returns a code to show the user together with the verification URL.
943
+ # Replaces any code already outstanding for this registration.
944
+ #
945
+ # POST /api/agent/identity/claim
946
+ #
947
+ # Raises on 400: Already claimed
948
+ #
949
+ # Raises on 401: Unknown or revoked credential
950
+ #
951
+ # Raises on 403: Registration revoked
952
+ #
953
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
954
+ # @return [Hash] Parsed JSON, shaped as `AgentClaimStarted` — see `sig/infrawrench/sdk.rbs`.
955
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
956
+ def claim(request_options: nil)
957
+ @transport.request(
958
+ http_method: "POST",
959
+ path: "/api/agent/identity/claim",
960
+ request_options: request_options
961
+ )
962
+ end
963
+
964
+ # Open an anonymous registration and a 24-hour trial workspace
965
+ #
966
+ # Requires no authentication — this is how a client with no credentials gets
967
+ # one. Rate limited per source address. The workspace it opens is deleted 24
968
+ # hours later unless a person completes the claim ceremony.
969
+ #
970
+ # POST /api/agent/identity
971
+ #
972
+ # Raises on 429: Too many registrations from this address
973
+ #
974
+ # Raises on 500: Could not open a workspace
975
+ #
976
+ # @param body [Hash, nil] Request body, shaped as `AgentRegisterRequest`.
977
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
978
+ # @return [Hash] Parsed JSON, shaped as `RegisteredAgent` — see `sig/infrawrench/sdk.rbs`.
979
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
980
+ def create(body: nil, request_options: nil)
981
+ @transport.request(
982
+ http_method: "POST",
983
+ path: "/api/agent/identity",
984
+ body: body,
985
+ request_options: request_options
986
+ )
987
+ end
988
+
989
+ # Poll this registration's claim status and time remaining
990
+ #
991
+ # GET /api/agent/identity
992
+ #
993
+ # Raises on 401: Unknown or revoked credential
994
+ #
995
+ # Raises on 404: Unknown registration
996
+ #
997
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
998
+ # @return [Hash] Parsed JSON, shaped as `AgentIdentity` — see `sig/infrawrench/sdk.rbs`.
999
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
1000
+ def get(request_options: nil)
1001
+ @transport.request(
1002
+ http_method: "GET",
1003
+ path: "/api/agent/identity",
1004
+ request_options: request_options
1005
+ )
1006
+ end
1007
+ end
1008
+
1009
+ # `client.agent`
1010
+ class AgentNamespace
1011
+ # @return [AgentClaimNamespace] `client.agent.claim`
1012
+ attr_reader :claim
1013
+ # @return [AgentIdentityNamespace] `client.agent.identity`
1014
+ attr_reader :identity
1015
+
1016
+ # @api private
1017
+ # @param transport [Transport]
1018
+ def initialize(transport)
1019
+ @transport = transport
1020
+ @claim = AgentClaimNamespace.new(@transport)
1021
+ @identity = AgentIdentityNamespace.new(@transport)
1022
+ end
1023
+ end
1024
+
1025
+ # `client.agent_registrations`
1026
+ class AgentRegistrationsNamespace
1027
+ # @api private
1028
+ # @param transport [Transport]
1029
+ def initialize(transport)
1030
+ @transport = transport
1031
+ end
1032
+
1033
+ # Revoke an agent registration
1034
+ #
1035
+ # The row is kept so audit entries naming this agent stay legible; its
1036
+ # credential stops working on the next request. Closed to agent credentials.
1037
+ #
1038
+ # DELETE /api/org/{orgId}/agent-registrations/{id}
1039
+ #
1040
+ # Raises on 400: Bad request
1041
+ #
1042
+ # Raises on 401: Unauthenticated
1043
+ #
1044
+ # Raises on 402: Payment required — the organization's plan does not include
1045
+ # this
1046
+ #
1047
+ # Raises on 403: Forbidden
1048
+ #
1049
+ # Raises on 404: Not found
1050
+ #
1051
+ # Raises on 409: Conflict
1052
+ #
1053
+ # Raises on 500: Server error
1054
+ #
1055
+ # Raises on 503: A backing service this endpoint depends on is not available
1056
+ #
1057
+ # Raises on reauth: Recent sign-in required. Send the user through sign-in
1058
+ # again and retry; the request itself was well-formed.
1059
+ #
1060
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
1061
+ # constructed with.
1062
+ # @param id [String]
1063
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
1064
+ # @return [Hash] Parsed JSON, shaped as `AgentRevoked` — see `sig/infrawrench/sdk.rbs`.
1065
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
1066
+ def delete(id:, org_id: nil, request_options: nil)
1067
+ @transport.request(
1068
+ http_method: "DELETE",
1069
+ path: "/api/org/{orgId}/agent-registrations/{id}",
1070
+ path_params: { "orgId" => org_id, "id" => id },
1071
+ request_options: request_options
1072
+ )
1073
+ end
1074
+
1075
+ # List the agent registrations acting in this organization
1076
+ #
1077
+ # GET /api/org/{orgId}/agent-registrations
1078
+ #
1079
+ # Raises on 400: Bad request
1080
+ #
1081
+ # Raises on 401: Unauthenticated
1082
+ #
1083
+ # Raises on 402: Payment required — the organization's plan does not include
1084
+ # this
1085
+ #
1086
+ # Raises on 403: Forbidden
1087
+ #
1088
+ # Raises on 404: Not found
1089
+ #
1090
+ # Raises on 409: Conflict
1091
+ #
1092
+ # Raises on 500: Server error
1093
+ #
1094
+ # Raises on 503: A backing service this endpoint depends on is not available
1095
+ #
1096
+ # Raises on reauth: Recent sign-in required. Send the user through sign-in
1097
+ # again and retry; the request itself was well-formed.
1098
+ #
1099
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
1100
+ # constructed with.
1101
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
1102
+ # @return [Array<Hash>] Parsed JSON, shaped as `Array<AgentRegistration>` — see
1103
+ # `sig/infrawrench/sdk.rbs`.
1104
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
1105
+ def list(org_id: nil, request_options: nil)
1106
+ @transport.request(
1107
+ http_method: "GET",
1108
+ path: "/api/org/{orgId}/agent-registrations",
1109
+ path_params: { "orgId" => org_id },
1110
+ request_options: request_options
1111
+ )
1112
+ end
1113
+ end
1114
+
860
1115
  # `client.agents.sessions`
861
1116
  class AgentsSessionsNamespace
862
1117
  # @api private
@@ -3011,6 +3266,57 @@ module Infrawrench
3011
3266
  end
3012
3267
  end
3013
3268
 
3269
+ # `client.chat.conversations.pending`
3270
+ class ChatConversationsPendingNamespace
3271
+ # @api private
3272
+ # @param transport [Transport]
3273
+ def initialize(transport)
3274
+ @transport = transport
3275
+ end
3276
+
3277
+ # Answer an agent question
3278
+ #
3279
+ # Submit answers to a chat-only `ask_question` pending action (selection
3280
+ # with an Other field, or a textarea). Not used for destructive-tool
3281
+ # approval.
3282
+ #
3283
+ # _Requires permission: `chat:write`._
3284
+ #
3285
+ # POST
3286
+ # /api/org/{orgId}/chat/conversations/{conversationId}/pending/{pendingId}/answer
3287
+ #
3288
+ # Raises on 400: Bad request
3289
+ #
3290
+ # Raises on 403: Forbidden
3291
+ #
3292
+ # Raises on 404: Not found
3293
+ #
3294
+ # Raises on 409: Conflict
3295
+ #
3296
+ # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
3297
+ # constructed with.
3298
+ # @param conversation_id [String] Chat conversation id
3299
+ # @param pending_id [String] Pending ask_question action id
3300
+ # @param body [Hash] Request body, shaped as `ChatAskQuestionInput`.
3301
+ # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
3302
+ # @return [Hash] Parsed JSON, shaped as `ChatAskQuestionResult` — see
3303
+ # `sig/infrawrench/sdk.rbs`.
3304
+ # @raise [Infrawrench::ApiError] On any non-2xx response.
3305
+ def answer(conversation_id:, pending_id:, body:, org_id: nil, request_options: nil)
3306
+ @transport.request(
3307
+ http_method: "POST",
3308
+ path: "/api/org/{orgId}/chat/conversations/{conversationId}/pending/{pendingId}/answer",
3309
+ path_params: {
3310
+ "orgId" => org_id,
3311
+ "conversationId" => conversation_id,
3312
+ "pendingId" => pending_id
3313
+ },
3314
+ body: body,
3315
+ request_options: request_options
3316
+ )
3317
+ end
3318
+ end
3319
+
3014
3320
  # `client.chat.conversations.secret_requests`
3015
3321
  class ChatConversationsSecretRequestsNamespace
3016
3322
  # @api private
@@ -3062,6 +3368,8 @@ module Infrawrench
3062
3368
 
3063
3369
  # `client.chat.conversations`
3064
3370
  class ChatConversationsNamespace
3371
+ # @return [ChatConversationsPendingNamespace] `client.chat.conversations.pending`
3372
+ attr_reader :pending
3065
3373
  # @return [ChatConversationsSecretRequestsNamespace] `client.chat.conversations.secret_requests`
3066
3374
  attr_reader :secret_requests
3067
3375
 
@@ -3069,6 +3377,7 @@ module Infrawrench
3069
3377
  # @param transport [Transport]
3070
3378
  def initialize(transport)
3071
3379
  @transport = transport
3380
+ @pending = ChatConversationsPendingNamespace.new(@transport)
3072
3381
  @secret_requests = ChatConversationsSecretRequestsNamespace.new(@transport)
3073
3382
  end
3074
3383
  end
@@ -15115,6 +15424,10 @@ module Infrawrench
15115
15424
  attr_reader :access_review
15116
15425
  # @return [AccountsNamespace] `client.accounts`
15117
15426
  attr_reader :accounts
15427
+ # @return [AgentNamespace] `client.agent`
15428
+ attr_reader :agent
15429
+ # @return [AgentRegistrationsNamespace] `client.agent_registrations`
15430
+ attr_reader :agent_registrations
15118
15431
  # @return [AgentsNamespace] `client.agents`
15119
15432
  attr_reader :agents
15120
15433
  # @return [AlertRulesNamespace] `client.alert_rules`
@@ -15296,6 +15609,8 @@ module Infrawrench
15296
15609
  @access_requests = AccessRequestsNamespace.new(@transport)
15297
15610
  @access_review = AccessReviewNamespace.new(@transport)
15298
15611
  @accounts = AccountsNamespace.new(@transport)
15612
+ @agent = AgentNamespace.new(@transport)
15613
+ @agent_registrations = AgentRegistrationsNamespace.new(@transport)
15299
15614
  @agents = AgentsNamespace.new(@transport)
15300
15615
  @alert_rules = AlertRulesNamespace.new(@transport)
15301
15616
  @api_keys = ApiKeysNamespace.new(@transport)
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.26.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.24.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.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.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.26.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.24.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.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.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.26.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.24.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.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.24.0"
18
+ VERSION = "1.26.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.26.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.24.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.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.24.0 | MIT | Copyright (c) 2026 Infrawrench LLC
1
+ # infrawrench-sdk v1.26.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.24.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.26.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -292,6 +292,74 @@ module Infrawrench
292
292
  # Spec schema: `ActiveTunnel`.
293
293
  type active_tunnel = { "localPort" => Integer, "sshHost" => String, "remotePort" => Integer }
294
294
 
295
+ # Spec schema: `AgentClaimLookup`.
296
+ type agent_claim_lookup = {
297
+ "registrationId" => String,
298
+ "workspaceName" => String,
299
+ "trialExpiresInMs" => Integer | nil,
300
+ "mergeTargets" => Array[agent_claim_merge_target]
301
+ }
302
+
303
+ # Spec schema: `AgentClaimLookupRequest`.
304
+ type agent_claim_lookup_request = { "code" => String }
305
+
306
+ # Spec schema: `AgentClaimMergeTarget`.
307
+ type agent_claim_merge_target = { "id" => String, "displayName" => String }
308
+
309
+ # Spec schema: `AgentClaimRequest`.
310
+ type agent_claim_request = {
311
+ "code" => String,
312
+ ?"mode" => "adopt" | "merge",
313
+ ?"targetOrganizationId" => String,
314
+ ?"moveHistory" => bool
315
+ }
316
+
317
+ # Spec schema: `AgentClaimResult`.
318
+ type agent_claim_result = {
319
+ "organizationId" => String,
320
+ "mode" => "adopt" | "merge",
321
+ "accountsMoved" => Integer,
322
+ "historyMoved" => bool
323
+ }
324
+
325
+ # Spec schema: `AgentClaimStarted`.
326
+ type agent_claim_started = {
327
+ "user_code" => String,
328
+ "verification_uri" => String,
329
+ "verification_uri_complete" => String,
330
+ "expires_at" => String,
331
+ "interval" => Integer
332
+ }
333
+
334
+ # Spec schema: `AgentIdentity`.
335
+ type agent_identity = {
336
+ "registration_id" => String,
337
+ "organization_id" => String,
338
+ "claimed" => bool,
339
+ "claim_pending" => bool,
340
+ "trial_expires_in_ms" => Integer | nil
341
+ }
342
+
343
+ # Spec schema: `AgentRegisterRequest`.
344
+ type agent_register_request = { ?"label" => String }
345
+
346
+ # Spec schema: `AgentRegistration`.
347
+ type agent_registration = {
348
+ "id" => String,
349
+ "label" => String | nil,
350
+ "kind" => "anonymous" | "service_auth",
351
+ "prefix" => String | nil,
352
+ "claimedAt" => String | nil,
353
+ "claimedByUserId" => String | nil,
354
+ "claimedByEmail" => String | nil,
355
+ "lastSeenAt" => String | nil,
356
+ "revokedAt" => String | nil,
357
+ "createdAt" => String
358
+ }
359
+
360
+ # Spec schema: `AgentRevoked`.
361
+ type agent_revoked = { "ok" => bool, "revoked" => bool }
362
+
295
363
  # Spec schema: `AgentSession`.
296
364
  type agent_session = {
297
365
  "id" => String,
@@ -1143,6 +1211,15 @@ module Infrawrench
1143
1211
  # Spec schema: `ChangeFreezeStatus`.
1144
1212
  type change_freeze_status = { "freeze" => change_freeze & (Hash[String, untyped] | nil) }
1145
1213
 
1214
+ # Spec schema: `ChatAskQuestionAnswer`.
1215
+ type chat_ask_question_answer = { "questionId" => String, ?"optionId" => String, ?"text" => String }
1216
+
1217
+ # Spec schema: `ChatAskQuestionInput`.
1218
+ type chat_ask_question_input = { "answers" => Array[chat_ask_question_answer] }
1219
+
1220
+ # Spec schema: `ChatAskQuestionResult`.
1221
+ type chat_ask_question_result = { "ok" => bool, "allResolved" => bool }
1222
+
1146
1223
  # Spec schema: `ChatSecretRequestResult`.
1147
1224
  type chat_secret_request_result = { "ok" => bool, "allResolved" => bool }
1148
1225
 
@@ -5012,6 +5089,16 @@ module Infrawrench
5012
5089
  # Spec schema: `ReauthenticationRequired`.
5013
5090
  type reauthentication_required = { "error" => String, "code" => "reauthentication_required" }
5014
5091
 
5092
+ # Spec schema: `RegisteredAgent`.
5093
+ type registered_agent = {
5094
+ "registration_id" => String,
5095
+ "credential" => String,
5096
+ "organization_id" => String,
5097
+ "trial_expires_at" => String,
5098
+ "claim_url" => String,
5099
+ "notice" => String
5100
+ }
5101
+
5015
5102
  # Spec schema: `ReorderRequest`.
5016
5103
  type reorder_request = {
5017
5104
  ?"cards" => Array[{ "kind" => "resource" | "workflow" | "widget", "id" => String }],
@@ -6800,6 +6887,31 @@ module Infrawrench
6800
6887
  def update: (id: String, body: update_account_request, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> updated_account
6801
6888
  end
6802
6889
 
6890
+ class AgentClaimNamespace
6891
+ def initialize: (Transport) -> void
6892
+ def create: (?body: agent_claim_request?, ?request_options: Hash[Symbol, untyped]?) -> agent_claim_result
6893
+ def lookup: (?body: agent_claim_lookup_request?, ?request_options: Hash[Symbol, untyped]?) -> agent_claim_lookup
6894
+ end
6895
+
6896
+ class AgentIdentityNamespace
6897
+ def initialize: (Transport) -> void
6898
+ def claim: (?request_options: Hash[Symbol, untyped]?) -> agent_claim_started
6899
+ def create: (?body: agent_register_request?, ?request_options: Hash[Symbol, untyped]?) -> registered_agent
6900
+ def get: (?request_options: Hash[Symbol, untyped]?) -> agent_identity
6901
+ end
6902
+
6903
+ class AgentNamespace
6904
+ attr_reader claim: AgentClaimNamespace
6905
+ attr_reader identity: AgentIdentityNamespace
6906
+ def initialize: (Transport) -> void
6907
+ end
6908
+
6909
+ class AgentRegistrationsNamespace
6910
+ def initialize: (Transport) -> void
6911
+ def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> agent_revoked
6912
+ def list: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> Array[agent_registration]
6913
+ end
6914
+
6803
6915
  class AgentsSessionsNamespace
6804
6916
  def initialize: (Transport) -> void
6805
6917
  def create: (body: create_agent_session, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> agent_session
@@ -6978,12 +7090,18 @@ module Infrawrench
6978
7090
  def resource: (resource_id: String, ?org_id: String?, ?limit: Integer?, ?request_options: Hash[Symbol, untyped]?) -> resource_change_list_response
6979
7091
  end
6980
7092
 
7093
+ class ChatConversationsPendingNamespace
7094
+ def initialize: (Transport) -> void
7095
+ 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
7096
+ end
7097
+
6981
7098
  class ChatConversationsSecretRequestsNamespace
6982
7099
  def initialize: (Transport) -> void
6983
7100
  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
7101
  end
6985
7102
 
6986
7103
  class ChatConversationsNamespace
7104
+ attr_reader pending: ChatConversationsPendingNamespace
6987
7105
  attr_reader secret_requests: ChatConversationsSecretRequestsNamespace
6988
7106
  def initialize: (Transport) -> void
6989
7107
  end
@@ -7878,6 +7996,8 @@ module Infrawrench
7878
7996
  attr_reader access_requests: AccessRequestsNamespace
7879
7997
  attr_reader access_review: AccessReviewNamespace
7880
7998
  attr_reader accounts: AccountsNamespace
7999
+ attr_reader agent: AgentNamespace
8000
+ attr_reader agent_registrations: AgentRegistrationsNamespace
7881
8001
  attr_reader agents: AgentsNamespace
7882
8002
  attr_reader alert_rules: AlertRulesNamespace
7883
8003
  attr_reader api_keys: ApiKeysNamespace
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.24.0
4
+ version: 1.26.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-13 00:00:00.000000000 Z
12
+ date: 2026-08-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.24.0). Covers the published
14
+ description: Generated Ruby client for the Infrawrench API (v1.26.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.24.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.26.0).
62
62
  test_files: []