@sentry/api 0.436.0 → 0.438.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
@@ -3067,13 +3067,11 @@ var zEventIdLookupResponse = /* @__PURE__ */ z.object({
3067
3067
  /* @__PURE__ */ z.string(),
3068
3068
  /* @__PURE__ */ z.null()
3069
3069
  ]),
3070
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
3071
3070
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3072
3071
  name: /* @__PURE__ */ z.string(),
3073
3072
  value: /* @__PURE__ */ z.string(),
3074
3073
  important: /* @__PURE__ */ z.boolean()
3075
3074
  })),
3076
- type: /* @__PURE__ */ z.number().int(),
3077
3075
  detectionTime: /* @__PURE__ */ z.number(),
3078
3076
  level: /* @__PURE__ */ z.union([
3079
3077
  /* @__PURE__ */ z.string(),
@@ -3090,9 +3088,120 @@ var zEventIdLookupResponse = /* @__PURE__ */ z.object({
3090
3088
  priority: /* @__PURE__ */ z.union([
3091
3089
  /* @__PURE__ */ z.number().int(),
3092
3090
  /* @__PURE__ */ z.null()
3093
- ])
3091
+ ]),
3092
+ type: /* @__PURE__ */ z.literal(8001),
3093
+ evidenceData: /* @__PURE__ */ z.object({
3094
+ detectorId: /* @__PURE__ */ z.number().int(),
3095
+ alertId: /* @__PURE__ */ z.union([
3096
+ /* @__PURE__ */ z.number().int(),
3097
+ /* @__PURE__ */ z.null()
3098
+ ]),
3099
+ value: /* @__PURE__ */ z.union([
3100
+ /* @__PURE__ */ z.number(),
3101
+ /* @__PURE__ */ z.object({
3102
+ value: /* @__PURE__ */ z.number(),
3103
+ sourceId: /* @__PURE__ */ z.string(),
3104
+ subscriptionId: /* @__PURE__ */ z.string(),
3105
+ timestamp: /* @__PURE__ */ z.string()
3106
+ }),
3107
+ /* @__PURE__ */ z.union([
3108
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
3109
+ /* @__PURE__ */ z.null()
3110
+ ])
3111
+ ]),
3112
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
3113
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3114
+ id: /* @__PURE__ */ z.number().int(),
3115
+ type: /* @__PURE__ */ z.string(),
3116
+ comparison: /* @__PURE__ */ z.union([
3117
+ /* @__PURE__ */ z.number(),
3118
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
3119
+ ]),
3120
+ conditionResult: /* @__PURE__ */ z.number().int()
3121
+ })),
3122
+ config: /* @__PURE__ */ z.object({
3123
+ detectionType: /* @__PURE__ */ z.enum([
3124
+ "static",
3125
+ "percent",
3126
+ "dynamic"
3127
+ ]),
3128
+ comparisonDelta: /* @__PURE__ */ z.union([
3129
+ /* @__PURE__ */ z.number().int(),
3130
+ /* @__PURE__ */ z.null()
3131
+ ]).optional()
3132
+ }),
3133
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3134
+ id: /* @__PURE__ */ z.string(),
3135
+ organizationId: /* @__PURE__ */ z.string(),
3136
+ type: /* @__PURE__ */ z.string(),
3137
+ sourceId: /* @__PURE__ */ z.string(),
3138
+ queryObj: /* @__PURE__ */ z.object({
3139
+ id: /* @__PURE__ */ z.string(),
3140
+ status: /* @__PURE__ */ z.number().int(),
3141
+ subscription: /* @__PURE__ */ z.union([
3142
+ /* @__PURE__ */ z.string(),
3143
+ /* @__PURE__ */ z.null()
3144
+ ]),
3145
+ snubaQuery: /* @__PURE__ */ z.object({
3146
+ id: /* @__PURE__ */ z.string(),
3147
+ dataset: /* @__PURE__ */ z.string(),
3148
+ query: /* @__PURE__ */ z.string(),
3149
+ aggregate: /* @__PURE__ */ z.string(),
3150
+ timeWindow: /* @__PURE__ */ z.number().int(),
3151
+ environment: /* @__PURE__ */ z.union([
3152
+ /* @__PURE__ */ z.string(),
3153
+ /* @__PURE__ */ z.null()
3154
+ ]),
3155
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
3156
+ extrapolationMode: /* @__PURE__ */ z.union([
3157
+ /* @__PURE__ */ z.string(),
3158
+ /* @__PURE__ */ z.null()
3159
+ ])
3160
+ })
3161
+ })
3162
+ }))
3163
+ })
3094
3164
  }),
3095
- /* @__PURE__ */ z.null()
3165
+ /* @__PURE__ */ z.object({
3166
+ id: /* @__PURE__ */ z.string(),
3167
+ projectId: /* @__PURE__ */ z.number().int(),
3168
+ eventId: /* @__PURE__ */ z.string(),
3169
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
3170
+ issueTitle: /* @__PURE__ */ z.string(),
3171
+ subtitle: /* @__PURE__ */ z.string(),
3172
+ resourceId: /* @__PURE__ */ z.union([
3173
+ /* @__PURE__ */ z.string(),
3174
+ /* @__PURE__ */ z.null()
3175
+ ]),
3176
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3177
+ name: /* @__PURE__ */ z.string(),
3178
+ value: /* @__PURE__ */ z.string(),
3179
+ important: /* @__PURE__ */ z.boolean()
3180
+ })),
3181
+ detectionTime: /* @__PURE__ */ z.number(),
3182
+ level: /* @__PURE__ */ z.union([
3183
+ /* @__PURE__ */ z.string(),
3184
+ /* @__PURE__ */ z.null()
3185
+ ]),
3186
+ culprit: /* @__PURE__ */ z.union([
3187
+ /* @__PURE__ */ z.string(),
3188
+ /* @__PURE__ */ z.null()
3189
+ ]),
3190
+ assignee: /* @__PURE__ */ z.union([
3191
+ /* @__PURE__ */ z.string(),
3192
+ /* @__PURE__ */ z.null()
3193
+ ]),
3194
+ priority: /* @__PURE__ */ z.union([
3195
+ /* @__PURE__ */ z.number().int(),
3196
+ /* @__PURE__ */ z.null()
3197
+ ]),
3198
+ type: /* @__PURE__ */ z.number().int(),
3199
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
3200
+ }),
3201
+ /* @__PURE__ */ z.union([
3202
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
3203
+ /* @__PURE__ */ z.null()
3204
+ ])
3096
3205
  ]),
3097
3206
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
3098
3207
  crashFile: /* @__PURE__ */ z.union([
@@ -3964,13 +4073,11 @@ var zGroupHashesResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3964
4073
  /* @__PURE__ */ z.string(),
3965
4074
  /* @__PURE__ */ z.null()
3966
4075
  ]),
3967
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
3968
4076
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3969
4077
  name: /* @__PURE__ */ z.string(),
3970
4078
  value: /* @__PURE__ */ z.string(),
3971
4079
  important: /* @__PURE__ */ z.boolean()
3972
4080
  })),
3973
- type: /* @__PURE__ */ z.number().int(),
3974
4081
  detectionTime: /* @__PURE__ */ z.number(),
3975
4082
  level: /* @__PURE__ */ z.union([
3976
4083
  /* @__PURE__ */ z.string(),
@@ -3987,9 +4094,120 @@ var zGroupHashesResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
3987
4094
  priority: /* @__PURE__ */ z.union([
3988
4095
  /* @__PURE__ */ z.number().int(),
3989
4096
  /* @__PURE__ */ z.null()
3990
- ])
4097
+ ]),
4098
+ type: /* @__PURE__ */ z.literal(8001),
4099
+ evidenceData: /* @__PURE__ */ z.object({
4100
+ detectorId: /* @__PURE__ */ z.number().int(),
4101
+ alertId: /* @__PURE__ */ z.union([
4102
+ /* @__PURE__ */ z.number().int(),
4103
+ /* @__PURE__ */ z.null()
4104
+ ]),
4105
+ value: /* @__PURE__ */ z.union([
4106
+ /* @__PURE__ */ z.number(),
4107
+ /* @__PURE__ */ z.object({
4108
+ value: /* @__PURE__ */ z.number(),
4109
+ sourceId: /* @__PURE__ */ z.string(),
4110
+ subscriptionId: /* @__PURE__ */ z.string(),
4111
+ timestamp: /* @__PURE__ */ z.string()
4112
+ }),
4113
+ /* @__PURE__ */ z.union([
4114
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
4115
+ /* @__PURE__ */ z.null()
4116
+ ])
4117
+ ]),
4118
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
4119
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
4120
+ id: /* @__PURE__ */ z.number().int(),
4121
+ type: /* @__PURE__ */ z.string(),
4122
+ comparison: /* @__PURE__ */ z.union([
4123
+ /* @__PURE__ */ z.number(),
4124
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
4125
+ ]),
4126
+ conditionResult: /* @__PURE__ */ z.number().int()
4127
+ })),
4128
+ config: /* @__PURE__ */ z.object({
4129
+ detectionType: /* @__PURE__ */ z.enum([
4130
+ "static",
4131
+ "percent",
4132
+ "dynamic"
4133
+ ]),
4134
+ comparisonDelta: /* @__PURE__ */ z.union([
4135
+ /* @__PURE__ */ z.number().int(),
4136
+ /* @__PURE__ */ z.null()
4137
+ ]).optional()
4138
+ }),
4139
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
4140
+ id: /* @__PURE__ */ z.string(),
4141
+ organizationId: /* @__PURE__ */ z.string(),
4142
+ type: /* @__PURE__ */ z.string(),
4143
+ sourceId: /* @__PURE__ */ z.string(),
4144
+ queryObj: /* @__PURE__ */ z.object({
4145
+ id: /* @__PURE__ */ z.string(),
4146
+ status: /* @__PURE__ */ z.number().int(),
4147
+ subscription: /* @__PURE__ */ z.union([
4148
+ /* @__PURE__ */ z.string(),
4149
+ /* @__PURE__ */ z.null()
4150
+ ]),
4151
+ snubaQuery: /* @__PURE__ */ z.object({
4152
+ id: /* @__PURE__ */ z.string(),
4153
+ dataset: /* @__PURE__ */ z.string(),
4154
+ query: /* @__PURE__ */ z.string(),
4155
+ aggregate: /* @__PURE__ */ z.string(),
4156
+ timeWindow: /* @__PURE__ */ z.number().int(),
4157
+ environment: /* @__PURE__ */ z.union([
4158
+ /* @__PURE__ */ z.string(),
4159
+ /* @__PURE__ */ z.null()
4160
+ ]),
4161
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
4162
+ extrapolationMode: /* @__PURE__ */ z.union([
4163
+ /* @__PURE__ */ z.string(),
4164
+ /* @__PURE__ */ z.null()
4165
+ ])
4166
+ })
4167
+ })
4168
+ }))
4169
+ })
3991
4170
  }),
3992
- /* @__PURE__ */ z.null()
4171
+ /* @__PURE__ */ z.object({
4172
+ id: /* @__PURE__ */ z.string(),
4173
+ projectId: /* @__PURE__ */ z.number().int(),
4174
+ eventId: /* @__PURE__ */ z.string(),
4175
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
4176
+ issueTitle: /* @__PURE__ */ z.string(),
4177
+ subtitle: /* @__PURE__ */ z.string(),
4178
+ resourceId: /* @__PURE__ */ z.union([
4179
+ /* @__PURE__ */ z.string(),
4180
+ /* @__PURE__ */ z.null()
4181
+ ]),
4182
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
4183
+ name: /* @__PURE__ */ z.string(),
4184
+ value: /* @__PURE__ */ z.string(),
4185
+ important: /* @__PURE__ */ z.boolean()
4186
+ })),
4187
+ detectionTime: /* @__PURE__ */ z.number(),
4188
+ level: /* @__PURE__ */ z.union([
4189
+ /* @__PURE__ */ z.string(),
4190
+ /* @__PURE__ */ z.null()
4191
+ ]),
4192
+ culprit: /* @__PURE__ */ z.union([
4193
+ /* @__PURE__ */ z.string(),
4194
+ /* @__PURE__ */ z.null()
4195
+ ]),
4196
+ assignee: /* @__PURE__ */ z.union([
4197
+ /* @__PURE__ */ z.string(),
4198
+ /* @__PURE__ */ z.null()
4199
+ ]),
4200
+ priority: /* @__PURE__ */ z.union([
4201
+ /* @__PURE__ */ z.number().int(),
4202
+ /* @__PURE__ */ z.null()
4203
+ ]),
4204
+ type: /* @__PURE__ */ z.number().int(),
4205
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
4206
+ }),
4207
+ /* @__PURE__ */ z.union([
4208
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
4209
+ /* @__PURE__ */ z.null()
4210
+ ])
3993
4211
  ]),
