···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig({
1616+export const client = createClient(createConfig<ClientOptions>({
617 throwOnError: true
718}));
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
1515+1616+export const client = createClient(createConfig<ClientOptions>());
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
1515+1616+export const client = createClient(createConfig<ClientOptions>());
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
1515+1616+export const client = createClient(createConfig<ClientOptions>());
···44 foo?: Array<Bar>;
55};
6677-export type Bar = string;77+export type Bar = string;
88+99+export type ClientOptions = {
1010+ baseUrl: string;
1111+};
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig({
1616+export const client = createClient(createConfig<ClientOptions>({
617 throwOnError: true
718}));
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
1515+1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-export type Foo = unknown;33+export type Foo = unknown;
44+55+export type ClientOptions = {
66+ baseUrl: string;
77+};
···44 foo?: Array<Bar>;
55};
6677-export type Bar = string;77+export type Bar = string;
88+99+export type ClientOptions = {
1010+ baseUrl: string;
1111+};
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from './client';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from './client';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from './client';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from './client';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from './client';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from './client';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-next';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-next';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-next';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-next';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-next';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-next';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from './client';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from './client';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-nuxt';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-nuxt';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-nuxt';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-nuxt';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-nuxt';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-nuxt';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig({
1616+export const client = createClient(createConfig<ClientOptions>({
617 throwOnError: true
718}));
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-axios';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-axios';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
1515+1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());
···11// This file is auto-generated by @hey-api/openapi-ts
2233-export type Foo = unknown;33+export type Foo = unknown;
44+55+export type ClientOptions = {
66+ baseUrl: string;
77+};
···11// This file is auto-generated by @hey-api/openapi-ts
2233-import { createClient, createConfig } from '@hey-api/client-fetch';
33+import { createClient, createConfig, type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
44+import type { ClientOptions } from './types.gen';
55+66+/**
77+ * The `createClientConfig()` function will be called on client initialization
88+ * and the returned object will become the client's initial configuration.
99+ *
1010+ * You may want to initialize your client this way instead of calling
1111+ * `setConfig()`. This is useful for example if you're using Next.js
1212+ * to ensure your client always has the correct values.
1313+ */
1414+export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
41555-export const client = createClient(createConfig());1616+export const client = createClient(createConfig<ClientOptions>());