phenoml 6.1.0 → 6.2.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.
Files changed (61) hide show
  1. package/dist/cjs/BaseClient.d.ts +2 -0
  2. package/dist/cjs/Client.js +3 -3
  3. package/dist/cjs/api/resources/agent/client/Client.js +8 -0
  4. package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +7 -0
  5. package/dist/cjs/api/resources/cohort/client/Client.js +1 -0
  6. package/dist/cjs/api/resources/construe/client/Client.js +10 -0
  7. package/dist/cjs/api/resources/fhir/client/Client.js +6 -0
  8. package/dist/cjs/api/resources/fhirProvider/client/Client.js +7 -0
  9. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +5 -0
  10. package/dist/cjs/api/resources/summary/client/Client.js +6 -0
  11. package/dist/cjs/api/resources/tools/client/Client.js +4 -0
  12. package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +4 -0
  13. package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +4 -0
  14. package/dist/cjs/api/resources/workflows/client/Client.js +6 -0
  15. package/dist/cjs/core/exports.d.ts +1 -0
  16. package/dist/cjs/core/exports.js +17 -0
  17. package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -0
  18. package/dist/cjs/core/fetcher/Fetcher.js +177 -1
  19. package/dist/cjs/core/index.d.ts +1 -0
  20. package/dist/cjs/core/index.js +2 -1
  21. package/dist/cjs/core/logging/exports.d.ts +18 -0
  22. package/dist/cjs/core/logging/exports.js +45 -0
  23. package/dist/cjs/core/logging/index.d.ts +1 -0
  24. package/dist/cjs/core/logging/index.js +17 -0
  25. package/dist/cjs/core/logging/logger.d.ts +126 -0
  26. package/dist/cjs/core/logging/logger.js +144 -0
  27. package/dist/cjs/exports.d.ts +1 -0
  28. package/dist/cjs/exports.js +17 -0
  29. package/dist/cjs/version.d.ts +1 -1
  30. package/dist/cjs/version.js +1 -1
  31. package/dist/esm/BaseClient.d.mts +2 -0
  32. package/dist/esm/Client.mjs +3 -3
  33. package/dist/esm/api/resources/agent/client/Client.mjs +8 -0
  34. package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +7 -0
  35. package/dist/esm/api/resources/cohort/client/Client.mjs +1 -0
  36. package/dist/esm/api/resources/construe/client/Client.mjs +10 -0
  37. package/dist/esm/api/resources/fhir/client/Client.mjs +6 -0
  38. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +7 -0
  39. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +5 -0
  40. package/dist/esm/api/resources/summary/client/Client.mjs +6 -0
  41. package/dist/esm/api/resources/tools/client/Client.mjs +4 -0
  42. package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +4 -0
  43. package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +4 -0
  44. package/dist/esm/api/resources/workflows/client/Client.mjs +6 -0
  45. package/dist/esm/core/exports.d.mts +1 -0
  46. package/dist/esm/core/exports.mjs +1 -0
  47. package/dist/esm/core/fetcher/Fetcher.d.mts +2 -0
  48. package/dist/esm/core/fetcher/Fetcher.mjs +177 -1
  49. package/dist/esm/core/index.d.mts +1 -0
  50. package/dist/esm/core/index.mjs +1 -0
  51. package/dist/esm/core/logging/exports.d.mts +18 -0
  52. package/dist/esm/core/logging/exports.mjs +9 -0
  53. package/dist/esm/core/logging/index.d.mts +1 -0
  54. package/dist/esm/core/logging/index.mjs +1 -0
  55. package/dist/esm/core/logging/logger.d.mts +126 -0
  56. package/dist/esm/core/logging/logger.mjs +138 -0
  57. package/dist/esm/exports.d.mts +1 -0
  58. package/dist/esm/exports.mjs +1 -0
  59. package/dist/esm/version.d.mts +1 -1
  60. package/dist/esm/version.mjs +1 -1
  61. package/package.json +2 -1
@@ -70,6 +70,7 @@ export class Agent {
70
70
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
71
71
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
72
72
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
73
+ logging: this._options.logging,
73
74
  });
74
75
  if (_response.ok) {
75
76
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -145,6 +146,7 @@ export class Agent {
145
146
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
146
147
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
147
148
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
149
+ logging: this._options.logging,
148
150
  });
149
151
  if (_response.ok) {
150
152
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -212,6 +214,7 @@ export class Agent {
212
214
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
213
215
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
214
216
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
217
+ logging: this._options.logging,
215
218
  });
216
219
  if (_response.ok) {
217
220
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -290,6 +293,7 @@ export class Agent {
290
293
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
291
294
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
292
295
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
296
+ logging: this._options.logging,
293
297
  });