3994
4212
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
3995
4213
  crashFile: /* @__PURE__ */ z.union([
@@ -4740,13 +4958,11 @@ var zIssueEventDetailsResponse = /* @__PURE__ */ z.object({
4740
4958
  /* @__PURE__ */ z.string(),
4741
4959
  /* @__PURE__ */ z.null()
4742
4960
  ]),
4743
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
4744
4961
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
4745
4962
  name: /* @__PURE__ */ z.string(),
4746
4963
  value: /* @__PURE__ */ z.string(),
4747
4964
  important: /* @__PURE__ */ z.boolean()
4748
4965
  })),
4749
- type: /* @__PURE__ */ z.number().int(),
4750
4966
  detectionTime: /* @__PURE__ */ z.number(),
4751
4967
  level: /* @__PURE__ */ z.union([
4752
4968
  /* @__PURE__ */ z.string(),
@@ -4763,9 +4979,120 @@ var zIssueEventDetailsResponse = /* @__PURE__ */ z.object({
4763
4979
  priority: /* @__PURE__ */ z.union([
4764
4980
  /* @__PURE__ */ z.number().int(),
4765
4981
  /* @__PURE__ */ z.null()
4766
- ])
4982
+ ]),
4983
+ type: /* @__PURE__ */ z.literal(8001),
4984
+ evidenceData: /* @__PURE__ */ z.object({
4985
+ detectorId: /* @__PURE__ */ z.number().int(),
4986
+ alertId: /* @__PURE__ */ z.union([
4987
+ /* @__PURE__ */ z.number().int(),
4988
+ /* @__PURE__ */ z.null()
4989
+ ]),
4990
+ value: /* @__PURE__ */ z.union([
4991
+ /* @__PURE__ */ z.number(),
4992
+ /* @__PURE__ */ z.object({
4993
+ value: /* @__PURE__ */ z.number(),
4994
+ sourceId: /* @__PURE__ */ z.string(),
4995
+ subscriptionId: /* @__PURE__ */ z.string(),
4996
+ timestamp: /* @__PURE__ */ z.string()
4997
+ }),
4998
+ /* @__PURE__ */ z.union([
4999
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
5000
+ /* @__PURE__ */ z.null()
5001
+ ])
5002
+ ]),
5003
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
5004
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
5005
+ id: /* @__PURE__ */ z.number().int(),
5006
+ type: /* @__PURE__ */ z.string(),
5007
+ comparison: /* @__PURE__ */ z.union([
5008
+ /* @__PURE__ */ z.number(),
5009
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
5010
+ ]),
5011
+ conditionResult: /* @__PURE__ */ z.number().int()
5012
+ })),
5013
+ config: /* @__PURE__ */ z.object({
5014
+ detectionType: /* @__PURE__ */ z.enum([
5015
+ "static",
5016
+ "percent",
5017
+ "dynamic"
5018
+ ]),
5019
+ comparisonDelta: /* @__PURE__ */ z.union([
5020
+ /* @__PURE__ */ z.number().int(),
5021
+ /* @__PURE__ */ z.null()
5022
+ ]).optional()
5023
+ }),
5024
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
5025
+ id: /* @__PURE__ */ z.string(),
5026
+ organizationId: /* @__PURE__ */ z.string(),
5027
+ type: /* @__PURE__ */ z.string(),
5028
+ sourceId: /* @__PURE__ */ z.string(),
5029
+ queryObj: /* @__PURE__ */ z.object({
5030
+ id: /* @__PURE__ */ z.string(),
5031
+ status: /* @__PURE__ */ z.number().int(),
5032
+ subscription: /* @__PURE__ */ z.union([
5033
+ /* @__PURE__ */ z.string(),
5034
+ /* @__PURE__ */ z.null()
5035
+ ]),
5036
+ snubaQuery: /* @__PURE__ */ z.object({
5037
+ id: /* @__PURE__ */ z.string(),
5038
+ dataset: /* @__PURE__ */ z.string(),
5039
+ query: /* @__PURE__ */ z.string(),
5040
+ aggregate: /* @__PURE__ */ z.string(),
5041
+ timeWindow: /* @__PURE__ */ z.number().int(),
5042
+ environment: /* @__PURE__ */ z.union([
5043
+ /* @__PURE__ */ z.string(),
5044
+ /* @__PURE__ */ z.null()
5045
+ ]),
5046
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
5047
+ extrapolationMode: /* @__PURE__ */ z.union([
5048
+ /* @__PURE__ */ z.string(),
5049
+ /* @__PURE__ */ z.null()
5050
+ ])
5051
+ })
5052
+ })
5053
+ }))
5054
+ })
4767
5055
  }),
4768
- /* @__PURE__ */ z.null()
5056
+ /* @__PURE__ */ z.object({
5057
+ id: /* @__PURE__ */ z.string(),
5058
+ projectId: /* @__PURE__ */ z.number().int(),
5059
+ eventId: /* @__PURE__ */ z.string(),
5060
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
5061
+ issueTitle: /* @__PURE__ */ z.string(),
5062
+ subtitle: /* @__PURE__ */ z.string(),
5063
+ resourceId: /* @__PURE__ */ z.union([
5064
+ /* @__PURE__ */ z.string(),
5065
+ /* @__PURE__ */ z.null()
5066
+ ]),
5067
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
5068
+ name: /* @__PURE__ */ z.string(),
5069
+ value: /* @__PURE__ */ z.string(),
5070
+ important: /* @__PURE__ */ z.boolean()
5071
+ })),
5072
+ detectionTime: /* @__PURE__ */ z.number(),
5073
+ level: /* @__PURE__ */ z.union([
5074
+ /* @__PURE__ */ z.string(),
5075
+ /* @__PURE__ */ z.null()
5076
+ ]),
5077
+ culprit: /* @__PURE__ */ z.union([
5078
+ /* @__PURE__ */ z.string(),
5079
+ /* @__PURE__ */ z.null()
5080
+ ]),
5081
+ assignee: /* @__PURE__ */ z.union([
5082
+ /* @__PURE__ */ z.string(),
5083
+ /* @__PURE__ */ z.null()
5084
+ ]),
5085
+ priority: /* @__PURE__ */ z.union([
5086
+ /* @__PURE__ */ z.number().int(),
5087
+ /* @__PURE__ */ z.null()
5088
+ ]),
5089
+ type: /* @__PURE__ */ z.number().int(),
5090
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
5091
+ }),
5092
+ /* @__PURE__ */ z.union([
5093
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
5094
+ /* @__PURE__ */ z.null()
5095
+ ])
4769
5096
  ]),
4770
5097
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
4771
5098
  crashFile: /* @__PURE__ */ z.union([
@@ -11156,13 +11483,11 @@ var zProjectEventDetailsResponse = /* @__PURE__ */ z.object({
11156
11483
  /* @__PURE__ */ z.string(),
11157
11484
  /* @__PURE__ */ z.null()
11158
11485
  ]),
11159
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
11160
11486
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
11161
11487
  name: /* @__PURE__ */ z.string(),
11162
11488
  value: /* @__PURE__ */ z.string(),
11163
11489
  important: /* @__PURE__ */ z.boolean()
11164
11490
  })),
11165
- type: /* @__PURE__ */ z.number().int(),
11166
11491
  detectionTime: /* @__PURE__ */ z.number(),
11167
11492
  level: /* @__PURE__ */ z.union([
11168
11493
  /* @__PURE__ */ z.string(),
@@ -11179,9 +11504,120 @@ var zProjectEventDetailsResponse = /* @__PURE__ */ z.object({
11179
11504
  priority: /* @__PURE__ */ z.union([
11180
11505
  /* @__PURE__ */ z.number().int(),
11181
11506
  /* @__PURE__ */ z.null()
11182
- ])
11507
+ ]),
11508
+ type: /* @__PURE__ */ z.literal(8001),
11509
+ evidenceData: /* @__PURE__ */ z.object({
11510
+ detectorId: /* @__PURE__ */ z.number().int(),
11511
+ alertId: /* @__PURE__ */ z.union([
11512
+ /* @__PURE__ */ z.number().int(),
11513
+ /* @__PURE__ */ z.null()
11514
+ ]),
11515
+ value: /* @__PURE__ */ z.union([
11516
+ /* @__PURE__ */ z.number(),
11517
+ /* @__PURE__ */ z.object({
11518
+ value: /* @__PURE__ */ z.number(),
11519
+ sourceId: /* @__PURE__ */ z.string(),
11520
+ subscriptionId: /* @__PURE__ */ z.string(),
11521
+ timestamp: /* @__PURE__ */ z.string()
11522
+ }),
11523
+ /* @__PURE__ */ z.union([
11524
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
11525
+ /* @__PURE__ */ z.null()
11526
+ ])
11527
+ ]),
11528
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
11529
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
11530
+ id: /* @__PURE__ */ z.number().int(),
11531
+ type: /* @__PURE__ */ z.string(),
11532
+ comparison: /* @__PURE__ */ z.union([
11533
+ /* @__PURE__ */ z.number(),
11534
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
11535
+ ]),
11536
+ conditionResult: /* @__PURE__ */ z.number().int()
11537
+ })),
11538
+ config: /* @__PURE__ */ z.object({
11539
+ detectionType: /* @__PURE__ */ z.enum([
11540
+ "static",
11541
+ "percent",
11542
+ "dynamic"
11543
+ ]),
11544
+ comparisonDelta: /* @__PURE__ */ z.union([
11545
+ /* @__PURE__ */ z.number().int(),
11546
+ /* @__PURE__ */ z.null()
11547
+ ]).optional()
11548
+ }),
11549
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
11550
+ id: /* @__PURE__ */ z.string(),
11551
+ organizationId: /* @__PURE__ */ z.string(),
11552
+ type: /* @__PURE__ */ z.string(),
11553
+ sourceId: /* @__PURE__ */ z.string(),
11554
+ queryObj: /* @__PURE__ */ z.object({
11555
+ id: /* @__PURE__ */ z.string(),
11556
+ status: /* @__PURE__ */ z.number().int(),
11557
+ subscription: /* @__PURE__ */ z.union([
11558
+ /* @__PURE__ */ z.string(),
11559
+ /* @__PURE__ */ z.null()
11560
+ ]),
11561
+ snubaQuery: /* @__PURE__ */ z.object({
11562
+ id: /* @__PURE__ */ z.string(),
11563
+ dataset: /* @__PURE__ */ z.string(),
11564
+ query: /* @__PURE__ */ z.string(),
11565
+ aggregate: /* @__PURE__ */ z.string(),
11566
+ timeWindow: /* @__PURE__ */ z.number().int(),
11567
+ environment: /* @__PURE__ */ z.union([
11568
+ /* @__PURE__ */ z.string(),
11569
+ /* @__PURE__ */ z.null()
11570
+ ]),
11571
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
11572
+ extrapolationMode: /* @__PURE__ */ z.union([
11573
+ /* @__PURE__ */ z.string(),
11574
+ /* @__PURE__ */ z.null()
11575
+ ])
11576
+ })
11577
+ })
11578
+ }))
11579
+ })
11183
11580
  }),
11184
- /* @__PURE__ */ z.null()
11581
+ /* @__PURE__ */ z.object({
11582
+ id: /* @__PURE__ */ z.string(),
11583
+ projectId: /* @__PURE__ */ z.number().int(),
11584
+ eventId: /* @__PURE__ */ z.string(),
11585
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
11586
+ issueTitle: /* @__PURE__ */ z.string(),
11587
+ subtitle: /* @__PURE__ */ z.string(),
11588
+ resourceId: /* @__PURE__ */ z.union([
11589
+ /* @__PURE__ */ z.string(),
11590
+ /* @__PURE__ */ z.null()
11591
+ ]),
11592
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
11593
+ name: /* @__PURE__ */ z.string(),
11594
+ value: /* @__PURE__ */ z.string(),
11595
+ important: /* @__PURE__ */ z.boolean()
11596
+ })),
11597
+ detectionTime: /* @__PURE__ */ z.number(),
11598
+ level: /* @__PURE__ */ z.union([
11599
+ /* @__PURE__ */ z.string(),
11600
+ /* @__PURE__ */ z.null()
11601
+ ]),
11602
+ culprit: /* @__PURE__ */ z.union([
11603
+ /* @__PURE__ */ z.string(),
11604
+ /* @__PURE__ */ z.null()
11605
+ ]),
11606
+ assignee: /* @__PURE__ */ z.union([
11607
+ /* @__PURE__ */ z.string(),
11608
+ /* @__PURE__ */ z.null()
11609
+ ]),
11610
+ priority: /* @__PURE__ */ z.union([
11611
+ /* @__PURE__ */ z.number().int(),
11612
+ /* @__PURE__ */ z.null()
11613
+ ]),
11614
+ type: /* @__PURE__ */ z.number().int(),
11615
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
11616
+ }),
11617
+ /* @__PURE__ */ z.union([
11618
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
11619
+ /* @__PURE__ */ z.null()
11620
+ ])
11185
11621
  ]),
11186
11622
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
11187
11623
  crashFile: /* @__PURE__ */ z.union([
@@ -17284,13 +17720,11 @@ var zResolveOrganizationEventIdResponse = /* @__PURE__ */ z.object({
17284
17720
  /* @__PURE__ */ z.string(),
17285
17721
  /* @__PURE__ */ z.null()
17286
17722
  ]),
17287
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
17288
17723
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
17289
17724
  name: /* @__PURE__ */ z.string(),
17290
17725
  value: /* @__PURE__ */ z.string(),
17291
17726
  important: /* @__PURE__ */ z.boolean()
17292
17727
  })),
