diff --git a/.fern/metadata.json b/.fern/metadata.json index fd69486..1fda363 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -13,7 +13,7 @@ } }, "invokedBy": "ci", - "requestedVersion": "1.31.0", + "requestedVersion": "1.32.0", "ciProvider": "gitlab", - "sdkVersion": "1.31.0" + "sdkVersion": "1.32.0" } diff --git a/.fern/replay.lock b/.fern/replay.lock index b711770..6601a03 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -12,5 +12,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-typescript-sdk: 3.75.3 -current_generation: 57fedde2bcf5a0de9027b4179d81c9f94adbeb93 + - commit_sha: 93c049c1860394fdf0dc49f66bc7655b34de6734 + tree_hash: 40695f64e9edb4f48a24f8073eed8f07251cf533 + timestamp: 2026-08-04T20:33:17.993Z + cli_version: unknown + generator_versions: + fernapi/fern-typescript-sdk: 3.75.3 +current_generation: 93c049c1860394fdf0dc49f66bc7655b34de6734 patches: [] diff --git a/package.json b/package.json index d65523c..f6421ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@namecom/core-api", - "version": "1.31.0", + "version": "1.32.0", "private": false, "repository": { "type": "git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5d32eb1..1e21b35 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.4) + version: 9.6.2(typescript@5.9.3)(webpack@5.109.2) typescript: specifier: ~5.9.3 version: 5.9.3 vitest: specifier: ^4.1.1 - 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)) + version: 4.1.10(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.2.0(@types/node@20.19.43)(terser@5.49.1)) webpack: specifier: ^5.105.4 - version: 5.108.4 + version: 5.109.2 packages: @@ -95,15 +95,6 @@ packages: '@bundled-es-modules/statuses@1.0.1': resolution: {integrity: sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg==} - '@emnapi/core@1.11.1': - resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==} - - '@emnapi/runtime@1.11.1': - resolution: {integrity: sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==} - - '@emnapi/wasi-threads@1.2.2': - resolution: {integrity: sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==} - '@inquirer/ansi@1.0.2': resolution: {integrity: sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==} engines: {node: '>=18'} @@ -159,12 +150,6 @@ packages: resolution: {integrity: sha512-2+BzZbjRO7Ct61k8fMNHEtoKjeWI9pIlHFTqBwZ5icHpqszIgEZbjb1MW5Z0+bITTCTl3gk4PDBxs9tA/csXvA==} engines: {node: '>=18'} - '@napi-rs/wasm-runtime@1.1.6': - resolution: {integrity: sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==} - peerDependencies: - '@emnapi/core': ^1.7.1 - '@emnapi/runtime': ^1.7.1 - '@open-draft/deferred-promise@2.2.0': resolution: {integrity: sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==} @@ -174,100 +159,95 @@ packages: '@open-draft/until@2.1.0': resolution: {integrity: sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==} - '@oxc-project/types@0.139.0': - resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==} + '@oxc-project/types@0.142.0': + resolution: {integrity: sha512-7W+2q5AKQVU36fkaryontrHn3YDt1RyUYXatw9i5H8ocYe2sPKSFB6eS8WNPeRKiN1qAWWZUPm7gwFzJGrccqQ==} - '@rolldown/binding-android-arm64@1.1.5': - resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==} + '@rolldown/binding-android-arm64@1.2.2': + resolution: {integrity: sha512-l7x215OGvo1s52JWmR8U/DAVzEDWBCIbTm28aeJV/WDTSHgcKXaZTuBT0hJMs5NggilfJTW3clZVvd24yfKJxA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.1.5': - resolution: {integrity: sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==} + '@rolldown/binding-darwin-arm64@1.2.2': + resolution: {integrity: sha512-9u9Xv6c1AJZT0FfwH5vrMG5Jjcwhc1MlyrPu0XfTqkzsmqfks2M6W/o5XwAJgVVN/jHpqqngC1WevHKKTIUtIA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.1.5': - resolution: {integrity: sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==} + '@rolldown/binding-darwin-x64@1.2.2': + resolution: {integrity: sha512-9W1mbGZAfW3oqd85bhBkmpyHCCzL1TeG/zFFP3vg7b0rlly8cxOcre5nXwz+LHazCwac2MNWgPdPCHndABjpWQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.1.5': - resolution: {integrity: sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==} + '@rolldown/binding-freebsd-x64@1.2.2': + resolution: {integrity: sha512-0p1lhiCSCyaerFwtrdZQUx7NqGk6LQnaRKWX7tFQqwQgvX0rjM15cIkm3pax1UpEakK14C4mOxx/jSqCBdBRqQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.1.5': - resolution: {integrity: sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.2': + resolution: {integrity: sha512-e+cOJXrJ2L3zx6YzqPg+f6Wbk3V1cKB8bOhbaYdVYN3DdquzNdRAmrbETz1qnt5yp/c7JNlNjmITiA2cVneQ7w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.1.5': - resolution: {integrity: sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==} + '@rolldown/binding-linux-arm64-gnu@1.2.2': + resolution: {integrity: sha512-JsSMsj6sNat/MuhG5fnBD7QgbtpHKVe30x5/bAVirDHdhoQRXJkF6xc0Jqk8O4fiCUQAzMOoH9wZi3m60c8wtg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.1.5': - resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==} + '@rolldown/binding-linux-arm64-musl@1.2.2': + resolution: {integrity: sha512-B5G/zJdHaoJn9vD50eGHWkiWfmq8Uhi3IiLPJTzmZTrAalk1bztUikSXo0qga18ibE0IXboyeMUnhPjhAJ45wQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.1.5': - resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==} + '@rolldown/binding-linux-ppc64-gnu@1.2.2': + resolution: {integrity: sha512-6mC/awzKka8W6EoekjegpfGkjz8jXWDX63pqu/HYVpyKtZfu65Jsh4QAH3Kej3CAv/c1oGX7psTmFEbr0mDxLA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.1.5': - resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==} + '@rolldown/binding-linux-s390x-gnu@1.2.2': + resolution: {integrity: sha512-412MX9fJLdA1IK28EZnc8jYv2HRTleOZgfLQumJ5zy7OeJLZlg/CETwFaXjNmGVxG51cFHpKLqb5LKvBC+HsHA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.1.5': - resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==} + '@rolldown/binding-linux-x64-gnu@1.2.2': + resolution: {integrity: sha512-Q/+HI/ToJafZ1iCqGgVQXUEkIjufHCTF0gBQ2a5o3cg7GJ2h0qyq3nvvSmU+bGda2/7ygXpTY4TM6gO9OhQ0ZA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.1.5': - resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==} + '@rolldown/binding-linux-x64-musl@1.2.2': + resolution: {integrity: sha512-ZKp/w41n6wCvxzxQHtQSbuphfX3Y4cCvbjkKHusrLx4lh+JWLTU7StSltO/DKARISzbj368d+qUaCjI8K2wzXw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.1.5': - resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==} + '@rolldown/binding-openharmony-arm64@1.2.2': + resolution: {integrity: sha512-pxE6xD4KS3eAROkKK5yrhB9/3+vhlhVGMvlQLbdpzrBGDbKrnzx3RLwPaHvasLo6jgaiBLn7e04Df9C4tYhjmA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@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.5': - resolution: {integrity: sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==} + '@rolldown/binding-win32-arm64-msvc@1.2.2': + resolution: {integrity: sha512-4MqEue5re+xIZzAWsB8sj0P1kqZySWqIuN4t6QaIO/YA6SFwySOLruvWQFzfmqk8LBK2P30KCSJwf6mJCZZ5/A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.1.5': - resolution: {integrity: sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==} + '@rolldown/binding-win32-x64-msvc@1.2.2': + resolution: {integrity: sha512-NweNxxD0Nf9t8v7kodun45Ijp3EIwYY+uydPP6qBEYvfBqhIjN6dZMzlQja3tqX/aLs3F3Uz+AxDpKgRhpOZQg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -278,9 +258,6 @@ packages: '@standard-schema/spec@1.1.0': resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} - '@tybys/wasm-util@0.10.3': - resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==} - '@types/chai@5.2.3': resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} @@ -382,14 +359,8 @@ packages: '@xtuc/long@4.2.2': resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} - acorn-import-phases@1.0.4: - resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==} - engines: {node: '>=10.13.0'} - peerDependencies: - acorn: ^8.14.0 - - acorn@8.17.0: - resolution: {integrity: sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==} + acorn@8.18.0: + resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} engines: {node: '>=0.4.0'} hasBin: true @@ -421,8 +392,8 @@ packages: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} - baseline-browser-mapping@2.11.0: - resolution: {integrity: sha512-oCu2wfipvX3AePSgmOuKkIywOu+8n9psz7hXYmk56ghpu3+7KzNIBopaOs4c9BrtdnTtW30unG9GTfHo7EwERQ==} + baseline-browser-mapping@2.11.12: + resolution: {integrity: sha512-r7WnVImvVCeFpf2DOXfy41aPWzeNg3H/A2X4dKmy1QL0MSyyk/e7z8ihJ3N6Nn2PsdhkVlqnEfnUE4a05P2aTA==} engines: {node: '>=6.0.0'} hasBin: true @@ -478,14 +449,14 @@ packages: resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} engines: {node: '>=8'} - electron-to-chromium@1.5.394: - resolution: {integrity: sha512-Wmt2Gm0o8JWBuGgmc4XZ0u9s1RaCRqhxP47phplmfg04+qypTUurpeJGP45A7Fhv7jdrrVH44PLlR9qXo37cVQ==} + electron-to-chromium@1.5.400: + resolution: {integrity: sha512-96EWDNjM59SYflgeV5Ylsf4EMiq1a25YjCnJH7cxn/AF2H3pILRweaUnoLax0yKHWdpOzY6JKEu45e8irqZIHA==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - enhanced-resolve@5.24.3: - resolution: {integrity: sha512-PwKooW9JUzh5chmYfHM3IQl5OkK2u2Nm011MgeZrss3JmFraUx/fqrf78kk8GUMYoibx/14MdwTl/1WKkG7TpQ==} + enhanced-resolve@5.24.5: + resolution: {integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==} engines: {node: '>=10.13.0'} es-module-lexer@2.3.1: @@ -525,8 +496,8 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - fast-uri@3.1.4: - resolution: {integrity: sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==} + fast-uri@3.1.5: + resolution: {integrity: sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==} fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} @@ -648,10 +619,6 @@ packages: resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==} engines: {node: '>= 12.0.0'} - loader-runner@4.3.2: - resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==} - engines: {node: '>=6.11.5'} - magic-string@0.30.21: resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} @@ -719,16 +686,16 @@ packages: resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} engines: {node: ^18.17.0 || >=20.5.0} - nanoid@3.3.16: - resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==} + nanoid@3.3.17: + resolution: {integrity: sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==} 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.51: - resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==} + node-releases@2.0.52: + resolution: {integrity: sha512-MRlTqhAfoMx/4mhEbPo3Hi02g9LJZaJkka69V6h67Cb1gjrAG0jsTE4CZX1eptNx+VCAwJmfpnDIF4P0Nh1A7A==} engines: {node: '>=18'} obug@2.1.4: @@ -751,8 +718,8 @@ packages: resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} engines: {node: '>=12'} - postcss@8.5.21: - resolution: {integrity: sha512-v4sDNP3fdNiWMfabO7OwOQdOX8TiQSztKyT1Wj0w+j7LDallJThJRBBBmzVGyYj0crMh7jlV4zepPkiNu9UwDQ==} + postcss@8.5.25: + resolution: {integrity: sha512-DTPx3RWSSnWyzLxQnlH0rJP+EW5ekl16ZU4/psbIhA0e53kJfdgaN5vKM+xP7yJtXVu+nfdVFmlgFDEKAe4Pyw==} engines: {node: ^10 || ^12 || >=14} require-directory@2.1.1: @@ -766,8 +733,8 @@ packages: rettime@0.7.0: resolution: {integrity: sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==} - rolldown@1.1.5: - resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==} + rolldown@1.2.2: + resolution: {integrity: sha512-opwpo1tQBAcpSUJDt94B7hhLNGOKjCdE//XXjeLrnx9b83bjnw45tXdg1b09yEw/VLFBJGZpwRULMmOZo7ol+A==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -830,31 +797,31 @@ packages: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} - terser@5.49.0: - resolution: {integrity: sha512-SNiDnXyHSrxVcIOtVbULzcTmniUiwcV7Nwdyj1twVubeTmbjoa8p69KKDpfkdoOavuM4/GRm1+ykI8qqnavHoA==} + terser@5.49.1: + resolution: {integrity: sha512-7A2xlQ5EnGT8KPA92dUh6RbRYTVw8hEaEN9L1K68l4UOXFuV511NnAqObGoRqGOQofQcMypisu1s3xawCEHrvA==} engines: {node: '>=10'} hasBin: true tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinyexec@1.2.4: - resolution: {integrity: sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==} + tinyexec@1.3.0: + resolution: {integrity: sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==} engines: {node: '>=18'} tinyglobby@0.2.17: resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} engines: {node: '>=12.0.0'} - tinyrainbow@3.1.0: - resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} + tinyrainbow@3.1.1: + resolution: {integrity: sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==} engines: {node: '>=14.0.0'} - tldts-core@7.4.9: - resolution: {integrity: sha512-DxKfPBI52p2msTEu7MPhdpdDTBhhVQg1a/8PjQckeyAvO13eMYElX545grIp6nnTGIMZlRvFZPvFhvI/WIz2Vg==} + tldts-core@7.4.10: + resolution: {integrity: sha512-KnQjp53ZekKgm/r3l+u8kJGGzYgrWdP8+Mql7a4vijh2WE0IrZWspQj/TpTxDho/YxO+AnOZnIjQcCD+q6iJsw==} - tldts@7.4.9: - resolution: {integrity: sha512-3kZ8wQQ/k5DrChD4X4FVvr2D7E5uoRgAqkPyLpSCGUvqOvqu+JEdr3mwMUaVWb+vMHZaKhF5fp2PBigKsui7hA==} + tldts@7.4.10: + resolution: {integrity: sha512-GgouD1B+sWwvkaEq8vXC15DjQitxbvs12oIXELpconwm+Tg3zfcEv4jgzq3vtKverDXsg3VI8aRgNL2Nra0Iog==} hasBin: true tough-cookie@6.0.2: @@ -872,9 +839,6 @@ packages: loader-utils: optional: true - tslib@2.8.1: - resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - type-fest@4.41.0: resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} engines: {node: '>=16'} @@ -893,13 +857,13 @@ packages: peerDependencies: browserslist: '>= 4.21.0' - vite@8.1.5: - resolution: {integrity: sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==} + vite@8.2.0: + resolution: {integrity: sha512-pn+CFpM0lwDeKwmOq1ZaBK/9sjorZcgqxki6MbY/jPEVd9vichIlmlD4HmQ5wdP5EgqQCFRaACBxMC7uEGc6lQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.3.0 + '@vitejs/devtools': ^0.4.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -985,8 +949,8 @@ packages: resolution: {integrity: sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw==} engines: {node: '>=10.13.0'} - webpack@5.108.4: - resolution: {integrity: sha512-yur8LyJoeiWh47dErD+Ok7vlbmDsJ3UbbRPAoxbGJ54WpE2y5yVo5G/inUzujnYgw3tPmBRdn+G7PoxXaYC33w==} + webpack@5.109.2: + resolution: {integrity: sha512-U9/cvLzxObKNEZ9+TtdqrHM5/9z3lgl2c+c4BzbqGxFQvQvBAq87yql5A8pQ+rrMbS496MZJeF5enVBndIy2hw==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -1069,22 +1033,6 @@ snapshots: dependencies: statuses: 2.0.2 - '@emnapi/core@1.11.1': - dependencies: - '@emnapi/wasi-threads': 1.2.2 - tslib: 2.8.1 - optional: true - - '@emnapi/runtime@1.11.1': - dependencies: - tslib: 2.8.1 - optional: true - - '@emnapi/wasi-threads@1.2.2': - dependencies: - tslib: 2.8.1 - optional: true - '@inquirer/ansi@1.0.2': {} '@inquirer/confirm@5.1.21(@types/node@20.19.43)': @@ -1141,13 +1089,6 @@ snapshots: outvariant: 1.4.3 strict-event-emitter: 0.5.1 - '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': - dependencies: - '@emnapi/core': 1.11.1 - '@emnapi/runtime': 1.11.1 - '@tybys/wasm-util': 0.10.3 - optional: true - '@open-draft/deferred-promise@2.2.0': {} '@open-draft/logger@0.3.0': @@ -1157,66 +1098,54 @@ snapshots: '@open-draft/until@2.1.0': {} - '@oxc-project/types@0.139.0': {} - - '@rolldown/binding-android-arm64@1.1.5': - optional: true + '@oxc-project/types@0.142.0': {} - '@rolldown/binding-darwin-arm64@1.1.5': + '@rolldown/binding-android-arm64@1.2.2': optional: true - '@rolldown/binding-darwin-x64@1.1.5': + '@rolldown/binding-darwin-arm64@1.2.2': optional: true - '@rolldown/binding-freebsd-x64@1.1.5': + '@rolldown/binding-darwin-x64@1.2.2': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.1.5': + '@rolldown/binding-freebsd-x64@1.2.2': optional: true - '@rolldown/binding-linux-arm64-gnu@1.1.5': + '@rolldown/binding-linux-arm-gnueabihf@1.2.2': optional: true - '@rolldown/binding-linux-arm64-musl@1.1.5': + '@rolldown/binding-linux-arm64-gnu@1.2.2': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.1.5': + '@rolldown/binding-linux-arm64-musl@1.2.2': optional: true - '@rolldown/binding-linux-s390x-gnu@1.1.5': + '@rolldown/binding-linux-ppc64-gnu@1.2.2': optional: true - '@rolldown/binding-linux-x64-gnu@1.1.5': + '@rolldown/binding-linux-s390x-gnu@1.2.2': optional: true - '@rolldown/binding-linux-x64-musl@1.1.5': + '@rolldown/binding-linux-x64-gnu@1.2.2': optional: true - '@rolldown/binding-openharmony-arm64@1.1.5': + '@rolldown/binding-linux-x64-musl@1.2.2': optional: true - '@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) + '@rolldown/binding-openharmony-arm64@1.2.2': optional: true - '@rolldown/binding-win32-arm64-msvc@1.1.5': + '@rolldown/binding-win32-arm64-msvc@1.2.2': optional: true - '@rolldown/binding-win32-x64-msvc@1.1.5': + '@rolldown/binding-win32-x64-msvc@1.2.2': optional: true '@rolldown/pluginutils@1.0.1': {} '@standard-schema/spec@1.1.0': {} - '@tybys/wasm-util@0.10.3': - dependencies: - tslib: 2.8.1 - optional: true - '@types/chai@5.2.3': dependencies: '@types/deep-eql': 4.0.2 @@ -1243,20 +1172,20 @@ snapshots: '@vitest/spy': 4.1.10 '@vitest/utils': 4.1.10 chai: 6.2.2 - tinyrainbow: 3.1.0 + tinyrainbow: 3.1.1 - '@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/mocker@4.1.10(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.2.0(@types/node@20.19.43)(terser@5.49.1))': dependencies: '@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.5(@types/node@20.19.43)(terser@5.49.0) + vite: 8.2.0(@types/node@20.19.43)(terser@5.49.1) '@vitest/pretty-format@4.1.10': dependencies: - tinyrainbow: 3.1.0 + tinyrainbow: 3.1.1 '@vitest/runner@4.1.10': dependencies: @@ -1276,7 +1205,7 @@ snapshots: dependencies: '@vitest/pretty-format': 4.1.10 convert-source-map: 2.0.0 - tinyrainbow: 3.1.0 + tinyrainbow: 3.1.1 '@webassemblyjs/ast@1.14.1': dependencies: @@ -1358,11 +1287,7 @@ snapshots: '@xtuc/long@4.2.2': {} - acorn-import-phases@1.0.4(acorn@8.17.0): - dependencies: - acorn: 8.17.0 - - acorn@8.17.0: {} + acorn@8.18.0: {} ajv-formats@2.1.1(ajv@8.20.0): optionalDependencies: @@ -1376,7 +1301,7 @@ snapshots: ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.4 + fast-uri: 3.1.5 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -1388,14 +1313,14 @@ snapshots: assertion-error@2.0.1: {} - baseline-browser-mapping@2.11.0: {} + baseline-browser-mapping@2.11.12: {} browserslist@4.28.7: dependencies: - baseline-browser-mapping: 2.11.0 + baseline-browser-mapping: 2.11.12 caniuse-lite: 1.0.30001806 - electron-to-chromium: 1.5.394 - node-releases: 2.0.51 + electron-to-chromium: 1.5.400 + node-releases: 2.0.52 update-browserslist-db: 1.2.3(browserslist@4.28.7) buffer-from@1.1.2: {} @@ -1433,11 +1358,11 @@ snapshots: detect-libc@2.1.2: {} - electron-to-chromium@1.5.394: {} + electron-to-chromium@1.5.400: {} emoji-regex@8.0.0: {} - enhanced-resolve@5.24.3: + enhanced-resolve@5.24.5: dependencies: graceful-fs: 4.2.11 tapable: 2.3.3 @@ -1469,7 +1394,7 @@ snapshots: fast-deep-equal@3.1.3: {} - fast-uri@3.1.4: {} + fast-uri@3.1.5: {} fdir@6.5.0(picomatch@4.0.5): optionalDependencies: @@ -1549,8 +1474,6 @@ snapshots: lightningcss-win32-arm64-msvc: 1.33.0 lightningcss-win32-x64-msvc: 1.33.0 - loader-runner@4.3.2: {} - magic-string@0.30.21: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 @@ -1559,13 +1482,13 @@ snapshots: mime-db@1.54.0: {} - minimizer-webpack-plugin@5.6.1(webpack@5.108.4): + minimizer-webpack-plugin@5.6.1(webpack@5.109.2): dependencies: '@jridgewell/trace-mapping': 0.3.31 jest-worker: 27.5.1 schema-utils: 4.3.3 - terser: 5.49.0 - webpack: 5.108.4 + terser: 5.49.1 + webpack: 5.109.2 msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3): dependencies: @@ -1595,11 +1518,11 @@ snapshots: mute-stream@2.0.0: {} - nanoid@3.3.16: {} + nanoid@3.3.17: {} neo-async@2.6.2: {} - node-releases@2.0.51: {} + node-releases@2.0.52: {} obug@2.1.4: {} @@ -1613,9 +1536,9 @@ snapshots: picomatch@4.0.5: {} - postcss@8.5.21: + postcss@8.5.25: dependencies: - nanoid: 3.3.16 + nanoid: 3.3.17 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -1625,26 +1548,25 @@ snapshots: rettime@0.7.0: {} - rolldown@1.1.5: + rolldown@1.2.2: dependencies: - '@oxc-project/types': 0.139.0 + '@oxc-project/types': 0.142.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@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 + '@rolldown/binding-android-arm64': 1.2.2 + '@rolldown/binding-darwin-arm64': 1.2.2 + '@rolldown/binding-darwin-x64': 1.2.2 + '@rolldown/binding-freebsd-x64': 1.2.2 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.2 + '@rolldown/binding-linux-arm64-gnu': 1.2.2 + '@rolldown/binding-linux-arm64-musl': 1.2.2 + '@rolldown/binding-linux-ppc64-gnu': 1.2.2 + '@rolldown/binding-linux-s390x-gnu': 1.2.2 + '@rolldown/binding-linux-x64-gnu': 1.2.2 + '@rolldown/binding-linux-x64-musl': 1.2.2 + '@rolldown/binding-openharmony-arm64': 1.2.2 + '@rolldown/binding-win32-arm64-msvc': 1.2.2 + '@rolldown/binding-win32-x64-msvc': 1.2.2 schema-utils@4.3.3: dependencies: @@ -1696,44 +1618,41 @@ snapshots: tapable@2.3.3: {} - terser@5.49.0: + terser@5.49.1: dependencies: '@jridgewell/source-map': 0.3.11 - acorn: 8.17.0 + acorn: 8.18.0 commander: 2.20.3 source-map-support: 0.5.21 tinybench@2.9.0: {} - tinyexec@1.2.4: {} + tinyexec@1.3.0: {} tinyglobby@0.2.17: dependencies: fdir: 6.5.0(picomatch@4.0.5) picomatch: 4.0.5 - tinyrainbow@3.1.0: {} + tinyrainbow@3.1.1: {} - tldts-core@7.4.9: {} + tldts-core@7.4.10: {} - tldts@7.4.9: + tldts@7.4.10: dependencies: - tldts-core: 7.4.9 + tldts-core: 7.4.10 tough-cookie@6.0.2: dependencies: - tldts: 7.4.9 + tldts: 7.4.10 - ts-loader@9.6.2(typescript@5.9.3)(webpack@5.108.4): + ts-loader@9.6.2(typescript@5.9.3)(webpack@5.109.2): dependencies: chalk: 4.1.2 picomatch: 4.0.5 source-map: 0.7.6 typescript: 5.9.3 - webpack: 5.108.4 - - tslib@2.8.1: - optional: true + webpack: 5.109.2 type-fest@4.41.0: {} @@ -1747,22 +1666,22 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 - vite@8.1.5(@types/node@20.19.43)(terser@5.49.0): + vite@8.2.0(@types/node@20.19.43)(terser@5.49.1): dependencies: lightningcss: 1.33.0 picomatch: 4.0.5 - postcss: 8.5.21 - rolldown: 1.1.5 + postcss: 8.5.25 + rolldown: 1.2.2 tinyglobby: 0.2.17 optionalDependencies: '@types/node': 20.19.43 fsevents: 2.3.3 - terser: 5.49.0 + terser: 5.49.1 - 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)): + vitest@4.1.10(@types/node@20.19.43)(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.2.0(@types/node@20.19.43)(terser@5.49.1)): 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/mocker': 4.1.10(msw@2.11.2(@types/node@20.19.43)(typescript@5.9.3))(vite@8.2.0(@types/node@20.19.43)(terser@5.49.1)) '@vitest/pretty-format': 4.1.10 '@vitest/runner': 4.1.10 '@vitest/snapshot': 4.1.10 @@ -1776,10 +1695,10 @@ snapshots: picomatch: 4.0.5 std-env: 4.2.0 tinybench: 2.9.0 - tinyexec: 1.2.4 + tinyexec: 1.3.0 tinyglobby: 0.2.17 - tinyrainbow: 3.1.0 - vite: 8.1.5(@types/node@20.19.43)(terser@5.49.0) + tinyrainbow: 3.1.1 + vite: 8.2.0(@types/node@20.19.43)(terser@5.49.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.19.43 @@ -1792,25 +1711,23 @@ snapshots: webpack-sources@3.5.1: {} - webpack@5.108.4: + webpack@5.109.2: dependencies: '@types/estree': 1.0.9 '@types/json-schema': 7.0.15 '@webassemblyjs/ast': 1.14.1 '@webassemblyjs/wasm-edit': 1.14.1 '@webassemblyjs/wasm-parser': 1.14.1 - acorn: 8.17.0 - acorn-import-phases: 1.0.4(acorn@8.17.0) + acorn: 8.18.0 browserslist: 4.28.7 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.24.3 + enhanced-resolve: 5.24.5 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.4) + minimizer-webpack-plugin: 5.6.1(webpack@5.109.2) neo-async: 2.6.2 schema-utils: 4.3.3 tapable: 2.3.3 diff --git a/reference.md b/reference.md index c2c705e..f4c6cf9 100644 --- a/reference.md +++ b/reference.md @@ -3464,9 +3464,10 @@ await client.webhookNotifications.getSubscribedNotifications(); Creates a webhook subscription to receive real-time notifications about specific domain or account events (e.g. transfer completions, renewals). Pass the callback URL and event types. This allows external systems to stay in sync with name.com changes. Supported webhook event names: - `account.credit.balance_change` – account credit balance changes (increases or decreases). +- `account.domain.removal` – domain removed from the subscribing account. - `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_out.status_change` – domain transfer OUT from name.com; `initiated`, `completed` (domain removed), or `canceled` (no longer pending at the registry). - `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). @@ -4165,6 +4166,7 @@ await client.transfers.cancelTransfer({
Cancels an outbound transfer for the given domain. Use this when the domain is being transferred out of name.com (losing registrar) to another (gaining) registrar and the registrant or reseller wants to cancel that transfer. +On success, subscribers receive `domain.transfer_out.status_change` with status `canceled`. The endpoint validates that the domain exists and belongs to the authenticated account. Only domains in a pending transfer (out) state can be canceled.
diff --git a/src/BaseClient.ts b/src/BaseClient.ts index f566713..5961d07 100644 --- a/src/BaseClient.ts +++ b/src/BaseClient.ts @@ -63,8 +63,8 @@ export function normalizeClientOptions { const rawResponseBody = { key: "value" }; + server + .mockEndpoint() + .get("/core/v1/contacts/unverified") + .respondWith() + .statusCode(400) + .jsonBody(rawResponseBody) + .build(); + + await expect(async () => { + return await client.contactVerification.unverifiedContactsList(); + }).rejects.toThrow(Namecom.BadRequestError); + }); + + test("UnverifiedContactsList (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/contacts/unverified") @@ -70,7 +94,7 @@ describe("ContactVerificationClient", () => { }).rejects.toThrow(Namecom.UnauthorizedError); }); - test("UnverifiedContactsList (3)", async () => { + test("UnverifiedContactsList (4)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -94,7 +118,7 @@ describe("ContactVerificationClient", () => { }).rejects.toThrow(Namecom.ForbiddenError); }); - test("UnverifiedContactsList (4)", async () => { + test("UnverifiedContactsList (5)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -118,7 +142,7 @@ describe("ContactVerificationClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("UnverifiedContactsList (5)", async () => { + test("UnverifiedContactsList (6)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -142,7 +166,7 @@ describe("ContactVerificationClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("UnverifiedContactsList (6)", async () => { + test("UnverifiedContactsList (7)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -166,7 +190,7 @@ describe("ContactVerificationClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("UnverifiedContactsList (7)", async () => { + test("UnverifiedContactsList (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -190,7 +214,7 @@ describe("ContactVerificationClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("UnverifiedContactsList (8)", async () => { + test("UnverifiedContactsList (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, diff --git a/tests/wire/domains.test.ts b/tests/wire/domains.test.ts index 3c9935c..78e1524 100644 --- a/tests/wire/domains.test.ts +++ b/tests/wire/domains.test.ts @@ -1327,6 +1327,125 @@ describe("DomainsClient", () => { }); test("CreateDomain (10)", async () => { + const server = mockServerPool.createServer(); + const client = new NamecomClient({ + maxRetries: 0, + username: "test", + password: "test", + environment: server.baseUrl, + }); + const rawRequestBody = { + domain: { domainName: "example.se" }, + tldRequirements: { "X-NICSE-IDNUMBER": "5566778899" }, + years: 1, + }; + const rawResponseBody = { + domain: { + domainName: "example.com", + createDate: "2023-01-15T14:30:00Z", + expireDate: "2025-01-15T14:30:00Z", + autorenewEnabled: true, + locked: true, + locks: ["clientTransferProhibited", "clientHold"], + transferLockExpiresAt: "2023-03-16T14:30:00Z", + privacyEnabled: true, + contacts: { + admin: { + firstName: "John", + lastName: "Doe", + companyName: "Example Inc.", + address1: "123 Main Street", + address2: "Suite 400", + city: "New York", + state: "NY", + zip: "10001", + country: "US", + email: "john.doe@example.com", + phone: "+15551234567", + fax: "+15557654321", + isVerified: true, + verificationId: 12345, + }, + billing: { + firstName: "John", + lastName: "Doe", + companyName: "Example Inc.", + address1: "123 Main Street", + address2: "Suite 400", + city: "New York", + state: "NY", + zip: "10001", + country: "US", + email: "john.doe@example.com", + phone: "+15551234567", + fax: "+15557654321", + isVerified: true, + verificationId: 12345, + }, + registrant: { + firstName: "John", + lastName: "Doe", + companyName: "Example Inc.", + address1: "123 Main Street", + address2: "Suite 400", + city: "New York", + state: "NY", + zip: "10001", + country: "US", + email: "john.doe@example.com", + phone: "+15551234567", + fax: "+15557654321", + isVerified: true, + verificationId: 12345, + }, + tech: { + firstName: "John", + lastName: "Doe", + companyName: "Example Inc.", + address1: "123 Main Street", + address2: "Suite 400", + city: "New York", + state: "NY", + zip: "10001", + country: "US", + email: "john.doe@example.com", + phone: "+15551234567", + fax: "+15557654321", + isVerified: true, + verificationId: 12345, + }, + }, + nameservers: ["ns1.example.com", "ns2.example.com"], + renewalPrice: 12.99, + }, + order: 1, + totalPaid: 1.1, + }; + + server + .mockEndpoint() + .post("/core/v1/domains") + .header("X-Idempotency-Key", "083910ef-04e4-4bd1-a0bf-3737fe005ca8") + .jsonBody(rawRequestBody) + .respondWith() + .statusCode(200) + .jsonBody(rawResponseBody) + .build(); + + const response = await client.domains.createDomain({ + "X-Idempotency-Key": "083910ef-04e4-4bd1-a0bf-3737fe005ca8", + domain: { + domainName: "example.se", + }, + tldRequirements: { + "X-NICSE-IDNUMBER": "5566778899", + }, + years: 1, + }); + expect(response).toEqual(rawResponseBody); + }); + + test("CreateDomain (11)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1449,7 +1568,7 @@ describe("DomainsClient", () => { expect(response).toEqual(rawResponseBody); }); - test("CreateDomain (11)", async () => { + test("CreateDomain (12)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1476,7 +1595,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.BadRequestError); }); - test("CreateDomain (12)", async () => { + test("CreateDomain (13)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1503,7 +1622,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.UnauthorizedError); }); - test("CreateDomain (13)", async () => { + test("CreateDomain (14)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1530,7 +1649,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.PaymentRequiredError); }); - test("CreateDomain (14)", async () => { + test("CreateDomain (15)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1557,7 +1676,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.ForbiddenError); }); - test("CreateDomain (15)", async () => { + test("CreateDomain (16)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1584,7 +1703,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.NotFoundError); }); - test("CreateDomain (16)", async () => { + test("CreateDomain (17)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1611,7 +1730,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("CreateDomain (17)", async () => { + test("CreateDomain (18)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1638,7 +1757,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.ConflictError); }); - test("CreateDomain (18)", async () => { + test("CreateDomain (19)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1665,7 +1784,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.UnsupportedMediaTypeError); }); - test("CreateDomain (19)", async () => { + test("CreateDomain (20)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1692,7 +1811,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.UnprocessableEntityError); }); - test("CreateDomain (20)", async () => { + test("CreateDomain (21)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1719,7 +1838,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("CreateDomain (21)", async () => { + test("CreateDomain (22)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1746,7 +1865,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.UnavailableForLegalReasonsError); }); - test("CreateDomain (22)", async () => { + test("CreateDomain (23)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1773,7 +1892,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("CreateDomain (23)", async () => { + test("CreateDomain (24)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1800,7 +1919,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.NotImplementedError); }); - test("CreateDomain (24)", async () => { + test("CreateDomain (25)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -1827,7 +1946,7 @@ describe("DomainsClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("CreateDomain (25)", async () => { + test("CreateDomain (26)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, diff --git a/tests/wire/emailForwardings.test.ts b/tests/wire/emailForwardings.test.ts index 232a4a5..8e4fb8e 100644 --- a/tests/wire/emailForwardings.test.ts +++ b/tests/wire/emailForwardings.test.ts @@ -47,6 +47,32 @@ describe("EmailForwardingsClient", () => { const rawResponseBody = { key: "value" }; + server + .mockEndpoint() + .get("/core/v1/domains/domainName/email/forwarding") + .respondWith() + .statusCode(400) + .jsonBody(rawResponseBody) + .build(); + + await expect(async () => { + return await client.emailForwardings.listEmailForwardings({ + domainName: "domainName", + }); + }).rejects.toThrow(Namecom.BadRequestError); + }); + + test("ListEmailForwardings (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/email/forwarding") @@ -62,7 +88,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.UnauthorizedError); }); - test("ListEmailForwardings (3)", async () => { + test("ListEmailForwardings (4)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -88,7 +114,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.ForbiddenError); }); - test("ListEmailForwardings (4)", async () => { + test("ListEmailForwardings (5)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -114,7 +140,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.NotFoundError); }); - test("ListEmailForwardings (5)", async () => { + test("ListEmailForwardings (6)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -140,7 +166,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("ListEmailForwardings (6)", async () => { + test("ListEmailForwardings (7)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -166,7 +192,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("ListEmailForwardings (7)", async () => { + test("ListEmailForwardings (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -192,7 +218,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("ListEmailForwardings (8)", async () => { + test("ListEmailForwardings (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -218,7 +244,7 @@ describe("EmailForwardingsClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("ListEmailForwardings (9)", async () => { + test("ListEmailForwardings (10)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, diff --git a/tests/wire/orders.test.ts b/tests/wire/orders.test.ts index ac32636..d4349b7 100644 --- a/tests/wire/orders.test.ts +++ b/tests/wire/orders.test.ts @@ -68,6 +68,24 @@ describe("OrdersClient", () => { const rawResponseBody = { key: "value" }; + server.mockEndpoint().get("/core/v1/orders").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); + + await expect(async () => { + return await client.orders.listOrders(); + }).rejects.toThrow(Namecom.BadRequestError); + }); + + test("ListOrders (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/orders").respondWith().statusCode(401).jsonBody(rawResponseBody).build(); await expect(async () => { @@ -75,7 +93,7 @@ describe("OrdersClient", () => { }).rejects.toThrow(Namecom.UnauthorizedError); }); - test("ListOrders (3)", async () => { + test("ListOrders (4)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -93,7 +111,7 @@ describe("OrdersClient", () => { }).rejects.toThrow(Namecom.ForbiddenError); }); - test("ListOrders (4)", async () => { + test("ListOrders (5)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -111,7 +129,7 @@ describe("OrdersClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("ListOrders (5)", async () => { + test("ListOrders (6)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -129,7 +147,7 @@ describe("OrdersClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("ListOrders (6)", async () => { + test("ListOrders (7)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -147,7 +165,7 @@ describe("OrdersClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("ListOrders (7)", async () => { + test("ListOrders (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -165,7 +183,7 @@ describe("OrdersClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("ListOrders (8)", async () => { + test("ListOrders (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, diff --git a/tests/wire/premiumDomains.test.ts b/tests/wire/premiumDomains.test.ts index acff08b..b36425b 100644 --- a/tests/wire/premiumDomains.test.ts +++ b/tests/wire/premiumDomains.test.ts @@ -88,6 +88,30 @@ describe("PremiumDomainsClient", () => { environment: server.baseUrl, }); + const rawResponseBody = { message: "message" }; + + server + .mockEndpoint() + .get("/core/v1/premiumdomainslist") + .respondWith() + .statusCode(404) + .jsonBody(rawResponseBody) + .build(); + + await expect(async () => { + return await client.premiumDomains.premiumDomainLists(); + }).rejects.toThrow(Namecom.NotFoundError); + }); + + test("PremiumDomainLists (5)", async () => { + const server = mockServerPool.createServer(); + const client = new NamecomClient({ + maxRetries: 0, + username: "test", + password: "test", + environment: server.baseUrl, + }); + const rawResponseBody = { key: "value" }; server @@ -103,7 +127,7 @@ describe("PremiumDomainsClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("PremiumDomainLists (5)", async () => { + test("PremiumDomainLists (6)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -127,7 +151,7 @@ describe("PremiumDomainsClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("PremiumDomainLists (6)", async () => { + test("PremiumDomainLists (7)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -151,7 +175,7 @@ describe("PremiumDomainsClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("PremiumDomainLists (7)", async () => { + test("PremiumDomainLists (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -175,7 +199,7 @@ describe("PremiumDomainsClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("PremiumDomainLists (8)", async () => { + test("PremiumDomainLists (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, diff --git a/tests/wire/transfers.test.ts b/tests/wire/transfers.test.ts index 0ae2074..be2d46c 100644 --- a/tests/wire/transfers.test.ts +++ b/tests/wire/transfers.test.ts @@ -40,6 +40,24 @@ describe("TransfersClient", () => { const rawResponseBody = { key: "value" }; + server.mockEndpoint().get("/core/v1/transfers").respondWith().statusCode(400).jsonBody(rawResponseBody).build(); + + await expect(async () => { + return await client.transfers.listTransfers(); + }).rejects.toThrow(Namecom.BadRequestError); + }); + + test("ListTransfers (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/transfers").respondWith().statusCode(401).jsonBody(rawResponseBody).build(); await expect(async () => { @@ -47,7 +65,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.UnauthorizedError); }); - test("ListTransfers (3)", async () => { + test("ListTransfers (4)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -65,7 +83,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.PaymentRequiredError); }); - test("ListTransfers (4)", async () => { + test("ListTransfers (5)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -83,7 +101,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.ForbiddenError); }); - test("ListTransfers (5)", async () => { + test("ListTransfers (6)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -101,7 +119,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.MethodNotAllowedError); }); - test("ListTransfers (6)", async () => { + test("ListTransfers (7)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -119,7 +137,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.TooManyRequestsError); }); - test("ListTransfers (7)", async () => { + test("ListTransfers (8)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -137,7 +155,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.InternalServerError); }); - test("ListTransfers (8)", async () => { + test("ListTransfers (9)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0, @@ -155,7 +173,7 @@ describe("TransfersClient", () => { }).rejects.toThrow(Namecom.BadGatewayError); }); - test("ListTransfers (9)", async () => { + test("ListTransfers (10)", async () => { const server = mockServerPool.createServer(); const client = new NamecomClient({ maxRetries: 0,