294
298
  if (_response.ok) {
295
299
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -361,6 +365,7 @@ export class Agent {
361
365
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
362
366
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
363
367
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
368
+ logging: this._options.logging,
364
369
  });
365
370
  if (_response.ok) {
366
371
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -446,6 +451,7 @@ export class Agent {
446
451
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
447
452
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
448
453
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
454
+ logging: this._options.logging,
449
455
  });
450
456
  if (_response.ok) {
451
457
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -530,6 +536,7 @@ export class Agent {
530
536
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
531
537
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
532
538
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
539
+ logging: this._options.logging,
533
540
  });
534
541
  if (_response.ok) {
535
542
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -615,6 +622,7 @@ export class Agent {
615
622
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
616
623
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
617
624
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
625
+ logging: this._options.logging,
618
626
  });
619
627
  if (_response.ok) {
620
628
  return {
@@ -53,6 +53,7 @@ export class Prompts {
53
53
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
54
54
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
55
55
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
56
+ logging: this._options.logging,
56
57
  });
57
58
  if (_response.ok) {
58
59
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -120,6 +121,7 @@ export class Prompts {
120
121
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
121
122
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
122
123
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
124
+ logging: this._options.logging,
123
125
  });
124
126
  if (_response.ok) {
125
127
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -187,6 +189,7 @@ export class Prompts {
187
189
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
188
190
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
189
191
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
192
+ logging: this._options.logging,
190
193
  });
191
194
  if (_response.ok) {
192
195
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -261,6 +264,7 @@ export class Prompts {
261
264
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
262
265
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
263
266
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
267
+ logging: this._options.logging,
264
268
  });
265
269
  if (_response.ok) {
266
270
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -332,6 +336,7 @@ export class Prompts {
332
336
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
333
337
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
334
338
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
339
+ logging: this._options.logging,
335
340
  });
336
341
  if (_response.ok) {
337
342
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -417,6 +422,7 @@ export class Prompts {
417
422
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
418
423
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
419
424
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
425
+ logging: this._options.logging,
420
426
  });
421
427
  if (_response.ok) {
422
428
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -486,6 +492,7 @@ export class Prompts {
486
492
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
487
493
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
488
494
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
495
+ logging: this._options.logging,
489
496
  });
490
497
  if (_response.ok) {
491
498
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -51,6 +51,7 @@ export class Cohort {
51
51
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
52
52
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
53
53
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
54
+ logging: this._options.logging,
54
55
  });
55
56
  if (_response.ok) {
56
57
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -59,6 +59,7 @@ export class Construe {
59
59
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
60
60
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
61
61
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
62
+ logging: this._options.logging,
62
63
  });
63
64
  if (_response.ok) {
64
65
  return {
@@ -144,6 +145,7 @@ export class Construe {
144
145
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
145
146
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
146
147
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
148
+ logging: this._options.logging,
147
149
  });
148
150
  if (_response.ok) {
149
151
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -214,6 +216,7 @@ export class Construe {
214
216
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
215
217
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
216
218
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
219
+ logging: this._options.logging,
217
220
  });
218
221
  if (_response.ok) {
219
222
  return {
@@ -290,6 +293,7 @@ export class Construe {
290
293
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
291
294
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
292
295
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
296
+ logging: this._options.logging,
293
297
  });
294
298
  if (_response.ok) {
295
299
  return {
@@ -372,6 +376,7 @@ export class Construe {
372
376
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
373
377
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
374
378
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
379
+ logging: this._options.logging,
375
380
  });
376
381
  if (_response.ok) {
377
382
  return {
@@ -459,6 +464,7 @@ export class Construe {
459
464
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
460
465
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
461
466
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
467
+ logging: this._options.logging,
462
468
  });
463
469
  if (_response.ok) {
464
470
  return {
@@ -555,6 +561,7 @@ export class Construe {
555
561
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
556
562
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
557
563
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
564
+ logging: this._options.logging,
558
565
  });
559
566
  if (_response.ok) {
560
567
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -635,6 +642,7 @@ export class Construe {
635
642
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
636
643
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
637
644
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
645
+ logging: this._options.logging,
638
646
  });
639
647
  if (_response.ok) {
640
648
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -736,6 +744,7 @@ export class Construe {
736
744
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
737
745
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
738
746
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
747
+ logging: this._options.logging,
739
748
  });
740
749
  if (_response.ok) {
741
750
  return {
@@ -846,6 +855,7 @@ export class Construe {
846
855
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
847
856
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
848
857
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
858
+ logging: this._options.logging,
849
859
  });
850
860
  if (_response.ok) {
851
861
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -71,6 +71,7 @@ export class Fhir {
71
71
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
72
72
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
73
73
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
74
+ logging: this._options.logging,
74
75
  });
75
76
  if (_response.ok) {
76
77
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -176,6 +177,7 @@ export class Fhir {
176
177
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
177
178
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
178
179
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
180
+ logging: this._options.logging,
179
181
  });
180
182
  if (_response.ok) {
181
183
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -281,6 +283,7 @@ export class Fhir {
281
283
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
282
284
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
283
285
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
286
+ logging: this._options.logging,
284
287
  });
285
288
  if (_response.ok) {
286
289
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -369,6 +372,7 @@ export class Fhir {
369
372
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
370
373
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
371
374
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
375
+ logging: this._options.logging,
372
376
  });
373
377
  if (_response.ok) {
374
378
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -523,6 +527,7 @@ export class Fhir {
523
527
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
524
528
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
525
529
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
530
+ logging: this._options.logging,
526
531
  });
527
532
  if (_response.ok) {
528
533
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -644,6 +649,7 @@ export class Fhir {
644
649
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
645
650
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
646
651
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
652
+ logging: this._options.logging,
647
653
  });
648
654
  if (_response.ok) {
649
655
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -57,6 +57,7 @@ export class FhirProvider {
57
57
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
58
58
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
59
59
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
60
+ logging: this._options.logging,
60
61
  });
61
62
  if (_response.ok) {
62
63
  return {
@@ -129,6 +130,7 @@ export class FhirProvider {
129
130
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
130
131
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
131
132
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
133
+ logging: this._options.logging,
132
134
  });
133
135
  if (_response.ok) {
134
136
  return {
@@ -199,6 +201,7 @@ export class FhirProvider {
199
201
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
200
202
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
201
203
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
204
+ logging: this._options.logging,
202
205
  });
203
206
  if (_response.ok) {
204
207
  return {
@@ -271,6 +274,7 @@ export class FhirProvider {
271
274
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
272
275
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
273
276
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
277
+ logging: this._options.logging,
274
278
  });
275
279
  if (_response.ok) {
276
280
  return {
@@ -353,6 +357,7 @@ export class FhirProvider {
353
357
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
354
358
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
355
359
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
360
+ logging: this._options.logging,
356
361
  });
357
362
  if (_response.ok) {
358
363
  return {
@@ -440,6 +445,7 @@ export class FhirProvider {
440
445
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
441
446
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
442
447
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
448
+ logging: this._options.logging,
443
449
  });
444
450
  if (_response.ok) {
445
451
  return {
@@ -524,6 +530,7 @@ export class FhirProvider {
524
530
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
525
531
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
526
532
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
533
+ logging: this._options.logging,
527
534
  });
528
535
  if (_response.ok) {
529
536
  return {
@@ -53,6 +53,7 @@ export class Lang2Fhir {
53
53
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
54
54
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
55
55
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
56
+ logging: this._options.logging,
56
57
  });
57
58
  if (_response.ok) {
58
59
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -126,6 +127,7 @@ export class Lang2Fhir {
126
127
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
127
128
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
128
129
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
130
+ logging: this._options.logging,
129
131
  });
130
132
  if (_response.ok) {
131
133
  return {
@@ -208,6 +210,7 @@ export class Lang2Fhir {
208
210
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
209
211
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
210
212
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
213
+ logging: this._options.logging,
211
214
  });
212
215
  if (_response.ok) {
213
216
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -291,6 +294,7 @@ export class Lang2Fhir {
291
294
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
292
295
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
293
296
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
297
+ logging: this._options.logging,
294
298
  });
295
299
  if (_response.ok) {
296
300
  return {
@@ -369,6 +373,7 @@ export class Lang2Fhir {
369
373
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
370
374
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
371
375
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
376
+ logging: this._options.logging,
372
377
  });
373
378
  if (_response.ok) {
374
379
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -44,6 +44,7 @@ export class Summary {
44
44
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
45
45
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
46
46
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
47
+ logging: this._options.logging,
47
48
  });
48
49
  if (_response.ok) {
49
50
  return {
@@ -119,6 +120,7 @@ export class Summary {
119
120
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
120
121
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
121
122
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
123
+ logging: this._options.logging,
122
124
  });
123
125
  if (_response.ok) {
124
126
  return {
@@ -189,6 +191,7 @@ export class Summary {
189
191
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
190
192
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
191
193
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
194
+ logging: this._options.logging,
192
195
  });
193
196
  if (_response.ok) {
194
197
  return {
@@ -271,6 +274,7 @@ export class Summary {
271
274
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
272
275
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
273
276
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
277
+ logging: this._options.logging,
274
278
  });
275
279
  if (_response.ok) {
276
280
  return {
@@ -345,6 +349,7 @@ export class Summary {
345
349
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
346
350
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
347
351
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
352
+ logging: this._options.logging,
348
353
  });
349
354
  if (_response.ok) {
350
355
  return {
@@ -428,6 +433,7 @@ export class Summary {
428
433
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
429
434
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
430
435
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
436
+ logging: this._options.logging,
431
437
  });
432
438
  if (_response.ok) {
433
439
  return {
@@ -77,6 +77,7 @@ export class Tools {
77
77
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
78
78
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
79
79
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
80
+ logging: this._options.logging,
80
81
  });
81
82
  if (_response.ok) {
82
83
  return {
@@ -169,6 +170,7 @@ export class Tools {
169
170
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
170
171
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
171
172
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
173
+ logging: this._options.logging,
172
174
  });
173
175
  if (_response.ok) {
174
176
  return {
@@ -256,6 +258,7 @@ export class Tools {
256
258
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
257
259
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
258
260
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
261
+ logging: this._options.logging,
259
262
  });
260
263
  if (_response.ok) {
261
264
  return {
@@ -343,6 +346,7 @@ export class Tools {
343
346
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
344
347
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
345
348
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
349
+ logging: this._options.logging,
346
350
  });
347
351
  if (_response.ok) {
348
352
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -58,6 +58,7 @@ export class McpServer {
58
58
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
59
59
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
60
60
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
61
+ logging: this._options.logging,
61
62
  });
62
63
  if (_response.ok) {
63
64
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -125,6 +126,7 @@ export class McpServer {
125
126
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
126
127
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
127
128
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
129
+ logging: this._options.logging,
128
130
  });
129
131
  if (_response.ok) {
130
132
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -191,6 +193,7 @@ export class McpServer {
191
193
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
192
194
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
193
195
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
196
+ logging: this._options.logging,
194
197
  });
195
198
  if (_response.ok) {
196
199
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -257,6 +260,7 @@ export class McpServer {
257
260
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
258
261
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
259
262
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
263
+ logging: this._options.logging,
260
264
  });
261
265
  if (_response.ok) {
262
266
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -46,6 +46,7 @@ export class Tools {
46
46
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
47
47
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
48
48
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
49
+ logging: this._options.logging,
49
50
  });
50
51
  if (_response.ok) {
51
52
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -112,6 +113,7 @@ export class Tools {
112
113
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
113
114
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
114
115
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
116
+ logging: this._options.logging,
115
117
  });
116
118
  if (_response.ok) {
117
119
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -178,6 +180,7 @@ export class Tools {
178
180
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
179
181
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
180
182
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
183
+ logging: this._options.logging,
181
184
  });
182
185
  if (_response.ok) {
183
186
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -253,6 +256,7 @@ export class Tools {
253
256
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
254
257
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
255
258
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
259
+ logging: this._options.logging,
256
260
  });
257
261
  if (_response.ok) {
258
262
  return {
@@ -64,6 +64,7 @@ export class Workflows {
64
64
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
65
65
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
66
66
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
67
+ logging: this._options.logging,
67
68
  });
68
69
  if (_response.ok) {
69
70
  return {
@@ -152,6 +153,7 @@ export class Workflows {
152
153
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
153
154
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
154
155
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
156
+ logging: this._options.logging,
155
157
  });
156
158
  if (_response.ok) {
157
159
  return {
@@ -232,6 +234,7 @@ export class Workflows {
232
234
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
233
235
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
234
236
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
237
+ logging: this._options.logging,
235
238
  });
236
239
  if (_response.ok) {
237
240
  return {
@@ -324,6 +327,7 @@ export class Workflows {
324
327
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
325
328
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
326
329
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
330
+ logging: this._options.logging,
327
331
  });
328
332
  if (_response.ok) {
329
333
  return {
@@ -398,6 +402,7 @@ export class Workflows {
398
402
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
399
403
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
400
404
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
405
+ logging: this._options.logging,
401
406
  });
402
407
  if (_response.ok) {
403
408
  return {
@@ -482,6 +487,7 @@ export class Workflows {
482
487
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
483
488
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
484
489
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
490
+ logging: this._options.logging,
485
491
  });
486
492
  if (_response.ok) {
487
493
  return {
@@ -0,0 +1 @@
1
+ export * from "./logging/exports.mjs";
@@ -0,0 +1 @@
1
+ export * from "./logging/exports.mjs";
@@ -1,3 +1,4 @@
1
+ import { type LogConfig, type Logger } from "../logging/logger.mjs";
1
2
  import type { APIResponse } from "./APIResponse.mjs";
2
3
  import type { EndpointMetadata } from "./EndpointMetadata.mjs";
3
4
  import { EndpointSupplier } from "./EndpointSupplier.mjs";
@@ -19,6 +20,7 @@ export declare namespace Fetcher {
19
20
  duplex?: "half";
20
21
  endpointMetadata?: EndpointMetadata;
21
22
  fetchFn?: typeof fetch;
23
+ logging?: LogConfig | Logger;
22
24
  }
23
25
  type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError;
24
26
  interface FailedStatusCodeError {