@openrouter/sdk 1.2.121 → 1.2.123

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.121";
53
+ readonly sdkVersion: "1.2.123";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.2.121 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.2.123 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.121",
32
+ sdkVersion: "1.2.123",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.2.121 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.2.123 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -15,6 +15,7 @@ export declare const BYOKProviderSlug: {
15
15
  readonly Anthropic: "anthropic";
16
16
  readonly Anthropic2: "anthropic/2";
17
17
  readonly ArceeAi: "arcee-ai";
18
+ readonly Assemblyai: "assemblyai";
18
19
  readonly AtlasCloud: "atlas-cloud";
19
20
  readonly Avian: "avian";
20
21
  readonly Azure: "azure";
@@ -18,6 +18,7 @@ export const BYOKProviderSlug = {
18
18
  Anthropic: "anthropic",
19
19
  Anthropic2: "anthropic/2",
20
20
  ArceeAi: "arcee-ai",
21
+ Assemblyai: "assemblyai",
21
22
  AtlasCloud: "atlas-cloud",
22
23
  Avian: "avian",
23
24
  Azure: "azure",
@@ -47,6 +47,9 @@ export type ImageGenerationProviderPreferencesOptions = {
47
47
  arceeAi?: {
48
48
  [k: string]: any;
49
49
  } | undefined;
50
+ assemblyai?: {
51
+ [k: string]: any;
52
+ } | undefined;
50
53
  atlasCloud?: {
51
54
  [k: string]: any;
52
55
  } | undefined;
@@ -515,6 +518,9 @@ export type ImageGenerationProviderPreferencesOptions$Outbound = {
515
518
  "arcee-ai"?: {
516
519
  [k: string]: any;
517
520
  } | undefined;
521
+ assemblyai?: {
522
+ [k: string]: any;
523
+ } | undefined;
518
524
  "atlas-cloud"?: {
519
525
  [k: string]: any;
520
526
  } | undefined;
@@ -32,6 +32,7 @@ export const ImageGenerationProviderPreferencesOptions$outboundSchema = z.object
32
32
  anthropic2: z.record(z.string(), z.any()).optional(),
33
33
  anyscale: z.record(z.string(), z.any()).optional(),
34
34
  arceeAi: z.record(z.string(), z.any()).optional(),
35
+ assemblyai: z.record(z.string(), z.any()).optional(),
35
36
  atlasCloud: z.record(z.string(), z.any()).optional(),
36
37
  atoma: z.record(z.string(), z.any()).optional(),
37
38
  avian: z.record(z.string(), z.any()).optional(),
@@ -12,11 +12,13 @@ export declare const ImageGenerationRequestAspectRatio: {
12
12
  readonly Eighteen: "1:8";
13
13
  readonly TwentyOne: "2:1";
14
14
  readonly TwentyThree: "2:3";
15
+ readonly TwoDot351: "2.35:1";
15
16
  readonly ThirtyTwo: "3:2";
16
17
  readonly ThirtyFour: "3:4";
17
18
  readonly FortyOne: "4:1";
18
19
  readonly FortyThree: "4:3";
19
20
  readonly FortyFive: "4:5";
21
+ readonly FiftyTwo: "5:2";
20
22
  readonly FiftyFour: "5:4";
21
23
  readonly EightyOne: "8:1";
22
24
  readonly NineHundredAndSixteen: "9:16";
@@ -17,11 +17,13 @@ export const ImageGenerationRequestAspectRatio = {
17
17
  Eighteen: "1:8",
18
18
  TwentyOne: "2:1",
19
19
  TwentyThree: "2:3",
20
+ TwoDot351: "2.35:1",
20
21
  ThirtyTwo: "3:2",
21
22
  ThirtyFour: "3:4",
22
23
  FortyOne: "4:1",
23
24
  FortyThree: "4:3",
24
25
  FortyFive: "4:5",
26
+ FiftyTwo: "5:2",
25
27
  FiftyFour: "5:4",
26
28
  EightyOne: "8:1",
27
29
  NineHundredAndSixteen: "9:16",
@@ -39,6 +39,7 @@ export declare const Provider: {
39
39
  readonly Anthropic: "anthropic";
40
40
  readonly Anthropic2: "anthropic/2";
41
41
  readonly ArceeAi: "arcee-ai";
42
+ readonly Assemblyai: "assemblyai";
42
43
  readonly AtlasCloud: "atlas-cloud";
43
44
  readonly Avian: "avian";
44
45
  readonly Azure: "azure";
@@ -22,6 +22,7 @@ export const Provider = {
22
22
  Anthropic: "anthropic",
23
23
  Anthropic2: "anthropic/2",
24
24
  ArceeAi: "arcee-ai",
25
+ Assemblyai: "assemblyai",
25
26
  AtlasCloud: "atlas-cloud",
26
27
  Avian: "avian",
27
28
  Azure: "azure",
@@ -12,6 +12,7 @@ export declare const ProviderName: {
12
12
  readonly AmazonNova: "Amazon Nova";
13
13
  readonly Anthropic: "Anthropic";
14
14
  readonly ArceeAI: "Arcee AI";
15
+ readonly AssemblyAI: "AssemblyAI";
15
16
  readonly AtlasCloud: "AtlasCloud";
16
17
  readonly Avian: "Avian";
17
18
  readonly Azure: "Azure";
@@ -15,6 +15,7 @@ export const ProviderName = {
15
15
  AmazonNova: "Amazon Nova",
16
16
  Anthropic: "Anthropic",
17
17
  ArceeAI: "Arcee AI",
18
+ AssemblyAI: "AssemblyAI",
18
19
  AtlasCloud: "AtlasCloud",
19
20
  Avian: "Avian",
20
21
  Azure: "Azure",
@@ -42,6 +42,9 @@ export type ProviderOptions = {
42
42
  arceeAi?: {
43
43
  [k: string]: any;
44
44
  } | undefined;
45
+ assemblyai?: {
46
+ [k: string]: any;
47
+ } | undefined;
45
48
  atlasCloud?: {
46
49
  [k: string]: any;
47
50
  } | undefined;
@@ -465,6 +468,9 @@ export type ProviderOptions$Outbound = {
465
468
  "arcee-ai"?: {
466
469
  [k: string]: any;
467
470
  } | undefined;
471
+ assemblyai?: {
472
+ [k: string]: any;
473
+ } | undefined;
468
474
  "atlas-cloud"?: {
469
475
  [k: string]: any;
470
476
  } | undefined;
@@ -19,6 +19,7 @@ export const ProviderOptions$outboundSchema = z.object({
19
19
  anthropic2: z.record(z.string(), z.any()).optional(),
20
20
  anyscale: z.record(z.string(), z.any()).optional(),
21
21
  arceeAi: z.record(z.string(), z.any()).optional(),
22
+ assemblyai: z.record(z.string(), z.any()).optional(),
22
23
  atlasCloud: z.record(z.string(), z.any()).optional(),
23
24
  atoma: z.record(z.string(), z.any()).optional(),
24
25
  avian: z.record(z.string(), z.any()).optional(),
@@ -45,6 +45,7 @@ export declare const ProviderResponseProviderName: {
45
45
  readonly AmazonNova: "Amazon Nova";
46
46
  readonly Anthropic: "Anthropic";
47
47
  readonly ArceeAI: "Arcee AI";
48
+ readonly AssemblyAI: "AssemblyAI";
48
49
  readonly AtlasCloud: "AtlasCloud";
49
50
  readonly Avian: "Avian";
50
51
  readonly Azure: "Azure";
@@ -49,6 +49,7 @@ export const ProviderResponseProviderName = {
49
49
  AmazonNova: "Amazon Nova",
50
50
  Anthropic: "Anthropic",
51
51
  ArceeAI: "Arcee AI",
52
+ AssemblyAI: "AssemblyAI",
52
53
  AtlasCloud: "AtlasCloud",
53
54
  Avian: "Avian",
54
55
  Azure: "Azure",
@@ -63,6 +63,9 @@ export type VideoGenerationRequestOptions = {
63
63
  arceeAi?: {
64
64
  [k: string]: any;
65
65
  } | undefined;
66
+ assemblyai?: {
67
+ [k: string]: any;
68
+ } | undefined;
66
69
  atlasCloud?: {
67
70
  [k: string]: any;
68
71
  } | undefined;
@@ -565,6 +568,9 @@ export type VideoGenerationRequestOptions$Outbound = {
565
568
  "arcee-ai"?: {
566
569
  [k: string]: any;
567
570
  } | undefined;
571
+ assemblyai?: {
572
+ [k: string]: any;
573
+ } | undefined;
568
574
  "atlas-cloud"?: {
569
575
  [k: string]: any;
570
576
  } | undefined;
@@ -50,6 +50,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
50
50
  anthropic2: z.record(z.string(), z.any()).optional(),
51
51
  anyscale: z.record(z.string(), z.any()).optional(),
52
52
  arceeAi: z.record(z.string(), z.any()).optional(),
53
+ assemblyai: z.record(z.string(), z.any()).optional(),
53
54
  atlasCloud: z.record(z.string(), z.any()).optional(),
54
55
  atoma: z.record(z.string(), z.any()).optional(),
55
56
  avian: 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.121",
5
+ "version": "1.2.123",
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.121",
3
+ "version": "1.2.123",
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
- "typecheck:transit": "exit 0",
77
- "postinstall": "node scripts/check-types.js || true",
78
- "test:transit": "exit 0",
79
- "test:watch": "vitest --watch --project unit",
80
- "compile": "tsc",
81
76
  "prepare": "npm run build",
82
77
  "test": "vitest --run --project unit",
83
78
  "test:e2e": "vitest --run --project e2e",
84
- "typecheck": "tsc --noEmit"
79
+ "test:transit": "exit 0",
80
+ "test:watch": "vitest --watch --project unit",
81
+ "typecheck": "tsc --noEmit",
82
+ "typecheck:transit": "exit 0",
83
+ "compile": "tsc",
84
+ "postinstall": "node scripts/check-types.js || true"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {