@openrouter/sdk 1.2.106 → 1.2.107

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.
Files changed (48) hide show
  1. package/esm/lib/config.d.ts +2 -2
  2. package/esm/lib/config.js +2 -2
  3. package/esm/models/createobservabilitydestinationrequest.d.ts +6 -0
  4. package/esm/models/createobservabilitydestinationrequest.js +2 -0
  5. package/esm/models/index.d.ts +2 -0
  6. package/esm/models/index.js +2 -0
  7. package/esm/models/observabilityarizedestination.d.ts +5 -0
  8. package/esm/models/observabilityarizedestination.js +2 -0
  9. package/esm/models/observabilitybraintrustdestination.d.ts +5 -0
  10. package/esm/models/observabilitybraintrustdestination.js +2 -0
  11. package/esm/models/observabilityclickhousedestination.d.ts +5 -0
  12. package/esm/models/observabilityclickhousedestination.js +2 -0
  13. package/esm/models/observabilitydatadogdestination.d.ts +5 -0
  14. package/esm/models/observabilitydatadogdestination.js +2 -0
  15. package/esm/models/observabilitydataregion.d.ts +11 -0
  16. package/esm/models/observabilitydataregion.js +13 -0
  17. package/esm/models/observabilitydataregioninput.d.ts +18 -0
  18. package/esm/models/observabilitydataregioninput.js +17 -0
  19. package/esm/models/observabilitygrafanadestination.d.ts +5 -0
  20. package/esm/models/observabilitygrafanadestination.js +2 -0
  21. package/esm/models/observabilitylangfusedestination.d.ts +5 -0
  22. package/esm/models/observabilitylangfusedestination.js +2 -0
  23. package/esm/models/observabilitylangsmithdestination.d.ts +5 -0
  24. package/esm/models/observabilitylangsmithdestination.js +2 -0
  25. package/esm/models/observabilitynewrelicdestination.d.ts +5 -0
  26. package/esm/models/observabilitynewrelicdestination.js +2 -0
  27. package/esm/models/observabilityopikdestination.d.ts +5 -0
  28. package/esm/models/observabilityopikdestination.js +2 -0
  29. package/esm/models/observabilityotelcollectordestination.d.ts +5 -0
  30. package/esm/models/observabilityotelcollectordestination.js +2 -0
  31. package/esm/models/observabilityposthogdestination.d.ts +5 -0
  32. package/esm/models/observabilityposthogdestination.js +2 -0
  33. package/esm/models/observabilityrampdestination.d.ts +5 -0
  34. package/esm/models/observabilityrampdestination.js +2 -0
  35. package/esm/models/observabilitys3destination.d.ts +5 -0
  36. package/esm/models/observabilitys3destination.js +2 -0
  37. package/esm/models/observabilitysentrydestination.d.ts +5 -0
  38. package/esm/models/observabilitysentrydestination.js +2 -0
  39. package/esm/models/observabilitysnowflakedestination.d.ts +5 -0
  40. package/esm/models/observabilitysnowflakedestination.js +2 -0
  41. package/esm/models/observabilityweavedestination.d.ts +5 -0
  42. package/esm/models/observabilityweavedestination.js +2 -0
  43. package/esm/models/observabilitywebhookdestination.d.ts +5 -0
  44. package/esm/models/observabilitywebhookdestination.js +2 -0
  45. package/esm/models/updateobservabilitydestinationrequest.d.ts +6 -0
  46. package/esm/models/updateobservabilitydestinationrequest.js +2 -0
  47. package/jsr.json +1 -1
  48. package/package.json +5 -5
@@ -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.106";
53
+ readonly sdkVersion: "1.2.107";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.2.106 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.2.107 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.106",
32
+ sdkVersion: "1.2.107",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.2.106 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.2.107 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -1,5 +1,6 @@
1
1
  import * as z from "zod/v4";
2
2
  import { OpenEnum } from "../types/enums.js";
3
+ import { ObservabilityDataRegionInput } from "./observabilitydataregioninput.js";
3
4
  import { ObservabilityFilterRulesConfigNullable, ObservabilityFilterRulesConfigNullable$Outbound } from "./observabilityfilterrulesconfignullable.js";
