@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.
@@ -10570,7 +10570,10 @@ interface CommonContentTaskResponse {
10570
10570
  executionExpiresAfter?: number | null;
10571
10571
  /** The token usage for the request. */
10572
10572
  usage?: TaskUsage;
10573
- /** The cost of the request in microcents. */
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
  /**
@@ -14453,6 +14461,8 @@ interface GetResultResponse {
14453
14461
  status?: string | null;
14454
14462
  /** Result object for the generated image */
14455
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;
14456
14466
  }
14457
14467
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14458
14468
  videoInferenceResponse?: VideoInferenceResponse;