@athenaintel/sdk 4.3.2330 → 4.3.2332
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/tools/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/tools/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/tools/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/tools/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.2332",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2332",
|
|
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,
|
|
@@ -143,6 +143,7 @@ export declare class ToolsClient {
|
|
|
143
143
|
* @throws {@link AthenaIntelligence.UnsupportedMediaTypeError}
|
|
144
144
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
145
145
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
146
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
146
147
|
*
|
|
147
148
|
* @example
|
|
148
149
|
* await client.tools.dataFrame({
|
|
@@ -591,6 +591,7 @@ class ToolsClient {
|
|
|
591
591
|
* @throws {@link AthenaIntelligence.UnsupportedMediaTypeError}
|
|
592
592
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
593
593
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
594
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
594
595
|
*
|
|
595
596
|
* @example
|
|
596
597
|
* await client.tools.dataFrame({
|
|
@@ -654,6 +655,8 @@ class ToolsClient {
|
|
|
654
655
|
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
655
656
|
case 500:
|
|
656
657
|
throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
|
|
658
|
+
case 503:
|
|
659
|
+
throw new AthenaIntelligence.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
657
660
|
default:
|
|
658
661
|
throw new errors.AthenaIntelligenceError({
|
|
659
662
|
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.2332";
|
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.2332",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2332",
|
|
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,
|
|
@@ -143,6 +143,7 @@ export declare class ToolsClient {
|
|
|
143
143
|
* @throws {@link AthenaIntelligence.UnsupportedMediaTypeError}
|
|
144
144
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
145
145
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
146
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
146
147
|
*
|
|
147
148
|
* @example
|
|
148
149
|
* await client.tools.dataFrame({
|
|
@@ -555,6 +555,7 @@ export class ToolsClient {
|
|
|
555
555
|
* @throws {@link AthenaIntelligence.UnsupportedMediaTypeError}
|
|
556
556
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
557
557
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
558
|
+
* @throws {@link AthenaIntelligence.ServiceUnavailableError}
|
|
558
559
|
*
|
|
559
560
|
* @example
|
|
560
561
|
* await client.tools.dataFrame({
|
|
@@ -618,6 +619,8 @@ export class ToolsClient {
|
|
|
618
619
|
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
619
620
|
case 500:
|
|
620
621
|
throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
|
|
622
|
+
case 503:
|
|
623
|
+
throw new AthenaIntelligence.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
621
624
|
default:
|
|
622
625
|
throw new errors.AthenaIntelligenceError({
|
|
623
626
|
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.2332";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2332";
|