@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.
@@ -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.1923",
47
- "User-Agent": "@athenaintel/sdk/4.3.1923",
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,
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.1923";
1
+ export declare const SDK_VERSION = "4.3.1924";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "4.3.1923";
4
+ exports.SDK_VERSION = "4.3.1924";
@@ -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.1923",
10
- "User-Agent": "@athenaintel/sdk/4.3.1923",
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,
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.1923";
1
+ export declare const SDK_VERSION = "4.3.1924";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.1923";
1
+ export const SDK_VERSION = "4.3.1924";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.1923",
3
+ "version": "4.3.1924",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",