@ai-matrx/api 0.1.29 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -1
- package/dist/account.d.cts +8 -8
- package/dist/account.d.ts +8 -8
- package/dist/agents.cjs +82 -12
- package/dist/agents.d.cts +384 -6
- package/dist/agents.d.ts +384 -6
- package/dist/agents.js +62 -4
- package/dist/ai.cjs +26 -2
- package/dist/ai.d.cts +76 -3
- package/dist/ai.d.ts +76 -3
- package/dist/ai.js +22 -2
- package/dist/apps.cjs +5 -11
- package/dist/apps.d.cts +3 -49
- package/dist/apps.d.ts +3 -49
- package/dist/apps.js +2 -7
- package/dist/architecture.cjs +78 -42
- package/dist/architecture.d.cts +169 -41
- package/dist/architecture.d.ts +169 -41
- package/dist/architecture.js +58 -28
- package/dist/audio.cjs +39 -39
- package/dist/audio.d.cts +15 -3
- package/dist/audio.d.ts +15 -3
- package/dist/audio.js +2 -2
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +19 -2
- package/dist/chat.d.ts +19 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-G3OJBGCU.cjs → chunk-45PIBJ3K.cjs} +1 -1
- package/dist/{chunk-Z2UOMPC4.js → chunk-7GMHDVF5.js} +1 -1
- package/dist/{chunk-BI6C3CD7.cjs → chunk-BO5HWECS.cjs} +3 -3
- package/dist/{chunk-VGXUUEFE.cjs → chunk-FHHE5FNM.cjs} +4 -4
- package/dist/{chunk-IAB7JCVA.js → chunk-MY5RKVCY.js} +1 -1
- package/dist/{chunk-Q6BD7FVP.cjs → chunk-QDFU72YV.cjs} +37 -37
- package/dist/{chunk-BIHYNQOU.js → chunk-YK5KJICX.js} +1 -1
- package/dist/{chunk-QCDALTHR.js → chunk-YRZAOYRE.js} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +4 -2
- package/dist/code.d.ts +4 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +4 -2
- package/dist/communications.d.ts +4 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +8 -2
- package/dist/crm.d.cts +26 -3
- package/dist/crm.d.ts +26 -3
- package/dist/crm.js +7 -2
- package/dist/data.cjs +22 -4
- package/dist/data.d.cts +183 -3
- package/dist/data.d.ts +183 -3
- package/dist/data.js +17 -2
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +228 -228
- package/dist/files.d.cts +8 -8
- package/dist/files.d.ts +8 -8
- package/dist/files.js +2 -2
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-DyDNKgdB.d.cts → index-BneRZdQz.d.cts} +2 -2
- package/dist/{index-DyDNKgdB.d.ts → index-BneRZdQz.d.ts} +2 -2
- package/dist/index.cjs +58 -58
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +35 -5
- package/dist/integrations.d.cts +97 -3
- package/dist/integrations.d.ts +97 -3
- package/dist/integrations.js +27 -2
- package/dist/intelligence.cjs +29 -11
- package/dist/intelligence.d.cts +100 -29
- package/dist/intelligence.d.ts +100 -29
- package/dist/intelligence.js +23 -7
- package/dist/{keys.generated-DE-t9kzx.d.ts → keys.generated-B0M-0PPo.d.cts} +11 -4
- package/dist/{keys.generated-DE-t9kzx.d.cts → keys.generated-B0M-0PPo.d.ts} +11 -4
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +11 -11
- package/dist/knowledge.d.ts +11 -11
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +194 -78
- package/dist/marketing.d.cts +601 -7
- package/dist/marketing.d.ts +601 -7
- package/dist/marketing.js +98 -2
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +34 -11
- package/dist/media.d.cts +61 -3
- package/dist/media.d.ts +61 -3
- package/dist/media.js +21 -2
- package/dist/platform.cjs +27 -27
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +2 -2
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/recording.cjs +17 -17
- package/dist/recording.js +4 -4
- package/dist/schemas.d.cts +45 -3
- package/dist/schemas.d.ts +45 -3
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +1589 -75
- package/dist/types.d.ts +1589 -75
- package/dist/web.cjs +61 -26
- package/dist/web.d.cts +111 -3
- package/dist/web.d.ts +111 -3
- package/dist/web.js +31 -2
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +44 -2
- package/dist/workflows.d.ts +44 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/dist/media.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BneRZdQz.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** One run of a batch — a full GenerateRequest plus its matrix identity. */
|
|
@@ -1396,6 +1396,52 @@ type GenerateImageResult = unknown;
|
|
|
1396
1396
|
/** Generate Image */
|
|
1397
1397
|
/** `POST /images/generate` · aidream · auth guest · org required · ndjson */
|
|
1398
1398
|
declare function generateImage(api: Api, args: GenerateImageArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
1399
|
+
type WorkerEventArgs = {
|
|
1400
|
+
path: {
|
|
1401
|
+
run_id: string;
|
|
1402
|
+
};
|
|
1403
|
+
body: {
|
|
1404
|
+
[key: string]: unknown;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
type WorkerEventResult = {
|
|
1408
|
+
[key: string]: string;
|
|
1409
|
+
};
|
|
1410
|
+
/** Worker Event */
|
|
1411
|
+
/** `POST /render-jobs/{run_id}/events` · aidream · auth scoped · org required */
|
|
1412
|
+
declare function workerEvent(api: Api, args: WorkerEventArgs, options?: CallOptions): Promise<WorkerEventResult>;
|
|
1413
|
+
type WorkerOutputArgs = {
|
|
1414
|
+
path: {
|
|
1415
|
+
run_id: string;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
type WorkerOutputResult = {
|
|
1419
|
+
[key: string]: unknown;
|
|
1420
|
+
};
|
|
1421
|
+
/** Worker Output */
|
|
1422
|
+
/** `PUT /render-jobs/{run_id}/output` · aidream · auth scoped · org required */
|
|
1423
|
+
declare function workerOutput(api: Api, args: WorkerOutputArgs, options?: CallOptions): Promise<WorkerOutputResult>;
|
|
1424
|
+
type WorkerJobArgs = {
|
|
1425
|
+
path: {
|
|
1426
|
+
run_id: string;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
type WorkerJobResult = {
|
|
1430
|
+
[key: string]: unknown;
|
|
1431
|
+
};
|
|
1432
|
+
/** Worker Job */
|
|
1433
|
+
/** `GET /render-jobs/{run_id}/job` · aidream · auth scoped · org required */
|
|
1434
|
+
declare function workerJob(api: Api, args: WorkerJobArgs, options?: CallOptions): Promise<WorkerJobResult>;
|
|
1435
|
+
type WorkerAssetArgs = {
|
|
1436
|
+
path: {
|
|
1437
|
+
run_id: string;
|
|
1438
|
+
file_id: string;
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
type WorkerAssetResult = unknown;
|
|
1442
|
+
/** Worker Asset */
|
|
1443
|
+
/** `GET /render-jobs/{run_id}/assets/{file_id}` · aidream · auth scoped · org required · bytes */
|
|
1444
|
+
declare function workerAsset(api: Api, args: WorkerAssetArgs, options?: CallOptions): Promise<Response>;
|
|
1399
1445
|
type CaptureScreenshotArgs = {
|
|
1400
1446
|
[key: string]: never;
|
|
1401
1447
|
};
|
|
@@ -2037,6 +2083,18 @@ interface Operations {
|
|
|
2037
2083
|
args: ListImageOpsArgs;
|
|
2038
2084
|
result: ListImageOpsResult;
|
|
2039
2085
|
};
|
|
2086
|
+
"POST /render-jobs/{run_id}/events": {
|
|
2087
|
+
args: WorkerEventArgs;
|
|
2088
|
+
result: WorkerEventResult;
|
|
2089
|
+
};
|
|
2090
|
+
"PUT /render-jobs/{run_id}/output": {
|
|
2091
|
+
args: WorkerOutputArgs;
|
|
2092
|
+
result: WorkerOutputResult;
|
|
2093
|
+
};
|
|
2094
|
+
"GET /render-jobs/{run_id}/job": {
|
|
2095
|
+
args: WorkerJobArgs;
|
|
2096
|
+
result: WorkerJobResult;
|
|
2097
|
+
};
|
|
2040
2098
|
"POST /screenshot": {
|
|
2041
2099
|
args: CaptureScreenshotArgs;
|
|
2042
2100
|
result: CaptureScreenshotResult;
|
|
@@ -2293,4 +2351,4 @@ interface Operations {
|
|
|
2293
2351
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
2294
2352
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
2295
2353
|
|
|
2296
|
-
export { type BatchJobSpec, type BatchSummaryResponse, type BgRemoveArgs, type BgRemoveParams, type BgRemoveResult, type CancelGenerationArgs, type CancelGenerationResponse, type CancelGenerationResult, type CancelImageBatchArgs, type CancelImageBatchResult, type CancelImageJobArgs, type CancelImageJobResult, type CancelJobArgs, type CancelJobResult, type CancelVideoJobArgs, type CancelVideoJobResult, type CaptionSegment, type CaptionTrackBody, type CaptureHandoff, type CaptureLadderResponse, type CaptureNotice, type CaptureRefusal, type CaptureScreenshotArgs, type CaptureScreenshotResult, type CapturedImageBody, type CapturedVideoBody, type ChangePasswordRequest, type ClaimBody, type ClaimHandoffArgs, type ClaimHandoffResult, type ClearFinishedJobsArgs, type ClearFinishedJobsResult, type CommitJobArgs, type CommitJobResult, type CommitRequest, type CreateJobArgs, type CreateJobResult, type CreateLibraryArgs, type CreateLibraryBody, type CreateLibraryResult, type CustomModelEntry, type CustomModelInspectRequest, type CustomModelInspectResponse, type CustomModelRegisterResponse, type DeleteCustomModelArgs, type DeleteCustomModelResult, type DeleteImageLoraArgs, type DeleteImageLoraResult, type DeleteMediaItemArgs, type DeleteMediaItemResult, type DetectDocumentArgs, type DetectDocumentRequest, type DetectDocumentResult, type DiscardJobArgs, type DiscardJobResult, type DiscardRequest, type DiscardResponse, type DismissBody, type DismissHandoffArgs, type DismissHandoffResult, type DownloadLoraArgs, type DownloadLoraResult, type DownloadModelArgs, type DownloadModelRequest, type DownloadModelResponse, type DownloadModelResult, type DownloadTextEncoderArgs, type DownloadTextEncoderRequest, type DownloadTextEncoderResponse, type DownloadTextEncoderResult, type DownloadVideoModelArgs, type DownloadVideoModelResult, type EditImageArgs, type EditImageResult, type EnqueueBatchRequest, type EnqueueBatchResponse, type EnqueueBody, type EnqueueHandoffsArgs, type EnqueueHandoffsResult, type EnqueueImageBatchArgs, type EnqueueImageBatchResult, type EnqueueImageJobArgs, type EnqueueImageJobRequest, type EnqueueImageJobResult, type EnsureMediaRuntimeArgs, type EnsureMediaRuntimeResult, type EstimateBody, type EstimateSelectionArgs, type EstimateSelectionResult, type ExportBody, type ExportLibraryArgs, type ExportLibraryResult, type GenerateFromWorkflowArgs, type GenerateFromWorkflowResult, type GenerateImageArgs, type GenerateImageOnMatrxLocalArgs, type GenerateImageOnMatrxLocalResult, type GenerateImageRequest, type GenerateImageResult, type GenerateRequest, type GenerateResponse, type GenerateVideoArgs, type GenerateVideoRequest, type GenerateVideoResponse, type GenerateVideoResult, type GetImageJobArgs, type GetImageJobResult, type GetImageModelParamsArgs, type GetImageModelParamsResult, type GetInstallStatusArgs, type GetInstallStatusResult, type GetJobArgs, type GetJobResult, type GetLibraryArgs, type GetLibraryResult, type GetMediaFileArgs, type GetMediaFileResult, type GetMediaInitImageArgs, type GetMediaInitImageResult, type GetMediaThumbArgs, type GetMediaThumbResult, type GetOrRenderVariantArgs, type GetOrRenderVariantResult, type GetPresetsArgs, type GetPresetsResult, type GetQueueStateArgs, type GetQueueStateResult, type GetSettingsArgs, type GetSettingsResult, type GetVideoJobArgs, type GetVideoJobResult, type GetVideoJobResultArgs, type GetVideoJobResultResult, type GetVideoModelParamsArgs, type GetVideoModelParamsResult, type ImageBgRemoveRequest, type ImageEditOutput, type ImageEditRequest, type ImageGenModelInfo, type ImageGenStatusArgs, type ImageGenStatusResponse, type ImageGenStatusResult, type ImageInpaintRequest, type ImageJobEnqueuedResponse, type ImageJobResponse, type ImageOpDescriptor, type ImageOpsCatalog, type ImageRevisionRequest, type ImageStudioCapabilities, type ImageStudioPresetsResponse, type InpaintArgs, type InpaintParams, type InpaintResult, type InspectCustomModelArgs, type InspectCustomModelResult, type InstallImageGenArgs, type InstallImageGenResult, type InstallStatusResponse, type ItemIdsRequest, type LibraryMetricsArgs, type LibraryMetricsResult, type ListActionsArgs, type ListActionsResult, type ListHandoffsArgs, type ListHandoffsResult, type ListImageBatchesArgs, type ListImageBatchesResult, type ListImageGenModelsArgs, type ListImageGenModelsResult, type ListImageJobsArgs, type ListImageJobsResult, type ListImageLorasArgs, type ListImageLorasResult, type ListImageOpsArgs, type ListImageOpsResult, type ListLibrariesArgs, type ListLibrariesResult, type ListLibraryJobsArgs, type ListLibraryJobsResult, type ListLibraryVideosArgs, type ListLibraryVideosResult, type ListMediaItemsArgs, type ListMediaItemsResult, type ListRevisionBranchArgs, type ListRevisionBranchResult, type ListVideoGenModelsArgs, type ListVideoGenModelsResult, type ListVideoJobsArgs, type ListVideoJobsResult, type ListWorkflowPresetsArgs, type ListWorkflowPresetsResult, type LoadModelArgs, type LoadModelResponse, type LoadModelResult, type LoadVideoModelArgs, type LoadVideoModelResult, type LoraCatalogInfo, type LoraDownloadRequest, type LoraDownloadResponse, type LoraInstalledInfo, type LoraSpec, type LorasResponse, type MediaLibraryItem, type MediaLibraryListResponse, type MediaRuntimeStatusArgs, type MediaRuntimeStatusResponse, type MediaRuntimeStatusResult, type ModelParamsResponse, type NeedsDriveArgs, type NeedsDriveBody, type NeedsDriveResult, type Operations, type PasswordRequest, type PauseQueueArgs, type PauseQueueResult, type ProcessImageArgs, type ProcessImageResult, type PutSettingsArgs, type PutSettingsResult, type QueueStateResponse, type RecordResultArgs, type RecordResultResult, type RegisterCustomModelRouteArgs, type RegisterCustomModelRouteResult, type ReorderQueueArgs, type ReorderQueueRequest, type ReorderQueueResult, type RepairMediaRuntimeArgs, type RepairMediaRuntimeResult, type ResolveBody, type ResolveSourceArgs, type ResolveSourceResult, type ResultBody, type ResumeJobArgs, type ResumeJobResult, type ResumeQueueArgs, type ResumeQueueResult, type RetryFailedItemsArgs, type RetryFailedItemsResult, type RetryImageJobArgs, type RetryImageJobResult, type SelectionFilter, type SettingsBody, type StartJobBody, type StreamInstallProgressArgs, type StreamInstallProgressResult, type StreamMediaRuntimeArgs, type StreamMediaRuntimeResult, type SyncLibraryArgs, type SyncLibraryResult, type UnloadModelArgs, type UnloadModelResult, type UnloadVideoModelArgs, type UnloadVideoModelResult, type UploadVisionMasterArgs, type UploadVisionMasterResult, type VaultChangePasswordArgs, type VaultChangePasswordResult, type VaultCreateArgs, type VaultCreateResult, type VaultDeleteArgs, type VaultDeleteResult, type VaultFileArgs, type VaultFileResult, type VaultItemsArgs, type VaultItemsResult, type VaultLockArgs, type VaultLockResult, type VaultMoveArgs, type VaultMoveResult, type VaultOpResponse, type VaultOpResult, type VaultRestoreArgs, type VaultRestoreResult, type VaultStatusArgs, type VaultStatusResponse, type VaultStatusResult, type VaultUnlockArgs, type VaultUnlockResult, type VideoGenModelInfo, type VideoGenStatusArgs, type VideoGenStatusResponse, type VideoGenStatusResult, type VideoJobResponse, type VisionMediaUploadResponse, type WorkflowGenerateRequest, type WorkflowPresetInfo, type aidream__api__routers__media_catalog__SyncBody, type aidream__services__media_catalog__models__Selection, type app__api__image_gen_routes__LoadModelRequest, type app__api__video_gen_routes__LoadModelRequest, bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus };
|
|
2354
|
+
export { type BatchJobSpec, type BatchSummaryResponse, type BgRemoveArgs, type BgRemoveParams, type BgRemoveResult, type CancelGenerationArgs, type CancelGenerationResponse, type CancelGenerationResult, type CancelImageBatchArgs, type CancelImageBatchResult, type CancelImageJobArgs, type CancelImageJobResult, type CancelJobArgs, type CancelJobResult, type CancelVideoJobArgs, type CancelVideoJobResult, type CaptionSegment, type CaptionTrackBody, type CaptureHandoff, type CaptureLadderResponse, type CaptureNotice, type CaptureRefusal, type CaptureScreenshotArgs, type CaptureScreenshotResult, type CapturedImageBody, type CapturedVideoBody, type ChangePasswordRequest, type ClaimBody, type ClaimHandoffArgs, type ClaimHandoffResult, type ClearFinishedJobsArgs, type ClearFinishedJobsResult, type CommitJobArgs, type CommitJobResult, type CommitRequest, type CreateJobArgs, type CreateJobResult, type CreateLibraryArgs, type CreateLibraryBody, type CreateLibraryResult, type CustomModelEntry, type CustomModelInspectRequest, type CustomModelInspectResponse, type CustomModelRegisterResponse, type DeleteCustomModelArgs, type DeleteCustomModelResult, type DeleteImageLoraArgs, type DeleteImageLoraResult, type DeleteMediaItemArgs, type DeleteMediaItemResult, type DetectDocumentArgs, type DetectDocumentRequest, type DetectDocumentResult, type DiscardJobArgs, type DiscardJobResult, type DiscardRequest, type DiscardResponse, type DismissBody, type DismissHandoffArgs, type DismissHandoffResult, type DownloadLoraArgs, type DownloadLoraResult, type DownloadModelArgs, type DownloadModelRequest, type DownloadModelResponse, type DownloadModelResult, type DownloadTextEncoderArgs, type DownloadTextEncoderRequest, type DownloadTextEncoderResponse, type DownloadTextEncoderResult, type DownloadVideoModelArgs, type DownloadVideoModelResult, type EditImageArgs, type EditImageResult, type EnqueueBatchRequest, type EnqueueBatchResponse, type EnqueueBody, type EnqueueHandoffsArgs, type EnqueueHandoffsResult, type EnqueueImageBatchArgs, type EnqueueImageBatchResult, type EnqueueImageJobArgs, type EnqueueImageJobRequest, type EnqueueImageJobResult, type EnsureMediaRuntimeArgs, type EnsureMediaRuntimeResult, type EstimateBody, type EstimateSelectionArgs, type EstimateSelectionResult, type ExportBody, type ExportLibraryArgs, type ExportLibraryResult, type GenerateFromWorkflowArgs, type GenerateFromWorkflowResult, type GenerateImageArgs, type GenerateImageOnMatrxLocalArgs, type GenerateImageOnMatrxLocalResult, type GenerateImageRequest, type GenerateImageResult, type GenerateRequest, type GenerateResponse, type GenerateVideoArgs, type GenerateVideoRequest, type GenerateVideoResponse, type GenerateVideoResult, type GetImageJobArgs, type GetImageJobResult, type GetImageModelParamsArgs, type GetImageModelParamsResult, type GetInstallStatusArgs, type GetInstallStatusResult, type GetJobArgs, type GetJobResult, type GetLibraryArgs, type GetLibraryResult, type GetMediaFileArgs, type GetMediaFileResult, type GetMediaInitImageArgs, type GetMediaInitImageResult, type GetMediaThumbArgs, type GetMediaThumbResult, type GetOrRenderVariantArgs, type GetOrRenderVariantResult, type GetPresetsArgs, type GetPresetsResult, type GetQueueStateArgs, type GetQueueStateResult, type GetSettingsArgs, type GetSettingsResult, type GetVideoJobArgs, type GetVideoJobResult, type GetVideoJobResultArgs, type GetVideoJobResultResult, type GetVideoModelParamsArgs, type GetVideoModelParamsResult, type ImageBgRemoveRequest, type ImageEditOutput, type ImageEditRequest, type ImageGenModelInfo, type ImageGenStatusArgs, type ImageGenStatusResponse, type ImageGenStatusResult, type ImageInpaintRequest, type ImageJobEnqueuedResponse, type ImageJobResponse, type ImageOpDescriptor, type ImageOpsCatalog, type ImageRevisionRequest, type ImageStudioCapabilities, type ImageStudioPresetsResponse, type InpaintArgs, type InpaintParams, type InpaintResult, type InspectCustomModelArgs, type InspectCustomModelResult, type InstallImageGenArgs, type InstallImageGenResult, type InstallStatusResponse, type ItemIdsRequest, type LibraryMetricsArgs, type LibraryMetricsResult, type ListActionsArgs, type ListActionsResult, type ListHandoffsArgs, type ListHandoffsResult, type ListImageBatchesArgs, type ListImageBatchesResult, type ListImageGenModelsArgs, type ListImageGenModelsResult, type ListImageJobsArgs, type ListImageJobsResult, type ListImageLorasArgs, type ListImageLorasResult, type ListImageOpsArgs, type ListImageOpsResult, type ListLibrariesArgs, type ListLibrariesResult, type ListLibraryJobsArgs, type ListLibraryJobsResult, type ListLibraryVideosArgs, type ListLibraryVideosResult, type ListMediaItemsArgs, type ListMediaItemsResult, type ListRevisionBranchArgs, type ListRevisionBranchResult, type ListVideoGenModelsArgs, type ListVideoGenModelsResult, type ListVideoJobsArgs, type ListVideoJobsResult, type ListWorkflowPresetsArgs, type ListWorkflowPresetsResult, type LoadModelArgs, type LoadModelResponse, type LoadModelResult, type LoadVideoModelArgs, type LoadVideoModelResult, type LoraCatalogInfo, type LoraDownloadRequest, type LoraDownloadResponse, type LoraInstalledInfo, type LoraSpec, type LorasResponse, type MediaLibraryItem, type MediaLibraryListResponse, type MediaRuntimeStatusArgs, type MediaRuntimeStatusResponse, type MediaRuntimeStatusResult, type ModelParamsResponse, type NeedsDriveArgs, type NeedsDriveBody, type NeedsDriveResult, type Operations, type PasswordRequest, type PauseQueueArgs, type PauseQueueResult, type ProcessImageArgs, type ProcessImageResult, type PutSettingsArgs, type PutSettingsResult, type QueueStateResponse, type RecordResultArgs, type RecordResultResult, type RegisterCustomModelRouteArgs, type RegisterCustomModelRouteResult, type ReorderQueueArgs, type ReorderQueueRequest, type ReorderQueueResult, type RepairMediaRuntimeArgs, type RepairMediaRuntimeResult, type ResolveBody, type ResolveSourceArgs, type ResolveSourceResult, type ResultBody, type ResumeJobArgs, type ResumeJobResult, type ResumeQueueArgs, type ResumeQueueResult, type RetryFailedItemsArgs, type RetryFailedItemsResult, type RetryImageJobArgs, type RetryImageJobResult, type SelectionFilter, type SettingsBody, type StartJobBody, type StreamInstallProgressArgs, type StreamInstallProgressResult, type StreamMediaRuntimeArgs, type StreamMediaRuntimeResult, type SyncLibraryArgs, type SyncLibraryResult, type UnloadModelArgs, type UnloadModelResult, type UnloadVideoModelArgs, type UnloadVideoModelResult, type UploadVisionMasterArgs, type UploadVisionMasterResult, type VaultChangePasswordArgs, type VaultChangePasswordResult, type VaultCreateArgs, type VaultCreateResult, type VaultDeleteArgs, type VaultDeleteResult, type VaultFileArgs, type VaultFileResult, type VaultItemsArgs, type VaultItemsResult, type VaultLockArgs, type VaultLockResult, type VaultMoveArgs, type VaultMoveResult, type VaultOpResponse, type VaultOpResult, type VaultRestoreArgs, type VaultRestoreResult, type VaultStatusArgs, type VaultStatusResponse, type VaultStatusResult, type VaultUnlockArgs, type VaultUnlockResult, type VideoGenModelInfo, type VideoGenStatusArgs, type VideoGenStatusResponse, type VideoGenStatusResult, type VideoJobResponse, type VisionMediaUploadResponse, type WorkerAssetArgs, type WorkerAssetResult, type WorkerEventArgs, type WorkerEventResult, type WorkerJobArgs, type WorkerJobResult, type WorkerOutputArgs, type WorkerOutputResult, type WorkflowGenerateRequest, type WorkflowPresetInfo, type aidream__api__routers__media_catalog__SyncBody, type aidream__services__media_catalog__models__Selection, type app__api__image_gen_routes__LoadModelRequest, type app__api__video_gen_routes__LoadModelRequest, bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus, workerAsset, workerEvent, workerJob, workerOutput };
|
package/dist/media.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BneRZdQz.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** One run of a batch — a full GenerateRequest plus its matrix identity. */
|
|
@@ -1396,6 +1396,52 @@ type GenerateImageResult = unknown;
|
|
|
1396
1396
|
/** Generate Image */
|
|
1397
1397
|
/** `POST /images/generate` · aidream · auth guest · org required · ndjson */
|
|
1398
1398
|
declare function generateImage(api: Api, args: GenerateImageArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
1399
|
+
type WorkerEventArgs = {
|
|
1400
|
+
path: {
|
|
1401
|
+
run_id: string;
|
|
1402
|
+
};
|
|
1403
|
+
body: {
|
|
1404
|
+
[key: string]: unknown;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
type WorkerEventResult = {
|
|
1408
|
+
[key: string]: string;
|
|
1409
|
+
};
|
|
1410
|
+
/** Worker Event */
|
|
1411
|
+
/** `POST /render-jobs/{run_id}/events` · aidream · auth scoped · org required */
|
|
1412
|
+
declare function workerEvent(api: Api, args: WorkerEventArgs, options?: CallOptions): Promise<WorkerEventResult>;
|
|
1413
|
+
type WorkerOutputArgs = {
|
|
1414
|
+
path: {
|
|
1415
|
+
run_id: string;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
type WorkerOutputResult = {
|
|
1419
|
+
[key: string]: unknown;
|
|
1420
|
+
};
|
|
1421
|
+
/** Worker Output */
|
|
1422
|
+
/** `PUT /render-jobs/{run_id}/output` · aidream · auth scoped · org required */
|
|
1423
|
+
declare function workerOutput(api: Api, args: WorkerOutputArgs, options?: CallOptions): Promise<WorkerOutputResult>;
|
|
1424
|
+
type WorkerJobArgs = {
|
|
1425
|
+
path: {
|
|
1426
|
+
run_id: string;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
type WorkerJobResult = {
|
|
1430
|
+
[key: string]: unknown;
|
|
1431
|
+
};
|
|
1432
|
+
/** Worker Job */
|
|
1433
|
+
/** `GET /render-jobs/{run_id}/job` · aidream · auth scoped · org required */
|
|
1434
|
+
declare function workerJob(api: Api, args: WorkerJobArgs, options?: CallOptions): Promise<WorkerJobResult>;
|
|
1435
|
+
type WorkerAssetArgs = {
|
|
1436
|
+
path: {
|
|
1437
|
+
run_id: string;
|
|
1438
|
+
file_id: string;
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
type WorkerAssetResult = unknown;
|
|
1442
|
+
/** Worker Asset */
|
|
1443
|
+
/** `GET /render-jobs/{run_id}/assets/{file_id}` · aidream · auth scoped · org required · bytes */
|
|
1444
|
+
declare function workerAsset(api: Api, args: WorkerAssetArgs, options?: CallOptions): Promise<Response>;
|
|
1399
1445
|
type CaptureScreenshotArgs = {
|
|
1400
1446
|
[key: string]: never;
|
|
1401
1447
|
};
|
|
@@ -2037,6 +2083,18 @@ interface Operations {
|
|
|
2037
2083
|
args: ListImageOpsArgs;
|
|
2038
2084
|
result: ListImageOpsResult;
|
|
2039
2085
|
};
|
|
2086
|
+
"POST /render-jobs/{run_id}/events": {
|
|
2087
|
+
args: WorkerEventArgs;
|
|
2088
|
+
result: WorkerEventResult;
|
|
2089
|
+
};
|
|
2090
|
+
"PUT /render-jobs/{run_id}/output": {
|
|
2091
|
+
args: WorkerOutputArgs;
|
|
2092
|
+
result: WorkerOutputResult;
|
|
2093
|
+
};
|
|
2094
|
+
"GET /render-jobs/{run_id}/job": {
|
|
2095
|
+
args: WorkerJobArgs;
|
|
2096
|
+
result: WorkerJobResult;
|
|
2097
|
+
};
|
|
2040
2098
|
"POST /screenshot": {
|
|
2041
2099
|
args: CaptureScreenshotArgs;
|
|
2042
2100
|
result: CaptureScreenshotResult;
|
|
@@ -2293,4 +2351,4 @@ interface Operations {
|
|
|
2293
2351
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
2294
2352
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
2295
2353
|
|
|
2296
|
-
export { type BatchJobSpec, type BatchSummaryResponse, type BgRemoveArgs, type BgRemoveParams, type BgRemoveResult, type CancelGenerationArgs, type CancelGenerationResponse, type CancelGenerationResult, type CancelImageBatchArgs, type CancelImageBatchResult, type CancelImageJobArgs, type CancelImageJobResult, type CancelJobArgs, type CancelJobResult, type CancelVideoJobArgs, type CancelVideoJobResult, type CaptionSegment, type CaptionTrackBody, type CaptureHandoff, type CaptureLadderResponse, type CaptureNotice, type CaptureRefusal, type CaptureScreenshotArgs, type CaptureScreenshotResult, type CapturedImageBody, type CapturedVideoBody, type ChangePasswordRequest, type ClaimBody, type ClaimHandoffArgs, type ClaimHandoffResult, type ClearFinishedJobsArgs, type ClearFinishedJobsResult, type CommitJobArgs, type CommitJobResult, type CommitRequest, type CreateJobArgs, type CreateJobResult, type CreateLibraryArgs, type CreateLibraryBody, type CreateLibraryResult, type CustomModelEntry, type CustomModelInspectRequest, type CustomModelInspectResponse, type CustomModelRegisterResponse, type DeleteCustomModelArgs, type DeleteCustomModelResult, type DeleteImageLoraArgs, type DeleteImageLoraResult, type DeleteMediaItemArgs, type DeleteMediaItemResult, type DetectDocumentArgs, type DetectDocumentRequest, type DetectDocumentResult, type DiscardJobArgs, type DiscardJobResult, type DiscardRequest, type DiscardResponse, type DismissBody, type DismissHandoffArgs, type DismissHandoffResult, type DownloadLoraArgs, type DownloadLoraResult, type DownloadModelArgs, type DownloadModelRequest, type DownloadModelResponse, type DownloadModelResult, type DownloadTextEncoderArgs, type DownloadTextEncoderRequest, type DownloadTextEncoderResponse, type DownloadTextEncoderResult, type DownloadVideoModelArgs, type DownloadVideoModelResult, type EditImageArgs, type EditImageResult, type EnqueueBatchRequest, type EnqueueBatchResponse, type EnqueueBody, type EnqueueHandoffsArgs, type EnqueueHandoffsResult, type EnqueueImageBatchArgs, type EnqueueImageBatchResult, type EnqueueImageJobArgs, type EnqueueImageJobRequest, type EnqueueImageJobResult, type EnsureMediaRuntimeArgs, type EnsureMediaRuntimeResult, type EstimateBody, type EstimateSelectionArgs, type EstimateSelectionResult, type ExportBody, type ExportLibraryArgs, type ExportLibraryResult, type GenerateFromWorkflowArgs, type GenerateFromWorkflowResult, type GenerateImageArgs, type GenerateImageOnMatrxLocalArgs, type GenerateImageOnMatrxLocalResult, type GenerateImageRequest, type GenerateImageResult, type GenerateRequest, type GenerateResponse, type GenerateVideoArgs, type GenerateVideoRequest, type GenerateVideoResponse, type GenerateVideoResult, type GetImageJobArgs, type GetImageJobResult, type GetImageModelParamsArgs, type GetImageModelParamsResult, type GetInstallStatusArgs, type GetInstallStatusResult, type GetJobArgs, type GetJobResult, type GetLibraryArgs, type GetLibraryResult, type GetMediaFileArgs, type GetMediaFileResult, type GetMediaInitImageArgs, type GetMediaInitImageResult, type GetMediaThumbArgs, type GetMediaThumbResult, type GetOrRenderVariantArgs, type GetOrRenderVariantResult, type GetPresetsArgs, type GetPresetsResult, type GetQueueStateArgs, type GetQueueStateResult, type GetSettingsArgs, type GetSettingsResult, type GetVideoJobArgs, type GetVideoJobResult, type GetVideoJobResultArgs, type GetVideoJobResultResult, type GetVideoModelParamsArgs, type GetVideoModelParamsResult, type ImageBgRemoveRequest, type ImageEditOutput, type ImageEditRequest, type ImageGenModelInfo, type ImageGenStatusArgs, type ImageGenStatusResponse, type ImageGenStatusResult, type ImageInpaintRequest, type ImageJobEnqueuedResponse, type ImageJobResponse, type ImageOpDescriptor, type ImageOpsCatalog, type ImageRevisionRequest, type ImageStudioCapabilities, type ImageStudioPresetsResponse, type InpaintArgs, type InpaintParams, type InpaintResult, type InspectCustomModelArgs, type InspectCustomModelResult, type InstallImageGenArgs, type InstallImageGenResult, type InstallStatusResponse, type ItemIdsRequest, type LibraryMetricsArgs, type LibraryMetricsResult, type ListActionsArgs, type ListActionsResult, type ListHandoffsArgs, type ListHandoffsResult, type ListImageBatchesArgs, type ListImageBatchesResult, type ListImageGenModelsArgs, type ListImageGenModelsResult, type ListImageJobsArgs, type ListImageJobsResult, type ListImageLorasArgs, type ListImageLorasResult, type ListImageOpsArgs, type ListImageOpsResult, type ListLibrariesArgs, type ListLibrariesResult, type ListLibraryJobsArgs, type ListLibraryJobsResult, type ListLibraryVideosArgs, type ListLibraryVideosResult, type ListMediaItemsArgs, type ListMediaItemsResult, type ListRevisionBranchArgs, type ListRevisionBranchResult, type ListVideoGenModelsArgs, type ListVideoGenModelsResult, type ListVideoJobsArgs, type ListVideoJobsResult, type ListWorkflowPresetsArgs, type ListWorkflowPresetsResult, type LoadModelArgs, type LoadModelResponse, type LoadModelResult, type LoadVideoModelArgs, type LoadVideoModelResult, type LoraCatalogInfo, type LoraDownloadRequest, type LoraDownloadResponse, type LoraInstalledInfo, type LoraSpec, type LorasResponse, type MediaLibraryItem, type MediaLibraryListResponse, type MediaRuntimeStatusArgs, type MediaRuntimeStatusResponse, type MediaRuntimeStatusResult, type ModelParamsResponse, type NeedsDriveArgs, type NeedsDriveBody, type NeedsDriveResult, type Operations, type PasswordRequest, type PauseQueueArgs, type PauseQueueResult, type ProcessImageArgs, type ProcessImageResult, type PutSettingsArgs, type PutSettingsResult, type QueueStateResponse, type RecordResultArgs, type RecordResultResult, type RegisterCustomModelRouteArgs, type RegisterCustomModelRouteResult, type ReorderQueueArgs, type ReorderQueueRequest, type ReorderQueueResult, type RepairMediaRuntimeArgs, type RepairMediaRuntimeResult, type ResolveBody, type ResolveSourceArgs, type ResolveSourceResult, type ResultBody, type ResumeJobArgs, type ResumeJobResult, type ResumeQueueArgs, type ResumeQueueResult, type RetryFailedItemsArgs, type RetryFailedItemsResult, type RetryImageJobArgs, type RetryImageJobResult, type SelectionFilter, type SettingsBody, type StartJobBody, type StreamInstallProgressArgs, type StreamInstallProgressResult, type StreamMediaRuntimeArgs, type StreamMediaRuntimeResult, type SyncLibraryArgs, type SyncLibraryResult, type UnloadModelArgs, type UnloadModelResult, type UnloadVideoModelArgs, type UnloadVideoModelResult, type UploadVisionMasterArgs, type UploadVisionMasterResult, type VaultChangePasswordArgs, type VaultChangePasswordResult, type VaultCreateArgs, type VaultCreateResult, type VaultDeleteArgs, type VaultDeleteResult, type VaultFileArgs, type VaultFileResult, type VaultItemsArgs, type VaultItemsResult, type VaultLockArgs, type VaultLockResult, type VaultMoveArgs, type VaultMoveResult, type VaultOpResponse, type VaultOpResult, type VaultRestoreArgs, type VaultRestoreResult, type VaultStatusArgs, type VaultStatusResponse, type VaultStatusResult, type VaultUnlockArgs, type VaultUnlockResult, type VideoGenModelInfo, type VideoGenStatusArgs, type VideoGenStatusResponse, type VideoGenStatusResult, type VideoJobResponse, type VisionMediaUploadResponse, type WorkflowGenerateRequest, type WorkflowPresetInfo, type aidream__api__routers__media_catalog__SyncBody, type aidream__services__media_catalog__models__Selection, type app__api__image_gen_routes__LoadModelRequest, type app__api__video_gen_routes__LoadModelRequest, bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus };
|
|
2354
|
+
export { type BatchJobSpec, type BatchSummaryResponse, type BgRemoveArgs, type BgRemoveParams, type BgRemoveResult, type CancelGenerationArgs, type CancelGenerationResponse, type CancelGenerationResult, type CancelImageBatchArgs, type CancelImageBatchResult, type CancelImageJobArgs, type CancelImageJobResult, type CancelJobArgs, type CancelJobResult, type CancelVideoJobArgs, type CancelVideoJobResult, type CaptionSegment, type CaptionTrackBody, type CaptureHandoff, type CaptureLadderResponse, type CaptureNotice, type CaptureRefusal, type CaptureScreenshotArgs, type CaptureScreenshotResult, type CapturedImageBody, type CapturedVideoBody, type ChangePasswordRequest, type ClaimBody, type ClaimHandoffArgs, type ClaimHandoffResult, type ClearFinishedJobsArgs, type ClearFinishedJobsResult, type CommitJobArgs, type CommitJobResult, type CommitRequest, type CreateJobArgs, type CreateJobResult, type CreateLibraryArgs, type CreateLibraryBody, type CreateLibraryResult, type CustomModelEntry, type CustomModelInspectRequest, type CustomModelInspectResponse, type CustomModelRegisterResponse, type DeleteCustomModelArgs, type DeleteCustomModelResult, type DeleteImageLoraArgs, type DeleteImageLoraResult, type DeleteMediaItemArgs, type DeleteMediaItemResult, type DetectDocumentArgs, type DetectDocumentRequest, type DetectDocumentResult, type DiscardJobArgs, type DiscardJobResult, type DiscardRequest, type DiscardResponse, type DismissBody, type DismissHandoffArgs, type DismissHandoffResult, type DownloadLoraArgs, type DownloadLoraResult, type DownloadModelArgs, type DownloadModelRequest, type DownloadModelResponse, type DownloadModelResult, type DownloadTextEncoderArgs, type DownloadTextEncoderRequest, type DownloadTextEncoderResponse, type DownloadTextEncoderResult, type DownloadVideoModelArgs, type DownloadVideoModelResult, type EditImageArgs, type EditImageResult, type EnqueueBatchRequest, type EnqueueBatchResponse, type EnqueueBody, type EnqueueHandoffsArgs, type EnqueueHandoffsResult, type EnqueueImageBatchArgs, type EnqueueImageBatchResult, type EnqueueImageJobArgs, type EnqueueImageJobRequest, type EnqueueImageJobResult, type EnsureMediaRuntimeArgs, type EnsureMediaRuntimeResult, type EstimateBody, type EstimateSelectionArgs, type EstimateSelectionResult, type ExportBody, type ExportLibraryArgs, type ExportLibraryResult, type GenerateFromWorkflowArgs, type GenerateFromWorkflowResult, type GenerateImageArgs, type GenerateImageOnMatrxLocalArgs, type GenerateImageOnMatrxLocalResult, type GenerateImageRequest, type GenerateImageResult, type GenerateRequest, type GenerateResponse, type GenerateVideoArgs, type GenerateVideoRequest, type GenerateVideoResponse, type GenerateVideoResult, type GetImageJobArgs, type GetImageJobResult, type GetImageModelParamsArgs, type GetImageModelParamsResult, type GetInstallStatusArgs, type GetInstallStatusResult, type GetJobArgs, type GetJobResult, type GetLibraryArgs, type GetLibraryResult, type GetMediaFileArgs, type GetMediaFileResult, type GetMediaInitImageArgs, type GetMediaInitImageResult, type GetMediaThumbArgs, type GetMediaThumbResult, type GetOrRenderVariantArgs, type GetOrRenderVariantResult, type GetPresetsArgs, type GetPresetsResult, type GetQueueStateArgs, type GetQueueStateResult, type GetSettingsArgs, type GetSettingsResult, type GetVideoJobArgs, type GetVideoJobResult, type GetVideoJobResultArgs, type GetVideoJobResultResult, type GetVideoModelParamsArgs, type GetVideoModelParamsResult, type ImageBgRemoveRequest, type ImageEditOutput, type ImageEditRequest, type ImageGenModelInfo, type ImageGenStatusArgs, type ImageGenStatusResponse, type ImageGenStatusResult, type ImageInpaintRequest, type ImageJobEnqueuedResponse, type ImageJobResponse, type ImageOpDescriptor, type ImageOpsCatalog, type ImageRevisionRequest, type ImageStudioCapabilities, type ImageStudioPresetsResponse, type InpaintArgs, type InpaintParams, type InpaintResult, type InspectCustomModelArgs, type InspectCustomModelResult, type InstallImageGenArgs, type InstallImageGenResult, type InstallStatusResponse, type ItemIdsRequest, type LibraryMetricsArgs, type LibraryMetricsResult, type ListActionsArgs, type ListActionsResult, type ListHandoffsArgs, type ListHandoffsResult, type ListImageBatchesArgs, type ListImageBatchesResult, type ListImageGenModelsArgs, type ListImageGenModelsResult, type ListImageJobsArgs, type ListImageJobsResult, type ListImageLorasArgs, type ListImageLorasResult, type ListImageOpsArgs, type ListImageOpsResult, type ListLibrariesArgs, type ListLibrariesResult, type ListLibraryJobsArgs, type ListLibraryJobsResult, type ListLibraryVideosArgs, type ListLibraryVideosResult, type ListMediaItemsArgs, type ListMediaItemsResult, type ListRevisionBranchArgs, type ListRevisionBranchResult, type ListVideoGenModelsArgs, type ListVideoGenModelsResult, type ListVideoJobsArgs, type ListVideoJobsResult, type ListWorkflowPresetsArgs, type ListWorkflowPresetsResult, type LoadModelArgs, type LoadModelResponse, type LoadModelResult, type LoadVideoModelArgs, type LoadVideoModelResult, type LoraCatalogInfo, type LoraDownloadRequest, type LoraDownloadResponse, type LoraInstalledInfo, type LoraSpec, type LorasResponse, type MediaLibraryItem, type MediaLibraryListResponse, type MediaRuntimeStatusArgs, type MediaRuntimeStatusResponse, type MediaRuntimeStatusResult, type ModelParamsResponse, type NeedsDriveArgs, type NeedsDriveBody, type NeedsDriveResult, type Operations, type PasswordRequest, type PauseQueueArgs, type PauseQueueResult, type ProcessImageArgs, type ProcessImageResult, type PutSettingsArgs, type PutSettingsResult, type QueueStateResponse, type RecordResultArgs, type RecordResultResult, type RegisterCustomModelRouteArgs, type RegisterCustomModelRouteResult, type ReorderQueueArgs, type ReorderQueueRequest, type ReorderQueueResult, type RepairMediaRuntimeArgs, type RepairMediaRuntimeResult, type ResolveBody, type ResolveSourceArgs, type ResolveSourceResult, type ResultBody, type ResumeJobArgs, type ResumeJobResult, type ResumeQueueArgs, type ResumeQueueResult, type RetryFailedItemsArgs, type RetryFailedItemsResult, type RetryImageJobArgs, type RetryImageJobResult, type SelectionFilter, type SettingsBody, type StartJobBody, type StreamInstallProgressArgs, type StreamInstallProgressResult, type StreamMediaRuntimeArgs, type StreamMediaRuntimeResult, type SyncLibraryArgs, type SyncLibraryResult, type UnloadModelArgs, type UnloadModelResult, type UnloadVideoModelArgs, type UnloadVideoModelResult, type UploadVisionMasterArgs, type UploadVisionMasterResult, type VaultChangePasswordArgs, type VaultChangePasswordResult, type VaultCreateArgs, type VaultCreateResult, type VaultDeleteArgs, type VaultDeleteResult, type VaultFileArgs, type VaultFileResult, type VaultItemsArgs, type VaultItemsResult, type VaultLockArgs, type VaultLockResult, type VaultMoveArgs, type VaultMoveResult, type VaultOpResponse, type VaultOpResult, type VaultRestoreArgs, type VaultRestoreResult, type VaultStatusArgs, type VaultStatusResponse, type VaultStatusResult, type VaultUnlockArgs, type VaultUnlockResult, type VideoGenModelInfo, type VideoGenStatusArgs, type VideoGenStatusResponse, type VideoGenStatusResult, type VideoJobResponse, type VisionMediaUploadResponse, type WorkerAssetArgs, type WorkerAssetResult, type WorkerEventArgs, type WorkerEventResult, type WorkerJobArgs, type WorkerJobResult, type WorkerOutputArgs, type WorkerOutputResult, type WorkflowGenerateRequest, type WorkflowPresetInfo, type aidream__api__routers__media_catalog__SyncBody, type aidream__services__media_catalog__models__Selection, type app__api__image_gen_routes__LoadModelRequest, type app__api__video_gen_routes__LoadModelRequest, bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus, workerAsset, workerEvent, workerJob, workerOutput };
|
package/dist/media.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-YK5KJICX.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/media.ts
|
|
@@ -146,6 +146,22 @@ var $generateImage = { m: "POST", p: "/images/generate", d: "aidream", a: "guest
|
|
|
146
146
|
function generateImage(api, args, options) {
|
|
147
147
|
return openStream(api, $generateImage, args, options);
|
|
148
148
|
}
|
|
149
|
+
var $workerEvent = { m: "POST", p: "/render-jobs/{run_id}/events", d: "aidream", a: "scoped", o: "required", n: "media.worker_event" };
|
|
150
|
+
function workerEvent(api, args, options) {
|
|
151
|
+
return api.call($workerEvent, args, options);
|
|
152
|
+
}
|
|
153
|
+
var $workerOutput = { m: "PUT", p: "/render-jobs/{run_id}/output", d: "aidream", a: "scoped", o: "required", n: "media.worker_output" };
|
|
154
|
+
function workerOutput(api, args, options) {
|
|
155
|
+
return api.call($workerOutput, args, options);
|
|
156
|
+
}
|
|
157
|
+
var $workerJob = { m: "GET", p: "/render-jobs/{run_id}/job", d: "aidream", a: "scoped", o: "required", n: "media.worker_job" };
|
|
158
|
+
function workerJob(api, args, options) {
|
|
159
|
+
return api.call($workerJob, args, options);
|
|
160
|
+
}
|
|
161
|
+
var $workerAsset = { m: "GET", p: "/render-jobs/{run_id}/assets/{file_id}", d: "aidream", a: "scoped", o: "required", s: "bytes", n: "media.worker_asset" };
|
|
162
|
+
function workerAsset(api, args, options) {
|
|
163
|
+
return api.send($workerAsset, args, options).then((x) => x.response);
|
|
164
|
+
}
|
|
149
165
|
var $captureScreenshot = { m: "POST", p: "/screenshot", d: "matrx-local", a: "loopback_token", o: "exempt", n: "media.capture_screenshot" };
|
|
150
166
|
function captureScreenshot(api, args, options) {
|
|
151
167
|
return api.call($captureScreenshot, args, options);
|
|
@@ -435,6 +451,9 @@ var TABLE = {
|
|
|
435
451
|
"GET /images/studio/presets": $getPresets,
|
|
436
452
|
"POST /images/studio/discard": $discardJob,
|
|
437
453
|
"GET /images/ops": $listImageOps,
|
|
454
|
+
"POST /render-jobs/{run_id}/events": $workerEvent,
|
|
455
|
+
"PUT /render-jobs/{run_id}/output": $workerOutput,
|
|
456
|
+
"GET /render-jobs/{run_id}/job": $workerJob,
|
|
438
457
|
"POST /screenshot": $captureScreenshot,
|
|
439
458
|
"GET /image-gen/status": $imageGenStatus,
|
|
440
459
|
"GET /image-gen/models": $listImageGenModels,
|
|
@@ -503,4 +522,4 @@ function call(api, key, args, options) {
|
|
|
503
522
|
return api.call(TABLE[key], args, options);
|
|
504
523
|
}
|
|
505
524
|
|
|
506
|
-
export { bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus };
|
|
525
|
+
export { bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus, workerAsset, workerEvent, workerJob, workerOutput };
|
package/dist/platform.cjs
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkBO5HWECS_cjs = require('./chunk-BO5HWECS.cjs');
|
|
4
|
+
require('./chunk-45PIBJ3K.cjs');
|
|
5
5
|
require('./chunk-2SXAAKGV.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "call", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkBO5HWECS_cjs.call; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "currentFileSessionStatus", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkBO5HWECS_cjs.currentFileSessionStatus; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "currentSessionStatus", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkBO5HWECS_cjs.currentSessionStatus; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "deleteScenario", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkBO5HWECS_cjs.deleteScenario; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "devLoginAs", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkBO5HWECS_cjs.devLoginAs; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "exchangeSessionHandoff", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkBO5HWECS_cjs.exchangeSessionHandoff; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "getAppConfig", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkBO5HWECS_cjs.getAppConfig; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "getCheck", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkBO5HWECS_cjs.getCheck; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "getRunDetail", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkBO5HWECS_cjs.getRunDetail; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "initiateOauth", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkBO5HWECS_cjs.initiateOauth; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "listChecks", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkBO5HWECS_cjs.listChecks; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "listMyOrganizations", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkBO5HWECS_cjs.listMyOrganizations; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "listPublications", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkBO5HWECS_cjs.listPublications; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "listRecentRuns", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkBO5HWECS_cjs.listRecentRuns; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "listScenarios", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkBO5HWECS_cjs.listScenarios; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "mandateCatalog", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkBO5HWECS_cjs.mandateCatalog; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "oauthCallback", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkBO5HWECS_cjs.oauthCallback; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "onSignIn", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkBO5HWECS_cjs.onSignIn; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "openGuestSession", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkBO5HWECS_cjs.openGuestSession; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "publishDictionary", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkBO5HWECS_cjs.publishDictionary; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "reportOauthIncident", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkBO5HWECS_cjs.reportOauthIncident; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "runCheck", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkBO5HWECS_cjs.runCheck; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "saveScenario", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkBO5HWECS_cjs.saveScenario; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "sendRefreshRequired", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkBO5HWECS_cjs.sendRefreshRequired; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "whoami", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkBO5HWECS_cjs.whoami; }
|
|
108
108
|
});
|
package/dist/platform.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BneRZdQz.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AppConfigResponse */
|
package/dist/platform.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BneRZdQz.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AppConfigResponse */
|
package/dist/platform.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami } from './chunk-7GMHDVF5.js';
|
|
2
|
+
import './chunk-YK5KJICX.js';
|
|
3
3
|
import './chunk-KIEAFMKB.js';
|
package/dist/publish.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk45PIBJ3K_cjs = require('./chunk-45PIBJ3K.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/publish.ts
|
|
@@ -126,19 +126,19 @@ function castPreviewEndpoint(api, args, options) {
|
|
|
126
126
|
}
|
|
127
127
|
var $generatePodcastEndpoint = { m: "POST", p: "/podcast/generate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.generate_podcast_endpoint" };
|
|
128
128
|
function generatePodcastEndpoint(api, args, options) {
|
|
129
|
-
return
|
|
129
|
+
return chunk45PIBJ3K_cjs.openStream(api, $generatePodcastEndpoint, args, options);
|
|
130
130
|
}
|
|
131
131
|
var $resumePodcastEndpoint = { m: "POST", p: "/podcast/resume/{run_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.resume_podcast_endpoint" };
|
|
132
132
|
function resumePodcastEndpoint(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunk45PIBJ3K_cjs.openStream(api, $resumePodcastEndpoint, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $regenerateAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/regenerate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.regenerate_asset" };
|
|
136
136
|
function regenerateAsset(api, args, options) {
|
|
137
|
-
return
|
|
137
|
+
return chunk45PIBJ3K_cjs.openStream(api, $regenerateAsset, args, options);
|
|
138
138
|
}
|
|
139
139
|
var $addAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/add", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.add_asset" };
|
|
140
140
|
function addAsset(api, args, options) {
|
|
141
|
-
return
|
|
141
|
+
return chunk45PIBJ3K_cjs.openStream(api, $addAsset, args, options);
|
|
142
142
|
}
|
|
143
143
|
var $reconcilePodcastRun = { m: "POST", p: "/podcast/runs/{run_id}/reconcile", d: "aidream", a: "guest", o: "required", n: "publish.reconcile_podcast_run" };
|
|
144
144
|
function reconcilePodcastRun(api, args, options) {
|
|
@@ -146,11 +146,11 @@ function reconcilePodcastRun(api, args, options) {
|
|
|
146
146
|
}
|
|
147
147
|
var $startRace = { m: "POST", p: "/podcast/races", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.start_race" };
|
|
148
148
|
function startRace(api, args, options) {
|
|
149
|
-
return
|
|
149
|
+
return chunk45PIBJ3K_cjs.openStream(api, $startRace, args, options);
|
|
150
150
|
}
|
|
151
151
|
var $rerunRaceArm = { m: "POST", p: "/podcast/races/{race_id}/arms/{arm}/rerun", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.rerun_race_arm" };
|
|
152
152
|
function rerunRaceArm(api, args, options) {
|
|
153
|
-
return
|
|
153
|
+
return chunk45PIBJ3K_cjs.openStream(api, $rerunRaceArm, args, options);
|
|
154
154
|
}
|
|
155
155
|
var $artifactContent = { m: "GET", p: "/artifacts/{artifact_id}/content", d: "matrx-local", a: "loopback_open", o: "exempt", n: "publish.artifact_content" };
|
|
156
156
|
function artifactContent(api, args, options) {
|
package/dist/publish.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BneRZdQz.cjs';
|
|
2
2
|
import { JsonValue, ContextAnchor, Asset } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddAssetRequest */
|
package/dist/publish.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BneRZdQz.js';
|
|
2
2
|
import { JsonValue, ContextAnchor, Asset } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddAssetRequest */
|
package/dist/publish.js
CHANGED