@openrouter/sdk 1.2.25 → 1.2.27

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.
@@ -49,8 +49,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
49
49
  export declare const SDK_METADATA: {
50
50
  readonly language: "typescript";
51
51
  readonly openapiDocVersion: "1.0.0";
52
- readonly sdkVersion: "1.2.25";
52
+ readonly sdkVersion: "1.2.27";
53
53
  readonly genVersion: "2.914.0";
54
- readonly userAgent: "speakeasy-sdk/typescript 1.2.25 2.914.0 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 1.2.27 2.914.0 1.0.0 @openrouter/sdk";
55
55
  };
56
56
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -26,8 +26,8 @@ export function serverURLFromOptions(options) {
26
26
  export const SDK_METADATA = {
27
27
  language: "typescript",
28
28
  openapiDocVersion: "1.0.0",
29
- sdkVersion: "1.2.25",
29
+ sdkVersion: "1.2.27",
30
30
  genVersion: "2.914.0",
31
- userAgent: "speakeasy-sdk/typescript 1.2.25 2.914.0 1.0.0 @openrouter/sdk",
31
+ userAgent: "speakeasy-sdk/typescript 1.2.27 2.914.0 1.0.0 @openrouter/sdk",
32
32
  };
33
33
  //# sourceMappingURL=config.js.map
@@ -29,6 +29,7 @@ export declare const BYOKProviderSlug: {
29
29
  readonly Coreweave: "coreweave";
30
30
  readonly Crusoe: "crusoe";
31
31
  readonly Darkbloom: "darkbloom";
32
+ readonly Databricks: "databricks";
32
33
  readonly Decart: "decart";
33
34
  readonly Deepgram: "deepgram";
34
35
  readonly Deepinfra: "deepinfra";
@@ -32,6 +32,7 @@ export const BYOKProviderSlug = {
32
32
  Coreweave: "coreweave",
33
33
  Crusoe: "crusoe",
34
34
  Darkbloom: "darkbloom",
35
+ Databricks: "databricks",
35
36
  Decart: "decart",
36
37
  Deepgram: "deepgram",
37
38
  Deepinfra: "deepinfra",
@@ -104,6 +104,9 @@ export type ImageGenerationProviderPreferencesOptions = {
104
104
  darkbloom?: {
105
105
  [k: string]: any;
106
106
  } | undefined;
107
+ databricks?: {
108
+ [k: string]: any;
109
+ } | undefined;
107
110
  decart?: {
108
111
  [k: string]: any;
109
112
  } | undefined;
@@ -548,6 +551,9 @@ export type ImageGenerationProviderPreferencesOptions$Outbound = {
548
551
  darkbloom?: {
549
552
  [k: string]: any;
550
553
  } | undefined;
554
+ databricks?: {
555
+ [k: string]: any;
556
+ } | undefined;
551
557
  decart?: {
552
558
  [k: string]: any;
553
559
  } | undefined;
@@ -51,6 +51,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
51
51
  crucible: z.record(z.string(), z.any()).optional(),
52
52
  crusoe: z.record(z.string(), z.any()).optional(),
53
53
  darkbloom: z.record(z.string(), z.any()).optional(),
54
+ databricks: z.record(z.string(), z.any()).optional(),
54
55
  decart: z.record(z.string(), z.any()).optional(),
55
56
  deepgram: z.record(z.string(), z.any()).optional(),
56
57
  deepinfra: z.record(z.string(), z.any()).optional(),
@@ -53,6 +53,7 @@ export declare const Provider: {
53
53
  readonly Coreweave: "coreweave";
54
54
  readonly Crusoe: "crusoe";
55
55
  readonly Darkbloom: "darkbloom";
56
+ readonly Databricks: "databricks";
56
57
  readonly Decart: "decart";
57
58
  readonly Deepgram: "deepgram";
58
59
  readonly Deepinfra: "deepinfra";
@@ -36,6 +36,7 @@ export const Provider = {
36
36
  Coreweave: "coreweave",
37
37
  Crusoe: "crusoe",
38
38
  Darkbloom: "darkbloom",
39
+ Databricks: "databricks",
39
40
  Decart: "decart",
40
41
  Deepgram: "deepgram",
41
42
  Deepinfra: "deepinfra",
@@ -29,6 +29,7 @@ export declare const ProviderName: {
29
29
  readonly Crucible: "Crucible";
30
30
  readonly Crusoe: "Crusoe";
31
31
  readonly Darkbloom: "Darkbloom";
32
+ readonly Databricks: "Databricks";
32
33
  readonly Decart: "Decart";
33
34
  readonly Deepgram: "Deepgram";
34
35
  readonly DeepInfra: "DeepInfra";
@@ -32,6 +32,7 @@ export const ProviderName = {
32
32
  Crucible: "Crucible",
33
33
  Crusoe: "Crusoe",
34
34
  Darkbloom: "Darkbloom",
35
+ Databricks: "Databricks",
35
36
  Decart: "Decart",
36
37
  Deepgram: "Deepgram",
37
38
  DeepInfra: "DeepInfra",
@@ -99,6 +99,9 @@ export type ProviderOptions = {
99
99
  darkbloom?: {
100
100
  [k: string]: any;
101
101
  } | undefined;
102
+ databricks?: {
103
+ [k: string]: any;
104
+ } | undefined;
102
105
  decart?: {
103
106
  [k: string]: any;
104
107
  } | undefined;
@@ -498,6 +501,9 @@ export type ProviderOptions$Outbound = {
498
501
  darkbloom?: {
499
502
  [k: string]: any;
500
503
  } | undefined;
504
+ databricks?: {
505
+ [k: string]: any;
506
+ } | undefined;
501
507
  decart?: {
502
508
  [k: string]: any;
503
509
  } | undefined;
@@ -38,6 +38,7 @@ export const ProviderOptions$outboundSchema = z.object({
38
38
  crucible: z.record(z.string(), z.any()).optional(),
39
39
  crusoe: z.record(z.string(), z.any()).optional(),
40
40
  darkbloom: z.record(z.string(), z.any()).optional(),
41
+ databricks: z.record(z.string(), z.any()).optional(),
41
42
  decart: z.record(z.string(), z.any()).optional(),
42
43
  deepgram: z.record(z.string(), z.any()).optional(),
43
44
  deepinfra: z.record(z.string(), z.any()).optional(),
@@ -61,6 +61,7 @@ export declare const ProviderResponseProviderName: {
61
61
  readonly Crucible: "Crucible";
62
62
  readonly Crusoe: "Crusoe";
63
63
  readonly Darkbloom: "Darkbloom";
64
+ readonly Databricks: "Databricks";
64
65
  readonly Decart: "Decart";
65
66
  readonly Deepgram: "Deepgram";
66
67
  readonly DeepInfra: "DeepInfra";
@@ -65,6 +65,7 @@ export const ProviderResponseProviderName = {
65
65
  Crucible: "Crucible",
66
66
  Crusoe: "Crusoe",
67
67
  Darkbloom: "Darkbloom",
68
+ Databricks: "Databricks",
68
69
  Decart: "Decart",
69
70
  Deepgram: "Deepgram",
70
71
  DeepInfra: "DeepInfra",
@@ -120,6 +120,9 @@ export type VideoGenerationRequestOptions = {
120
120
  darkbloom?: {
121
121
  [k: string]: any;
122
122
  } | undefined;
123
+ databricks?: {
124
+ [k: string]: any;
125
+ } | undefined;
123
126
  decart?: {
124
127
  [k: string]: any;
125
128
  } | undefined;
@@ -590,6 +593,9 @@ export type VideoGenerationRequestOptions$Outbound = {
590
593
  darkbloom?: {
591
594
  [k: string]: any;
592
595
  } | undefined;
596
+ databricks?: {
597
+ [k: string]: any;
598
+ } | undefined;
593
599
  decart?: {
594
600
  [k: string]: any;
595
601
  } | undefined;
@@ -69,6 +69,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
69
69
  crucible: z.record(z.string(), z.any()).optional(),
70
70
  crusoe: z.record(z.string(), z.any()).optional(),
71
71
  darkbloom: z.record(z.string(), z.any()).optional(),
72
+ databricks: z.record(z.string(), z.any()).optional(),
72
73
  decart: z.record(z.string(), z.any()).optional(),
73
74
  deepgram: z.record(z.string(), z.any()).optional(),
74
75
  deepinfra: z.record(z.string(), z.any()).optional(),
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.2.25",
5
+ "version": "1.2.27",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openrouter/sdk",
3
- "version": "1.2.25",
3
+ "version": "1.2.27",
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,14 +73,14 @@
73
73
  "lint": "eslint --cache --max-warnings=0 src",
74
74
  "build": "tsc",
75
75
  "prepublishOnly": "npm run build",
76
- "compile": "tsc",
77
76
  "postinstall": "node scripts/check-types.js || true",
77
+ "prepare": "npm run build",
78
78
  "test": "vitest --run --project unit",
79
79
  "test:e2e": "vitest --run --project e2e",
80
+ "test:watch": "vitest --watch --project unit",
80
81
  "typecheck": "tsc --noEmit",
81
- "prepare": "npm run build",
82
+ "compile": "tsc",
82
83
  "test:transit": "exit 0",
83
- "test:watch": "vitest --watch --project unit",
84
84
  "typecheck:transit": "exit 0"
85
85
  },
86
86
  "peerDependencies": {},