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