@openrouter/sdk 1.3.15 → 1.3.17
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/esm/funcs/alphaDecisionsCreate.d.ts +1 -1
- package/esm/funcs/alphaDecisionsCreate.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/responsesrequest.d.ts +1 -1
- package/esm/sdk/decisions.d.ts +1 -1
- package/esm/sdk/decisions.js +1 -1
- package/jsr.json +1 -1
- package/package.json +7 -7
|
@@ -10,7 +10,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
10
10
|
import { APIPromise } from "../types/async.js";
|
|
11
11
|
import { Result } from "../types/fp.js";
|
|
12
12
|
/**
|
|
13
|
-
* Submit a Decisions
|
|
13
|
+
* Submit a Decisions request
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Submits a Decisions request to the Decisions router
|
|
@@ -15,7 +15,7 @@ import { CreateApiAlphaDecisionsServerList } from "../models/operations/createap
|
|
|
15
15
|
import * as operations from "../models/operations/index.js";
|
|
16
16
|
import { APIPromise } from "../types/async.js";
|
|
17
17
|
/**
|
|
18
|
-
* Submit a Decisions
|
|
18
|
+
* Submit a Decisions request
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
21
|
* Submits a Decisions request to the Decisions router
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -50,8 +50,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
50
50
|
export declare const SDK_METADATA: {
|
|
51
51
|
readonly language: "typescript";
|
|
52
52
|
readonly openapiDocVersion: "1.0.0";
|
|
53
|
-
readonly sdkVersion: "1.3.
|
|
53
|
+
readonly sdkVersion: "1.3.17";
|
|
54
54
|
readonly genVersion: "2.914.0";
|
|
55
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.3.
|
|
55
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.3.17 2.914.0 1.0.0 @openrouter/sdk";
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -29,8 +29,8 @@ export function serverURLFromOptions(options) {
|
|
|
29
29
|
export const SDK_METADATA = {
|
|
30
30
|
language: "typescript",
|
|
31
31
|
openapiDocVersion: "1.0.0",
|
|
32
|
-
sdkVersion: "1.3.
|
|
32
|
+
sdkVersion: "1.3.17",
|
|
33
33
|
genVersion: "2.914.0",
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 1.3.
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 1.3.17 2.914.0 1.0.0 @openrouter/sdk",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -210,7 +210,7 @@ export type ResponsesRequest = {
|
|
|
210
210
|
plugins?: Array<AutoBetaRouterPlugin | AutoRouterPlugin | ContextCompressionPlugin | FileParserPlugin | FusionPlugin | ModerationPlugin | ParetoRouterPlugin | ResponseHealingPlugin | WebSearchPlugin | WebFetchPlugin> | undefined;
|
|
211
211
|
presencePenalty?: number | null | undefined;
|
|
212
212
|
/**
|
|
213
|
-
* Not supported.
|
|
213
|
+
* Not supported on this proxy. Each response request is independent: no responses are stored, so a previous response cannot be referenced. Requests with a non-null value are rejected with a 400 error. Send the full conversation history in `input` instead.
|
|
214
214
|
*/
|
|
215
215
|
previousResponseId?: any | undefined;
|
|
216
216
|
prompt?: StoredPromptTemplate | null | undefined;
|
package/esm/sdk/decisions.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as models from "../models/index.js";
|
|
|
3
3
|
import * as operations from "../models/operations/index.js";
|
|
4
4
|
export declare class Decisions extends ClientSDK {
|
|
5
5
|
/**
|
|
6
|
-
* Submit a Decisions
|
|
6
|
+
* Submit a Decisions request
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
9
|
* Submits a Decisions request to the Decisions router
|
package/esm/sdk/decisions.js
CHANGED
|
@@ -7,7 +7,7 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
7
7
|
import { unwrapAsync } from "../types/fp.js";
|
|
8
8
|
export class Decisions extends ClientSDK {
|
|
9
9
|
/**
|
|
10
|
-
* Submit a Decisions
|
|
10
|
+
* Submit a Decisions request
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
13
|
* Submits a Decisions request to the Decisions router
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openrouter/sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.17",
|
|
4
4
|
"author": "OpenRouter",
|
|
5
5
|
"description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.",
|
|
6
6
|
"keywords": [
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"lint": "eslint --cache --max-warnings=0 src",
|
|
74
74
|
"build": "tsc",
|
|
75
75
|
"prepublishOnly": "npm run build",
|
|
76
|
-
"test:e2e": "vitest --run --project e2e",
|
|
77
|
-
"test:watch": "vitest --watch --project unit",
|
|
78
|
-
"compile": "tsc",
|
|
79
|
-
"test:transit": "exit 0",
|
|
80
76
|
"typecheck": "tsc --noEmit",
|
|
81
77
|
"typecheck:transit": "exit 0",
|
|
82
|
-
"
|
|
78
|
+
"compile": "tsc",
|
|
83
79
|
"prepare": "npm run build",
|
|
84
|
-
"test": "vitest --run --project unit"
|
|
80
|
+
"test": "vitest --run --project unit",
|
|
81
|
+
"postinstall": "node scripts/check-types.js || true",
|
|
82
|
+
"test:e2e": "vitest --run --project e2e",
|
|
83
|
+
"test:transit": "exit 0",
|
|
84
|
+
"test:watch": "vitest --watch --project unit"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {},
|
|
87
87
|
"devDependencies": {
|