@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.
@@ -1531,10 +1531,11 @@ declare enum Model {
1531
1531
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
1532
1532
  CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
1533
1533
  CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
1534
- CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
1534
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0",
1535
+ CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1535
1536
  }
1536
1537
  /** @enumType */
1537
- 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';
1538
+ 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';
1538
1539
  interface AnthropicClaudeMessage {
1539
1540
  /** The role of the message author. */
1540
1541
  role?: RoleWithLiterals;
@@ -1740,6 +1741,12 @@ interface Tool {
1740
1741
  type?: string | null;
1741
1742
  /** Maximum uses of a tool allowed to the model. Currently used only by `web_search` */
1742
1743
  maxUses?: number | null;
1744
+ /**
1745
+ * Optional concrete example inputs for this tool. Each example is a JSON object that must
1746
+ * validate against `input_schema`. Forwarded verbatim to the Claude model on Bedrock.
1747
+ * @maxSize 100
1748
+ */
1749
+ inputExamples?: Record<string, any>[] | null;
1743
1750
  }
1744
1751
  interface ToolChoice {
1745
1752
  /**
@@ -1926,10 +1933,11 @@ declare enum ClaudeModel {
1926
1933
  CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
1927
1934
  CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0",
1928
1935
  CLAUDE_4_6_OPUS_1_0 = "CLAUDE_4_6_OPUS_1_0",
1929
- CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0"
1936
+ CLAUDE_4_6_SONNET_1_0 = "CLAUDE_4_6_SONNET_1_0",
1937
+ CLAUDE_4_7_OPUS_1_0 = "CLAUDE_4_7_OPUS_1_0"
1930
1938
  }
1931
1939
  /** @enumType */
1932
- 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';
1940
+ 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';
1933
1941
  interface V1AnthropicClaudeMessage {
1934
1942
  /** The role of the message author. */
1935
1943
  role?: V1MessageRoleRoleWithLiterals;
@@ -2135,6 +2143,12 @@ interface InvokeAnthropicClaudeModelRequestTool {
2135
2143
  type?: string | null;
2136
2144
  /** Maximum uses of a tool allowed to the model. Currently used only by `web_search` */
2137
2145
  maxUses?: number | null;
2146
+ /**
2147
+ * Optional concrete example inputs for this tool. Each example is a JSON object that must
2148
+ * validate against `input_schema`. Forwarded verbatim to the Claude model on Vertex.
2149
+ * @maxSize 100
2150
+ */
2151
+ inputExamples?: Record<string, any>[] | null;
2138
2152
  }
2139
2153
  interface GoogleproxyV1ToolChoice {
2140
2154
  /**
@@ -3142,6 +3156,13 @@ interface CustomTool {
3142
3156
  inputSchema?: V1InputSchema;
3143
3157
  /** Enables prompt caching: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching. */
3144
3158
  cacheControl?: V1CacheControl;
3159
+ /**
3160
+ * Optional concrete example inputs for this tool. Each example is a JSON object that must validate
3161
+ * against `input_schema`. Anthropic forwards these to the model to reduce schema-validation errors.
3162
+ * See: https://platform.claude.com/docs/en/agents-and-tools/tool-use/implement-tool-use
3163
+ * @maxSize 100
3164
+ */
3165
+ inputExamples?: Record<string, any>[] | null;
3145
3166
  }
3146
3167
  interface V1InputSchema {
3147
3168
  /**
@@ -7734,6 +7755,13 @@ interface GatewayToolDefinitionCustomTool {
7734
7755
  description?: string | null;
7735
7756
  /** The parameters the tool accepts, described as a JSON Schema object. */
7736
7757
  parameters?: Record<string, any> | null;
7758
+ /**
7759
+ * Optional concrete example inputs for this tool. Forwarded to providers that natively support
7760
+ * tool input examples (e.g. Anthropic `input_examples`). Each example must validate against
7761
+ * `parameters`. Silently ignored by providers that do not support them (OpenAI, Gemini, etc.).
7762
+ * @maxSize 100
7763
+ */
7764
+ inputExamples?: Record<string, any>[] | null;
7737
7765
  }
7738
7766
  interface BuiltInTool {
7739
7767
  /**
package/build/cjs/meta.js CHANGED
@@ -3456,6 +3456,7 @@ var Model = /* @__PURE__ */ ((Model2) => {
3456
3456
  Model2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
3457
3457
  Model2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
3458
3458
  Model2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
3459
+ Model2["CLAUDE_4_7_OPUS_1_0"] = "CLAUDE_4_7_OPUS_1_0";
3459
3460
  return Model2;
3460
3461
  })(Model || {});
3461
3462
  var Role = /* @__PURE__ */ ((Role2) => {
@@ -3504,6 +3505,7 @@ var ClaudeModel = /* @__PURE__ */ ((ClaudeModel2) => {
3504
3505
  ClaudeModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
3505
3506
  ClaudeModel2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
3506
3507
  ClaudeModel2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
3508
+ ClaudeModel2["CLAUDE_4_7_OPUS_1_0"] = "CLAUDE_4_7_OPUS_1_0";
3507
3509
  return ClaudeModel2;
3508
3510
  })(ClaudeModel || {});
3509
3511
  var V1MessageRoleRole = /* @__PURE__ */ ((V1MessageRoleRole2) => {