@sebspark/openapi-core 4.1.21 → 4.1.22

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/CHANGELOG.md ADDED
@@ -0,0 +1,474 @@
1
+ # @sebspark/openapi-core
2
+
3
+ ## 4.1.22
4
+
5
+ ### Patch Changes
6
+
7
+ - 66ac832: * Upgraded to TypeScript 7
8
+ - Replaced tsup with tsdown for package builds
9
+ - Fixed cli-tester stdout parsing, resolving flaky e2e tests across the repo
10
+ - Patched vulnerable transitive dependencies (uuid, socket.io-parser, and others)
11
+ - Updated dependencies [66ac832]
12
+ - @sebspark/retry@1.0.19
13
+
14
+ ## 4.1.21
15
+
16
+ ### Patch Changes
17
+
18
+ - eefb531: Updated dependencies
19
+ - Updated dependencies [eefb531]
20
+ - @sebspark/retry@1.0.18
21
+
22
+ ## 4.1.20
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [612a407]
27
+ - @sebspark/retry@1.0.17
28
+
29
+ ## 4.1.19
30
+
31
+ ### Patch Changes
32
+
33
+ - e0eda57: Updated dependencies
34
+ - Updated dependencies [e0eda57]
35
+ - @sebspark/retry@1.0.16
36
+
37
+ ## 4.1.18
38
+
39
+ ### Patch Changes
40
+
41
+ - 97fe7da: Updated dependencies
42
+ - Updated dependencies [97fe7da]
43
+ - @sebspark/retry@1.0.15
44
+
45
+ ## 4.1.17
46
+
47
+ ### Patch Changes
48
+
49
+ - c5e9c99: Resolve protobufjs CVE by pinning to `8.3.0` across all affected packages via root resolutions. Upgraded OpenTelemetry packages to `0.218.0` (which also eliminates the previous hardpin on `protobufjs@8.0.1`), `axios` to `1.16.1`, `ws` to `8.20.1`, `qs` to `6.15.2`, and `@opentelemetry/semantic-conventions` to `1.41.1`.
50
+ - Updated dependencies [c5e9c99]
51
+ - @sebspark/retry@1.0.14
52
+
53
+ ## 4.1.16
54
+
55
+ ### Patch Changes
56
+
57
+ - 41bb8f2: ### `@sebspark/openapi-core`
58
+
59
+ `fromAxiosError` no longer references the `AxiosError` type in its signature. It now accepts `unknown` and uses a local duck-typed interface to extract the relevant fields. This removes the `axios` import from the published `dist/index.d.mts`, preventing downstream bundlers (rolldown/tsdown) from treating `AxiosError` as a missing value export.
60
+
61
+ ### `@sebspark/tsconfig`
62
+
63
+ Added `verbatimModuleSyntax: true` to `base.json`. All packages in the monorepo now emit `import type` modifiers correctly and TypeScript enforces type-only imports at typecheck time.
64
+
65
+ ### `@sebspark/openapi-client`
66
+
67
+ Updated `fromAxiosError` call site to pass `error` directly as `unknown` instead of casting to `AxiosError`.
68
+
69
+ ### Other packages
70
+
71
+ Dependency updates.
72
+
73
+ ## 4.1.15
74
+
75
+ ### Patch Changes
76
+
77
+ - 7d8cc98: Dependabot dependency updates
78
+ - Updated dependencies [7d8cc98]
79
+ - @sebspark/retry@1.0.13
80
+
81
+ ## 4.1.14
82
+
83
+ ### Patch Changes
84
+
85
+ - 8a120f6: Updated dependencies for all and docs for emulator
86
+ - Updated dependencies [8a120f6]
87
+ - @sebspark/retry@1.0.12
88
+
89
+ ## 4.1.13
90
+
91
+ ### Patch Changes
92
+
93
+ - 764bac9: Fix instanceof for HttpError subclasses
94
+
95
+ Fix ANSI color detection in cli-tester input: `styleText('red', '> ')` includes the closing escape code immediately after the space, so it never matched Inquirer's output where the full message is wrapped in red. Detection now extracts only the opening ANSI code using a NUL probe. Also fixes green tick detection with the same approach. Tests added for both no-color and ANSI color modes.
96
+
97
+ Fix promise-cache to treat persistor errors as a cache miss rather than propagating them to the caller. Both `get` and `set` failures are now silently swallowed so the cache is always a pure performance optimisation.
98
+
99
+ Fix duplicate `makeType` helper in socket.io-avro parser spec (hoisted to module scope). Fix negated ternary and unused import in the same file.
100
+
101
+ ## 4.1.12
102
+
103
+ ### Patch Changes
104
+
105
+ - e732b02: Fixed prototype of HttpErrors to enable instanceof checks
106
+
107
+ ## 4.1.11
108
+
109
+ ### Patch Changes
110
+
111
+ - e9a7a28: Updated dependencies
112
+ - Updated dependencies [e9a7a28]
113
+ - @sebspark/retry@1.0.11
114
+
115
+ ## 4.1.10
116
+
117
+ ### Patch Changes
118
+
119
+ - 4124516: Updated dependencies
120
+ - 4e12590: Updated dependencies
121
+ - Updated dependencies [4124516]
122
+ - Updated dependencies [4e12590]
123
+ - @sebspark/retry@1.0.10
124
+
125
+ ## 4.1.9
126
+
127
+ ### Patch Changes
128
+
129
+ - 4468501: Fixed Serialized
130
+
131
+ ## 4.1.8
132
+
133
+ ### Patch Changes
134
+
135
+ - aff5f58: Updated dependencies
136
+
137
+ ## 4.1.7
138
+
139
+ ### Patch Changes
140
+
141
+ - e734e5a: Relaxing args definition even more
142
+
143
+ ## 4.1.6
144
+
145
+ ### Patch Changes
146
+
147
+ - 50aa72a: Fixed RouteHandler definition
148
+
149
+ ## 4.1.5
150
+
151
+ ### Patch Changes
152
+
153
+ - 91aed80: Updated dependencies
154
+ - Updated dependencies [91aed80]
155
+ - @sebspark/retry@1.0.9
156
+
157
+ ## 4.1.4
158
+
159
+ ### Patch Changes
160
+
161
+ - 736a0b3: No bundling of packages in packages
162
+ - Updated dependencies [736a0b3]
163
+ - @sebspark/retry@1.0.8
164
+
165
+ ## 4.1.3
166
+
167
+ ### Patch Changes
168
+
169
+ - ed8453b: Updated dependencies
170
+
171
+ ## 4.1.2
172
+
173
+ ### Patch Changes
174
+
175
+ - 2241dc7: Updated dependencies
176
+
177
+ ## 4.1.1
178
+
179
+ ### Patch Changes
180
+
181
+ - 063d384: Updated dependencies
182
+ - Updated dependencies [063d384]
183
+ - @sebspark/retry@1.0.7
184
+
185
+ ## 4.1.0
186
+
187
+ ### Minor Changes
188
+
189
+ - d164617: Added utility functions to enhance schemas
190
+
191
+ ## 4.0.14
192
+
193
+ ### Patch Changes
194
+
195
+ - 043373c: Update vulnerable axios
196
+
197
+ ## 4.0.13
198
+
199
+ ### Patch Changes
200
+
201
+ - 11a11ce: Updated dependencies
202
+ - Updated dependencies [11a11ce]
203
+ - @sebspark/retry@1.0.6
204
+
205
+ ## 4.0.11
206
+
207
+ ### Patch Changes
208
+
209
+ - 48ab717: Updated dependencies
210
+
211
+ ## 4.0.10
212
+
213
+ ### Patch Changes
214
+
215
+ - cc28876: Updated dependencies
216
+
217
+ ## 4.0.9
218
+
219
+ ### Patch Changes
220
+
221
+ - 66925c5: chore: expose tsdown as spark-build
222
+
223
+ ## 4.0.8
224
+
225
+ ### Patch Changes
226
+
227
+ - cacbaf5: chore: upgrade dependencies
228
+ - Updated dependencies [cacbaf5]
229
+ - @sebspark/retry@1.0.2
230
+
231
+ ## 4.0.7
232
+
233
+ ### Patch Changes
234
+
235
+ - c32b9e3: chore: migrate to tsdown
236
+
237
+ ## 4.0.6
238
+
239
+ ### Patch Changes
240
+
241
+ - 2e611c9: fix: dependencies
242
+
243
+ ## 4.0.5
244
+
245
+ ### Patch Changes
246
+
247
+ - 555a0fc: chore: export Request from express-serve-static-core, add axios-auth-refresh dependency
248
+
249
+ ## 4.0.4
250
+
251
+ ### Patch Changes
252
+
253
+ - 5bf3ac7: chore: update dependencies for express-serve-static-core
254
+
255
+ ## 4.0.3
256
+
257
+ ### Patch Changes
258
+
259
+ - 4b210c2: Standardized on a common build script
260
+
261
+ ## 4.0.2
262
+
263
+ ### Patch Changes
264
+
265
+ - 7e5c2e9: Switched to new tsconfig with moduleResolution=bundler
266
+ - Updated dependencies [7e5c2e9]
267
+ - @sebspark/retry@1.0.1
268
+
269
+ ## 4.0.1
270
+
271
+ ### Patch Changes
272
+
273
+ - d801e1e: Updated dependencies and fixed some exports
274
+
275
+ ## 4.0.0
276
+
277
+ ### Major Changes
278
+
279
+ - 0864ec2: ESM only. Minimum node version 22
280
+
281
+ ### Patch Changes
282
+
283
+ - Updated dependencies [0864ec2]
284
+ - @sebspark/retry@1.0.0
285
+
286
+ ## 3.0.1
287
+
288
+ ### Patch Changes
289
+
290
+ - 3a40e49: Cleaned up dependencies
291
+ - Updated dependencies [3a40e49]
292
+ - @sebspark/retry@0.1.2
293
+
294
+ ## 3.0.0
295
+
296
+ ### Major Changes
297
+
298
+ - 604c94a: All logging is done through @sepspark/otel
299
+
300
+ ## 2.3.5
301
+
302
+ ### Patch Changes
303
+
304
+ - 29b9b20: Updated dependencies
305
+
306
+ ## 2.3.4
307
+
308
+ ### Patch Changes
309
+
310
+ - 5c6e183: Updated dependencies
311
+
312
+ ## 2.3.3
313
+
314
+ ### Patch Changes
315
+
316
+ - bf3ee62: use 'util' for RN Metro + polyfill support
317
+
318
+ ## 2.3.2
319
+
320
+ ### Patch Changes
321
+
322
+ - 9140e2b: bump axios to ^1.12.0
323
+
324
+ ## 2.3.1
325
+
326
+ ### Patch Changes
327
+
328
+ - ded2b5c: Export QueryParams type
329
+
330
+ ## 2.3.0
331
+
332
+ ### Minor Changes
333
+
334
+ - ab95efe: Update wrapper around query parameters to convert primitives to strings since that's what's actually returned by Node.
335
+
336
+ ## 2.2.2
337
+
338
+ ### Patch Changes
339
+
340
+ - cb58141: import 'util' without node prefix for Metro and polyfill support
341
+
342
+ ## 2.2.1
343
+
344
+ ### Patch Changes
345
+
346
+ - 06948d0: Updated dependencies
347
+
348
+ ## 2.2.0
349
+
350
+ ### Minor Changes
351
+
352
+ - f4b36e9: Ability to specify timeout for requests
353
+
354
+ ## 2.1.3
355
+
356
+ ### Patch Changes
357
+
358
+ - 59de1b8: Patch axios
359
+
360
+ ## 2.1.2
361
+
362
+ ### Patch Changes
363
+
364
+ - ac217da: Fix header iterator.
365
+
366
+ ## 2.1.1
367
+
368
+ ### Patch Changes
369
+
370
+ - 4034515: Update authorizationTokenGenerator signature
371
+
372
+ ## 2.1.0
373
+
374
+ ### Minor Changes
375
+
376
+ - ee5cc7e: Added support for specifying api token generator with auto-refresh when using openapi client.
377
+
378
+ ## 2.0.1
379
+
380
+ ### Patch Changes
381
+
382
+ - fde8ea1: Update dependencies.
383
+
384
+ ## 2.0.0
385
+
386
+ ### Major Changes
387
+
388
+ - 1ef46ab: Updated express to v5
389
+
390
+ ## 1.6.0
391
+
392
+ ### Minor Changes
393
+
394
+ - b288618: support for http(s) agent in axios request
395
+
396
+ ## 1.5.4
397
+
398
+ ### Patch Changes
399
+
400
+ - 8308772: Updated vulnerable dependencies (express and axios)
401
+
402
+ ## 1.5.3
403
+
404
+ ### Patch Changes
405
+
406
+ - beda07a: add custom error response to err.cause
407
+
408
+ ## 1.5.2
409
+
410
+ ### Patch Changes
411
+
412
+ - 7548d7c: bump axios from 1.7.2 to 1.7.4
413
+
414
+ ## 1.5.1
415
+
416
+ ### Patch Changes
417
+
418
+ - 93a37b3: Patch dependencies
419
+ - Updated dependencies [93a37b3]
420
+ - @sebspark/retry@0.1.1
421
+
422
+ ## 1.5.0
423
+
424
+ ### Minor Changes
425
+
426
+ - 4d3ca56: Improved Error handling
427
+
428
+ ## 1.4.2
429
+
430
+ ### Patch Changes
431
+
432
+ - c0b59f2: Errors are serialized with stack for non production env
433
+
434
+ ## 1.4.1
435
+
436
+ ### Patch Changes
437
+
438
+ - ac30800: Update Serialized type to handle Date | undefined
439
+
440
+ ## 1.4.0
441
+
442
+ ### Minor Changes
443
+
444
+ - 008c27a: Added params serializer options for arrays
445
+
446
+ ## 1.3.0
447
+
448
+ ### Minor Changes
449
+
450
+ - 06176d0: Updated Client to support undocumented headers
451
+
452
+ ## 1.2.0
453
+
454
+ ### Minor Changes
455
+
456
+ - e1ddbab: Added support for securitySchemes. Headers are now in lowercase on server
457
+
458
+ ## 1.1.0
459
+
460
+ ### Minor Changes
461
+
462
+ - a71af0c: Dates are now typed as Date, except for after serialization
463
+
464
+ ## 1.0.0
465
+
466
+ ### Major Changes
467
+
468
+ - ae03155: First major version. Typegen now accepts json and yaml. It also accepts either a file or a dir as input. Server and Client now return objects containing data and headers.
469
+
470
+ ## 0.1.0
471
+
472
+ ### Minor Changes
473
+
474
+ - f20c83b: First implementation of OpenAPI -> Typescript with server an client
package/dist/index.d.mts CHANGED
@@ -2,18 +2,18 @@ import { OutgoingHttpHeaders } from "node:http";
2
2
  import { RetrySettings } from "@sebspark/retry";
