@openrouter/sdk 1.2.142 → 1.2.143

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.
@@ -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.2.142";
53
+ readonly sdkVersion: "1.2.143";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.2.142 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.2.143 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.2.142",
32
+ sdkVersion: "1.2.143",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.2.142 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.2.143 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -106,6 +106,7 @@ export declare const BYOKProviderSlug: {
106
106
  readonly Thinkingmachines: "thinkingmachines";
107
107
  readonly Together: "together";
108
108
  readonly Typesafe: "typesafe";
109
+ readonly Unbiased: "unbiased";
109
110
  readonly Upstage: "upstage";
110
111
  readonly Venice: "venice";
111
112
  readonly Voyageai: "voyageai";
@@ -109,6 +109,7 @@ export const BYOKProviderSlug = {
109
109
  Thinkingmachines: "thinkingmachines",
110
110
  Together: "together",
111
111
  Typesafe: "typesafe",
112
+ Unbiased: "unbiased",
112
113
  Upstage: "upstage",
113
114
  Venice: "venice",
114
115
  Voyageai: "voyageai",
@@ -407,6 +407,9 @@ export type ImageGenerationProviderPreferencesOptions = {
407
407
  ubicloud?: {
408
408
  [k: string]: any;
409
409
  } | undefined;
410
+ unbiased?: {
411
+ [k: string]: any;
412
+ } | undefined;
410
413
  upstage?: {
411
414
  [k: string]: any;
412
415
  } | undefined;
@@ -881,6 +884,9 @@ export type ImageGenerationProviderPreferencesOptions$Outbound = {
881
884
  ubicloud?: {
882
885
  [k: string]: any;
883
886
  } | undefined;
887
+ unbiased?: {
888
+ [k: string]: any;
889
+ } | undefined;
884
890
  upstage?: {
885
891
  [k: string]: any;
886
892
  } | undefined;
@@ -152,6 +152,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
152
152
  togetherLite: z.record(z.string(), z.any()).optional(),
153
153
  typesafe: z.record(z.string(), z.any()).optional(),
154
154
  ubicloud: z.record(z.string(), z.any()).optional(),
155
+ unbiased: z.record(z.string(), z.any()).optional(),
155
156
  upstage: z.record(z.string(), z.any()).optional(),
156
157
  venice: z.record(z.string(), z.any()).optional(),
157
158
  voyageai: z.record(z.string(), z.any()).optional(),
@@ -130,6 +130,7 @@ export declare const Provider: {
130
130
  readonly Thinkingmachines: "thinkingmachines";
131
131
  readonly Together: "together";
132
132
  readonly Typesafe: "typesafe";
133
+ readonly Unbiased: "unbiased";
133
134
  readonly Upstage: "upstage";
134
135
  readonly Venice: "venice";
135
136
  readonly Voyageai: "voyageai";
@@ -113,6 +113,7 @@ export const Provider = {
113
113
  Thinkingmachines: "thinkingmachines",
114
114
  Together: "together",
115
115
  Typesafe: "typesafe",
116
+ Unbiased: "unbiased",
116
117
  Upstage: "upstage",
117
118
  Venice: "venice",
118
119
  Voyageai: "voyageai",
@@ -100,6 +100,7 @@ export declare const ProviderName: {
100
100
  readonly Tenstorrent: "Tenstorrent";
101
101
  readonly ThinkingMachines: "Thinking Machines";
102
102
  readonly Together: "Together";
103
+ readonly Unbiased: "Unbiased";
103
104
  readonly Upstage: "Upstage";
104
105
  readonly Venice: "Venice";
105
106
  readonly Wafer: "Wafer";
@@ -103,6 +103,7 @@ export const ProviderName = {
103
103
  Tenstorrent: "Tenstorrent",
104
104
  ThinkingMachines: "Thinking Machines",
105
105
  Together: "Together",
106
+ Unbiased: "Unbiased",
106
107
  Upstage: "Upstage",
107
108
  Venice: "Venice",
108
109
  Wafer: "Wafer",
@@ -402,6 +402,9 @@ export type ProviderOptions = {
402
402
  ubicloud?: {
403
403
  [k: string]: any;
404
404
  } | undefined;
405
+ unbiased?: {
406
+ [k: string]: any;
407
+ } | undefined;
405
408
  upstage?: {
406
409
  [k: string]: any;
407
410
  } | undefined;
@@ -831,6 +834,9 @@ export type ProviderOptions$Outbound = {
831
834
  ubicloud?: {
832
835
  [k: string]: any;
833
836
  } | undefined;
837
+ unbiased?: {
838
+ [k: string]: any;
839
+ } | undefined;
834
840
  upstage?: {
835
841
  [k: string]: any;
836
842
  } | undefined;
@@ -139,6 +139,7 @@ export const ProviderOptions$outboundSchema = z.object({
139
139
  togetherLite: z.record(z.string(), z.any()).optional(),
140
140
  typesafe: z.record(z.string(), z.any()).optional(),
141
141
  ubicloud: z.record(z.string(), z.any()).optional(),
142
+ unbiased: z.record(z.string(), z.any()).optional(),
142
143
  upstage: z.record(z.string(), z.any()).optional(),
143
144
  venice: z.record(z.string(), z.any()).optional(),
144
145
  voyageai: z.record(z.string(), z.any()).optional(),
@@ -133,6 +133,7 @@ export declare const ProviderResponseProviderName: {
133
133
  readonly Tenstorrent: "Tenstorrent";
134
134
  readonly ThinkingMachines: "Thinking Machines";
135
135
  readonly Together: "Together";
136
+ readonly Unbiased: "Unbiased";
136
137
  readonly Upstage: "Upstage";
137
138
  readonly Venice: "Venice";
138
139
  readonly Wafer: "Wafer";
@@ -137,6 +137,7 @@ export const ProviderResponseProviderName = {
137
137
  Tenstorrent: "Tenstorrent",
138
138
  ThinkingMachines: "Thinking Machines",
139
139
  Together: "Together",
140
+ Unbiased: "Unbiased",
140
141
  Upstage: "Upstage",
141
142
  Venice: "Venice",
142
143
  Wafer: "Wafer",
@@ -424,6 +424,9 @@ export type VideoGenerationRequestOptions = {
424
424
  ubicloud?: {
425
425
  [k: string]: any;
426
426
  } | undefined;
427
+ unbiased?: {
428
+ [k: string]: any;
429
+ } | undefined;
427
430
  upstage?: {
428
431
  [k: string]: any;
429
432
  } | undefined;
@@ -948,6 +951,9 @@ export type VideoGenerationRequestOptions$Outbound = {
948
951
  ubicloud?: {
949
952
  [k: string]: any;
950
953
  } | undefined;
954
+ unbiased?: {
955
+ [k: string]: any;
956
+ } | undefined;
951
957
  upstage?: {
952
958
  [k: string]: any;
953
959
  } | undefined;
@@ -171,6 +171,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
171
171
  togetherLite: z.record(z.string(), z.any()).optional(),
172
172
  typesafe: z.record(z.string(), z.any()).optional(),
173
173
  ubicloud: z.record(z.string(), z.any()).optional(),
174
+ unbiased: z.record(z.string(), z.any()).optional(),
174
175
  upstage: z.record(z.string(), z.any()).optional(),
175
176
  venice: z.record(z.string(), z.any()).optional(),
176
177
  voyageai: 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.142",
5
+ "version": "1.2.143",
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.142",
3
+ "version": "1.2.143",
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
+ "compile": "tsc",
77
+ "postinstall": "node scripts/check-types.js || true",
76
78
  "prepare": "npm run build",
77
- "test:e2e": "vitest --run --project e2e",
79
+ "test": "vitest --run --project unit",
78
80
  "test:transit": "exit 0",
79
81
  "typecheck:transit": "exit 0",
80
- "postinstall": "node scripts/check-types.js || true",
81
- "test": "vitest --run --project unit",
82
+ "test:e2e": "vitest --run --project e2e",
82
83
  "test:watch": "vitest --watch --project unit",
83
- "typecheck": "tsc --noEmit",
84
- "compile": "tsc"
84
+ "typecheck": "tsc --noEmit"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {