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