3
3
  import { Request, RequestHandler } from "express";
4
4
  //#region src/common.d.ts
5
- type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS' | 'HEAD';
6
- type SchemaType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
7
- type SchemaEnum = string[] | number[] | boolean[];
8
- type DefaultValue = string | number | boolean | any[] | any;
9
- type Example = any;
10
- type ExampleObject = {
5
+ export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS' | 'HEAD';
6
+ export type SchemaType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
7
+ export type SchemaEnum = string[] | number[] | boolean[];
8
+ export type DefaultValue = string | number | boolean | any[] | any;
9
+ export type Example = any;
10
+ export type ExampleObject = {
11
11
  summary?: string;
12
12
  description?: string;
13
13
  value?: Example;
14
14
  externalValue?: string;
15
15
  };
16
- type SchemaObject = {
16
+ export type SchemaObject = {
17
17
  title?: string;
18
18
  multipleOf?: number;
19
19
  maximum?: number;
@@ -50,16 +50,16 @@ type SchemaObject = {
50
50
  example?: Example;
51
51
  deprecated?: boolean;
52
52
  };
53
- type XMLObject = {
53
+ export type XMLObject = {
54
54
  name?: string;
55
55
  namespace?: string;
56
56
  prefix?: string;
57
57
  attribute?: boolean;
58
58
  wrapped?: boolean;
59
59
  };
60
- type ParameterIn = 'query' | 'header' | 'path' | 'cookie';
61
- type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
62
- type ParameterObject = {
60
+ export type ParameterIn = 'query' | 'header' | 'path' | 'cookie';
61
+ export type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
62
+ export type ParameterObject = {
63
63
  name: string;
64
64
  in: ParameterIn;
65
65
  description?: string;
@@ -74,21 +74,21 @@ type ParameterObject = {
74
74
  examples?: Record<string, ExampleObject | ReferenceObject>;
75
75
  content?: Record<string, MediaTypeObject>;
76
76
  };
77
- type MediaTypeObject = {
77
+ export type MediaTypeObject = {
78
78
  schema?: SchemaObject | ReferenceObject;
79
79
  example?: Example;
80
80
  examples?: Record<string, ExampleObject | ReferenceObject>;
81
81
  encoding?: Record<string, EncodingObject>;
82
82
  };
83
- type EncodingObject = {
83
+ export type EncodingObject = {
84
84
  contentType?: string;
85
85
  headers?: Record<string, HeaderObject | ReferenceObject>;
86
86
  style?: string;
87
87
  explode?: boolean;
88
88
  allowReserved?: boolean;
89
89
  };
90
- type HeaderStyle = 'simple';
91
- type HeaderObject = {
90
+ export type HeaderStyle = 'simple';
91
+ export type HeaderObject = {
92
92
  description?: string;
93
93
  required?: boolean;
94
94
  deprecated?: boolean;
@@ -101,14 +101,14 @@ type HeaderObject = {
101
101
  examples?: Record<string, ExampleObject | ReferenceObject>;
102
102
  content?: Record<string, MediaTypeObject>;
103
103
  };
104
- type DiscriminatorObject = {
104
+ export type DiscriminatorObject = {
105
105
  propertyName: string;
106
106
  mapping?: Record<string, string>;
107
107
  };
108
- type ReferenceObject = {
108
+ export type ReferenceObject = {
109
109
  $ref: string;
110
110
  };
111
- type InfoObject = {
111
+ export type InfoObject = {
112
112
  title: string;
113
113
  summary?: string;
114
114
  description?: string;
@@ -117,36 +117,36 @@ type InfoObject = {
117
117
  license?: LicenseObject;
118
118
  version: string;
119
119
  };
120
- type ContactObject = {
120
+ export type ContactObject = {
121
121
  name?: string;
122
122
  url?: string;
123
123
  email?: string;
124
124
  };
125
- type LicenseObject = {
125
+ export type LicenseObject = {
126
126
  name: string;
127
127
  url?: string;
128
128
  };
129
- type ServerObject = {
129
+ export type ServerObject = {
130
130
  url: string;
131
131
  description?: string;
132
132
  variables?: Record<string, ServerVariableObject>;
133
133
  };
134
- type ServerVariableObject = {
134
+ export type ServerVariableObject = {
135
135
  default: string;
136
136
  enum?: string[];
137
137
  description?: string;
138
138
  };
139
- type TagObject = {
139
+ export type TagObject = {
140
140
  name: string;
141
141
  description?: string;
142
142
  externalDocs?: ExternalDocumentationObject;
143
143
  };
144
- type ExternalDocumentationObject = {
144
+ export type ExternalDocumentationObject = {
145
145
  description?: string;
146
146
  url: string;
147
147
  };
148
- type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
149
- type SecuritySchemeObject = {
148
+ export type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
149
+ export type SecuritySchemeObject = {
150
150
  type: SecuritySchemeType;
151
151
  description?: string;
152
152
  name?: string;
@@ -156,13 +156,13 @@ type SecuritySchemeObject = {
156
156
  flows?: OAuthFlowsObject;
157
157
  openIdConnectUrl?: string;
158
158
  };
159
- type OAuthFlowsObject = {
159
+ export type OAuthFlowsObject = {
160
160
  implicit?: OAuthFlowObject;
161
161
  password?: OAuthFlowObject;
162
162
  clientCredentials?: OAuthFlowObject;
163
163
  authorizationCode?: OAuthFlowObject;
164
164
  };
165
- type OAuthFlowObject = {
165
+ export type OAuthFlowObject = {
166
166
  authorizationUrl?: string;
167
167
  tokenUrl?: string;
168
168
  refreshUrl?: string;
@@ -330,7 +330,7 @@ type MqttServerBindingObject = BaseServerBindingObject & {};
330
330
  type AmqpServerBindingObject = BaseServerBindingObject & {};
331
331
  //#endregion
332
332
  //#region src/asyncapi.d.ts
333
- type AsyncApiDocument = {
333
+ export type AsyncApiDocument = {
334
334
  asyncapi: string;
335
335
  id?: string;
336
336
  info: InfoObject;
@@ -341,7 +341,7 @@ type AsyncApiDocument = {
341
341
  tags?: TagObject[];
342
342
  externalDocs?: ExternalDocumentationObject;
343
343
  };
344
- type ChannelItemObject = {
344
+ export type ChannelItemObject = {
345
345
  $ref?: string;
346
346
  description?: string;
347
347
  subscribe?: AsyncOperationObject;
@@ -349,7 +349,7 @@ type ChannelItemObject = {
349
349
  parameters?: Record<string, ParameterObject | ReferenceObject>;
350
350
  bindings?: ChannelBindingsObject;
351
351
  };
352
- type AsyncOperationObject = {
352
+ export type AsyncOperationObject = {
353
353
  tags?: TagObject[];
354
354
  summary?: string;
355
355
  description?: string;
@@ -358,7 +358,7 @@ type AsyncOperationObject = {
358
358
  traits?: OperationTraitObject[];
359
359
  message?: MessageObject | ReferenceObject;
360
360
  };
361
- type MessageObject = {
361
+ export type MessageObject = {
362
362
  headers?: SchemaObject | ReferenceObject;
363
363
  payload?: SchemaObject | ReferenceObject;
364
364
  correlationId?: CorrelationIdObject | ReferenceObject;
@@ -374,7 +374,7 @@ type MessageObject = {
374
374
  examples?: Example[];
375
375
  traits?: MessageTraitObject[];
376
376
  };
377
- type AsyncApiComponentsObject = {
377
+ export type AsyncApiComponentsObject = {
378
378
  schemas?: Record<string, SchemaObject | ReferenceObject>;
379
379
  messages?: Record<string, MessageObject | ReferenceObject>;
380
380
  securitySchemes?: Record<string, SecuritySchemeObject | ReferenceObject>;
@@ -386,7 +386,7 @@ type AsyncApiComponentsObject = {
386
386
  channelBindings?: Record<string, ChannelBindingsObject | ReferenceObject>;
387
387
  messageBindings?: Record<string, MessageBindingsObject | ReferenceObject>;
388
388
  };
389
- type OperationTraitObject = {
389
+ export type OperationTraitObject = {
390
390
  operationId?: string;
391
391
  summary?: string;
392
392
  description?: string;
@@ -395,7 +395,7 @@ type OperationTraitObject = {
395
395
  bindings?: OperationBindingsObject;
396
396
  message?: MessageTraitObject | ReferenceObject;
397
397
  };
398
- type MessageTraitObject = {
398
+ export type MessageTraitObject = {
399
399
  headers?: SchemaObject | ReferenceObject;
400
400
  correlationId?: CorrelationIdObject | ReferenceObject;
401
401
  schemaFormat?: string;
@@ -409,184 +409,184 @@ type MessageTraitObject = {
409
409
  examples?: Example[];
410
410
  bindings?: MessageBindingsObject;
411
411
  };
412
- type CorrelationIdObject = {
412
+ export type CorrelationIdObject = {
413
413
  description?: string;
414
414
  location: string;
415
415
  };
416
416
  //#endregion
417
417
  //#region src/avsc.d.ts
418
- type AvroSchema = AvroRecord | AvroEnum | AvroArray | AvroMap | AvroPrimitive | AvroUnion;
419
- type AvroRecord = {
418
+ export type AvroSchema = AvroRecord | AvroEnum | AvroArray | AvroMap | AvroPrimitive | AvroUnion;
419
+ export type AvroRecord = {
420
420
  type: 'record';
421
421
  name: string;
422
422
  namespace?: string;
423
423
  doc?: string;
424
424
  fields: AvroField[];
425
425
  };
426
- type AvroField = {
426
+ export type AvroField = {
427
427
  name: string;
428
428
  type: AvroSchema;
429
429
  doc?: string;
430
430
  default?: any;
431
431
  order?: 'ascending' | 'descending' | 'ignore';
432
432
  };
433
- type AvroEnum = {
433
+ export type AvroEnum = {
434
434
  type: 'enum';
435
435
  name: string;
436
436
  symbols: string[];
437
437
  doc?: string;
438
438
  };
439
- type AvroArray = {
439
+ export type AvroArray = {
440
440
  type: 'array';
441
441
  items: AvroSchema;
442
442
  doc?: string;
443
443
  };
444
- type AvroMap = {
444
+ export type AvroMap = {
445
445
  type: 'map';
446
446
  values: AvroSchema;
447
447
  doc?: string;
448
448
  };
449
- type AvroUnion = AvroSchema[];
450
- type AvroPrimitive = 'null' | 'boolean' | 'int' | 'long' | 'float' | 'double' | 'bytes' | 'string';
449
+ export type AvroUnion = AvroSchema[];
450
+ export type AvroPrimitive = 'null' | 'boolean' | 'int' | 'long' | 'float' | 'double' | 'bytes' | 'string';
451
451
  //#endregion
452
452
  //#region src/errors.d.ts
453
- type ClientErrorCode = 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451;
454
- type ServerErrorCode = 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511;
455
- type ErrorCode = ClientErrorCode | ServerErrorCode;
453
+ export type ClientErrorCode = 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451;
454
+ export type ServerErrorCode = 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511;
455
+ export type ErrorCode = ClientErrorCode | ServerErrorCode;
456
456
  type SerializedError = {
457
457
  message: string;
458
458
  stack?: string;
459
459
  };
460
- declare class HttpError extends Error {
460
+ export declare class HttpError extends Error {
461
461
  statusCode: number;
462
462
  constructor(statusCode: number, message: string, cause?: Error);
463
463
  toJSON(showStack?: boolean): SerializedError;
464
464
  }
465
- declare class BadRequestError extends HttpError {
465
+ export declare class BadRequestError extends HttpError {
466
466
  constructor(message?: string, cause?: Error);
467
467
  }
468
- declare class UnauthorizedError extends HttpError {
468
+ export declare class UnauthorizedError extends HttpError {
469
469
  constructor(message?: string, cause?: Error);
470
470
  }
471
- declare class PaymentRequiredError extends HttpError {
471
+ export declare class PaymentRequiredError extends HttpError {
472
472
  constructor(message?: string, cause?: Error);
473
473
  }
474
- declare class ForbiddenError extends HttpError {
474
+ export declare class ForbiddenError extends HttpError {
475
475
  constructor(message?: string, cause?: Error);
476
476
  }
477
- declare class NotFoundError extends HttpError {
477
+ export declare class NotFoundError extends HttpError {
478
478
  constructor(message?: string, cause?: Error);
479
479
  }
480
- declare class MethodNotAllowedError extends HttpError {
480
+ export declare class MethodNotAllowedError extends HttpError {
481
481
  constructor(message?: string, cause?: Error);
482
482
  }
483
- declare class NotAcceptableError extends HttpError {
483
+ export declare class NotAcceptableError extends HttpError {
484
484
  constructor(message?: string, cause?: Error);
485
485
  }
486
- declare class ProxyAuthenticationRequiredError extends HttpError {
486
+ export declare class ProxyAuthenticationRequiredError extends HttpError {
487
487
  constructor(message?: string, cause?: Error);
488
488
  }
489
- declare class RequestTimeoutError extends HttpError {
489
+ export declare class RequestTimeoutError extends HttpError {
490
490
  constructor(message?: string, cause?: Error);
491
491
  }
492
- declare class ConflictError extends HttpError {
492
+ export declare class ConflictError extends HttpError {
493
493
  constructor(message?: string, cause?: Error);
494
494
  }
495
- declare class GoneError extends HttpError {
495
+ export declare class GoneError extends HttpError {
496
496
  constructor(message?: string, cause?: Error);
497
497
  }
498
- declare class LengthRequiredError extends HttpError {
498
+ export declare class LengthRequiredError extends HttpError {
499
499
  constructor(message?: string, cause?: Error);
500
500
  }
501
- declare class PreconditionFailedError extends HttpError {
501
+ export declare class PreconditionFailedError extends HttpError {
502
502
  constructor(message?: string, cause?: Error);
503
503
  }
504
- declare class PayloadTooLargeError extends HttpError {
504
+ export declare class PayloadTooLargeError extends HttpError {
505
505
  constructor(message?: string, cause?: Error);
506
506
  }
507
- declare class URITooLongError extends HttpError {
507
+ export declare class URITooLongError extends HttpError {
508
508
  constructor(message?: string, cause?: Error);
509
509
  }
510
- declare class UnsupportedMediaTypeError extends HttpError {
510
+ export declare class UnsupportedMediaTypeError extends HttpError {
511
511
  constructor(message?: string, cause?: Error);
512
512
  }
513
- declare class RangeNotSatisfiableError extends HttpError {
513
+ export declare class RangeNotSatisfiableError extends HttpError {
514
514
  constructor(message?: string, cause?: Error);
515
515
  }
516
- declare class ExpectationFailedError extends HttpError {
516
+ export declare class ExpectationFailedError extends HttpError {
517
517
  constructor(message?: string, cause?: Error);
518
518
  }
519
- declare class IMATeapotError extends HttpError {
519
+ export declare class IMATeapotError extends HttpError {
520
520
  constructor(message?: string, cause?: Error);
521
521
  }
522
- declare class MisdirectedRequestError extends HttpError {
522
+ export declare class MisdirectedRequestError extends HttpError {
523
523
  constructor(message?: string, cause?: Error);
524
524
  }
525
- declare class UnprocessableEntityError extends HttpError {
525
+ export declare class UnprocessableEntityError extends HttpError {
526
526
  constructor(message?: string, cause?: Error);
527
527
  }
528
- declare class LockedError extends HttpError {
528
+ export declare class LockedError extends HttpError {
529
529
  constructor(message?: string, cause?: Error);
530
530
  }
531
- declare class FailedDependencyError extends HttpError {
531
+ export declare class FailedDependencyError extends HttpError {
532
532
  constructor(message?: string, cause?: Error);
533
533
  }
534
- declare class TooEarlyError extends HttpError {
534
+ export declare class TooEarlyError extends HttpError {
535
535
  constructor(message?: string, cause?: Error);
536
536
  }
537
- declare class UpgradeRequiredError extends HttpError {
537
+ export declare class UpgradeRequiredError extends HttpError {
538
538
  constructor(message?: string, cause?: Error);
539
539
  }
540
- declare class PreconditionRequiredError extends HttpError {
540
+ export declare class PreconditionRequiredError extends HttpError {
541
541
  constructor(message?: string, cause?: Error);
542
542
  }
543
- declare class TooManyRequestsError extends HttpError {
543
+ export declare class TooManyRequestsError extends HttpError {
544
544
  constructor(message?: string, cause?: Error);
545
545
  }
546
- declare class RequestHeaderFieldsTooLargeError extends HttpError {
546
+ export declare class RequestHeaderFieldsTooLargeError extends HttpError {
547
547
  constructor(message?: string, cause?: Error);
548
548
  }
549
- declare class UnavailableForLegalReasonsError extends HttpError {
549
+ export declare class UnavailableForLegalReasonsError extends HttpError {
550
550
  constructor(message?: string, cause?: Error);
551
551
  }
552
- declare class InternalServerError extends HttpError {
552
+ export declare class InternalServerError extends HttpError {
553
553
  constructor(message?: string, cause?: Error);
554
554
  }
555
- declare class NotImplementedError extends HttpError {
555
+ export declare class NotImplementedError extends HttpError {
556
556
  constructor(message?: string, cause?: Error);
557
557
  }
558
- declare class BadGatewayError extends HttpError {
558
+ export declare class BadGatewayError extends HttpError {
559
559
  constructor(message?: string, cause?: Error);
560
560
  }
561
- declare class ServiceUnavailableError extends HttpError {
561
+ export declare class ServiceUnavailableError extends HttpError {
562
562
  constructor(message?: string, cause?: Error);
563
563
  }
564
- declare class GatewayTimeoutError extends HttpError {
564
+ export declare class GatewayTimeoutError extends HttpError {
565
565
  constructor(message?: string, cause?: Error);
566
566
  }
567
- declare class HTTPVersionNotSupportedError extends HttpError {
567
+ export declare class HTTPVersionNotSupportedError extends HttpError {
568
568
  constructor(message?: string, cause?: Error);
569
569
  }
570
- declare class VariantAlsoNegotiatesError extends HttpError {
570
+ export declare class VariantAlsoNegotiatesError extends HttpError {
571
571
  constructor(message?: string, cause?: Error);
572
572
  }
573
- declare class InsufficientStorageError extends HttpError {
573
+ export declare class InsufficientStorageError extends HttpError {
574
574
  constructor(message?: string, cause?: Error);
575
575
  }
576
- declare class LoopDetectedError extends HttpError {
576
+ export declare class LoopDetectedError extends HttpError {
577
577
  constructor(message?: string, cause?: Error);
578
578
  }
579
- declare class NotExtendedError extends HttpError {
579
+ export declare class NotExtendedError extends HttpError {
580
580
  constructor(message?: string, cause?: Error);
581
581
  }
582
- declare class NetworkAuthenticationRequiredError extends HttpError {
582
+ export declare class NetworkAuthenticationRequiredError extends HttpError {
583
583
  constructor(message?: string, cause?: Error);
584
584
  }
585
- declare const createHttpError: (statusCode: ErrorCode, message?: string, cause?: Error) => HttpError;
586
- declare const fromAxiosError: (error: unknown) => HttpError;
585
+ export declare const createHttpError: (statusCode: ErrorCode, message?: string, cause?: Error) => HttpError;
586
+ export declare const fromAxiosError: (error: unknown) => HttpError;
587
587
  //#endregion
588
588
  //#region src/openapi.d.ts
589
- type OpenApiDocument = {
589
+ export type OpenApiDocument = {
590
590
  openapi: string;
591
591
  info: InfoObject;
592
592
  jsonSchemaDialect?: string;
@@ -598,7 +598,7 @@ type OpenApiDocument = {
598
598
  tags?: TagObject[];
599
599
  externalDocs?: ExternalDocumentationObject;
600
600
  };
601
- type PathItemObject = {
601
+ export type PathItemObject = {
602
602
  summary?: string;
603
603
  description?: string;
604
604
  get?: OperationObject;
@@ -612,7 +612,7 @@ type PathItemObject = {
612
612
  servers?: ServerObject[];
613
613
  parameters?: (ParameterObject | ReferenceObject)[];
614
614
  };
615
- type OperationObject = {
615
+ export type OperationObject = {
616
616
  tags?: string[];
617
617
  summary?: string;
618
618
  description?: string;
@@ -626,19 +626,19 @@ type OperationObject = {
626
626
  security?: SecurityRequirementObject[];
627
627
  servers?: ServerObject[];
628
628
  };
629
- type RequestBodyObject = {
629
+ export type RequestBodyObject = {
630
630
  description?: string;
631
631
  content: Record<'application/json' | (string & {}), MediaTypeObject>;
632
632
  required?: boolean;
633
633
  };
634
- type ResponsesObject = Record<string, ResponseObject | ReferenceObject>;
635
- type ResponseObject = {
634
+ export type ResponsesObject = Record<string, ResponseObject | ReferenceObject>;
635
+ export type ResponseObject = {
636
636
  description: string;
637
637
  headers?: Record<string, HeaderObject | ReferenceObject>;
638
638
  content?: Record<'application/json' | (string & {}), MediaTypeObject>;
639
639
  links?: Record<string, LinkObject | ReferenceObject>;
640
640
  };
641
- type ComponentsObject = {
641
+ export type ComponentsObject = {
642
642
  schemas?: Record<string, SchemaObject>;
643
643
  responses?: Record<string, ResponseObject>;
644
644
  parameters?: Record<string, ParameterObject>;
@@ -651,7 +651,7 @@ type ComponentsObject = {
651
651
  pathItems?: Record<string, PathItemObject>;
652
652
  };
653
653
  type RequestBody = any;
654
- type LinkObject = {
654
+ export type LinkObject = {
655
655
  operationRef?: string;
656
656
  operationId?: string;
657
657
  parameters?: Record<string, string>;
@@ -659,8 +659,8 @@ type LinkObject = {
659
659
  description?: string;
660
660
  server?: ServerObject;
661
661
  };
662
- type CallbackObject = Record<string, PathItemObject | ReferenceObject>;
663
- type SecurityRequirementObject = Record<string, string[]>;
662
+ export type CallbackObject = Record<string, PathItemObject | ReferenceObject>;
663
+ export type SecurityRequirementObject = Record<string, string[]>;
664
664
  //#endregion
665
665
  //#region src/ts-extensions.d.ts
666
666
  type Empty = Record<never, never>;
@@ -671,9 +671,9 @@ type QueryParams<T> = { [K in keyof T]: ConvertToQueryParam<T[K]>; };
671
671
  type LowerCaseHeaders<T> = { [P in keyof T as Lowercase<P & string>]: T[P]; };
672
672
  //#endregion
673
673
  //#region src/types.d.ts
674
- type ExpressRequest = Request;
675
- type Verb = 'get' | 'post' | 'put' | 'patch' | 'delete';
676
- type APIResponse<Data = undefined, Headers = undefined> = Data extends undefined ? Headers extends undefined ? Empty : {
674
+ export type ExpressRequest = Request;
675
+ export type Verb = 'get' | 'post' | 'put' | 'patch' | 'delete';
676
+ export type APIResponse<Data = undefined, Headers = undefined> = Data extends undefined ? Headers extends undefined ? Empty : {
677
677
  headers: Headers;
678
678
  } : Headers extends undefined ? {
679
679
  data: Data;
@@ -681,38 +681,38 @@ type APIResponse<Data = undefined, Headers = undefined> = Data extends undefined
681
681
  data: Data;
682
682
  headers: Headers;
683
683
  };
684
- type GenericRouteHandler = RequestHandler;
685
- type RouteHandler = {
684
+ export type GenericRouteHandler = RequestHandler;
685
+ export type RouteHandler = {
686
686
  pre?: RequestHandler | RequestHandler[];
687
687
  handler: (args: any) => Promise<[number, APIResponse<unknown | undefined, Record<string, string> | undefined>]>;
688
688
  };
689
- type Route<Handler extends RouteHandler = RouteHandler> = Record<Verb, Handler>;
690
- type APIServerDefinition = Record<string, Partial<Route>>;
691
- type APIServerOptions = {
689
+ export type Route<Handler extends RouteHandler = RouteHandler> = Record<Verb, Handler>;
690
+ export type APIServerDefinition = Record<string, Partial<Route>>;
691
+ export type APIServerOptions = {
692
692
  pre?: RequestHandler | RequestHandler[];
693
693
  };
694
- type RequestArgs = Request & {
694
+ export type RequestArgs = Request & {
695
695
  params?: Record<string, string>;
696
696
  query?: Record<string, string>;
697
697
  headers?: Record<string, string>;
698
698
  };
699
- type PayloadRequestArgs = RequestArgs & {
699
+ export type PayloadRequestArgs = RequestArgs & {
700
700
  body?: Record<string, string>;
701
701
  };
702
- type RequestOptions = {
702
+ export type RequestOptions = {
703
703
  retry?: RetrySettings;
704
704
  headers?: OutgoingHttpHeaders & Record<string, string>;
705
705
  httpsAgent?: any;
706
706
  httpAgent?: any;
707
707
  timeout?: number;
708
708
  };
709
- type ArrayFormat = 'indices' | 'brackets' | 'repeat' | 'comma';
710
- type ClientOptions = RequestOptions & {
709
+ export type ArrayFormat = 'indices' | 'brackets' | 'repeat' | 'comma';
710
+ export type ClientOptions = RequestOptions & {
711
711
  arrayFormat?: ArrayFormat;
712
712
  authorizationTokenGenerator?: (url: string) => Promise<Record<string, string>> | undefined;
713
713
  authorizationTokenRefresh?: (url: string) => Promise<void> | undefined;
714
714
  };
715
- type BaseClient = {
715
+ export type BaseClient = {
716
716
  get: <U extends string, A extends RequestArgs | never, R extends APIResponse<unknown | undefined, Record<string, string> | undefined>>(url: U, args?: A, opts?: RequestOptions) => Promise<R>;
717
717
  post: <U extends string, A extends PayloadRequestArgs | never, R extends APIResponse<unknown | undefined, Record<string, string> | undefined>>(url: U, args?: A, opts?: RequestOptions) => Promise<R>;
718
718
  put: <U extends string, A extends PayloadRequestArgs | never, R extends APIResponse<unknown | undefined, Record<string, string> | undefined>>(url: U, args?: A, opts?: RequestOptions) => Promise<R>;
@@ -729,7 +729,7 @@ type BaseClient = {
729
729
  * @param server - The server definition to check against for implemented paths
730
730
  * @returns A cloned document with unimplemented paths marked as deprecated
731
731
  */
732
- declare const disableUnimplementedPaths: <T extends OpenApiDocument, S extends APIServerDefinition>(document: T, server: S) => T;
732
+ export declare const disableUnimplementedPaths: <T extends OpenApiDocument, S extends APIServerDefinition>(document: T, server: S) => T;
733
733
  /**
734
734
  * Appends the API version segment to all server URLs.
735
735
  *
@@ -737,7 +737,7 @@ declare const disableUnimplementedPaths: <T extends OpenApiDocument, S extends A
737
737
  * @param version - The version string to append
738
738
  * @returns A cloned document with updated server URLs
739
739
  */
740
- declare const appendVersionToServers: <T extends OpenApiDocument>(document: T, version: string) => T;
740
+ export declare const appendVersionToServers: <T extends OpenApiDocument>(document: T, version: string) => T;
741
741
  /**
742
742
  * Resolves a $ref string to its schema definition within the document.
743
743
  *
@@ -745,7 +745,7 @@ declare const appendVersionToServers: <T extends OpenApiDocument>(document: T, v
745
745
  * @param doc - The OpenAPI document to resolve against
746
746
  * @returns The resolved schema, or undefined if the ref cannot be resolved
747
747
  */
748
- declare const resolveRef: (ref: string, doc: OpenApiDocument) => SchemaObject | undefined;
748
+ export declare const resolveRef: (ref: string, doc: OpenApiDocument) => SchemaObject | undefined;
749
749
  /**
750
750
  * Flattens all schemas typed as oneOf[$ref, $ref, ...] where all refs resolve to enums
751
751
  * into a single merged enum. Enables API UI tools to render a dropdown instead of a text input.
@@ -753,7 +753,7 @@ declare const resolveRef: (ref: string, doc: OpenApiDocument) => SchemaObject |
753
753
  * @param document - The OpenAPI document to modify
754
754
  * @returns A cloned document with flattened enum schemas
755
755
  */
756
- declare const flattenEnums: <T extends OpenApiDocument>(document: T) => T;
756
+ export declare const flattenEnums: <T extends OpenApiDocument>(document: T) => T;
757
757
  //#endregion
758
- export { APIResponse, APIServerDefinition, APIServerOptions, ArrayFormat, AsyncApiComponentsObject, AsyncApiDocument, AsyncOperationObject, AvroArray, AvroEnum, AvroField, AvroMap, AvroPrimitive, AvroRecord, AvroSchema, AvroUnion, BadGatewayError, BadRequestError, BaseClient, CallbackObject, ChannelItemObject, ClientErrorCode, ClientOptions, ComponentsObject, ConflictError, ContactObject, CorrelationIdObject, DefaultValue, DiscriminatorObject, EncodingObject, ErrorCode, Example, ExampleObject, ExpectationFailedError, ExpressRequest, ExternalDocumentationObject, FailedDependencyError, ForbiddenError, GatewayTimeoutError, GenericRouteHandler, GoneError, HTTPVersionNotSupportedError, HeaderObject, HeaderStyle, HttpError, HttpMethod, IMATeapotError, InfoObject, InsufficientStorageError, InternalServerError, LengthRequiredError, LicenseObject, LinkObject, LockedError, LoopDetectedError, type LowerCaseHeaders, MediaTypeObject, MessageObject, MessageTraitObject, MethodNotAllowedError, MisdirectedRequestError, NetworkAuthenticationRequiredError, NotAcceptableError, NotExtendedError, NotFoundError, NotImplementedError, OAuthFlowObject, OAuthFlowsObject, OpenApiDocument, OperationObject, OperationTraitObject, ParameterIn, ParameterObject, ParameterStyle, type PartiallySerialized, PathItemObject, PayloadRequestArgs, PayloadTooLargeError, PaymentRequiredError, PreconditionFailedError, PreconditionRequiredError, ProxyAuthenticationRequiredError, type QueryParams, RangeNotSatisfiableError, ReferenceObject, RequestArgs, RequestBodyObject, RequestHeaderFieldsTooLargeError, RequestOptions, RequestTimeoutError, ResponseObject, ResponsesObject, Route, RouteHandler, SchemaEnum, SchemaObject, SchemaType, SecurityRequirementObject, SecuritySchemeObject, SecuritySchemeType, type Serialized, ServerErrorCode, ServerObject, ServerVariableObject, ServiceUnavailableError, TagObject, TooEarlyError, TooManyRequestsError, URITooLongError, UnauthorizedError, UnavailableForLegalReasonsError, UnprocessableEntityError, UnsupportedMediaTypeError, UpgradeRequiredError, VariantAlsoNegotiatesError, Verb, XMLObject, appendVersionToServers, createHttpError, disableUnimplementedPaths, flattenEnums, fromAxiosError, resolveRef };
758
+ export type { LowerCaseHeaders, PartiallySerialized, QueryParams, Serialized };
759
759
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/common.ts","../src/bindings.ts","../src/asyncapi.ts","../src/avsc.ts","../src/errors.ts","../src/openapi.ts","../src/ts-extensions.ts","../src/types.ts","../src/schema.ts"],"mappings":";;;;KAAY;KASA;KAQA;KAGA;KAGA;KAEA;EACV;EACA;EACA,QAAQ;EACR;;KAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;EACP,OAAO,aAAa;EACpB,SAAS,eAAe;EACxB,SAAS,eAAe;EACxB,SAAS,eAAe;EACxB,MAAM,eAAe;EACrB,QAAQ,eAAe;EACvB,aAAa,eAAe,eAAe;EAC3C,iCAAiC,eAAe;EAChD;EACA;EACA,UAAU;EACV;EACA,gBAAgB;EAChB;EACA;EACA,MAAM;EACN,eAAe;EACf,UAAU;EACV;;KAGU;EACV;EACA;EACA;EACA;EACA;;KAGU;KACA;KASA;EACV;EACA,IAAI;EACJ;EACA;EACA;EACA;EAEA,QAAQ;EACR;EACA;EACA,SAAS,eAAe;EACxB,UAAU;EACV,WAAW,eAAe,gBAAgB;EAC1C,UAAU,eAAe;;KAGf;EACV,SAAS,eAAe;EACxB,UAAU;EACV,WAAW,eAAe,gBAAgB;EAC1C,WAAW,eAAe;;KAGhB;EACV;EACA,UAAU,eAAe,eAAe;EACxC;EACA;EACA;;KAGU;KAEA;EACV;EACA;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA,SAAS,eAAe;EACxB,UAAU;EACV,WAAW,eAAe,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,SAAS;IACb;EACI,MAAM;;EACN,MAAM;EAAM,SAAS;;KAGjB,sBAAsB;KAEtB;EACV,MAAM,iBAAiB;EACvB,UAEE,cACG,iBAGD,iCAAiC;;KAK3B,MAAM,gBAAgB,eAAe,gBAAgB,OAC/D,MACA;KAEU,sBAAsB,eAAe,QAAQ;KAC7C;EACV,MAAM,iBAAiB;;KAGb,cAAc;EACxB,SAAS;EACT,QAAQ;EACR,UAAU;;KAEA,qBAAqB;EAC/B,OAAO;;KAGG;EACV,QAAQ;EACR,UAAU,sBAAsB;EAEhC;EAEA;EACA;;KAGU;KAEA,gBAAgB;EAC1B,cAAc;EACd,+BACE,gBACG,QAAQ;EACb,6BAA6B,gBAAgB;;KAGnC;EACV,MACE,kBACA,UAAU,qBACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,OACE,kBACA,UAAU,4BACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,MACE,kBACA,UAAU,4BACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,QACE,kBACA,UAAU,4BACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,SACE,kBACA,UAAU,qBACV,UAAU,+BAEV,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;;;;;;;;;;;;cC7HF,4BACX,UAAU,iBACV,UAAU,qBAEV,UAAU,GACV,QAAQ,MACP;;;;;;;;cAuBU,yBAA0B,UAAU,iBAC/C,UAAU,GACV,oBACC;;;;;;;;cAeU,aACX,aACA,KAAK,oBACJ;;;;;;;;cAiBU,eAAgB,UAAU,iBAAiB,UAAU,MAAI"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/common.ts","../src/bindings.ts","../src/asyncapi.ts","../src/avsc.ts","../src/errors.ts","../src/openapi.ts","../src/ts-extensions.ts","../src/types.ts","../src/schema.ts"],"mappings":";;;;YAAY;YASA;YAQA;YAGA;YAGA;YAEA;EACV;EACA;EACA,QAAQ;EACR;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;EACP,OAAO,aAAa;EACpB,SAAS,eAAe;EACxB,SAAS,eAAe;EACxB,SAAS,eAAe;EACxB,MAAM,eAAe;EACrB,QAAQ,eAAe;EACvB,aAAa,eAAe,eAAe;EAC3C,iCAAiC,eAAe;EAChD;EACA;EACA,UAAU;EACV;EACA,gBAAgB;EAChB;EACA;EACA,MAAM;EACN,eAAe;EACf,UAAU;EACV;;YAGU;EACV;EACA;EACA;EACA;EACA;;YAGU;YACA;YASA;EACV;EACA,IAAI;EACJ;EACA;EACA;EACA;EAEA,QAAQ;EACR;EACA;EACA,SAAS,eAAe;EACxB,UAAU;EACV,WAAW,eAAe,gBAAgB;EAC1C,UAAU,eAAe;;YAGf;EACV,SAAS,eAAe;EACxB,UAAU;EACV,WAAW,eAAe,gBAAgB;EAC1C,WAAW,eAAe;;YAGhB;EACV;EACA,UAAU,eAAe,eAAe;EACxC;EACA;EACA;;YAGU;YAEA;EACV;EACA;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA,SAAS,eAAe;EACxB,UAAU;EACV,WAAW,eAAe,gBAAgB;EAC1C,UAAU,eAAe;;YAGf;EACV;EACA,UAAU;;YAGA;EACV;;YAGU;EACV;EACA;EACA;EACA;EACA,UAAU;EACV,UAAU;EACV;;YAGU;EACV;EACA;EACA;;YAGU;EACV;EACA;;YAGU;EACV;EACA;EACA,YAAY,eAAe;;YAGjB;EACV;EACA;EACA;;YAGU;EACV;EACA;EACA,eAAe;;YAGL;EACV;EACA;;YAGU;YAEA;EACV,MAAM;EACN;EACA;EACA,KAAK;EACL;EACA;EACA,QAAQ;EACR;;YAGU;EACV,WAAW;EACX,WAAW;EACX,oBAAoB;EACpB,oBAAoB;;YAGV;EACV;E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;EACA;;YAGU;YAEA,gBAAgB;EAC1B,cAAc;EACd,+BACE,gBACG,QAAQ;EACb,6BAA6B,gBAAgB;;YAGnC;EACV,MACE,kBACA,UAAU,qBACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,OACE,kBACA,UAAU,4BACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,MACE,kBACA,UAAU,4BACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,QACE,kBACA,UAAU,4BACV,UAAU,iCAER,qCAGF,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;EACb,SACE,kBACA,UAAU,qBACV,UAAU,+BAEV,KAAK,GACL,OAAO,GACP,OAAO,mBACJ,QAAQ;;;;;;;;;;;;qBC7HF,4BACX,UAAU,iBACV,UAAU,qBAAmB,UAEnB,GAAC,QACH,MACP;;;;;;;;qBAuBU,yBAA0B,UAAU,iBAAe,UACpD,GAAC,oBAEV;;;;;;;;qBAeU,aAAU,aACV,KACN,oBACJ;;;;;;;;qBAiBU,eAAgB,UAAU,iBAAe,UAAY,MAAI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/openapi-core",
3
- "version": "4.1.21",
3
+ "version": "4.1.22",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -23,12 +23,20 @@
23
23
  "typecheck": "tsc --noEmit"
24
24
  },
25
25
  "dependencies": {
26
- "@sebspark/retry": "1.0.18",
27
- "axios": "1.19.0",
26
+ "@sebspark/retry": "1.0.19",
27
+ "axios": "1.20.0",
28
28
  "express": "5.2.1"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "https://github.com/seb-oss/Spark-packages.git"
33
+ },
34
+ "devDependencies": {
35
+ "@biomejs/biome": "2.5.12",
36
+ "@sebspark/tsconfig": "*",
37
+ "depcheck": "1.4.7",
38
+ "typescript": "7.0.2",
39
+ "vite": "8.2.2",
40
+ "vitest": "5.0.0"
33
41
  }
34
- }
42
+ }