17293
- type: /* @__PURE__ */ z.number().int(),
17294
17728
  detectionTime: /* @__PURE__ */ z.number(),
17295
17729
  level: /* @__PURE__ */ z.union([
17296
17730
  /* @__PURE__ */ z.string(),
@@ -17307,9 +17741,120 @@ var zResolveOrganizationEventIdResponse = /* @__PURE__ */ z.object({
17307
17741
  priority: /* @__PURE__ */ z.union([
17308
17742
  /* @__PURE__ */ z.number().int(),
17309
17743
  /* @__PURE__ */ z.null()
17310
- ])
17744
+ ]),
17745
+ type: /* @__PURE__ */ z.literal(8001),
17746
+ evidenceData: /* @__PURE__ */ z.object({
17747
+ detectorId: /* @__PURE__ */ z.number().int(),
17748
+ alertId: /* @__PURE__ */ z.union([
17749
+ /* @__PURE__ */ z.number().int(),
17750
+ /* @__PURE__ */ z.null()
17751
+ ]),
17752
+ value: /* @__PURE__ */ z.union([
17753
+ /* @__PURE__ */ z.number(),
17754
+ /* @__PURE__ */ z.object({
17755
+ value: /* @__PURE__ */ z.number(),
17756
+ sourceId: /* @__PURE__ */ z.string(),
17757
+ subscriptionId: /* @__PURE__ */ z.string(),
17758
+ timestamp: /* @__PURE__ */ z.string()
17759
+ }),
17760
+ /* @__PURE__ */ z.union([
17761
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
17762
+ /* @__PURE__ */ z.null()
17763
+ ])
17764
+ ]),
17765
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
17766
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
17767
+ id: /* @__PURE__ */ z.number().int(),
17768
+ type: /* @__PURE__ */ z.string(),
17769
+ comparison: /* @__PURE__ */ z.union([
17770
+ /* @__PURE__ */ z.number(),
17771
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
17772
+ ]),
17773
+ conditionResult: /* @__PURE__ */ z.number().int()
17774
+ })),
17775
+ config: /* @__PURE__ */ z.object({
17776
+ detectionType: /* @__PURE__ */ z.enum([
17777
+ "static",
17778
+ "percent",
17779
+ "dynamic"
17780
+ ]),
17781
+ comparisonDelta: /* @__PURE__ */ z.union([
17782
+ /* @__PURE__ */ z.number().int(),
17783
+ /* @__PURE__ */ z.null()
17784
+ ]).optional()
17785
+ }),
17786
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
17787
+ id: /* @__PURE__ */ z.string(),
17788
+ organizationId: /* @__PURE__ */ z.string(),
17789
+ type: /* @__PURE__ */ z.string(),
17790
+ sourceId: /* @__PURE__ */ z.string(),
17791
+ queryObj: /* @__PURE__ */ z.object({
17792
+ id: /* @__PURE__ */ z.string(),
17793
+ status: /* @__PURE__ */ z.number().int(),
17794
+ subscription: /* @__PURE__ */ z.union([
17795
+ /* @__PURE__ */ z.string(),
17796
+ /* @__PURE__ */ z.null()
17797
+ ]),
17798
+ snubaQuery: /* @__PURE__ */ z.object({
17799
+ id: /* @__PURE__ */ z.string(),
17800
+ dataset: /* @__PURE__ */ z.string(),
17801
+ query: /* @__PURE__ */ z.string(),
17802
+ aggregate: /* @__PURE__ */ z.string(),
17803
+ timeWindow: /* @__PURE__ */ z.number().int(),
17804
+ environment: /* @__PURE__ */ z.union([
17805
+ /* @__PURE__ */ z.string(),
17806
+ /* @__PURE__ */ z.null()
17807
+ ]),
17808
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
17809
+ extrapolationMode: /* @__PURE__ */ z.union([
17810
+ /* @__PURE__ */ z.string(),
17811
+ /* @__PURE__ */ z.null()
17812
+ ])
17813
+ })
17814
+ })
17815
+ }))
17816
+ })
17311
17817
  }),
17312
- /* @__PURE__ */ z.null()
17818
+ /* @__PURE__ */ z.object({
17819
+ id: /* @__PURE__ */ z.string(),
17820
+ projectId: /* @__PURE__ */ z.number().int(),
17821
+ eventId: /* @__PURE__ */ z.string(),
17822
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
17823
+ issueTitle: /* @__PURE__ */ z.string(),
17824
+ subtitle: /* @__PURE__ */ z.string(),
17825
+ resourceId: /* @__PURE__ */ z.union([
17826
+ /* @__PURE__ */ z.string(),
17827
+ /* @__PURE__ */ z.null()
17828
+ ]),
17829
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
17830
+ name: /* @__PURE__ */ z.string(),
17831
+ value: /* @__PURE__ */ z.string(),
17832
+ important: /* @__PURE__ */ z.boolean()
17833
+ })),
17834
+ detectionTime: /* @__PURE__ */ z.number(),
17835
+ level: /* @__PURE__ */ z.union([
17836
+ /* @__PURE__ */ z.string(),
17837
+ /* @__PURE__ */ z.null()
17838
+ ]),
17839
+ culprit: /* @__PURE__ */ z.union([
17840
+ /* @__PURE__ */ z.string(),
17841
+ /* @__PURE__ */ z.null()
17842
+ ]),
17843
+ assignee: /* @__PURE__ */ z.union([
17844
+ /* @__PURE__ */ z.string(),
17845
+ /* @__PURE__ */ z.null()
17846
+ ]),
17847
+ priority: /* @__PURE__ */ z.union([
17848
+ /* @__PURE__ */ z.number().int(),
17849
+ /* @__PURE__ */ z.null()
17850
+ ]),
17851
+ type: /* @__PURE__ */ z.number().int(),
17852
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
17853
+ }),
17854
+ /* @__PURE__ */ z.union([
17855
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
17856
+ /* @__PURE__ */ z.null()
17857
+ ])
17313
17858
  ]),
17314
17859
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
17315
17860
  crashFile: /* @__PURE__ */ z.union([
@@ -29152,13 +29697,11 @@ var zGetProjectEventResponse = /* @__PURE__ */ z.object({
29152
29697
  /* @__PURE__ */ z.string(),
29153
29698
  /* @__PURE__ */ z.null()
29154
29699
  ]),
29155
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
29156
29700
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
29157
29701
  name: /* @__PURE__ */ z.string(),
29158
29702
  value: /* @__PURE__ */ z.string(),
29159
29703
  important: /* @__PURE__ */ z.boolean()
29160
29704
  })),
