@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.
- 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 +4 -1
- package/dist/cjs/api/resources/chrtGpt/client/Client.js +6 -1
- package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptReq.d.ts +24 -0
- package/dist/cjs/api/resources/chrtGpt/client/requests/ChrtGptReq.js +14 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.d.ts +34 -2
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/Client.js +139 -3
- 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/ChrtGptConversationsUpdateTitleReq.js +5 -0
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/chrtGpt/resources/conversations/client/requests/index.d.ts +2 -0
- 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/ChrtGptCompletedEvent.d.ts +4 -0
- package/dist/cjs/api/types/ChrtGptConversation1.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGptConversationRes.d.ts +3 -1
- 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/ChrtGptEvent.d.ts +1 -4
- 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 +6 -1
- package/dist/cjs/api/types/index.js +6 -1
- 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 +4 -1
- package/dist/esm/api/resources/chrtGpt/client/Client.mjs +6 -1
- package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptReq.d.mts +24 -0
- package/dist/esm/api/resources/chrtGpt/client/requests/ChrtGptReq.mjs +13 -1
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.d.mts +34 -2
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/Client.mjs +139 -3
- 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/ChrtGptConversationsUpdateTitleReq.mjs +4 -0
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/ConversationsListV1Request.d.mts +4 -1
- package/dist/esm/api/resources/chrtGpt/resources/conversations/client/requests/index.d.mts +2 -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/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/ChrtGptCompletedEvent.d.mts +4 -0
- package/dist/esm/api/types/ChrtGptConversation1.d.mts +8 -0
- package/dist/esm/api/types/ChrtGptConversationRes.d.mts +3 -1
- 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/ChrtGptEvent.d.mts +1 -4
- 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 +6 -1
- package/dist/esm/api/types/index.mjs +6 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +265 -59
- 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/cjs/api/types/ChrtGptTitleEvent.d.ts +0 -11
- 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/esm/api/types/ChrtGptTitleEvent.d.mts +0 -11
- /package/dist/cjs/api/{types/ChrtGptTitleEvent.js → resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.js} +0 -0
- /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/{types/ChrtGptTitleEvent.mjs → resources/chrtGpt/resources/conversations/client/requests/ChrtGptConversationsDeleteManyReq.mjs} +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,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Voice = void 0;
|
|
49
|
+
const environments = __importStar(require("../../../../../../environments.js"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
51
|
+
const Chrt = __importStar(require("../../../../../index.js"));
|
|
52
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
53
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
54
|
+
class Voice {
|
|
55
|
+
constructor(_options = {}) {
|
|
56
|
+
this._options = _options;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 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)
|
|
60
|
+
*
|
|
61
|
+
* @param {Chrt.chrtGpt.ChrtGptVoiceStartReq} request
|
|
62
|
+
* @param {Voice.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.chrtGpt.voice.startV1({
|
|
68
|
+
* delegation: "responses"
|
|
69
|
+
* })
|
|
70
|
+
*/
|
|
71
|
+
startV1(request, requestOptions) {
|
|
72
|
+
return core.HttpResponsePromise.fromPromise(this.__startV1(request, requestOptions));
|
|
73
|
+
}
|
|
74
|
+
__startV1(request, requestOptions) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
var _a, _b, _c, _d;
|
|
77
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
78
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
79
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "chrt_gpt/voice/start/v1"),
|
|
80
|
+
method: "POST",
|
|
81
|
+
headers: _headers,
|
|
82
|
+
contentType: "application/json",
|
|
83
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
84
|
+
requestType: "json",
|
|
85
|
+
body: request,
|
|
86
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
87
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
88
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
89
|
+
});
|
|
90
|
+
if (_response.ok) {
|
|
91
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
92
|
+
}
|
|
93
|
+
if (_response.error.reason === "status-code") {
|
|
94
|
+
switch (_response.error.statusCode) {
|
|
95
|
+
case 422:
|
|
96
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
97
|
+
default:
|
|
98
|
+
throw new errors.ChrtError({
|
|
99
|
+
statusCode: _response.error.statusCode,
|
|
100
|
+
body: _response.error.body,
|
|
101
|
+
rawResponse: _response.rawResponse,
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
switch (_response.error.reason) {
|
|
106
|
+
case "non-json":
|
|
107
|
+
throw new errors.ChrtError({
|
|
108
|
+
statusCode: _response.error.statusCode,
|
|
109
|
+
body: _response.error.rawBody,
|
|
110
|
+
rawResponse: _response.rawResponse,
|
|
111
|
+
});
|
|
112
|
+
case "timeout":
|
|
113
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /chrt_gpt/voice/start/v1.");
|
|
114
|
+
case "unknown":
|
|
115
|
+
throw new errors.ChrtError({
|
|
116
|
+
message: _response.error.errorMessage,
|
|
117
|
+
rawResponse: _response.rawResponse,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
_getAuthorizationHeader() {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
125
|
+
if (bearer != null) {
|
|
126
|
+
return `Bearer ${bearer}`;
|
|
127
|
+
}
|
|
128
|
+
return undefined;
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.Voice = Voice;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
package/dist/cjs/api/resources/chrtGpt/resources/voice/client/requests/ChrtGptVoiceStartReq.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* delegation: "responses"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface ChrtGptVoiceStartReq {
|
|
12
|
+
delegation: Chrt.ChrtGptVoiceDelegationEnum;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type ChrtGptVoiceStartReq } from "./ChrtGptVoiceStartReq.js";
|
|
@@ -3,13 +3,13 @@ export * as shipping from "./shipping/index.js";
|
|
|
3
3
|
export * as chrtGpt from "./chrtGpt/index.js";
|
|
4
4
|
export * as flights from "./flights/index.js";
|
|
5
5
|
export * as utils from "./utils/index.js";
|
|
6
|
-
export * as agent from "./agent/index.js";
|
|
7
6
|
export * as analytics from "./analytics/index.js";
|
|
8
7
|
export * as billing from "./billing/index.js";
|
|
9
8
|
export * as billingNew from "./billingNew/index.js";
|
|
10
9
|
export * as cargoOnFlightIntegrations from "./cargoOnFlightIntegrations/index.js";
|
|
11
10
|
export * as integrations from "./integrations/index.js";
|
|
12
11
|
export * as listing from "./listing/index.js";
|
|
12
|
+
export * as livekit from "./livekit/index.js";
|
|
13
13
|
export * as notifications from "./notifications/index.js";
|
|
14
14
|
export * as operations from "./operations/index.js";
|
|
15
15
|
export * as shippingIntegrations from "./shippingIntegrations/index.js";
|
|
@@ -36,19 +36,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.users = exports.trackingIntegrations = exports.tracking = exports.shippingIntegrations = exports.operations = exports.notifications = exports.listing = exports.integrations = exports.cargoOnFlightIntegrations = exports.billingNew = exports.billing = exports.analytics = exports.
|
|
39
|
+
exports.users = exports.trackingIntegrations = exports.tracking = exports.shippingIntegrations = exports.operations = exports.notifications = exports.livekit = exports.listing = exports.integrations = exports.cargoOnFlightIntegrations = exports.billingNew = exports.billing = exports.analytics = exports.utils = exports.flights = exports.chrtGpt = exports.shipping = exports.orgs = void 0;
|
|
40
40
|
exports.orgs = __importStar(require("./orgs/index.js"));
|
|
41
41
|
exports.shipping = __importStar(require("./shipping/index.js"));
|
|
42
42
|
exports.chrtGpt = __importStar(require("./chrtGpt/index.js"));
|
|
43
43
|
exports.flights = __importStar(require("./flights/index.js"));
|
|
44
44
|
exports.utils = __importStar(require("./utils/index.js"));
|
|
45
|
-
exports.agent = __importStar(require("./agent/index.js"));
|
|
46
45
|
exports.analytics = __importStar(require("./analytics/index.js"));
|
|
47
46
|
exports.billing = __importStar(require("./billing/index.js"));
|
|
48
47
|
exports.billingNew = __importStar(require("./billingNew/index.js"));
|
|
49
48
|
exports.cargoOnFlightIntegrations = __importStar(require("./cargoOnFlightIntegrations/index.js"));
|
|
50
49
|
exports.integrations = __importStar(require("./integrations/index.js"));
|
|
51
50
|
exports.listing = __importStar(require("./listing/index.js"));
|
|
51
|
+
exports.livekit = __importStar(require("./livekit/index.js"));
|
|
52
52
|
exports.notifications = __importStar(require("./notifications/index.js"));
|
|
53
53
|
exports.operations = __importStar(require("./operations/index.js"));
|
|
54
54
|
exports.shippingIntegrations = __importStar(require("./shippingIntegrations/index.js"));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as environments from "
|
|
5
|
-
import * as core from "
|
|
4
|
+
import * as environments from "../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../core/index.js";
|
|
6
6
|
import { HelloWorld } from "../resources/helloWorld/client/Client.js";
|
|
7
7
|
export declare namespace Livekit {
|
|
8
8
|
interface Options {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as environments from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
import * as Chrt from "
|
|
4
|
+
import * as environments from "../../../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../../../core/index.js";
|
|
6
|
+
import * as Chrt from "../../../../../index.js";
|
|
7
7
|
export declare namespace HelloWorld {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -36,7 +36,7 @@ export declare class HelloWorld {
|
|
|
36
36
|
* @param {HelloWorld.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
* await client.
|
|
39
|
+
* await client.livekit.helloWorld.startV1()
|
|
40
40
|
*/
|
|
41
41
|
startV1(requestOptions?: HelloWorld.RequestOptions): core.HttpResponsePromise<Chrt.LiveKitHelloWorldStartRes>;
|
|
42
42
|
private __startV1;
|
|
@@ -46,10 +46,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.HelloWorld = void 0;
|
|
49
|
-
const environments = __importStar(require("
|
|
50
|
-
const core = __importStar(require("
|
|
51
|
-
const headers_js_1 = require("
|
|
52
|
-
const errors = __importStar(require("
|
|
49
|
+
const environments = __importStar(require("../../../../../../environments.js"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
51
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
52
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
53
53
|
class HelloWorld {
|
|
54
54
|
constructor(_options = {}) {
|
|
55
55
|
this._options = _options;
|
|
@@ -60,7 +60,7 @@ class HelloWorld {
|
|
|
60
60
|
* @param {HelloWorld.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
|
-
* await client.
|
|
63
|
+
* await client.livekit.helloWorld.startV1()
|
|
64
64
|
*/
|
|
65
65
|
startV1(requestOptions) {
|
|
66
66
|
return core.HttpResponsePromise.fromPromise(this.__startV1(requestOptions));
|
|
@@ -70,7 +70,7 @@ class HelloWorld {
|
|
|
70
70
|
var _a, _b, _c, _d;
|
|
71
71
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
72
72
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
73
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "
|
|
73
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "livekit/hello_world/start/v1"),
|
|
74
74
|
method: "POST",
|
|
75
75
|
headers: _headers,
|
|
76
76
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -96,7 +96,7 @@ class HelloWorld {
|
|
|
96
96
|
rawResponse: _response.rawResponse,
|
|
97
97
|
});
|
|
98
98
|
case "timeout":
|
|
99
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /
|
|
99
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /livekit/hello_world/start/v1.");
|
|
100
100
|
case "unknown":
|
|
101
101
|
throw new errors.ChrtError({
|
|
102
102
|
message: _response.error.errorMessage,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -5,6 +5,7 @@ import * as Chrt from "../index.js";
|
|
|
5
5
|
export interface Caller {
|
|
6
6
|
credential?: string | null;
|
|
7
7
|
credential_type: Chrt.CallerCredentialTypeEnum;
|
|
8
|
+
internal_delegation_origin?: Chrt.InternalDelegationOriginEnum | null;
|
|
8
9
|
/** Must be a string starting with `org_` */
|
|
9
10
|
org_id: string;
|
|
10
11
|
org_role?: Chrt.OrgRoleEnum | null;
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
* Last event of a successful stream.
|
|
6
6
|
*/
|
|
7
7
|
export interface ChrtGptCompletedEvent {
|
|
8
|
+
/** When context_tokens passes this, ChrtGPT compacts older turns and context_tokens drops. */
|
|
9
|
+
context_limit_tokens: number;
|
|
10
|
+
/** Tokens of context ChrtGPT carries into the next turn. On a turn that compacted, this is the size before compaction, so it can exceed context_limit_tokens once. */
|
|
11
|
+
context_tokens: number;
|
|
8
12
|
conversation_id: string;
|
|
9
13
|
/** The turn's final message. Earlier messages in the turn only arrive as text deltas. */
|
|
10
14
|
response_text: string;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
4
5
|
export interface ChrtGptConversation1 {
|
|
5
6
|
_id: string;
|
|
7
|
+
awb_numbers?: string[];
|
|
8
|
+
context_tokens?: number | null;
|
|
6
9
|
created_at: string;
|
|
10
|
+
off_chrt_reference_ids?: string[];
|
|
11
|
+
order_short_ids?: string[];
|
|
7
12
|
/** Must be a string starting with `org_` */
|
|
8
13
|
org_id: string;
|
|
9
14
|
schema_version: number;
|
|
15
|
+
summarized_turn_count?: number;
|
|
16
|
+
summary?: string | null;
|
|
10
17
|
title: string;
|
|
18
|
+
title_source: Chrt.ChrtGptConversationTitleSourceEnum1;
|
|
11
19
|
updated_at: string;
|
|
12
20
|
/** Must be a string starting with `user_` */
|
|
13
21
|
user_id: string;
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface ChrtGptConversationRes {
|
|
6
|
+
/** The limit for conversation.context_tokens, as on the completed event. */
|
|
7
|
+
context_limit_tokens: number;
|
|
6
8
|
conversation: Chrt.ChrtGptConversation1;
|
|
7
|
-
/** The conversation's history, oldest first. Reasoning
|
|
9
|
+
/** The conversation's history, oldest first. Reasoning and compaction items are omitted. */
|
|
8
10
|
items: Chrt.ChrtGptHistoryItem[];
|
|
9
11
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ChrtGptConversationTitleSourceEnum1 = "fallback" | "ai" | "user";
|
|
5
|
+
export declare const ChrtGptConversationTitleSourceEnum1: {
|
|
6
|
+
readonly Fallback: "fallback";
|
|
7
|
+
readonly Ai: "ai";
|
|
8
|
+
readonly User: "user";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.ChrtGptConversationTitleSourceEnum1 = void 0;
|
|
7
|
+
exports.ChrtGptConversationTitleSourceEnum1 = {
|
|
8
|
+
Fallback: "fallback",
|
|
9
|
+
Ai: "ai",
|
|
10
|
+
User: "user",
|
|
11
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
|
-
export type ChrtGptEvent = Chrt.ChrtGptEvent.Completed | Chrt.ChrtGptEvent.Error_ | Chrt.ChrtGptEvent.Started | Chrt.ChrtGptEvent.TextDelta | Chrt.ChrtGptEvent.
|
|
5
|
+
export type ChrtGptEvent = Chrt.ChrtGptEvent.Completed | Chrt.ChrtGptEvent.Error_ | Chrt.ChrtGptEvent.Started | Chrt.ChrtGptEvent.TextDelta | Chrt.ChrtGptEvent.ToolCalled | Chrt.ChrtGptEvent.ToolOutput | Chrt.ChrtGptEvent.WebSearch;
|
|
6
6
|
export declare namespace ChrtGptEvent {
|
|
7
7
|
interface Completed extends Chrt.ChrtGptCompletedEvent {
|
|
8
8
|
type: "completed";
|
|
@@ -16,9 +16,6 @@ export declare namespace ChrtGptEvent {
|
|
|
16
16
|
interface TextDelta extends Chrt.ChrtGptTextDeltaEvent {
|
|
17
17
|
type: "text_delta";
|
|
18
18
|
}
|
|
19
|
-
interface Title extends Chrt.ChrtGptTitleEvent {
|
|
20
|
-
type: "title";
|
|
21
|
-
}
|
|
22
19
|
interface ToolCalled extends Chrt.ChrtGptToolCalledEvent {
|
|
23
20
|
type: "tool_called";
|
|
24
21
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Where GPT-Live hands the work it can't do in conversation.
|
|
6
|
+
*/
|
|
7
|
+
export type ChrtGptVoiceDelegationEnum = "responses" | "client";
|
|
8
|
+
export declare const ChrtGptVoiceDelegationEnum: {
|
|
9
|
+
readonly Responses: "responses";
|
|
10
|
+
readonly Client: "client";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.ChrtGptVoiceDelegationEnum = void 0;
|
|
7
|
+
exports.ChrtGptVoiceDelegationEnum = {
|
|
8
|
+
Responses: "responses",
|
|
9
|
+
Client: "client",
|
|
10
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.InternalDelegationOriginEnum = void 0;
|
|
7
|
+
exports.InternalDelegationOriginEnum = {
|
|
8
|
+
TemporalWorker: "temporal_worker",
|
|
9
|
+
LivekitVoiceAgent: "livekit_voice_agent",
|
|
10
|
+
};
|
|
@@ -210,15 +210,19 @@ export * from "./ChrtGptConversation1.js";
|
|
|
210
210
|
export * from "./ChrtGptConversationListRes.js";
|
|
211
211
|
export * from "./ChrtGptConversationRes.js";
|
|
212
212
|
export * from "./ChrtGptConversationSortByEnum.js";
|
|
213
|
+
export * from "./ChrtGptConversationTitleSourceEnum1.js";
|
|
214
|
+
export * from "./ChrtGptConversationsDeleteManyRes.js";
|
|
213
215
|
export * from "./ChrtGptErrorEvent.js";
|
|
214
216
|
export * from "./ChrtGptEvent.js";
|
|
215
217
|
export * from "./ChrtGptHistoryItem.js";
|
|
216
218
|
export * from "./ChrtGptStartedEvent.js";
|
|
217
219
|
export * from "./ChrtGptTextDeltaEvent.js";
|
|
218
|
-
export * from "./ChrtGptTitleEvent.js";
|
|
219
220
|
export * from "./ChrtGptToolCalledEvent.js";
|
|
220
221
|
export * from "./ChrtGptToolOutputEvent.js";
|
|
221
222
|
export * from "./ChrtGptUserMessageItem.js";
|
|
223
|
+
export * from "./ChrtGptVoiceDelegationEnum.js";
|
|
224
|
+
export * from "./ChrtGptVoiceReq.js";
|
|
225
|
+
export * from "./ChrtGptVoiceStartRes.js";
|
|
222
226
|
export * from "./ChrtGptWebSearchEvent.js";
|
|
223
227
|
export * from "./ChrtGroundProviderRates1.js";
|
|
224
228
|
export * from "./ChrtGroundProviderRatesListRes.js";
|
|
@@ -399,6 +403,7 @@ export * from "./IataCassOfficeListRes.js";
|
|
|
399
403
|
export * from "./IataCassOfficeSortByEnum.js";
|
|
400
404
|
export * from "./InternalDelegationJwtReq.js";
|
|
401
405
|
export * from "./InternalDelegationJwtRes.js";
|
|
406
|
+
export * from "./InternalDelegationOriginEnum.js";
|
|
402
407
|
export * from "./Invoice1.js";
|
|
403
408
|
export * from "./InvoiceClientCreate1.js";
|
|
404
409
|
export * from "./InvoiceCreateFromOrdersReq.js";
|
|
@@ -226,15 +226,19 @@ __exportStar(require("./ChrtGptConversation1.js"), exports);
|
|
|
226
226
|
__exportStar(require("./ChrtGptConversationListRes.js"), exports);
|
|
227
227
|
__exportStar(require("./ChrtGptConversationRes.js"), exports);
|
|
228
228
|
__exportStar(require("./ChrtGptConversationSortByEnum.js"), exports);
|
|
229
|
+
__exportStar(require("./ChrtGptConversationTitleSourceEnum1.js"), exports);
|
|
230
|
+
__exportStar(require("./ChrtGptConversationsDeleteManyRes.js"), exports);
|
|
229
231
|
__exportStar(require("./ChrtGptErrorEvent.js"), exports);
|
|
230
232
|
__exportStar(require("./ChrtGptEvent.js"), exports);
|
|
231
233
|
__exportStar(require("./ChrtGptHistoryItem.js"), exports);
|
|
232
234
|
__exportStar(require("./ChrtGptStartedEvent.js"), exports);
|
|
233
235
|
__exportStar(require("./ChrtGptTextDeltaEvent.js"), exports);
|
|
234
|
-
__exportStar(require("./ChrtGptTitleEvent.js"), exports);
|
|
235
236
|
__exportStar(require("./ChrtGptToolCalledEvent.js"), exports);
|
|
236
237
|
__exportStar(require("./ChrtGptToolOutputEvent.js"), exports);
|
|
237
238
|
__exportStar(require("./ChrtGptUserMessageItem.js"), exports);
|
|
239
|
+
__exportStar(require("./ChrtGptVoiceDelegationEnum.js"), exports);
|
|
240
|
+
__exportStar(require("./ChrtGptVoiceReq.js"), exports);
|
|
241
|
+
__exportStar(require("./ChrtGptVoiceStartRes.js"), exports);
|
|
238
242
|
__exportStar(require("./ChrtGptWebSearchEvent.js"), exports);
|
|
239
243
|
__exportStar(require("./ChrtGroundProviderRates1.js"), exports);
|
|
240
244
|
__exportStar(require("./ChrtGroundProviderRatesListRes.js"), exports);
|
|
@@ -415,6 +419,7 @@ __exportStar(require("./IataCassOfficeListRes.js"), exports);
|
|
|
415
419
|
__exportStar(require("./IataCassOfficeSortByEnum.js"), exports);
|
|
416
420
|
__exportStar(require("./InternalDelegationJwtReq.js"), exports);
|
|
417
421
|
__exportStar(require("./InternalDelegationJwtRes.js"), exports);
|
|
422
|
+
__exportStar(require("./InternalDelegationOriginEnum.js"), exports);
|
|
418
423
|
__exportStar(require("./Invoice1.js"), exports);
|
|
419
424
|
__exportStar(require("./InvoiceClientCreate1.js"), exports);
|
|
420
425
|
__exportStar(require("./InvoiceCreateFromOrdersReq.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1035.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -7,13 +7,13 @@ import { ChrtGpt } from "./api/resources/chrtGpt/client/Client.mjs";
|
|
|
7
7
|
import { Flights } from "./api/resources/flights/client/Client.mjs";
|
|
8
8
|
import { Orgs } from "./api/resources/orgs/client/Client.mjs";
|
|
9
9
|
import { Utils } from "./api/resources/utils/client/Client.mjs";
|
|
10
|
-
import { Agent } from "./api/resources/agent/client/Client.mjs";
|
|
11
10
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
12
11
|
import { Billing } from "./api/resources/billing/client/Client.mjs";
|
|
13
12
|
import { BillingNew } from "./api/resources/billingNew/client/Client.mjs";
|
|
14
13
|
import { CargoOnFlightIntegrations } from "./api/resources/cargoOnFlightIntegrations/client/Client.mjs";
|
|
15
14
|
import { Integrations } from "./api/resources/integrations/client/Client.mjs";
|
|
16
15
|
import { Listing } from "./api/resources/listing/client/Client.mjs";
|
|
16
|
+
import { Livekit } from "./api/resources/livekit/client/Client.mjs";
|
|
17
17
|
import { Notifications } from "./api/resources/notifications/client/Client.mjs";
|
|
18
18
|
import { Operations } from "./api/resources/operations/client/Client.mjs";
|
|
19
19
|
import { Shipping } from "./api/resources/shipping/client/Client.mjs";
|
|
@@ -50,13 +50,13 @@ export declare class ChrtClient {
|
|
|
50
50
|
protected _flights: Flights | undefined;
|
|
51
51
|
protected _orgs: Orgs | undefined;
|
|
52
52
|
protected _utils: Utils | undefined;
|
|
53
|
-
protected _agent: Agent | undefined;
|
|
54
53
|
protected _analytics: Analytics | undefined;
|
|
55
54
|
protected _billing: Billing | undefined;
|
|
56
55
|
protected _billingNew: BillingNew | undefined;
|
|
57
56
|
protected _cargoOnFlightIntegrations: CargoOnFlightIntegrations | undefined;
|
|
58
57
|
protected _integrations: Integrations | undefined;
|
|
59
58
|
protected _listing: Listing | undefined;
|
|
59
|
+
protected _livekit: Livekit | undefined;
|
|
60
60
|
protected _notifications: Notifications | undefined;
|
|
61
61
|
protected _operations: Operations | undefined;
|
|
62
62
|
protected _shipping: Shipping | undefined;
|
|
@@ -69,13 +69,13 @@ export declare class ChrtClient {
|
|
|
69
69
|
get flights(): Flights;
|
|
70
70
|
get orgs(): Orgs;
|
|
71
71
|
get utils(): Utils;
|
|
72
|
-
get agent(): Agent;
|
|
73
72
|
get analytics(): Analytics;
|
|
74
73
|
get billing(): Billing;
|
|
75
74
|
get billingNew(): BillingNew;
|
|
76
75
|
get cargoOnFlightIntegrations(): CargoOnFlightIntegrations;
|
|
77
76
|
get integrations(): Integrations;
|
|
78
77
|
get listing(): Listing;
|
|
78
|
+
get livekit(): Livekit;
|
|
79
79
|
get notifications(): Notifications;
|
|
80
80
|
get operations(): Operations;
|
|
81
81
|
get shipping(): Shipping;
|