@byte_fluffy/nexra-sdk 0.1.0-alpha.45 → 0.1.0-alpha.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog.d.ts +2 -2
- package/dist/catalog.js +2 -2
- package/dist/{chunk-FEACXUHZ.js → chunk-LXR3MEF3.js} +55 -8
- package/dist/{chunk-OX5GFYVN.js → chunk-ZNPLN7N6.js} +1362 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/language.d.ts +1 -1
- package/dist/language.js +2 -2
- package/dist/{media-CwGmG5qB.d.ts → media-Co8S2qEM.d.ts} +36 -7
- package/dist/{media-geometry-KwQh1O8Y.d.ts → media-geometry-BS4DZh4B.d.ts} +2 -0
- package/dist/media.d.ts +1 -1
- package/dist/media.js +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/{voices-B09HqQJJ.d.ts → voices-Bzt4nV1r.d.ts} +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as AssetUploadOptions, M as MEDIA_KINDS, d as MediaAsset, e as MediaAssetStatus, f as MediaKind, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput } from './media-
|
|
2
|
-
import { H as HttpTransport, u as ModelSearchParams, T as TaskModelSummary, v as TaskModel, w as ModelSchema, x as ModelResourceList, y as NexraClientOptions } from './media-geometry-
|
|
3
|
-
export { e as CreateNexraDisplayQuoteBatchRequest, C as CreateNexraQuoteRequest, F as FetchLike, M as MediaGeometryField, k as MediaGeometryProjection, z as ModelCapabilitySummary, A as ModelDateVersion, B as ModelEndpointSummary, D as ModelModality, E as ModelResourceOption, l as NexraBillingCurrency, g as NexraCatalogRevision, f as NexraDisplayQuoteBatch, G as NexraDisplayQuoteBatchEntry, n as NexraModelOperation, h as NexraModelSpec, j as NexraModelSpecFilter, d as NexraQuote, o as NexraSalePrice, c as NexraSalePriceList, p as NexraSettlement, U as UnifiedMediaGeometry, q as applyMediaGeometry, r as decodeMediaGeometry, s as encodeMediaGeometry, t as projectMediaGeometry } from './media-geometry-
|
|
1
|
+
export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as AssetUploadOptions, M as MEDIA_KINDS, d as MediaAsset, e as MediaAssetStatus, f as MediaKind, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput } from './media-Co8S2qEM.js';
|
|
2
|
+
import { H as HttpTransport, u as ModelSearchParams, T as TaskModelSummary, v as TaskModel, w as ModelSchema, x as ModelResourceList, y as NexraClientOptions } from './media-geometry-BS4DZh4B.js';
|
|
3
|
+
export { e as CreateNexraDisplayQuoteBatchRequest, C as CreateNexraQuoteRequest, F as FetchLike, M as MediaGeometryField, k as MediaGeometryProjection, z as ModelCapabilitySummary, A as ModelDateVersion, B as ModelEndpointSummary, D as ModelModality, E as ModelResourceOption, l as NexraBillingCurrency, g as NexraCatalogRevision, f as NexraDisplayQuoteBatch, G as NexraDisplayQuoteBatchEntry, n as NexraModelOperation, h as NexraModelSpec, j as NexraModelSpecFilter, d as NexraQuote, o as NexraSalePrice, c as NexraSalePriceList, p as NexraSettlement, U as UnifiedMediaGeometry, q as applyMediaGeometry, r as decodeMediaGeometry, s as encodeMediaGeometry, t as projectMediaGeometry } from './media-geometry-BS4DZh4B.js';
|
|
4
4
|
import { C as CursorPage, J as JsonValue } from './json-Cz0MkWQn.js';
|
|
5
5
|
export { a as JsonObject, b as JsonPrimitive } from './json-Cz0MkWQn.js';
|
|
6
6
|
import { N as NexraError, P as PublicErrorFields } from './errors-DJZuAKoO.js';
|
|
7
7
|
export { A as ApiErrorPayload, a as PublicError, b as PublicErrorContext, e as extractUpstreamErrorMessage } from './errors-DJZuAKoO.js';
|
|
8
|
-
import { V as Voice, C as CreateVoiceRequest, a as VoiceCreation, A as AssetsClient, T as TasksClient, R as RunTaskOptions, b as RunResult, c as TaskResult } from './voices-
|
|
9
|
-
export { d as CreateTaskOptions, e as CreateTaskRequest, f as RequestDetails, g as TASK_STATUSES, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, W as WaitTaskOptions, v as WatchTaskOptions, w as isTerminalTaskStatus, x as verifyWebhook } from './voices-
|
|
8
|
+
import { V as Voice, C as CreateVoiceRequest, a as VoiceCreation, A as AssetsClient, T as TasksClient, R as RunTaskOptions, b as RunResult, c as TaskResult } from './voices-Bzt4nV1r.js';
|
|
9
|
+
export { d as CreateTaskOptions, e as CreateTaskRequest, f as RequestDetails, g as TASK_STATUSES, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, W as WaitTaskOptions, v as WatchTaskOptions, w as isTerminalTaskStatus, x as verifyWebhook } from './voices-Bzt4nV1r.js';
|
|
10
10
|
import { CatalogClient } from './catalog.js';
|
|
11
11
|
export { formatModelDisplayName, getModelSpec, listModelSpecs } from './catalog.js';
|
|
12
12
|
export { ceilDecimal, multiplyDecimal } from './decimal.js';
|
package/dist/index.js
CHANGED
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
projectMediaGeometry,
|
|
21
21
|
queryString,
|
|
22
22
|
sleep
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZNPLN7N6.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_KINDS,
|
|
26
26
|
TASK_STATUSES,
|
|
27
27
|
createTaskRequest,
|
|
28
28
|
extractUpstreamErrorMessage,
|
|
29
29
|
isTerminalTaskStatus
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LXR3MEF3.js";
|
|
31
31
|
|
|
32
32
|
// src/assets.ts
|
|
33
33
|
var AssetsClient = class {
|
package/dist/language.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APICallError, LanguageModelV4 } from '@ai-sdk/provider';
|
|
2
2
|
import { NexraLanguageProtocol } from './catalog.js';
|
|
3
3
|
export { NexraLanguageModelBinding } from './catalog.js';
|
|
4
|
-
import { F as FetchLike } from './media-geometry-
|
|
4
|
+
import { F as FetchLike } from './media-geometry-BS4DZh4B.js';
|
|
5
5
|
import { N as NexraError } from './errors-DJZuAKoO.js';
|
|
6
6
|
import './json-Cz0MkWQn.js';
|
|
7
7
|
|
package/dist/language.js
CHANGED
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
jsonBody,
|
|
7
7
|
parseServerSentEvents,
|
|
8
8
|
resolveNexraLanguageReasoning
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZNPLN7N6.js";
|
|
10
10
|
import {
|
|
11
11
|
isPublicErrorCode,
|
|
12
12
|
publicErrorMessage,
|
|
13
13
|
resolvePublicErrorLocale
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LXR3MEF3.js";
|
|
15
15
|
|
|
16
16
|
// src/language/index.ts
|
|
17
17
|
import { createAnthropic } from "@ai-sdk/anthropic";
|
|
@@ -60,18 +60,18 @@ interface AssetCertificationWaitOptions {
|
|
|
60
60
|
|
|
61
61
|
declare const NEXRA_MEDIA_API_VERSION: 1;
|
|
62
62
|
/** Catalog-level generation taxonomy. Text keeps its native endpoint protocols. */
|
|
63
|
-
declare const NEXRA_GENERATION_OPERATIONS: readonly ["text.generate", "image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale"];
|
|
63
|
+
declare const NEXRA_GENERATION_OPERATIONS: readonly ["text.generate", "image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale", "video.depth", "video.segment"];
|
|
64
64
|
type NexraGenerationOperation = (typeof NEXRA_GENERATION_OPERATIONS)[number];
|
|
65
|
-
declare const NEXRA_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale"];
|
|
65
|
+
declare const NEXRA_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale", "video.depth", "video.segment"];
|
|
66
66
|
type NexraMediaOperation = (typeof NEXRA_MEDIA_OPERATIONS)[number];
|
|
67
|
-
declare const NEXRA_PUBLISHED_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale"];
|
|
67
|
+
declare const NEXRA_PUBLISHED_MEDIA_OPERATIONS: readonly ["image.generate", "video.generate", "audio.generate", "image.upscale", "video.upscale", "video.depth", "video.segment"];
|
|
68
68
|
type NexraPublishedMediaOperation = (typeof NEXRA_PUBLISHED_MEDIA_OPERATIONS)[number];
|
|
69
|
-
declare const NEXRA_MEDIA_FEATURES: readonly ["text-to-image", "image-to-image", "image-reference", "image-edit", "image-inpaint", "image-control", "text-to-video", "first-frame", "first-last-frame", "image-to-video", "video-to-video", "audio-to-video", "avatar-video", "reference-image", "reference-video", "reference-audio", "omni-reference", "tts", "music", "sfx", "voice-reference", "voice-design", "scale-factor", "target-resolution"];
|
|
69
|
+
declare const NEXRA_MEDIA_FEATURES: readonly ["text-to-image", "image-to-image", "image-reference", "image-edit", "image-inpaint", "image-control", "text-to-video", "first-frame", "first-last-frame", "image-to-video", "video-to-video", "audio-to-video", "avatar-video", "reference-image", "reference-video", "reference-audio", "omni-reference", "tts", "music", "sfx", "voice-reference", "voice-design", "scale-factor", "target-resolution", "video-depth", "video-segment"];
|
|
70
70
|
type NexraMediaFeature = (typeof NEXRA_MEDIA_FEATURES)[number];
|
|
71
71
|
/** JSON wire locator. SDK-only Blob/File support is normalized into one of these forms. */
|
|
72
72
|
type NexraMediaSource = string | AssetReference;
|
|
73
73
|
type NexraTextRole = "prompt" | "negative_prompt" | "script" | "lyrics";
|
|
74
|
-
type NexraImageRole = "source" | "reference" | "first_frame" | "last_frame" | "mask" | "control" | "subject" | "background";
|
|
74
|
+
type NexraImageRole = "source" | "reference" | "first_frame" | "middle_frame" | "last_frame" | "mask" | "control" | "subject" | "background";
|
|
75
75
|
type NexraVideoRole = "source" | "reference" | "edit" | "extend";
|
|
76
76
|
type NexraAudioRole = "source" | "reference" | "voice_reference";
|
|
77
77
|
type NexraTextContentPart = Readonly<{
|
|
@@ -98,13 +98,20 @@ type NexraVideoContentPart = Readonly<{
|
|
|
98
98
|
type: "video";
|
|
99
99
|
source: NexraMediaSource;
|
|
100
100
|
role?: NexraVideoRole;
|
|
101
|
+
name?: string;
|
|
101
102
|
}>;
|
|
102
103
|
type NexraAudioContentPart = Readonly<{
|
|
103
104
|
type: "audio";
|
|
104
105
|
source: NexraMediaSource;
|
|
105
106
|
role?: NexraAudioRole;
|
|
106
107
|
}>;
|
|
107
|
-
type
|
|
108
|
+
type NexraResourceContentPart = Readonly<{
|
|
109
|
+
type: "resource";
|
|
110
|
+
resource: "element" | "voice";
|
|
111
|
+
source: string;
|
|
112
|
+
name: string;
|
|
113
|
+
}>;
|
|
114
|
+
type NexraMediaContentPart = NexraResourceContentPart | NexraTextContentPart | NexraImageContentPart | NexraVideoContentPart | NexraAudioContentPart;
|
|
108
115
|
type NexraDraftContentPart = Readonly<{
|
|
109
116
|
type: "draft_task";
|
|
110
117
|
draft_task: Readonly<{
|
|
@@ -197,12 +204,22 @@ type NexraVideoUpscaleInput = Readonly<{
|
|
|
197
204
|
vid: string;
|
|
198
205
|
content?: never;
|
|
199
206
|
}>);
|
|
207
|
+
type NexraVideoDepthInput = Readonly<{
|
|
208
|
+
content: readonly [NexraVideoContentPart];
|
|
209
|
+
resolution?: string;
|
|
210
|
+
}>;
|
|
211
|
+
type NexraVideoSegmentInput = Readonly<{
|
|
212
|
+
content: readonly [NexraVideoContentPart, NexraTextContentPart] | readonly [NexraTextContentPart, NexraVideoContentPart];
|
|
213
|
+
resolution?: string;
|
|
214
|
+
}>;
|
|
200
215
|
type NexraMediaInputByOperation = Readonly<{
|
|
201
216
|
"image.generate": NexraImageGenerateInput;
|
|
202
217
|
"video.generate": NexraVideoGenerateInput;
|
|
203
218
|
"audio.generate": NexraAudioGenerateInput;
|
|
204
219
|
"image.upscale": NexraImageUpscaleInput;
|
|
205
220
|
"video.upscale": NexraVideoUpscaleInput;
|
|
221
|
+
"video.depth": NexraVideoDepthInput;
|
|
222
|
+
"video.segment": NexraVideoSegmentInput;
|
|
206
223
|
}>;
|
|
207
224
|
type NexraMediaKind = "image" | "video" | "audio";
|
|
208
225
|
type NexraMediaInputSlot = Readonly<{
|
|
@@ -288,6 +305,18 @@ declare const NEXRA_MEDIA_OPERATION_DEFINITIONS: readonly [{
|
|
|
288
305
|
readonly outputKind: "video";
|
|
289
306
|
readonly features: readonly ["scale-factor", "target-resolution"];
|
|
290
307
|
readonly parameterKeys: readonly ["scale", "resolution", "output_format", "preserve_details"];
|
|
308
|
+
}, {
|
|
309
|
+
readonly operation: "video.depth";
|
|
310
|
+
readonly status: "active";
|
|
311
|
+
readonly outputKind: "video";
|
|
312
|
+
readonly features: readonly ["video-depth"];
|
|
313
|
+
readonly parameterKeys: readonly ["resolution"];
|
|
314
|
+
}, {
|
|
315
|
+
readonly operation: "video.segment";
|
|
316
|
+
readonly status: "active";
|
|
317
|
+
readonly outputKind: "video";
|
|
318
|
+
readonly features: readonly ["video-segment"];
|
|
319
|
+
readonly parameterKeys: readonly ["resolution"];
|
|
291
320
|
}];
|
|
292
321
|
declare const NEXRA_MEDIA_INPUT_SCHEMAS: Readonly<Record<NexraPublishedMediaOperation, JsonObject>>;
|
|
293
322
|
declare function nexraMediaInputSchema(operation: NexraMediaOperation): JsonObject | undefined;
|
|
@@ -296,4 +325,4 @@ declare function nexraMediaOperationForMode(mode: string): NexraPublishedMediaOp
|
|
|
296
325
|
/** Narrow the shared category vocabulary for one Experience Center input mode. */
|
|
297
326
|
declare function nexraMediaInputSchemaForMode(mode: string): JsonObject | undefined;
|
|
298
327
|
|
|
299
|
-
export { type AssetImportRequest as A, type NexraMediaInputMode as B, type NexraMediaInputSlot as C, type NexraMediaKind as D, type NexraMediaOperation as E, type NexraMediaOperationDefinition as F, type NexraMediaParameter as G, type NexraMediaParameterConstraint as H, type NexraMediaSource as I, type NexraPublishedMediaOperation as J, type
|
|
328
|
+
export { type AssetImportRequest as A, type NexraMediaInputMode as B, type NexraMediaInputSlot as C, type NexraMediaKind as D, type NexraMediaOperation as E, type NexraMediaOperationDefinition as F, type NexraMediaParameter as G, type NexraMediaParameterConstraint as H, type NexraMediaSource as I, type NexraPublishedMediaOperation as J, type NexraResourceContentPart as K, type NexraTextContentPart as L, MEDIA_KINDS as M, type NexraImageLayer as N, type NexraVideoContentPart as O, type NexraVideoDepthInput as P, type NexraVideoGenerateInput as Q, type NexraVideoKeyframeContentPart as R, type NexraVideoUpscaleInput as S, isNexraMediaInput as T, nexraMediaInputSchema as U, nexraMediaInputSchemaForMode as V, nexraMediaOperationForMode as W, type AssetInput as a, type AssetReference as b, type AssetUploadOptions as c, type MediaAsset as d, type MediaAssetStatus as e, type MediaKind as f, type NexraImageLayerDecompositionOutput as g, type AssetCertificationRequest as h, type AssetCertification as i, type AssetCertificationWaitOptions as j, NEXRA_GENERATION_OPERATIONS as k, NEXRA_MEDIA_API_VERSION as l, NEXRA_MEDIA_FEATURES as m, NEXRA_MEDIA_INPUT_SCHEMAS as n, NEXRA_MEDIA_OPERATIONS as o, NEXRA_MEDIA_OPERATION_DEFINITIONS as p, NEXRA_PUBLISHED_MEDIA_OPERATIONS as q, type NexraAudioContentPart as r, type NexraAudioGenerateInput as s, type NexraGenerationOperation as t, type NexraImageContentPart as u, type NexraImageGenerateInput as v, type NexraImageUpscaleInput as w, type NexraMediaContentPart as x, type NexraMediaFeature as y, type NexraMediaInputByOperation as z };
|
|
@@ -109,6 +109,8 @@ interface TaskModelSummary {
|
|
|
109
109
|
}
|
|
110
110
|
interface TaskModel extends TaskModelSummary {
|
|
111
111
|
description?: string;
|
|
112
|
+
/** Code-owned contracts for documentation; endpoints remains executable supply only. */
|
|
113
|
+
documentedEndpoints?: ModelEndpointSummary[];
|
|
112
114
|
regions: string[];
|
|
113
115
|
metadata?: JsonObject;
|
|
114
116
|
/** Public list and customer-facing sale prices. Channel costs are never exposed here. */
|
package/dist/media.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { k as NEXRA_GENERATION_OPERATIONS, l as NEXRA_MEDIA_API_VERSION, m as NEXRA_MEDIA_FEATURES, n as NEXRA_MEDIA_INPUT_SCHEMAS, o as NEXRA_MEDIA_OPERATIONS, p as NEXRA_MEDIA_OPERATION_DEFINITIONS, q as NEXRA_PUBLISHED_MEDIA_OPERATIONS, r as NexraAudioContentPart, s as NexraAudioGenerateInput, t as NexraGenerationOperation, u as NexraImageContentPart, v as NexraImageGenerateInput, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput, w as NexraImageUpscaleInput, x as NexraMediaContentPart, y as NexraMediaFeature, z as NexraMediaInputByOperation, B as NexraMediaInputMode, C as NexraMediaInputSlot, D as NexraMediaKind, E as NexraMediaOperation, F as NexraMediaOperationDefinition, G as NexraMediaParameter, H as NexraMediaParameterConstraint, I as NexraMediaSource, J as NexraPublishedMediaOperation, K as
|
|
1
|
+
export { k as NEXRA_GENERATION_OPERATIONS, l as NEXRA_MEDIA_API_VERSION, m as NEXRA_MEDIA_FEATURES, n as NEXRA_MEDIA_INPUT_SCHEMAS, o as NEXRA_MEDIA_OPERATIONS, p as NEXRA_MEDIA_OPERATION_DEFINITIONS, q as NEXRA_PUBLISHED_MEDIA_OPERATIONS, r as NexraAudioContentPart, s as NexraAudioGenerateInput, t as NexraGenerationOperation, u as NexraImageContentPart, v as NexraImageGenerateInput, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput, w as NexraImageUpscaleInput, x as NexraMediaContentPart, y as NexraMediaFeature, z as NexraMediaInputByOperation, B as NexraMediaInputMode, C as NexraMediaInputSlot, D as NexraMediaKind, E as NexraMediaOperation, F as NexraMediaOperationDefinition, G as NexraMediaParameter, H as NexraMediaParameterConstraint, I as NexraMediaSource, J as NexraPublishedMediaOperation, K as NexraResourceContentPart, L as NexraTextContentPart, O as NexraVideoContentPart, P as NexraVideoDepthInput, Q as NexraVideoGenerateInput, R as NexraVideoKeyframeContentPart, S as NexraVideoUpscaleInput, T as isNexraMediaInput, U as nexraMediaInputSchema, V as nexraMediaInputSchemaForMode, W as nexraMediaOperationForMode } from './media-Co8S2qEM.js';
|
|
2
2
|
import './json-Cz0MkWQn.js';
|
package/dist/media.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as AssetUploadOptions, d as MediaAsset, e as MediaAssetStatus, f as MediaKind, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput } from './media-
|
|
2
|
-
export { e as CreateNexraDisplayQuoteBatchRequest, C as CreateNexraQuoteRequest, F as FetchLike, M as MediaGeometryField, k as MediaGeometryProjection, z as ModelCapabilitySummary, A as ModelDateVersion, B as ModelEndpointSummary, D as ModelModality, x as ModelResourceList, E as ModelResourceOption, w as ModelSchema, u as ModelSearchParams, l as NexraBillingCurrency, g as NexraCatalogRevision, y as NexraClientOptions, f as NexraDisplayQuoteBatch, G as NexraDisplayQuoteBatchEntry, n as NexraModelOperation, h as NexraModelSpec, j as NexraModelSpecFilter, d as NexraQuote, o as NexraSalePrice, c as NexraSalePriceList, p as NexraSettlement, v as TaskModel, T as TaskModelSummary, U as UnifiedMediaGeometry } from './media-geometry-
|
|
1
|
+
export { A as AssetImportRequest, a as AssetInput, b as AssetReference, c as AssetUploadOptions, d as MediaAsset, e as MediaAssetStatus, f as MediaKind, N as NexraImageLayer, g as NexraImageLayerDecompositionOutput } from './media-Co8S2qEM.js';
|
|
2
|
+
export { e as CreateNexraDisplayQuoteBatchRequest, C as CreateNexraQuoteRequest, F as FetchLike, M as MediaGeometryField, k as MediaGeometryProjection, z as ModelCapabilitySummary, A as ModelDateVersion, B as ModelEndpointSummary, D as ModelModality, x as ModelResourceList, E as ModelResourceOption, w as ModelSchema, u as ModelSearchParams, l as NexraBillingCurrency, g as NexraCatalogRevision, y as NexraClientOptions, f as NexraDisplayQuoteBatch, G as NexraDisplayQuoteBatchEntry, n as NexraModelOperation, h as NexraModelSpec, j as NexraModelSpecFilter, d as NexraQuote, o as NexraSalePrice, c as NexraSalePriceList, p as NexraSettlement, v as TaskModel, T as TaskModelSummary, U as UnifiedMediaGeometry } from './media-geometry-BS4DZh4B.js';
|
|
3
3
|
export { C as CursorPage, a as JsonObject, b as JsonPrimitive, J as JsonValue } from './json-Cz0MkWQn.js';
|
|
4
4
|
export { A as ApiErrorPayload, N as NexraError, a as PublicError, b as PublicErrorContext, P as PublicErrorFields } from './errors-DJZuAKoO.js';
|
|
5
|
-
export { d as CreateTaskOptions, e as CreateTaskRequest, C as CreateVoiceRequest, f as RequestDetails, b as RunResult, R as RunTaskOptions, c as Task, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, c as TaskResult, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, V as Voice, a as VoiceCreation, W as WaitTaskOptions, v as WatchTaskOptions } from './voices-
|
|
5
|
+
export { d as CreateTaskOptions, e as CreateTaskRequest, C as CreateVoiceRequest, f as RequestDetails, b as RunResult, R as RunTaskOptions, c as Task, h as TaskCost, i as TaskError, j as TaskEvent, k as TaskEventType, l as TaskListParams, m as TaskPage, n as TaskProgress, o as TaskReceipt, c as TaskResult, p as TaskStatus, q as TaskTiming, r as TaskUsage, s as TaskWebhookConfig, t as TerminalTaskStatus, u as VerifyWebhookOptions, V as Voice, a as VoiceCreation, W as WaitTaskOptions, v as WatchTaskOptions } from './voices-Bzt4nV1r.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as AssetUploadOptions, d as MediaAsset, A as AssetImportRequest, h as AssetCertificationRequest, i as AssetCertification, j as AssetCertificationWaitOptions } from './media-
|
|
2
|
-
import { H as HttpTransport, p as NexraSettlement } from './media-geometry-
|
|
1
|
+
import { c as AssetUploadOptions, d as MediaAsset, A as AssetImportRequest, h as AssetCertificationRequest, i as AssetCertification, j as AssetCertificationWaitOptions } from './media-Co8S2qEM.js';
|
|
2
|
+
import { H as HttpTransport, p as NexraSettlement } from './media-geometry-BS4DZh4B.js';
|
|
3
3
|
import { a as JsonObject, J as JsonValue, C as CursorPage } from './json-Cz0MkWQn.js';
|
|
4
4
|
import { P as PublicErrorFields, a as PublicError, b as PublicErrorContext, N as NexraError } from './errors-DJZuAKoO.js';
|
|
5
5
|
|
|
@@ -207,6 +207,8 @@ type TaskResult<TOutput = JsonValue> = Pick<Task<TOutput>, "id" | "model" | "sta
|
|
|
207
207
|
/** Platform request details, used by both managed Tasks and native proxy requests. */
|
|
208
208
|
interface RequestDetails extends PublicErrorFields {
|
|
209
209
|
id: string;
|
|
210
|
+
/** Owning Nexra account, used to separate users in system request history. */
|
|
211
|
+
accountId?: string | null;
|
|
210
212
|
nexraRequestId?: string;
|
|
211
213
|
taskId: string | null;
|
|
212
214
|
method: string;
|