@chrt-inc/typescript-sdk 1.1026.0 → 1.1035.0

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 (143) hide show
  1. package/dist/cjs/Client.d.ts +3 -3
  2. package/dist/cjs/Client.js +19 -19
  3. package/dist/cjs/api/resources/chrtGpt/client/Client.d.ts +4 -1
  4. package/dist/cjs/api/resources/chrtGpt/client/Client.js +6 -1
  5. package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptReq.d.ts +24 -0
  6. package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptReq.js +14 -0
  7. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.d.ts +34 -2
  8. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.js +139 -3
  9. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.d.ts +13 -0
  10. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.d.ts +12 -0
  11. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.js +5 -0
  12. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.ts +4 -1
  13. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/chrtGpt/resources/index.d.ts +2 -0
  15. package/dist/cjs/api/resources/chrtGpt/resources/index.js +3 -1
  16. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/Client.d.ts +49 -0
  17. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/Client.js +132 -0
  18. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/index.js +17 -0
  20. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.ts +13 -0
  21. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.js +5 -0
  22. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/index.d.ts +1 -1
  24. package/dist/cjs/api/resources/index.js +2 -2
  25. package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/Client.d.ts +2 -2
  26. package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.d.ts +4 -4
  27. package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.js +7 -7
  28. package/dist/cjs/api/resources/livekit/resources/helloWorld/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/index.js +0 -1
  30. package/dist/cjs/api/types/Caller.d.ts +1 -0
  31. package/dist/cjs/api/types/ChrtGptCompletedEvent.d.ts +4 -0
  32. package/dist/cjs/api/types/ChrtGptConversation1.d.ts +8 -0
  33. package/dist/cjs/api/types/ChrtGptConversationRes.d.ts +3 -1
  34. package/dist/cjs/api/types/ChrtGptConversationTitleSourceEnum1.d.ts +9 -0
  35. package/dist/cjs/api/types/ChrtGptConversationTitleSourceEnum1.js +11 -0
  36. package/dist/cjs/api/types/ChrtGptConversationsDeleteManyRes.d.ts +7 -0
  37. package/dist/cjs/api/types/ChrtGptConversationsDeleteManyRes.js +5 -0
  38. package/dist/cjs/api/types/ChrtGptEvent.d.ts +1 -4
  39. package/dist/cjs/api/types/ChrtGptVoiceDelegationEnum.d.ts +11 -0
  40. package/dist/cjs/api/types/ChrtGptVoiceDelegationEnum.js +10 -0
  41. package/dist/cjs/api/types/ChrtGptVoiceReq.d.ts +11 -0
  42. package/dist/cjs/api/types/ChrtGptVoiceReq.js +5 -0
  43. package/dist/cjs/api/types/ChrtGptVoiceStartRes.d.ts +9 -0
  44. package/dist/cjs/api/types/ChrtGptVoiceStartRes.js +5 -0
  45. package/dist/cjs/api/types/InternalDelegationOriginEnum.d.ts +8 -0
  46. package/dist/cjs/api/types/InternalDelegationOriginEnum.js +10 -0
  47. package/dist/cjs/api/types/index.d.ts +6 -1
  48. package/dist/cjs/api/types/index.js +6 -1
  49. package/dist/cjs/version.d.ts +1 -1
  50. package/dist/cjs/version.js +1 -1
  51. package/dist/esm/Client.d.mts +3 -3
  52. package/dist/esm/Client.mjs +7 -7
  53. package/dist/esm/api/resources/chrtGpt/client/Client.d.mts +4 -1
  54. package/dist/esm/api/resources/chrtGpt/client/Client.mjs +6 -1
  55. package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptReq.d.mts +24 -0
  56. package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptReq.mjs +13 -1
  57. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.d.mts +34 -2
  58. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.mjs +139 -3
  59. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.d.mts +13 -0
  60. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.d.mts +12 -0
  61. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.mjs +4 -0
  62. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.mts +4 -1
  63. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/index.d.mts +2 -0
  64. package/dist/esm/api/resources/chrtGpt/resources/index.d.mts +2 -0
  65. package/dist/esm/api/resources/chrtGpt/resources/index.mjs +2 -0
  66. package/dist/esm/api/resources/chrtGpt/resources/voice/client/Client.d.mts +49 -0
  67. package/dist/esm/api/resources/chrtGpt/resources/voice/client/Client.mjs +95 -0
  68. package/dist/esm/api/resources/chrtGpt/resources/voice/client/index.d.mts +2 -0
  69. package/dist/esm/api/resources/chrtGpt/resources/voice/client/index.mjs +1 -0
  70. package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.mts +13 -0
  71. package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.mjs +4 -0
  72. package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/index.d.mts +1 -0
  73. package/dist/esm/api/resources/index.d.mts +1 -1
  74. package/dist/esm/api/resources/index.mjs +1 -1
  75. package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/Client.d.mts +2 -2
  76. package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.d.mts +4 -4
  77. package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.mjs +7 -7
  78. package/dist/esm/api/resources/livekit/resources/helloWorld/index.d.mts +1 -0
  79. package/dist/esm/api/resources/livekit/resources/helloWorld/index.mjs +1 -0
  80. package/dist/esm/api/types/Caller.d.mts +1 -0
  81. package/dist/esm/api/types/ChrtGptCompletedEvent.d.mts +4 -0
  82. package/dist/esm/api/types/ChrtGptConversation1.d.mts +8 -0
  83. package/dist/esm/api/types/ChrtGptConversationRes.d.mts +3 -1
  84. package/dist/esm/api/types/ChrtGptConversationTitleSourceEnum1.d.mts +9 -0
  85. package/dist/esm/api/types/ChrtGptConversationTitleSourceEnum1.mjs +8 -0
  86. package/dist/esm/api/types/ChrtGptConversationsDeleteManyRes.d.mts +7 -0
  87. package/dist/esm/api/types/ChrtGptConversationsDeleteManyRes.mjs +4 -0
  88. package/dist/esm/api/types/ChrtGptEvent.d.mts +1 -4
  89. package/dist/esm/api/types/ChrtGptVoiceDelegationEnum.d.mts +11 -0
  90. package/dist/esm/api/types/ChrtGptVoiceDelegationEnum.mjs +7 -0
  91. package/dist/esm/api/types/ChrtGptVoiceReq.d.mts +11 -0
  92. package/dist/esm/api/types/ChrtGptVoiceReq.mjs +4 -0
  93. package/dist/esm/api/types/ChrtGptVoiceStartRes.d.mts +9 -0
  94. package/dist/esm/api/types/ChrtGptVoiceStartRes.mjs +4 -0
  95. package/dist/esm/api/types/InternalDelegationOriginEnum.d.mts +8 -0
  96. package/dist/esm/api/types/InternalDelegationOriginEnum.mjs +7 -0
  97. package/dist/esm/api/types/index.d.mts +6 -1
  98. package/dist/esm/api/types/index.mjs +6 -1
  99. package/dist/esm/version.d.mts +1 -1
  100. package/dist/esm/version.mjs +1 -1
  101. package/package.json +1 -1
  102. package/reference.md +265 -59
  103. package/dist/cjs/api/resources/agent/client/Client.d.ts +0 -23
  104. package/dist/cjs/api/resources/agent/client/Client.js +0 -17
  105. package/dist/cjs/api/resources/agent/resources/index.d.ts +0 -1
  106. package/dist/cjs/api/resources/agent/resources/index.js +0 -37
  107. package/dist/cjs/api/resources/agent/resources/livekit/index.d.ts +0 -2
  108. package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.ts +0 -1
  109. package/dist/cjs/api/types/ChrtGptTitleEvent.d.ts +0 -11
  110. package/dist/esm/api/resources/agent/client/Client.d.mts +0 -23
  111. package/dist/esm/api/resources/agent/client/Client.mjs +0 -13
  112. package/dist/esm/api/resources/agent/resources/index.d.mts +0 -1
  113. package/dist/esm/api/resources/agent/resources/index.mjs +0 -1
  114. package/dist/esm/api/resources/agent/resources/livekit/index.d.mts +0 -2
  115. package/dist/esm/api/resources/agent/resources/livekit/index.mjs +0 -2
  116. package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.mts +0 -1
  117. package/dist/esm/api/types/ChrtGptTitleEvent.d.mts +0 -11
  118. /package/dist/cjs/api/{types/ChrtGptTitleEvent.js → resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.js} +0 -0
  119. /package/dist/cjs/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.js +0 -0
  120. /package/dist/cjs/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.d.ts +0 -0
  121. /package/dist/cjs/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.js +0 -0
  122. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/Client.js +0 -0
  123. /package/dist/cjs/api/resources/{agent → livekit}/client/index.d.ts +0 -0
  124. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/index.js +0 -0
  125. /package/dist/cjs/api/resources/{agent → livekit}/index.d.ts +0 -0
  126. /package/dist/cjs/api/resources/{agent → livekit}/index.js +0 -0
  127. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/client/index.d.ts +0 -0
  128. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/index.js +0 -0
  129. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/index.d.ts +0 -0
  130. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/index.js +0 -0
  131. /package/dist/esm/api/{types/ChrtGptTitleEvent.mjs → resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.mjs} +0 -0
  132. /package/dist/esm/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.mjs +0 -0
  133. /package/dist/esm/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.d.mts +0 -0
  134. /package/dist/esm/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.mjs +0 -0
  135. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/Client.mjs +0 -0
  136. /package/dist/esm/api/resources/{agent → livekit}/client/index.d.mts +0 -0
  137. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/index.mjs +0 -0
  138. /package/dist/esm/api/resources/{agent → livekit}/index.d.mts +0 -0
  139. /package/dist/esm/api/resources/{agent → livekit}/index.mjs +0 -0
  140. /package/dist/esm/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/client/index.d.mts +0 -0
  141. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/index.mjs +0 -0
  142. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/index.d.mts +0 -0
  143. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/index.mjs +0 -0
@@ -3,13 +3,13 @@ export * as shipping from "./shipping/index.mjs";
3
3
  export * as chrtGpt from "./chrtGpt/index.mjs";
4
4
  export * as flights from "./flights/index.mjs";
5
5
  export * as utils from "./utils/index.mjs";
6
- export * as agent from "./agent/index.mjs";
7
6
  export * as analytics from "./analytics/index.mjs";
8
7
  export * as billing from "./billing/index.mjs";
9
8
  export * as billingNew from "./billingNew/index.mjs";
10
9
  export * as cargoOnFlightIntegrations from "./cargoOnFlightIntegrations/index.mjs";
11
10
  export * as integrations from "./integrations/index.mjs";
12
11
  export * as listing from "./listing/index.mjs";
12
+ export * as livekit from "./livekit/index.mjs";
13
13
  export * as notifications from "./notifications/index.mjs";
14
14
  export * as operations from "./operations/index.mjs";
15
15
  export * as shippingIntegrations from "./shippingIntegrations/index.mjs";
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as environments from "../../../../../../environments.mjs";
5
- import * as core from "../../../../../../core/index.mjs";
4
+ import * as environments from "../../../../environments.mjs";
5
+ import * as core from "../../../../core/index.mjs";
6
6
  import { HelloWorld } from "../resources/helloWorld/client/Client.mjs";
7
7
  export declare namespace Livekit {
8
8
  interface Options {
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as environments from "../../../../../../../../environments.mjs";
5
- import * as core from "../../../../../../../../core/index.mjs";
6
- import * as Chrt from "../../../../../../../index.mjs";
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
7
  export declare namespace HelloWorld {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -36,7 +36,7 @@ export declare class HelloWorld {
36
36
  * @param {HelloWorld.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @example
39
- * await client.agent.livekit.helloWorld.startV1()
39
+ * await client.livekit.helloWorld.startV1()
40
40
  */
41
41
  startV1(requestOptions?: HelloWorld.RequestOptions): core.HttpResponsePromise<Chrt.LiveKitHelloWorldStartRes>;
42
42
  private __startV1;
@@ -10,10 +10,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  step((generator = generator.apply(thisArg, _arguments || [])).next());
11
11
  });
12
12
  };
13
- import * as environments from "../../../../../../../../environments.mjs";
14
- import * as core from "../../../../../../../../core/index.mjs";
15
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers.mjs";
16
- import * as errors from "../../../../../../../../errors/index.mjs";
13
+ import * as environments from "../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../core/index.mjs";
15
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
16
+ import * as errors from "../../../../../../errors/index.mjs";
17
17
  export class HelloWorld {
18
18
  constructor(_options = {}) {
19
19
  this._options = _options;
@@ -24,7 +24,7 @@ export class HelloWorld {
24
24
  * @param {HelloWorld.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await client.agent.livekit.helloWorld.startV1()
27
+ * await client.livekit.helloWorld.startV1()
28
28
  */
29
29
  startV1(requestOptions) {
30
30
  return core.HttpResponsePromise.fromPromise(this.__startV1(requestOptions));
@@ -34,7 +34,7 @@ export class HelloWorld {
34
34
  var _a, _b, _c, _d;
35
35
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
36
36
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
37
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "agent/livekit/hello_world/start/v1"),
37
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "livekit/hello_world/start/v1"),
38
38
  method: "POST",
39
39
  headers: _headers,
40
40
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -60,7 +60,7 @@ export class HelloWorld {
60
60
  rawResponse: _response.rawResponse,
61
61
  });
62
62
  case "timeout":
63
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /agent/livekit/hello_world/start/v1.");
63
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /livekit/hello_world/start/v1.");
64
64
  case "unknown":
65
65
  throw new errors.ChrtError({
66
66
  message: _response.error.errorMessage,
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -5,6 +5,7 @@ import * as Chrt from "../index.mjs";
5
5
  export interface Caller {
6
6
  credential?: string | null;
7
7
  credential_type: Chrt.CallerCredentialTypeEnum;
8
+ internal_delegation_origin?: Chrt.InternalDelegationOriginEnum | null;
8
9
  /** Must be a string starting with `org_` */
9
10
  org_id: string;
10
11
  org_role?: Chrt.OrgRoleEnum | null;
@@ -5,6 +5,10 @@
5
5
  * Last event of a successful stream.
6
6
  */
7
7
  export interface ChrtGptCompletedEvent {
8
+ /** When context_tokens passes this, ChrtGPT compacts older turns and context_tokens drops. */
9
+ context_limit_tokens: number;
10
+ /** Tokens of context ChrtGPT carries into the next turn. On a turn that compacted, this is the size before compaction, so it can exceed context_limit_tokens once. */
11
+ context_tokens: number;
8
12
  conversation_id: string;
9
13
  /** The turn's final message. Earlier messages in the turn only arrive as text deltas. */
10
14
  response_text: string;
@@ -1,13 +1,21 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.mjs";
4
5
  export interface ChrtGptConversation1 {
5
6
  _id: string;
7
+ awb_numbers?: string[];
8
+ context_tokens?: number | null;
6
9
  created_at: string;
10
+ off_chrt_reference_ids?: string[];
11
+ order_short_ids?: string[];
7
12
  /** Must be a string starting with `org_` */
8
13
  org_id: string;
9
14
  schema_version: number;
15
+ summarized_turn_count?: number;
16
+ summary?: string | null;
10
17
  title: string;
18
+ title_source: Chrt.ChrtGptConversationTitleSourceEnum1;
11
19
  updated_at: string;
12
20
  /** Must be a string starting with `user_` */
13
21
  user_id: string;
@@ -3,7 +3,9 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface ChrtGptConversationRes {
6
+ /** The limit for conversation.context_tokens, as on the completed event. */
7
+ context_limit_tokens: number;
6
8
  conversation: Chrt.ChrtGptConversation1;
7
- /** The conversation's history, oldest first. Reasoning is omitted. */
9
+ /** The conversation's history, oldest first. Reasoning and compaction items are omitted. */
8
10
  items: Chrt.ChrtGptHistoryItem[];
9
11
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ChrtGptConversationTitleSourceEnum1 = "fallback" | "ai" | "user";
5
+ export declare const ChrtGptConversationTitleSourceEnum1: {
6
+ readonly Fallback: "fallback";
7
+ readonly Ai: "ai";
8
+ readonly User: "user";
9
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const ChrtGptConversationTitleSourceEnum1 = {
5
+ Fallback: "fallback",
6
+ Ai: "ai",
7
+ User: "user",
8
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ChrtGptConversationsDeleteManyRes {
5
+ /** The requested conversations this call deleted; skipped IDs are left out. */
6
+ deleted_conversation_ids: string[];
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export type ChrtGptEvent = Chrt.ChrtGptEvent.Completed | Chrt.ChrtGptEvent.Error_ | Chrt.ChrtGptEvent.Started | Chrt.ChrtGptEvent.TextDelta | Chrt.ChrtGptEvent.Title | Chrt.ChrtGptEvent.ToolCalled | Chrt.ChrtGptEvent.ToolOutput | Chrt.ChrtGptEvent.WebSearch;
5
+ export type ChrtGptEvent = Chrt.ChrtGptEvent.Completed | Chrt.ChrtGptEvent.Error_ | Chrt.ChrtGptEvent.Started | Chrt.ChrtGptEvent.TextDelta | Chrt.ChrtGptEvent.ToolCalled | Chrt.ChrtGptEvent.ToolOutput | Chrt.ChrtGptEvent.WebSearch;
6
6
  export declare namespace ChrtGptEvent {
7
7
  interface Completed extends Chrt.ChrtGptCompletedEvent {
8
8
  type: "completed";
@@ -16,9 +16,6 @@ export declare namespace ChrtGptEvent {
16
16
  interface TextDelta extends Chrt.ChrtGptTextDeltaEvent {
17
17
  type: "text_delta";
18
18
  }
19
- interface Title extends Chrt.ChrtGptTitleEvent {
20
- type: "title";
21
- }
22
19
  interface ToolCalled extends Chrt.ChrtGptToolCalledEvent {
23
20
  type: "tool_called";
24
21
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Where GPT-Live hands the work it can't do in conversation.
6
+ */
7
+ export type ChrtGptVoiceDelegationEnum = "responses" | "client";
8
+ export declare const ChrtGptVoiceDelegationEnum: {
9
+ readonly Responses: "responses";
10
+ readonly Client: "client";
11
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const ChrtGptVoiceDelegationEnum = {
5
+ Responses: "responses",
6
+ Client: "client",
7
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * A transcribed request from the ChrtGPT voice agent. The voice route fixes reasoning effort and verbosity for speed.
6
+ */
7
+ export interface ChrtGptVoiceReq {
8
+ /** Omit on the call's first request to start a new conversation. */
9
+ conversation_id?: string | null;
10
+ message: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ChrtGptVoiceStartRes {
5
+ agent_name: string;
6
+ participant_token: string;
7
+ room_name: string;
8
+ server_url: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type InternalDelegationOriginEnum = "temporal_worker" | "livekit_voice_agent";
5
+ export declare const InternalDelegationOriginEnum: {
6
+ readonly TemporalWorker: "temporal_worker";
7
+ readonly LivekitVoiceAgent: "livekit_voice_agent";
8
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const InternalDelegationOriginEnum = {
5
+ TemporalWorker: "temporal_worker",
6
+ LivekitVoiceAgent: "livekit_voice_agent",
7
+ };
@@ -210,15 +210,19 @@ export * from "./ChrtGptConversation1.mjs";
210
210
  export * from "./ChrtGptConversationListRes.mjs";
211
211
  export * from "./ChrtGptConversationRes.mjs";
212
212
  export * from "./ChrtGptConversationSortByEnum.mjs";
213
+ export * from "./ChrtGptConversationTitleSourceEnum1.mjs";
214
+ export * from "./ChrtGptConversationsDeleteManyRes.mjs";
213
215
  export * from "./ChrtGptErrorEvent.mjs";
214
216
  export * from "./ChrtGptEvent.mjs";
215
217
  export * from "./ChrtGptHistoryItem.mjs";
216
218
  export * from "./ChrtGptStartedEvent.mjs";
217
219
  export * from "./ChrtGptTextDeltaEvent.mjs";
218
- export * from "./ChrtGptTitleEvent.mjs";
219
220
  export * from "./ChrtGptToolCalledEvent.mjs";
220
221
  export * from "./ChrtGptToolOutputEvent.mjs";
221
222
  export * from "./ChrtGptUserMessageItem.mjs";
223
+ export * from "./ChrtGptVoiceDelegationEnum.mjs";
224
+ export * from "./ChrtGptVoiceReq.mjs";
225
+ export * from "./ChrtGptVoiceStartRes.mjs";
222
226
  export * from "./ChrtGptWebSearchEvent.mjs";
223
227
  export * from "./ChrtGroundProviderRates1.mjs";
224
228
  export * from "./ChrtGroundProviderRatesListRes.mjs";
@@ -399,6 +403,7 @@ export * from "./IataCassOfficeListRes.mjs";
399
403
  export * from "./IataCassOfficeSortByEnum.mjs";
400
404
  export * from "./InternalDelegationJwtReq.mjs";
401
405
  export * from "./InternalDelegationJwtRes.mjs";
406
+ export * from "./InternalDelegationOriginEnum.mjs";
402
407
  export * from "./Invoice1.mjs";
403
408
  export * from "./InvoiceClientCreate1.mjs";
404
409
  export * from "./InvoiceCreateFromOrdersReq.mjs";
@@ -210,15 +210,19 @@ export * from "./ChrtGptConversation1.mjs";
210
210
  export * from "./ChrtGptConversationListRes.mjs";
211
211
  export * from "./ChrtGptConversationRes.mjs";
212
212
  export * from "./ChrtGptConversationSortByEnum.mjs";
213
+ export * from "./ChrtGptConversationTitleSourceEnum1.mjs";
214
+ export * from "./ChrtGptConversationsDeleteManyRes.mjs";
213
215
  export * from "./ChrtGptErrorEvent.mjs";
214
216
  export * from "./ChrtGptEvent.mjs";
215
217
  export * from "./ChrtGptHistoryItem.mjs";
216
218
  export * from "./ChrtGptStartedEvent.mjs";
217
219
  export * from "./ChrtGptTextDeltaEvent.mjs";
218
- export * from "./ChrtGptTitleEvent.mjs";
219
220
  export * from "./ChrtGptToolCalledEvent.mjs";
220
221
  export * from "./ChrtGptToolOutputEvent.mjs";
221
222
  export * from "./ChrtGptUserMessageItem.mjs";
223
+ export * from "./ChrtGptVoiceDelegationEnum.mjs";
224
+ export * from "./ChrtGptVoiceReq.mjs";
225
+ export * from "./ChrtGptVoiceStartRes.mjs";
222
226
  export * from "./ChrtGptWebSearchEvent.mjs";
223
227
  export * from "./ChrtGroundProviderRates1.mjs";
224
228
  export * from "./ChrtGroundProviderRatesListRes.mjs";
@@ -399,6 +403,7 @@ export * from "./IataCassOfficeListRes.mjs";
399
403
  export * from "./IataCassOfficeSortByEnum.mjs";
400
404
  export * from "./InternalDelegationJwtReq.mjs";
401
405
  export * from "./InternalDelegationJwtRes.mjs";
406
+ export * from "./InternalDelegationOriginEnum.mjs";
402
407
  export * from "./Invoice1.mjs";
403
408
  export * from "./InvoiceClientCreate1.mjs";
404
409
  export * from "./InvoiceCreateFromOrdersReq.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1026.0";
1
+ export declare const SDK_VERSION = "1.1035.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1026.0";
1
+ export const SDK_VERSION = "1.1035.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.1026.0",
3
+ "version": "1.1035.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",