@mentingo/luma-sdk 0.5.0 → 0.7.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 +3 -3
- package/dist/{chunk-PHLN53W2.js → chunk-VA5F2G2H.js} +156 -0
- package/dist/{contracts-B44LepMQ.d.cts → contracts-BmeI96S2.d.cts} +462 -6
- package/dist/{contracts-B44LepMQ.d.ts → contracts-BmeI96S2.d.ts} +462 -6
- package/dist/contracts.d.cts +1 -1
- package/dist/contracts.d.ts +1 -1
- package/dist/contracts.js +1 -1
- package/dist/index.cjs +223 -0
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +67 -1
- package/package.json +1 -1
|
@@ -82,6 +82,21 @@ declare enum PlanningScope {
|
|
|
82
82
|
AppendChapter = "append_chapter",
|
|
83
83
|
AppendLesson = "append_lesson"
|
|
84
84
|
}
|
|
85
|
+
/** ItemKind */
|
|
86
|
+
declare enum ItemKind {
|
|
87
|
+
Category = "category",
|
|
88
|
+
Competency = "competency",
|
|
89
|
+
Profile = "profile",
|
|
90
|
+
Settings = "settings",
|
|
91
|
+
Automation = "automation",
|
|
92
|
+
Step = "step",
|
|
93
|
+
EmailTemplate = "emailTemplate"
|
|
94
|
+
}
|
|
95
|
+
/** CreatorDomain */
|
|
96
|
+
declare enum CreatorDomain$1 {
|
|
97
|
+
Competencies = "competencies",
|
|
98
|
+
Automations = "automations"
|
|
99
|
+
}
|
|
85
100
|
/**
|
|
86
101
|
* ContentMode
|
|
87
102
|
* Distinguish fact-based authoring from an explicitly requested illustrative draft.
|
|
@@ -526,7 +541,8 @@ interface AiModelProfileResponse {
|
|
|
526
541
|
/** Model */
|
|
527
542
|
model: string;
|
|
528
543
|
/** Metadata */
|
|
529
|
-
metadata: Record<string,
|
|
544
|
+
metadata: Record<string, JsonValue>;
|
|
545
|
+
voiceSettings?: LanguageVoiceSettingsMapOutput | null;
|
|
530
546
|
/** Hasapikey */
|
|
531
547
|
hasApiKey: boolean;
|
|
532
548
|
/**
|
|
@@ -572,8 +588,18 @@ interface ApiKeyCreateResponse {
|
|
|
572
588
|
* ApiKeyMetadata
|
|
573
589
|
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
574
590
|
*/
|
|
575
|
-
interface
|
|
591
|
+
interface ApiKeyMetadataInput {
|
|
592
|
+
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
593
|
+
providerVoiceSettings?: ProviderVoiceSettingsMapInput | null;
|
|
594
|
+
[key: string]: any;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* ApiKeyMetadata
|
|
598
|
+
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
599
|
+
*/
|
|
600
|
+
interface ApiKeyMetadataOutput {
|
|
576
601
|
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
602
|
+
providerVoiceSettings?: ProviderVoiceSettingsMapOutput | null;
|
|
577
603
|
[key: string]: any;
|
|
578
604
|
}
|
|
579
605
|
/** ApiKeyResponse */
|
|
@@ -602,7 +628,7 @@ interface ApiKeyResponse {
|
|
|
602
628
|
/** Revokedat */
|
|
603
629
|
revokedAt?: string | null;
|
|
604
630
|
/** Extensible non-secret API key settings; recognized routing values are validated. */
|
|
605
|
-
metadata?:
|
|
631
|
+
metadata?: ApiKeyMetadataOutput;
|
|
606
632
|
/** Provider used for voice output: the chosen one, else the platform default. */
|
|
607
633
|
effectiveTextToSpeechProvider?: TTSProvider | null;
|
|
608
634
|
/**
|
|
@@ -645,7 +671,7 @@ interface ApiKeyUpdateRequest {
|
|
|
645
671
|
*/
|
|
646
672
|
textToSpeechApiKey?: string | null;
|
|
647
673
|
/** Merge non-secret settings. Null values remove individual metadata entries. */
|
|
648
|
-
metadata?:
|
|
674
|
+
metadata?: ApiKeyMetadataInput | null;
|
|
649
675
|
}
|
|
650
676
|
/** ApplicationDeltaProof */
|
|
651
677
|
interface ApplicationDeltaProof {
|
|
@@ -790,7 +816,7 @@ interface AssetManifestItem {
|
|
|
790
816
|
* Role
|
|
791
817
|
* @default "visual"
|
|
792
818
|
*/
|
|
793
|
-
role?: "visual" | "mentor_context";
|
|
819
|
+
role?: "visual" | "mentor_context" | "podcast";
|
|
794
820
|
/** Sourceversionid */
|
|
795
821
|
sourceVersionId?: string | null;
|
|
796
822
|
/** Sectionids */
|
|
@@ -831,6 +857,8 @@ interface AuthoringCommand$1 {
|
|
|
831
857
|
* @default 1
|
|
832
858
|
*/
|
|
833
859
|
schemaVersion?: 1;
|
|
860
|
+
/** Personrefs */
|
|
861
|
+
personRefs?: string[] | null;
|
|
834
862
|
/**
|
|
835
863
|
* Commandid
|
|
836
864
|
* @format uuid
|
|
@@ -1049,6 +1077,24 @@ interface BodyTranscribeDictationApiPublicV1AiTranscriptionsPost {
|
|
|
1049
1077
|
*/
|
|
1050
1078
|
file: File;
|
|
1051
1079
|
}
|
|
1080
|
+
/** Body_upload_api_public_v1_creators_sessions__session_id__sources_post */
|
|
1081
|
+
interface BodyUploadApiPublicV1CreatorsSessionsSessionIdSourcesPost {
|
|
1082
|
+
/**
|
|
1083
|
+
* File
|
|
1084
|
+
* @format binary
|
|
1085
|
+
*/
|
|
1086
|
+
file: File;
|
|
1087
|
+
/**
|
|
1088
|
+
* Actorid
|
|
1089
|
+
* @format uuid
|
|
1090
|
+
*/
|
|
1091
|
+
actorId: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* Sourceid
|
|
1094
|
+
* @format uuid
|
|
1095
|
+
*/
|
|
1096
|
+
sourceId: string;
|
|
1097
|
+
}
|
|
1052
1098
|
/** Body_upload_source_api_public_v1_authoring_sessions__session_id__sources_post */
|
|
1053
1099
|
interface BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost {
|
|
1054
1100
|
/**
|
|
@@ -1151,6 +1197,20 @@ interface CommandReceipt {
|
|
|
1151
1197
|
/** Refreshstatus */
|
|
1152
1198
|
refreshStatus?: "refreshed" | "needs_mapping" | null;
|
|
1153
1199
|
}
|
|
1200
|
+
/** ConfirmMapping */
|
|
1201
|
+
interface ConfirmMapping {
|
|
1202
|
+
/**
|
|
1203
|
+
* Actorid
|
|
1204
|
+
* @format uuid
|
|
1205
|
+
*/
|
|
1206
|
+
actorId: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Mapping
|
|
1209
|
+
* @minLength 1
|
|
1210
|
+
* @maxLength 32000
|
|
1211
|
+
*/
|
|
1212
|
+
mapping: string;
|
|
1213
|
+
}
|
|
1154
1214
|
/**
|
|
1155
1215
|
* ContentLesson
|
|
1156
1216
|
* Carry the title and description payload for a content lesson operation.
|
|
@@ -1394,6 +1454,38 @@ interface CourseCreatePayload {
|
|
|
1394
1454
|
/** Thumbnailassetid */
|
|
1395
1455
|
thumbnailAssetId?: string | null;
|
|
1396
1456
|
}
|
|
1457
|
+
/** CreateCreatorSession */
|
|
1458
|
+
interface CreateCreatorSession {
|
|
1459
|
+
/**
|
|
1460
|
+
* Sessionid
|
|
1461
|
+
* @format uuid
|
|
1462
|
+
*/
|
|
1463
|
+
sessionId: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Actorid
|
|
1466
|
+
* @format uuid
|
|
1467
|
+
*/
|
|
1468
|
+
actorId: string;
|
|
1469
|
+
domain: CreatorDomain$1;
|
|
1470
|
+
/**
|
|
1471
|
+
* Language
|
|
1472
|
+
* @minLength 2
|
|
1473
|
+
* @maxLength 16
|
|
1474
|
+
*/
|
|
1475
|
+
language: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* Brief
|
|
1478
|
+
* @maxLength 32000
|
|
1479
|
+
*/
|
|
1480
|
+
brief: string;
|
|
1481
|
+
/** Context */
|
|
1482
|
+
context?: Record<string, JsonValue>;
|
|
1483
|
+
/**
|
|
1484
|
+
* Items
|
|
1485
|
+
* @maxItems 2000
|
|
1486
|
+
*/
|
|
1487
|
+
items?: CreatorItem$1[];
|
|
1488
|
+
}
|
|
1397
1489
|
/**
|
|
1398
1490
|
* CreateSession
|
|
1399
1491
|
* Request creation of an authoring session for one course and actor.
|
|
@@ -1419,6 +1511,141 @@ interface CreateSession {
|
|
|
1419
1511
|
/** Context */
|
|
1420
1512
|
context?: Record<string, JsonValue>;
|
|
1421
1513
|
}
|
|
1514
|
+
/** CreatorCommand */
|
|
1515
|
+
interface CreatorCommand$1 {
|
|
1516
|
+
/**
|
|
1517
|
+
* Commandid
|
|
1518
|
+
* @format uuid
|
|
1519
|
+
*/
|
|
1520
|
+
commandId: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* Actorid
|
|
1523
|
+
* @format uuid
|
|
1524
|
+
*/
|
|
1525
|
+
actorId: string;
|
|
1526
|
+
/** Type */
|
|
1527
|
+
type: "generate" | "edit" | "freeze" | "stop";
|
|
1528
|
+
/**
|
|
1529
|
+
* Expectedrevision
|
|
1530
|
+
* @min 0
|
|
1531
|
+
*/
|
|
1532
|
+
expectedRevision: number;
|
|
1533
|
+
/** Text */
|
|
1534
|
+
text?: string | null;
|
|
1535
|
+
research?: PublicResearch | null;
|
|
1536
|
+
/** Context */
|
|
1537
|
+
context?: Record<string, JsonValue> | null;
|
|
1538
|
+
/**
|
|
1539
|
+
* Items
|
|
1540
|
+
* @maxItems 2000
|
|
1541
|
+
*/
|
|
1542
|
+
items?: CreatorItem$1[];
|
|
1543
|
+
/**
|
|
1544
|
+
* Removeids
|
|
1545
|
+
* @maxItems 2000
|
|
1546
|
+
*/
|
|
1547
|
+
removeIds?: string[];
|
|
1548
|
+
}
|
|
1549
|
+
/** CreatorEvent */
|
|
1550
|
+
interface CreatorEvent {
|
|
1551
|
+
/** Turnkind */
|
|
1552
|
+
turnKind?: "question" | "message" | null;
|
|
1553
|
+
/** Sequence */
|
|
1554
|
+
sequence: number;
|
|
1555
|
+
/** Revision */
|
|
1556
|
+
revision: number;
|
|
1557
|
+
/** Type */
|
|
1558
|
+
type: "item.upserted" | "item.removed" | "turn.started" | "turn.completed" | "turn.failed" | "turn.stopped";
|
|
1559
|
+
item?: CreatorItem$1 | null;
|
|
1560
|
+
/** Itemid */
|
|
1561
|
+
itemId?: string | null;
|
|
1562
|
+
/** Fieldpath */
|
|
1563
|
+
fieldPath?: string[] | null;
|
|
1564
|
+
/** Status */
|
|
1565
|
+
status?: "idle" | "generating" | "failed" | null;
|
|
1566
|
+
/** Message */
|
|
1567
|
+
message?: string | null;
|
|
1568
|
+
}
|
|
1569
|
+
/** CreatorEventPage */
|
|
1570
|
+
interface CreatorEventPage {
|
|
1571
|
+
/** Events */
|
|
1572
|
+
events: CreatorEvent[];
|
|
1573
|
+
/** Nextsequence */
|
|
1574
|
+
nextSequence: number;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* CreatorItem
|
|
1578
|
+
* One stable draft object, with its native value and review dependencies.
|
|
1579
|
+
*/
|
|
1580
|
+
interface CreatorItem$1 {
|
|
1581
|
+
/**
|
|
1582
|
+
* Id
|
|
1583
|
+
* @format uuid
|
|
1584
|
+
*/
|
|
1585
|
+
id: string;
|
|
1586
|
+
kind: ItemKind;
|
|
1587
|
+
/** Value */
|
|
1588
|
+
value: Record<string, JsonValue>;
|
|
1589
|
+
/**
|
|
1590
|
+
* Operation
|
|
1591
|
+
* @default "upsert"
|
|
1592
|
+
*/
|
|
1593
|
+
operation?: "upsert" | "delete";
|
|
1594
|
+
/** Baserevision */
|
|
1595
|
+
baseRevision?: number | null;
|
|
1596
|
+
/** Rationale */
|
|
1597
|
+
rationale?: string | null;
|
|
1598
|
+
/**
|
|
1599
|
+
* Sourcerefs
|
|
1600
|
+
* @maxItems 100
|
|
1601
|
+
*/
|
|
1602
|
+
sourceRefs?: string[];
|
|
1603
|
+
/**
|
|
1604
|
+
* Dependencies
|
|
1605
|
+
* @maxItems 1000
|
|
1606
|
+
*/
|
|
1607
|
+
dependencies?: string[];
|
|
1608
|
+
}
|
|
1609
|
+
/** CreatorSnapshot */
|
|
1610
|
+
interface CreatorSnapshot {
|
|
1611
|
+
/**
|
|
1612
|
+
* Sessionid
|
|
1613
|
+
* @format uuid
|
|
1614
|
+
*/
|
|
1615
|
+
sessionId: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Actorid
|
|
1618
|
+
* @format uuid
|
|
1619
|
+
*/
|
|
1620
|
+
actorId: string;
|
|
1621
|
+
domain: CreatorDomain$1;
|
|
1622
|
+
/** Revision */
|
|
1623
|
+
revision: number;
|
|
1624
|
+
/** Sequence */
|
|
1625
|
+
sequence: number;
|
|
1626
|
+
/** Status */
|
|
1627
|
+
status: "idle" | "generating" | "failed";
|
|
1628
|
+
/** Brief */
|
|
1629
|
+
brief: string;
|
|
1630
|
+
/** Items */
|
|
1631
|
+
items: CreatorItem$1[];
|
|
1632
|
+
/** Turns */
|
|
1633
|
+
turns: CreatorTurn[];
|
|
1634
|
+
}
|
|
1635
|
+
/** CreatorTurn */
|
|
1636
|
+
interface CreatorTurn {
|
|
1637
|
+
/** Kind */
|
|
1638
|
+
kind?: "question" | "message" | null;
|
|
1639
|
+
/**
|
|
1640
|
+
* Id
|
|
1641
|
+
* @format uuid
|
|
1642
|
+
*/
|
|
1643
|
+
id: string;
|
|
1644
|
+
/** Role */
|
|
1645
|
+
role: "user" | "assistant";
|
|
1646
|
+
/** Text */
|
|
1647
|
+
text: string;
|
|
1648
|
+
}
|
|
1422
1649
|
/**
|
|
1423
1650
|
* DeleteOperation
|
|
1424
1651
|
* Delete one chapter or lesson selected by operation target and baseline.
|
|
@@ -1690,6 +1917,26 @@ interface JudgeTriggeredBlockingError {
|
|
|
1690
1917
|
*/
|
|
1691
1918
|
learnerSafeFeedback: string;
|
|
1692
1919
|
}
|
|
1920
|
+
/**
|
|
1921
|
+
* LanguageVoiceSettings
|
|
1922
|
+
* Voice IDs understood by one provider for one normalized language code.
|
|
1923
|
+
*/
|
|
1924
|
+
interface LanguageVoiceSettings {
|
|
1925
|
+
femaleVoiceId?: ProviderVoiceId | null;
|
|
1926
|
+
maleVoiceId?: ProviderVoiceId | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* Podcastfemalevoiceids
|
|
1929
|
+
* @maxItems 32
|
|
1930
|
+
*/
|
|
1931
|
+
podcastFemaleVoiceIds?: ProviderVoiceId[];
|
|
1932
|
+
/**
|
|
1933
|
+
* Podcastmalevoiceids
|
|
1934
|
+
* @maxItems 32
|
|
1935
|
+
*/
|
|
1936
|
+
podcastMaleVoiceIds?: ProviderVoiceId[];
|
|
1937
|
+
}
|
|
1938
|
+
type LanguageVoiceSettingsMapInput = Record<VoiceLanguageCode, LanguageVoiceSettings>;
|
|
1939
|
+
type LanguageVoiceSettingsMapOutput = Record<VoiceLanguageCode, LanguageVoiceSettings>;
|
|
1693
1940
|
/**
|
|
1694
1941
|
* LessonImageInsert
|
|
1695
1942
|
* Insert an image beside a trusted existing block under the whole-lesson baseline.
|
|
@@ -2273,6 +2520,29 @@ interface ProposalReviewDecision {
|
|
|
2273
2520
|
*/
|
|
2274
2521
|
acceptQualityConcerns?: boolean;
|
|
2275
2522
|
}
|
|
2523
|
+
/**
|
|
2524
|
+
* @minLength 1
|
|
2525
|
+
* @maxLength 256
|
|
2526
|
+
*/
|
|
2527
|
+
type ProviderVoiceId = string;
|
|
2528
|
+
/**
|
|
2529
|
+
* ProviderVoiceSettingsMap
|
|
2530
|
+
* Keep independently editable language settings for each built-in provider.
|
|
2531
|
+
*/
|
|
2532
|
+
interface ProviderVoiceSettingsMapInput {
|
|
2533
|
+
cartesia?: LanguageVoiceSettingsMapInput | null;
|
|
2534
|
+
elevenlabs?: LanguageVoiceSettingsMapInput | null;
|
|
2535
|
+
fish?: LanguageVoiceSettingsMapInput | null;
|
|
2536
|
+
}
|
|
2537
|
+
/**
|
|
2538
|
+
* ProviderVoiceSettingsMap
|
|
2539
|
+
* Keep independently editable language settings for each built-in provider.
|
|
2540
|
+
*/
|
|
2541
|
+
interface ProviderVoiceSettingsMapOutput {
|
|
2542
|
+
cartesia?: LanguageVoiceSettingsMapOutput | null;
|
|
2543
|
+
elevenlabs?: LanguageVoiceSettingsMapOutput | null;
|
|
2544
|
+
fish?: LanguageVoiceSettingsMapOutput | null;
|
|
2545
|
+
}
|
|
2276
2546
|
/**
|
|
2277
2547
|
* PublicAiMessage
|
|
2278
2548
|
* Preserve native text messages and carry assistant calls and their tool results.
|
|
@@ -2298,6 +2568,22 @@ interface PublicConfigurationResponse {
|
|
|
2298
2568
|
/** Capabilities */
|
|
2299
2569
|
capabilities: Record<AiCapability, AiCapabilityStatus>;
|
|
2300
2570
|
}
|
|
2571
|
+
/**
|
|
2572
|
+
* PublicResearch
|
|
2573
|
+
* Only this explicitly supplied public topic may reach the discovery provider.
|
|
2574
|
+
*/
|
|
2575
|
+
interface PublicResearch {
|
|
2576
|
+
/**
|
|
2577
|
+
* Query
|
|
2578
|
+
* @maxLength 1024
|
|
2579
|
+
*/
|
|
2580
|
+
query: string;
|
|
2581
|
+
/**
|
|
2582
|
+
* Urls
|
|
2583
|
+
* @maxItems 5
|
|
2584
|
+
*/
|
|
2585
|
+
urls?: string[];
|
|
2586
|
+
}
|
|
2301
2587
|
/**
|
|
2302
2588
|
* QuestionBlank
|
|
2303
2589
|
* Describe a fill-in blank and how its answer sets are compared.
|
|
@@ -2703,6 +2989,11 @@ interface SettingsUpdateOutput {
|
|
|
2703
2989
|
/** Carry a non-empty course settings patch while preserving omitted fields. */
|
|
2704
2990
|
payload: SettingsPayload;
|
|
2705
2991
|
}
|
|
2992
|
+
/** SourcePage */
|
|
2993
|
+
interface SourcePage {
|
|
2994
|
+
/** Sources */
|
|
2995
|
+
sources: SourceSummary[];
|
|
2996
|
+
}
|
|
2706
2997
|
/**
|
|
2707
2998
|
* SourcePolicy
|
|
2708
2999
|
* Allowlist source versions and explicitly enabled web, general-knowledge, and research-depth permissions.
|
|
@@ -2730,6 +3021,22 @@ interface SourcePolicy {
|
|
|
2730
3021
|
/** Excludedsectionids */
|
|
2731
3022
|
excludedSectionIds?: string[];
|
|
2732
3023
|
}
|
|
3024
|
+
/** SourceSummary */
|
|
3025
|
+
interface SourceSummary {
|
|
3026
|
+
/**
|
|
3027
|
+
* Id
|
|
3028
|
+
* @format uuid
|
|
3029
|
+
*/
|
|
3030
|
+
id: string;
|
|
3031
|
+
/** Name */
|
|
3032
|
+
name: string;
|
|
3033
|
+
/** Status */
|
|
3034
|
+
status: "ready" | "mapping_required";
|
|
3035
|
+
/** Preview */
|
|
3036
|
+
preview: string[];
|
|
3037
|
+
/** Mapping */
|
|
3038
|
+
mapping?: string | null;
|
|
3039
|
+
}
|
|
2733
3040
|
/**
|
|
2734
3041
|
* SourceUploadReceipt
|
|
2735
3042
|
* Return the immutable uploaded source version and its queued ingestion task.
|
|
@@ -2986,6 +3293,8 @@ interface TurnToolResult {
|
|
|
2986
3293
|
/** Findingcount */
|
|
2987
3294
|
findingCount?: number | null;
|
|
2988
3295
|
}
|
|
3296
|
+
/** @pattern ^[a-z]{2,3}(-[a-z]{2})?$ */
|
|
3297
|
+
type VoiceLanguageCode = string;
|
|
2989
3298
|
/**
|
|
2990
3299
|
* WorkspaceRecord
|
|
2991
3300
|
* Expose one immutable workspace projection record by kind and payload.
|
|
@@ -3357,6 +3666,139 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
3357
3666
|
*/
|
|
3358
3667
|
revision?: number;
|
|
3359
3668
|
}, params?: RequestParams) => Promise<AxiosResponse<File, any, {}, any>>;
|
|
3669
|
+
/**
|
|
3670
|
+
* @description Open or recover a single handoff using the Core-provided session identity.
|
|
3671
|
+
*
|
|
3672
|
+
* @tags Public - Require API Key
|
|
3673
|
+
* @name CreateApiPublicV1CreatorsSessionsPost
|
|
3674
|
+
* @summary Create
|
|
3675
|
+
* @request POST:/api/public/v1/creators/sessions
|
|
3676
|
+
* @secure
|
|
3677
|
+
*/
|
|
3678
|
+
createApiPublicV1CreatorsSessionsPost: (data: CreateCreatorSession, params?: RequestParams) => Promise<AxiosResponse<CreatorSnapshot, any, {}, any>>;
|
|
3679
|
+
/**
|
|
3680
|
+
* @description Recover the current private draft, including a partially generated turn.
|
|
3681
|
+
*
|
|
3682
|
+
* @tags Public - Require API Key
|
|
3683
|
+
* @name GetSessionApiPublicV1CreatorsSessionsSessionIdGet
|
|
3684
|
+
* @summary Get Session
|
|
3685
|
+
* @request GET:/api/public/v1/creators/sessions/{session_id}
|
|
3686
|
+
* @secure
|
|
3687
|
+
*/
|
|
3688
|
+
getSessionApiPublicV1CreatorsSessionsSessionIdGet: (sessionId: string, query: {
|
|
3689
|
+
/**
|
|
3690
|
+
* Actorid
|
|
3691
|
+
* @format uuid
|
|
3692
|
+
*/
|
|
3693
|
+
actorId: string;
|
|
3694
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CreatorSnapshot, any, {}, any>>;
|
|
3695
|
+
/**
|
|
3696
|
+
* @description Claim a durable generation, apply a versioned manual edit or freeze an exact revision.
|
|
3697
|
+
*
|
|
3698
|
+
* @tags Public - Require API Key
|
|
3699
|
+
* @name CommandApiPublicV1CreatorsSessionsSessionIdCommandsPost
|
|
3700
|
+
* @summary Command
|
|
3701
|
+
* @request POST:/api/public/v1/creators/sessions/{session_id}/commands
|
|
3702
|
+
* @secure
|
|
3703
|
+
*/
|
|
3704
|
+
commandApiPublicV1CreatorsSessionsSessionIdCommandsPost: (sessionId: string, data: CreatorCommand$1, params?: RequestParams) => Promise<AxiosResponse<CreatorSnapshot, any, {}, any>>;
|
|
3705
|
+
/**
|
|
3706
|
+
* @description Read committed events after the caller's cursor across reconnects and refreshes.
|
|
3707
|
+
*
|
|
3708
|
+
* @tags Public - Require API Key
|
|
3709
|
+
* @name EventsApiPublicV1CreatorsSessionsSessionIdEventsGet
|
|
3710
|
+
* @summary Events
|
|
3711
|
+
* @request GET:/api/public/v1/creators/sessions/{session_id}/events
|
|
3712
|
+
* @secure
|
|
3713
|
+
*/
|
|
3714
|
+
eventsApiPublicV1CreatorsSessionsSessionIdEventsGet: (sessionId: string, query: {
|
|
3715
|
+
/**
|
|
3716
|
+
* Actorid
|
|
3717
|
+
* @format uuid
|
|
3718
|
+
*/
|
|
3719
|
+
actorId: string;
|
|
3720
|
+
/**
|
|
3721
|
+
* Aftersequence
|
|
3722
|
+
* @min 0
|
|
3723
|
+
* @default 0
|
|
3724
|
+
*/
|
|
3725
|
+
afterSequence?: number;
|
|
3726
|
+
/**
|
|
3727
|
+
* Limit
|
|
3728
|
+
* @min 1
|
|
3729
|
+
* @max 500
|
|
3730
|
+
* @default 100
|
|
3731
|
+
*/
|
|
3732
|
+
limit?: number;
|
|
3733
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CreatorEventPage, any, {}, any>>;
|
|
3734
|
+
/**
|
|
3735
|
+
* @description Recover the immutable version for Core's domain-owned atomic application.
|
|
3736
|
+
*
|
|
3737
|
+
* @tags Public - Require API Key
|
|
3738
|
+
* @name ExportApiPublicV1CreatorsSessionsSessionIdExportsCommandIdGet
|
|
3739
|
+
* @summary Export
|
|
3740
|
+
* @request GET:/api/public/v1/creators/sessions/{session_id}/exports/{command_id}
|
|
3741
|
+
* @secure
|
|
3742
|
+
*/
|
|
3743
|
+
exportApiPublicV1CreatorsSessionsSessionIdExportsCommandIdGet: (sessionId: string, commandId: string, query: {
|
|
3744
|
+
/**
|
|
3745
|
+
* Actorid
|
|
3746
|
+
* @format uuid
|
|
3747
|
+
*/
|
|
3748
|
+
actorId: string;
|
|
3749
|
+
}, params?: RequestParams) => Promise<AxiosResponse<CreatorSnapshot, any, {}, any>>;
|
|
3750
|
+
/**
|
|
3751
|
+
* @description Extract one private source and return its reviewable preview before generation.
|
|
3752
|
+
*
|
|
3753
|
+
* @tags Public - Require API Key
|
|
3754
|
+
* @name UploadApiPublicV1CreatorsSessionsSessionIdSourcesPost
|
|
3755
|
+
* @summary Upload
|
|
3756
|
+
* @request POST:/api/public/v1/creators/sessions/{session_id}/sources
|
|
3757
|
+
* @secure
|
|
3758
|
+
*/
|
|
3759
|
+
uploadApiPublicV1CreatorsSessionsSessionIdSourcesPost: (sessionId: string, data: BodyUploadApiPublicV1CreatorsSessionsSessionIdSourcesPost, params?: RequestParams) => Promise<AxiosResponse<SourceSummary, any, {}, any>>;
|
|
3760
|
+
/**
|
|
3761
|
+
* @description List sources for an authorized creator session with their mapping requirements.
|
|
3762
|
+
*
|
|
3763
|
+
* @tags Public - Require API Key
|
|
3764
|
+
* @name ListSourcesApiPublicV1CreatorsSessionsSessionIdSourcesGet
|
|
3765
|
+
* @summary List Sources
|
|
3766
|
+
* @request GET:/api/public/v1/creators/sessions/{session_id}/sources
|
|
3767
|
+
* @secure
|
|
3768
|
+
*/
|
|
3769
|
+
listSourcesApiPublicV1CreatorsSessionsSessionIdSourcesGet: (sessionId: string, query: {
|
|
3770
|
+
/**
|
|
3771
|
+
* Actorid
|
|
3772
|
+
* @format uuid
|
|
3773
|
+
*/
|
|
3774
|
+
actorId: string;
|
|
3775
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SourcePage, any, {}, any>>;
|
|
3776
|
+
/**
|
|
3777
|
+
* @description Record the author's explicit role, scale and empty-cell interpretation for an XLSX.
|
|
3778
|
+
*
|
|
3779
|
+
* @tags Public - Require API Key
|
|
3780
|
+
* @name ConfirmMappingApiPublicV1CreatorsSessionsSessionIdSourcesSourceIdMappingPut
|
|
3781
|
+
* @summary Confirm Mapping
|
|
3782
|
+
* @request PUT:/api/public/v1/creators/sessions/{session_id}/sources/{source_id}/mapping
|
|
3783
|
+
* @secure
|
|
3784
|
+
*/
|
|
3785
|
+
confirmMappingApiPublicV1CreatorsSessionsSessionIdSourcesSourceIdMappingPut: (sessionId: string, sourceId: string, data: ConfirmMapping, params?: RequestParams) => Promise<AxiosResponse<SourceSummary, any, {}, any>>;
|
|
3786
|
+
/**
|
|
3787
|
+
* @description Remove a source from subsequent generation turns.
|
|
3788
|
+
*
|
|
3789
|
+
* @tags Public - Require API Key
|
|
3790
|
+
* @name RemoveSourceApiPublicV1CreatorsSessionsSessionIdSourcesSourceIdDelete
|
|
3791
|
+
* @summary Remove Source
|
|
3792
|
+
* @request DELETE:/api/public/v1/creators/sessions/{session_id}/sources/{source_id}
|
|
3793
|
+
* @secure
|
|
3794
|
+
*/
|
|
3795
|
+
removeSourceApiPublicV1CreatorsSessionsSessionIdSourcesSourceIdDelete: (sessionId: string, sourceId: string, query: {
|
|
3796
|
+
/**
|
|
3797
|
+
* Actorid
|
|
3798
|
+
* @format uuid
|
|
3799
|
+
*/
|
|
3800
|
+
actorId: string;
|
|
3801
|
+
}, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
3360
3802
|
/**
|
|
3361
3803
|
* No description
|
|
3362
3804
|
*
|
|
@@ -4072,4 +4514,18 @@ declare const LUMA_AI_CAPABILITIES: {
|
|
|
4072
4514
|
readonly VOICE_TEXT_TO_SPEECH: AiCapability.VoiceTextToSpeech;
|
|
4073
4515
|
};
|
|
4074
4516
|
|
|
4075
|
-
|
|
4517
|
+
/** Accept the wire values directly in applications with their own domain schemas. */
|
|
4518
|
+
type CreatorDomain = `${CreatorDomain$1}`;
|
|
4519
|
+
type CreatorItemKind = `${ItemKind}`;
|
|
4520
|
+
type CreatorItem = Omit<CreatorItem$1, "kind"> & {
|
|
4521
|
+
kind: CreatorItemKind;
|
|
4522
|
+
};
|
|
4523
|
+
type OpenCreatorSession = Omit<CreateCreatorSession, "domain" | "items"> & {
|
|
4524
|
+
domain: CreatorDomain;
|
|
4525
|
+
items?: CreatorItem[];
|
|
4526
|
+
};
|
|
4527
|
+
type CreatorCommand = Omit<CreatorCommand$1, "items"> & {
|
|
4528
|
+
items?: CreatorItem[];
|
|
4529
|
+
};
|
|
4530
|
+
|
|
4531
|
+
export { type CreatorCommand 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 OpenCreatorSession as Z, type CreatorSnapshot as _, type CreateEmbeddingsResponse as a, type AuthoringSessionSummary as a$, type CreatorEventPage as a0, type SourceSummary as a1, type SourcePage as a2, type PublicConfigurationResponse as a3, type MentorChatOptions as a4, type MentorStreamRequestOptions as a5, type NativeChatResult as a6, type MentorGenerateChatResponse as a7, type MentorJudgeOptions as a8, type MentorJudgeResponse as a9, type AudioOutputAlignmentPayload as aA, type AudioOutputChunkData as aB, type AudioOutputChunkPayload as aC, type AudioOutputCompleteData as aD, type AudioOutputCompletePayload as aE, type AudioOutputErrorData as aF, type AudioOutputErrorPayload as aG, type AudioOutputInterruptedData as aH, type AudioOutputInterruptedPayload as aI, type AudioProtocolErrorPayload as aJ, type AudioProviderState as aK, type AudioReconnectPayload as aL, type AudioRecoveryPayload as aM, type AudioRecoveryState as aN, type AudioStartedPayload as aO, type AudioStopPayload as aP, type AudioTriggerTTSPayload as aQ, type AuthoringCommand as aR, type AuthoringContextFailure as aS, type AuthoringContextResponse as aT, type AuthoringDraftCourseCategory as aU, type AuthoringDraftCourseContext as aV, type AuthoringEvent as aW, type AuthoringLessonCreateOperation as aX, type AuthoringLessonUpdateOperation as aY, type AuthoringMentorLessonCreatePayload as aZ, type AuthoringOperation as a_, type LumaSocket as aa, AI_MENTOR_CONFIGURATION_TYPES as ab, AUDIO_PROVIDER_STATES as ac, AUDIO_RECOVERY_STATES as ad, AiCapability as ae, AiCapabilityMode as af, AiCapabilityProvider as ag, type AiCapabilityStatus as ah, type AiJudgeConfigurationResponseInput as ai, type AiMentorConfigurationType as aj, type AiModelAssignmentResponse as ak, type AiModelAssignmentUpdateRequest as al, AiModelDomain as am, AiModelProfileKind as an, type AiModelProfileResponse as ao, type AiRuntimeConfiguration as ap, type ApiKeyCreateRequest as aq, type ApiKeyCreateResponse as ar, type ApiKeyMetadataInput as as, type ApiKeyResponse as at, type ApiKeyUpdateRequest as au, type ApplicationReceipt as av, type AudioBinaryChunk as aw, type AudioChunkPayload as ax, type AudioChunkedPayload as ay, type AudioOutputAlignmentData as az, type GenerateAiJudgeConfigurationResponse as b, type MentorTranscriptionPayload as b$, AuthoringSubscriptionError as b0, type AuthoringSubscriptionErrorCode as b1, type AuthoringTaskFailure as b2, type AuthoringTaskSummary as b3, type AuthoringTurn as b4, type AuthoringTurnPart as b5, type AuthoringWorkProgress as b6, type AuthoringWorkProgressChapter as b7, type AuthoringWorkProgressStage as b8, type AuthoringWorkspaceRecord as b9, LUMA_AI_MODEL_DOMAINS as bA, LUMA_AI_MODEL_PROFILE_KINDS as bB, LUMA_AUDIO_ACTIONS as bC, LUMA_AUDIO_FORMATS as bD, LUMA_CAPTURE_PROFILES as bE, LUMA_MENTOR_STREAM_EVENT_TYPES as bF, LUMA_SOCKET_EMIT_EVENTS as bG, LUMA_SOCKET_LISTEN_EVENTS as bH, LUMA_SOCKET_MESSAGE_TYPES as bI, LUMA_VOICE_TIMING_PRECISION as bJ, type LearnerTranscriptStatus as bK, type LearnerTranscriptionData as bL, type LearnerTranscriptionPayload as bM, type LearnerTranscriptionTimingData as bN, type LumaAiModelDomain as bO, type LumaAiModelProfileKind as bP, type LumaCaptureProfile as bQ, type LumaSocketEmitEvents as bR, type LumaSocketListenEvents as bS, type LumaVoiceTimingPrecision as bT, type MentorChatEvent as bU, type MentorChatRequest as bV, type MentorChatResponse as bW, type MentorStreamEventEnvelope as bX, type MentorTextDeltaPayload as bY, type MentorTextEndPayload as bZ, type MentorTextErrorPayload as b_, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as ba, type ClientSpeechBoundaryPayload as bb, type CommandReceipt as bc, type ContextFailure as bd, type ContextFailureReceipt as be, type ContextFulfillmentReceipt as bf, type ContextResponse as bg, type CourseCreateOperation as bh, type CourseCreatePayload as bi, type CreateSession as bj, type CreatorDomain as bk, type CreatorItem as bl, type CreatorItemKind as bm, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as bn, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as bo, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as bp, EXTERNAL_AUDIO_OPERATION as bq, EXTERNAL_AUDIO_RECOVERY_STATE as br, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as bs, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as bt, type EventPage as bu, type FrozenExport as bv, LEARNER_TRANSCRIPT_STATUSES as bw, LUMA_AI_CAPABILITIES as bx, LUMA_AI_CAPABILITY_MODES as by, LUMA_AI_CAPABILITY_PROVIDERS as bz, type GenerateAiMentorConfigurationOptions as c, type NamedToolChoice as c0, type NativeChatTool as c1, type NativeChatUsage as c2, type NativeErrorEvent as c3, type NativeFinishEvent as c4, type NativeTextDelta as c5, type NativeToolCall as c6, type NativeToolCallEvent as c7, type PrepareAuthoringExport as c8, type PrepareExport as c9, type ProposalReviewDecision as ca, type PublicAiMessage as cb, ReasoningEffort as cc, type ServerConnectedPayload as cd, type SessionSnapshot as ce, type SessionSummary as cf, type SessionSummaryPage as cg, type SourceUploadReceipt as ch, type SpeechAlignmentWord as ci, type StartAudioPayload as cj, TRANSCRIPTION_MODES as ck, TTSProvider as cl, type TaskFailure as cm, TaskKind as cn, type TaskSummary as co, TextToSpeechProvider as cp, type TranscriptionSessionPlan as cq, TurnPartKind as cr, TurnPartStatus as cs, TurnStatus as ct, type WorkspaceRecord as cu, 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 };
|