phenoml 6.1.0 → 6.3.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.
- package/dist/cjs/BaseClient.d.ts +2 -0
- package/dist/cjs/Client.js +3 -3
- package/dist/cjs/api/resources/agent/client/Client.js +8 -0
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +7 -0
- package/dist/cjs/api/resources/cohort/client/Client.js +1 -0
- package/dist/cjs/api/resources/construe/client/Client.js +10 -0
- package/dist/cjs/api/resources/fhir/client/Client.js +6 -0
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +7 -0
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +5 -0
- package/dist/cjs/api/resources/summary/client/Client.js +6 -0
- package/dist/cjs/api/resources/tools/client/Client.js +4 -0
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +4 -0
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +4 -0
- package/dist/cjs/api/resources/workflows/client/Client.js +6 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -0
- package/dist/cjs/core/fetcher/Fetcher.js +192 -1
- package/dist/cjs/core/fetcher/makeRequest.js +0 -2
- package/dist/cjs/core/fetcher/requestWithRetries.js +0 -9
- package/dist/cjs/core/fetcher/signals.d.ts +0 -6
- package/dist/cjs/core/fetcher/signals.js +0 -12
- package/dist/cjs/core/index.d.ts +1 -0
- package/dist/cjs/core/index.js +2 -1
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/url/join.js +0 -1
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +2 -0
- package/dist/esm/Client.mjs +3 -3
- package/dist/esm/api/resources/agent/client/Client.mjs +8 -0
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +7 -0
- package/dist/esm/api/resources/cohort/client/Client.mjs +1 -0
- package/dist/esm/api/resources/construe/client/Client.mjs +10 -0
- package/dist/esm/api/resources/fhir/client/Client.mjs +6 -0
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +7 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +5 -0
- package/dist/esm/api/resources/summary/client/Client.mjs +6 -0
- package/dist/esm/api/resources/tools/client/Client.mjs +4 -0
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +4 -0
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +4 -0
- package/dist/esm/api/resources/workflows/client/Client.mjs +6 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +2 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +192 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +0 -2
- package/dist/esm/core/fetcher/requestWithRetries.mjs +0 -9
- package/dist/esm/core/fetcher/signals.d.mts +0 -6
- package/dist/esm/core/fetcher/signals.mjs +0 -12
- package/dist/esm/core/index.d.mts +1 -0
- package/dist/esm/core/index.mjs +1 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/url/join.mjs +0 -1
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Logger = exports.ConsoleLogger = exports.LogLevel = void 0;
|
|
4
|
+
exports.createLogger = createLogger;
|
|
5
|
+
exports.LogLevel = {
|
|
6
|
+
Debug: "debug",
|
|
7
|
+
Info: "info",
|
|
8
|
+
Warn: "warn",
|
|
9
|
+
Error: "error",
|
|
10
|
+
};
|
|
11
|
+
const logLevelMap = {
|
|
12
|
+
[exports.LogLevel.Debug]: 1,
|
|
13
|
+
[exports.LogLevel.Info]: 2,
|
|
14
|
+
[exports.LogLevel.Warn]: 3,
|
|
15
|
+
[exports.LogLevel.Error]: 4,
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Default console-based logger implementation.
|
|
19
|
+
*/
|
|
20
|
+
class ConsoleLogger {
|
|
21
|
+
debug(message, ...args) {
|
|
22
|
+
console.debug(message, ...args);
|
|
23
|
+
}
|
|
24
|
+
info(message, ...args) {
|
|
25
|
+
console.info(message, ...args);
|
|
26
|
+
}
|
|
27
|
+
warn(message, ...args) {
|
|
28
|
+
console.warn(message, ...args);
|
|
29
|
+
}
|
|
30
|
+
error(message, ...args) {
|
|
31
|
+
console.error(message, ...args);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConsoleLogger = ConsoleLogger;
|
|
35
|
+
/**
|
|
36
|
+
* Logger class that provides level-based logging functionality.
|
|
37
|
+
*/
|
|
38
|
+
class Logger {
|
|
39
|
+
/**
|
|
40
|
+
* Creates a new logger instance.
|
|
41
|
+
* @param config - Logger configuration
|
|
42
|
+
*/
|
|
43
|
+
constructor(config) {
|
|
44
|
+
this.level = logLevelMap[config.level];
|
|
45
|
+
this.logger = config.logger;
|
|
46
|
+
this.silent = config.silent;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Checks if a log level should be output based on configuration.
|
|
50
|
+
* @param level - The log level to check
|
|
51
|
+
* @returns True if the level should be logged
|
|
52
|
+
*/
|
|
53
|
+
shouldLog(level) {
|
|
54
|
+
return !this.silent && this.level <= logLevelMap[level];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Checks if debug logging is enabled.
|
|
58
|
+
* @returns True if debug logs should be output
|
|
59
|
+
*/
|
|
60
|
+
isDebug() {
|
|
61
|
+
return this.shouldLog(exports.LogLevel.Debug);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Logs a debug message if debug logging is enabled.
|
|
65
|
+
* @param message - The message to log
|
|
66
|
+
* @param args - Additional arguments to log
|
|
67
|
+
*/
|
|
68
|
+
debug(message, ...args) {
|
|
69
|
+
if (this.isDebug()) {
|
|
70
|
+
this.logger.debug(message, ...args);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Checks if info logging is enabled.
|
|
75
|
+
* @returns True if info logs should be output
|
|
76
|
+
*/
|
|
77
|
+
isInfo() {
|
|
78
|
+
return this.shouldLog(exports.LogLevel.Info);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Logs an info message if info logging is enabled.
|
|
82
|
+
* @param message - The message to log
|
|
83
|
+
* @param args - Additional arguments to log
|
|
84
|
+
*/
|
|
85
|
+
info(message, ...args) {
|
|
86
|
+
if (this.isInfo()) {
|
|
87
|
+
this.logger.info(message, ...args);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Checks if warning logging is enabled.
|
|
92
|
+
* @returns True if warning logs should be output
|
|
93
|
+
*/
|
|
94
|
+
isWarn() {
|
|
95
|
+
return this.shouldLog(exports.LogLevel.Warn);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Logs a warning message if warning logging is enabled.
|
|
99
|
+
* @param message - The message to log
|
|
100
|
+
* @param args - Additional arguments to log
|
|
101
|
+
*/
|
|
102
|
+
warn(message, ...args) {
|
|
103
|
+
if (this.isWarn()) {
|
|
104
|
+
this.logger.warn(message, ...args);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Checks if error logging is enabled.
|
|
109
|
+
* @returns True if error logs should be output
|
|
110
|
+
*/
|
|
111
|
+
isError() {
|
|
112
|
+
return this.shouldLog(exports.LogLevel.Error);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Logs an error message if error logging is enabled.
|
|
116
|
+
* @param message - The message to log
|
|
117
|
+
* @param args - Additional arguments to log
|
|
118
|
+
*/
|
|
119
|
+
error(message, ...args) {
|
|
120
|
+
if (this.isError()) {
|
|
121
|
+
this.logger.error(message, ...args);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.Logger = Logger;
|
|
126
|
+
function createLogger(config) {
|
|
127
|
+
var _a, _b, _c;
|
|
128
|
+
if (config == null) {
|
|
129
|
+
return defaultLogger;
|
|
130
|
+
}
|
|
131
|
+
if (config instanceof Logger) {
|
|
132
|
+
return config;
|
|
133
|
+
}
|
|
134
|
+
config = config !== null && config !== void 0 ? config : {};
|
|
135
|
+
(_a = config.level) !== null && _a !== void 0 ? _a : (config.level = exports.LogLevel.Info);
|
|
136
|
+
(_b = config.logger) !== null && _b !== void 0 ? _b : (config.logger = new ConsoleLogger());
|
|
137
|
+
(_c = config.silent) !== null && _c !== void 0 ? _c : (config.silent = true);
|
|
138
|
+
return new Logger(config);
|
|
139
|
+
}
|
|
140
|
+
const defaultLogger = new Logger({
|
|
141
|
+
level: exports.LogLevel.Info,
|
|
142
|
+
logger: new ConsoleLogger(),
|
|
143
|
+
silent: true,
|
|
144
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./core/exports.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./core/exports.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "6.
|
|
1
|
+
export declare const SDK_VERSION = "6.3.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -14,6 +14,8 @@ export interface BaseClientOptions {
|
|
|
14
14
|
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
15
15
|
fetch?: typeof fetch;
|
|
16
16
|
fetcher?: core.FetchFunction;
|
|
17
|
+
/** Configure logging for the client. */
|
|
18
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
17
19
|
}
|
|
18
20
|
export interface BaseRequestOptions {
|
|
19
21
|
/** The maximum time to wait for a response in seconds. */
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -13,11 +13,11 @@ import { mergeHeaders } from "./core/headers.mjs";
|
|
|
13
13
|
import * as core from "./core/index.mjs";
|
|
14
14
|
export class phenomlClient {
|
|
15
15
|
constructor(_options) {
|
|
16
|
-
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
16
|
+
this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: mergeHeaders({
|
|
17
17
|
"X-Fern-Language": "JavaScript",
|
|
18
18
|
"X-Fern-SDK-Name": "phenoml",
|
|
19
|
-
"X-Fern-SDK-Version": "6.
|
|
20
|
-
"User-Agent": "phenoml/
|
|
19
|
+
"X-Fern-SDK-Version": "6.3.0",
|
|
20
|
+
"User-Agent": "phenoml/auto",
|
|
21
21
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
22
22
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
23
23
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -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 };
|