@eudiplo/sdk-core 4.5.0 → 5.1.0

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 { b as Config, C as Client } from '../../types.gen-Cc6DtXw9.mjs';
1
+ import { b as Config, C as Client } from '../../types.gen-zNuA7BkO.mjs';
2
2
 
3
3
  declare const createClient: (config?: Config) => Client;
4
4
 
@@ -1,4 +1,4 @@
1
- import { b as Config, C as Client } from '../../types.gen-Cc6DtXw9.js';
1
+ import { b as Config, C as Client } from '../../types.gen-zNuA7BkO.js';
2
2
 
3
3
  declare const createClient: (config?: Config) => Client;
4
4
 
@@ -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-Cc6DtXw9.mjs';
1
+ export { A as Auth, C as Client, c as ClientMeta, a as ClientOptions, b as Config, d as CreateClientConfig, O as Options, Q as QuerySerializerOptions, R as RequestOptions, e as RequestResult, f as ResolvedRequestOptions, g as ResponseStyle, S as ServerSentEventsResult, T as TDataShape, h as createConfig, i as formDataBodySerializer, j as jsonBodySerializer, m as mergeHeaders, u as urlSearchParamsBodySerializer } from '../../types.gen-zNuA7BkO.mjs';
2
2
  export { createClient } from './client.gen.mjs';
3
3
 
4
4
  type Slot = 'body' | 'headers' | 'path' | 'query';
@@ -42,7 +42,7 @@ interface Params {
42
42
  path: Record<string, unknown>;
43
43
  query: Record<string, unknown>;
44
44
  }
45
- declare const buildClientParams: (args: ReadonlyArray<unknown>, fields: FieldsConfig) => Params;
45
+ declare function buildClientParams(args: ReadonlyArray<unknown>, fields: FieldsConfig): Params;
46
46
 
47
47
  /**
48
48
  * JSON-friendly union that mirrors what Pinia Colada can hash.
@@ -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-Cc6DtXw9.js';
1
+ export { A as Auth, C as Client, c as ClientMeta, a as ClientOptions, b as Config, d as CreateClientConfig, O as Options, Q as QuerySerializerOptions, R as RequestOptions, e as RequestResult, f as ResolvedRequestOptions, g as ResponseStyle, S as ServerSentEventsResult, T as TDataShape, h as createConfig, i as formDataBodySerializer, j as jsonBodySerializer, m as mergeHeaders, u as urlSearchParamsBodySerializer } from '../../types.gen-zNuA7BkO.js';
2
2
  export { createClient } from './client.gen.js';
3
3
 
4
4
  type Slot = 'body' | 'headers' | 'path' | 'query';
@@ -42,7 +42,7 @@ interface Params {
42
42
  path: Record<string, unknown>;
43
43
  query: Record<string, unknown>;
44
44
  }
45
- declare const buildClientParams: (args: ReadonlyArray<unknown>, fields: FieldsConfig) => Params;
45
+ declare function buildClientParams(args: ReadonlyArray<unknown>, fields: FieldsConfig): Params;
46
46
 
47
47
  /**
48
48
  * JSON-friendly union that mirrors what Pinia Colada can hash.
@@ -61,7 +61,7 @@ var extraPrefixesMap = {
61
61
  $query_: "query"
62
62
  };
63
63
  var extraPrefixes = Object.entries(extraPrefixesMap);
64
- var buildKeyMap = (fields, map) => {
64
+ function buildKeyMap(fields, map) {
65
65
  if (!map) {
66
66
  map = /* @__PURE__ */ new Map();
67
67
  }
@@ -82,15 +82,15 @@ var buildKeyMap = (fields, map) => {
82
82
  }
83
83
  }
84
84
  return map;