4
5
  /**
5
6
  * The destination type. Only stable destination types are accepted.
@@ -66,6 +67,10 @@ export type CreateObservabilityDestinationRequest = {
66
67
  * When true, request/response bodies are not forwarded — only metadata.
67
68
  */
68
69
  privacyMode?: boolean | undefined;
70
+ /**
71
+ * Data regions this destination applies to. `eu` is accepted as an alias for `europe` and normalizes to `europe`. Omitting this field defaults to ['global']; the array must be non-empty.
72
+ */
73
+ regions?: Array<ObservabilityDataRegionInput> | undefined;
69
74
  /**
70
75
  * Sampling rate between 0.0001 and 1 (1 = 100%).
71
76
  */
@@ -94,6 +99,7 @@ export type CreateObservabilityDestinationRequest$Outbound = {
94
99
  filter_rules?: ObservabilityFilterRulesConfigNullable$Outbound | null | undefined;
95
100
  name: string;
96
101
  privacy_mode: boolean;
102
+ regions?: Array<string> | undefined;
97
103
  sampling_rate?: number | undefined;
98
104
  type: string;
99
105
  workspace_id?: string | undefined;
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import * as openEnums from "../types/enums.js";
8
+ import { ObservabilityDataRegionInput$outboundSchema, } from "./observabilitydataregioninput.js";
8
9
  import { ObservabilityFilterRulesConfigNullable$outboundSchema, } from "./observabilityfilterrulesconfignullable.js";
9
10
  /**
10
11
  * The destination type. Only stable destination types are accepted.
@@ -43,6 +44,7 @@ export const CreateObservabilityDestinationRequest$outboundSchema = z.object({
43
44
  .optional(),
44
45
  name: z.string(),
45
46
  privacyMode: z.boolean().default(false),
47
+ regions: z.array(ObservabilityDataRegionInput$outboundSchema).optional(),
46
48
  samplingRate: z.number().optional(),
47
49
  type: CreateObservabilityDestinationRequestType$outboundSchema,
48
50
  workspaceId: z.string().optional(),
@@ -364,6 +364,8 @@ export * from "./observabilityarizedestination.js";
364
364
  export * from "./observabilitybraintrustdestination.js";
365
365
  export * from "./observabilityclickhousedestination.js";
366
366
  export * from "./observabilitydatadogdestination.js";
367
+ export * from "./observabilitydataregion.js";
368
+ export * from "./observabilitydataregioninput.js";
367
369
  export * from "./observabilitydestination.js";
368
370
  export * from "./observabilityfilterrulegroup.js";
369
371
  export * from "./observabilityfilterrulesconfig.js";
@@ -368,6 +368,8 @@ export * from "./observabilityarizedestination.js";
368
368
  export * from "./observabilitybraintrustdestination.js";
369
369
  export * from "./observabilityclickhousedestination.js";
370
370
  export * from "./observabilitydatadogdestination.js";
371
+ export * from "./observabilitydataregion.js";
372
+ export * from "./observabilitydataregioninput.js";
371
373
  export * from "./observabilitydestination.js";
372
374
  export * from "./observabilityfilterrulegroup.js";
373
375
  export * from "./observabilityfilterrulesconfig.js";
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityArizeDestinationConfig = {
6
7
  apiKey: string;
@@ -59,6 +60,10 @@ export type ObservabilityArizeDestination = {
59
60
  * When true, request/response bodies are not forwarded to this destination — only metadata.
60
61
  */
61
62
  privacyMode: boolean;
63
+ /**
64
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
65
+ */
66
+ regions: Array<ObservabilityDataRegion>;
62
67
  /**
63
68
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
64
69
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityArizeDestinationConfig$inboundSchema = z.object({
@@ -30,6 +31,7 @@ export const ObservabilityArizeDestination$inboundSchema = z.object({
30
31
  id: z.string(),
31
32
  name: z.nullable(z.string()),
32
33
  privacy_mode: z.boolean(),
34
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
33
35
  sampling_rate: z.number(),
34
36
  type: z.literal("arize"),
35
37
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityBraintrustDestinationConfig = {
6
7
  apiKey: string;
@@ -55,6 +56,10 @@ export type ObservabilityBraintrustDestination = {
55
56
  * When true, request/response bodies are not forwarded to this destination — only metadata.
56
57
  */
57
58
  privacyMode: boolean;
59
+ /**
60
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
61
+ */
62
+ regions: Array<ObservabilityDataRegion>;
58
63
  /**
59
64
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
60
65
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityBraintrustDestinationConfig$inboundSchema = z.object({
@@ -29,6 +30,7 @@ export const ObservabilityBraintrustDestination$inboundSchema = z.object({
29
30
  id: z.string(),
30
31
  name: z.nullable(z.string()),
31
32
  privacy_mode: z.boolean(),
33
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
32
34
  sampling_rate: z.number(),
33
35
  type: z.literal("braintrust"),
34
36
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityClickhouseDestinationConfig = {
6
7
  database: string;
@@ -60,6 +61,10 @@ export type ObservabilityClickhouseDestination = {
60
61
  * When true, request/response bodies are not forwarded to this destination — only metadata.
61
62
  */
62
63
  privacyMode: boolean;
64
+ /**
65
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
66
+ */
67
+ regions: Array<ObservabilityDataRegion>;
63
68
  /**
64
69
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
65
70
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityClickhouseDestinationConfig$inboundSchema = z.object({
@@ -31,6 +32,7 @@ export const ObservabilityClickhouseDestination$inboundSchema = z.object({
31
32
  id: z.string(),
32
33
  name: z.nullable(z.string()),
33
34
  privacy_mode: z.boolean(),
35
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
34
36
  sampling_rate: z.number(),
35
37
  type: z.literal("clickhouse"),
36
38
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityDatadogDestinationConfig = {
6
7
  /**
@@ -64,6 +65,10 @@ export type ObservabilityDatadogDestination = {
64
65
  * When true, request/response bodies are not forwarded to this destination — only metadata.
65
66
  */
66
67
  privacyMode: boolean;
68
+ /**
69
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
70
+ */
71
+ regions: Array<ObservabilityDataRegion>;
67
72
  /**
68
73
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
69
74
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityDatadogDestinationConfig$inboundSchema = z.object({
@@ -29,6 +30,7 @@ export const ObservabilityDatadogDestination$inboundSchema = z.object({
29
30
  id: z.string(),
30
31
  name: z.nullable(z.string()),
31
32
  privacy_mode: z.boolean(),
33
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
32
34
  sampling_rate: z.number(),
33
35
  type: z.literal("datadog"),
34
36
  updated_at: z.string(),
@@ -0,0 +1,11 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ export declare const ObservabilityDataRegion: {
4
+ readonly Global: "global";
5
+ readonly Europe: "europe";
6
+ readonly Us: "us";
7
+ };
8
+ export type ObservabilityDataRegion = OpenEnum<typeof ObservabilityDataRegion>;
9
+ /** @internal */
10
+ export declare const ObservabilityDataRegion$inboundSchema: z.ZodType<ObservabilityDataRegion, unknown>;
11
+ //# sourceMappingURL=observabilitydataregion.d.ts.map
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 3dd10378aec6
4
+ */
5
+ import * as openEnums from "../types/enums.js";
6
+ export const ObservabilityDataRegion = {
7
+ Global: "global",
8
+ Europe: "europe",
9
+ Us: "us",
10
+ };
11
+ /** @internal */
12
+ export const ObservabilityDataRegion$inboundSchema = openEnums.inboundSchema(ObservabilityDataRegion);
13
+ //# sourceMappingURL=observabilitydataregion.js.map
@@ -0,0 +1,18 @@
1
+ import * as z from "zod/v4";
2
+ import { OpenEnum } from "../types/enums.js";
3
+ /**
4
+ * `eu` is accepted as an alias for `europe` and normalizes to `europe`.
5
+ */
6
+ export declare const ObservabilityDataRegionInput: {
7
+ readonly Global: "global";
8
+ readonly Europe: "europe";
9
+ readonly Us: "us";
10
+ readonly Eu: "eu";
11
+ };
12
+ /**
13
+ * `eu` is accepted as an alias for `europe` and normalizes to `europe`.
14
+ */
15
+ export type ObservabilityDataRegionInput = OpenEnum<typeof ObservabilityDataRegionInput>;
16
+ /** @internal */
17
+ export declare const ObservabilityDataRegionInput$outboundSchema: z.ZodType<string, ObservabilityDataRegionInput>;
18
+ //# sourceMappingURL=observabilitydataregioninput.d.ts.map
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: c82dc0f8b5b5
4
+ */
5
+ import * as openEnums from "../types/enums.js";
6
+ /**
7
+ * `eu` is accepted as an alias for `europe` and normalizes to `europe`.
8
+ */
9
+ export const ObservabilityDataRegionInput = {
10
+ Global: "global",
11
+ Europe: "europe",
12
+ Us: "us",
13
+ Eu: "eu",
14
+ };
15
+ /** @internal */
16
+ export const ObservabilityDataRegionInput$outboundSchema = openEnums.outboundSchema(ObservabilityDataRegionInput);
17
+ //# sourceMappingURL=observabilitydataregioninput.js.map
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityGrafanaDestinationConfig = {
6
7
  apiKey: string;
@@ -55,6 +56,10 @@ export type ObservabilityGrafanaDestination = {
55
56
  * When true, request/response bodies are not forwarded to this destination — only metadata.
56
57
  */
57
58
  privacyMode: boolean;
59
+ /**
60
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
61
+ */
62
+ regions: Array<ObservabilityDataRegion>;
58
63
  /**
59
64
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
60
65
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityGrafanaDestinationConfig$inboundSchema = z.object({
@@ -29,6 +30,7 @@ export const ObservabilityGrafanaDestination$inboundSchema = z.object({
29
30
  id: z.string(),
30
31
  name: z.nullable(z.string()),
31
32
  privacy_mode: z.boolean(),
33
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
32
34
  sampling_rate: z.number(),
33
35
  type: z.literal("grafana"),
34
36
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityLangfuseDestinationConfig = {
6
7
  baseUrl: string;
@@ -55,6 +56,10 @@ export type ObservabilityLangfuseDestination = {
55
56
  * When true, request/response bodies are not forwarded to this destination — only metadata.
56
57
  */
57
58
  privacyMode: boolean;
59
+ /**
60
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
61
+ */
62
+ regions: Array<ObservabilityDataRegion>;
58
63
  /**
59
64
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
60
65
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityLangfuseDestinationConfig$inboundSchema = z.object({
@@ -29,6 +30,7 @@ export const ObservabilityLangfuseDestination$inboundSchema = z.object({
29
30
  id: z.string(),
30
31
  name: z.nullable(z.string()),
31
32
  privacy_mode: z.boolean(),
33
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
32
34
  sampling_rate: z.number(),
33
35
  type: z.literal("langfuse"),
34
36
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityLangsmithDestinationConfig = {
6
7
  apiKey: string;
@@ -62,6 +63,10 @@ export type ObservabilityLangsmithDestination = {
62
63
  * When true, request/response bodies are not forwarded to this destination — only metadata.
63
64
  */
64
65
  privacyMode: boolean;
66
+ /**
67
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
68
+ */
69
+ regions: Array<ObservabilityDataRegion>;
65
70
  /**
66
71
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
67
72
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityLangsmithDestinationConfig$inboundSchema = z.object({
@@ -30,6 +31,7 @@ export const ObservabilityLangsmithDestination$inboundSchema = z.object({
30
31
  id: z.string(),
31
32
  name: z.nullable(z.string()),
32
33
  privacy_mode: z.boolean(),
34
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
33
35
  sampling_rate: z.number(),
34
36
  type: z.literal("langsmith"),
35
37
  updated_at: z.string(),
@@ -2,6 +2,7 @@ import * as z from "zod/v4";
2
2
  import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
5
6
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
6
7
  export declare const Region: {
7
8
  readonly Us: "us";
@@ -60,6 +61,10 @@ export type ObservabilityNewrelicDestination = {
60
61
  * When true, request/response bodies are not forwarded to this destination — only metadata.
61
62
  */
62
63
  privacyMode: boolean;
64
+ /**
65
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
66
+ */
67
+ regions: Array<ObservabilityDataRegion>;
63
68
  /**
64
69
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
65
70
  */
@@ -6,6 +6,7 @@ import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
8
  import * as openEnums from "../types/enums.js";
9
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
9
10
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
10
11
  export const Region = {
11
12
  Us: "us",
@@ -36,6 +37,7 @@ export const ObservabilityNewrelicDestination$inboundSchema = z.object({
36
37
  id: z.string(),
37
38
  name: z.nullable(z.string()),
38
39
  privacy_mode: z.boolean(),
40
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
39
41
  sampling_rate: z.number(),
40
42
  type: z.literal("newrelic"),
41
43
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityOpikDestinationConfig = {
6
7
  apiKey: string;
@@ -55,6 +56,10 @@ export type ObservabilityOpikDestination = {
55
56
  * When true, request/response bodies are not forwarded to this destination — only metadata.
56
57
  */
57
58
  privacyMode: boolean;
59
+ /**
60
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
61
+ */
62
+ regions: Array<ObservabilityDataRegion>;
58
63
  /**
59
64
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
60
65
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityOpikDestinationConfig$inboundSchema = z.object({
@@ -29,6 +30,7 @@ export const ObservabilityOpikDestination$inboundSchema = z.object({
29
30
  id: z.string(),
30
31
  name: z.nullable(z.string()),
31
32
  privacy_mode: z.boolean(),
33
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
32
34
  sampling_rate: z.number(),
33
35
  type: z.literal("opik"),
34
36
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityOtelCollectorDestinationConfig = {
6
7
  endpoint: string;
@@ -53,6 +54,10 @@ export type ObservabilityOtelCollectorDestination = {
53
54
  * When true, request/response bodies are not forwarded to this destination — only metadata.
54
55
  */
55
56
  privacyMode: boolean;
57
+ /**
58
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
59
+ */
60
+ regions: Array<ObservabilityDataRegion>;
56
61
  /**
57
62
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
58
63
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityOtelCollectorDestinationConfig$inboundSchema = z.object({
@@ -27,6 +28,7 @@ export const ObservabilityOtelCollectorDestination$inboundSchema = z.object({
27
28
  id: z.string(),
28
29
  name: z.nullable(z.string()),
29
30
  privacy_mode: z.boolean(),
31
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
30
32
  sampling_rate: z.number(),
31
33
  type: z.literal("otel-collector"),
32
34
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityPosthogDestinationConfig = {
6
7
  apiKey: string;
@@ -54,6 +55,10 @@ export type ObservabilityPosthogDestination = {
54
55
  * When true, request/response bodies are not forwarded to this destination — only metadata.
55
56
  */
56
57
  privacyMode: boolean;
58
+ /**
59
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
60
+ */
61
+ regions: Array<ObservabilityDataRegion>;
57
62
  /**
58
63
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
59
64
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityPosthogDestinationConfig$inboundSchema = z.object({
@@ -28,6 +29,7 @@ export const ObservabilityPosthogDestination$inboundSchema = z.object({
28
29
  id: z.string(),
29
30
  name: z.nullable(z.string()),
30
31
  privacy_mode: z.boolean(),
32
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
31
33
  sampling_rate: z.number(),
32
34
  type: z.literal("posthog"),
33
35
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityRampDestinationConfig = {
6
7
  /**
@@ -57,6 +58,10 @@ export type ObservabilityRampDestination = {
57
58
  * When true, request/response bodies are not forwarded to this destination — only metadata.
58
59
  */
59
60
  privacyMode: boolean;
61
+ /**
62
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
63
+ */
64
+ regions: Array<ObservabilityDataRegion>;
60
65
  /**
61
66
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
62
67
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityRampDestinationConfig$inboundSchema = z.object({
@@ -28,6 +29,7 @@ export const ObservabilityRampDestination$inboundSchema = z.object({
28
29
  id: z.string(),
29
30
  name: z.nullable(z.string()),
30
31
  privacy_mode: z.boolean(),
32
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
31
33
  sampling_rate: z.number(),
32
34
  type: z.literal("ramp"),
33
35
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityS3DestinationConfig = {
6
7
  accessKeyId: string;
@@ -66,6 +67,10 @@ export type ObservabilityS3Destination = {
66
67
  * When true, request/response bodies are not forwarded to this destination — only metadata.
67
68
  */
68
69
  privacyMode: boolean;
70
+ /**
71
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
72
+ */
73
+ regions: Array<ObservabilityDataRegion>;
69
74
  /**
70
75
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
71
76
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityS3DestinationConfig$inboundSchema = z.object({
@@ -34,6 +35,7 @@ export const ObservabilityS3Destination$inboundSchema = z.object({
34
35
  id: z.string(),
35
36
  name: z.nullable(z.string()),
36
37
  privacy_mode: z.boolean(),
38
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
37
39
  sampling_rate: z.number(),
38
40
  type: z.literal("s3"),
39
41
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilitySentryDestinationConfig = {
6
7
  dsn: string;
@@ -54,6 +55,10 @@ export type ObservabilitySentryDestination = {
54
55
  * When true, request/response bodies are not forwarded to this destination — only metadata.
55
56
  */
56
57
  privacyMode: boolean;
58
+ /**
59
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
60
+ */
61
+ regions: Array<ObservabilityDataRegion>;
57
62
  /**
58
63
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
59
64
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilitySentryDestinationConfig$inboundSchema = z.object({
@@ -28,6 +29,7 @@ export const ObservabilitySentryDestination$inboundSchema = z.object({
28
29
  id: z.string(),
29
30
  name: z.nullable(z.string()),
30
31
  privacy_mode: z.boolean(),
32
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
31
33
  sampling_rate: z.number(),
32
34
  type: z.literal("sentry"),
33
35
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilitySnowflakeDestinationConfig = {
6
7
  account: string;
@@ -58,6 +59,10 @@ export type ObservabilitySnowflakeDestination = {
58
59
  * When true, request/response bodies are not forwarded to this destination — only metadata.
59
60
  */
60
61
  privacyMode: boolean;
62
+ /**
63
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
64
+ */
65
+ regions: Array<ObservabilityDataRegion>;
61
66
  /**
62
67
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
63
68
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilitySnowflakeDestinationConfig$inboundSchema = z.object({
@@ -32,6 +33,7 @@ export const ObservabilitySnowflakeDestination$inboundSchema = z.object({
32
33
  id: z.string(),
33
34
  name: z.nullable(z.string()),
34
35
  privacy_mode: z.boolean(),
36
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
35
37
  sampling_rate: z.number(),
36
38
  type: z.literal("snowflake"),
37
39
  updated_at: z.string(),
@@ -1,6 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
4
5
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
5
6
  export type ObservabilityWeaveDestinationConfig = {
6
7
  apiKey: string;
@@ -56,6 +57,10 @@ export type ObservabilityWeaveDestination = {
56
57
  * When true, request/response bodies are not forwarded to this destination — only metadata.
57
58
  */
58
59
  privacyMode: boolean;
60
+ /**
61
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
62
+ */
63
+ regions: Array<ObservabilityDataRegion>;
59
64
  /**
60
65
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
61
66
  */
@@ -5,6 +5,7 @@
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
8
9
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
9
10
  /** @internal */
10
11
  export const ObservabilityWeaveDestinationConfig$inboundSchema = z.object({
@@ -30,6 +31,7 @@ export const ObservabilityWeaveDestination$inboundSchema = z.object({
30
31
  id: z.string(),
31
32
  name: z.nullable(z.string()),
32
33
  privacy_mode: z.boolean(),
34
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
33
35
  sampling_rate: z.number(),
34
36
  type: z.literal("weave"),
35
37
  updated_at: z.string(),
@@ -2,6 +2,7 @@ import * as z from "zod/v4";
2
2
  import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
+ import { ObservabilityDataRegion } from "./observabilitydataregion.js";
5
6
  import { ObservabilityFilterRulesConfig } from "./observabilityfilterrulesconfig.js";
6
7
  export declare const Method: {
7
8
  readonly Post: "POST";
@@ -57,6 +58,10 @@ export type ObservabilityWebhookDestination = {
57
58
  * When true, request/response bodies are not forwarded to this destination — only metadata.
58
59
  */
59
60
  privacyMode: boolean;
61
+ /**
62
+ * Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.
63
+ */
64
+ regions: Array<ObservabilityDataRegion>;
60
65
  /**
61
66
  * Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).
62
67
  */
@@ -6,6 +6,7 @@ import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
8
  import * as openEnums from "../types/enums.js";
9
+ import { ObservabilityDataRegion$inboundSchema, } from "./observabilitydataregion.js";
9
10
  import { ObservabilityFilterRulesConfig$inboundSchema, } from "./observabilityfilterrulesconfig.js";
10
11
  export const Method = {
11
12
  Post: "POST",
@@ -36,6 +37,7 @@ export const ObservabilityWebhookDestination$inboundSchema = z.object({
36
37
  id: z.string(),
37
38
  name: z.nullable(z.string()),
38
39
  privacy_mode: z.boolean(),
40
+ regions: z.array(ObservabilityDataRegion$inboundSchema),
39
41
  sampling_rate: z.number(),
40
42
  type: z.literal("webhook"),
41
43
  updated_at: z.string(),
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod/v4";
2
+ import { ObservabilityDataRegionInput } from "./observabilitydataregioninput.js";
2
3
  import { ObservabilityFilterRulesConfigNullable, ObservabilityFilterRulesConfigNullable$Outbound } from "./observabilityfilterrulesconfignullable.js";
3
4
  export type UpdateObservabilityDestinationRequest = {
4
5
  /**
@@ -36,6 +37,10 @@ export type UpdateObservabilityDestinationRequest = {
36
37
  * When true, request/response bodies are not forwarded — only metadata.
37
38
  */
38
39
  privacyMode?: boolean | undefined;
40
+ /**
41
+ * Data regions this destination applies to. `eu` is accepted as an alias for `europe` and normalizes to `europe`. Omitting this field keeps the current value; it cannot be cleared.
42
+ */
43
+ regions?: Array<ObservabilityDataRegionInput> | undefined;
39
44
  /**
40
45
  * Sampling rate between 0.0001 and 1 (1 = 100%).
41
46
  */
@@ -54,6 +59,7 @@ export type UpdateObservabilityDestinationRequest$Outbound = {
54
59
  filter_rules?: ObservabilityFilterRulesConfigNullable$Outbound | null | undefined;
55
60
  name?: string | undefined;
56
61
  privacy_mode?: boolean | undefined;
62
+ regions?: Array<string> | undefined;
57
63
  sampling_rate?: number | undefined;
58
64
  };
59
65
  /** @internal */
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import * as z from "zod/v4";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
+ import { ObservabilityDataRegionInput$outboundSchema, } from "./observabilitydataregioninput.js";
7
8
  import { ObservabilityFilterRulesConfigNullable$outboundSchema, } from "./observabilityfilterrulesconfignullable.js";
8
9
  /** @internal */
9
10
  export const UpdateObservabilityDestinationRequest$outboundSchema = z.object({
@@ -17,6 +18,7 @@ export const UpdateObservabilityDestinationRequest$outboundSchema = z.object({
17
18
  .optional(),
18
19
  name: z.string().optional(),
19
20
  privacyMode: z.boolean().optional(),
21
+ regions: z.array(ObservabilityDataRegionInput$outboundSchema).optional(),
20
22
  samplingRate: z.number().optional(),
21
23
  }).transform((v) => {
22
24
  return remap$(v, {
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.2.106",
5
+ "version": "1.2.107",
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.106",
3
+ "version": "1.2.107",
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",
77
- "typecheck:transit": "exit 0",
78
76
  "compile": "tsc",
79
77
  "postinstall": "node scripts/check-types.js || true",
80
78
  "prepare": "npm run build",
81
79
  "test": "vitest --run --project unit",
80
+ "test:watch": "vitest --watch --project unit",
81
+ "typecheck": "tsc --noEmit",
82
+ "typecheck:transit": "exit 0",
82
83
  "test:e2e": "vitest --run --project e2e",
83
- "test:transit": "exit 0",
84
- "test:watch": "vitest --watch --project unit"
84
+ "test:transit": "exit 0"
85
85
  },
86
86
  "peerDependencies": {},
87
87
  "devDependencies": {