@sentry/api 0.224.0 → 0.225.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.
@@ -22,7 +22,7 @@ export type AutofixStateResponse = {
22
22
  * Errors are output in camel case.
23
23
  */
24
24
  export type BaseDataConditionGroupValidator = {
25
- id?: string;
25
+ id?: number;
26
26
  /**
27
27
  * * `any`
28
28
  * * `any-short`
@@ -227,7 +227,7 @@ export type BaseDetectorTypeValidator = {
227
227
  * Errors are output in camel case.
228
228
  */
229
229
  condition_group?: {
230
- id?: string;
230
+ id?: number;
231
231
  /**
232
232
  * * `any`
233
233
  * * `any-short`
@@ -9038,7 +9038,7 @@ export type WorkflowValidator = {
9038
9038
  * Errors are output in camel case.
9039
9039
  */
9040
9040
  triggers?: {
9041
- id?: string;
9041
+ id?: number;
9042
9042
  /**
9043
9043
  * * `any`
9044
9044
  * * `any-short`
@@ -11973,7 +11973,7 @@ export type UpdateOrganizationDetectorData = {
11973
11973
  * Errors are output in camel case.
11974
11974
  */
11975
11975
  condition_group?: {
11976
- id?: string;
11976
+ id?: number;
11977
11977
  /**
11978
11978
  * * `any`
11979
11979
  * * `any-short`
@@ -18447,7 +18447,7 @@ export type CreateOrganizationProjectDetectorData = {
18447
18447
  * Errors are output in camel case.
18448
18448
  */
18449
18449
  condition_group?: {
18450
- id?: string;
18450
+ id?: number;
18451
18451
  /**
18452
18452
  * * `any`
18453
18453
  * * `any-short`
@@ -22219,7 +22219,7 @@ export type CreateOrganizationWorkflowData = {
22219
22219
  * Errors are output in camel case.
22220
22220
  */
22221
22221
  triggers?: {
22222
- id?: string;
22222
+ id?: number;
22223
22223
  /**
22224
22224
  * * `any`
22225
22225
  * * `any-short`
@@ -23230,7 +23230,7 @@ export type UpdateOrganizationWorkflowData = {
23230
23230
  * Errors are output in camel case.
23231
23231
  */
23232
23232
  triggers?: {
23233
- id?: string;
23233
+ id?: number;
23234
23234
  /**
23235
23235
  * * `any`
23236
23236
  * * `any-short`
package/dist/zod.gen.d.ts CHANGED
@@ -28,16 +28,16 @@ export declare const zAutofixStateResponse: z.ZodObject<{
28
28
  * Errors are output in camel case.
29
29
  */
30
30
  export declare const zBaseDataConditionGroupValidator: z.ZodObject<{
31
- id: z.ZodOptional<z.ZodString>;
31
+ id: z.ZodOptional<z.ZodNumber>;
32
32
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
33
33
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  logic_type: "any" | "any-short" | "all" | "none";
36
- id?: string | undefined;
36
+ id?: number | undefined;
37
37
  conditions?: unknown[] | undefined;
38
38
  }, {
39
39
  logic_type: "any" | "any-short" | "all" | "none";
40
- id?: string | undefined;
40
+ id?: number | undefined;
41
41
  conditions?: unknown[] | undefined;
42
42
  }>;
43
43
  /**
@@ -52,16 +52,16 @@ export declare const zBaseDetectorTypeValidator: z.ZodObject<{
52
52
  data_sources: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
53
53
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
54
54
  condition_group: z.ZodOptional<z.ZodObject<{
55
- id: z.ZodOptional<z.ZodString>;
55
+ id: z.ZodOptional<z.ZodNumber>;
56
56
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
57
57
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
58
58
  }, "strip", z.ZodTypeAny, {
59
59
  logic_type: "any" | "any-short" | "all" | "none";
60
- id?: string | undefined;
60
+ id?: number | undefined;
61
61
  conditions?: unknown[] | undefined;
62
62
  }, {
63
63
  logic_type: "any" | "any-short" | "all" | "none";
64
- id?: string | undefined;
64
+ id?: number | undefined;
65
65
  conditions?: unknown[] | undefined;
66
66
  }>>;
67
67
  owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
@@ -76,7 +76,7 @@ export declare const zBaseDetectorTypeValidator: z.ZodObject<{
76
76
  config?: Record<string, unknown> | undefined;
77
77
  condition_group?: {
78
78
  logic_type: "any" | "any-short" | "all" | "none";
79
- id?: string | undefined;
79
+ id?: number | undefined;
80
80
  conditions?: unknown[] | undefined;
81
81
  } | undefined;
82
82
  description?: string | null | undefined;
@@ -90,7 +90,7 @@ export declare const zBaseDetectorTypeValidator: z.ZodObject<{
90
90
  config?: Record<string, unknown> | undefined;
91
91
  condition_group?: {
92
92
  logic_type: "any" | "any-short" | "all" | "none";
93
- id?: string | undefined;
93
+ id?: number | undefined;
94
94
  conditions?: unknown[] | undefined;
95
95
  } | undefined;
96
96
  description?: string | null | undefined;
@@ -26387,16 +26387,16 @@ export declare const zWorkflowValidator: z.ZodObject<{
26387
26387
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
26388
26388
  environment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
26389
26389
  triggers: z.ZodOptional<z.ZodObject<{
26390
- id: z.ZodOptional<z.ZodString>;
26390
+ id: z.ZodOptional<z.ZodNumber>;
26391
26391
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
26392
26392
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
26393
26393
  }, "strip", z.ZodTypeAny, {
26394
26394
  logic_type: "any" | "any-short" | "all" | "none";
26395
- id?: string | undefined;
26395
+ id?: number | undefined;
26396
26396
  conditions?: unknown[] | undefined;
26397
26397
  }, {
26398
26398
  logic_type: "any" | "any-short" | "all" | "none";
26399
- id?: string | undefined;
26399
+ id?: number | undefined;
26400
26400
  conditions?: unknown[] | undefined;
26401
26401
  }>>;
26402
26402
  action_filters: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
@@ -26410,7 +26410,7 @@ export declare const zWorkflowValidator: z.ZodObject<{
26410
26410
  config?: Record<string, unknown> | undefined;
26411
26411
  triggers?: {
26412
26412
  logic_type: "any" | "any-short" | "all" | "none";
26413
- id?: string | undefined;
26413
+ id?: number | undefined;
26414
26414
  conditions?: unknown[] | undefined;
26415
26415
  } | undefined;
26416
26416
  detector_ids?: number[] | undefined;
@@ -26424,7 +26424,7 @@ export declare const zWorkflowValidator: z.ZodObject<{
26424
26424
  enabled?: boolean | undefined;
26425
26425
  triggers?: {
26426
26426
  logic_type: "any" | "any-short" | "all" | "none";
26427
- id?: string | undefined;
26427
+ id?: number | undefined;
26428
26428
  conditions?: unknown[] | undefined;
26429
26429
  } | undefined;
26430
26430
  detector_ids?: number[] | undefined;
@@ -32313,16 +32313,16 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
32313
32313
  data_sources: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
32314
32314
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32315
32315
  condition_group: z.ZodOptional<z.ZodObject<{
32316
- id: z.ZodOptional<z.ZodString>;
32316
+ id: z.ZodOptional<z.ZodNumber>;
32317
32317
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
32318
32318
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
32319
32319
  }, "strip", z.ZodTypeAny, {
32320
32320
  logic_type: "any" | "any-short" | "all" | "none";
32321
- id?: string | undefined;
32321
+ id?: number | undefined;
32322
32322
  conditions?: unknown[] | undefined;
32323
32323
  }, {
32324
32324
  logic_type: "any" | "any-short" | "all" | "none";
32325
- id?: string | undefined;
32325
+ id?: number | undefined;
32326
32326
  conditions?: unknown[] | undefined;
32327
32327
  }>>;
32328
32328
  owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
@@ -32337,7 +32337,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
32337
32337
  config?: Record<string, unknown> | undefined;
32338
32338
  condition_group?: {
32339
32339
  logic_type: "any" | "any-short" | "all" | "none";
32340
- id?: string | undefined;
32340
+ id?: number | undefined;
32341
32341
  conditions?: unknown[] | undefined;
32342
32342
  } | undefined;
32343
32343
  description?: string | null | undefined;
@@ -32351,7 +32351,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
32351
32351
  config?: Record<string, unknown> | undefined;
32352
32352
  condition_group?: {
32353
32353
  logic_type: "any" | "any-short" | "all" | "none";
32354
- id?: string | undefined;
32354
+ id?: number | undefined;
32355
32355
  conditions?: unknown[] | undefined;
32356
32356
  } | undefined;
32357
32357
  description?: string | null | undefined;
@@ -32378,7 +32378,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
32378
32378
  config?: Record<string, unknown> | undefined;
32379
32379
  condition_group?: {
32380
32380
  logic_type: "any" | "any-short" | "all" | "none";
32381
- id?: string | undefined;
32381
+ id?: number | undefined;
32382
32382
  conditions?: unknown[] | undefined;
32383
32383
  } | undefined;
32384
32384
  description?: string | null | undefined;
@@ -32399,7 +32399,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
32399
32399
  config?: Record<string, unknown> | undefined;
32400
32400
  condition_group?: {
32401
32401
  logic_type: "any" | "any-short" | "all" | "none";
32402
- id?: string | undefined;
32402
+ id?: number | undefined;
32403
32403
  conditions?: unknown[] | undefined;
32404
32404
  } | undefined;
32405
32405
  description?: string | null | undefined;
@@ -44983,16 +44983,16 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
44983
44983
  data_sources: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
44984
44984
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
44985
44985
  condition_group: z.ZodOptional<z.ZodObject<{
44986
- id: z.ZodOptional<z.ZodString>;
44986
+ id: z.ZodOptional<z.ZodNumber>;
44987
44987
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
44988
44988
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
44989
44989
  }, "strip", z.ZodTypeAny, {
44990
44990
  logic_type: "any" | "any-short" | "all" | "none";
44991
- id?: string | undefined;
44991
+ id?: number | undefined;
44992
44992
  conditions?: unknown[] | undefined;
44993
44993
  }, {
44994
44994
  logic_type: "any" | "any-short" | "all" | "none";
44995
- id?: string | undefined;
44995
+ id?: number | undefined;
44996
44996
  conditions?: unknown[] | undefined;
44997
44997
  }>>;
44998
44998
  owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
@@ -45007,7 +45007,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
45007
45007
  config?: Record<string, unknown> | undefined;
45008
45008
  condition_group?: {
45009
45009
  logic_type: "any" | "any-short" | "all" | "none";
45010
- id?: string | undefined;
45010
+ id?: number | undefined;
45011
45011
  conditions?: unknown[] | undefined;
45012
45012
  } | undefined;
45013
45013
  description?: string | null | undefined;
@@ -45021,7 +45021,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
45021
45021
  config?: Record<string, unknown> | undefined;
45022
45022
  condition_group?: {
45023
45023
  logic_type: "any" | "any-short" | "all" | "none";
45024
- id?: string | undefined;
45024
+ id?: number | undefined;
45025
45025
  conditions?: unknown[] | undefined;
45026
45026
  } | undefined;
45027
45027
  description?: string | null | undefined;
@@ -45048,7 +45048,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
45048
45048
  config?: Record<string, unknown> | undefined;
45049
45049
  condition_group?: {
45050
45050
  logic_type: "any" | "any-short" | "all" | "none";
45051
- id?: string | undefined;
45051
+ id?: number | undefined;
45052
45052
  conditions?: unknown[] | undefined;
45053
45053
  } | undefined;
45054
45054
  description?: string | null | undefined;
@@ -45069,7 +45069,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
45069
45069
  config?: Record<string, unknown> | undefined;
45070
45070
  condition_group?: {
45071
45071
  logic_type: "any" | "any-short" | "all" | "none";
45072
- id?: string | undefined;
45072
+ id?: number | undefined;
45073
45073
  conditions?: unknown[] | undefined;
45074
45074
  } | undefined;
45075
45075
  description?: string | null | undefined;
@@ -54520,16 +54520,16 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
54520
54520
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
54521
54521
  environment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
54522
54522
  triggers: z.ZodOptional<z.ZodObject<{
54523
- id: z.ZodOptional<z.ZodString>;
54523
+ id: z.ZodOptional<z.ZodNumber>;
54524
54524
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
54525
54525
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
54526
54526
  }, "strip", z.ZodTypeAny, {
54527
54527
  logic_type: "any" | "any-short" | "all" | "none";
54528
- id?: string | undefined;
54528
+ id?: number | undefined;
54529
54529
  conditions?: unknown[] | undefined;
54530
54530
  }, {
54531
54531
  logic_type: "any" | "any-short" | "all" | "none";
54532
- id?: string | undefined;
54532
+ id?: number | undefined;
54533
54533
  conditions?: unknown[] | undefined;
54534
54534
  }>>;
54535
54535
  action_filters: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
@@ -54543,7 +54543,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
54543
54543
  config?: Record<string, unknown> | undefined;
54544
54544
  triggers?: {
54545
54545
  logic_type: "any" | "any-short" | "all" | "none";
54546
- id?: string | undefined;
54546
+ id?: number | undefined;
54547
54547
  conditions?: unknown[] | undefined;
54548
54548
  } | undefined;
54549
54549
  detector_ids?: number[] | undefined;
@@ -54557,7 +54557,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
54557
54557
  enabled?: boolean | undefined;
54558
54558
  triggers?: {
54559
54559
  logic_type: "any" | "any-short" | "all" | "none";
54560
- id?: string | undefined;
54560
+ id?: number | undefined;
54561
54561
  conditions?: unknown[] | undefined;
54562
54562
  } | undefined;
54563
54563
  detector_ids?: number[] | undefined;
@@ -54581,7 +54581,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
54581
54581
  config?: Record<string, unknown> | undefined;
54582
54582
  triggers?: {
54583
54583
  logic_type: "any" | "any-short" | "all" | "none";
54584
- id?: string | undefined;
54584
+ id?: number | undefined;
54585
54585
  conditions?: unknown[] | undefined;
54586
54586
  } | undefined;
54587
54587
  detector_ids?: number[] | undefined;
@@ -54601,7 +54601,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
54601
54601
  enabled?: boolean | undefined;
54602
54602
  triggers?: {
54603
54603
  logic_type: "any" | "any-short" | "all" | "none";
54604
- id?: string | undefined;
54604
+ id?: number | undefined;
54605
54605
  conditions?: unknown[] | undefined;
54606
54606
  } | undefined;
54607
54607
  detector_ids?: number[] | undefined;
@@ -55556,16 +55556,16 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
55556
55556
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
55557
55557
  environment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
55558
55558
  triggers: z.ZodOptional<z.ZodObject<{
55559
- id: z.ZodOptional<z.ZodString>;
55559
+ id: z.ZodOptional<z.ZodNumber>;
55560
55560
  logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
55561
55561
  conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
55562
55562
  }, "strip", z.ZodTypeAny, {
55563
55563
  logic_type: "any" | "any-short" | "all" | "none";
55564
- id?: string | undefined;
55564
+ id?: number | undefined;
55565
55565
  conditions?: unknown[] | undefined;
55566
55566
  }, {
55567
55567
  logic_type: "any" | "any-short" | "all" | "none";
55568
- id?: string | undefined;
55568
+ id?: number | undefined;
55569
55569
  conditions?: unknown[] | undefined;
55570
55570
  }>>;
55571
55571
  action_filters: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
@@ -55579,7 +55579,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
55579
55579
  config?: Record<string, unknown> | undefined;
55580
55580
  triggers?: {
55581
55581
  logic_type: "any" | "any-short" | "all" | "none";
55582
- id?: string | undefined;
55582
+ id?: number | undefined;
55583
55583
  conditions?: unknown[] | undefined;
55584
55584
  } | undefined;
55585
55585
  detector_ids?: number[] | undefined;
@@ -55593,7 +55593,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
55593
55593
  enabled?: boolean | undefined;
55594
55594
  triggers?: {
55595
55595
  logic_type: "any" | "any-short" | "all" | "none";
55596
- id?: string | undefined;
55596
+ id?: number | undefined;
55597
55597
  conditions?: unknown[] | undefined;
55598
55598
  } | undefined;
55599
55599
  detector_ids?: number[] | undefined;
@@ -55620,7 +55620,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
55620
55620
  config?: Record<string, unknown> | undefined;
55621
55621
  triggers?: {
55622
55622
  logic_type: "any" | "any-short" | "all" | "none";
55623
- id?: string | undefined;
55623
+ id?: number | undefined;
55624
55624
  conditions?: unknown[] | undefined;
55625
55625
  } | undefined;
55626
55626
  detector_ids?: number[] | undefined;
@@ -55641,7 +55641,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
55641
55641
  enabled?: boolean | undefined;
55642
55642
  triggers?: {
55643
55643
  logic_type: "any" | "any-short" | "all" | "none";
55644
- id?: string | undefined;
55644
+ id?: number | undefined;
55645
55645
  conditions?: unknown[] | undefined;
55646
55646
  } | undefined;
55647
55647
  detector_ids?: number[] | undefined;
package/dist/zod.js CHANGED
@@ -14,7 +14,7 @@ var zAutofixStateResponse = z.object({
14
14
  ])
15
15
  });
16
16
  var zBaseDataConditionGroupValidator = z.object({
17
- id: z.string().optional(),
17
+ id: z.number().int().optional(),
18
18
  logic_type: z.enum([
19
19
  "any",
20
20
  "any-short",
@@ -30,7 +30,7 @@ var zBaseDetectorTypeValidator = z.object({
30
30
  data_sources: z.array(z.unknown()).optional(),
31
31
  config: z.record(z.unknown()).optional(),
32
32
  condition_group: z.object({
33
- id: z.string().optional(),
33
+ id: z.number().int().optional(),
34
34
  logic_type: z.enum([
35
35
  "any",
36
36
  "any-short",
@@ -10441,7 +10441,7 @@ var zWorkflowValidator = z.object({
10441
10441
  z.null()
10442
10442
  ]).optional(),
10443
10443
  triggers: z.object({
10444
- id: z.string().optional(),
10444
+ id: z.number().int().optional(),
10445
10445
  logic_type: z.enum([
10446
10446
  "any",
10447
10447
  "any-short",
@@ -12144,7 +12144,7 @@ var zUpdateOrganizationDetectorData = z.object({
12144
12144
  data_sources: z.array(z.unknown()).optional(),
12145
12145
  config: z.record(z.unknown()).optional(),
12146
12146
  condition_group: z.object({
12147
- id: z.string().optional(),
12147
+ id: z.number().int().optional(),
12148
12148
  logic_type: z.enum([
12149
12149
  "any",
12150
12150
  "any-short",
@@ -17512,7 +17512,7 @@ var zCreateOrganizationProjectDetectorData = z.object({
17512
17512
  data_sources: z.array(z.unknown()).optional(),
17513
17513
  config: z.record(z.unknown()).optional(),
17514
17514
  condition_group: z.object({
17515
- id: z.string().optional(),
17515
+ id: z.number().int().optional(),
17516
17516
  logic_type: z.enum([
17517
17517
  "any",
17518
17518
  "any-short",
@@ -20610,7 +20610,7 @@ var zCreateOrganizationWorkflowData = z.object({
20610
20610
  z.null()
20611
20611
  ]).optional(),
20612
20612
  triggers: z.object({
20613
- id: z.string().optional(),
20613
+ id: z.number().int().optional(),
20614
20614
  logic_type: z.enum([
20615
20615
  "any",
20616
20616
  "any-short",
@@ -20963,7 +20963,7 @@ var zUpdateOrganizationWorkflowData = z.object({
20963
20963
  z.null()
20964
20964
  ]).optional(),
20965
20965
  triggers: z.object({
20966
- id: z.string().optional(),
20966
+ id: z.number().int().optional(),
20967
20967
  logic_type: z.enum([
20968
20968
  "any",
20969
20969
  "any-short",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.224.0",
3
+ "version": "0.225.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",