From 471dab117edb20c8c044182b6ca941f4fd9db332 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 20:06:33 +0000 Subject: [PATCH 1/2] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-typescript-sdk: 3.75.3 --- .fern/metadata.json | 9 +- .fern/replay.lock | 10 + .fernignore | 3 + .gitattributes | 1 + README.md | 47 +- package.json | 2 +- pnpm-lock.yaml | 502 +++++++++--------- reference.md | 14 +- src/BaseClient.ts | 4 +- src/Client.ts | 2 +- .../resources/accountInfo/client/Client.ts | 2 +- src/api/resources/accounts/client/Client.ts | 2 +- .../contactVerification/client/Client.ts | 6 +- src/api/resources/dns/client/Client.ts | 13 +- src/api/resources/dnsseCs/client/Client.ts | 21 +- .../client/requests/CreateDnssecBody.ts | 20 +- src/api/resources/domainInfo/client/Client.ts | 6 +- src/api/resources/domains/client/Client.ts | 38 +- .../emailForwardings/client/Client.ts | 10 +- src/api/resources/orders/client/Client.ts | 4 +- .../resources/premiumDomains/client/Client.ts | 2 +- src/api/resources/refunds/client/Client.ts | 2 +- src/api/resources/tldPricing/client/Client.ts | 2 +- src/api/resources/transfers/client/Client.ts | 14 +- .../resources/urlForwardings/client/Client.ts | 20 +- .../requests/CreateUrlForwardingRequest.ts | 2 +- .../UpdateUrlForwardingByIdRequest.ts | 3 +- .../requests/UpdateUrlForwardingRequest.ts | 3 +- .../vanityNameservers/client/Client.ts | 13 +- .../webhookNotifications/client/Client.ts | 12 +- src/api/types/AvailableWebhooks.ts | 2 + src/api/types/CreateUrlForwardingBody.ts | 8 - src/api/types/DomainExpiration.ts | 21 + .../DomainTransferInternalOutStatusChange.ts | 33 ++ ...orwardingBody.ts => UrlForwardingInput.ts} | 14 +- src/api/types/index.ts | 5 +- src/environments.ts | 5 +- src/version.ts | 2 +- tests/wire/dns.test.ts | 40 +- tests/wire/dnsseCs.test.ts | 120 ++++- tests/wire/urlForwardings.test.ts | 66 ++- tests/wire/vanityNameservers.test.ts | 37 +- 42 files changed, 686 insertions(+), 456 deletions(-) create mode 100644 .fern/replay.lock create mode 100644 .gitattributes delete mode 100644 src/api/types/CreateUrlForwardingBody.ts create mode 100644 src/api/types/DomainExpiration.ts create mode 100644 src/api/types/DomainTransferInternalOutStatusChange.ts rename src/api/types/{UpdateUrlForwardingBody.ts => UrlForwardingInput.ts} (84%) diff --git a/.fern/metadata.json b/.fern/metadata.json index a3a3446..fd69486 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -12,9 +12,8 @@ "keywords": ["namecom", "domains", "api"] } }, - "originGitCommit": "c3ab257628a7366dab6a8ad857854de9416d2338", - "originGitCommitIsDirty": true, - "invokedBy": "manual", - "requestedVersion": "1.29.0", - "sdkVersion": "1.29.0" + "invokedBy": "ci", + "requestedVersion": "1.31.0", + "ciProvider": "gitlab", + "sdkVersion": "1.31.0" } diff --git a/.fern/replay.lock b/.fern/replay.lock new file mode 100644 index 0000000..d7ac26b --- /dev/null +++ b/.fern/replay.lock @@ -0,0 +1,10 @@ +# DO NOT EDIT MANUALLY - Managed by Fern Replay +version: "1.0" +generations: + - commit_sha: b15215b47c0ff8778c36b46897752e5d8886040e + tree_hash: 64b49e286f5ce0f13d13205133634017e2cc244a + timestamp: 2026-07-21T20:06:31.114Z + cli_version: unknown + generator_versions: {} +current_generation: b15215b47c0ff8778c36b46897752e5d8886040e +patches: [] diff --git a/.fernignore b/.fernignore index 084a8eb..b8eb8bf 100644 --- a/.fernignore +++ b/.fernignore @@ -1 +1,4 @@ # Specify files that shouldn't be modified by Fern +.fern/replay.lock +.fern/replay.yml +.gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..74928d6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.fern/replay.lock linguist-generated=true diff --git a/README.md b/README.md index 2337dc8..071f93b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ -# Namecom TypeScript Library +# name.com Core API TypeScript Library [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fnamedotcom%2Fcore-api-typescript) [![npm shield](https://img.shields.io/npm/v/@namecom/core-api)](https://www.npmjs.com/package/@namecom/core-api) -The Namecom TypeScript library provides convenient access to the Namecom APIs from TypeScript. +The name.com Core API TypeScript library provides convenient access to the name.com Core API APIs from TypeScript. ## Table of Contents +- [Documentation](#documentation) - [Installation](#installation) - [Reference](#reference) - [Usage](#usage) @@ -26,6 +27,10 @@ The Namecom TypeScript library provides convenient access to the Namecom APIs fr - [Runtime Compatibility](#runtime-compatibility) - [Contributing](#contributing) +## Documentation + +API reference documentation is available [here](https://docs.name.com). + ## Installation ```sh @@ -44,27 +49,7 @@ Instantiate and use the client with the following: import { NamecomClient } from "@namecom/core-api"; const client = new NamecomClient({ username: "YOUR_USERNAME", password: "YOUR_PASSWORD" }); -await client.accounts.createAccount({ - account: { - accountName: "reseller_subaccount", - contacts: { - registrant: { - firstName: "Jane", - lastName: "Doe", - address1: "123 Main St.", - city: "Denver", - state: "CO", - zip: "12345", - country: "US", - email: "admin@example.net", - phone: "+13035551212" - } - }, - password: "SecureP4ss!" - }, - apiTos: true, - tos: true -}); +await client.hello(); ``` ## Environments @@ -75,7 +60,7 @@ This SDK allows you to configure different environments for API requests. import { NamecomClient, NamecomEnvironment } from "@namecom/core-api"; const client = new NamecomClient({ - environment: NamecomEnvironment.Default, + environment: NamecomEnvironment.Sandbox, }); ``` @@ -101,7 +86,7 @@ will be thrown. import { NamecomError } from "@namecom/core-api"; try { - await client.accounts.createAccount(...); + await client.hello(...); } catch (err) { if (err instanceof NamecomError) { console.log(err.statusCode); @@ -138,7 +123,7 @@ const client = new NamecomClient({ } }); -const response = await client.accounts.createAccount(..., { +const response = await client.hello(..., { headers: { 'X-Custom-Header': 'custom value' } @@ -150,7 +135,7 @@ const response = await client.accounts.createAccount(..., { If you would like to send additional query string parameters as part of the request, use the `queryParams` request option. ```typescript -const response = await client.accounts.createAccount(..., { +const response = await client.hello(..., { queryParams: { 'customQueryParamKey': 'custom query param value' } @@ -180,7 +165,7 @@ Which status codes are retried depends on the `retryStatusCodes` generator confi Use the `maxRetries` request option to configure this behavior. ```typescript -const response = await client.accounts.createAccount(..., { +const response = await client.hello(..., { maxRetries: 0 // override maxRetries at the request level }); ``` @@ -190,7 +175,7 @@ const response = await client.accounts.createAccount(..., { The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior. ```typescript -const response = await client.accounts.createAccount(..., { +const response = await client.hello(..., { timeoutInSeconds: 30 // override timeout to 30s }); ``` @@ -201,7 +186,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa ```typescript const controller = new AbortController(); -const response = await client.accounts.createAccount(..., { +const response = await client.hello(..., { abortSignal: controller.signal }); controller.abort(); // aborts the request @@ -213,7 +198,7 @@ The SDK provides access to raw response data, including headers, through the `.w The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property. ```typescript -const { data, rawResponse } = await client.accounts.createAccount(...).withRawResponse(); +const { data, rawResponse } = await client.hello(...).withRawResponse(); console.log(data); console.log(rawResponse.headers['X-My-Header']); diff --git a/package.json b/package.json index 30f53b5..d65523c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@namecom/core-api", - "version": "1.29.0", + "version": "1.31.0", "private": false, "repository": { "type": "git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab600c5..5d32eb1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,16 +19,16 @@ importers: version: 2.11.2(@types/node@20.19.43)(typescript@5.9.3) ts-loader: specifier: ^9.5.4 - version: 9.6.2(typescript@5.9.3)(webpack@5.108.3) + version: 9.6.2(typescript@5.9.3)(webpack@5.108.4) typescript: specifier: ~5.9.3 version: 5.9.3 vitest: specifier: ^4.1.1 - version: 4.1.9(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0)) + version: 4.1.10(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0)) webpack: specifier: ^5.105.4 - version: 5.108.3 + version: 5.108.4 packages: @@ -174,100 +174,100 @@ packages: '@open-draft/until@2.1.0': resolution: {integrity: sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==} - '@oxc-project/types@0.138.0': - resolution: {integrity: sha512-1a7ZKmrRTCoN1XMZ4L0PyyqrMnrNlLyPuOkdSX2MZg7IiIGRUyurNhAm73ptDOraoBcIordsIGKNPKUzy3ZmfA==} + '@oxc-project/types@0.139.0': + resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==} - '@rolldown/binding-android-arm64@1.1.4': - resolution: {integrity: sha512-EZLpf/8y7GXkkra90ML47kzik/GMP3EMcE9bPyHmRfxLC6z9+aW5A8poCsoxjrT5GfEcNAAvWwUHjvP1pUQkfw==} + '@rolldown/binding-android-arm64@1.1.5': + resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.1.4': - resolution: {integrity: sha512-aUi+HBvmYb7j8krl1+qJgkG8C17fO79gk3c+jPw4S8glRFc1DTija9S3EyaTSQUm5GJXYKDAsugBEhFHH2vYiQ==} + '@rolldown/binding-darwin-arm64@1.1.5': + resolution: {integrity: sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.1.4': - resolution: {integrity: sha512-F7hHC3gwY11+vByKPRWqwGbeXWVgKmL+pTGCinaEhdihzBV2aQ0fvZOch9cXYUOKuKKq429HeYXOqQLc7wFCEg==} + '@rolldown/binding-darwin-x64@1.1.5': + resolution: {integrity: sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.1.4': - resolution: {integrity: sha512-sI5yw+7s92SK6odiEhD5lKCBlWcpjHS5qyqpVQbZAJ0fIzEUXrmbl3DH2ybR3PZogulNJF+COLtmA8hUfvkCCQ==} + '@rolldown/binding-freebsd-x64@1.1.5': + resolution: {integrity: sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.1.4': - resolution: {integrity: sha512-mCi0OKgEieFircrtVYmQAFGszRtMnZ6fpZAXrxanXAu7lqZcsK1E1RAaZNG0uKAnxox3B1f4EyQNnoyMfN1vAA==} + '@rolldown/binding-linux-arm-gnueabihf@1.1.5': + resolution: {integrity: sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.1.4': - resolution: {integrity: sha512-B9Ial3Kv5sh0SHnB1g/QWcUQCEvCF6QKGAl4zXypYj65mVI+B4AhFBwPtSN7pDrJeIx8Z7zdy4ntx+wQABom7w==} + '@rolldown/binding-linux-arm64-gnu@1.1.5': + resolution: {integrity: sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.1.4': - resolution: {integrity: sha512-lZVym0PuHE1KZ22gmFTC15lAkrg9iTszR617oYRB/iPY1A56ywoJzVKOJBKaot5RiikCObmur6pogpse3gRcng==} + '@rolldown/binding-linux-arm64-musl@1.1.5': + resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.1.4': - resolution: {integrity: sha512-t2DNiLJWNTbnEHyUzTumldML6ET4/g16467LZoDDJ3tSxGvguL5/NyC2lCsNKuyRycg9XeDQF5SSv+TNOhQEXg==} + '@rolldown/binding-linux-ppc64-gnu@1.1.5': + resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.1.4': - resolution: {integrity: sha512-0WIRnL1Uw4BvTZRLQt+PVgo6ZKTJadlC2btP+/EOXv2f/DWbY0rEgl+y834mIVwP1FkTlWVTrGGJXf12lru7EQ==} + '@rolldown/binding-linux-s390x-gnu@1.1.5': + resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.1.4': - resolution: {integrity: sha512-JWtGshGfX+oENAKonoNkqEJX+7hC8yfhi9GUyPX1VX4mdh1y5r+ZiJLR5XzAB0aoP6s/PcILsGjKq8O0mm24bw==} + '@rolldown/binding-linux-x64-gnu@1.1.5': + resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.1.4': - resolution: {integrity: sha512-rT6yQcxUuXs4CnbofqwHRRV0iem349rLMYpTjkgQGLjrY4ado/eDzwPZPTCgTOlF6Nkp8NEv70yLMTn6qkWxsQ==} + '@rolldown/binding-linux-x64-musl@1.1.5': + resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.1.4': - resolution: {integrity: sha512-KXMGoboq5cyaCQjDA4GLuRiOwBQ0EyFnJoVViLeZ45/3rFItRODEr+NdsBcVpll40hhNArlm/speWGRvj08LzA==} + '@rolldown/binding-openharmony-arm64@1.1.5': + resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-wasm32-wasi@1.1.4': - resolution: {integrity: sha512-5K83rb36oJiY7BCyE9zLZtGcPV4g5wvq+xwdO0XPIwDVZI8cyB/AUjkNXGb92/rnmezEkjMOpgY61rtwjQtFwg==} + '@rolldown/binding-wasm32-wasi@1.1.5': + resolution: {integrity: sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [wasm32] - '@rolldown/binding-win32-arm64-msvc@1.1.4': - resolution: {integrity: sha512-PnWBtw3TV5KOg69HQQDR0mnQuyCmSGR2pAB4DC1rPF808fgKeTUMj2EOEyKATpgiuxuR5APQmiDO7PDgEjTFSA==} + '@rolldown/binding-win32-arm64-msvc@1.1.5': + resolution: {integrity: sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.1.4': - resolution: {integrity: sha512-M1lpniBePobTfsa7Ks9a199e1akxsXn+GYBUKsEzv3YFzOm1HJAMNwKI3qr0Zq+mxwx9gOZoTdP1yXRYsZUocQ==} + '@rolldown/binding-win32-x64-msvc@1.1.5': + resolution: {integrity: sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -302,11 +302,11 @@ packages: '@types/statuses@2.0.6': resolution: {integrity: sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==} - '@vitest/expect@4.1.9': - resolution: {integrity: sha512-vl/rYsUKcBr3SnQn166+XR5ZQcgMx3DQhFWdfli/cWpLnLUmbxZvyrJZotLFUryib+LtArYMSTJ5RbQ57ZqrlA==} + '@vitest/expect@4.1.10': + resolution: {integrity: sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==} - '@vitest/mocker@4.1.9': - resolution: {integrity: sha512-EVkXzBjrPGM+cK8/ANWgBrkUCfJfb38/EfTSO8h7pWvKkyPkpWxvR7BkD2MyItMF62C97zAEoqdpUixwR/e+Rw==} + '@vitest/mocker@4.1.10': + resolution: {integrity: sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==} peerDependencies: msw: ^2.4.9 vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -316,20 +316,20 @@ packages: vite: optional: true - '@vitest/pretty-format@4.1.9': - resolution: {integrity: sha512-s0iufns3iIFitdgm+YR7g1whCAaGtXz459VS9/PqyKDEEFgYIhsHOQmXgIgDuYCt7DeQmiZT0Qe2OA2p4ZPu5A==} + '@vitest/pretty-format@4.1.10': + resolution: {integrity: sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==} - '@vitest/runner@4.1.9': - resolution: {integrity: sha512-KXLMDtc7oe70+3mJfGrPUWPesswH+3sTxAMAMl8DG7I8IUQT4XW718dY5ID3vPUcmlu27CcKfY4P3h3I29SLJg==} + '@vitest/runner@4.1.10': + resolution: {integrity: sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==} - '@vitest/snapshot@4.1.9': - resolution: {integrity: sha512-Jc7RKGNBo8Z28WYIm0Niej4xdSPByRf6mU58VpHQkd6Zh05rlnA+twjbK5HyeIGHxrzsc3mJgS43uM0CZKzaIA==} + '@vitest/snapshot@4.1.10': + resolution: {integrity: sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==} - '@vitest/spy@4.1.9': - resolution: {integrity: sha512-fHpsS6mIi+PiEW+vcRVOMkX1oSaPKne3VOclSFICPcGOmfKgXPU5iAah+wcNcj2xPrCCmfq99IDGf+EojhhvhA==} + '@vitest/spy@4.1.10': + resolution: {integrity: sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==} - '@vitest/utils@4.1.9': - resolution: {integrity: sha512-A51o8ymO5PpqlWNnBP9ZHPXDIpuMtTLlGSjN7la4US+LJzoUMyhwjA5QXlm39JexgwHKW4Xjs8Z2d3dLCXOeuA==} + '@vitest/utils@4.1.10': + resolution: {integrity: sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==} '@webassemblyjs/ast@1.14.1': resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} @@ -421,21 +421,21 @@ packages: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} - baseline-browser-mapping@2.10.41: - resolution: {integrity: sha512-WwS7MHhqGHHlaVsqRZnhvCEMS0owDX+SxRlve7JkuH7My1Ara3ZriTmCQupPfYjxMZ8I/tgxtJYr2t7taHaH4A==} + baseline-browser-mapping@2.11.0: + resolution: {integrity: sha512-oCu2wfipvX3AePSgmOuKkIywOu+8n9psz7hXYmk56ghpu3+7KzNIBopaOs4c9BrtdnTtW30unG9GTfHo7EwERQ==} engines: {node: '>=6.0.0'} hasBin: true - browserslist@4.28.4: - resolution: {integrity: sha512-MTc8i/x9jBQd1iMw2CFGS+rwMa07eYjLR0CCTLDACl9xhxy+nIs3KeML/biicXtk9JrZ6dnnTatmc7ErPXIxqw==} + browserslist@4.28.7: + resolution: {integrity: sha512-JxV13hNrFxqjOc8alRbq9dK1MM79NEXYpma2B2J4wAtpWS5zIEIKqWPGCl7N4o7Uc7B7itylh7SuDujATRyyTw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - caniuse-lite@1.0.30001800: - resolution: {integrity: sha512-MMHtuAz9Ys840zAY5F4k6fV5GaivZ9sPk+nz0mY+GYVzRBnYkN0mpqkSR92oWRQ19yQWo4HvBV/FnC16AJX8MA==} + caniuse-lite@1.0.30001806: + resolution: {integrity: sha512-72Cuvd95zbSYPKq6Fhg8eDJRlzgWDf7/mtoZv6Qe/DYNCEBdNxoA3+rZAU2ZhGCpZlns3EssFavaZomckT5Uuw==} chai@6.2.2: resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} @@ -478,18 +478,18 @@ packages: resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} engines: {node: '>=8'} - electron-to-chromium@1.5.384: - resolution: {integrity: sha512-g6KAKY1vkYsADvSPWvdJsuYT0ixdcu6lUtD9P/wJKGBEDlZVXh2AX42j1mPqqaQPDluWjara9ziQ7xqAeXCt5A==} + electron-to-chromium@1.5.394: + resolution: {integrity: sha512-Wmt2Gm0o8JWBuGgmc4XZ0u9s1RaCRqhxP47phplmfg04+qypTUurpeJGP45A7Fhv7jdrrVH44PLlR9qXo37cVQ==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - enhanced-resolve@5.24.1: - resolution: {integrity: sha512-7DdUaTjmNwMcH2gLr1qycesKII3BK4RLy/mdAb7x10Lq7bR4aNKHt1BR1ZALSv0rPM/hF5wYF0PhGop/rJm8vw==} + enhanced-resolve@5.24.3: + resolution: {integrity: sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ==} engines: {node: '>=10.13.0'} - es-module-lexer@2.3.0: - resolution: {integrity: sha512-KLdwQm2NvGLDkQDCGvmiQrhkd0JbMzXthwQAUgWjQuQdBLFa3eiBP5arXZyA+f8x+x7OXgud6bq2rxjGtHV2tw==} + es-module-lexer@2.3.1: + resolution: {integrity: sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA==} escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} @@ -525,8 +525,8 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - fast-uri@3.1.3: - resolution: {integrity: sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==} + fast-uri@3.1.4: + resolution: {integrity: sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==} fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} @@ -574,78 +574,78 @@ packages: json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - lightningcss-android-arm64@1.32.0: - resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} + lightningcss-android-arm64@1.33.0: + resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [android] - lightningcss-darwin-arm64@1.32.0: - resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} + lightningcss-darwin-arm64@1.33.0: + resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] - lightningcss-darwin-x64@1.32.0: - resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} + lightningcss-darwin-x64@1.33.0: + resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] - lightningcss-freebsd-x64@1.32.0: - resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} + lightningcss-freebsd-x64@1.33.0: + resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [freebsd] - lightningcss-linux-arm-gnueabihf@1.32.0: - resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} + lightningcss-linux-arm-gnueabihf@1.33.0: + resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] - lightningcss-linux-arm64-gnu@1.32.0: - resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} + lightningcss-linux-arm64-gnu@1.33.0: + resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] libc: [glibc] - lightningcss-linux-arm64-musl@1.32.0: - resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} + lightningcss-linux-arm64-musl@1.33.0: + resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] libc: [musl] - lightningcss-linux-x64-gnu@1.32.0: - resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} + lightningcss-linux-x64-gnu@1.33.0: + resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] libc: [glibc] - lightningcss-linux-x64-musl@1.32.0: - resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} + lightningcss-linux-x64-musl@1.33.0: + resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] libc: [musl] - lightningcss-win32-arm64-msvc@1.32.0: - resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} + lightningcss-win32-arm64-msvc@1.33.0: + resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [win32] - lightningcss-win32-x64-msvc@1.32.0: - resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} + lightningcss-win32-x64-msvc@1.33.0: + resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] - lightningcss@1.32.0: - resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} + lightningcss@1.33.0: + resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==} engines: {node: '>= 12.0.0'} loader-runner@4.3.2: @@ -719,20 +719,20 @@ packages: resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} engines: {node: ^18.17.0 || >=20.5.0} - nanoid@3.3.15: - resolution: {integrity: sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA==} + nanoid@3.3.16: + resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - node-releases@2.0.50: - resolution: {integrity: sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg==} + node-releases@2.0.51: + resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==} engines: {node: '>=18'} - obug@2.1.3: - resolution: {integrity: sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==} + obug@2.1.4: + resolution: {integrity: sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==} engines: {node: '>=12.20.0'} outvariant@1.4.3: @@ -751,8 +751,8 @@ packages: resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} engines: {node: '>=12'} - postcss@8.5.16: - resolution: {integrity: sha512-vuwillviilfKZsg0VGj5R/YwwcHx4SLsIOI/7K6mQkWx+l5cUHTjj5g0AasTBcyXsbfTgrwsUNmVUb5xVwyPwg==} + postcss@8.5.21: + resolution: {integrity: sha512-v4sDNP3fdNiWMfabO7OwOQdOX8TiQSztKyT1Wj0w+j7LDallJThJRBBBmzVGyYj0crMh7jlV4zepPkiNu9UwDQ==} engines: {node: ^10 || ^12 || >=14} require-directory@2.1.1: @@ -766,8 +766,8 @@ packages: rettime@0.7.0: resolution: {integrity: sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==} - rolldown@1.1.4: - resolution: {integrity: sha512-IjZYiLxZwpnhwhdBH2ugdTGVSdhCQUmLxLoqyjiL0JxYjyRst+5a0P3xfrTxJ5F638j4Mvvw5FAX5XE6eHpXbA==} + rolldown@1.1.5: + resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -804,8 +804,8 @@ packages: resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} engines: {node: '>= 0.8'} - std-env@4.1.0: - resolution: {integrity: sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==} + std-env@4.2.0: + resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==} strict-event-emitter@0.5.1: resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==} @@ -830,8 +830,8 @@ packages: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} - terser@5.48.0: - resolution: {integrity: sha512-J/9An6vs9Us6wKRriSFXBWdRZapREHqFzdNUKk0pmu804EMR6dr6winwo7e5JDxN4xahxQsuysyYFwlwj4XN/Q==} + terser@5.49.0: + resolution: {integrity: sha512-SNiDnXyHSrxVcIOtVbULzcTmniUiwcV7Nwdyj1twVubeTmbjoa8p69KKDpfkdoOavuM4/GRm1+ykI8qqnavHoA==} engines: {node: '>=10'} hasBin: true @@ -850,15 +850,15 @@ packages: resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} engines: {node: '>=14.0.0'} - tldts-core@7.4.6: - resolution: {integrity: sha512-TkQNGJIhlEphpHCjKodMTSe23egUZr/g+flI2qkLgiJ/maAzSgXypSLRTNH3nCmqgayEmtcJBiLcfODSAr1xoA==} + tldts-core@7.4.9: + resolution: {integrity: sha512-DxKfPBI52p2msTEu7MPhdpdDTBhhVQg1a/8PjQckeyAvO13eMYElX545grIp6nnTGIMZlRvFZPvFhvI/WIz2Vg==} - tldts@7.4.6: - resolution: {integrity: sha512-rbP0Gyx8b3Ae9yO//CU2wbSnQNoQ66m1nJdSbSHmnwKwzkkz/u8mERYU8T2rmlmy+bJvRNn84yNCW8gYqox44Q==} + tldts@7.4.9: + resolution: {integrity: sha512-3kZ8wQQ/k5DrChD4X4FVvr2D7E5uoRgAqkPyLpSCGUvqOvqu+JEdr3mwMUaVWb+vMHZaKhF5fp2PBigKsui7hA==} hasBin: true - tough-cookie@6.0.1: - resolution: {integrity: sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==} + tough-cookie@6.0.2: + resolution: {integrity: sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==} engines: {node: '>=16'} ts-loader@9.6.2: @@ -893,8 +893,8 @@ packages: peerDependencies: browserslist: '>= 4.21.0' - vite@8.1.3: - resolution: {integrity: sha512-Ds+gBRbj0lwRO2Y5hwnUBdxSwlAve9LeRyU4sNnAr0ewW0gWF0n5bgXgUzbgZ49MV9BVUAQUFYVcDUcilUExMA==} + vite@8.1.5: + resolution: {integrity: sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -936,20 +936,20 @@ packages: yaml: optional: true - vitest@4.1.9: - resolution: {integrity: sha512-nE3/LEyc0z87uHYLZebqCUOaJr2hdtuPp7BQ4BosVFnfltxgAvMG08NyrSGlPpOUWvR27c5flSmYFTNr78L9GQ==} + vitest@4.1.10: + resolution: {integrity: sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==} engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@opentelemetry/api': ^1.9.0 '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 - '@vitest/browser-playwright': 4.1.9 - '@vitest/browser-preview': 4.1.9 - '@vitest/browser-webdriverio': 4.1.9 - '@vitest/coverage-istanbul': 4.1.9 - '@vitest/coverage-v8': 4.1.9 - '@vitest/ui': 4.1.9 + '@vitest/browser-playwright': 4.1.10 + '@vitest/browser-preview': 4.1.10 + '@vitest/browser-webdriverio': 4.1.10 + '@vitest/coverage-istanbul': 4.1.10 + '@vitest/coverage-v8': 4.1.10 + '@vitest/ui': 4.1.10 happy-dom: '*' jsdom: '*' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -981,12 +981,12 @@ packages: resolution: {integrity: sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg==} engines: {node: '>=10.13.0'} - webpack-sources@3.5.0: - resolution: {integrity: sha512-HPuy+uuoTCaaoEoI1LQ3JN9+vrPBvEesnnX1jADHy728cHSMlq4wUc4afYqahq2B1mhQVZxCXOkNTnXltr+2vQ==} + webpack-sources@3.5.1: + resolution: {integrity: sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw==} engines: {node: '>=10.13.0'} - webpack@5.108.3: - resolution: {integrity: sha512-hOpaCHmQVVY66IVTjofnH14IgSdmod2aquSGHGuYig/OIdWge01Hk2Wt988DZcwXumFUT4+FvJY5N+ikl8o/ww==} + webpack@5.108.4: + resolution: {integrity: sha512-yur8LyJoeiWh47dErD+Ok7vlbmDsJ3UbbRPAoxbGJ54WpE2y5yVo5G/inUzujnYgw3tPmBRdn+G7PoxXaYC33w==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -1157,55 +1157,55 @@ snapshots: '@open-draft/until@2.1.0': {} - '@oxc-project/types@0.138.0': {} + '@oxc-project/types@0.139.0': {} - '@rolldown/binding-android-arm64@1.1.4': + '@rolldown/binding-android-arm64@1.1.5': optional: true - '@rolldown/binding-darwin-arm64@1.1.4': + '@rolldown/binding-darwin-arm64@1.1.5': optional: true - '@rolldown/binding-darwin-x64@1.1.4': + '@rolldown/binding-darwin-x64@1.1.5': optional: true - '@rolldown/binding-freebsd-x64@1.1.4': + '@rolldown/binding-freebsd-x64@1.1.5': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.1.4': + '@rolldown/binding-linux-arm-gnueabihf@1.1.5': optional: true - '@rolldown/binding-linux-arm64-gnu@1.1.4': + '@rolldown/binding-linux-arm64-gnu@1.1.5': optional: true - '@rolldown/binding-linux-arm64-musl@1.1.4': + '@rolldown/binding-linux-arm64-musl@1.1.5': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.1.4': + '@rolldown/binding-linux-ppc64-gnu@1.1.5': optional: true - '@rolldown/binding-linux-s390x-gnu@1.1.4': + '@rolldown/binding-linux-s390x-gnu@1.1.5': optional: true - '@rolldown/binding-linux-x64-gnu@1.1.4': + '@rolldown/binding-linux-x64-gnu@1.1.5': optional: true - '@rolldown/binding-linux-x64-musl@1.1.4': + '@rolldown/binding-linux-x64-musl@1.1.5': optional: true - '@rolldown/binding-openharmony-arm64@1.1.4': + '@rolldown/binding-openharmony-arm64@1.1.5': optional: true - '@rolldown/binding-wasm32-wasi@1.1.4': + '@rolldown/binding-wasm32-wasi@1.1.5': dependencies: '@emnapi/core': 1.11.1 '@emnapi/runtime': 1.11.1 '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) optional: true - '@rolldown/binding-win32-arm64-msvc@1.1.4': + '@rolldown/binding-win32-arm64-msvc@1.1.5': optional: true - '@rolldown/binding-win32-x64-msvc@1.1.4': + '@rolldown/binding-win32-x64-msvc@1.1.5': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -1236,45 +1236,45 @@ snapshots: '@types/statuses@2.0.6': {} - '@vitest/expect@4.1.9': + '@vitest/expect@4.1.10': dependencies: '@standard-schema/spec': 1.1.0 '@types/chai': 5.2.3 - '@vitest/spy': 4.1.9 - '@vitest/utils': 4.1.9 + '@vitest/spy': 4.1.10 + '@vitest/utils': 4.1.10 chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.9(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0))': + '@vitest/mocker@4.1.10(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0))': dependencies: - '@vitest/spy': 4.1.9 + '@vitest/spy': 4.1.10 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: msw: 2.11.2(@types/node@20.19.43)(typescript@5.9.3) - vite: 8.1.3(@types/node@20.19.43)(terser@5.48.0) + vite: 8.1.5(@types/node@20.19.43)(terser@5.49.0) - '@vitest/pretty-format@4.1.9': + '@vitest/pretty-format@4.1.10': dependencies: tinyrainbow: 3.1.0 - '@vitest/runner@4.1.9': + '@vitest/runner@4.1.10': dependencies: - '@vitest/utils': 4.1.9 + '@vitest/utils': 4.1.10 pathe: 2.0.3 - '@vitest/snapshot@4.1.9': + '@vitest/snapshot@4.1.10': dependencies: - '@vitest/pretty-format': 4.1.9 - '@vitest/utils': 4.1.9 + '@vitest/pretty-format': 4.1.10 + '@vitest/utils': 4.1.10 magic-string: 0.30.21 pathe: 2.0.3 - '@vitest/spy@4.1.9': {} + '@vitest/spy@4.1.10': {} - '@vitest/utils@4.1.9': + '@vitest/utils@4.1.10': dependencies: - '@vitest/pretty-format': 4.1.9 + '@vitest/pretty-format': 4.1.10 convert-source-map: 2.0.0 tinyrainbow: 3.1.0 @@ -1376,7 +1376,7 @@ snapshots: ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.3 + fast-uri: 3.1.4 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -1388,19 +1388,19 @@ snapshots: assertion-error@2.0.1: {} - baseline-browser-mapping@2.10.41: {} + baseline-browser-mapping@2.11.0: {} - browserslist@4.28.4: + browserslist@4.28.7: dependencies: - baseline-browser-mapping: 2.10.41 - caniuse-lite: 1.0.30001800 - electron-to-chromium: 1.5.384 - node-releases: 2.0.50 - update-browserslist-db: 1.2.3(browserslist@4.28.4) + baseline-browser-mapping: 2.11.0 + caniuse-lite: 1.0.30001806 + electron-to-chromium: 1.5.394 + node-releases: 2.0.51 + update-browserslist-db: 1.2.3(browserslist@4.28.7) buffer-from@1.1.2: {} - caniuse-lite@1.0.30001800: {} + caniuse-lite@1.0.30001806: {} chai@6.2.2: {} @@ -1433,16 +1433,16 @@ snapshots: detect-libc@2.1.2: {} - electron-to-chromium@1.5.384: {} + electron-to-chromium@1.5.394: {} emoji-regex@8.0.0: {} - enhanced-resolve@5.24.1: + enhanced-resolve@5.24.3: dependencies: graceful-fs: 4.2.11 tapable: 2.3.3 - es-module-lexer@2.3.0: {} + es-module-lexer@2.3.1: {} escalade@3.2.0: {} @@ -1469,7 +1469,7 @@ snapshots: fast-deep-equal@3.1.3: {} - fast-uri@3.1.3: {} + fast-uri@3.1.4: {} fdir@6.5.0(picomatch@4.0.5): optionalDependencies: @@ -1500,54 +1500,54 @@ snapshots: json-schema-traverse@1.0.0: {} - lightningcss-android-arm64@1.32.0: + lightningcss-android-arm64@1.33.0: optional: true - lightningcss-darwin-arm64@1.32.0: + lightningcss-darwin-arm64@1.33.0: optional: true - lightningcss-darwin-x64@1.32.0: + lightningcss-darwin-x64@1.33.0: optional: true - lightningcss-freebsd-x64@1.32.0: + lightningcss-freebsd-x64@1.33.0: optional: true - lightningcss-linux-arm-gnueabihf@1.32.0: + lightningcss-linux-arm-gnueabihf@1.33.0: optional: true - lightningcss-linux-arm64-gnu@1.32.0: + lightningcss-linux-arm64-gnu@1.33.0: optional: true - lightningcss-linux-arm64-musl@1.32.0: + lightningcss-linux-arm64-musl@1.33.0: optional: true - lightningcss-linux-x64-gnu@1.32.0: + lightningcss-linux-x64-gnu@1.33.0: optional: true - lightningcss-linux-x64-musl@1.32.0: + lightningcss-linux-x64-musl@1.33.0: optional: true - lightningcss-win32-arm64-msvc@1.32.0: + lightningcss-win32-arm64-msvc@1.33.0: optional: true - lightningcss-win32-x64-msvc@1.32.0: + lightningcss-win32-x64-msvc@1.33.0: optional: true - lightningcss@1.32.0: + lightningcss@1.33.0: dependencies: detect-libc: 2.1.2 optionalDependencies: - lightningcss-android-arm64: 1.32.0 - lightningcss-darwin-arm64: 1.32.0 - lightningcss-darwin-x64: 1.32.0 - lightningcss-freebsd-x64: 1.32.0 - lightningcss-linux-arm-gnueabihf: 1.32.0 - lightningcss-linux-arm64-gnu: 1.32.0 - lightningcss-linux-arm64-musl: 1.32.0 - lightningcss-linux-x64-gnu: 1.32.0 - lightningcss-linux-x64-musl: 1.32.0 - lightningcss-win32-arm64-msvc: 1.32.0 - lightningcss-win32-x64-msvc: 1.32.0 + lightningcss-android-arm64: 1.33.0 + lightningcss-darwin-arm64: 1.33.0 + lightningcss-darwin-x64: 1.33.0 + lightningcss-freebsd-x64: 1.33.0 + lightningcss-linux-arm-gnueabihf: 1.33.0 + lightningcss-linux-arm64-gnu: 1.33.0 + lightningcss-linux-arm64-musl: 1.33.0 + lightningcss-linux-x64-gnu: 1.33.0 + lightningcss-linux-x64-musl: 1.33.0 + lightningcss-win32-arm64-msvc: 1.33.0 + lightningcss-win32-x64-msvc: 1.33.0 loader-runner@4.3.2: {} @@ -1559,13 +1559,13 @@ snapshots: mime-db@1.54.0: {} - minimizer-webpack-plugin@5.6.1(webpack@5.108.3): + minimizer-webpack-plugin@5.6.1(webpack@5.108.4): dependencies: '@jridgewell/trace-mapping': 0.3.31 jest-worker: 27.5.1 schema-utils: 4.3.3 - terser: 5.48.0 - webpack: 5.108.3 + terser: 5.49.0 + webpack: 5.108.4 msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3): dependencies: @@ -1585,7 +1585,7 @@ snapshots: picocolors: 1.1.1 rettime: 0.7.0 strict-event-emitter: 0.5.1 - tough-cookie: 6.0.1 + tough-cookie: 6.0.2 type-fest: 4.41.0 yargs: 17.7.3 optionalDependencies: @@ -1595,13 +1595,13 @@ snapshots: mute-stream@2.0.0: {} - nanoid@3.3.15: {} + nanoid@3.3.16: {} neo-async@2.6.2: {} - node-releases@2.0.50: {} + node-releases@2.0.51: {} - obug@2.1.3: {} + obug@2.1.4: {} outvariant@1.4.3: {} @@ -1613,9 +1613,9 @@ snapshots: picomatch@4.0.5: {} - postcss@8.5.16: + postcss@8.5.21: dependencies: - nanoid: 3.3.15 + nanoid: 3.3.16 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -1625,26 +1625,26 @@ snapshots: rettime@0.7.0: {} - rolldown@1.1.4: + rolldown@1.1.5: dependencies: - '@oxc-project/types': 0.138.0 + '@oxc-project/types': 0.139.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm64': 1.1.4 - '@rolldown/binding-darwin-arm64': 1.1.4 - '@rolldown/binding-darwin-x64': 1.1.4 - '@rolldown/binding-freebsd-x64': 1.1.4 - '@rolldown/binding-linux-arm-gnueabihf': 1.1.4 - '@rolldown/binding-linux-arm64-gnu': 1.1.4 - '@rolldown/binding-linux-arm64-musl': 1.1.4 - '@rolldown/binding-linux-ppc64-gnu': 1.1.4 - '@rolldown/binding-linux-s390x-gnu': 1.1.4 - '@rolldown/binding-linux-x64-gnu': 1.1.4 - '@rolldown/binding-linux-x64-musl': 1.1.4 - '@rolldown/binding-openharmony-arm64': 1.1.4 - '@rolldown/binding-wasm32-wasi': 1.1.4 - '@rolldown/binding-win32-arm64-msvc': 1.1.4 - '@rolldown/binding-win32-x64-msvc': 1.1.4 + '@rolldown/binding-android-arm64': 1.1.5 + '@rolldown/binding-darwin-arm64': 1.1.5 + '@rolldown/binding-darwin-x64': 1.1.5 + '@rolldown/binding-freebsd-x64': 1.1.5 + '@rolldown/binding-linux-arm-gnueabihf': 1.1.5 + '@rolldown/binding-linux-arm64-gnu': 1.1.5 + '@rolldown/binding-linux-arm64-musl': 1.1.5 + '@rolldown/binding-linux-ppc64-gnu': 1.1.5 + '@rolldown/binding-linux-s390x-gnu': 1.1.5 + '@rolldown/binding-linux-x64-gnu': 1.1.5 + '@rolldown/binding-linux-x64-musl': 1.1.5 + '@rolldown/binding-openharmony-arm64': 1.1.5 + '@rolldown/binding-wasm32-wasi': 1.1.5 + '@rolldown/binding-win32-arm64-msvc': 1.1.5 + '@rolldown/binding-win32-x64-msvc': 1.1.5 schema-utils@4.3.3: dependencies: @@ -1672,7 +1672,7 @@ snapshots: statuses@2.0.2: {} - std-env@4.1.0: {} + std-env@4.2.0: {} strict-event-emitter@0.5.1: {} @@ -1696,7 +1696,7 @@ snapshots: tapable@2.3.3: {} - terser@5.48.0: + terser@5.49.0: dependencies: '@jridgewell/source-map': 0.3.11 acorn: 8.17.0 @@ -1714,23 +1714,23 @@ snapshots: tinyrainbow@3.1.0: {} - tldts-core@7.4.6: {} + tldts-core@7.4.9: {} - tldts@7.4.6: + tldts@7.4.9: dependencies: - tldts-core: 7.4.6 + tldts-core: 7.4.9 - tough-cookie@6.0.1: + tough-cookie@6.0.2: dependencies: - tldts: 7.4.6 + tldts: 7.4.9 - ts-loader@9.6.2(typescript@5.9.3)(webpack@5.108.3): + ts-loader@9.6.2(typescript@5.9.3)(webpack@5.108.4): dependencies: chalk: 4.1.2 picomatch: 4.0.5 source-map: 0.7.6 typescript: 5.9.3 - webpack: 5.108.3 + webpack: 5.108.4 tslib@2.8.1: optional: true @@ -1741,45 +1741,45 @@ snapshots: undici-types@6.21.0: {} - update-browserslist-db@1.2.3(browserslist@4.28.4): + update-browserslist-db@1.2.3(browserslist@4.28.7): dependencies: - browserslist: 4.28.4 + browserslist: 4.28.7 escalade: 3.2.0 picocolors: 1.1.1 - vite@8.1.3(@types/node@20.19.43)(terser@5.48.0): + vite@8.1.5(@types/node@20.19.43)(terser@5.49.0): dependencies: - lightningcss: 1.32.0 + lightningcss: 1.33.0 picomatch: 4.0.5 - postcss: 8.5.16 - rolldown: 1.1.4 + postcss: 8.5.21 + rolldown: 1.1.5 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 20.19.43 fsevents: 2.3.3 - terser: 5.48.0 - - vitest@4.1.9(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0)): - dependencies: - '@vitest/expect': 4.1.9 - '@vitest/mocker': 4.1.9(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.3(@types/node@20.19.43)(terser@5.48.0)) - '@vitest/pretty-format': 4.1.9 - '@vitest/runner': 4.1.9 - '@vitest/snapshot': 4.1.9 - '@vitest/spy': 4.1.9 - '@vitest/utils': 4.1.9 - es-module-lexer: 2.3.0 + terser: 5.49.0 + + vitest@4.1.10(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0)): + dependencies: + '@vitest/expect': 4.1.10 + '@vitest/mocker': 4.1.10(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.1.5(@types/node@20.19.43)(terser@5.49.0)) + '@vitest/pretty-format': 4.1.10 + '@vitest/runner': 4.1.10 + '@vitest/snapshot': 4.1.10 + '@vitest/spy': 4.1.10 + '@vitest/utils': 4.1.10 + es-module-lexer: 2.3.1 expect-type: 1.4.0 magic-string: 0.30.21 - obug: 2.1.3 + obug: 2.1.4 pathe: 2.0.3 picomatch: 4.0.5 - std-env: 4.1.0 + std-env: 4.2.0 tinybench: 2.9.0 tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.0 - vite: 8.1.3(@types/node@20.19.43)(terser@5.48.0) + vite: 8.1.5(@types/node@20.19.43)(terser@5.49.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.19.43 @@ -1790,9 +1790,9 @@ snapshots: dependencies: graceful-fs: 4.2.11 - webpack-sources@3.5.0: {} + webpack-sources@3.5.1: {} - webpack@5.108.3: + webpack@5.108.4: dependencies: '@types/estree': 1.0.9 '@types/json-schema': 7.0.15 @@ -1801,21 +1801,21 @@ snapshots: '@webassemblyjs/wasm-parser': 1.14.1 acorn: 8.17.0 acorn-import-phases: 1.0.4(acorn@8.17.0) - browserslist: 4.28.4 + browserslist: 4.28.7 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.24.1 - es-module-lexer: 2.3.0 + enhanced-resolve: 5.24.3 + es-module-lexer: 2.3.1 eslint-scope: 5.1.1 events: 3.3.0 graceful-fs: 4.2.11 loader-runner: 4.3.2 mime-db: 1.54.0 - minimizer-webpack-plugin: 5.6.1(webpack@5.108.3) + minimizer-webpack-plugin: 5.6.1(webpack@5.108.4) neo-async: 2.6.2 schema-utils: 4.3.3 tapable: 2.3.3 watchpack: 2.5.2 - webpack-sources: 3.5.0 + webpack-sources: 3.5.1 transitivePeerDependencies: - '@minify-html/node' - '@swc/core' diff --git a/reference.md b/reference.md index 8dda017..c2c705e 100644 --- a/reference.md +++ b/reference.md @@ -1608,7 +1608,13 @@ Adds (registers) a new DNSSEC DS record for a domain.
```typescript -await client.dnsseCs.createDnssec({}); +await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "digest", + digestType: 1, + keyTag: 1 +}); ```
@@ -2679,6 +2685,7 @@ await client.urlForwardings.updateUrlForwarding({ host: "www.example.org", body: { forwardsTo: "https://destination-site.com", + host: "www", type: "masked" } }); @@ -3014,6 +3021,7 @@ await client.urlForwardings.updateUrlForwardingById({ id: 12345, body: { forwardsTo: "https://destination-site.com", + host: "www", type: "masked" } }); @@ -3459,9 +3467,11 @@ Supported webhook event names: - `domain.lock.status_change` – domain lock added or removed. - `domain.transfer.status_change` – domain transfer IN to name.com; status updates while name.com is the gaining registrar. - `domain.transfer_out.status_change` – domain transfer OUT from name.com to another registrar; fires when the domain is removed from the account. -- `domain.transfer.internal_in` - name.com domain transfers in to the subscribing account. +- `domain.transfer.internal_in` - name.com domain transfers in to the subscribing account via internal transfer. +- `domain.transfer.internal_out` - name.com domain transfers out of the subscribing account via internal transfer. - `contact.verification.status_change` - contact verification status changes (verified or unverified). - `domain.registry.rejection` – domain **create** failed after asynchronous registry processing (uncommon; most creates succeed at request time). +- `domain.expiration` – domain has expired and entered the post-expiry grace period. This is informational only. diff --git a/src/BaseClient.ts b/src/BaseClient.ts index 84055ad..f566713 100644 --- a/src/BaseClient.ts +++ b/src/BaseClient.ts @@ -63,8 +63,8 @@ export function normalizeClientOptions> { + const { domainName, ..._body } = request; const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest(); const _headers: core.Fetcher.Args["headers"] = mergeHeaders( _authRequest.headers, @@ -160,15 +167,15 @@ export class DnsseCsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, - `core/v1/domains/${core.url.encodePathParam(request.domainName)}/dnssec`, + environments.NamecomEnvironment.Sandbox, + `core/v1/domains/${core.url.encodePathParam(domainName)}/dnssec`, ), method: "POST", headers: _headers, contentType: "application/json", queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(), requestType: "json", - body: request, + body: _body, timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000, maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, @@ -266,7 +273,7 @@ export class DnsseCsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/dnssec/${core.url.encodePathParam(digest)}`, ), method: "GET", @@ -360,7 +367,7 @@ export class DnsseCsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/dnssec/${core.url.encodePathParam(digest)}`, ), method: "DELETE", diff --git a/src/api/resources/dnsseCs/client/requests/CreateDnssecBody.ts b/src/api/resources/dnsseCs/client/requests/CreateDnssecBody.ts index 77abf72..e8f98ab 100644 --- a/src/api/resources/dnsseCs/client/requests/CreateDnssecBody.ts +++ b/src/api/resources/dnsseCs/client/requests/CreateDnssecBody.ts @@ -2,14 +2,20 @@ /** * @example - * {} + * { + * domainName: "domainName", + * algorithm: 1, + * digest: "digest", + * digestType: 1, + * keyTag: 1 + * } */ export interface CreateDnssecBody { - algorithm?: number; + /** DomainName is the domain name to create keys for. */ + domainName: string; + algorithm: number; /** Digest is a digest of the DNSKEY RR that is registered with the registry. */ - digest?: string; - /** The name of the domain. */ - domainName?: string; - digestType?: number; - keyTag?: number; + digest: string; + digestType: number; + keyTag: number; } diff --git a/src/api/resources/domainInfo/client/Client.ts b/src/api/resources/domainInfo/client/Client.ts index 172c214..dc8f416 100644 --- a/src/api/resources/domainInfo/client/Client.ts +++ b/src/api/resources/domainInfo/client/Client.ts @@ -69,7 +69,7 @@ export class DomainInfoClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domaininfo/requirements/${core.url.encodePathParam(tld)}`, ), method: "GET", @@ -171,7 +171,7 @@ export class DomainInfoClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domaininfo/claims/${core.url.encodePathParam(domain)}`, ), method: "POST", @@ -276,7 +276,7 @@ export class DomainInfoClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domaininfo/requirementsV2/${core.url.encodePathParam(tld)}`, ), method: "GET", diff --git a/src/api/resources/domains/client/Client.ts b/src/api/resources/domains/client/Client.ts index 1630db4..978e37a 100644 --- a/src/api/resources/domains/client/Client.ts +++ b/src/api/resources/domains/client/Client.ts @@ -104,7 +104,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/domains", ), method: "GET", @@ -353,7 +353,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/domains", ), method: "POST", @@ -470,7 +470,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}`, ), method: "GET", @@ -564,7 +564,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}`, ), method: "PATCH", @@ -673,7 +673,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:disableAutorenew`, ), method: "POST", @@ -777,7 +777,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:disableWhoisPrivacy`, ), method: "POST", @@ -881,7 +881,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:enableAutorenew`, ), method: "POST", @@ -985,7 +985,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:enableWhoisPrivacy`, ), method: "POST", @@ -1086,7 +1086,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:getAuthCode`, ), method: "GET", @@ -1202,7 +1202,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:getPricing`, ), method: "GET", @@ -1310,7 +1310,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:lock`, ), method: "POST", @@ -1416,7 +1416,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:purchasePrivacy`, ), method: "POST", @@ -1529,7 +1529,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:renew`, ), method: "POST", @@ -1641,7 +1641,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:setContacts`, ), method: "POST", @@ -1747,7 +1747,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:setNameservers`, ), method: "POST", @@ -1854,7 +1854,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}:unlock`, ), method: "POST", @@ -1964,7 +1964,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/domains:checkAvailability", ), method: "POST", @@ -2080,7 +2080,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/domains:search", ), method: "POST", @@ -2183,7 +2183,7 @@ export class DomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/zonecheck", ), method: "POST", diff --git a/src/api/resources/emailForwardings/client/Client.ts b/src/api/resources/emailForwardings/client/Client.ts index 124c996..3785630 100644 --- a/src/api/resources/emailForwardings/client/Client.ts +++ b/src/api/resources/emailForwardings/client/Client.ts @@ -73,7 +73,7 @@ export class EmailForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/email/forwarding`, ), method: "GET", @@ -174,7 +174,7 @@ export class EmailForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/email/forwarding`, ), method: "POST", @@ -278,7 +278,7 @@ export class EmailForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/email/forwarding/${core.url.encodePathParam(emailBox)}`, ), method: "GET", @@ -373,7 +373,7 @@ export class EmailForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/email/forwarding/${core.url.encodePathParam(emailBox)}`, ), method: "PUT", @@ -475,7 +475,7 @@ export class EmailForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/email/forwarding/${core.url.encodePathParam(emailBox)}`, ), method: "DELETE", diff --git a/src/api/resources/orders/client/Client.ts b/src/api/resources/orders/client/Client.ts index ab911a1..27fe7c1 100644 --- a/src/api/resources/orders/client/Client.ts +++ b/src/api/resources/orders/client/Client.ts @@ -85,7 +85,7 @@ export class OrdersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/orders", ), method: "GET", @@ -175,7 +175,7 @@ export class OrdersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/orders/${core.url.encodePathParam(orderId)}`, ), method: "GET", diff --git a/src/api/resources/premiumDomains/client/Client.ts b/src/api/resources/premiumDomains/client/Client.ts index 31aab47..f275941 100644 --- a/src/api/resources/premiumDomains/client/Client.ts +++ b/src/api/resources/premiumDomains/client/Client.ts @@ -61,7 +61,7 @@ export class PremiumDomainsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/premiumdomainslist", ), method: "GET", diff --git a/src/api/resources/refunds/client/Client.ts b/src/api/resources/refunds/client/Client.ts index f62269e..4127ced 100644 --- a/src/api/resources/refunds/client/Client.ts +++ b/src/api/resources/refunds/client/Client.ts @@ -99,7 +99,7 @@ export class RefundsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/refund", ), method: "POST", diff --git a/src/api/resources/tldPricing/client/Client.ts b/src/api/resources/tldPricing/client/Client.ts index 0d5d150..cd4c903 100644 --- a/src/api/resources/tldPricing/client/Client.ts +++ b/src/api/resources/tldPricing/client/Client.ts @@ -82,7 +82,7 @@ export class TldPricingClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/tldpricing", ), method: "GET", diff --git a/src/api/resources/transfers/client/Client.ts b/src/api/resources/transfers/client/Client.ts index 91a10fe..5592fa0 100644 --- a/src/api/resources/transfers/client/Client.ts +++ b/src/api/resources/transfers/client/Client.ts @@ -69,7 +69,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/transfers", ), method: "GET", @@ -166,7 +166,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/transfers", ), method: "POST", @@ -272,7 +272,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/transfers/${core.url.encodePathParam(domainName)}`, ), method: "GET", @@ -390,7 +390,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/transfers/${core.url.encodePathParam(domainName)}:cancel`, ), method: "POST", @@ -496,7 +496,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/transfers/external/out/${core.url.encodePathParam(domainName)}:cancel`, ), method: "POST", @@ -614,7 +614,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/transfers/internal/in", ), method: "POST", @@ -730,7 +730,7 @@ export class TransfersClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/transfers/eligibility/${core.url.encodePathParam(domainName)}`, ), method: "GET", diff --git a/src/api/resources/urlForwardings/client/Client.ts b/src/api/resources/urlForwardings/client/Client.ts index fba93fa..9ff6729 100644 --- a/src/api/resources/urlForwardings/client/Client.ts +++ b/src/api/resources/urlForwardings/client/Client.ts @@ -76,7 +76,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/url/forwarding`, ), method: "GET", @@ -183,7 +183,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/url/forwarding`, ), method: "POST", @@ -292,7 +292,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/url/forwarding/${core.url.encodePathParam(host)}`, ), method: "GET", @@ -370,6 +370,7 @@ export class UrlForwardingsClient { * host: "www.example.org", * body: { * forwardsTo: "https://destination-site.com", + * host: "www", * type: "masked" * } * }) @@ -396,7 +397,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/url/forwarding/${core.url.encodePathParam(host)}`, ), method: "PUT", @@ -502,7 +503,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/url/forwarding/${core.url.encodePathParam(host)}`, ), method: "DELETE", @@ -602,7 +603,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/urlforwarding/${core.url.encodePathParam(domainName)}`, ), method: "GET", @@ -703,7 +704,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/urlforwarding/${core.url.encodePathParam(domainName)}/${core.url.encodePathParam(id)}`, ), method: "GET", @@ -799,7 +800,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/urlforwarding/${core.url.encodePathParam(domainName)}/${core.url.encodePathParam(id)}`, ), method: "DELETE", @@ -873,6 +874,7 @@ export class UrlForwardingsClient { * id: 12345, * body: { * forwardsTo: "https://destination-site.com", + * host: "www", * type: "masked" * } * }) @@ -899,7 +901,7 @@ export class UrlForwardingsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/urlforwarding/${core.url.encodePathParam(domainName)}/${core.url.encodePathParam(id)}`, ), method: "PATCH", diff --git a/src/api/resources/urlForwardings/client/requests/CreateUrlForwardingRequest.ts b/src/api/resources/urlForwardings/client/requests/CreateUrlForwardingRequest.ts index 3992bb2..1587f0c 100644 --- a/src/api/resources/urlForwardings/client/requests/CreateUrlForwardingRequest.ts +++ b/src/api/resources/urlForwardings/client/requests/CreateUrlForwardingRequest.ts @@ -16,5 +16,5 @@ import type * as Namecom from "../../../../index.js"; export interface CreateUrlForwardingRequest { /** DomainName is the domain part of the hostname to forward. */ domainName: string; - body: Namecom.CreateUrlForwardingBody; + body: Namecom.UrlForwardingInput; } diff --git a/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingByIdRequest.ts b/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingByIdRequest.ts index c6dd430..05e65f0 100644 --- a/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingByIdRequest.ts +++ b/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingByIdRequest.ts @@ -9,6 +9,7 @@ import type * as Namecom from "../../../../index.js"; * id: 12345, * body: { * forwardsTo: "https://destination-site.com", + * host: "www", * type: "masked" * } * } @@ -18,5 +19,5 @@ export interface UpdateUrlForwardingByIdRequest { domainName: string; /** ID is the server-assigned unique identifier for the URL forwarding record (returned in list responses). */ id: number; - body: Namecom.UpdateUrlForwardingBody; + body: Namecom.UrlForwardingInput; } diff --git a/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingRequest.ts b/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingRequest.ts index 1b192e9..2b45182 100644 --- a/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingRequest.ts +++ b/src/api/resources/urlForwardings/client/requests/UpdateUrlForwardingRequest.ts @@ -9,6 +9,7 @@ import type * as Namecom from "../../../../index.js"; * host: "www.example.org", * body: { * forwardsTo: "https://destination-site.com", + * host: "www", * type: "masked" * } * } @@ -18,5 +19,5 @@ export interface UpdateUrlForwardingRequest { domainName: string; /** The full hostname, including subdomain. */ host: string; - body: Namecom.UpdateUrlForwardingBody; + body: Namecom.UrlForwardingInput; } diff --git a/src/api/resources/vanityNameservers/client/Client.ts b/src/api/resources/vanityNameservers/client/Client.ts index b236295..3d578cb 100644 --- a/src/api/resources/vanityNameservers/client/Client.ts +++ b/src/api/resources/vanityNameservers/client/Client.ts @@ -74,7 +74,7 @@ export class VanityNameserversClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/vanity_nameservers`, ), method: "GET", @@ -145,6 +145,7 @@ export class VanityNameserversClient { * @throws {@link Namecom.ForbiddenError} * @throws {@link Namecom.NotFoundError} * @throws {@link Namecom.MethodNotAllowedError} + * @throws {@link Namecom.ConflictError} * @throws {@link Namecom.UnsupportedMediaTypeError} * @throws {@link Namecom.TooManyRequestsError} * @throws {@link Namecom.InternalServerError} @@ -180,7 +181,7 @@ export class VanityNameserversClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/vanity_nameservers`, ), method: "POST", @@ -211,6 +212,8 @@ export class VanityNameserversClient { throw new Namecom.NotFoundError(_response.error.body as Namecom.NotFound404, _response.rawResponse); case 405: throw new Namecom.MethodNotAllowedError(_response.error.body as unknown, _response.rawResponse); + case 409: + throw new Namecom.ConflictError(_response.error.body as unknown, _response.rawResponse); case 415: throw new Namecom.UnsupportedMediaTypeError( _response.error.body as Namecom.UnsupportedMedia415, @@ -285,7 +288,7 @@ export class VanityNameserversClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/vanity_nameservers/${core.url.encodePathParam(hostname)}`, ), method: "GET", @@ -383,7 +386,7 @@ export class VanityNameserversClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/vanity_nameservers/${core.url.encodePathParam(hostname)}`, ), method: "PUT", @@ -488,7 +491,7 @@ export class VanityNameserversClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/domains/${core.url.encodePathParam(domainName)}/vanity_nameservers/${core.url.encodePathParam(hostname)}`, ), method: "DELETE", diff --git a/src/api/resources/webhookNotifications/client/Client.ts b/src/api/resources/webhookNotifications/client/Client.ts index 56c1b6a..89f4571 100644 --- a/src/api/resources/webhookNotifications/client/Client.ts +++ b/src/api/resources/webhookNotifications/client/Client.ts @@ -61,7 +61,7 @@ export class WebhookNotificationsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/notifications", ), method: "GET", @@ -115,9 +115,11 @@ export class WebhookNotificationsClient { * - `domain.lock.status_change` – domain lock added or removed. * - `domain.transfer.status_change` – domain transfer IN to name.com; status updates while name.com is the gaining registrar. * - `domain.transfer_out.status_change` – domain transfer OUT from name.com to another registrar; fires when the domain is removed from the account. - * - `domain.transfer.internal_in` - name.com domain transfers in to the subscribing account. + * - `domain.transfer.internal_in` - name.com domain transfers in to the subscribing account via internal transfer. + * - `domain.transfer.internal_out` - name.com domain transfers out of the subscribing account via internal transfer. * - `contact.verification.status_change` - contact verification status changes (verified or unverified). * - `domain.registry.rejection` – domain **create** failed after asynchronous registry processing (uncommon; most creates succeed at request time). + * - `domain.expiration` – domain has expired and entered the post-expiry grace period. This is informational only. * * @param {Namecom.SubscribeToNotification} request * @param {WebhookNotificationsClient.RequestOptions} requestOptions - Request-specific configuration. @@ -161,7 +163,7 @@ export class WebhookNotificationsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, "core/v1/notifications", ), method: "POST", @@ -266,7 +268,7 @@ export class WebhookNotificationsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/notifications/${core.url.encodePathParam(id)}`, ), method: "PUT", @@ -362,7 +364,7 @@ export class WebhookNotificationsClient { url: core.url.join( (await core.Supplier.get(this._options.baseUrl)) ?? (await core.Supplier.get(this._options.environment)) ?? - environments.NamecomEnvironment.Default, + environments.NamecomEnvironment.Sandbox, `core/v1/notifications/${core.url.encodePathParam(id)}`, ), method: "DELETE", diff --git a/src/api/types/AvailableWebhooks.ts b/src/api/types/AvailableWebhooks.ts index 78731a3..5378253 100644 --- a/src/api/types/AvailableWebhooks.ts +++ b/src/api/types/AvailableWebhooks.ts @@ -8,6 +8,8 @@ export const AvailableWebhooks = { DomainTransferOutStatusChange: "domain.transfer_out.status_change", ContactVerificationStatusChange: "contact.verification.status_change", DomainTransferInternalIn: "domain.transfer.internal_in", + DomainTransferInternalOut: "domain.transfer.internal_out", DomainRegistryRejection: "domain.registry.rejection", + DomainExpiration: "domain.expiration", } as const; export type AvailableWebhooks = (typeof AvailableWebhooks)[keyof typeof AvailableWebhooks]; diff --git a/src/api/types/CreateUrlForwardingBody.ts b/src/api/types/CreateUrlForwardingBody.ts deleted file mode 100644 index 3612128..0000000 --- a/src/api/types/CreateUrlForwardingBody.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was auto-generated by Fern from our API Definition. - -import type * as Namecom from "../index.js"; - -/** - * The request body for creating a new URL forwarding entry. - */ -export type CreateUrlForwardingBody = Namecom.UrlForwarding; diff --git a/src/api/types/DomainExpiration.ts b/src/api/types/DomainExpiration.ts new file mode 100644 index 0000000..118589b --- /dev/null +++ b/src/api/types/DomainExpiration.ts @@ -0,0 +1,21 @@ +// This file was auto-generated by Fern from our API Definition. + +/** + * Payload sent when a domain in the subscribing account expires and the grace period starts. This event is informational; it is separate from lock, removal, and transfer-out events. + */ +export interface DomainExpiration { + /** The name of the subscription event. */ + eventName: DomainExpiration.EventName; + /** The name of the expired domain. */ + domainName: string; + /** The date and time when the domain expired. */ + expirationDate: string; +} + +export namespace DomainExpiration { + /** The name of the subscription event. */ + export const EventName = { + DomainExpiration: "domain.expiration", + } as const; + export type EventName = (typeof EventName)[keyof typeof EventName]; +} diff --git a/src/api/types/DomainTransferInternalOutStatusChange.ts b/src/api/types/DomainTransferInternalOutStatusChange.ts new file mode 100644 index 0000000..c5397b9 --- /dev/null +++ b/src/api/types/DomainTransferInternalOutStatusChange.ts @@ -0,0 +1,33 @@ +// This file was auto-generated by Fern from our API Definition. + +import type * as Namecom from "../index.js"; + +/** + * Payload sent when a domain transfers OUT from the webhook subscriber's account to another name.com account. + */ +export interface DomainTransferInternalOutStatusChange { + /** The name of the subscription event. */ + eventName: DomainTransferInternalOutStatusChange.EventName; + /** The internal transfer ID for this move, when available. Omitted when no transfer ID has been assigned for the event. */ + transferId?: number | undefined; + /** The account id that previously owned the domain (the losing account). */ + sourceAccountId: number; + /** The account id that now owns the domain (the gaining account). */ + destinationAccountId: number; + status: DomainTransferInternalOutStatusChange.Status; + /** When the domain transfer out occurred. */ + occurredAt: string; + domain: Namecom.DomainResponsePayload; +} + +export namespace DomainTransferInternalOutStatusChange { + /** The name of the subscription event. */ + export const EventName = { + DomainTransferInternalOut: "domain.transfer.internal_out", + } as const; + export type EventName = (typeof EventName)[keyof typeof EventName]; + export const Status = { + Completed: "completed", + } as const; + export type Status = (typeof Status)[keyof typeof Status]; +} diff --git a/src/api/types/UpdateUrlForwardingBody.ts b/src/api/types/UrlForwardingInput.ts similarity index 84% rename from src/api/types/UpdateUrlForwardingBody.ts rename to src/api/types/UrlForwardingInput.ts index 34ee4aa..f522f88 100644 --- a/src/api/types/UpdateUrlForwardingBody.ts +++ b/src/api/types/UrlForwardingInput.ts @@ -1,15 +1,13 @@ // This file was auto-generated by Fern from our API Definition. /** - * The request body for updating an existing URL forwarding entry. + * Fields for creating or updating a URL forwarding entry. */ -export interface UpdateUrlForwardingBody { - /** The subdomain portion of the hostname that is being forwarded. */ - host?: string | undefined; - /** The domain name (without subdomains) that is being forwarded. */ - domainName?: string | undefined; +export interface UrlForwardingInput { /** The destination URL to which this hostname will be forwarded. */ forwardsTo: string; + /** The subdomain portion of the hostname that is being forwarded. */ + host: string; /** * Meta tags to include in the HTML page when using "masked" forwarding. * Ignored for other forwarding types. @@ -27,10 +25,10 @@ export interface UpdateUrlForwardingBody { * - `redirect`: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL. * - `302`: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere. */ - type: UpdateUrlForwardingBody.Type; + type: UrlForwardingInput.Type; } -export namespace UpdateUrlForwardingBody { +export namespace UrlForwardingInput { /** * The type of URL forwarding. Valid values: * - `masked`: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding. diff --git a/src/api/types/index.ts b/src/api/types/index.ts index c96f3ce..2224022 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -22,17 +22,18 @@ export * from "./CreateAccountResponse.js"; export * from "./CreateDate.js"; export * from "./CreateDomainResponse.js"; export * from "./CreateTransferResponse.js"; -export * from "./CreateUrlForwardingBody.js"; export * from "./Dnssec.js"; export * from "./Domain.js"; export * from "./DomainClaimsCheckResponse.js"; export * from "./DomainClaimsInfo.js"; export * from "./DomainCreatePayload.js"; +export * from "./DomainExpiration.js"; export * from "./DomainLockStatusChange.js"; export * from "./DomainName.js"; export * from "./DomainRegistryRejection.js"; export * from "./DomainResponsePayload.js"; export * from "./DomainTransferInternalInStatusChange.js"; +export * from "./DomainTransferInternalOutStatusChange.js"; export * from "./DomainTransferOutStatusChange.js"; export * from "./DomainTransferStatusChange.js"; export * from "./EmailForwarding.js"; @@ -102,8 +103,8 @@ export * from "./UnprocessableEntity422.js"; export * from "./UnsupportedMedia415.js"; export * from "./UnverifiedContact.js"; export * from "./UnverifiedContactsResponse.js"; -export * from "./UpdateUrlForwardingBody.js"; export * from "./UrlForwarding.js"; +export * from "./UrlForwardingInput.js"; export * from "./UrlForwardingResponse.js"; export * from "./VanityNameserver.js"; export * from "./VanityNameserverResponse.js"; diff --git a/src/environments.ts b/src/environments.ts index 86b8fd0..67d7797 100644 --- a/src/environments.ts +++ b/src/environments.ts @@ -1,7 +1,8 @@ // This file was auto-generated by Fern from our API Definition. export const NamecomEnvironment = { - Default: "https://api.dev.name.com", + Sandbox: "https://api.dev.name.com", + Production: "https://api.name.com", } as const; -export type NamecomEnvironment = typeof NamecomEnvironment.Default; +export type NamecomEnvironment = typeof NamecomEnvironment.Sandbox | typeof NamecomEnvironment.Production; diff --git a/src/version.ts b/src/version.ts index 3dcd700..47db6af 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "1.29.0"; +export const SDK_VERSION = "1.31.0"; diff --git a/tests/wire/dns.test.ts b/tests/wire/dns.test.ts index 9df9485..e32eeb9 100644 --- a/tests/wire/dns.test.ts +++ b/tests/wire/dns.test.ts @@ -59,6 +59,32 @@ describe("DnsClient", () => { const rawResponseBody = { key: "value" }; + server + .mockEndpoint() + .get("/core/v1/domains/domainName/records") + .respondWith() + .statusCode(400) + .jsonBody(rawResponseBody) + .build(); + + await expect(async () => { + return await client.dns.listRecords({ + domainName: "domainName", + }); + }).rejects.toThrow(Namecom.BadRequestError); + }); + + test("ListRecords (3)", async () => { + const server = mockServerPool.createServer(); + const client = new NamecomClient({ + maxRetries: 0, + username: "test", + password: "test", + environment: server.baseUrl, + }); + + const rawResponseBody = { key: "value" }; + server .mockEndpoint() .get("/core/v1/domains/domainName/records") @@ -74,7 +100,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.UnauthorizedError); }); - test("ListRecords (3)", async () => { + test("ListRecords (4)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -100,7 +126,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.ForbiddenError); }); - test("ListRecords (4)", async () => { + test("ListRecords (5)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -126,7 +152,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.NotFoundError); }); - test("ListRecords (5)", async () => { + test("ListRecords (6)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -152,7 +178,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("ListRecords (6)", async () => { + test("ListRecords (7)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -178,7 +204,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("ListRecords (7)", async () => { + test("ListRecords (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -204,7 +230,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("ListRecords (8)", async () => { + test("ListRecords (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -230,7 +256,7 @@ describe("DnsClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("ListRecords (9)", async () => { + test("ListRecords (10)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, diff --git a/tests/wire/dnsseCs.test.ts b/tests/wire/dnsseCs.test.ts index 8cc5448..5b5668d 100644 --- a/tests/wire/dnsseCs.test.ts +++ b/tests/wire/dnsseCs.test.ts @@ -248,7 +248,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "digest", digestType: 1, keyTag: 1 }; const rawResponseBody = { algorithm: 1, digest: "digest", digestType: 1, domainName: "domainName", keyTag: 1 }; server @@ -260,7 +260,13 @@ describe("DnsseCsClient", () => { .jsonBody(rawResponseBody) .build(); - const response = await client.dnsseCs.createDnssec({}); + const response = await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "digest", + digestType: 1, + keyTag: 1, + }); expect(response).toEqual(rawResponseBody); }); @@ -272,7 +278,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -285,7 +291,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.BadRequestError); }); @@ -297,7 +309,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -310,7 +322,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.UnauthorizedError); }); @@ -322,7 +340,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -335,7 +353,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.ForbiddenError); }); @@ -347,7 +371,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { message: "message" }; server @@ -360,7 +384,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.NotFoundError); }); @@ -372,7 +402,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -385,7 +415,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.MethodNotAllowedError); }); @@ -397,7 +433,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -410,7 +446,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.ConflictError); }); @@ -422,7 +464,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { message: "message" }; server @@ -435,7 +477,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.UnsupportedMediaTypeError); }); @@ -447,7 +495,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -460,7 +508,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.TooManyRequestsError); }); @@ -472,7 +526,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -485,7 +539,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.InternalServerError); }); @@ -497,7 +557,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -510,7 +570,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.BadGatewayError); }); @@ -522,7 +588,7 @@ describe("DnsseCsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = {}; + const rawRequestBody = { algorithm: 1, digest: "x", digestType: 1, keyTag: 1 }; const rawResponseBody = { key: "value" }; server @@ -535,7 +601,13 @@ describe("DnsseCsClient", () => { .build(); await expect(async () => { - return await client.dnsseCs.createDnssec({}); + return await client.dnsseCs.createDnssec({ + domainName: "domainName", + algorithm: 1, + digest: "x", + digestType: 1, + keyTag: 1, + }); }).rejects.toThrow(Namecom.GatewayTimeoutError); }); diff --git a/tests/wire/urlForwardings.test.ts b/tests/wire/urlForwardings.test.ts index bc18fb0..3a21e3b 100644 --- a/tests/wire/urlForwardings.test.ts +++ b/tests/wire/urlForwardings.test.ts @@ -956,7 +956,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "https://destination-site.com", type: "masked" }; + const rawRequestBody = { forwardsTo: "https://destination-site.com", host: "www", type: "masked" }; const rawResponseBody = { domainName: "example.org", forwardsTo: "https://destination-site.com", @@ -981,6 +981,7 @@ describe("UrlForwardingsClient", () => { host: "www.example.org", body: { forwardsTo: "https://destination-site.com", + host: "www", type: "masked", }, }); @@ -995,7 +996,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1013,6 +1014,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1027,7 +1029,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1045,6 +1047,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1059,7 +1062,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1077,6 +1080,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1091,7 +1095,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { message: "message" }; server @@ -1109,6 +1113,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1123,7 +1128,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1141,6 +1146,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1155,7 +1161,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { message: "message" }; server @@ -1173,6 +1179,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1187,7 +1194,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1205,6 +1212,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1219,7 +1227,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1237,6 +1245,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1251,7 +1260,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1269,6 +1278,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -1283,7 +1293,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -1301,6 +1311,7 @@ describe("UrlForwardingsClient", () => { host: "host", body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2340,7 +2351,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "https://destination-site.com", type: "masked" }; + const rawRequestBody = { forwardsTo: "https://destination-site.com", host: "www", type: "masked" }; const rawResponseBody = { domainName: "example.org", forwardsTo: "https://destination-site.com", @@ -2365,6 +2376,7 @@ describe("UrlForwardingsClient", () => { id: 12345, body: { forwardsTo: "https://destination-site.com", + host: "www", type: "masked", }, }); @@ -2379,7 +2391,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2397,6 +2409,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2411,7 +2424,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2429,6 +2442,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2443,7 +2457,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2461,6 +2475,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2475,7 +2490,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { message: "message" }; server @@ -2493,6 +2508,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2507,7 +2523,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2525,6 +2541,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2539,7 +2556,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { message: "message" }; server @@ -2557,6 +2574,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2571,7 +2589,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2589,6 +2607,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2603,7 +2622,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2621,6 +2640,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2635,7 +2655,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2653,6 +2673,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); @@ -2667,7 +2688,7 @@ describe("UrlForwardingsClient", () => { password: "test", environment: server.baseUrl, }); - const rawRequestBody = { forwardsTo: "forwardsTo", type: "masked" }; + const rawRequestBody = { forwardsTo: "forwardsTo", host: "host", type: "masked" }; const rawResponseBody = { key: "value" }; server @@ -2685,6 +2706,7 @@ describe("UrlForwardingsClient", () => { id: 1, body: { forwardsTo: "forwardsTo", + host: "host", type: "masked", }, }); diff --git a/tests/wire/vanityNameservers.test.ts b/tests/wire/vanityNameservers.test.ts index 3740e0c..6a44930 100644 --- a/tests/wire/vanityNameservers.test.ts +++ b/tests/wire/vanityNameservers.test.ts @@ -454,6 +454,35 @@ describe("VanityNameserversClient", () => { }); test("CreateVanityNameserver (7)", async () => { + const server = mockServerPool.createServer(); + const client = new NamecomClient({ + maxRetries: 0, + username: "test", + password: "test", + environment: server.baseUrl, + }); + const rawRequestBody = { hostname: "hostname", ips: ["ips", "ips"] }; + const rawResponseBody = { key: "value" }; + + server + .mockEndpoint() + .post("/core/v1/domains/domainName/vanity_nameservers") + .jsonBody(rawRequestBody) + .respondWith() + .statusCode(409) + .jsonBody(rawResponseBody) + .build(); + + await expect(async () => { + return await client.vanityNameservers.createVanityNameserver({ + domainName: "domainName", + hostname: "hostname", + ips: ["ips", "ips"], + }); + }).rejects.toThrow(Namecom.ConflictError); + }); + + test("CreateVanityNameserver (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -482,7 +511,7 @@ describe("VanityNameserversClient", () => { }).rejects.toThrow(Namecom.UnsupportedMediaTypeError); }); - test("CreateVanityNameserver (8)", async () => { + test("CreateVanityNameserver (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -511,7 +540,7 @@ describe("VanityNameserversClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("CreateVanityNameserver (9)", async () => { + test("CreateVanityNameserver (10)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -540,7 +569,7 @@ describe("VanityNameserversClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("CreateVanityNameserver (10)", async () => { + test("CreateVanityNameserver (11)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -569,7 +598,7 @@ describe("VanityNameserversClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("CreateVanityNameserver (11)", async () => { + test("CreateVanityNameserver (12)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, From 530df24de769101d7f83d5962edfc42ceed7cf28 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 20:06:34 +0000 Subject: [PATCH 2/2] [fern-replay] advance lockfile --- .fern/replay.lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index d7ac26b..b711770 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -6,5 +6,11 @@ generations: timestamp: 2026-07-21T20:06:31.114Z cli_version: unknown generator_versions: {} -current_generation: b15215b47c0ff8778c36b46897752e5d8886040e + - commit_sha: 57fedde2bcf5a0de9027b4179d81c9f94adbeb93 + tree_hash: ed3c8d984d7f079c7b15f5878943a6dfd3cf8627 + timestamp: 2026-07-21T20:06:31.519Z + cli_version: unknown + generator_versions: + fernapi/fern-typescript-sdk: 3.75.3 +current_generation: 57fedde2bcf5a0de9027b4179d81c9f94adbeb93 patches: []