@openrouter/sdk 0.13.62 → 0.13.63

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: "0.13.62";
52
+ readonly sdkVersion: "0.13.63";
53
53
  readonly genVersion: "2.914.0";
54
- readonly userAgent: "speakeasy-sdk/typescript 0.13.62 2.914.0 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 0.13.63 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: "0.13.62",
29
+ sdkVersion: "0.13.63",
30
30
  genVersion: "2.914.0",
31
- userAgent: "speakeasy-sdk/typescript 0.13.62 2.914.0 1.0.0 @openrouter/sdk",
31
+ userAgent: "speakeasy-sdk/typescript 0.13.63 2.914.0 1.0.0 @openrouter/sdk",
32
32
  };
33
33
  //# sourceMappingURL=config.js.map
@@ -36,6 +36,7 @@ export declare const BYOKProviderSlug: {
36
36
  readonly Digitalocean: "digitalocean";
37
37
  readonly Featherless: "featherless";
38
38
  readonly Fireworks: "fireworks";
39
+ readonly FishAudio: "fish-audio";
39
40
  readonly Friendli: "friendli";
40
41
  readonly Gmicloud: "gmicloud";
41
42
  readonly GoogleAiStudio: "google-ai-studio";
@@ -39,6 +39,7 @@ export const BYOKProviderSlug = {
39
39
  Digitalocean: "digitalocean",
40
40
  Featherless: "featherless",
41
41
  Fireworks: "fireworks",
42
+ FishAudio: "fish-audio",
42
43
  Friendli: "friendli",
43
44
  Gmicloud: "gmicloud",
44
45
  GoogleAiStudio: "google-ai-studio",
@@ -128,6 +128,9 @@ export type ImageGenerationProviderPreferencesOptions = {
128
128
  fireworks?: {
129
129
  [k: string]: any;
130
130
  } | undefined;
131
+ fishAudio?: {
132
+ [k: string]: any;
133
+ } | undefined;
131
134
  friendli?: {
132
135
  [k: string]: any;
133
136
  } | undefined;
@@ -548,6 +551,9 @@ export type ImageGenerationProviderPreferencesOptions$Outbound = {
548
551
  fireworks?: {
549
552
  [k: string]: any;
550
553
  } | undefined;
554
+ "fish-audio"?: {
555
+ [k: string]: any;
556
+ } | undefined;
551
557
  friendli?: {
552
558
  [k: string]: any;
553
559
  } | undefined;
@@ -59,6 +59,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
59
59
  fakeProvider: z.record(z.string(), z.any()).optional(),
60
60
  featherless: z.record(z.string(), z.any()).optional(),
61
61
  fireworks: z.record(z.string(), z.any()).optional(),
62
+ fishAudio: z.record(z.string(), z.any()).optional(),
62
63
  friendli: z.record(z.string(), z.any()).optional(),
63
64
  gmicloud: z.record(z.string(), z.any()).optional(),
64
65
  googleAiStudio: z.record(z.string(), z.any()).optional(),
@@ -153,6 +154,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
153
154
  atlasCloud: "atlas-cloud",
154
155
  blackForestLabs: "black-forest-labs",
155
156
  fakeProvider: "fake-provider",
157
+ fishAudio: "fish-audio",
156
158
  googleAiStudio: "google-ai-studio",
157
159
  googleVertex: "google-vertex",
158
160
  hyperbolicQuantized: "hyperbolic-quantized",
@@ -60,6 +60,7 @@ export declare const Provider: {
60
60
  readonly Digitalocean: "digitalocean";
61
61
  readonly Featherless: "featherless";
62
62
  readonly Fireworks: "fireworks";
63
+ readonly FishAudio: "fish-audio";
63
64
  readonly Friendli: "friendli";
64
65
  readonly Gmicloud: "gmicloud";
65
66
  readonly GoogleAiStudio: "google-ai-studio";
@@ -43,6 +43,7 @@ export const Provider = {
43
43
  Digitalocean: "digitalocean",
44
44
  Featherless: "featherless",
45
45
  Fireworks: "fireworks",
46
+ FishAudio: "fish-audio",
46
47
  Friendli: "friendli",
47
48
  Gmicloud: "gmicloud",
48
49
  GoogleAiStudio: "google-ai-studio",
@@ -34,6 +34,7 @@ export declare const ProviderName: {
34
34
  readonly DigitalOcean: "DigitalOcean";
35
35
  readonly Featherless: "Featherless";
36
36
  readonly Fireworks: "Fireworks";
37
+ readonly FishAudio: "Fish Audio";
37
38
  readonly Friendli: "Friendli";
38
39
  readonly GMICloud: "GMICloud";
39
40
  readonly Google: "Google";
@@ -37,6 +37,7 @@ export const ProviderName = {
37
37
  DigitalOcean: "DigitalOcean",
38
38
  Featherless: "Featherless",
39
39
  Fireworks: "Fireworks",
40
+ FishAudio: "Fish Audio",
40
41
  Friendli: "Friendli",
41
42
  GMICloud: "GMICloud",
42
43
  Google: "Google",
@@ -123,6 +123,9 @@ export type ProviderOptions = {
123
123
  fireworks?: {
124
124
  [k: string]: any;
125
125
  } | undefined;
126
+ fishAudio?: {
127
+ [k: string]: any;
128
+ } | undefined;
126
129
  friendli?: {
127
130
  [k: string]: any;
128
131
  } | undefined;
@@ -498,6 +501,9 @@ export type ProviderOptions$Outbound = {
498
501
  fireworks?: {
499
502
  [k: string]: any;
500
503
  } | undefined;
504
+ "fish-audio"?: {
505
+ [k: string]: any;
506
+ } | undefined;
501
507
  friendli?: {
502
508
  [k: string]: any;
503
509
  } | undefined;
@@ -46,6 +46,7 @@ export const ProviderOptions$outboundSchema = z.object({
46
46
  fakeProvider: z.record(z.string(), z.any()).optional(),
47
47
  featherless: z.record(z.string(), z.any()).optional(),
48
48
  fireworks: z.record(z.string(), z.any()).optional(),
49
+ fishAudio: z.record(z.string(), z.any()).optional(),
49
50
  friendli: z.record(z.string(), z.any()).optional(),
50
51
  gmicloud: z.record(z.string(), z.any()).optional(),
51
52
  googleAiStudio: z.record(z.string(), z.any()).optional(),
@@ -140,6 +141,7 @@ export const ProviderOptions$outboundSchema = z.object({
140
141
  atlasCloud: "atlas-cloud",
141
142
  blackForestLabs: "black-forest-labs",
142
143
  fakeProvider: "fake-provider",
144
+ fishAudio: "fish-audio",
143
145
  googleAiStudio: "google-ai-studio",
144
146
  googleVertex: "google-vertex",
145
147
  hyperbolicQuantized: "hyperbolic-quantized",
@@ -67,6 +67,7 @@ export declare const ProviderResponseProviderName: {
67
67
  readonly DigitalOcean: "DigitalOcean";
68
68
  readonly Featherless: "Featherless";
69
69
  readonly Fireworks: "Fireworks";
70
+ readonly FishAudio: "Fish Audio";
70
71
  readonly Friendli: "Friendli";
71
72
  readonly GMICloud: "GMICloud";
72
73
  readonly Google: "Google";
@@ -71,6 +71,7 @@ export const ProviderResponseProviderName = {
71
71
  DigitalOcean: "DigitalOcean",
72
72
  Featherless: "Featherless",
73
73
  Fireworks: "Fireworks",
74
+ FishAudio: "Fish Audio",
74
75
  Friendli: "Friendli",
75
76
  GMICloud: "GMICloud",
76
77
  Google: "Google",
@@ -144,6 +144,9 @@ export type VideoGenerationRequestOptions = {
144
144
  fireworks?: {
145
145
  [k: string]: any;
146
146
  } | undefined;
147
+ fishAudio?: {
148
+ [k: string]: any;
149
+ } | undefined;
147
150
  friendli?: {
148
151
  [k: string]: any;
149
152
  } | undefined;
@@ -586,6 +589,9 @@ export type VideoGenerationRequestOptions$Outbound = {
586
589
  fireworks?: {
587
590
  [k: string]: any;
588
591
  } | undefined;
592
+ "fish-audio"?: {
593
+ [k: string]: any;
594
+ } | undefined;
589
595
  friendli?: {
590
596
  [k: string]: any;
591
597
  } | undefined;
@@ -76,6 +76,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
76
76
  fakeProvider: z.record(z.string(), z.any()).optional(),
77
77
  featherless: z.record(z.string(), z.any()).optional(),
78
78
  fireworks: z.record(z.string(), z.any()).optional(),
79
+ fishAudio: z.record(z.string(), z.any()).optional(),
79
80
  friendli: z.record(z.string(), z.any()).optional(),
80
81
  gmicloud: z.record(z.string(), z.any()).optional(),
81
82
  googleAiStudio: z.record(z.string(), z.any()).optional(),
@@ -170,6 +171,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
170
171
  atlasCloud: "atlas-cloud",
171
172
  blackForestLabs: "black-forest-labs",
172
173
  fakeProvider: "fake-provider",
174
+ fishAudio: "fish-audio",
173
175
  googleAiStudio: "google-ai-studio",
174
176
  googleVertex: "google-vertex",
175
177
  hyperbolicQuantized: "hyperbolic-quantized",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "0.13.62",
5
+ "version": "0.13.63",
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": "0.13.62",
3
+ "version": "0.13.63",
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": "vitest --run --project unit",
76
+ "postinstall": "node scripts/check-types.js || true",
77
+ "prepare": "npm run build",
77
78
  "test:e2e": "vitest --run --project e2e",
79
+ "test:transit": "exit 0",
78
80
  "typecheck": "tsc --noEmit",
79
81
  "typecheck:transit": "exit 0",
80
- "prepare": "npm run build",
81
- "test:transit": "exit 0",
82
- "test:watch": "vitest --watch --project unit",
83
82
  "compile": "tsc",
84
- "postinstall": "node scripts/check-types.js || true"
83
+ "test": "vitest --run --project unit",
84
+ "test:watch": "vitest --watch --project unit"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {