@athenaintel/sdk 4.3.2207 → 4.3.2209

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.
Files changed (35) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/types/CalendarEventsResponseOut.d.ts +1 -1
  3. package/dist/cjs/api/types/EmailDraftResponseOut.d.ts +1 -1
  4. package/dist/cjs/api/types/EmailSearchResponseOut.d.ts +1 -1
  5. package/dist/cjs/api/types/InputMessageContentOneItem.d.ts +2 -2
  6. package/dist/cjs/api/types/MessageImageUrlContent.d.ts +8 -0
  7. package/dist/cjs/api/types/MessageImageUrlContent.js +3 -0
  8. package/dist/cjs/api/types/MessageTextContent.d.ts +8 -0
  9. package/dist/cjs/api/types/MessageTextContent.js +3 -0
  10. package/dist/cjs/api/types/RedactedThinkingContent.d.ts +2 -0
  11. package/dist/cjs/api/types/ThinkingContent.d.ts +2 -0
  12. package/dist/cjs/api/types/ToolResultContent.d.ts +2 -0
  13. package/dist/cjs/api/types/ToolUseContent.d.ts +2 -0
  14. package/dist/cjs/api/types/index.d.ts +2 -0
  15. package/dist/cjs/api/types/index.js +2 -0
  16. package/dist/cjs/version.d.ts +1 -1
  17. package/dist/cjs/version.js +1 -1
  18. package/dist/esm/BaseClient.mjs +2 -2
  19. package/dist/esm/api/types/CalendarEventsResponseOut.d.mts +1 -1
  20. package/dist/esm/api/types/EmailDraftResponseOut.d.mts +1 -1
  21. package/dist/esm/api/types/EmailSearchResponseOut.d.mts +1 -1
  22. package/dist/esm/api/types/InputMessageContentOneItem.d.mts +2 -2
  23. package/dist/esm/api/types/MessageImageUrlContent.d.mts +8 -0
  24. package/dist/esm/api/types/MessageImageUrlContent.mjs +2 -0
  25. package/dist/esm/api/types/MessageTextContent.d.mts +8 -0
  26. package/dist/esm/api/types/MessageTextContent.mjs +2 -0
  27. package/dist/esm/api/types/RedactedThinkingContent.d.mts +2 -0
  28. package/dist/esm/api/types/ThinkingContent.d.mts +2 -0
  29. package/dist/esm/api/types/ToolResultContent.d.mts +2 -0
  30. package/dist/esm/api/types/ToolUseContent.d.mts +2 -0
  31. package/dist/esm/api/types/index.d.mts +2 -0
  32. package/dist/esm/api/types/index.mjs +2 -0
  33. package/dist/esm/version.d.mts +1 -1
  34. package/dist/esm/version.mjs +1 -1
  35. package/package.json +1 -1
@@ -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.2207",
47
- "User-Agent": "@athenaintel/sdk/4.3.2207",
46
+ "X-Fern-SDK-Version": "4.3.2209",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2209",
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,
@@ -7,7 +7,7 @@ export interface CalendarEventsResponseOut {
7
7
  catalog_id: string;
8
8
  /** Number of events returned. */
9
9
  count: number;
10
- /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts (`google` accounts are read-only for drafts). */
10
+ /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts. */
11
11
  provider: string;
12
12
  /** Matching events in ascending start order. */
13
13
  results?: AthenaIntelligence.CalendarEventOut[];
@@ -12,7 +12,7 @@ export interface EmailDraftResponseOut {
12
12
  message?: string | null;
13
13
  /** Provider message id backing the draft. Gmail accounts only. */
14
14
  message_id?: string | null;
15
- /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts (`google` accounts are read-only for drafts). */
15
+ /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts. */
16
16
  provider: string;
17
17
  /** The message this draft replies to, when it is a reply. */
18
18
  reply_to_message_id?: string | null;
@@ -13,7 +13,7 @@ export interface EmailSearchResponseOut {
13
13
  ignored_operators?: string[] | null;
14
14
  /** Human-readable caveats about the results, when there are any. */
15
15
  note?: string | null;
16
- /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts (`google` accounts are read-only for drafts). */
16
+ /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts. */
17
17
  provider: string;
18
18
  /** The query as executed. */
19
19
  query: string;
@@ -1,10 +1,10 @@
1
1
  import type * as AthenaIntelligence from "../index.js";
2
2
  export type InputMessageContentOneItem = AthenaIntelligence.InputMessageContentOneItem.Text | AthenaIntelligence.InputMessageContentOneItem.ImageUrl | AthenaIntelligence.InputMessageContentOneItem.ToolUse | AthenaIntelligence.InputMessageContentOneItem.ToolResult | AthenaIntelligence.InputMessageContentOneItem.Thinking | AthenaIntelligence.InputMessageContentOneItem.RedactedThinking;
3
3
  export declare namespace InputMessageContentOneItem {
4
- interface Text extends AthenaIntelligence.TextContent {
4
+ interface Text extends AthenaIntelligence.MessageTextContent {
5
5
  type: "text";
6
6
  }
7
- interface ImageUrl extends AthenaIntelligence.ImageUrlContent {
7
+ interface ImageUrl extends AthenaIntelligence.MessageImageUrlContent {
8
8
  type: "image_url";
9
9
  }
10
10
  interface ToolUse extends AthenaIntelligence.ToolUseContent {
@@ -0,0 +1,8 @@
1
+ /**
2
+ * An image content item.
3
+ */
4
+ export interface MessageImageUrlContent {
5
+ image_url: Record<string, string>;
6
+ /** Accepts any additional properties */
7
+ [key: string]: any;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A text content item in a multimodal message content.
3
+ */
4
+ export interface MessageTextContent {
5
+ text: string;
6
+ /** Accepts any additional properties */
7
+ [key: string]: any;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,4 +3,6 @@
3
3
  */
4
4
  export interface RedactedThinkingContent {
5
5
  data: string;
6
+ /** Accepts any additional properties */
7
+ [key: string]: any;
6
8
  }
@@ -4,4 +4,6 @@
4
4
  export interface ThinkingContent {
5
5
  signature: string;
6
6
  thinking: string;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
7
9
  }
@@ -5,6 +5,8 @@ export interface ToolResultContent {
5
5
  content: ToolResultContent.Content;
6
6
  is_error: boolean;
7
7
  tool_use_id: string;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
8
10
  }
9
11
  export declare namespace ToolResultContent {
10
12
  type Content = string | Record<string, unknown>[];
@@ -5,4 +5,6 @@ export interface ToolUseContent {
5
5
  id: string;
6
6
  input: Record<string, unknown>;
7
7
  name: string;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
8
10
  }
@@ -88,6 +88,8 @@ export * from "./MeetingOut.js";
88
88
  export * from "./MeetingParticipantOut.js";
89
89
  export * from "./MeSharePointProvisioningOut.js";
90
90
  export * from "./MeSourcesResponseOut.js";
91
+ export * from "./MessageImageUrlContent.js";
92
+ export * from "./MessageTextContent.js";
91
93
  export * from "./MoveAssetResponseOut.js";
92
94
  export * from "./NumberFormatModel.js";
93
95
  export * from "./NumberFormatType.js";
@@ -104,6 +104,8 @@ __exportStar(require("./MeetingOut.js"), exports);
104
104
  __exportStar(require("./MeetingParticipantOut.js"), exports);
105
105
  __exportStar(require("./MeSharePointProvisioningOut.js"), exports);
106
106
  __exportStar(require("./MeSourcesResponseOut.js"), exports);
107
+ __exportStar(require("./MessageImageUrlContent.js"), exports);
108
+ __exportStar(require("./MessageTextContent.js"), exports);
107
109
  __exportStar(require("./MoveAssetResponseOut.js"), exports);
108
110
  __exportStar(require("./NumberFormatModel.js"), exports);
109
111
  __exportStar(require("./NumberFormatType.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2207";
1
+ export declare const SDK_VERSION = "4.3.2209";
@@ -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.2207";
4
+ exports.SDK_VERSION = "4.3.2209";
@@ -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.2207",
10
- "User-Agent": "@athenaintel/sdk/4.3.2207",
9
+ "X-Fern-SDK-Version": "4.3.2209",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2209",
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,
@@ -7,7 +7,7 @@ export interface CalendarEventsResponseOut {
7
7
  catalog_id: string;
8
8
  /** Number of events returned. */
9
9
  count: number;
10
- /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts (`google` accounts are read-only for drafts). */
10
+ /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts. */
11
11
  provider: string;
12
12
  /** Matching events in ascending start order. */
13
13
  results?: AthenaIntelligence.CalendarEventOut[];
@@ -12,7 +12,7 @@ export interface EmailDraftResponseOut {
12
12
  message?: string | null;
13
13
  /** Provider message id backing the draft. Gmail accounts only. */
14
14
  message_id?: string | null;
15
- /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts (`google` accounts are read-only for drafts). */
15
+ /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts. */
16
16
  provider: string;
17
17
  /** The message this draft replies to, when it is a reply. */
18
18
  reply_to_message_id?: string | null;
@@ -13,7 +13,7 @@ export interface EmailSearchResponseOut {
13
13
  ignored_operators?: string[] | null;
14
14
  /** Human-readable caveats about the results, when there are any. */
15
15
  note?: string | null;
16
- /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts (`google` accounts are read-only for drafts). */
16
+ /** Account provider as Athena reports it: `gmail` or `outlook` for accounts connected through the Integrations page; `google` or `microsoft365` for directly-connected accounts. */
17
17
  provider: string;
18
18
  /** The query as executed. */
19
19
  query: string;
@@ -1,10 +1,10 @@
1
1
  import type * as AthenaIntelligence from "../index.mjs";
2
2
  export type InputMessageContentOneItem = AthenaIntelligence.InputMessageContentOneItem.Text | AthenaIntelligence.InputMessageContentOneItem.ImageUrl | AthenaIntelligence.InputMessageContentOneItem.ToolUse | AthenaIntelligence.InputMessageContentOneItem.ToolResult | AthenaIntelligence.InputMessageContentOneItem.Thinking | AthenaIntelligence.InputMessageContentOneItem.RedactedThinking;
3
3
  export declare namespace InputMessageContentOneItem {
4
- interface Text extends AthenaIntelligence.TextContent {
4
+ interface Text extends AthenaIntelligence.MessageTextContent {
5
5
  type: "text";
6
6
  }
7
- interface ImageUrl extends AthenaIntelligence.ImageUrlContent {
7
+ interface ImageUrl extends AthenaIntelligence.MessageImageUrlContent {
8
8
  type: "image_url";
9
9
  }
10
10
  interface ToolUse extends AthenaIntelligence.ToolUseContent {
@@ -0,0 +1,8 @@
1
+ /**
2
+ * An image content item.
3
+ */
4
+ export interface MessageImageUrlContent {
5
+ image_url: Record<string, string>;
6
+ /** Accepts any additional properties */
7
+ [key: string]: any;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A text content item in a multimodal message content.
3
+ */
4
+ export interface MessageTextContent {
5
+ text: string;
6
+ /** Accepts any additional properties */
7
+ [key: string]: any;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -3,4 +3,6 @@
3
3
  */
4
4
  export interface RedactedThinkingContent {
5
5
  data: string;
6
+ /** Accepts any additional properties */
7
+ [key: string]: any;
6
8
  }
@@ -4,4 +4,6 @@
4
4
  export interface ThinkingContent {
5
5
  signature: string;
6
6
  thinking: string;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
7
9
  }
@@ -5,6 +5,8 @@ export interface ToolResultContent {
5
5
  content: ToolResultContent.Content;
6
6
  is_error: boolean;
7
7
  tool_use_id: string;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
8
10
  }
9
11
  export declare namespace ToolResultContent {
10
12
  type Content = string | Record<string, unknown>[];
@@ -5,4 +5,6 @@ export interface ToolUseContent {
5
5
  id: string;
6
6
  input: Record<string, unknown>;
7
7
  name: string;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
8
10
  }
@@ -88,6 +88,8 @@ export * from "./MeetingOut.mjs";
88
88
  export * from "./MeetingParticipantOut.mjs";
89
89
  export * from "./MeSharePointProvisioningOut.mjs";
90
90
  export * from "./MeSourcesResponseOut.mjs";
91
+ export * from "./MessageImageUrlContent.mjs";
92
+ export * from "./MessageTextContent.mjs";
91
93
  export * from "./MoveAssetResponseOut.mjs";
92
94
  export * from "./NumberFormatModel.mjs";
93
95
  export * from "./NumberFormatType.mjs";
@@ -88,6 +88,8 @@ export * from "./MeetingOut.mjs";
88
88
  export * from "./MeetingParticipantOut.mjs";
89
89
  export * from "./MeSharePointProvisioningOut.mjs";
90
90
  export * from "./MeSourcesResponseOut.mjs";
91
+ export * from "./MessageImageUrlContent.mjs";
92
+ export * from "./MessageTextContent.mjs";
91
93
  export * from "./MoveAssetResponseOut.mjs";
92
94
  export * from "./NumberFormatModel.mjs";
93
95
  export * from "./NumberFormatType.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2207";
1
+ export declare const SDK_VERSION = "4.3.2209";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2207";
1
+ export const SDK_VERSION = "4.3.2209";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2207",
3
+ "version": "4.3.2209",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",