@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.
@@ -1551,8 +1551,6 @@ declare enum Type {
1551
1551
  type TypeWithLiterals = Type | 'UNKNOWN' | 'EPHEMERAL';
1552
1552
  declare enum Model {
1553
1553
  UNKNOWN = "UNKNOWN",
1554
- /** anthropic.claude-3-haiku-20240307-v1:0 */
1555
- CLAUDE_3_HAIKU_1_0 = "CLAUDE_3_HAIKU_1_0",
1556
1554
  CLAUDE_4_SONNET_1_0 = "CLAUDE_4_SONNET_1_0",
1557
1555
  /** us.anthropic.claude-sonnet-4-5-20250929-v1:0 */
1558
1556
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
@@ -1564,7 +1562,7 @@ declare enum Model {
1564
1562
  CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1565
1563
  }
1566
1564
  /** @enumType */
1567
- 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';
1565
+ 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';
1568
1566
  interface AnthropicClaudeMessage {
1569
1567
  /** The role of the message author. */
1570
1568
  role?: RoleWithLiterals;
@@ -10568,7 +10566,10 @@ interface CommonContentTaskResponse {
10568
10566
  executionExpiresAfter?: number | null;
10569
10567
  /** The token usage for the request. */
10570
10568
  usage?: TaskUsage;
10571
- /** The cost of the request in microcents. */
10569
+ /**
10570
+ * The cost of the request in microcents. Only set once the task has succeeded;
10571
+ * left unset when the model price or usage cannot be resolved.
10572
+ */
10572
10573
  microcentsSpent?: string | null;
10573
10574
  }
10574
10575
  interface TaskError {
@@ -14337,6 +14338,11 @@ interface GetResultRequest {
14337
14338
  * @format GUID
14338
14339
  */
14339
14340
  _id?: string | null;
14341
+ /**
14342
+ * The model the task was generated with. Optional - when provided and the task is Ready,
14343
+ * the response includes microcents_spent computed for this model.
14344
+ */
14345
+ model?: GenerateAnImageModelWithLiterals;
14340
14346
  }
14341
14347
  interface GetTaskResultRequest {
14342
14348
  /**
@@ -14451,6 +14457,8 @@ interface GetResultResponse {
14451
14457
  status?: string | null;
14452
14458
  /** Result object for the generated image */
14453
14459
  result?: ResultObject;
14460
+ /** Cost of the request in microcents. Only set once the task is Ready and the model was provided in the request. */
14461
+ microcentsSpent?: string | null;
14454
14462
  }
14455
14463
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14456
14464
  videoInferenceResponse?: VideoInferenceResponse;
@@ -3612,7 +3612,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
3612
3612
  })(Type || {});
3613
3613
  var Model = /* @__PURE__ */ ((Model2) => {
3614
3614
  Model2["UNKNOWN"] = "UNKNOWN";
3615
- Model2["CLAUDE_3_HAIKU_1_0"] = "CLAUDE_3_HAIKU_1_0";
3616
3615
  Model2["CLAUDE_4_SONNET_1_0"] = "CLAUDE_4_SONNET_1_0";
3617
3616
  Model2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
3618
3617
  Model2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";