@sentry/api 0.285.0 → 0.287.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
@@ -1,5 +1,16 @@
1
1
  // src/zod.gen.ts
2
2
  import { z } from "zod";
3
+ var zActionFilterValidator = z.object({
4
+ id: z.number().int().optional(),
5
+ logic_type: z.enum([
6
+ "any",
7
+ "any-short",
8
+ "all",
9
+ "none"
10
+ ]),
11
+ conditions: z.array(z.unknown()).optional(),
12
+ actions: z.array(z.record(z.unknown()))
13
+ });
3
14
  var zAutofixPostResponse = z.object({
4
15
  run_id: z.number().int(),
5
16
  sentry_run_id: z.union([
@@ -12283,7 +12294,17 @@ var zWorkflowValidator = z.object({
12283
12294
  ]),
12284
12295
  conditions: z.array(z.unknown()).optional()
12285
12296
  }).optional(),
12286
- action_filters: z.array(z.record(z.unknown())).optional(),
12297
+ action_filters: z.array(z.object({
12298
+ id: z.number().int().optional(),
12299
+ logic_type: z.enum([
12300
+ "any",
12301
+ "any-short",
12302
+ "all",
12303
+ "none"
12304
+ ]),
12305
+ conditions: z.array(z.unknown()).optional(),
12306
+ actions: z.array(z.record(z.unknown()))
12307
+ })).optional(),
12287
12308
  owner: z.union([
12288
12309
  z.string(),
12289
12310
  z.null()
@@ -23695,7 +23716,17 @@ var zCreateOrganizationWorkflowData = z.object({
23695
23716
  ]),
23696
23717
  conditions: z.array(z.unknown()).optional()
23697
23718
  }).optional(),
23698
- action_filters: z.array(z.record(z.unknown())).optional(),
23719
+ action_filters: z.array(z.object({
23720
+ id: z.number().int().optional(),
23721
+ logic_type: z.enum([
23722
+ "any",
23723
+ "any-short",
23724
+ "all",
23725
+ "none"
23726
+ ]),
23727
+ conditions: z.array(z.unknown()).optional(),
23728
+ actions: z.array(z.record(z.unknown()))
23729
+ })).optional(),
23699
23730
  owner: z.union([
23700
23731
  z.string(),
23701
23732
  z.null()
@@ -24048,7 +24079,17 @@ var zUpdateOrganizationWorkflowData = z.object({
24048
24079
  ]),
24049
24080
  conditions: z.array(z.unknown()).optional()
24050
24081
  }).optional(),
24051
- action_filters: z.array(z.record(z.unknown())).optional(),
24082
+ action_filters: z.array(z.object({
24083
+ id: z.number().int().optional(),
24084
+ logic_type: z.enum([
24085
+ "any",
24086
+ "any-short",
24087
+ "all",
24088
+ "none"
24089
+ ]),
24090
+ conditions: z.array(z.unknown()).optional(),
24091
+ actions: z.array(z.record(z.unknown()))
24092
+ })).optional(),
24052
24093
  owner: z.union([
24053
24094
  z.string(),
24054
24095
  z.null()
@@ -32287,5 +32328,6 @@ export {
32287
32328
  zAddOrganizationMemberTeamResponse,
32288
32329
  zAddOrganizationMemberTeamData,
32289
32330
  zAddOrganizationMemberResponse,
32290
- zAddOrganizationMemberData
32331
+ zAddOrganizationMemberData,
32332
+ zActionFilterValidator
32291
32333
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.285.0",
3
+ "version": "0.287.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",