@openrouter/sdk 0.13.13 → 0.13.14

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.13";
52
+ readonly sdkVersion: "0.13.14";
53
53
  readonly genVersion: "2.884.4";
54
- readonly userAgent: "speakeasy-sdk/typescript 0.13.13 2.884.4 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 0.13.14 2.884.4 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.13",
29
+ sdkVersion: "0.13.14",
30
30
  genVersion: "2.884.4",
31
- userAgent: "speakeasy-sdk/typescript 0.13.13 2.884.4 1.0.0 @openrouter/sdk",
31
+ userAgent: "speakeasy-sdk/typescript 0.13.14 2.884.4 1.0.0 @openrouter/sdk",
32
32
  };
33
33
  //# sourceMappingURL=config.js.map
@@ -40,6 +40,7 @@ export declare const BYOKProviderSlug: {
40
40
  readonly GoogleAiStudio: "google-ai-studio";
41
41
  readonly GoogleVertex: "google-vertex";
42
42
  readonly Groq: "groq";
43
+ readonly Heygen: "heygen";
43
44
  readonly Inception: "inception";
44
45
  readonly Inceptron: "inceptron";
45
46
  readonly InferactVllm: "inferact-vllm";
@@ -43,6 +43,7 @@ export const BYOKProviderSlug = {
43
43
  GoogleAiStudio: "google-ai-studio",
44
44
  GoogleVertex: "google-vertex",
45
45
  Groq: "groq",
46
+ Heygen: "heygen",
46
47
  Inception: "inception",
47
48
  Inceptron: "inceptron",
48
49
  InferactVllm: "inferact-vllm",
@@ -195,6 +195,9 @@ export type ImageGenerationRequestOptions = {
195
195
  groq?: {
196
196
  [k: string]: any | null;
197
197
  } | undefined;
198
+ heygen?: {
199
+ [k: string]: any | null;
200
+ } | undefined;
198
201
  huggingface?: {
199
202
  [k: string]: any | null;
200
203
  } | undefined;
@@ -651,6 +654,9 @@ export type ImageGenerationRequestOptions$Outbound = {
651
654
  groq?: {
652
655
  [k: string]: any | null;
653
656
  } | undefined;
657
+ heygen?: {
658
+ [k: string]: any | null;
659
+ } | undefined;
654
660
  huggingface?: {
655
661
  [k: string]: any | null;
656
662
  } | undefined;
@@ -120,6 +120,7 @@ export const ImageGenerationRequestOptions$outboundSchema = z.object({
120
120
  googleVertex: z.record(z.string(), z.nullable(z.any())).optional(),
121
121
  gopomelo: z.record(z.string(), z.nullable(z.any())).optional(),
122
122
  groq: z.record(z.string(), z.nullable(z.any())).optional(),
123
+ heygen: z.record(z.string(), z.nullable(z.any())).optional(),
123
124
  huggingface: z.record(z.string(), z.nullable(z.any())).optional(),
124
125
  hyperbolic: z.record(z.string(), z.nullable(z.any())).optional(),
125
126
  hyperbolicQuantized: z.record(z.string(), z.nullable(z.any())).optional(),
@@ -64,6 +64,7 @@ export declare const Provider: {
64
64
  readonly GoogleAiStudio: "google-ai-studio";
65
65
  readonly GoogleVertex: "google-vertex";
66
66
  readonly Groq: "groq";
67
+ readonly Heygen: "heygen";
67
68
  readonly Inception: "inception";
68
69
  readonly Inceptron: "inceptron";
69
70
  readonly InferactVllm: "inferact-vllm";
@@ -47,6 +47,7 @@ export const Provider = {
47
47
  GoogleAiStudio: "google-ai-studio",
48
48
  GoogleVertex: "google-vertex",
49
49
  Groq: "groq",
50
+ Heygen: "heygen",
50
51
  Inception: "inception",
51
52
  Inceptron: "inceptron",
52
53
  InferactVllm: "inferact-vllm",
@@ -38,6 +38,7 @@ export declare const ProviderName: {
38
38
  readonly Google: "Google";
39
39
  readonly GoogleAIStudio: "Google AI Studio";
40
40
  readonly Groq: "Groq";
41
+ readonly HeyGen: "HeyGen";
41
42
  readonly Inception: "Inception";
42
43
  readonly Inceptron: "Inceptron";
43
44
  readonly InferenceNet: "InferenceNet";
@@ -41,6 +41,7 @@ export const ProviderName = {
41
41
  Google: "Google",
42
42
  GoogleAIStudio: "Google AI Studio",
43
43
  Groq: "Groq",
44
+ HeyGen: "HeyGen",
44
45
  Inception: "Inception",
45
46
  Inceptron: "Inceptron",
46
47
  InferenceNet: "InferenceNet",
@@ -138,6 +138,9 @@ export type ProviderOptions = {
138
138
  groq?: {
139
139
  [k: string]: any | null;
140
140
  } | undefined;
141
+ heygen?: {
142
+ [k: string]: any | null;
143
+ } | undefined;
141
144
  huggingface?: {
142
145
  [k: string]: any | null;
143
146
  } | undefined;
@@ -495,6 +498,9 @@ export type ProviderOptions$Outbound = {
495
498
  groq?: {
496
499
  [k: string]: any | null;
497
500
  } | undefined;
501
+ heygen?: {
502
+ [k: string]: any | null;
503
+ } | undefined;
498
504
  huggingface?: {
499
505
  [k: string]: any | null;
500
506
  } | undefined;
@@ -51,6 +51,7 @@ export const ProviderOptions$outboundSchema = z.object({
51
51
  googleVertex: z.record(z.string(), z.nullable(z.any())).optional(),
52
52
  gopomelo: z.record(z.string(), z.nullable(z.any())).optional(),
53
53
  groq: z.record(z.string(), z.nullable(z.any())).optional(),
54
+ heygen: z.record(z.string(), z.nullable(z.any())).optional(),
54
55
  huggingface: z.record(z.string(), z.nullable(z.any())).optional(),
55
56
  hyperbolic: z.record(z.string(), z.nullable(z.any())).optional(),
56
57
  hyperbolicQuantized: z.record(z.string(), z.nullable(z.any())).optional(),
@@ -72,6 +72,7 @@ export declare const ProviderResponseProviderName: {
72
72
  readonly Google: "Google";
73
73
  readonly GoogleAIStudio: "Google AI Studio";
74
74
  readonly Groq: "Groq";
75
+ readonly HeyGen: "HeyGen";
75
76
  readonly Inception: "Inception";
76
77
  readonly Inceptron: "Inceptron";
77
78
  readonly InferenceNet: "InferenceNet";
@@ -76,6 +76,7 @@ export const ProviderResponseProviderName = {
76
76
  Google: "Google",
77
77
  GoogleAIStudio: "Google AI Studio",
78
78
  Groq: "Groq",
79
+ HeyGen: "HeyGen",
79
80
  Inception: "Inception",
80
81
  Inceptron: "Inceptron",
81
82
  InferenceNet: "InferenceNet",
@@ -159,6 +159,9 @@ export type VideoGenerationRequestOptions = {
159
159
  groq?: {
160
160
  [k: string]: any | null;
161
161
  } | undefined;
162
+ heygen?: {
163
+ [k: string]: any | null;
164
+ } | undefined;
162
165
  huggingface?: {
163
166
  [k: string]: any | null;
164
167
  } | undefined;
@@ -583,6 +586,9 @@ export type VideoGenerationRequestOptions$Outbound = {
583
586
  groq?: {
584
587
  [k: string]: any | null;
585
588
  } | undefined;
589
+ heygen?: {
590
+ [k: string]: any | null;
591
+ } | undefined;
586
592
  huggingface?: {
587
593
  [k: string]: any | null;
588
594
  } | undefined;
@@ -81,6 +81,7 @@ export const VideoGenerationRequestOptions$outboundSchema = z.object({
81
81
  googleVertex: z.record(z.string(), z.nullable(z.any())).optional(),
82
82
  gopomelo: z.record(z.string(), z.nullable(z.any())).optional(),
83
83
  groq: z.record(z.string(), z.nullable(z.any())).optional(),
84
+ heygen: z.record(z.string(), z.nullable(z.any())).optional(),
84
85
  huggingface: z.record(z.string(), z.nullable(z.any())).optional(),
85
86
  hyperbolic: z.record(z.string(), z.nullable(z.any())).optional(),
86
87
  hyperbolicQuantized: z.record(z.string(), z.nullable(z.any())).optional(),
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "0.13.13",
5
+ "version": "0.13.14",
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.13",
3
+ "version": "0.13.14",
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": "tsc --noEmit",
76
+ "compile": "tsc",
77
+ "prepare": "npm run build",
78
+ "test:e2e": "vitest --run --project e2e",
77
79
  "test:transit": "exit 0",
78
- "test:watch": "vitest --watch --project unit",
80
+ "typecheck": "tsc --noEmit",
79
81
  "typecheck:transit": "exit 0",
80
- "compile": "tsc",
81
82
  "postinstall": "node scripts/check-types.js || true",
82
- "prepare": "npm run build",
83
83
  "test": "vitest --run --project unit",
84
- "test:e2e": "vitest --run --project e2e"
84
+ "test:watch": "vitest --watch --project unit"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {