@athenaintel/sdk 4.3.1923 → 4.3.1924
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.js +2 -2
- package/dist/cjs/api/resources/threads/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/threads/client/Client.js +3 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/threads/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/threads/client/Client.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@athenaintel/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "4.3.
|
|
47
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
46
|
+
"X-Fern-SDK-Version": "4.3.1924",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.1924",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -75,6 +75,7 @@ export declare class ThreadsClient {
|
|
|
75
75
|
* @throws {@link AthenaIntelligence.ConflictError}
|
|
76
76
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
77
77
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
78
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
78
79
|
*
|
|
79
80
|
* @example
|
|
80
81
|
* await client.threads.stop({
|
|
@@ -310,6 +310,7 @@ class ThreadsClient {
|
|
|
310
310
|
* @throws {@link AthenaIntelligence.ConflictError}
|
|
311
311
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
312
312
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
313
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
313
314
|
*
|
|
314
315
|
* @example
|
|
315
316
|
* await client.threads.stop({
|
|
@@ -356,6 +357,8 @@ class ThreadsClient {
|
|
|
356
357
|
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
357
358
|
case 500:
|
|
358
359
|
throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
|
|
360
|
+
case 502:
|
|
361
|
+
throw new AthenaIntelligence.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
359
362
|
default:
|
|
360
363
|
throw new errors.AthenaIntelligenceError({
|
|
361
364
|
statusCode: _response.error.statusCode,
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.1924";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@athenaintel/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "4.3.
|
|
10
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
9
|
+
"X-Fern-SDK-Version": "4.3.1924",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.1924",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -75,6 +75,7 @@ export declare class ThreadsClient {
|
|
|
75
75
|
* @throws {@link AthenaIntelligence.ConflictError}
|
|
76
76
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
77
77
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
78
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
78
79
|
*
|
|
79
80
|
* @example
|
|
80
81
|
* await client.threads.stop({
|
|
@@ -274,6 +274,7 @@ export class ThreadsClient {
|
|
|
274
274
|
* @throws {@link AthenaIntelligence.ConflictError}
|
|
275
275
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
276
276
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
277
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
277
278
|
*
|
|
278
279
|
* @example
|
|
279
280
|
* await client.threads.stop({
|
|
@@ -320,6 +321,8 @@ export class ThreadsClient {
|
|
|
320
321
|
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
321
322
|
case 500:
|
|
322
323
|
throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
|
|
324
|
+
case 502:
|
|
325
|
+
throw new AthenaIntelligence.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
323
326
|
default:
|
|
324
327
|
throw new errors.AthenaIntelligenceError({
|
|
325
328
|
statusCode: _response.error.statusCode,
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.1924";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.1924";
|