diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..2273783 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + - release + - v1 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: pnpm/action-setup@v6 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: 'pnpm' + - name: Install + run: pnpm install + - name: Build + run: pnpm build + - name: Test + run: pnpm test diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 33b2f07..4cc6f7a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,12 +16,10 @@ jobs: fetch-depth: 0 persist-credentials: false ref: ${{ github.event.inputs.commit }} - - uses: pnpm/action-setup@v4 - with: - version: 9 + - uses: pnpm/action-setup@v6 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - name: Set NPM variables @@ -41,7 +39,7 @@ jobs: id: semantic uses: cycjimmy/semantic-release-action@v4 with: - semantic_version: 24.0.0 + semantic_version: 25.0.5 env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - name: Release Summary diff --git a/AGENTS.md b/AGENTS.md new file mode 120000 index 0000000..681311e --- /dev/null +++ b/AGENTS.md @@ -0,0 +1 @@ +CLAUDE.md \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..d865271 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,65 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) and other coding +agents when working with this repository. + +## What this repository is + +`@sentio/api` — the TypeScript client for the [Sentio](https://sentio.xyz) +public API, published to npm. The bindings are generated from Sentio's +protobuf definitions with [protobuf-es](https://github.com/bufbuild/protobuf-es) +and call the REST API through [connect-es](https://github.com/connectrpc/connect-es) +using the [@sentio/connect-gateway-es](https://github.com/sentioxyz/connect-gateway-es) +transport (the grpc-gateway REST dialect, routed by the `google.api.http` +option bytes embedded in the generated descriptors). + +## Generated vs hand-written + +| Path | Owner | +|---|---| +| `src/gen/**` | **CI-owned — never hand-edit.** Synced by Sentio's internal CI from the proto sources, generated with visibility-filtered codegen (public REST surface only: methods need a `google.api.http` binding and public visibility; everything else, including unreachable types, is pruned at the descriptor level). Local edits will be overwritten by the next sync. | +| `openapi.json`, `doc/` | CI-owned — the OpenAPI spec and HTML reference for the same surface. | +| `src/client.ts`, `src/index.ts`, `test/`, configs | Hand-written; edit here. | + +API surface changes (new endpoints, fields, visibility) happen upstream in +Sentio's proto definitions, not in this repository. + +## Commands + +```bash +pnpm install # also builds via the prepare script +pnpm build # tsc -> dist/ +pnpm test # node:test via tsx; offline tests always run, + # the live test runs only when SENTIO_API_KEY is set +``` + +The package is ESM-only and requires Node 24+. pnpm 11 needs the build-script +approval in `pnpm-workspace.yaml` (`allowBuilds: esbuild`). + +## Architecture notes + +- `createSentioTransport({ apiKey, baseUrl, ... })` builds a connect Transport + speaking the gateway REST dialect; `apiKey` is sent as the `api-key` header. + `createSentioClient(Service, options)` is the one-service shortcut; for + several services create one transport and use connect's `createClient`. +- Default `baseUrl` is `https://app.sentio.xyz`, which serves the annotation + paths (`/api/v1/...`) verbatim. `https://api.sentio.xyz` serves the same API + under `/v1/...` (the prefix-stripped form used in the REST docs and + `openapi.json`) and will NOT route the annotation paths — don't point the + transport at it. +- protobuf-es conventions apply: request messages are partial init shapes + (omitted fields take proto defaults), `oneof` fields are `{ case, value }` + discriminated unions, errors are connect-es `ConnectError`s carrying the + server's `google.rpc.Status` details. +- `src/index.ts` re-exports the service descriptors only. Do NOT add blanket + `export *` of generated modules — request/response type names repeat across + services and would collide. Message types are deep-imported by consumers via + the `@sentio/api/gen/*` subpath. + +## Releases + +semantic-release with conventional commits (angular preset + custom rules in +`release.config.mjs`): pushes to `main` publish `rc` prereleases, the +`release` branch publishes stable versions; `chore:` commits release a patch, +`BREAKING CHANGE`/`!` a major. CI syncs to `src/gen` land as `chore: update` +commits from the Sentio bot. diff --git a/README.md b/README.md index 6d8270d..31dc418 100644 --- a/README.md +++ b/README.md @@ -2,74 +2,112 @@ [![npm version](https://badge.fury.io/js/@sentio%2Fapi.svg)](https://npmjs.com/package/@sentio/api) [![Release](https://github.com/sentioxyz/api/actions/workflows/cut-release.yaml/badge.svg)](https://github.com/sentioxyz/api/actions/workflows/cut-release.yaml) +TypeScript client for the [Sentio](https://sentio.xyz) API. The bindings are +generated from Sentio's protobuf definitions with +[protobuf-es](https://github.com/bufbuild/protobuf-es) and call the REST API +through [connect-es](https://github.com/connectrpc/connect-es) with the +[@sentio/connect-gateway-es](https://github.com/sentioxyz/connect-gateway-es) +transport — fully typed requests and responses, including server-streaming +endpoints. + +> **v3 is a breaking rewrite.** v2 (`openapi-ts` based: `client.setConfig` + +> static service classes) is replaced by connect-es style clients. The REST +> API itself is unchanged; see the examples below for the new shapes. The +> package is ESM-only and requires Node 20+. + ## Setup ``` pnpm add @sentio/api ``` +Create an API key under your project's settings on +[app.sentio.xyz](https://app.sentio.xyz). + ## Usage -### Example 1: get project list +### Example 1: list dashboards ```ts -import { client, WebService } from "@sentio/api"; +import { createSentioClient, WebService } from "@sentio/api"; -client.setConfig({ - auth: process.env.SENTIO_API_KEY, +const web = createSentioClient(WebService, { + apiKey: process.env.SENTIO_API_KEY, }); -const projects = await WebService.getProjectList(); -console.log(projects); +const dashboards = await web.listDashboards({ + ownerName: "sentio", + slug: "coinbase", +}); +console.log(dashboards); ``` ### Example 2: insight query ```ts -import { client, DataService } from "@sentio/api"; +import { createSentioClient, InsightsService } from "@sentio/api"; -client.setConfig({ - auth: process.env.SENTIO_API_KEY, +const insights = createSentioClient(InsightsService, { + apiKey: process.env.SENTIO_API_KEY, }); -const res = await DataService.query({ - path: { - owner: "sentio", - slug: "coinbase", +const res = await insights.query({ + projectOwner: "sentio", + projectSlug: "coinbase", + timeRange: { + start: "now-30d", + end: "now", + step: 3600, + timezone: "America/Los_Angeles", }, - body: { - timeRange: { - start: "now-30d", - end: "now", - step: 3600, - timezone: "America/Los_Angeles", - }, - limit: 20, - queries: [ - { - metricsQuery: { - query: "cbETH_price", - alias: "", - id: "a", - labelSelector: {}, - aggregate: undefined, - functions: [], - disabled: false, - }, - dataSource: "METRICS", - sourceName: "", + limit: 20, + queries: [ + { + metricsQuery: { + query: "cbETH_price", }, - ], - formulas: [], - cachePolicy: { - noCache: false, - cacheTtlSecs: 1296000, - cacheRefreshTtlSecs: 1800, }, - }, + ], }); console.log(res); ``` -## Documentation +Request messages are plain partial objects (protobuf-es init shapes) — omitted +fields take their proto defaults. + +### Several services over one transport + +```ts +import { createClient, createSentioTransport, AnalyticService, WebService } from "@sentio/api"; + +const transport = createSentioTransport({ apiKey: process.env.SENTIO_API_KEY }); +const web = createClient(WebService, transport); +const analytics = createClient(AnalyticService, transport); +``` + +### Message and enum types + +Each service module exports its request/response types; deep-import them via +the `gen` subpath: + +```ts +import type { Project } from "@sentio/api/gen/service/common/protos/common_pb.js"; +``` + +### Options + +`createSentioClient` / `createSentioTransport` accept: + +- `apiKey` — sent as the `api-key` header. +- `baseUrl` — defaults to `https://app.sentio.xyz`. +- everything else from `GatewayTransportOptions` + (`headers`, `fetch`, `interceptors`, `defaultTimeoutMs`, ...). + +Errors are connect-es `ConnectError`s carrying the mapped gRPC code and the +server's `google.rpc.Status` details. + +## REST / OpenAPI -[Sentio API Reference](https://docs.sentio.xyz/reference) +The raw REST API is documented at [docs.sentio.xyz](https://docs.sentio.xyz/reference); +this repository also ships the [OpenAPI spec](./openapi.json) and a generated +[HTML reference](./doc). Both reflect the same API surface as the TypeScript +client. diff --git a/package.json b/package.json index 4889ffd..241bd01 100644 --- a/package.json +++ b/package.json @@ -6,29 +6,36 @@ "type": "git", "url": "https://github.com/sentioxyz/api.git" }, + "type": "module", "exports": { - ".": "./dist/src/index.js" + ".": "./dist/src/index.js", + "./gen/*": "./dist/src/gen/*" }, "files": [ "{dist,src}", - "!dist/test", - "!**/.openapi-generator*" + "!dist/test" ], "sideEffects": false, + "packageManager": "pnpm@11.3.0", + "engines": { + "node": ">=24" + }, "scripts": { "build": "tsc", "test": "tsx --test test/*.test.ts", "prepare": "pnpm build" }, "dependencies": { - "@hey-api/client-fetch": "^0.8.3" + "@bufbuild/protobuf": "^2.12.0", + "@connectrpc/connect": "^2.1.2", + "@sentio/connect-gateway-es": "^1.0.0" }, "devDependencies": { - "@types/node": "^20.14.1", - "conventional-changelog-conventionalcommits": "^8.0.0", + "@types/node": "^24.13.2", + "conventional-changelog-conventionalcommits": "^9.3.1", "json": "^11.0.0", - "semantic-release": "^24.0.0", - "tsx": "^4.12.0", - "typescript": "^5.4.5" + "semantic-release": "^25.0.5", + "tsx": "^4.22.4", + "typescript": "^6.0.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eb7610d..7d7784d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,247 +8,284 @@ importers: .: dependencies: - '@hey-api/client-fetch': - specifier: ^0.8.3 - version: 0.8.3 + '@bufbuild/protobuf': + specifier: ^2.12.0 + version: 2.12.0 + '@connectrpc/connect': + specifier: ^2.1.2 + version: 2.1.2(@bufbuild/protobuf@2.12.0) + '@sentio/connect-gateway-es': + specifier: ^1.0.0 + version: 1.0.0(@bufbuild/protobuf@2.12.0)(@connectrpc/connect@2.1.2(@bufbuild/protobuf@2.12.0)) devDependencies: '@types/node': - specifier: ^20.14.1 - version: 20.14.1 + specifier: ^24.13.2 + version: 24.13.2 conventional-changelog-conventionalcommits: - specifier: ^8.0.0 - version: 8.0.0 + specifier: ^9.3.1 + version: 9.3.1 json: specifier: ^11.0.0 version: 11.0.0 semantic-release: - specifier: ^24.0.0 - version: 24.0.0(typescript@5.4.5) + specifier: ^25.0.5 + version: 25.0.5(typescript@6.0.3) tsx: - specifier: ^4.12.0 - version: 4.12.0 + specifier: ^4.22.4 + version: 4.22.4 typescript: - specifier: ^5.4.5 - version: 5.4.5 + specifier: ^6.0.3 + version: 6.0.3 packages: + '@actions/core@3.0.1': + resolution: {integrity: sha512-a6d/Nwahm9fliVGRhdhofo40HjHQasUPusmc7vBfyky+7Z+P2A1J68zyFVaNcEclc/Se+eO595oAr5nwEIoIUA==} + + '@actions/exec@3.0.0': + resolution: {integrity: sha512-6xH/puSoNBXb72VPlZVm7vQ+svQpFyA96qdDBvhB8eNZOE8LtPf9L4oAsfzK/crCL8YZ+19fKYVnM63Sl+Xzlw==} + + '@actions/http-client@4.0.1': + resolution: {integrity: sha512-+Nvd1ImaOZBSoPbsUtEhv+1z99H12xzncCkz0a3RuehINE81FZSe2QTj3uvAPTcJX/SCzUQHQ0D1GrPMbrPitg==} + + '@actions/io@3.0.2': + resolution: {integrity: sha512-nRBchcMM+QK1pdjO7/idu86rbJI5YHUKCvKs0KxnSYbVe3F51UfGxuZX4Qy/fWlp6l7gWFwIkrOzN+oUK03kfw==} + '@babel/code-frame@7.24.6': resolution: {integrity: sha512-ZJhac6FkEd1yhG2AHOmfcXG4ceoLltoCVJjN5XsWN9BifBQr+cHJbWi0h68HZuSORq+3WtJ2z0hwF2NG1b5kcA==} engines: {node: '>=6.9.0'} + '@babel/code-frame@7.29.7': + resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} + engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier@7.24.6': resolution: {integrity: sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==} engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier@7.29.7': + resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} + engines: {node: '>=6.9.0'} + '@babel/highlight@7.24.6': resolution: {integrity: sha512-2YnuOp4HAk2BsBrJJvYCbItHx0zWscI1C3zgWkz+wDyD9I7GIVrfnLyrR4Y1VR+7p+chAEcrgRQYZAGIKMV7vQ==} engines: {node: '>=6.9.0'} + '@bufbuild/protobuf@2.12.0': + resolution: {integrity: sha512-B/XlCaFIP8LOwzo+bz5uFzATYokcwCKQcghqnlfwSmM5eX/qTkvDBnDPs+gXtX/RyjxJ4DRikECcPJbyALA8FA==} + '@colors/colors@1.5.0': resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} - '@esbuild/aix-ppc64@0.20.2': - resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} - engines: {node: '>=12'} + '@connectrpc/connect@2.1.2': + resolution: {integrity: sha512-MXkBijtcX09R10Eb6sFeIetc6w6746eio6xtfuyVOH7oQAacT1X0GzMIQFux6Qy8cq3W/T5qX5Bei8YbFtmRGA==} + peerDependencies: + '@bufbuild/protobuf': ^2.7.0 + + '@esbuild/aix-ppc64@0.28.1': + resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} + engines: {node: '>=18'} cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.20.2': - resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} - engines: {node: '>=12'} + '@esbuild/android-arm64@0.28.1': + resolution: {integrity: sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==} + engines: {node: '>=18'} cpu: [arm64] os: [android] - '@esbuild/android-arm@0.20.2': - resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} - engines: {node: '>=12'} + '@esbuild/android-arm@0.28.1': + resolution: {integrity: sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==} + engines: {node: '>=18'} cpu: [arm] os: [android] - '@esbuild/android-x64@0.20.2': - resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} - engines: {node: '>=12'} + '@esbuild/android-x64@0.28.1': + resolution: {integrity: sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==} + engines: {node: '>=18'} cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.20.2': - resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} - engines: {node: '>=12'} + '@esbuild/darwin-arm64@0.28.1': + resolution: {integrity: sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==} + engines: {node: '>=18'} cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.20.2': - resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} - engines: {node: '>=12'} + '@esbuild/darwin-x64@0.28.1': + resolution: {integrity: sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==} + engines: {node: '>=18'} cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.20.2': - resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} - engines: {node: '>=12'} + '@esbuild/freebsd-arm64@0.28.1': + resolution: {integrity: sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==} + engines: {node: '>=18'} cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.20.2': - resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} - engines: {node: '>=12'} + '@esbuild/freebsd-x64@0.28.1': + resolution: {integrity: sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==} + engines: {node: '>=18'} cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.20.2': - resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} - engines: {node: '>=12'} + '@esbuild/linux-arm64@0.28.1': + resolution: {integrity: sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==} + engines: {node: '>=18'} cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.20.2': - resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} - engines: {node: '>=12'} + '@esbuild/linux-arm@0.28.1': + resolution: {integrity: sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==} + engines: {node: '>=18'} cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.20.2': - resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} - engines: {node: '>=12'} + '@esbuild/linux-ia32@0.28.1': + resolution: {integrity: sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==} + engines: {node: '>=18'} cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.20.2': - resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} - engines: {node: '>=12'} + '@esbuild/linux-loong64@0.28.1': + resolution: {integrity: sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==} + engines: {node: '>=18'} cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.20.2': - resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} - engines: {node: '>=12'} + '@esbuild/linux-mips64el@0.28.1': + resolution: {integrity: sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==} + engines: {node: '>=18'} cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.20.2': - resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} - engines: {node: '>=12'} + '@esbuild/linux-ppc64@0.28.1': + resolution: {integrity: sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==} + engines: {node: '>=18'} cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.20.2': - resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} - engines: {node: '>=12'} + '@esbuild/linux-riscv64@0.28.1': + resolution: {integrity: sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==} + engines: {node: '>=18'} cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.20.2': - resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} - engines: {node: '>=12'} + '@esbuild/linux-s390x@0.28.1': + resolution: {integrity: sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==} + engines: {node: '>=18'} cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.20.2': - resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} - engines: {node: '>=12'} + '@esbuild/linux-x64@0.28.1': + resolution: {integrity: sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==} + engines: {node: '>=18'} cpu: [x64] os: [linux] - '@esbuild/netbsd-x64@0.20.2': - resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} - engines: {node: '>=12'} + '@esbuild/netbsd-arm64@0.28.1': + resolution: {integrity: sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.28.1': + resolution: {integrity: sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==} + engines: {node: '>=18'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-x64@0.20.2': - resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} - engines: {node: '>=12'} + '@esbuild/openbsd-arm64@0.28.1': + resolution: {integrity: sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.28.1': + resolution: {integrity: sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==} + engines: {node: '>=18'} cpu: [x64] os: [openbsd] - '@esbuild/sunos-x64@0.20.2': - resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} - engines: {node: '>=12'} + '@esbuild/openharmony-arm64@0.28.1': + resolution: {integrity: sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.28.1': + resolution: {integrity: sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==} + engines: {node: '>=18'} cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.20.2': - resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} - engines: {node: '>=12'} + '@esbuild/win32-arm64@0.28.1': + resolution: {integrity: sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==} + engines: {node: '>=18'} cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.20.2': - resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} - engines: {node: '>=12'} + '@esbuild/win32-ia32@0.28.1': + resolution: {integrity: sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==} + engines: {node: '>=18'} cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.20.2': - resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} - engines: {node: '>=12'} + '@esbuild/win32-x64@0.28.1': + resolution: {integrity: sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==} + engines: {node: '>=18'} cpu: [x64] os: [win32] - '@hey-api/client-fetch@0.8.3': - resolution: {integrity: sha512-EBVa8wwUMyBSeQ32PtCz6u5bFQZIMAufvwCT1ZtpjqT3caJQEza4NokbGU50q1ZVrMsM5Ot6GuDNJOF3TMo26Q==} - - '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - - '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - - '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - - '@octokit/auth-token@5.1.1': - resolution: {integrity: sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==} - engines: {node: '>= 18'} + '@octokit/auth-token@6.0.0': + resolution: {integrity: sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==} + engines: {node: '>= 20'} - '@octokit/core@6.1.2': - resolution: {integrity: sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==} - engines: {node: '>= 18'} + '@octokit/core@7.0.6': + resolution: {integrity: sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==} + engines: {node: '>= 20'} - '@octokit/endpoint@10.1.1': - resolution: {integrity: sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==} - engines: {node: '>= 18'} + '@octokit/endpoint@11.0.3': + resolution: {integrity: sha512-FWFlNxghg4HrXkD3ifYbS/IdL/mDHjh9QcsNyhQjN8dplUoZbejsdpmuqdA76nxj2xoWPs7p8uX2SNr9rYu0Ag==} + engines: {node: '>= 20'} - '@octokit/graphql@8.1.1': - resolution: {integrity: sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==} - engines: {node: '>= 18'} + '@octokit/graphql@9.0.3': + resolution: {integrity: sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==} + engines: {node: '>= 20'} - '@octokit/openapi-types@22.2.0': - resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} + '@octokit/openapi-types@27.0.0': + resolution: {integrity: sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==} - '@octokit/plugin-paginate-rest@11.3.0': - resolution: {integrity: sha512-n4znWfRinnUQF6TPyxs7EctSAA3yVSP4qlJP2YgI3g9d4Ae2n5F3XDOjbUluKRxPU3rfsgpOboI4O4VtPc6Ilg==} - engines: {node: '>= 18'} + '@octokit/plugin-paginate-rest@14.0.0': + resolution: {integrity: sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==} + engines: {node: '>= 20'} peerDependencies: '@octokit/core': '>=6' - '@octokit/plugin-retry@7.1.1': - resolution: {integrity: sha512-G9Ue+x2odcb8E1XIPhaFBnTTIrrUDfXN05iFXiqhR+SeeeDMMILcAnysOsxUpEWcQp2e5Ft397FCXTcPkiPkLw==} - engines: {node: '>= 18'} + '@octokit/plugin-retry@8.1.0': + resolution: {integrity: sha512-O1FZgXeiGb2sowEr/hYTr6YunGdSAFWnr2fyW39Ah85H8O33ELASQxcvOFF5LE6Tjekcyu2ms4qAzJVhSaJxTw==} + engines: {node: '>= 20'} peerDependencies: - '@octokit/core': '>=6' + '@octokit/core': '>=7' - '@octokit/plugin-throttling@9.3.0': - resolution: {integrity: sha512-B5YTToSRTzNSeEyssnrT7WwGhpIdbpV9NKIs3KyTWHX6PhpYn7gqF/+lL3BvsASBM3Sg5BAUYk7KZx5p/Ec77w==} - engines: {node: '>= 18'} + '@octokit/plugin-throttling@11.0.3': + resolution: {integrity: sha512-34eE0RkFCKycLl2D2kq7W+LovheM/ex3AwZCYN8udpi6bxsyjZidb2McXs69hZhLmJlDqTSP8cH+jSRpiaijBg==} + engines: {node: '>= 20'} peerDependencies: - '@octokit/core': ^6.0.0 + '@octokit/core': ^7.0.0 - '@octokit/request-error@6.1.1': - resolution: {integrity: sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==} - engines: {node: '>= 18'} + '@octokit/request-error@7.1.0': + resolution: {integrity: sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==} + engines: {node: '>= 20'} - '@octokit/request@9.1.1': - resolution: {integrity: sha512-pyAguc0p+f+GbQho0uNetNQMmLG1e80WjkIaqqgUkihqUp0boRU6nKItXO4VWnr+nbZiLGEyy4TeKRwqaLvYgw==} - engines: {node: '>= 18'} + '@octokit/request@10.0.10': + resolution: {integrity: sha512-KxNC2pTqqhszMNrf12ZRd4PonRgyJdsM4F/jySiddQK+DsRcfBtUvqn8t7UsyZhnRJHvX46OohDt5N3VqIWC2w==} + engines: {node: '>= 20'} - '@octokit/types@13.5.0': - resolution: {integrity: sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==} + '@octokit/types@16.0.0': + resolution: {integrity: sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==} '@pnpm/config.env-replace@1.1.0': resolution: {integrity: sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==} @@ -265,8 +302,8 @@ packages: '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} - '@semantic-release/commit-analyzer@13.0.0': - resolution: {integrity: sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==} + '@semantic-release/commit-analyzer@13.0.1': + resolution: {integrity: sha512-wdnBPHKkr9HhNhXOhZD5a2LNl91+hs8CC2vsAVYxtZH3y0dV3wKn+uZSN61rdJQZ8EGxzWB3inWocBHV9+u/CQ==} engines: {node: '>=20.8.1'} peerDependencies: semantic-release: '>=20.1.0' @@ -275,38 +312,41 @@ packages: resolution: {integrity: sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==} engines: {node: '>=18'} - '@semantic-release/github@10.0.6': - resolution: {integrity: sha512-sS4psqZacGTFEN49UQGqwFNG6Jyx2/RX1BhhDGn/2WoPbhAHislohOY05/5r+JoL4gJMWycfH7tEm1eGVutYeg==} - engines: {node: '>=20.8.1'} + '@semantic-release/github@12.0.8': + resolution: {integrity: sha512-tej5AAgK5X9wHRoDmYhecMXEHEkFeGOY1XsEblKxu8pIQwahzf1STYyr7iPU6Lpbg6C5I3N2w/ocXrBo+L7jhw==} + engines: {node: ^22.14.0 || >= 24.10.0} peerDependencies: - semantic-release: '>=20.1.0' + semantic-release: '>=24.1.0' - '@semantic-release/npm@12.0.1': - resolution: {integrity: sha512-/6nntGSUGK2aTOI0rHPwY3ZjgY9FkXmEHbW9Kr+62NVOsyqpKKeP0lrCH+tphv+EsNdJNmqqwijTEnVWUMQ2Nw==} - engines: {node: '>=20.8.1'} + '@semantic-release/npm@13.1.5': + resolution: {integrity: sha512-Hq5UxzoatN3LHiq2rTsWS54nCdqJHlsssGERCo8WlvdfFA9LoN0vO+OuKVSjtNapIc/S8C2LBj206wKLHg62mg==} + engines: {node: ^22.14.0 || >= 24.10.0} peerDependencies: semantic-release: '>=20.1.0' - '@semantic-release/release-notes-generator@14.0.0': - resolution: {integrity: sha512-XRxwr4e46yUMaXT8KGFBlRJlp5+NOMaufdq8qaEWlcJ7cT4Pn/iRmDGglZ2TgDe6GVP+u1boXFEnSs7N8Yzhng==} + '@semantic-release/release-notes-generator@14.1.1': + resolution: {integrity: sha512-Pbd2e2XRMUD0OxehHpgd5/YghsE76cddkRHSoDvKLK+OCy4Ewxn49rWR631MEUU01lgwF/uyVXvbnVuu6+Z6VA==} engines: {node: '>=20.8.1'} peerDependencies: semantic-release: '>=20.1.0' + '@sentio/connect-gateway-es@1.0.0': + resolution: {integrity: sha512-232yOipLgnGVgfvEGJrNOetkgoDlPvEXMAWCae305+E9YYnQBb7+OCLCnkHJjICFgf49obnoQWgt3uNjP9C7JA==} + engines: {node: '>=20'} + peerDependencies: + '@bufbuild/protobuf': ^2.12.0 + '@connectrpc/connect': ^2.0.0 + '@sindresorhus/is@4.6.0': resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} - '@sindresorhus/merge-streams@2.3.0': - resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} - engines: {node: '>=18'} - '@sindresorhus/merge-streams@4.0.0': resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==} engines: {node: '>=18'} - '@types/node@20.14.1': - resolution: {integrity: sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==} + '@types/node@24.13.2': + resolution: {integrity: sha512-fRa09kZTgu8o71KFcDjUFuc7F+dEbZYZmkI0mg5YBTRs0yMKjYHsq/c0urDKeDb+D5qVgXOdFcuu+DZPKOITwA==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -314,22 +354,26 @@ packages: '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - agent-base@7.1.1: - resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} - engines: {node: '>= 14'} + agent-base@9.0.0: + resolution: {integrity: sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==} + engines: {node: '>= 20'} aggregate-error@5.0.0: resolution: {integrity: sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==} engines: {node: '>=18'} - ansi-escapes@6.2.1: - resolution: {integrity: sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==} - engines: {node: '>=14.16'} + ansi-escapes@7.3.0: + resolution: {integrity: sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==} + engines: {node: '>=18'} ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} + ansi-regex@6.2.2: + resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==} + engines: {node: '>=12'} + ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -338,6 +382,10 @@ packages: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} + ansi-styles@6.2.3: + resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} + engines: {node: '>=12'} + any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} @@ -362,8 +410,8 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - before-after-hook@3.0.2: - resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} + before-after-hook@4.0.0: + resolution: {integrity: sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==} bottleneck@2.19.5: resolution: {integrity: sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==} @@ -388,8 +436,8 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + chalk@5.6.2: + resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} char-regex@1.0.2: @@ -412,9 +460,9 @@ packages: cliui@7.0.4: resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} - cliui@8.0.1: - resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} - engines: {node: '>=12'} + cliui@9.0.1: + resolution: {integrity: sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==} + engines: {node: '>=20'} color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -435,12 +483,16 @@ packages: config-chain@1.1.13: resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} + content-type@2.0.0: + resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==} + engines: {node: '>=18'} + conventional-changelog-angular@8.0.0: resolution: {integrity: sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==} engines: {node: '>=18'} - conventional-changelog-conventionalcommits@8.0.0: - resolution: {integrity: sha512-eOvlTO6OcySPyyyk8pKz2dP4jjElYunj9hn9/s0OB+gapTO8zwS9UQWrZ1pmF2hFs3vw1xhonOLGcGjy/zgsuA==} + conventional-changelog-conventionalcommits@9.3.1: + resolution: {integrity: sha512-dTYtpIacRpcZgrvBYvBfArMmK2xvIpv2TaxM0/ZI5CBtNUzvF2x0t15HsbRABWprS6UPmvj+PzHVjSx4qAVKyw==} engines: {node: '>=18'} conventional-changelog-writer@8.0.0: @@ -525,6 +577,9 @@ packages: duplexer2@0.1.4: resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==} + emoji-regex@10.6.0: + resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} + emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -535,10 +590,18 @@ packages: resolution: {integrity: sha512-apikxMgkipkgTvMdRT9MNqWx5VLOci79F4VBd7Op/7OPjjoanjdAvn6fglMCCEf/1bAh8eOiuEVCUs4V3qP3nQ==} engines: {node: ^18.17 || >=20.6.1} + env-ci@11.2.0: + resolution: {integrity: sha512-D5kWfzkmaOQDioPmiviWAVtKmpPT4/iJmMVQxWxMPJTFyTkdc5JQUfc5iXEeWxcOdsYTKSAiA/Age4NUOqKsRA==} + engines: {node: ^18.17 || >=20.6.1} + env-paths@2.2.1: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} + environment@1.1.0: + resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} + engines: {node: '>=18'} + error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} @@ -566,9 +629,9 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} - esbuild@0.20.2: - resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} - engines: {node: '>=12'} + esbuild@0.28.1: + resolution: {integrity: sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==} + engines: {node: '>=18'} hasBin: true escalade@3.1.2: @@ -591,12 +654,14 @@ packages: resolution: {integrity: sha512-lSgHc4Elo2m6bUDhc3Hl/VxvUDJdQWI40RZ4KMY9bKRc+hgMOT7II/JjbNDhI8VnMtrCb7U/fhpJIkLORZozWw==} engines: {node: '>=18'} - fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} - - fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true figures@2.0.0: resolution: {integrity: sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==} @@ -614,6 +679,10 @@ packages: resolution: {integrity: sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==} engines: {node: '>=18'} + find-up-simple@1.0.1: + resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==} + engines: {node: '>=18'} + find-up@2.1.0: resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} engines: {node: '>=4'} @@ -625,9 +694,6 @@ packages: for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - from2@2.3.0: - resolution: {integrity: sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==} - fs-extra@11.2.0: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} @@ -655,6 +721,10 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + get-east-asian-width@1.6.0: + resolution: {integrity: sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==} + engines: {node: '>=18'} + get-intrinsic@1.2.4: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} @@ -663,10 +733,6 @@ packages: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} - get-stream@7.0.1: - resolution: {integrity: sha512-3M8C1EOFN6r8AMUhwUAACIoXZJEOufDU5+0gFFN5uNs6XYOralD2Pqkl7m046va6x77FwposWXbAhPPIOus7mQ==} - engines: {node: '>=16'} - get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} @@ -679,24 +745,13 @@ packages: resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} - get-tsconfig@4.7.5: - resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} - git-log-parser@1.2.0: resolution: {integrity: sha512-rnCVNfkTL8tdNryFuaY0fYiBWEBcgF748O6ZI61rslBvr2o7U65c2/6npCRqH40vuAhtgtDiqLTJjBVdrejCzA==} - glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} - globby@14.0.1: - resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==} - engines: {node: '>=18'} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -744,21 +799,25 @@ packages: highlight.js@10.7.3: resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} - hook-std@3.0.0: - resolution: {integrity: sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + hook-std@4.0.0: + resolution: {integrity: sha512-IHI4bEVOt3vRUDJ+bFA9VUJlo7SzvFARPNLw75pqSmAOP2HmTWfFJtPvLBrDrlgjEYXY9zs7SFdHPQaJShkSCQ==} + engines: {node: '>=20'} hosted-git-info@7.0.2: resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} engines: {node: ^16.14.0 || >=18.0.0} - http-proxy-agent@7.0.2: - resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} - engines: {node: '>= 14'} + hosted-git-info@9.0.3: + resolution: {integrity: sha512-Hc+ghLoSt6QaYZUv0WBiIvmMDZuZZ7oaDvdH8MbfOO4lOsxdXLEvuC6ePoGs9H1X9oCLyq6+NVN0MKqD+ydxyg==} + engines: {node: ^20.17.0 || >=22.9.0} - https-proxy-agent@7.0.4: - resolution: {integrity: sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==} - engines: {node: '>= 14'} + http-proxy-agent@9.1.0: + resolution: {integrity: sha512-2NxoveTT58mjYT4n3RPTEfCZGLMbidoO8XEieXfpSYxu+PQJ1qpx4ypwH6N+uF9twBPIvRRgvkvW5HUTYWENig==} + engines: {node: '>= 20'} + + https-proxy-agent@9.1.0: + resolution: {integrity: sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA==} + engines: {node: '>= 20'} human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} @@ -768,17 +827,13 @@ packages: resolution: {integrity: sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==} engines: {node: '>=18.18.0'} - ignore@5.3.1: - resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} - engines: {node: '>= 4'} - import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} - import-from-esm@1.3.4: - resolution: {integrity: sha512-7EyUlPFC0HOlBDpUFGfYstsU7XHxZJKAAMzCT8wZ0hMW7b+hG51LIKTDcsgtz8Pu6YC0HqRVbX+rVUtsGMUKvg==} - engines: {node: '>=16.20'} + import-from-esm@2.0.0: + resolution: {integrity: sha512-YVt14UZCgsX1vZQ3gKjkWVdBdHQ6eu3MPU1TBgL1H5orXe2+jWD006WCPPtOuwlQm10NuzOW5WawiF1Q9veW8g==} + engines: {node: '>=18.20'} import-meta-resolve@4.1.0: resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} @@ -791,6 +846,10 @@ packages: resolution: {integrity: sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==} engines: {node: '>=18'} + index-to-position@1.2.0: + resolution: {integrity: sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==} + engines: {node: '>=18'} + inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -801,10 +860,6 @@ packages: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} - into-stream@7.0.0: - resolution: {integrity: sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==} - engines: {node: '>=12'} - is-array-buffer@3.0.4: resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} engines: {node: '>= 0.4'} @@ -834,18 +889,10 @@ packages: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} - is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - is-negative-zero@2.0.3: resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} engines: {node: '>= 0.4'} @@ -931,6 +978,9 @@ packages: json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + json-with-bigint@3.5.8: + resolution: {integrity: sha512-eq/4KP6K34kwa7TcFdtvnftvHCD9KvHOGGICWwMFc4dOOKF5t4iYqnfLK8otCRCRv06FXOzGGyqE8h8ElMvvdw==} + json@11.0.0: resolution: {integrity: sha512-N/ITv3Yw9Za8cGxuQqSqrq6RHnlaHWZkAFavcfpH/R52522c26EbihMxnY7A1chxfXJ4d+cEFIsyTgfi9GihrA==} engines: {node: '>=0.10.0'} @@ -972,14 +1022,18 @@ packages: resolution: {integrity: sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==} engines: {node: 14 || >=16.14} - marked-terminal@7.0.0: - resolution: {integrity: sha512-sNEx8nn9Ktcm6pL0TnRz8tnXq/mSS0Q1FRSwJOAqw4lAB4l49UeDf85Gm1n9RPFm5qurCPjwi1StAQT2XExhZw==} + lru-cache@11.5.1: + resolution: {integrity: sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==} + engines: {node: 20 || >=22} + + marked-terminal@7.3.0: + resolution: {integrity: sha512-t4rBvPsHc57uE/2nJOLmMbZCQ4tgAccAED3ngXQqW6g+TxA488JzJ+FK3lQkzBQOI1mRV/r/Kq+1ZlJ4D0owQw==} engines: {node: '>=16.0.0'} peerDependencies: - marked: '>=1 <13' + marked: '>=1 <16' - marked@12.0.2: - resolution: {integrity: sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==} + marked@15.0.12: + resolution: {integrity: sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA==} engines: {node: '>= 18'} hasBin: true @@ -990,10 +1044,6 @@ packages: merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - micromatch@4.0.7: resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} engines: {node: '>=8.6'} @@ -1022,25 +1072,29 @@ packages: nerf-dart@1.0.0: resolution: {integrity: sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==} - node-emoji@2.1.3: - resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} + node-emoji@2.2.0: + resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==} engines: {node: '>=18'} normalize-package-data@6.0.1: resolution: {integrity: sha512-6rvCfeRW+OEZagAB4lMLSNuTNYZWLVtKccK79VSTf//yTY5VOCgcpH80O+bZK8Neps7pUnd5G+QlMg1yV/2iZQ==} engines: {node: ^16.14.0 || >=18.0.0} - normalize-url@8.0.1: - resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==} - engines: {node: '>=14.16'} + normalize-package-data@8.0.0: + resolution: {integrity: sha512-RWk+PI433eESQ7ounYxIp67CYuVsS1uYSonX3kA6ps/3LWfjVQa/ptEg6Y3T6uAMq1mWpX9PQ+qx+QaHpsc7gQ==} + engines: {node: ^20.17.0 || >=22.9.0} + + normalize-url@9.0.1: + resolution: {integrity: sha512-ARftfC5HdUNu9jJeL8pHj8debUIHA2b91FizCoMzY4lG6dDX13jdvTK0TBe24IBDRf2HvJSzzwEPvmbkQWHRSg==} + engines: {node: '>=20'} npm-run-path@5.3.0: resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - npm@10.8.1: - resolution: {integrity: sha512-Dp1C6SvSMYQI7YHq/y2l94uvI+59Eqbu1EpuKQHQ8p16txXRuRit5gH3Lnaagk2aXDIjg/Iru9pd05bnneKgdw==} - engines: {node: ^18.17.0 || >=20.5.0} + npm@11.17.0: + resolution: {integrity: sha512-PurxiZexEHDTE4SSaLI3ZrnbAGiZfeyUcQcxcP5D+hfytNAze/D1IzDuInTn9XVLIbAQUnQuSPXJx02LHjLvQw==} + engines: {node: ^20.17.0 || >=22.9.0} hasBin: true bundledDependencies: - '@isaacs/string-locale-compare' @@ -1048,6 +1102,7 @@ packages: - '@npmcli/config' - '@npmcli/fs' - '@npmcli/map-workspaces' + - '@npmcli/metavuln-calculator' - '@npmcli/package-json' - '@npmcli/promise-spawn' - '@npmcli/redact' @@ -1058,7 +1113,6 @@ packages: - cacache - chalk - ci-info - - cli-columns - fastest-levenshtein - fs-minipass - glob @@ -1072,7 +1126,6 @@ packages: - libnpmdiff - libnpmexec - libnpmfund - - libnpmhook - libnpmorg - libnpmpack - libnpmpublish @@ -1086,7 +1139,6 @@ packages: - ms - node-gyp - nopt - - normalize-package-data - npm-audit-report - npm-install-checks - npm-package-arg @@ -1110,7 +1162,6 @@ packages: - treeverse - validate-npm-package-name - which - - write-file-atomic object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} @@ -1139,10 +1190,6 @@ packages: resolution: {integrity: sha512-37/tPdZ3oJwHaS3gNJdenCDB3Tz26i9sjhnguBtvN0vYlRIiDNnvTWkuh+0hETV9rLPdJ3rlL3yVOYPIAnM8rw==} engines: {node: '>=18'} - p-is-promise@3.0.0: - resolution: {integrity: sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==} - engines: {node: '>=8'} - p-limit@1.3.0: resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} engines: {node: '>=4'} @@ -1179,6 +1226,10 @@ packages: resolution: {integrity: sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==} engines: {node: '>=18'} + parse-json@8.3.0: + resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==} + engines: {node: '>=18'} + parse-ms@4.0.0: resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==} engines: {node: '>=18'} @@ -1208,17 +1259,20 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - path-type@5.0.0: - resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} - engines: {node: '>=12'} - picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.4: + resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} + engines: {node: '>=12'} + pify@3.0.0: resolution: {integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==} engines: {node: '>=4'} @@ -1241,8 +1295,14 @@ packages: proto-list@1.2.4: resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} - queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + proxy-agent-negotiate@1.1.0: + resolution: {integrity: sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ==} + engines: {node: '>= 20'} + peerDependencies: + kerberos: ^2.0.0 + peerDependenciesMeta: + kerberos: + optional: true rc@1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} @@ -1252,10 +1312,13 @@ packages: resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==} engines: {node: '>=18'} - read-pkg-up@11.0.0: - resolution: {integrity: sha512-LOVbvF1Q0SZdjClSefZ0Nz5z8u+tIE7mV5NibzmE9VYmDe9CaBbAVtz1veOSZbofrdsilxuDAYnFenukZVp8/Q==} - engines: {node: '>=18'} - deprecated: Renamed to read-package-up + read-package-up@12.0.0: + resolution: {integrity: sha512-Q5hMVBYur/eQNWDdbF4/Wqqr9Bjvtrw2kjGxxBbKLbx8bVCL8gcArjTy8zDUuLGQicftpMuU0riQNcAsbtOVsw==} + engines: {node: '>=20'} + + read-pkg@10.1.0: + resolution: {integrity: sha512-I8g2lArQiP78ll51UeMZojewtYgIRCKCWqZEgOO8c/uefTI+XDXvCSXu3+YNUaTNvZzobrL5+SqHjBrByRRTdg==} + engines: {node: '>=20'} read-pkg@9.0.1: resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==} @@ -1284,16 +1347,6 @@ packages: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} - resolve-pkg-maps@1.0.0: - resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - - reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - - run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - safe-array-concat@1.1.2: resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} @@ -1305,15 +1358,11 @@ packages: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} - semantic-release@24.0.0: - resolution: {integrity: sha512-v46CRPw+9eI3ZuYGF2oAjqPqsfbnfFTwLBgQsv/lch4goD09ytwOTESMN4QIrx/wPLxUGey60/NMx+ANQtWRsA==} - engines: {node: '>=20.8.1'} + semantic-release@25.0.5: + resolution: {integrity: sha512-mn61SUJwtM8ThrWn2WmgLVpwVJeG/hPSupua1psdMoufmwRIPyvRLkRkL0JDXkP67OntlLWUYnBnfVc8EDO3/g==} + engines: {node: ^22.14.0 || >= 24.10.0} hasBin: true - semver-diff@4.0.0: - resolution: {integrity: sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==} - engines: {node: '>=12'} - semver-regex@4.0.5: resolution: {integrity: sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==} engines: {node: '>=12'} @@ -1355,10 +1404,6 @@ packages: resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} engines: {node: '>=8'} - slash@5.1.0: - resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} - engines: {node: '>=14.16'} - source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} @@ -1388,6 +1433,10 @@ packages: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} + string-width@7.2.0: + resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==} + engines: {node: '>=18'} + string.prototype.trim@1.2.9: resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} engines: {node: '>= 0.4'} @@ -1406,6 +1455,10 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} + strip-ansi@7.2.0: + resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==} + engines: {node: '>=12'} + strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} @@ -1434,10 +1487,14 @@ packages: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} - supports-hyperlinks@3.0.0: - resolution: {integrity: sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==} + supports-hyperlinks@3.2.0: + resolution: {integrity: sha512-zFObLMyZeEwzAoKCyu1B91U79K2t7ApXuQfo8OuxwXLDgcKxuwM+YvcbIhm6QWqz7mHUH1TVytR1PwVVjEuMig==} engines: {node: '>=14.18'} + tagged-tag@1.0.0: + resolution: {integrity: sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==} + engines: {node: '>=20'} + temp-dir@3.0.0: resolution: {integrity: sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==} engines: {node: '>=14.16'} @@ -1460,6 +1517,10 @@ packages: resolution: {integrity: sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==} engines: {node: '>=12'} + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -1468,11 +1529,15 @@ packages: resolution: {integrity: sha512-7bBrcF+/LQzSgFmT0X5YclVqQxtv7TDJ1f8Wj7ibBu/U6BMLeOpUxuZjV7rMc44UtKxlnMFigdhFAIszSX1DMg==} engines: {node: '>= 0.4'} - tsx@4.12.0: - resolution: {integrity: sha512-642NAWAbDqPZINjmL32Lh/B+pd8vbVj6LHPsWm09IIHqQuWhCrNfcPTjRlHFWvv3FfM4vt9NLReBIjUNj5ZhDg==} + tsx@4.22.4: + resolution: {integrity: sha512-X8EX+XV4QR5xCsrgxaED954zTDfY8KqlDtskKEL0cHhyS/P8b4IFOvGDQpsC9Q1XnLq915wEfwwY/zzskCtmhg==} engines: {node: '>=18.0.0'} hasBin: true + tunnel@0.0.6: + resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} + engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} + type-fest@1.4.0: resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} engines: {node: '>=10'} @@ -1485,6 +1550,14 @@ packages: resolution: {integrity: sha512-CN2l+hWACRiejlnr68vY0/7734Kzu+9+TOslUXbSCQ1ruY9XIHDBSceVXCcHm/oXrdzhtLMMdJEKfemf1yXiZQ==} engines: {node: '>=16'} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + + type-fest@5.7.0: + resolution: {integrity: sha512-1URUxUqfHFM1c+zfSPsa3gnkO7Aq21qyH75SIduNYz4SzY964rn1X2vCMQaHSHhktiw+0kPa2iyb6PUpXqB6Vg==} + engines: {node: '>=20'} + typed-array-buffer@1.0.2: resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} @@ -1505,8 +1578,8 @@ packages: resolution: {integrity: sha512-8WbVAQAUlENo1q3c3zZYuy5k9VzBQvp8AX9WOtbvyWlLM1v5JaSRmjubLjzHF4JFtptjH/5c/i95yaElvcjC0A==} engines: {node: '>= 0.4'} - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} hasBin: true @@ -1518,8 +1591,16 @@ packages: unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@7.18.2: + resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} + + undici@6.26.0: + resolution: {integrity: sha512-4yqz8a3n5HmGTlsbADNtr/dJlhkh/55Rq798G6ibiULcXbDtaLpTl1pvdqcbFfeoj3iSi52lePFM7h9H21cw/A==} + engines: {node: '>=18.17'} + + undici@7.27.2: + resolution: {integrity: sha512-uZsKNuzQxDMUY6M3pIMvy5tvlGmtq8XJ2oLAkfRKGNu+1VQAIvLy2xIVG5ATZl5wDXl/tddByAWCizRbOme+TA==} + engines: {node: '>=20.18.1'} unicode-emoji-modifier-base@1.0.0: resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} @@ -1529,6 +1610,10 @@ packages: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} engines: {node: '>=18'} + unicorn-magic@0.4.0: + resolution: {integrity: sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==} + engines: {node: '>=20'} + unique-string@3.0.0: resolution: {integrity: sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==} engines: {node: '>=12'} @@ -1569,6 +1654,10 @@ packages: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} + wrap-ansi@9.0.2: + resolution: {integrity: sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==} + engines: {node: '>=18'} + xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -1581,17 +1670,17 @@ packages: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} - yargs-parser@21.1.1: - resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} - engines: {node: '>=12'} + yargs-parser@22.0.0: + resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} yargs@16.2.0: resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} engines: {node: '>=10'} - yargs@17.7.2: - resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} - engines: {node: '>=12'} + yargs@18.0.0: + resolution: {integrity: sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} yoctocolors@2.0.2: resolution: {integrity: sha512-Ct97huExsu7cWeEjmrXlofevF8CvzUglJ4iGUet5B8xn1oumtAZBpHU4GzYuoE6PVqcZ5hghtBrSlhwHuR1Jmw==} @@ -1599,13 +1688,37 @@ packages: snapshots: + '@actions/core@3.0.1': + dependencies: + '@actions/exec': 3.0.0 + '@actions/http-client': 4.0.1 + + '@actions/exec@3.0.0': + dependencies: + '@actions/io': 3.0.2 + + '@actions/http-client@4.0.1': + dependencies: + tunnel: 0.0.6 + undici: 6.26.0 + + '@actions/io@3.0.2': {} + '@babel/code-frame@7.24.6': dependencies: '@babel/highlight': 7.24.6 picocolors: 1.0.1 + '@babel/code-frame@7.29.7': + dependencies: + '@babel/helper-validator-identifier': 7.29.7 + js-tokens: 4.0.0 + picocolors: 1.1.1 + '@babel/helper-validator-identifier@7.24.6': {} + '@babel/helper-validator-identifier@7.29.7': {} + '@babel/highlight@7.24.6': dependencies: '@babel/helper-validator-identifier': 7.24.6 @@ -1613,149 +1726,152 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.0.1 + '@bufbuild/protobuf@2.12.0': {} + '@colors/colors@1.5.0': optional: true - '@esbuild/aix-ppc64@0.20.2': - optional: true + '@connectrpc/connect@2.1.2(@bufbuild/protobuf@2.12.0)': + dependencies: + '@bufbuild/protobuf': 2.12.0 - '@esbuild/android-arm64@0.20.2': + '@esbuild/aix-ppc64@0.28.1': optional: true - '@esbuild/android-arm@0.20.2': + '@esbuild/android-arm64@0.28.1': optional: true - '@esbuild/android-x64@0.20.2': + '@esbuild/android-arm@0.28.1': optional: true - '@esbuild/darwin-arm64@0.20.2': + '@esbuild/android-x64@0.28.1': optional: true - '@esbuild/darwin-x64@0.20.2': + '@esbuild/darwin-arm64@0.28.1': optional: true - '@esbuild/freebsd-arm64@0.20.2': + '@esbuild/darwin-x64@0.28.1': optional: true - '@esbuild/freebsd-x64@0.20.2': + '@esbuild/freebsd-arm64@0.28.1': optional: true - '@esbuild/linux-arm64@0.20.2': + '@esbuild/freebsd-x64@0.28.1': optional: true - '@esbuild/linux-arm@0.20.2': + '@esbuild/linux-arm64@0.28.1': optional: true - '@esbuild/linux-ia32@0.20.2': + '@esbuild/linux-arm@0.28.1': optional: true - '@esbuild/linux-loong64@0.20.2': + '@esbuild/linux-ia32@0.28.1': optional: true - '@esbuild/linux-mips64el@0.20.2': + '@esbuild/linux-loong64@0.28.1': optional: true - '@esbuild/linux-ppc64@0.20.2': + '@esbuild/linux-mips64el@0.28.1': optional: true - '@esbuild/linux-riscv64@0.20.2': + '@esbuild/linux-ppc64@0.28.1': optional: true - '@esbuild/linux-s390x@0.20.2': + '@esbuild/linux-riscv64@0.28.1': optional: true - '@esbuild/linux-x64@0.20.2': + '@esbuild/linux-s390x@0.28.1': optional: true - '@esbuild/netbsd-x64@0.20.2': + '@esbuild/linux-x64@0.28.1': optional: true - '@esbuild/openbsd-x64@0.20.2': + '@esbuild/netbsd-arm64@0.28.1': optional: true - '@esbuild/sunos-x64@0.20.2': + '@esbuild/netbsd-x64@0.28.1': optional: true - '@esbuild/win32-arm64@0.20.2': + '@esbuild/openbsd-arm64@0.28.1': optional: true - '@esbuild/win32-ia32@0.20.2': + '@esbuild/openbsd-x64@0.28.1': optional: true - '@esbuild/win32-x64@0.20.2': + '@esbuild/openharmony-arm64@0.28.1': optional: true - '@hey-api/client-fetch@0.8.3': {} + '@esbuild/sunos-x64@0.28.1': + optional: true - '@nodelib/fs.scandir@2.1.5': - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 + '@esbuild/win32-arm64@0.28.1': + optional: true - '@nodelib/fs.stat@2.0.5': {} + '@esbuild/win32-ia32@0.28.1': + optional: true - '@nodelib/fs.walk@1.2.8': - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.1 + '@esbuild/win32-x64@0.28.1': + optional: true - '@octokit/auth-token@5.1.1': {} + '@octokit/auth-token@6.0.0': {} - '@octokit/core@6.1.2': + '@octokit/core@7.0.6': dependencies: - '@octokit/auth-token': 5.1.1 - '@octokit/graphql': 8.1.1 - '@octokit/request': 9.1.1 - '@octokit/request-error': 6.1.1 - '@octokit/types': 13.5.0 - before-after-hook: 3.0.2 + '@octokit/auth-token': 6.0.0 + '@octokit/graphql': 9.0.3 + '@octokit/request': 10.0.10 + '@octokit/request-error': 7.1.0 + '@octokit/types': 16.0.0 + before-after-hook: 4.0.0 universal-user-agent: 7.0.2 - '@octokit/endpoint@10.1.1': + '@octokit/endpoint@11.0.3': dependencies: - '@octokit/types': 13.5.0 + '@octokit/types': 16.0.0 universal-user-agent: 7.0.2 - '@octokit/graphql@8.1.1': + '@octokit/graphql@9.0.3': dependencies: - '@octokit/request': 9.1.1 - '@octokit/types': 13.5.0 + '@octokit/request': 10.0.10 + '@octokit/types': 16.0.0 universal-user-agent: 7.0.2 - '@octokit/openapi-types@22.2.0': {} + '@octokit/openapi-types@27.0.0': {} - '@octokit/plugin-paginate-rest@11.3.0(@octokit/core@6.1.2)': + '@octokit/plugin-paginate-rest@14.0.0(@octokit/core@7.0.6)': dependencies: - '@octokit/core': 6.1.2 - '@octokit/types': 13.5.0 + '@octokit/core': 7.0.6 + '@octokit/types': 16.0.0 - '@octokit/plugin-retry@7.1.1(@octokit/core@6.1.2)': + '@octokit/plugin-retry@8.1.0(@octokit/core@7.0.6)': dependencies: - '@octokit/core': 6.1.2 - '@octokit/request-error': 6.1.1 - '@octokit/types': 13.5.0 + '@octokit/core': 7.0.6 + '@octokit/request-error': 7.1.0 + '@octokit/types': 16.0.0 bottleneck: 2.19.5 - '@octokit/plugin-throttling@9.3.0(@octokit/core@6.1.2)': + '@octokit/plugin-throttling@11.0.3(@octokit/core@7.0.6)': dependencies: - '@octokit/core': 6.1.2 - '@octokit/types': 13.5.0 + '@octokit/core': 7.0.6 + '@octokit/types': 16.0.0 bottleneck: 2.19.5 - '@octokit/request-error@6.1.1': + '@octokit/request-error@7.1.0': dependencies: - '@octokit/types': 13.5.0 + '@octokit/types': 16.0.0 - '@octokit/request@9.1.1': + '@octokit/request@10.0.10': dependencies: - '@octokit/endpoint': 10.1.1 - '@octokit/request-error': 6.1.1 - '@octokit/types': 13.5.0 + '@octokit/endpoint': 11.0.3 + '@octokit/request-error': 7.1.0 + '@octokit/types': 16.0.0 + content-type: 2.0.0 + json-with-bigint: 3.5.8 universal-user-agent: 7.0.2 - '@octokit/types@13.5.0': + '@octokit/types@16.0.0': dependencies: - '@octokit/openapi-types': 22.2.0 + '@octokit/openapi-types': 27.0.0 '@pnpm/config.env-replace@1.1.0': {} @@ -1771,106 +1887,111 @@ snapshots: '@sec-ant/readable-stream@0.4.1': {} - '@semantic-release/commit-analyzer@13.0.0(semantic-release@24.0.0(typescript@5.4.5))': + '@semantic-release/commit-analyzer@13.0.1(semantic-release@25.0.5(typescript@6.0.3))': dependencies: conventional-changelog-angular: 8.0.0 conventional-changelog-writer: 8.0.0 conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.0.0 debug: 4.3.5 - import-from-esm: 1.3.4 + import-from-esm: 2.0.0 lodash-es: 4.17.21 micromatch: 4.0.7 - semantic-release: 24.0.0(typescript@5.4.5) + semantic-release: 25.0.5(typescript@6.0.3) transitivePeerDependencies: - supports-color '@semantic-release/error@4.0.0': {} - '@semantic-release/github@10.0.6(semantic-release@24.0.0(typescript@5.4.5))': + '@semantic-release/github@12.0.8(semantic-release@25.0.5(typescript@6.0.3))': dependencies: - '@octokit/core': 6.1.2 - '@octokit/plugin-paginate-rest': 11.3.0(@octokit/core@6.1.2) - '@octokit/plugin-retry': 7.1.1(@octokit/core@6.1.2) - '@octokit/plugin-throttling': 9.3.0(@octokit/core@6.1.2) + '@octokit/core': 7.0.6 + '@octokit/plugin-paginate-rest': 14.0.0(@octokit/core@7.0.6) + '@octokit/plugin-retry': 8.1.0(@octokit/core@7.0.6) + '@octokit/plugin-throttling': 11.0.3(@octokit/core@7.0.6) '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 debug: 4.3.5 dir-glob: 3.0.1 - globby: 14.0.1 - http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.4 + http-proxy-agent: 9.1.0 + https-proxy-agent: 9.1.0 issue-parser: 7.0.1 lodash-es: 4.17.21 mime: 4.0.3 p-filter: 4.1.0 - semantic-release: 24.0.0(typescript@5.4.5) + semantic-release: 25.0.5(typescript@6.0.3) + tinyglobby: 0.2.17 + undici: 7.27.2 url-join: 5.0.0 transitivePeerDependencies: + - kerberos - supports-color - '@semantic-release/npm@12.0.1(semantic-release@24.0.0(typescript@5.4.5))': + '@semantic-release/npm@13.1.5(semantic-release@25.0.5(typescript@6.0.3))': dependencies: + '@actions/core': 3.0.1 '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 + env-ci: 11.2.0 execa: 9.1.0 fs-extra: 11.2.0 lodash-es: 4.17.21 nerf-dart: 1.0.0 - normalize-url: 8.0.1 - npm: 10.8.1 + normalize-url: 9.0.1 + npm: 11.17.0 rc: 1.2.8 - read-pkg: 9.0.1 + read-pkg: 10.1.0 registry-auth-token: 5.0.2 - semantic-release: 24.0.0(typescript@5.4.5) + semantic-release: 25.0.5(typescript@6.0.3) semver: 7.6.2 tempy: 3.1.0 - '@semantic-release/release-notes-generator@14.0.0(semantic-release@24.0.0(typescript@5.4.5))': + '@semantic-release/release-notes-generator@14.1.1(semantic-release@25.0.5(typescript@6.0.3))': dependencies: conventional-changelog-angular: 8.0.0 conventional-changelog-writer: 8.0.0 conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.0.0 debug: 4.3.5 - get-stream: 7.0.1 - import-from-esm: 1.3.4 - into-stream: 7.0.0 + import-from-esm: 2.0.0 lodash-es: 4.17.21 - read-pkg-up: 11.0.0 - semantic-release: 24.0.0(typescript@5.4.5) + read-package-up: 11.0.0 + semantic-release: 25.0.5(typescript@6.0.3) transitivePeerDependencies: - supports-color - '@sindresorhus/is@4.6.0': {} + '@sentio/connect-gateway-es@1.0.0(@bufbuild/protobuf@2.12.0)(@connectrpc/connect@2.1.2(@bufbuild/protobuf@2.12.0))': + dependencies: + '@bufbuild/protobuf': 2.12.0 + '@connectrpc/connect': 2.1.2(@bufbuild/protobuf@2.12.0) - '@sindresorhus/merge-streams@2.3.0': {} + '@sindresorhus/is@4.6.0': {} '@sindresorhus/merge-streams@4.0.0': {} - '@types/node@20.14.1': + '@types/node@24.13.2': dependencies: - undici-types: 5.26.5 + undici-types: 7.18.2 '@types/normalize-package-data@2.4.4': {} '@types/semver@7.5.8': {} - agent-base@7.1.1: - dependencies: - debug: 4.3.5 - transitivePeerDependencies: - - supports-color + agent-base@9.0.0: {} aggregate-error@5.0.0: dependencies: clean-stack: 5.2.0 indent-string: 5.0.0 - ansi-escapes@6.2.1: {} + ansi-escapes@7.3.0: + dependencies: + environment: 1.1.0 ansi-regex@5.0.1: {} + ansi-regex@6.2.2: {} + ansi-styles@3.2.1: dependencies: color-convert: 1.9.3 @@ -1879,6 +2000,8 @@ snapshots: dependencies: color-convert: 2.0.1 + ansi-styles@6.2.3: {} + any-promise@1.3.0: {} argparse@2.0.1: {} @@ -1907,7 +2030,7 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 - before-after-hook@3.0.2: {} + before-after-hook@4.0.0: {} bottleneck@2.19.5: {} @@ -1936,7 +2059,7 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.3.0: {} + chalk@5.6.2: {} char-regex@1.0.2: {} @@ -1965,11 +2088,11 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 - cliui@8.0.1: + cliui@9.0.1: dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 + string-width: 7.2.0 + strip-ansi: 7.2.0 + wrap-ansi: 9.0.2 color-convert@1.9.3: dependencies: @@ -1993,11 +2116,13 @@ snapshots: ini: 1.3.8 proto-list: 1.2.4 + content-type@2.0.0: {} + conventional-changelog-angular@8.0.0: dependencies: compare-func: 2.0.0 - conventional-changelog-conventionalcommits@8.0.0: + conventional-changelog-conventionalcommits@9.3.1: dependencies: compare-func: 2.0.0 @@ -2019,14 +2144,14 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig@9.0.0(typescript@5.4.5): + cosmiconfig@9.0.0(typescript@6.0.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.4.5 + typescript: 6.0.3 cross-spawn@7.0.3: dependencies: @@ -2086,6 +2211,8 @@ snapshots: dependencies: readable-stream: 2.3.8 + emoji-regex@10.6.0: {} + emoji-regex@8.0.0: {} emojilib@2.4.0: {} @@ -2095,8 +2222,15 @@ snapshots: execa: 8.0.1 java-properties: 1.0.2 + env-ci@11.2.0: + dependencies: + execa: 8.0.1 + java-properties: 1.0.2 + env-paths@2.2.1: {} + environment@1.1.0: {} + error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 @@ -2172,31 +2306,34 @@ snapshots: is-date-object: 1.0.5 is-symbol: 1.0.4 - esbuild@0.20.2: + esbuild@0.28.1: optionalDependencies: - '@esbuild/aix-ppc64': 0.20.2 - '@esbuild/android-arm': 0.20.2 - '@esbuild/android-arm64': 0.20.2 - '@esbuild/android-x64': 0.20.2 - '@esbuild/darwin-arm64': 0.20.2 - '@esbuild/darwin-x64': 0.20.2 - '@esbuild/freebsd-arm64': 0.20.2 - '@esbuild/freebsd-x64': 0.20.2 - '@esbuild/linux-arm': 0.20.2 - '@esbuild/linux-arm64': 0.20.2 - '@esbuild/linux-ia32': 0.20.2 - '@esbuild/linux-loong64': 0.20.2 - '@esbuild/linux-mips64el': 0.20.2 - '@esbuild/linux-ppc64': 0.20.2 - '@esbuild/linux-riscv64': 0.20.2 - '@esbuild/linux-s390x': 0.20.2 - '@esbuild/linux-x64': 0.20.2 - '@esbuild/netbsd-x64': 0.20.2 - '@esbuild/openbsd-x64': 0.20.2 - '@esbuild/sunos-x64': 0.20.2 - '@esbuild/win32-arm64': 0.20.2 - '@esbuild/win32-ia32': 0.20.2 - '@esbuild/win32-x64': 0.20.2 + '@esbuild/aix-ppc64': 0.28.1 + '@esbuild/android-arm': 0.28.1 + '@esbuild/android-arm64': 0.28.1 + '@esbuild/android-x64': 0.28.1 + '@esbuild/darwin-arm64': 0.28.1 + '@esbuild/darwin-x64': 0.28.1 + '@esbuild/freebsd-arm64': 0.28.1 + '@esbuild/freebsd-x64': 0.28.1 + '@esbuild/linux-arm': 0.28.1 + '@esbuild/linux-arm64': 0.28.1 + '@esbuild/linux-ia32': 0.28.1 + '@esbuild/linux-loong64': 0.28.1 + '@esbuild/linux-mips64el': 0.28.1 + '@esbuild/linux-ppc64': 0.28.1 + '@esbuild/linux-riscv64': 0.28.1 + '@esbuild/linux-s390x': 0.28.1 + '@esbuild/linux-x64': 0.28.1 + '@esbuild/netbsd-arm64': 0.28.1 + '@esbuild/netbsd-x64': 0.28.1 + '@esbuild/openbsd-arm64': 0.28.1 + '@esbuild/openbsd-x64': 0.28.1 + '@esbuild/openharmony-arm64': 0.28.1 + '@esbuild/sunos-x64': 0.28.1 + '@esbuild/win32-arm64': 0.28.1 + '@esbuild/win32-ia32': 0.28.1 + '@esbuild/win32-x64': 0.28.1 escalade@3.1.2: {} @@ -2231,17 +2368,9 @@ snapshots: strip-final-newline: 4.0.0 yoctocolors: 2.0.2 - fast-glob@3.3.2: - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.7 - - fastq@1.17.1: - dependencies: - reusify: 1.0.4 + fdir@6.5.0(picomatch@4.0.4): + optionalDependencies: + picomatch: 4.0.4 figures@2.0.0: dependencies: @@ -2257,6 +2386,8 @@ snapshots: find-up-simple@1.0.0: {} + find-up-simple@1.0.1: {} + find-up@2.1.0: dependencies: locate-path: 2.0.0 @@ -2270,11 +2401,6 @@ snapshots: dependencies: is-callable: 1.2.7 - from2@2.3.0: - dependencies: - inherits: 2.0.4 - readable-stream: 2.3.8 - fs-extra@11.2.0: dependencies: graceful-fs: 4.2.11 @@ -2299,6 +2425,8 @@ snapshots: get-caller-file@2.0.5: {} + get-east-asian-width@1.6.0: {} + get-intrinsic@1.2.4: dependencies: es-errors: 1.3.0 @@ -2309,8 +2437,6 @@ snapshots: get-stream@6.0.1: {} - get-stream@7.0.1: {} - get-stream@8.0.1: {} get-stream@9.0.1: @@ -2324,10 +2450,6 @@ snapshots: es-errors: 1.3.0 get-intrinsic: 1.2.4 - get-tsconfig@4.7.5: - dependencies: - resolve-pkg-maps: 1.0.0 - git-log-parser@1.2.0: dependencies: argv-formatter: 1.0.0 @@ -2337,24 +2459,11 @@ snapshots: through2: 2.0.5 traverse: 0.6.9 - glob-parent@5.1.2: - dependencies: - is-glob: 4.0.3 - globalthis@1.0.4: dependencies: define-properties: 1.2.1 gopd: 1.0.1 - globby@14.0.1: - dependencies: - '@sindresorhus/merge-streams': 2.3.0 - fast-glob: 3.3.2 - ignore: 5.3.1 - path-type: 5.0.0 - slash: 5.1.0 - unicorn-magic: 0.1.0 - gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -2396,38 +2505,44 @@ snapshots: highlight.js@10.7.3: {} - hook-std@3.0.0: {} + hook-std@4.0.0: {} hosted-git-info@7.0.2: dependencies: lru-cache: 10.2.2 - http-proxy-agent@7.0.2: + hosted-git-info@9.0.3: dependencies: - agent-base: 7.1.1 + lru-cache: 11.5.1 + + http-proxy-agent@9.1.0: + dependencies: + agent-base: 9.0.0 debug: 4.3.5 + proxy-agent-negotiate: 1.1.0 transitivePeerDependencies: + - kerberos - supports-color - https-proxy-agent@7.0.4: + https-proxy-agent@9.1.0: dependencies: - agent-base: 7.1.1 + agent-base: 9.0.0 debug: 4.3.5 + proxy-agent-negotiate: 1.1.0 transitivePeerDependencies: + - kerberos - supports-color human-signals@5.0.0: {} human-signals@7.0.0: {} - ignore@5.3.1: {} - import-fresh@3.3.0: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 - import-from-esm@1.3.4: + import-from-esm@2.0.0: dependencies: debug: 4.3.5 import-meta-resolve: 4.1.0 @@ -2440,6 +2555,8 @@ snapshots: index-to-position@0.1.2: {} + index-to-position@1.2.0: {} + inherits@2.0.4: {} ini@1.3.8: {} @@ -2450,11 +2567,6 @@ snapshots: hasown: 2.0.2 side-channel: 1.0.6 - into-stream@7.0.0: - dependencies: - from2: 2.3.0 - p-is-promise: 3.0.0 - is-array-buffer@3.0.4: dependencies: call-bind: 1.0.7 @@ -2485,14 +2597,8 @@ snapshots: dependencies: has-tostringtag: 1.0.2 - is-extglob@2.1.1: {} - is-fullwidth-code-point@3.0.0: {} - is-glob@4.0.3: - dependencies: - is-extglob: 2.1.1 - is-negative-zero@2.0.3: {} is-number-object@1.0.7: @@ -2562,6 +2668,8 @@ snapshots: json-parse-even-better-errors@2.3.1: {} + json-with-bigint@3.5.8: {} + json@11.0.0: {} jsonfile@6.1.0: @@ -2598,24 +2706,25 @@ snapshots: lru-cache@10.2.2: {} - marked-terminal@7.0.0(marked@12.0.2): + lru-cache@11.5.1: {} + + marked-terminal@7.3.0(marked@15.0.12): dependencies: - ansi-escapes: 6.2.1 - chalk: 5.3.0 + ansi-escapes: 7.3.0 + ansi-regex: 6.2.2 + chalk: 5.6.2 cli-highlight: 2.1.11 cli-table3: 0.6.5 - marked: 12.0.2 - node-emoji: 2.1.3 - supports-hyperlinks: 3.0.0 + marked: 15.0.12 + node-emoji: 2.2.0 + supports-hyperlinks: 3.2.0 - marked@12.0.2: {} + marked@15.0.12: {} meow@13.2.0: {} merge-stream@2.0.0: {} - merge2@1.4.1: {} - micromatch@4.0.7: dependencies: braces: 3.0.3 @@ -2639,7 +2748,7 @@ snapshots: nerf-dart@1.0.0: {} - node-emoji@2.1.3: + node-emoji@2.2.0: dependencies: '@sindresorhus/is': 4.6.0 char-regex: 1.0.2 @@ -2653,13 +2762,19 @@ snapshots: semver: 7.6.2 validate-npm-package-license: 3.0.4 - normalize-url@8.0.1: {} + normalize-package-data@8.0.0: + dependencies: + hosted-git-info: 9.0.3 + semver: 7.6.2 + validate-npm-package-license: 3.0.4 + + normalize-url@9.0.1: {} npm-run-path@5.3.0: dependencies: path-key: 4.0.0 - npm@10.8.1: {} + npm@11.17.0: {} object-assign@4.1.1: {} @@ -2684,8 +2799,6 @@ snapshots: dependencies: p-map: 7.0.2 - p-is-promise@3.0.0: {} - p-limit@1.3.0: dependencies: p-try: 1.0.0 @@ -2722,6 +2835,12 @@ snapshots: index-to-position: 0.1.2 type-fest: 4.19.0 + parse-json@8.3.0: + dependencies: + '@babel/code-frame': 7.29.7 + index-to-position: 1.2.0 + type-fest: 4.41.0 + parse-ms@4.0.0: {} parse5-htmlparser2-tree-adapter@6.0.1: @@ -2740,12 +2859,14 @@ snapshots: path-type@4.0.0: {} - path-type@5.0.0: {} - picocolors@1.0.1: {} + picocolors@1.1.1: {} + picomatch@2.3.1: {} + picomatch@4.0.4: {} + pify@3.0.0: {} pkg-conf@2.1.0: @@ -2763,7 +2884,7 @@ snapshots: proto-list@1.2.4: {} - queue-microtask@1.2.3: {} + proxy-agent-negotiate@1.1.0: {} rc@1.2.8: dependencies: @@ -2778,11 +2899,19 @@ snapshots: read-pkg: 9.0.1 type-fest: 4.19.0 - read-pkg-up@11.0.0: + read-package-up@12.0.0: dependencies: - find-up-simple: 1.0.0 - read-pkg: 9.0.1 - type-fest: 4.19.0 + find-up-simple: 1.0.1 + read-pkg: 10.1.0 + type-fest: 5.7.0 + + read-pkg@10.1.0: + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 8.0.0 + parse-json: 8.3.0 + type-fest: 5.7.0 + unicorn-magic: 0.4.0 read-pkg@9.0.1: dependencies: @@ -2819,14 +2948,6 @@ snapshots: resolve-from@5.0.0: {} - resolve-pkg-maps@1.0.0: {} - - reusify@1.0.4: {} - - run-parallel@1.2.0: - dependencies: - queue-microtask: 1.2.3 - safe-array-concat@1.1.2: dependencies: call-bind: 1.0.7 @@ -2842,15 +2963,15 @@ snapshots: es-errors: 1.3.0 is-regex: 1.1.4 - semantic-release@24.0.0(typescript@5.4.5): + semantic-release@25.0.5(typescript@6.0.3): dependencies: - '@semantic-release/commit-analyzer': 13.0.0(semantic-release@24.0.0(typescript@5.4.5)) + '@semantic-release/commit-analyzer': 13.0.1(semantic-release@25.0.5(typescript@6.0.3)) '@semantic-release/error': 4.0.0 - '@semantic-release/github': 10.0.6(semantic-release@24.0.0(typescript@5.4.5)) - '@semantic-release/npm': 12.0.1(semantic-release@24.0.0(typescript@5.4.5)) - '@semantic-release/release-notes-generator': 14.0.0(semantic-release@24.0.0(typescript@5.4.5)) + '@semantic-release/github': 12.0.8(semantic-release@25.0.5(typescript@6.0.3)) + '@semantic-release/npm': 13.1.5(semantic-release@25.0.5(typescript@6.0.3)) + '@semantic-release/release-notes-generator': 14.1.1(semantic-release@25.0.5(typescript@6.0.3)) aggregate-error: 5.0.0 - cosmiconfig: 9.0.0(typescript@5.4.5) + cosmiconfig: 9.0.0(typescript@6.0.3) debug: 4.3.5 env-ci: 11.0.0 execa: 9.1.0 @@ -2858,29 +2979,25 @@ snapshots: find-versions: 6.0.0 get-stream: 6.0.1 git-log-parser: 1.2.0 - hook-std: 3.0.0 - hosted-git-info: 7.0.2 - import-from-esm: 1.3.4 + hook-std: 4.0.0 + hosted-git-info: 9.0.3 + import-from-esm: 2.0.0 lodash-es: 4.17.21 - marked: 12.0.2 - marked-terminal: 7.0.0(marked@12.0.2) + marked: 15.0.12 + marked-terminal: 7.3.0(marked@15.0.12) micromatch: 4.0.7 p-each-series: 3.0.0 p-reduce: 3.0.0 - read-package-up: 11.0.0 + read-package-up: 12.0.0 resolve-from: 5.0.0 semver: 7.6.2 - semver-diff: 4.0.0 signale: 1.4.0 - yargs: 17.7.2 + yargs: 18.0.0 transitivePeerDependencies: + - kerberos - supports-color - typescript - semver-diff@4.0.0: - dependencies: - semver: 7.6.2 - semver-regex@4.0.5: {} semver@7.6.2: {} @@ -2926,8 +3043,6 @@ snapshots: dependencies: unicode-emoji-modifier-base: 1.0.0 - slash@5.1.0: {} - source-map@0.6.1: {} spawn-error-forwarder@1.0.0: {} @@ -2961,6 +3076,12 @@ snapshots: is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 + string-width@7.2.0: + dependencies: + emoji-regex: 10.6.0 + get-east-asian-width: 1.6.0 + strip-ansi: 7.2.0 + string.prototype.trim@1.2.9: dependencies: call-bind: 1.0.7 @@ -2988,6 +3109,10 @@ snapshots: dependencies: ansi-regex: 5.0.1 + strip-ansi@7.2.0: + dependencies: + ansi-regex: 6.2.2 + strip-bom@3.0.0: {} strip-final-newline@3.0.0: {} @@ -3009,11 +3134,13 @@ snapshots: dependencies: has-flag: 4.0.0 - supports-hyperlinks@3.0.0: + supports-hyperlinks@3.2.0: dependencies: has-flag: 4.0.0 supports-color: 7.2.0 + tagged-tag@1.0.0: {} + temp-dir@3.0.0: {} tempy@3.1.0: @@ -3040,6 +3167,11 @@ snapshots: dependencies: convert-hrtime: 5.0.0 + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.4) + picomatch: 4.0.4 + to-regex-range@5.0.1: dependencies: is-number: 7.0.0 @@ -3050,19 +3182,26 @@ snapshots: typedarray.prototype.slice: 1.0.3 which-typed-array: 1.1.15 - tsx@4.12.0: + tsx@4.22.4: dependencies: - esbuild: 0.20.2 - get-tsconfig: 4.7.5 + esbuild: 0.28.1 optionalDependencies: fsevents: 2.3.3 + tunnel@0.0.6: {} + type-fest@1.4.0: {} type-fest@2.19.0: {} type-fest@4.19.0: {} + type-fest@4.41.0: {} + + type-fest@5.7.0: + dependencies: + tagged-tag: 1.0.0 + typed-array-buffer@1.0.2: dependencies: call-bind: 1.0.7 @@ -3104,7 +3243,7 @@ snapshots: typed-array-buffer: 1.0.2 typed-array-byte-offset: 1.0.2 - typescript@5.4.5: {} + typescript@6.0.3: {} uglify-js@3.17.4: optional: true @@ -3116,12 +3255,18 @@ snapshots: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - undici-types@5.26.5: {} + undici-types@7.18.2: {} + + undici@6.26.0: {} + + undici@7.27.2: {} unicode-emoji-modifier-base@1.0.0: {} unicorn-magic@0.1.0: {} + unicorn-magic@0.4.0: {} + unique-string@3.0.0: dependencies: crypto-random-string: 4.0.0 @@ -3167,13 +3312,19 @@ snapshots: string-width: 4.2.3 strip-ansi: 6.0.1 + wrap-ansi@9.0.2: + dependencies: + ansi-styles: 6.2.3 + string-width: 7.2.0 + strip-ansi: 7.2.0 + xtend@4.0.2: {} y18n@5.0.8: {} yargs-parser@20.2.9: {} - yargs-parser@21.1.1: {} + yargs-parser@22.0.0: {} yargs@16.2.0: dependencies: @@ -3185,14 +3336,13 @@ snapshots: y18n: 5.0.8 yargs-parser: 20.2.9 - yargs@17.7.2: + yargs@18.0.0: dependencies: - cliui: 8.0.1 + cliui: 9.0.1 escalade: 3.1.2 get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 + string-width: 7.2.0 y18n: 5.0.8 - yargs-parser: 21.1.1 + yargs-parser: 22.0.0 yoctocolors@2.0.2: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..3b63715 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,11 @@ +# Disable the minimum-release-age supply-chain gate. Recent pnpm 11.x enables +# it by default (reject deps published within the last 24h), which blocks our +# own freshly-published @sentio/connect-gateway-es and routine @connectrpc +# patch bumps for a day after release — friction without value for this +# package's small, trusted dependency set. 0 = no age requirement. +minimumReleaseAge: 0 + +# pnpm 11 errors on ignored build scripts unless explicitly approved here. +# esbuild (via tsx) ships a legitimate postinstall build. +allowBuilds: + esbuild: true diff --git a/src/client.gen.ts b/src/client.gen.ts deleted file mode 100755 index 321e015..0000000 --- a/src/client.gen.ts +++ /dev/null @@ -1,18 +0,0 @@ -// This file is auto-generated by @hey-api/openapi-ts - -import type { ClientOptions } from './types.gen'; -import { type Config, type ClientOptions as DefaultClientOptions, createClient, createConfig } from '@hey-api/client-fetch'; - -/** - * The `createClientConfig()` function will be called on client initialization - * and the returned object will become the client's initial configuration. - * - * You may want to initialize your client this way instead of calling - * `setConfig()`. This is useful for example if you're using Next.js - * to ensure your client always has the correct values. - */ -export type CreateClientConfig = (override?: Config) => Config & T>; - -export const client = createClient(createConfig({ - baseUrl: 'https://api.sentio.xyz' -})); \ No newline at end of file diff --git a/src/client.ts b/src/client.ts new file mode 100644 index 0000000..f896034 --- /dev/null +++ b/src/client.ts @@ -0,0 +1,58 @@ +import type { DescService } from '@bufbuild/protobuf' +import { type Client, createClient, type Transport } from '@connectrpc/connect' +import { createGatewayTransport, type GatewayTransportOptions } from '@sentio/connect-gateway-es' + +/** + * Default API origin. The generated bindings carry the gateway's `/api/v1/...` + * paths, which this host serves directly (the same dialect the Sentio web app + * and the sentio-sdk CLI use). + */ +export const DEFAULT_BASE_URL = 'https://app.sentio.xyz' + +export interface SentioApiOptions extends Omit { + /** + * Sentio API key, sent as the `api-key` header. Create one under + * your project's settings. Optional for the few public endpoints. + */ + apiKey?: string + /** API origin; defaults to {@link DEFAULT_BASE_URL}. */ + baseUrl?: string +} + +/** + * Creates a Connect transport that speaks Sentio's REST (grpc-gateway) + * dialect. Share one transport across clients of multiple services. + */ +export function createSentioTransport(options: SentioApiOptions = {}): Transport { + const { apiKey, baseUrl, headers, ...rest } = options + const h = new Headers(headers) + if (apiKey !== undefined && !h.has('api-key')) { + h.set('api-key', apiKey) + } + return createGatewayTransport({ + baseUrl: baseUrl ?? DEFAULT_BASE_URL, + headers: h, + ...rest, + }) +} + +/** + * Creates a typed client for one Sentio service: + * + * ```ts + * const web = createSentioClient(WebService, { apiKey }) + * const projects = await web.getProjectList({}) + * ``` + * + * To talk to several services, create one transport and pass it to + * connect's `createClient` per service instead. + */ +export function createSentioClient( + service: T, + options: SentioApiOptions = {}, +): Client { + return createClient(service, createSentioTransport(options)) +} + +export { createClient } +export type { Client, Transport } diff --git a/src/index.ts b/src/index.ts index 31a9f07..2f062df 100755 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,18 @@ -// This file is auto-generated by @hey-api/openapi-ts -export * from './types.gen'; -export * from './client.gen'; -export * from './sdk.gen'; \ No newline at end of file +export * from './client.js' + +// The public Sentio services. Message/enum types are exported by the +// service's generated module; deep-import them from '@sentio/api/gen/...' +// (several request/response type names repeat across services, so they are +// not re-exported flat from the package root). +export { AiService } from './gen/service/ai/protos/ai_service_pb.js' +export { AlertService } from './gen/service/alert/protos/alert_service_pb.js' +export { AnalyticService, SearchService } from './gen/service/analytic/protos/analytic_service_pb.js' +export { InsightsService } from './gen/service/insights/protos/insights_service_pb.js' +export { MoveService } from './gen/service/move/protos/move_service_pb.js' +export { ObservabilityService } from './gen/service/observability/protos/observability_service_pb.js' +export { PriceService } from './gen/service/price/protos/price_pb.js' +export { ProcessorService } from './gen/service/processor/protos/processor_service_pb.js' +export { ProcessorServiceExt } from './gen/service/processor/ext_protos/processor_service_ext_pb.js' +export { ForkService } from './gen/service/solidity/protos/fork_service_pb.js' +export { SolidityAPIService } from './gen/service/solidity/protos/solidity_api_service_pb.js' +export { WebService } from './gen/service/web/protos/web_service_pb.js' diff --git a/src/sdk.gen.ts b/src/sdk.gen.ts deleted file mode 100755 index ca4abed..0000000 --- a/src/sdk.gen.ts +++ /dev/null @@ -1,1766 +0,0 @@ -// This file is auto-generated by @hey-api/openapi-ts - -import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch'; -import type { ai_service, alert_service, analytic_service, web_service, insights_service, metrics_service, google, move_service, price_service, processor_service, solidity_service, solidit_service } from './types.gen'; -import { client as _heyApiClient } from './client.gen'; - -export type Options = ClientOptions & { - /** - * You can provide a client instance returned by `createClient()` instead of - * individual options. This might be also useful if you want to implement a - * custom client. - */ - client?: Client; - /** - * You can pass arbitrary values through the `meta` object. This can be - * used to access values that aren't defined as part of the SDK function. - */ - meta?: Record; -}; - -export class AiService { - /** - * Create Chat Session - * Initialize a new AI chat session. Returns a session_id that can be used with PostSessionMessage to have a conversation with the AI. Messages are generated as part of runs, with is_final indicating run completion. - */ - public static createChatSession(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/ai/chat', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Query Chat Session - * Retrieve information about an existing chat session, returning only messages after the specified cursor position. Messages include run_id to identify generation runs. - */ - public static queryChatSession(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/ai/chat/{sessionId}', - ...options - }); - } - - /** - * Post Session Message - * Add a new message to an existing chat session. This will trigger AI message generation as a run. check is_final to know when all messages for the run have been generated. - */ - public static postSessionMessage(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/ai/chat/{sessionId}/message', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Healthz provides a health check endpoint for monitoring - */ - public static healthz(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/ai/healthz', - ...options - }); - } - -} - -export class AlertsService { - /** - * Save an alert rule - */ - public static saveAlertRule(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/alerts/rule', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * List all alert rules for a project - */ - public static getAlertRules(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/alerts/rule/project/{projectId}', - ...options - }); - } - - /** - * Delete an alert rule - */ - public static deleteAlertRule(options: Options) { - return (options.client ?? _heyApiClient).delete({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/alerts/rule/{id}', - ...options - }); - } - - /** - * Save an alert rule - */ - public static saveAlertRule2(options: Options) { - return (options.client ?? _heyApiClient).put({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/alerts/rule/{id}', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Find an alert rule by id, and list all alerts for this rule - */ - public static getAlert(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/alerts/{ruleId}', - ...options - }); - } - -} - -export class DataService { - /** - * Save Sharing SQL - * Save or update sharing settings for a SQL query. - */ - public static saveSharingSql(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/sql/sharing', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get Sharing SQL - * Get sharing settings for a SQL query. - */ - public static getSharingSql(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/sql/sharing/{id}', - ...options - }); - } - - /** - * Query Tables - * Query tables in a project. use flag to control which type of tables to include. - */ - public static queryTables2(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/sql/tables', - ...options - }); - } - - /** - * Cancel SQL Query - * Cancel a SQL query by execution_id. - */ - public static cancelSqlQuery(options: Options) { - return (options.client ?? _heyApiClient).put({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/cancel_query/{executionId}', - ...options - }); - } - - /** - * Execute SQL - * Execute SQL in a project. Go to "Data Studio" -> "SQL Editor", write your query and then click "Export as cURL" - * - * ![screenshot](https://media.githubusercontent.com/media/sentioxyz/docs/HEAD/assets/image%20(102).png) - * - * Find more: https://docs.sentio.xyz/reference/data#sql-api - */ - public static executeSql(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/execute', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Execute SQL by Async - * Execute SQL in a project asynchronously. - */ - public static executeSqlAsync(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/execute/async', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Query SQL Execution Detail - * Query the execution detail of a SQL query by execution_id. - */ - public static querySqlExecutionDetail(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/query_execution_detail/{executionId}', - ...options - }); - } - - /** - * Query SQL Result - * Query the result of a SQL query by execution_id. - */ - public static querySqlResult(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/query_result/{executionId}', - ...options - }); - } - - /** - * Save Refreshable Materialized View - * Save or update a refreshable materialized view in a project. - */ - public static saveRefreshableMaterializedView(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Delete Refreshable Materialized View - * Delete a refreshable materialized view in a project. - */ - public static deleteRefreshableMaterializedView(options: Options) { - return (options.client ?? _heyApiClient).delete({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view/{name}', - ...options - }); - } - - /** - * Get Refreshable Materialized View Status - * Get the status of a refreshable materialized view in a project. - */ - public static getRefreshableMaterializedStatus(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view/{name}', - ...options - }); - } - - /** - * List Refreshable Materialized Views - * List all refreshable materialized views in a project. - */ - public static listRefreshableMaterializedViews(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_views', - ...options - }); - } - - /** - * Save SQL - * Save or update a SQL query in a project. - */ - public static saveSql(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/save', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Save SQL - * Save or update a SQL query in a project. - */ - public static saveSql2(options: Options) { - return (options.client ?? _heyApiClient).put({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/save', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Query Tables - * Query tables in a project. use flag to control which type of tables to include. - */ - public static queryTables(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/analytics/{owner}/{slug}/sql/tables', - ...options - }); - } - - /** - * Query event logs - */ - public static queryLog(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/eventlogs/{owner}/{slug}', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Query event logs - */ - public static queryLog2(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/eventlogs/{owner}/{slug}/query', - ...options - }); - } - - /** - * List coins - * Get a list of coins in a project. - */ - public static listCoins2(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/insights/coins', - ...options - }); - } - - /** - * List coins - * Get a list of coins in a project. - */ - public static listCoins(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/insights/{owner}/{slug}/coins', - ...options - }); - } - - /** - * Insight Query - * Query for metrics,event logs and coin prices in a project. - */ - public static query(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/insights/{owner}/{slug}/query', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get a list of metrics in a project - */ - public static getMetrics(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/metrics', - ...options - }); - } - - /** - * Metric instant queries - */ - public static queryInstant(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/metrics/{owner}/{slug}/query', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Metric range queries - * The easiest way to build query is through UI, you could first create an insight chart, and then **Export as cURL**. - * - * ![screenshot](https://media.githubusercontent.com/media/sentioxyz/docs/HEAD/assets/image%20(101).png) - */ - public static queryRange(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/metrics/{owner}/{slug}/query_range', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Query Table By Name - * Query table schema by name. - */ - public static queryTable2(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/sql/table', - ...options - }); - } - - /** - * List Tables - */ - public static listTables2(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/sql/tables', - ...options - }); - } - - /** - * Query Table By Name - * Query table schema by name. - */ - public static queryTable(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/sql/{owner}/{slug}/table/{name}', - ...options - }); - } - - /** - * List Tables - */ - public static listTables(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/sql/{owner}/{slug}/tables', - ...options - }); - } - -} - -export class WebService { - /** - * List all dashboards in a project - */ - public static listDashboards(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/dashboards', - ...options - }); - } - - /** - * Import a dashboard - */ - public static importDashboard(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/dashboards/json', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Delete a dashboard by id - */ - public static deleteDashboard(options: Options) { - return (options.client ?? _heyApiClient).delete({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/dashboards/{dashboardId}', - ...options - }); - } - - /** - * Get a dashboard by id - */ - public static getDashboard(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/dashboards/{dashboardId}', - ...options - }); - } - - /** - * Get dashboard history by dashboard id - */ - public static getDashboardHistory(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/dashboards/{dashboardId}/history', - ...options - }); - } - - /** - * Export a dashboard to json - */ - public static exportDashboard(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/dashboards/{dashboardId}/json', - ...options - }); - } - - /** - * List all dashboards in a project - */ - public static listDashboards2(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/projects/{owner}/{slug}/dashboards', - ...options - }); - } - - /** - * Get a dashboard by id - */ - public static getDashboard2(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/projects/{owner}/{slug}/dashboards/{dashboardId}', - ...options - }); - } - - public static createLinkSession(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/users/link', - ...options - }); - } - -} - -export class MoveService { - /** - * Get Aptos transaction call trace - * Retrieves the detailed call trace for an Aptos transaction - */ - public static getCallTrace(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/move/call_trace', - ...options - }); - } - - /** - * Get Sui transaction call trace - * Retrieves the detailed call trace for a Sui transaction - */ - public static getSuiCallTrace(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/move/sui_call_trace', - ...options - }); - } - -} - -export class PriceService { - /** - * Get price - * GetPrice returns the price of a given coin identifier, in a best effort way. - * If we do not have any price data for the given coin, we will return NOT_FOUND error. - * If we have at least one price data for the given coin, we will return it with the actual timestamp. - * Client is responsible for checking the timestamp and decide whether to use the price or not. - */ - public static getPrice(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/prices', - ...options - }); - } - - /** - * Add coin by Gecko - * adds a coin by its coingecko id. - * - * coingecko id the API ID of the coin in coingecko web page. - * - * please AWARE that the coingecko id is NOT the same as the symbol of the coin. - * - * ![screenshot](https://media.githubusercontent.com/media/sentioxyz/docs/HEAD/assets/coingecko_apiid.png) - */ - public static addCoinByGecko(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/prices/add_coin_by_gecko', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Batch get prices - */ - public static batchGetPrices(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/prices/batch', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Check latest price - */ - public static checkLatestPrice(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/prices/check_latest', - ...options - }); - } - - /** - * List coins - */ - public static priceListCoins(options?: Options) { - return (options?.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/prices/coins', - ...options - }); - } - -} - -export class ProcessorService { - /** - * activate the pending version of a processor - */ - public static activatePendingVersion(options: Options) { - return (options.client ?? _heyApiClient).put({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/processors/{owner}/{slug}/activate_pending', - ...options - }); - } - - /** - * Get processor status - */ - public static getProcessorStatusV2(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/processors/{owner}/{slug}/status', - ...options - }); - } - -} - -export class ProcessorExtService { - /** - * Get the source files of a processor - */ - public static getProcessorSourceFiles(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/processors/{owner}/{slug}/source_files', - ...options - }); - } - -} - -export class ForksService { - /** - * List all forks - */ - public static listForks(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork', - ...options - }); - } - - /** - * Create a fork - */ - public static createFork(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get trace by bundle simulation - */ - public static getCallTraceOnForkBundle(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/bundle/{bundleId}/call_trace', - ...options - }); - } - - /** - * Run Simulation - */ - public static simulateTransactionOnFork(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get trace by simulation - */ - public static getCallTraceOnForkSimulation(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation/{simulationId}/call_trace', - ...options - }); - } - - /** - * Run bundle simulation - */ - public static simulateTransactionBundleOnFork(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation_bundle', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get trace by transaction - */ - public static getCallTraceOnForkTransaction(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/transaction/{txHash}/call_trace', - ...options - }); - } - - /** - * Delete fork by id - */ - public static deleteFork(options: Options) { - return (options.client ?? _heyApiClient).delete({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{id}', - ...options - }); - } - - /** - * Get fork by id - */ - public static getFork(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{id}', - ...options - }); - } - - /** - * Update fork by id - */ - public static updateFork(options: Options) { - return (options.client ?? _heyApiClient).put({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{id}', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get fork info by id - */ - public static getForkInfo(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/fork/{id}/info', - ...options - }); - } - -} - -export class DebugAndSimulationService { - /** - * Search transactions - */ - public static searchTransactions(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/search_transactions', - ...options - }); - } - - /** - * Get list of simulations - */ - public static getSimulations(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/simulation', - ...options - }); - } - - /** - * Get simulation by ID - */ - public static getSimulation(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/simulation/{simulationId}', - ...options - }); - } - - /** - * Get bundle simulation by ID - */ - public static getSimulationBundleInProject(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/simulation_bundle/{bundleId}', - ...options - }); - } - - /** - * Get trace by bundle simulation - */ - public static getCallTraceByBundle(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/{chainId}/bundle/{bundleId}/call_trace', - ...options - }); - } - - /** - * Run simulation - * Create a new transaction simulation. The simulation body should be included in the request body. - * Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details. - */ - public static simulateTransaction(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/{chainId}/simulation', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get trace by simulation - */ - public static getCallTraceBySimulation(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/{chainId}/simulation/{simulationId}/call_trace', - ...options - }); - } - - /** - * Run bundle simulation - * You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect. - */ - public static simulateTransactionBundle(options: Options) { - return (options.client ?? _heyApiClient).post({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/{chainId}/simulation_bundle', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options?.headers - } - }); - } - - /** - * Get trace by transaction - * API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. - * - * The results looks very similar to the normal [Ethereum call trace](https://media.githubusercontent.com/media/sentioxyz/docs/HEAD/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. - * - * This allows you to build chart that marks the order of fund flow. - * - * ![screenshot](https://media.githubusercontent.com/media/sentioxyz/docs/HEAD/assets/image%20(2)%20(1)%20(1)%20(1).png) - */ - public static getCallTraceByTransaction(options: Options) { - return (options.client ?? _heyApiClient).get({ - security: [ - { - name: 'api-key', - type: 'apiKey' - }, - { - in: 'query', - name: 'api-key', - type: 'apiKey' - } - ], - url: '/v1/solidity/{owner}/{slug}/{chainId}/transaction/{txHash}/call_trace', - ...options - }); - } - -} \ No newline at end of file diff --git a/src/types.gen.ts b/src/types.gen.ts deleted file mode 100755 index 30e08c7..0000000 --- a/src/types.gen.ts +++ /dev/null @@ -1,3617 +0,0 @@ -// This file is auto-generated by @hey-api/openapi-ts - -export namespace ai_service { - export type AiServicePostSessionMessageBody = { - message?: Message; - }; - export type AutoConfig = { - executeQuery?: boolean; - }; - /** - * - CHART_TYPE_UNSPECIFIED: Default unspecified type - * - CHART_TYPE_TABLE: Tabular data visualization - * - CHART_TYPE_LINE: Line chart - * - CHART_TYPE_BAR: Bar chart - * - CHART_TYPE_PIE: Pie chart - */ - export type ChartType = 'CHART_TYPE_UNSPECIFIED' | 'CHART_TYPE_TABLE' | 'CHART_TYPE_LINE' | 'CHART_TYPE_BAR' | 'CHART_TYPE_PIE'; - /** - * ChatSession represents an interactive conversation session with the AI. Messages in the session are ordered and accessed via cursor positions. - */ - export type ChatSession = { - messages?: Array; - context?: Context; - streaming?: boolean; - preserveSession?: boolean; - }; - export type Context = { - projectOwner?: string; - projectSlug?: string; - version?: number; - scenario?: ContextScenario; - sqlConfig?: SqlConfig; - insightConfig?: InsightConfig; - autoConfig?: AutoConfig; - }; - export type ContextScenario = 'SCENARIO_UNSPECIFIED' | 'SCENARIO_SQL' | 'SCENARIO_INSIGHT' | 'SCENARIO_AUTO'; - export type CreateChatSessionResponse = { - sessionId?: string; - currentCursorPosition?: number; - }; - export type ErrorContent = { - code?: string; - message?: string; - }; - export type HealthzResponse = { - status?: string; - service?: string; - }; - export type InsightConfig = { - executeQuery?: boolean; - }; - export type InsightQueryContent = { - explanation?: string; - chartType?: ChartType; - queries?: Array; - formulas?: Array; - samplesLimit?: number; - timeRange?: common.TimeRangeLite; - results?: Array; - title?: string; - }; - export type InsightQueryResult = { - id?: string; - alias?: string; - matrix?: common.Matrix; - error?: string; - }; - /** - * Message represents a single message in an AI conversation with either text or structured content. Messages are generated as part of a 'run' (identified by run_id), and the is_final flag indicates when all messages for a run have been generated. - */ - export type Message = { - role?: MessageRole; - text?: string; - structured?: StructuredContent; - isFinal?: boolean; - runId?: string; - resources?: Array; - }; - export type MessageRole = 'ROLE_UNSPECIFIED' | 'ROLE_USER' | 'ROLE_ASSISTANT' | 'ROLE_SYSTEM' | 'AI_ROLE_TOOL'; - export type PostSessionMessageResponse = { - currentCursorPosition?: number; - }; - export type Resource = { - uri?: string; - name?: string; - description?: string; - mimeType?: string; - text?: string; - blob?: string; - }; - export type SqlConfig = { - executeQuery?: boolean; - }; - export type SqlContent = { - query?: string; - explanation?: string; - chartType?: ChartType; - title?: string; - result?: common.TabularData; - error?: string; - }; - export type StructuredContent = { - type?: StructuredContentContentType; - sql?: SqlContent; - insightQuery?: InsightQueryContent; - error?: ErrorContent; - }; - export type StructuredContentContentType = 'CONTENT_TYPE_UNSPECIFIED' | 'CONTENT_TYPE_SQL' | 'CONTENT_TYPE_INSIGHT_QUERY' | 'CONTENT_TYPE_ERROR'; - export type CreateChatSessionData = { - /** - * ChatSession represents an interactive conversation session with the AI. Messages in the session are ordered and accessed via cursor positions. - */ - body: ai_service.ChatSession; - path?: never; - query?: never; - url: '/v1/ai/chat'; - }; - export type CreateChatSessionResponses = { - /** - * A successful response. - */ - 200: ai_service.CreateChatSessionResponse; - }; - export type CreateChatSessionResponse2 = CreateChatSessionResponses[keyof CreateChatSessionResponses]; - export type QueryChatSessionData = { - body?: never; - path: { - /** - * Unique identifier for the session - */ - sessionId: string; - }; - query?: { - /** - * Start cursor position - only messages after this position will be returned - */ - cursorPosition?: number; - }; - url: '/v1/ai/chat/{sessionId}'; - }; - export type QueryChatSessionResponses = { - /** - * A successful response. - */ - 200: ai_service.ChatSession; - }; - export type QueryChatSessionResponse = QueryChatSessionResponses[keyof QueryChatSessionResponses]; - export type PostSessionMessageData = { - body: ai_service.AiServicePostSessionMessageBody; - path: { - /** - * Unique identifier for the session - */ - sessionId: string; - }; - query?: never; - url: '/v1/ai/chat/{sessionId}/message'; - }; - export type PostSessionMessageResponses = { - /** - * A successful response. - */ - 200: ai_service.PostSessionMessageResponse; - }; - export type PostSessionMessageResponse2 = PostSessionMessageResponses[keyof PostSessionMessageResponses]; - export type HealthzData = { - body?: never; - path?: never; - query?: never; - url: '/v1/ai/healthz'; - }; - export type HealthzResponses = { - /** - * A successful response. - */ - 200: ai_service.HealthzResponse; - }; - export type HealthzResponse2 = HealthzResponses[keyof HealthzResponses]; -} - -export namespace alert_service { - export type Alert = { - id?: string; - ruleId?: string; - active?: boolean; - query?: string; - startTime?: string; - endTime?: string; - lastNotified?: string; - createState?: AlertAlertState; - lastState?: AlertAlertState; - }; - export type AlertAlertState = { - condition?: Condition; - samples?: Array; - subject?: string; - message?: string; - logCondition?: LogCondition; - logSamples?: Array; - time?: string; - state?: AlertRuleState; - queryTimeRange?: common.TimeRangeLite; - sqlCondition?: SqlCondition; - sqlSamples?: Array<{ - [key: string]: unknown; - }>; - sqlMatchCount?: number; - }; - export type AlertRule = { - id?: string; - projectId?: string; - state?: AlertRuleState; - subject?: string; - message?: string; - group?: string; - query?: string; - for?: common.Duration; - channels?: Array; - updateTime?: string; - condition?: Condition; - renotifyDuration?: common.Duration; - renotifyLimit?: number; - alertType?: AlertType; - logCondition?: LogCondition; - lastQueryTime?: string; - mute?: boolean; - interval?: common.Duration; - error?: string; - sqlCondition?: SqlCondition; - }; - export type AlertRuleState = 'NO_DATA' | 'FIRING' | 'NORMAL' | 'ERROR'; - export type AlertServiceSaveAlertRuleBody = { - rule?: { - projectId?: string; - state?: AlertRuleState; - subject?: string; - message?: string; - group?: string; - query?: string; - for?: common.Duration; - channels?: Array; - updateTime?: string; - condition?: Condition; - renotifyDuration?: common.Duration; - renotifyLimit?: number; - alertType?: AlertType; - logCondition?: LogCondition; - lastQueryTime?: string; - mute?: boolean; - interval?: common.Duration; - error?: string; - sqlCondition?: SqlCondition; - }; - }; - export type AlertType = 'METRIC' | 'LOG' | 'SQL'; - export type Condition = { - queries?: Array; - formula?: common.Formula; - comparisonOp?: string; - threshold?: number; - eventsQueries?: Array; - priceQueries?: Array; - insightQueries?: Array; - threshold2?: number; - }; - export type ConditionInsightQuery = { - metricsQuery?: common.Query; - eventsQuery?: common.SegmentationQuery; - priceQuery?: common.PriceSegmentationQuery; - sourceName?: string; - }; - export type GetAlertResponse = { - alertRule?: AlertRule; - alerts?: Array; - mute?: Mute; - }; - export type GetAlertRulesResponse = { - rules?: Array; - }; - export type LogCondition = { - query?: string; - comparisonOp?: string; - threshold?: number; - threshold2?: number; - }; - export type Mute = { - id?: string; - ruleId?: string; - group?: string; - active?: boolean; - startTime?: string; - endTime?: string; - updateTime?: string; - }; - export type SqlCondition = { - columnCondition?: SqlConditionColumnCondition; - rowCondition?: SqlConditionRowCondition; - sqlQuery?: string; - }; - export type SqlConditionAggregation = 'COUNT' | 'SUM' | 'AVG' | 'MAX' | 'MIN' | 'LAST'; - export type SqlConditionColumnCondition = { - valueColumn?: string; - timeColumn?: string; - comparisonOp?: string; - threshold?: number; - threshold2?: number; - aggregation?: SqlConditionAggregation; - }; - export type SqlConditionRowCondition = { - [key: string]: unknown; - }; - export type Sample = { - metric?: { - [key: string]: string; - }; - value?: number; - timestamp?: string; - }; - export type SaveAlertRuleRequest = { - rule?: AlertRule; - }; - export type SaveAlertRuleData = { - body: alert_service.SaveAlertRuleRequest; - path?: never; - query?: never; - url: '/v1/alerts/rule'; - }; - export type SaveAlertRuleResponses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type SaveAlertRuleResponse = SaveAlertRuleResponses[keyof SaveAlertRuleResponses]; - export type GetAlertRulesData = { - body?: never; - path: { - projectId: string; - }; - query?: never; - url: '/v1/alerts/rule/project/{projectId}'; - }; - export type GetAlertRulesResponses = { - /** - * A successful response. - */ - 200: alert_service.GetAlertRulesResponse; - }; - export type GetAlertRulesResponse2 = GetAlertRulesResponses[keyof GetAlertRulesResponses]; - export type DeleteAlertRuleData = { - body?: never; - path: { - id: string; - }; - query?: never; - url: '/v1/alerts/rule/{id}'; - }; - export type DeleteAlertRuleResponses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type DeleteAlertRuleResponse = DeleteAlertRuleResponses[keyof DeleteAlertRuleResponses]; - export type SaveAlertRule2Data = { - body: alert_service.AlertServiceSaveAlertRuleBody; - path: { - id: string; - }; - query?: never; - url: '/v1/alerts/rule/{id}'; - }; - export type SaveAlertRule2Responses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type SaveAlertRule2Response = SaveAlertRule2Responses[keyof SaveAlertRule2Responses]; - export type GetAlertData = { - body?: never; - path: { - ruleId: string; - }; - query?: { - page?: number; - pageSize?: number; - }; - url: '/v1/alerts/{ruleId}'; - }; - export type GetAlertResponses = { - /** - * A successful response. - */ - 200: alert_service.GetAlertResponse; - }; - export type GetAlertResponse2 = GetAlertResponses[keyof GetAlertResponses]; -} - -export namespace analytic_service { - export type AnalyticServiceExecuteSqlAsyncBody = { - projectId?: string; - version?: number; - sqlQuery?: SqlQuery; - /** - * Pagination cursor for the next page of results, using the value from the previous response. - */ - cursor?: string; - cachePolicy?: common.CachePolicy; - engine?: ExecuteEngine; - }; - export type AnalyticServiceExecuteSqlBody = { - projectId?: string; - version?: number; - sqlQuery?: SqlQuery; - /** - * Pagination cursor for the next page of results, using the value from the previous response. - */ - cursor?: string; - cachePolicy?: common.CachePolicy; - engine?: ExecuteEngine; - }; - export type AnalyticServiceSaveRefreshableMaterializedViewBody = { - projectId?: string; - name?: string; - sql?: string; - refreshSettings?: ViewRefreshSettings; - }; - export type AnalyticServiceSaveSqlBody = { - projectId?: string; - version?: number; - sqlQuery?: SqlQuery; - source?: Source; - }; - export type AsyncExecuteSqlResponse = { - queryId?: string; - executionId?: string; - queueLength?: number; - computeStats?: common.ComputeStats; - }; - export type ExecuteEngine = 'ULTRA' | 'SMALL' | 'MEDIUM' | 'LARGE'; - export type ExecutionInfo = { - queryId?: string; - executionId?: string; - status?: ExecutionStatus; - scheduledAt?: string; - startedAt?: string; - finishedAt?: string; - result?: common.TabularData; - error?: string; - computeStats?: common.ComputeStats; - processorVersion?: number; - }; - export type ExecutionStatus = 'PENDING' | 'RUNNING' | 'FINISHED' | 'KILLED'; - export type GetRefreshableMaterializedViewStatusResponse = { - name?: string; - status?: string; - lastRefreshTime?: string; - lastSuccessTime?: string; - nextRefreshTime?: string; - progress?: string; - readRows?: string; - readBytes?: string; - totalRows?: string; - writtenRows?: string; - writtenBytes?: string; - sql?: string; - refreshSettings?: ViewRefreshSettings; - computeStats?: common.ComputeStats; - exception?: string; - }; - export type GetSharingSqlResponse = { - query?: GetSharingSqlResponseQuery; - project?: common.Project; - }; - export type GetSharingSqlResponseQuery = { - sqlQuery?: SqlQuery; - createdAt?: string; - updatedAt?: string; - }; - export type ListRefreshableMaterializedViewResponse = { - total?: string; - views?: Array; - }; - export type ListRefreshableMaterializedViewResponseRefreshableMaterializedView = { - name?: string; - sql?: string; - }; - export type ListTablesResponse = { - names?: Array; - computeStats?: common.ComputeStats; - }; - export type LogQueryRequestFilter = { - field?: string; - value?: string; - not?: boolean; - }; - export type LogQueryRequestSort = { - field?: string; - desc?: boolean; - }; - export type LogQueryResponse = { - entries?: Array; - after?: Array; - total?: string; - computeStats?: common.ComputeStats; - }; - export type QuerySqlExecutionDetailResponse = { - computeStats?: common.ComputeStats; - }; - export type QuerySqlResultResponse = { - executionInfo?: ExecutionInfo; - }; - export type QueryTableResponse = { - table?: Table; - computeStats?: common.ComputeStats; - }; - export type QueryTablesResponse = { - tables?: { - [key: string]: Table; - }; - computeStats?: common.ComputeStats; - }; - export type SqlQuery = { - sql?: string; - size?: number; - parameters?: common.RichStruct; - /** - * the name of the query, if sql is empty and name not empty, the query will be fetched by the name. - */ - name?: string; - /** - * the id of the query, if sql and name both empty, the query will be fetched by the id. - */ - queryId?: string; - }; - export type SaveRefreshableMaterializedViewResponse = { - name?: string; - isUpdated?: boolean; - }; - export type SaveSqlResponse = { - queryId?: string; - }; - export type SaveSharingSqlRequest = { - queryId?: string; - isPublic?: boolean; - }; - export type SaveSharingSqlResponse = { - sharingId?: string; - queryId?: string; - isPublic?: boolean; - createdAt?: string; - updatedAt?: string; - }; - export type SearchServiceQueryLogBody = { - projectId?: string; - query?: string; - timeRange?: common.TimeRange; - sorts?: Array; - after?: Array; - limit?: number; - offset?: number; - filters?: Array; - version?: number; - source?: string; - cachePolicy?: common.CachePolicy; - }; - export type Source = 'SQL_EDITOR' | 'DASHBOARD' | 'ASYNC_TRIGGER' | 'CURL' | 'ENDPOINT' | 'EXPORT' | 'USER_MATERIALIZED_VIEW_CREATOR' | 'SQL_ALERT'; - export type SyncExecuteSqlResponse = { - runtimeCost?: string; - result?: common.TabularData; - error?: string; - computeStats?: common.ComputeStats; - }; - export type Table = { - name?: string; - columns?: { - [key: string]: TableColumn; - }; - tableType?: TableTableType; - relatedProjectId?: string; - }; - export type TableColumn = { - name?: string; - columnType?: TableColumnColumnType; - clickhouseDataType?: string; - isBuiltin?: boolean; - }; - export type TableColumnColumnType = 'STRING' | 'NUMBER' | 'BOOLEAN' | 'LIST' | 'TIME' | 'JSON' | 'TOKEN'; - export type TableTableType = 'RESERVED' | 'EVENT' | 'METRICS' | 'SUBGRAPH' | 'MATERIALIZED_VIEW' | 'IMPORTED_EVENT' | 'SYSTEM' | 'ENTITY' | 'IMPORTED_ENTITY' | 'IMPORTED_SUBGRAPH' | 'USER_REFRESHABLE_VIEW' | 'DASH_COMMUNITY_EVENT' | 'DASH_COMMUNITY_SUBGRAPH' | 'DASH_COMMUNITY_ENTITY' | 'DASH_CURATED_EVENT' | 'DASH_CURATED_SUBGRAPH' | 'DASH_CURATED_ENTITY' | 'DASH_COMMUNITY_MATERIALIZED_VIEW' | 'DASH_CURATED_MATERIALIZED_VIEW' | 'IMPORTED_METRICS' | 'DASH_COMMUNITY_METRICS' | 'DASH_CURATED_METRICS'; - export type ViewRefreshSettings = { - refreshInterval?: string; - strategy?: ViewRefreshSettingsRefreshStrategy; - dependsOn?: Array; - appendMode?: boolean; - orderBy?: string; - }; - export type ViewRefreshSettingsRefreshStrategy = 'EVERY' | 'AFTER'; - export type SaveSharingSqlData = { - body: analytic_service.SaveSharingSqlRequest; - path?: never; - query?: never; - url: '/v1/analytics/sql/sharing'; - }; - export type SaveSharingSqlResponses = { - /** - * A successful response. - */ - 200: analytic_service.SaveSharingSqlResponse; - }; - export type SaveSharingSqlResponse2 = SaveSharingSqlResponses[keyof SaveSharingSqlResponses]; - export type GetSharingSqlData = { - body?: never; - path: { - id: string; - }; - query?: never; - url: '/v1/analytics/sql/sharing/{id}'; - }; - export type GetSharingSqlResponses = { - /** - * A successful response. - */ - 200: analytic_service.GetSharingSqlResponse; - }; - export type GetSharingSqlResponse2 = GetSharingSqlResponses[keyof GetSharingSqlResponses]; - export type QueryTables2Data = { - body?: never; - path?: never; - query?: { - projectOwner?: string; - projectSlug?: string; - projectId?: string; - version?: number; - includeChains?: boolean; - includeViews?: boolean; - includeExternals?: boolean; - includeDash?: boolean; - }; - url: '/v1/analytics/sql/tables'; - }; - export type QueryTables2Responses = { - /** - * A successful response. - */ - 200: analytic_service.QueryTablesResponse; - }; - export type QueryTables2Response = QueryTables2Responses[keyof QueryTables2Responses]; - export type CancelSqlQueryData = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - executionId: string; - }; - query?: { - /** - * use project id if project_owner and project_slug are not provided - */ - projectId?: string; - /** - * version of the datasource, default to the active version if not provided - */ - version?: number; - }; - url: '/v1/analytics/{owner}/{slug}/sql/cancel_query/{executionId}'; - }; - export type CancelSqlQueryResponses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type CancelSqlQueryResponse = CancelSqlQueryResponses[keyof CancelSqlQueryResponses]; - export type ExecuteSqlData = { - body: analytic_service.AnalyticServiceExecuteSqlBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/analytics/{owner}/{slug}/sql/execute'; - }; - export type ExecuteSqlResponses = { - /** - * A successful response. - */ - 200: analytic_service.SyncExecuteSqlResponse; - }; - export type ExecuteSqlResponse = ExecuteSqlResponses[keyof ExecuteSqlResponses]; - export type ExecuteSqlAsyncData = { - body: analytic_service.AnalyticServiceExecuteSqlAsyncBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/analytics/{owner}/{slug}/sql/execute/async'; - }; - export type ExecuteSqlAsyncResponses = { - /** - * A successful response. - */ - 200: analytic_service.AsyncExecuteSqlResponse; - }; - export type ExecuteSqlAsyncResponse = ExecuteSqlAsyncResponses[keyof ExecuteSqlAsyncResponses]; - export type QuerySqlExecutionDetailData = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - executionId: string; - }; - query?: { - /** - * use project id if project_owner and project_slug are not provided - */ - projectId?: string; - /** - * version of the datasource, default to the active version if not provided - */ - version?: number; - }; - url: '/v1/analytics/{owner}/{slug}/sql/query_execution_detail/{executionId}'; - }; - export type QuerySqlExecutionDetailResponses = { - /** - * A successful response. - */ - 200: analytic_service.QuerySqlExecutionDetailResponse; - }; - export type QuerySqlExecutionDetailResponse2 = QuerySqlExecutionDetailResponses[keyof QuerySqlExecutionDetailResponses]; - export type QuerySqlResultData = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - executionId: string; - }; - query?: { - /** - * use project id if project_owner and project_slug are not provided - */ - projectId?: string; - /** - * version of the datasource, default to the active version if not provided - */ - version?: number; - }; - url: '/v1/analytics/{owner}/{slug}/sql/query_result/{executionId}'; - }; - export type QuerySqlResultResponses = { - /** - * A successful response. - */ - 200: analytic_service.QuerySqlResultResponse; - }; - export type QuerySqlResultResponse2 = QuerySqlResultResponses[keyof QuerySqlResultResponses]; - export type SaveRefreshableMaterializedViewData = { - body: analytic_service.AnalyticServiceSaveRefreshableMaterializedViewBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view'; - }; - export type SaveRefreshableMaterializedViewResponses = { - /** - * A successful response. - */ - 200: analytic_service.SaveRefreshableMaterializedViewResponse; - }; - export type SaveRefreshableMaterializedViewResponse2 = SaveRefreshableMaterializedViewResponses[keyof SaveRefreshableMaterializedViewResponses]; - export type DeleteRefreshableMaterializedViewData = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - name: string; - }; - query?: { - /** - * use project id if project_owner and project_slug are not provided - */ - projectId?: string; - }; - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view/{name}'; - }; - export type DeleteRefreshableMaterializedViewResponses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type DeleteRefreshableMaterializedViewResponse = DeleteRefreshableMaterializedViewResponses[keyof DeleteRefreshableMaterializedViewResponses]; - export type GetRefreshableMaterializedStatusData = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - name: string; - }; - query?: { - /** - * use project id if project_owner and project_slug are not provided - */ - projectId?: string; - }; - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_view/{name}'; - }; - export type GetRefreshableMaterializedStatusResponses = { - /** - * A successful response. - */ - 200: analytic_service.GetRefreshableMaterializedViewStatusResponse; - }; - export type GetRefreshableMaterializedStatusResponse = GetRefreshableMaterializedStatusResponses[keyof GetRefreshableMaterializedStatusResponses]; - export type ListRefreshableMaterializedViewsData = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: { - /** - * use project id if project_owner and project_slug are not provided - */ - projectId?: string; - }; - url: '/v1/analytics/{owner}/{slug}/sql/refreshable_materialized_views'; - }; - export type ListRefreshableMaterializedViewsResponses = { - /** - * A successful response. - */ - 200: analytic_service.ListRefreshableMaterializedViewResponse; - }; - export type ListRefreshableMaterializedViewsResponse = ListRefreshableMaterializedViewsResponses[keyof ListRefreshableMaterializedViewsResponses]; - export type SaveSqlData = { - body: analytic_service.AnalyticServiceSaveSqlBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/analytics/{owner}/{slug}/sql/save'; - }; - export type SaveSqlResponses = { - /** - * A successful response. - */ - 200: analytic_service.SaveSqlResponse; - }; - export type SaveSqlResponse2 = SaveSqlResponses[keyof SaveSqlResponses]; - export type SaveSql2Data = { - body: analytic_service.AnalyticServiceSaveSqlBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/analytics/{owner}/{slug}/sql/save'; - }; - export type SaveSql2Responses = { - /** - * A successful response. - */ - 200: analytic_service.SaveSqlResponse; - }; - export type SaveSql2Response = SaveSql2Responses[keyof SaveSql2Responses]; - export type QueryTablesData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - projectId?: string; - version?: number; - includeChains?: boolean; - includeViews?: boolean; - includeExternals?: boolean; - includeDash?: boolean; - }; - url: '/v1/analytics/{owner}/{slug}/sql/tables'; - }; - export type QueryTablesResponses = { - /** - * A successful response. - */ - 200: analytic_service.QueryTablesResponse; - }; - export type QueryTablesResponse2 = QueryTablesResponses[keyof QueryTablesResponses]; - export type QueryLogData = { - body: analytic_service.SearchServiceQueryLogBody; - path: { - owner: string; - slug: string; - }; - query?: never; - url: '/v1/eventlogs/{owner}/{slug}'; - }; - export type QueryLogResponses = { - /** - * A successful response. - */ - 200: analytic_service.LogQueryResponse; - }; - export type QueryLogResponse = QueryLogResponses[keyof QueryLogResponses]; - export type QueryLog2Data = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - projectId?: string; - query?: string; - 'timeRange.start.relativeTime.unit'?: string; - 'timeRange.start.relativeTime.value'?: number; - 'timeRange.start.relativeTime.align'?: string; - 'timeRange.start.absoluteTime'?: string; - 'timeRange.end.relativeTime.unit'?: string; - 'timeRange.end.relativeTime.value'?: number; - 'timeRange.end.relativeTime.align'?: string; - 'timeRange.end.absoluteTime'?: string; - 'timeRange.step'?: string; - 'timeRange.interval.value'?: number; - 'timeRange.interval.unit'?: string; - 'timeRange.timezone'?: string; - limit?: number; - offset?: number; - version?: number; - source?: string; - /** - * how long the cache will be stored before it is evicted - */ - 'cachePolicy.cacheTtlSecs'?: number; - /** - * how long the cache will be refreshed in the background - */ - 'cachePolicy.cacheRefreshTtlSecs'?: number; - /** - * force refresh the cache now - */ - 'cachePolicy.forceRefresh'?: boolean; - /** - * do not use cache - */ - 'cachePolicy.noCache'?: boolean; - }; - url: '/v1/eventlogs/{owner}/{slug}/query'; - }; - export type QueryLog2Responses = { - /** - * A successful response. - */ - 200: analytic_service.LogQueryResponse; - }; - export type QueryLog2Response = QueryLog2Responses[keyof QueryLog2Responses]; - export type QueryTable2Data = { - body?: never; - path?: never; - query?: { - projectOwner?: string; - projectSlug?: string; - projectId?: string; - version?: number; - name?: string; - }; - url: '/v1/sql/table'; - }; - export type QueryTable2Responses = { - /** - * A successful response. - */ - 200: analytic_service.QueryTableResponse; - }; - export type QueryTable2Response = QueryTable2Responses[keyof QueryTable2Responses]; - export type ListTables2Data = { - body?: never; - path?: never; - query?: { - projectOwner?: string; - projectSlug?: string; - projectId?: string; - version?: number; - }; - url: '/v1/sql/tables'; - }; - export type ListTables2Responses = { - /** - * A successful response. - */ - 200: analytic_service.ListTablesResponse; - }; - export type ListTables2Response = ListTables2Responses[keyof ListTables2Responses]; - export type QueryTableData = { - body?: never; - path: { - owner: string; - slug: string; - name: string; - }; - query?: { - projectId?: string; - version?: number; - }; - url: '/v1/sql/{owner}/{slug}/table/{name}'; - }; - export type QueryTableResponses = { - /** - * A successful response. - */ - 200: analytic_service.QueryTableResponse; - }; - export type QueryTableResponse2 = QueryTableResponses[keyof QueryTableResponses]; - export type ListTablesData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - projectId?: string; - version?: number; - }; - url: '/v1/sql/{owner}/{slug}/tables'; - }; - export type ListTablesResponses = { - /** - * A successful response. - */ - 200: analytic_service.ListTablesResponse; - }; - export type ListTablesResponse2 = ListTablesResponses[keyof ListTablesResponses]; -} - -export namespace common { - export type Aggregate = { - op?: AggregateAggregateOps; - grouping?: Array; - }; - export type AggregateAggregateOps = 'AVG' | 'SUM' | 'MIN' | 'MAX' | 'COUNT'; - export type Any = { - intValue?: number; - longValue?: string; - doubleValue?: number; - stringValue?: string; - boolValue?: boolean; - dateValue?: string; - listValue?: StringList; - }; - export type Argument = { - stringValue?: string; - intValue?: number; - doubleValue?: number; - boolValue?: boolean; - durationValue?: Duration; - }; - export type BigDecimal = { - value?: BigInteger; - exp?: number; - }; - export type BigInteger = { - negative?: boolean; - data?: string; - }; - export type CachePolicy = { - cacheTtlSecs?: number; - cacheRefreshTtlSecs?: number; - forceRefresh?: boolean; - noCache?: boolean; - }; - export type Channel = { - id?: string; - projectId?: string; - type?: ChannelType; - slackWebhookUrl?: string; - emailAddress?: string; - name?: string; - customWebhookUrl?: string; - customHeaders?: { - [key: string]: string; - }; - telegramReference?: string; - telegramChatId?: string; - slackTeam?: string; - slackChannel?: string; - pagerdutyConfig?: { - [key: string]: unknown; - }; - }; - export type ChannelType = 'UNKNOWN' | 'EMAIL' | 'SLACK' | 'TELEGRAM' | 'WEBHOOK' | 'DISCORD' | 'PAGERDUTY'; - export type CohortsFilter = { - symbol?: boolean; - name?: string; - aggregation?: CohortsFilterAggregation; - selectorExpr?: SelectorExpr; - timeRange?: TimeRangeLite; - }; - export type CohortsFilterAggregation = { - total?: CohortsFilterAggregationTotal; - aggregateProperties?: CohortsFilterAggregationAggregateProperties; - operator?: CohortsFilterAggregationOperatorType; - value?: Array; - }; - export type CohortsFilterAggregationAggregateProperties = { - type?: CohortsFilterAggregationAggregatePropertiesAggregationType; - propertyName?: string; - }; - export type CohortsFilterAggregationAggregatePropertiesAggregationType = 'SUM' | 'AVG' | 'MEDIAN' | 'MIN' | 'MAX' | 'DISTINCT_COUNT' | 'LAST' | 'FIRST'; - export type CohortsFilterAggregationOperatorType = 'EQ' | 'NEQ' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'NOT_BETWEEN'; - export type CohortsFilterAggregationTotal = { - [key: string]: unknown; - }; - export type CohortsGroup = { - joinOperator?: JoinOperator; - filters?: Array; - }; - export type CohortsQuery = { - joinOperator?: JoinOperator; - groups?: Array; - name?: string; - id?: string; - }; - export type CoinId = { - symbol?: string; - address?: CoinIdAddressIdentifier; - }; - export type CoinIdAddressIdentifier = { - address?: string; - chain?: string; - }; - export type ColumnState = { - columnSizing?: { - [key: string]: number; - }; - columnVisibility?: { - [key: string]: boolean; - }; - columnOrder?: Array; - sorting?: Array; - }; - export type ColumnStateSort = { - id?: string; - desc?: boolean; - }; - export type CommunityProject = { - dashAlias?: string; - curated?: boolean; - chain?: { - [key: string]: StringList; - }; - }; - export type ComputeStats = { - computedAt?: string; - computeCostMs?: string; - binaryVersionHash?: string; - computedBy?: string; - isCached?: boolean; - isRefreshing?: boolean; - clickhouseStats?: ComputeStatsClickhouseStats; - }; - export type ComputeStatsClickhouseStats = { - readRows?: string; - readBytes?: string; - memoryUsage?: string; - queryDurationMs?: string; - resultRows?: string; - resultBytes?: string; - }; - export type Duration = { - value?: number; - unit?: string; - }; - export type ErrorRecord = { - id?: string; - namespace?: number; - code?: number; - namespaceCode?: number; - message?: string; - createdAt?: string; - }; - export type EventLogColumn = { - id?: string; - size?: number; - name?: string; - accessorKey?: string; - enableHiding?: boolean; - enableSorting?: boolean; - enableResizing?: boolean; - }; - export type EventLogConfig = { - columns?: Array; - state?: ColumnState; - }; - export type EventLogEntry = { - message?: string; - timestamp?: string; - logLevel?: string; - logType?: string; - contractName?: string; - contractAddress?: string; - blockNumber?: string; - chainId?: string; - attributes?: { - [key: string]: unknown; - }; - id?: string; - transactionHash?: string; - highlightedMessage?: string; - distinctId?: string; - eventName?: string; - logIndex?: number; - transactionIndex?: number; - }; - /** - * the formula to combine multiple queries - */ - export type Formula = { - expression?: string; - alias?: string; - id?: string; - disabled?: boolean; - functions?: Array<_Function>; - color?: string; - }; - export type _Function = { - name?: string; - arguments?: Array; - }; - export type JoinOperator = 'AND' | 'OR' | 'THEN'; - export type Matrix = { - samples?: Array; - totalSamples?: number; - }; - export type MatrixMetric = { - name?: string; - labels?: { - [key: string]: string; - }; - displayName?: string; - }; - export type MatrixSample = { - metric?: MatrixMetric; - values?: Array; - }; - export type MatrixValue = { - timestamp?: string; - value?: number; - }; - export type Organization = { - id?: string; - oid?: string; - name?: string; - createdAt?: string; - updatedAt?: string; - members?: Array; - displayName?: string; - logoUrl?: string; - projects?: Array; - tier?: Tier; - }; - export type OrganizationMember = { - user?: UserInfo; - role?: OrganizationRole; - }; - export type OrganizationRole = 'ORG_MEMBER' | 'ORG_ADMIN'; - export type Owner = { - user?: User; - organization?: Organization; - tier?: Tier; - }; - export type Permission = 'READ' | 'WRITE' | 'ADMIN'; - export type PriceSegmentationQuery = { - id?: string; - alias?: string; - coinId?: Array; - color?: string; - disabled?: boolean; - }; - export type Project = { - id?: string; - displayName?: string; - description?: string; - createdAt?: string; - updatedAt?: string; - slug?: string; - ownerId?: string; - owner?: Owner; - visibility?: ProjectVisibility; - type?: ProjectType; - members?: Array; - multiVersion?: boolean; - ownerName?: string; - notificationChannels?: Array; - views?: Array; - supersetEnable?: boolean; - superset?: ProjectSuperset; - enableDisk?: boolean; - enableMaterializedView?: boolean; - defaultTimerange?: TimeRangeLite; - communityProject?: CommunityProject; - sentioNetwork?: boolean; - }; - export type ProjectProjectMember = { - user?: UserInfo; - role?: string; - }; - export type ProjectType = 'SENTIO' | 'SUBGRAPH' | 'ACTION'; - export type ProjectVisibility = 'PUBLIC' | 'PRIVATE'; - export type ProjectInfo = { - id?: string; - displayName?: string; - description?: string; - createdAt?: string; - updatedAt?: string; - slug?: string; - owner?: string; - visibility?: ProjectVisibility; - type?: ProjectType; - multiVersion?: boolean; - supersetEnable?: boolean; - superset?: ProjectSuperset; - enableDisk?: boolean; - enableMaterializedView?: boolean; - defaultTimerange?: TimeRangeLite; - }; - export type ProjectSuperset = { - projectId?: string; - createdAt?: string; - syncAt?: string; - }; - export type ProjectView = { - id?: string; - projectId?: string; - name?: string; - config?: ProjectViewProjectViewConfig; - }; - export type ProjectViewProjectViewConfig = { - eventLog?: EventLogConfig; - }; - /** - * the query to fetch metrics data, promql - */ - export type Query = { - query?: string; - alias?: string; - id?: string; - labelSelector?: { - [key: string]: string; - }; - aggregate?: Aggregate; - functions?: Array<_Function>; - color?: string; - disabled?: boolean; - }; - export type RetentionQuery = { - resources?: Array; - criteria?: RetentionQueryCriteria; - interval?: RetentionQueryInterval; - selectorExpr?: SelectorExpr; - groupBy?: Array; - segmentBy?: Array; - windowSize?: number; - }; - export type RetentionQueryCriteria = 'OnOrAfter' | 'On'; - export type RetentionQueryFilter = { - propertyFilter?: SelectorExpr; - timeFilter?: RetentionQueryFilterTimeFilter; - }; - export type RetentionQueryFilterTimeFilter = { - type?: RetentionQueryFilterTimeFilterType; - }; - export type RetentionQueryFilterTimeFilterType = 'Disable' | 'FirstInTimeRange' | 'FirstInGlobal'; - export type RetentionQueryInterval = { - value?: number; - unit?: RetentionQueryIntervalUnit; - }; - export type RetentionQueryIntervalUnit = 'Day' | 'Week' | 'Month'; - export type RetentionQueryResource = { - eventNames?: Array; - filter?: RetentionQueryFilter; - }; - export type RichStruct = { - fields?: { - [key: string]: RichValue; - }; - }; - export type RichValue = { - nullValue?: RichValueNullValue; - intValue?: number; - int64Value?: string; - floatValue?: number; - bytesValue?: string; - boolValue?: boolean; - stringValue?: string; - timestampValue?: string; - bigintValue?: BigInteger; - bigdecimalValue?: BigDecimal; - listValue?: RichValueList; - structValue?: RichStruct; - tokenValue?: TokenAmount; - }; - export type RichValueNullValue = 'NULL_VALUE'; - export type RichValueList = { - values?: Array; - }; - export type SegmentParameter = { - cohortId?: string; - allUsers?: boolean; - }; - export type SegmentationQuery = { - resource?: SegmentationQueryResource; - alias?: string; - id?: string; - aggregation?: SegmentationQueryAggregation; - selectorExpr?: SegmentationQuerySelectorExpr; - groupBy?: Array; - limit?: number; - functions?: Array<_Function>; - color?: string; - disabled?: boolean; - }; - export type SegmentationQueryAggregation = { - total?: SegmentationQueryAggregationTotal; - unique?: SegmentationQueryAggregationUnique; - countUnique?: SegmentationQueryAggregationCountUnique; - aggregateProperties?: SegmentationQueryAggregationAggregateProperties; - }; - export type SegmentationQueryAggregationAggregateProperties = { - type?: SegmentationQueryAggregationAggregatePropertiesAggregationType; - propertyName?: string; - }; - export type SegmentationQueryAggregationAggregatePropertiesAggregationType = 'SUM' | 'CUMULATIVE_SUM' | 'AVG' | 'MEDIAN' | 'MIN' | 'MAX' | 'DISTINCT_COUNT' | 'CUMULATIVE_DISTINCT_COUNT' | 'CUMULATIVE_COUNT' | 'LAST' | 'CUMULATIVE_LAST' | 'FIRST' | 'CUMULATIVE_FIRST' | 'PERCENTILE_25TH' | 'PERCENTILE_75TH' | 'PERCENTILE_90TH' | 'PERCENTILE_95TH' | 'PERCENTILE_99TH'; - export type SegmentationQueryAggregationCountUnique = { - duration?: Duration; - }; - export type SegmentationQueryAggregationTotal = { - [key: string]: unknown; - }; - export type SegmentationQueryAggregationUnique = { - [key: string]: unknown; - }; - export type SegmentationQueryResource = { - name?: string; - type?: SegmentationQueryResourceType; - cohortsId?: string; - cohortsQuery?: CohortsQuery; - multipleNames?: Array; - }; - export type SegmentationQueryResourceType = 'EVENTS' | 'COHORTS'; - export type SegmentationQuerySelectorExpr = { - selector?: Selector; - logicExpr?: SegmentationQuerySelectorExprLogicExpr; - }; - export type SegmentationQuerySelectorExprLogicExpr = { - expressions?: Array; - operator?: JoinOperator; - }; - export type Selector = { - key?: string; - operator?: SelectorOperatorType; - value?: Array; - }; - export type SelectorOperatorType = 'EQ' | 'NEQ' | 'EXISTS' | 'NOT_EXISTS' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'BETWEEN' | 'NOT_BETWEEN' | 'CONTAINS' | 'NOT_CONTAINS' | 'IN' | 'NOT_IN' | 'IN_COHORTS' | 'NOT_IN_COHORTS'; - export type SelectorExpr = { - selector?: Selector; - logicExpr?: SelectorExprLogicExpr; - }; - export type SelectorExprLogicExpr = { - expressions?: Array; - operator?: JoinOperator; - }; - export type StringList = { - values?: Array; - }; - export type TabularData = { - columns?: Array; - columnTypes?: { - [key: string]: TabularDataColumnType; - }; - rows?: Array<{ - [key: string]: unknown; - }>; - generatedAt?: string; - /** - * The pagination cursor for the next page of results. If present, use this value in the `cursor` field of the next request to retrieve subsequent data. If null or empty, there are no more results. - */ - cursor?: string; - }; - export type TabularDataColumnType = 'STRING' | 'NUMBER' | 'BOOLEAN' | 'LIST' | 'TIME' | 'MAP' | 'JSON' | 'TOKEN' | 'DYNAMIC'; - export type Tier = 'FREE' | 'DEV' | 'PRO' | 'ENTERPRISE' | 'ANONYMOUS'; - export type TimeRange = { - start?: TimeRangeTimeLike; - end?: TimeRangeTimeLike; - step?: string; - interval?: Duration; - timezone?: string; - }; - export type TimeRangeRelativeTime = { - unit?: string; - value?: number; - align?: string; - }; - export type TimeRangeTimeLike = { - relativeTime?: TimeRangeRelativeTime; - absoluteTime?: string; - }; - /** - * start and end time of the time range, Find more: https://docs.sentio.xyz/reference/data#time-range-configuration-guide - */ - export type TimeRangeLite = { - start: string; - end: string; - step: number; - timezone?: string; - }; - export type TokenAmount = { - token?: CoinId; - amount?: BigDecimal; - specifiedAt?: string; - }; - export type User = { - id?: string; - email?: string; - emailVerified?: boolean; - lastName?: string; - firstName?: string; - locale?: string; - nickname?: string; - picture?: string; - sub?: string; - updatedAt?: string; - createdAt?: string; - username?: string; - accountStatus?: UserAccountStatus; - tier?: Tier; - isOrganization?: boolean; - walletAddress?: string; - identities?: Array; - }; - export type UserAccountStatus = 'PENDING' | 'SET_USERNAME' | 'BANNED' | 'ACTIVE'; - /** - * The same to user but with sensitive data removed. - */ - export type UserInfo = { - id?: string; - lastName?: string; - firstName?: string; - nickname?: string; - picture?: string; - username?: string; - }; -} - -export namespace evm { - export type AccessListItem = { - address?: string; - storageKeys?: Array; - }; - export type Transaction = { - blockNumber?: string; - blockHash?: string; - transactionIndex?: string; - hash?: string; - chainId?: string; - type?: string; - from?: string; - to?: string; - input?: string; - value?: string; - nonce?: string; - gas?: string; - gasPrice?: string; - maxFeePerGas?: string; - maxPriorityFeePerGas?: string; - accessList?: Array; - }; - export type TransactionReceipt = { - gasUsed?: string; - cumulativeGasUsed?: string; - effectiveGasPrice?: string; - status?: string; - error?: string; - revertReason?: string; - logs?: Array<{ - [key: string]: unknown; - }>; - }; -} - -export namespace google { - export type ApiHttpBody = { - contentType?: string; - data?: string; - extensions?: Array; - }; - /** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * In its binary encoding, an `Any` is an ordinary message; but in other wire - * forms like JSON, it has a special encoding. The format of the type URL is - * described on the `type_url` field. - * - * Protobuf APIs provide utilities to interact with `Any` values: - * - * - A 'pack' operation accepts a message and constructs a generic `Any` wrapper - * around it. - * - An 'unpack' operation reads the content of an `Any` message, either into an - * existing message or a new one. Unpack operations must check the type of the - * value they unpack against the declared `type_url`. - * - An 'is' operation decides whether an `Any` contains a message of the given - * type, i.e. whether it can 'unpack' that type. - * - * The JSON format representation of an `Any` follows one of these cases: - * - * - For types without special-cased JSON encodings, the JSON format - * representation of the `Any` is the same as that of the message, with an - * additional `@type` field which contains the type URL. - * - For types with special-cased JSON encodings (typically called 'well-known' - * types, listed in https://protobuf.dev/programming-guides/json/#any), the - * JSON format representation has a key `@type` which contains the type URL - * and a key `value` which contains the JSON-serialized value. - * - * The text format representation of an `Any` is like a message with one field - * whose name is the type URL in brackets. For example, an `Any` containing a - * `foo.Bar` message may be written `[type.googleapis.com/foo.Bar] { a: 2 }`. - */ - export type ProtobufAny = { - /** - * Identifies the type of the serialized Protobuf message with a URI reference - * consisting of a prefix ending in a slash and the fully-qualified type name. - * - * Example: type.googleapis.com/google.protobuf.StringValue - * - * This string must contain at least one `/` character, and the content after - * the last `/` must be the fully-qualified name of the type in canonical - * form, without a leading dot. Do not write a scheme on these URI references - * so that clients do not attempt to contact them. - * - * The prefix is arbitrary and Protobuf implementations are expected to - * simply strip off everything up to and including the last `/` to identify - * the type. `type.googleapis.com/` is a common default prefix that some - * legacy implementations require. This prefix does not indicate the origin of - * the type, and URIs containing it are not expected to respond to any - * requests. - * - * All type URL strings must be legal URI references with the additional - * restriction (for the text format) that the content of the reference - * must consist only of alphanumeric characters, percent-encoded escapes, and - * characters in the following set (not including the outer backticks): - * `/-.~_!$&()*+,;=`. Despite our allowing percent encodings, implementations - * should not unescape them to prevent confusion with existing parsers. For - * example, `type.googleapis.com%2FFoo` should be rejected. - * - * In the original design of `Any`, the possibility of launching a type - * resolution service at these type URLs was considered but Protobuf never - * implemented one and considers contacting these URLs to be problematic and - * a potential security issue. Do not attempt to contact type URLs. - */ - '@type'?: string; - [key: string]: unknown | string | undefined; - }; - /** - * Represents a JSON `null`. - * - * `NullValue` is a sentinel, using an enum with only one value to represent - * the null value for the `Value` type union. - * - * A field of type `NullValue` with any value other than `0` is considered - * invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set - * as a JSON `null` regardless of the integer value, and so will round trip to - * a `0` value. - * - * - NULL_VALUE: Null value. - */ - export type ProtobufNullValue = 'NULL_VALUE'; - export type GetCallTraceData = { - body?: never; - path?: never; - query?: { - networkId?: string; - txHash?: string; - }; - url: '/v1/move/call_trace'; - }; - export type GetCallTraceResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceResponse = GetCallTraceResponses[keyof GetCallTraceResponses]; - export type GetCallTraceOnForkBundleData = { - body?: never; - path: { - owner: string; - slug: string; - forkId: string; - bundleId: string; - }; - query?: { - /** - * Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace. - */ - withInternalCalls?: boolean; - /** - * Disable optimizations to make internal calls more accurate, but gas costs will differ from the actual execution. - */ - disableOptimizer?: boolean; - /** - * Only effective when disableOptimizer=true. - */ - ignoreGasCost?: boolean; - }; - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/bundle/{bundleId}/call_trace'; - }; - export type GetCallTraceOnForkBundleResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceOnForkBundleResponse = GetCallTraceOnForkBundleResponses[keyof GetCallTraceOnForkBundleResponses]; - export type GetCallTraceOnForkSimulationData = { - body?: never; - path: { - owner: string; - slug: string; - forkId: string; - simulationId: string; - }; - query?: { - /** - * Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace. - */ - withInternalCalls?: boolean; - /** - * Disable optimizations to make internal calls more accurate, but gas costs will differ from the actual execution. - */ - disableOptimizer?: boolean; - /** - * Only effective when disableOptimizer=true. - */ - ignoreGasCost?: boolean; - }; - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation/{simulationId}/call_trace'; - }; - export type GetCallTraceOnForkSimulationResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceOnForkSimulationResponse = GetCallTraceOnForkSimulationResponses[keyof GetCallTraceOnForkSimulationResponses]; - export type GetCallTraceOnForkTransactionData = { - body?: never; - path: { - owner: string; - slug: string; - forkId: string; - txHash: string; - }; - query?: { - /** - * Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace. - */ - withInternalCalls?: boolean; - /** - * Disable optimizations to make internal calls more accurate, but gas costs will differ from the actual execution. - */ - disableOptimizer?: boolean; - /** - * Only effective when disableOptimizer=true. - */ - ignoreGasCost?: boolean; - }; - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/transaction/{txHash}/call_trace'; - }; - export type GetCallTraceOnForkTransactionResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceOnForkTransactionResponse = GetCallTraceOnForkTransactionResponses[keyof GetCallTraceOnForkTransactionResponses]; - export type GetCallTraceByBundleData = { - body?: never; - path: { - owner: string; - slug: string; - chainId: string; - bundleId: string; - }; - query?: { - /** - * Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace. - */ - withInternalCalls?: boolean; - /** - * Disable optimizations to make internal calls more accurate, but gas costs will differ from the actual execution. - */ - disableOptimizer?: boolean; - /** - * Only effective when disableOptimizer=true. - */ - ignoreGasCost?: boolean; - }; - url: '/v1/solidity/{owner}/{slug}/{chainId}/bundle/{bundleId}/call_trace'; - }; - export type GetCallTraceByBundleResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceByBundleResponse = GetCallTraceByBundleResponses[keyof GetCallTraceByBundleResponses]; - export type GetCallTraceBySimulationData = { - body?: never; - path: { - owner: string; - slug: string; - chainId: string; - simulationId: string; - }; - query?: { - /** - * Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace. - */ - withInternalCalls?: boolean; - /** - * Disable optimizations to make internal calls more accurate, but gas costs will differ from the actual execution. - */ - disableOptimizer?: boolean; - /** - * Only effective when disableOptimizer=true. - */ - ignoreGasCost?: boolean; - }; - url: '/v1/solidity/{owner}/{slug}/{chainId}/simulation/{simulationId}/call_trace'; - }; - export type GetCallTraceBySimulationResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceBySimulationResponse = GetCallTraceBySimulationResponses[keyof GetCallTraceBySimulationResponses]; - export type GetCallTraceByTransactionData = { - body?: never; - path: { - owner: string; - slug: string; - chainId: string; - txHash: string; - }; - query?: { - /** - * Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace. - */ - withInternalCalls?: boolean; - /** - * Disable optimizations to make internal calls more accurate, but gas costs will differ from the actual execution. - */ - disableOptimizer?: boolean; - /** - * Only effective when disableOptimizer=true. - */ - ignoreGasCost?: boolean; - }; - url: '/v1/solidity/{owner}/{slug}/{chainId}/transaction/{txHash}/call_trace'; - }; - export type GetCallTraceByTransactionResponses = { - /** - * A successful response. - */ - 200: google.ApiHttpBody; - }; - export type GetCallTraceByTransactionResponse = GetCallTraceByTransactionResponses[keyof GetCallTraceByTransactionResponses]; -} - -export namespace insights_service { - export type DataSource = 'METRICS' | 'EVENTS' | 'PRICE' | 'FORMULA' | 'COHORTS' | 'SYSTEM_SQL'; - export type InsightsServiceQueryBody = { - projectId?: string; - version?: number; - timeRange?: common.TimeRangeLite; - queries?: Array; - formulas?: Array; - limit?: number; - offset?: number; - bypassCache?: boolean; - cachePolicy?: common.CachePolicy; - enableExperimentalFeatures?: boolean; - }; - export type ListCoinsResponse = { - coins?: Array; - computeStats?: common.ComputeStats; - }; - export type QueryRequestQuery = { - metricsQuery?: common.Query; - eventsQuery?: common.SegmentationQuery; - priceQuery?: common.PriceSegmentationQuery; - dataSource?: DataSource; - sourceName?: string; - }; - export type QueryResponse = { - results?: Array; - }; - export type QueryResponseResult = { - id?: string; - alias?: string; - dataSource?: DataSource; - matrix?: common.Matrix; - error?: string; - computeStats?: common.ComputeStats; - color?: string; - }; - export type ListCoins2Data = { - body?: never; - path?: never; - query?: { - projectOwner?: string; - projectSlug?: string; - projectId?: string; - version?: number; - limit?: number; - offset?: number; - searchQuery?: string; - }; - url: '/v1/insights/coins'; - }; - export type ListCoins2Responses = { - /** - * A successful response. - */ - 200: insights_service.ListCoinsResponse; - }; - export type ListCoins2Response = ListCoins2Responses[keyof ListCoins2Responses]; - export type ListCoinsData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - projectId?: string; - version?: number; - limit?: number; - offset?: number; - searchQuery?: string; - }; - url: '/v1/insights/{owner}/{slug}/coins'; - }; - export type ListCoinsResponses = { - /** - * A successful response. - */ - 200: insights_service.ListCoinsResponse; - }; - export type ListCoinsResponse3 = ListCoinsResponses[keyof ListCoinsResponses]; - export type QueryData = { - body: insights_service.InsightsServiceQueryBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/insights/{owner}/{slug}/query'; - }; - export type QueryResponses = { - /** - * A successful response. - */ - 200: insights_service.QueryResponse; - }; - export type QueryResponse2 = QueryResponses[keyof QueryResponses]; -} - -export namespace metrics_service { - export type GetMetricsResponse = { - metrics?: Array; - computeStats?: common.ComputeStats; - }; - export type MetricInfo = { - name?: string; - displayName?: string; - projectId?: string; - contractName?: Array; - contractAddress?: Array; - chainId?: Array; - labels?: { - [key: string]: MetricInfoLabelValues; - }; - metadata?: MetricMetadata; - }; - export type MetricInfoLabelValues = { - values?: Array; - totalCount?: string; - }; - export type MetricMetadata = { - type?: string; - unit?: string; - help?: string; - lastSeen?: string; - }; - export type MetricsQueryResponse = { - results?: Array; - }; - export type MetricsQueryResponseMatrix = { - samples?: Array; - totalSamples?: number; - }; - export type MetricsQueryResponseMetric = { - name?: string; - labels?: { - [key: string]: string; - }; - displayName?: string; - }; - export type MetricsQueryResponseResult = { - matrix?: MetricsQueryResponseMatrix; - error?: string; - alias?: string; - id?: string; - computeStats?: common.ComputeStats; - color?: string; - }; - export type MetricsQueryResponseSample = { - metric?: MetricsQueryResponseMetric; - values?: Array; - }; - export type MetricsQueryResponseValue = { - timestamp?: string; - value?: number; - extraValues?: Array; - }; - export type ObservabilityServiceQueryBody = { - queries?: Array; - formulas?: Array; - time?: string; - samplesLimit?: number; - version?: number; - timezone?: string; - samplesOffset?: number; - enableExperimentalFeatures?: boolean; - }; - export type ObservabilityServiceQueryRangeBody = { - queries?: Array; - formulas?: Array; - samplesLimit?: number; - timeRange: common.TimeRangeLite; - projectId?: string; - version?: number; - samplesOffset?: number; - enableExperimentalFeatures?: boolean; - }; - export type QueryValueResponse = { - results?: Array; - }; - export type QueryValueResponseResult = { - sample?: Array; - error?: string; - alias?: string; - id?: string; - color?: string; - }; - export type GetMetricsData = { - body?: never; - path?: never; - query?: { - projectId?: string; - name?: string; - version?: number; - labelLimit?: string; - labelSearchQuery?: string; - }; - url: '/v1/metrics'; - }; - export type GetMetricsResponses = { - /** - * A successful response. - */ - 200: metrics_service.GetMetricsResponse; - }; - export type GetMetricsResponse2 = GetMetricsResponses[keyof GetMetricsResponses]; - export type QueryInstantData = { - body: metrics_service.ObservabilityServiceQueryBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/metrics/{owner}/{slug}/query'; - }; - export type QueryInstantResponses = { - /** - * A successful response. - */ - 200: metrics_service.QueryValueResponse; - }; - export type QueryInstantResponse = QueryInstantResponses[keyof QueryInstantResponses]; - export type QueryRangeData = { - body: metrics_service.ObservabilityServiceQueryRangeBody; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: never; - url: '/v1/metrics/{owner}/{slug}/query_range'; - }; - export type QueryRangeResponses = { - /** - * A successful response. - */ - 200: metrics_service.MetricsQueryResponse; - }; - export type QueryRangeResponse = QueryRangeResponses[keyof QueryRangeResponses]; -} - -export namespace move_service { - export type GetSuiCallTraceResponse = { - result?: Array; - }; - export type SuiCallTrace = { - from?: string; - to?: string; - contractName?: string; - functionName?: string; - inputs?: Array; - returnValue?: Array; - typeArgs?: Array; - calls?: Array; - location?: unknown; - pc?: number; - gasUsed?: string; - error?: SuiCallTraceError; - }; - export type SuiCallTraceError = { - majorStatus?: string; - subStatus?: string; - message?: string; - location?: SuiCallTraceErrorModuleId; - functionName?: string; - codeOffset?: number; - }; - export type SuiCallTraceErrorModuleId = { - address?: string; - name?: string; - }; - export type GetSuiCallTraceData = { - body?: never; - path?: never; - query?: { - networkId?: string; - txDigest?: string; - }; - url: '/v1/move/sui_call_trace'; - }; - export type GetSuiCallTraceResponses = { - /** - * A successful response. - */ - 200: move_service.GetSuiCallTraceResponse; - }; - export type GetSuiCallTraceResponse2 = GetSuiCallTraceResponses[keyof GetSuiCallTraceResponses]; -} - -export namespace price_service { - export type AddCoinByGeckoRequest = { - coingeckoId?: string; - }; - export type AddCoinByGeckoResponse = { - status?: AddCoinByGeckoResponseStatus; - message?: string; - currentPrice?: number; - timestamp?: string; - symbol?: string; - coins?: Array; - }; - export type AddCoinByGeckoResponseStatus = 'OK' | 'ALREADY_EXISTS' | 'MISMATCH_WITH_EXISTING' | 'GECKO_NOT_FOUND' | 'GECKO_RETURN_NON_SUPPORTED_CHAIN' | 'GECKO_HAS_DUPLICATE_SYMBOL'; - export type BatchGetPricesRequest = { - timestamps?: Array; - coinIds?: Array; - experimentalFlag?: ExperimentalFlag; - }; - export type BatchGetPricesResponse = { - prices?: Array; - }; - export type BatchGetPricesResponseCoinPrice = { - coinId?: CoinId2; - price?: BatchGetPricesResponseCoinPricePrice; - error?: string; - }; - export type BatchGetPricesResponseCoinPricePrice = { - results?: Array; - }; - export type CheckLatestPriceResponse = { - prices?: Array; - latestPrice?: CheckLatestPriceResponseCoinPrice; - }; - export type CheckLatestPriceResponseCoinPrice = { - coinId?: CoinId2; - price?: number; - timestamp?: string; - }; - /** - * The identifier of a coin. - */ - export type CoinId2 = { - symbol?: string; - address?: CoinIdAddressIdentifier2; - }; - /** - * The coin can be defined as a symbol, e.g. BTC, ETH, etc, or an address + chain. - * The format of the chain is consistent with the Sentio internal representation. - */ - export type CoinIdAddressIdentifier2 = { - address?: string; - chain?: string; - }; - export type ExperimentalFlag = { - enablePythSource?: boolean; - }; - /** - * GetPriceResponse is the response for GetPrice. - */ - export type GetPriceResponse = { - /** - * Price in USD. - */ - price?: number; - /** - * The actual timestamp of the price returned. - */ - timestamp?: string; - source?: string; - }; - export type ListCoinsResponse2 = { - coins?: Array; - coinAddressesInChain?: { - [key: string]: CoinId2; - }; - }; - export type GetPriceData = { - body?: never; - path?: never; - query?: { - /** - * The timestamp we request the price at. Note, the price service may not have - * the price at the exact timestamp, in which case it will return the price - * at the closest timestamp. - */ - timestamp?: string; - 'coinId.symbol'?: string; - 'coinId.address.address'?: string; - 'coinId.address.chain'?: string; - source?: string; - 'experimentalFlag.enablePythSource'?: boolean; - }; - url: '/v1/prices'; - }; - export type GetPriceResponses = { - /** - * A successful response. - */ - 200: price_service.GetPriceResponse; - }; - export type GetPriceResponse2 = GetPriceResponses[keyof GetPriceResponses]; - export type AddCoinByGeckoData = { - body: price_service.AddCoinByGeckoRequest; - path?: never; - query?: never; - url: '/v1/prices/add_coin_by_gecko'; - }; - export type AddCoinByGeckoResponses = { - /** - * A successful response. - */ - 200: price_service.AddCoinByGeckoResponse; - }; - export type AddCoinByGeckoResponse2 = AddCoinByGeckoResponses[keyof AddCoinByGeckoResponses]; - export type BatchGetPricesData = { - body: price_service.BatchGetPricesRequest; - path?: never; - query?: never; - url: '/v1/prices/batch'; - }; - export type BatchGetPricesResponses = { - /** - * A successful response. - */ - 200: price_service.BatchGetPricesResponse; - }; - export type BatchGetPricesResponse2 = BatchGetPricesResponses[keyof BatchGetPricesResponses]; - export type CheckLatestPriceData = { - body?: never; - path?: never; - query?: never; - url: '/v1/prices/check_latest'; - }; - export type CheckLatestPriceResponses = { - /** - * A successful response. - */ - 200: price_service.CheckLatestPriceResponse; - }; - export type CheckLatestPriceResponse2 = CheckLatestPriceResponses[keyof CheckLatestPriceResponses]; - export type PriceListCoinsData = { - body?: never; - path?: never; - query?: { - limit?: number; - offset?: number; - searchQuery?: string; - chain?: string; - }; - url: '/v1/prices/coins'; - }; - export type PriceListCoinsResponses = { - /** - * A successful response. - */ - 200: price_service.ListCoinsResponse2; - }; - export type PriceListCoinsResponse = PriceListCoinsResponses[keyof PriceListCoinsResponses]; -} - -export namespace processor_service { - export type ChainState = { - /** - * The chain id. - */ - chainId?: string; - /** - * The most recently processed block number and block hash. - */ - processedBlockNumber?: string; - processedTimestampMicros?: string; - processedBlockHash?: string; - processedVersion?: number; - status?: ChainStateStatus; - updatedAt?: string; - /** - * The serialized templates info. - */ - templates?: string; - /** - * The serialized indexer state. - */ - indexerState?: string; - /** - * The serialized meter state. - */ - meterState?: string; - handlerStat?: string; - initialStartBlockNumber?: string; - estimatedLatestBlockNumber?: string; - lastBlockNumber?: string; - /** - * To be deprecated after the migration. - */ - trackers?: string; - }; - export type ChainStateStatus = { - state?: ChainStateStatusState; - errorRecord?: common.ErrorRecord; - }; - export type ChainStateStatusState = 'UNKNOWN' | 'ERROR' | 'CATCHING_UP' | 'PROCESSING_LATEST' | 'QUEUING'; - export type GetProcessorSourceFilesResponse = { - sourceFiles?: Array; - }; - export type GetProcessorStatusRequestV2VersionSelector = 'ACTIVE' | 'PENDING' | 'ALL'; - export type GetProcessorStatusResponse = { - processors?: Array; - }; - export type GetProcessorStatusResponseProcessorEx = { - states?: Array; - processorId?: string; - codeHash?: string; - commitSha?: string; - uploadedBy?: common.UserInfo; - uploadedAt?: string; - processorStatus?: GetProcessorStatusResponseProcessorStatus; - version?: number; - sdkVersion?: string; - gitUrl?: string; - versionState?: ProcessorVersionState; - versionLabel?: string; - ipfsHash?: string; - debugFork?: string; - cliVersion?: string; - referenceProjectId?: string; - warnings?: Array; - pause?: boolean; - pauseAt?: string; - pauseReason?: string; - networkOverrides?: Array; - driverVersion?: string; - numWorkers?: string; - entitySchema?: string; - snChainId?: string; - snRequiredChains?: Array; - entitySchemaVersion?: number; - }; - export type GetProcessorStatusResponseProcessorStatus = { - state?: GetProcessorStatusResponseProcessorStatusState; - errorRecord?: common.ErrorRecord; - }; - export type GetProcessorStatusResponseProcessorStatusState = 'UNKNOWN' | 'ERROR' | 'STARTING' | 'PROCESSING'; - export type NetworkOverride = { - chain?: string; - host?: string; - }; - export type ProcessorSourceFile = { - path?: string; - content?: string; - }; - export type ProcessorVersionState = 'UNKNOWN' | 'PENDING' | 'ACTIVE' | 'OBSOLETE'; - export type ActivatePendingVersionData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: never; - url: '/v1/processors/{owner}/{slug}/activate_pending'; - }; - export type ActivatePendingVersionResponses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type ActivatePendingVersionResponse = ActivatePendingVersionResponses[keyof ActivatePendingVersionResponses]; - export type GetProcessorSourceFilesData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - /** - * Optional version to fetch. If omitted, use latest active version. - */ - version?: number; - }; - url: '/v1/processors/{owner}/{slug}/source_files'; - }; - export type GetProcessorSourceFilesResponses = { - /** - * A successful response. - */ - 200: processor_service.GetProcessorSourceFilesResponse; - }; - export type GetProcessorSourceFilesResponse2 = GetProcessorSourceFilesResponses[keyof GetProcessorSourceFilesResponses]; - export type GetProcessorStatusV2Data = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - /** - * - ACTIVE: Only active version - * - PENDING: Only pending versions - * - ALL: All version - */ - version?: 'ACTIVE' | 'PENDING' | 'ALL'; - }; - url: '/v1/processors/{owner}/{slug}/status'; - }; - export type GetProcessorStatusV2Responses = { - /** - * A successful response. - */ - 200: processor_service.GetProcessorStatusResponse; - }; - export type GetProcessorStatusV2Response = GetProcessorStatusV2Responses[keyof GetProcessorStatusV2Responses]; -} - -export namespace solidity_service { - export type BaseChainConfig = { - endpoint?: string; - debugEndpoint?: string; - sourceFetcherType?: SourceFetcherType; - sourceFetcherEndpoint?: string; - sourceFetcherTimeout?: string; - sourceFetcherApiKeys?: Array; - oklinkChainShortName?: string; - }; - export type BlockOverrides = { - blockNumber?: string; - timestamp?: string; - gasLimit?: string; - difficulty?: string; - baseFee?: string; - blockHash?: { - [key: string]: string; - }; - }; - export type ChainIdentifier = { - chainId?: string; - forkId?: string; - }; - export type CreateForkResponse = { - fork?: Fork; - }; - export type EvmRawTransaction = { - hash?: string; - blockNumber?: string; - isIn?: boolean; - trace?: boolean; - tx?: evm.Transaction; - json?: string; - timestamp?: string; - transactionStatus?: number; - methodSignature?: string; - methodSignatureText?: string; - abiItem?: string; - }; - export type EvmSearchTransactionsResponse = { - transactions?: Array; - nextPageToken?: string; - }; - export type ExternalFork = { - chainConfig?: BaseChainConfig; - nodeAdditionalHeaders?: string; - }; - export type Fork = { - id?: string; - type?: ForkType; - name?: string; - extra?: string; - managedFork?: ManagedFork; - externalFork?: ExternalFork; - createTime?: string; - updateTime?: string; - }; - export type ForkServiceCreateForkBody = { - fork: Fork; - }; - export type ForkServiceUpdateForkBody = { - fork: Fork; - }; - export type ForkType = 'MANAGED' | 'EXTERNAL'; - export type GetForkInfoResponse = { - currentBlockNumber?: string; - currentBlockTimestamp?: string; - currentBlockHash?: string; - hardFork?: string; - transactionOrder?: string; - environment?: NodeEnvironment; - forkConfig?: NodeForkConfig; - }; - export type GetForkResponse = { - fork?: Fork; - }; - export type GetSimulationBundleResponse = { - simulations?: Array; - error?: string; - }; - export type GetSimulationResponse = { - simulation?: Simulation; - }; - export type GetSimulationsResponse = { - simulations?: Array; - count?: string; - page?: number; - pageSize?: number; - }; - export type ListForksResponse = { - forks?: Array; - }; - export type ManagedFork = { - parentChainSpec?: ChainIdentifier; - parentRpcEndpoint?: string; - parentBlockNumber?: string; - chainId?: string; - rpcEndpoint?: string; - version?: string; - }; - export type NodeEnvironment = { - chainId?: string; - baseFee?: string; - gasLimit?: string; - gasPrice?: string; - }; - export type NodeForkConfig = { - forkUrl?: string; - forkBlockNumber?: string; - forkRetryBackoff?: string; - }; - export type SimulateTransactionBundleResponse = { - bundleId?: string; - simulations?: Array; - error?: string; - }; - export type SimulateTransactionResponse = { - simulation?: Simulation; - }; - export type Simulation = { - id?: string; - createAt?: string; - bundleId?: string; - networkId: string; - chainId?: string; - chainSpec: ChainIdentifier; - to: string; - input: string; - /** - * Can be "latest". - */ - blockNumber: string; - transactionIndex: string; - from: string; - gas: string; - gasPrice: string; - maxFeePerGas?: string; - maxPriorityFeePerGas?: string; - value: string; - accessList?: Array; - originTxHash?: string; - label?: string; - stateOverrides?: { - [key: string]: StateOverride; - }; - sourceOverrides?: { - [key: string]: string; - }; - blockOverride?: BlockOverrides; - debugDeployment?: boolean; - result?: SimulationResult; - sharing?: SimulationSharing; - }; - export type SimulationResult = { - transaction?: evm.Transaction; - transactionReceipt?: evm.TransactionReceipt; - }; - export type SimulationSharing = { - isPublic?: boolean; - id?: string; - simulationId?: string; - }; - export type SolidityApiServiceSimulateTransactionBody = { - simulation: Simulation; - }; - export type SolidityApiServiceSimulateTransactionBundleBody = { - /** - * For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect. - */ - simulations: Array; - }; - export type SolidityApiServiceSimulateTransactionBundleOnForkBody = { - /** - * For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect. - */ - simulations: Array; - }; - export type SolidityApiServiceSimulateTransactionOnForkBody = { - simulation: Simulation; - }; - export type SourceFetcherType = 'ETHERSCAN' | 'BLOCKSCOUT' | 'OKLINK' | 'ETHERSCAN_V2'; - export type StateOverride = { - state?: { - [key: string]: string; - }; - /** - * uint256 - */ - balance?: string; - code?: string; - }; - export type UpdateForkResponse = { - fork?: Fork; - }; - export type ListForksData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork'; - }; - export type ListForksResponses = { - /** - * A successful response. - */ - 200: solidity_service.ListForksResponse; - }; - export type ListForksResponse2 = ListForksResponses[keyof ListForksResponses]; - export type CreateForkData = { - body: solidity_service.ForkServiceCreateForkBody; - path: { - owner: string; - slug: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork'; - }; - export type CreateForkResponses = { - /** - * A successful response. - */ - 200: solidity_service.CreateForkResponse; - }; - export type CreateForkResponse2 = CreateForkResponses[keyof CreateForkResponses]; - export type SimulateTransactionOnForkData = { - body: solidity_service.SolidityApiServiceSimulateTransactionOnForkBody; - path: { - owner: string; - slug: string; - forkId: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation'; - }; - export type SimulateTransactionOnForkResponses = { - /** - * A successful response. - */ - 200: solidity_service.SimulateTransactionResponse; - }; - export type SimulateTransactionOnForkResponse = SimulateTransactionOnForkResponses[keyof SimulateTransactionOnForkResponses]; - export type SimulateTransactionBundleOnForkData = { - body: solidity_service.SolidityApiServiceSimulateTransactionBundleOnForkBody; - path: { - owner: string; - slug: string; - forkId: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork/{forkId}/simulation_bundle'; - }; - export type SimulateTransactionBundleOnForkResponses = { - /** - * A successful response. - */ - 200: solidity_service.SimulateTransactionBundleResponse; - }; - export type SimulateTransactionBundleOnForkResponse = SimulateTransactionBundleOnForkResponses[keyof SimulateTransactionBundleOnForkResponses]; - export type GetForkData = { - body?: never; - path: { - owner: string; - slug: string; - id: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork/{id}'; - }; - export type GetForkResponses = { - /** - * A successful response. - */ - 200: solidity_service.GetForkResponse; - }; - export type GetForkResponse2 = GetForkResponses[keyof GetForkResponses]; - export type UpdateForkData = { - body: solidity_service.ForkServiceUpdateForkBody; - path: { - owner: string; - slug: string; - id: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork/{id}'; - }; - export type UpdateForkResponses = { - /** - * A successful response. - */ - 200: solidity_service.UpdateForkResponse; - }; - export type UpdateForkResponse2 = UpdateForkResponses[keyof UpdateForkResponses]; - export type GetForkInfoData = { - body?: never; - path: { - owner: string; - slug: string; - id: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork/{id}/info'; - }; - export type GetForkInfoResponses = { - /** - * A successful response. - */ - 200: solidity_service.GetForkInfoResponse; - }; - export type GetForkInfoResponse2 = GetForkInfoResponses[keyof GetForkInfoResponses]; - export type SearchTransactionsData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - chainId?: Array; - address?: Array; - includeDirect?: boolean; - includeTrace?: boolean; - includeIn?: boolean; - includeOut?: boolean; - startBlock?: string; - endBlock?: string; - startTimestamp?: string; - endTimestamp?: string; - transactionStatus?: Array; - methodSignature?: string; - limit?: number; - pageToken?: string; - }; - url: '/v1/solidity/{owner}/{slug}/search_transactions'; - }; - export type SearchTransactionsResponses = { - /** - * A successful response. - */ - 200: solidity_service.EvmSearchTransactionsResponse; - }; - export type SearchTransactionsResponse = SearchTransactionsResponses[keyof SearchTransactionsResponses]; - export type GetSimulationsData = { - body?: never; - path: { - owner: string; - slug: string; - }; - query?: { - labelContains?: string; - page?: number; - pageSize?: number; - }; - url: '/v1/solidity/{owner}/{slug}/simulation'; - }; - export type GetSimulationsResponses = { - /** - * A successful response. - */ - 200: solidity_service.GetSimulationsResponse; - }; - export type GetSimulationsResponse2 = GetSimulationsResponses[keyof GetSimulationsResponses]; - export type GetSimulationData = { - body?: never; - path: { - owner: string; - slug: string; - simulationId: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/simulation/{simulationId}'; - }; - export type GetSimulationResponses = { - /** - * A successful response. - */ - 200: solidity_service.GetSimulationResponse; - }; - export type GetSimulationResponse2 = GetSimulationResponses[keyof GetSimulationResponses]; - export type GetSimulationBundleInProjectData = { - body?: never; - path: { - owner: string; - slug: string; - bundleId: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/simulation_bundle/{bundleId}'; - }; - export type GetSimulationBundleInProjectResponses = { - /** - * A successful response. - */ - 200: solidity_service.GetSimulationBundleResponse; - }; - export type GetSimulationBundleInProjectResponse = GetSimulationBundleInProjectResponses[keyof GetSimulationBundleInProjectResponses]; - export type SimulateTransactionData = { - body: solidity_service.SolidityApiServiceSimulateTransactionBody; - path: { - owner: string; - slug: string; - chainId: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/{chainId}/simulation'; - }; - export type SimulateTransactionResponses = { - /** - * A successful response. - */ - 200: solidity_service.SimulateTransactionResponse; - }; - export type SimulateTransactionResponse2 = SimulateTransactionResponses[keyof SimulateTransactionResponses]; - export type SimulateTransactionBundleData = { - body: solidity_service.SolidityApiServiceSimulateTransactionBundleBody; - path: { - owner: string; - slug: string; - chainId: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/{chainId}/simulation_bundle'; - }; - export type SimulateTransactionBundleResponses = { - /** - * A successful response. - */ - 200: solidity_service.SimulateTransactionBundleResponse; - }; - export type SimulateTransactionBundleResponse2 = SimulateTransactionBundleResponses[keyof SimulateTransactionBundleResponses]; -} - -export namespace web_service { - export type Chart = { - type?: ChartType2; - queries?: Array; - formulas?: Array; - config?: ChartConfig; - note?: Note; - datasourceType?: ChartDataSourceType; - segmentationQueries?: Array; - insightsQueries?: Array; - eventLogsConfig?: EventLogsConfig; - retentionQuery?: common.RetentionQuery; - sqlQuery?: string; - sqlQueryId?: string; - sqlExecuteEngine?: analytic_service.ExecuteEngine; - enableExperimentalFeatures?: boolean; - overlayGraphs?: Array; - group?: Group; - }; - export type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL' | 'GROUP'; - export type ChartConfig = { - yAxis?: ChartConfigYAxisConfig; - barGauge?: ChartConfigBarGaugeConfig; - valueConfig?: ChartConfigValueConfig; - timeRangeOverride?: ChartConfigTimeRangeOverride; - tableConfig?: ChartConfigTableConfig; - queryValueConfig?: ChartConfigQueryValueConfig; - pieConfig?: ChartConfigPieConfig; - markers?: Array; - lineConfig?: ChartConfigLineConfig; - xAxis?: ChartConfigXAxisConfig; - labelConfig?: ChartConfigLabelConfig; - scatterConfig?: ChartConfigScatterConfig; - seriesConfig?: ChartConfigSeriesConfig; - dataConfig?: ChartConfigDataConfig; - }; - export type ChartConfigBarGaugeConfig = { - direction?: ChartConfigDirection; - calculation?: ChartConfigCalculation; - sort?: ChartConfigSort; - }; - export type ChartConfigCalculation = 'LAST' | 'FIRST' | 'MEAN' | 'TOTAL' | 'ALL' | 'MIN' | 'MAX'; - export type ChartConfigColorTheme = { - textColor?: string; - backgroundColor?: string; - themeType?: string; - }; - export type ChartConfigColumnSort = { - column?: string; - orderDesc?: boolean; - }; - export type ChartConfigCompareTime = { - ago?: common.Duration; - }; - export type ChartConfigDataConfig = { - seriesLimit?: number; - }; - export type ChartConfigDirection = 'HORIZONTAL' | 'VERTICAL'; - export type ChartConfigLabelConfig = { - columns?: Array; - alias?: string; - }; - export type ChartConfigLabelConfigColumn = { - name?: string; - showLabel?: boolean; - showValue?: boolean; - }; - export type ChartConfigLineConfig = { - style?: ChartConfigLineConfigStyle; - smooth?: boolean; - }; - export type ChartConfigLineConfigStyle = 'Solid' | 'Dotted'; - export type ChartConfigMappingRule = { - comparison?: string; - value?: number; - text?: string; - colorTheme?: ChartConfigColorTheme; - }; - export type ChartConfigMarker = { - type?: ChartConfigMarkerType; - value?: number; - color?: string; - label?: string; - valueX?: string; - }; - export type ChartConfigMarkerType = 'LINE' | 'AREA' | 'LINEX'; - export type ChartConfigPieConfig = { - pieType?: ChartConfigPieConfigPieType; - showPercent?: boolean; - showValue?: boolean; - calculation?: ChartConfigCalculation; - absValue?: boolean; - }; - export type ChartConfigPieConfigPieType = 'Pie' | 'Donut'; - export type ChartConfigQueryValueConfig = { - colorTheme?: ChartConfigColorTheme; - showBackgroundChart?: boolean; - calculation?: ChartConfigCalculation; - seriesCalculation?: ChartConfigCalculation; - }; - export type ChartConfigScatterConfig = { - symbolSize?: string; - color?: string; - minSize?: number; - maxSize?: number; - }; - export type ChartConfigSeriesConfig = { - series?: { - [key: string]: ChartConfigSeriesConfigSeries; - }; - }; - export type ChartConfigSeriesConfigSeries = { - type?: ChartType2; - }; - export type ChartConfigSort = { - sortBy?: ChartConfigSortBy; - orderDesc?: boolean; - }; - export type ChartConfigSortBy = 'ByName' | 'ByValue'; - export type ChartConfigTableConfig = { - calculation?: ChartConfigCalculation; - showColumns?: { - [key: string]: boolean; - }; - sortColumns?: Array; - columnOrders?: Array; - columnWidths?: { - [key: string]: number; - }; - showPlainData?: boolean; - calculations?: { - [key: string]: ChartConfigCalculation; - }; - valueConfigs?: { - [key: string]: ChartConfigValueConfig; - }; - rowLimit?: number; - }; - export type ChartConfigTimeRangeOverride = { - enabled?: boolean; - timeRange?: common.TimeRange; - compareTime?: ChartConfigCompareTime; - }; - export type ChartConfigValueConfig = { - valueFormatter?: ChartConfigValueFormatter; - showValueLabel?: boolean; - maxSignificantDigits?: number; - dateFormat?: string; - mappingRules?: Array; - style?: ChartConfigValueConfigStyle; - maxFractionDigits?: number; - precision?: number; - currencySymbol?: string; - tooltipTotal?: boolean; - prefix?: string; - suffix?: string; - }; - export type ChartConfigValueConfigStyle = 'Standard' | 'Compact' | 'Scientific' | 'Percent' | 'Currency' | 'None'; - export type ChartConfigValueFormatter = 'NumberFormatter' | 'DateFormatter' | 'StringFormatter'; - export type ChartConfigXAxisConfig = { - type?: string; - min?: string; - max?: string; - scale?: boolean; - name?: string; - column?: string; - sort?: ChartConfigSort; - format?: string; - }; - export type ChartConfigYAxisConfig = { - min?: string; - max?: string; - scale?: boolean; - stacked?: string; - column?: string; - name?: string; - }; - export type ChartType2 = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER' | 'GROUP'; - export type Dashboard = { - id?: string; - name?: string; - projectId?: string; - description?: string; - createdAt?: string; - updatedAt?: string; - panels?: { - [key: string]: Panel; - }; - layouts?: DashboardResponsiveLayouts; - extra?: DashboardExtra; - sharing?: DashboardSharing; - default?: boolean; - isPinned?: boolean; - visibility?: DashboardDashboardVisibility; - ownerId?: string; - tags?: Array; - url?: string; - projectOwner?: string; - projectSlug?: string; - createPanels?: Array; - editPanels?: Array; - }; - export type DashboardDashboardVisibility = 'INTERNAL' | 'PRIVATE' | 'PUBLIC'; - export type DashboardExtra = { - templateVariables?: { - [key: string]: DashboardExtraTemplateVariable; - }; - templateViews?: Array; - }; - export type DashboardExtraTemplateVariable = { - field?: string; - defaultValue?: string; - sourceName?: string; - options?: Array; - }; - export type DashboardExtraTemplateView = { - values?: { - [key: string]: string; - }; - }; - export type DashboardLayouts = { - layouts?: Array; - }; - export type DashboardLayoutsLayout = { - i?: string; - x?: number; - y?: number; - w?: number; - h?: number; - }; - export type DashboardResponsiveLayouts = { - responsiveLayouts?: { - [key: string]: DashboardLayouts; - }; - }; - export type DashboardHistory = { - id?: number; - dashboardId?: string; - version?: number; - name?: string; - description?: string; - projectId?: string; - layouts?: DashboardResponsiveLayouts; - extra?: DashboardExtra; - tags?: Array; - url?: string; - default?: boolean; - isPinned?: boolean; - ownerId?: string; - visibility?: DashboardDashboardVisibility; - createdAt?: string; - createdById?: string; - }; - export type DashboardSharing = { - id?: string; - dashboardId?: string; - isPublic?: boolean; - viewers?: Array; - config?: SharingConfig; - }; - export type EventLogsConfig = { - columnsConfig?: common.EventLogConfig; - timeRangeOverride?: EventLogsConfigTimeRangeOverride; - query?: string; - sourceName?: string; - }; - export type EventLogsConfigTimeRangeOverride = { - enabled?: boolean; - timeRange?: common.TimeRange; - }; - export type ExportDashboardResponse = { - dashboardJson?: Dashboard; - }; - export type GetDashboardHistoryResponse = { - histories?: Array; - total?: number; - }; - export type GetDashboardResponse = { - dashboards?: Array; - permissions?: Array; - }; - /** - * Configuration for a GROUP-typed Panel — a collapsible container that holds - * other panels referencing it via Panel.group_id. Groups cannot nest. - */ - export type Group = { - title?: string; - collapsed?: boolean; - childLayouts?: DashboardResponsiveLayouts; - style?: GroupStyle; - /** - * Palette key (e.g. "green", "purple") used to derive the header - * background. Empty string keeps the theme default. - */ - highlightColor?: string; - }; - /** - * Visual treatment for the Group's header card. Default = plain border; - * Emphasis = solid highlight_color tint behind the title row. - */ - export type GroupStyle = 'DEFAULT' | 'EMPHASIS'; - export type ImportDashboardRequest = { - /** - * The id of the target dashboard to import into. - */ - dashboardId: string; - dashboardJson: Dashboard; - /** - * Override the layout of target dashboard. - */ - overrideLayouts?: boolean; - }; - export type ImportDashboardResponse = { - dashboard?: Dashboard; - }; - export type LinkAccountSession = { - sessionId?: string; - }; - export type Note = { - content?: string; - fontSize?: NoteFontSize; - textAlign?: NoteAlignment; - verticalAlign?: NoteVerticalAlignment; - backgroundColor?: string; - textColor?: string; - }; - export type NoteAlignment = 'LEFT' | 'CENTER' | 'RIGHT'; - export type NoteFontSize = 'MD' | 'SM' | 'LG' | 'XL' | 'XXL'; - export type NoteVerticalAlignment = 'TOP' | 'MIDDLE' | 'BOTTOM'; - /** - * An additional graph overlaid on the primary chart, with its own queries - * and Y-axis configuration. Chart type defaults to the parent chart type. - */ - export type OverlayGraph = { - insightsQueries?: Array; - formulas?: Array; - yAxis?: ChartConfigYAxisConfig; - name?: string; - lineConfig?: ChartConfigLineConfig; - valueConfig?: ChartConfigValueConfig; - dataConfig?: ChartConfigDataConfig; - sqlQuery?: string; - sqlQueryId?: string; - sqlExecuteEngine?: analytic_service.ExecuteEngine; - chartType?: ChartType2; - }; - export type Panel = { - id?: string; - name?: string; - dashboardId?: string; - chart?: Chart; - creator?: common.UserInfo; - updater?: common.UserInfo; - /** - * When non-empty, this panel renders inside the Group panel identified by group_id. - * GROUP-typed panels must keep this field empty (groups cannot nest). - */ - groupId?: string; - }; - export type SharingConfig = { - isReadonly?: boolean; - hideModifiers?: boolean; - }; - export type ListDashboardsData = { - body?: never; - path?: never; - query?: { - /** - * filter the dashboard by id - */ - dashboardId?: string; - /** - * filter the dashboard by project id - */ - projectId?: string; - /** - * username or organization name - */ - ownerName?: string; - /** - * project slug - */ - slug?: string; - }; - url: '/v1/dashboards'; - }; - export type ListDashboardsResponses = { - /** - * A successful response. - */ - 200: GetDashboardResponse; - }; - export type ListDashboardsResponse = ListDashboardsResponses[keyof ListDashboardsResponses]; - export type ImportDashboardData = { - body: ImportDashboardRequest; - path?: never; - query?: never; - url: '/v1/dashboards/json'; - }; - export type ImportDashboardResponses = { - /** - * A successful response. - */ - 200: ImportDashboardResponse; - }; - export type ImportDashboardResponse2 = ImportDashboardResponses[keyof ImportDashboardResponses]; - export type DeleteDashboardData = { - body?: never; - path: { - /** - * filter the dashboard by id - */ - dashboardId: string; - }; - query?: { - /** - * filter the dashboard by project id - */ - projectId?: string; - /** - * username or organization name - */ - ownerName?: string; - /** - * project slug - */ - slug?: string; - }; - url: '/v1/dashboards/{dashboardId}'; - }; - export type DeleteDashboardResponses = { - /** - * A successful response. - */ - 200: Dashboard; - }; - export type DeleteDashboardResponse = DeleteDashboardResponses[keyof DeleteDashboardResponses]; - export type GetDashboardData = { - body?: never; - path: { - /** - * filter the dashboard by id - */ - dashboardId: string; - }; - query?: { - /** - * filter the dashboard by project id - */ - projectId?: string; - /** - * username or organization name - */ - ownerName?: string; - /** - * project slug - */ - slug?: string; - }; - url: '/v1/dashboards/{dashboardId}'; - }; - export type GetDashboardResponses = { - /** - * A successful response. - */ - 200: GetDashboardResponse; - }; - export type GetDashboardResponse2 = GetDashboardResponses[keyof GetDashboardResponses]; - export type GetDashboardHistoryData = { - body?: never; - path: { - dashboardId: string; - }; - query?: { - limit?: number; - offset?: number; - }; - url: '/v1/dashboards/{dashboardId}/history'; - }; - export type GetDashboardHistoryResponses = { - /** - * A successful response. - */ - 200: GetDashboardHistoryResponse; - }; - export type GetDashboardHistoryResponse2 = GetDashboardHistoryResponses[keyof GetDashboardHistoryResponses]; - export type ExportDashboardData = { - body?: never; - path: { - dashboardId: string; - }; - query?: never; - url: '/v1/dashboards/{dashboardId}/json'; - }; - export type ExportDashboardResponses = { - /** - * A successful response. - */ - 200: ExportDashboardResponse; - }; - export type ExportDashboardResponse2 = ExportDashboardResponses[keyof ExportDashboardResponses]; - export type ListDashboards2Data = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - }; - query?: { - /** - * filter the dashboard by id - */ - dashboardId?: string; - /** - * filter the dashboard by project id - */ - projectId?: string; - }; - url: '/v1/projects/{owner}/{slug}/dashboards'; - }; - export type ListDashboards2Responses = { - /** - * A successful response. - */ - 200: GetDashboardResponse; - }; - export type ListDashboards2Response = ListDashboards2Responses[keyof ListDashboards2Responses]; - export type GetDashboard2Data = { - body?: never; - path: { - /** - * username or organization name - */ - owner: string; - /** - * project slug - */ - slug: string; - /** - * filter the dashboard by id - */ - dashboardId: string; - }; - query?: { - /** - * filter the dashboard by project id - */ - projectId?: string; - }; - url: '/v1/projects/{owner}/{slug}/dashboards/{dashboardId}'; - }; - export type GetDashboard2Responses = { - /** - * A successful response. - */ - 200: GetDashboardResponse; - }; - export type GetDashboard2Response = GetDashboard2Responses[keyof GetDashboard2Responses]; - export type CreateLinkSessionData = { - body?: never; - path?: never; - query?: never; - url: '/v1/users/link'; - }; - export type CreateLinkSessionResponses = { - /** - * A successful response. - */ - 200: LinkAccountSession; - }; - export type CreateLinkSessionResponse = CreateLinkSessionResponses[keyof CreateLinkSessionResponses]; -} - -export namespace solidit_service { - export type DeleteForkData = { - body?: never; - path: { - owner: string; - slug: string; - id: string; - }; - query?: never; - url: '/v1/solidity/{owner}/{slug}/fork/{id}'; - }; - export type DeleteForkResponses = { - /** - * A successful response. - */ - 200: { - [key: string]: unknown; - }; - }; - export type DeleteForkResponse = DeleteForkResponses[keyof DeleteForkResponses]; -} - -export type ClientOptions = { - baseUrl: 'https://api.sentio.xyz' | (string & {}); -}; \ No newline at end of file diff --git a/test/simple.test.ts b/test/simple.test.ts index 230def6..9945b59 100644 --- a/test/simple.test.ts +++ b/test/simple.test.ts @@ -1,14 +1,18 @@ -import { client, WebService } from "../src/index.js"; -import test from "node:test"; -import assert from "assert"; +import test from 'node:test' +import assert from 'node:assert/strict' +import { createSentioClient, createSentioTransport, WebService, InsightsService } from '../src/index.js' -test("listDashboards", async () => { - const apiKey = process.env.SENTIO_API_KEY; - assert(apiKey, "API key can't be found for the test"); +test('constructs clients offline', () => { + const transport = createSentioTransport({ apiKey: 'dummy' }) + assert.ok(transport) + const web = createSentioClient(WebService, { apiKey: 'dummy' }) + assert.equal(typeof web.listDashboards, 'function') + const insights = createSentioClient(InsightsService, { apiKey: 'dummy' }) + assert.equal(typeof insights.query, 'function') +}) - client.setConfig({ - auth: process.env.SENTIO_API_KEY, - }); - const dashboards = await WebService.listDashboards(); - console.log(dashboards); -}); +test('listDashboards', { skip: !process.env.SENTIO_API_KEY }, async () => { + const web = createSentioClient(WebService, { apiKey: process.env.SENTIO_API_KEY }) + const dashboards = await web.listDashboards({}) + console.log(dashboards) +}) diff --git a/tsconfig.json b/tsconfig.json index fe6091e..2793da6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ "resolveJsonModule": true, "module": "nodenext", "moduleResolution": "nodenext", + "types": ["node"], "strictNullChecks": true, "stripInternal": true, "noFallthroughCasesInSwitch": true,