@chrt-inc/typescript-sdk 1.1025.0 → 1.1027.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/README.md +12 -9
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/chrtGpt/client/Client.d.ts +6 -13
- package/dist/cjs/api/resources/chrtGpt/client/Client.js +24 -17
- package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptReq.d.ts +38 -0
- package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptReq.js +19 -0
- package/dist/cjs/api/resources/chrtGpt/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/chrtGpt/index.d.ts +1 -0
- package/dist/cjs/api/resources/chrtGpt/index.js +1 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.d.ts +96 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.js +337 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/index.js +17 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.d.ts +13 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.d.ts +12 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.ts +21 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.js +5 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/index.d.ts +1 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/index.js +17 -0
- package/dist/cjs/api/resources/chrtGpt/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/chrtGpt/resources/index.js +41 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +1 -0
- package/dist/cjs/api/types/ChrtGptAssistantMessageItem.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGptAssistantMessageItem.js +5 -0
- package/dist/cjs/api/types/ChrtGptCompletedEvent.d.ts +15 -0
- package/dist/cjs/api/types/ChrtGptCompletedEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptConversation1.d.ts +22 -0
- package/dist/cjs/api/types/ChrtGptConversation1.js +5 -0
- package/dist/cjs/api/types/ChrtGptConversationListRes.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGptConversationListRes.js +5 -0
- package/dist/cjs/api/types/ChrtGptConversationRes.d.ts +11 -0
- package/dist/cjs/api/types/ChrtGptConversationRes.js +5 -0
- package/dist/cjs/api/types/ChrtGptConversationSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGptConversationSortByEnum.js +10 -0
- package/dist/cjs/api/types/ChrtGptConversationTitleSourceEnum1.d.ts +9 -0
- package/dist/cjs/api/types/ChrtGptConversationTitleSourceEnum1.js +11 -0
- package/dist/cjs/api/types/ChrtGptConversationsDeleteManyRes.d.ts +7 -0
- package/dist/cjs/api/types/ChrtGptConversationsDeleteManyRes.js +5 -0
- package/dist/cjs/api/types/ChrtGptErrorEvent.d.ts +9 -0
- package/dist/cjs/api/types/ChrtGptErrorEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptEvent.d.ts +28 -0
- package/dist/cjs/api/types/ChrtGptEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptHistoryItem.d.ts +22 -0
- package/dist/cjs/api/types/ChrtGptHistoryItem.js +5 -0
- package/dist/{esm/api/types/ChrtGptMessageRes.d.mts → cjs/api/types/ChrtGptStartedEvent.d.ts} +4 -2
- package/dist/cjs/api/types/ChrtGptStartedEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptTextDeltaEvent.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGptTextDeltaEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptToolCalledEvent.d.ts +12 -0
- package/dist/cjs/api/types/ChrtGptToolCalledEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptToolOutputEvent.d.ts +9 -0
- package/dist/cjs/api/types/ChrtGptToolOutputEvent.js +5 -0
- package/dist/cjs/api/types/ChrtGptUserMessageItem.d.ts +6 -0
- package/dist/cjs/api/types/ChrtGptUserMessageItem.js +5 -0
- package/dist/cjs/api/types/ChrtGptWebSearchEvent.d.ts +18 -0
- package/dist/cjs/api/types/ChrtGptWebSearchEvent.js +5 -0
- package/dist/cjs/api/types/index.d.ts +17 -1
- package/dist/cjs/api/types/index.js +17 -1
- package/dist/cjs/core/index.d.ts +1 -0
- package/dist/cjs/core/index.js +1 -0
- package/dist/cjs/core/stream/Stream.d.ts +46 -0
- package/dist/cjs/core/stream/Stream.js +169 -0
- package/dist/cjs/core/stream/index.d.ts +1 -0
- package/dist/cjs/core/stream/index.js +5 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/chrtGpt/client/Client.d.mts +6 -13
- package/dist/esm/api/resources/chrtGpt/client/Client.mjs +24 -17
- package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptReq.d.mts +38 -0
- package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptReq.mjs +16 -0
- package/dist/esm/api/resources/chrtGpt/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/chrtGpt/index.d.mts +1 -0
- package/dist/esm/api/resources/chrtGpt/index.mjs +1 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.d.mts +96 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.mjs +300 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/index.d.mts +2 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/index.mjs +1 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.d.mts +13 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.d.mts +12 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.mts +21 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/index.d.mts +1 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/index.mjs +1 -0
- 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/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +1 -0
- package/dist/esm/api/types/ChrtGptAssistantMessageItem.d.mts +8 -0
- package/dist/esm/api/types/ChrtGptAssistantMessageItem.mjs +4 -0
- package/dist/esm/api/types/ChrtGptCompletedEvent.d.mts +15 -0
- package/dist/esm/api/types/ChrtGptCompletedEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptConversation1.d.mts +22 -0
- package/dist/esm/api/types/ChrtGptConversation1.mjs +4 -0
- package/dist/esm/api/types/ChrtGptConversationListRes.d.mts +8 -0
- package/dist/esm/api/types/ChrtGptConversationListRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGptConversationRes.d.mts +11 -0
- package/dist/esm/api/types/ChrtGptConversationRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGptConversationSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/ChrtGptConversationSortByEnum.mjs +7 -0
- package/dist/esm/api/types/ChrtGptConversationTitleSourceEnum1.d.mts +9 -0
- package/dist/esm/api/types/ChrtGptConversationTitleSourceEnum1.mjs +8 -0
- package/dist/esm/api/types/ChrtGptConversationsDeleteManyRes.d.mts +7 -0
- package/dist/esm/api/types/ChrtGptConversationsDeleteManyRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGptErrorEvent.d.mts +9 -0
- package/dist/esm/api/types/ChrtGptErrorEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptEvent.d.mts +28 -0
- package/dist/esm/api/types/ChrtGptEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptHistoryItem.d.mts +22 -0
- package/dist/esm/api/types/ChrtGptHistoryItem.mjs +4 -0
- package/dist/{cjs/api/types/ChrtGptMessageRes.d.ts → esm/api/types/ChrtGptStartedEvent.d.mts} +4 -2
- package/dist/esm/api/types/ChrtGptStartedEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptTextDeltaEvent.d.mts +8 -0
- package/dist/esm/api/types/ChrtGptTextDeltaEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptToolCalledEvent.d.mts +12 -0
- package/dist/esm/api/types/ChrtGptToolCalledEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptToolOutputEvent.d.mts +9 -0
- package/dist/esm/api/types/ChrtGptToolOutputEvent.mjs +4 -0
- package/dist/esm/api/types/ChrtGptUserMessageItem.d.mts +6 -0
- package/dist/esm/api/types/ChrtGptUserMessageItem.mjs +4 -0
- package/dist/esm/api/types/ChrtGptWebSearchEvent.d.mts +18 -0
- package/dist/esm/api/types/ChrtGptWebSearchEvent.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +17 -1
- package/dist/esm/api/types/index.mjs +17 -1
- package/dist/esm/core/index.d.mts +1 -0
- package/dist/esm/core/index.mjs +1 -0
- package/dist/esm/core/stream/Stream.d.mts +46 -0
- package/dist/esm/core/stream/Stream.mjs +164 -0
- package/dist/esm/core/stream/index.d.mts +1 -0
- package/dist/esm/core/stream/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +279 -4
- package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptMessageReq.d.ts +0 -14
- package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptMessageReq.d.mts +0 -14
- /package/dist/cjs/api/resources/chrtGpt/{client/requests/ChrtGptMessageReq.js → resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.js} +0 -0
- /package/dist/cjs/api/{types/ChrtGptMessageRes.js → resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.js} +0 -0
- /package/dist/esm/api/resources/chrtGpt/{client/requests/ChrtGptMessageReq.mjs → resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.mjs} +0 -0
- /package/dist/esm/api/{types/ChrtGptMessageRes.mjs → resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsUpdateTitleReq.mjs} +0 -0
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## ChrtGpt
|
|
4
4
|
|
|
5
|
-
<details><summary><code>client.chrtGpt.<a href="/src/api/resources/chrtGpt/client/Client.ts">
|
|
5
|
+
<details><summary><code>client.chrtGpt.<a href="/src/api/resources/chrtGpt/client/Client.ts">postV1</a>({ ...params }) -> core.Stream<Chrt.ChrtGptEvent></code></summary>
|
|
6
6
|
<dl>
|
|
7
7
|
<dd>
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<dl>
|
|
15
15
|
<dd>
|
|
16
16
|
|
|
17
|
-
Sends a message to ChrtGPT and
|
|
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>
|
|
@@ -30,9 +30,12 @@ Sends a message to ChrtGPT and returns its reply, starting a new conversation wh
|
|
|
30
30
|
<dd>
|
|
31
31
|
|
|
32
32
|
```typescript
|
|
33
|
-
await client.chrtGpt.
|
|
33
|
+
const response = await client.chrtGpt.postV1({
|
|
34
34
|
message: "message",
|
|
35
35
|
});
|
|
36
|
+
for await (const item of response) {
|
|
37
|
+
console.log(item);
|
|
38
|
+
}
|
|
36
39
|
```
|
|
37
40
|
|
|
38
41
|
</dd>
|
|
@@ -48,7 +51,7 @@ await client.chrtGpt.messageV1({
|
|
|
48
51
|
<dl>
|
|
49
52
|
<dd>
|
|
50
53
|
|
|
51
|
-
**request:** `Chrt.
|
|
54
|
+
**request:** `Chrt.ChrtGptReq`
|
|
52
55
|
|
|
53
56
|
</dd>
|
|
54
57
|
</dl>
|
|
@@ -5198,6 +5201,277 @@ await client.cargoOnFlightIntegrations.cargoai.searchV1("cargo_on_flight_booking
|
|
|
5198
5201
|
</dl>
|
|
5199
5202
|
</details>
|
|
5200
5203
|
|
|
5204
|
+
## ChrtGpt Conversations
|
|
5205
|
+
|
|
5206
|
+
<details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">deleteManyV1</a>({ ...params }) -> Chrt.ChrtGptConversationsDeleteManyRes</code></summary>
|
|
5207
|
+
<dl>
|
|
5208
|
+
<dd>
|
|
5209
|
+
|
|
5210
|
+
#### 📝 Description
|
|
5211
|
+
|
|
5212
|
+
<dl>
|
|
5213
|
+
<dd>
|
|
5214
|
+
|
|
5215
|
+
<dl>
|
|
5216
|
+
<dd>
|
|
5217
|
+
|
|
5218
|
+
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)
|
|
5219
|
+
|
|
5220
|
+
</dd>
|
|
5221
|
+
</dl>
|
|
5222
|
+
</dd>
|
|
5223
|
+
</dl>
|
|
5224
|
+
|
|
5225
|
+
#### 🔌 Usage
|
|
5226
|
+
|
|
5227
|
+
<dl>
|
|
5228
|
+
<dd>
|
|
5229
|
+
|
|
5230
|
+
<dl>
|
|
5231
|
+
<dd>
|
|
5232
|
+
|
|
5233
|
+
```typescript
|
|
5234
|
+
await client.chrtGpt.conversations.deleteManyV1({
|
|
5235
|
+
conversation_ids: ["conversation_ids"],
|
|
5236
|
+
});
|
|
5237
|
+
```
|
|
5238
|
+
|
|
5239
|
+
</dd>
|
|
5240
|
+
</dl>
|
|
5241
|
+
</dd>
|
|
5242
|
+
</dl>
|
|
5243
|
+
|
|
5244
|
+
#### ⚙️ Parameters
|
|
5245
|
+
|
|
5246
|
+
<dl>
|
|
5247
|
+
<dd>
|
|
5248
|
+
|
|
5249
|
+
<dl>
|
|
5250
|
+
<dd>
|
|
5251
|
+
|
|
5252
|
+
**request:** `Chrt.chrtGpt.ChrtGptConversationsDeleteManyReq`
|
|
5253
|
+
|
|
5254
|
+
</dd>
|
|
5255
|
+
</dl>
|
|
5256
|
+
|
|
5257
|
+
<dl>
|
|
5258
|
+
<dd>
|
|
5259
|
+
|
|
5260
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
5261
|
+
|
|
5262
|
+
</dd>
|
|
5263
|
+
</dl>
|
|
5264
|
+
</dd>
|
|
5265
|
+
</dl>
|
|
5266
|
+
|
|
5267
|
+
</dd>
|
|
5268
|
+
</dl>
|
|
5269
|
+
</details>
|
|
5270
|
+
|
|
5271
|
+
<details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">listV1</a>({ ...params }) -> Chrt.ChrtGptConversationListRes</code></summary>
|
|
5272
|
+
<dl>
|
|
5273
|
+
<dd>
|
|
5274
|
+
|
|
5275
|
+
#### 📝 Description
|
|
5276
|
+
|
|
5277
|
+
<dl>
|
|
5278
|
+
<dd>
|
|
5279
|
+
|
|
5280
|
+
<dl>
|
|
5281
|
+
<dd>
|
|
5282
|
+
|
|
5283
|
+
Lists the caller's ChrtGPT conversations, most recently active first by default. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | () -> (ChrtGPTConversationListRes)
|
|
5284
|
+
|
|
5285
|
+
</dd>
|
|
5286
|
+
</dl>
|
|
5287
|
+
</dd>
|
|
5288
|
+
</dl>
|
|
5289
|
+
|
|
5290
|
+
#### 🔌 Usage
|
|
5291
|
+
|
|
5292
|
+
<dl>
|
|
5293
|
+
<dd>
|
|
5294
|
+
|
|
5295
|
+
<dl>
|
|
5296
|
+
<dd>
|
|
5297
|
+
|
|
5298
|
+
```typescript
|
|
5299
|
+
await client.chrtGpt.conversations.listV1({
|
|
5300
|
+
sort_by: "updated_at",
|
|
5301
|
+
sort_order: "asc",
|
|
5302
|
+
page: 1,
|
|
5303
|
+
page_size: 1,
|
|
5304
|
+
});
|
|
5305
|
+
```
|
|
5306
|
+
|
|
5307
|
+
</dd>
|
|
5308
|
+
</dl>
|
|
5309
|
+
</dd>
|
|
5310
|
+
</dl>
|
|
5311
|
+
|
|
5312
|
+
#### ⚙️ Parameters
|
|
5313
|
+
|
|
5314
|
+
<dl>
|
|
5315
|
+
<dd>
|
|
5316
|
+
|
|
5317
|
+
<dl>
|
|
5318
|
+
<dd>
|
|
5319
|
+
|
|
5320
|
+
**request:** `Chrt.chrtGpt.ConversationsListV1Request`
|
|
5321
|
+
|
|
5322
|
+
</dd>
|
|
5323
|
+
</dl>
|
|
5324
|
+
|
|
5325
|
+
<dl>
|
|
5326
|
+
<dd>
|
|
5327
|
+
|
|
5328
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
5329
|
+
|
|
5330
|
+
</dd>
|
|
5331
|
+
</dl>
|
|
5332
|
+
</dd>
|
|
5333
|
+
</dl>
|
|
5334
|
+
|
|
5335
|
+
</dd>
|
|
5336
|
+
</dl>
|
|
5337
|
+
</details>
|
|
5338
|
+
|
|
5339
|
+
<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>
|
|
5340
|
+
<dl>
|
|
5341
|
+
<dd>
|
|
5342
|
+
|
|
5343
|
+
#### 📝 Description
|
|
5344
|
+
|
|
5345
|
+
<dl>
|
|
5346
|
+
<dd>
|
|
5347
|
+
|
|
5348
|
+
<dl>
|
|
5349
|
+
<dd>
|
|
5350
|
+
|
|
5351
|
+
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)
|
|
5352
|
+
|
|
5353
|
+
</dd>
|
|
5354
|
+
</dl>
|
|
5355
|
+
</dd>
|
|
5356
|
+
</dl>
|
|
5357
|
+
|
|
5358
|
+
#### 🔌 Usage
|
|
5359
|
+
|
|
5360
|
+
<dl>
|
|
5361
|
+
<dd>
|
|
5362
|
+
|
|
5363
|
+
<dl>
|
|
5364
|
+
<dd>
|
|
5365
|
+
|
|
5366
|
+
```typescript
|
|
5367
|
+
await client.chrtGpt.conversations.updateTitleV1("conversation_id", {
|
|
5368
|
+
title: "title",
|
|
5369
|
+
});
|
|
5370
|
+
```
|
|
5371
|
+
|
|
5372
|
+
</dd>
|
|
5373
|
+
</dl>
|
|
5374
|
+
</dd>
|
|
5375
|
+
</dl>
|
|
5376
|
+
|
|
5377
|
+
#### ⚙️ Parameters
|
|
5378
|
+
|
|
5379
|
+
<dl>
|
|
5380
|
+
<dd>
|
|
5381
|
+
|
|
5382
|
+
<dl>
|
|
5383
|
+
<dd>
|
|
5384
|
+
|
|
5385
|
+
**conversationId:** `string`
|
|
5386
|
+
|
|
5387
|
+
</dd>
|
|
5388
|
+
</dl>
|
|
5389
|
+
|
|
5390
|
+
<dl>
|
|
5391
|
+
<dd>
|
|
5392
|
+
|
|
5393
|
+
**request:** `Chrt.chrtGpt.ChrtGptConversationsUpdateTitleReq`
|
|
5394
|
+
|
|
5395
|
+
</dd>
|
|
5396
|
+
</dl>
|
|
5397
|
+
|
|
5398
|
+
<dl>
|
|
5399
|
+
<dd>
|
|
5400
|
+
|
|
5401
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
5402
|
+
|
|
5403
|
+
</dd>
|
|
5404
|
+
</dl>
|
|
5405
|
+
</dd>
|
|
5406
|
+
</dl>
|
|
5407
|
+
|
|
5408
|
+
</dd>
|
|
5409
|
+
</dl>
|
|
5410
|
+
</details>
|
|
5411
|
+
|
|
5412
|
+
<details><summary><code>client.chrtGpt.conversations.<a href="/src/api/resources/chrtGpt/resources/conversations/client/Client.ts">getV1</a>(conversationId) -> Chrt.ChrtGptConversationRes</code></summary>
|
|
5413
|
+
<dl>
|
|
5414
|
+
<dd>
|
|
5415
|
+
|
|
5416
|
+
#### 📝 Description
|
|
5417
|
+
|
|
5418
|
+
<dl>
|
|
5419
|
+
<dd>
|
|
5420
|
+
|
|
5421
|
+
<dl>
|
|
5422
|
+
<dd>
|
|
5423
|
+
|
|
5424
|
+
Gets one of the caller's ChrtGPT conversations with its history of messages, tool calls, and web searches. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | () -> (ChrtGPTConversationRes)
|
|
5425
|
+
|
|
5426
|
+
</dd>
|
|
5427
|
+
</dl>
|
|
5428
|
+
</dd>
|
|
5429
|
+
</dl>
|
|
5430
|
+
|
|
5431
|
+
#### 🔌 Usage
|
|
5432
|
+
|
|
5433
|
+
<dl>
|
|
5434
|
+
<dd>
|
|
5435
|
+
|
|
5436
|
+
<dl>
|
|
5437
|
+
<dd>
|
|
5438
|
+
|
|
5439
|
+
```typescript
|
|
5440
|
+
await client.chrtGpt.conversations.getV1("conversation_id");
|
|
5441
|
+
```
|
|
5442
|
+
|
|
5443
|
+
</dd>
|
|
5444
|
+
</dl>
|
|
5445
|
+
</dd>
|
|
5446
|
+
</dl>
|
|
5447
|
+
|
|
5448
|
+
#### ⚙️ Parameters
|
|
5449
|
+
|
|
5450
|
+
<dl>
|
|
5451
|
+
<dd>
|
|
5452
|
+
|
|
5453
|
+
<dl>
|
|
5454
|
+
<dd>
|
|
5455
|
+
|
|
5456
|
+
**conversationId:** `string`
|
|
5457
|
+
|
|
5458
|
+
</dd>
|
|
5459
|
+
</dl>
|
|
5460
|
+
|
|
5461
|
+
<dl>
|
|
5462
|
+
<dd>
|
|
5463
|
+
|
|
5464
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
5465
|
+
|
|
5466
|
+
</dd>
|
|
5467
|
+
</dl>
|
|
5468
|
+
</dd>
|
|
5469
|
+
</dl>
|
|
5470
|
+
|
|
5471
|
+
</dd>
|
|
5472
|
+
</dl>
|
|
5473
|
+
</details>
|
|
5474
|
+
|
|
5201
5475
|
## Integrations AirWaybills
|
|
5202
5476
|
|
|
5203
5477
|
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">confirmationsV1</a>(taskGroupId) -> Chrt.ChampConfirmationReceipt1[]</code></summary>
|
|
@@ -27119,6 +27393,7 @@ await client.shipping.taskArtifacts.s3Object.writeAiImageDescriptionV1("task_art
|
|
|
27119
27393
|
location_identifiers: ["location_identifiers"],
|
|
27120
27394
|
model: "gpt-6-astra",
|
|
27121
27395
|
package_appearance: "package_appearance",
|
|
27396
|
+
package_count: undefined,
|
|
27122
27397
|
package_types: ["package_types"],
|
|
27123
27398
|
proof_notes: ["proof_notes"],
|
|
27124
27399
|
readable_package_text: ["readable_package_text"],
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* message: "message"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface ChrtGptMessageReq {
|
|
11
|
-
/** Omit to start a new conversation. */
|
|
12
|
-
conversation_id?: string | null;
|
|
13
|
-
message: string;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* message: "message"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface ChrtGptMessageReq {
|
|
11
|
-
/** Omit to start a new conversation. */
|
|
12
|
-
conversation_id?: string | null;
|
|
13
|
-
message: string;
|
|
14
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|