@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.
@@ -1553,8 +1553,6 @@ declare enum Type {
1553
1553
  type TypeWithLiterals = Type | 'UNKNOWN' | 'EPHEMERAL';
1554
1554
  declare enum Model {
1555
1555
  UNKNOWN = "UNKNOWN",
1556
- /** anthropic.claude-3-haiku-20240307-v1:0 */
1557
- CLAUDE_3_HAIKU_1_0 = "CLAUDE_3_HAIKU_1_0",
1558
1556
  CLAUDE_4_SONNET_1_0 = "CLAUDE_4_SONNET_1_0",
1559
1557
  /** us.anthropic.claude-sonnet-4-5-20250929-v1:0 */
1560
1558
  CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
@@ -1566,7 +1564,7 @@ declare enum Model {
1566
1564
  CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1567
1565
  }
1568
1566
  /** @enumType */
1569
- 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';
1567
+ 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';
1570
1568
  interface AnthropicClaudeMessage {
1571
1569
  /** The role of the message author. */
1572
1570
  role?: RoleWithLiterals;
@@ -10570,7 +10568,10 @@ interface CommonContentTaskResponse {
10570
10568
  executionExpiresAfter?: number | null;
10571
10569
  /** The token usage for the request. */
10572
10570
  usage?: TaskUsage;
10573
- /** 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
+ */
10574
10575
  microcentsSpent?: string | null;
10575
10576
  }
10576
10577
  interface TaskError {
@@ -14339,6 +14340,11 @@ interface GetResultRequest {
14339
14340
  * @format GUID
14340
14341
  */
14341
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;
14342
14348
  }
14343
14349
  interface GetTaskResultRequest {
14344
14350
  /**
@@ -14453,6 +14459,8 @@ interface GetResultResponse {
14453
14459
  status?: string | null;
14454
14460
  /** Result object for the generated image */
14455
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;
14456
14464
  }
14457
14465
  interface GetTaskResultResponse extends GetTaskResultResponseResponseOneOf {
14458
14466
  videoInferenceResponse?: VideoInferenceResponse;
@@ -3461,7 +3461,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
3461
3461
  })(Type || {});
3462
3462
  var Model = /* @__PURE__ */ ((Model2) => {
3463
3463
  Model2["UNKNOWN"] = "UNKNOWN";
3464
- Model2["CLAUDE_3_HAIKU_1_0"] = "CLAUDE_3_HAIKU_1_0";
3465
3464
  Model2["CLAUDE_4_SONNET_1_0"] = "CLAUDE_4_SONNET_1_0";
3466
3465
  Model2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
3467
3466
  Model2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";