@corti/dictation-web 0.7.0 → 0.8.0-rc.1
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/.tsbuildinfo +1 -1
- package/dist/bundle.js +621 -570
- package/dist/core/.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -2964,7 +2964,7 @@ __decorateClass([
|
|
|
2964
2964
|
n4({ type: Boolean })
|
|
2965
2965
|
], RecordingButtonBase.prototype, "allowButtonFocus", 2);
|
|
2966
2966
|
|
|
2967
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
2967
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/json.mjs
|
|
2968
2968
|
var toJson = (value, replacer, space) => {
|
|
2969
2969
|
return JSON.stringify(value, replacer, space);
|
|
2970
2970
|
};
|
|
@@ -2972,7 +2972,7 @@ function fromJson(text, reviver) {
|
|
|
2972
2972
|
return JSON.parse(text, reviver);
|
|
2973
2973
|
}
|
|
2974
2974
|
|
|
2975
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
2975
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/errors/CortiError.mjs
|
|
2976
2976
|
var CortiError = class extends Error {
|
|
2977
2977
|
constructor({ message, statusCode, body, rawResponse }) {
|
|
2978
2978
|
super(buildMessage({ message, statusCode, body }));
|
|
@@ -3000,7 +3000,7 @@ function buildMessage({ message, statusCode, body }) {
|
|
|
3000
3000
|
return lines.join("\n");
|
|
3001
3001
|
}
|
|
3002
3002
|
|
|
3003
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3003
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/errors/CortiTimeoutError.mjs
|
|
3004
3004
|
var CortiTimeoutError = class extends Error {
|
|
3005
3005
|
constructor(message) {
|
|
3006
3006
|
super(message);
|
|
@@ -3012,7 +3012,7 @@ var CortiTimeoutError = class extends Error {
|
|
|
3012
3012
|
}
|
|
3013
3013
|
};
|
|
3014
3014
|
|
|
3015
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3015
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/BadGatewayError.mjs
|
|
3016
3016
|
var BadGatewayError = class extends CortiError {
|
|
3017
3017
|
constructor(body, rawResponse) {
|
|
3018
3018
|
super({
|
|
@@ -3029,7 +3029,7 @@ var BadGatewayError = class extends CortiError {
|
|
|
3029
3029
|
}
|
|
3030
3030
|
};
|
|
3031
3031
|
|
|
3032
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3032
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/BadRequestError.mjs
|
|
3033
3033
|
var BadRequestError = class extends CortiError {
|
|
3034
3034
|
constructor(body, rawResponse) {
|
|
3035
3035
|
super({
|
|
@@ -3046,7 +3046,7 @@ var BadRequestError = class extends CortiError {
|
|
|
3046
3046
|
}
|
|
3047
3047
|
};
|
|
3048
3048
|
|
|
3049
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3049
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/ConflictError.mjs
|
|
3050
3050
|
var ConflictError = class extends CortiError {
|
|
3051
3051
|
constructor(body, rawResponse) {
|
|
3052
3052
|
super({
|
|
@@ -3063,7 +3063,7 @@ var ConflictError = class extends CortiError {
|
|
|
3063
3063
|
}
|
|
3064
3064
|
};
|
|
3065
3065
|
|
|
3066
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3066
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/ForbiddenError.mjs
|
|
3067
3067
|
var ForbiddenError = class extends CortiError {
|
|
3068
3068
|
constructor(body, rawResponse) {
|
|
3069
3069
|
super({
|
|
@@ -3080,7 +3080,7 @@ var ForbiddenError = class extends CortiError {
|
|
|
3080
3080
|
}
|
|
3081
3081
|
};
|
|
3082
3082
|
|
|
3083
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3083
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/GatewayTimeoutError.mjs
|
|
3084
3084
|
var GatewayTimeoutError = class extends CortiError {
|
|
3085
3085
|
constructor(body, rawResponse) {
|
|
3086
3086
|
super({
|
|
@@ -3097,7 +3097,7 @@ var GatewayTimeoutError = class extends CortiError {
|
|
|
3097
3097
|
}
|
|
3098
3098
|
};
|
|
3099
3099
|
|
|
3100
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3100
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/InternalServerError.mjs
|
|
3101
3101
|
var InternalServerError = class extends CortiError {
|
|
3102
3102
|
constructor(body, rawResponse) {
|
|
3103
3103
|
super({
|
|
@@ -3114,7 +3114,7 @@ var InternalServerError = class extends CortiError {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
};
|
|
3116
3116
|
|
|
3117
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3117
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/NotFoundError.mjs
|
|
3118
3118
|
var NotFoundError = class extends CortiError {
|
|
3119
3119
|
constructor(body, rawResponse) {
|
|
3120
3120
|
super({
|
|
@@ -3131,7 +3131,7 @@ var NotFoundError = class extends CortiError {
|
|
|
3131
3131
|
}
|
|
3132
3132
|
};
|
|
3133
3133
|
|
|
3134
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3134
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/UnauthorizedError.mjs
|
|
3135
3135
|
var UnauthorizedError = class extends CortiError {
|
|
3136
3136
|
constructor(body, rawResponse) {
|
|
3137
3137
|
super({
|
|
@@ -3148,7 +3148,7 @@ var UnauthorizedError = class extends CortiError {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
};
|
|
3150
3150
|
|
|
3151
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3151
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/errors/UnprocessableEntityError.mjs
|
|
3152
3152
|
var UnprocessableEntityError = class extends CortiError {
|
|
3153
3153
|
constructor(body, rawResponse) {
|
|
3154
3154
|
super({
|
|
@@ -3165,7 +3165,7 @@ var UnprocessableEntityError = class extends CortiError {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
};
|
|
3167
3167
|
|
|
3168
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3168
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/types/StreamConfigStatusMessageType.mjs
|
|
3169
3169
|
var StreamConfigStatusMessageType = {
|
|
3170
3170
|
ConfigAccepted: "CONFIG_ACCEPTED",
|
|
3171
3171
|
ConfigDenied: "CONFIG_DENIED",
|
|
@@ -3174,7 +3174,7 @@ var StreamConfigStatusMessageType = {
|
|
|
3174
3174
|
ConfigAlreadyReceived: "CONFIG_ALREADY_RECEIVED"
|
|
3175
3175
|
};
|
|
3176
3176
|
|
|
3177
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3177
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/types/TranscribeConfigStatusMessageType.mjs
|
|
3178
3178
|
var TranscribeConfigStatusMessageType = {
|
|
3179
3179
|
ConfigAccepted: "CONFIG_ACCEPTED",
|
|
3180
3180
|
ConfigDenied: "CONFIG_DENIED",
|
|
@@ -3183,7 +3183,7 @@ var TranscribeConfigStatusMessageType = {
|
|
|
3183
3183
|
ConfigMissing: "CONFIG_MISSING"
|
|
3184
3184
|
};
|
|
3185
3185
|
|
|
3186
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3186
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.mjs
|
|
3187
3187
|
function stringifyValidationError(error) {
|
|
3188
3188
|
if (error.path.length === 0) {
|
|
3189
3189
|
return error.message;
|
|
@@ -3191,7 +3191,7 @@ function stringifyValidationError(error) {
|
|
|
3191
3191
|
return `${error.path.join(" -> ")}: ${error.message}`;
|
|
3192
3192
|
}
|
|
3193
3193
|
|
|
3194
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3194
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/JsonError.mjs
|
|
3195
3195
|
var JsonError = class _JsonError extends Error {
|
|
3196
3196
|
constructor(errors) {
|
|
3197
3197
|
super(errors.map(stringifyValidationError).join("; "));
|
|
@@ -3200,7 +3200,7 @@ var JsonError = class _JsonError extends Error {
|
|
|
3200
3200
|
}
|
|
3201
3201
|
};
|
|
3202
3202
|
|
|
3203
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3203
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/ParseError.mjs
|
|
3204
3204
|
var ParseError = class _ParseError extends Error {
|
|
3205
3205
|
constructor(errors) {
|
|
3206
3206
|
super(errors.map(stringifyValidationError).join("; "));
|
|
@@ -3209,7 +3209,7 @@ var ParseError = class _ParseError extends Error {
|
|
|
3209
3209
|
}
|
|
3210
3210
|
};
|
|
3211
3211
|
|
|
3212
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3212
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/environments.mjs
|
|
3213
3213
|
var CortiEnvironment = {
|
|
3214
3214
|
Eu: {
|
|
3215
3215
|
base: "https://api.eu.corti.app/v2",
|
|
@@ -3225,7 +3225,7 @@ var CortiEnvironment = {
|
|
|
3225
3225
|
}
|
|
3226
3226
|
};
|
|
3227
3227
|
|
|
3228
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3228
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/logging/logger.mjs
|
|
3229
3229
|
var LogLevel = {
|
|
3230
3230
|
Debug: "debug",
|
|
3231
3231
|
Info: "info",
|
|
@@ -3359,14 +3359,14 @@ var defaultLogger = new Logger({
|
|
|
3359
3359
|
silent: true
|
|
3360
3360
|
});
|
|
3361
3361
|
|
|
3362
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3362
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/auth/NoOpAuthProvider.mjs
|
|
3363
3363
|
var NoOpAuthProvider = class {
|
|
3364
3364
|
getAuthRequest() {
|
|
3365
3365
|
return Promise.resolve({ headers: {} });
|
|
3366
3366
|
}
|
|
3367
3367
|
};
|
|
3368
3368
|
|
|
3369
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3369
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/EndpointSupplier.mjs
|
|
3370
3370
|
var __awaiter = function(thisArg, _arguments, P2, generator) {
|
|
3371
3371
|
function adopt(value) {
|
|
3372
3372
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3404,7 +3404,7 @@ var EndpointSupplier = {
|
|
|
3404
3404
|
})
|
|
3405
3405
|
};
|
|
3406
3406
|
|
|
3407
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3407
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/HttpResponsePromise.mjs
|
|
3408
3408
|
var __awaiter2 = function(thisArg, _arguments, P2, generator) {
|
|
3409
3409
|
function adopt(value) {
|
|
3410
3410
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3519,7 +3519,7 @@ var HttpResponsePromise = class _HttpResponsePromise extends Promise {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3522
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/Headers.mjs
|
|
3523
3523
|
var Headers2;
|
|
3524
3524
|
if (typeof globalThis.Headers !== "undefined") {
|
|
3525
3525
|
Headers2 = globalThis.Headers;
|
|
@@ -3597,7 +3597,7 @@ if (typeof globalThis.Headers !== "undefined") {
|
|
|
3597
3597
|
};
|
|
3598
3598
|
}
|
|
3599
3599
|
|
|
3600
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3600
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/RawResponse.mjs
|
|
3601
3601
|
var abortRawResponse = {
|
|
3602
3602
|
headers: new Headers2(),
|
|
3603
3603
|
redirected: false,
|
|
@@ -3625,7 +3625,7 @@ function toRawResponse(response) {
|
|
|
3625
3625
|
};
|
|
3626
3626
|
}
|
|
3627
3627
|
|
|
3628
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3628
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/Supplier.mjs
|
|
3629
3629
|
var __awaiter3 = function(thisArg, _arguments, P2, generator) {
|
|
3630
3630
|
function adopt(value) {
|
|
3631
3631
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3663,7 +3663,7 @@ var Supplier = {
|
|
|
3663
3663
|
})
|
|
3664
3664
|
};
|
|
3665
3665
|
|
|
3666
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3666
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/url/qs.mjs
|
|
3667
3667
|
var defaultQsOptions = {
|
|
3668
3668
|
arrayFormat: "indices",
|
|
3669
3669
|
encode: true
|
|
@@ -3723,13 +3723,13 @@ function toQueryString(obj, options) {
|
|
|
3723
3723
|
return parts.join("&");
|
|
3724
3724
|
}
|
|
3725
3725
|
|
|
3726
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3726
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/createRequestUrl.mjs
|
|
3727
3727
|
function createRequestUrl(baseUrl, queryParameters) {
|
|
3728
3728
|
const queryString = toQueryString(queryParameters, { arrayFormat: "repeat" });
|
|
3729
3729
|
return queryString ? `${baseUrl}?${queryString}` : baseUrl;
|
|
3730
3730
|
}
|
|
3731
3731
|
|
|
3732
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3732
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/BinaryResponse.mjs
|
|
3733
3733
|
function getBinaryResponse(response) {
|
|
3734
3734
|
const binaryResponse = {
|
|
3735
3735
|
get bodyUsed() {
|
|
@@ -3745,7 +3745,7 @@ function getBinaryResponse(response) {
|
|
|
3745
3745
|
return binaryResponse;
|
|
3746
3746
|
}
|
|
3747
3747
|
|
|
3748
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3748
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/getResponseBody.mjs
|
|
3749
3749
|
var __awaiter4 = function(thisArg, _arguments, P2, generator) {
|
|
3750
3750
|
function adopt(value) {
|
|
3751
3751
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3827,7 +3827,7 @@ function getResponseBody(response, responseType) {
|
|
|
3827
3827
|
});
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
3830
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3830
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/getErrorResponseBody.mjs
|
|
3831
3831
|
var __awaiter5 = function(thisArg, _arguments, P2, generator) {
|
|
3832
3832
|
function adopt(value) {
|
|
3833
3833
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3885,7 +3885,7 @@ function getErrorResponseBody(response) {
|
|
|
3885
3885
|
});
|
|
3886
3886
|
}
|
|
3887
3887
|
|
|
3888
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3888
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/getFetchFn.mjs
|
|
3889
3889
|
var __awaiter6 = function(thisArg, _arguments, P2, generator) {
|
|
3890
3890
|
function adopt(value) {
|
|
3891
3891
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3919,7 +3919,7 @@ function getFetchFn() {
|
|
|
3919
3919
|
});
|
|
3920
3920
|
}
|
|
3921
3921
|
|
|
3922
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3922
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/getRequestBody.mjs
|
|
3923
3923
|
var __awaiter7 = function(thisArg, _arguments, P2, generator) {
|
|
3924
3924
|
function adopt(value) {
|
|
3925
3925
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -3960,7 +3960,7 @@ function getRequestBody(_a) {
|
|
|
3960
3960
|
});
|
|
3961
3961
|
}
|
|
3962
3962
|
|
|
3963
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3963
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/signals.mjs
|
|
3964
3964
|
var TIMEOUT = "timeout";
|
|
3965
3965
|
function getTimeoutSignal(timeoutMs) {
|
|
3966
3966
|
const controller = new AbortController();
|
|
@@ -3982,7 +3982,7 @@ function anySignal(...args) {
|
|
|
3982
3982
|
return controller.signal;
|
|
3983
3983
|
}
|
|
3984
3984
|
|
|
3985
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
3985
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/makeRequest.mjs
|
|
3986
3986
|
var __awaiter8 = function(thisArg, _arguments, P2, generator) {
|
|
3987
3987
|
function adopt(value) {
|
|
3988
3988
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -4050,7 +4050,7 @@ var makeRequest = (fetchFn, url, method, headers, requestBody, timeoutMs, abortS
|
|
|
4050
4050
|
return response;
|
|
4051
4051
|
});
|
|
4052
4052
|
|
|
4053
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4053
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/requestWithRetries.mjs
|
|
4054
4054
|
var __awaiter9 = function(thisArg, _arguments, P2, generator) {
|
|
4055
4055
|
function adopt(value) {
|
|
4056
4056
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -4133,7 +4133,7 @@ function requestWithRetries(requestFn_1) {
|
|
|
4133
4133
|
});
|
|
4134
4134
|
}
|
|
4135
4135
|
|
|
4136
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4136
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/fetcher/Fetcher.mjs
|
|
4137
4137
|
var __awaiter10 = function(thisArg, _arguments, P2, generator) {
|
|
4138
4138
|
function adopt(value) {
|
|
4139
4139
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -4434,7 +4434,7 @@ function fetcherImpl(args) {
|
|
|
4434
4434
|
});
|
|
4435
4435
|
}
|
|
4436
4436
|
|
|
4437
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4437
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/withCredentialsConfig.mjs
|
|
4438
4438
|
var defaultWithCredentials;
|
|
4439
4439
|
function getDefaultWithCredentials() {
|
|
4440
4440
|
return defaultWithCredentials;
|
|
@@ -4443,20 +4443,20 @@ function setDefaultWithCredentials(value) {
|
|
|
4443
4443
|
defaultWithCredentials = value;
|
|
4444
4444
|
}
|
|
4445
4445
|
|
|
4446
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4446
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/fetcher.mjs
|
|
4447
4447
|
var fetcher = (args) => {
|
|
4448
4448
|
var _a;
|
|
4449
4449
|
return fetcherImpl(Object.assign(Object.assign({}, args), { withCredentials: (_a = args.withCredentials) !== null && _a !== void 0 ? _a : getDefaultWithCredentials() }));
|
|
4450
4450
|
};
|
|
4451
4451
|
|
|
4452
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4452
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/file/index.mjs
|
|
4453
4453
|
var file_exports = {};
|
|
4454
4454
|
__export(file_exports, {
|
|
4455
4455
|
toBinaryUploadRequest: () => toBinaryUploadRequest,
|
|
4456
4456
|
toMultipartDataPart: () => toMultipartDataPart
|
|
4457
4457
|
});
|
|
4458
4458
|
|
|
4459
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4459
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/file/file.mjs
|
|
4460
4460
|
var __awaiter11 = function(thisArg, _arguments, P2, generator) {
|
|
4461
4461
|
function adopt(value) {
|
|
4462
4462
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -4652,7 +4652,7 @@ function isFile(value) {
|
|
|
4652
4652
|
return typeof File !== "undefined" && value instanceof File;
|
|
4653
4653
|
}
|
|
4654
4654
|
|
|
4655
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4655
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/logging/index.mjs
|
|
4656
4656
|
var logging_exports = {};
|
|
4657
4657
|
__export(logging_exports, {
|
|
4658
4658
|
ConsoleLogger: () => ConsoleLogger,
|
|
@@ -4661,7 +4661,7 @@ __export(logging_exports, {
|
|
|
4661
4661
|
createLogger: () => createLogger
|
|
4662
4662
|
});
|
|
4663
4663
|
|
|
4664
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4664
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/pagination/Page.mjs
|
|
4665
4665
|
var __awaiter12 = function(thisArg, _arguments, P2, generator) {
|
|
4666
4666
|
function adopt(value) {
|
|
4667
4667
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -4816,7 +4816,7 @@ var Page = class {
|
|
|
4816
4816
|
}
|
|
4817
4817
|
};
|
|
4818
4818
|
|
|
4819
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4819
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/runtime/runtime.mjs
|
|
4820
4820
|
var RUNTIME = evaluateRuntime();
|
|
4821
4821
|
function evaluateRuntime() {
|
|
4822
4822
|
var _a, _b, _c, _d, _e;
|
|
@@ -4879,7 +4879,7 @@ function evaluateRuntime() {
|
|
|
4879
4879
|
};
|
|
4880
4880
|
}
|
|
4881
4881
|
|
|
4882
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4882
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/index.mjs
|
|
4883
4883
|
var schemas_exports = {};
|
|
4884
4884
|
__export(schemas_exports, {
|
|
4885
4885
|
JsonError: () => JsonError,
|
|
@@ -4916,7 +4916,7 @@ __export(schemas_exports, {
|
|
|
4916
4916
|
withParsedProperties: () => withParsedProperties
|
|
4917
4917
|
});
|
|
4918
4918
|
|
|
4919
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4919
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/Schema.mjs
|
|
4920
4920
|
var SchemaType = {
|
|
4921
4921
|
BIGINT: "bigint",
|
|
4922
4922
|
DATE: "date",
|
|
@@ -4940,7 +4940,7 @@ var SchemaType = {
|
|
|
4940
4940
|
OPTIONAL_NULLABLE: "optionalNullable"
|
|
4941
4941
|
};
|
|
4942
4942
|
|
|
4943
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4943
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.mjs
|
|
4944
4944
|
function getErrorMessageForIncorrectType(value, expectedType) {
|
|
4945
4945
|
return `Expected ${expectedType}. Received ${getTypeAsString(value)}.`;
|
|
4946
4946
|
}
|
|
@@ -4966,7 +4966,7 @@ function getTypeAsString(value) {
|
|
|
4966
4966
|
return typeof value;
|
|
4967
4967
|
}
|
|
4968
4968
|
|
|
4969
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4969
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/maybeSkipValidation.mjs
|
|
4970
4970
|
function maybeSkipValidation(schema) {
|
|
4971
4971
|
return Object.assign(Object.assign({}, schema), { json: transformAndMaybeSkipValidation(schema.json), parse: transformAndMaybeSkipValidation(schema.parse) });
|
|
4972
4972
|
}
|
|
@@ -4989,7 +4989,7 @@ function transformAndMaybeSkipValidation(transform2) {
|
|
|
4989
4989
|
};
|
|
4990
4990
|
}
|
|
4991
4991
|
|
|
4992
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
4992
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.mjs
|
|
4993
4993
|
function getSchemaUtils(schema) {
|
|
4994
4994
|
return {
|
|
4995
4995
|
nullable: () => nullable(schema),
|
|
@@ -5123,7 +5123,7 @@ function transform(schema, transformer) {
|
|
|
5123
5123
|
return Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema));
|
|
5124
5124
|
}
|
|
5125
5125
|
|
|
5126
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5126
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/bigint/bigint.mjs
|
|
5127
5127
|
function bigint() {
|
|
5128
5128
|
const baseSchema = {
|
|
5129
5129
|
parse: (raw, { breadcrumbsPrefix = [] } = {}) => {
|
|
@@ -5171,7 +5171,7 @@ function bigint() {
|
|
|
5171
5171
|
return Object.assign(Object.assign({}, maybeSkipValidation(baseSchema)), getSchemaUtils(baseSchema));
|
|
5172
5172
|
}
|
|
5173
5173
|
|
|
5174
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5174
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/date/date.mjs
|
|
5175
5175
|
var ISO_8601_REGEX = /^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;
|
|
5176
5176
|
function date() {
|
|
5177
5177
|
const baseSchema = {
|
|
@@ -5226,7 +5226,7 @@ function date() {
|
|
|
5226
5226
|
return Object.assign(Object.assign({}, maybeSkipValidation(baseSchema)), getSchemaUtils(baseSchema));
|
|
5227
5227
|
}
|
|
5228
5228
|
|
|
5229
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5229
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/createIdentitySchemaCreator.mjs
|
|
5230
5230
|
function createIdentitySchemaCreator(schemaType, validate) {
|
|
5231
5231
|
return () => {
|
|
5232
5232
|
const baseSchema = {
|
|
@@ -5238,7 +5238,7 @@ function createIdentitySchemaCreator(schemaType, validate) {
|
|
|
5238
5238
|
};
|
|
5239
5239
|
}
|
|
5240
5240
|
|
|
5241
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5241
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/enum/enum.mjs
|
|
5242
5242
|
function enum_(values) {
|
|
5243
5243
|
const validValues = new Set(values);
|
|
5244
5244
|
const schemaCreator = createIdentitySchemaCreator(SchemaType.ENUM, (value, { allowUnrecognizedEnumValues, breadcrumbsPrefix = [] } = {}) => {
|
|
@@ -5272,7 +5272,7 @@ function enum_(values) {
|
|
|
5272
5272
|
return schemaCreator();
|
|
5273
5273
|
}
|
|
5274
5274
|
|
|
5275
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5275
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/lazy/lazy.mjs
|
|
5276
5276
|
function lazy(getter) {
|
|
5277
5277
|
const baseSchema = constructLazyBaseSchema(getter);
|
|
5278
5278
|
return Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema));
|
|
@@ -5292,12 +5292,12 @@ function getMemoizedSchema(getter) {
|
|
|
5292
5292
|
return castedGetter.__zurg_memoized;
|
|
5293
5293
|
}
|
|
5294
5294
|
|
|
5295
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5295
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/entries.mjs
|
|
5296
5296
|
function entries(object2) {
|
|
5297
5297
|
return Object.entries(object2);
|
|
5298
5298
|
}
|
|
5299
5299
|
|
|
5300
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5300
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/filterObject.mjs
|
|
5301
5301
|
function filterObject(obj, keysToInclude) {
|
|
5302
5302
|
const keysToIncludeSet = new Set(keysToInclude);
|
|
5303
5303
|
return Object.entries(obj).reduce((acc, [key, value]) => {
|
|
@@ -5308,7 +5308,7 @@ function filterObject(obj, keysToInclude) {
|
|
|
5308
5308
|
}, {});
|
|
5309
5309
|
}
|
|
5310
5310
|
|
|
5311
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5311
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
|
|
5312
5312
|
function isPlainObject(value) {
|
|
5313
5313
|
if (typeof value !== "object" || value === null) {
|
|
5314
5314
|
return false;
|
|
@@ -5320,12 +5320,12 @@ function isPlainObject(value) {
|
|
|
5320
5320
|
return Object.getPrototypeOf(proto) === null;
|
|
5321
5321
|
}
|
|
5322
5322
|
|
|
5323
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5323
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/keys.mjs
|
|
5324
5324
|
function keys(object2) {
|
|
5325
5325
|
return Object.keys(object2);
|
|
5326
5326
|
}
|
|
5327
5327
|
|
|
5328
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5328
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/utils/partition.mjs
|
|
5329
5329
|
function partition(items, predicate) {
|
|
5330
5330
|
const trueItems = [], falseItems = [];
|
|
5331
5331
|
for (const item of items) {
|
|
@@ -5338,7 +5338,7 @@ function partition(items, predicate) {
|
|
|
5338
5338
|
return [trueItems, falseItems];
|
|
5339
5339
|
}
|
|
5340
5340
|
|
|
5341
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5341
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.mjs
|
|
5342
5342
|
var _hasOwn = Object.prototype.hasOwnProperty;
|
|
5343
5343
|
function getObjectLikeUtils(schema) {
|
|
5344
5344
|
return {
|
|
@@ -5386,7 +5386,7 @@ function withParsedProperties(objectLike, properties) {
|
|
|
5386
5386
|
return Object.assign(Object.assign(Object.assign({}, objectSchema), getSchemaUtils(objectSchema)), getObjectLikeUtils(objectSchema));
|
|
5387
5387
|
}
|
|
5388
5388
|
|
|
5389
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5389
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/object/property.mjs
|
|
5390
5390
|
function property(rawKey, valueSchema) {
|
|
5391
5391
|
return {
|
|
5392
5392
|
rawKey,
|
|
@@ -5398,7 +5398,7 @@ function isProperty(maybeProperty) {
|
|
|
5398
5398
|
return maybeProperty.isProperty;
|
|
5399
5399
|
}
|
|
5400
5400
|
|
|
5401
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5401
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/object/object.mjs
|
|
5402
5402
|
var _hasOwn2 = Object.prototype.hasOwnProperty;
|
|
5403
5403
|
function object(schemas) {
|
|
5404
5404
|
let _rawKeyToProperty;
|
|
@@ -5717,18 +5717,18 @@ function isSchemaOptional(schema) {
|
|
|
5717
5717
|
}
|
|
5718
5718
|
}
|
|
5719
5719
|
|
|
5720
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5720
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.mjs
|
|
5721
5721
|
function objectWithoutOptionalProperties(schemas) {
|
|
5722
5722
|
return object(schemas);
|
|
5723
5723
|
}
|
|
5724
5724
|
|
|
5725
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5725
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/lazy/lazyObject.mjs
|
|
5726
5726
|
function lazyObject(getter) {
|
|
5727
5727
|
const baseSchema = Object.assign(Object.assign({}, constructLazyBaseSchema(getter)), { _getRawProperties: () => getMemoizedSchema(getter)._getRawProperties(), _getParsedProperties: () => getMemoizedSchema(getter)._getParsedProperties() });
|
|
5728
5728
|
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema)), getObjectLikeUtils(baseSchema)), getObjectUtils(baseSchema));
|
|
5729
5729
|
}
|
|
5730
5730
|
|
|
5731
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5731
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/list/list.mjs
|
|
5732
5732
|
function list(schema) {
|
|
5733
5733
|
const baseSchema = {
|
|
5734
5734
|
parse: (raw, opts) => validateAndTransformArray(raw, (item, index) => {
|
|
@@ -5771,7 +5771,7 @@ function validateAndTransformArray(value, transformItem) {
|
|
|
5771
5771
|
return { ok: false, errors };
|
|
5772
5772
|
}
|
|
5773
5773
|
|
|
5774
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5774
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/literals/booleanLiteral.mjs
|
|
5775
5775
|
function booleanLiteral(literal) {
|
|
5776
5776
|
const schemaCreator = createIdentitySchemaCreator(SchemaType.BOOLEAN_LITERAL, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
5777
5777
|
if (value === literal) {
|
|
@@ -5794,7 +5794,7 @@ function booleanLiteral(literal) {
|
|
|
5794
5794
|
return schemaCreator();
|
|
5795
5795
|
}
|
|
5796
5796
|
|
|
5797
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5797
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/literals/stringLiteral.mjs
|
|
5798
5798
|
function stringLiteral(literal) {
|
|
5799
5799
|
const schemaCreator = createIdentitySchemaCreator(SchemaType.STRING_LITERAL, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
5800
5800
|
if (value === literal) {
|
|
@@ -5817,13 +5817,13 @@ function stringLiteral(literal) {
|
|
|
5817
5817
|
return schemaCreator();
|
|
5818
5818
|
}
|
|
5819
5819
|
|
|
5820
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5820
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/any.mjs
|
|
5821
5821
|
var any = createIdentitySchemaCreator(SchemaType.ANY, (value) => ({
|
|
5822
5822
|
ok: true,
|
|
5823
5823
|
value
|
|
5824
5824
|
}));
|
|
5825
5825
|
|
|
5826
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5826
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/boolean.mjs
|
|
5827
5827
|
var boolean = createIdentitySchemaCreator(SchemaType.BOOLEAN, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
5828
5828
|
if (typeof value === "boolean") {
|
|
5829
5829
|
return {
|
|
@@ -5843,7 +5843,7 @@ var boolean = createIdentitySchemaCreator(SchemaType.BOOLEAN, (value, { breadcru
|
|
|
5843
5843
|
}
|
|
5844
5844
|
});
|
|
5845
5845
|
|
|
5846
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5846
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/never.mjs
|
|
5847
5847
|
var never = createIdentitySchemaCreator(SchemaType.NEVER, (_value, { breadcrumbsPrefix = [] } = {}) => ({
|
|
5848
5848
|
ok: false,
|
|
5849
5849
|
errors: [
|
|
@@ -5854,7 +5854,7 @@ var never = createIdentitySchemaCreator(SchemaType.NEVER, (_value, { breadcrumbs
|
|
|
5854
5854
|
]
|
|
5855
5855
|
}));
|
|
5856
5856
|
|
|
5857
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5857
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/number.mjs
|
|
5858
5858
|
var number = createIdentitySchemaCreator(SchemaType.NUMBER, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
5859
5859
|
if (typeof value === "number") {
|
|
5860
5860
|
return {
|
|
@@ -5874,7 +5874,7 @@ var number = createIdentitySchemaCreator(SchemaType.NUMBER, (value, { breadcrumb
|
|
|
5874
5874
|
}
|
|
5875
5875
|
});
|
|
5876
5876
|
|
|
5877
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5877
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/string.mjs
|
|
5878
5878
|
var string = createIdentitySchemaCreator(SchemaType.STRING, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
5879
5879
|
if (typeof value === "string") {
|
|
5880
5880
|
return {
|
|
@@ -5894,10 +5894,10 @@ var string = createIdentitySchemaCreator(SchemaType.STRING, (value, { breadcrumb
|
|
|
5894
5894
|
}
|
|
5895
5895
|
});
|
|
5896
5896
|
|
|
5897
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5897
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/unknown.mjs
|
|
5898
5898
|
var unknown = createIdentitySchemaCreator(SchemaType.UNKNOWN, (value) => ({ ok: true, value }));
|
|
5899
5899
|
|
|
5900
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
5900
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/record/record.mjs
|
|
5901
5901
|
var _hasOwn3 = Object.prototype.hasOwnProperty;
|
|
5902
5902
|
function record(keySchema, valueSchema) {
|
|
5903
5903
|
const baseSchema = {
|
|
@@ -6019,7 +6019,7 @@ function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transfo
|
|
|
6019
6019
|
return { ok: false, errors };
|
|
6020
6020
|
}
|
|
6021
6021
|
|
|
6022
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6022
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/set/set.mjs
|
|
6023
6023
|
function set(schema) {
|
|
6024
6024
|
const listSchema = list(schema);
|
|
6025
6025
|
const baseSchema = {
|
|
@@ -6055,7 +6055,7 @@ function set(schema) {
|
|
|
6055
6055
|
return Object.assign(Object.assign({}, maybeSkipValidation(baseSchema)), getSchemaUtils(baseSchema));
|
|
6056
6056
|
}
|
|
6057
6057
|
|
|
6058
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6058
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.mjs
|
|
6059
6059
|
function undiscriminatedUnion(schemas) {
|
|
6060
6060
|
const baseSchema = {
|
|
6061
6061
|
parse: (raw, opts) => {
|
|
@@ -6089,7 +6089,7 @@ function validateAndTransformUndiscriminatedUnion(transform2, schemas, opts) {
|
|
|
6089
6089
|
};
|
|
6090
6090
|
}
|
|
6091
6091
|
|
|
6092
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6092
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/union/discriminant.mjs
|
|
6093
6093
|
function discriminant(parsedDiscriminant, rawDiscriminant) {
|
|
6094
6094
|
return {
|
|
6095
6095
|
parsedDiscriminant,
|
|
@@ -6097,7 +6097,7 @@ function discriminant(parsedDiscriminant, rawDiscriminant) {
|
|
|
6097
6097
|
};
|
|
6098
6098
|
}
|
|
6099
6099
|
|
|
6100
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6100
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/schemas/builders/union/union.mjs
|
|
6101
6101
|
var _hasOwn4 = Object.prototype.hasOwnProperty;
|
|
6102
6102
|
function union(discriminant2, union2) {
|
|
6103
6103
|
const rawDiscriminant = typeof discriminant2 === "string" ? discriminant2 : discriminant2.rawDiscriminant;
|
|
@@ -6210,7 +6210,7 @@ function transformAndValidateUnion({ value, discriminant: discriminant2, transfo
|
|
|
6210
6210
|
};
|
|
6211
6211
|
}
|
|
6212
6212
|
|
|
6213
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6213
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/url/index.mjs
|
|
6214
6214
|
var url_exports = {};
|
|
6215
6215
|
__export(url_exports, {
|
|
6216
6216
|
encodePathParam: () => encodePathParam,
|
|
@@ -6218,7 +6218,7 @@ __export(url_exports, {
|
|
|
6218
6218
|
toQueryString: () => toQueryString
|
|
6219
6219
|
});
|
|
6220
6220
|
|
|
6221
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6221
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/url/encodePathParam.mjs
|
|
6222
6222
|
function encodePathParam(param) {
|
|
6223
6223
|
if (param === null) {
|
|
6224
6224
|
return "null";
|
|
@@ -6238,7 +6238,7 @@ function encodePathParam(param) {
|
|
|
6238
6238
|
return encodeURIComponent(param);
|
|
6239
6239
|
}
|
|
6240
6240
|
|
|
6241
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6241
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/url/join.mjs
|
|
6242
6242
|
function join(base, ...segments) {
|
|
6243
6243
|
if (!base) {
|
|
6244
6244
|
return "";
|
|
@@ -6304,7 +6304,7 @@ function trimSlashes(str) {
|
|
|
6304
6304
|
return start === 0 && end === str.length ? str : str.slice(start, end);
|
|
6305
6305
|
}
|
|
6306
6306
|
|
|
6307
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6307
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/utils/setObjectProperty.mjs
|
|
6308
6308
|
function setObjectProperty(object2, path, value) {
|
|
6309
6309
|
if (object2 == null) {
|
|
6310
6310
|
return object2;
|
|
@@ -6332,10 +6332,10 @@ function setObjectProperty(object2, path, value) {
|
|
|
6332
6332
|
return object2;
|
|
6333
6333
|
}
|
|
6334
6334
|
|
|
6335
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6335
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/websocket/ws.mjs
|
|
6336
6336
|
var import_ws = __toESM(require_browser(), 1);
|
|
6337
6337
|
|
|
6338
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6338
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/websocket/events.mjs
|
|
6339
6339
|
var Event2 = class {
|
|
6340
6340
|
constructor(type, target) {
|
|
6341
6341
|
this.target = target;
|
|
@@ -6358,7 +6358,7 @@ var CloseEvent = class extends Event2 {
|
|
|
6358
6358
|
}
|
|
6359
6359
|
};
|
|
6360
6360
|
|
|
6361
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6361
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/websocket/ws.mjs
|
|
6362
6362
|
var getGlobalWebSocket = () => {
|
|
6363
6363
|
if (RUNTIME.type === "node" || RUNTIME.type === "bun" || RUNTIME.type === "deno") {
|
|
6364
6364
|
return import_ws.WebSocket;
|
|
@@ -6757,13 +6757,13 @@ ReconnectingWebSocket.OPEN = 1;
|
|
|
6757
6757
|
ReconnectingWebSocket.CLOSING = 2;
|
|
6758
6758
|
ReconnectingWebSocket.CLOSED = 3;
|
|
6759
6759
|
|
|
6760
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6760
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateMcpServerAuthorizationType.mjs
|
|
6761
6761
|
var AgentsCreateMcpServerAuthorizationType = schemas_exports.enum_(["none", "bearer", "inherit", "oauth2.0"]);
|
|
6762
6762
|
|
|
6763
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6763
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateMcpServerTransportType.mjs
|
|
6764
6764
|
var AgentsCreateMcpServerTransportType = schemas_exports.enum_(["stdio", "streamable_http", "sse"]);
|
|
6765
6765
|
|
|
6766
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6766
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateMcpServer.mjs
|
|
6767
6767
|
var AgentsCreateMcpServer = schemas_exports.object({
|
|
6768
6768
|
name: schemas_exports.string(),
|
|
6769
6769
|
description: schemas_exports.string().optional(),
|
|
@@ -6775,13 +6775,13 @@ var AgentsCreateMcpServer = schemas_exports.object({
|
|
|
6775
6775
|
token: schemas_exports.string().optional()
|
|
6776
6776
|
});
|
|
6777
6777
|
|
|
6778
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6778
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/types/AgentsCreateAgentAgentType.mjs
|
|
6779
6779
|
var AgentsCreateAgentAgentType = schemas_exports.enum_(["expert", "orchestrator", "interviewing-expert"]);
|
|
6780
6780
|
|
|
6781
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6781
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateExpertType.mjs
|
|
6782
6782
|
var AgentsCreateExpertType = schemas_exports.enum_(["new"]);
|
|
6783
6783
|
|
|
6784
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6784
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateExpert.mjs
|
|
6785
6785
|
var AgentsCreateExpert = schemas_exports.object({
|
|
6786
6786
|
type: AgentsCreateExpertType,
|
|
6787
6787
|
name: schemas_exports.string(),
|
|
@@ -6790,10 +6790,10 @@ var AgentsCreateExpert = schemas_exports.object({
|
|
|
6790
6790
|
mcpServers: schemas_exports.list(AgentsCreateMcpServer).optional()
|
|
6791
6791
|
});
|
|
6792
6792
|
|
|
6793
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6793
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateExpertReferenceType.mjs
|
|
6794
6794
|
var AgentsCreateExpertReferenceType = schemas_exports.enum_(["reference"]);
|
|
6795
6795
|
|
|
6796
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6796
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsCreateExpertReference.mjs
|
|
6797
6797
|
var AgentsCreateExpertReference = schemas_exports.object({
|
|
6798
6798
|
type: AgentsCreateExpertReferenceType,
|
|
6799
6799
|
id: schemas_exports.string().optional(),
|
|
@@ -6802,10 +6802,10 @@ var AgentsCreateExpertReference = schemas_exports.object({
|
|
|
6802
6802
|
config: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
6803
6803
|
});
|
|
6804
6804
|
|
|
6805
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6805
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/types/AgentsCreateAgentExpertsItem.mjs
|
|
6806
6806
|
var AgentsCreateAgentExpertsItem = schemas_exports.undiscriminatedUnion([AgentsCreateExpert, AgentsCreateExpertReference]);
|
|
6807
6807
|
|
|
6808
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6808
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.mjs
|
|
6809
6809
|
var AgentsCreateAgent = schemas_exports.object({
|
|
6810
6810
|
name: schemas_exports.string(),
|
|
6811
6811
|
agentType: AgentsCreateAgentAgentType.optional(),
|
|
@@ -6815,63 +6815,63 @@ var AgentsCreateAgent = schemas_exports.object({
|
|
|
6815
6815
|
mcpServers: schemas_exports.list(AgentsCreateMcpServer).optional()
|
|
6816
6816
|
});
|
|
6817
6817
|
|
|
6818
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6818
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMessageKind.mjs
|
|
6819
6819
|
var AgentsMessageKind = schemas_exports.enum_(["message"]);
|
|
6820
6820
|
|
|
6821
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6821
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMessageRole.mjs
|
|
6822
6822
|
var AgentsMessageRole = schemas_exports.enum_(["user", "agent"]);
|
|
6823
6823
|
|
|
6824
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6824
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsDataPartKind.mjs
|
|
6825
6825
|
var AgentsDataPartKind = schemas_exports.enum_(["data"]);
|
|
6826
6826
|
|
|
6827
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6827
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsDataPart.mjs
|
|
6828
6828
|
var AgentsDataPart = schemas_exports.object({
|
|
6829
6829
|
kind: AgentsDataPartKind,
|
|
6830
6830
|
data: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()),
|
|
6831
6831
|
metadata: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
6832
6832
|
});
|
|
6833
6833
|
|
|
6834
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6834
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsFileWithBytes.mjs
|
|
6835
6835
|
var AgentsFileWithBytes = schemas_exports.object({
|
|
6836
6836
|
bytes: schemas_exports.string(),
|
|
6837
6837
|
name: schemas_exports.string().optional(),
|
|
6838
6838
|
mimeType: schemas_exports.string().optional()
|
|
6839
6839
|
});
|
|
6840
6840
|
|
|
6841
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6841
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsFileWithUri.mjs
|
|
6842
6842
|
var AgentsFileWithUri = schemas_exports.object({
|
|
6843
6843
|
uri: schemas_exports.string(),
|
|
6844
6844
|
name: schemas_exports.string().optional(),
|
|
6845
6845
|
mimeType: schemas_exports.string().optional()
|
|
6846
6846
|
});
|
|
6847
6847
|
|
|
6848
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6848
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsFilePartFile.mjs
|
|
6849
6849
|
var AgentsFilePartFile = schemas_exports.undiscriminatedUnion([AgentsFileWithUri, AgentsFileWithBytes]);
|
|
6850
6850
|
|
|
6851
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6851
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsFilePartKind.mjs
|
|
6852
6852
|
var AgentsFilePartKind = schemas_exports.enum_(["file"]);
|
|
6853
6853
|
|
|
6854
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6854
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsFilePart.mjs
|
|
6855
6855
|
var AgentsFilePart = schemas_exports.object({
|
|
6856
6856
|
kind: AgentsFilePartKind,
|
|
6857
6857
|
file: AgentsFilePartFile.optional(),
|
|
6858
6858
|
metadata: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
6859
6859
|
});
|
|
6860
6860
|
|
|
6861
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6861
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsTextPartKind.mjs
|
|
6862
6862
|
var AgentsTextPartKind = schemas_exports.enum_(["text"]);
|
|
6863
6863
|
|
|
6864
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6864
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsTextPart.mjs
|
|
6865
6865
|
var AgentsTextPart = schemas_exports.object({
|
|
6866
6866
|
kind: AgentsTextPartKind,
|
|
6867
6867
|
text: schemas_exports.string(),
|
|
6868
6868
|
metadata: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
6869
6869
|
});
|
|
6870
6870
|
|
|
6871
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6871
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsPart.mjs
|
|
6872
6872
|
var AgentsPart = schemas_exports.undiscriminatedUnion([AgentsTextPart, AgentsFilePart, AgentsDataPart]);
|
|
6873
6873
|
|
|
6874
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6874
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMessage.mjs
|
|
6875
6875
|
var AgentsMessage = schemas_exports.object({
|
|
6876
6876
|
role: AgentsMessageRole,
|
|
6877
6877
|
parts: schemas_exports.list(AgentsPart),
|
|
@@ -6884,13 +6884,13 @@ var AgentsMessage = schemas_exports.object({
|
|
|
6884
6884
|
kind: AgentsMessageKind
|
|
6885
6885
|
});
|
|
6886
6886
|
|
|
6887
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6887
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsPushNotificationAuthenticationInfo.mjs
|
|
6888
6888
|
var AgentsPushNotificationAuthenticationInfo = schemas_exports.object({
|
|
6889
6889
|
schemes: schemas_exports.list(schemas_exports.string()),
|
|
6890
6890
|
credentials: schemas_exports.string().optional()
|
|
6891
6891
|
});
|
|
6892
6892
|
|
|
6893
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6893
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsPushNotificationConfig.mjs
|
|
6894
6894
|
var AgentsPushNotificationConfig = schemas_exports.object({
|
|
6895
6895
|
id: schemas_exports.string().optional(),
|
|
6896
6896
|
url: schemas_exports.string(),
|
|
@@ -6898,7 +6898,7 @@ var AgentsPushNotificationConfig = schemas_exports.object({
|
|
|
6898
6898
|
authentication: AgentsPushNotificationAuthenticationInfo.optional()
|
|
6899
6899
|
});
|
|
6900
6900
|
|
|
6901
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6901
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMessageSendConfiguration.mjs
|
|
6902
6902
|
var AgentsMessageSendConfiguration = schemas_exports.object({
|
|
6903
6903
|
acceptedOutputModes: schemas_exports.list(schemas_exports.string()).optional(),
|
|
6904
6904
|
historyLength: schemas_exports.number().optional(),
|
|
@@ -6906,20 +6906,20 @@ var AgentsMessageSendConfiguration = schemas_exports.object({
|
|
|
6906
6906
|
blocking: schemas_exports.boolean().optional()
|
|
6907
6907
|
});
|
|
6908
6908
|
|
|
6909
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6909
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/client/requests/AgentsMessageSendParams.mjs
|
|
6910
6910
|
var AgentsMessageSendParams = schemas_exports.object({
|
|
6911
6911
|
message: AgentsMessage,
|
|
6912
6912
|
configuration: AgentsMessageSendConfiguration.optional(),
|
|
6913
6913
|
metadata: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
6914
6914
|
});
|
|
6915
6915
|
|
|
6916
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6916
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsUpdateExpertReference.mjs
|
|
6917
6917
|
var AgentsUpdateExpertReference = AgentsCreateExpertReference;
|
|
6918
6918
|
|
|
6919
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6919
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.mjs
|
|
6920
6920
|
var AgentsUpdateAgentExpertsItem = schemas_exports.undiscriminatedUnion([AgentsCreateExpert, AgentsUpdateExpertReference]);
|
|
6921
6921
|
|
|
6922
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6922
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/client/requests/AgentsUpdateAgent.mjs
|
|
6923
6923
|
var AgentsUpdateAgent = schemas_exports.object({
|
|
6924
6924
|
name: schemas_exports.string().optional(),
|
|
6925
6925
|
systemPrompt: schemas_exports.string().optional(),
|
|
@@ -6928,7 +6928,7 @@ var AgentsUpdateAgent = schemas_exports.object({
|
|
|
6928
6928
|
mcpServers: schemas_exports.list(AgentsCreateMcpServer).optional()
|
|
6929
6929
|
});
|
|
6930
6930
|
|
|
6931
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6931
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/index.mjs
|
|
6932
6932
|
var agents_exports = {};
|
|
6933
6933
|
__export(agents_exports, {
|
|
6934
6934
|
AgentsCreateAgent: () => AgentsCreateAgent,
|
|
@@ -6941,22 +6941,22 @@ __export(agents_exports, {
|
|
|
6941
6941
|
list: () => list_exports
|
|
6942
6942
|
});
|
|
6943
6943
|
|
|
6944
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6944
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/client/list.mjs
|
|
6945
6945
|
var list_exports = {};
|
|
6946
6946
|
__export(list_exports, {
|
|
6947
6947
|
Response: () => Response
|
|
6948
6948
|
});
|
|
6949
6949
|
|
|
6950
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6950
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsExpertType.mjs
|
|
6951
6951
|
var AgentsExpertType = schemas_exports.enum_(["expert"]);
|
|
6952
6952
|
|
|
6953
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6953
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMcpServerAuthorizationType.mjs
|
|
6954
6954
|
var AgentsMcpServerAuthorizationType = schemas_exports.enum_(["none", "bearer", "inherit", "oauth2.0"]);
|
|
6955
6955
|
|
|
6956
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6956
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMcpServerTransportType.mjs
|
|
6957
6957
|
var AgentsMcpServerTransportType = schemas_exports.enum_(["stdio", "streamable_http", "sse"]);
|
|
6958
6958
|
|
|
6959
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6959
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsMcpServer.mjs
|
|
6960
6960
|
var AgentsMcpServer = schemas_exports.object({
|
|
6961
6961
|
id: schemas_exports.string(),
|
|
6962
6962
|
name: schemas_exports.string(),
|
|
@@ -6967,7 +6967,7 @@ var AgentsMcpServer = schemas_exports.object({
|
|
|
6967
6967
|
redirectUrl: schemas_exports.string().optionalNullable()
|
|
6968
6968
|
});
|
|
6969
6969
|
|
|
6970
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6970
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsExpert.mjs
|
|
6971
6971
|
var AgentsExpert = schemas_exports.object({
|
|
6972
6972
|
type: AgentsExpertType,
|
|
6973
6973
|
id: schemas_exports.string(),
|
|
@@ -6977,10 +6977,10 @@ var AgentsExpert = schemas_exports.object({
|
|
|
6977
6977
|
mcpServers: schemas_exports.list(AgentsMcpServer).optional()
|
|
6978
6978
|
});
|
|
6979
6979
|
|
|
6980
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6980
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsExpertReferenceType.mjs
|
|
6981
6981
|
var AgentsExpertReferenceType = schemas_exports.enum_(["reference"]);
|
|
6982
6982
|
|
|
6983
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6983
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsExpertReference.mjs
|
|
6984
6984
|
var AgentsExpertReference = schemas_exports.object({
|
|
6985
6985
|
type: AgentsExpertReferenceType,
|
|
6986
6986
|
id: schemas_exports.string(),
|
|
@@ -6989,10 +6989,10 @@ var AgentsExpertReference = schemas_exports.object({
|
|
|
6989
6989
|
resolvedConfig: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
6990
6990
|
});
|
|
6991
6991
|
|
|
6992
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6992
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentExpertsItem.mjs
|
|
6993
6993
|
var AgentsAgentExpertsItem = schemas_exports.undiscriminatedUnion([AgentsExpert, AgentsExpertReference]);
|
|
6994
6994
|
|
|
6995
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
6995
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgent.mjs
|
|
6996
6996
|
var AgentsAgent = schemas_exports.object({
|
|
6997
6997
|
id: schemas_exports.string(),
|
|
6998
6998
|
name: schemas_exports.string(),
|
|
@@ -7002,23 +7002,23 @@ var AgentsAgent = schemas_exports.object({
|
|
|
7002
7002
|
mcpServers: schemas_exports.list(AgentsMcpServer).optional()
|
|
7003
7003
|
});
|
|
7004
7004
|
|
|
7005
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7005
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentReferenceType.mjs
|
|
7006
7006
|
var AgentsAgentReferenceType = schemas_exports.enum_(["reference"]);
|
|
7007
7007
|
|
|
7008
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7008
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentReference.mjs
|
|
7009
7009
|
var AgentsAgentReference = schemas_exports.object({
|
|
7010
7010
|
type: AgentsAgentReferenceType,
|
|
7011
7011
|
id: schemas_exports.string().optional(),
|
|
7012
7012
|
name: schemas_exports.string().optional()
|
|
7013
7013
|
});
|
|
7014
7014
|
|
|
7015
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7015
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentResponse.mjs
|
|
7016
7016
|
var AgentsAgentResponse = schemas_exports.undiscriminatedUnion([AgentsAgent, AgentsAgentReference]);
|
|
7017
7017
|
|
|
7018
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7018
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/client/list.mjs
|
|
7019
7019
|
var Response = schemas_exports.list(AgentsAgentResponse);
|
|
7020
7020
|
|
|
7021
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7021
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsArtifact.mjs
|
|
7022
7022
|
var AgentsArtifact = schemas_exports.object({
|
|
7023
7023
|
artifactId: schemas_exports.string(),
|
|
7024
7024
|
name: schemas_exports.string().optional(),
|
|
@@ -7028,10 +7028,10 @@ var AgentsArtifact = schemas_exports.object({
|
|
|
7028
7028
|
extensions: schemas_exports.list(schemas_exports.string()).optional()
|
|
7029
7029
|
});
|
|
7030
7030
|
|
|
7031
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7031
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsTaskKind.mjs
|
|
7032
7032
|
var AgentsTaskKind = schemas_exports.enum_(["task"]);
|
|
7033
7033
|
|
|
7034
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7034
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsTaskStatusState.mjs
|
|
7035
7035
|
var AgentsTaskStatusState = schemas_exports.enum_([
|
|
7036
7036
|
"submitted",
|
|
7037
7037
|
"working",
|
|
@@ -7044,14 +7044,14 @@ var AgentsTaskStatusState = schemas_exports.enum_([
|
|
|
7044
7044
|
"unknown"
|
|
7045
7045
|
]);
|
|
7046
7046
|
|
|
7047
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7047
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsTaskStatus.mjs
|
|
7048
7048
|
var AgentsTaskStatus = schemas_exports.object({
|
|
7049
7049
|
state: AgentsTaskStatusState,
|
|
7050
7050
|
message: AgentsMessage.optional(),
|
|
7051
7051
|
timestamp: schemas_exports.date().optional()
|
|
7052
7052
|
});
|
|
7053
7053
|
|
|
7054
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7054
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsTask.mjs
|
|
7055
7055
|
var AgentsTask = schemas_exports.object({
|
|
7056
7056
|
id: schemas_exports.string(),
|
|
7057
7057
|
contextId: schemas_exports.string(),
|
|
@@ -7062,13 +7062,13 @@ var AgentsTask = schemas_exports.object({
|
|
|
7062
7062
|
kind: AgentsTaskKind
|
|
7063
7063
|
});
|
|
7064
7064
|
|
|
7065
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7065
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/agents/types/AgentsMessageSendResponse.mjs
|
|
7066
7066
|
var AgentsMessageSendResponse = schemas_exports.object({
|
|
7067
7067
|
message: AgentsMessage.optional(),
|
|
7068
7068
|
task: AgentsTask.optional()
|
|
7069
7069
|
});
|
|
7070
7070
|
|
|
7071
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7071
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AuthTokenRequestAuthorizationCode.mjs
|
|
7072
7072
|
var AuthTokenRequestAuthorizationCode = schemas_exports.object({
|
|
7073
7073
|
clientId: schemas_exports.property("client_id", schemas_exports.string()),
|
|
7074
7074
|
clientSecret: schemas_exports.property("client_secret", schemas_exports.string()),
|
|
@@ -7078,7 +7078,7 @@ var AuthTokenRequestAuthorizationCode = schemas_exports.object({
|
|
|
7078
7078
|
scope: schemas_exports.string().optional()
|
|
7079
7079
|
});
|
|
7080
7080
|
|
|
7081
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7081
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AuthTokenRequestAuthorizationPkce.mjs
|
|
7082
7082
|
var AuthTokenRequestAuthorizationPkce = schemas_exports.object({
|
|
7083
7083
|
clientId: schemas_exports.property("client_id", schemas_exports.string()),
|
|
7084
7084
|
grantType: schemas_exports.property("grant_type", schemas_exports.stringLiteral("authorization_code")),
|
|
@@ -7088,7 +7088,7 @@ var AuthTokenRequestAuthorizationPkce = schemas_exports.object({
|
|
|
7088
7088
|
scope: schemas_exports.string().optional()
|
|
7089
7089
|
});
|
|
7090
7090
|
|
|
7091
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7091
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AuthTokenRequestClientCredentials.mjs
|
|
7092
7092
|
var AuthTokenRequestClientCredentials = schemas_exports.object({
|
|
7093
7093
|
clientId: schemas_exports.property("client_id", schemas_exports.string()),
|
|
7094
7094
|
clientSecret: schemas_exports.property("client_secret", schemas_exports.string()),
|
|
@@ -7096,7 +7096,7 @@ var AuthTokenRequestClientCredentials = schemas_exports.object({
|
|
|
7096
7096
|
scope: schemas_exports.string().optional()
|
|
7097
7097
|
});
|
|
7098
7098
|
|
|
7099
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7099
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AuthTokenRequestRefresh.mjs
|
|
7100
7100
|
var AuthTokenRequestRefresh = schemas_exports.object({
|
|
7101
7101
|
clientId: schemas_exports.property("client_id", schemas_exports.string()),
|
|
7102
7102
|
clientSecret: schemas_exports.property("client_secret", schemas_exports.string().optional()),
|
|
@@ -7105,7 +7105,7 @@ var AuthTokenRequestRefresh = schemas_exports.object({
|
|
|
7105
7105
|
scope: schemas_exports.string().optional()
|
|
7106
7106
|
});
|
|
7107
7107
|
|
|
7108
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7108
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AuthTokenRequestRopc.mjs
|
|
7109
7109
|
var AuthTokenRequestRopc = schemas_exports.object({
|
|
7110
7110
|
clientId: schemas_exports.property("client_id", schemas_exports.string()),
|
|
7111
7111
|
grantType: schemas_exports.property("grant_type", schemas_exports.stringLiteral("password")),
|
|
@@ -7114,7 +7114,7 @@ var AuthTokenRequestRopc = schemas_exports.object({
|
|
|
7114
7114
|
scope: schemas_exports.string().optional()
|
|
7115
7115
|
});
|
|
7116
7116
|
|
|
7117
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7117
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/auth/types/AuthTokenRequestBody.mjs
|
|
7118
7118
|
var AuthTokenRequestBody = schemas_exports.undiscriminatedUnion([
|
|
7119
7119
|
AuthTokenRequestClientCredentials,
|
|
7120
7120
|
AuthTokenRequestAuthorizationCode,
|
|
@@ -7123,32 +7123,32 @@ var AuthTokenRequestBody = schemas_exports.undiscriminatedUnion([
|
|
|
7123
7123
|
AuthTokenRequestRefresh
|
|
7124
7124
|
]);
|
|
7125
7125
|
|
|
7126
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7126
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CodesFilter.mjs
|
|
7127
7127
|
var CodesFilter = schemas_exports.object({
|
|
7128
7128
|
include: schemas_exports.list(schemas_exports.string()).optional(),
|
|
7129
7129
|
exclude: schemas_exports.list(schemas_exports.string()).optional(),
|
|
7130
7130
|
expand: schemas_exports.boolean().optional()
|
|
7131
7131
|
});
|
|
7132
7132
|
|
|
7133
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7133
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonDocumentIdContextType.mjs
|
|
7134
7134
|
var CommonDocumentIdContextType = schemas_exports.enum_(["documentId"]);
|
|
7135
7135
|
|
|
7136
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7136
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonDocumentIdContext.mjs
|
|
7137
7137
|
var CommonDocumentIdContext = schemas_exports.object({
|
|
7138
7138
|
type: CommonDocumentIdContextType,
|
|
7139
7139
|
documentId: schemas_exports.string()
|
|
7140
7140
|
});
|
|
7141
7141
|
|
|
7142
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7142
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonTextContext.mjs
|
|
7143
7143
|
var CommonTextContext = schemas_exports.object({
|
|
7144
7144
|
type: schemas_exports.stringLiteral("text"),
|
|
7145
7145
|
text: schemas_exports.string()
|
|
7146
7146
|
});
|
|
7147
7147
|
|
|
7148
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7148
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonAiContext.mjs
|
|
7149
7149
|
var CommonAiContext = schemas_exports.undiscriminatedUnion([CommonTextContext, CommonDocumentIdContext]);
|
|
7150
7150
|
|
|
7151
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7151
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonCodingSystemEnum.mjs
|
|
7152
7152
|
var CommonCodingSystemEnum = schemas_exports.enum_([
|
|
7153
7153
|
"icd10cm-inpatient",
|
|
7154
7154
|
"icd10cm-outpatient",
|
|
@@ -7167,14 +7167,14 @@ var CommonCodingSystemEnum = schemas_exports.enum_([
|
|
|
7167
7167
|
"ccam"
|
|
7168
7168
|
]);
|
|
7169
7169
|
|
|
7170
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7170
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs
|
|
7171
7171
|
var CodesGeneralPredictRequest = schemas_exports.object({
|
|
7172
7172
|
system: schemas_exports.list(CommonCodingSystemEnum),
|
|
7173
7173
|
context: schemas_exports.list(CommonAiContext),
|
|
7174
7174
|
filter: CodesFilter.optional()
|
|
7175
7175
|
});
|
|
7176
7176
|
|
|
7177
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7177
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsSectionInput.mjs
|
|
7178
7178
|
var DocumentsSectionInput = schemas_exports.object({
|
|
7179
7179
|
key: schemas_exports.string(),
|
|
7180
7180
|
name: schemas_exports.string().optional(),
|
|
@@ -7182,13 +7182,13 @@ var DocumentsSectionInput = schemas_exports.object({
|
|
|
7182
7182
|
sort: schemas_exports.number().optional()
|
|
7183
7183
|
});
|
|
7184
7184
|
|
|
7185
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7185
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/client/requests/DocumentsUpdateRequest.mjs
|
|
7186
7186
|
var DocumentsUpdateRequest = schemas_exports.object({
|
|
7187
7187
|
name: schemas_exports.string().optional(),
|
|
7188
7188
|
sections: schemas_exports.list(DocumentsSectionInput).optional()
|
|
7189
7189
|
});
|
|
7190
7190
|
|
|
7191
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7191
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/index.mjs
|
|
7192
7192
|
var documents_exports = {};
|
|
7193
7193
|
__export(documents_exports, {
|
|
7194
7194
|
DocumentsUpdateRequest: () => DocumentsUpdateRequest,
|
|
@@ -7198,13 +7198,13 @@ __export(documents_exports, {
|
|
|
7198
7198
|
templates: () => templates_exports
|
|
7199
7199
|
});
|
|
7200
7200
|
|
|
7201
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7201
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedLabel.mjs
|
|
7202
7202
|
var GuidedLabel = schemas_exports.object({
|
|
7203
7203
|
key: schemas_exports.string(),
|
|
7204
7204
|
value: schemas_exports.string()
|
|
7205
7205
|
});
|
|
7206
7206
|
|
|
7207
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7207
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/client/requests/GuidedSectionsUpdateRequest.mjs
|
|
7208
7208
|
var GuidedSectionsUpdateRequest = schemas_exports.object({
|
|
7209
7209
|
name: schemas_exports.string().optional(),
|
|
7210
7210
|
description: schemas_exports.string().optional(),
|
|
@@ -7214,7 +7214,7 @@ var GuidedSectionsUpdateRequest = schemas_exports.object({
|
|
|
7214
7214
|
labels: schemas_exports.list(GuidedLabel).optional()
|
|
7215
7215
|
});
|
|
7216
7216
|
|
|
7217
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7217
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/index.mjs
|
|
7218
7218
|
var sections_exports = {};
|
|
7219
7219
|
__export(sections_exports, {
|
|
7220
7220
|
GuidedSectionsCreateVersionRequest: () => GuidedSectionsCreateVersionRequest,
|
|
@@ -7223,107 +7223,94 @@ __export(sections_exports, {
|
|
|
7223
7223
|
versions: () => versions_exports
|
|
7224
7224
|
});
|
|
7225
7225
|
|
|
7226
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7226
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/client/list.mjs
|
|
7227
7227
|
var list_exports2 = {};
|
|
7228
7228
|
__export(list_exports2, {
|
|
7229
7229
|
Response: () => Response2
|
|
7230
7230
|
});
|
|
7231
7231
|
|
|
7232
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7233
|
-
var
|
|
7232
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionListItemSource.mjs
|
|
7233
|
+
var GuidedSectionListItemSource = schemas_exports.enum_(["user", "corti", "project"]);
|
|
7234
7234
|
|
|
7235
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7236
|
-
var
|
|
7237
|
-
id: schemas_exports.string(),
|
|
7238
|
-
kind: GuidedTemplatePolicyKind,
|
|
7239
|
-
customerIds: schemas_exports.list(schemas_exports.string()).optionalNullable(),
|
|
7240
|
-
sectionId: schemas_exports.string(),
|
|
7241
|
-
createdBy: schemas_exports.string(),
|
|
7242
|
-
createdAt: schemas_exports.date(),
|
|
7243
|
-
updatedAt: schemas_exports.date()
|
|
7244
|
-
});
|
|
7245
|
-
|
|
7246
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionSource.mjs
|
|
7247
|
-
var GuidedSectionSource = schemas_exports.enum_(["user", "corti"]);
|
|
7248
|
-
|
|
7249
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionInstructions.mjs
|
|
7250
|
-
var GuidedSectionInstructions = schemas_exports.object({
|
|
7251
|
-
contentPrompt: schemas_exports.string(),
|
|
7252
|
-
writingStylePrompt: schemas_exports.string().optional(),
|
|
7253
|
-
miscPrompt: schemas_exports.string().optional()
|
|
7254
|
-
});
|
|
7255
|
-
|
|
7256
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionGeneration.mjs
|
|
7257
|
-
var GuidedSectionGeneration = schemas_exports.object({
|
|
7258
|
-
heading: schemas_exports.string(),
|
|
7259
|
-
instructions: GuidedSectionInstructions,
|
|
7260
|
-
outputSchema: schemas_exports.lazy(() => GuidedOutputSchema)
|
|
7261
|
-
});
|
|
7262
|
-
|
|
7263
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionVersion.mjs
|
|
7264
|
-
var GuidedSectionVersion = schemas_exports.object({
|
|
7265
|
-
id: schemas_exports.string(),
|
|
7266
|
-
versionNumber: schemas_exports.number(),
|
|
7267
|
-
deletedAt: schemas_exports.date().optionalNullable(),
|
|
7268
|
-
generation: GuidedSectionGeneration
|
|
7269
|
-
});
|
|
7270
|
-
|
|
7271
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSection.mjs
|
|
7272
|
-
var GuidedSection = schemas_exports.object({
|
|
7235
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionListItem.mjs
|
|
7236
|
+
var GuidedSectionListItem = schemas_exports.object({
|
|
7273
7237
|
id: schemas_exports.string(),
|
|
7274
7238
|
inheritedFromId: schemas_exports.string().optionalNullable(),
|
|
7275
7239
|
autoGenerated: schemas_exports.boolean().optional(),
|
|
7276
|
-
source:
|
|
7240
|
+
source: GuidedSectionListItemSource.optional(),
|
|
7277
7241
|
name: schemas_exports.string(),
|
|
7278
7242
|
languages: schemas_exports.list(schemas_exports.string()),
|
|
7279
7243
|
regions: schemas_exports.list(schemas_exports.string()),
|
|
7280
7244
|
specialties: schemas_exports.list(schemas_exports.string()),
|
|
7281
7245
|
description: schemas_exports.string().optional(),
|
|
7282
7246
|
labels: schemas_exports.list(GuidedLabel),
|
|
7283
|
-
|
|
7247
|
+
createdBy: schemas_exports.string().optional(),
|
|
7284
7248
|
createdAt: schemas_exports.date(),
|
|
7285
7249
|
updatedAt: schemas_exports.date(),
|
|
7286
|
-
deletedAt: schemas_exports.date().optionalNullable()
|
|
7287
|
-
policies: schemas_exports.list(GuidedSectionPolicy).optional()
|
|
7250
|
+
deletedAt: schemas_exports.date().optionalNullable()
|
|
7288
7251
|
});
|
|
7289
7252
|
|
|
7290
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7291
|
-
var Response2 = schemas_exports.list(
|
|
7253
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/client/list.mjs
|
|
7254
|
+
var Response2 = schemas_exports.list(GuidedSectionListItem);
|
|
7292
7255
|
|
|
7293
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7256
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionInstructionsPartial.mjs
|
|
7294
7257
|
var GuidedSectionInstructionsPartial = schemas_exports.object({
|
|
7295
7258
|
contentPrompt: schemas_exports.string().optional(),
|
|
7296
7259
|
writingStylePrompt: schemas_exports.string().optional(),
|
|
7297
7260
|
miscPrompt: schemas_exports.string().optional()
|
|
7298
7261
|
});
|
|
7299
7262
|
|
|
7300
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7263
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionGenerationPartial.mjs
|
|
7301
7264
|
var GuidedSectionGenerationPartial = schemas_exports.object({
|
|
7302
7265
|
heading: schemas_exports.string().optional(),
|
|
7303
7266
|
instructions: GuidedSectionInstructionsPartial.optional(),
|
|
7304
7267
|
outputSchema: schemas_exports.lazy(() => GuidedOutputSchema).optional()
|
|
7305
7268
|
});
|
|
7306
7269
|
|
|
7307
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7270
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/GuidedSectionsCreateVersionRequest.mjs
|
|
7308
7271
|
var GuidedSectionsCreateVersionRequest = schemas_exports.object({
|
|
7309
7272
|
generation: GuidedSectionGenerationPartial
|
|
7310
7273
|
});
|
|
7311
7274
|
|
|
7312
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7275
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/resources/versions/index.mjs
|
|
7313
7276
|
var versions_exports = {};
|
|
7314
7277
|
__export(versions_exports, {
|
|
7315
7278
|
GuidedSectionsCreateVersionRequest: () => GuidedSectionsCreateVersionRequest,
|
|
7316
7279
|
list: () => list_exports3
|
|
7317
7280
|
});
|
|
7318
7281
|
|
|
7319
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7282
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.mjs
|
|
7320
7283
|
var list_exports3 = {};
|
|
7321
7284
|
__export(list_exports3, {
|
|
7322
7285
|
Response: () => Response3
|
|
7323
7286
|
});
|
|
7287
|
+
|
|
7288
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionInstructions.mjs
|
|
7289
|
+
var GuidedSectionInstructions = schemas_exports.object({
|
|
7290
|
+
contentPrompt: schemas_exports.string(),
|
|
7291
|
+
writingStylePrompt: schemas_exports.string().optional(),
|
|
7292
|
+
miscPrompt: schemas_exports.string().optional()
|
|
7293
|
+
});
|
|
7294
|
+
|
|
7295
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionGeneration.mjs
|
|
7296
|
+
var GuidedSectionGeneration = schemas_exports.object({
|
|
7297
|
+
heading: schemas_exports.string(),
|
|
7298
|
+
instructions: GuidedSectionInstructions,
|
|
7299
|
+
outputSchema: schemas_exports.lazy(() => GuidedOutputSchema)
|
|
7300
|
+
});
|
|
7301
|
+
|
|
7302
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionVersion.mjs
|
|
7303
|
+
var GuidedSectionVersion = schemas_exports.object({
|
|
7304
|
+
id: schemas_exports.string(),
|
|
7305
|
+
versionNumber: schemas_exports.number(),
|
|
7306
|
+
deletedAt: schemas_exports.date().optionalNullable(),
|
|
7307
|
+
generation: GuidedSectionGeneration
|
|
7308
|
+
});
|
|
7309
|
+
|
|
7310
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.mjs
|
|
7324
7311
|
var Response3 = schemas_exports.list(GuidedSectionVersion);
|
|
7325
7312
|
|
|
7326
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7313
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/client/requests/GuidedTemplatesUpdateRequest.mjs
|
|
7327
7314
|
var GuidedTemplatesUpdateRequest = schemas_exports.object({
|
|
7328
7315
|
name: schemas_exports.string().optional(),
|
|
7329
7316
|
description: schemas_exports.string().optional(),
|
|
@@ -7333,7 +7320,7 @@ var GuidedTemplatesUpdateRequest = schemas_exports.object({
|
|
|
7333
7320
|
labels: schemas_exports.list(GuidedLabel).optional()
|
|
7334
7321
|
});
|
|
7335
7322
|
|
|
7336
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7323
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/index.mjs
|
|
7337
7324
|
var templates_exports = {};
|
|
7338
7325
|
__export(templates_exports, {
|
|
7339
7326
|
GuidedTemplatesCreateVersionRequest: () => GuidedTemplatesCreateVersionRequest,
|
|
@@ -7342,115 +7329,89 @@ __export(templates_exports, {
|
|
|
7342
7329
|
versions: () => versions_exports2
|
|
7343
7330
|
});
|
|
7344
7331
|
|
|
7345
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7332
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/client/list.mjs
|
|
7346
7333
|
var list_exports4 = {};
|
|
7347
7334
|
__export(list_exports4, {
|
|
7348
7335
|
Response: () => Response4
|
|
7349
7336
|
});
|
|
7350
7337
|
|
|
7351
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7352
|
-
var
|
|
7353
|
-
id: schemas_exports.string(),
|
|
7354
|
-
kind: GuidedTemplatePolicyKind,
|
|
7355
|
-
customerIds: schemas_exports.list(schemas_exports.string()).optionalNullable(),
|
|
7356
|
-
templateId: schemas_exports.string(),
|
|
7357
|
-
createdBy: schemas_exports.string(),
|
|
7358
|
-
createdAt: schemas_exports.date(),
|
|
7359
|
-
updatedAt: schemas_exports.date()
|
|
7360
|
-
});
|
|
7361
|
-
|
|
7362
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateSource.mjs
|
|
7363
|
-
var GuidedTemplateSource = schemas_exports.enum_(["user", "corti"]);
|
|
7364
|
-
|
|
7365
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateInstructions.mjs
|
|
7366
|
-
var GuidedTemplateInstructions = schemas_exports.object({
|
|
7367
|
-
prompt: schemas_exports.string()
|
|
7368
|
-
});
|
|
7369
|
-
|
|
7370
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateGeneration.mjs
|
|
7371
|
-
var GuidedTemplateGeneration = schemas_exports.object({
|
|
7372
|
-
instructions: GuidedTemplateInstructions,
|
|
7373
|
-
sections: schemas_exports.list(GuidedSection).optional()
|
|
7374
|
-
});
|
|
7338
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateListItemSource.mjs
|
|
7339
|
+
var GuidedTemplateListItemSource = schemas_exports.enum_(["user", "corti", "project"]);
|
|
7375
7340
|
|
|
7376
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7377
|
-
var
|
|
7378
|
-
id: schemas_exports.string(),
|
|
7379
|
-
versionNumber: schemas_exports.number(),
|
|
7380
|
-
deletedAt: schemas_exports.date().optionalNullable(),
|
|
7381
|
-
generation: GuidedTemplateGeneration
|
|
7382
|
-
});
|
|
7383
|
-
|
|
7384
|
-
// ../node_modules/.pnpm/@corti+sdk@3.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplate.mjs
|
|
7385
|
-
var GuidedTemplate = schemas_exports.object({
|
|
7341
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateListItem.mjs
|
|
7342
|
+
var GuidedTemplateListItem = schemas_exports.object({
|
|
7386
7343
|
id: schemas_exports.string(),
|
|
7387
7344
|
inheritedFromId: schemas_exports.string().optionalNullable(),
|
|
7388
7345
|
autoGenerated: schemas_exports.boolean().optional(),
|
|
7389
|
-
source:
|
|
7346
|
+
source: GuidedTemplateListItemSource.optional(),
|
|
7390
7347
|
name: schemas_exports.string(),
|
|
7391
7348
|
description: schemas_exports.string().optional(),
|
|
7392
7349
|
languages: schemas_exports.list(schemas_exports.string()),
|
|
7393
7350
|
regions: schemas_exports.list(schemas_exports.string()),
|
|
7394
7351
|
specialties: schemas_exports.list(schemas_exports.string()),
|
|
7395
7352
|
labels: schemas_exports.list(GuidedLabel),
|
|
7396
|
-
|
|
7397
|
-
publishedVersion: GuidedTemplateVersion.optional(),
|
|
7353
|
+
createdBy: schemas_exports.string().optional(),
|
|
7398
7354
|
createdAt: schemas_exports.date(),
|
|
7399
7355
|
updatedAt: schemas_exports.date(),
|
|
7400
7356
|
deletedAt: schemas_exports.date().optionalNullable()
|
|
7401
7357
|
});
|
|
7402
7358
|
|
|
7403
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7404
|
-
var Response4 = schemas_exports.list(
|
|
7359
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/client/list.mjs
|
|
7360
|
+
var Response4 = schemas_exports.list(GuidedTemplateListItem);
|
|
7405
7361
|
|
|
7406
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7362
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateInstructionsPartial.mjs
|
|
7407
7363
|
var GuidedTemplateInstructionsPartial = schemas_exports.object({
|
|
7408
7364
|
prompt: schemas_exports.string().optional()
|
|
7409
7365
|
});
|
|
7410
7366
|
|
|
7411
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7367
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesVersionSectionRequest.mjs
|
|
7412
7368
|
var GuidedTemplatesVersionSectionRequest = schemas_exports.object({
|
|
7413
7369
|
sectionId: schemas_exports.string(),
|
|
7414
7370
|
orderIndex: schemas_exports.number().optional()
|
|
7415
7371
|
});
|
|
7416
7372
|
|
|
7417
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7373
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesVersionGeneration.mjs
|
|
7418
7374
|
var GuidedTemplatesVersionGeneration = schemas_exports.object({
|
|
7419
7375
|
instructions: GuidedTemplateInstructionsPartial.optional(),
|
|
7420
7376
|
sections: schemas_exports.list(GuidedTemplatesVersionSectionRequest).optional()
|
|
7421
7377
|
});
|
|
7422
7378
|
|
|
7423
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7379
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/GuidedTemplatesCreateVersionRequest.mjs
|
|
7424
7380
|
var GuidedTemplatesCreateVersionRequest = schemas_exports.object({
|
|
7425
7381
|
generation: GuidedTemplatesVersionGeneration
|
|
7426
7382
|
});
|
|
7427
7383
|
|
|
7428
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7384
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/resources/versions/index.mjs
|
|
7429
7385
|
var versions_exports2 = {};
|
|
7430
7386
|
__export(versions_exports2, {
|
|
7431
7387
|
GuidedTemplatesCreateVersionRequest: () => GuidedTemplatesCreateVersionRequest,
|
|
7432
7388
|
list: () => list_exports5
|
|
7433
7389
|
});
|
|
7434
7390
|
|
|
7435
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7391
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.mjs
|
|
7436
7392
|
var list_exports5 = {};
|
|
7437
7393
|
__export(list_exports5, {
|
|
7438
7394
|
Response: () => Response5
|
|
7439
7395
|
});
|
|
7440
7396
|
|
|
7441
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7397
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateInstructions.mjs
|
|
7398
|
+
var GuidedTemplateInstructions = schemas_exports.object({
|
|
7399
|
+
prompt: schemas_exports.string()
|
|
7400
|
+
});
|
|
7401
|
+
|
|
7402
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateVersionSectionRef.mjs
|
|
7442
7403
|
var GuidedTemplateVersionSectionRef = schemas_exports.object({
|
|
7443
7404
|
sectionId: schemas_exports.string(),
|
|
7444
7405
|
orderIndex: schemas_exports.number()
|
|
7445
7406
|
});
|
|
7446
7407
|
|
|
7447
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7408
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedShallowTemplateGeneration.mjs
|
|
7448
7409
|
var GuidedShallowTemplateGeneration = schemas_exports.object({
|
|
7449
7410
|
instructions: GuidedTemplateInstructions,
|
|
7450
7411
|
sections: schemas_exports.list(GuidedTemplateVersionSectionRef)
|
|
7451
7412
|
});
|
|
7452
7413
|
|
|
7453
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7414
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedShallowTemplateVersionResponse.mjs
|
|
7454
7415
|
var GuidedShallowTemplateVersionResponse = schemas_exports.object({
|
|
7455
7416
|
id: schemas_exports.string(),
|
|
7456
7417
|
versionNumber: schemas_exports.number(),
|
|
@@ -7458,10 +7419,10 @@ var GuidedShallowTemplateVersionResponse = schemas_exports.object({
|
|
|
7458
7419
|
generation: GuidedShallowTemplateGeneration
|
|
7459
7420
|
});
|
|
7460
7421
|
|
|
7461
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7422
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.mjs
|
|
7462
7423
|
var Response5 = schemas_exports.list(GuidedShallowTemplateVersionResponse);
|
|
7463
7424
|
|
|
7464
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7425
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsBatchUpdateInput.mjs
|
|
7465
7426
|
var FactsBatchUpdateInput = schemas_exports.object({
|
|
7466
7427
|
factId: schemas_exports.string(),
|
|
7467
7428
|
isDiscarded: schemas_exports.boolean().optional(),
|
|
@@ -7469,33 +7430,33 @@ var FactsBatchUpdateInput = schemas_exports.object({
|
|
|
7469
7430
|
group: schemas_exports.string().optional()
|
|
7470
7431
|
});
|
|
7471
7432
|
|
|
7472
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7433
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.mjs
|
|
7473
7434
|
var FactsBatchUpdateRequest = schemas_exports.object({
|
|
7474
7435
|
facts: schemas_exports.list(FactsBatchUpdateInput)
|
|
7475
7436
|
});
|
|
7476
7437
|
|
|
7477
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7438
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonSourceEnum.mjs
|
|
7478
7439
|
var CommonSourceEnum = schemas_exports.enum_(["core", "system", "user"]);
|
|
7479
7440
|
|
|
7480
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7441
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsCreateInput.mjs
|
|
7481
7442
|
var FactsCreateInput = schemas_exports.object({
|
|
7482
7443
|
text: schemas_exports.string(),
|
|
7483
7444
|
group: schemas_exports.string(),
|
|
7484
7445
|
source: CommonSourceEnum.optional()
|
|
7485
7446
|
});
|
|
7486
7447
|
|
|
7487
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7448
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsCreateRequest.mjs
|
|
7488
7449
|
var FactsCreateRequest = schemas_exports.object({
|
|
7489
7450
|
facts: schemas_exports.list(FactsCreateInput)
|
|
7490
7451
|
});
|
|
7491
7452
|
|
|
7492
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7453
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsExtractRequest.mjs
|
|
7493
7454
|
var FactsExtractRequest = schemas_exports.object({
|
|
7494
7455
|
context: schemas_exports.list(CommonTextContext),
|
|
7495
7456
|
outputLanguage: schemas_exports.string()
|
|
7496
7457
|
});
|
|
7497
7458
|
|
|
7498
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7459
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsUpdateRequest.mjs
|
|
7499
7460
|
var FactsUpdateRequest = schemas_exports.object({
|
|
7500
7461
|
text: schemas_exports.string().optional(),
|
|
7501
7462
|
group: schemas_exports.string().optional(),
|
|
@@ -7503,19 +7464,19 @@ var FactsUpdateRequest = schemas_exports.object({
|
|
|
7503
7464
|
isDiscarded: schemas_exports.boolean().optional()
|
|
7504
7465
|
});
|
|
7505
7466
|
|
|
7506
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7467
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterPeriod.mjs
|
|
7507
7468
|
var InteractionsEncounterPeriod = schemas_exports.object({
|
|
7508
7469
|
startedAt: schemas_exports.date(),
|
|
7509
7470
|
endedAt: schemas_exports.date().optionalNullable()
|
|
7510
7471
|
});
|
|
7511
7472
|
|
|
7512
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7473
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterStatusEnum.mjs
|
|
7513
7474
|
var InteractionsEncounterStatusEnum = schemas_exports.enum_(["planned", "in-progress", "on-hold", "completed", "cancelled", "deleted"]);
|
|
7514
7475
|
|
|
7515
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7476
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterTypeEnum.mjs
|
|
7516
7477
|
var InteractionsEncounterTypeEnum = schemas_exports.enum_(["first_consultation", "consultation", "emergency", "inpatient", "outpatient"]);
|
|
7517
7478
|
|
|
7518
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7479
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterCreateRequest.mjs
|
|
7519
7480
|
var InteractionsEncounterCreateRequest = schemas_exports.object({
|
|
7520
7481
|
identifier: schemas_exports.string(),
|
|
7521
7482
|
status: InteractionsEncounterStatusEnum,
|
|
@@ -7524,10 +7485,10 @@ var InteractionsEncounterCreateRequest = schemas_exports.object({
|
|
|
7524
7485
|
title: schemas_exports.string().optionalNullable()
|
|
7525
7486
|
});
|
|
7526
7487
|
|
|
7527
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7488
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsGenderEnum.mjs
|
|
7528
7489
|
var InteractionsGenderEnum = schemas_exports.enum_(["male", "female", "unknown", "other"]);
|
|
7529
7490
|
|
|
7530
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7491
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsPatient.mjs
|
|
7531
7492
|
var InteractionsPatient = schemas_exports.object({
|
|
7532
7493
|
identifier: schemas_exports.string(),
|
|
7533
7494
|
name: schemas_exports.string().optionalNullable(),
|
|
@@ -7536,17 +7497,17 @@ var InteractionsPatient = schemas_exports.object({
|
|
|
7536
7497
|
pronouns: schemas_exports.string().optionalNullable()
|
|
7537
7498
|
});
|
|
7538
7499
|
|
|
7539
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7500
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/Uuid.mjs
|
|
7540
7501
|
var Uuid = schemas_exports.string();
|
|
7541
7502
|
|
|
7542
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7503
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/interactions/client/requests/InteractionsCreateRequest.mjs
|
|
7543
7504
|
var InteractionsCreateRequest = schemas_exports.object({
|
|
7544
7505
|
assignedUserId: Uuid.optional(),
|
|
7545
7506
|
encounter: InteractionsEncounterCreateRequest,
|
|
7546
7507
|
patient: InteractionsPatient.optional()
|
|
7547
7508
|
});
|
|
7548
7509
|
|
|
7549
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7510
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterUpdateRequest.mjs
|
|
7550
7511
|
var InteractionsEncounterUpdateRequest = schemas_exports.object({
|
|
7551
7512
|
identifier: schemas_exports.string().optional(),
|
|
7552
7513
|
status: InteractionsEncounterStatusEnum.optional(),
|
|
@@ -7555,20 +7516,20 @@ var InteractionsEncounterUpdateRequest = schemas_exports.object({
|
|
|
7555
7516
|
title: schemas_exports.string().optionalNullable()
|
|
7556
7517
|
});
|
|
7557
7518
|
|
|
7558
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7519
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.mjs
|
|
7559
7520
|
var InteractionsUpdateRequest = schemas_exports.object({
|
|
7560
7521
|
assignedUserId: Uuid.optional(),
|
|
7561
7522
|
encounter: InteractionsEncounterUpdateRequest.optional(),
|
|
7562
7523
|
patient: InteractionsPatient.optional()
|
|
7563
7524
|
});
|
|
7564
7525
|
|
|
7565
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7526
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/interactions/types/InteractionsListRequestSort.mjs
|
|
7566
7527
|
var InteractionsListRequestSort = schemas_exports.enum_(["id", "assignedUserId", "patient", "createdAt", "endedAt", "updatedAt"]);
|
|
7567
7528
|
|
|
7568
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7529
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/languages/types/LanguagesListRequestEndpoint.mjs
|
|
7569
7530
|
var LanguagesListRequestEndpoint = schemas_exports.enum_(["streams", "transcribe", "transcripts"]);
|
|
7570
7531
|
|
|
7571
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7532
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamAudioEventDataEvent.mjs
|
|
7572
7533
|
var StreamAudioEventDataEvent = schemas_exports.enum_([
|
|
7573
7534
|
"speechQualityIssueDetected",
|
|
7574
7535
|
"speechQualityIssueRecovered",
|
|
@@ -7576,70 +7537,89 @@ var StreamAudioEventDataEvent = schemas_exports.enum_([
|
|
|
7576
7537
|
"longSilenceRecovered"
|
|
7577
7538
|
]);
|
|
7578
7539
|
|
|
7579
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7540
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamAudioEventData.mjs
|
|
7580
7541
|
var StreamAudioEventData = schemas_exports.object({
|
|
7581
7542
|
event: StreamAudioEventDataEvent,
|
|
7582
7543
|
channel: schemas_exports.number(),
|
|
7583
7544
|
startTimeMs: schemas_exports.number()
|
|
7584
7545
|
});
|
|
7585
7546
|
|
|
7586
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7547
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamAudioEventMessage.mjs
|
|
7587
7548
|
var StreamAudioEventMessage = schemas_exports.object({
|
|
7588
7549
|
type: schemas_exports.stringLiteral("audioEvent"),
|
|
7589
7550
|
data: StreamAudioEventData
|
|
7590
7551
|
});
|
|
7591
7552
|
|
|
7592
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7553
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamAudioEventsConfig.mjs
|
|
7593
7554
|
var StreamAudioEventsConfig = schemas_exports.object({
|
|
7594
7555
|
enabled: schemas_exports.boolean().optional()
|
|
7595
7556
|
});
|
|
7596
7557
|
|
|
7597
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7558
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.mjs
|
|
7559
|
+
var StreamConfigKeytermsTermsItem = schemas_exports.object({
|
|
7560
|
+
term: schemas_exports.string()
|
|
7561
|
+
});
|
|
7562
|
+
|
|
7563
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigKeyterms.mjs
|
|
7564
|
+
var StreamConfigKeyterms = schemas_exports.object({
|
|
7565
|
+
terms: schemas_exports.list(StreamConfigKeytermsTermsItem).optional()
|
|
7566
|
+
});
|
|
7567
|
+
|
|
7568
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigModeFactGenerationInterval.mjs
|
|
7598
7569
|
var StreamConfigModeFactGenerationInterval = schemas_exports.enum_(["fixed", "fast_init"]);
|
|
7599
7570
|
|
|
7600
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7571
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigModeType.mjs
|
|
7601
7572
|
var StreamConfigModeType = schemas_exports.enum_(["facts", "transcription"]);
|
|
7602
7573
|
|
|
7603
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7574
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamSupportedLanguage.mjs
|
|
7604
7575
|
var StreamSupportedLanguage = schemas_exports.string();
|
|
7605
7576
|
|
|
7606
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7577
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigMode.mjs
|
|
7607
7578
|
var StreamConfigMode = schemas_exports.object({
|
|
7608
7579
|
type: StreamConfigModeType,
|
|
7609
7580
|
outputLocale: StreamSupportedLanguage.optional(),
|
|
7610
7581
|
factGenerationInterval: StreamConfigModeFactGenerationInterval.optional()
|
|
7611
7582
|
});
|
|
7612
7583
|
|
|
7613
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7584
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigReplacementsItem.mjs
|
|
7585
|
+
var StreamConfigReplacementsItem = schemas_exports.object({
|
|
7586
|
+
find: schemas_exports.string(),
|
|
7587
|
+
replace: schemas_exports.string()
|
|
7588
|
+
});
|
|
7589
|
+
|
|
7590
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigRetentionPolicy.mjs
|
|
7614
7591
|
var StreamConfigRetentionPolicy = schemas_exports.enum_(["retain", "none"]);
|
|
7615
7592
|
|
|
7616
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7593
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigParticipantRole.mjs
|
|
7617
7594
|
var StreamConfigParticipantRole = schemas_exports.enum_(["doctor", "patient", "multiple"]);
|
|
7618
7595
|
|
|
7619
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7596
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigParticipant.mjs
|
|
7620
7597
|
var StreamConfigParticipant = schemas_exports.object({
|
|
7621
7598
|
channel: schemas_exports.number(),
|
|
7622
7599
|
role: StreamConfigParticipantRole
|
|
7623
7600
|
});
|
|
7624
7601
|
|
|
7625
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7602
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigTranscription.mjs
|
|
7626
7603
|
var StreamConfigTranscription = schemas_exports.object({
|
|
7627
7604
|
primaryLanguage: StreamSupportedLanguage,
|
|
7605
|
+
diarize: schemas_exports.boolean().optional(),
|
|
7628
7606
|
isDiarization: schemas_exports.boolean().optional(),
|
|
7629
7607
|
isMultichannel: schemas_exports.boolean().optional(),
|
|
7630
7608
|
participants: schemas_exports.list(StreamConfigParticipant)
|
|
7631
7609
|
});
|
|
7632
7610
|
|
|
7633
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7611
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfig.mjs
|
|
7634
7612
|
var StreamConfig = schemas_exports.object({
|
|
7635
7613
|
transcription: StreamConfigTranscription,
|
|
7636
7614
|
mode: StreamConfigMode,
|
|
7637
7615
|
retentionPolicy: StreamConfigRetentionPolicy.optional(),
|
|
7638
7616
|
audioEvents: StreamAudioEventsConfig.optional(),
|
|
7639
|
-
audioFormat: schemas_exports.string().optional()
|
|
7617
|
+
audioFormat: schemas_exports.string().optional(),
|
|
7618
|
+
replacements: schemas_exports.list(StreamConfigReplacementsItem).optional(),
|
|
7619
|
+
keyterms: StreamConfigKeyterms.optional()
|
|
7640
7620
|
});
|
|
7641
7621
|
|
|
7642
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7622
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigStatusMessageType.mjs
|
|
7643
7623
|
var StreamConfigStatusMessageType2 = schemas_exports.enum_([
|
|
7644
7624
|
"CONFIG_ACCEPTED",
|
|
7645
7625
|
"CONFIG_DENIED",
|
|
@@ -7648,40 +7628,41 @@ var StreamConfigStatusMessageType2 = schemas_exports.enum_([
|
|
|
7648
7628
|
"CONFIG_ALREADY_RECEIVED"
|
|
7649
7629
|
]);
|
|
7650
7630
|
|
|
7651
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7631
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigStatusMessage.mjs
|
|
7652
7632
|
var StreamConfigStatusMessage = schemas_exports.object({
|
|
7653
7633
|
type: StreamConfigStatusMessageType2,
|
|
7654
7634
|
reason: schemas_exports.string().optional(),
|
|
7655
7635
|
configuration: StreamConfig.optional()
|
|
7656
7636
|
});
|
|
7657
7637
|
|
|
7658
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7638
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamDeltaUsageMessage.mjs
|
|
7659
7639
|
var StreamDeltaUsageMessage = schemas_exports.object({
|
|
7660
7640
|
type: schemas_exports.stringLiteral("delta_usage"),
|
|
7661
7641
|
credits: schemas_exports.number()
|
|
7662
7642
|
});
|
|
7663
7643
|
|
|
7664
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7644
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamEndedMessage.mjs
|
|
7665
7645
|
var StreamEndedMessage = schemas_exports.object({
|
|
7666
7646
|
type: schemas_exports.stringLiteral("ENDED")
|
|
7667
7647
|
});
|
|
7668
7648
|
|
|
7669
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7649
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamErrorDetail.mjs
|
|
7670
7650
|
var StreamErrorDetail = schemas_exports.object({
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7651
|
+
requestid: schemas_exports.string().optional(),
|
|
7652
|
+
id: schemas_exports.string().optional(),
|
|
7653
|
+
title: schemas_exports.string().optional(),
|
|
7654
|
+
status: schemas_exports.number().optional(),
|
|
7655
|
+
details: schemas_exports.string().optional(),
|
|
7656
|
+
doc: schemas_exports.string().optional()
|
|
7676
7657
|
});
|
|
7677
7658
|
|
|
7678
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7659
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamErrorMessage.mjs
|
|
7679
7660
|
var StreamErrorMessage = schemas_exports.object({
|
|
7680
7661
|
type: schemas_exports.stringLiteral("error"),
|
|
7681
7662
|
error: StreamErrorDetail
|
|
7682
7663
|
});
|
|
7683
7664
|
|
|
7684
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7665
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamFact.mjs
|
|
7685
7666
|
var StreamFact = schemas_exports.object({
|
|
7686
7667
|
id: schemas_exports.string(),
|
|
7687
7668
|
text: schemas_exports.string(),
|
|
@@ -7695,29 +7676,29 @@ var StreamFact = schemas_exports.object({
|
|
|
7695
7676
|
updatedAtTzOffset: schemas_exports.date().optional()
|
|
7696
7677
|
});
|
|
7697
7678
|
|
|
7698
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7679
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamFactsMessage.mjs
|
|
7699
7680
|
var StreamFactsMessage = schemas_exports.object({
|
|
7700
7681
|
type: schemas_exports.stringLiteral("facts"),
|
|
7701
7682
|
fact: schemas_exports.list(StreamFact)
|
|
7702
7683
|
});
|
|
7703
7684
|
|
|
7704
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7685
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamFlushedMessage.mjs
|
|
7705
7686
|
var StreamFlushedMessage = schemas_exports.object({
|
|
7706
7687
|
type: schemas_exports.stringLiteral("flushed")
|
|
7707
7688
|
});
|
|
7708
7689
|
|
|
7709
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7690
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamParticipant.mjs
|
|
7710
7691
|
var StreamParticipant = schemas_exports.object({
|
|
7711
7692
|
channel: schemas_exports.number()
|
|
7712
7693
|
});
|
|
7713
7694
|
|
|
7714
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7695
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamTranscriptTime.mjs
|
|
7715
7696
|
var StreamTranscriptTime = schemas_exports.object({
|
|
7716
7697
|
start: schemas_exports.number(),
|
|
7717
7698
|
end: schemas_exports.number()
|
|
7718
7699
|
});
|
|
7719
7700
|
|
|
7720
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7701
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamTranscript.mjs
|
|
7721
7702
|
var StreamTranscript = schemas_exports.object({
|
|
7722
7703
|
id: schemas_exports.string(),
|
|
7723
7704
|
transcript: schemas_exports.string(),
|
|
@@ -7727,19 +7708,19 @@ var StreamTranscript = schemas_exports.object({
|
|
|
7727
7708
|
time: StreamTranscriptTime
|
|
7728
7709
|
});
|
|
7729
7710
|
|
|
7730
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7711
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamTranscriptMessage.mjs
|
|
7731
7712
|
var StreamTranscriptMessage = schemas_exports.object({
|
|
7732
7713
|
type: schemas_exports.stringLiteral("transcript"),
|
|
7733
7714
|
data: schemas_exports.list(StreamTranscript)
|
|
7734
7715
|
});
|
|
7735
7716
|
|
|
7736
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7717
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamUsageMessage.mjs
|
|
7737
7718
|
var StreamUsageMessage = schemas_exports.object({
|
|
7738
7719
|
type: schemas_exports.stringLiteral("usage"),
|
|
7739
7720
|
credits: schemas_exports.number()
|
|
7740
7721
|
});
|
|
7741
7722
|
|
|
7742
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7723
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs
|
|
7743
7724
|
var StreamSocketResponse = schemas_exports.undiscriminatedUnion([
|
|
7744
7725
|
StreamTranscriptMessage,
|
|
7745
7726
|
StreamFactsMessage,
|
|
@@ -7752,7 +7733,7 @@ var StreamSocketResponse = schemas_exports.undiscriminatedUnion([
|
|
|
7752
7733
|
StreamAudioEventMessage
|
|
7753
7734
|
]);
|
|
7754
7735
|
|
|
7755
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7736
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeAudioEventDataEvent.mjs
|
|
7756
7737
|
var TranscribeAudioEventDataEvent = schemas_exports.enum_([
|
|
7757
7738
|
"speechQualityIssueDetected",
|
|
7758
7739
|
"speechQualityIssueRecovered",
|
|
@@ -7760,20 +7741,20 @@ var TranscribeAudioEventDataEvent = schemas_exports.enum_([
|
|
|
7760
7741
|
"longSilenceRecovered"
|
|
7761
7742
|
]);
|
|
7762
7743
|
|
|
7763
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7744
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeAudioEventData.mjs
|
|
7764
7745
|
var TranscribeAudioEventData = schemas_exports.object({
|
|
7765
7746
|
event: TranscribeAudioEventDataEvent,
|
|
7766
7747
|
channel: schemas_exports.number(),
|
|
7767
7748
|
startTimeMs: schemas_exports.number()
|
|
7768
7749
|
});
|
|
7769
7750
|
|
|
7770
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7751
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeAudioEventMessage.mjs
|
|
7771
7752
|
var TranscribeAudioEventMessage = schemas_exports.object({
|
|
7772
7753
|
type: schemas_exports.stringLiteral("audioEvent"),
|
|
7773
7754
|
data: TranscribeAudioEventData
|
|
7774
7755
|
});
|
|
7775
7756
|
|
|
7776
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7757
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandData.mjs
|
|
7777
7758
|
var TranscribeCommandData = schemas_exports.object({
|
|
7778
7759
|
id: schemas_exports.string(),
|
|
7779
7760
|
variables: schemas_exports.record(schemas_exports.string(), schemas_exports.string().nullable()).optionalNullable(),
|
|
@@ -7782,50 +7763,69 @@ var TranscribeCommandData = schemas_exports.object({
|
|
|
7782
7763
|
end: schemas_exports.number()
|
|
7783
7764
|
});
|
|
7784
7765
|
|
|
7785
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7766
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandMessage.mjs
|
|
7786
7767
|
var TranscribeCommandMessage = schemas_exports.object({
|
|
7787
7768
|
type: schemas_exports.stringLiteral("command"),
|
|
7788
7769
|
data: TranscribeCommandData
|
|
7789
7770
|
});
|
|
7790
7771
|
|
|
7791
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7772
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeAudioEventsConfig.mjs
|
|
7792
7773
|
var TranscribeAudioEventsConfig = schemas_exports.object({
|
|
7793
|
-
enabled: schemas_exports.boolean()
|
|
7774
|
+
enabled: schemas_exports.boolean()
|
|
7794
7775
|
});
|
|
7795
7776
|
|
|
7796
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7777
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandVariableType.mjs
|
|
7778
|
+
var TranscribeCommandVariableType = schemas_exports.enum_(["enum", "wildcard"]);
|
|
7779
|
+
|
|
7780
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandVariable.mjs
|
|
7797
7781
|
var TranscribeCommandVariable = schemas_exports.object({
|
|
7798
7782
|
key: schemas_exports.string(),
|
|
7799
|
-
type:
|
|
7800
|
-
enum: schemas_exports.list(schemas_exports.string())
|
|
7783
|
+
type: TranscribeCommandVariableType,
|
|
7784
|
+
enum: schemas_exports.list(schemas_exports.string()).optional()
|
|
7801
7785
|
});
|
|
7802
7786
|
|
|
7803
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7787
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommand.mjs
|
|
7804
7788
|
var TranscribeCommand = schemas_exports.object({
|
|
7805
7789
|
id: schemas_exports.string(),
|
|
7806
7790
|
phrases: schemas_exports.list(schemas_exports.string()),
|
|
7807
7791
|
variables: schemas_exports.list(TranscribeCommandVariable).optional()
|
|
7808
7792
|
});
|
|
7809
7793
|
|
|
7810
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7794
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.mjs
|
|
7795
|
+
var TranscribeConfigKeytermsTermsItem = schemas_exports.object({
|
|
7796
|
+
term: schemas_exports.string()
|
|
7797
|
+
});
|
|
7798
|
+
|
|
7799
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigKeyterms.mjs
|
|
7800
|
+
var TranscribeConfigKeyterms = schemas_exports.object({
|
|
7801
|
+
terms: schemas_exports.list(TranscribeConfigKeytermsTermsItem).optional()
|
|
7802
|
+
});
|
|
7803
|
+
|
|
7804
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigReplacementsItem.mjs
|
|
7805
|
+
var TranscribeConfigReplacementsItem = schemas_exports.object({
|
|
7806
|
+
find: schemas_exports.string(),
|
|
7807
|
+
replace: schemas_exports.string()
|
|
7808
|
+
});
|
|
7809
|
+
|
|
7810
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormattingDates.mjs
|
|
7811
7811
|
var TranscribeFormattingDates = schemas_exports.enum_(["locale:long", "locale:medium", "locale:short", "as_dictated", "iso"]);
|
|
7812
7812
|
|
|
7813
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7813
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormattingMeasurements.mjs
|
|
7814
7814
|
var TranscribeFormattingMeasurements = schemas_exports.enum_(["abbreviated", "as_dictated"]);
|
|
7815
7815
|
|
|
7816
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7816
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormattingNumbers.mjs
|
|
7817
7817
|
var TranscribeFormattingNumbers = schemas_exports.enum_(["numerals_above_nine", "numerals", "as_dictated"]);
|
|
7818
7818
|
|
|
7819
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7819
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormattingNumericRanges.mjs
|
|
7820
7820
|
var TranscribeFormattingNumericRanges = schemas_exports.enum_(["numerals", "as_dictated"]);
|
|
7821
7821
|
|
|
7822
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7822
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormattingOrdinals.mjs
|
|
7823
7823
|
var TranscribeFormattingOrdinals = schemas_exports.enum_(["numerals_above_nine", "as_dictated", "numerals"]);
|
|
7824
7824
|
|
|
7825
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7825
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormattingTimes.mjs
|
|
7826
7826
|
var TranscribeFormattingTimes = schemas_exports.enum_(["locale", "h24", "h12", "as_dictated"]);
|
|
7827
7827
|
|
|
7828
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7828
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFormatting.mjs
|
|
7829
7829
|
var TranscribeFormatting = schemas_exports.object({
|
|
7830
7830
|
dates: TranscribeFormattingDates.optional(),
|
|
7831
7831
|
times: TranscribeFormattingTimes.optional(),
|
|
@@ -7835,10 +7835,10 @@ var TranscribeFormatting = schemas_exports.object({
|
|
|
7835
7835
|
ordinals: TranscribeFormattingOrdinals.optional()
|
|
7836
7836
|
});
|
|
7837
7837
|
|
|
7838
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7838
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeSupportedLanguage.mjs
|
|
7839
7839
|
var TranscribeSupportedLanguage = schemas_exports.string();
|
|
7840
7840
|
|
|
7841
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7841
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfig.mjs
|
|
7842
7842
|
var TranscribeConfig = schemas_exports.object({
|
|
7843
7843
|
primaryLanguage: TranscribeSupportedLanguage,
|
|
7844
7844
|
interimResults: schemas_exports.boolean().optional(),
|
|
@@ -7847,10 +7847,12 @@ var TranscribeConfig = schemas_exports.object({
|
|
|
7847
7847
|
commands: schemas_exports.list(TranscribeCommand).optional(),
|
|
7848
7848
|
formatting: TranscribeFormatting.optional(),
|
|
7849
7849
|
audioEvents: TranscribeAudioEventsConfig.optional(),
|
|
7850
|
-
audioFormat: schemas_exports.string().optional()
|
|
7850
|
+
audioFormat: schemas_exports.string().optional(),
|
|
7851
|
+
replacements: schemas_exports.list(TranscribeConfigReplacementsItem).optional(),
|
|
7852
|
+
keyterms: TranscribeConfigKeyterms.optional()
|
|
7851
7853
|
});
|
|
7852
7854
|
|
|
7853
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7855
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigStatusMessageType.mjs
|
|
7854
7856
|
var TranscribeConfigStatusMessageType2 = schemas_exports.enum_([
|
|
7855
7857
|
"CONFIG_ACCEPTED",
|
|
7856
7858
|
"CONFIG_DENIED",
|
|
@@ -7859,7 +7861,7 @@ var TranscribeConfigStatusMessageType2 = schemas_exports.enum_([
|
|
|
7859
7861
|
"CONFIG_MISSING"
|
|
7860
7862
|
]);
|
|
7861
7863
|
|
|
7862
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7864
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigStatusMessage.mjs
|
|
7863
7865
|
var TranscribeConfigStatusMessage = schemas_exports.object({
|
|
7864
7866
|
type: TranscribeConfigStatusMessageType2,
|
|
7865
7867
|
reason: schemas_exports.string().optional(),
|
|
@@ -7867,38 +7869,39 @@ var TranscribeConfigStatusMessage = schemas_exports.object({
|
|
|
7867
7869
|
configuration: TranscribeConfig.optional()
|
|
7868
7870
|
});
|
|
7869
7871
|
|
|
7870
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7872
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeDeltaUsageMessage.mjs
|
|
7871
7873
|
var TranscribeDeltaUsageMessage = schemas_exports.object({
|
|
7872
7874
|
type: schemas_exports.stringLiteral("delta_usage"),
|
|
7873
7875
|
credits: schemas_exports.number()
|
|
7874
7876
|
});
|
|
7875
7877
|
|
|
7876
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7878
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeEndedMessage.mjs
|
|
7877
7879
|
var TranscribeEndedMessage = schemas_exports.object({
|
|
7878
7880
|
type: schemas_exports.stringLiteral("ended")
|
|
7879
7881
|
});
|
|
7880
7882
|
|
|
7881
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7883
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeErrorMessageError.mjs
|
|
7882
7884
|
var TranscribeErrorMessageError = schemas_exports.object({
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7885
|
+
requestid: schemas_exports.string().optional(),
|
|
7886
|
+
id: schemas_exports.string().optional(),
|
|
7887
|
+
title: schemas_exports.string().optional(),
|
|
7888
|
+
status: schemas_exports.number().optional(),
|
|
7889
|
+
details: schemas_exports.string().optional(),
|
|
7890
|
+
doc: schemas_exports.string().optional()
|
|
7888
7891
|
});
|
|
7889
7892
|
|
|
7890
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7893
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeErrorMessage.mjs
|
|
7891
7894
|
var TranscribeErrorMessage = schemas_exports.object({
|
|
7892
7895
|
type: schemas_exports.stringLiteral("error"),
|
|
7893
7896
|
error: TranscribeErrorMessageError
|
|
7894
7897
|
});
|
|
7895
7898
|
|
|
7896
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7899
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFlushedMessage.mjs
|
|
7897
7900
|
var TranscribeFlushedMessage = schemas_exports.object({
|
|
7898
7901
|
type: schemas_exports.stringLiteral("flushed")
|
|
7899
7902
|
});
|
|
7900
7903
|
|
|
7901
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7904
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeTranscriptData.mjs
|
|
7902
7905
|
var TranscribeTranscriptData = schemas_exports.object({
|
|
7903
7906
|
text: schemas_exports.string(),
|
|
7904
7907
|
rawTranscriptText: schemas_exports.string(),
|
|
@@ -7907,19 +7910,19 @@ var TranscribeTranscriptData = schemas_exports.object({
|
|
|
7907
7910
|
isFinal: schemas_exports.boolean()
|
|
7908
7911
|
});
|
|
7909
7912
|
|
|
7910
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7913
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs
|
|
7911
7914
|
var TranscribeTranscriptMessage = schemas_exports.object({
|
|
7912
7915
|
type: schemas_exports.stringLiteral("transcript"),
|
|
7913
7916
|
data: TranscribeTranscriptData
|
|
7914
7917
|
});
|
|
7915
7918
|
|
|
7916
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7919
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeUsageMessage.mjs
|
|
7917
7920
|
var TranscribeUsageMessage = schemas_exports.object({
|
|
7918
7921
|
type: schemas_exports.stringLiteral("usage"),
|
|
7919
7922
|
credits: schemas_exports.number()
|
|
7920
7923
|
});
|
|
7921
7924
|
|
|
7922
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7925
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs
|
|
7923
7926
|
var TranscribeSocketResponse = schemas_exports.undiscriminatedUnion([
|
|
7924
7927
|
TranscribeUsageMessage,
|
|
7925
7928
|
TranscribeFlushedMessage,
|
|
@@ -7932,26 +7935,47 @@ var TranscribeSocketResponse = schemas_exports.undiscriminatedUnion([
|
|
|
7932
7935
|
TranscribeAudioEventMessage
|
|
7933
7936
|
]);
|
|
7934
7937
|
|
|
7935
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7938
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.mjs
|
|
7936
7939
|
var TranscriptsParticipantRoleEnum = schemas_exports.enum_(["doctor", "patient", "multiple"]);
|
|
7937
7940
|
|
|
7938
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7941
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsParticipant.mjs
|
|
7939
7942
|
var TranscriptsParticipant = schemas_exports.object({
|
|
7940
7943
|
channel: schemas_exports.number(),
|
|
7941
7944
|
role: TranscriptsParticipantRoleEnum
|
|
7942
7945
|
});
|
|
7943
7946
|
|
|
7944
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7947
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestKeytermsTermsItem.mjs
|
|
7948
|
+
var TranscriptsCreateRequestKeytermsTermsItem = schemas_exports.object({
|
|
7949
|
+
term: schemas_exports.string()
|
|
7950
|
+
});
|
|
7951
|
+
|
|
7952
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestKeyterms.mjs
|
|
7953
|
+
var TranscriptsCreateRequestKeyterms = schemas_exports.object({
|
|
7954
|
+
terms: schemas_exports.list(TranscriptsCreateRequestKeytermsTermsItem).optional()
|
|
7955
|
+
});
|
|
7956
|
+
|
|
7957
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestReplacementsItem.mjs
|
|
7958
|
+
var TranscriptsCreateRequestReplacementsItem = schemas_exports.object({
|
|
7959
|
+
find: schemas_exports.string(),
|
|
7960
|
+
replace: schemas_exports.string()
|
|
7961
|
+
});
|
|
7962
|
+
|
|
7963
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs
|
|
7945
7964
|
var TranscriptsCreateRequest = schemas_exports.object({
|
|
7946
7965
|
recordingId: Uuid,
|
|
7947
7966
|
primaryLanguage: schemas_exports.string(),
|
|
7967
|
+
spokenPunctuation: schemas_exports.boolean().optional(),
|
|
7968
|
+
automaticPunctuation: schemas_exports.boolean().optional(),
|
|
7948
7969
|
isDictation: schemas_exports.boolean().optional(),
|
|
7949
7970
|
isMultichannel: schemas_exports.boolean().optional(),
|
|
7950
7971
|
diarize: schemas_exports.boolean().optional(),
|
|
7951
|
-
participants: schemas_exports.list(TranscriptsParticipant).optional()
|
|
7972
|
+
participants: schemas_exports.list(TranscriptsParticipant).optional(),
|
|
7973
|
+
async: schemas_exports.boolean().optional(),
|
|
7974
|
+
replacements: schemas_exports.list(TranscriptsCreateRequestReplacementsItem).optional(),
|
|
7975
|
+
keyterms: TranscriptsCreateRequestKeyterms.optional()
|
|
7952
7976
|
});
|
|
7953
7977
|
|
|
7954
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7978
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentExtension.mjs
|
|
7955
7979
|
var AgentsAgentExtension = schemas_exports.object({
|
|
7956
7980
|
uri: schemas_exports.string(),
|
|
7957
7981
|
description: schemas_exports.string().optional(),
|
|
@@ -7959,7 +7983,7 @@ var AgentsAgentExtension = schemas_exports.object({
|
|
|
7959
7983
|
params: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
7960
7984
|
});
|
|
7961
7985
|
|
|
7962
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7986
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentCapabilities.mjs
|
|
7963
7987
|
var AgentsAgentCapabilities = schemas_exports.object({
|
|
7964
7988
|
streaming: schemas_exports.boolean().optional(),
|
|
7965
7989
|
pushNotifications: schemas_exports.boolean().optional(),
|
|
@@ -7967,26 +7991,26 @@ var AgentsAgentCapabilities = schemas_exports.object({
|
|
|
7967
7991
|
extensions: schemas_exports.list(AgentsAgentExtension).optionalNullable()
|
|
7968
7992
|
});
|
|
7969
7993
|
|
|
7970
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
7994
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentCardSignature.mjs
|
|
7971
7995
|
var AgentsAgentCardSignature = schemas_exports.object({
|
|
7972
7996
|
protected: schemas_exports.string(),
|
|
7973
7997
|
signature: schemas_exports.string(),
|
|
7974
7998
|
header: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
7975
7999
|
});
|
|
7976
8000
|
|
|
7977
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8001
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentInterface.mjs
|
|
7978
8002
|
var AgentsAgentInterface = schemas_exports.object({
|
|
7979
8003
|
url: schemas_exports.string(),
|
|
7980
8004
|
transport: schemas_exports.string()
|
|
7981
8005
|
});
|
|
7982
8006
|
|
|
7983
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8007
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentProvider.mjs
|
|
7984
8008
|
var AgentsAgentProvider = schemas_exports.object({
|
|
7985
8009
|
organization: schemas_exports.string(),
|
|
7986
8010
|
url: schemas_exports.string()
|
|
7987
8011
|
});
|
|
7988
8012
|
|
|
7989
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8013
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentSkill.mjs
|
|
7990
8014
|
var AgentsAgentSkill = schemas_exports.object({
|
|
7991
8015
|
id: schemas_exports.string(),
|
|
7992
8016
|
name: schemas_exports.string(),
|
|
@@ -7998,7 +8022,7 @@ var AgentsAgentSkill = schemas_exports.object({
|
|
|
7998
8022
|
security: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optionalNullable()
|
|
7999
8023
|
});
|
|
8000
8024
|
|
|
8001
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8025
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsAgentCard.mjs
|
|
8002
8026
|
var AgentsAgentCard = schemas_exports.object({
|
|
8003
8027
|
protocolVersion: schemas_exports.string(),
|
|
8004
8028
|
name: schemas_exports.string(),
|
|
@@ -8020,25 +8044,25 @@ var AgentsAgentCard = schemas_exports.object({
|
|
|
8020
8044
|
signatures: schemas_exports.list(AgentsAgentCardSignature).optionalNullable()
|
|
8021
8045
|
});
|
|
8022
8046
|
|
|
8023
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8047
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsContextItemsItem.mjs
|
|
8024
8048
|
var AgentsContextItemsItem = schemas_exports.undiscriminatedUnion([AgentsTask, AgentsMessage]);
|
|
8025
8049
|
|
|
8026
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8050
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsContext.mjs
|
|
8027
8051
|
var AgentsContext = schemas_exports.object({
|
|
8028
8052
|
id: schemas_exports.string().optional(),
|
|
8029
8053
|
items: schemas_exports.list(AgentsContextItemsItem).optional()
|
|
8030
8054
|
});
|
|
8031
8055
|
|
|
8032
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8056
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsRegistryMcpServerAuthorizationType.mjs
|
|
8033
8057
|
var AgentsRegistryMcpServerAuthorizationType = schemas_exports.enum_(["none", "bearer", "inherit", "oauth2.0"]);
|
|
8034
8058
|
|
|
8035
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8059
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsRegistryMcpServer.mjs
|
|
8036
8060
|
var AgentsRegistryMcpServer = schemas_exports.object({
|
|
8037
8061
|
name: schemas_exports.string(),
|
|
8038
8062
|
authorizationType: AgentsRegistryMcpServerAuthorizationType
|
|
8039
8063
|
});
|
|
8040
8064
|
|
|
8041
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8065
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsRegistryExpert.mjs
|
|
8042
8066
|
var AgentsRegistryExpert = schemas_exports.object({
|
|
8043
8067
|
name: schemas_exports.string(),
|
|
8044
8068
|
displayName: schemas_exports.string().optional(),
|
|
@@ -8048,12 +8072,12 @@ var AgentsRegistryExpert = schemas_exports.object({
|
|
|
8048
8072
|
configSchema: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optional()
|
|
8049
8073
|
});
|
|
8050
8074
|
|
|
8051
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8075
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AgentsRegistryExpertsResponse.mjs
|
|
8052
8076
|
var AgentsRegistryExpertsResponse = schemas_exports.object({
|
|
8053
8077
|
experts: schemas_exports.list(AgentsRegistryExpert).optional()
|
|
8054
8078
|
});
|
|
8055
8079
|
|
|
8056
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8080
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/AuthTokenResponse.mjs
|
|
8057
8081
|
var AuthTokenResponse = schemas_exports.object({
|
|
8058
8082
|
accessToken: schemas_exports.property("access_token", schemas_exports.string()),
|
|
8059
8083
|
expiresIn: schemas_exports.property("expires_in", schemas_exports.number()),
|
|
@@ -8066,13 +8090,13 @@ var AuthTokenResponse = schemas_exports.object({
|
|
|
8066
8090
|
sessionState: schemas_exports.property("session_state", schemas_exports.string().optional())
|
|
8067
8091
|
});
|
|
8068
8092
|
|
|
8069
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8093
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CodesGeneralReadResponseAlternativesItem.mjs
|
|
8070
8094
|
var CodesGeneralReadResponseAlternativesItem = schemas_exports.object({
|
|
8071
8095
|
code: schemas_exports.string(),
|
|
8072
8096
|
display: schemas_exports.string()
|
|
8073
8097
|
});
|
|
8074
8098
|
|
|
8075
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8099
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CodesGeneralReadResponseEvidencesItem.mjs
|
|
8076
8100
|
var CodesGeneralReadResponseEvidencesItem = schemas_exports.object({
|
|
8077
8101
|
contextIndex: schemas_exports.number(),
|
|
8078
8102
|
text: schemas_exports.string(),
|
|
@@ -8080,7 +8104,7 @@ var CodesGeneralReadResponseEvidencesItem = schemas_exports.object({
|
|
|
8080
8104
|
end: schemas_exports.number()
|
|
8081
8105
|
});
|
|
8082
8106
|
|
|
8083
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8107
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CodesGeneralReadResponse.mjs
|
|
8084
8108
|
var CodesGeneralReadResponse = schemas_exports.object({
|
|
8085
8109
|
system: CommonCodingSystemEnum,
|
|
8086
8110
|
code: schemas_exports.string(),
|
|
@@ -8089,52 +8113,52 @@ var CodesGeneralReadResponse = schemas_exports.object({
|
|
|
8089
8113
|
alternatives: schemas_exports.list(CodesGeneralReadResponseAlternativesItem).optional()
|
|
8090
8114
|
});
|
|
8091
8115
|
|
|
8092
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8116
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonUsageInfo.mjs
|
|
8093
8117
|
var CommonUsageInfo = schemas_exports.object({
|
|
8094
8118
|
creditsConsumed: schemas_exports.number()
|
|
8095
8119
|
});
|
|
8096
8120
|
|
|
8097
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8121
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CodesGeneralResponse.mjs
|
|
8098
8122
|
var CodesGeneralResponse = schemas_exports.object({
|
|
8099
8123
|
codes: schemas_exports.list(CodesGeneralReadResponse),
|
|
8100
8124
|
candidates: schemas_exports.list(CodesGeneralReadResponse),
|
|
8101
8125
|
usageInfo: CommonUsageInfo
|
|
8102
8126
|
});
|
|
8103
8127
|
|
|
8104
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8128
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonDocumentationEvidence.mjs
|
|
8105
8129
|
var CommonDocumentationEvidence = schemas_exports.object({
|
|
8106
8130
|
evidenceId: Uuid.optional(),
|
|
8107
8131
|
type: schemas_exports.string().optional(),
|
|
8108
8132
|
quote: schemas_exports.string().optional()
|
|
8109
8133
|
});
|
|
8110
8134
|
|
|
8111
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8135
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentFactMinimal.mjs
|
|
8112
8136
|
var GuidedDocumentFactMinimal = schemas_exports.object({
|
|
8113
8137
|
text: schemas_exports.string(),
|
|
8114
8138
|
group: schemas_exports.string().optional()
|
|
8115
8139
|
});
|
|
8116
8140
|
|
|
8117
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8141
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonFactsContext.mjs
|
|
8118
8142
|
var CommonFactsContext = schemas_exports.object({
|
|
8119
8143
|
type: schemas_exports.stringLiteral("facts"),
|
|
8120
|
-
|
|
8144
|
+
facts: schemas_exports.list(GuidedDocumentFactMinimal)
|
|
8121
8145
|
});
|
|
8122
8146
|
|
|
8123
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8147
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonSortingDirectionEnum.mjs
|
|
8124
8148
|
var CommonSortingDirectionEnum = schemas_exports.enum_(["asc", "desc"]);
|
|
8125
8149
|
|
|
8126
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8150
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonStatusResponse.mjs
|
|
8127
8151
|
var CommonStatusResponse = schemas_exports.object({
|
|
8128
8152
|
status: schemas_exports.string(),
|
|
8129
8153
|
evidence: CommonDocumentationEvidence.optional()
|
|
8130
8154
|
});
|
|
8131
8155
|
|
|
8132
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8156
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.mjs
|
|
8133
8157
|
var GuidedDocumentTranscriptMetadataMinimal = schemas_exports.object({
|
|
8134
8158
|
participantsRoles: schemas_exports.list(TranscriptsParticipant).optionalNullable()
|
|
8135
8159
|
});
|
|
8136
8160
|
|
|
8137
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8161
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.mjs
|
|
8138
8162
|
var GuidedDocumentTranscriptSegmentMinimal = schemas_exports.object({
|
|
8139
8163
|
channel: schemas_exports.number().optional(),
|
|
8140
8164
|
participant: schemas_exports.number().optional(),
|
|
@@ -8144,19 +8168,19 @@ var GuidedDocumentTranscriptSegmentMinimal = schemas_exports.object({
|
|
|
8144
8168
|
end: schemas_exports.number().optional()
|
|
8145
8169
|
});
|
|
8146
8170
|
|
|
8147
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8171
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.mjs
|
|
8148
8172
|
var GuidedDocumentTranscriptMinimal = schemas_exports.object({
|
|
8149
8173
|
metadata: GuidedDocumentTranscriptMetadataMinimal.optional(),
|
|
8150
8174
|
transcripts: schemas_exports.list(GuidedDocumentTranscriptSegmentMinimal)
|
|
8151
8175
|
});
|
|
8152
8176
|
|
|
8153
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8177
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonTranscriptContext.mjs
|
|
8154
8178
|
var CommonTranscriptContext = schemas_exports.object({
|
|
8155
8179
|
type: schemas_exports.stringLiteral("transcript"),
|
|
8156
8180
|
transcript: GuidedDocumentTranscriptMinimal
|
|
8157
8181
|
});
|
|
8158
8182
|
|
|
8159
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8183
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonTranscriptRequest.mjs
|
|
8160
8184
|
var CommonTranscriptRequest = schemas_exports.object({
|
|
8161
8185
|
channel: schemas_exports.number().optional(),
|
|
8162
8186
|
participant: schemas_exports.number().optional(),
|
|
@@ -8166,7 +8190,7 @@ var CommonTranscriptRequest = schemas_exports.object({
|
|
|
8166
8190
|
end: schemas_exports.number().optional()
|
|
8167
8191
|
});
|
|
8168
8192
|
|
|
8169
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8193
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/CommonTranscriptResponse.mjs
|
|
8170
8194
|
var CommonTranscriptResponse = schemas_exports.object({
|
|
8171
8195
|
channel: schemas_exports.number(),
|
|
8172
8196
|
participant: schemas_exports.number(),
|
|
@@ -8176,55 +8200,55 @@ var CommonTranscriptResponse = schemas_exports.object({
|
|
|
8176
8200
|
end: schemas_exports.number()
|
|
8177
8201
|
});
|
|
8178
8202
|
|
|
8179
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8203
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextWithFactsType.mjs
|
|
8180
8204
|
var DocumentsContextWithFactsType = schemas_exports.enum_(["facts"]);
|
|
8181
8205
|
|
|
8182
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8206
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsContext.mjs
|
|
8183
8207
|
var FactsContext = schemas_exports.object({
|
|
8184
8208
|
text: schemas_exports.string(),
|
|
8185
8209
|
group: schemas_exports.string().optional(),
|
|
8186
8210
|
source: CommonSourceEnum.optional()
|
|
8187
8211
|
});
|
|
8188
8212
|
|
|
8189
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8213
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextWithFacts.mjs
|
|
8190
8214
|
var DocumentsContextWithFacts = schemas_exports.object({
|
|
8191
8215
|
type: DocumentsContextWithFactsType,
|
|
8192
8216
|
data: schemas_exports.list(FactsContext)
|
|
8193
8217
|
});
|
|
8194
8218
|
|
|
8195
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8219
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextWithStringType.mjs
|
|
8196
8220
|
var DocumentsContextWithStringType = schemas_exports.enum_(["string"]);
|
|
8197
8221
|
|
|
8198
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8222
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextWithString.mjs
|
|
8199
8223
|
var DocumentsContextWithString = schemas_exports.object({
|
|
8200
8224
|
type: DocumentsContextWithStringType,
|
|
8201
8225
|
data: schemas_exports.string()
|
|
8202
8226
|
});
|
|
8203
8227
|
|
|
8204
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8228
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextWithTranscriptType.mjs
|
|
8205
8229
|
var DocumentsContextWithTranscriptType = schemas_exports.enum_(["transcript"]);
|
|
8206
8230
|
|
|
8207
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8231
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextWithTranscript.mjs
|
|
8208
8232
|
var DocumentsContextWithTranscript = schemas_exports.object({
|
|
8209
8233
|
type: DocumentsContextWithTranscriptType,
|
|
8210
8234
|
data: CommonTranscriptRequest
|
|
8211
8235
|
});
|
|
8212
8236
|
|
|
8213
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8237
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContext.mjs
|
|
8214
8238
|
var DocumentsContext = schemas_exports.undiscriminatedUnion([
|
|
8215
8239
|
DocumentsContextWithFacts,
|
|
8216
8240
|
DocumentsContextWithTranscript,
|
|
8217
8241
|
DocumentsContextWithString
|
|
8218
8242
|
]);
|
|
8219
8243
|
|
|
8220
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8244
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsTemplateWithSectionKeys.mjs
|
|
8221
8245
|
var DocumentsTemplateWithSectionKeys = schemas_exports.object({
|
|
8222
8246
|
sectionKeys: schemas_exports.list(schemas_exports.string()),
|
|
8223
8247
|
documentName: schemas_exports.string().optional(),
|
|
8224
8248
|
additionalInstructions: schemas_exports.string().optional()
|
|
8225
8249
|
});
|
|
8226
8250
|
|
|
8227
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8251
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsSectionOverride.mjs
|
|
8228
8252
|
var DocumentsSectionOverride = schemas_exports.object({
|
|
8229
8253
|
key: schemas_exports.string(),
|
|
8230
8254
|
nameOverride: schemas_exports.string().optional(),
|
|
@@ -8234,20 +8258,20 @@ var DocumentsSectionOverride = schemas_exports.object({
|
|
|
8234
8258
|
contentOverride: schemas_exports.string().optional()
|
|
8235
8259
|
});
|
|
8236
8260
|
|
|
8237
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8261
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsTemplateWithSections.mjs
|
|
8238
8262
|
var DocumentsTemplateWithSections = schemas_exports.object({
|
|
8239
8263
|
sections: schemas_exports.list(DocumentsSectionOverride),
|
|
8240
8264
|
description: schemas_exports.string().optional(),
|
|
8241
8265
|
additionalInstructionsOverride: schemas_exports.string().optional()
|
|
8242
8266
|
});
|
|
8243
8267
|
|
|
8244
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8268
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsTemplate.mjs
|
|
8245
8269
|
var DocumentsTemplate = schemas_exports.undiscriminatedUnion([DocumentsTemplateWithSections, DocumentsTemplateWithSectionKeys]);
|
|
8246
8270
|
|
|
8247
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8271
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesDocumentationModeEnum.mjs
|
|
8248
8272
|
var TemplatesDocumentationModeEnum = schemas_exports.enum_(["global_sequential", "routed_parallel"]);
|
|
8249
8273
|
|
|
8250
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8274
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs
|
|
8251
8275
|
var DocumentsCreateRequestWithTemplate = schemas_exports.object({
|
|
8252
8276
|
context: schemas_exports.list(DocumentsContext),
|
|
8253
8277
|
template: DocumentsTemplate,
|
|
@@ -8257,7 +8281,7 @@ var DocumentsCreateRequestWithTemplate = schemas_exports.object({
|
|
|
8257
8281
|
documentationMode: TemplatesDocumentationModeEnum.optional()
|
|
8258
8282
|
});
|
|
8259
8283
|
|
|
8260
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8284
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs
|
|
8261
8285
|
var DocumentsCreateRequestWithTemplateKey = schemas_exports.object({
|
|
8262
8286
|
context: schemas_exports.list(DocumentsContext),
|
|
8263
8287
|
templateKey: schemas_exports.string(),
|
|
@@ -8267,13 +8291,13 @@ var DocumentsCreateRequestWithTemplateKey = schemas_exports.object({
|
|
|
8267
8291
|
documentationMode: TemplatesDocumentationModeEnum.optional()
|
|
8268
8292
|
});
|
|
8269
8293
|
|
|
8270
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8294
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequest.mjs
|
|
8271
8295
|
var DocumentsCreateRequest = schemas_exports.undiscriminatedUnion([
|
|
8272
8296
|
DocumentsCreateRequestWithTemplateKey,
|
|
8273
8297
|
DocumentsCreateRequestWithTemplate
|
|
8274
8298
|
]);
|
|
8275
8299
|
|
|
8276
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8300
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsSection.mjs
|
|
8277
8301
|
var DocumentsSection = schemas_exports.object({
|
|
8278
8302
|
key: schemas_exports.string(),
|
|
8279
8303
|
name: schemas_exports.string(),
|
|
@@ -8283,7 +8307,7 @@ var DocumentsSection = schemas_exports.object({
|
|
|
8283
8307
|
updatedAt: schemas_exports.date()
|
|
8284
8308
|
});
|
|
8285
8309
|
|
|
8286
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8310
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsGetResponse.mjs
|
|
8287
8311
|
var DocumentsGetResponse = schemas_exports.object({
|
|
8288
8312
|
id: Uuid,
|
|
8289
8313
|
name: schemas_exports.string(),
|
|
@@ -8296,12 +8320,12 @@ var DocumentsGetResponse = schemas_exports.object({
|
|
|
8296
8320
|
usageInfo: CommonUsageInfo
|
|
8297
8321
|
});
|
|
8298
8322
|
|
|
8299
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8323
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsListResponse.mjs
|
|
8300
8324
|
var DocumentsListResponse = schemas_exports.object({
|
|
8301
8325
|
data: schemas_exports.list(DocumentsGetResponse)
|
|
8302
8326
|
});
|
|
8303
8327
|
|
|
8304
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8328
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/ErrorResponse.mjs
|
|
8305
8329
|
var ErrorResponse = schemas_exports.object({
|
|
8306
8330
|
requestid: schemas_exports.string(),
|
|
8307
8331
|
status: schemas_exports.number(),
|
|
@@ -8310,7 +8334,7 @@ var ErrorResponse = schemas_exports.object({
|
|
|
8310
8334
|
validationErrors: schemas_exports.list(schemas_exports.record(schemas_exports.string(), schemas_exports.string())).optional()
|
|
8311
8335
|
});
|
|
8312
8336
|
|
|
8313
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8337
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsBatchUpdateItem.mjs
|
|
8314
8338
|
var FactsBatchUpdateItem = schemas_exports.object({
|
|
8315
8339
|
id: schemas_exports.string(),
|
|
8316
8340
|
text: schemas_exports.string(),
|
|
@@ -8322,12 +8346,12 @@ var FactsBatchUpdateItem = schemas_exports.object({
|
|
|
8322
8346
|
updatedAt: schemas_exports.date()
|
|
8323
8347
|
});
|
|
8324
8348
|
|
|
8325
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8349
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsBatchUpdateResponse.mjs
|
|
8326
8350
|
var FactsBatchUpdateResponse = schemas_exports.object({
|
|
8327
8351
|
facts: schemas_exports.list(FactsBatchUpdateItem)
|
|
8328
8352
|
});
|
|
8329
8353
|
|
|
8330
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8354
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsCreateItem.mjs
|
|
8331
8355
|
var FactsCreateItem = schemas_exports.object({
|
|
8332
8356
|
id: schemas_exports.string().optional(),
|
|
8333
8357
|
text: schemas_exports.string().optional(),
|
|
@@ -8338,52 +8362,52 @@ var FactsCreateItem = schemas_exports.object({
|
|
|
8338
8362
|
updatedAt: schemas_exports.date().optional()
|
|
8339
8363
|
});
|
|
8340
8364
|
|
|
8341
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8365
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsCreateResponse.mjs
|
|
8342
8366
|
var FactsCreateResponse = schemas_exports.object({
|
|
8343
8367
|
facts: schemas_exports.list(FactsCreateItem)
|
|
8344
8368
|
});
|
|
8345
8369
|
|
|
8346
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8370
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsEvidence.mjs
|
|
8347
8371
|
var FactsEvidence = schemas_exports.object({
|
|
8348
8372
|
type: schemas_exports.string().optional(),
|
|
8349
8373
|
reference: schemas_exports.string().optional(),
|
|
8350
8374
|
quote: schemas_exports.string().optional()
|
|
8351
8375
|
});
|
|
8352
8376
|
|
|
8353
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8377
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsExtractResponseFactsItem.mjs
|
|
8354
8378
|
var FactsExtractResponseFactsItem = schemas_exports.object({
|
|
8355
8379
|
group: schemas_exports.string(),
|
|
8356
8380
|
value: schemas_exports.string(),
|
|
8357
8381
|
text: schemas_exports.string()
|
|
8358
8382
|
});
|
|
8359
8383
|
|
|
8360
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8384
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsExtractResponse.mjs
|
|
8361
8385
|
var FactsExtractResponse = schemas_exports.object({
|
|
8362
8386
|
facts: schemas_exports.list(FactsExtractResponseFactsItem),
|
|
8363
8387
|
outputLanguage: schemas_exports.string(),
|
|
8364
8388
|
usageInfo: CommonUsageInfo
|
|
8365
8389
|
});
|
|
8366
8390
|
|
|
8367
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8391
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsFactGroupsItemTranslationsItem.mjs
|
|
8368
8392
|
var FactsFactGroupsItemTranslationsItem = schemas_exports.object({
|
|
8369
8393
|
id: schemas_exports.number().optional(),
|
|
8370
8394
|
languagesId: schemas_exports.property("languages_id", schemas_exports.string().optional()),
|
|
8371
8395
|
name: schemas_exports.string().optional()
|
|
8372
8396
|
});
|
|
8373
8397
|
|
|
8374
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8398
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsFactGroupsItem.mjs
|
|
8375
8399
|
var FactsFactGroupsItem = schemas_exports.object({
|
|
8376
8400
|
id: Uuid.optional(),
|
|
8377
8401
|
key: schemas_exports.string().optional(),
|
|
8378
8402
|
translations: schemas_exports.list(FactsFactGroupsItemTranslationsItem).optional()
|
|
8379
8403
|
});
|
|
8380
8404
|
|
|
8381
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8405
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsFactGroupsListResponse.mjs
|
|
8382
8406
|
var FactsFactGroupsListResponse = schemas_exports.object({
|
|
8383
8407
|
data: schemas_exports.list(FactsFactGroupsItem)
|
|
8384
8408
|
});
|
|
8385
8409
|
|
|
8386
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8410
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsListItem.mjs
|
|
8387
8411
|
var FactsListItem = schemas_exports.object({
|
|
8388
8412
|
id: schemas_exports.string().optional(),
|
|
8389
8413
|
text: schemas_exports.string().optional(),
|
|
@@ -8396,12 +8420,12 @@ var FactsListItem = schemas_exports.object({
|
|
|
8396
8420
|
evidence: schemas_exports.list(FactsEvidence).optional()
|
|
8397
8421
|
});
|
|
8398
8422
|
|
|
8399
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8423
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsListResponse.mjs
|
|
8400
8424
|
var FactsListResponse = schemas_exports.object({
|
|
8401
8425
|
facts: schemas_exports.list(FactsListItem)
|
|
8402
8426
|
});
|
|
8403
8427
|
|
|
8404
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8428
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/FactsUpdateResponse.mjs
|
|
8405
8429
|
var FactsUpdateResponse = schemas_exports.object({
|
|
8406
8430
|
id: schemas_exports.string(),
|
|
8407
8431
|
text: schemas_exports.string(),
|
|
@@ -8413,7 +8437,7 @@ var FactsUpdateResponse = schemas_exports.object({
|
|
|
8413
8437
|
updatedAt: schemas_exports.date()
|
|
8414
8438
|
});
|
|
8415
8439
|
|
|
8416
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8440
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedArrayNode.mjs
|
|
8417
8441
|
var GuidedArrayNode = schemas_exports.object({
|
|
8418
8442
|
type: schemas_exports.stringLiteral("array"),
|
|
8419
8443
|
description: schemas_exports.string().optional(),
|
|
@@ -8423,128 +8447,132 @@ var GuidedArrayNode = schemas_exports.object({
|
|
|
8423
8447
|
maxItems: schemas_exports.number().optionalNullable()
|
|
8424
8448
|
});
|
|
8425
8449
|
|
|
8426
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8450
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionInstructionsOverride.mjs
|
|
8427
8451
|
var GuidedSectionInstructionsOverride = schemas_exports.object({
|
|
8428
8452
|
contentPrompt: schemas_exports.string().optional(),
|
|
8429
8453
|
writingStylePrompt: schemas_exports.string().optional(),
|
|
8430
8454
|
miscPrompt: schemas_exports.string().optional()
|
|
8431
8455
|
});
|
|
8432
8456
|
|
|
8433
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8457
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionOverrides.mjs
|
|
8434
8458
|
var GuidedSectionOverrides = schemas_exports.object({
|
|
8435
8459
|
heading: schemas_exports.string().optionalNullable(),
|
|
8436
8460
|
instructions: GuidedSectionInstructionsOverride.optional(),
|
|
8437
8461
|
outputSchema: schemas_exports.lazy(() => GuidedOutputSchema).optional()
|
|
8438
8462
|
});
|
|
8439
8463
|
|
|
8440
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8464
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedAssemblySectionRef.mjs
|
|
8441
8465
|
var GuidedAssemblySectionRef = schemas_exports.object({
|
|
8442
8466
|
sectionId: schemas_exports.string(),
|
|
8443
8467
|
sectionVersionId: schemas_exports.string().optionalNullable(),
|
|
8444
8468
|
overrides: GuidedSectionOverrides.optional()
|
|
8445
8469
|
});
|
|
8446
8470
|
|
|
8447
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8471
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedAssemblyRequest.mjs
|
|
8448
8472
|
var GuidedAssemblyRequest = schemas_exports.object({
|
|
8449
8473
|
name: schemas_exports.string(),
|
|
8450
8474
|
instructions: GuidedTemplateInstructions.optional(),
|
|
8451
8475
|
sectionRefs: schemas_exports.list(GuidedAssemblySectionRef)
|
|
8452
8476
|
});
|
|
8453
8477
|
|
|
8454
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8478
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedBoolNode.mjs
|
|
8455
8479
|
var GuidedBoolNode = schemas_exports.object({
|
|
8456
8480
|
type: schemas_exports.stringLiteral("boolean"),
|
|
8457
8481
|
description: schemas_exports.string().optional(),
|
|
8458
8482
|
default: schemas_exports.boolean().optionalNullable()
|
|
8459
8483
|
});
|
|
8460
8484
|
|
|
8461
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8485
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentContext.mjs
|
|
8462
8486
|
var GuidedDocumentContext = schemas_exports.undiscriminatedUnion([CommonTextContext, CommonTranscriptContext, CommonFactsContext]);
|
|
8463
8487
|
|
|
8464
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8488
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedEphemeralDocument.mjs
|
|
8465
8489
|
var GuidedEphemeralDocument = schemas_exports.object({
|
|
8466
8490
|
name: schemas_exports.string(),
|
|
8467
8491
|
templateId: schemas_exports.string(),
|
|
8468
8492
|
templateVersionId: schemas_exports.string(),
|
|
8469
8493
|
language: schemas_exports.string(),
|
|
8494
|
+
interactionId: schemas_exports.string().optionalNullable(),
|
|
8470
8495
|
stringDocument: schemas_exports.record(schemas_exports.string(), schemas_exports.string()),
|
|
8471
|
-
structuredDocument: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optionalNullable()
|
|
8496
|
+
structuredDocument: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown()).optionalNullable(),
|
|
8497
|
+
labels: schemas_exports.list(GuidedLabel)
|
|
8472
8498
|
});
|
|
8473
8499
|
|
|
8474
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8500
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentsCreateEphemeralResponse.mjs
|
|
8475
8501
|
var GuidedDocumentsCreateEphemeralResponse = schemas_exports.object({
|
|
8476
8502
|
document: GuidedEphemeralDocument,
|
|
8477
8503
|
usageInfo: CommonUsageInfo
|
|
8478
8504
|
});
|
|
8479
8505
|
|
|
8480
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8506
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentsGenerateBase.mjs
|
|
8481
8507
|
var GuidedDocumentsGenerateBase = schemas_exports.object({
|
|
8482
8508
|
outputLanguage: schemas_exports.string(),
|
|
8483
8509
|
context: schemas_exports.list(GuidedDocumentContext).optional(),
|
|
8484
|
-
interactionId: schemas_exports.string().optional()
|
|
8510
|
+
interactionId: schemas_exports.string().optional(),
|
|
8511
|
+
labels: schemas_exports.list(GuidedLabel).optional()
|
|
8485
8512
|
});
|
|
8486
8513
|
|
|
8487
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8514
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentsGenerateByAssembly.mjs
|
|
8488
8515
|
var GuidedDocumentsGenerateByAssembly = schemas_exports.object({
|
|
8489
8516
|
assemblyTemplate: GuidedAssemblyRequest
|
|
8490
8517
|
}).extend(GuidedDocumentsGenerateBase);
|
|
8491
8518
|
|
|
8492
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8519
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDynamicInline.mjs
|
|
8493
8520
|
var GuidedDynamicInline = schemas_exports.object({
|
|
8494
8521
|
instructions: GuidedTemplateInstructions,
|
|
8495
8522
|
sections: schemas_exports.list(GuidedSectionGeneration)
|
|
8496
8523
|
});
|
|
8497
8524
|
|
|
8498
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8525
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDynamicRequest.mjs
|
|
8499
8526
|
var GuidedDynamicRequest = schemas_exports.object({
|
|
8500
8527
|
name: schemas_exports.string(),
|
|
8501
8528
|
generation: GuidedDynamicInline
|
|
8502
8529
|
});
|
|
8503
8530
|
|
|
8504
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8531
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentsGenerateByDynamic.mjs
|
|
8505
8532
|
var GuidedDocumentsGenerateByDynamic = schemas_exports.object({
|
|
8506
8533
|
dynamicTemplate: GuidedDynamicRequest
|
|
8507
8534
|
}).extend(GuidedDocumentsGenerateBase);
|
|
8508
8535
|
|
|
8509
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8536
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionOverride.mjs
|
|
8510
8537
|
var GuidedSectionOverride = schemas_exports.object({
|
|
8511
8538
|
sectionId: schemas_exports.string(),
|
|
8512
8539
|
generation: GuidedSectionOverrides.optional()
|
|
8513
8540
|
});
|
|
8514
8541
|
|
|
8515
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8542
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateOverrides.mjs
|
|
8516
8543
|
var GuidedTemplateOverrides = schemas_exports.object({
|
|
8517
8544
|
instructions: GuidedTemplateInstructions.optional(),
|
|
8518
8545
|
sections: schemas_exports.list(GuidedSectionOverride).optional()
|
|
8519
8546
|
});
|
|
8520
8547
|
|
|
8521
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8548
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateRef.mjs
|
|
8522
8549
|
var GuidedTemplateRef = schemas_exports.object({
|
|
8523
8550
|
templateId: schemas_exports.string(),
|
|
8524
8551
|
templateVersionId: schemas_exports.string().optionalNullable(),
|
|
8525
8552
|
overrides: GuidedTemplateOverrides.optional()
|
|
8526
8553
|
});
|
|
8527
8554
|
|
|
8528
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8555
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentsGenerateByTemplateRef.mjs
|
|
8529
8556
|
var GuidedDocumentsGenerateByTemplateRef = schemas_exports.object({
|
|
8530
8557
|
templateRef: GuidedTemplateRef
|
|
8531
8558
|
}).extend(GuidedDocumentsGenerateBase);
|
|
8532
8559
|
|
|
8533
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8560
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedDocumentsGenerateRequest.mjs
|
|
8534
8561
|
var GuidedDocumentsGenerateRequest = schemas_exports.undiscriminatedUnion([
|
|
8535
8562
|
GuidedDocumentsGenerateByTemplateRef,
|
|
8536
8563
|
GuidedDocumentsGenerateByAssembly,
|
|
8537
8564
|
GuidedDocumentsGenerateByDynamic
|
|
8538
8565
|
]);
|
|
8539
8566
|
|
|
8540
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8567
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedFieldDefinition.mjs
|
|
8541
8568
|
var GuidedFieldDefinition = schemas_exports.object({
|
|
8542
8569
|
key: schemas_exports.string(),
|
|
8543
8570
|
description: schemas_exports.string(),
|
|
8544
|
-
value: schemas_exports.lazy(() => GuidedOutputSchema)
|
|
8571
|
+
value: schemas_exports.lazy(() => GuidedOutputSchema),
|
|
8572
|
+
default: schemas_exports.string().optionalNullable()
|
|
8545
8573
|
});
|
|
8546
8574
|
|
|
8547
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8575
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedNumberNode.mjs
|
|
8548
8576
|
var GuidedNumberNode = schemas_exports.object({
|
|
8549
8577
|
type: schemas_exports.stringLiteral("number"),
|
|
8550
8578
|
description: schemas_exports.string().optional(),
|
|
@@ -8554,7 +8582,7 @@ var GuidedNumberNode = schemas_exports.object({
|
|
|
8554
8582
|
maximum: schemas_exports.number().optionalNullable()
|
|
8555
8583
|
});
|
|
8556
8584
|
|
|
8557
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8585
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedObjectNode.mjs
|
|
8558
8586
|
var GuidedObjectNode = schemas_exports.object({
|
|
8559
8587
|
type: schemas_exports.stringLiteral("object"),
|
|
8560
8588
|
description: schemas_exports.string().optional(),
|
|
@@ -8562,7 +8590,7 @@ var GuidedObjectNode = schemas_exports.object({
|
|
|
8562
8590
|
fields: schemas_exports.list(schemas_exports.lazyObject(() => GuidedFieldDefinition)).optional()
|
|
8563
8591
|
});
|
|
8564
8592
|
|
|
8565
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8593
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedStringNode.mjs
|
|
8566
8594
|
var GuidedStringNode = schemas_exports.object({
|
|
8567
8595
|
type: schemas_exports.stringLiteral("string"),
|
|
8568
8596
|
description: schemas_exports.string().optional(),
|
|
@@ -8571,7 +8599,7 @@ var GuidedStringNode = schemas_exports.object({
|
|
|
8571
8599
|
pattern: schemas_exports.string().optionalNullable()
|
|
8572
8600
|
});
|
|
8573
8601
|
|
|
8574
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8602
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedOutputSchema.mjs
|
|
8575
8603
|
var GuidedOutputSchema = schemas_exports.undiscriminatedUnion([
|
|
8576
8604
|
GuidedStringNode,
|
|
8577
8605
|
GuidedNumberNode,
|
|
@@ -8580,13 +8608,12 @@ var GuidedOutputSchema = schemas_exports.undiscriminatedUnion([
|
|
|
8580
8608
|
schemas_exports.lazyObject(() => GuidedArrayNode)
|
|
8581
8609
|
]);
|
|
8582
8610
|
|
|
8583
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8584
|
-
var
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
});
|
|
8611
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSection.mjs
|
|
8612
|
+
var GuidedSection = schemas_exports.object({
|
|
8613
|
+
publishedVersion: GuidedSectionVersion.optional()
|
|
8614
|
+
}).extend(GuidedSectionListItem);
|
|
8588
8615
|
|
|
8589
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8616
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionsCreateBase.mjs
|
|
8590
8617
|
var GuidedSectionsCreateBase = schemas_exports.object({
|
|
8591
8618
|
name: schemas_exports.string(),
|
|
8592
8619
|
description: schemas_exports.string().optional(),
|
|
@@ -8594,37 +8621,49 @@ var GuidedSectionsCreateBase = schemas_exports.object({
|
|
|
8594
8621
|
regions: schemas_exports.list(schemas_exports.string()).optional(),
|
|
8595
8622
|
specialties: schemas_exports.list(schemas_exports.string()).optional(),
|
|
8596
8623
|
labels: schemas_exports.list(GuidedLabel).optional(),
|
|
8597
|
-
publish: schemas_exports.boolean().optional()
|
|
8598
|
-
policies: schemas_exports.list(GuidedSectionsCreatePolicyRequest).optional()
|
|
8624
|
+
publish: schemas_exports.boolean().optional()
|
|
8599
8625
|
});
|
|
8600
8626
|
|
|
8601
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8627
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionsCreateFromInheritanceRequest.mjs
|
|
8602
8628
|
var GuidedSectionsCreateFromInheritanceRequest = schemas_exports.object({
|
|
8603
8629
|
inheritFromId: schemas_exports.string(),
|
|
8604
8630
|
generation: GuidedSectionGenerationPartial.optional()
|
|
8605
8631
|
}).extend(GuidedSectionsCreateBase);
|
|
8606
8632
|
|
|
8607
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8633
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionsCreateFromScratchRequest.mjs
|
|
8608
8634
|
var GuidedSectionsCreateFromScratchRequest = schemas_exports.object({
|
|
8609
8635
|
generation: GuidedSectionGeneration
|
|
8610
8636
|
}).extend(GuidedSectionsCreateBase);
|
|
8611
8637
|
|
|
8612
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8638
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSectionsCreateRequest.mjs
|
|
8613
8639
|
var GuidedSectionsCreateRequest = schemas_exports.undiscriminatedUnion([
|
|
8614
|
-
|
|
8615
|
-
|
|
8640
|
+
GuidedSectionsCreateFromInheritanceRequest,
|
|
8641
|
+
GuidedSectionsCreateFromScratchRequest
|
|
8616
8642
|
]);
|
|
8617
8643
|
|
|
8618
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8644
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedSourceFilter.mjs
|
|
8619
8645
|
var GuidedSourceFilter = schemas_exports.enum_(["user", "corti"]);
|
|
8620
8646
|
|
|
8621
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8622
|
-
var
|
|
8623
|
-
|
|
8624
|
-
|
|
8647
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateGeneration.mjs
|
|
8648
|
+
var GuidedTemplateGeneration = schemas_exports.object({
|
|
8649
|
+
instructions: GuidedTemplateInstructions,
|
|
8650
|
+
sections: schemas_exports.list(GuidedSection).optional()
|
|
8651
|
+
});
|
|
8652
|
+
|
|
8653
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplateVersion.mjs
|
|
8654
|
+
var GuidedTemplateVersion = schemas_exports.object({
|
|
8655
|
+
id: schemas_exports.string(),
|
|
8656
|
+
versionNumber: schemas_exports.number(),
|
|
8657
|
+
deletedAt: schemas_exports.date().optionalNullable(),
|
|
8658
|
+
generation: GuidedTemplateGeneration
|
|
8625
8659
|
});
|
|
8626
8660
|
|
|
8627
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8661
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplate.mjs
|
|
8662
|
+
var GuidedTemplate = schemas_exports.object({
|
|
8663
|
+
publishedVersion: GuidedTemplateVersion.optional()
|
|
8664
|
+
}).extend(GuidedTemplateListItem);
|
|
8665
|
+
|
|
8666
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesCreateBase.mjs
|
|
8628
8667
|
var GuidedTemplatesCreateBase = schemas_exports.object({
|
|
8629
8668
|
name: schemas_exports.string(),
|
|
8630
8669
|
description: schemas_exports.string().optional(),
|
|
@@ -8632,46 +8671,45 @@ var GuidedTemplatesCreateBase = schemas_exports.object({
|
|
|
8632
8671
|
regions: schemas_exports.list(schemas_exports.string()).optional(),
|
|
8633
8672
|
specialties: schemas_exports.list(schemas_exports.string()).optional(),
|
|
8634
8673
|
labels: schemas_exports.list(GuidedLabel).optional(),
|
|
8635
|
-
publish: schemas_exports.boolean().optional()
|
|
8636
|
-
policies: schemas_exports.list(GuidedTemplatesCreatePolicyRequest).optional()
|
|
8674
|
+
publish: schemas_exports.boolean().optional()
|
|
8637
8675
|
});
|
|
8638
8676
|
|
|
8639
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8677
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesCreateFromInheritanceRequestGeneration.mjs
|
|
8640
8678
|
var GuidedTemplatesCreateFromInheritanceRequestGeneration = schemas_exports.object({
|
|
8641
8679
|
instructions: GuidedTemplateInstructionsPartial.optional(),
|
|
8642
8680
|
sections: schemas_exports.list(GuidedTemplatesVersionSectionRequest).optional()
|
|
8643
8681
|
});
|
|
8644
8682
|
|
|
8645
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8683
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesCreateFromInheritanceRequest.mjs
|
|
8646
8684
|
var GuidedTemplatesCreateFromInheritanceRequest = schemas_exports.object({
|
|
8647
8685
|
inheritFromId: schemas_exports.string(),
|
|
8648
8686
|
generation: GuidedTemplatesCreateFromInheritanceRequestGeneration.optional()
|
|
8649
8687
|
}).extend(GuidedTemplatesCreateBase);
|
|
8650
8688
|
|
|
8651
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8689
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesCreateFromScratchRequestGeneration.mjs
|
|
8652
8690
|
var GuidedTemplatesCreateFromScratchRequestGeneration = schemas_exports.object({
|
|
8653
|
-
instructions: GuidedTemplateInstructions,
|
|
8691
|
+
instructions: GuidedTemplateInstructions.optional(),
|
|
8654
8692
|
sections: schemas_exports.list(GuidedTemplatesVersionSectionRequest).optional()
|
|
8655
8693
|
});
|
|
8656
8694
|
|
|
8657
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8695
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesCreateFromScratchRequest.mjs
|
|
8658
8696
|
var GuidedTemplatesCreateFromScratchRequest = schemas_exports.object({
|
|
8659
8697
|
generation: GuidedTemplatesCreateFromScratchRequestGeneration
|
|
8660
8698
|
}).extend(GuidedTemplatesCreateBase);
|
|
8661
8699
|
|
|
8662
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8700
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/GuidedTemplatesCreateRequest.mjs
|
|
8663
8701
|
var GuidedTemplatesCreateRequest = schemas_exports.undiscriminatedUnion([
|
|
8664
|
-
|
|
8665
|
-
|
|
8702
|
+
GuidedTemplatesCreateFromInheritanceRequest,
|
|
8703
|
+
GuidedTemplatesCreateFromScratchRequest
|
|
8666
8704
|
]);
|
|
8667
8705
|
|
|
8668
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8706
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsCreateResponse.mjs
|
|
8669
8707
|
var InteractionsCreateResponse = schemas_exports.object({
|
|
8670
8708
|
interactionId: Uuid,
|
|
8671
8709
|
websocketUrl: schemas_exports.string()
|
|
8672
8710
|
});
|
|
8673
8711
|
|
|
8674
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8712
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterResponse.mjs
|
|
8675
8713
|
var InteractionsEncounterResponse = schemas_exports.object({
|
|
8676
8714
|
identifier: schemas_exports.string(),
|
|
8677
8715
|
status: InteractionsEncounterStatusEnum,
|
|
@@ -8680,7 +8718,7 @@ var InteractionsEncounterResponse = schemas_exports.object({
|
|
|
8680
8718
|
title: schemas_exports.string().optionalNullable()
|
|
8681
8719
|
});
|
|
8682
8720
|
|
|
8683
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8721
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsGetResponse.mjs
|
|
8684
8722
|
var InteractionsGetResponse = schemas_exports.object({
|
|
8685
8723
|
id: Uuid,
|
|
8686
8724
|
assignedUserId: Uuid,
|
|
@@ -8693,67 +8731,67 @@ var InteractionsGetResponse = schemas_exports.object({
|
|
|
8693
8731
|
lastUpdated: schemas_exports.date()
|
|
8694
8732
|
});
|
|
8695
8733
|
|
|
8696
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8734
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsListResponse.mjs
|
|
8697
8735
|
var InteractionsListResponse = schemas_exports.object({
|
|
8698
8736
|
interactions: schemas_exports.list(InteractionsGetResponse)
|
|
8699
8737
|
});
|
|
8700
8738
|
|
|
8701
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8739
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/LanguagesListResponse.mjs
|
|
8702
8740
|
var LanguagesListResponse = schemas_exports.object({
|
|
8703
8741
|
languages: schemas_exports.record(schemas_exports.string(), schemas_exports.unknown())
|
|
8704
8742
|
});
|
|
8705
8743
|
|
|
8706
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8744
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/OAuthTokenRequest.mjs
|
|
8707
8745
|
var OAuthTokenRequest = schemas_exports.object({
|
|
8708
8746
|
clientId: schemas_exports.property("client_id", schemas_exports.string()),
|
|
8709
8747
|
clientSecret: schemas_exports.property("client_secret", schemas_exports.string()),
|
|
8710
8748
|
refreshToken: schemas_exports.property("refresh_token", schemas_exports.string().optional())
|
|
8711
8749
|
});
|
|
8712
8750
|
|
|
8713
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8751
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/RecordingsCreateResponse.mjs
|
|
8714
8752
|
var RecordingsCreateResponse = schemas_exports.object({
|
|
8715
8753
|
recordingId: Uuid
|
|
8716
8754
|
});
|
|
8717
8755
|
|
|
8718
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8756
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/RecordingsListResponse.mjs
|
|
8719
8757
|
var RecordingsListResponse = schemas_exports.object({
|
|
8720
8758
|
recordings: schemas_exports.list(Uuid)
|
|
8721
8759
|
});
|
|
8722
8760
|
|
|
8723
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8761
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigMessage.mjs
|
|
8724
8762
|
var StreamConfigMessage = schemas_exports.object({
|
|
8725
8763
|
type: schemas_exports.stringLiteral("config"),
|
|
8726
8764
|
configuration: StreamConfig
|
|
8727
8765
|
});
|
|
8728
8766
|
|
|
8729
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8767
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamEndMessage.mjs
|
|
8730
8768
|
var StreamEndMessage = schemas_exports.object({
|
|
8731
8769
|
type: schemas_exports.stringLiteral("end")
|
|
8732
8770
|
});
|
|
8733
8771
|
|
|
8734
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8772
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/StreamFlushMessage.mjs
|
|
8735
8773
|
var StreamFlushMessage = schemas_exports.object({
|
|
8736
8774
|
type: schemas_exports.stringLiteral("flush")
|
|
8737
8775
|
});
|
|
8738
8776
|
|
|
8739
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8777
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesFormatRule.mjs
|
|
8740
8778
|
var TemplatesFormatRule = schemas_exports.object({
|
|
8741
8779
|
name: schemas_exports.string().nullable()
|
|
8742
8780
|
});
|
|
8743
8781
|
|
|
8744
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8782
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSectionTranslation.mjs
|
|
8745
8783
|
var TemplatesSectionTranslation = schemas_exports.object({
|
|
8746
8784
|
languageId: schemas_exports.string(),
|
|
8747
8785
|
name: schemas_exports.string().optionalNullable(),
|
|
8748
8786
|
description: schemas_exports.string().optionalNullable()
|
|
8749
8787
|
});
|
|
8750
8788
|
|
|
8751
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8789
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesWritingStyle.mjs
|
|
8752
8790
|
var TemplatesWritingStyle = schemas_exports.object({
|
|
8753
8791
|
name: schemas_exports.string()
|
|
8754
8792
|
});
|
|
8755
8793
|
|
|
8756
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8794
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSection.mjs
|
|
8757
8795
|
var TemplatesSection = schemas_exports.object({
|
|
8758
8796
|
updatedAt: schemas_exports.date().optionalNullable(),
|
|
8759
8797
|
name: schemas_exports.string(),
|
|
@@ -8769,20 +8807,20 @@ var TemplatesSection = schemas_exports.object({
|
|
|
8769
8807
|
translations: schemas_exports.list(TemplatesSectionTranslation)
|
|
8770
8808
|
});
|
|
8771
8809
|
|
|
8772
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8810
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSectionSorted.mjs
|
|
8773
8811
|
var TemplatesSectionSorted = schemas_exports.object({
|
|
8774
8812
|
sort: schemas_exports.number(),
|
|
8775
8813
|
section: TemplatesSection
|
|
8776
8814
|
});
|
|
8777
8815
|
|
|
8778
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8816
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesTranslation.mjs
|
|
8779
8817
|
var TemplatesTranslation = schemas_exports.object({
|
|
8780
8818
|
languageId: schemas_exports.string(),
|
|
8781
8819
|
name: schemas_exports.string().optional(),
|
|
8782
8820
|
description: schemas_exports.string().optional()
|
|
8783
8821
|
});
|
|
8784
8822
|
|
|
8785
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8823
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesItem.mjs
|
|
8786
8824
|
var TemplatesItem = schemas_exports.object({
|
|
8787
8825
|
updatedAt: schemas_exports.date().optionalNullable(),
|
|
8788
8826
|
name: schemas_exports.string(),
|
|
@@ -8795,59 +8833,59 @@ var TemplatesItem = schemas_exports.object({
|
|
|
8795
8833
|
translations: schemas_exports.list(TemplatesTranslation)
|
|
8796
8834
|
});
|
|
8797
8835
|
|
|
8798
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8836
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesListResponse.mjs
|
|
8799
8837
|
var TemplatesListResponse = schemas_exports.object({
|
|
8800
8838
|
data: schemas_exports.list(TemplatesItem)
|
|
8801
8839
|
});
|
|
8802
8840
|
|
|
8803
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8841
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSectionListResponse.mjs
|
|
8804
8842
|
var TemplatesSectionListResponse = schemas_exports.object({
|
|
8805
8843
|
data: schemas_exports.list(TemplatesSection)
|
|
8806
8844
|
});
|
|
8807
8845
|
|
|
8808
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8846
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigMessage.mjs
|
|
8809
8847
|
var TranscribeConfigMessage = schemas_exports.object({
|
|
8810
8848
|
type: schemas_exports.stringLiteral("config"),
|
|
8811
8849
|
configuration: TranscribeConfig
|
|
8812
8850
|
});
|
|
8813
8851
|
|
|
8814
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8852
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeEndMessage.mjs
|
|
8815
8853
|
var TranscribeEndMessage = schemas_exports.object({
|
|
8816
8854
|
type: schemas_exports.stringLiteral("end")
|
|
8817
8855
|
});
|
|
8818
8856
|
|
|
8819
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8857
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeFlushMessage.mjs
|
|
8820
8858
|
var TranscribeFlushMessage = schemas_exports.object({
|
|
8821
8859
|
type: schemas_exports.stringLiteral("flush")
|
|
8822
8860
|
});
|
|
8823
8861
|
|
|
8824
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8862
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsMetadata.mjs
|
|
8825
8863
|
var TranscriptsMetadata = schemas_exports.object({
|
|
8826
8864
|
participantsRoles: schemas_exports.list(TranscriptsParticipant).optionalNullable()
|
|
8827
8865
|
});
|
|
8828
8866
|
|
|
8829
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8867
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsData.mjs
|
|
8830
8868
|
var TranscriptsData = schemas_exports.object({
|
|
8831
8869
|
metadata: TranscriptsMetadata,
|
|
8832
8870
|
transcripts: schemas_exports.list(CommonTranscriptResponse)
|
|
8833
8871
|
});
|
|
8834
8872
|
|
|
8835
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8873
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsListItem.mjs
|
|
8836
8874
|
var TranscriptsListItem = schemas_exports.object({
|
|
8837
8875
|
id: Uuid,
|
|
8838
8876
|
transcriptSample: schemas_exports.string(),
|
|
8839
8877
|
transcript: TranscriptsData.optional()
|
|
8840
8878
|
});
|
|
8841
8879
|
|
|
8842
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8880
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsListResponse.mjs
|
|
8843
8881
|
var TranscriptsListResponse = schemas_exports.object({
|
|
8844
8882
|
transcripts: schemas_exports.list(TranscriptsListItem).nullable()
|
|
8845
8883
|
});
|
|
8846
8884
|
|
|
8847
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8885
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsStatusEnum.mjs
|
|
8848
8886
|
var TranscriptsStatusEnum = schemas_exports.enum_(["completed", "processing", "failed"]);
|
|
8849
8887
|
|
|
8850
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8888
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsResponse.mjs
|
|
8851
8889
|
var TranscriptsResponse = schemas_exports.object({
|
|
8852
8890
|
id: Uuid,
|
|
8853
8891
|
metadata: TranscriptsMetadata,
|
|
@@ -8857,12 +8895,12 @@ var TranscriptsResponse = schemas_exports.object({
|
|
|
8857
8895
|
status: TranscriptsStatusEnum
|
|
8858
8896
|
});
|
|
8859
8897
|
|
|
8860
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8898
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsStatusResponse.mjs
|
|
8861
8899
|
var TranscriptsStatusResponse = schemas_exports.object({
|
|
8862
8900
|
status: TranscriptsStatusEnum
|
|
8863
8901
|
});
|
|
8864
8902
|
|
|
8865
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8903
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/oauthAuthHelpers.mjs
|
|
8866
8904
|
var BUFFER_IN_MINUTES = 2;
|
|
8867
8905
|
var CLIENT_ID_PARAM = "clientId";
|
|
8868
8906
|
var CLIENT_SECRET_PARAM = "clientSecret";
|
|
@@ -8883,7 +8921,7 @@ function getExpiresAt(expiresInSeconds, bufferInMinutes) {
|
|
|
8883
8921
|
return new Date(now.getTime() + expiresInSeconds * 1e3 - bufferInMinutes * 60 * 1e3);
|
|
8884
8922
|
}
|
|
8885
8923
|
|
|
8886
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
8924
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/auth/OAuthAuthCodeAuthProvider.mjs
|
|
8887
8925
|
var __awaiter13 = function(thisArg, _arguments, P2, generator) {
|
|
8888
8926
|
function adopt(value) {
|
|
8889
8927
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -9016,7 +9054,7 @@ var OAuthAuthCodeAuthProvider = class {
|
|
|
9016
9054
|
}
|
|
9017
9055
|
};
|
|
9018
9056
|
|
|
9019
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9057
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/auth/OAuthPkceAuthProvider.mjs
|
|
9020
9058
|
var __awaiter14 = function(thisArg, _arguments, P2, generator) {
|
|
9021
9059
|
function adopt(value) {
|
|
9022
9060
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -9149,7 +9187,7 @@ var OAuthPkceAuthProvider = class {
|
|
|
9149
9187
|
}
|
|
9150
9188
|
};
|
|
9151
9189
|
|
|
9152
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9190
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/auth/OAuthRopcAuthProvider.mjs
|
|
9153
9191
|
var __awaiter15 = function(thisArg, _arguments, P2, generator) {
|
|
9154
9192
|
function adopt(value) {
|
|
9155
9193
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -9260,7 +9298,7 @@ var OAuthRopcAuthProvider = class {
|
|
|
9260
9298
|
}
|
|
9261
9299
|
};
|
|
9262
9300
|
|
|
9263
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9301
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/overrides/OAuthAuthProvider.mjs
|
|
9264
9302
|
var __awaiter16 = function(thisArg, _arguments, P2, generator) {
|
|
9265
9303
|
function adopt(value) {
|
|
9266
9304
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -9468,7 +9506,7 @@ var OAuthTokenOverrideAuthProvider = class {
|
|
|
9468
9506
|
OAuthAuthProvider2.createInstance = createInstance;
|
|
9469
9507
|
})(OAuthAuthProvider || (OAuthAuthProvider = {}));
|
|
9470
9508
|
|
|
9471
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9509
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/core/headers.mjs
|
|
9472
9510
|
function mergeHeaders(...headersArray) {
|
|
9473
9511
|
const result = {};
|
|
9474
9512
|
for (const [key, value] of headersArray.filter((headers) => headers != null).flatMap((headers) => Object.entries(headers))) {
|
|
@@ -9492,13 +9530,13 @@ function mergeOnlyDefinedHeaders(...headersArray) {
|
|
|
9492
9530
|
return result;
|
|
9493
9531
|
}
|
|
9494
9532
|
|
|
9495
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9533
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/BaseClient.mjs
|
|
9496
9534
|
function normalizeClientOptions(options) {
|
|
9497
9535
|
const headers = mergeHeaders({
|
|
9498
9536
|
"X-Fern-Language": "JavaScript",
|
|
9499
9537
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
9500
|
-
"X-Fern-SDK-Version": "
|
|
9501
|
-
"User-Agent": "@corti/sdk/
|
|
9538
|
+
"X-Fern-SDK-Version": "4.0.0",
|
|
9539
|
+
"User-Agent": "@corti/sdk/4.0.0",
|
|
9502
9540
|
"X-Fern-Runtime": RUNTIME.type,
|
|
9503
9541
|
"X-Fern-Runtime-Version": RUNTIME.version,
|
|
9504
9542
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName
|
|
@@ -9516,7 +9554,7 @@ function withNoOpAuthProvider(options) {
|
|
|
9516
9554
|
return Object.assign(Object.assign({}, options), { authProvider: new NoOpAuthProvider() });
|
|
9517
9555
|
}
|
|
9518
9556
|
|
|
9519
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9557
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/errors/handleNonStatusCodeError.mjs
|
|
9520
9558
|
function handleNonStatusCodeError(error, rawResponse, method, path) {
|
|
9521
9559
|
switch (error.reason) {
|
|
9522
9560
|
case "non-json":
|
|
@@ -9545,7 +9583,7 @@ function handleNonStatusCodeError(error, rawResponse, method, path) {
|
|
|
9545
9583
|
}
|
|
9546
9584
|
}
|
|
9547
9585
|
|
|
9548
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9586
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/auth/client/Client.mjs
|
|
9549
9587
|
var __awaiter17 = function(thisArg, _arguments, P2, generator) {
|
|
9550
9588
|
function adopt(value) {
|
|
9551
9589
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -9707,7 +9745,7 @@ var AuthClient = class {
|
|
|
9707
9745
|
}
|
|
9708
9746
|
};
|
|
9709
9747
|
|
|
9710
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9748
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/buildTokenRequestBody.mjs
|
|
9711
9749
|
function buildScopeString(scopes) {
|
|
9712
9750
|
const allScopes = ["openid", ...scopes || []];
|
|
9713
9751
|
return [...new Set(allScopes)].join(" ");
|
|
@@ -9760,7 +9798,7 @@ function buildTokenRequestBody(request) {
|
|
|
9760
9798
|
};
|
|
9761
9799
|
}
|
|
9762
9800
|
|
|
9763
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9801
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/environment.mjs
|
|
9764
9802
|
function getEnvironment(environment) {
|
|
9765
9803
|
return typeof environment === "string" ? {
|
|
9766
9804
|
base: `https://api.${environment}.corti.app/v2`,
|
|
@@ -9770,7 +9808,7 @@ function getEnvironment(environment) {
|
|
|
9770
9808
|
} : environment;
|
|
9771
9809
|
}
|
|
9772
9810
|
|
|
9773
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9811
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/CortiSDKError.mjs
|
|
9774
9812
|
var CortiSDKErrorCodes;
|
|
9775
9813
|
(function(CortiSDKErrorCodes2) {
|
|
9776
9814
|
CortiSDKErrorCodes2["LOCAL_STORAGE_ERROR"] = "local_storage_error";
|
|
@@ -9787,7 +9825,7 @@ var CortiSDKError = class _CortiSDKError extends Error {
|
|
|
9787
9825
|
}
|
|
9788
9826
|
};
|
|
9789
9827
|
|
|
9790
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9828
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/localStorageHelpers.mjs
|
|
9791
9829
|
var CODE_VERIFIER_KEY = "corti_pkce_code_verifier";
|
|
9792
9830
|
var requireLocalStorage = () => {
|
|
9793
9831
|
if (typeof window === "undefined" || !window.localStorage) {
|
|
@@ -9820,7 +9858,7 @@ var getLocalStorageItem = (key) => {
|
|
|
9820
9858
|
}
|
|
9821
9859
|
};
|
|
9822
9860
|
|
|
9823
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9861
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/pkceHelpers.mjs
|
|
9824
9862
|
var __awaiter18 = function(thisArg, _arguments, P2, generator) {
|
|
9825
9863
|
function adopt(value) {
|
|
9826
9864
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -9864,7 +9902,7 @@ var generateCodeChallenge = (verifier) => __awaiter18(void 0, void 0, void 0, fu
|
|
|
9864
9902
|
return base64URLEncode(new Uint8Array(hash));
|
|
9865
9903
|
});
|
|
9866
9904
|
|
|
9867
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9905
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/sdkHeaderNames.mjs
|
|
9868
9906
|
var SDK_HEADER_NAMES = /* @__PURE__ */ new Set([
|
|
9869
9907
|
"Tenant-Name",
|
|
9870
9908
|
"X-Fern-Language",
|
|
@@ -9875,7 +9913,7 @@ var SDK_HEADER_NAMES = /* @__PURE__ */ new Set([
|
|
|
9875
9913
|
"X-Fern-Runtime-Version"
|
|
9876
9914
|
]);
|
|
9877
9915
|
|
|
9878
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9916
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/stripFernNormalizedHeaders.mjs
|
|
9879
9917
|
function normalizeHeaderKeys(headers) {
|
|
9880
9918
|
const result = {};
|
|
9881
9919
|
if (headers == null) {
|
|
@@ -9899,7 +9937,7 @@ function stripFernNormalizedHeaders(headers) {
|
|
|
9899
9937
|
return normalized;
|
|
9900
9938
|
}
|
|
9901
9939
|
|
|
9902
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
9940
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/auth/CortiAuth.mjs
|
|
9903
9941
|
var __awaiter19 = function(thisArg, _arguments, P2, generator) {
|
|
9904
9942
|
function adopt(value) {
|
|
9905
9943
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -10077,7 +10115,7 @@ var CortiAuth = class extends AuthClient {
|
|
|
10077
10115
|
}
|
|
10078
10116
|
};
|
|
10079
10117
|
|
|
10080
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
10118
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/agents/client/Client.mjs
|
|
10081
10119
|
var __awaiter20 = function(thisArg, _arguments, P2, generator) {
|
|
10082
10120
|
function adopt(value) {
|
|
10083
10121
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -10871,7 +10909,7 @@ var AgentsClient = class {
|
|
|
10871
10909
|
}
|
|
10872
10910
|
};
|
|
10873
10911
|
|
|
10874
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
10912
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/codes/client/Client.mjs
|
|
10875
10913
|
var __awaiter21 = function(thisArg, _arguments, P2, generator) {
|
|
10876
10914
|
function adopt(value) {
|
|
10877
10915
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -11017,7 +11055,7 @@ var CodesClient = class {
|
|
|
11017
11055
|
}
|
|
11018
11056
|
};
|
|
11019
11057
|
|
|
11020
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
11058
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.mjs
|
|
11021
11059
|
var __awaiter22 = function(thisArg, _arguments, P2, generator) {
|
|
11022
11060
|
function adopt(value) {
|
|
11023
11061
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -11342,7 +11380,7 @@ var VersionsClient = class {
|
|
|
11342
11380
|
}
|
|
11343
11381
|
};
|
|
11344
11382
|
|
|
11345
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
11383
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/documents/resources/sections/client/Client.mjs
|
|
11346
11384
|
var __awaiter23 = function(thisArg, _arguments, P2, generator) {
|
|
11347
11385
|
function adopt(value) {
|
|
11348
11386
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -11379,6 +11417,9 @@ var SectionsClient = class {
|
|
|
11379
11417
|
return (_a = this._versions) !== null && _a !== void 0 ? _a : this._versions = new VersionsClient(this._options);
|
|
11380
11418
|
}
|
|
11381
11419
|
/**
|
|
11420
|
+
* Returns a list of sections and their metadata. Fetch a sectionId to get the full generation content.
|
|
11421
|
+
* Use query parameters to filter by language, region, specialty, label, publish status, or source.
|
|
11422
|
+
*
|
|
11382
11423
|
* @param {Corti.documents.GuidedSectionsListRequest} request
|
|
11383
11424
|
* @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
11384
11425
|
*
|
|
@@ -11451,15 +11492,7 @@ var SectionsClient = class {
|
|
|
11451
11492
|
* @example
|
|
11452
11493
|
* await client.documents.sections.create({
|
|
11453
11494
|
* name: "name",
|
|
11454
|
-
*
|
|
11455
|
-
* heading: "heading",
|
|
11456
|
-
* instructions: {
|
|
11457
|
-
* contentPrompt: "contentPrompt"
|
|
11458
|
-
* },
|
|
11459
|
-
* outputSchema: {
|
|
11460
|
-
* type: "string"
|
|
11461
|
-
* }
|
|
11462
|
-
* }
|
|
11495
|
+
* inheritFromId: "inheritFromId"
|
|
11463
11496
|
* })
|
|
11464
11497
|
*/
|
|
11465
11498
|
create(request, requestOptions) {
|
|
@@ -11631,6 +11664,9 @@ var SectionsClient = class {
|
|
|
11631
11664
|
});
|
|
11632
11665
|
}
|
|
11633
11666
|
/**
|
|
11667
|
+
* Updates the section's metadata fields (name, description, languages, regions, specialties, labels).
|
|
11668
|
+
* Generation content (instructions, output schema) is managed through versions and cannot be updated here.
|
|
11669
|
+
*
|
|
11634
11670
|
* @param {string} sectionID
|
|
11635
11671
|
* @param {Corti.documents.GuidedSectionsUpdateRequest} request
|
|
11636
11672
|
* @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -11697,7 +11733,7 @@ var SectionsClient = class {
|
|
|
11697
11733
|
}
|
|
11698
11734
|
};
|
|
11699
11735
|
|
|
11700
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
11736
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.mjs
|
|
11701
11737
|
var __awaiter24 = function(thisArg, _arguments, P2, generator) {
|
|
11702
11738
|
function adopt(value) {
|
|
11703
11739
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -11730,6 +11766,9 @@ var VersionsClient2 = class {
|
|
|
11730
11766
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
11731
11767
|
}
|
|
11732
11768
|
/**
|
|
11769
|
+
* Returns raw authored template versions without inheritance resolution or section expansion.
|
|
11770
|
+
* To see resolved content, use GET /documents/templates/{templateID} instead.
|
|
11771
|
+
*
|
|
11733
11772
|
* @param {string} templateID
|
|
11734
11773
|
* @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
11735
11774
|
*
|
|
@@ -11854,6 +11893,9 @@ var VersionsClient2 = class {
|
|
|
11854
11893
|
});
|
|
11855
11894
|
}
|
|
11856
11895
|
/**
|
|
11896
|
+
* Returns the raw authored template version without inheritance resolution or section expansion.
|
|
11897
|
+
* To see resolved content, use GET /documents/templates/{templateID} instead.
|
|
11898
|
+
*
|
|
11857
11899
|
* @param {string} templateID
|
|
11858
11900
|
* @param {string} versionID
|
|
11859
11901
|
* @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -12018,7 +12060,7 @@ var VersionsClient2 = class {
|
|
|
12018
12060
|
}
|
|
12019
12061
|
};
|
|
12020
12062
|
|
|
12021
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
12063
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/documents/resources/templates/client/Client.mjs
|
|
12022
12064
|
var __awaiter25 = function(thisArg, _arguments, P2, generator) {
|
|
12023
12065
|
function adopt(value) {
|
|
12024
12066
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -12055,6 +12097,9 @@ var TemplatesClient = class {
|
|
|
12055
12097
|
return (_a = this._versions) !== null && _a !== void 0 ? _a : this._versions = new VersionsClient2(this._options);
|
|
12056
12098
|
}
|
|
12057
12099
|
/**
|
|
12100
|
+
* Returns a list of templates and their metadata. Fetch a specific templateId to get the expanded sections.
|
|
12101
|
+
* Use query parameters to filter by language, region, specialty, label, publish status, or source.
|
|
12102
|
+
*
|
|
12058
12103
|
* @param {Corti.documents.GuidedTemplatesListRequest} request
|
|
12059
12104
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
12060
12105
|
*
|
|
@@ -12127,11 +12172,7 @@ var TemplatesClient = class {
|
|
|
12127
12172
|
* @example
|
|
12128
12173
|
* await client.documents.templates.create({
|
|
12129
12174
|
* name: "name",
|
|
12130
|
-
*
|
|
12131
|
-
* instructions: {
|
|
12132
|
-
* prompt: "prompt"
|
|
12133
|
-
* }
|
|
12134
|
-
* }
|
|
12175
|
+
* inheritFromId: "inheritFromId"
|
|
12135
12176
|
* })
|
|
12136
12177
|
*/
|
|
12137
12178
|
create(request, requestOptions) {
|
|
@@ -12303,6 +12344,10 @@ var TemplatesClient = class {
|
|
|
12303
12344
|
});
|
|
12304
12345
|
}
|
|
12305
12346
|
/**
|
|
12347
|
+
* Updates the template's metadata fields (name, description, languages, regions, specialties, labels).
|
|
12348
|
+
* Generation content (template instructions, section composition) is managed through versions
|
|
12349
|
+
* and cannot be updated here.
|
|
12350
|
+
*
|
|
12306
12351
|
* @param {string} templateID
|
|
12307
12352
|
* @param {Corti.documents.GuidedTemplatesUpdateRequest} request
|
|
12308
12353
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -12369,7 +12414,7 @@ var TemplatesClient = class {
|
|
|
12369
12414
|
}
|
|
12370
12415
|
};
|
|
12371
12416
|
|
|
12372
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
12417
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/documents/client/Client.mjs
|
|
12373
12418
|
var __awaiter26 = function(thisArg, _arguments, P2, generator) {
|
|
12374
12419
|
function adopt(value) {
|
|
12375
12420
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -12909,7 +12954,7 @@ var DocumentsClient = class {
|
|
|
12909
12954
|
}
|
|
12910
12955
|
};
|
|
12911
12956
|
|
|
12912
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
12957
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/facts/client/Client.mjs
|
|
12913
12958
|
var __awaiter27 = function(thisArg, _arguments, P2, generator) {
|
|
12914
12959
|
function adopt(value) {
|
|
12915
12960
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -13363,7 +13408,7 @@ var FactsClient = class {
|
|
|
13363
13408
|
}
|
|
13364
13409
|
};
|
|
13365
13410
|
|
|
13366
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
13411
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/interactions/client/Client.mjs
|
|
13367
13412
|
var __awaiter28 = function(thisArg, _arguments, P2, generator) {
|
|
13368
13413
|
function adopt(value) {
|
|
13369
13414
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -13787,7 +13832,7 @@ var InteractionsClient = class {
|
|
|
13787
13832
|
}
|
|
13788
13833
|
};
|
|
13789
13834
|
|
|
13790
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
13835
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/languages/client/Client.mjs
|
|
13791
13836
|
var __awaiter29 = function(thisArg, _arguments, P2, generator) {
|
|
13792
13837
|
function adopt(value) {
|
|
13793
13838
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -13894,7 +13939,7 @@ var LanguagesClient = class {
|
|
|
13894
13939
|
}
|
|
13895
13940
|
};
|
|
13896
13941
|
|
|
13897
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
13942
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/recordings/client/Client.mjs
|
|
13898
13943
|
var __awaiter30 = function(thisArg, _arguments, P2, generator) {
|
|
13899
13944
|
function adopt(value) {
|
|
13900
13945
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -14005,7 +14050,7 @@ var RecordingsClient = class {
|
|
|
14005
14050
|
});
|
|
14006
14051
|
}
|
|
14007
14052
|
/**
|
|
14008
|
-
* Upload a recording for a given interaction. There is a maximum limit of
|
|
14053
|
+
* Upload a recording for a given interaction. There is a maximum limit of 120 minutes in audio duration and 150 MB in file size.
|
|
14009
14054
|
*
|
|
14010
14055
|
* @param {core.file.Uploadable} uploadable
|
|
14011
14056
|
* @param {Corti.Uuid} id
|
|
@@ -14224,7 +14269,7 @@ var RecordingsClient = class {
|
|
|
14224
14269
|
}
|
|
14225
14270
|
};
|
|
14226
14271
|
|
|
14227
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
14272
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/stream/client/Socket.mjs
|
|
14228
14273
|
var __awaiter31 = function(thisArg, _arguments, P2, generator) {
|
|
14229
14274
|
function adopt(value) {
|
|
14230
14275
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -14393,7 +14438,7 @@ var StreamSocket = class {
|
|
|
14393
14438
|
}
|
|
14394
14439
|
};
|
|
14395
14440
|
|
|
14396
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
14441
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/stream/client/Client.mjs
|
|
14397
14442
|
var __awaiter32 = function(thisArg, _arguments, P2, generator) {
|
|
14398
14443
|
function adopt(value) {
|
|
14399
14444
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -14452,7 +14497,7 @@ var StreamClient = class {
|
|
|
14452
14497
|
}
|
|
14453
14498
|
};
|
|
14454
14499
|
|
|
14455
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
14500
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/templates/client/Client.mjs
|
|
14456
14501
|
var __awaiter33 = function(thisArg, _arguments, P2, generator) {
|
|
14457
14502
|
function adopt(value) {
|
|
14458
14503
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -14695,7 +14740,7 @@ var TemplatesClient2 = class {
|
|
|
14695
14740
|
}
|
|
14696
14741
|
};
|
|
14697
14742
|
|
|
14698
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
14743
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/transcribe/client/Socket.mjs
|
|
14699
14744
|
var __awaiter34 = function(thisArg, _arguments, P2, generator) {
|
|
14700
14745
|
function adopt(value) {
|
|
14701
14746
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -14864,7 +14909,7 @@ var TranscribeSocket = class {
|
|
|
14864
14909
|
}
|
|
14865
14910
|
};
|
|
14866
14911
|
|
|
14867
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
14912
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/transcribe/client/Client.mjs
|
|
14868
14913
|
var __awaiter35 = function(thisArg, _arguments, P2, generator) {
|
|
14869
14914
|
function adopt(value) {
|
|
14870
14915
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -14923,7 +14968,7 @@ var TranscribeClient = class {
|
|
|
14923
14968
|
}
|
|
14924
14969
|
};
|
|
14925
14970
|
|
|
14926
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
14971
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/api/resources/transcripts/client/Client.mjs
|
|
14927
14972
|
var __awaiter36 = function(thisArg, _arguments, P2, generator) {
|
|
14928
14973
|
function adopt(value) {
|
|
14929
14974
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -15042,7 +15087,7 @@ var TranscriptsClient = class {
|
|
|
15042
15087
|
});
|
|
15043
15088
|
}
|
|
15044
15089
|
/**
|
|
15045
|
-
* Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to
|
|
15090
|
+
* Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 120 minutes in total audio duration and 150 MB in size may be used.<br/><br/>By default, requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. Set the `async` parameter to true to receive the location header immediately and process the request asynchronously. Read more [here](https://docs.corti.ai/stt/transcripts).</Note>
|
|
15046
15091
|
*
|
|
15047
15092
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
15048
15093
|
* @param {Corti.TranscriptsCreateRequest} request
|
|
@@ -15347,7 +15392,7 @@ var TranscriptsClient = class {
|
|
|
15347
15392
|
}
|
|
15348
15393
|
};
|
|
15349
15394
|
|
|
15350
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15395
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/Client.mjs
|
|
15351
15396
|
var CortiClient = class {
|
|
15352
15397
|
constructor(options) {
|
|
15353
15398
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
@@ -15402,7 +15447,7 @@ var CortiClient = class {
|
|
|
15402
15447
|
}
|
|
15403
15448
|
};
|
|
15404
15449
|
|
|
15405
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15450
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/agents/CustomAgents.mjs
|
|
15406
15451
|
var __awaiter37 = function(thisArg, _arguments, P2, generator) {
|
|
15407
15452
|
function adopt(value) {
|
|
15408
15453
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -15440,7 +15485,7 @@ var CustomAgents = class extends AgentsClient {
|
|
|
15440
15485
|
}
|
|
15441
15486
|
};
|
|
15442
15487
|
|
|
15443
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15488
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/encodeHeadersAsWsProtocols.mjs
|
|
15444
15489
|
var __awaiter38 = function(thisArg, _arguments, P2, generator) {
|
|
15445
15490
|
function adopt(value) {
|
|
15446
15491
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -15495,7 +15540,7 @@ function getWsProtocols(options, proxyProtocols) {
|
|
|
15495
15540
|
});
|
|
15496
15541
|
}
|
|
15497
15542
|
|
|
15498
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15543
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/stream/CustomStreamSocket.mjs
|
|
15499
15544
|
var CustomStreamSocket = class extends StreamSocket {
|
|
15500
15545
|
/** Remove the handler for an event. If callback is supplied, only removes if it matches. */
|
|
15501
15546
|
off(event, callback) {
|
|
@@ -15509,7 +15554,7 @@ var CustomStreamSocket = class extends StreamSocket {
|
|
|
15509
15554
|
}
|
|
15510
15555
|
};
|
|
15511
15556
|
|
|
15512
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15557
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/stream/parseStreamResponseType.mjs
|
|
15513
15558
|
function parseStreamResponseType(raw) {
|
|
15514
15559
|
const parsed = StreamSocketResponse.parse(fromJson(raw), {
|
|
15515
15560
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -15521,7 +15566,7 @@ function parseStreamResponseType(raw) {
|
|
|
15521
15566
|
return parsed.ok ? parsed.value.type : null;
|
|
15522
15567
|
}
|
|
15523
15568
|
|
|
15524
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15569
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/stream/CustomStream.mjs
|
|
15525
15570
|
var __awaiter39 = function(thisArg, _arguments, P2, generator) {
|
|
15526
15571
|
function adopt(value) {
|
|
15527
15572
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -15672,7 +15717,7 @@ var CustomStream = class extends StreamClient {
|
|
|
15672
15717
|
}
|
|
15673
15718
|
};
|
|
15674
15719
|
|
|
15675
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15720
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/transcribe/CustomTranscribeSocket.mjs
|
|
15676
15721
|
var CustomTranscribeSocket = class extends TranscribeSocket {
|
|
15677
15722
|
/** Remove the handler for an event. If callback is supplied, only removes if it matches. */
|
|
15678
15723
|
off(event, callback) {
|
|
@@ -15686,7 +15731,7 @@ var CustomTranscribeSocket = class extends TranscribeSocket {
|
|
|
15686
15731
|
}
|
|
15687
15732
|
};
|
|
15688
15733
|
|
|
15689
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15734
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/transcribe/parseTranscribeResponseType.mjs
|
|
15690
15735
|
function parseTranscribeResponseType(raw) {
|
|
15691
15736
|
const parsed = TranscribeSocketResponse.parse(fromJson(raw), {
|
|
15692
15737
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -15698,7 +15743,7 @@ function parseTranscribeResponseType(raw) {
|
|
|
15698
15743
|
return parsed.ok ? parsed.value.type : null;
|
|
15699
15744
|
}
|
|
15700
15745
|
|
|
15701
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15746
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/transcribe/CustomTranscribe.mjs
|
|
15702
15747
|
var __awaiter40 = function(thisArg, _arguments, P2, generator) {
|
|
15703
15748
|
function adopt(value) {
|
|
15704
15749
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -15849,7 +15894,7 @@ var CustomTranscribe = class extends TranscribeClient {
|
|
|
15849
15894
|
}
|
|
15850
15895
|
};
|
|
15851
15896
|
|
|
15852
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15897
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/authToBaseOptions.mjs
|
|
15853
15898
|
function authToBaseOptions(auth, rest) {
|
|
15854
15899
|
if (!auth) {
|
|
15855
15900
|
return rest;
|
|
@@ -15870,7 +15915,7 @@ function authToBaseOptions(auth, rest) {
|
|
|
15870
15915
|
return Object.assign(Object.assign(Object.assign({}, rest), { token: auth.accessToken, refreshAccessToken: auth.refreshAccessToken, expiresIn: auth.expiresIn, refreshToken: auth.refreshToken, refreshExpiresIn: auth.refreshExpiresIn, clientId: auth.clientId }), initialTokenResponse != null ? { initialTokenResponse } : {});
|
|
15871
15916
|
}
|
|
15872
15917
|
|
|
15873
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15918
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/decodeToken.mjs
|
|
15874
15919
|
function decodeToken2(token) {
|
|
15875
15920
|
const parts = token ? token.split(".") : "";
|
|
15876
15921
|
if (parts.length < 2) {
|
|
@@ -15908,7 +15953,7 @@ function decodeToken2(token) {
|
|
|
15908
15953
|
return null;
|
|
15909
15954
|
}
|
|
15910
15955
|
|
|
15911
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
15956
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/utils/resolveClientOptions.mjs
|
|
15912
15957
|
var __awaiter41 = function(thisArg, _arguments, P2, generator) {
|
|
15913
15958
|
function adopt(value) {
|
|
15914
15959
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -15987,7 +16032,7 @@ function resolveClientOptions(options) {
|
|
|
15987
16032
|
};
|
|
15988
16033
|
}
|
|
15989
16034
|
|
|
15990
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
16035
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/CortiClient.mjs
|
|
15991
16036
|
var __awaiter42 = function(thisArg, _arguments, P2, generator) {
|
|
15992
16037
|
function adopt(value) {
|
|
15993
16038
|
return value instanceof P2 ? value : new P2(function(resolve) {
|
|
@@ -16021,6 +16066,12 @@ var CortiClient2 = class extends CortiClient {
|
|
|
16021
16066
|
const ctx = resolveClientOptions(options);
|
|
16022
16067
|
const restOptions = Object.assign(Object.assign(Object.assign({}, opts), { tenantName: ctx.tenantName, environment: getEnvironment(ctx.environment) }), ctx.initialTokenResponse != null ? { initialTokenResponse: ctx.initialTokenResponse } : {});
|
|
16023
16068
|
super(authToBaseOptions(opts.auth, restOptions));
|
|
16069
|
+
this.getEnvironmentUrls = () => __awaiter42(this, void 0, void 0, function* () {
|
|
16070
|
+
const baseUrl = yield Supplier.get(this._options.baseUrl);
|
|
16071
|
+
if (baseUrl != null)
|
|
16072
|
+
return { base: baseUrl, wss: baseUrl, login: baseUrl, agents: baseUrl };
|
|
16073
|
+
return yield Supplier.get(this._options.environment);
|
|
16074
|
+
});
|
|
16024
16075
|
this.getAuthHeaders = () => __awaiter42(this, void 0, void 0, function* () {
|
|
16025
16076
|
var _a;
|
|
16026
16077
|
const req = yield this._options.authProvider.getAuthRequest();
|
|
@@ -16047,7 +16098,7 @@ var CortiClient2 = class extends CortiClient {
|
|
|
16047
16098
|
}
|
|
16048
16099
|
};
|
|
16049
16100
|
|
|
16050
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
16101
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/proxy/CustomProxyStream.mjs
|
|
16051
16102
|
var CustomProxyStream = class {
|
|
16052
16103
|
constructor() {
|
|
16053
16104
|
this._stream = new CustomStream({ environment: CortiEnvironment.Eu, tenantName: "" });
|
|
@@ -16057,7 +16108,7 @@ var CustomProxyStream = class {
|
|
|
16057
16108
|
}
|
|
16058
16109
|
};
|
|
16059
16110
|
|
|
16060
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
16111
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/proxy/CustomProxyTranscribe.mjs
|
|
16061
16112
|
var CustomProxyTranscribe = class {
|
|
16062
16113
|
constructor() {
|
|
16063
16114
|
this._transcribe = new CustomTranscribe({
|
|
@@ -16070,7 +16121,7 @@ var CustomProxyTranscribe = class {
|
|
|
16070
16121
|
}
|
|
16071
16122
|
};
|
|
16072
16123
|
|
|
16073
|
-
// ../node_modules/.pnpm/@corti+sdk@
|
|
16124
|
+
// ../node_modules/.pnpm/@corti+sdk@4.0.0/node_modules/@corti/sdk/dist/esm/custom/CortiWebSocketProxyClient.mjs
|
|
16074
16125
|
var CortiWebSocketProxyClient = class {
|
|
16075
16126
|
};
|
|
16076
16127
|
CortiWebSocketProxyClient.stream = new CustomProxyStream();
|