85
- };
86
- var stripEmptySlots = (params) => {
85
+ }
86
+ function stripEmptySlots(params) {
87
87
  for (const [slot, value] of Object.entries(params)) {
88
88
  if (value && typeof value === "object" && !Array.isArray(value) && !Object.keys(value).length) {
89
89
  delete params[slot];
90
90
  }
91
91
  }
92
- };
93
- var buildClientParams = (args, fields) => {
92
+ }
93
+ function buildClientParams(args, fields) {
94
94
  const params = {
95
95
  body: /* @__PURE__ */ Object.create(null),
96
96
  headers: /* @__PURE__ */ Object.create(null),
@@ -145,7 +145,7 @@ var buildClientParams = (args, fields) => {
145
145
  }
146
146
  stripEmptySlots(params);
147
147
  return params;
148
- };
148
+ }
149
149
 
150
150
  // src/api/core/queryKeySerializer.gen.ts
151
151
  var queryKeyJsonReplacer = (_key, value) => {
@@ -59,7 +59,7 @@ var extraPrefixesMap = {
59
59
  $query_: "query"
60
60
  };
61
61
  var extraPrefixes = Object.entries(extraPrefixesMap);
62
- var buildKeyMap = (fields, map) => {
62
+ function buildKeyMap(fields, map) {
63
63
  if (!map) {
64
64
  map = /* @__PURE__ */ new Map();
65
65
  }
@@ -80,15 +80,15 @@ var buildKeyMap = (fields, map) => {
80
80
  }
81
81
  }
82
82
  return map;
83
- };
84
- var stripEmptySlots = (params) => {
83
+ }
84
+ function stripEmptySlots(params) {
85
85
  for (const [slot, value] of Object.entries(params)) {
86
86
  if (value && typeof value === "object" && !Array.isArray(value) && !Object.keys(value).length) {
87
87
  delete params[slot];
88
88
  }
89
89
  }
90
- };
91
- var buildClientParams = (args, fields) => {
90
+ }
91
+ function buildClientParams(args, fields) {
92
92
  const params = {
93
93
  body: /* @__PURE__ */ Object.create(null),
94
94
  headers: /* @__PURE__ */ Object.create(null),
@@ -143,7 +143,7 @@ var buildClientParams = (args, fields) => {
143
143
  }
144
144
  stripEmptySlots(params);
145
145
  return params;
146
- };
146
+ }
147
147
 
148
148
  // src/api/core/queryKeySerializer.gen.ts
149
149
  var queryKeyJsonReplacer = (_key, value) => {
@@ -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-Cc6DtXw9.mjs';
1
+ export { C as Client, a as ClientOptions, b as Config, d as CreateClientConfig, O as Options, R as RequestOptions, e as RequestResult, f as ResolvedRequestOptions, g as ResponseStyle, T as TDataShape } from '../../types.gen-zNuA7BkO.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-Cc6DtXw9.js';
1
+ export { C as Client, a as ClientOptions, b as Config, d as CreateClientConfig, O as Options, R as RequestOptions, e as RequestResult, f as ResolvedRequestOptions, g as ResponseStyle, T as TDataShape } from '../../types.gen-zNuA7BkO.js';
@@ -1,5 +1,5 @@
1
- import { C as Client, a as ClientOptions, b as Config } from '../types.gen-Cc6DtXw9.mjs';
2
- import { C as ClientOptions$1 } from '../types.gen-z3We9JHj.mjs';
1
+ import { C as Client, a as ClientOptions, b as Config } from '../types.gen-zNuA7BkO.mjs';
2
+ import { C as ClientOptions$1 } from '../types.gen-CdvErMyl.mjs';
3
3
 
4
4
  /**
5
5
  * The `createClientConfig()` function will be called on client initialization
@@ -1,5 +1,5 @@
1
- import { C as Client, a as ClientOptions, b as Config } from '../types.gen-Cc6DtXw9.js';
2
- import { C as ClientOptions$1 } from '../types.gen-z3We9JHj.js';
1
+ import { C as Client, a as ClientOptions, b as Config } from '../types.gen-zNuA7BkO.js';
2
+ import { C as ClientOptions$1 } from '../types.gen-CdvErMyl.js';
3
3
 
4
4
  /**
5
5
  * The `createClientConfig()` function will be called on client initialization