@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
package/reference.md CHANGED
@@ -14,7 +14,7 @@
14
14
  <dl>
15
15
  <dd>
16
16
 
17
- Sends a message to ChrtGPT and streams its reply, starting and titling a new conversation when no conversation_id is given. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTReq) -> (stream[ChrtGPTEvent])
17
+ Sends a message to ChrtGPT and streams its reply, starting a new conversation when no conversation_id is given. In the background, retitles the conversation after each of its first 3 turns and updates its summary and order identifiers after every turn. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTReq) -> (stream[ChrtGPTEvent])
18
18
 
19
19
  </dd>
20
20
  </dl>
@@ -523,63 +523,6 @@ await client.utils.getTimezoneV1({
523
523
  </dl>
524
524
  </details>
525
525
 
526
- ## Agent Livekit HelloWorld
527
-
528
- <details><summary><code>client.agent.livekit.helloWorld.<a href="/src/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.ts">startV1</a>() -> Chrt.LiveKitHelloWorldStartRes</code></summary>
529
- <dl>
530
- <dd>
531
-
532
- #### 📝 Description
533
-
534
- <dl>
535
- <dd>
536
-
537
- <dl>
538
- <dd>
539
-
540
- Creates a LiveKit room token that also dispatches the hello-world voice agent into the room. | () -> (LiveKitHelloWorldStartRes)
541
-
542
- </dd>
543
- </dl>
544
- </dd>
545
- </dl>
546
-
547
- #### 🔌 Usage
548
-
549
- <dl>
550
- <dd>
551
-
552
- <dl>
553
- <dd>
554
-
555
- ```typescript
556
- await client.agent.livekit.helloWorld.startV1();
557
- ```
558
-
559
- </dd>
560
- </dl>
561
- </dd>
562
- </dl>
563
-
564
- #### ⚙️ Parameters
565
-
566
- <dl>
567
- <dd>
568
-
569
- <dl>
570
- <dd>
571
-
572
- **requestOptions:** `HelloWorld.RequestOptions`
573
-
574
- </dd>
575
- </dl>
576
- </dd>
577
- </dl>
578
-
579
- </dd>
580
- </dl>
581
- </details>
582
-
583
526
  ## Analytics Shipping
584
527
 
585
528
  <details><summary><code>client.analytics.shipping.<a href="/src/api/resources/analytics/resources/shipping/client/Client.ts">retrieveOrdersCountV1</a>({ ...params }) -> Chrt.AnalyticsTimeBucketRes</code></summary>
@@ -5203,6 +5146,71 @@ await client.cargoOnFlightIntegrations.cargoai.searchV1("cargo_on_flight_booking
5203
5146
 
5204
5147
  ## ChrtGpt Conversations
5205
5148
 
5149
+ <details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">deleteManyV1</a>({ ...params }) -> Chrt.ChrtGptConversationsDeleteManyRes</code></summary>
5150
+ <dl>
5151
+ <dd>
5152
+
5153
+ #### 📝 Description
5154
+
5155
+ <dl>
5156
+ <dd>
5157
+
5158
+ <dl>
5159
+ <dd>
5160
+
5161
+ Permanently deletes the caller's ChrtGPT conversations and their history, skipping IDs that don't exist or aren't the caller's. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTConversationsDeleteManyReq) -> (ChrtGPTConversationsDeleteManyRes)
5162
+
5163
+ </dd>
5164
+ </dl>
5165
+ </dd>
5166
+ </dl>
5167
+
5168
+ #### 🔌 Usage
5169
+
5170
+ <dl>
5171
+ <dd>
5172
+
5173
+ <dl>
5174
+ <dd>
5175
+
5176
+ ```typescript
5177
+ await client.chrtGpt.conversations.deleteManyV1({
5178
+ conversation_ids: ["conversation_ids"],
5179
+ });
5180
+ ```
5181
+
5182
+ </dd>
5183
+ </dl>
5184
+ </dd>
5185
+ </dl>
5186
+
5187
+ #### ⚙️ Parameters
5188
+
5189
+ <dl>
5190
+ <dd>
5191
+
5192
+ <dl>
5193
+ <dd>
5194
+
5195
+ **request:** `Chrt.chrtGpt.ChrtGptConversationsDeleteManyReq`
5196
+
5197
+ </dd>
5198
+ </dl>
5199
+
5200
+ <dl>
5201
+ <dd>
5202
+
5203
+ **requestOptions:** `Conversations.RequestOptions`
5204
+
5205
+ </dd>
5206
+ </dl>
5207
+ </dd>
5208
+ </dl>
5209
+
5210
+ </dd>
5211
+ </dl>
5212
+ </details>
5213
+
5206
5214
  <details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">listV1</a>({ ...params }) -> Chrt.ChrtGptConversationListRes</code></summary>
5207
5215
  <dl>
5208
5216
  <dd>
@@ -5215,7 +5223,7 @@ await client.cargoOnFlightIntegrations.cargoai.searchV1("cargo_on_flight_booking
5215
5223
  <dl>
5216
5224
  <dd>
5217
5225
 
5218
- Lists the caller's ChrtGPT conversations, most recently active first by default. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | () -> (ChrtGPTConversationListRes)
5226
+ Lists the caller's ChrtGPT conversations, most recently active first by default, with optional search over summaries, titles, and order identifiers. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | () -> (ChrtGPTConversationListRes)
5219
5227
 
5220
5228
  </dd>
5221
5229
  </dl>
@@ -5236,6 +5244,7 @@ await client.chrtGpt.conversations.listV1({
5236
5244
  sort_order: "asc",
5237
5245
  page: 1,
5238
5246
  page_size: 1,
5247
+ search: "search",
5239
5248
  });
5240
5249
  ```
5241
5250
 
@@ -5271,6 +5280,79 @@ await client.chrtGpt.conversations.listV1({
5271
5280
  </dl>
5272
5281
  </details>
5273
5282
 
5283
+ <details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">updateTitleV1</a>(conversationId, { ...params }) -> Chrt.ChrtGptConversation1</code></summary>
5284
+ <dl>
5285
+ <dd>
5286
+
5287
+ #### 📝 Description
5288
+
5289
+ <dl>
5290
+ <dd>
5291
+
5292
+ <dl>
5293
+ <dd>
5294
+
5295
+ Renames one of the caller's ChrtGPT conversations; ChrtGPT never retitles it after that. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTConversationsUpdateTitleReq) -> (ChrtGPTConversation1)
5296
+
5297
+ </dd>
5298
+ </dl>
5299
+ </dd>
5300
+ </dl>
5301
+
5302
+ #### 🔌 Usage
5303
+
5304
+ <dl>
5305
+ <dd>
5306
+
5307
+ <dl>
5308
+ <dd>
5309
+
5310
+ ```typescript
5311
+ await client.chrtGpt.conversations.updateTitleV1("conversation_id", {
5312
+ title: "title",
5313
+ });
5314
+ ```
5315
+
5316
+ </dd>
5317
+ </dl>
5318
+ </dd>
5319
+ </dl>
5320
+
5321
+ #### ⚙️ Parameters
5322
+
5323
+ <dl>
5324
+ <dd>
5325
+
5326
+ <dl>
5327
+ <dd>
5328
+
5329
+ **conversationId:** `string`
5330
+
5331
+ </dd>
5332
+ </dl>
5333
+
5334
+ <dl>
5335
+ <dd>
5336
+
5337
+ **request:** `Chrt.chrtGpt.ChrtGptConversationsUpdateTitleReq`
5338
+
5339
+ </dd>
5340
+ </dl>
5341
+
5342
+ <dl>
5343
+ <dd>
5344
+
5345
+ **requestOptions:** `Conversations.RequestOptions`
5346
+
5347
+ </dd>
5348
+ </dl>
5349
+ </dd>
5350
+ </dl>
5351
+
5352
+ </dd>
5353
+ </dl>
5354
+ </details>
5355
+
5274
5356
  <details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">getV1</a>(conversationId) -> Chrt.ChrtGptConversationRes</code></summary>
5275
5357
  <dl>
5276
5358
  <dd>
@@ -5334,6 +5416,73 @@ await client.chrtGpt.conversations.getV1("conversation_id");
5334
5416
  </dl>
5335
5417
  </details>
5336
5418
 
5419
+ ## ChrtGpt Voice
5420
+
5421
+ <details><summary><code>client.chrtGpt.voice.<a href="/src/api/resources/chrtGpt/resources/voice/client/Client.ts">startV1</a>({ ...params }) -> Chrt.ChrtGptVoiceStartRes</code></summary>
5422
+ <dl>
5423
+ <dd>
5424
+
5425
+ #### 📝 Description
5426
+
5427
+ <dl>
5428
+ <dd>
5429
+
5430
+ <dl>
5431
+ <dd>
5432
+
5433
+ Creates a LiveKit room with a ChrtGPT voice agent acting as the caller, using the chosen delegation, and returns a token to join it. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (ChrtGPTVoiceStartReq) -> (ChrtGPTVoiceStartRes)
5434
+
5435
+ </dd>
5436
+ </dl>
5437
+ </dd>
5438
+ </dl>
5439
+
5440
+ #### 🔌 Usage
5441
+
5442
+ <dl>
5443
+ <dd>
5444
+
5445
+ <dl>
5446
+ <dd>
5447
+
5448
+ ```typescript
5449
+ await client.chrtGpt.voice.startV1({
5450
+ delegation: "responses",
5451
+ });
5452
+ ```
5453
+
5454
+ </dd>
5455
+ </dl>
5456
+ </dd>
5457
+ </dl>
5458
+
5459
+ #### ⚙️ Parameters
5460
+
5461
+ <dl>
5462
+ <dd>
5463
+
5464
+ <dl>
5465
+ <dd>
5466
+
5467
+ **request:** `Chrt.chrtGpt.ChrtGptVoiceStartReq`
5468
+
5469
+ </dd>
5470
+ </dl>
5471
+
5472
+ <dl>
5473
+ <dd>
5474
+
5475
+ **requestOptions:** `Voice.RequestOptions`
5476
+
5477
+ </dd>
5478
+ </dl>
5479
+ </dd>
5480
+ </dl>
5481
+
5482
+ </dd>
5483
+ </dl>
5484
+ </details>
5485
+
5337
5486
  ## Integrations AirWaybills
5338
5487
 
5339
5488
  <details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">confirmationsV1</a>(taskGroupId) -> Chrt.ChampConfirmationReceipt1[]</code></summary>
@@ -8765,6 +8914,63 @@ await client.listing.orgBiddingGroups.updateNameV1("group_id", {
8765
8914
  </dl>
8766
8915
  </details>
8767
8916
 
8917
+ ## Livekit HelloWorld
8918
+
8919
+ <details><summary><code>client.livekit.helloWorld.<a href="/src/api/resources/livekit/resources/helloWorld/client/Client.ts">startV1</a>() -> Chrt.LiveKitHelloWorldStartRes</code></summary>
8920
+ <dl>
8921
+ <dd>
8922
+
8923
+ #### 📝 Description
8924
+
8925
+ <dl>
8926
+ <dd>
8927
+
8928
+ <dl>
8929
+ <dd>
8930
+
8931
+ Creates a LiveKit room token that also dispatches the hello-world voice agent into the room. | () -> (LiveKitHelloWorldStartRes)
8932
+
8933
+ </dd>
8934
+ </dl>
8935
+ </dd>
8936
+ </dl>
8937
+
8938
+ #### 🔌 Usage
8939
+
8940
+ <dl>
8941
+ <dd>
8942
+
8943
+ <dl>
8944
+ <dd>
8945
+
8946
+ ```typescript
8947
+ await client.livekit.helloWorld.startV1();
8948
+ ```
8949
+
8950
+ </dd>
8951
+ </dl>
8952
+ </dd>
8953
+ </dl>
8954
+
8955
+ #### ⚙️ Parameters
8956
+
8957
+ <dl>
8958
+ <dd>
8959
+
8960
+ <dl>
8961
+ <dd>
8962
+
8963
+ **requestOptions:** `HelloWorld.RequestOptions`
8964
+
8965
+ </dd>
8966
+ </dl>
8967
+ </dd>
8968
+ </dl>
8969
+
8970
+ </dd>
8971
+ </dl>
8972
+ </details>
8973
+
8768
8974
  ## Notifications AdHoc
8769
8975
 
8770
8976
  <details><summary><code>client.notifications.adHoc.<a href="/src/api/resources/notifications/resources/adHoc/client/Client.ts">createV1</a>(orderId, { ...params }) -> string</code></summary>
@@ -1,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments.js";
5
- import * as core from "../../../../core/index.js";
6
- import { Livekit } from "../resources/livekit/client/Client.js";
7
- export declare namespace Agent {
8
- interface Options {
9
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<core.BearerToken | undefined>;
13
- /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
- fetcher?: core.FetchFunction;
16
- }
17
- }
18
- export declare class Agent {
19
- protected readonly _options: Agent.Options;
20
- protected _livekit: Livekit | undefined;
21
- constructor(_options?: Agent.Options);
22
- get livekit(): Livekit;
23
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Agent = void 0;
7
- const Client_js_1 = require("../resources/livekit/client/Client.js");
8
- class Agent {
9
- constructor(_options = {}) {
10
- this._options = _options;
11
- }
12
- get livekit() {
13
- var _a;
14
- return ((_a = this._livekit) !== null && _a !== void 0 ? _a : (this._livekit = new Client_js_1.Livekit(this._options)));
15
- }
16
- }
17
- exports.Agent = Agent;
@@ -1 +0,0 @@
1
- export * as livekit from "./livekit/index.js";
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.livekit = void 0;
37
- exports.livekit = __importStar(require("./livekit/index.js"));
@@ -1,2 +0,0 @@
1
- export * from "./client/index.js";
2
- export * from "./resources/index.js";
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Sent once, on a new conversation's first turn, right before completed or error.
6
- */
7
- export interface ChrtGptTitleEvent {
8
- conversation_id: string;
9
- /** The conversation's saved title. */
10
- title: string;
11
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../environments.mjs";
5
- import * as core from "../../../../core/index.mjs";
6
- import { Livekit } from "../resources/livekit/client/Client.mjs";
7
- export declare namespace Agent {
8
- interface Options {
9
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<core.BearerToken | undefined>;
13
- /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
- fetcher?: core.FetchFunction;
16
- }
17
- }
18
- export declare class Agent {
19
- protected readonly _options: Agent.Options;
20
- protected _livekit: Livekit | undefined;
21
- constructor(_options?: Agent.Options);
22
- get livekit(): Livekit;
23
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import { Livekit } from "../resources/livekit/client/Client.mjs";
5
- export class Agent {
6
- constructor(_options = {}) {
7
- this._options = _options;
8
- }
9
- get livekit() {
10
- var _a;
11
- return ((_a = this._livekit) !== null && _a !== void 0 ? _a : (this._livekit = new Livekit(this._options)));
12
- }
13
- }
@@ -1 +0,0 @@
1
- export * as livekit from "./livekit/index.mjs";
@@ -1 +0,0 @@
1
- export * as livekit from "./livekit/index.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./client/index.mjs";
2
- export * from "./resources/index.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./client/index.mjs";
2
- export * from "./resources/index.mjs";
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Sent once, on a new conversation's first turn, right before completed or error.
6
- */
7
- export interface ChrtGptTitleEvent {
8
- conversation_id: string;
9
- /** The conversation's saved title. */
10
- title: string;
11
- }