@athenaintel/sdk 4.3.2286 → 4.3.2287

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.2286",
47
- "User-Agent": "@athenaintel/sdk/4.3.2286",
46
+ "X-Fern-SDK-Version": "4.3.2287",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2287",
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,
@@ -67,6 +67,7 @@ export declare class AopClient {
67
67
  * @throws {@link AthenaIntelligence.UnauthorizedError}
68
68
  * @throws {@link AthenaIntelligence.NotFoundError}
69
69
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
70
+ * @throws {@link AthenaIntelligence.TooManyRequestsError}
70
71
  * @throws {@link AthenaIntelligence.InternalServerError}
71
72
  *
72
73
  * @example
@@ -267,6 +267,7 @@ class AopClient {
267
267
  * @throws {@link AthenaIntelligence.UnauthorizedError}
268
268
  * @throws {@link AthenaIntelligence.NotFoundError}
269
269
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
270
+ * @throws {@link AthenaIntelligence.TooManyRequestsError}
270
271
  * @throws {@link AthenaIntelligence.InternalServerError}
271
272
  *
272
273
  * @example
@@ -322,6 +323,8 @@ class AopClient {
322
323
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
323
324
  case 422:
324
325
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
326
+ case 429:
327
+ throw new AthenaIntelligence.TooManyRequestsError(_response.error.body, _response.rawResponse);
325
328
  case 500:
326
329
  throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
327
330
  default:
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2286";
1
+ export declare const SDK_VERSION = "4.3.2287";
@@ -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.2286";
4
+ exports.SDK_VERSION = "4.3.2287";
@@ -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.2286",
10
- "User-Agent": "@athenaintel/sdk/4.3.2286",
9
+ "X-Fern-SDK-Version": "4.3.2287",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2287",
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,
@@ -67,6 +67,7 @@ export declare class AopClient {
67
67
  * @throws {@link AthenaIntelligence.UnauthorizedError}
68
68
  * @throws {@link AthenaIntelligence.NotFoundError}
69
69
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
70
+ * @throws {@link AthenaIntelligence.TooManyRequestsError}
70
71
  * @throws {@link AthenaIntelligence.InternalServerError}
71
72
  *
72
73
  * @example
@@ -231,6 +231,7 @@ export class AopClient {
231
231
  * @throws {@link AthenaIntelligence.UnauthorizedError}
232
232
  * @throws {@link AthenaIntelligence.NotFoundError}
233
233
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
234
+ * @throws {@link AthenaIntelligence.TooManyRequestsError}
234
235
  * @throws {@link AthenaIntelligence.InternalServerError}
235
236
  *
236
237
  * @example
@@ -286,6 +287,8 @@ export class AopClient {
286
287
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
287
288
  case 422:
288
289
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
290
+ case 429:
291
+ throw new AthenaIntelligence.TooManyRequestsError(_response.error.body, _response.rawResponse);
289
292
  case 500:
290
293
  throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
291
294
  default:
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2286";
1
+ export declare const SDK_VERSION = "4.3.2287";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2286";
1
+ export const SDK_VERSION = "4.3.2287";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2286",
3
+ "version": "4.3.2287",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",