infrawrench-sdk 1.37.0 → 1.38.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: 0f11289beb11fa6b4a5c0e9c7c4f8f9e419991a78ff4133eae4b42577ccfa327
4
- data.tar.gz: f71bf753dbbab92d81a6d2404e0c6cd6610782dd2a70fc6f282c911870dd1809
3
+ metadata.gz: bab1d4f43f9cae4e3f4f2eb8b99a5ddac8a84f26562880114df3869b2f6388a6
4
+ data.tar.gz: 273371405a43948647ad16ea742ca3dbafeb74089e97e565b4b07b446e93196f
5
5
  SHA512:
6
- metadata.gz: 3052007764473ba1d6bd04a1dea4691d692a80ee30d44b9d9885436d07f1e18b5dad89e5dd419bef80e6b345fdbf6fda82cc970d431fb9473c3ea1ea94fa8f9e
7
- data.tar.gz: 6db99b1494f0d66e8b0e3c1dc3bda095d05f77cff10a3ebffa1cdba3c752c50950f6c73357a661d697e8b84f7bfcace74612f8ba4caf494f80fa52199528c745
6
+ metadata.gz: 1f0d56c435c600c37461e7fcbccc7f3a8c17cb05a17f43a85c5c623d4cf49a4a2c1b8f1e7fba0c6230a203bd3b107f3a9484fb36e9870de92e11dfa7cc7269cb
7
+ data.tar.gz: d94511ce18b4806e465577e7150bdba5e30882c80252620e575f1116bb60b6324d52ef302fdeb0f4d0cd5b21e167f2e4c5c1f9a3a24d4941c391c25acc48e32c
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.37.0`).
3
+ Generated Ruby client for the Infrawrench API (API version `1.38.0`).
4
4
 
5
5
  **Do not edit this gem by hand** — it is regenerated from `openapi.json` and is
6
6
  not checked into the repository. Run
@@ -41,7 +41,7 @@ Every method takes an optional trailing `request_options:` hash (`:headers`,
41
41
  Responses are the plain `Hash`/`Array` that `JSON.parse` returns, with String
42
42
  keys spelled exactly as the wire spells them. There are no model classes — see
43
43
  [`sig/infrawrench/sdk.rbs`](./sig/infrawrench/sdk.rbs) for the shape of every one of the
44
- 734 schemas, as RBS type aliases that steep and TypeProf can read.
44
+ 731 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.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.38.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.37.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.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.37.0)."
21
- spec.description = "Generated Ruby client for the Infrawrench API (v1.37.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.38.0)."
21
+ spec.description = "Generated Ruby client for the Infrawrench API (v1.38.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.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.38.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.37.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.0).
7
7
  #
8
8
  # DO NOT EDIT. Regenerate with:
9
9
  # pnpm --filter @infrawrench/web generate:sdk
@@ -15404,107 +15404,12 @@ module Infrawrench
15404
15404
  end
15405
15405
  end
15406
15406
 
15407
- # `client.status_pages.custom_hostname`
15408
- class StatusPagesCustomHostnameNamespace
15409
- # @api private
15410
- # @param transport [Transport]
15411
- def initialize(transport)
15412
- @transport = transport
15413
- end
15414
-
15415
- # Attach a custom domain
15416
- #
15417
- # Creates a Cloudflare Custom Hostname for a subdomain and returns the DNS
15418
- # records the customer must add. Paid plan only. Apex domains are rejected.
15419
- # At most one hostname per page.
15420
- #
15421
- # POST /api/org/{orgId}/status-pages/{id}/custom-hostname
15422
- #
15423
- # Raises on 400: Bad request
15424
- #
15425
- # Raises on 402: Payment required — the organization's plan does not include
15426
- # this
15427
- #
15428
- # Raises on 404: Not found
15429
- #
15430
- # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15431
- # constructed with.
15432
- # @param id [String]
15433
- # @param body [Hash, nil] Request body, shaped as `StatusPageCustomHostnameAttach`.
15434
- # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15435
- # @return [Hash] Parsed JSON, shaped as `StatusPage` — see `sig/infrawrench/sdk.rbs`.
15436
- # @raise [Infrawrench::ApiError] On any non-2xx response.
15437
- def create(id:, org_id: nil, body: nil, request_options: nil)
15438
- @transport.request(
15439
- http_method: "POST",
15440
- path: "/api/org/{orgId}/status-pages/{id}/custom-hostname",
15441
- path_params: { "orgId" => org_id, "id" => id },
15442
- body: body,
15443
- request_options: request_options
15444
- )
15445
- end
15446
-
15447
- # Detach a custom domain
15448
- #
15449
- # Removes the Cloudflare Custom Hostname and the edge hostname→slug mapping.
15450
- # The secret slug URL is unaffected.
15451
- #
15452
- # DELETE /api/org/{orgId}/status-pages/{id}/custom-hostname
15453
- #
15454
- # Raises on 404: Not found
15455
- #
15456
- # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15457
- # constructed with.
15458
- # @param id [String]
15459
- # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15460
- # @return [Hash] Parsed JSON, shaped as `StatusPage` — see `sig/infrawrench/sdk.rbs`.
15461
- # @raise [Infrawrench::ApiError] On any non-2xx response.
15462
- def delete(id:, org_id: nil, request_options: nil)
15463
- @transport.request(
15464
- http_method: "DELETE",
15465
- path: "/api/org/{orgId}/status-pages/{id}/custom-hostname",
15466
- path_params: { "orgId" => org_id, "id" => id },
15467
- request_options: request_options
15468
- )
15469
- end
15470
-
15471
- # Refresh custom domain status
15472
- #
15473
- # Re-fetches Cloudflare hostname and certificate status and updates the page
15474
- # record.
15475
- #
15476
- # POST /api/org/{orgId}/status-pages/{id}/custom-hostname/refresh
15477
- #
15478
- # Raises on 400: Bad request
15479
- #
15480
- # Raises on 404: Not found
15481
- #
15482
- # @param org_id [String, nil] Organization id. Defaults to the `org_id` the client was
15483
- # constructed with.
15484
- # @param id [String]
15485
- # @param request_options [Hash, nil] Per-call `:headers`, `:timeout` and `:open_timeout`.
15486
- # @return [Hash] Parsed JSON, shaped as `StatusPage` — see `sig/infrawrench/sdk.rbs`.
15487
- # @raise [Infrawrench::ApiError] On any non-2xx response.
15488
- def refresh(id:, org_id: nil, request_options: nil)
15489
- @transport.request(
15490
- http_method: "POST",
15491
- path: "/api/org/{orgId}/status-pages/{id}/custom-hostname/refresh",
15492
- path_params: { "orgId" => org_id, "id" => id },
15493
- request_options: request_options
15494
- )
15495
- end
15496
- end
15497
-
15498
15407
  # `client.status_pages`
15499
15408
  class StatusPagesNamespace
15500
- # @return [StatusPagesCustomHostnameNamespace] `client.status_pages.custom_hostname`
15501
- attr_reader :custom_hostname
15502
-
15503
15409
  # @api private
15504
15410
  # @param transport [Transport]
15505
15411
  def initialize(transport)
15506
15412
  @transport = transport
15507
- @custom_hostname = StatusPagesCustomHostnameNamespace.new(@transport)
15508
15413
  end
15509
15414
 
15510
15415
  # Create a status page
@@ -15591,8 +15496,7 @@ module Infrawrench
15591
15496
  #
15592
15497
  # Replaces the slug, revoking the current public URL immediately — the
15593
15498
  # reroll for a link that ended up somewhere unintended. The page stays
15594
- # published. If a custom hostname is attached, its hostname→slug mapping is
15595
- # updated so the vanity URL keeps working.
15499
+ # published.
15596
15500
  #
15597
15501
  # _Requires permission: `resources:write`._
15598
15502
  #
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.38.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.37.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.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.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.38.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.37.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.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.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.38.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.37.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.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.37.0"
18
+ VERSION = "1.38.0"
19
19
  end
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # infrawrench-sdk v1.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
3
+ # infrawrench-sdk v1.38.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.37.0).
6
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.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.37.0 | MIT | Copyright (c) 2026 Infrawrench LLC
1
+ # infrawrench-sdk v1.38.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.37.0).
4
+ # Generated from the Infrawrench API OpenAPI 3.1 spec (API version 1.38.0).
5
5
  #
6
6
  # DO NOT EDIT. Regenerate with:
7
7
  # pnpm --filter @infrawrench/web generate:sdk
@@ -6895,10 +6895,6 @@ module Infrawrench
6895
6895
  "showHistory" => bool,
6896
6896
  "showUptime" => bool,
6897
6897
  "supportUrl" => String | nil,
6898
- "customHostname" => String | nil,
6899
- "customHostnameStatus" => status_page_custom_hostname_status,
6900
- "customHostnameError" => String | nil,
6901
- "customHostnameVerification" => status_page_hostname_verification,
6902
6898
  "components" => Array[status_page_component],
6903
6899
  "createdAt" => String,
6904
6900
  "updatedAt" => String
@@ -6930,15 +6926,6 @@ module Infrawrench
6930
6926
  ?"components" => Array[status_page_component_input]
6931
6927
  }
6932
6928
 
6933
- # Spec schema: `StatusPageCustomHostnameAttach`.
6934
- type status_page_custom_hostname_attach = { "hostname" => String }
6935
-
6936
- # Spec schema: `StatusPageCustomHostnameStatus`.
6937
- type status_page_custom_hostname_status = "none" | "pending_dns" | "pending_ssl" | "active" | "error"
6938
-
6939
- # Spec schema: `StatusPageHostnameVerification`.
6940
- type status_page_hostname_verification = { "cnameTarget" => String, ?"txtName" => String, ?"txtValue" => String } | nil
6941
-
6942
6929
  # Spec schema: `StatusPageListResponse`.
6943
6930
  type status_page_list_response = { "pages" => Array[status_page] }
6944
6931
 
@@ -8556,15 +8543,7 @@ module Infrawrench
8556
8543
  def get: (?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> org_status_incidents_response
8557
8544
  end
8558
8545
 
8559
- class StatusPagesCustomHostnameNamespace
8560
- def initialize: (Transport) -> void
8561
- def create: (id: String, ?org_id: String?, ?body: status_page_custom_hostname_attach?, ?request_options: Hash[Symbol, untyped]?) -> status_page
8562
- def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> status_page
8563
- def refresh: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> status_page
8564
- end
8565
-
8566
8546
  class StatusPagesNamespace
8567
- attr_reader custom_hostname: StatusPagesCustomHostnameNamespace
8568
8547
  def initialize: (Transport) -> void
8569
8548
  def create: (?org_id: String?, ?body: status_page_create?, ?request_options: Hash[Symbol, untyped]?) -> status_page
8570
8549
  def delete: (id: String, ?org_id: String?, ?request_options: Hash[Symbol, untyped]?) -> nil
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.37.0
4
+ version: 1.38.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-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Generated Ruby client for the Infrawrench API (v1.37.0). Covers the published
14
+ description: Generated Ruby client for the Infrawrench API (v1.38.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.37.0).
61
+ summary: Generated Ruby client for the Infrawrench API (v1.38.0).
62
62
  test_files: []