29161
- type: /* @__PURE__ */ z.number().int(),
29162
29705
  detectionTime: /* @__PURE__ */ z.number(),
29163
29706
  level: /* @__PURE__ */ z.union([
29164
29707
  /* @__PURE__ */ z.string(),
@@ -29175,9 +29718,120 @@ var zGetProjectEventResponse = /* @__PURE__ */ z.object({
29175
29718
  priority: /* @__PURE__ */ z.union([
29176
29719
  /* @__PURE__ */ z.number().int(),
29177
29720
  /* @__PURE__ */ z.null()
29178
- ])
29721
+ ]),
29722
+ type: /* @__PURE__ */ z.literal(8001),
29723
+ evidenceData: /* @__PURE__ */ z.object({
29724
+ detectorId: /* @__PURE__ */ z.number().int(),
29725
+ alertId: /* @__PURE__ */ z.union([
29726
+ /* @__PURE__ */ z.number().int(),
29727
+ /* @__PURE__ */ z.null()
29728
+ ]),
29729
+ value: /* @__PURE__ */ z.union([
29730
+ /* @__PURE__ */ z.number(),
29731
+ /* @__PURE__ */ z.object({
29732
+ value: /* @__PURE__ */ z.number(),
29733
+ sourceId: /* @__PURE__ */ z.string(),
29734
+ subscriptionId: /* @__PURE__ */ z.string(),
29735
+ timestamp: /* @__PURE__ */ z.string()
29736
+ }),
29737
+ /* @__PURE__ */ z.union([
29738
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
29739
+ /* @__PURE__ */ z.null()
29740
+ ])
29741
+ ]),
29742
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
29743
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
29744
+ id: /* @__PURE__ */ z.number().int(),
29745
+ type: /* @__PURE__ */ z.string(),
29746
+ comparison: /* @__PURE__ */ z.union([
29747
+ /* @__PURE__ */ z.number(),
29748
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
29749
+ ]),
29750
+ conditionResult: /* @__PURE__ */ z.number().int()
29751
+ })),
29752
+ config: /* @__PURE__ */ z.object({
29753
+ detectionType: /* @__PURE__ */ z.enum([
29754
+ "static",
29755
+ "percent",
29756
+ "dynamic"
29757
+ ]),
29758
+ comparisonDelta: /* @__PURE__ */ z.union([
29759
+ /* @__PURE__ */ z.number().int(),
29760
+ /* @__PURE__ */ z.null()
29761
+ ]).optional()
29762
+ }),
29763
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
29764
+ id: /* @__PURE__ */ z.string(),
29765
+ organizationId: /* @__PURE__ */ z.string(),
29766
+ type: /* @__PURE__ */ z.string(),
29767
+ sourceId: /* @__PURE__ */ z.string(),
29768
+ queryObj: /* @__PURE__ */ z.object({
29769
+ id: /* @__PURE__ */ z.string(),
29770
+ status: /* @__PURE__ */ z.number().int(),
29771
+ subscription: /* @__PURE__ */ z.union([
29772
+ /* @__PURE__ */ z.string(),
29773
+ /* @__PURE__ */ z.null()
29774
+ ]),
29775
+ snubaQuery: /* @__PURE__ */ z.object({
29776
+ id: /* @__PURE__ */ z.string(),
29777
+ dataset: /* @__PURE__ */ z.string(),
29778
+ query: /* @__PURE__ */ z.string(),
29779
+ aggregate: /* @__PURE__ */ z.string(),
29780
+ timeWindow: /* @__PURE__ */ z.number().int(),
29781
+ environment: /* @__PURE__ */ z.union([
29782
+ /* @__PURE__ */ z.string(),
29783
+ /* @__PURE__ */ z.null()
29784
+ ]),
29785
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
29786
+ extrapolationMode: /* @__PURE__ */ z.union([
29787
+ /* @__PURE__ */ z.string(),
29788
+ /* @__PURE__ */ z.null()
29789
+ ])
29790
+ })
29791
+ })
29792
+ }))
29793
+ })
29179
29794
  }),
29180
- /* @__PURE__ */ z.null()
29795
+ /* @__PURE__ */ z.object({
29796
+ id: /* @__PURE__ */ z.string(),
29797
+ projectId: /* @__PURE__ */ z.number().int(),
29798
+ eventId: /* @__PURE__ */ z.string(),
29799
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
29800
+ issueTitle: /* @__PURE__ */ z.string(),
29801
+ subtitle: /* @__PURE__ */ z.string(),
29802
+ resourceId: /* @__PURE__ */ z.union([
29803
+ /* @__PURE__ */ z.string(),
29804
+ /* @__PURE__ */ z.null()
29805
+ ]),
29806
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
29807
+ name: /* @__PURE__ */ z.string(),
29808
+ value: /* @__PURE__ */ z.string(),
29809
+ important: /* @__PURE__ */ z.boolean()
29810
+ })),
29811
+ detectionTime: /* @__PURE__ */ z.number(),
29812
+ level: /* @__PURE__ */ z.union([
29813
+ /* @__PURE__ */ z.string(),
29814
+ /* @__PURE__ */ z.null()
29815
+ ]),
29816
+ culprit: /* @__PURE__ */ z.union([
29817
+ /* @__PURE__ */ z.string(),
29818
+ /* @__PURE__ */ z.null()
29819
+ ]),
29820
+ assignee: /* @__PURE__ */ z.union([
29821
+ /* @__PURE__ */ z.string(),
29822
+ /* @__PURE__ */ z.null()
29823
+ ]),
29824
+ priority: /* @__PURE__ */ z.union([
29825
+ /* @__PURE__ */ z.number().int(),
29826
+ /* @__PURE__ */ z.null()
29827
+ ]),
29828
+ type: /* @__PURE__ */ z.number().int(),
29829
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
29830
+ }),
29831
+ /* @__PURE__ */ z.union([
29832
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
29833
+ /* @__PURE__ */ z.null()
29834
+ ])
29181
29835
  ]),
29182
29836
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
29183
29837
  crashFile: /* @__PURE__ */ z.union([
@@ -35880,13 +36534,11 @@ var zGetOrganizationIssueEventResponse = /* @__PURE__ */ z.object({
35880
36534
  /* @__PURE__ */ z.string(),
35881
36535
  /* @__PURE__ */ z.null()
35882
36536
  ]),
35883
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
35884
36537
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
35885
36538
  name: /* @__PURE__ */ z.string(),
35886
36539
  value: /* @__PURE__ */ z.string(),
35887
36540
  important: /* @__PURE__ */ z.boolean()
35888
36541
  })),
