@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.
Files changed (111) 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 +3 -0
  4. package/dist/cjs/api/resources/chrtGpt/client/Client.js +5 -0
  5. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.d.ts +3 -2
  6. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.js +7 -3
  7. package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.ts +4 -1
  8. package/dist/cjs/api/resources/chrtGpt/resources/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/chrtGpt/resources/index.js +3 -1
  10. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/Client.d.ts +49 -0
  11. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/Client.js +132 -0
  12. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/index.d.ts +2 -0
  13. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/index.js +17 -0
  14. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.ts +13 -0
  15. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.js +5 -0
  16. package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/index.d.ts +1 -1
  18. package/dist/cjs/api/resources/index.js +2 -2
  19. package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/Client.d.ts +2 -2
  20. package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.d.ts +4 -4
  21. package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.js +7 -7
  22. package/dist/cjs/api/resources/livekit/resources/helloWorld/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/index.js +0 -1
  24. package/dist/cjs/api/types/Caller.d.ts +1 -0
  25. package/dist/cjs/api/types/ChrtGptVoiceDelegationEnum.d.ts +11 -0
  26. package/dist/cjs/api/types/ChrtGptVoiceDelegationEnum.js +10 -0
  27. package/dist/cjs/api/types/ChrtGptVoiceReq.d.ts +11 -0
  28. package/dist/cjs/api/types/ChrtGptVoiceReq.js +5 -0
  29. package/dist/cjs/api/types/ChrtGptVoiceStartRes.d.ts +9 -0
  30. package/dist/cjs/api/types/ChrtGptVoiceStartRes.js +5 -0
  31. package/dist/cjs/api/types/InternalDelegationOriginEnum.d.ts +8 -0
  32. package/dist/cjs/api/types/InternalDelegationOriginEnum.js +10 -0
  33. package/dist/cjs/api/types/index.d.ts +4 -0
  34. package/dist/cjs/api/types/index.js +4 -0
  35. package/dist/cjs/version.d.ts +1 -1
  36. package/dist/cjs/version.js +1 -1
  37. package/dist/esm/Client.d.mts +3 -3
  38. package/dist/esm/Client.mjs +7 -7
  39. package/dist/esm/api/resources/chrtGpt/client/Client.d.mts +3 -0
  40. package/dist/esm/api/resources/chrtGpt/client/Client.mjs +5 -0
  41. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.d.mts +3 -2
  42. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.mjs +7 -3
  43. package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.mts +4 -1
  44. package/dist/esm/api/resources/chrtGpt/resources/index.d.mts +2 -0
  45. package/dist/esm/api/resources/chrtGpt/resources/index.mjs +2 -0
  46. package/dist/esm/api/resources/chrtGpt/resources/voice/client/Client.d.mts +49 -0
  47. package/dist/esm/api/resources/chrtGpt/resources/voice/client/Client.mjs +95 -0
  48. package/dist/esm/api/resources/chrtGpt/resources/voice/client/index.d.mts +2 -0
  49. package/dist/esm/api/resources/chrtGpt/resources/voice/client/index.mjs +1 -0
  50. package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.mts +13 -0
  51. package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.mjs +4 -0
  52. package/dist/esm/api/resources/chrtGpt/resources/voice/client/requests/index.d.mts +1 -0
  53. package/dist/esm/api/resources/index.d.mts +1 -1
  54. package/dist/esm/api/resources/index.mjs +1 -1
  55. package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/Client.d.mts +2 -2
  56. package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.d.mts +4 -4
  57. package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/Client.mjs +7 -7
  58. package/dist/esm/api/resources/livekit/resources/helloWorld/index.d.mts +1 -0
  59. package/dist/esm/api/resources/livekit/resources/helloWorld/index.mjs +1 -0
  60. package/dist/esm/api/types/Caller.d.mts +1 -0
  61. package/dist/esm/api/types/ChrtGptVoiceDelegationEnum.d.mts +11 -0
  62. package/dist/esm/api/types/ChrtGptVoiceDelegationEnum.mjs +7 -0
  63. package/dist/esm/api/types/ChrtGptVoiceReq.d.mts +11 -0
  64. package/dist/esm/api/types/ChrtGptVoiceReq.mjs +4 -0
  65. package/dist/esm/api/types/ChrtGptVoiceStartRes.d.mts +9 -0
  66. package/dist/esm/api/types/ChrtGptVoiceStartRes.mjs +4 -0
  67. package/dist/esm/api/types/InternalDelegationOriginEnum.d.mts +8 -0
  68. package/dist/esm/api/types/InternalDelegationOriginEnum.mjs +7 -0
  69. package/dist/esm/api/types/index.d.mts +4 -0
  70. package/dist/esm/api/types/index.mjs +4 -0
  71. package/dist/esm/version.d.mts +1 -1
  72. package/dist/esm/version.mjs +1 -1
  73. package/package.json +1 -1
  74. package/reference.md +126 -58
  75. package/dist/cjs/api/resources/agent/client/Client.d.ts +0 -23
  76. package/dist/cjs/api/resources/agent/client/Client.js +0 -17
  77. package/dist/cjs/api/resources/agent/resources/index.d.ts +0 -1
  78. package/dist/cjs/api/resources/agent/resources/index.js +0 -37
  79. package/dist/cjs/api/resources/agent/resources/livekit/index.d.ts +0 -2
  80. package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.ts +0 -1
  81. package/dist/esm/api/resources/agent/client/Client.d.mts +0 -23
  82. package/dist/esm/api/resources/agent/client/Client.mjs +0 -13
  83. package/dist/esm/api/resources/agent/resources/index.d.mts +0 -1
  84. package/dist/esm/api/resources/agent/resources/index.mjs +0 -1
  85. package/dist/esm/api/resources/agent/resources/livekit/index.d.mts +0 -2
  86. package/dist/esm/api/resources/agent/resources/livekit/index.mjs +0 -2
  87. package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.mts +0 -1
  88. /package/dist/cjs/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.js +0 -0
  89. /package/dist/cjs/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.d.ts +0 -0
  90. /package/dist/cjs/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.js +0 -0
  91. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/Client.js +0 -0
  92. /package/dist/cjs/api/resources/{agent → livekit}/client/index.d.ts +0 -0
  93. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/client/index.js +0 -0
  94. /package/dist/cjs/api/resources/{agent → livekit}/index.d.ts +0 -0
  95. /package/dist/cjs/api/resources/{agent → livekit}/index.js +0 -0
  96. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/client/index.d.ts +0 -0
  97. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/index.js +0 -0
  98. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/index.d.ts +0 -0
  99. /package/dist/cjs/api/resources/{agent/resources/livekit → livekit}/resources/index.js +0 -0
  100. /package/dist/esm/api/resources/{agent/client → chrtGpt/resources/voice/client/requests}/index.mjs +0 -0
  101. /package/dist/esm/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.d.mts +0 -0
  102. /package/dist/esm/api/resources/{agent/resources/livekit/resources/helloWorld → chrtGpt/resources/voice}/index.mjs +0 -0
  103. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/Client.mjs +0 -0
  104. /package/dist/esm/api/resources/{agent → livekit}/client/index.d.mts +0 -0
  105. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/client/index.mjs +0 -0
  106. /package/dist/esm/api/resources/{agent → livekit}/index.d.mts +0 -0
  107. /package/dist/esm/api/resources/{agent → livekit}/index.mjs +0 -0
  108. /package/dist/esm/api/resources/{agent/resources/livekit → livekit/resources/helloWorld}/client/index.d.mts +0 -0
  109. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/helloWorld/client/index.mjs +0 -0
  110. /package/dist/esm/api/resources/{agent/resources/livekit → livekit}/resources/index.d.mts +0 -0
  111. /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,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
+ };
@@ -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";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1027.0";
1
+ export declare const SDK_VERSION = "1.1035.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1027.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.1027.0",
3
+ "version": "1.1035.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
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"));
@@ -1,2 +0,0 @@
1
- export * from "./client/index.js";
2
- export * from "./resources/index.js";
@@ -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";