@chrt-inc/typescript-sdk 1.1027.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.
- package/dist/cjs/Client.d.ts +3 -3
- package/dist/cjs/Client.js +19 -19
- package/dist/cjs/api/resources/chrtGpt/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/chrtGpt/client/Client.js +5 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.js +7 -3
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/chrtGpt/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/chrtGpt/resources/index.js +3 -1
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/Client.js +132 -0
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/index.js +17 -0
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.ts +13 -0
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.js +5 -0
- package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/index.js +2 -2
- package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.js +7 -7
- package/dist/cjs/api/resources/livekit/resources/helloWorld/index.d.ts +1 -0
- package/dist/cjs/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/index.js +0 -1
- package/dist/cjs/api/types/Caller.d.ts +1 -0
- package/dist/cjs/api/types/ChrtGptVoiceDelegationEnum.d.ts +11 -0
- package/dist/cjs/api/types/ChrtGptVoiceDelegationEnum.js +10 -0
- package/dist/cjs/api/types/ChrtGptVoiceReq.d.ts +11 -0
- package/dist/cjs/api/types/ChrtGptVoiceReq.js +5 -0
- package/dist/cjs/api/types/ChrtGptVoiceStartRes.d.ts +9 -0
- package/dist/cjs/api/types/ChrtGptVoiceStartRes.js +5 -0
- package/dist/cjs/api/types/InternalDelegationOriginEnum.d.ts +8 -0
- package/dist/cjs/api/types/InternalDelegationOriginEnum.js +10 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -3
- package/dist/esm/Client.mjs +7 -7
- package/dist/esm/api/resources/chrtGpt/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/chrtGpt/client/Client.mjs +5 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.mjs +7 -3
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.mts +4 -1
- package/dist/esm/api/resources/chrtGpt/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/chrtGpt/resources/index.mjs +2 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/Client.mjs +95 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/index.d.mts +2 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/index.mjs +1 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.mts +13 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.mjs +4 -0
- package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/index.mjs +1 -1
- package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.mjs +7 -7
- package/dist/esm/api/resources/livekit/resources/helloWorld/index.d.mts +1 -0
- package/dist/esm/api/resources/livekit/resources/helloWorld/index.mjs +1 -0
- package/dist/esm/api/types/Caller.d.mts +1 -0
- package/dist/esm/api/types/ChrtGptVoiceDelegationEnum.d.mts +11 -0
- package/dist/esm/api/types/ChrtGptVoiceDelegationEnum.mjs +7 -0
- package/dist/esm/api/types/ChrtGptVoiceReq.d.mts +11 -0
- package/dist/esm/api/types/ChrtGptVoiceReq.mjs +4 -0
- package/dist/esm/api/types/ChrtGptVoiceStartRes.d.mts +9 -0
- package/dist/esm/api/types/ChrtGptVoiceStartRes.mjs +4 -0
- package/dist/esm/api/types/InternalDelegationOriginEnum.d.mts +8 -0
- package/dist/esm/api/types/InternalDelegationOriginEnum.mjs +7 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +126 -58
- package/dist/cjs/api/resources/agent/client/Client.d.ts +0 -23
- package/dist/cjs/api/resources/agent/client/Client.js +0 -17
- package/dist/cjs/api/resources/agent/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/agent/resources/index.js +0 -37
- package/dist/cjs/api/resources/agent/resources/livekit/index.d.ts +0 -2
- package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.ts +0 -1
- package/dist/esm/api/resources/agent/client/Client.d.mts +0 -23
- package/dist/esm/api/resources/agent/client/Client.mjs +0 -13
- package/dist/esm/api/resources/agent/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/agent/resources/index.mjs +0 -1
- package/dist/esm/api/resources/agent/resources/livekit/index.d.mts +0 -2
- package/dist/esm/api/resources/agent/resources/livekit/index.mjs +0 -2
- package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.mts +0 -1
- /package/dist/cjs/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.js +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/Client.js +0 -0
- /package/dist/cjs/api/resources/{agent → livekit}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{agent → livekit}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{agent → livekit}/index.js +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/index.js +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/index.js +0 -0
- /package/dist/esm/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/Client.mjs +0 -0
- /package/dist/esm/api/resources/{agent → livekit}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent → livekit}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{agent → livekit}/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/index.d.mts +0 -0
- /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/index.mjs +0 -0
|
@@ -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;
|
|
@@ -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,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,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
|
+
};
|
|
@@ -220,6 +220,9 @@ export * from "./ChrtGptTextDeltaEvent.mjs";
|
|
|
220
220
|
export * from "./ChrtGptToolCalledEvent.mjs";
|
|
221
221
|
export * from "./ChrtGptToolOutputEvent.mjs";
|
|
222
222
|
export * from "./ChrtGptUserMessageItem.mjs";
|
|
223
|
+
export * from "./ChrtGptVoiceDelegationEnum.mjs";
|
|
224
|
+
export * from "./ChrtGptVoiceReq.mjs";
|
|
225
|
+
export * from "./ChrtGptVoiceStartRes.mjs";
|
|
223
226
|
export * from "./ChrtGptWebSearchEvent.mjs";
|
|
224
227
|
export * from "./ChrtGroundProviderRates1.mjs";
|
|
225
228
|
export * from "./ChrtGroundProviderRatesListRes.mjs";
|
|
@@ -400,6 +403,7 @@ export * from "./IataCassOfficeListRes.mjs";
|
|
|
400
403
|
export * from "./IataCassOfficeSortByEnum.mjs";
|
|
401
404
|
export * from "./InternalDelegationJwtReq.mjs";
|
|
402
405
|
export * from "./InternalDelegationJwtRes.mjs";
|
|
406
|
+
export * from "./InternalDelegationOriginEnum.mjs";
|
|
403
407
|
export * from "./Invoice1.mjs";
|
|
404
408
|
export * from "./InvoiceClientCreate1.mjs";
|
|
405
409
|
export * from "./InvoiceCreateFromOrdersReq.mjs";
|
|
@@ -220,6 +220,9 @@ export * from "./ChrtGptTextDeltaEvent.mjs";
|
|
|
220
220
|
export * from "./ChrtGptToolCalledEvent.mjs";
|
|
221
221
|
export * from "./ChrtGptToolOutputEvent.mjs";
|
|
222
222
|
export * from "./ChrtGptUserMessageItem.mjs";
|
|
223
|
+
export * from "./ChrtGptVoiceDelegationEnum.mjs";
|
|
224
|
+
export * from "./ChrtGptVoiceReq.mjs";
|
|
225
|
+
export * from "./ChrtGptVoiceStartRes.mjs";
|
|
223
226
|
export * from "./ChrtGptWebSearchEvent.mjs";
|
|
224
227
|
export * from "./ChrtGroundProviderRates1.mjs";
|
|
225
228
|
export * from "./ChrtGroundProviderRatesListRes.mjs";
|
|
@@ -400,6 +403,7 @@ export * from "./IataCassOfficeListRes.mjs";
|
|
|
400
403
|
export * from "./IataCassOfficeSortByEnum.mjs";
|
|
401
404
|
export * from "./InternalDelegationJwtReq.mjs";
|
|
402
405
|
export * from "./InternalDelegationJwtRes.mjs";
|
|
406
|
+
export * from "./InternalDelegationOriginEnum.mjs";
|
|
403
407
|
export * from "./Invoice1.mjs";
|
|
404
408
|
export * from "./InvoiceClientCreate1.mjs";
|
|
405
409
|
export * from "./InvoiceCreateFromOrdersReq.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1035.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.1035.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -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>
|
|
@@ -5280,7 +5223,7 @@ await client.chrtGpt.conversations.deleteManyV1({
|
|
|
5280
5223
|
<dl>
|
|
5281
5224
|
<dd>
|
|
5282
5225
|
|
|
5283
|
-
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)
|
|
5284
5227
|
|
|
5285
5228
|
</dd>
|
|
5286
5229
|
</dl>
|
|
@@ -5301,6 +5244,7 @@ await client.chrtGpt.conversations.listV1({
|
|
|
5301
5244
|
sort_order: "asc",
|
|
5302
5245
|
page: 1,
|
|
5303
5246
|
page_size: 1,
|
|
5247
|
+
search: "search",
|
|
5304
5248
|
});
|
|
5305
5249
|
```
|
|
5306
5250
|
|
|
@@ -5472,6 +5416,73 @@ await client.chrtGpt.conversations.getV1("conversation_id");
|
|
|
5472
5416
|
</dl>
|
|
5473
5417
|
</details>
|
|
5474
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
|
+
|
|
5475
5486
|
## Integrations AirWaybills
|
|
5476
5487
|
|
|
5477
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>
|
|
@@ -8903,6 +8914,63 @@ await client.listing.orgBiddingGroups.updateNameV1("group_id", {
|
|
|
8903
8914
|
</dl>
|
|
8904
8915
|
</details>
|
|
8905
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
|
+
|
|
8906
8974
|
## Notifications AdHoc
|
|
8907
8975
|
|
|
8908
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"));
|
package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -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";
|
package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
/package/dist/cjs/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|