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