@mentingo/luma-sdk 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/dist/{contracts-CcTSdQMI.d.cts → contracts-NgFlZ1vx.d.cts} +159 -7
- package/dist/{contracts-CcTSdQMI.d.ts → contracts-NgFlZ1vx.d.ts} +159 -7
- package/dist/contracts.d.cts +1 -1
- package/dist/contracts.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@ It provides two separate clients:
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
pnpm add @mentingo/luma-sdk@0.
|
|
13
|
+
pnpm add @mentingo/luma-sdk@0.6.0
|
|
14
14
|
# or
|
|
15
|
-
npm install @mentingo/luma-sdk@0.
|
|
15
|
+
npm install @mentingo/luma-sdk@0.6.0
|
|
16
16
|
# or
|
|
17
|
-
yarn add @mentingo/luma-sdk@0.
|
|
17
|
+
yarn add @mentingo/luma-sdk@0.6.0
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Quick Start (HTTP)
|
|
@@ -269,6 +269,16 @@ submit commands, upload source documents, answer authorized context requests, pr
|
|
|
269
269
|
exports, and record application receipts. Course changes remain reviewable proposals; the SDK
|
|
270
270
|
never applies them to the consuming application's database.
|
|
271
271
|
|
|
272
|
+
To open an AI authoring session before the course exists, supply an
|
|
273
|
+
`AuthoringDraftCourseContext` to `createSession`. Both `courseId` fields use the
|
|
274
|
+
host's reserved UUID. The context supplies available categories, the actor's
|
|
275
|
+
category creation capability, and an optional tenant palette. The initial
|
|
276
|
+
session language is the UI language. The `course.create` operation in a frozen
|
|
277
|
+
export carries the proposed course language. Apply that operation through the
|
|
278
|
+
host's native permissions and course creation path, then send an applied receipt
|
|
279
|
+
whose `idMappings` maps the draft UUID to the created course ID. Luma retains the
|
|
280
|
+
same authoring session ID.
|
|
281
|
+
|
|
272
282
|
Snapshot tasks expose optional `failure` metadata with a stable code and recovery action.
|
|
273
283
|
Clients should use `retry_failed_parts`, `answer_question`, `retry_provider`, or `service_fix`
|
|
274
284
|
to present the appropriate next step rather than retrying every failure automatically.
|
|
@@ -526,7 +526,8 @@ interface AiModelProfileResponse {
|
|
|
526
526
|
/** Model */
|
|
527
527
|
model: string;
|
|
528
528
|
/** Metadata */
|
|
529
|
-
metadata: Record<string,
|
|
529
|
+
metadata: Record<string, JsonValue>;
|
|
530
|
+
voiceSettings?: LanguageVoiceSettingsMapOutput | null;
|
|
530
531
|
/** Hasapikey */
|
|
531
532
|
hasApiKey: boolean;
|
|
532
533
|
/**
|
|
@@ -572,8 +573,18 @@ interface ApiKeyCreateResponse {
|
|
|
572
573
|
* ApiKeyMetadata
|
|
573
574
|
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
574
575
|
*/
|
|
575
|
-
interface
|
|
576
|
+
interface ApiKeyMetadataInput {
|
|
576
577
|
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
578
|
+
providerVoiceSettings?: ProviderVoiceSettingsMapInput | null;
|
|
579
|
+
[key: string]: any;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* ApiKeyMetadata
|
|
583
|
+
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
584
|
+
*/
|
|
585
|
+
interface ApiKeyMetadataOutput {
|
|
586
|
+
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
587
|
+
providerVoiceSettings?: ProviderVoiceSettingsMapOutput | null;
|
|
577
588
|
[key: string]: any;
|
|
578
589
|
}
|
|
579
590
|
/** ApiKeyResponse */
|
|
@@ -602,7 +613,7 @@ interface ApiKeyResponse {
|
|
|
602
613
|
/** Revokedat */
|
|
603
614
|
revokedAt?: string | null;
|
|
604
615
|
/** Extensible non-secret API key settings; recognized routing values are validated. */
|
|
605
|
-
metadata?:
|
|
616
|
+
metadata?: ApiKeyMetadataOutput;
|
|
606
617
|
/** Provider used for voice output: the chosen one, else the platform default. */
|
|
607
618
|
effectiveTextToSpeechProvider?: TTSProvider | null;
|
|
608
619
|
/**
|
|
@@ -645,7 +656,7 @@ interface ApiKeyUpdateRequest {
|
|
|
645
656
|
*/
|
|
646
657
|
textToSpeechApiKey?: string | null;
|
|
647
658
|
/** Merge non-secret settings. Null values remove individual metadata entries. */
|
|
648
|
-
metadata?:
|
|
659
|
+
metadata?: ApiKeyMetadataInput | null;
|
|
649
660
|
}
|
|
650
661
|
/** ApplicationDeltaProof */
|
|
651
662
|
interface ApplicationDeltaProof {
|
|
@@ -790,7 +801,7 @@ interface AssetManifestItem {
|
|
|
790
801
|
* Role
|
|
791
802
|
* @default "visual"
|
|
792
803
|
*/
|
|
793
|
-
role?: "visual" | "mentor_context";
|
|
804
|
+
role?: "visual" | "mentor_context" | "podcast";
|
|
794
805
|
/** Sourceversionid */
|
|
795
806
|
sourceVersionId?: string | null;
|
|
796
807
|
/** Sectionids */
|
|
@@ -865,6 +876,8 @@ interface AuthoringCommand$1 {
|
|
|
865
876
|
} & ReorderOperation) | ({
|
|
866
877
|
type: "chapter.update";
|
|
867
878
|
} & ChapterWrite) | ({
|
|
879
|
+
type: "course.create";
|
|
880
|
+
} & CourseCreateOperation$1) | ({
|
|
868
881
|
type: "course.metadata.update";
|
|
869
882
|
} & MetadataUpdate) | ({
|
|
870
883
|
type: "course.settings.update";
|
|
@@ -1330,6 +1343,68 @@ interface ContinuationRef {
|
|
|
1330
1343
|
/** Parentworkspacerevision */
|
|
1331
1344
|
parentWorkspaceRevision?: number | null;
|
|
1332
1345
|
}
|
|
1346
|
+
/**
|
|
1347
|
+
* CourseCreateOperation
|
|
1348
|
+
* Create exactly one native course for the session's placeholder identity.
|
|
1349
|
+
*/
|
|
1350
|
+
interface CourseCreateOperation$1 {
|
|
1351
|
+
/**
|
|
1352
|
+
* Operationid
|
|
1353
|
+
* @format uuid
|
|
1354
|
+
*/
|
|
1355
|
+
operationId: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Targetid
|
|
1358
|
+
* @format uuid
|
|
1359
|
+
*/
|
|
1360
|
+
targetId: string;
|
|
1361
|
+
/** Language */
|
|
1362
|
+
language: "en" | "pl" | "de" | "lt" | "cs" | "es" | "fr";
|
|
1363
|
+
/** Baselinehash */
|
|
1364
|
+
baselineHash?: string | null;
|
|
1365
|
+
/** Dependencies */
|
|
1366
|
+
dependencies?: string[];
|
|
1367
|
+
/** Fieldbaselines */
|
|
1368
|
+
fieldBaselines?: Record<string, string>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Type
|
|
1371
|
+
* @default "course.create"
|
|
1372
|
+
*/
|
|
1373
|
+
type?: "course.create";
|
|
1374
|
+
/** Describe the native course proposed during an owner-only draft session. */
|
|
1375
|
+
payload: CourseCreatePayload;
|
|
1376
|
+
}
|
|
1377
|
+
/**
|
|
1378
|
+
* CourseCreatePayload
|
|
1379
|
+
* Describe the native course proposed during an owner-only draft session.
|
|
1380
|
+
*/
|
|
1381
|
+
interface CourseCreatePayload {
|
|
1382
|
+
/**
|
|
1383
|
+
* Title
|
|
1384
|
+
* @minLength 1
|
|
1385
|
+
* @maxLength 255
|
|
1386
|
+
*/
|
|
1387
|
+
title: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* Description
|
|
1390
|
+
* @minLength 1
|
|
1391
|
+
* @maxLength 20000
|
|
1392
|
+
*/
|
|
1393
|
+
description: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Learningoutcomes
|
|
1396
|
+
* @maxItems 5
|
|
1397
|
+
*/
|
|
1398
|
+
learningOutcomes: string[];
|
|
1399
|
+
/** Language */
|
|
1400
|
+
language: "en" | "pl" | "de" | "lt" | "cs" | "es" | "fr";
|
|
1401
|
+
/** Categoryid */
|
|
1402
|
+
categoryId?: string | null;
|
|
1403
|
+
/** Categorytitle */
|
|
1404
|
+
categoryTitle?: string | null;
|
|
1405
|
+
/** Thumbnailassetid */
|
|
1406
|
+
thumbnailAssetId?: string | null;
|
|
1407
|
+
}
|
|
1333
1408
|
/**
|
|
1334
1409
|
* CreateSession
|
|
1335
1410
|
* Request creation of an authoring session for one course and actor.
|
|
@@ -1525,6 +1600,8 @@ interface FrozenExport {
|
|
|
1525
1600
|
} & ReorderOperation) | ({
|
|
1526
1601
|
type: "chapter.update";
|
|
1527
1602
|
} & ChapterWrite) | ({
|
|
1603
|
+
type: "course.create";
|
|
1604
|
+
} & CourseCreateOperation$1) | ({
|
|
1528
1605
|
type: "course.metadata.update";
|
|
1529
1606
|
} & MetadataUpdate) | ({
|
|
1530
1607
|
type: "course.settings.update";
|
|
@@ -1624,6 +1701,26 @@ interface JudgeTriggeredBlockingError {
|
|
|
1624
1701
|
*/
|
|
1625
1702
|
learnerSafeFeedback: string;
|
|
1626
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* LanguageVoiceSettings
|
|
1706
|
+
* Voice IDs understood by one provider for one normalized language code.
|
|
1707
|
+
*/
|
|
1708
|
+
interface LanguageVoiceSettings {
|
|
1709
|
+
femaleVoiceId?: ProviderVoiceId | null;
|
|
1710
|
+
maleVoiceId?: ProviderVoiceId | null;
|
|
1711
|
+
/**
|
|
1712
|
+
* Podcastfemalevoiceids
|
|
1713
|
+
* @maxItems 32
|
|
1714
|
+
*/
|
|
1715
|
+
podcastFemaleVoiceIds?: ProviderVoiceId[];
|
|
1716
|
+
/**
|
|
1717
|
+
* Podcastmalevoiceids
|
|
1718
|
+
* @maxItems 32
|
|
1719
|
+
*/
|
|
1720
|
+
podcastMaleVoiceIds?: ProviderVoiceId[];
|
|
1721
|
+
}
|
|
1722
|
+
type LanguageVoiceSettingsMapInput = Record<VoiceLanguageCode, LanguageVoiceSettings>;
|
|
1723
|
+
type LanguageVoiceSettingsMapOutput = Record<VoiceLanguageCode, LanguageVoiceSettings>;
|
|
1627
1724
|
/**
|
|
1628
1725
|
* LessonImageInsert
|
|
1629
1726
|
* Insert an image beside a trusted existing block under the whole-lesson baseline.
|
|
@@ -2207,6 +2304,29 @@ interface ProposalReviewDecision {
|
|
|
2207
2304
|
*/
|
|
2208
2305
|
acceptQualityConcerns?: boolean;
|
|
2209
2306
|
}
|
|
2307
|
+
/**
|
|
2308
|
+
* @minLength 1
|
|
2309
|
+
* @maxLength 256
|
|
2310
|
+
*/
|
|
2311
|
+
type ProviderVoiceId = string;
|
|
2312
|
+
/**
|
|
2313
|
+
* ProviderVoiceSettingsMap
|
|
2314
|
+
* Keep independently editable language settings for each built-in provider.
|
|
2315
|
+
*/
|
|
2316
|
+
interface ProviderVoiceSettingsMapInput {
|
|
2317
|
+
cartesia?: LanguageVoiceSettingsMapInput | null;
|
|
2318
|
+
elevenlabs?: LanguageVoiceSettingsMapInput | null;
|
|
2319
|
+
fish?: LanguageVoiceSettingsMapInput | null;
|
|
2320
|
+
}
|
|
2321
|
+
/**
|
|
2322
|
+
* ProviderVoiceSettingsMap
|
|
2323
|
+
* Keep independently editable language settings for each built-in provider.
|
|
2324
|
+
*/
|
|
2325
|
+
interface ProviderVoiceSettingsMapOutput {
|
|
2326
|
+
cartesia?: LanguageVoiceSettingsMapOutput | null;
|
|
2327
|
+
elevenlabs?: LanguageVoiceSettingsMapOutput | null;
|
|
2328
|
+
fish?: LanguageVoiceSettingsMapOutput | null;
|
|
2329
|
+
}
|
|
2210
2330
|
/**
|
|
2211
2331
|
* PublicAiMessage
|
|
2212
2332
|
* Preserve native text messages and carry assistant calls and their tool results.
|
|
@@ -2454,6 +2574,11 @@ interface SessionSnapshot$1 {
|
|
|
2454
2574
|
* @default false
|
|
2455
2575
|
*/
|
|
2456
2576
|
reasoningControlAvailable?: boolean;
|
|
2577
|
+
/**
|
|
2578
|
+
* Pendingwork
|
|
2579
|
+
* @default false
|
|
2580
|
+
*/
|
|
2581
|
+
pendingWork?: boolean;
|
|
2457
2582
|
applicationDelta?: ApplicationDeltaProof;
|
|
2458
2583
|
/**
|
|
2459
2584
|
* Schemaversion
|
|
@@ -2915,6 +3040,8 @@ interface TurnToolResult {
|
|
|
2915
3040
|
/** Findingcount */
|
|
2916
3041
|
findingCount?: number | null;
|
|
2917
3042
|
}
|
|
3043
|
+
/** @pattern ^[a-z]{2,3}(-[a-z]{2})?$ */
|
|
3044
|
+
type VoiceLanguageCode = string;
|
|
2918
3045
|
/**
|
|
2919
3046
|
* WorkspaceRecord
|
|
2920
3047
|
* Expose one immutable workspace projection record by kind and payload.
|
|
@@ -3448,6 +3575,10 @@ type AuthoringLessonCreateOperation = Omit<LessonWriteInput, "type" | "payload">
|
|
|
3448
3575
|
type AuthoringLessonUpdateOperation = Omit<LessonWriteInput, "type"> & {
|
|
3449
3576
|
type: "lesson.update";
|
|
3450
3577
|
};
|
|
3578
|
+
/** A standalone creation proposal that targets the draft session's placeholder course ID. */
|
|
3579
|
+
type CourseCreateOperation = Extract<GeneratedAuthoringOperation, {
|
|
3580
|
+
type: "course.create";
|
|
3581
|
+
}>;
|
|
3451
3582
|
type AuthoringOperation = GeneratedNonLessonOperation | AuthoringLessonCreateOperation | AuthoringLessonUpdateOperation;
|
|
3452
3583
|
/**
|
|
3453
3584
|
* Public command input. It narrows mentor lesson creation so a judge configuration
|
|
@@ -3486,7 +3617,28 @@ type TaskSummary = TaskSummary$1 & {
|
|
|
3486
3617
|
type SessionSnapshot = Omit<SessionSnapshot$1, "tasks"> & {
|
|
3487
3618
|
tasks: TaskSummary[];
|
|
3488
3619
|
};
|
|
3489
|
-
type
|
|
3620
|
+
type AuthoringSessionContextFields = NonNullable<CreateSession["context"]>;
|
|
3621
|
+
/** A category available for selection in the draft course's language. */
|
|
3622
|
+
type AuthoringDraftCourseCategory = {
|
|
3623
|
+
id: string;
|
|
3624
|
+
title: string;
|
|
3625
|
+
language: CreateSession["language"];
|
|
3626
|
+
};
|
|
3627
|
+
/** Trusted host context for an owner-only session awaiting native course creation. */
|
|
3628
|
+
type AuthoringDraftCourseContext = AuthoringSessionContextFields & {
|
|
3629
|
+
draftCourse: true;
|
|
3630
|
+
courseId: string;
|
|
3631
|
+
language: CreateSession["language"];
|
|
3632
|
+
categories: AuthoringDraftCourseCategory[];
|
|
3633
|
+
canCreateCategory: boolean;
|
|
3634
|
+
tenantPalette?: string[];
|
|
3635
|
+
};
|
|
3636
|
+
/** Open an existing-course session or identify a draft by its placeholder course ID. */
|
|
3637
|
+
type AuthoringCreateSessionOptions = Omit<CreateSession, "context"> & {
|
|
3638
|
+
context?: AuthoringDraftCourseContext | (AuthoringSessionContextFields & {
|
|
3639
|
+
draftCourse?: false;
|
|
3640
|
+
});
|
|
3641
|
+
};
|
|
3490
3642
|
type AuthoringSessionSnapshot = SessionSnapshot;
|
|
3491
3643
|
type AuthoringTurnHistoryPage = TurnHistoryPage;
|
|
3492
3644
|
type AuthoringSessionSummary = SessionSummary;
|
|
@@ -3976,4 +4128,4 @@ declare const LUMA_AI_CAPABILITIES: {
|
|
|
3976
4128
|
readonly VOICE_TEXT_TO_SPEECH: AiCapability.VoiceTextToSpeech;
|
|
3977
4129
|
};
|
|
3978
4130
|
|
|
3979
|
-
export { type MentorStreamRequestOptions as $, API as A, type AuthoringTurnHistoryPage as B, type CreateEmbeddingsOptions as C, type AuthoringEventsOptions as D, type AuthoringEventPage as E, type AuthoringSourceUploadReceipt as F, type GenerateAiJudgeConfigurationOptions as G, type DownloadAuthoringAssetOptions as H, type DownloadedAuthoringAsset as I, type SendAuthoringCommandOptions as J, type AuthoringCommandReceipt as K, type ListAuthoringSessionsOptions as L, type FulfillAuthoringContextOptions as M, type AuthoringContextFulfillmentReceipt as N, type FailAuthoringContextOptions as O, type AuthoringContextFailureReceipt as P, type PrepareAuthoringExportOptions as Q, type FrozenAuthoringExport as R, type SubscribeAuthoringEventsOptions as S, type TranscribeDictationOptions as T, type UploadAuthoringSourceOptions as U, type ValidateAiJudgeConfigurationOptions as V, type GetAuthoringExportOptions as W, type RecordAuthoringReceiptOptions as X, type AuthoringApplicationReceipt as Y, type PublicConfigurationResponse as Z, type MentorChatOptions as _, type CreateEmbeddingsResponse as a, type
|
|
4131
|
+
export { type MentorStreamRequestOptions as $, API as A, type AuthoringTurnHistoryPage as B, type CreateEmbeddingsOptions as C, type AuthoringEventsOptions as D, type AuthoringEventPage as E, type AuthoringSourceUploadReceipt as F, type GenerateAiJudgeConfigurationOptions as G, type DownloadAuthoringAssetOptions as H, type DownloadedAuthoringAsset as I, type SendAuthoringCommandOptions as J, type AuthoringCommandReceipt as K, type ListAuthoringSessionsOptions as L, type FulfillAuthoringContextOptions as M, type AuthoringContextFulfillmentReceipt as N, type FailAuthoringContextOptions as O, type AuthoringContextFailureReceipt as P, type PrepareAuthoringExportOptions as Q, type FrozenAuthoringExport as R, type SubscribeAuthoringEventsOptions as S, type TranscribeDictationOptions as T, type UploadAuthoringSourceOptions as U, type ValidateAiJudgeConfigurationOptions as V, type GetAuthoringExportOptions as W, type RecordAuthoringReceiptOptions as X, type AuthoringApplicationReceipt as Y, type PublicConfigurationResponse as Z, type MentorChatOptions as _, type CreateEmbeddingsResponse as a, type AuthoringTurnPart as a$, type NativeChatResult as a0, type MentorGenerateChatResponse as a1, type MentorJudgeOptions as a2, type MentorJudgeResponse as a3, type LumaSocket as a4, AI_MENTOR_CONFIGURATION_TYPES as a5, AUDIO_PROVIDER_STATES as a6, AUDIO_RECOVERY_STATES as a7, AiCapability as a8, AiCapabilityMode as a9, type AudioOutputErrorPayload as aA, type AudioOutputInterruptedData as aB, type AudioOutputInterruptedPayload as aC, type AudioProtocolErrorPayload as aD, type AudioProviderState as aE, type AudioReconnectPayload as aF, type AudioRecoveryPayload as aG, type AudioRecoveryState as aH, type AudioStartedPayload as aI, type AudioStopPayload as aJ, type AudioTriggerTTSPayload as aK, type AuthoringCommand as aL, type AuthoringContextFailure as aM, type AuthoringContextResponse as aN, type AuthoringDraftCourseCategory as aO, type AuthoringDraftCourseContext as aP, type AuthoringEvent as aQ, type AuthoringLessonCreateOperation as aR, type AuthoringLessonUpdateOperation as aS, type AuthoringMentorLessonCreatePayload as aT, type AuthoringOperation as aU, type AuthoringSessionSummary as aV, AuthoringSubscriptionError as aW, type AuthoringSubscriptionErrorCode as aX, type AuthoringTaskFailure as aY, type AuthoringTaskSummary as aZ, type AuthoringTurn as a_, AiCapabilityProvider as aa, type AiCapabilityStatus as ab, type AiJudgeConfigurationResponseInput as ac, type AiMentorConfigurationType as ad, type AiModelAssignmentResponse as ae, type AiModelAssignmentUpdateRequest as af, AiModelDomain as ag, AiModelProfileKind as ah, type AiModelProfileResponse as ai, type AiRuntimeConfiguration as aj, type ApiKeyCreateRequest as ak, type ApiKeyCreateResponse as al, type ApiKeyMetadataInput as am, type ApiKeyResponse as an, type ApiKeyUpdateRequest as ao, type ApplicationReceipt as ap, type AudioBinaryChunk as aq, type AudioChunkPayload as ar, type AudioChunkedPayload as as, type AudioOutputAlignmentData as at, type AudioOutputAlignmentPayload as au, type AudioOutputChunkData as av, type AudioOutputChunkPayload as aw, type AudioOutputCompleteData as ax, type AudioOutputCompletePayload as ay, type AudioOutputErrorData as az, type GenerateAiJudgeConfigurationResponse as b, type PrepareAuthoringExport as b$, type AuthoringWorkProgress as b0, type AuthoringWorkProgressChapter as b1, type AuthoringWorkProgressStage as b2, type AuthoringWorkspaceRecord as b3, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as b4, type ClientSpeechBoundaryPayload as b5, type CommandReceipt as b6, type ContextFailure as b7, type ContextFailureReceipt as b8, type ContextFulfillmentReceipt as b9, LUMA_VOICE_TIMING_PRECISION as bA, type LearnerTranscriptStatus as bB, type LearnerTranscriptionData as bC, type LearnerTranscriptionPayload as bD, type LearnerTranscriptionTimingData as bE, type LumaAiModelDomain as bF, type LumaAiModelProfileKind as bG, type LumaCaptureProfile as bH, type LumaSocketEmitEvents as bI, type LumaSocketListenEvents as bJ, type LumaVoiceTimingPrecision as bK, type MentorChatEvent as bL, type MentorChatRequest as bM, type MentorChatResponse as bN, type MentorStreamEventEnvelope as bO, type MentorTextDeltaPayload as bP, type MentorTextEndPayload as bQ, type MentorTextErrorPayload as bR, type MentorTranscriptionPayload as bS, type NamedToolChoice as bT, type NativeChatTool as bU, type NativeChatUsage as bV, type NativeErrorEvent as bW, type NativeFinishEvent as bX, type NativeTextDelta as bY, type NativeToolCall as bZ, type NativeToolCallEvent as b_, type ContextResponse as ba, type CourseCreateOperation as bb, type CourseCreatePayload as bc, type CreateSession as bd, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as be, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as bf, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as bg, EXTERNAL_AUDIO_OPERATION as bh, EXTERNAL_AUDIO_RECOVERY_STATE as bi, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as bj, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as bk, type EventPage as bl, type FrozenExport as bm, LEARNER_TRANSCRIPT_STATUSES as bn, LUMA_AI_CAPABILITIES as bo, LUMA_AI_CAPABILITY_MODES as bp, LUMA_AI_CAPABILITY_PROVIDERS as bq, LUMA_AI_MODEL_DOMAINS as br, LUMA_AI_MODEL_PROFILE_KINDS as bs, LUMA_AUDIO_ACTIONS as bt, LUMA_AUDIO_FORMATS as bu, LUMA_CAPTURE_PROFILES as bv, LUMA_MENTOR_STREAM_EVENT_TYPES as bw, LUMA_SOCKET_EMIT_EVENTS as bx, LUMA_SOCKET_LISTEN_EVENTS as by, LUMA_SOCKET_MESSAGE_TYPES as bz, type GenerateAiMentorConfigurationOptions as c, type PrepareExport as c0, type ProposalReviewDecision as c1, type PublicAiMessage as c2, ReasoningEffort as c3, type ServerConnectedPayload as c4, type SessionSnapshot as c5, type SessionSummary as c6, type SessionSummaryPage as c7, type SourceUploadReceipt as c8, type SpeechAlignmentWord as c9, type StartAudioPayload as ca, TRANSCRIPTION_MODES as cb, TTSProvider as cc, type TaskFailure as cd, TaskKind as ce, type TaskSummary as cf, TextToSpeechProvider as cg, type TranscriptionSessionPlan as ch, TurnPartKind as ci, TurnPartStatus as cj, TurnStatus as ck, type WorkspaceRecord as cl, type GenerateAiMentorConfigurationResponse as d, type ValidateAiJudgeConfigurationResponse as e, type ValidateAiMentorConfigurationOptions as f, type ValidateAiMentorConfigurationResponse as g, type GenerateTranslationsOptions as h, type GenerateTranslationsResponse as i, type TranscribeDictationResponse as j, type AdminOrganizationIdOptions as k, type AdminApiKeyResponse as l, type AdminApiKeyCreateOptions as m, type AdminApiKeyCreateResponse as n, type AdminApiKeyIdentifierOptions as o, type AdminApiKeyUpdateOptions as p, type AdminApiKeyRevokeResponse as q, type AdminConfigurationResponse as r, type AdminModelAssignmentResponse as s, type AdminApiKeyAssignmentUpdateOptions as t, type AdminModelProfileResponse as u, type AuthoringCreateSessionOptions as v, type AuthoringSessionSnapshot as w, type AuthoringSessionPage as x, type AuthoringSessionOptions as y, type AuthoringTurnHistoryOptions as z };
|
|
@@ -526,7 +526,8 @@ interface AiModelProfileResponse {
|
|
|
526
526
|
/** Model */
|
|
527
527
|
model: string;
|
|
528
528
|
/** Metadata */
|
|
529
|
-
metadata: Record<string,
|
|
529
|
+
metadata: Record<string, JsonValue>;
|
|
530
|
+
voiceSettings?: LanguageVoiceSettingsMapOutput | null;
|
|
530
531
|
/** Hasapikey */
|
|
531
532
|
hasApiKey: boolean;
|
|
532
533
|
/**
|
|
@@ -572,8 +573,18 @@ interface ApiKeyCreateResponse {
|
|
|
572
573
|
* ApiKeyMetadata
|
|
573
574
|
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
574
575
|
*/
|
|
575
|
-
interface
|
|
576
|
+
interface ApiKeyMetadataInput {
|
|
576
577
|
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
578
|
+
providerVoiceSettings?: ProviderVoiceSettingsMapInput | null;
|
|
579
|
+
[key: string]: any;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* ApiKeyMetadata
|
|
583
|
+
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
584
|
+
*/
|
|
585
|
+
interface ApiKeyMetadataOutput {
|
|
586
|
+
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
587
|
+
providerVoiceSettings?: ProviderVoiceSettingsMapOutput | null;
|
|
577
588
|
[key: string]: any;
|
|
578
589
|
}
|
|
579
590
|
/** ApiKeyResponse */
|
|
@@ -602,7 +613,7 @@ interface ApiKeyResponse {
|
|
|
602
613
|
/** Revokedat */
|
|
603
614
|
revokedAt?: string | null;
|
|
604
615
|
/** Extensible non-secret API key settings; recognized routing values are validated. */
|
|
605
|
-
metadata?:
|
|
616
|
+
metadata?: ApiKeyMetadataOutput;
|
|
606
617
|
/** Provider used for voice output: the chosen one, else the platform default. */
|
|
607
618
|
effectiveTextToSpeechProvider?: TTSProvider | null;
|
|
608
619
|
/**
|
|
@@ -645,7 +656,7 @@ interface ApiKeyUpdateRequest {
|
|
|
645
656
|
*/
|
|
646
657
|
textToSpeechApiKey?: string | null;
|
|
647
658
|
/** Merge non-secret settings. Null values remove individual metadata entries. */
|
|
648
|
-
metadata?:
|
|
659
|
+
metadata?: ApiKeyMetadataInput | null;
|
|
649
660
|
}
|
|
650
661
|
/** ApplicationDeltaProof */
|
|
651
662
|
interface ApplicationDeltaProof {
|
|
@@ -790,7 +801,7 @@ interface AssetManifestItem {
|
|
|
790
801
|
* Role
|
|
791
802
|
* @default "visual"
|
|
792
803
|
*/
|
|
793
|
-
role?: "visual" | "mentor_context";
|
|
804
|
+
role?: "visual" | "mentor_context" | "podcast";
|
|
794
805
|
/** Sourceversionid */
|
|
795
806
|
sourceVersionId?: string | null;
|
|
796
807
|
/** Sectionids */
|
|
@@ -865,6 +876,8 @@ interface AuthoringCommand$1 {
|
|
|
865
876
|
} & ReorderOperation) | ({
|
|
866
877
|
type: "chapter.update";
|
|
867
878
|
} & ChapterWrite) | ({
|
|
879
|
+
type: "course.create";
|
|
880
|
+
} & CourseCreateOperation$1) | ({
|
|
868
881
|
type: "course.metadata.update";
|
|
869
882
|
} & MetadataUpdate) | ({
|
|
870
883
|
type: "course.settings.update";
|
|
@@ -1330,6 +1343,68 @@ interface ContinuationRef {
|
|
|
1330
1343
|
/** Parentworkspacerevision */
|
|
1331
1344
|
parentWorkspaceRevision?: number | null;
|
|
1332
1345
|
}
|
|
1346
|
+
/**
|
|
1347
|
+
* CourseCreateOperation
|
|
1348
|
+
* Create exactly one native course for the session's placeholder identity.
|
|
1349
|
+
*/
|
|
1350
|
+
interface CourseCreateOperation$1 {
|
|
1351
|
+
/**
|
|
1352
|
+
* Operationid
|
|
1353
|
+
* @format uuid
|
|
1354
|
+
*/
|
|
1355
|
+
operationId: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* Targetid
|
|
1358
|
+
* @format uuid
|
|
1359
|
+
*/
|
|
1360
|
+
targetId: string;
|
|
1361
|
+
/** Language */
|
|
1362
|
+
language: "en" | "pl" | "de" | "lt" | "cs" | "es" | "fr";
|
|
1363
|
+
/** Baselinehash */
|
|
1364
|
+
baselineHash?: string | null;
|
|
1365
|
+
/** Dependencies */
|
|
1366
|
+
dependencies?: string[];
|
|
1367
|
+
/** Fieldbaselines */
|
|
1368
|
+
fieldBaselines?: Record<string, string>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Type
|
|
1371
|
+
* @default "course.create"
|
|
1372
|
+
*/
|
|
1373
|
+
type?: "course.create";
|
|
1374
|
+
/** Describe the native course proposed during an owner-only draft session. */
|
|
1375
|
+
payload: CourseCreatePayload;
|
|
1376
|
+
}
|
|
1377
|
+
/**
|
|
1378
|
+
* CourseCreatePayload
|
|
1379
|
+
* Describe the native course proposed during an owner-only draft session.
|
|
1380
|
+
*/
|
|
1381
|
+
interface CourseCreatePayload {
|
|
1382
|
+
/**
|
|
1383
|
+
* Title
|
|
1384
|
+
* @minLength 1
|
|
1385
|
+
* @maxLength 255
|
|
1386
|
+
*/
|
|
1387
|
+
title: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* Description
|
|
1390
|
+
* @minLength 1
|
|
1391
|
+
* @maxLength 20000
|
|
1392
|
+
*/
|
|
1393
|
+
description: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Learningoutcomes
|
|
1396
|
+
* @maxItems 5
|
|
1397
|
+
*/
|
|
1398
|
+
learningOutcomes: string[];
|
|
1399
|
+
/** Language */
|
|
1400
|
+
language: "en" | "pl" | "de" | "lt" | "cs" | "es" | "fr";
|
|
1401
|
+
/** Categoryid */
|
|
1402
|
+
categoryId?: string | null;
|
|
1403
|
+
/** Categorytitle */
|
|
1404
|
+
categoryTitle?: string | null;
|
|
1405
|
+
/** Thumbnailassetid */
|
|
1406
|
+
thumbnailAssetId?: string | null;
|
|
1407
|
+
}
|
|
1333
1408
|
/**
|
|
1334
1409
|
* CreateSession
|
|
1335
1410
|
* Request creation of an authoring session for one course and actor.
|
|
@@ -1525,6 +1600,8 @@ interface FrozenExport {
|
|
|
1525
1600
|
} & ReorderOperation) | ({
|
|
1526
1601
|
type: "chapter.update";
|
|
1527
1602
|
} & ChapterWrite) | ({
|
|
1603
|
+
type: "course.create";
|
|
1604
|
+
} & CourseCreateOperation$1) | ({
|
|
1528
1605
|
type: "course.metadata.update";
|
|
1529
1606
|
} & MetadataUpdate) | ({
|
|
1530
1607
|
type: "course.settings.update";
|
|
@@ -1624,6 +1701,26 @@ interface JudgeTriggeredBlockingError {
|
|
|
1624
1701
|
*/
|
|
1625
1702
|
learnerSafeFeedback: string;
|
|
1626
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* LanguageVoiceSettings
|
|
1706
|
+
* Voice IDs understood by one provider for one normalized language code.
|
|
1707
|
+
*/
|
|
1708
|
+
interface LanguageVoiceSettings {
|
|
1709
|
+
femaleVoiceId?: ProviderVoiceId | null;
|
|
1710
|
+
maleVoiceId?: ProviderVoiceId | null;
|
|
1711
|
+
/**
|
|
1712
|
+
* Podcastfemalevoiceids
|
|
1713
|
+
* @maxItems 32
|
|
1714
|
+
*/
|
|
1715
|
+
podcastFemaleVoiceIds?: ProviderVoiceId[];
|
|
1716
|
+
/**
|
|
1717
|
+
* Podcastmalevoiceids
|
|
1718
|
+
* @maxItems 32
|
|
1719
|
+
*/
|
|
1720
|
+
podcastMaleVoiceIds?: ProviderVoiceId[];
|
|
1721
|
+
}
|
|
1722
|
+
type LanguageVoiceSettingsMapInput = Record<VoiceLanguageCode, LanguageVoiceSettings>;
|
|
1723
|
+
type LanguageVoiceSettingsMapOutput = Record<VoiceLanguageCode, LanguageVoiceSettings>;
|
|
1627
1724
|
/**
|
|
1628
1725
|
* LessonImageInsert
|
|
1629
1726
|
* Insert an image beside a trusted existing block under the whole-lesson baseline.
|
|
@@ -2207,6 +2304,29 @@ interface ProposalReviewDecision {
|
|
|
2207
2304
|
*/
|
|
2208
2305
|
acceptQualityConcerns?: boolean;
|
|
2209
2306
|
}
|
|
2307
|
+
/**
|
|
2308
|
+
* @minLength 1
|
|
2309
|
+
* @maxLength 256
|
|
2310
|
+
*/
|
|
2311
|
+
type ProviderVoiceId = string;
|
|
2312
|
+
/**
|
|
2313
|
+
* ProviderVoiceSettingsMap
|
|
2314
|
+
* Keep independently editable language settings for each built-in provider.
|
|
2315
|
+
*/
|
|
2316
|
+
interface ProviderVoiceSettingsMapInput {
|
|
2317
|
+
cartesia?: LanguageVoiceSettingsMapInput | null;
|
|
2318
|
+
elevenlabs?: LanguageVoiceSettingsMapInput | null;
|
|
2319
|
+
fish?: LanguageVoiceSettingsMapInput | null;
|
|
2320
|
+
}
|
|
2321
|
+
/**
|
|
2322
|
+
* ProviderVoiceSettingsMap
|
|
2323
|
+
* Keep independently editable language settings for each built-in provider.
|
|
2324
|
+
*/
|
|
2325
|
+
interface ProviderVoiceSettingsMapOutput {
|
|
2326
|
+
cartesia?: LanguageVoiceSettingsMapOutput | null;
|
|
2327
|
+
elevenlabs?: LanguageVoiceSettingsMapOutput | null;
|
|
2328
|
+
fish?: LanguageVoiceSettingsMapOutput | null;
|
|
2329
|
+
}
|
|
2210
2330
|
/**
|
|
2211
2331
|
* PublicAiMessage
|
|
2212
2332
|
* Preserve native text messages and carry assistant calls and their tool results.
|
|
@@ -2454,6 +2574,11 @@ interface SessionSnapshot$1 {
|
|
|
2454
2574
|
* @default false
|
|
2455
2575
|
*/
|
|
2456
2576
|
reasoningControlAvailable?: boolean;
|
|
2577
|
+
/**
|
|
2578
|
+
* Pendingwork
|
|
2579
|
+
* @default false
|
|
2580
|
+
*/
|
|
2581
|
+
pendingWork?: boolean;
|
|
2457
2582
|
applicationDelta?: ApplicationDeltaProof;
|
|
2458
2583
|
/**
|
|
2459
2584
|
* Schemaversion
|
|
@@ -2915,6 +3040,8 @@ interface TurnToolResult {
|
|
|
2915
3040
|
/** Findingcount */
|
|
2916
3041
|
findingCount?: number | null;
|
|
2917
3042
|
}
|
|
3043
|
+
/** @pattern ^[a-z]{2,3}(-[a-z]{2})?$ */
|
|
3044
|
+
type VoiceLanguageCode = string;
|
|
2918
3045
|
/**
|
|
2919
3046
|
* WorkspaceRecord
|
|
2920
3047
|
* Expose one immutable workspace projection record by kind and payload.
|
|
@@ -3448,6 +3575,10 @@ type AuthoringLessonCreateOperation = Omit<LessonWriteInput, "type" | "payload">
|
|
|
3448
3575
|
type AuthoringLessonUpdateOperation = Omit<LessonWriteInput, "type"> & {
|
|
3449
3576
|
type: "lesson.update";
|
|
3450
3577
|
};
|
|
3578
|
+
/** A standalone creation proposal that targets the draft session's placeholder course ID. */
|
|
3579
|
+
type CourseCreateOperation = Extract<GeneratedAuthoringOperation, {
|
|
3580
|
+
type: "course.create";
|
|
3581
|
+
}>;
|
|
3451
3582
|
type AuthoringOperation = GeneratedNonLessonOperation | AuthoringLessonCreateOperation | AuthoringLessonUpdateOperation;
|
|
3452
3583
|
/**
|
|
3453
3584
|
* Public command input. It narrows mentor lesson creation so a judge configuration
|
|
@@ -3486,7 +3617,28 @@ type TaskSummary = TaskSummary$1 & {
|
|
|
3486
3617
|
type SessionSnapshot = Omit<SessionSnapshot$1, "tasks"> & {
|
|
3487
3618
|
tasks: TaskSummary[];
|
|
3488
3619
|
};
|
|
3489
|
-
type
|
|
3620
|
+
type AuthoringSessionContextFields = NonNullable<CreateSession["context"]>;
|
|
3621
|
+
/** A category available for selection in the draft course's language. */
|
|
3622
|
+
type AuthoringDraftCourseCategory = {
|
|
3623
|
+
id: string;
|
|
3624
|
+
title: string;
|
|
3625
|
+
language: CreateSession["language"];
|
|
3626
|
+
};
|
|
3627
|
+
/** Trusted host context for an owner-only session awaiting native course creation. */
|
|
3628
|
+
type AuthoringDraftCourseContext = AuthoringSessionContextFields & {
|
|
3629
|
+
draftCourse: true;
|
|
3630
|
+
courseId: string;
|
|
3631
|
+
language: CreateSession["language"];
|
|
3632
|
+
categories: AuthoringDraftCourseCategory[];
|
|
3633
|
+
canCreateCategory: boolean;
|
|
3634
|
+
tenantPalette?: string[];
|
|
3635
|
+
};
|
|
3636
|
+
/** Open an existing-course session or identify a draft by its placeholder course ID. */
|
|
3637
|
+
type AuthoringCreateSessionOptions = Omit<CreateSession, "context"> & {
|
|
3638
|
+
context?: AuthoringDraftCourseContext | (AuthoringSessionContextFields & {
|
|
3639
|
+
draftCourse?: false;
|
|
3640
|
+
});
|
|
3641
|
+
};
|
|
3490
3642
|
type AuthoringSessionSnapshot = SessionSnapshot;
|
|
3491
3643
|
type AuthoringTurnHistoryPage = TurnHistoryPage;
|
|
3492
3644
|
type AuthoringSessionSummary = SessionSummary;
|
|
@@ -3976,4 +4128,4 @@ declare const LUMA_AI_CAPABILITIES: {
|
|
|
3976
4128
|
readonly VOICE_TEXT_TO_SPEECH: AiCapability.VoiceTextToSpeech;
|
|
3977
4129
|
};
|
|
3978
4130
|
|
|
3979
|
-
export { type MentorStreamRequestOptions as $, API as A, type AuthoringTurnHistoryPage as B, type CreateEmbeddingsOptions as C, type AuthoringEventsOptions as D, type AuthoringEventPage as E, type AuthoringSourceUploadReceipt as F, type GenerateAiJudgeConfigurationOptions as G, type DownloadAuthoringAssetOptions as H, type DownloadedAuthoringAsset as I, type SendAuthoringCommandOptions as J, type AuthoringCommandReceipt as K, type ListAuthoringSessionsOptions as L, type FulfillAuthoringContextOptions as M, type AuthoringContextFulfillmentReceipt as N, type FailAuthoringContextOptions as O, type AuthoringContextFailureReceipt as P, type PrepareAuthoringExportOptions as Q, type FrozenAuthoringExport as R, type SubscribeAuthoringEventsOptions as S, type TranscribeDictationOptions as T, type UploadAuthoringSourceOptions as U, type ValidateAiJudgeConfigurationOptions as V, type GetAuthoringExportOptions as W, type RecordAuthoringReceiptOptions as X, type AuthoringApplicationReceipt as Y, type PublicConfigurationResponse as Z, type MentorChatOptions as _, type CreateEmbeddingsResponse as a, type
|
|
4131
|
+
export { type MentorStreamRequestOptions as $, API as A, type AuthoringTurnHistoryPage as B, type CreateEmbeddingsOptions as C, type AuthoringEventsOptions as D, type AuthoringEventPage as E, type AuthoringSourceUploadReceipt as F, type GenerateAiJudgeConfigurationOptions as G, type DownloadAuthoringAssetOptions as H, type DownloadedAuthoringAsset as I, type SendAuthoringCommandOptions as J, type AuthoringCommandReceipt as K, type ListAuthoringSessionsOptions as L, type FulfillAuthoringContextOptions as M, type AuthoringContextFulfillmentReceipt as N, type FailAuthoringContextOptions as O, type AuthoringContextFailureReceipt as P, type PrepareAuthoringExportOptions as Q, type FrozenAuthoringExport as R, type SubscribeAuthoringEventsOptions as S, type TranscribeDictationOptions as T, type UploadAuthoringSourceOptions as U, type ValidateAiJudgeConfigurationOptions as V, type GetAuthoringExportOptions as W, type RecordAuthoringReceiptOptions as X, type AuthoringApplicationReceipt as Y, type PublicConfigurationResponse as Z, type MentorChatOptions as _, type CreateEmbeddingsResponse as a, type AuthoringTurnPart as a$, type NativeChatResult as a0, type MentorGenerateChatResponse as a1, type MentorJudgeOptions as a2, type MentorJudgeResponse as a3, type LumaSocket as a4, AI_MENTOR_CONFIGURATION_TYPES as a5, AUDIO_PROVIDER_STATES as a6, AUDIO_RECOVERY_STATES as a7, AiCapability as a8, AiCapabilityMode as a9, type AudioOutputErrorPayload as aA, type AudioOutputInterruptedData as aB, type AudioOutputInterruptedPayload as aC, type AudioProtocolErrorPayload as aD, type AudioProviderState as aE, type AudioReconnectPayload as aF, type AudioRecoveryPayload as aG, type AudioRecoveryState as aH, type AudioStartedPayload as aI, type AudioStopPayload as aJ, type AudioTriggerTTSPayload as aK, type AuthoringCommand as aL, type AuthoringContextFailure as aM, type AuthoringContextResponse as aN, type AuthoringDraftCourseCategory as aO, type AuthoringDraftCourseContext as aP, type AuthoringEvent as aQ, type AuthoringLessonCreateOperation as aR, type AuthoringLessonUpdateOperation as aS, type AuthoringMentorLessonCreatePayload as aT, type AuthoringOperation as aU, type AuthoringSessionSummary as aV, AuthoringSubscriptionError as aW, type AuthoringSubscriptionErrorCode as aX, type AuthoringTaskFailure as aY, type AuthoringTaskSummary as aZ, type AuthoringTurn as a_, AiCapabilityProvider as aa, type AiCapabilityStatus as ab, type AiJudgeConfigurationResponseInput as ac, type AiMentorConfigurationType as ad, type AiModelAssignmentResponse as ae, type AiModelAssignmentUpdateRequest as af, AiModelDomain as ag, AiModelProfileKind as ah, type AiModelProfileResponse as ai, type AiRuntimeConfiguration as aj, type ApiKeyCreateRequest as ak, type ApiKeyCreateResponse as al, type ApiKeyMetadataInput as am, type ApiKeyResponse as an, type ApiKeyUpdateRequest as ao, type ApplicationReceipt as ap, type AudioBinaryChunk as aq, type AudioChunkPayload as ar, type AudioChunkedPayload as as, type AudioOutputAlignmentData as at, type AudioOutputAlignmentPayload as au, type AudioOutputChunkData as av, type AudioOutputChunkPayload as aw, type AudioOutputCompleteData as ax, type AudioOutputCompletePayload as ay, type AudioOutputErrorData as az, type GenerateAiJudgeConfigurationResponse as b, type PrepareAuthoringExport as b$, type AuthoringWorkProgress as b0, type AuthoringWorkProgressChapter as b1, type AuthoringWorkProgressStage as b2, type AuthoringWorkspaceRecord as b3, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as b4, type ClientSpeechBoundaryPayload as b5, type CommandReceipt as b6, type ContextFailure as b7, type ContextFailureReceipt as b8, type ContextFulfillmentReceipt as b9, LUMA_VOICE_TIMING_PRECISION as bA, type LearnerTranscriptStatus as bB, type LearnerTranscriptionData as bC, type LearnerTranscriptionPayload as bD, type LearnerTranscriptionTimingData as bE, type LumaAiModelDomain as bF, type LumaAiModelProfileKind as bG, type LumaCaptureProfile as bH, type LumaSocketEmitEvents as bI, type LumaSocketListenEvents as bJ, type LumaVoiceTimingPrecision as bK, type MentorChatEvent as bL, type MentorChatRequest as bM, type MentorChatResponse as bN, type MentorStreamEventEnvelope as bO, type MentorTextDeltaPayload as bP, type MentorTextEndPayload as bQ, type MentorTextErrorPayload as bR, type MentorTranscriptionPayload as bS, type NamedToolChoice as bT, type NativeChatTool as bU, type NativeChatUsage as bV, type NativeErrorEvent as bW, type NativeFinishEvent as bX, type NativeTextDelta as bY, type NativeToolCall as bZ, type NativeToolCallEvent as b_, type ContextResponse as ba, type CourseCreateOperation as bb, type CourseCreatePayload as bc, type CreateSession as bd, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as be, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as bf, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as bg, EXTERNAL_AUDIO_OPERATION as bh, EXTERNAL_AUDIO_RECOVERY_STATE as bi, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as bj, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as bk, type EventPage as bl, type FrozenExport as bm, LEARNER_TRANSCRIPT_STATUSES as bn, LUMA_AI_CAPABILITIES as bo, LUMA_AI_CAPABILITY_MODES as bp, LUMA_AI_CAPABILITY_PROVIDERS as bq, LUMA_AI_MODEL_DOMAINS as br, LUMA_AI_MODEL_PROFILE_KINDS as bs, LUMA_AUDIO_ACTIONS as bt, LUMA_AUDIO_FORMATS as bu, LUMA_CAPTURE_PROFILES as bv, LUMA_MENTOR_STREAM_EVENT_TYPES as bw, LUMA_SOCKET_EMIT_EVENTS as bx, LUMA_SOCKET_LISTEN_EVENTS as by, LUMA_SOCKET_MESSAGE_TYPES as bz, type GenerateAiMentorConfigurationOptions as c, type PrepareExport as c0, type ProposalReviewDecision as c1, type PublicAiMessage as c2, ReasoningEffort as c3, type ServerConnectedPayload as c4, type SessionSnapshot as c5, type SessionSummary as c6, type SessionSummaryPage as c7, type SourceUploadReceipt as c8, type SpeechAlignmentWord as c9, type StartAudioPayload as ca, TRANSCRIPTION_MODES as cb, TTSProvider as cc, type TaskFailure as cd, TaskKind as ce, type TaskSummary as cf, TextToSpeechProvider as cg, type TranscriptionSessionPlan as ch, TurnPartKind as ci, TurnPartStatus as cj, TurnStatus as ck, type WorkspaceRecord as cl, type GenerateAiMentorConfigurationResponse as d, type ValidateAiJudgeConfigurationResponse as e, type ValidateAiMentorConfigurationOptions as f, type ValidateAiMentorConfigurationResponse as g, type GenerateTranslationsOptions as h, type GenerateTranslationsResponse as i, type TranscribeDictationResponse as j, type AdminOrganizationIdOptions as k, type AdminApiKeyResponse as l, type AdminApiKeyCreateOptions as m, type AdminApiKeyCreateResponse as n, type AdminApiKeyIdentifierOptions as o, type AdminApiKeyUpdateOptions as p, type AdminApiKeyRevokeResponse as q, type AdminConfigurationResponse as r, type AdminModelAssignmentResponse as s, type AdminApiKeyAssignmentUpdateOptions as t, type AdminModelProfileResponse as u, type AuthoringCreateSessionOptions as v, type AuthoringSessionSnapshot as w, type AuthoringSessionPage as x, type AuthoringSessionOptions as y, type AuthoringTurnHistoryOptions as z };
|
package/dist/contracts.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, t as AdminApiKeyAssignmentUpdateOptions, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, l as AdminApiKeyResponse, q as AdminApiKeyRevokeResponse, p as AdminApiKeyUpdateOptions, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, u as AdminModelProfileResponse, k as AdminOrganizationIdOptions, ac as AiJudgeConfigurationResponseInput, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, Y as AuthoringApplicationReceipt, aL as AuthoringCommand, K as AuthoringCommandReceipt, aM as AuthoringContextFailure, P as AuthoringContextFailureReceipt, N as AuthoringContextFulfillmentReceipt, aN as AuthoringContextResponse, v as AuthoringCreateSessionOptions, aO as AuthoringEvent, E as AuthoringEventPage, D as AuthoringEventsOptions,
|
|
1
|
+
export { a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, t as AdminApiKeyAssignmentUpdateOptions, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, l as AdminApiKeyResponse, q as AdminApiKeyRevokeResponse, p as AdminApiKeyUpdateOptions, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, u as AdminModelProfileResponse, k as AdminOrganizationIdOptions, ac as AiJudgeConfigurationResponseInput, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, Y as AuthoringApplicationReceipt, aL as AuthoringCommand, K as AuthoringCommandReceipt, aM as AuthoringContextFailure, P as AuthoringContextFailureReceipt, N as AuthoringContextFulfillmentReceipt, aN as AuthoringContextResponse, v as AuthoringCreateSessionOptions, aO as AuthoringDraftCourseCategory, aP as AuthoringDraftCourseContext, aQ as AuthoringEvent, E as AuthoringEventPage, D as AuthoringEventsOptions, aR as AuthoringLessonCreateOperation, aS as AuthoringLessonUpdateOperation, aT as AuthoringMentorLessonCreatePayload, aU as AuthoringOperation, y as AuthoringSessionOptions, x as AuthoringSessionPage, w as AuthoringSessionSnapshot, aV as AuthoringSessionSummary, F as AuthoringSourceUploadReceipt, aW as AuthoringSubscriptionError, aX as AuthoringSubscriptionErrorCode, aY as AuthoringTaskFailure, aZ as AuthoringTaskSummary, a_ as AuthoringTurn, z as AuthoringTurnHistoryOptions, B as AuthoringTurnHistoryPage, a$ as AuthoringTurnPart, b0 as AuthoringWorkProgress, b1 as AuthoringWorkProgressChapter, b2 as AuthoringWorkProgressStage, b3 as AuthoringWorkspaceRecord, b4 as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, b5 as ClientSpeechBoundaryPayload, b6 as CommandReceipt, b7 as ContextFailure, b8 as ContextFailureReceipt, b9 as ContextFulfillmentReceipt, ba as ContextResponse, bb as CourseCreateOperation, bc as CourseCreatePayload, bd as CreateSession, H as DownloadAuthoringAssetOptions, I as DownloadedAuthoringAsset, be as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, bf as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, bg as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, bh as EXTERNAL_AUDIO_OPERATION, bi as EXTERNAL_AUDIO_RECOVERY_STATE, bj as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, bk as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, bl as EventPage, O as FailAuthoringContextOptions, R as FrozenAuthoringExport, bm as FrozenExport, M as FulfillAuthoringContextOptions, W as GetAuthoringExportOptions, bn as LEARNER_TRANSCRIPT_STATUSES, br as LUMA_AI_MODEL_DOMAINS, bs as LUMA_AI_MODEL_PROFILE_KINDS, bt as LUMA_AUDIO_ACTIONS, bu as LUMA_AUDIO_FORMATS, bv as LUMA_CAPTURE_PROFILES, bw as LUMA_MENTOR_STREAM_EVENT_TYPES, bx as LUMA_SOCKET_EMIT_EVENTS, by as LUMA_SOCKET_LISTEN_EVENTS, bz as LUMA_SOCKET_MESSAGE_TYPES, bA as LUMA_VOICE_TIMING_PRECISION, bB as LearnerTranscriptStatus, bC as LearnerTranscriptionData, bD as LearnerTranscriptionPayload, bE as LearnerTranscriptionTimingData, L as ListAuthoringSessionsOptions, bF as LumaAiModelDomain, bG as LumaAiModelProfileKind, bH as LumaCaptureProfile, a4 as LumaSocket, bI as LumaSocketEmitEvents, bJ as LumaSocketListenEvents, bK as LumaVoiceTimingPrecision, bL as MentorChatEvent, _ as MentorChatOptions, a1 as MentorGenerateChatResponse, bO as MentorStreamEventEnvelope, $ as MentorStreamRequestOptions, bP as MentorTextDeltaPayload, bQ as MentorTextEndPayload, bR as MentorTextErrorPayload, bS as MentorTranscriptionPayload, a0 as NativeChatResult, bU as NativeChatTool, bV as NativeChatUsage, bZ as NativeToolCall, b$ as PrepareAuthoringExport, Q as PrepareAuthoringExportOptions, c0 as PrepareExport, c1 as ProposalReviewDecision, c2 as PublicAiMessage, Z as PublicConfigurationResponse, X as RecordAuthoringReceiptOptions, J as SendAuthoringCommandOptions, c4 as ServerConnectedPayload, c5 as SessionSnapshot, c6 as SessionSummary, c7 as SessionSummaryPage, c8 as SourceUploadReceipt, c9 as SpeechAlignmentWord, ca as StartAudioPayload, S as SubscribeAuthoringEventsOptions, cb as TRANSCRIPTION_MODES, cd as TaskFailure, cf as TaskSummary, ch as TranscriptionSessionPlan, ci as TurnPartKind, cj as TurnPartStatus, ck as TurnStatus, U as UploadAuthoringSourceOptions, cl as WorkspaceRecord } from './contracts-NgFlZ1vx.cjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'socket.io-client';
|
package/dist/contracts.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, t as AdminApiKeyAssignmentUpdateOptions, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, l as AdminApiKeyResponse, q as AdminApiKeyRevokeResponse, p as AdminApiKeyUpdateOptions, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, u as AdminModelProfileResponse, k as AdminOrganizationIdOptions, ac as AiJudgeConfigurationResponseInput, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, Y as AuthoringApplicationReceipt, aL as AuthoringCommand, K as AuthoringCommandReceipt, aM as AuthoringContextFailure, P as AuthoringContextFailureReceipt, N as AuthoringContextFulfillmentReceipt, aN as AuthoringContextResponse, v as AuthoringCreateSessionOptions, aO as AuthoringEvent, E as AuthoringEventPage, D as AuthoringEventsOptions,
|
|
1
|
+
export { a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, t as AdminApiKeyAssignmentUpdateOptions, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, l as AdminApiKeyResponse, q as AdminApiKeyRevokeResponse, p as AdminApiKeyUpdateOptions, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, u as AdminModelProfileResponse, k as AdminOrganizationIdOptions, ac as AiJudgeConfigurationResponseInput, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, Y as AuthoringApplicationReceipt, aL as AuthoringCommand, K as AuthoringCommandReceipt, aM as AuthoringContextFailure, P as AuthoringContextFailureReceipt, N as AuthoringContextFulfillmentReceipt, aN as AuthoringContextResponse, v as AuthoringCreateSessionOptions, aO as AuthoringDraftCourseCategory, aP as AuthoringDraftCourseContext, aQ as AuthoringEvent, E as AuthoringEventPage, D as AuthoringEventsOptions, aR as AuthoringLessonCreateOperation, aS as AuthoringLessonUpdateOperation, aT as AuthoringMentorLessonCreatePayload, aU as AuthoringOperation, y as AuthoringSessionOptions, x as AuthoringSessionPage, w as AuthoringSessionSnapshot, aV as AuthoringSessionSummary, F as AuthoringSourceUploadReceipt, aW as AuthoringSubscriptionError, aX as AuthoringSubscriptionErrorCode, aY as AuthoringTaskFailure, aZ as AuthoringTaskSummary, a_ as AuthoringTurn, z as AuthoringTurnHistoryOptions, B as AuthoringTurnHistoryPage, a$ as AuthoringTurnPart, b0 as AuthoringWorkProgress, b1 as AuthoringWorkProgressChapter, b2 as AuthoringWorkProgressStage, b3 as AuthoringWorkspaceRecord, b4 as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, b5 as ClientSpeechBoundaryPayload, b6 as CommandReceipt, b7 as ContextFailure, b8 as ContextFailureReceipt, b9 as ContextFulfillmentReceipt, ba as ContextResponse, bb as CourseCreateOperation, bc as CourseCreatePayload, bd as CreateSession, H as DownloadAuthoringAssetOptions, I as DownloadedAuthoringAsset, be as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, bf as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, bg as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, bh as EXTERNAL_AUDIO_OPERATION, bi as EXTERNAL_AUDIO_RECOVERY_STATE, bj as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, bk as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, bl as EventPage, O as FailAuthoringContextOptions, R as FrozenAuthoringExport, bm as FrozenExport, M as FulfillAuthoringContextOptions, W as GetAuthoringExportOptions, bn as LEARNER_TRANSCRIPT_STATUSES, br as LUMA_AI_MODEL_DOMAINS, bs as LUMA_AI_MODEL_PROFILE_KINDS, bt as LUMA_AUDIO_ACTIONS, bu as LUMA_AUDIO_FORMATS, bv as LUMA_CAPTURE_PROFILES, bw as LUMA_MENTOR_STREAM_EVENT_TYPES, bx as LUMA_SOCKET_EMIT_EVENTS, by as LUMA_SOCKET_LISTEN_EVENTS, bz as LUMA_SOCKET_MESSAGE_TYPES, bA as LUMA_VOICE_TIMING_PRECISION, bB as LearnerTranscriptStatus, bC as LearnerTranscriptionData, bD as LearnerTranscriptionPayload, bE as LearnerTranscriptionTimingData, L as ListAuthoringSessionsOptions, bF as LumaAiModelDomain, bG as LumaAiModelProfileKind, bH as LumaCaptureProfile, a4 as LumaSocket, bI as LumaSocketEmitEvents, bJ as LumaSocketListenEvents, bK as LumaVoiceTimingPrecision, bL as MentorChatEvent, _ as MentorChatOptions, a1 as MentorGenerateChatResponse, bO as MentorStreamEventEnvelope, $ as MentorStreamRequestOptions, bP as MentorTextDeltaPayload, bQ as MentorTextEndPayload, bR as MentorTextErrorPayload, bS as MentorTranscriptionPayload, a0 as NativeChatResult, bU as NativeChatTool, bV as NativeChatUsage, bZ as NativeToolCall, b$ as PrepareAuthoringExport, Q as PrepareAuthoringExportOptions, c0 as PrepareExport, c1 as ProposalReviewDecision, c2 as PublicAiMessage, Z as PublicConfigurationResponse, X as RecordAuthoringReceiptOptions, J as SendAuthoringCommandOptions, c4 as ServerConnectedPayload, c5 as SessionSnapshot, c6 as SessionSummary, c7 as SessionSummaryPage, c8 as SourceUploadReceipt, c9 as SpeechAlignmentWord, ca as StartAudioPayload, S as SubscribeAuthoringEventsOptions, cb as TRANSCRIPTION_MODES, cd as TaskFailure, cf as TaskSummary, ch as TranscriptionSessionPlan, ci as TurnPartKind, cj as TurnPartStatus, ck as TurnStatus, U as UploadAuthoringSourceOptions, cl as WorkspaceRecord } from './contracts-NgFlZ1vx.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'socket.io-client';
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as API, C as CreateEmbeddingsOptions, a as CreateEmbeddingsResponse, G as GenerateAiJudgeConfigurationOptions, b as GenerateAiJudgeConfigurationResponse, c as GenerateAiMentorConfigurationOptions, d as GenerateAiMentorConfigurationResponse, V as ValidateAiJudgeConfigurationOptions, e as ValidateAiJudgeConfigurationResponse, f as ValidateAiMentorConfigurationOptions, g as ValidateAiMentorConfigurationResponse, h as GenerateTranslationsOptions, i as GenerateTranslationsResponse, T as TranscribeDictationOptions, j as TranscribeDictationResponse, k as AdminOrganizationIdOptions, l as AdminApiKeyResponse, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, p as AdminApiKeyUpdateOptions, q as AdminApiKeyRevokeResponse, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, t as AdminApiKeyAssignmentUpdateOptions, u as AdminModelProfileResponse, v as AuthoringCreateSessionOptions, w as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, x as AuthoringSessionPage, y as AuthoringSessionOptions, z as AuthoringTurnHistoryOptions, B as AuthoringTurnHistoryPage, D as AuthoringEventsOptions, E as AuthoringEventPage, S as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, F as AuthoringSourceUploadReceipt, H as DownloadAuthoringAssetOptions, I as DownloadedAuthoringAsset, J as SendAuthoringCommandOptions, K as AuthoringCommandReceipt, M as FulfillAuthoringContextOptions, N as AuthoringContextFulfillmentReceipt, O as FailAuthoringContextOptions, P as AuthoringContextFailureReceipt, Q as PrepareAuthoringExportOptions, R as FrozenAuthoringExport, W as GetAuthoringExportOptions, X as RecordAuthoringReceiptOptions, Y as AuthoringApplicationReceipt, Z as PublicConfigurationResponse, _ as MentorChatOptions, $ as MentorStreamRequestOptions, a0 as NativeChatResult, a1 as MentorGenerateChatResponse, a2 as MentorJudgeOptions, a3 as MentorJudgeResponse, a4 as LumaSocket } from './contracts-
|
|
2
|
-
export { a5 as AI_MENTOR_CONFIGURATION_TYPES, a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, a8 as AiCapability, a9 as AiCapabilityMode, aa as AiCapabilityProvider, ab as AiCapabilityStatus, ac as AiJudgeConfigurationResponseInput, ad as AiMentorConfigurationType, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, aj as AiRuntimeConfiguration, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, aL as AuthoringCommand, aM as AuthoringContextFailure, aN as AuthoringContextResponse, aO as
|
|
1
|
+
import { A as API, C as CreateEmbeddingsOptions, a as CreateEmbeddingsResponse, G as GenerateAiJudgeConfigurationOptions, b as GenerateAiJudgeConfigurationResponse, c as GenerateAiMentorConfigurationOptions, d as GenerateAiMentorConfigurationResponse, V as ValidateAiJudgeConfigurationOptions, e as ValidateAiJudgeConfigurationResponse, f as ValidateAiMentorConfigurationOptions, g as ValidateAiMentorConfigurationResponse, h as GenerateTranslationsOptions, i as GenerateTranslationsResponse, T as TranscribeDictationOptions, j as TranscribeDictationResponse, k as AdminOrganizationIdOptions, l as AdminApiKeyResponse, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, p as AdminApiKeyUpdateOptions, q as AdminApiKeyRevokeResponse, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, t as AdminApiKeyAssignmentUpdateOptions, u as AdminModelProfileResponse, v as AuthoringCreateSessionOptions, w as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, x as AuthoringSessionPage, y as AuthoringSessionOptions, z as AuthoringTurnHistoryOptions, B as AuthoringTurnHistoryPage, D as AuthoringEventsOptions, E as AuthoringEventPage, S as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, F as AuthoringSourceUploadReceipt, H as DownloadAuthoringAssetOptions, I as DownloadedAuthoringAsset, J as SendAuthoringCommandOptions, K as AuthoringCommandReceipt, M as FulfillAuthoringContextOptions, N as AuthoringContextFulfillmentReceipt, O as FailAuthoringContextOptions, P as AuthoringContextFailureReceipt, Q as PrepareAuthoringExportOptions, R as FrozenAuthoringExport, W as GetAuthoringExportOptions, X as RecordAuthoringReceiptOptions, Y as AuthoringApplicationReceipt, Z as PublicConfigurationResponse, _ as MentorChatOptions, $ as MentorStreamRequestOptions, a0 as NativeChatResult, a1 as MentorGenerateChatResponse, a2 as MentorJudgeOptions, a3 as MentorJudgeResponse, a4 as LumaSocket } from './contracts-NgFlZ1vx.cjs';
|
|
2
|
+
export { a5 as AI_MENTOR_CONFIGURATION_TYPES, a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, a8 as AiCapability, a9 as AiCapabilityMode, aa as AiCapabilityProvider, ab as AiCapabilityStatus, ac as AiJudgeConfigurationResponseInput, ad as AiMentorConfigurationType, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, aj as AiRuntimeConfiguration, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, aL as AuthoringCommand, aM as AuthoringContextFailure, aN as AuthoringContextResponse, aO as AuthoringDraftCourseCategory, aP as AuthoringDraftCourseContext, aQ as AuthoringEvent, aR as AuthoringLessonCreateOperation, aS as AuthoringLessonUpdateOperation, aT as AuthoringMentorLessonCreatePayload, aU as AuthoringOperation, aV as AuthoringSessionSummary, aW as AuthoringSubscriptionError, aX as AuthoringSubscriptionErrorCode, aY as AuthoringTaskFailure, aZ as AuthoringTaskSummary, a_ as AuthoringTurn, a$ as AuthoringTurnPart, b0 as AuthoringWorkProgress, b1 as AuthoringWorkProgressChapter, b2 as AuthoringWorkProgressStage, b3 as AuthoringWorkspaceRecord, b4 as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, b5 as ClientSpeechBoundaryPayload, b6 as CommandReceipt, b7 as ContextFailure, b8 as ContextFailureReceipt, b9 as ContextFulfillmentReceipt, ba as ContextResponse, bb as CourseCreateOperation, bc as CourseCreatePayload, bd as CreateSession, be as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, bf as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, bg as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, bh as EXTERNAL_AUDIO_OPERATION, bi as EXTERNAL_AUDIO_RECOVERY_STATE, bj as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, bk as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, bl as EventPage, bm as FrozenExport, bn as LEARNER_TRANSCRIPT_STATUSES, bo as LUMA_AI_CAPABILITIES, bp as LUMA_AI_CAPABILITY_MODES, bq as LUMA_AI_CAPABILITY_PROVIDERS, br as LUMA_AI_MODEL_DOMAINS, bs as LUMA_AI_MODEL_PROFILE_KINDS, bt as LUMA_AUDIO_ACTIONS, bu as LUMA_AUDIO_FORMATS, bv as LUMA_CAPTURE_PROFILES, bw as LUMA_MENTOR_STREAM_EVENT_TYPES, bx as LUMA_SOCKET_EMIT_EVENTS, by as LUMA_SOCKET_LISTEN_EVENTS, bz as LUMA_SOCKET_MESSAGE_TYPES, bA as LUMA_VOICE_TIMING_PRECISION, bB as LearnerTranscriptStatus, bC as LearnerTranscriptionData, bD as LearnerTranscriptionPayload, bE as LearnerTranscriptionTimingData, bF as LumaAiModelDomain, bG as LumaAiModelProfileKind, bH as LumaCaptureProfile, bI as LumaSocketEmitEvents, bJ as LumaSocketListenEvents, bK as LumaVoiceTimingPrecision, bL as MentorChatEvent, bM as MentorChatRequest, bN as MentorChatResponse, bO as MentorStreamEventEnvelope, bP as MentorTextDeltaPayload, bQ as MentorTextEndPayload, bR as MentorTextErrorPayload, bS as MentorTranscriptionPayload, bT as NamedToolChoice, bU as NativeChatTool, bV as NativeChatUsage, bW as NativeErrorEvent, bX as NativeFinishEvent, bY as NativeTextDelta, bZ as NativeToolCall, b_ as NativeToolCallEvent, b$ as PrepareAuthoringExport, c0 as PrepareExport, c1 as ProposalReviewDecision, c2 as PublicAiMessage, c3 as ReasoningEffort, c4 as ServerConnectedPayload, c5 as SessionSnapshot, c6 as SessionSummary, c7 as SessionSummaryPage, c8 as SourceUploadReceipt, c9 as SpeechAlignmentWord, ca as StartAudioPayload, cb as TRANSCRIPTION_MODES, cc as TTSProvider, cd as TaskFailure, ce as TaskKind, cf as TaskSummary, cg as TextToSpeechProvider, ch as TranscriptionSessionPlan, ci as TurnPartKind, cj as TurnPartStatus, ck as TurnStatus, cl as WorkspaceRecord } from './contracts-NgFlZ1vx.cjs';
|
|
3
3
|
import { Agent } from 'node:https';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'socket.io-client';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as API, C as CreateEmbeddingsOptions, a as CreateEmbeddingsResponse, G as GenerateAiJudgeConfigurationOptions, b as GenerateAiJudgeConfigurationResponse, c as GenerateAiMentorConfigurationOptions, d as GenerateAiMentorConfigurationResponse, V as ValidateAiJudgeConfigurationOptions, e as ValidateAiJudgeConfigurationResponse, f as ValidateAiMentorConfigurationOptions, g as ValidateAiMentorConfigurationResponse, h as GenerateTranslationsOptions, i as GenerateTranslationsResponse, T as TranscribeDictationOptions, j as TranscribeDictationResponse, k as AdminOrganizationIdOptions, l as AdminApiKeyResponse, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, p as AdminApiKeyUpdateOptions, q as AdminApiKeyRevokeResponse, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, t as AdminApiKeyAssignmentUpdateOptions, u as AdminModelProfileResponse, v as AuthoringCreateSessionOptions, w as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, x as AuthoringSessionPage, y as AuthoringSessionOptions, z as AuthoringTurnHistoryOptions, B as AuthoringTurnHistoryPage, D as AuthoringEventsOptions, E as AuthoringEventPage, S as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, F as AuthoringSourceUploadReceipt, H as DownloadAuthoringAssetOptions, I as DownloadedAuthoringAsset, J as SendAuthoringCommandOptions, K as AuthoringCommandReceipt, M as FulfillAuthoringContextOptions, N as AuthoringContextFulfillmentReceipt, O as FailAuthoringContextOptions, P as AuthoringContextFailureReceipt, Q as PrepareAuthoringExportOptions, R as FrozenAuthoringExport, W as GetAuthoringExportOptions, X as RecordAuthoringReceiptOptions, Y as AuthoringApplicationReceipt, Z as PublicConfigurationResponse, _ as MentorChatOptions, $ as MentorStreamRequestOptions, a0 as NativeChatResult, a1 as MentorGenerateChatResponse, a2 as MentorJudgeOptions, a3 as MentorJudgeResponse, a4 as LumaSocket } from './contracts-
|
|
2
|
-
export { a5 as AI_MENTOR_CONFIGURATION_TYPES, a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, a8 as AiCapability, a9 as AiCapabilityMode, aa as AiCapabilityProvider, ab as AiCapabilityStatus, ac as AiJudgeConfigurationResponseInput, ad as AiMentorConfigurationType, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, aj as AiRuntimeConfiguration, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, aL as AuthoringCommand, aM as AuthoringContextFailure, aN as AuthoringContextResponse, aO as
|
|
1
|
+
import { A as API, C as CreateEmbeddingsOptions, a as CreateEmbeddingsResponse, G as GenerateAiJudgeConfigurationOptions, b as GenerateAiJudgeConfigurationResponse, c as GenerateAiMentorConfigurationOptions, d as GenerateAiMentorConfigurationResponse, V as ValidateAiJudgeConfigurationOptions, e as ValidateAiJudgeConfigurationResponse, f as ValidateAiMentorConfigurationOptions, g as ValidateAiMentorConfigurationResponse, h as GenerateTranslationsOptions, i as GenerateTranslationsResponse, T as TranscribeDictationOptions, j as TranscribeDictationResponse, k as AdminOrganizationIdOptions, l as AdminApiKeyResponse, m as AdminApiKeyCreateOptions, n as AdminApiKeyCreateResponse, o as AdminApiKeyIdentifierOptions, p as AdminApiKeyUpdateOptions, q as AdminApiKeyRevokeResponse, r as AdminConfigurationResponse, s as AdminModelAssignmentResponse, t as AdminApiKeyAssignmentUpdateOptions, u as AdminModelProfileResponse, v as AuthoringCreateSessionOptions, w as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, x as AuthoringSessionPage, y as AuthoringSessionOptions, z as AuthoringTurnHistoryOptions, B as AuthoringTurnHistoryPage, D as AuthoringEventsOptions, E as AuthoringEventPage, S as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, F as AuthoringSourceUploadReceipt, H as DownloadAuthoringAssetOptions, I as DownloadedAuthoringAsset, J as SendAuthoringCommandOptions, K as AuthoringCommandReceipt, M as FulfillAuthoringContextOptions, N as AuthoringContextFulfillmentReceipt, O as FailAuthoringContextOptions, P as AuthoringContextFailureReceipt, Q as PrepareAuthoringExportOptions, R as FrozenAuthoringExport, W as GetAuthoringExportOptions, X as RecordAuthoringReceiptOptions, Y as AuthoringApplicationReceipt, Z as PublicConfigurationResponse, _ as MentorChatOptions, $ as MentorStreamRequestOptions, a0 as NativeChatResult, a1 as MentorGenerateChatResponse, a2 as MentorJudgeOptions, a3 as MentorJudgeResponse, a4 as LumaSocket } from './contracts-NgFlZ1vx.js';
|
|
2
|
+
export { a5 as AI_MENTOR_CONFIGURATION_TYPES, a6 as AUDIO_PROVIDER_STATES, a7 as AUDIO_RECOVERY_STATES, a8 as AiCapability, a9 as AiCapabilityMode, aa as AiCapabilityProvider, ab as AiCapabilityStatus, ac as AiJudgeConfigurationResponseInput, ad as AiMentorConfigurationType, ae as AiModelAssignmentResponse, af as AiModelAssignmentUpdateRequest, ag as AiModelDomain, ah as AiModelProfileKind, ai as AiModelProfileResponse, aj as AiRuntimeConfiguration, ak as ApiKeyCreateRequest, al as ApiKeyCreateResponse, am as ApiKeyMetadata, an as ApiKeyResponse, ao as ApiKeyUpdateRequest, ap as ApplicationReceipt, aq as AudioBinaryChunk, ar as AudioChunkPayload, as as AudioChunkedPayload, at as AudioOutputAlignmentData, au as AudioOutputAlignmentPayload, av as AudioOutputChunkData, aw as AudioOutputChunkPayload, ax as AudioOutputCompleteData, ay as AudioOutputCompletePayload, az as AudioOutputErrorData, aA as AudioOutputErrorPayload, aB as AudioOutputInterruptedData, aC as AudioOutputInterruptedPayload, aD as AudioProtocolErrorPayload, aE as AudioProviderState, aF as AudioReconnectPayload, aG as AudioRecoveryPayload, aH as AudioRecoveryState, aI as AudioStartedPayload, aJ as AudioStopPayload, aK as AudioTriggerTTSPayload, aL as AuthoringCommand, aM as AuthoringContextFailure, aN as AuthoringContextResponse, aO as AuthoringDraftCourseCategory, aP as AuthoringDraftCourseContext, aQ as AuthoringEvent, aR as AuthoringLessonCreateOperation, aS as AuthoringLessonUpdateOperation, aT as AuthoringMentorLessonCreatePayload, aU as AuthoringOperation, aV as AuthoringSessionSummary, aW as AuthoringSubscriptionError, aX as AuthoringSubscriptionErrorCode, aY as AuthoringTaskFailure, aZ as AuthoringTaskSummary, a_ as AuthoringTurn, a$ as AuthoringTurnPart, b0 as AuthoringWorkProgress, b1 as AuthoringWorkProgressChapter, b2 as AuthoringWorkProgressStage, b3 as AuthoringWorkspaceRecord, b4 as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, b5 as ClientSpeechBoundaryPayload, b6 as CommandReceipt, b7 as ContextFailure, b8 as ContextFailureReceipt, b9 as ContextFulfillmentReceipt, ba as ContextResponse, bb as CourseCreateOperation, bc as CourseCreatePayload, bd as CreateSession, be as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, bf as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, bg as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, bh as EXTERNAL_AUDIO_OPERATION, bi as EXTERNAL_AUDIO_RECOVERY_STATE, bj as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, bk as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, bl as EventPage, bm as FrozenExport, bn as LEARNER_TRANSCRIPT_STATUSES, bo as LUMA_AI_CAPABILITIES, bp as LUMA_AI_CAPABILITY_MODES, bq as LUMA_AI_CAPABILITY_PROVIDERS, br as LUMA_AI_MODEL_DOMAINS, bs as LUMA_AI_MODEL_PROFILE_KINDS, bt as LUMA_AUDIO_ACTIONS, bu as LUMA_AUDIO_FORMATS, bv as LUMA_CAPTURE_PROFILES, bw as LUMA_MENTOR_STREAM_EVENT_TYPES, bx as LUMA_SOCKET_EMIT_EVENTS, by as LUMA_SOCKET_LISTEN_EVENTS, bz as LUMA_SOCKET_MESSAGE_TYPES, bA as LUMA_VOICE_TIMING_PRECISION, bB as LearnerTranscriptStatus, bC as LearnerTranscriptionData, bD as LearnerTranscriptionPayload, bE as LearnerTranscriptionTimingData, bF as LumaAiModelDomain, bG as LumaAiModelProfileKind, bH as LumaCaptureProfile, bI as LumaSocketEmitEvents, bJ as LumaSocketListenEvents, bK as LumaVoiceTimingPrecision, bL as MentorChatEvent, bM as MentorChatRequest, bN as MentorChatResponse, bO as MentorStreamEventEnvelope, bP as MentorTextDeltaPayload, bQ as MentorTextEndPayload, bR as MentorTextErrorPayload, bS as MentorTranscriptionPayload, bT as NamedToolChoice, bU as NativeChatTool, bV as NativeChatUsage, bW as NativeErrorEvent, bX as NativeFinishEvent, bY as NativeTextDelta, bZ as NativeToolCall, b_ as NativeToolCallEvent, b$ as PrepareAuthoringExport, c0 as PrepareExport, c1 as ProposalReviewDecision, c2 as PublicAiMessage, c3 as ReasoningEffort, c4 as ServerConnectedPayload, c5 as SessionSnapshot, c6 as SessionSummary, c7 as SessionSummaryPage, c8 as SourceUploadReceipt, c9 as SpeechAlignmentWord, ca as StartAudioPayload, cb as TRANSCRIPTION_MODES, cc as TTSProvider, cd as TaskFailure, ce as TaskKind, cf as TaskSummary, cg as TextToSpeechProvider, ch as TranscriptionSessionPlan, ci as TurnPartKind, cj as TurnPartStatus, ck as TurnStatus, cl as WorkspaceRecord } from './contracts-NgFlZ1vx.js';
|
|
3
3
|
import { Agent } from 'node:https';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'socket.io-client';
|