@openrouter/sdk 1.5.46 → 1.5.47
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/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/byokproviderslug.d.ts +1 -0
- package/esm/models/byokproviderslug.js +1 -0
- package/esm/models/operations/createkeys.d.ts +1 -1
- package/esm/models/operations/listbyokkeys.d.ts +1 -0
- package/esm/models/operations/listbyokkeys.js +1 -0
- package/jsr.json +1 -1
- package/package.json +3 -3
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.5.
|
|
53
|
+
readonly sdkVersion: "1.5.47";
|
|
54
54
|
readonly genVersion: "2.950.13";
|
|
55
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.5.
|
|
55
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.5.47 2.950.13 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.5.
|
|
32
|
+
sdkVersion: "1.5.47",
|
|
33
33
|
genVersion: "2.950.13",
|
|
34
|
-
userAgent: "speakeasy-sdk/typescript 1.5.
|
|
34
|
+
userAgent: "speakeasy-sdk/typescript 1.5.47 2.950.13 1.0.0 @openrouter/sdk",
|
|
35
35
|
};
|
|
36
36
|
//# sourceMappingURL=config.js.map
|
|
@@ -92,6 +92,7 @@ export declare const BYOKProviderSlug: {
|
|
|
92
92
|
readonly Perplexity: "perplexity";
|
|
93
93
|
readonly Phala: "phala";
|
|
94
94
|
readonly Poolside: "poolside";
|
|
95
|
+
readonly Primalabs: "primalabs";
|
|
95
96
|
readonly Primeintellect: "primeintellect";
|
|
96
97
|
readonly Quiver: "quiver";
|
|
97
98
|
readonly Recraft: "recraft";
|
|
@@ -50,7 +50,7 @@ export declare const CreateKeysLimitReset: {
|
|
|
50
50
|
export type CreateKeysLimitReset = OpenEnum<typeof CreateKeysLimitReset>;
|
|
51
51
|
export type CreateKeysRequestBody = {
|
|
52
52
|
/**
|
|
53
|
-
* Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key.
|
|
53
|
+
* Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. A workspace-scoped management key may only name a member of its own workspace.
|
|
54
54
|
*/
|
|
55
55
|
creatorUserId?: string | null | undefined;
|
|
56
56
|
/**
|
|
@@ -116,6 +116,7 @@ export declare const Provider: {
|
|
|
116
116
|
readonly Perplexity: "perplexity";
|
|
117
117
|
readonly Phala: "phala";
|
|
118
118
|
readonly Poolside: "poolside";
|
|
119
|
+
readonly Primalabs: "primalabs";
|
|
119
120
|
readonly Primeintellect: "primeintellect";
|
|
120
121
|
readonly Quiver: "quiver";
|
|
121
122
|
readonly Recraft: "recraft";
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openrouter/sdk",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.47",
|
|
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": [
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"prepare": "npm run build",
|
|
79
79
|
"test": "vitest --run --project unit",
|
|
80
80
|
"test:e2e": "vitest --run --project e2e",
|
|
81
|
-
"typecheck:transit": "exit 0",
|
|
82
81
|
"test:transit": "exit 0",
|
|
83
82
|
"test:watch": "vitest --watch --project unit",
|
|
84
|
-
"typecheck": "tsc --noEmit"
|
|
83
|
+
"typecheck": "tsc --noEmit",
|
|
84
|
+
"typecheck:transit": "exit 0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
|