@athenaintel/sdk 4.3.2312 → 4.3.2314

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.2312",
47
- "User-Agent": "@athenaintel/sdk/4.3.2312",
46
+ "X-Fern-SDK-Version": "4.3.2314",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2314",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
@@ -69,6 +69,7 @@ export declare class ThreadsClient {
69
69
  * @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
70
70
  *
71
71
  * @throws {@link AthenaIntelligence.UnauthorizedError}
72
+ * @throws {@link AthenaIntelligence.ForbiddenError}
72
73
  * @throws {@link AthenaIntelligence.NotFoundError}
73
74
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
74
75
  * @throws {@link AthenaIntelligence.InternalServerError}
@@ -88,6 +89,7 @@ export declare class ThreadsClient {
88
89
  *
89
90
  * @throws {@link AthenaIntelligence.BadRequestError}
90
91
  * @throws {@link AthenaIntelligence.UnauthorizedError}
92
+ * @throws {@link AthenaIntelligence.ForbiddenError}
91
93
  * @throws {@link AthenaIntelligence.NotFoundError}
92
94
  * @throws {@link AthenaIntelligence.ConflictError}
93
95
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
@@ -310,6 +310,7 @@ class ThreadsClient {
310
310
  * @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
311
311
  *
312
312
  * @throws {@link AthenaIntelligence.UnauthorizedError}
313
+ * @throws {@link AthenaIntelligence.ForbiddenError}
313
314
  * @throws {@link AthenaIntelligence.NotFoundError}
314
315
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
315
316
  * @throws {@link AthenaIntelligence.InternalServerError}
@@ -355,6 +356,8 @@ class ThreadsClient {
355
356
  switch (_response.error.statusCode) {
356
357
  case 401:
357
358
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
359
+ case 403:
360
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
358
361
  case 404:
359
362
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
360
363
  case 422:
@@ -399,6 +402,7 @@ class ThreadsClient {
399
402
  *
400
403
  * @throws {@link AthenaIntelligence.BadRequestError}
401
404
  * @throws {@link AthenaIntelligence.UnauthorizedError}
405
+ * @throws {@link AthenaIntelligence.ForbiddenError}
402
406
  * @throws {@link AthenaIntelligence.NotFoundError}
403
407
  * @throws {@link AthenaIntelligence.ConflictError}
404
408
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
@@ -444,6 +448,8 @@ class ThreadsClient {
444
448
  throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
445
449
  case 401:
446
450
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
451
+ case 403:
452
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
447
453
  case 404:
448
454
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
449
455
  case 409:
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2312";
1
+ export declare const SDK_VERSION = "4.3.2314";
@@ -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.2312";
4
+ exports.SDK_VERSION = "4.3.2314";
@@ -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.2312",
10
- "User-Agent": "@athenaintel/sdk/4.3.2312",
9
+ "X-Fern-SDK-Version": "4.3.2314",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2314",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
@@ -69,6 +69,7 @@ export declare class ThreadsClient {
69
69
  * @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
70
70
  *
71
71
  * @throws {@link AthenaIntelligence.UnauthorizedError}
72
+ * @throws {@link AthenaIntelligence.ForbiddenError}
72
73
  * @throws {@link AthenaIntelligence.NotFoundError}
73
74
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
74
75
  * @throws {@link AthenaIntelligence.InternalServerError}
@@ -88,6 +89,7 @@ export declare class ThreadsClient {
88
89
  *
89
90
  * @throws {@link AthenaIntelligence.BadRequestError}
90
91
  * @throws {@link AthenaIntelligence.UnauthorizedError}
92
+ * @throws {@link AthenaIntelligence.ForbiddenError}
91
93
  * @throws {@link AthenaIntelligence.NotFoundError}
92
94
  * @throws {@link AthenaIntelligence.ConflictError}
93
95
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
@@ -274,6 +274,7 @@ export class ThreadsClient {
274
274
  * @param {ThreadsClient.RequestOptions} requestOptions - Request-specific configuration.
275
275
  *
276
276
  * @throws {@link AthenaIntelligence.UnauthorizedError}
277
+ * @throws {@link AthenaIntelligence.ForbiddenError}
277
278
  * @throws {@link AthenaIntelligence.NotFoundError}
278
279
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
279
280
  * @throws {@link AthenaIntelligence.InternalServerError}
@@ -319,6 +320,8 @@ export class ThreadsClient {
319
320
  switch (_response.error.statusCode) {
320
321
  case 401:
321
322
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
323
+ case 403:
324
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
322
325
  case 404:
323
326
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
324
327
  case 422:
@@ -363,6 +366,7 @@ export class ThreadsClient {
363
366
  *
364
367
  * @throws {@link AthenaIntelligence.BadRequestError}
365
368
  * @throws {@link AthenaIntelligence.UnauthorizedError}
369
+ * @throws {@link AthenaIntelligence.ForbiddenError}
366
370
  * @throws {@link AthenaIntelligence.NotFoundError}
367
371
  * @throws {@link AthenaIntelligence.ConflictError}
368
372
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
@@ -408,6 +412,8 @@ export class ThreadsClient {
408
412
  throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
409
413
  case 401:
410
414
  throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
415
+ case 403:
416
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
411
417
  case 404:
412
418
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
413
419
  case 409:
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2312";
1
+ export declare const SDK_VERSION = "4.3.2314";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2312";
1
+ export const SDK_VERSION = "4.3.2314";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2312",
3
+ "version": "4.3.2314",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",