@eudiplo/sdk-core 1.14.0-main.0f12c71 → 1.14.0-main.551a58f
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 +5 -0
- package/dist/api/client/client.gen.d.ts +5 -0
- package/dist/api/client/client.gen.js +819 -0
- package/dist/api/client/client.gen.mjs +817 -0
- package/dist/api/client/index.d.mts +58 -0
- package/dist/api/client/index.d.ts +58 -0
- package/dist/api/client/index.js +1048 -0
- package/dist/api/client/index.mjs +1039 -0
- package/dist/api/client/types.gen.d.mts +1 -0
- package/dist/api/client/types.gen.d.ts +1 -0
- package/dist/api/client/types.gen.js +4 -0
- package/dist/api/client/types.gen.mjs +3 -0
- package/dist/api/client.gen.d.mts +2 -0
- package/dist/api/client.gen.d.ts +2 -0
- package/dist/api/client.gen.js +824 -0
- package/dist/api/client.gen.mjs +822 -0
- package/dist/api/index.d.mts +4 -2735
- package/dist/api/index.d.ts +4 -2735
- package/dist/api/index.js +1 -0
- package/dist/api/index.mjs +1 -1
- package/dist/client.gen-CU56lLgT.d.mts +2442 -0
- package/dist/client.gen-CsfHl8pY.d.ts +2442 -0
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -1
- package/dist/types.gen-CIiveH8G.d.mts +328 -0
- package/dist/types.gen-CIiveH8G.d.ts +328 -0
- package/package.json +11 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export { A as Auth, a as Client, b as ClientOptions, C 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-CIiveH8G.mjs';
|
|
2
|
+
export { createClient } from './client.gen.mjs';
|
|
3
|
+
|
|
4
|
+
type Slot = "body" | "headers" | "path" | "query";
|
|
5
|
+
type Field = {
|
|
6
|
+
in: Exclude<Slot, "body">;
|
|
7
|
+
/**
|
|
8
|
+
* Field name. This is the name we want the user to see and use.
|
|
9
|
+
*/
|
|
10
|
+
key: string;
|
|
11
|
+
/**
|
|
12
|
+
* Field mapped name. This is the name we want to use in the request.
|
|
13
|
+
* If omitted, we use the same value as `key`.
|
|
14
|
+
*/
|
|
15
|
+
map?: string;
|
|
16
|
+
} | {
|
|
17
|
+
in: Extract<Slot, "body">;
|
|
18
|
+
/**
|
|
19
|
+
* Key isn't required for bodies.
|
|
20
|
+
*/
|
|
21
|
+
key?: string;
|
|
22
|
+
map?: string;
|
|
23
|
+
} | {
|
|
24
|
+
/**
|
|
25
|
+
* Field name. This is the name we want the user to see and use.
|
|
26
|
+
*/
|
|
27
|
+
key: string;
|
|
28
|
+
/**
|
|
29
|
+
* Field mapped name. This is the name we want to use in the request.
|
|
30
|
+
* If `in` is omitted, `map` aliases `key` to the transport layer.
|
|
31
|
+
*/
|
|
32
|
+
map: Slot;
|
|
33
|
+
};
|
|
34
|
+
interface Fields {
|
|
35
|
+
allowExtra?: Partial<Record<Slot, boolean>>;
|
|
36
|
+
args?: ReadonlyArray<Field>;
|
|
37
|
+
}
|
|
38
|
+
type FieldsConfig = ReadonlyArray<Field | Fields>;
|
|
39
|
+
interface Params {
|
|
40
|
+
body: unknown;
|
|
41
|
+
headers: Record<string, unknown>;
|
|
42
|
+
path: Record<string, unknown>;
|
|
43
|
+
query: Record<string, unknown>;
|
|
44
|
+
}
|
|
45
|
+
declare const buildClientParams: (args: ReadonlyArray<unknown>, fields: FieldsConfig) => Params;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* JSON-friendly union that mirrors what Pinia Colada can hash.
|
|
49
|
+
*/
|
|
50
|
+
type JsonValue = null | string | number | boolean | JsonValue[] | {
|
|
51
|
+
[key: string]: JsonValue;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Normalizes any accepted value into a JSON-friendly shape for query keys.
|
|
55
|
+
*/
|
|
56
|
+
declare const serializeQueryKeyValue: (value: unknown) => JsonValue | undefined;
|
|
57
|
+
|
|
58
|
+
export { buildClientParams, serializeQueryKeyValue };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export { A as Auth, a as Client, b as ClientOptions, C 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-CIiveH8G.js';
|
|
2
|
+
export { createClient } from './client.gen.js';
|
|
3
|
+
|
|
4
|
+
type Slot = "body" | "headers" | "path" | "query";
|
|
5
|
+
type Field = {
|
|
6
|
+
in: Exclude<Slot, "body">;
|
|
7
|
+
/**
|
|
8
|
+
* Field name. This is the name we want the user to see and use.
|
|
9
|
+
*/
|
|
10
|
+
key: string;
|
|
11
|
+
/**
|
|
12
|
+
* Field mapped name. This is the name we want to use in the request.
|
|
13
|
+
* If omitted, we use the same value as `key`.
|
|
14
|
+
*/
|
|
15
|
+
map?: string;
|
|
16
|
+
} | {
|
|
17
|
+
in: Extract<Slot, "body">;
|
|
18
|
+
/**
|
|
19
|
+
* Key isn't required for bodies.
|
|
20
|
+
*/
|
|
21
|
+
key?: string;
|
|
22
|
+
map?: string;
|
|
23
|
+
} | {
|
|
24
|
+
/**
|
|
25
|
+
* Field name. This is the name we want the user to see and use.
|
|
26
|
+
*/
|
|
27
|
+
key: string;
|
|
28
|
+
/**
|
|
29
|
+
* Field mapped name. This is the name we want to use in the request.
|
|
30
|
+
* If `in` is omitted, `map` aliases `key` to the transport layer.
|
|
31
|
+
*/
|
|
32
|
+
map: Slot;
|
|
33
|
+
};
|
|
34
|
+
interface Fields {
|
|
35
|
+
allowExtra?: Partial<Record<Slot, boolean>>;
|
|
36
|
+
args?: ReadonlyArray<Field>;
|
|
37
|
+
}
|
|
38
|
+
type FieldsConfig = ReadonlyArray<Field | Fields>;
|
|
39
|
+
interface Params {
|
|
40
|
+
body: unknown;
|
|
41
|
+
headers: Record<string, unknown>;
|
|
42
|
+
path: Record<string, unknown>;
|
|
43
|
+
query: Record<string, unknown>;
|
|
44
|
+
}
|
|
45
|
+
declare const buildClientParams: (args: ReadonlyArray<unknown>, fields: FieldsConfig) => Params;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* JSON-friendly union that mirrors what Pinia Colada can hash.
|
|
49
|
+
*/
|
|
50
|
+
type JsonValue = null | string | number | boolean | JsonValue[] | {
|
|
51
|
+
[key: string]: JsonValue;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Normalizes any accepted value into a JSON-friendly shape for query keys.
|
|
55
|
+
*/
|
|
56
|
+
declare const serializeQueryKeyValue: (value: unknown) => JsonValue | undefined;
|
|
57
|
+
|
|
58
|
+
export { buildClientParams, serializeQueryKeyValue };
|