@wix/auto_sdk_ai-gateway_generators 1.0.83 → 1.0.84

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.
@@ -1528,10 +1528,11 @@ declare enum Model {
1528
1528
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
1529
1529
  CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
1530
1530
  CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
1531
- CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
1531
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0",
1532
+ CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1532
1533
  }
1533
1534
  /** @enumType */
1534
- type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_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';
1535
+ type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_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';
1535
1536
  interface AnthropicClaudeMessage {
1536
1537
  /** The role of the message author. */
1537
1538
  role?: RoleWithLiterals;
@@ -1737,6 +1738,12 @@ interface Tool {
1737
1738
  type?: string | null;
1738
1739
  /** Maximum uses of a tool allowed to the model. Currently used only by `web_search` */
1739
1740
  maxUses?: number | null;
1741
+ /**
1742
+ * Optional concrete example inputs for this tool. Each example is a JSON object that must
1743
+ * validate against `input_schema`. Forwarded verbatim to the Claude model on Bedrock.
1744
+ * @maxSize 100
1745
+ */
1746
+ inputExamples?: Record<string, any>[] | null;
1740
1747
  }
1741
1748
  interface ToolChoice {
1742
1749
  /**
@@ -1923,10 +1930,11 @@ declare enum ClaudeModel {
1923
1930
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
1924
1931
  CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
1925
1932
  CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
1926
- CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
1933
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0",
1934
+ CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1927
1935
  }
1928
1936
  /** @enumType */
1929
- type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_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';
1937
+ type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_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';
1930
1938
  interface V1AnthropicClaudeMessage {
1931
1939
  /** The role of the message author. */
1932
1940
  role?: V1MessageRoleRoleWithLiterals;
@@ -2132,6 +2140,12 @@ interface InvokeAnthropicClaudeModelRequestTool {
2132
2140
  type?: string | null;
2133
2141
  /** Maximum uses of a tool allowed to the model. Currently used only by `web_search` */
2134
2142
  maxUses?: number | null;
2143
+ /**
2144
+ * Optional concrete example inputs for this tool. Each example is a JSON object that must
2145
+ * validate against `input_schema`. Forwarded verbatim to the Claude model on Vertex.
2146
+ * @maxSize 100
2147
+ */
2148
+ inputExamples?: Record<string, any>[] | null;
2135
2149
  }
2136
2150
  interface GoogleproxyV1ToolChoice {
2137
2151
  /**
@@ -3139,6 +3153,13 @@ interface CustomTool {
3139
3153
  inputSchema?: V1InputSchema;
3140
3154
  /** Enables prompt caching: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching. */
3141
3155
  cacheControl?: V1CacheControl;
3156
+ /**
3157
+ * Optional concrete example inputs for this tool. Each example is a JSON object that must validate
3158
+ * against `input_schema`. Anthropic forwards these to the model to reduce schema-validation errors.
3159
+ * See: https://platform.claude.com/docs/en/agents-and-tools/tool-use/implement-tool-use
3160
+ * @maxSize 100
3161
+ */
3162
+ inputExamples?: Record<string, any>[] | null;
3142
3163
  }
3143
3164
  interface V1InputSchema {
3144
3165
  /**
@@ -7731,6 +7752,13 @@ interface GatewayToolDefinitionCustomTool {
7731
7752
  description?: string | null;
7732
7753
  /** The parameters the tool accepts, described as a JSON Schema object. */
7733
7754
  parameters?: Record<string, any> | null;
7755
+ /**
7756
+ * Optional concrete example inputs for this tool. Forwarded to providers that natively support
7757
+ * tool input examples (e.g. Anthropic `input_examples`). Each example must validate against
7758
+ * `parameters`. Silently ignored by providers that do not support them (OpenAI, Gemini, etc.).
7759
+ * @maxSize 100
7760
+ */
7761
+ inputExamples?: Record<string, any>[] | null;
7734
7762
  }
7735
7763
  interface BuiltInTool {
7736
7764
  /**
@@ -3315,6 +3315,7 @@ var Model = /* @__PURE__ */ ((Model2) => {
3315
3315
  Model2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
3316
3316
  Model2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
3317
3317
  Model2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
3318
+ Model2["CLAUDE_4_7_OPUS_1_0"] = "CLAUDE_4_7_OPUS_1_0";
3318
3319
  return Model2;
3319
3320
  })(Model || {});
3320
3321
  var Role = /* @__PURE__ */ ((Role2) => {
@@ -3363,6 +3364,7 @@ var ClaudeModel = /* @__PURE__ */ ((ClaudeModel2) => {
3363
3364
  ClaudeModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
3364
3365
  ClaudeModel2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
3365
3366
  ClaudeModel2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
3367
+ ClaudeModel2["CLAUDE_4_7_OPUS_1_0"] = "CLAUDE_4_7_OPUS_1_0";
3366
3368
  return ClaudeModel2;
3367
3369
  })(ClaudeModel || {});
3368
3370
  var V1MessageRoleRole = /* @__PURE__ */ ((V1MessageRoleRole2) => {