@athenaintel/sdk 4.3.2151 → 4.3.2153

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.2151",
47
- "User-Agent": "@athenaintel/sdk/4.3.2151",
46
+ "X-Fern-SDK-Version": "4.3.2153",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2153",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -99,6 +99,7 @@ export declare class DatabasesClient {
99
99
  * @throws {@link AthenaIntelligence.BadRequestError}
100
100
  * @throws {@link AthenaIntelligence.ForbiddenError}
101
101
  * @throws {@link AthenaIntelligence.NotFoundError}
102
+ * @throws {@link AthenaIntelligence.ConflictError}
102
103
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
103
104
  * @throws {@link AthenaIntelligence.NotImplementedError}
104
105
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -177,6 +178,7 @@ export declare class DatabasesClient {
177
178
  * @throws {@link AthenaIntelligence.BadRequestError}
178
179
  * @throws {@link AthenaIntelligence.ForbiddenError}
179
180
  * @throws {@link AthenaIntelligence.NotFoundError}
181
+ * @throws {@link AthenaIntelligence.ConflictError}
180
182
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
181
183
  * @throws {@link AthenaIntelligence.NotImplementedError}
182
184
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -368,6 +368,7 @@ class DatabasesClient {
368
368
  * @throws {@link AthenaIntelligence.BadRequestError}
369
369
  * @throws {@link AthenaIntelligence.ForbiddenError}
370
370
  * @throws {@link AthenaIntelligence.NotFoundError}
371
+ * @throws {@link AthenaIntelligence.ConflictError}
371
372
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
372
373
  * @throws {@link AthenaIntelligence.NotImplementedError}
373
374
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -420,6 +421,8 @@ class DatabasesClient {
420
421
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
421
422
  case 404:
422
423
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
424
+ case 409:
425
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
423
426
  case 422:
424
427
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
425
428
  case 501:
@@ -592,6 +595,7 @@ class DatabasesClient {
592
595
  * @throws {@link AthenaIntelligence.BadRequestError}
593
596
  * @throws {@link AthenaIntelligence.ForbiddenError}
594
597
  * @throws {@link AthenaIntelligence.NotFoundError}
598
+ * @throws {@link AthenaIntelligence.ConflictError}
595
599
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
596
600
  * @throws {@link AthenaIntelligence.NotImplementedError}
597
601
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -648,6 +652,8 @@ class DatabasesClient {
648
652
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
649
653
  case 404:
650
654
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
655
+ case 409:
656
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
651
657
  case 422:
652
658
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
653
659
  case 501:
@@ -13,6 +13,6 @@ export interface PaginatedSessionsOut {
13
13
  next_offset: number | null;
14
14
  /** Number of sessions skipped from the beginning of the result set */
15
15
  offset: number;
16
- /** Total number of sessions matching the query filters */
16
+ /** Lower bound on the number of sessions matching the query filters: the rows paged through so far plus one when has_more is true, or 0 for an empty page. It is exact once has_more is false and the page is non-empty. Use has_more/next_offset to paginate rather than dividing total by limit. */
17
17
  total: number;
18
18
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2151";
1
+ export declare const SDK_VERSION = "4.3.2153";
@@ -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.2151";
4
+ exports.SDK_VERSION = "4.3.2153";
@@ -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.2151",
10
- "User-Agent": "@athenaintel/sdk/4.3.2151",
9
+ "X-Fern-SDK-Version": "4.3.2153",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2153",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -99,6 +99,7 @@ export declare class DatabasesClient {
99
99
  * @throws {@link AthenaIntelligence.BadRequestError}
100
100
  * @throws {@link AthenaIntelligence.ForbiddenError}
101
101
  * @throws {@link AthenaIntelligence.NotFoundError}
102
+ * @throws {@link AthenaIntelligence.ConflictError}
102
103
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
103
104
  * @throws {@link AthenaIntelligence.NotImplementedError}
104
105
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -177,6 +178,7 @@ export declare class DatabasesClient {
177
178
  * @throws {@link AthenaIntelligence.BadRequestError}
178
179
  * @throws {@link AthenaIntelligence.ForbiddenError}
179
180
  * @throws {@link AthenaIntelligence.NotFoundError}
181
+ * @throws {@link AthenaIntelligence.ConflictError}
180
182
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
181
183
  * @throws {@link AthenaIntelligence.NotImplementedError}
182
184
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -332,6 +332,7 @@ export class DatabasesClient {
332
332
  * @throws {@link AthenaIntelligence.BadRequestError}
333
333
  * @throws {@link AthenaIntelligence.ForbiddenError}
334
334
  * @throws {@link AthenaIntelligence.NotFoundError}
335
+ * @throws {@link AthenaIntelligence.ConflictError}
335
336
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
336
337
  * @throws {@link AthenaIntelligence.NotImplementedError}
337
338
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -384,6 +385,8 @@ export class DatabasesClient {
384
385
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
385
386
  case 404:
386
387
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
388
+ case 409:
389
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
387
390
  case 422:
388
391
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
389
392
  case 501:
@@ -556,6 +559,7 @@ export class DatabasesClient {
556
559
  * @throws {@link AthenaIntelligence.BadRequestError}
557
560
  * @throws {@link AthenaIntelligence.ForbiddenError}
558
561
  * @throws {@link AthenaIntelligence.NotFoundError}
562
+ * @throws {@link AthenaIntelligence.ConflictError}
559
563
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
560
564
  * @throws {@link AthenaIntelligence.NotImplementedError}
561
565
  * @throws {@link AthenaIntelligence.ServiceUnavailableError}
@@ -612,6 +616,8 @@ export class DatabasesClient {
612
616
  throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
613
617
  case 404:
614
618
  throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
619
+ case 409:
620
+ throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
615
621
  case 422:
616
622
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
617
623
  case 501:
@@ -13,6 +13,6 @@ export interface PaginatedSessionsOut {
13
13
  next_offset: number | null;
14
14
  /** Number of sessions skipped from the beginning of the result set */
15
15
  offset: number;
16
- /** Total number of sessions matching the query filters */
16
+ /** Lower bound on the number of sessions matching the query filters: the rows paged through so far plus one when has_more is true, or 0 for an empty page. It is exact once has_more is false and the page is non-empty. Use has_more/next_offset to paginate rather than dividing total by limit. */
17
17
  total: number;
18
18
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2151";
1
+ export declare const SDK_VERSION = "4.3.2153";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2151";
1
+ export const SDK_VERSION = "4.3.2153";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2151",
3
+ "version": "4.3.2153",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",