@openrouter/sdk 1.3.9 → 1.3.10

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.3.9";
53
+ readonly sdkVersion: "1.3.10";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.3.9 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.3.10 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.3.9",
32
+ sdkVersion: "1.3.10",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.3.9 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.3.10 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -465,6 +465,7 @@ export type VideoGenerationRequestProvider = {
465
465
  * Resolution of the generated video
466
466
  */
467
467
  export declare const VideoGenerationRequestResolution: {
468
+ readonly ThreeHundredAndSixtyp: "360p";
468
469
  readonly FourHundredAndEightyp: "480p";
469
470
  readonly SevenHundredAndTwentyp: "720p";
470
471
  readonly SevenHundredAndSixtyEightp: "768p";
@@ -26,6 +26,7 @@ export const VideoGenerationRequestAspectRatio = {
26
26
  * Resolution of the generated video
27
27
  */
28
28
  export const VideoGenerationRequestResolution = {
29
+ ThreeHundredAndSixtyp: "360p",
29
30
  FourHundredAndEightyp: "480p",
30
31
  SevenHundredAndTwentyp: "720p",
31
32
  SevenHundredAndSixtyEightp: "768p",
@@ -20,6 +20,7 @@ export declare const SupportedFrameImage: {
20
20
  };
21
21
  export type SupportedFrameImage = OpenEnum<typeof SupportedFrameImage>;
22
22
  export declare const SupportedResolution: {
23
+ readonly ThreeHundredAndSixtyp: "360p";
23
24
  readonly FourHundredAndEightyp: "480p";
24
25
  readonly SevenHundredAndTwentyp: "720p";
25
26
  readonly SevenHundredAndSixtyEightp: "768p";
@@ -30,12 +31,20 @@ export declare const SupportedResolution: {
30
31
  };
31
32
  export type SupportedResolution = OpenEnum<typeof SupportedResolution>;
32
33
  export declare const SupportedSize: {
34
+ readonly ThreeHundredAndSixtyx360: "360x360";
35
+ readonly ThreeHundredAndSixtyx480: "360x480";
36
+ readonly ThreeHundredAndSixtyx540: "360x540";
37
+ readonly ThreeHundredAndSixtyx640: "360x640";
38
+ readonly ThreeHundredAndSixtyx840: "360x840";
39
+ readonly FourHundredAndEightyx360: "480x360";
33
40
  readonly FourHundredAndEightyx480: "480x480";
34
41
  readonly FourHundredAndEightyx640: "480x640";
35
42
  readonly FourHundredAndEightyx720: "480x720";
36
43
  readonly FourHundredAndEightyx854: "480x854";
37
44
  readonly FourHundredAndEightyx1120: "480x1120";
45
+ readonly FiveHundredAndFortyx360: "540x360";
38
46
  readonly FiveHundredAndSixtyx752: "560x752";
47
+ readonly SixHundredAndFortyx360: "640x360";
39
48
  readonly SixHundredAndFortyx480: "640x480";
40
49
  readonly SixHundredAndFortyx640: "640x640";
41
50
  readonly SevenHundredAndTwentyx480: "720x480";
@@ -51,6 +60,7 @@ export declare const SupportedSize: {
51
60
  readonly SevenHundredAndSixtyEightx1366: "768x1366";
52
61
  readonly SevenHundredAndSixtyEightx1792: "768x1792";
53
62
  readonly EightHundredAndThirtyFourx1112: "834x1112";
63
+ readonly EightHundredAndFortyx360: "840x360";
54
64
  readonly EightHundredAndFiftyFourx480: "854x480";
55
65
  readonly NineHundredAndSixtyx720: "960x720";
56
66
  readonly NineHundredAndSixtyx960: "960x960";
@@ -22,6 +22,7 @@ export const SupportedFrameImage = {
22
22
  LastFrame: "last_frame",
23
23
  };
24
24
  export const SupportedResolution = {
25
+ ThreeHundredAndSixtyp: "360p",
25
26
  FourHundredAndEightyp: "480p",
26
27
  SevenHundredAndTwentyp: "720p",
27
28
  SevenHundredAndSixtyEightp: "768p",
@@ -31,12 +32,20 @@ export const SupportedResolution = {
31
32
  FourK: "4K",
32
33
  };
33
34
  export const SupportedSize = {
35
+ ThreeHundredAndSixtyx360: "360x360",
36
+ ThreeHundredAndSixtyx480: "360x480",
37
+ ThreeHundredAndSixtyx540: "360x540",
38
+ ThreeHundredAndSixtyx640: "360x640",
39
+ ThreeHundredAndSixtyx840: "360x840",
40
+ FourHundredAndEightyx360: "480x360",
34
41
  FourHundredAndEightyx480: "480x480",
35
42
  FourHundredAndEightyx640: "480x640",
36
43
  FourHundredAndEightyx720: "480x720",
37
44
  FourHundredAndEightyx854: "480x854",
38
45
  FourHundredAndEightyx1120: "480x1120",
46
+ FiveHundredAndFortyx360: "540x360",
39
47
  FiveHundredAndSixtyx752: "560x752",
48
+ SixHundredAndFortyx360: "640x360",
40
49
  SixHundredAndFortyx480: "640x480",
41
50
  SixHundredAndFortyx640: "640x640",
42
51
  SevenHundredAndTwentyx480: "720x480",
@@ -52,6 +61,7 @@ export const SupportedSize = {
52
61
  SevenHundredAndSixtyEightx1366: "768x1366",
53
62
  SevenHundredAndSixtyEightx1792: "768x1792",
54
63
  EightHundredAndThirtyFourx1112: "834x1112",
64
+ EightHundredAndFortyx360: "840x360",
55
65
  EightHundredAndFiftyFourx480: "854x480",
56
66
  NineHundredAndSixtyx720: "960x720",
57
67
  NineHundredAndSixtyx960: "960x960",
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.3.9",
5
+ "version": "1.3.10",
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.3.9",
3
+ "version": "1.3.10",
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": [
@@ -74,12 +74,12 @@
74
74
  "build": "tsc",
75
75
  "prepublishOnly": "npm run build",
76
76
  "compile": "tsc",
77
- "postinstall": "node scripts/check-types.js || true",
77
+ "prepare": "npm run build",
78
+ "test": "vitest --run --project unit",
78
79
  "test:e2e": "vitest --run --project e2e",
79
80
  "test:watch": "vitest --watch --project unit",
80
81
  "typecheck:transit": "exit 0",
81
- "prepare": "npm run build",
82
- "test": "vitest --run --project unit",
82
+ "postinstall": "node scripts/check-types.js || true",
83
83
  "test:transit": "exit 0",
84
84
  "typecheck": "tsc --noEmit"
85
85
  },