@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.
@@ -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
  /**
@@ -14436,6 +14444,10 @@ interface V1GetResultResponse {
14436
14444
  * @maxLength 100
14437
14445
  */
14438
14446
  status?: string | null;
14447
+ /** Cost of the request in microcents. Only set once the prediction has succeeded. */
14448
+ microcentsSpent?: string | null;
14449
+ /** Token counts */
14450
+ tokenUsage?: CreatePredictionResponseTokenUsage;
14439
14451
  }
14440
14452
  interface GetResultResponse {
14441
14453
  /**
@@ -14451,6 +14463,8 @@ interface GetResultResponse {
14451
14463
  status?: string | null;
14452
14464
  /** Result object for the generated image */
14453
14465
  result?: ResultObject;
14466
+ /** Cost of the request in microcents. Only set once the task is Ready and the model was provided in the request. */
14467
+ microcentsSpent?: string | null;
14454
14468
  }
14455
14469
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14456
14470
  videoInferenceResponse?: VideoInferenceResponse;