@wix/auto_sdk_ai-gateway_generators 1.0.120 → 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.
@@ -1554,8 +1554,6 @@ declare enum Type {
1554
1554
  type TypeWithLiterals = Type | 'UNKNOWN' | 'EPHEMERAL';
1555
1555
  declare enum Model {
1556
1556
  UNKNOWN = "UNKNOWN",
1557
- /** anthropic.claude-3-haiku-20240307-v1:0 */
1558
- CLAUDE_3_HAIKU_1_0 = "CLAUDE_3_HAIKU_1_0",
1559
1557
  CLAUDE_4_SONNET_1_0 = "CLAUDE_4_SONNET_1_0",
1560
1558
  /** us.anthropic.claude-sonnet-4-5-20250929-v1:0 */
1561
1559
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
@@ -1567,7 +1565,7 @@ declare enum Model {
1567
1565
  CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1568
1566
  }
1569
1567
  /** @enumType */
1570
- type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0' | 'CLAUDE_4_7_OPUS_1_0';
1568
+ type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0' | 'CLAUDE_4_6_OPUS_1_0' | 'CLAUDE_4_6_SONNET_1_0' | 'CLAUDE_4_7_OPUS_1_0';
1571
1569
  interface AnthropicClaudeMessage {
1572
1570
  /** The role of the message author. */
1573
1571
  role?: RoleWithLiterals;
@@ -10571,7 +10569,10 @@ interface CommonContentTaskResponse {
10571
10569
  executionExpiresAfter?: number | null;
10572
10570
  /** The token usage for the request. */
10573
10571
  usage?: TaskUsage;
10574
- /** 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
+ */
10575
10576
  microcentsSpent?: string | null;
10576
10577
  }
10577
10578
  interface TaskError {
@@ -14340,6 +14341,11 @@ interface GetResultRequest {
14340
14341
  * @format GUID
14341
14342
  */
14342
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;
14343
14349
  }
14344
14350
  interface GetTaskResultRequest {
14345
14351
  /**
@@ -14454,6 +14460,8 @@ interface GetResultResponse {
14454
14460
  status?: string | null;
14455
14461
  /** Result object for the generated image */
14456
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;
14457
14465
  }
14458
14466
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14459
14467
  videoInferenceResponse?: VideoInferenceResponse;
package/build/cjs/meta.js CHANGED
@@ -3608,7 +3608,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
3608
3608
  })(Type || {});
3609
3609
  var Model = /* @__PURE__ */ ((Model2) => {
3610
3610
  Model2["UNKNOWN"] = "UNKNOWN";
3611
- Model2["CLAUDE_3_HAIKU_1_0"] = "CLAUDE_3_HAIKU_1_0";
3612
3611
  Model2["CLAUDE_4_SONNET_1_0"] = "CLAUDE_4_SONNET_1_0";
3613
3612
  Model2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
3614
3613
  Model2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";