@wix/auto_sdk_ai-gateway_generators 1.0.121 → 1.0.122

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.
@@ -10569,7 +10569,10 @@ interface CommonContentTaskResponse {
10569
10569
  executionExpiresAfter?: number | null;
10570
10570
  /** The token usage for the request. */
10571
10571
  usage?: TaskUsage;
10572
- /** The cost of the request in microcents. */
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
  /**
@@ -14452,6 +14460,8 @@ interface GetResultResponse {
14452
14460
  status?: string | null;
14453
14461
  /** Result object for the generated image */
14454
14462
  result?: ResultObject;
14463
+ /** Cost of the request in microcents. Only set once the task is Ready and the model was provided in the request. */
14464
+ microcentsSpent?: string | null;
14455
14465
  }
14456
14466
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14457
14467
  videoInferenceResponse?: VideoInferenceResponse;