@athenaintel/sdk 4.3.2331 → 4.3.2333

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.2331",
47
- "User-Agent": "@athenaintel/sdk/4.3.2331",
46
+ "X-Fern-SDK-Version": "4.3.2333",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2333",
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,
@@ -3,7 +3,7 @@ import type * as AthenaIntelligence from "../index.js";
3
3
  * Response model with asset content.
4
4
  */
5
5
  export interface AssetContentRequestOut {
6
- /** Comment threads on the asset. Only populated when the request sets include_comments=true. An empty list means the asset has no comment threads; null means comments were not requested or the comment data could not be retrieved. */
6
+ /** Comment threads on the asset. Only populated when the request sets include_comments=true. An empty list means the asset has no comment threads; null means comments were not requested, the comment data could not be retrieved, or the asset is published and the caller can view it but not edit it (its comments are on its draft). */
7
7
  comments?: AthenaIntelligence.AssetCommentThread[] | null;
8
8
  /** The content of the asset */
9
9
  content: string;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2331";
1
+ export declare const SDK_VERSION = "4.3.2333";
@@ -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.2331";
4
+ exports.SDK_VERSION = "4.3.2333";
@@ -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.2331",
10
- "User-Agent": "@athenaintel/sdk/4.3.2331",
9
+ "X-Fern-SDK-Version": "4.3.2333",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2333",
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,
@@ -3,7 +3,7 @@ import type * as AthenaIntelligence from "../index.mjs";
3
3
  * Response model with asset content.
4
4
  */
5
5
  export interface AssetContentRequestOut {
6
- /** Comment threads on the asset. Only populated when the request sets include_comments=true. An empty list means the asset has no comment threads; null means comments were not requested or the comment data could not be retrieved. */
6
+ /** Comment threads on the asset. Only populated when the request sets include_comments=true. An empty list means the asset has no comment threads; null means comments were not requested, the comment data could not be retrieved, or the asset is published and the caller can view it but not edit it (its comments are on its draft). */
7
7
  comments?: AthenaIntelligence.AssetCommentThread[] | null;
8
8
  /** The content of the asset */
9
9
  content: string;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2331";
1
+ export declare const SDK_VERSION = "4.3.2333";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2331";
1
+ export const SDK_VERSION = "4.3.2333";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2331",
3
+ "version": "4.3.2333",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",