35889
- type: /* @__PURE__ */ z.number().int(),
35890
36542
  detectionTime: /* @__PURE__ */ z.number(),
35891
36543
  level: /* @__PURE__ */ z.union([
35892
36544
  /* @__PURE__ */ z.string(),
@@ -35903,9 +36555,120 @@ var zGetOrganizationIssueEventResponse = /* @__PURE__ */ z.object({
35903
36555
  priority: /* @__PURE__ */ z.union([
35904
36556
  /* @__PURE__ */ z.number().int(),
35905
36557
  /* @__PURE__ */ z.null()
35906
- ])
36558
+ ]),
36559
+ type: /* @__PURE__ */ z.literal(8001),
36560
+ evidenceData: /* @__PURE__ */ z.object({
36561
+ detectorId: /* @__PURE__ */ z.number().int(),
36562
+ alertId: /* @__PURE__ */ z.union([
36563
+ /* @__PURE__ */ z.number().int(),
36564
+ /* @__PURE__ */ z.null()
36565
+ ]),
36566
+ value: /* @__PURE__ */ z.union([
36567
+ /* @__PURE__ */ z.number(),
36568
+ /* @__PURE__ */ z.object({
36569
+ value: /* @__PURE__ */ z.number(),
36570
+ sourceId: /* @__PURE__ */ z.string(),
36571
+ subscriptionId: /* @__PURE__ */ z.string(),
36572
+ timestamp: /* @__PURE__ */ z.string()
36573
+ }),
36574
+ /* @__PURE__ */ z.union([
36575
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
36576
+ /* @__PURE__ */ z.null()
36577
+ ])
36578
+ ]),
36579
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
36580
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
36581
+ id: /* @__PURE__ */ z.number().int(),
36582
+ type: /* @__PURE__ */ z.string(),
36583
+ comparison: /* @__PURE__ */ z.union([
36584
+ /* @__PURE__ */ z.number(),
36585
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
36586
+ ]),
36587
+ conditionResult: /* @__PURE__ */ z.number().int()
36588
+ })),
36589
+ config: /* @__PURE__ */ z.object({
36590
+ detectionType: /* @__PURE__ */ z.enum([
36591
+ "static",
36592
+ "percent",
36593
+ "dynamic"
36594
+ ]),
36595
+ comparisonDelta: /* @__PURE__ */ z.union([
36596
+ /* @__PURE__ */ z.number().int(),
36597
+ /* @__PURE__ */ z.null()
36598
+ ]).optional()
36599
+ }),
36600
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
36601
+ id: /* @__PURE__ */ z.string(),
36602
+ organizationId: /* @__PURE__ */ z.string(),
36603
+ type: /* @__PURE__ */ z.string(),
36604
+ sourceId: /* @__PURE__ */ z.string(),
36605
+ queryObj: /* @__PURE__ */ z.object({
36606
+ id: /* @__PURE__ */ z.string(),
36607
+ status: /* @__PURE__ */ z.number().int(),
36608
+ subscription: /* @__PURE__ */ z.union([
36609
+ /* @__PURE__ */ z.string(),
36610
+ /* @__PURE__ */ z.null()
36611
+ ]),
36612
+ snubaQuery: /* @__PURE__ */ z.object({
36613
+ id: /* @__PURE__ */ z.string(),
36614
+ dataset: /* @__PURE__ */ z.string(),
36615
+ query: /* @__PURE__ */ z.string(),
36616
+ aggregate: /* @__PURE__ */ z.string(),
36617
+ timeWindow: /* @__PURE__ */ z.number().int(),
36618
+ environment: /* @__PURE__ */ z.union([
36619
+ /* @__PURE__ */ z.string(),
36620
+ /* @__PURE__ */ z.null()
36621
+ ]),
36622
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
36623
+ extrapolationMode: /* @__PURE__ */ z.union([
36624
+ /* @__PURE__ */ z.string(),
36625
+ /* @__PURE__ */ z.null()
36626
+ ])
36627
+ })
36628
+ })
36629
+ }))
36630
+ })
35907
36631
  }),
35908
- /* @__PURE__ */ z.null()
36632
+ /* @__PURE__ */ z.object({
36633
+ id: /* @__PURE__ */ z.string(),
36634
+ projectId: /* @__PURE__ */ z.number().int(),
36635
+ eventId: /* @__PURE__ */ z.string(),
36636
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
36637
+ issueTitle: /* @__PURE__ */ z.string(),
36638
+ subtitle: /* @__PURE__ */ z.string(),
36639
+ resourceId: /* @__PURE__ */ z.union([
36640
+ /* @__PURE__ */ z.string(),
36641
+ /* @__PURE__ */ z.null()
36642
+ ]),
36643
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
36644
+ name: /* @__PURE__ */ z.string(),
36645
+ value: /* @__PURE__ */ z.string(),
36646
+ important: /* @__PURE__ */ z.boolean()
36647
+ })),
36648
+ detectionTime: /* @__PURE__ */ z.number(),
36649
+ level: /* @__PURE__ */ z.union([
36650
+ /* @__PURE__ */ z.string(),
36651
+ /* @__PURE__ */ z.null()
36652
+ ]),
36653
+ culprit: /* @__PURE__ */ z.union([
36654
+ /* @__PURE__ */ z.string(),
36655
+ /* @__PURE__ */ z.null()
36656
+ ]),
36657
+ assignee: /* @__PURE__ */ z.union([
36658
+ /* @__PURE__ */ z.string(),
36659
+ /* @__PURE__ */ z.null()
36660
+ ]),
36661
+ priority: /* @__PURE__ */ z.union([
36662
+ /* @__PURE__ */ z.number().int(),
36663
+ /* @__PURE__ */ z.null()
36664
+ ]),
36665
+ type: /* @__PURE__ */ z.number().int(),
36666
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
36667
+ }),
36668
+ /* @__PURE__ */ z.union([
36669
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
36670
+ /* @__PURE__ */ z.null()
36671
+ ])
35909
36672
  ]),
35910
36673
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
35911
36674
  crashFile: /* @__PURE__ */ z.union([
@@ -36239,13 +37002,11 @@ var zListOrganizationIssueHashesResponse = /* @__PURE__ */ z.array(/* @__PURE__
36239
37002
  /* @__PURE__ */ z.string(),
36240
37003
  /* @__PURE__ */ z.null()
36241
37004
  ]),
36242
- evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
36243
37005
  evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
36244
37006
  name: /* @__PURE__ */ z.string(),
36245
37007
  value: /* @__PURE__ */ z.string(),
36246
37008
  important: /* @__PURE__ */ z.boolean()
36247
37009
  })),
