@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.
@@ -10568,7 +10568,10 @@ interface CommonContentTaskResponse {
10568
10568
  executionExpiresAfter?: number | null;
10569
10569
  /** The token usage for the request. */
10570
10570
  usage?: TaskUsage;
10571
- /** The cost of the request in microcents. */
10571
+ /**
10572
+ * The cost of the request in microcents. Only set once the task has succeeded;
10573
+ * left unset when the model price or usage cannot be resolved.
10574
+ */
10572
10575
  microcentsSpent?: string | null;
10573
10576
  }
10574
10577
  interface TaskError {
@@ -14337,6 +14340,11 @@ interface GetResultRequest {
14337
14340
  * @format GUID
14338
14341
  */
14339
14342
  _id?: string | null;
14343
+ /**
14344
+ * The model the task was generated with. Optional - when provided and the task is Ready,
14345
+ * the response includes microcents_spent computed for this model.
14346
+ */
14347
+ model?: GenerateAnImageModelWithLiterals;
14340
14348
  }
14341
14349
  interface GetTaskResultRequest {
14342
14350
  /**
@@ -14451,6 +14459,8 @@ interface GetResultResponse {
14451
14459
  status?: string | null;
14452
14460
  /** Result object for the generated image */
14453
14461
  result?: ResultObject;
14462
+ /** Cost of the request in microcents. Only set once the task is Ready and the model was provided in the request. */
14463
+ microcentsSpent?: string | null;
14454
14464
  }
14455
14465
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14456
14466
  videoInferenceResponse?: VideoInferenceResponse;