@hey-api/openapi-ts 0.87.0 → 0.87.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +3 -1
  2. package/dist/clients/angular/index.ts +0 -1
  3. package/dist/clients/angular/types.ts +0 -27
  4. package/dist/clients/axios/index.ts +0 -1
  5. package/dist/clients/axios/types.ts +0 -19
  6. package/dist/clients/fetch/index.ts +0 -1
  7. package/dist/clients/fetch/types.ts +0 -27
  8. package/dist/clients/ky/client.ts +339 -0
  9. package/dist/clients/ky/index.ts +24 -0
  10. package/dist/clients/ky/types.ts +271 -0
  11. package/dist/clients/ky/utils.ts +328 -0
  12. package/dist/clients/next/index.ts +0 -1
  13. package/dist/clients/next/types.ts +0 -19
  14. package/dist/clients/nuxt/index.ts +0 -1
  15. package/dist/clients/nuxt/types.ts +0 -12
  16. package/dist/clients/ofetch/index.ts +0 -1
  17. package/dist/clients/ofetch/types.ts +0 -27
  18. package/dist/{config-B2o9ax_a.d.cts → config-CQeoZYf_.d.cts} +769 -266
  19. package/dist/{config-oAoGatJ7.d.ts → config-U5JEpxGS.d.ts} +794 -291
  20. package/dist/index.cjs +1 -1
  21. package/dist/index.d.cts +28 -14
  22. package/dist/index.d.ts +28 -14
  23. package/dist/index.js +1 -1
  24. package/dist/internal.cjs +1 -1
  25. package/dist/internal.d.cts +1 -1
  26. package/dist/internal.d.ts +1 -1
  27. package/dist/internal.js +1 -1
  28. package/dist/openApi-CT-iM-D8.cjs +19 -0
  29. package/dist/openApi-CT-iM-D8.cjs.map +1 -0
  30. package/dist/openApi-HKXoyF4o.js +19 -0
  31. package/dist/openApi-HKXoyF4o.js.map +1 -0
  32. package/dist/run.cjs +1 -1
  33. package/dist/run.cjs.map +1 -1
  34. package/dist/run.js +1 -1
  35. package/dist/run.js.map +1 -1
  36. package/dist/{src-CTUbY-zd.js → src-Ba-zyEiS.js} +2 -2
  37. package/dist/{src-CTUbY-zd.js.map → src-Ba-zyEiS.js.map} +1 -1
  38. package/dist/{src-H1fIt1p4.cjs → src-CNO_U6s-.cjs} +2 -2
  39. package/dist/{src-H1fIt1p4.cjs.map → src-CNO_U6s-.cjs.map} +1 -1
  40. package/package.json +4 -3
  41. package/dist/openApi-BWD76jue.cjs +0 -21
  42. package/dist/openApi-BWD76jue.cjs.map +0 -1
  43. package/dist/openApi-DXfWYPpF.js +0 -21
  44. package/dist/openApi-DXfWYPpF.js.map +0 -1
@@ -2800,11 +2800,8 @@ type WalkOptions<T extends string = string> = {
2800
2800
  type StringCase = 'camelCase' | 'PascalCase' | 'preserve' | 'snake_case' | 'SCREAMING_SNAKE_CASE';
2801
2801
  type StringName = string | ((name: string) => string);
2802
2802
  //#endregion
2803
- //#region src/plugins/@angular/common/api.d.ts
2804
- type IApi$20 = any;
2805
- //#endregion
2806
2803
  //#region src/plugins/@angular/common/types.d.ts
2807
- type UserConfig$22 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
2804
+ type UserConfig$23 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
2808
2805
  /**
2809
2806
  * Should the exports from the generated files be re-exported in the index
2810
2807
  * barrel file?
@@ -2872,7 +2869,7 @@ type UserConfig$22 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
2872
2869
  methodNameBuilder?: (operation: IR.OperationObject) => string;
2873
2870
  };
2874
2871
  };
2875
- type Config$20 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
2872
+ type Config$21 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
2876
2873
  /**
2877
2874
  * Should the exports from the generated files be re-exported in the index
2878
2875
  * barrel file?
@@ -2935,7 +2932,7 @@ type Config$20 = Plugin.Name<'@angular/common'> & Plugin.Hooks & {
2935
2932
  methodNameBuilder: (operation: IR.OperationObject) => string;
2936
2933
  };
2937
2934
  };
2938
- type AngularCommonPlugin = DefinePlugin<UserConfig$22, Config$20, IApi$20>;
2935
+ type AngularCommonPlugin = DefinePlugin<UserConfig$23, Config$21>;
2939
2936
  //#endregion
2940
2937
  //#region src/plugins/@hey-api/client-core/bundle/auth.d.ts
2941
2938
  type AuthToken = string | undefined;
@@ -2985,20 +2982,20 @@ type QuerySerializerOptions = QuerySerializerOptionsObject & {
2985
2982
  //#endregion
2986
2983
  //#region src/plugins/@hey-api/client-core/bundle/types.d.ts
2987
2984
  type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
2988
- type Client$1<RequestFn$6 = never, Config$21 = unknown, MethodFn$6 = never, BuildUrlFn$6 = never, SseFn$6 = never> = {
2985
+ type Client$1<RequestFn$6 = never, Config$22 = unknown, MethodFn$6 = never, BuildUrlFn$6 = never, SseFn$6 = never> = {
2989
2986
  /**
2990
2987
  * Returns the final request URL.
2991
2988
  */
2992
2989
  buildUrl: BuildUrlFn$6;
2993
- getConfig: () => Config$21;
2990
+ getConfig: () => Config$22;
2994
2991
  request: RequestFn$6;
2995
- setConfig: (config: Config$21) => Config$21;
2992
+ setConfig: (config: Config$22) => Config$22;
2996
2993
  } & { [K in HttpMethod]: MethodFn$6 } & ([SseFn$6] extends [never] ? {
2997
2994
  sse?: never;
2998
2995
  } : {
2999
2996
  sse: { [K in HttpMethod]: SseFn$6 };
3000
2997
  });
