diff --git a/openapi/client.gen.ts b/openapi/client.gen.ts index aefd48d..a818e8f 100644 --- a/openapi/client.gen.ts +++ b/openapi/client.gen.ts @@ -1,6 +1,7 @@ // This file is auto-generated by @hey-api/openapi-ts import { + type Client, type ClientOptions, type Config, createClient, @@ -20,6 +21,6 @@ export type CreateClientConfig = ( override?: Config, ) => Config & T>; -export const client = createClient( +export const client: Client = createClient( createConfig({ baseUrl: "/api" }), ); diff --git a/openapi/client/index.ts b/openapi/client/index.ts index 2752978..b11852d 100644 --- a/openapi/client/index.ts +++ b/openapi/client/index.ts @@ -9,6 +9,8 @@ export { } from "../core/bodySerializer.gen.js"; export { buildClientParams } from "../core/params.gen.js"; export { serializeQueryKeyValue } from "../core/queryKeySerializer.gen.js"; +export type { ServerSentEventsResult } from "../core/serverSentEvents.gen.js"; +export type { ClientMeta } from "../core/types.gen.js"; export { createClient } from "./client.gen.js"; export type { Client, diff --git a/openapi/client/utils.gen.ts b/openapi/client/utils.gen.ts index 9361c6a..d0dfff5 100644 --- a/openapi/client/utils.gen.ts +++ b/openapi/client/utils.gen.ts @@ -19,8 +19,8 @@ import type { export const createQuerySerializer = ({ parameters = {}, ...args -}: QuerySerializerOptions = {}) => { - const querySerializer = (queryParams: T) => { +}: QuerySerializerOptions = {}): ((queryParams: T) => string) => { + const querySerializer = (queryParams: T): string => { const search: string[] = []; if (queryParams && typeof queryParams === "object") { for (const name in queryParams) { diff --git a/openapi/core/auth.gen.ts b/openapi/core/auth.gen.ts index 3d74115..ba7b765 100644 --- a/openapi/core/auth.gen.ts +++ b/openapi/core/auth.gen.ts @@ -9,6 +9,13 @@ export interface Auth { * @default 'header' */ in?: "header" | "query" | "cookie"; + /** + * A unique identifier for the security scheme. + * + * Defined only when there are multiple security schemes whose `Auth` + * shape would otherwise be identical. + */ + key?: string; /** * Header or query parameter name. * diff --git a/openapi/core/params.gen.ts b/openapi/core/params.gen.ts index 86bf623..7145250 100644 --- a/openapi/core/params.gen.ts +++ b/openapi/core/params.gen.ts @@ -62,7 +62,7 @@ type KeyMap = Map< } >; -const buildKeyMap = (fields: FieldsConfig, map?: KeyMap): KeyMap => { +function buildKeyMap(fields: FieldsConfig, map?: KeyMap): KeyMap { if (!map) { map = new Map(); } @@ -85,17 +85,18 @@ const buildKeyMap = (fields: FieldsConfig, map?: KeyMap): KeyMap => { } return map; -}; +} interface Params { - body: unknown; + body?: unknown; headers: Record; path: Record; query: Record; } -const stripEmptySlots = (params: Params) => { +function stripEmptySlots(params: Params): void { for (const [slot, value] of Object.entries(params)) { + if (slot === "body") continue; if ( value && typeof value === "object" && @@ -105,14 +106,13 @@ const stripEmptySlots = (params: Params) => { delete params[slot as Slot]; } } -}; +} -export const buildClientParams = ( +export function buildClientParams( args: ReadonlyArray, fields: FieldsConfig, -) => { +): Params { const params: Params = { - body: Object.create(null), headers: Object.create(null), path: Object.create(null), query: Object.create(null), @@ -120,6 +120,15 @@ export const buildClientParams = ( const map = buildKeyMap(fields); + function writeSlot(slot: Slot, key: string, value: unknown): void { + let record = params[slot] as Record | undefined; + if (record === undefined) { + record = Object.create(null) as Record; + params[slot] = record; + } + record[key] = value; + } + let config: FieldsConfig[number] | undefined; for (const [index, arg] of args.entries()) { @@ -136,7 +145,7 @@ export const buildClientParams = ( const field = map.get(config.key)!; const name = field.map || config.key; if (field.in) { - (params[field.in] as Record)[name] = arg; + writeSlot(field.in, name, arg); } } else { params.body = arg; @@ -148,7 +157,7 @@ export const buildClientParams = ( if (field) { if (field.in) { const name = field.map || key; - (params[field.in] as Record)[name] = value; + writeSlot(field.in, name, value); } else { params[field.map] = value; } @@ -159,13 +168,11 @@ export const buildClientParams = ( if (extra) { const [prefix, slot] = extra; - (params[slot] as Record)[ - key.slice(prefix.length) - ] = value; + writeSlot(slot, key.slice(prefix.length), value); } else if ("allowExtra" in config && config.allowExtra) { for (const [slot, allowed] of Object.entries(config.allowExtra)) { if (allowed) { - (params[slot as Slot] as Record)[key] = value; + writeSlot(slot as Slot, key, value); break; } } @@ -178,4 +185,4 @@ export const buildClientParams = ( stripEmptySlots(params); return params; -}; +} diff --git a/openapi/core/pathSerializer.gen.ts b/openapi/core/pathSerializer.gen.ts index 52457e0..5d63982 100644 --- a/openapi/core/pathSerializer.gen.ts +++ b/openapi/core/pathSerializer.gen.ts @@ -26,7 +26,9 @@ interface SerializePrimitiveParam extends SerializePrimitiveOptions { value: string; } -export const separatorArrayExplode = (style: ArraySeparatorStyle) => { +export const separatorArrayExplode = ( + style: ArraySeparatorStyle, +): "." | ";" | "," | "&" => { switch (style) { case "label": return "."; @@ -39,7 +41,9 @@ export const separatorArrayExplode = (style: ArraySeparatorStyle) => { } }; -export const separatorArrayNoExplode = (style: ArraySeparatorStyle) => { +export const separatorArrayNoExplode = ( + style: ArraySeparatorStyle, +): "," | "|" | "%20" => { switch (style) { case "form": return ","; @@ -52,7 +56,9 @@ export const separatorArrayNoExplode = (style: ArraySeparatorStyle) => { } }; -export const separatorObjectExplode = (style: ObjectSeparatorStyle) => { +export const separatorObjectExplode = ( + style: ObjectSeparatorStyle, +): "." | ";" | "," | "&" => { switch (style) { case "label": return "."; @@ -73,7 +79,7 @@ export const serializeArrayParam = ({ value, }: SerializeOptions & { value: unknown[]; -}) => { +}): string => { if (!explode) { const joinedValues = ( allowReserved ? value : value.map((v) => encodeURIComponent(v as string)) @@ -113,7 +119,7 @@ export const serializePrimitiveParam = ({ allowReserved, name, value, -}: SerializePrimitiveParam) => { +}: SerializePrimitiveParam): string => { if (value === undefined || value === null) { return ""; } @@ -137,7 +143,7 @@ export const serializeObjectParam = ({ }: SerializeOptions & { value: Record | Date; valueOnly?: boolean; -}) => { +}): string => { if (value instanceof Date) { return valueOnly ? value.toISOString() : `${name}=${value.toISOString()}`; } diff --git a/openapi/core/queryKeySerializer.gen.ts b/openapi/core/queryKeySerializer.gen.ts index 0713164..90e8853 100644 --- a/openapi/core/queryKeySerializer.gen.ts +++ b/openapi/core/queryKeySerializer.gen.ts @@ -14,7 +14,10 @@ export type JsonValue = /** * Replacer that converts non-JSON values (bigint, Date, etc.) to safe substitutes. */ -export const queryKeyJsonReplacer = (_key: string, value: unknown) => { +export const queryKeyJsonReplacer = ( + _key: string, + value: unknown, +): unknown | undefined => { if ( value === undefined || typeof value === "function" || diff --git a/openapi/core/types.gen.ts b/openapi/core/types.gen.ts index 9b2a5b3..1e842ab 100644 --- a/openapi/core/types.gen.ts +++ b/openapi/core/types.gen.ts @@ -103,6 +103,12 @@ export interface Config { responseValidator?: (data: unknown) => Promise; } +/** + * Arbitrary metadata passed through the `meta` request option. + */ +// eslint-disable-next-line @typescript-eslint/no-empty-object-type +export interface ClientMeta {} + type IsExactlyNeverOrNeverUndefined = [T] extends [never] ? true : [T] extends [never | undefined] diff --git a/openapi/core/utils.gen.ts b/openapi/core/utils.gen.ts index 1214aa2..0ef088b 100644 --- a/openapi/core/utils.gen.ts +++ b/openapi/core/utils.gen.ts @@ -13,9 +13,12 @@ export interface PathSerializer { url: string; } -export const PATH_PARAM_RE = /\{[^{}]+\}/g; +export const PATH_PARAM_RE: RegExp = /\{[^{}]+\}/g; -export const defaultPathSerializer = ({ path, url: _url }: PathSerializer) => { +export const defaultPathSerializer = ({ + path, + url: _url, +}: PathSerializer): string => { let url = _url; const matches = _url.match(PATH_PARAM_RE); if (matches) { @@ -97,7 +100,7 @@ export const getUrl = ({ query?: Record; querySerializer: QuerySerializer; url: string; -}) => { +}): string => { const pathUrl = _url.startsWith("/") ? _url : `/${_url}`; let url = (baseUrl ?? "") + pathUrl; if (path) { @@ -117,7 +120,7 @@ export function getValidRequestBody(options: { body?: unknown; bodySerializer?: BodySerializer | null; serializedBody?: unknown; -}) { +}): unknown { const hasBody = options.body !== undefined; const isSerializedBody = hasBody && options.bodySerializer; diff --git a/openapi/sdk.gen.ts b/openapi/sdk.gen.ts index 48c34f2..9894ac0 100644 --- a/openapi/sdk.gen.ts +++ b/openapi/sdk.gen.ts @@ -3,7 +3,9 @@ import { client } from "./client.gen.js"; import type { Client, + ClientMeta, Options as Options2, + RequestResult, TDataShape, } from "./client/index.js"; import { getAgentSourcesResponseTransformer } from "./transformers.gen.js"; @@ -40,7 +42,7 @@ export type Options< * 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; + meta?: keyof ClientMeta extends never ? Record : ClientMeta; }; class HeyApiClient { @@ -72,7 +74,8 @@ class HeyApiRegistry { } export class Sdk extends HeyApiClient { - public static readonly __registry = new HeyApiRegistry(); + public static readonly __registry: HeyApiRegistry = + new HeyApiRegistry(); constructor(args?: { client?: Client; key?: string }) { super(args); @@ -81,13 +84,23 @@ export class Sdk extends HeyApiClient { public getAgentScopes( options?: Options, - ) { + ): RequestResult< + GetAgentScopesResponses, + GetAgentScopesErrors, + ThrowOnError + > { return (options?.client ?? this.client).get< GetAgentScopesResponses, GetAgentScopesErrors, ThrowOnError >({ - security: [{ scheme: "basic", type: "http" }], + security: [ + { + key: "apiToken", + scheme: "basic", + type: "http", + }, + ], url: "/agent/scopes", ...options, }); @@ -95,14 +108,24 @@ export class Sdk extends HeyApiClient { public getAgentSources( options?: Options, - ) { + ): RequestResult< + GetAgentSourcesResponses, + GetAgentSourcesErrors, + ThrowOnError + > { return (options?.client ?? this.client).get< GetAgentSourcesResponses, GetAgentSourcesErrors, ThrowOnError >({ responseTransformer: getAgentSourcesResponseTransformer, - security: [{ scheme: "basic", type: "http" }], + security: [ + { + key: "apiToken", + scheme: "basic", + type: "http", + }, + ], url: "/agent/sources", ...options, }); @@ -110,13 +133,23 @@ export class Sdk extends HeyApiClient { public getAgentJsonStoredQueries( options?: Options, - ) { + ): RequestResult< + GetAgentJsonStoredQueriesResponses, + GetAgentJsonStoredQueriesErrors, + ThrowOnError + > { return (options?.client ?? this.client).get< GetAgentJsonStoredQueriesResponses, GetAgentJsonStoredQueriesErrors, ThrowOnError >({ - security: [{ scheme: "basic", type: "http" }], + security: [ + { + key: "apiToken", + scheme: "basic", + type: "http", + }, + ], url: "/agent/stored-queries;format=json", ...options, }); @@ -124,13 +157,23 @@ export class Sdk extends HeyApiClient { public createSourceConnectorLogs( options: Options, - ) { + ): RequestResult< + CreateSourceConnectorLogsResponses, + CreateSourceConnectorLogsErrors, + ThrowOnError + > { return (options.client ?? this.client).post< CreateSourceConnectorLogsResponses, CreateSourceConnectorLogsErrors, ThrowOnError >({ - security: [{ scheme: "basic", type: "http" }], + security: [ + { + key: "source", + scheme: "basic", + type: "http", + }, + ], url: "/sources/{id}/connector-logs", ...options, headers: { @@ -142,7 +185,11 @@ export class Sdk extends HeyApiClient { public reloadSourceSnapshot( options: Options, - ) { + ): RequestResult< + ReloadSourceSnapshotResponses, + ReloadSourceSnapshotErrors, + ThrowOnError + > { return (options.client ?? this.client).post< ReloadSourceSnapshotResponses, ReloadSourceSnapshotErrors, @@ -150,8 +197,16 @@ export class Sdk extends HeyApiClient { >({ bodySerializer: null, security: [ - { scheme: "basic", type: "http" }, - { name: "Cookie", type: "apiKey" }, + { + key: "source", + scheme: "basic", + type: "http", + }, + { + key: "member", + name: "Cookie", + type: "apiKey", + }, ], url: "/sources/{id}/snapshots", ...options, diff --git a/openapi/types.gen.ts b/openapi/types.gen.ts index 8c004b6..95fbe74 100644 --- a/openapi/types.gen.ts +++ b/openapi/types.gen.ts @@ -4,58 +4,54 @@ export type ClientOptions = { baseUrl: `${string}://${string}/api` | (string & {}); }; -export type Type = - | "boolean" - | "number" - | "string" - | "date" - | "dateTime" - | "time"; +export type AttributeType = { + archived: boolean; + description: string; + entityTypeId: string; + id: string; + name: string; + type: Type; +}; -export type OptionalDateTime = Date | null; +export type AttributeTypes = Array; -export type DateTime = Date; +export type ConnectorLog = { + level: ConnectorLogLevel; + message: string; + timestamp: DateTime; +}; -export type RawMessage = unknown; +export type ConnectorLogLevel = "info" | "alert"; -export type StoredQueryData = { - alias: string; - condition: RawMessage; - entityType: string; -}; +export type ConnectorLogs = Array; -export type QueryScope = { - id: number; - name: string; +export type DateTime = Date; + +export type DomainGraphSchema = { + entityAttributeTypes: AttributeTypes; + entityTypes: EntityTypes; + relationshipAttributeTypes: RelationshipAttributeTypes; + relationshipTypes: RelationshipTypes; }; -export type StoredQuery = { - description: string; - highThreshold: number; - id: number; - isControl: boolean; - mediumThreshold: number; - name: string; - ownerEmail: string; - ownerId: number; - resultCountAtLastReload?: number | null; - scope?: QueryScope; - shared: boolean; - sourceId: number; - storedQueryData: StoredQueryData; +export type EntityType = { + anonymized: boolean; + icon: string; + id: string; + plural: string; + singular: string; }; -export type StoredQueries = Array; +export type EntityTypes = Array; -export type Sources = Array; +export type OptionalDateTime = Date | null; -export type RelationshipType = { - fromEntityTypeId: string; +export type QueryScope = { id: number; - toEntityTypeId: string; + name: string; }; -export type RelationshipTypes = Array; +export type RawMessage = unknown; export type RelationshipAttributeType = { archived: boolean; @@ -69,33 +65,27 @@ export type RelationshipAttributeType = { export type RelationshipAttributeTypes = Array; -export type EntityType = { - anonymized: boolean; - icon: string; - id: string; - plural: string; - singular: string; +export type RelationshipType = { + fromEntityTypeId: string; + id: number; + toEntityTypeId: string; }; -export type EntityTypes = Array; +export type RelationshipTypes = Array; -export type AttributeType = { - archived: boolean; +export type Scope = { description: string; - entityTypeId: string; - id: string; + id: number; name: string; - type: Type; + ownerEmail: string; + ownerId: number; + shared: boolean; + showTotalCount: boolean; }; -export type AttributeTypes = Array; +export type Scopes = Array; -export type DomainGraphSchema = { - entityAttributeTypes: AttributeTypes; - entityTypes: EntityTypes; - relationshipAttributeTypes: RelationshipAttributeTypes; - relationshipTypes: RelationshipTypes; -}; +export type Snapshot = Blob | File; export type Source = { archived: boolean; @@ -107,29 +97,39 @@ export type Source = { name: string; }; -export type Snapshot = Blob | File; +export type Sources = Array; -export type Scopes = Array; +export type StoredQueries = Array; -export type Scope = { +export type StoredQuery = { description: string; + highThreshold: number; id: number; + isControl: boolean; + mediumThreshold: number; name: string; ownerEmail: string; ownerId: number; + resultCountAtLastReload?: number | null; + scope?: QueryScope; shared: boolean; - showTotalCount: boolean; + sourceId: number; + storedQueryData: StoredQueryData; }; -export type ConnectorLogLevel = "info" | "alert"; - -export type ConnectorLog = { - level: ConnectorLogLevel; - message: string; - timestamp: DateTime; +export type StoredQueryData = { + alias: string; + condition: RawMessage; + entityType: string; }; -export type ConnectorLogs = Array; +export type Type = + | "boolean" + | "number" + | "string" + | "date" + | "dateTime" + | "time"; export type GetAgentScopesData = { body?: never; diff --git a/package-lock.json b/package-lock.json index c530dd2..3f51662 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "pako": "^2.1.0" }, "devDependencies": { - "@hey-api/openapi-ts": "^0.97.3", + "@hey-api/openapi-ts": "^0.99.0", "@types/pako": "^2.0.3", "@typescript-eslint/eslint-plugin": "^8.8.0", "@typescript-eslint/parser": "^8.8.0", @@ -120,9 +120,9 @@ } }, "node_modules/@hey-api/codegen-core": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/@hey-api/codegen-core/-/codegen-core-0.8.2.tgz", - "integrity": "sha512-R2NMf3wq97rh1mjz33WJQU8svz3F0RYUjvx/QzXucjpSqQ3O5huTdDjErG4fMxSr1X+X56NuDrqtGfHmo1TRUQ==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@hey-api/codegen-core/-/codegen-core-0.9.1.tgz", + "integrity": "sha512-s97jL1dgTMuiMHv2BZ1X4Tgd99Mf9GOvGdNqNcGwIMmnR+PgYNoraj4Zvp134MKsNCap/m7k0r0vKKnl56pj4w==", "dev": true, "license": "MIT", "dependencies": { @@ -132,66 +132,53 @@ "color-support": "1.1.3" }, "engines": { - "node": ">=22.13.0" + "node": ">=22.18.0" }, "funding": { "url": "https://github.com/sponsors/hey-api" } }, "node_modules/@hey-api/json-schema-ref-parser": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@hey-api/json-schema-ref-parser/-/json-schema-ref-parser-1.4.2.tgz", - "integrity": "sha512-ZhCFSKI2ipZHEbgmtUHdyddvRU3wJ4elgCfYUC7T7hZa4EivSrVflTQf2w+v3TuaYxR1Y2V2kq3otqTttrrK8Q==", + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/@hey-api/json-schema-ref-parser/-/json-schema-ref-parser-1.4.4.tgz", + "integrity": "sha512-otmd+zCxbYVBIp/mlMTnGkvlNYLkVKgs3VOIq0kSnenhB1+fRwLPQIeSwyWM6E51oXhUedkYjVsVpkVexeuJOA==", "dev": true, "license": "MIT", "dependencies": { "@jsdevtools/ono": "7.1.3", "@types/json-schema": "7.0.15", - "js-yaml": "4.1.1" + "js-yaml": "4.2.0" }, "engines": { - "node": ">=22.13.0" + "node": ">=22.18.0" }, "funding": { "url": "https://github.com/sponsors/hey-api" } }, - "node_modules/@hey-api/json-schema-ref-parser/node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, "node_modules/@hey-api/openapi-ts": { - "version": "0.97.3", - "resolved": "https://registry.npmjs.org/@hey-api/openapi-ts/-/openapi-ts-0.97.3.tgz", - "integrity": "sha512-4sR6/E/POuy7aPZW9DDjhObzZCq7eSJWiW0+epXeKNczoTWEwdOyWFy9Ca/CnXYlZ3oJsrv0ZD0OO+YuczT7CA==", + "version": "0.99.0", + "resolved": "https://registry.npmjs.org/@hey-api/openapi-ts/-/openapi-ts-0.99.0.tgz", + "integrity": "sha512-SePU/5oEWWkvUBYmvzdYRctseoLuskyhs4ET0RvLIcmzc8yLQoA2R+KtBIQ8bPsoSUB0m4E5SmBnl6aGSA0szQ==", "dev": true, "license": "MIT", "dependencies": { - "@hey-api/codegen-core": "0.8.2", - "@hey-api/json-schema-ref-parser": "1.4.2", - "@hey-api/shared": "0.4.5", + "@hey-api/codegen-core": "0.9.1", + "@hey-api/json-schema-ref-parser": "1.4.4", + "@hey-api/shared": "0.5.0", "@hey-api/spec-types": "0.2.0", "@hey-api/types": "0.1.4", "@lukeed/ms": "2.0.2", "ansi-colors": "4.1.3", "color-support": "1.1.3", - "commander": "14.0.3", + "commander": "15.0.0", "get-tsconfig": "4.14.0" }, "bin": { "openapi-ts": "bin/run.js" }, "engines": { - "node": ">=22.13.0" + "node": ">=22.18.0" }, "funding": { "url": "https://github.com/sponsors/hey-api" @@ -201,23 +188,23 @@ } }, "node_modules/@hey-api/shared": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/@hey-api/shared/-/shared-0.4.5.tgz", - "integrity": "sha512-au4eHpBXAe1du0iMp6ESYuEaMS2jsoEyrbcT246btRhI9rMeQFEs7ZjtcMGXGsxhpaR38A8cPGNHx7QOrWAdMw==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@hey-api/shared/-/shared-0.5.0.tgz", + "integrity": "sha512-JN/j4Ebh4cJGYIQ5cwWuqe7GeSUyQoz7oC51WqyhKOcrejK6DKZMDkshc5d1eKTRuRL+rjozuRcoUaZZn2DGPw==", "dev": true, "license": "MIT", "dependencies": { - "@hey-api/codegen-core": "0.8.2", - "@hey-api/json-schema-ref-parser": "1.4.2", + "@hey-api/codegen-core": "0.9.1", + "@hey-api/json-schema-ref-parser": "1.4.4", "@hey-api/spec-types": "0.2.0", "@hey-api/types": "0.1.4", "ansi-colors": "4.1.3", "cross-spawn": "7.0.6", "open": "11.0.0", - "semver": "7.7.4" + "semver": "7.8.4" }, "engines": { - "node": ">=22.13.0" + "node": ">=22.18.0" }, "funding": { "url": "https://github.com/sponsors/hey-api" @@ -884,13 +871,13 @@ } }, "node_modules/commander": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", - "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", "dev": true, "license": "MIT", "engines": { - "node": ">=20" + "node": ">=22.12.0" } }, "node_modules/concat-map": { @@ -2355,9 +2342,9 @@ } }, "node_modules/semver": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", - "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz", + "integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==", "dev": true, "license": "ISC", "bin": { diff --git a/package.json b/package.json index 52fbcea..8aa2042 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "description": "Client for connector interactions with an Elimity Insights server", "devDependencies": { - "@hey-api/openapi-ts": "^0.97.3", + "@hey-api/openapi-ts": "^0.99.0", "@types/pako": "^2.0.3", "@typescript-eslint/eslint-plugin": "^8.8.0", "@typescript-eslint/parser": "^8.8.0",