@eudiplo/sdk-core 1.14.0-main.2c64e4b → 1.14.0-main.2e58e4c
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/client.gen.js +5 -3
- package/dist/api/client/client.gen.mjs +5 -3
- package/dist/api/client/index.d.mts +1 -1
- package/dist/api/client/index.d.ts +1 -1
- package/dist/api/client/index.js +5 -3
- package/dist/api/client/index.mjs +5 -3
- 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 +3 -3
- package/dist/api/client.gen.d.ts +3 -3
- package/dist/api/client.gen.js +5 -3
- package/dist/api/client.gen.mjs +5 -3
- package/dist/api/index.d.mts +57 -185
- package/dist/api/index.d.ts +57 -185
- package/dist/api/index.js +153 -222
- package/dist/api/index.mjs +141 -187
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +167 -232
- package/dist/index.mjs +155 -197
- package/dist/{types.gen-D8LjzWc0.d.mts → types.gen-BltYeQS_.d.mts} +7 -7
- package/dist/{types.gen-D8LjzWc0.d.ts → types.gen-BltYeQS_.d.ts} +7 -7
- package/dist/{types.gen-Df-THx-g.d.mts → types.gen-DSHHpuxX.d.mts} +636 -754
- package/dist/{types.gen-Df-THx-g.d.ts → types.gen-DSHHpuxX.d.ts} +636 -754
- package/package.json +3 -3
|
@@ -637,8 +637,9 @@ var createClient = (config = {}) => {
|
|
|
637
637
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
638
638
|
opts.headers.delete("Content-Type");
|
|
639
639
|
}
|
|
640
|
-
const
|
|
641
|
-
|
|
640
|
+
const resolvedOpts = opts;
|
|
641
|
+
const url = buildUrl(resolvedOpts);
|
|
642
|
+
return { opts: resolvedOpts, url };
|
|
642
643
|
};
|
|
643
644
|
const request = async (options) => {
|
|
644
645
|
const { opts, url } = await beforeRequest(options);
|
|
@@ -789,8 +790,9 @@ var createClient = (config = {}) => {
|
|
|
789
790
|
url
|
|
790
791
|
});
|
|
791
792
|
};
|
|
793
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
792
794
|
return {
|
|
793
|
-
buildUrl,
|
|
795
|
+
buildUrl: _buildUrl,
|
|
794
796
|
connect: makeMethodFn("CONNECT"),
|
|
795
797
|
delete: makeMethodFn("DELETE"),
|
|
796
798
|
get: makeMethodFn("GET"),
|
|
@@ -635,8 +635,9 @@ var createClient = (config = {}) => {
|
|
|
635
635
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
636
636
|
opts.headers.delete("Content-Type");
|
|
637
637
|
}
|
|
638
|
-
const
|
|
639
|
-
|
|
638
|
+
const resolvedOpts = opts;
|
|
639
|
+
const url = buildUrl(resolvedOpts);
|
|
640
|
+
return { opts: resolvedOpts, url };
|
|
640
641
|
};
|
|
641
642
|
const request = async (options) => {
|
|
642
643
|
const { opts, url } = await beforeRequest(options);
|
|
@@ -787,8 +788,9 @@ var createClient = (config = {}) => {
|
|
|
787
788
|
url
|
|
788
789
|
});
|
|
789
790
|
};
|
|
791
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
790
792
|
return {
|
|
791
|
-
buildUrl,
|
|
793
|
+
buildUrl: _buildUrl,
|
|
792
794
|
connect: makeMethodFn("CONNECT"),
|
|
793
795
|
delete: makeMethodFn("DELETE"),
|
|
794
796
|
get: makeMethodFn("GET"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Auth, C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, Q as QuerySerializerOptions, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape, g as createConfig, h as formDataBodySerializer, j as jsonBodySerializer, m as mergeHeaders, u as urlSearchParamsBodySerializer } from '../../types.gen-
|
|
1
|
+
export { A as Auth, C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, Q as QuerySerializerOptions, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape, g as createConfig, h as formDataBodySerializer, j as jsonBodySerializer, m as mergeHeaders, u as urlSearchParamsBodySerializer } from '../../types.gen-BltYeQS_.mjs';
|
|
2
2
|
export { createClient } from './client.gen.mjs';
|
|
3
3
|
|
|
4
4
|
type Slot = "body" | "headers" | "path" | "query";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Auth, C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, Q as QuerySerializerOptions, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape, g as createConfig, h as formDataBodySerializer, j as jsonBodySerializer, m as mergeHeaders, u as urlSearchParamsBodySerializer } from '../../types.gen-
|
|
1
|
+
export { A as Auth, C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, Q as QuerySerializerOptions, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape, g as createConfig, h as formDataBodySerializer, j as jsonBodySerializer, m as mergeHeaders, u as urlSearchParamsBodySerializer } from '../../types.gen-BltYeQS_.js';
|
|
2
2
|
export { createClient } from './client.gen.js';
|
|
3
3
|
|
|
4
4
|
type Slot = "body" | "headers" | "path" | "query";
|
package/dist/api/client/index.js
CHANGED
|
@@ -859,8 +859,9 @@ var createClient = (config = {}) => {
|
|
|
859
859
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
860
860
|
opts.headers.delete("Content-Type");
|
|
861
861
|
}
|
|
862
|
-
const
|
|
863
|
-
|
|
862
|
+
const resolvedOpts = opts;
|
|
863
|
+
const url = buildUrl(resolvedOpts);
|
|
864
|
+
return { opts: resolvedOpts, url };
|
|
864
865
|
};
|
|
865
866
|
const request = async (options) => {
|
|
866
867
|
const { opts, url } = await beforeRequest(options);
|
|
@@ -1011,8 +1012,9 @@ var createClient = (config = {}) => {
|
|
|
1011
1012
|
url
|
|
1012
1013
|
});
|
|
1013
1014
|
};
|
|
1015
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
1014
1016
|
return {
|
|
1015
|
-
buildUrl,
|
|
1017
|
+
buildUrl: _buildUrl,
|
|
1016
1018
|
connect: makeMethodFn("CONNECT"),
|
|
1017
1019
|
delete: makeMethodFn("DELETE"),
|
|
1018
1020
|
get: makeMethodFn("GET"),
|
|
@@ -857,8 +857,9 @@ var createClient = (config = {}) => {
|
|
|
857
857
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
858
858
|
opts.headers.delete("Content-Type");
|
|
859
859
|
}
|
|
860
|
-
const
|
|
861
|
-
|
|
860
|
+
const resolvedOpts = opts;
|
|
861
|
+
const url = buildUrl(resolvedOpts);
|
|
862
|
+
return { opts: resolvedOpts, url };
|
|
862
863
|
};
|
|
863
864
|
const request = async (options) => {
|
|
864
865
|
const { opts, url } = await beforeRequest(options);
|
|
@@ -1009,8 +1010,9 @@ var createClient = (config = {}) => {
|
|
|
1009
1010
|
url
|
|
1010
1011
|
});
|
|
1011
1012
|
};
|
|
1013
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
1012
1014
|
return {
|
|
1013
|
-
buildUrl,
|
|
1015
|
+
buildUrl: _buildUrl,
|
|
1014
1016
|
connect: makeMethodFn("CONNECT"),
|
|
1015
1017
|
delete: makeMethodFn("DELETE"),
|
|
1016
1018
|
get: makeMethodFn("GET"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape } from '../../types.gen-
|
|
1
|
+
export { C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape } from '../../types.gen-BltYeQS_.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape } from '../../types.gen-
|
|
1
|
+
export { C as Client, a as ClientOptions, b as Config, c as CreateClientConfig, O as Options, R as RequestOptions, d as RequestResult, e as ResolvedRequestOptions, f as ResponseStyle, T as TDataShape } from '../../types.gen-BltYeQS_.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Client, a as ClientOptions, b as Config } from '../types.gen-
|
|
2
|
-
import {
|
|
1
|
+
import { C as Client, a as ClientOptions, b as Config } from '../types.gen-BltYeQS_.mjs';
|
|
2
|
+
import { ag as ClientOptions$1 } from '../types.gen-DSHHpuxX.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `createClientConfig()` function will be called on client initialization
|
|
@@ -9,7 +9,7 @@ import { aE as ClientOptions$1 } from '../types.gen-Df-THx-g.mjs';
|
|
|
9
9
|
* `setConfig()`. This is useful for example if you're using Next.js
|
|
10
10
|
* to ensure your client always has the correct values.
|
|
11
11
|
*/
|
|
12
|
-
type CreateClientConfig<T extends ClientOptions = ClientOptions$1> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T
|
|
12
|
+
type CreateClientConfig<T extends ClientOptions = ClientOptions$1> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
|
|
13
13
|
declare const client: Client;
|
|
14
14
|
|
|
15
15
|
export { type CreateClientConfig, client };
|
package/dist/api/client.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Client, a as ClientOptions, b as Config } from '../types.gen-
|
|
2
|
-
import {
|
|
1
|
+
import { C as Client, a as ClientOptions, b as Config } from '../types.gen-BltYeQS_.js';
|
|
2
|
+
import { ag as ClientOptions$1 } from '../types.gen-DSHHpuxX.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The `createClientConfig()` function will be called on client initialization
|
|
@@ -9,7 +9,7 @@ import { aE as ClientOptions$1 } from '../types.gen-Df-THx-g.js';
|
|
|
9
9
|
* `setConfig()`. This is useful for example if you're using Next.js
|
|
10
10
|
* to ensure your client always has the correct values.
|
|
11
11
|
*/
|
|
12
|
-
type CreateClientConfig<T extends ClientOptions = ClientOptions$1> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T
|
|
12
|
+
type CreateClientConfig<T extends ClientOptions = ClientOptions$1> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
|
|
13
13
|
declare const client: Client;
|
|
14
14
|
|
|
15
15
|
export { type CreateClientConfig, client };
|
package/dist/api/client.gen.js
CHANGED
|
@@ -637,8 +637,9 @@ var createClient = (config = {}) => {
|
|
|
637
637
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
638
638
|
opts.headers.delete("Content-Type");
|
|
639
639
|
}
|
|
640
|
-
const
|
|
641
|
-
|
|
640
|
+
const resolvedOpts = opts;
|
|
641
|
+
const url = buildUrl(resolvedOpts);
|
|
642
|
+
return { opts: resolvedOpts, url };
|
|
642
643
|
};
|
|
643
644
|
const request = async (options) => {
|
|
644
645
|
const { opts, url } = await beforeRequest(options);
|
|
@@ -789,8 +790,9 @@ var createClient = (config = {}) => {
|
|
|
789
790
|
url
|
|
790
791
|
});
|
|
791
792
|
};
|
|
793
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
792
794
|
return {
|
|
793
|
-
buildUrl,
|
|
795
|
+
buildUrl: _buildUrl,
|
|
794
796
|
connect: makeMethodFn("CONNECT"),
|
|
795
797
|
delete: makeMethodFn("DELETE"),
|
|
796
798
|
get: makeMethodFn("GET"),
|
package/dist/api/client.gen.mjs
CHANGED
|
@@ -635,8 +635,9 @@ var createClient = (config = {}) => {
|
|
|
635
635
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
636
636
|
opts.headers.delete("Content-Type");
|
|
637
637
|
}
|
|
638
|
-
const
|
|
639
|
-
|
|
638
|
+
const resolvedOpts = opts;
|
|
639
|
+
const url = buildUrl(resolvedOpts);
|
|
640
|
+
return { opts: resolvedOpts, url };
|
|
640
641
|
};
|
|
641
642
|
const request = async (options) => {
|
|
642
643
|
const { opts, url } = await beforeRequest(options);
|
|
@@ -787,8 +788,9 @@ var createClient = (config = {}) => {
|
|
|
787
788
|
url
|
|
788
789
|
});
|
|
789
790
|
};
|
|
791
|
+
const _buildUrl = (options) => buildUrl({ ..._config, ...options });
|
|
790
792
|
return {
|
|
791
|
-
buildUrl,
|
|
793
|
+
buildUrl: _buildUrl,
|
|
792
794
|
connect: makeMethodFn("CONNECT"),
|
|
793
795
|
delete: makeMethodFn("DELETE"),
|
|
794
796
|
get: makeMethodFn("GET"),
|