voice-router-dev 0.8.2 → 0.8.3
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/CHANGELOG.md +211 -0
- package/dist/constants.d.mts +33 -3
- package/dist/constants.d.ts +33 -3
- package/dist/constants.js +14 -1
- package/dist/constants.mjs +13 -1
- package/dist/{field-configs-DN2_WrYr.d.mts → field-configs-t_lVCkE5.d.mts} +1194 -1194
- package/dist/{field-configs-DN2_WrYr.d.ts → field-configs-t_lVCkE5.d.ts} +1194 -1194
- package/dist/field-configs.d.mts +1 -1
- package/dist/field-configs.d.ts +1 -1
- package/dist/field-configs.js +8 -8
- package/dist/field-configs.mjs +8 -8
- package/dist/index.d.mts +651 -1628
- package/dist/index.d.ts +651 -1628
- package/dist/index.js +203 -51
- package/dist/index.mjs +200 -51
- package/dist/{provider-metadata-BnkedpXm.d.mts → provider-metadata-MDUUEuqF.d.mts} +4 -4
- package/dist/{provider-metadata-DbsSGAO7.d.ts → provider-metadata-_gUWlRXS.d.ts} +4 -4
- package/dist/provider-metadata.d.mts +1 -1
- package/dist/provider-metadata.d.ts +1 -1
- package/dist/{speechToTextChunkResponseModel-DExUFZT3.d.ts → speechToTextChunkResponseModel-DjL2ncnf.d.ts} +1147 -10
- package/dist/{speechToTextChunkResponseModel-3IUnJXKx.d.mts → speechToTextChunkResponseModel-DvIT4xai.d.mts} +1147 -10
- package/dist/webhooks.d.mts +234 -215
- package/dist/webhooks.d.ts +234 -215
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2695,6 +2695,12 @@ var ERROR_CODES = {
|
|
|
2695
2695
|
CONNECTION_TIMEOUT: "CONNECTION_TIMEOUT",
|
|
2696
2696
|
/** Invalid input provided to API */
|
|
2697
2697
|
INVALID_INPUT: "INVALID_INPUT",
|
|
2698
|
+
/** Authentication failed (invalid or missing API key) */
|
|
2699
|
+
AUTHENTICATION_ERROR: "AUTHENTICATION_ERROR",
|
|
2700
|
+
/** Rate limit exceeded */
|
|
2701
|
+
RATE_LIMIT: "RATE_LIMIT",
|
|
2702
|
+
/** Provider server error (5xx) */
|
|
2703
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
2698
2704
|
/** Requested operation not supported by provider */
|
|
2699
2705
|
NOT_SUPPORTED: "NOT_SUPPORTED",
|
|
2700
2706
|
/** No transcription results available */
|
|
@@ -2709,6 +2715,9 @@ var ERROR_MESSAGES = {
|
|
|
2709
2715
|
TRANSCRIPTION_ERROR: "Transcription processing failed",
|
|
2710
2716
|
CONNECTION_TIMEOUT: "Connection attempt timed out",
|
|
2711
2717
|
INVALID_INPUT: "Invalid input provided",
|
|
2718
|
+
AUTHENTICATION_ERROR: "Authentication failed (invalid or missing API key)",
|
|
2719
|
+
RATE_LIMIT: "Rate limit exceeded",
|
|
2720
|
+
SERVER_ERROR: "Provider server error",
|
|
2712
2721
|
NOT_SUPPORTED: "Operation not supported by this provider",
|
|
2713
2722
|
NO_RESULTS: "No transcription results available",
|
|
2714
2723
|
UNKNOWN_ERROR: "An unknown error occurred"
|
|
@@ -2720,6 +2729,36 @@ function createError(code, customMessage, details) {
|
|
|
2720
2729
|
details
|
|
2721
2730
|
};
|
|
2722
2731
|
}
|
|
2732
|
+
function httpStatusToErrorCode(status) {
|
|
2733
|
+
switch (status) {
|
|
2734
|
+
case 400:
|
|
2735
|
+
case 404:
|
|
2736
|
+
case 422:
|
|
2737
|
+
return ERROR_CODES.INVALID_INPUT;
|
|
2738
|
+
case 401:
|
|
2739
|
+
case 403:
|
|
2740
|
+
return ERROR_CODES.AUTHENTICATION_ERROR;
|
|
2741
|
+
case 408:
|
|
2742
|
+
return ERROR_CODES.CONNECTION_TIMEOUT;
|
|
2743
|
+
case 429:
|
|
2744
|
+
return ERROR_CODES.RATE_LIMIT;
|
|
2745
|
+
default:
|
|
2746
|
+
if (status >= 500) return ERROR_CODES.SERVER_ERROR;
|
|
2747
|
+
return ERROR_CODES.UNKNOWN_ERROR;
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2750
|
+
function extractProviderMessage(data) {
|
|
2751
|
+
if (!data || typeof data !== "object") {
|
|
2752
|
+
return typeof data === "string" ? data : void 0;
|
|
2753
|
+
}
|
|
2754
|
+
const d = data;
|
|
2755
|
+
if (d.error && typeof d.error === "object" && d.error.message) return String(d.error.message);
|
|
2756
|
+
if (typeof d.error === "string") return d.error;
|
|
2757
|
+
if (d.detail && typeof d.detail === "object" && d.detail.message) return String(d.detail.message);
|
|
2758
|
+
if (typeof d.message === "string") return d.message;
|
|
2759
|
+
if (typeof d.err_msg === "string") return d.err_msg;
|
|
2760
|
+
return void 0;
|
|
2761
|
+
}
|
|
2723
2762
|
|
|
2724
2763
|
// src/adapters/base-adapter.ts
|
|
2725
2764
|
var BaseAdapter = class {
|
|
@@ -2738,12 +2777,15 @@ var BaseAdapter = class {
|
|
|
2738
2777
|
const httpStatus = statusCode || err.statusCode || err.response?.status;
|
|
2739
2778
|
const httpStatusText = err.response?.statusText;
|
|
2740
2779
|
const responseData = err.response?.data;
|
|
2780
|
+
const errorCode = code || (httpStatus ? httpStatusToErrorCode(httpStatus) : void 0) || ERROR_CODES.UNKNOWN_ERROR;
|
|
2781
|
+
const providerMessage = extractProviderMessage(responseData);
|
|
2782
|
+
const message = providerMessage || err.message || "An unknown error occurred";
|
|
2741
2783
|
return {
|
|
2742
2784
|
success: false,
|
|
2743
2785
|
provider: this.name,
|
|
2744
2786
|
error: {
|
|
2745
|
-
code:
|
|
2746
|
-
message
|
|
2787
|
+
code: errorCode,
|
|
2788
|
+
message,
|
|
2747
2789
|
statusCode: httpStatus,
|
|
2748
2790
|
details: {
|
|
2749
2791
|
// Include full error object
|
|
@@ -5384,14 +5426,61 @@ var AssemblyAIAdapter = class extends BaseAdapter {
|
|
|
5384
5426
|
this.wsBaseUrl = "wss://streaming.assemblyai.com/v3/ws";
|
|
5385
5427
|
}
|
|
5386
5428
|
// v3 Universal Streaming endpoint
|
|
5429
|
+
/**
|
|
5430
|
+
* Get regional hosts for AssemblyAI
|
|
5431
|
+
*
|
|
5432
|
+
* @param region - Regional endpoint identifier
|
|
5433
|
+
* @returns Object with api and streaming hosts
|
|
5434
|
+
*/
|
|
5435
|
+
getRegionalHosts(region) {
|
|
5436
|
+
if (region === "eu") {
|
|
5437
|
+
return { api: "api.eu.assemblyai.com", streaming: "streaming.eu.assemblyai.com" };
|
|
5438
|
+
}
|
|
5439
|
+
return { api: "api.assemblyai.com", streaming: "streaming.assemblyai.com" };
|
|
5440
|
+
}
|
|
5387
5441
|
initialize(config) {
|
|
5388
5442
|
super.initialize(config);
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5443
|
+
const hosts = this.getRegionalHosts(config.region);
|
|
5444
|
+
this.baseUrl = config.baseUrl || `https://${hosts.api}`;
|
|
5445
|
+
this.wsBaseUrl = config.wsBaseUrl || (config.baseUrl ? `${this.deriveWsUrl(config.baseUrl)}/v3/ws` : `wss://${hosts.streaming}/v3/ws`);
|
|
5446
|
+
}
|
|
5447
|
+
/**
|
|
5448
|
+
* Change the regional endpoint dynamically
|
|
5449
|
+
*
|
|
5450
|
+
* Useful for switching between US and EU endpoints without reinitializing.
|
|
5451
|
+
* Affects both REST API and WebSocket streaming endpoints.
|
|
5452
|
+
*
|
|
5453
|
+
* @param region - New regional endpoint to use (`us` or `eu`)
|
|
5454
|
+
*
|
|
5455
|
+
* @example Switch to EU region
|
|
5456
|
+
* ```typescript
|
|
5457
|
+
* import { AssemblyAIRegion } from 'voice-router-dev/constants'
|
|
5458
|
+
*
|
|
5459
|
+
* adapter.setRegion(AssemblyAIRegion.eu)
|
|
5460
|
+
* await adapter.transcribe(audio) // Uses EU endpoint
|
|
5461
|
+
* ```
|
|
5462
|
+
*/
|
|
5463
|
+
setRegion(region) {
|
|
5464
|
+
this.validateConfig();
|
|
5465
|
+
if (!this.config.baseUrl) {
|
|
5466
|
+
const hosts = this.getRegionalHosts(region);
|
|
5467
|
+
this.baseUrl = `https://${hosts.api}`;
|
|
5468
|
+
if (!this.config.wsBaseUrl) {
|
|
5469
|
+
this.wsBaseUrl = `wss://${hosts.streaming}/v3/ws`;
|
|
5470
|
+
}
|
|
5393
5471
|
}
|
|
5394
5472
|
}
|
|
5473
|
+
/**
|
|
5474
|
+
* Get the current regional endpoints being used
|
|
5475
|
+
*
|
|
5476
|
+
* @returns Object with current API and WebSocket URLs
|
|
5477
|
+
*/
|
|
5478
|
+
getRegion() {
|
|
5479
|
+
return {
|
|
5480
|
+
api: this.baseUrl,
|
|
5481
|
+
websocket: this.wsBaseUrl
|
|
5482
|
+
};
|
|
5483
|
+
}
|
|
5395
5484
|
/**
|
|
5396
5485
|
* Get axios config for generated API client functions
|
|
5397
5486
|
* Configures headers and base URL using authorization header
|
|
@@ -7449,6 +7538,18 @@ var transcriptionsListFiles = (id, params, options) => {
|
|
|
7449
7538
|
params: { ...params, ...options?.params }
|
|
7450
7539
|
});
|
|
7451
7540
|
};
|
|
7541
|
+
var webHooksList = (params, options) => {
|
|
7542
|
+
return axios4.get(`/webhooks`, {
|
|
7543
|
+
...options,
|
|
7544
|
+
params: { ...params, ...options?.params }
|
|
7545
|
+
});
|
|
7546
|
+
};
|
|
7547
|
+
var webHooksCreate = (webHook, options) => {
|
|
7548
|
+
return axios4.post(`/webhooks`, webHook, options);
|
|
7549
|
+
};
|
|
7550
|
+
var webHooksDelete = (id, options) => {
|
|
7551
|
+
return axios4.delete(`/webhooks/${id}`, options);
|
|
7552
|
+
};
|
|
7452
7553
|
|
|
7453
7554
|
// src/adapters/azure-stt-adapter.ts
|
|
7454
7555
|
var AzureSTTAdapter = class extends BaseAdapter {
|
|
@@ -7521,19 +7622,8 @@ var AzureSTTAdapter = class extends BaseAdapter {
|
|
|
7521
7622
|
this.getAxiosConfig()
|
|
7522
7623
|
);
|
|
7523
7624
|
const transcription = response.data;
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
provider: this.name,
|
|
7527
|
-
data: {
|
|
7528
|
-
id: transcription.self?.split("/").pop() || "",
|
|
7529
|
-
text: "",
|
|
7530
|
-
// Will be populated after polling
|
|
7531
|
-
status: this.normalizeStatus(transcription.status),
|
|
7532
|
-
language: transcription.locale,
|
|
7533
|
-
createdAt: transcription.createdDateTime
|
|
7534
|
-
},
|
|
7535
|
-
raw: transcription
|
|
7536
|
-
};
|
|
7625
|
+
const transcriptId = transcription.self?.split("/").pop() || "";
|
|
7626
|
+
return await this.pollForCompletion(transcriptId);
|
|
7537
7627
|
} catch (error) {
|
|
7538
7628
|
return this.createErrorResponse(error);
|
|
7539
7629
|
}
|
|
@@ -7691,6 +7781,50 @@ var AzureSTTAdapter = class extends BaseAdapter {
|
|
|
7691
7781
|
};
|
|
7692
7782
|
}
|
|
7693
7783
|
}
|
|
7784
|
+
/**
|
|
7785
|
+
* Register a subscription-wide webhook for transcription events
|
|
7786
|
+
*
|
|
7787
|
+
* Azure webhooks are subscription-wide (not per-transcription).
|
|
7788
|
+
* Call this once during setup to receive callbacks for all transcription events.
|
|
7789
|
+
* The webhook URL will receive POST requests for transcription lifecycle events.
|
|
7790
|
+
*
|
|
7791
|
+
* @param url - The webhook URL to receive events
|
|
7792
|
+
* @param options - Optional: event filters and display name
|
|
7793
|
+
* @returns Created webhook object
|
|
7794
|
+
*/
|
|
7795
|
+
async registerWebhook(url, options) {
|
|
7796
|
+
this.validateConfig();
|
|
7797
|
+
const webhook = {
|
|
7798
|
+
webUrl: url,
|
|
7799
|
+
displayName: options?.displayName || "SDK Webhook",
|
|
7800
|
+
events: options?.events || {
|
|
7801
|
+
transcriptionCreation: true,
|
|
7802
|
+
transcriptionProcessing: true,
|
|
7803
|
+
transcriptionCompletion: true
|
|
7804
|
+
}
|
|
7805
|
+
};
|
|
7806
|
+
const response = await webHooksCreate(webhook, this.getAxiosConfig());
|
|
7807
|
+
return response.data;
|
|
7808
|
+
}
|
|
7809
|
+
/**
|
|
7810
|
+
* Unregister a subscription-wide webhook by ID
|
|
7811
|
+
*
|
|
7812
|
+
* @param webhookId - The webhook ID to delete
|
|
7813
|
+
*/
|
|
7814
|
+
async unregisterWebhook(webhookId) {
|
|
7815
|
+
this.validateConfig();
|
|
7816
|
+
await webHooksDelete(webhookId, this.getAxiosConfig());
|
|
7817
|
+
}
|
|
7818
|
+
/**
|
|
7819
|
+
* List all registered webhooks for the subscription
|
|
7820
|
+
*
|
|
7821
|
+
* @returns Array of registered webhooks
|
|
7822
|
+
*/
|
|
7823
|
+
async listWebhooks() {
|
|
7824
|
+
this.validateConfig();
|
|
7825
|
+
const response = await webHooksList(void 0, this.getAxiosConfig());
|
|
7826
|
+
return [...response.data.values || []];
|
|
7827
|
+
}
|
|
7694
7828
|
/**
|
|
7695
7829
|
* Map unified status to Azure status format using generated enum
|
|
7696
7830
|
*/
|
|
@@ -8447,6 +8581,20 @@ function createOpenAIWhisperAdapter(config) {
|
|
|
8447
8581
|
// src/adapters/speechmatics-adapter.ts
|
|
8448
8582
|
import axios8 from "axios";
|
|
8449
8583
|
|
|
8584
|
+
// src/generated/speechmatics/schema/notificationConfigContentsItem.ts
|
|
8585
|
+
var NotificationConfigContentsItem = {
|
|
8586
|
+
jobinfo: "jobinfo",
|
|
8587
|
+
transcript: "transcript",
|
|
8588
|
+
"transcriptjson-v2": "transcript.json-v2",
|
|
8589
|
+
transcripttxt: "transcript.txt",
|
|
8590
|
+
transcriptsrt: "transcript.srt",
|
|
8591
|
+
alignment: "alignment",
|
|
8592
|
+
alignmentword_start_and_end: "alignment.word_start_and_end",
|
|
8593
|
+
alignmentone_per_line: "alignment.one_per_line",
|
|
8594
|
+
data: "data",
|
|
8595
|
+
text: "text"
|
|
8596
|
+
};
|
|
8597
|
+
|
|
8450
8598
|
// src/generated/speechmatics/schema/transcriptionConfigDiarization.ts
|
|
8451
8599
|
var TranscriptionConfigDiarization = {
|
|
8452
8600
|
none: "none",
|
|
@@ -8603,6 +8751,14 @@ var SpeechmaticsAdapter = class extends BaseAdapter {
|
|
|
8603
8751
|
content: word
|
|
8604
8752
|
}));
|
|
8605
8753
|
}
|
|
8754
|
+
if (options?.webhookUrl) {
|
|
8755
|
+
jobConfig.notification_config = [
|
|
8756
|
+
{
|
|
8757
|
+
url: options.webhookUrl,
|
|
8758
|
+
contents: [NotificationConfigContentsItem.transcript]
|
|
8759
|
+
}
|
|
8760
|
+
];
|
|
8761
|
+
}
|
|
8606
8762
|
let requestBody;
|
|
8607
8763
|
let headers = {};
|
|
8608
8764
|
if (audio.type === "url") {
|
|
@@ -8628,16 +8784,20 @@ var SpeechmaticsAdapter = class extends BaseAdapter {
|
|
|
8628
8784
|
};
|
|
8629
8785
|
}
|
|
8630
8786
|
const response = await this.client.post("/jobs", requestBody, { headers });
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8787
|
+
const jobId = response.data.id;
|
|
8788
|
+
if (options?.webhookUrl) {
|
|
8789
|
+
return {
|
|
8790
|
+
success: true,
|
|
8791
|
+
provider: this.name,
|
|
8792
|
+
data: {
|
|
8793
|
+
id: jobId,
|
|
8794
|
+
text: "",
|
|
8795
|
+
status: "queued"
|
|
8796
|
+
},
|
|
8797
|
+
raw: response.data
|
|
8798
|
+
};
|
|
8799
|
+
}
|
|
8800
|
+
return await this.pollForCompletion(jobId);
|
|
8641
8801
|
} catch (error) {
|
|
8642
8802
|
return this.createErrorResponse(error);
|
|
8643
8803
|
}
|
|
@@ -31938,7 +32098,7 @@ var createRealtimeClientSecretBody = zod6.object({
|
|
|
31938
32098
|
format: zod6.discriminatedUnion("type", [
|
|
31939
32099
|
zod6.object({
|
|
31940
32100
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
31941
|
-
rate: zod6.literal(24e3).
|
|
32101
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
31942
32102
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
31943
32103
|
zod6.object({
|
|
31944
32104
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -32037,7 +32197,7 @@ var createRealtimeClientSecretBody = zod6.object({
|
|
|
32037
32197
|
format: zod6.discriminatedUnion("type", [
|
|
32038
32198
|
zod6.object({
|
|
32039
32199
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
32040
|
-
rate: zod6.literal(24e3).
|
|
32200
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
32041
32201
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
32042
32202
|
zod6.object({
|
|
32043
32203
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -32247,7 +32407,7 @@ var createRealtimeClientSecretBody = zod6.object({
|
|
|
32247
32407
|
format: zod6.discriminatedUnion("type", [
|
|
32248
32408
|
zod6.object({
|
|
32249
32409
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
32250
|
-
rate: zod6.literal(24e3).
|
|
32410
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
32251
32411
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
32252
32412
|
zod6.object({
|
|
32253
32413
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -32417,7 +32577,7 @@ var createRealtimeClientSecretResponse = zod6.object({
|
|
|
32417
32577
|
format: zod6.discriminatedUnion("type", [
|
|
32418
32578
|
zod6.object({
|
|
32419
32579
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
32420
|
-
rate: zod6.literal(24e3).
|
|
32580
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
32421
32581
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
32422
32582
|
zod6.object({
|
|
32423
32583
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -32516,7 +32676,7 @@ var createRealtimeClientSecretResponse = zod6.object({
|
|
|
32516
32676
|
format: zod6.discriminatedUnion("type", [
|
|
32517
32677
|
zod6.object({
|
|
32518
32678
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
32519
|
-
rate: zod6.literal(24e3).
|
|
32679
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
32520
32680
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
32521
32681
|
zod6.object({
|
|
32522
32682
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -32735,7 +32895,7 @@ var createRealtimeClientSecretResponse = zod6.object({
|
|
|
32735
32895
|
format: zod6.discriminatedUnion("type", [
|
|
32736
32896
|
zod6.object({
|
|
32737
32897
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
32738
|
-
rate: zod6.literal(24e3).
|
|
32898
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
32739
32899
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
32740
32900
|
zod6.object({
|
|
32741
32901
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -32964,7 +33124,7 @@ var createRealtimeSessionResponse = zod6.object({
|
|
|
32964
33124
|
format: zod6.discriminatedUnion("type", [
|
|
32965
33125
|
zod6.object({
|
|
32966
33126
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
32967
|
-
rate: zod6.literal(24e3).
|
|
33127
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
32968
33128
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
32969
33129
|
zod6.object({
|
|
32970
33130
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -33008,7 +33168,7 @@ var createRealtimeSessionResponse = zod6.object({
|
|
|
33008
33168
|
format: zod6.discriminatedUnion("type", [
|
|
33009
33169
|
zod6.object({
|
|
33010
33170
|
type: zod6.enum(["audio/pcm"]).describe("The audio format. Always `audio/pcm`."),
|
|
33011
|
-
rate: zod6.literal(24e3).
|
|
33171
|
+
rate: zod6.literal(24e3).describe("The sample rate of the audio. Always `24000`.")
|
|
33012
33172
|
}).describe("The PCM audio format. Only a 24kHz sample rate is supported."),
|
|
33013
33173
|
zod6.object({
|
|
33014
33174
|
type: zod6.enum(["audio/pcmu"]).describe("The audio format. Always `audio/pcmu`.")
|
|
@@ -38106,20 +38266,6 @@ var LanguagePackInfoWritingDirection = {
|
|
|
38106
38266
|
"right-to-left": "right-to-left"
|
|
38107
38267
|
};
|
|
38108
38268
|
|
|
38109
|
-
// src/generated/speechmatics/schema/notificationConfigContentsItem.ts
|
|
38110
|
-
var NotificationConfigContentsItem = {
|
|
38111
|
-
jobinfo: "jobinfo",
|
|
38112
|
-
transcript: "transcript",
|
|
38113
|
-
"transcriptjson-v2": "transcript.json-v2",
|
|
38114
|
-
transcripttxt: "transcript.txt",
|
|
38115
|
-
transcriptsrt: "transcript.srt",
|
|
38116
|
-
alignment: "alignment",
|
|
38117
|
-
alignmentword_start_and_end: "alignment.word_start_and_end",
|
|
38118
|
-
alignmentone_per_line: "alignment.one_per_line",
|
|
38119
|
-
data: "data",
|
|
38120
|
-
text: "text"
|
|
38121
|
-
};
|
|
38122
|
-
|
|
38123
38269
|
// src/generated/speechmatics/schema/notificationConfigMethod.ts
|
|
38124
38270
|
var NotificationConfigMethod = {
|
|
38125
38271
|
post: "post",
|
|
@@ -40051,6 +40197,9 @@ export {
|
|
|
40051
40197
|
transcriptionsGet,
|
|
40052
40198
|
transcriptionsList,
|
|
40053
40199
|
transcriptionsListFiles,
|
|
40200
|
+
webHooksCreate,
|
|
40201
|
+
webHooksDelete,
|
|
40202
|
+
webHooksList,
|
|
40054
40203
|
zodToFieldConfigs
|
|
40055
40204
|
};
|
|
40056
40205
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -519,11 +519,11 @@ type LanguageCode = keyof typeof LanguageLabels;
|
|
|
519
519
|
/**
|
|
520
520
|
* Gladia supported language codes (from OpenAPI spec)
|
|
521
521
|
*/
|
|
522
|
-
declare const GladiaLanguageCodes: ("
|
|
522
|
+
declare const GladiaLanguageCodes: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su")[];
|
|
523
523
|
/**
|
|
524
524
|
* AssemblyAI supported language codes (from OpenAPI spec)
|
|
525
525
|
*/
|
|
526
|
-
declare const AssemblyAILanguageCodes: ("
|
|
526
|
+
declare const AssemblyAILanguageCodes: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su" | "en_au" | "en_uk" | "en_us")[];
|
|
527
527
|
/**
|
|
528
528
|
* Deepgram supported language codes
|
|
529
529
|
* Note: Deepgram accepts BCP-47 tags, these are the most common
|
|
@@ -551,8 +551,8 @@ declare const DeepgramLanguageCodes: readonly ["en", "en-US", "en-GB", "en-AU",
|
|
|
551
551
|
* ```
|
|
552
552
|
*/
|
|
553
553
|
declare const AllLanguageCodes: {
|
|
554
|
-
readonly gladia: ("
|
|
555
|
-
readonly assemblyai: ("
|
|
554
|
+
readonly gladia: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su")[];
|
|
555
|
+
readonly assemblyai: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su" | "en_au" | "en_uk" | "en_us")[];
|
|
556
556
|
readonly deepgram: readonly ["en", "en-US", "en-GB", "en-AU", "en-IN", "es", "es-419", "fr", "fr-CA", "de", "it", "pt", "pt-BR", "nl", "ru", "uk", "pl", "cs", "sk", "hu", "ro", "bg", "hr", "sl", "el", "tr", "fi", "sv", "da", "no", "et", "lv", "lt", "zh", "zh-CN", "zh-TW", "ja", "ko", "th", "vi", "id", "ms", "tl", "hi", "ta", "te", "bn", "ar"];
|
|
557
557
|
readonly "openai-whisper": readonly ["en", "es", "fr", "de", "it", "pt", "nl", "ru", "zh", "ja", "ko", "ar", "hi", "pl", "uk", "cs", "ro", "hu", "el", "tr", "fi", "sv", "da", "no", "th", "vi", "id", "ms", "he", "fa"];
|
|
558
558
|
readonly "azure-stt": readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IL", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-YE", "as-IN", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-GH", "en-HK", "en-IE", "en-IN", "en-KE", "en-NG", "en-NZ", "en-PH", "en-SG", "en-TZ", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EC", "es-ES", "es-GQ", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "jv-ID", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "lo-LA", "lt-LT", "lv-LV", "mi-NZ", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "my-MM", "nan-CN", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "or-IN", "pa-IN", "pl-PL", "ps-AF", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "si-LK", "sk-SK", "sl-SI", "so-SO", "sq-AL", "sr-ME", "sr-RS", "sr-XK", "su-ID", "sv-SE", "sw-KE", "sw-TZ", "ta-IN", "ta-LK", "ta-MY", "ta-SG", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-IN", "ur-PK", "uz-UZ", "vi-VN", "wuu-CN", "yue-CN", "zh-CN", "zh-HK", "zh-SG", "zh-TW", "zu-ZA"];
|
|
@@ -519,11 +519,11 @@ type LanguageCode = keyof typeof LanguageLabels;
|
|
|
519
519
|
/**
|
|
520
520
|
* Gladia supported language codes (from OpenAPI spec)
|
|
521
521
|
*/
|
|
522
|
-
declare const GladiaLanguageCodes: ("
|
|
522
|
+
declare const GladiaLanguageCodes: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su")[];
|
|
523
523
|
/**
|
|
524
524
|
* AssemblyAI supported language codes (from OpenAPI spec)
|
|
525
525
|
*/
|
|
526
|
-
declare const AssemblyAILanguageCodes: ("
|
|
526
|
+
declare const AssemblyAILanguageCodes: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su" | "en_au" | "en_uk" | "en_us")[];
|
|
527
527
|
/**
|
|
528
528
|
* Deepgram supported language codes
|
|
529
529
|
* Note: Deepgram accepts BCP-47 tags, these are the most common
|
|
@@ -551,8 +551,8 @@ declare const DeepgramLanguageCodes: readonly ["en", "en-US", "en-GB", "en-AU",
|
|
|
551
551
|
* ```
|
|
552
552
|
*/
|
|
553
553
|
declare const AllLanguageCodes: {
|
|
554
|
-
readonly gladia: ("
|
|
555
|
-
readonly assemblyai: ("
|
|
554
|
+
readonly gladia: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su")[];
|
|
555
|
+
readonly assemblyai: ("eu" | "en" | "zh" | "de" | "es" | "ru" | "ko" | "fr" | "ja" | "pt" | "tr" | "pl" | "ca" | "nl" | "ar" | "sv" | "it" | "id" | "hi" | "fi" | "vi" | "he" | "uk" | "el" | "ms" | "cs" | "ro" | "da" | "hu" | "ta" | "no" | "th" | "ur" | "hr" | "bg" | "lt" | "la" | "mi" | "ml" | "cy" | "sk" | "te" | "fa" | "lv" | "bn" | "sr" | "az" | "sl" | "kn" | "et" | "mk" | "br" | "is" | "hy" | "ne" | "mn" | "bs" | "kk" | "sq" | "sw" | "gl" | "mr" | "pa" | "si" | "km" | "sn" | "yo" | "so" | "af" | "oc" | "ka" | "be" | "tg" | "sd" | "gu" | "am" | "yi" | "lo" | "uz" | "fo" | "ht" | "ps" | "tk" | "nn" | "mt" | "sa" | "lb" | "my" | "bo" | "tl" | "mg" | "as" | "tt" | "haw" | "ln" | "ha" | "ba" | "jw" | "su" | "en_au" | "en_uk" | "en_us")[];
|
|
556
556
|
readonly deepgram: readonly ["en", "en-US", "en-GB", "en-AU", "en-IN", "es", "es-419", "fr", "fr-CA", "de", "it", "pt", "pt-BR", "nl", "ru", "uk", "pl", "cs", "sk", "hu", "ro", "bg", "hr", "sl", "el", "tr", "fi", "sv", "da", "no", "et", "lv", "lt", "zh", "zh-CN", "zh-TW", "ja", "ko", "th", "vi", "id", "ms", "tl", "hi", "ta", "te", "bn", "ar"];
|
|
557
557
|
readonly "openai-whisper": readonly ["en", "es", "fr", "de", "it", "pt", "nl", "ru", "zh", "ja", "ko", "ar", "hi", "pl", "uk", "cs", "ro", "hu", "el", "tr", "fi", "sv", "da", "no", "th", "vi", "id", "ms", "he", "fa"];
|
|
558
558
|
readonly "azure-stt": readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IL", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-YE", "as-IN", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-GH", "en-HK", "en-IE", "en-IN", "en-KE", "en-NG", "en-NZ", "en-PH", "en-SG", "en-TZ", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EC", "es-ES", "es-GQ", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "jv-ID", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "lo-LA", "lt-LT", "lv-LV", "mi-NZ", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "my-MM", "nan-CN", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "or-IN", "pa-IN", "pl-PL", "ps-AF", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "si-LK", "sk-SK", "sl-SI", "so-SO", "sq-AL", "sr-ME", "sr-RS", "sr-XK", "su-ID", "sv-SE", "sw-KE", "sw-TZ", "ta-IN", "ta-LK", "ta-MY", "ta-SG", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-IN", "ur-PK", "uz-UZ", "vi-VN", "wuu-CN", "yue-CN", "zh-CN", "zh-HK", "zh-SG", "zh-TW", "zu-ZA"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { k as AllLanguageCodes, o as AllProviders, a as AssemblyAICapabilities, i as AssemblyAILanguageCodes, b as AzureCapabilities, B as BatchOnlyProviderType, q as BatchOnlyProviders, C as CapabilityKeys, f as CapabilityLabels, D as DeepgramCapabilities, j as DeepgramLanguageCodes, E as ElevenLabsCapabilities, G as GladiaCapabilities, h as GladiaLanguageCodes, g as LanguageCode, L as LanguageLabels, O as OpenAICapabilities, P as ProviderCapabilities, d as ProviderCapabilitiesMap, l as ProviderDisplayNames, n as ProviderDocs, m as ProviderWebsites, c as SonioxCapabilities, S as SpeechmaticsCapabilities, e as StreamingProviderType, p as StreamingProviders, T as TranscriptionProvider } from './provider-metadata-
|
|
1
|
+
export { k as AllLanguageCodes, o as AllProviders, a as AssemblyAICapabilities, i as AssemblyAILanguageCodes, b as AzureCapabilities, B as BatchOnlyProviderType, q as BatchOnlyProviders, C as CapabilityKeys, f as CapabilityLabels, D as DeepgramCapabilities, j as DeepgramLanguageCodes, E as ElevenLabsCapabilities, G as GladiaCapabilities, h as GladiaLanguageCodes, g as LanguageCode, L as LanguageLabels, O as OpenAICapabilities, P as ProviderCapabilities, d as ProviderCapabilitiesMap, l as ProviderDisplayNames, n as ProviderDocs, m as ProviderWebsites, c as SonioxCapabilities, S as SpeechmaticsCapabilities, e as StreamingProviderType, p as StreamingProviders, T as TranscriptionProvider } from './provider-metadata-MDUUEuqF.mjs';
|
|
2
2
|
export { AzureLocaleCode, AzureLocaleCodes, AzureLocaleLabels, AzureLocales, ElevenLabsLanguageCode, ElevenLabsLanguageCodes, ElevenLabsLanguageLabels, ElevenLabsLanguages, OpenAILanguageCodes, SonioxLanguageCode, SonioxLanguageCodes, SonioxLanguageLabels, SonioxLanguages, SpeechmaticsLanguageCode, SpeechmaticsLanguageCodes, SpeechmaticsLanguageLabels, SpeechmaticsLanguages } from './constants.mjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { k as AllLanguageCodes, o as AllProviders, a as AssemblyAICapabilities, i as AssemblyAILanguageCodes, b as AzureCapabilities, B as BatchOnlyProviderType, q as BatchOnlyProviders, C as CapabilityKeys, f as CapabilityLabels, D as DeepgramCapabilities, j as DeepgramLanguageCodes, E as ElevenLabsCapabilities, G as GladiaCapabilities, h as GladiaLanguageCodes, g as LanguageCode, L as LanguageLabels, O as OpenAICapabilities, P as ProviderCapabilities, d as ProviderCapabilitiesMap, l as ProviderDisplayNames, n as ProviderDocs, m as ProviderWebsites, c as SonioxCapabilities, S as SpeechmaticsCapabilities, e as StreamingProviderType, p as StreamingProviders, T as TranscriptionProvider } from './provider-metadata-
|
|
1
|
+
export { k as AllLanguageCodes, o as AllProviders, a as AssemblyAICapabilities, i as AssemblyAILanguageCodes, b as AzureCapabilities, B as BatchOnlyProviderType, q as BatchOnlyProviders, C as CapabilityKeys, f as CapabilityLabels, D as DeepgramCapabilities, j as DeepgramLanguageCodes, E as ElevenLabsCapabilities, G as GladiaCapabilities, h as GladiaLanguageCodes, g as LanguageCode, L as LanguageLabels, O as OpenAICapabilities, P as ProviderCapabilities, d as ProviderCapabilitiesMap, l as ProviderDisplayNames, n as ProviderDocs, m as ProviderWebsites, c as SonioxCapabilities, S as SpeechmaticsCapabilities, e as StreamingProviderType, p as StreamingProviders, T as TranscriptionProvider } from './provider-metadata-_gUWlRXS.js';
|
|
2
2
|
export { AzureLocaleCode, AzureLocaleCodes, AzureLocaleLabels, AzureLocales, ElevenLabsLanguageCode, ElevenLabsLanguageCodes, ElevenLabsLanguageLabels, ElevenLabsLanguages, OpenAILanguageCodes, SonioxLanguageCode, SonioxLanguageCodes, SonioxLanguageLabels, SonioxLanguages, SpeechmaticsLanguageCode, SpeechmaticsLanguageCodes, SpeechmaticsLanguageLabels, SpeechmaticsLanguages } from './constants.js';
|