@mittwald/api-client 3.1.57 → 3.1.58

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.
@@ -0,0 +1,3 @@
1
+ export { assertStatus } from "@mittwald/api-client-commons";
2
+ export { MittwaldAPIClient as MittwaldAPIV2Client } from "./v2/default.js";
3
+ export type { MittwaldAPIV2 } from "./generated/v2/types.js";
@@ -0,0 +1 @@
1
+ export { MittwaldAPIClientReact as MittwaldAPIV2ClientReact } from "./v2/react.js";
@@ -0,0 +1,12 @@
1
+ import MittwaldApiV2Client from "../generated/v2/client.js";
2
+ export type { MittwaldAPIV2 } from "../generated/v2/types.js";
3
+ export declare class MittwaldAPIClient extends MittwaldApiV2Client {
4
+ private readonly apiToken;
5
+ private constructor();
6
+ private static createAxiosDefaults;
7
+ private setupInterceptors;
8
+ static newUnauthenticated(): MittwaldAPIClient;
9
+ static newWithToken(apiToken: string): MittwaldAPIClient;
10
+ static newWithCredentials(email: string, password: string): Promise<MittwaldAPIClient>;
11
+ }
12
+ export default MittwaldAPIClient;
@@ -0,0 +1,3 @@
1
+ import { MittwaldAPIV2ClientReact as MittwaldAPIClientReact } from "../generated/v2/client-react.js";
2
+ export { MittwaldAPIV2ClientReact as MittwaldAPIClientReact } from "../generated/v2/client-react.js";
3
+ export default MittwaldAPIClientReact;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.57';
1
+ export declare const MittwaldAPIClientVersion = '3.1.58';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.57';
1
+ export const MittwaldAPIClientVersion = '3.1.58';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.57",
3
+ "version": "3.1.58",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",