@kubb/plugin-client 4.12.8 → 4.12.9

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.
@@ -1,4 +1,4 @@
1
- import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-Dpu9XKqG.cjs";
1
+ import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-Bf2NVPUb.cjs";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-CdFtT1i3.js";
1
+ import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-pbxfCLrx.js";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { n as PluginClient, r as ReactGenerator } from "./types-Dpu9XKqG.cjs";
1
+ import { n as PluginClient, r as ReactGenerator } from "./types-Bf2NVPUb.cjs";
2
2
 
3
3
  //#region src/generators/classClientGenerator.d.ts
4
4
  declare const classClientGenerator: ReactGenerator<PluginClient>;
@@ -1,4 +1,4 @@
1
- import { n as PluginClient, r as ReactGenerator } from "./types-CdFtT1i3.js";
1
+ import { n as PluginClient, r as ReactGenerator } from "./types-pbxfCLrx.js";
2
2
 
3
3
  //#region src/generators/classClientGenerator.d.ts
4
4
  declare const classClientGenerator: ReactGenerator<PluginClient>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-Dpu9XKqG.cjs";
1
+ import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-Bf2NVPUb.cjs";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginClientName = "plugin-client";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-CdFtT1i3.js";
1
+ import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-pbxfCLrx.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginClientName = "plugin-client";
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
41
41
  getRequestSchema(operation: Operation): SchemaObject | undefined;
42
42
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
43
43
  valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
44
+ flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
44
45
  }
45
46
  //#endregion
46
47
  //#region ../core/src/BaseGenerator.d.ts
@@ -1291,4 +1292,4 @@ type ResolvedOptions = {
1291
1292
  type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
1292
1293
  //#endregion
1293
1294
  export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
1294
- //# sourceMappingURL=types-Dpu9XKqG.d.cts.map
1295
+ //# sourceMappingURL=types-Bf2NVPUb.d.cts.map
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
41
41
  getRequestSchema(operation: Operation): SchemaObject | undefined;
42
42
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
43
43
  valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
44
+ flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
44
45
  }
45
46
  //#endregion
46
47
  //#region ../core/src/BaseGenerator.d.ts
@@ -1291,4 +1292,4 @@ type ResolvedOptions = {
1291
1292
  type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
1292
1293
  //#endregion
1293
1294
  export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
1294
- //# sourceMappingURL=types-CdFtT1i3.d.ts.map
1295
+ //# sourceMappingURL=types-pbxfCLrx.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-client",
3
- "version": "4.12.8",
3
+ "version": "4.12.9",
4
4
  "description": "API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.",
5
5
  "keywords": [
6
6
  "api-client",
@@ -87,11 +87,11 @@
87
87
  ],
88
88
  "dependencies": {
89
89
  "@kubb/react-fabric": "0.7.4",
90
- "@kubb/core": "4.12.8",
91
- "@kubb/oas": "4.12.8",
92
- "@kubb/plugin-oas": "4.12.8",
93
- "@kubb/plugin-ts": "4.12.8",
94
- "@kubb/plugin-zod": "4.12.8"
90
+ "@kubb/core": "4.12.9",
91
+ "@kubb/oas": "4.12.9",
92
+ "@kubb/plugin-oas": "4.12.9",
93
+ "@kubb/plugin-ts": "4.12.9",
94
+ "@kubb/plugin-zod": "4.12.9"
95
95
  },
96
96
  "devDependencies": {
97
97
  "axios": "^1.13.2"