@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/aop/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/aop/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/aop/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/aop/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.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:
|
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.2287";
|
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.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:
|
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.2287";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2287";
|