@wix/auto_sdk_ai-gateway_generators 1.0.121 → 1.0.123
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/build/cjs/index.d.ts +15 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +15 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +15 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +15 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +15 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +15 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +15 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +15 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -10570,7 +10570,10 @@ interface CommonContentTaskResponse {
|
|
|
10570
10570
|
executionExpiresAfter?: number | null;
|
|
10571
10571
|
/** The token usage for the request. */
|
|
10572
10572
|
usage?: TaskUsage;
|
|
10573
|
-
/**
|
|
10573
|
+
/**
|
|
10574
|
+
* The cost of the request in microcents. Only set once the task has succeeded;
|
|
10575
|
+
* left unset when the model price or usage cannot be resolved.
|
|
10576
|
+
*/
|
|
10574
10577
|
microcentsSpent?: string | null;
|
|
10575
10578
|
}
|
|
10576
10579
|
interface TaskError {
|
|
@@ -14339,6 +14342,11 @@ interface GetResultRequest {
|
|
|
14339
14342
|
* @format GUID
|
|
14340
14343
|
*/
|
|
14341
14344
|
id?: string | null;
|
|
14345
|
+
/**
|
|
14346
|
+
* The model the task was generated with. Optional - when provided and the task is Ready,
|
|
14347
|
+
* the response includes microcents_spent computed for this model.
|
|
14348
|
+
*/
|
|
14349
|
+
model?: GenerateAnImageModelWithLiterals;
|
|
14342
14350
|
}
|
|
14343
14351
|
interface GetTaskResultRequest {
|
|
14344
14352
|
/**
|
|
@@ -14438,6 +14446,10 @@ interface V1GetResultResponse {
|
|
|
14438
14446
|
* @maxLength 100
|
|
14439
14447
|
*/
|
|
14440
14448
|
status?: string | null;
|
|
14449
|
+
/** Cost of the request in microcents. Only set once the prediction has succeeded. */
|
|
14450
|
+
microcentsSpent?: string | null;
|
|
14451
|
+
/** Token counts */
|
|
14452
|
+
tokenUsage?: CreatePredictionResponseTokenUsage;
|
|
14441
14453
|
}
|
|
14442
14454
|
interface GetResultResponse {
|
|
14443
14455
|
/**
|
|
@@ -14453,6 +14465,8 @@ interface GetResultResponse {
|
|
|
14453
14465
|
status?: string | null;
|
|
14454
14466
|
/** Result object for the generated image */
|
|
14455
14467
|
result?: ResultObject;
|
|
14468
|
+
/** Cost of the request in microcents. Only set once the task is Ready and the model was provided in the request. */
|
|
14469
|
+
microcentsSpent?: string | null;
|
|
14456
14470
|
}
|
|
14457
14471
|
interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
|
|
14458
14472
|
videoInferenceResponse?: VideoInferenceResponse;
|