@sap-ai-sdk/core 2.13.1-20260806073700.0 → 2.14.0
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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model-types.d.ts +0 -5
- package/dist/model-types.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export type { CustomRequestConfig, EndpointOptions } from './http-client.ts';
|
|
|
2
2
|
export { executeRequest } from './http-client.ts';
|
|
3
3
|
export { getAiCoreDestination } from './context.ts';
|
|
4
4
|
export { OpenApiRequestBuilder } from './openapi-request-builder.ts';
|
|
5
|
-
export type { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, AzureOpenAiResponsesModel,
|
|
5
|
+
export type { AzureOpenAiChatModel, AzureOpenAiEmbeddingModel, AzureOpenAiResponsesModel, GcpVertexAiChatModel, GcpVertexAiEmbeddingModel, AwsBedrockChatModel, AiCoreOpenSourceChatModel, AiCoreOpenSourceEmbeddingModel, AwsBedrockEmbeddingModel, PerplexityChatModel, SapRptModel } from './model-types.ts';
|
|
6
6
|
export { SseStream, LineDecoder, SSEDecoder } from './stream/index.ts';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,yBAAyB,EACzB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,mBAAmB,EACnB,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAcrE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/model-types.d.ts
CHANGED
|
@@ -12,11 +12,6 @@ export type AzureOpenAiResponsesModel = LiteralUnion<'gpt-5.3-codex'>;
|
|
|
12
12
|
* Azure OpenAI models for embedding.
|
|
13
13
|
*/
|
|
14
14
|
export type AzureOpenAiEmbeddingModel = LiteralUnion<'text-embedding-3-small' | 'text-embedding-3-large'>;
|
|
15
|
-
/**
|
|
16
|
-
* Azure OpenAI models for the Realtime (speech-to-speech) API.
|
|
17
|
-
* Currently only `gpt-realtime` is supported by SAP AI Core; other realtime scenarios (e.g. transcription, translation) are not fully supported.
|
|
18
|
-
*/
|
|
19
|
-
export type AzureOpenAiRealtimeModel = LiteralUnion<'gpt-realtime'>;
|
|
20
15
|
/**
|
|
21
16
|
* GCP Vertex AI models for chat completion.
|
|
22
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-types.d.ts","sourceRoot":"","sources":["../src/model-types.ts"],"names":[],"mappings":"AAAA,KAAK,YAAY,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAC3C,cAAc,GACd,OAAO,GACP,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,SAAS,GACT,cAAc,GACd,SAAS,GACT,SAAS,CACZ,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,eAAe,CAAC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAClD,wBAAwB,GAAG,wBAAwB,CACpD,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"model-types.d.ts","sourceRoot":"","sources":["../src/model-types.ts"],"names":[],"mappings":"AAAA,KAAK,YAAY,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAE5E;;GAEG;AACH,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
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"dist/**/*.d.ts.map"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@sap-cloud-sdk/connectivity": "^4.
|
|
36
|
-
"@sap-cloud-sdk/http-client": "^4.
|
|
37
|
-
"@sap-cloud-sdk/openapi": "^4.
|
|
38
|
-
"@sap-cloud-sdk/util": "^4.
|
|
35
|
+
"@sap-cloud-sdk/connectivity": "^4.8.0",
|
|
36
|
+
"@sap-cloud-sdk/http-client": "^4.8.0",
|
|
37
|
+
"@sap-cloud-sdk/openapi": "^4.8.0",
|
|
38
|
+
"@sap-cloud-sdk/util": "^4.8.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"vitest": "4.1.10"
|