3001
- interface Config$13 {
2998
+ interface Config$14 {
3002
2999
  /**
3003
3000
  * Auth token or a function returning auth token. The resolved value will be
3004
3001
  * added to the request payload as defined by its `security` array.
@@ -3053,7 +3050,7 @@ interface Config$13 {
3053
3050
  }
3054
3051
  //#endregion
3055
3052
  //#region src/plugins/@hey-api/client-core/bundle/serverSentEvents.d.ts
3056
- type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$13, 'method' | 'responseTransformer' | 'responseValidator'> & {
3053
+ type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$14, 'method' | 'responseTransformer' | 'responseValidator'> & {
3057
3054
  /**
3058
3055
  * Fetch API implementation. You can use this option to provide a custom
3059
3056
  * fetch instance.
@@ -3144,7 +3141,7 @@ interface Middleware$3<Req, Res, Err, Options$6> {
3144
3141
  //#endregion
3145
3142
  //#region src/plugins/@hey-api/client-angular/bundle/types.d.ts
3146
3143
  type ResponseStyle$2 = 'data' | 'fields';
3147
- interface Config$19<T extends ClientOptions$5 = ClientOptions$5> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Omit<Config$13, 'headers'> {
3144
+ interface Config$20<T extends ClientOptions$5 = ClientOptions$5> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Omit<Config$14, 'headers'> {
3148
3145
  /**
3149
3146
  * Base URL for all requests made by this client.
3150
3147
  */
@@ -3173,7 +3170,7 @@ interface Config$19<T extends ClientOptions$5 = ClientOptions$5> extends Omit<Re
3173
3170
  */
3174
3171
  throwOnError?: T['throwOnError'];
3175
3172
  }
3176
- interface RequestOptions$5<TData = unknown, TResponseStyle extends ResponseStyle$2 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$19<{
3173
+ interface RequestOptions$5<TData = unknown, TResponseStyle extends ResponseStyle$2 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$20<{
3177
3174
  responseStyle: TResponseStyle;
3178
3175
  throwOnError: ThrowOnError;
3179
3176
  }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
@@ -3230,7 +3227,7 @@ type BuildUrlFn$5 = <TData extends {
3230
3227
  query?: Record<string, unknown>;
3231
3228
  url: string;
3232
3229
  }>(options: TData & Options$5<TData>) => string;
3233
- type Client$7 = Client$1<RequestFn$5, Config$19, MethodFn$5, BuildUrlFn$5, SseFn$5> & {
3230
+ type Client$7 = Client$1<RequestFn$5, Config$20, MethodFn$5, BuildUrlFn$5, SseFn$5> & {
3234
3231
  interceptors: Middleware$3<HttpRequest<unknown>, HttpResponse<unknown>, unknown, ResolvedRequestOptions$3>;
3235
3232
  requestOptions: RequestOptionsFn;
3236
3233
  };
@@ -3245,7 +3242,7 @@ type OmitKeys$5<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
3245
3242
  type Options$5<TData extends TDataShape$5 = TDataShape$5, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$2 = 'fields'> = OmitKeys$5<RequestOptions$5<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
3246
3243
  //#endregion
3247
3244
  //#region src/plugins/@hey-api/client-axios/bundle/types.d.ts
3248
- interface Config$18<T extends ClientOptions$4 = ClientOptions$4> extends Omit<CreateAxiosDefaults, 'auth' | 'baseURL' | 'headers' | 'method'>, Config$13 {
3245
+ interface Config$19<T extends ClientOptions$4 = ClientOptions$4> extends Omit<CreateAxiosDefaults, 'auth' | 'baseURL' | 'headers' | 'method'>, Config$14 {
3249
3246
  /**
3250
3247
  * Axios implementation. You can use this option to provide either an
3251
3248
  * `AxiosStatic` or an `AxiosInstance`.
@@ -3271,7 +3268,7 @@ interface Config$18<T extends ClientOptions$4 = ClientOptions$4> extends Omit<Cr
3271
3268
  */
3272
3269
  throwOnError?: T['throwOnError'];
3273
3270
  }
3274
- interface RequestOptions$4<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$18<{
3271
+ interface RequestOptions$4<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$19<{
3275
3272
  throwOnError: ThrowOnError;
3276
3273
  }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
3277
3274
  /**
@@ -3307,7 +3304,7 @@ type BuildUrlFn$4 = <TData extends {
3307
3304
  query?: Record<string, unknown>;
3308
3305
  url: string;
3309
3306
  }>(options: TData & Options$4<TData>) => string;
3310
- type Client$6 = Client$1<RequestFn$4, Config$18, MethodFn$4, BuildUrlFn$4, SseFn$4> & {
3307
+ type Client$6 = Client$1<RequestFn$4, Config$19, MethodFn$4, BuildUrlFn$4, SseFn$4> & {
3311
3308
  instance: AxiosInstance;
3312
3309
  };
3313
3310
  interface TDataShape$4 {
@@ -3320,11 +3317,8 @@ interface TDataShape$4 {
3320
3317
  type OmitKeys$4<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
3321
3318
  type Options$4<TData extends TDataShape$4 = TDataShape$4, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$4<RequestOptions$4<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
3322
3319
  //#endregion
3323
- //#region src/plugins/@hey-api/client-axios/api.d.ts
3324
- type IApi$19 = any;
3325
- //#endregion
3326
3320
  //#region src/plugins/@hey-api/client-axios/types.d.ts
3327
- type UserConfig$21 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
3321
+ type UserConfig$22 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
3328
3322
  /**
3329
3323
  * Throw an error instead of returning it in the response?
3330
3324
  *
@@ -3332,7 +3326,7 @@ type UserConfig$21 = Plugin.Name<'@hey-api/client-axios'> & Client.Config & {
3332
3326
  */
3333
3327
  throwOnError?: boolean;
3334
3328
  };
3335
- type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$21, UserConfig$21, IApi$19>;
3329
+ type HeyApiClientAxiosPlugin = DefinePlugin<UserConfig$22, UserConfig$22>;
3336
3330
  //#endregion
3337
3331
  //#region src/plugins/@hey-api/client-fetch/bundle/utils.d.ts
3338
3332
  type ErrInterceptor$2<Err, Res, Req, Options$6> = (error: Err, response: Res, request: Req, options: Options$6) => Err | Promise<Err>;
@@ -3355,7 +3349,7 @@ interface Middleware$2<Req, Res, Err, Options$6> {
3355
3349
  //#endregion
3356
3350
  //#region src/plugins/@hey-api/client-fetch/bundle/types.d.ts
3357
3351
  type ResponseStyle$1 = 'data' | 'fields';
3358
- interface Config$17<T extends ClientOptions$3 = ClientOptions$3> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$13 {
3352
+ interface Config$18<T extends ClientOptions$3 = ClientOptions$3> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$14 {
3359
3353
  /**
3360
3354
  * Base URL for all requests made by this client.
3361
3355
  */
@@ -3396,7 +3390,7 @@ interface Config$17<T extends ClientOptions$3 = ClientOptions$3> extends Omit<Re
3396
3390
  */
3397
3391
  throwOnError?: T['throwOnError'];
3398
3392
  }
3399
- interface RequestOptions$3<TData = unknown, TResponseStyle extends ResponseStyle$1 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$17<{
3393
+ interface RequestOptions$3<TData = unknown, TResponseStyle extends ResponseStyle$1 = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$18<{
3400
3394
  responseStyle: TResponseStyle;
3401
3395
  throwOnError: ThrowOnError;
3402
3396
  }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
@@ -3445,7 +3439,7 @@ type BuildUrlFn$3 = <TData extends {
3445
3439
  query?: Record<string, unknown>;
3446
3440
  url: string;
3447
3441
  }>(options: TData & Options$3<TData>) => string;
3448
- type Client$5 = Client$1<RequestFn$3, Config$17, MethodFn$3, BuildUrlFn$3, SseFn$3> & {
3442
+ type Client$5 = Client$1<RequestFn$3, Config$18, MethodFn$3, BuildUrlFn$3, SseFn$3> & {
3449
3443
  interceptors: Middleware$2<Request, Response, unknown, ResolvedRequestOptions$2>;
3450
3444
  };
3451
3445
  interface TDataShape$3 {
@@ -3458,11 +3452,8 @@ interface TDataShape$3 {
3458
3452
  type OmitKeys$3<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
3459
3453
  type Options$3<TData extends TDataShape$3 = TDataShape$3, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle$1 = 'fields'> = OmitKeys$3<RequestOptions$3<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
3460
3454
  //#endregion
3461
- //#region src/plugins/@hey-api/client-fetch/api.d.ts
3462
- type IApi$18 = any;
3463
- //#endregion
3464
3455
  //#region src/plugins/@hey-api/client-fetch/types.d.ts
3465
- type UserConfig$20 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
3456
+ type UserConfig$21 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
3466
3457
  /**
3467
3458
  * Throw an error instead of returning it in the response?
3468
3459
  *
@@ -3470,7 +3461,7 @@ type UserConfig$20 = Plugin.Name<'@hey-api/client-fetch'> & Client.Config & {
3470
3461
  */
3471
3462
  throwOnError?: boolean;
3472
3463
  };
3473
- type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$18>;
3464
+ type HeyApiClientFetchPlugin = DefinePlugin<UserConfig$21, UserConfig$21>;
3474
3465
  //#endregion
3475
3466
  //#region src/plugins/@hey-api/client-next/bundle/utils.d.ts
3476
3467
  type ErrInterceptor$1<Err, Res, Options$6> = (error: Err, response: Res, options: Options$6) => Err | Promise<Err>;
@@ -3492,7 +3483,7 @@ interface Middleware$1<Res, Err, Options$6> {
3492
3483
  }
3493
3484
  //#endregion
3494
3485
  //#region src/plugins/@hey-api/client-next/bundle/types.d.ts
3495
- interface Config$16<T extends ClientOptions$2 = ClientOptions$2> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$13 {
3486
+ interface Config$17<T extends ClientOptions$2 = ClientOptions$2> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$14 {
3496
3487
  /**
3497
3488
  * Base URL for all requests made by this client.
3498
3489
  */
@@ -3520,7 +3511,7 @@ interface Config$16<T extends ClientOptions$2 = ClientOptions$2> extends Omit<Re
3520
3511
  */
3521
3512
  throwOnError?: T['throwOnError'];
3522
3513
  }
3523
- interface RequestOptions$2<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$16<{
3514
+ interface RequestOptions$2<TData = unknown, ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$17<{
3524
3515
  throwOnError: ThrowOnError;
3525
3516
  }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
3526
3517
  /**
@@ -3565,7 +3556,7 @@ type BuildUrlFn$2 = <TData extends {
3565
3556
  query?: Record<string, unknown>;
3566
3557
  url: string;
3567
3558
  }>(options: TData & Options$2<TData>) => string;
3568
- type Client$4 = Client$1<RequestFn$2, Config$16, MethodFn$2, BuildUrlFn$2, SseFn$2> & {
3559
+ type Client$4 = Client$1<RequestFn$2, Config$17, MethodFn$2, BuildUrlFn$2, SseFn$2> & {
3569
3560
  interceptors: Middleware$1<Response, unknown, ResolvedRequestOptions$1>;
3570
3561
  };
3571
3562
  interface TDataShape$2 {
@@ -3578,11 +3569,8 @@ interface TDataShape$2 {
3578
3569
  type OmitKeys$2<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
3579
3570
  type Options$2<TData extends TDataShape$2 = TDataShape$2, ThrowOnError extends boolean = boolean, TResponse = unknown> = OmitKeys$2<RequestOptions$2<TResponse, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
3580
3571
  //#endregion
3581
- //#region src/plugins/@hey-api/client-next/api.d.ts
3582
- type IApi$17 = any;
3583
- //#endregion
3584
3572
  //#region src/plugins/@hey-api/client-next/types.d.ts
3585
- type UserConfig$19 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
3573
+ type UserConfig$20 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
3586
3574
  /**
3587
3575
  * Throw an error instead of returning it in the response?
3588
3576
  *
@@ -3590,13 +3578,13 @@ type UserConfig$19 = Plugin.Name<'@hey-api/client-next'> & Client.Config & {
3590
3578
  */
3591
3579
  throwOnError?: boolean;
3592
3580
  };
3593
- type HeyApiClientNextPlugin = DefinePlugin<UserConfig$19, UserConfig$19, IApi$17>;
3581
+ type HeyApiClientNextPlugin = DefinePlugin<UserConfig$20, UserConfig$20>;
3594
3582
  //#endregion
3595
3583
  //#region src/plugins/@hey-api/client-nuxt/bundle/types.d.ts
3596
3584
  type QuerySerializer = (query: Parameters<Client$3['buildUrl']>[0]['query']) => string;
3597
3585
  type WithRefs<TData> = { [K in keyof TData]: NonNullable<TData[K]> extends object ? WithRefs<NonNullable<TData[K]>> | Ref<NonNullable<TData[K]>> : NonNullable<TData[K]> | Ref<NonNullable<TData[K]>> };
3598
3586
  type KeysOf<T> = Array<T extends T ? (keyof T extends string ? keyof T : never) : never>;
3599
- interface Config$15<T extends ClientOptions$1 = ClientOptions$1> extends Omit<FetchOptions$1<unknown>, 'baseURL' | 'body' | 'headers' | 'method' | 'query'>, WithRefs<Pick<FetchOptions$1<unknown>, 'query'>>, Omit<Config$13, 'querySerializer'> {
3587
+ interface Config$16<T extends ClientOptions$1 = ClientOptions$1> extends Omit<FetchOptions$1<unknown>, 'baseURL' | 'body' | 'headers' | 'method' | 'query'>, WithRefs<Pick<FetchOptions$1<unknown>, 'query'>>, Omit<Config$14, 'querySerializer'> {
3600
3588
  /**
3601
3589
  * Base URL for all requests made by this client.
3602
3590
  */
@@ -3610,7 +3598,7 @@ interface Config$15<T extends ClientOptions$1 = ClientOptions$1> extends Omit<Fe
3610
3598
  */
3611
3599
  querySerializer?: QuerySerializer | QuerySerializerOptions;
3612
3600
  }
3613
- interface RequestOptions$1<TComposable extends Composable = '$fetch', ResT = unknown, DefaultT = undefined, Url extends string = string> extends Config$15, WithRefs<{
3601
+ interface RequestOptions$1<TComposable extends Composable = '$fetch', ResT = unknown, DefaultT = undefined, Url extends string = string> extends Config$16, WithRefs<{
3614
3602
  /**
3615
3603
  * Any body that you want to add to your request.
3616
3604
  *
@@ -3655,18 +3643,15 @@ interface TDataShape$1 {
3655
3643
  }
3656
3644
  type BuildUrlOptions<TData extends Omit<TDataShape$1, 'headers'> = Omit<TDataShape$1, 'headers'>> = Pick<WithRefs<TData>, 'path' | 'query'> & Pick<TData, 'url'> & Pick<Options$1<'$fetch', TData>, 'baseURL' | 'querySerializer'>;
3657
3645
  type BuildUrlFn$1 = <TData extends Omit<TDataShape$1, 'headers'>>(options: BuildUrlOptions<TData>) => string;
3658
- type Client$3 = Client$1<RequestFn$1, Config$15, MethodFn$1, BuildUrlFn$1, SseFn$1>;
3646
+ type Client$3 = Client$1<RequestFn$1, Config$16, MethodFn$1, BuildUrlFn$1, SseFn$1>;
3659
3647
  type OmitKeys$1<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
3660
3648
  type Options$1<TComposable extends Composable = '$fetch', TData extends TDataShape$1 = TDataShape$1, ResT = unknown, DefaultT = undefined> = OmitKeys$1<RequestOptions$1<TComposable, ResT, DefaultT>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : WithRefs<Omit<TData, 'url'>>);
3661
3649
  type FetchOptions$1<TData> = Omit<UseFetchOptions<TData, TData>, keyof AsyncDataOptions<TData>>;
3662
3650
  type Composable = '$fetch' | 'useAsyncData' | 'useFetch' | 'useLazyAsyncData' | 'useLazyFetch';
3663
3651
  //#endregion
3664
- //#region src/plugins/@hey-api/client-nuxt/api.d.ts
3665
- type IApi$16 = any;
3666
- //#endregion
3667
3652
  //#region src/plugins/@hey-api/client-nuxt/types.d.ts
3668
- type UserConfig$18 = Plugin.Name<'@hey-api/client-nuxt'> & Client.Config;
3669
- type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$18, UserConfig$18, IApi$16>;
3653
+ type UserConfig$19 = Plugin.Name<'@hey-api/client-nuxt'> & Client.Config;
3654
+ type HeyApiClientNuxtPlugin = DefinePlugin<UserConfig$19, UserConfig$19>;
3670
3655
  //#endregion
3671
3656
  //#region src/plugins/@hey-api/client-ofetch/bundle/utils.d.ts
3672
3657
  type ErrInterceptor<Err, Res, Req, Options$6> = (error: Err, response: Res, request: Req, options: Options$6) => Err | Promise<Err>;
@@ -3689,7 +3674,7 @@ interface Middleware<Req, Res, Err, Options$6> {
3689
3674
  //#endregion
3690
3675
  //#region src/plugins/@hey-api/client-ofetch/bundle/types.d.ts
3691
3676
  type ResponseStyle = 'data' | 'fields';
3692
- interface Config$14<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$13 {
3677
+ interface Config$15<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$14 {
3693
3678
  /**
3694
3679
  * HTTP(S) agent configuration (Node.js only). Passed through to ofetch.
3695
3680
  */
@@ -3790,7 +3775,7 @@ interface Config$14<T extends ClientOptions = ClientOptions> extends Omit<Reques
3790
3775
  */
3791
3776
  timeout?: number;
3792
3777
  }
3793
- interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$14<{
3778
+ interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config$15<{
3794
3779
  responseStyle: TResponseStyle;
3795
3780
  throwOnError: ThrowOnError;
3796
3781
  }>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
@@ -3839,7 +3824,7 @@ type BuildUrlFn = <TData extends {
3839
3824
  query?: Record<string, unknown>;
3840
3825
  url: string;
3841
3826
  }>(options: TData & Options<TData>) => string;
3842
- type Client$2 = Client$1<RequestFn, Config$14, MethodFn, BuildUrlFn, SseFn> & {
3827
+ type Client$2 = Client$1<RequestFn, Config$15, MethodFn, BuildUrlFn, SseFn> & {
3843
3828
  interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
3844
3829
  };
3845
3830
  interface TDataShape {
@@ -3852,11 +3837,8 @@ interface TDataShape {
3852
3837
  type OmitKeys<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
3853
3838
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
3854
3839
  //#endregion
3855
- //#region src/plugins/@hey-api/client-ofetch/api.d.ts
3856
- type IApi$15 = any;
3857
- //#endregion
3858
3840
  //#region src/plugins/@hey-api/client-ofetch/types.d.ts
3859
- type UserConfig$17 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
3841
+ type UserConfig$18 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
3860
3842
  /**
3861
3843
  * Throw an error instead of returning it in the response?
3862
3844
  *
@@ -3864,7 +3846,7 @@ type UserConfig$17 = Plugin.Name<'@hey-api/client-ofetch'> & Client.Config & {
3864
3846
  */
3865
3847
  throwOnError?: boolean;
3866
3848
  };
3867
- type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$17, UserConfig$17, IApi$15>;
3849
+ type HeyApiClientOfetchPlugin = DefinePlugin<UserConfig$18, UserConfig$18>;
3868
3850
  //#endregion
3869
3851
  //#region src/plugins/@hey-api/client-core/types.d.ts
3870
3852
  interface PluginHandler {
@@ -3933,11 +3915,19 @@ declare namespace Client {
3933
3915
  };
3934
3916
  }
3935
3917
  //#endregion
3936
- //#region src/plugins/@hey-api/client-angular/api.d.ts
3937
- type IApi$14 = any;
3938
- //#endregion
3939
3918
  //#region src/plugins/@hey-api/client-angular/types.d.ts
3940
- type UserConfig$16 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
3919
+ type UserConfig$17 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
3920
+ /**
3921
+ * Throw an error instead of returning it in the response?
3922
+ *
3923
+ * @default false
3924
+ */
3925
+ throwOnError?: boolean;
3926
+ };
3927
+ type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$17, UserConfig$17>;
3928
+ //#endregion
3929
+ //#region src/plugins/@hey-api/client-ky/types.d.ts
3930
+ type UserConfig$16 = Plugin.Name<'@hey-api/client-ky'> & Client.Config & {
3941
3931
  /**
3942
3932
  * Throw an error instead of returning it in the response?
3943
3933
  *
@@ -3945,7 +3935,7 @@ type UserConfig$16 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
3945
3935
  */
3946
3936
  throwOnError?: boolean;
3947
3937
  };
3948
- type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$16, UserConfig$16, IApi$14>;
3938
+ type HeyApiClientKyPlugin = DefinePlugin<UserConfig$16, UserConfig$16>;
3949
3939
  //#endregion
3950
3940
  //#region src/openApi/2.0.x/types/json-schema-draft-4.d.ts
3951
3941
  interface JsonSchemaDraft4 extends EnumExtensions {
@@ -6895,9 +6885,6 @@ interface OpenApiV3_1_XTypes {
6895
6885
  SchemaObject: SchemaObject;
6896
6886
  }
6897
6887
  //#endregion
6898
- //#region src/plugins/@hey-api/schemas/api.d.ts
6899
- type IApi$13 = any;
6900
- //#endregion
6901
6888
  //#region src/plugins/@hey-api/schemas/types.d.ts
6902
6889
  type UserConfig$15 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
6903
6890
  /**
@@ -6924,10 +6911,7 @@ type UserConfig$15 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
6924
6911
  */
6925
6912
  type?: 'form' | 'json';
6926
6913
  };
6927
- type HeyApiSchemasPlugin = DefinePlugin<UserConfig$15, UserConfig$15, IApi$13>;
6928
- //#endregion
6929
- //#region src/plugins/@hey-api/sdk/api.d.ts
6930
- type IApi$12 = any;
6914
+ type HeyApiSchemasPlugin = DefinePlugin<UserConfig$15, UserConfig$15>;
6931
6915
  //#endregion
6932
6916
  //#region src/plugins/@hey-api/sdk/types.d.ts
6933
6917
  type UserConfig$14 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
@@ -7104,7 +7088,7 @@ type UserConfig$14 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
7104
7088
  */
7105
7089
  response?: 'body' | 'response';
7106
7090
  };
7107
- type Config$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
7091
+ type Config$13 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
7108
7092
  /**
7109
7093
  * Group operation methods into classes? When enabled, you can select which
7110
7094
  * classes to export with `sdk.include` and/or transform their names with
@@ -7260,10 +7244,7 @@ type Config$12 = Plugin.Name<'@hey-api/sdk'> & Plugin.Hooks & {
7260
7244
  */
7261
7245
  response: 'body' | 'response';
7262
7246
  };
7263
- type HeyApiSdkPlugin = DefinePlugin<UserConfig$14, Config$12, IApi$12>;
7264
- //#endregion
7265
- //#region src/plugins/@hey-api/transformers/api.d.ts
7266
- type IApi$11 = any;
7247
+ type HeyApiSdkPlugin = DefinePlugin<UserConfig$14, Config$13>;
7267
7248
  //#endregion
7268
7249
  //#region src/plugins/@hey-api/transformers/expressions.d.ts
7269
7250
  type ExpressionTransformer = ({
@@ -7315,7 +7296,7 @@ type UserConfig$13 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
7315
7296
  */
7316
7297
  typeTransformers?: ReadonlyArray<TypeTransformer>;
7317
7298
  };
7318
- type Config$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
7299
+ type Config$12 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
7319
7300
  /**
7320
7301
  * Convert long integers into BigInt values?
7321
7302
  *
@@ -7344,7 +7325,7 @@ type Config$11 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
7344
7325
  */
7345
7326
  typeTransformers: ReadonlyArray<TypeTransformer>;
7346
7327
  };
7347
- type HeyApiTransformersPlugin = DefinePlugin<UserConfig$13, Config$11, IApi$11>;
7328
+ type HeyApiTransformersPlugin = DefinePlugin<UserConfig$13, Config$12>;
7348
7329
  //#endregion
7349
7330
  //#region src/plugins/@hey-api/typescript/shared/types.d.ts
7350
7331
  type IrSchemaToAstOptions = {
@@ -7363,7 +7344,7 @@ declare const irSchemaToAst: ({
7363
7344
  }) => ts.TypeNode;
7364
7345
  //#endregion
7365
7346
  //#region src/plugins/@hey-api/typescript/api.d.ts
7366
- type IApi$10 = {
7347
+ type IApi$3 = {
7367
7348
  schemaToType: (args: Parameters<typeof irSchemaToAst>[0]) => ts.TypeNode;
7368
7349
  };
7369
7350
  //#endregion
@@ -7590,39 +7571,8 @@ type UserConfig$12 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
7590
7571
  */
7591
7572
  payload?: StringName;
7592
7573
  };
7593
-
7594
- // DEPRECATED OPTIONS BELOW
7595
-
7596
- /**
7597
- * **This feature works only with the legacy parser**
7598
- *
7599
- * Include only types matching regular expression.
7600
- *
7601
- * @deprecated
7602
- */
7603
- // eslint-disable-next-line typescript-sort-keys/interface
7604
- include?: string;
7605
- /**
7606
- * **This feature works only with the legacy parser**
7607
- *
7608
- * Use your preferred naming pattern
7609
- *
7610
- * @deprecated
7611
- * @default 'preserve'
7612
- */
7613
- style?: 'PascalCase' | 'preserve';
7614
- /**
7615
- * **This feature works only with the legacy parser**
7616
- *
7617
- * Generate a tree of types containing all operations? It will be named
7618
- * $OpenApiTs.
7619
- *
7620
- * @deprecated
7621
- * @default false
7622
- */
7623
- tree?: boolean;
7624
7574
  };
7625
- type Config$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
7575
+ type Config$11 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
7626
7576
  /**
7627
7577
  * The casing convention to use for generated names.
7628
7578
  *
@@ -7811,42 +7761,8 @@ type Config$10 = Plugin.Name<'@hey-api/typescript'> & Plugin.Hooks & {
7811
7761
  */
7812
7762
  payload: StringName;
7813
7763
  };
7814
-
7815
- // DEPRECATED OPTIONS BELOW
7816
-
7817
- /**
7818
- * **This feature works only with the legacy parser**
7819
- *
7820
- * Include only types matching regular expression.
7821
- *
7822
- * @deprecated
7823
- */
7824
- // eslint-disable-next-line typescript-sort-keys/interface
7825
- include?: string;
7826
- /**
7827
- * **This feature works only with the legacy parser**
7828
- *
7829
- * Use your preferred naming pattern
7830
- *
7831
- * @deprecated
7832
- * @default 'preserve'
7833
- */
7834
- style: 'PascalCase' | 'preserve';
7835
- /**
7836
- * **This feature works only with the legacy parser**
7837
- *
7838
- * Generate a tree of types containing all operations? It will be named
7839
- * $OpenApiTs.
7840
- *
7841
- * @deprecated
7842
- * @default false
7843
- */
7844
- tree: boolean;
7845
7764
  };
7846
- type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$12, Config$10, IApi$10>;
7847
- //#endregion
7848
- //#region src/plugins/@pinia/colada/api.d.ts
7849
- type IApi$9 = any;
7765
+ type HeyApiTypeScriptPlugin = DefinePlugin<UserConfig$12, Config$11, IApi$3>;
7850
7766
  //#endregion
7851
7767
  //#region src/plugins/@pinia/colada/types.d.ts
7852
7768
  type UserConfig$11 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
@@ -8027,7 +7943,7 @@ type UserConfig$11 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
8027
7943
  name?: StringName;
8028
7944
  };
8029
7945
  };
8030
- type Config$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
7946
+ type Config$10 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
8031
7947
  /**
8032
7948
  * The casing convention to use for generated names.
8033
7949
  *
@@ -8176,10 +8092,7 @@ type Config$9 = Plugin.Name<'@pinia/colada'> & Plugin.Hooks & {
8176
8092
  name: StringName;
8177
8093
  };
8178
8094
  };
8179
- type PiniaColadaPlugin = DefinePlugin<UserConfig$11, Config$9, IApi$9>;
8180
- //#endregion
8181
- //#region src/plugins/@tanstack/angular-query-experimental/api.d.ts
8182
- type IApi$8 = any;
8095
+ type PiniaColadaPlugin = DefinePlugin<UserConfig$11, Config$10>;
8183
8096
  //#endregion
8184
8097
  //#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
8185
8098
  type UserConfig$10 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
@@ -8463,7 +8376,7 @@ type UserConfig$10 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugi
8463
8376
  name?: StringName;
8464
8377
  };
8465
8378
  };
8466
- type Config$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
8379
+ type Config$9 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hooks & {
8467
8380
  /**
8468
8381
  * The casing convention to use for generated names.
8469
8382
  *
@@ -8704,10 +8617,7 @@ type Config$8 = Plugin.Name<'@tanstack/angular-query-experimental'> & Plugin.Hoo
8704
8617
  name: StringName;
8705
8618
  };
8706
8619
  };
8707
- type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$10, Config$8, IApi$8>;
8708
- //#endregion
8709
- //#region src/plugins/@tanstack/react-query/api.d.ts
8710
- type IApi$7 = any;
8620
+ type TanStackAngularQueryPlugin = DefinePlugin<UserConfig$10, Config$9>;
8711
8621
  //#endregion
8712
8622
  //#region src/plugins/@tanstack/react-query/types.d.ts
8713
8623
  type UserConfig$9 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
@@ -9035,7 +8945,7 @@ type UserConfig$9 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
9035
8945
  name?: StringName;
9036
8946
  };
9037
8947
  };
9038
- type Config$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
8948
+ type Config$8 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
9039
8949
  /**
9040
8950
  * The casing convention to use for generated names.
9041
8951
  *
@@ -9307,10 +9217,7 @@ type Config$7 = Plugin.Name<'@tanstack/react-query'> & Plugin.Hooks & {
9307
9217
  name: StringName;
9308
9218
  };
9309
9219
  };
9310
- type TanStackReactQueryPlugin = DefinePlugin<UserConfig$9, Config$7, IApi$7>;
9311
- //#endregion
9312
- //#region src/plugins/@tanstack/solid-query/api.d.ts
9313
- type IApi$6 = any;
9220
+ type TanStackReactQueryPlugin = DefinePlugin<UserConfig$9, Config$8>;
9314
9221
  //#endregion
9315
9222
  //#region src/plugins/@tanstack/solid-query/types.d.ts
9316
9223
  type UserConfig$8 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
@@ -9595,7 +9502,7 @@ type UserConfig$8 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
9595
9502
  name?: StringName;
9596
9503
  };
9597
9504
  };
9598
- type Config$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
9505
+ type Config$7 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
9599
9506
  /**
9600
9507
  * The casing convention to use for generated names.
9601
9508
  *
@@ -9836,10 +9743,7 @@ type Config$6 = Plugin.Name<'@tanstack/solid-query'> & Plugin.Hooks & {
9836
9743
  name: StringName;
9837
9744
  };
9838
9745
  };
9839
- type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$8, Config$6, IApi$6>;
9840
- //#endregion
9841
- //#region src/plugins/@tanstack/svelte-query/api.d.ts
9842
- type IApi$5 = any;
9746
+ type TanStackSolidQueryPlugin = DefinePlugin<UserConfig$8, Config$7>;
9843
9747
  //#endregion
9844
9748
  //#region src/plugins/@tanstack/svelte-query/types.d.ts
9845
9749
  type UserConfig$7 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
@@ -10123,7 +10027,7 @@ type UserConfig$7 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
10123
10027
  name?: StringName;
10124
10028
  };
10125
10029
  };
10126
- type Config$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
10030
+ type Config$6 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
10127
10031
  /**
10128
10032
  * The casing convention to use for generated names.
10129
10033
  *
@@ -10364,10 +10268,7 @@ type Config$5 = Plugin.Name<'@tanstack/svelte-query'> & Plugin.Hooks & {
10364
10268
  name: StringName;
10365
10269
  };
10366
10270
  };
10367
- type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$7, Config$5, IApi$5>;
10368
- //#endregion
10369
- //#region src/plugins/@tanstack/vue-query/api.d.ts
10370
- type IApi$4 = any;
10271
+ type TanStackSvelteQueryPlugin = DefinePlugin<UserConfig$7, Config$6>;
10371
10272
  //#endregion
10372
10273
  //#region src/plugins/@tanstack/vue-query/types.d.ts
10373
10274
  type UserConfig$6 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
@@ -10654,7 +10555,7 @@ type UserConfig$6 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
10654
10555
  name?: StringName;
10655
10556
  };
10656
10557
  };
10657
- type Config$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
10558
+ type Config$5 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
10658
10559
  /**
10659
10560
  * The casing convention to use for generated names.
10660
10561
  *
@@ -10898,7 +10799,32 @@ type Config$4 = Plugin.Name<'@tanstack/vue-query'> & Plugin.Hooks & {
10898
10799
  name: StringName;
10899
10800
  };
10900
10801
  };
10901
- type TanStackVueQueryPlugin = DefinePlugin<UserConfig$6, Config$4, IApi$4>;
10802
+ type TanStackVueQueryPlugin = DefinePlugin<UserConfig$6, Config$5>;
10803
+ //#endregion
10804
+ //#region src/ts-dsl/base.d.ts
10805
+ type MaybeArray$1<T> = T | ReadonlyArray<T>;
10806
+ type WithStatement<T = ts.Expression> = T | ts.Statement;
10807
+ type WithString<T = ts.Expression> = T | string;
10808
+ interface ITsDsl<T extends ts.Node = ts.Node> {
10809
+ $render(): T;
10810
+ }
10811
+ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements ITsDsl<T> {
10812
+ abstract $render(): T;
10813
+ protected $expr<T>(expr: WithString<T>): T;
10814
+ /** Conditionally applies a callback to this builder. */
10815
+ $if<T extends TsDsl, V$1, R extends TsDsl = T>(this: T, value: V$1, ifTrue: (self: T, v: Exclude<V$1, false | null | undefined>) => R | void, ifFalse?: (self: T, v: Extract<V$1, false | null | undefined>) => R | void): R | T;
10816
+ $if<T extends TsDsl, V$1, R extends TsDsl = T>(this: T, value: V$1, ifTrue: (v: Exclude<V$1, false | null | undefined>) => R | void, ifFalse?: (v: Extract<V$1, false | null | undefined>) => R | void): R | T;
10817
+ $if<T extends TsDsl, V$1, R extends TsDsl = T>(this: T, value: V$1, ifTrue: () => R | void, ifFalse?: () => R | void): R | T;
10818
+ protected $node<I>(input: I): NodeOfMaybe<I>;
10819
+ protected $stmt(input: MaybeArray$1<MaybeTsDsl<WithString<WithStatement>>>): ReadonlyArray<ts.Statement>;
10820
+ protected $type<I>(input: I, args?: ReadonlyArray<ts.TypeNode>): TypeOfMaybe<I>;
10821
+ private _render;
10822
+ }
10823
+ type NodeOfMaybe<I> = undefined extends I ? NodeOf<NonNullable<I>> | undefined : NodeOf<I>;
10824
+ type NodeOf<I> = I extends ReadonlyArray<infer U> ? ReadonlyArray<U extends TsDsl<infer N> ? N : U> : I extends string ? ts.Expression : I extends boolean ? ts.Expression : I extends TsDsl<infer N> ? N : I extends ts.Node ? I : never;
10825
+ type MaybeTsDsl<T> = string extends T ? Exclude<T, string> extends ts.Node ? string | Exclude<T, string> | TsDsl<Exclude<T, string>> : string : T extends TsDsl<any> ? T : T extends ts.Node ? T | TsDsl<T> : never;
10826
+ type TypeOfMaybe<I> = undefined extends I ? TypeOf<NonNullable<I>> | undefined : TypeOf<I>;
10827
+ type TypeOf<I> = I extends ReadonlyArray<infer U> ? ReadonlyArray<TypeOf<U>> : I extends string ? ts.TypeNode : I extends boolean ? ts.LiteralTypeNode : I extends TsDsl<infer N> ? N : I extends ts.TypeNode ? I : never;
10902
10828
  //#endregion
10903
10829
  //#region src/plugins/arktype/shared/types.d.ts
10904
10830
  type ValidatorArgs$2 = {
@@ -10907,9 +10833,9 @@ type ValidatorArgs$2 = {
10907
10833
  };
10908
10834
  //#endregion
10909
10835
  //#region src/plugins/arktype/api.d.ts
10910
- type IApi$3 = {
10911
- createRequestValidator: (args: ValidatorArgs$2) => ts.ArrowFunction | undefined;
10912
- createResponseValidator: (args: ValidatorArgs$2) => ts.ArrowFunction | undefined;
10836
+ type IApi$2 = {
10837
+ createRequestValidator: (args: ValidatorArgs$2) => TsDsl | undefined;
10838
+ createResponseValidator: (args: ValidatorArgs$2) => TsDsl | undefined;
10913
10839
  };
10914
10840
  //#endregion
10915
10841
  //#region src/plugins/arktype/types.d.ts
@@ -11258,7 +11184,7 @@ type UserConfig$5 = Plugin.Name<'arktype'> & Plugin.Hooks & {
11258
11184
  };
11259
11185
  };
11260
11186
  };
11261
- type Config$3 = Plugin.Name<'arktype'> & Plugin.Hooks & {
11187
+ type Config$4 = Plugin.Name<'arktype'> & Plugin.Hooks & {
11262
11188
  /**
11263
11189
  * The casing convention to use for generated names.
11264
11190
  *
@@ -11542,10 +11468,7 @@ type Config$3 = Plugin.Name<'arktype'> & Plugin.Hooks & {
11542
11468
  };
11543
11469
  };
11544
11470
  };
11545
- type ArktypePlugin = DefinePlugin<UserConfig$5, Config$3, IApi$3>;
11546
- //#endregion
11547
- //#region src/plugins/fastify/api.d.ts
11548
- type IApi$2 = any;
11471
+ type ArktypePlugin = DefinePlugin<UserConfig$5, Config$4, IApi$2>;
11549
11472
  //#endregion
11550
11473
  //#region src/plugins/fastify/types.d.ts
11551
11474
  type UserConfig$4 = Plugin.Name<'fastify'> & Plugin.Hooks & {
@@ -11557,22 +11480,10 @@ type UserConfig$4 = Plugin.Name<'fastify'> & Plugin.Hooks & {
11557
11480
  */
11558
11481
  exportFromIndex?: boolean;
11559
11482
  };
11560
- type FastifyPlugin = DefinePlugin<UserConfig$4, UserConfig$4, IApi$2>;
11561
- //#endregion
11562
- //#region src/plugins/valibot/shared/types.d.ts
11563
- type ValidatorArgs$1 = {
11564
- operation: IR$1.OperationObject;
11565
- plugin: ValibotPlugin['Instance'];
11566
- };
11567
- //#endregion
11568
- //#region src/plugins/valibot/api.d.ts
11569
- type IApi$1 = {
11570
- createRequestValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
11571
- createResponseValidator: (args: ValidatorArgs$1) => ts.ArrowFunction | undefined;
11572
- };
11483
+ type FastifyPlugin = DefinePlugin<UserConfig$4, UserConfig$4>;
11573
11484
  //#endregion
11574
- //#region src/plugins/valibot/types.d.ts
11575
- type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11485
+ //#region src/plugins/swr/types.d.ts
11486
+ type UserConfig$3 = Plugin.Name<'swr'> & Plugin.Hooks & {
11576
11487
  /**
11577
11488
  * The casing convention to use for generated names.
11578
11489
  *
@@ -11580,23 +11491,36 @@ type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11580
11491
  */
11581
11492
  case?: StringCase;
11582
11493
  /**
11583
- * Add comments from input to the generated Valibot schemas?
11494
+ * Add comments from SDK functions to the generated SWR code?
11495
+ *
11496
+ * Duplicating comments this way is useful so you don't need to drill into
11497
+ * the underlying SDK function to learn what it does or whether it's
11498
+ * deprecated. You can set this option to `false` if you prefer less
11499
+ * comment duplication.
11584
11500
  *
11585
11501
  * @default true
11586
11502
  */
11587
11503
  comments?: boolean;
11588
11504
  /**
11589
- * Configuration for reusable schema definitions.
11505
+ * Should the exports from the generated files be re-exported in the index
11506
+ * barrel file?
11590
11507
  *
11591
- * Controls generation of shared Valibot schemas that can be referenced
11592
- * across requests and responses.
11508
+ * @default false
11509
+ */
11510
+ exportFromIndex?: boolean;
11511
+ /**
11512
+ * Configuration for generated infinite query key helpers.
11513
+ *
11514
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11593
11515
  *
11594
11516
  * Can be:
11595
11517
  * - `boolean`: Shorthand for `{ enabled: boolean }`
11596
11518
  * - `string` or `function`: Shorthand for `{ name: string | function }`
11597
11519
  * - `object`: Full configuration object
11520
+ *
11521
+ * @default true
11598
11522
  */
11599
- definitions?: boolean | StringName | {
11523
+ infiniteQueryKeys?: boolean | StringName | {
11600
11524
  /**
11601
11525
  * The casing convention to use for generated names.
11602
11526
  *
@@ -11604,46 +11528,41 @@ type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11604
11528
  */
11605
11529
  case?: StringCase;
11606
11530
  /**
11607
- * Whether to generate Valibot schemas for reusable definitions.
11531
+ * Whether to generate infinite query key helpers.
11608
11532
  *
11609
11533
  * @default true
11610
11534
  */
11611
11535
  enabled?: boolean;
11612
11536
  /**
11613
- * Custom naming pattern for generated schema names. The name variable
11614
- * is obtained from the schema name.
11537
+ * Custom naming pattern for generated infinite query key names. The name variable is
11538
+ * obtained from the SDK function name.
11615
11539
  *
11616
- * @default 'v{{name}}'
11540
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11541
+ *
11542
+ * @default '{{name}}InfiniteQueryKey'
11617
11543
  */
11618
11544
  name?: StringName;
11545
+ /**
11546
+ * Whether to include operation tags in infinite query keys.
11547
+ * This will make query keys larger but provides better cache invalidation capabilities.
11548
+ *
11549
+ * @default false
11550
+ */
11551
+ tags?: boolean;
11619
11552
  };
11620
11553
  /**
11621
- * Should the exports from the generated files be re-exported in the index
11622
- * barrel file?
11623
- *
11624
- * @default false
11625
- */
11626
- exportFromIndex?: boolean;
11627
- /**
11628
- * Enable Valibot metadata support? It's often useful to associate a schema
11629
- * with some additional metadata for documentation, code generation, AI
11630
- * structured outputs, form validation, and other purposes.
11631
- *
11632
- * @default false
11633
- */
11634
- metadata?: boolean;
11635
- /**
11636
- * Configuration for request-specific Valibot schemas.
11554
+ * Configuration for generated infinite query options helpers.
11637
11555
  *
11638
- * Controls generation of Valibot schemas for request bodies, query
11639
- * parameters, path parameters, and headers.
11556
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11640
11557
  *
11641
11558
  * Can be:
11642
11559
  * - `boolean`: Shorthand for `{ enabled: boolean }`
11643
11560
  * - `string` or `function`: Shorthand for `{ name: string | function }`
11644
11561
  * - `object`: Full configuration object
11562
+ *
11563
+ * @default true
11645
11564
  */
11646
- requests?: boolean | StringName | {
11565
+ infiniteQueryOptions?: boolean | StringName | {
11647
11566
  /**
11648
11567
  * The casing convention to use for generated names.
11649
11568
  *
@@ -11651,31 +11570,57 @@ type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11651
11570
  */
11652
11571
  case?: StringCase;
11653
11572
  /**
11654
- * Whether to generate Valibot schemas for request definitions.
11573
+ * Whether to generate infinite query options helpers.
11655
11574
  *
11656
11575
  * @default true
11657
11576
  */
11658
11577
  enabled?: boolean;
11659
11578
  /**
11660
- * Custom naming pattern for generated schema names. The name variable
11661
- * is obtained from the operation name.
11579
+ * Custom function to generate metadata for the operation.
11580
+ * Can return any valid meta object that will be included in the generated infinite query options.
11662
11581
  *
11663
- * @default 'v{{name}}Data'
11582
+ * @param operation - The operation object containing all available metadata
11583
+ * @returns A meta object with any properties you want to include
11584
+ *
11585
+ * @example
11586
+ * ```typescript
11587
+ * meta: (operation) => ({
11588
+ * customField: operation.id,
11589
+ * isDeprecated: operation.deprecated,
11590
+ * tags: operation.tags,
11591
+ * customObject: {
11592
+ * method: operation.method,
11593
+ * path: operation.path
11594
+ * }
11595
+ * })
11596
+ * ```
11597
+ *
11598
+ * @default undefined
11599
+ */
11600
+ meta?: (operation: IR$1.OperationObject) => Record<string, unknown>;
11601
+ /**
11602
+ * Custom naming pattern for generated infinite query options names. The name variable is
11603
+ * obtained from the SDK function name.
11604
+ *
11605
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11606
+ *
11607
+ * @default '{{name}}InfiniteOptions'
11664
11608
  */
11665
11609
  name?: StringName;
11666
11610
  };
11667
11611
  /**
11668
- * Configuration for response-specific Valibot schemas.
11612
+ * Configuration for generated mutation options helpers.
11669
11613
  *
11670
- * Controls generation of Valibot schemas for response bodies, error
11671
- * responses, and status codes.
11614
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
11672
11615
  *
11673
11616
  * Can be:
11674
11617
  * - `boolean`: Shorthand for `{ enabled: boolean }`
11675
11618
  * - `string` or `function`: Shorthand for `{ name: string | function }`
11676
11619
  * - `object`: Full configuration object
11620
+ *
11621
+ * @default true
11677
11622
  */
11678
- responses?: boolean | StringName | {
11623
+ mutationOptions?: boolean | StringName | {
11679
11624
  /**
11680
11625
  * The casing convention to use for generated names.
11681
11626
  *
@@ -11683,23 +11628,48 @@ type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11683
11628
  */
11684
11629
  case?: StringCase;
11685
11630
  /**
11686
- * Whether to generate Valibot schemas for response definitions.
11631
+ * Whether to generate mutation options helpers.
11687
11632
  *
11688
11633
  * @default true
11689
11634
  */
11690
11635
  enabled?: boolean;
11691
11636
  /**
11692
- * Custom naming pattern for generated schema names. The name variable
11693
- * is obtained from the operation name.
11637
+ * Custom function to generate metadata for the operation.
11638
+ * Can return any valid meta object that will be included in the generated mutation options.
11694
11639
  *
11695
- * @default 'v{{name}}Response'
11640
+ * @param operation - The operation object containing all available metadata
11641
+ * @returns A meta object with any properties you want to include
11642
+ *
11643
+ * @example
11644
+ * ```typescript
11645
+ * meta: (operation) => ({
11646
+ * customField: operation.id,
11647
+ * isDeprecated: operation.deprecated,
11648
+ * tags: operation.tags,
11649
+ * customObject: {
11650
+ * method: operation.method,
11651
+ * path: operation.path
11652
+ * }
11653
+ * })
11654
+ * ```
11655
+ *
11656
+ * @default undefined
11657
+ */
11658
+ meta?: (operation: IR$1.OperationObject) => Record<string, unknown>;
11659
+ /**
11660
+ * Custom naming pattern for generated mutation options names. The name variable is
11661
+ * obtained from the SDK function name.
11662
+ *
11663
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
11664
+ *
11665
+ * @default '{{name}}Mutation'
11696
11666
  */
11697
11667
  name?: StringName;
11698
11668
  };
11699
11669
  /**
11700
- * Configuration for webhook-specific Valibot schemas.
11670
+ * Configuration for generated query keys.
11701
11671
  *
11702
- * Controls generation of Valibot schemas for webhook payloads.
11672
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryKey queryKey}
11703
11673
  *
11704
11674
  * Can be:
11705
11675
  * - `boolean`: Shorthand for `{ enabled: boolean }`
@@ -11708,7 +11678,7 @@ type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11708
11678
  *
11709
11679
  * @default true
11710
11680
  */
11711
- webhooks?: boolean | StringName | {
11681
+ queryKeys?: boolean | StringName | {
11712
11682
  /**
11713
11683
  * The casing convention to use for generated names.
11714
11684
  *
@@ -11716,28 +11686,581 @@ type UserConfig$3 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11716
11686
  */
11717
11687
  case?: StringCase;
11718
11688
  /**
11719
- * Whether to generate Valibot schemas for webhook definitions.
11689
+ * Whether to generate query keys.
11720
11690
  *
11721
11691
  * @default true
11722
11692
  */
11723
11693
  enabled?: boolean;
11724
11694
  /**
11725
- * Custom naming pattern for generated schema names. The name variable
11726
- * is obtained from the webhook key.
11695
+ * Custom naming pattern for generated query key names. The name variable is
11696
+ * obtained from the SDK function name.
11727
11697
  *
11728
- * @default 'v{{name}}WebhookRequest'
11698
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/guides/query-keys Query Keys}
11699
+ *
11700
+ * @default '{{name}}QueryKey'
11729
11701
  */
11730
11702
  name?: StringName;
11703
+ /**
11704
+ * Whether to include operation tags in query keys.
11705
+ * This will make query keys larger but provides better cache invalidation capabilities.
11706
+ *
11707
+ * @default false
11708
+ */
11709
+ tags?: boolean;
11731
11710
  };
11732
- };
11733
- type Config$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11734
11711
  /**
11735
- * The casing convention to use for generated names.
11712
+ * Configuration for generated query options helpers.
11736
11713
  *
11737
- * @default 'camelCase'
11738
- */
11739
- case: StringCase;
11740
- /**
11714
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
11715
+ *
11716
+ * Can be:
11717
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
11718
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
11719
+ * - `object`: Full configuration object
11720
+ *
11721
+ * @default true
11722
+ */
11723
+ queryOptions?: boolean | StringName | {
11724
+ /**
11725
+ * The casing convention to use for generated names.
11726
+ *
11727
+ * @default 'camelCase'
11728
+ */
11729
+ case?: StringCase;
11730
+ /**
11731
+ * Whether to generate query options helpers.
11732
+ *
11733
+ * @default true
11734
+ */
11735
+ enabled?: boolean;
11736
+ /**
11737
+ * Whether to export generated symbols.
11738
+ *
11739
+ * @default true
11740
+ */
11741
+ exported?: boolean;
11742
+ /**
11743
+ * Custom function to generate metadata for the operation.
11744
+ * Can return any valid meta object that will be included in the generated query options.
11745
+ *
11746
+ * @param operation - The operation object containing all available metadata
11747
+ * @returns A meta object with any properties you want to include
11748
+ *
11749
+ * @example
11750
+ * ```typescript
11751
+ * meta: (operation) => ({
11752
+ * customField: operation.id,
11753
+ * isDeprecated: operation.deprecated,
11754
+ * tags: operation.tags,
11755
+ * customObject: {
11756
+ * method: operation.method,
11757
+ * path: operation.path
11758
+ * }
11759
+ * })
11760
+ * ```
11761
+ *
11762
+ * @default undefined
11763
+ */
11764
+ meta?: (operation: IR$1.OperationObject) => Record<string, unknown>;
11765
+ /**
11766
+ * Custom naming pattern for generated query options names. The name variable is
11767
+ * obtained from the SDK function name.
11768
+ *
11769
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
11770
+ *
11771
+ * @default '{{name}}Options'
11772
+ */
11773
+ name?: StringName;
11774
+ };
11775
+ /**
11776
+ * Configuration for generated `useSwr()` function helpers.
11777
+ *
11778
+ * See {@link https://swr.vercel.app/docs/api API}
11779
+ *
11780
+ * Can be:
11781
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
11782
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
11783
+ * - `object`: Full configuration object
11784
+ *
11785
+ * @default true
11786
+ */
11787
+ useSwr?: boolean | StringName | {
11788
+ /**
11789
+ * The casing convention to use for generated names.
11790
+ *
11791
+ * @default 'camelCase'
11792
+ */
11793
+ case?: StringCase;
11794
+ /**
11795
+ * Whether to generate `useSwr()` function helpers.
11796
+ *
11797
+ * @default true
11798
+ */
11799
+ enabled?: boolean;
11800
+ /**
11801
+ * Custom naming pattern for generated `useSwr()` function names. The name variable is
11802
+ * obtained from the SDK function name.
11803
+ *
11804
+ * See {@link https://swr.vercel.app/docs/api API}
11805
+ *
11806
+ * @default 'use{{name}}'
11807
+ */
11808
+ name?: StringName;
11809
+ };
11810
+ };
11811
+ type Config$3 = Plugin.Name<'swr'> & Plugin.Hooks & {
11812
+ /**
11813
+ * The casing convention to use for generated names.
11814
+ *
11815
+ * @default 'camelCase'
11816
+ */
11817
+ case: StringCase;
11818
+ /**
11819
+ * Add comments from SDK functions to the generated SWR code?
11820
+ *
11821
+ * @default true
11822
+ */
11823
+ comments: boolean;
11824
+ /**
11825
+ * Should the exports from the generated files be re-exported in the index barrel file?
11826
+ *
11827
+ * @default false
11828
+ */
11829
+ exportFromIndex: boolean;
11830
+ /**
11831
+ * Resolved configuration for generated infinite query key helpers.
11832
+ *
11833
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11834
+ */
11835
+ infiniteQueryKeys: {
11836
+ /**
11837
+ * The casing convention to use for generated names.
11838
+ *
11839
+ * @default 'camelCase'
11840
+ */
11841
+ case: StringCase;
11842
+ /**
11843
+ * Whether to generate infinite query key helpers.
11844
+ *
11845
+ * @default true
11846
+ */
11847
+ enabled: boolean;
11848
+ /**
11849
+ * Custom naming pattern for generated infinite query key names. The name variable is obtained from the SDK function name.
11850
+ *
11851
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11852
+ *
11853
+ * @default '{{name}}InfiniteQueryKey'
11854
+ */
11855
+ name: StringName;
11856
+ /**
11857
+ * Whether to include operation tags in infinite query keys.
11858
+ * This will make query keys larger but provides better cache invalidation capabilities.
11859
+ *
11860
+ * @default false
11861
+ */
11862
+ tags: boolean;
11863
+ };
11864
+ /**
11865
+ * Resolved configuration for generated infinite query options helpers.
11866
+ *
11867
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11868
+ */
11869
+ infiniteQueryOptions: {
11870
+ /**
11871
+ * The casing convention to use for generated names.
11872
+ *
11873
+ * @default 'camelCase'
11874
+ */
11875
+ case: StringCase;
11876
+ /**
11877
+ * Whether to generate infinite query options helpers.
11878
+ *
11879
+ * @default true
11880
+ */
11881
+ enabled: boolean;
11882
+ /**
11883
+ * Custom function to generate metadata for the operation.
11884
+ * Can return any valid meta object that will be included in the generated infinite query options.
11885
+ *
11886
+ * @param operation - The operation object containing all available metadata
11887
+ * @returns A meta object with any properties you want to include
11888
+ *
11889
+ * @example
11890
+ * ```typescript
11891
+ * meta: (operation) => ({
11892
+ * customField: operation.id,
11893
+ * isDeprecated: operation.deprecated,
11894
+ * tags: operation.tags,
11895
+ * customObject: {
11896
+ * method: operation.method,
11897
+ * path: operation.path
11898
+ * }
11899
+ * })
11900
+ * ```
11901
+ *
11902
+ * @default undefined
11903
+ */
11904
+ meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
11905
+ /**
11906
+ * Custom naming pattern for generated infinite query options names. The name variable is obtained from the SDK function name.
11907
+ *
11908
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions infiniteQueryOptions}
11909
+ *
11910
+ * @default '{{name}}InfiniteOptions'
11911
+ */
11912
+ name: StringName;
11913
+ };
11914
+ /**
11915
+ * Resolved configuration for generated mutation options helpers.
11916
+ *
11917
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
11918
+ */
11919
+ mutationOptions: {
11920
+ /**
11921
+ * The casing convention to use for generated names.
11922
+ *
11923
+ * @default 'camelCase'
11924
+ */
11925
+ case: StringCase;
11926
+ /**
11927
+ * Whether to generate mutation options helpers.
11928
+ *
11929
+ * @default true
11930
+ */
11931
+ enabled: boolean;
11932
+ /**
11933
+ * Custom function to generate metadata for the operation.
11934
+ * Can return any valid meta object that will be included in the generated mutation options.
11935
+ *
11936
+ * @param operation - The operation object containing all available metadata
11937
+ * @returns A meta object with any properties you want to include
11938
+ *
11939
+ * @example
11940
+ * ```typescript
11941
+ * meta: (operation) => ({
11942
+ * customField: operation.id,
11943
+ * isDeprecated: operation.deprecated,
11944
+ * tags: operation.tags,
11945
+ * customObject: {
11946
+ * method: operation.method,
11947
+ * path: operation.path
11948
+ * }
11949
+ * })
11950
+ * ```
11951
+ *
11952
+ * @default undefined
11953
+ */
11954
+ meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
11955
+ /**
11956
+ * Custom naming pattern for generated mutation options names. The name variable is obtained from the SDK function name.
11957
+ *
11958
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/useMutation useMutation}
11959
+ *
11960
+ * @default '{{name}}Mutation'
11961
+ */
11962
+ name: StringName;
11963
+ };
11964
+ /**
11965
+ * Resolved configuration for generated query keys.
11966
+ *
11967
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/guides/query-keys Query Keys}
11968
+ */
11969
+ queryKeys: {
11970
+ /**
11971
+ * The casing convention to use for generated names.
11972
+ *
11973
+ * @default 'camelCase'
11974
+ */
11975
+ case: StringCase;
11976
+ /**
11977
+ * Whether to generate query keys.
11978
+ *
11979
+ * @default true
11980
+ */
11981
+ enabled: boolean;
11982
+ /**
11983
+ * Custom naming pattern for generated query key names. The name variable is obtained from the SDK function name.
11984
+ *
11985
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/guides/query-keys Query Keys}
11986
+ *
11987
+ * @default '{{name}}QueryKey'
11988
+ */
11989
+ name: StringName;
11990
+ /**
11991
+ * Whether to include operation tags in query keys.
11992
+ * This will make query keys larger but provides better cache invalidation capabilities.
11993
+ *
11994
+ * @default false
11995
+ */
11996
+ tags: boolean;
11997
+ };
11998
+ /**
11999
+ * Resolved configuration for generated query options helpers.
12000
+ *
12001
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
12002
+ */
12003
+ queryOptions: {
12004
+ /**
12005
+ * The casing convention to use for generated names.
12006
+ *
12007
+ * @default 'camelCase'
12008
+ */
12009
+ case: StringCase;
12010
+ /**
12011
+ * Whether to generate query options helpers.
12012
+ *
12013
+ * @default true
12014
+ */
12015
+ enabled: boolean;
12016
+ /**
12017
+ * Whether to export generated symbols.
12018
+ *
12019
+ * @default true
12020
+ */
12021
+ exported: boolean;
12022
+ /**
12023
+ * Custom function to generate metadata for the operation.
12024
+ * Can return any valid meta object that will be included in the generated query options.
12025
+ *
12026
+ * @param operation - The operation object containing all available metadata
12027
+ * @returns A meta object with any properties you want to include
12028
+ *
12029
+ * @example
12030
+ * ```typescript
12031
+ * meta: (operation) => ({
12032
+ * customField: operation.id,
12033
+ * isDeprecated: operation.deprecated,
12034
+ * tags: operation.tags,
12035
+ * customObject: {
12036
+ * method: operation.method,
12037
+ * path: operation.path
12038
+ * }
12039
+ * })
12040
+ * ```
12041
+ *
12042
+ * @default undefined
12043
+ */
12044
+ meta: (operation: IR$1.OperationObject) => Record<string, unknown>;
12045
+ /**
12046
+ * Custom naming pattern for generated query options names. The name variable is obtained from the SDK function name.
12047
+ *
12048
+ * See {@link https://tanstack.com/query/v5/docs/framework/react/reference/queryOptions queryOptions}
12049
+ *
12050
+ * @default '{{name}}Options'
12051
+ */
12052
+ name: StringName;
12053
+ };
12054
+ /**
12055
+ * Configuration for generated `useSwr()` function helpers.
12056
+ *
12057
+ * See {@link https://swr.vercel.app/docs/api API}
12058
+ */
12059
+ useSwr: {
12060
+ /**
12061
+ * The casing convention to use for generated names.
12062
+ *
12063
+ * @default 'camelCase'
12064
+ */
12065
+ case: StringCase;
12066
+ /**
12067
+ * Whether to generate `useSwr()` function helpers.
12068
+ *
12069
+ * @default true
12070
+ */
12071
+ enabled: boolean;
12072
+ /**
12073
+ * Custom naming pattern for generated `useSwr()` function names. The name variable is
12074
+ * obtained from the SDK function name.
12075
+ *
12076
+ * See {@link https://swr.vercel.app/docs/api API}
12077
+ *
12078
+ * @default 'use{{name}}'
12079
+ */
12080
+ name: StringName;
12081
+ };
12082
+ };
12083
+ type SwrPlugin = DefinePlugin<UserConfig$3, Config$3>;
12084
+ //#endregion
12085
+ //#region src/plugins/valibot/shared/types.d.ts
12086
+ type ValidatorArgs$1 = {
12087
+ operation: IR$1.OperationObject;
12088
+ plugin: ValibotPlugin['Instance'];
12089
+ };
12090
+ //#endregion
12091
+ //#region src/plugins/valibot/api.d.ts
12092
+ type IApi$1 = {
12093
+ createRequestValidator: (args: ValidatorArgs$1) => TsDsl | undefined;
12094
+ createResponseValidator: (args: ValidatorArgs$1) => TsDsl | undefined;
12095
+ };
12096
+ //#endregion
12097
+ //#region src/plugins/valibot/types.d.ts
12098
+ type UserConfig$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
12099
+ /**
12100
+ * The casing convention to use for generated names.
12101
+ *
12102
+ * @default 'camelCase'
12103
+ */
12104
+ case?: StringCase;
12105
+ /**
12106
+ * Add comments from input to the generated Valibot schemas?
12107
+ *
12108
+ * @default true
12109
+ */
12110
+ comments?: boolean;
12111
+ /**
12112
+ * Configuration for reusable schema definitions.
12113
+ *
12114
+ * Controls generation of shared Valibot schemas that can be referenced
12115
+ * across requests and responses.
12116
+ *
12117
+ * Can be:
12118
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
12119
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
12120
+ * - `object`: Full configuration object
12121
+ */
12122
+ definitions?: boolean | StringName | {
12123
+ /**
12124
+ * The casing convention to use for generated names.
12125
+ *
12126
+ * @default 'camelCase'
12127
+ */
12128
+ case?: StringCase;
12129
+ /**
12130
+ * Whether to generate Valibot schemas for reusable definitions.
12131
+ *
12132
+ * @default true
12133
+ */
12134
+ enabled?: boolean;
12135
+ /**
12136
+ * Custom naming pattern for generated schema names. The name variable
12137
+ * is obtained from the schema name.
12138
+ *
12139
+ * @default 'v{{name}}'
12140
+ */
12141
+ name?: StringName;
12142
+ };
12143
+ /**
12144
+ * Should the exports from the generated files be re-exported in the index
12145
+ * barrel file?
12146
+ *
12147
+ * @default false
12148
+ */
12149
+ exportFromIndex?: boolean;
12150
+ /**
12151
+ * Enable Valibot metadata support? It's often useful to associate a schema
12152
+ * with some additional metadata for documentation, code generation, AI
12153
+ * structured outputs, form validation, and other purposes.
12154
+ *
12155
+ * @default false
12156
+ */
12157
+ metadata?: boolean;
12158
+ /**
12159
+ * Configuration for request-specific Valibot schemas.
12160
+ *
12161
+ * Controls generation of Valibot schemas for request bodies, query
12162
+ * parameters, path parameters, and headers.
12163
+ *
12164
+ * Can be:
12165
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
12166
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
12167
+ * - `object`: Full configuration object
12168
+ */
12169
+ requests?: boolean | StringName | {
12170
+ /**
12171
+ * The casing convention to use for generated names.
12172
+ *
12173
+ * @default 'camelCase'
12174
+ */
12175
+ case?: StringCase;
12176
+ /**
12177
+ * Whether to generate Valibot schemas for request definitions.
12178
+ *
12179
+ * @default true
12180
+ */
12181
+ enabled?: boolean;
12182
+ /**
12183
+ * Custom naming pattern for generated schema names. The name variable
12184
+ * is obtained from the operation name.
12185
+ *
12186
+ * @default 'v{{name}}Data'
12187
+ */
12188
+ name?: StringName;
12189
+ };
12190
+ /**
12191
+ * Configuration for response-specific Valibot schemas.
12192
+ *
12193
+ * Controls generation of Valibot schemas for response bodies, error
12194
+ * responses, and status codes.
12195
+ *
12196
+ * Can be:
12197
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
12198
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
12199
+ * - `object`: Full configuration object
12200
+ */
12201
+ responses?: boolean | StringName | {
12202
+ /**
12203
+ * The casing convention to use for generated names.
12204
+ *
12205
+ * @default 'camelCase'
12206
+ */
12207
+ case?: StringCase;
12208
+ /**
12209
+ * Whether to generate Valibot schemas for response definitions.
12210
+ *
12211
+ * @default true
12212
+ */
12213
+ enabled?: boolean;
12214
+ /**
12215
+ * Custom naming pattern for generated schema names. The name variable
12216
+ * is obtained from the operation name.
12217
+ *
12218
+ * @default 'v{{name}}Response'
12219
+ */
12220
+ name?: StringName;
12221
+ };
12222
+ /**
12223
+ * Configuration for webhook-specific Valibot schemas.
12224
+ *
12225
+ * Controls generation of Valibot schemas for webhook payloads.
12226
+ *
12227
+ * Can be:
12228
+ * - `boolean`: Shorthand for `{ enabled: boolean }`
12229
+ * - `string` or `function`: Shorthand for `{ name: string | function }`
12230
+ * - `object`: Full configuration object
12231
+ *
12232
+ * @default true
12233
+ */
12234
+ webhooks?: boolean | StringName | {
12235
+ /**
12236
+ * The casing convention to use for generated names.
12237
+ *
12238
+ * @default 'camelCase'
12239
+ */
12240
+ case?: StringCase;
12241
+ /**
12242
+ * Whether to generate Valibot schemas for webhook definitions.
12243
+ *
12244
+ * @default true
12245
+ */
12246
+ enabled?: boolean;
12247
+ /**
12248
+ * Custom naming pattern for generated schema names. The name variable
12249
+ * is obtained from the webhook key.
12250
+ *
12251
+ * @default 'v{{name}}WebhookRequest'
12252
+ */
12253
+ name?: StringName;
12254
+ };
12255
+ };
12256
+ type Config$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
12257
+ /**
12258
+ * The casing convention to use for generated names.
12259
+ *
12260
+ * @default 'camelCase'
12261
+ */
12262
+ case: StringCase;
12263
+ /**
11741
12264
  * Add comments from input to the generated Valibot schemas?
11742
12265
  *
11743
12266
  * @default true
@@ -11866,7 +12389,7 @@ type Config$2 = Plugin.Name<'valibot'> & Plugin.Hooks & {
11866
12389
  name: StringName;
11867
12390
  };
11868
12391
  };
11869
- type ValibotPlugin = DefinePlugin<UserConfig$3, Config$2, IApi$1>;
12392
+ type ValibotPlugin = DefinePlugin<UserConfig$2, Config$2, IApi$1>;
11870
12393
  //#endregion
11871
12394
  //#region src/plugins/zod/shared/types.d.ts
11872
12395
  type ValidatorArgs = {
@@ -11876,12 +12399,12 @@ type ValidatorArgs = {
11876
12399
  //#endregion
11877
12400
  //#region src/plugins/zod/api.d.ts
11878
12401
  type IApi = {
11879
- createRequestValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
11880
- createResponseValidator: (args: ValidatorArgs) => ts.ArrowFunction | undefined;
12402
+ createRequestValidator: (args: ValidatorArgs) => TsDsl | undefined;
12403
+ createResponseValidator: (args: ValidatorArgs) => TsDsl | undefined;
11881
12404
  };
11882
12405
  //#endregion
11883
12406
  //#region src/plugins/zod/types.d.ts
11884
- type UserConfig$2 = Plugin.Name<'zod'> & Plugin.Hooks & {
12407
+ type UserConfig$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
11885
12408
  /**
11886
12409
  * The casing convention to use for generated names.
11887
12410
  *
@@ -12586,7 +13109,7 @@ type Config$1 = Plugin.Name<'zod'> & Plugin.Hooks & {
12586
13109
  };
12587
13110
  };
12588
13111
  };
12589
- type ZodPlugin = DefinePlugin<UserConfig$2, Config$1, IApi>;
13112
+ type ZodPlugin = DefinePlugin<UserConfig$1, Config$1, IApi>;
12590
13113
  //#endregion
12591
13114
  //#region src/plugins/config.d.ts
12592
13115
  interface PluginConfigMap {
@@ -12594,6 +13117,7 @@ interface PluginConfigMap {
12594
13117
  '@hey-api/client-angular': HeyApiClientAngularPlugin['Types'];
12595
13118
  '@hey-api/client-axios': HeyApiClientAxiosPlugin['Types'];
12596
13119
  '@hey-api/client-fetch': HeyApiClientFetchPlugin['Types'];
13120
+ '@hey-api/client-ky': HeyApiClientKyPlugin['Types'];
12597
13121
  '@hey-api/client-next': HeyApiClientNextPlugin['Types'];
12598
13122
  '@hey-api/client-nuxt': HeyApiClientNuxtPlugin['Types'];
12599
13123
  '@hey-api/client-ofetch': HeyApiClientOfetchPlugin['Types'];
@@ -12609,6 +13133,7 @@ interface PluginConfigMap {
12609
13133
  '@tanstack/vue-query': TanStackVueQueryPlugin['Types'];
12610
13134
  arktype: ArktypePlugin['Types'];
12611
13135
  fastify: FastifyPlugin['Types'];
13136
+ swr: SwrPlugin['Types'];
12612
13137
  valibot: ValibotPlugin['Types'];
12613
13138
  zod: ZodPlugin['Types'];
12614
13139
  }
@@ -12797,14 +13322,13 @@ type WalkEvent<T extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents,
12797
13322
  //#region src/plugins/shared/utils/instance.d.ts
12798
13323
  declare class PluginInstance<T extends Plugin.Types = Plugin.Types> {
12799
13324
  api: T['api'];
12800
- config: Omit<T['resolvedConfig'], 'name' | 'output'>;
13325
+ config: Omit<T['resolvedConfig'], 'name'>;
12801
13326
  context: Context;
12802
13327
  dependencies: Required<Plugin.Config<T>>['dependencies'];
12803
13328
  private eventHooks;
12804
13329
  gen: IProject;
12805
13330
  private handler;
12806
13331
  name: T['resolvedConfig']['name'];
12807
- output: string;
12808
13332
  /**
12809
13333
  * The package metadata and utilities for the current context, constructed
12810
13334
  * from the provided dependencies. Used for managing package-related
@@ -12817,7 +13341,6 @@ declare class PluginInstance<T extends Plugin.Types = Plugin.Types> {
12817
13341
  context: Context<OpenApi.V2_0_X | OpenApi.V3_0_X | OpenApi.V3_1_X>;
12818
13342
  gen: IProject;
12819
13343
  name: string;
12820
- output: string;
12821
13344
  });
12822
13345
  /**
12823
13346
  * Iterates over various input elements as specified by the event types, in
@@ -13068,11 +13591,11 @@ type Hooks = {
13068
13591
  };
13069
13592
  //#endregion
13070
13593
  //#region src/plugins/types.d.ts
13071
- type PluginClientNames = '@hey-api/client-angular' | '@hey-api/client-axios' | '@hey-api/client-fetch' | '@hey-api/client-next' | '@hey-api/client-nuxt' | '@hey-api/client-ofetch';
13594
+ type PluginClientNames = '@hey-api/client-angular' | '@hey-api/client-axios' | '@hey-api/client-fetch' | '@hey-api/client-ky' | '@hey-api/client-next' | '@hey-api/client-nuxt' | '@hey-api/client-ofetch';
13072
13595
  type PluginValidatorNames = 'arktype' | 'valibot' | 'zod';
13073
- type PluginNames = PluginClientNames | '@angular/common' | '@hey-api/schemas' | '@hey-api/sdk' | '@hey-api/transformers' | '@hey-api/typescript' | '@pinia/colada' | '@tanstack/angular-query-experimental' | '@tanstack/react-query' | '@tanstack/solid-query' | '@tanstack/svelte-query' | '@tanstack/vue-query' | 'fastify' | PluginValidatorNames;
13596
+ type PluginNames = PluginClientNames | '@angular/common' | '@hey-api/schemas' | '@hey-api/sdk' | '@hey-api/transformers' | '@hey-api/typescript' | '@pinia/colada' | '@tanstack/angular-query-experimental' | '@tanstack/react-query' | '@tanstack/solid-query' | '@tanstack/svelte-query' | '@tanstack/vue-query' | 'fastify' | 'swr' | PluginValidatorNames;
13074
13597
  type AnyPluginName = PluginNames | (string & {});
13075
- type PluginTag = 'client' | 'transformer' | 'validator';
13598
+ type PluginTag = 'client' | 'sdk' | 'transformer' | 'validator';
13076
13599
  type PluginContext = {
13077
13600
  package: Package;
13078
13601
  pluginByTag: <T extends AnyPluginName | boolean = AnyPluginName>(tag: PluginTag, props?: {
@@ -13103,7 +13626,7 @@ type BaseConfig = {
13103
13626
  */
13104
13627
  declare namespace Plugin {
13105
13628
  export type Config<T extends Types> = Pick<T, 'api'> & {
13106
- config: Omit<T['config'], 'name' | 'output'>;
13629
+ config: Omit<T['config'], 'name'>;
13107
13630
  /**
13108
13631
  * Dependency plugins will be always processed, regardless of whether user
13109
13632
  * explicitly defines them in their `plugins` config.
@@ -13111,7 +13634,6 @@ declare namespace Plugin {
13111
13634
  dependencies?: ReadonlyArray<AnyPluginName>;
13112
13635
  handler: Handler<T>;
13113
13636
  name: T['config']['name'];
13114
- output?: NonNullable<T['config']['output']>;
13115
13637
  /**
13116
13638
  * Resolves static configuration values into their runtime equivalents. For
13117
13639
  * example, when `validator` is set to `true`, it figures out which plugin
@@ -13121,25 +13643,11 @@ declare namespace Plugin {
13121
13643
  dependencies: Set<AnyPluginName>;
13122
13644
  }, context: PluginContext) => void;
13123
13645
  /**
13124
- * Optional tags can be used to help with deciding plugin order and resolving
13646
+ * Tags can be used to help with deciding plugin order and resolving
13125
13647
  * plugin configuration options.
13126
13648
  */
13127
13649
  tags?: ReadonlyArray<PluginTag>;
13128
13650
  };
13129
- export type ConfigWithName<T extends Types> = Omit<Config$21<T>, 'config'> & {
13130
- config: Omit<T['config'], 'output'>;
13131
- };
13132
-
13133
- /** @deprecated use `definePluginConfig()` instead */
13134
- export type DefineConfig<Config$21 extends BaseConfig, ResolvedConfig extends BaseConfig = Config$21> = (config?: UserConfig<Omit<Config$21, 'name'>>) => Omit<Plugin.Config<Config$21, ResolvedConfig>, 'name'> & {
13135
- /**
13136
- * Cast name to `any` so it doesn't throw type error in `plugins` array.
13137
- * We could allow any `string` as plugin `name` in the object syntax, but
13138
- * that TypeScript trick would cause all string methods to appear as
13139
- * suggested auto completions, which is undesirable.
13140
- */
13141
- name: any;
13142
- };
13143
13651
 
13144
13652
  /**
13145
13653
  * Generic wrapper for plugin hooks.
@@ -13148,27 +13656,22 @@ declare namespace Plugin {
13148
13656
  export interface Name<Name extends PluginNames> {
13149
13657
  name: Name;
13150
13658
  }
13151
- export type Types<Config$21 extends BaseConfig = BaseConfig, ResolvedConfig extends BaseConfig = Config$21, Api extends BaseApi = never> = ([Api] extends [never] ? {
13659
+ export type Types<Config$22 extends BaseConfig = BaseConfig, ResolvedConfig extends BaseConfig = Config$22, Api extends BaseApi = never> = ([Api] extends [never] ? {
13152
13660
  api?: BaseApi;
13153
13661
  } : {
13154
13662
  api: Api;
13155
13663
  }) & {
13156
- config: Config$21;
13664
+ config: Config$22;
13157
13665
  resolvedConfig: ResolvedConfig;
13158
13666
  };
13159
-
13160
- /**
13161
- * Users cannot modify output file path to avoid risk of conflicts.
13162
- */
13163
- export type UserConfig<Config$21 extends BaseConfig> = Omit<Config$21, 'output'>;
13164
13667
  }
13165
- type DefinePlugin<Config$21 extends BaseConfig = BaseConfig, ResolvedConfig extends BaseConfig = Config$21, Api extends BaseApi = never> = {
13166
- Config: Plugin.Config<Plugin.Types<Config$21, ResolvedConfig, Api>>;
13668
+ type DefinePlugin<Config$22 extends BaseConfig = BaseConfig, ResolvedConfig extends BaseConfig = Config$22, Api extends BaseApi = never> = {
13669
+ Config: Plugin.Config<Plugin.Types<Config$22, ResolvedConfig, Api>>;
13167
13670
  Handler: (args: {
13168
- plugin: PluginInstance<Plugin.Types<Config$21, ResolvedConfig, Api>>;
13671
+ plugin: PluginInstance<Plugin.Types<Config$22, ResolvedConfig, Api>>;
13169
13672
  }) => void;
13170
- Instance: PluginInstance<Plugin.Types<Config$21, ResolvedConfig, Api>>;
13171
- Types: Plugin.Types<Config$21, ResolvedConfig, Api>;
13673
+ Instance: PluginInstance<Plugin.Types<Config$22, ResolvedConfig, Api>>;
13674
+ Types: Plugin.Types<Config$22, ResolvedConfig, Api>;
13172
13675
  };
13173
13676
  //#endregion
13174
13677
  //#region src/types/input.d.ts
@@ -14137,7 +14640,7 @@ type Patch = {
14137
14640
  };
14138
14641
  //#endregion
14139
14642
  //#region src/types/config.d.ts
14140
- interface UserConfig$1 {
14643
+ interface UserConfig {
14141
14644
  /**
14142
14645
  * Path to the config file. Set this value if you don't use the default
14143
14646
  * config file name, or it's not located in the project root.
@@ -14197,7 +14700,7 @@ interface UserConfig$1 {
14197
14700
  *
14198
14701
  * @default ['@hey-api/typescript', '@hey-api/sdk']
14199
14702
  */
14200
- plugins?: ReadonlyArray<PluginNames | { [K in PluginNames]: Plugin.UserConfig<PluginConfigMap[K]['config']> & {
14703
+ plugins?: ReadonlyArray<PluginNames | { [K in PluginNames]: PluginConfigMap[K]['config'] & {
14201
14704
  name: K;
14202
14705
  } }[PluginNames]>;
14203
14706
  /**
@@ -14205,7 +14708,7 @@ interface UserConfig$1 {
14205
14708
  */
14206
14709
  watch?: boolean | number | Watch;
14207
14710
  }
14208
- type Config = Omit<Required<UserConfig$1>, 'input' | 'logs' | 'output' | 'parser' | 'plugins' | 'watch'> & {
14711
+ type Config = Omit<Required<UserConfig>, 'input' | 'logs' | 'output' | 'parser' | 'plugins' | 'watch'> & {
14209
14712
  /**
14210
14713
  * Path to the input specification.
14211
14714
  */
@@ -14221,8 +14724,8 @@ type Config = Omit<Required<UserConfig$1>, 'input' | 'logs' | 'output' | 'parser
14221
14724
  */
14222
14725
  parser: Parser;
14223
14726
  pluginOrder: ReadonlyArray<keyof PluginConfigMap>;
14224
- plugins: { [K in PluginNames]?: Plugin.ConfigWithName<PluginConfigMap[K]> };
14727
+ plugins: { [K in PluginNames]?: Plugin.Config<PluginConfigMap[K]> };
14225
14728
  };
14226
14729
  //#endregion
14227
- export { Client$6 as C, LazyOrAsync as D, IR$1 as E, MaybeArray as O, Client$5 as S, StringCase as T, Client as _, Plugin as a, Client$3 as b, OpenApiOperationObject as c, OpenApiResponseObject as d, OpenApiSchemaObject as f, ExpressionTransformer as g, TypeTransformer as h, DefinePlugin as i, OpenApiParameterObject as l, Logger as m, UserConfig$1 as n, OpenApi as o, Context as p, Input as r, OpenApiMetaObject as s, Config as t, OpenApiRequestBodyObject as u, PluginHandler as v, Client$7 as w, Client$4 as x, Client$2 as y };
14228
- //# sourceMappingURL=config-oAoGatJ7.d.ts.map
14730
+ export { Client$6 as C, LazyOrAsync as D, IR$1 as E, MaybeArray as O, Client$5 as S, StringCase as T, Client as _, Plugin as a, Client$3 as b, OpenApiOperationObject as c, OpenApiResponseObject as d, OpenApiSchemaObject as f, ExpressionTransformer as g, TypeTransformer as h, DefinePlugin as i, OpenApiParameterObject as l, Logger as m, UserConfig as n, OpenApi as o, Context as p, Input as r, OpenApiMetaObject as s, Config as t, OpenApiRequestBodyObject as u, PluginHandler as v, Client$7 as w, Client$4 as x, Client$2 as y };
14731
+ //# sourceMappingURL=config-U5JEpxGS.d.ts.map