@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.
@@ -10566,7 +10566,10 @@ interface CommonContentTaskResponse {
10566
10566
  executionExpiresAfter?: number | null;
10567
10567
  /** The token usage for the request. */
10568
10568
  usage?: TaskUsage;
10569
- /** The cost of the request in microcents. */
10569
+ /**
10570
+ * The cost of the request in microcents. Only set once the task has succeeded;
10571
+ * left unset when the model price or usage cannot be resolved.
10572
+ */
10570
10573
  microcentsSpent?: string | null;
10571
10574
  }
10572
10575
  interface TaskError {
@@ -14335,6 +14338,11 @@ interface GetResultRequest {
14335
14338
  * @format GUID
14336
14339
  */
14337
14340
  _id?: string | null;
14341
+ /**
14342
+ * The model the task was generated with. Optional - when provided and the task is Ready,
14343
+ * the response includes microcents_spent computed for this model.
14344
+ */
14345
+ model?: GenerateAnImageModelWithLiterals;
14338
14346
  }
14339
14347
  interface GetTaskResultRequest {
14340
14348
  /**
@@ -14434,6 +14442,10 @@ interface V1GetResultResponse {
14434
14442
  * @maxLength 100
14435
14443
  */
14436
14444
  status?: string | null;
14445
+ /** Cost of the request in microcents. Only set once the prediction has succeeded. */
14446
+ microcentsSpent?: string | null;
14447
+ /** Token counts */
14448
+ tokenUsage?: CreatePredictionResponseTokenUsage;
14437
14449
  }
14438
14450
  interface GetResultResponse {
14439
14451
  /**
@@ -14449,6 +14461,8 @@ interface GetResultResponse {
14449
14461
  status?: string | null;
14450
14462
  /** Result object for the generated image */
14451
14463
  result?: ResultObject;
14464
+ /** Cost of the request in microcents. Only set once the task is Ready and the model was provided in the request. */
14465
+ microcentsSpent?: string | null;
14452
14466
  }
14453
14467
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14454
14468
  videoInferenceResponse?: VideoInferenceResponse;