@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.
@@ -1555,8 +1555,6 @@ declare enum Type {
1555
1555
  type TypeWithLiterals = Type | 'UNKNOWN' | 'EPHEMERAL';
1556
1556
  declare enum Model {
1557
1557
  UNKNOWN = "UNKNOWN",
1558
- /** anthropic.claude-3-haiku-20240307-v1:0 */
1559
- CLAUDE_3_HAIKU_1_0 = "CLAUDE_3_HAIKU_1_0",
1560
1558
  CLAUDE_4_SONNET_1_0 = "CLAUDE_4_SONNET_1_0",
1561
1559
  /** us.anthropic.claude-sonnet-4-5-20250929-v1:0 */
1562
1560
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
@@ -1568,7 +1566,7 @@ declare enum Model {
1568
1566
  CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1569
1567
  }
1570
1568
  /** @enumType */
1571
- 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';
1569
+ 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';
1572
1570
  interface AnthropicClaudeMessage {
1573
1571
  /** The role of the message author. */
1574
1572
  role?: RoleWithLiterals;
@@ -10572,7 +10570,10 @@ interface CommonContentTaskResponse {
10572
10570
  executionExpiresAfter?: number | null;
10573
10571
  /** The token usage for the request. */
10574
10572
  usage?: TaskUsage;
10575
- /** 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
+ */
10576
10577
  microcentsSpent?: string | null;
10577
10578
  }
10578
10579
  interface TaskError {
@@ -14341,6 +14342,11 @@ interface GetResultRequest {
14341
14342
  * @format GUID
14342
14343
  */
14343
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;
14344
14350
  }
14345
14351
  interface GetTaskResultRequest {
14346
14352
  /**
@@ -14455,6 +14461,8 @@ interface GetResultResponse {
14455
14461
  status?: string | null;
14456
14462
  /** Result object for the generated image */
14457
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;
14458
14466
  }
14459
14467
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14460
14468
  videoInferenceResponse?: VideoInferenceResponse;
@@ -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";