36248
- type: /* @__PURE__ */ z.number().int(),
36249
37010
  detectionTime: /* @__PURE__ */ z.number(),
36250
37011
  level: /* @__PURE__ */ z.union([
36251
37012
  /* @__PURE__ */ z.string(),
@@ -36262,9 +37023,120 @@ var zListOrganizationIssueHashesResponse = /* @__PURE__ */ z.array(/* @__PURE__
36262
37023
  priority: /* @__PURE__ */ z.union([
36263
37024
  /* @__PURE__ */ z.number().int(),
36264
37025
  /* @__PURE__ */ z.null()
36265
- ])
37026
+ ]),
37027
+ type: /* @__PURE__ */ z.literal(8001),
37028
+ evidenceData: /* @__PURE__ */ z.object({
37029
+ detectorId: /* @__PURE__ */ z.number().int(),
37030
+ alertId: /* @__PURE__ */ z.union([
37031
+ /* @__PURE__ */ z.number().int(),
37032
+ /* @__PURE__ */ z.null()
37033
+ ]),
37034
+ value: /* @__PURE__ */ z.union([
37035
+ /* @__PURE__ */ z.number(),
37036
+ /* @__PURE__ */ z.object({
37037
+ value: /* @__PURE__ */ z.number(),
37038
+ sourceId: /* @__PURE__ */ z.string(),
37039
+ subscriptionId: /* @__PURE__ */ z.string(),
37040
+ timestamp: /* @__PURE__ */ z.string()
37041
+ }),
37042
+ /* @__PURE__ */ z.union([
37043
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
37044
+ /* @__PURE__ */ z.null()
37045
+ ])
37046
+ ]),
37047
+ dataPacketSourceId: /* @__PURE__ */ z.string(),
37048
+ conditions: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
37049
+ id: /* @__PURE__ */ z.number().int(),
37050
+ type: /* @__PURE__ */ z.string(),
37051
+ comparison: /* @__PURE__ */ z.union([
37052
+ /* @__PURE__ */ z.number(),
37053
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
37054
+ ]),
37055
+ conditionResult: /* @__PURE__ */ z.number().int()
37056
+ })),
37057
+ config: /* @__PURE__ */ z.object({
37058
+ detectionType: /* @__PURE__ */ z.enum([
37059
+ "static",
37060
+ "percent",
37061
+ "dynamic"
37062
+ ]),
37063
+ comparisonDelta: /* @__PURE__ */ z.union([
37064
+ /* @__PURE__ */ z.number().int(),
37065
+ /* @__PURE__ */ z.null()
37066
+ ]).optional()
37067
+ }),
37068
+ dataSources: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
37069
+ id: /* @__PURE__ */ z.string(),
37070
+ organizationId: /* @__PURE__ */ z.string(),
37071
+ type: /* @__PURE__ */ z.string(),
37072
+ sourceId: /* @__PURE__ */ z.string(),
37073
+ queryObj: /* @__PURE__ */ z.object({
37074
+ id: /* @__PURE__ */ z.string(),
37075
+ status: /* @__PURE__ */ z.number().int(),
37076
+ subscription: /* @__PURE__ */ z.union([
37077
+ /* @__PURE__ */ z.string(),
37078
+ /* @__PURE__ */ z.null()
37079
+ ]),
37080
+ snubaQuery: /* @__PURE__ */ z.object({
37081
+ id: /* @__PURE__ */ z.string(),
37082
+ dataset: /* @__PURE__ */ z.string(),
37083
+ query: /* @__PURE__ */ z.string(),
37084
+ aggregate: /* @__PURE__ */ z.string(),
37085
+ timeWindow: /* @__PURE__ */ z.number().int(),
37086
+ environment: /* @__PURE__ */ z.union([
37087
+ /* @__PURE__ */ z.string(),
37088
+ /* @__PURE__ */ z.null()
37089
+ ]),
37090
+ eventTypes: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
37091
+ extrapolationMode: /* @__PURE__ */ z.union([
37092
+ /* @__PURE__ */ z.string(),
37093
+ /* @__PURE__ */ z.null()
37094
+ ])
37095
+ })
37096
+ })
37097
+ }))
37098
+ })
36266
37099
  }),
36267
- /* @__PURE__ */ z.null()
37100
+ /* @__PURE__ */ z.object({
37101
+ id: /* @__PURE__ */ z.string(),
37102
+ projectId: /* @__PURE__ */ z.number().int(),
37103
+ eventId: /* @__PURE__ */ z.string(),
37104
+ fingerprint: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
37105
+ issueTitle: /* @__PURE__ */ z.string(),
37106
+ subtitle: /* @__PURE__ */ z.string(),
37107
+ resourceId: /* @__PURE__ */ z.union([
37108
+ /* @__PURE__ */ z.string(),
37109
+ /* @__PURE__ */ z.null()
37110
+ ]),
37111
+ evidenceDisplay: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
37112
+ name: /* @__PURE__ */ z.string(),
37113
+ value: /* @__PURE__ */ z.string(),
37114
+ important: /* @__PURE__ */ z.boolean()
37115
+ })),
37116
+ detectionTime: /* @__PURE__ */ z.number(),
37117
+ level: /* @__PURE__ */ z.union([
37118
+ /* @__PURE__ */ z.string(),
37119
+ /* @__PURE__ */ z.null()
37120
+ ]),
37121
+ culprit: /* @__PURE__ */ z.union([
37122
+ /* @__PURE__ */ z.string(),
37123
+ /* @__PURE__ */ z.null()
37124
+ ]),
37125
+ assignee: /* @__PURE__ */ z.union([
37126
+ /* @__PURE__ */ z.string(),
37127
+ /* @__PURE__ */ z.null()
37128
+ ]),
37129
+ priority: /* @__PURE__ */ z.union([
37130
+ /* @__PURE__ */ z.number().int(),
37131
+ /* @__PURE__ */ z.null()
37132
+ ]),
37133
+ type: /* @__PURE__ */ z.number().int(),
37134
+ evidenceData: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown())
37135
+ }),
37136
+ /* @__PURE__ */ z.union([
37137
+ /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
37138
+ /* @__PURE__ */ z.null()
37139
+ ])
36268
37140
  ]),
36269
37141
  _meta: /* @__PURE__ */ z.record(/* @__PURE__ */ z.unknown()),
36270
37142
  crashFile: /* @__PURE__ */ z.union([