@sentry/api 0.255.0 → 0.257.0

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.
package/dist/zod.js CHANGED
@@ -2217,7 +2217,10 @@ var zDetector = z.object({
2217
2217
  z.null()
2218
2218
  ]).optional(),
2219
2219
  id: z.string(),
2220
- projectId: z.string(),
2220
+ projectId: z.union([
2221
+ z.string(),
2222
+ z.null()
2223
+ ]),
2221
2224
  name: z.string(),
2222
2225
  type: z.string(),
2223
2226
  workflowIds: z.union([
@@ -4773,7 +4776,10 @@ var zListDetectorSerializerResponse = z.array(z.object({
4773
4776
  z.null()
4774
4777
  ]).optional(),
4775
4778
  id: z.string(),
4776
- projectId: z.string(),
4779
+ projectId: z.union([
4780
+ z.string(),
4781
+ z.null()
4782
+ ]),
4777
4783
  name: z.string(),
4778
4784
  type: z.string(),
4779
4785
  workflowIds: z.union([
@@ -13741,7 +13747,10 @@ var zListOrganizationDetectorsResponse = z.array(z.object({
13741
13747
  z.null()
13742
13748
  ]).optional(),
13743
13749
  id: z.string(),
13744
- projectId: z.string(),
13750
+ projectId: z.union([
13751
+ z.string(),
13752
+ z.null()
13753
+ ]),
13745
13754
  name: z.string(),
13746
13755
  type: z.string(),
13747
13756
  workflowIds: z.union([
@@ -13797,7 +13806,10 @@ var zUpdateOrganizationDetectorsResponse = z.array(z.object({
13797
13806
  z.null()
13798
13807
  ]).optional(),
13799
13808
  id: z.string(),
13800
- projectId: z.string(),
13809
+ projectId: z.union([
13810
+ z.string(),
13811
+ z.null()
13812
+ ]),
13801
13813
  name: z.string(),
13802
13814
  type: z.string(),
13803
13815
  workflowIds: z.union([
@@ -13857,7 +13869,10 @@ var zGetOrganizationDetectorResponse = z.object({
13857
13869
  z.null()
13858
13870
  ]).optional(),
13859
13871
  id: z.string(),
13860
- projectId: z.string(),
13872
+ projectId: z.union([
13873
+ z.string(),
13874
+ z.null()
13875
+ ]),
13861
13876
  name: z.string(),
13862
13877
  type: z.string(),
13863
13878
  workflowIds: z.union([
@@ -13933,7 +13948,10 @@ var zUpdateOrganizationDetectorResponse = z.object({
13933
13948
  z.null()
13934
13949
  ]).optional(),
13935
13950
  id: z.string(),
13936
- projectId: z.string(),
13951
+ projectId: z.union([
13952
+ z.string(),
13953
+ z.null()
13954
+ ]),
13937
13955
  name: z.string(),
13938
13956
  type: z.string(),
13939
13957
  workflowIds: z.union([
@@ -19469,7 +19487,10 @@ var zCreateOrganizationProjectDetectorResponse = z.object({
19469
19487
  z.null()
19470
19488
  ]).optional(),
19471
19489
  id: z.string(),
19472
- projectId: z.string(),
19490
+ projectId: z.union([
19491
+ z.string(),
19492
+ z.null()
19493
+ ]),
19473
19494
  name: z.string(),
19474
19495
  type: z.string(),
19475
19496
  workflowIds: z.union([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.255.0",
3
+ "version": "0.257.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",
@@ -30,6 +30,10 @@
30
30
  "import": "./dist/zod.js",
31
31
  "types": "./dist/zod.d.ts"
32
32
  },
33
+ "./valibot": {
34
+ "import": "./dist/valibot.js",
35
+ "types": "./dist/valibot.d.ts"
36
+ },
33
37
  "./browser": {
34
38
  "import": "./dist/browser.js",
35
39
  "types": "./dist/browser.d.ts"
@@ -47,9 +51,13 @@
47
51
  "url": "https://github.com/getsentry/sentry-api-schema/issues"
48
52
  },
49
53
  "peerDependencies": {
54
+ "valibot": "*",
50
55
  "zod": "^3.24.0"
51
56
  },
52
57
  "peerDependenciesMeta": {
58
+ "valibot": {
59
+ "optional": true
60
+ },
53
61
  "zod": {
54
62
  "optional": true
55
63
  }
@@ -59,6 +67,7 @@
59
67
  "@types/bun": "^1.3.13",
60
68
  "@types/node": "^22",
61
69
  "typescript": "^5.9.3",
70
+ "valibot": "^1.4.2",
62
71
  "zod": "^3.24.0"
63
72
  },
64
73
  "engines": {