@eudiplo/sdk-core 5.0.0 → 5.1.0-main.0f9e336
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.
- package/dist/api/client/client.gen.d.mts +1 -1
- package/dist/api/client/client.gen.d.ts +1 -1
- package/dist/api/client/index.d.mts +3 -3
- package/dist/api/client/index.d.ts +3 -3
- package/dist/api/client/index.js +19 -11
- package/dist/api/client/index.mjs +19 -11
- package/dist/api/client/types.gen.d.mts +1 -1
- package/dist/api/client/types.gen.d.ts +1 -1
- package/dist/api/client.gen.d.mts +2 -2
- package/dist/api/client.gen.d.ts +2 -2
- package/dist/api/index.d.mts +158 -114
- package/dist/api/index.d.ts +158 -114
- package/dist/api/index.js +43 -0
- package/dist/api/index.mjs +36 -1
- package/dist/index.d.mts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.js +113 -12
- package/dist/index.mjs +105 -13
- package/dist/{types.gen-z3We9JHj.d.mts → types.gen-BTQX6LCX.d.mts} +821 -147
- package/dist/{types.gen-z3We9JHj.d.ts → types.gen-BTQX6LCX.d.ts} +821 -147
- package/dist/{types.gen-Cc6DtXw9.d.mts → types.gen-DZ4ax15r.d.mts} +13 -1
- package/dist/{types.gen-Cc6DtXw9.d.ts → types.gen-DZ4ax15r.d.ts} +13 -1
- package/package.json +4 -4
|
@@ -6,6 +6,13 @@ interface Auth {
|
|
|
6
6
|
* @default 'header'
|
|
7
7
|
*/
|
|
8
8
|
in?: 'header' | 'query' | 'cookie';
|
|
9
|
+
/**
|
|
10
|
+
* A unique identifier for the security scheme.
|
|
11
|
+
*
|
|
12
|
+
* Defined only when there are multiple security schemes whose `Auth`
|
|
13
|
+
* shape would otherwise be identical.
|
|
14
|
+
*/
|
|
15
|
+
key?: string;
|
|
9
16
|
/**
|
|
10
17
|
* Header or query parameter name.
|
|
11
18
|
*
|
|
@@ -121,6 +128,11 @@ interface Config$1 {
|
|
|
121
128
|
*/
|
|
122
129
|
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
123
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Arbitrary metadata passed through the `meta` request option.
|
|
133
|
+
*/
|
|
134
|
+
interface ClientMeta {
|
|
135
|
+
}
|
|
124
136
|
|
|
125
137
|
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
126
138
|
/**
|
|
@@ -332,4 +344,4 @@ interface TDataShape {
|
|
|
332
344
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
333
345
|
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'>);
|
|
334
346
|
|
|
335
|
-
export { type Auth as A, type
|
|
347
|
+
export { type Auth as A, type Config as C, type Options as O, type QuerySerializerOptions as Q, type RequestOptions as R, type ServerSentEventsResult as S, type TDataShape as T, type Client as a, type ClientOptions as b, type ClientMeta as c, type CreateClientConfig as d, type RequestResult as e, type ResolvedRequestOptions as f, type ResponseStyle as g, createConfig as h, formDataBodySerializer as i, jsonBodySerializer as j, mergeHeaders as m, urlSearchParamsBodySerializer as u };
|
|
@@ -6,6 +6,13 @@ interface Auth {
|
|
|
6
6
|
* @default 'header'
|
|
7
7
|
*/
|
|
8
8
|
in?: 'header' | 'query' | 'cookie';
|
|
9
|
+
/**
|
|
10
|
+
* A unique identifier for the security scheme.
|
|
11
|
+
*
|
|
12
|
+
* Defined only when there are multiple security schemes whose `Auth`
|
|
13
|
+
* shape would otherwise be identical.
|
|
14
|
+
*/
|
|
15
|
+
key?: string;
|
|
9
16
|
/**
|
|
10
17
|
* Header or query parameter name.
|
|
11
18
|
*
|
|
@@ -121,6 +128,11 @@ interface Config$1 {
|
|
|
121
128
|
*/
|
|
122
129
|
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
123
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Arbitrary metadata passed through the `meta` request option.
|
|
133
|
+
*/
|
|
134
|
+
interface ClientMeta {
|
|
135
|
+
}
|
|
124
136
|
|
|
125
137
|
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
126
138
|
/**
|
|
@@ -332,4 +344,4 @@ interface TDataShape {
|
|
|
332
344
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
333
345
|
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'>);
|
|
334
346
|
|
|
335
|
-
export { type Auth as A, type
|
|
347
|
+
export { type Auth as A, type Config as C, type Options as O, type QuerySerializerOptions as Q, type RequestOptions as R, type ServerSentEventsResult as S, type TDataShape as T, type Client as a, type ClientOptions as b, type ClientMeta as c, type CreateClientConfig as d, type RequestResult as e, type ResolvedRequestOptions as f, type ResponseStyle as g, createConfig as h, formDataBodySerializer as i, jsonBodySerializer as j, mergeHeaders as m, urlSearchParamsBodySerializer as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eudiplo/sdk-core",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.1.0-main.0f9e336",
|
|
4
4
|
"description": "Framework-agnostic EUDIPLO SDK for demos and integrations",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"prepublishOnly": "pnpm build"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@hey-api/openapi-ts": "^0.
|
|
40
|
-
"@types/node": "^
|
|
39
|
+
"@hey-api/openapi-ts": "^0.99.0",
|
|
40
|
+
"@types/node": "^26.0.1",
|
|
41
41
|
"tsup": "^8.5.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
|
-
"vitest": "4.1.
|
|
43
|
+
"vitest": "4.1.10"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"dist",
|