@sentry/api 0.401.0 → 0.402.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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +111 -84
  2. package/package.json +1 -1
@@ -11984,10 +11984,10 @@ export type WorkflowValidator = {
11984
11984
  * - `value`: A positive integer representing the number of users that must be affected before the alert will fire.
11985
11985
  * - `filters`: A list of additional sub-filters to evaluate before the alert will fire.
11986
11986
  * - `interval`: The time period in which to evaluate the value. e.g. Number of users affected by an issue is more than `value` in `interval`.
11987
- * - `1min`: 1 minute
11988
- * - `5min`: 5 minutes
11989
- * - `15min`: 15 minutes
11990
- * - `1hr`: 1 hour
11987
+ * - `1m`: 1 minute
11988
+ * - `5m`: 5 minutes
11989
+ * - `15m`: 15 minutes
11990
+ * - `1h`: 1 hour
11991
11991
  * - `1d`: 1 day
11992
11992
  * - `1w`: 1 week
11993
11993
  * - `30d`: 30 days
@@ -12006,10 +12006,10 @@ export type WorkflowValidator = {
12006
12006
  * **Number of Events**
12007
12007
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
12008
12008
  * - `interval`: The time period in which to evaluate the value. e.g. Number of events in an issue is more than `value` in `interval`.
12009
- * - `1min`: 1 minute
12010
- * - `5min`: 5 minutes
12011
- * - `15min`: 15 minutes
12012
- * - `1hr`: 1 hour
12009
+ * - `1m`: 1 minute
12010
+ * - `5m`: 5 minutes
12011
+ * - `15m`: 15 minutes
12012
+ * - `1h`: 1 hour
12013
12013
  * - `1d`: 1 day
12014
12014
  * - `1w`: 1 week
12015
12015
  * - `30d`: 30 days
@@ -12026,15 +12026,21 @@ export type WorkflowValidator = {
12026
12026
  *
12027
12027
  * **Percent of Events**
12028
12028
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
12029
- * - `interval`: The time period in which to evaluate the value. e.g. Number of events in an issue is `comparisonInterval` percent higher `value` compared to `interval`.
12030
- * - `1min`: 1 minute
12031
- * - `5min`: 5 minutes
12032
- * - `15min`: 15 minutes
12033
- * - `1hr`: 1 hour
12029
+ * - `interval`: The time period in which to evaluate the value.
12030
+ * - `1m`: 1 minute
12031
+ * - `5m`: 5 minutes
12032
+ * - `15m`: 15 minutes
12033
+ * - `1h`: 1 hour
12034
+ * - `1d`: 1 day
12035
+ * - `1w`: 1 week
12036
+ * - `30d`: 30 days
12037
+ * - `comparisonInterval`: The time period to compare against.
12038
+ * - `5m`: 5 minutes
12039
+ * - `15m`: 15 minutes
12040
+ * - `1h`: 1 hour
12034
12041
  * - `1d`: 1 day
12035
12042
  * - `1w`: 1 week
12036
12043
  * - `30d`: 30 days
12037
- * - `comparisonInterval`: The time period to compare against. See `interval` for options.
12038
12044
  * ```json
12039
12045
  * {
12040
12046
  * "type": "event_frequency_percent",
@@ -12051,13 +12057,11 @@ export type WorkflowValidator = {
12051
12057
  * **Percentage of Sessions Affected Count**
12052
12058
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
12053
12059
  * - `interval`: The time period in which to evaluate the value. e.g. Percentage of sessions affected by an issue is more than `value` in `interval`.
12054
- * - `1min`: 1 minute
12055
- * - `5min`: 5 minutes
12056
- * - `15min`: 15 minutes
12057
- * - `1hr`: 1 hour
12058
- * - `1d`: 1 day
12059
- * - `1w`: 1 week
12060
- * - `30d`: 30 days
12060
+ * - `1m`: 1 minute
12061
+ * - `5m`: 5 minutes
12062
+ * - `10m`: 10 minutes
12063
+ * - `30m`: 30 minutes
12064
+ * - `1h`: 1 hour
12061
12065
  * ```json
12062
12066
  * {
12063
12067
  * "type": "percent_sessions_count",
@@ -12071,21 +12075,26 @@ export type WorkflowValidator = {
12071
12075
  *
12072
12076
  * **Percentage of Sessions Affected Percent**
12073
12077
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
12074
- * - `interval`: The time period in which to evaluate the value. e.g. Percentage of sessions affected by an issue is `comparisonInterval` percent higher `value` compared to `interval`.
12075
- * - `1min`: 1 minute
12076
- * - `5min`: 5 minutes
12077
- * - `15min`: 15 minutes
12078
- * - `1hr`: 1 hour
12078
+ * - `interval`: The time period in which to evaluate the value.
12079
+ * - `1m`: 1 minute
12080
+ * - `5m`: 5 minutes
12081
+ * - `10m`: 10 minutes
12082
+ * - `30m`: 30 minutes
12083
+ * - `1h`: 1 hour
12084
+ * - `comparisonInterval`: The time period to compare against.
12085
+ * - `5m`: 5 minutes
12086
+ * - `15m`: 15 minutes
12087
+ * - `1h`: 1 hour
12079
12088
  * - `1d`: 1 day
12080
12089
  * - `1w`: 1 week
12081
12090
  * - `30d`: 30 days
12082
- * - `comparisonInterval`: The time period to compare against. See `interval` for options.
12083
12091
  * ```json
12084
12092
  * {
12085
12093
  * "type": "percent_sessions_percent",
12086
12094
  * "comparison": {
12087
12095
  * "value": 10,
12088
- * "interval": "1h"
12096
+ * "interval": "1h",
12097
+ * "comparisonInterval": "1w"
12089
12098
  * },
12090
12099
  * "conditionResult": true
12091
12100
  * }
@@ -28597,10 +28606,10 @@ export type CreateOrganizationWorkflowData = {
28597
28606
  * - `value`: A positive integer representing the number of users that must be affected before the alert will fire.
28598
28607
  * - `filters`: A list of additional sub-filters to evaluate before the alert will fire.
28599
28608
  * - `interval`: The time period in which to evaluate the value. e.g. Number of users affected by an issue is more than `value` in `interval`.
28600
- * - `1min`: 1 minute
28601
- * - `5min`: 5 minutes
28602
- * - `15min`: 15 minutes
28603
- * - `1hr`: 1 hour
28609
+ * - `1m`: 1 minute
28610
+ * - `5m`: 5 minutes
28611
+ * - `15m`: 15 minutes
28612
+ * - `1h`: 1 hour
28604
28613
  * - `1d`: 1 day
28605
28614
  * - `1w`: 1 week
28606
28615
  * - `30d`: 30 days
@@ -28619,10 +28628,10 @@ export type CreateOrganizationWorkflowData = {
28619
28628
  * **Number of Events**
28620
28629
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
28621
28630
  * - `interval`: The time period in which to evaluate the value. e.g. Number of events in an issue is more than `value` in `interval`.
28622
- * - `1min`: 1 minute
28623
- * - `5min`: 5 minutes
28624
- * - `15min`: 15 minutes
28625
- * - `1hr`: 1 hour
28631
+ * - `1m`: 1 minute
28632
+ * - `5m`: 5 minutes
28633
+ * - `15m`: 15 minutes
28634
+ * - `1h`: 1 hour
28626
28635
  * - `1d`: 1 day
28627
28636
  * - `1w`: 1 week
28628
28637
  * - `30d`: 30 days
@@ -28639,15 +28648,21 @@ export type CreateOrganizationWorkflowData = {
28639
28648
  *
28640
28649
  * **Percent of Events**
28641
28650
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
28642
- * - `interval`: The time period in which to evaluate the value. e.g. Number of events in an issue is `comparisonInterval` percent higher `value` compared to `interval`.
28643
- * - `1min`: 1 minute
28644
- * - `5min`: 5 minutes
28645
- * - `15min`: 15 minutes
28646
- * - `1hr`: 1 hour
28651
+ * - `interval`: The time period in which to evaluate the value.
28652
+ * - `1m`: 1 minute
28653
+ * - `5m`: 5 minutes
28654
+ * - `15m`: 15 minutes
28655
+ * - `1h`: 1 hour
28656
+ * - `1d`: 1 day
28657
+ * - `1w`: 1 week
28658
+ * - `30d`: 30 days
28659
+ * - `comparisonInterval`: The time period to compare against.
28660
+ * - `5m`: 5 minutes
28661
+ * - `15m`: 15 minutes
28662
+ * - `1h`: 1 hour
28647
28663
  * - `1d`: 1 day
28648
28664
  * - `1w`: 1 week
28649
28665
  * - `30d`: 30 days
28650
- * - `comparisonInterval`: The time period to compare against. See `interval` for options.
28651
28666
  * ```json
28652
28667
  * {
28653
28668
  * "type": "event_frequency_percent",
@@ -28664,13 +28679,11 @@ export type CreateOrganizationWorkflowData = {
28664
28679
  * **Percentage of Sessions Affected Count**
28665
28680
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
28666
28681
  * - `interval`: The time period in which to evaluate the value. e.g. Percentage of sessions affected by an issue is more than `value` in `interval`.
28667
- * - `1min`: 1 minute
28668
- * - `5min`: 5 minutes
28669
- * - `15min`: 15 minutes
28670
- * - `1hr`: 1 hour
28671
- * - `1d`: 1 day
28672
- * - `1w`: 1 week
28673
- * - `30d`: 30 days
28682
+ * - `1m`: 1 minute
28683
+ * - `5m`: 5 minutes
28684
+ * - `10m`: 10 minutes
28685
+ * - `30m`: 30 minutes
28686
+ * - `1h`: 1 hour
28674
28687
  * ```json
28675
28688
  * {
28676
28689
  * "type": "percent_sessions_count",
@@ -28684,21 +28697,26 @@ export type CreateOrganizationWorkflowData = {
28684
28697
  *
28685
28698
  * **Percentage of Sessions Affected Percent**
28686
28699
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
28687
- * - `interval`: The time period in which to evaluate the value. e.g. Percentage of sessions affected by an issue is `comparisonInterval` percent higher `value` compared to `interval`.
28688
- * - `1min`: 1 minute
28689
- * - `5min`: 5 minutes
28690
- * - `15min`: 15 minutes
28691
- * - `1hr`: 1 hour
28700
+ * - `interval`: The time period in which to evaluate the value.
28701
+ * - `1m`: 1 minute
28702
+ * - `5m`: 5 minutes
28703
+ * - `10m`: 10 minutes
28704
+ * - `30m`: 30 minutes
28705
+ * - `1h`: 1 hour
28706
+ * - `comparisonInterval`: The time period to compare against.
28707
+ * - `5m`: 5 minutes
28708
+ * - `15m`: 15 minutes
28709
+ * - `1h`: 1 hour
28692
28710
  * - `1d`: 1 day
28693
28711
  * - `1w`: 1 week
28694
28712
  * - `30d`: 30 days
28695
- * - `comparisonInterval`: The time period to compare against. See `interval` for options.
28696
28713
  * ```json
28697
28714
  * {
28698
28715
  * "type": "percent_sessions_percent",
28699
28716
  * "comparison": {
28700
28717
  * "value": 10,
28701
- * "interval": "1h"
28718
+ * "interval": "1h",
28719
+ * "comparisonInterval": "1w"
28702
28720
  * },
28703
28721
  * "conditionResult": true
28704
28722
  * }
@@ -29625,10 +29643,10 @@ export type UpdateOrganizationWorkflowData = {
29625
29643
  * - `value`: A positive integer representing the number of users that must be affected before the alert will fire.
29626
29644
  * - `filters`: A list of additional sub-filters to evaluate before the alert will fire.
29627
29645
  * - `interval`: The time period in which to evaluate the value. e.g. Number of users affected by an issue is more than `value` in `interval`.
29628
- * - `1min`: 1 minute
29629
- * - `5min`: 5 minutes
29630
- * - `15min`: 15 minutes
29631
- * - `1hr`: 1 hour
29646
+ * - `1m`: 1 minute
29647
+ * - `5m`: 5 minutes
29648
+ * - `15m`: 15 minutes
29649
+ * - `1h`: 1 hour
29632
29650
  * - `1d`: 1 day
29633
29651
  * - `1w`: 1 week
29634
29652
  * - `30d`: 30 days
@@ -29647,10 +29665,10 @@ export type UpdateOrganizationWorkflowData = {
29647
29665
  * **Number of Events**
29648
29666
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
29649
29667
  * - `interval`: The time period in which to evaluate the value. e.g. Number of events in an issue is more than `value` in `interval`.
29650
- * - `1min`: 1 minute
29651
- * - `5min`: 5 minutes
29652
- * - `15min`: 15 minutes
29653
- * - `1hr`: 1 hour
29668
+ * - `1m`: 1 minute
29669
+ * - `5m`: 5 minutes
29670
+ * - `15m`: 15 minutes
29671
+ * - `1h`: 1 hour
29654
29672
  * - `1d`: 1 day
29655
29673
  * - `1w`: 1 week
29656
29674
  * - `30d`: 30 days
@@ -29667,15 +29685,21 @@ export type UpdateOrganizationWorkflowData = {
29667
29685
  *
29668
29686
  * **Percent of Events**
29669
29687
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
29670
- * - `interval`: The time period in which to evaluate the value. e.g. Number of events in an issue is `comparisonInterval` percent higher `value` compared to `interval`.
29671
- * - `1min`: 1 minute
29672
- * - `5min`: 5 minutes
29673
- * - `15min`: 15 minutes
29674
- * - `1hr`: 1 hour
29688
+ * - `interval`: The time period in which to evaluate the value.
29689
+ * - `1m`: 1 minute
29690
+ * - `5m`: 5 minutes
29691
+ * - `15m`: 15 minutes
29692
+ * - `1h`: 1 hour
29693
+ * - `1d`: 1 day
29694
+ * - `1w`: 1 week
29695
+ * - `30d`: 30 days
29696
+ * - `comparisonInterval`: The time period to compare against.
29697
+ * - `5m`: 5 minutes
29698
+ * - `15m`: 15 minutes
29699
+ * - `1h`: 1 hour
29675
29700
  * - `1d`: 1 day
29676
29701
  * - `1w`: 1 week
29677
29702
  * - `30d`: 30 days
29678
- * - `comparisonInterval`: The time period to compare against. See `interval` for options.
29679
29703
  * ```json
29680
29704
  * {
29681
29705
  * "type": "event_frequency_percent",
@@ -29692,13 +29716,11 @@ export type UpdateOrganizationWorkflowData = {
29692
29716
  * **Percentage of Sessions Affected Count**
29693
29717
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
29694
29718
  * - `interval`: The time period in which to evaluate the value. e.g. Percentage of sessions affected by an issue is more than `value` in `interval`.
29695
- * - `1min`: 1 minute
29696
- * - `5min`: 5 minutes
29697
- * - `15min`: 15 minutes
29698
- * - `1hr`: 1 hour
29699
- * - `1d`: 1 day
29700
- * - `1w`: 1 week
29701
- * - `30d`: 30 days
29719
+ * - `1m`: 1 minute
29720
+ * - `5m`: 5 minutes
29721
+ * - `10m`: 10 minutes
29722
+ * - `30m`: 30 minutes
29723
+ * - `1h`: 1 hour
29702
29724
  * ```json
29703
29725
  * {
29704
29726
  * "type": "percent_sessions_count",
@@ -29712,21 +29734,26 @@ export type UpdateOrganizationWorkflowData = {
29712
29734
  *
29713
29735
  * **Percentage of Sessions Affected Percent**
29714
29736
  * - `value`: A positive integer representing the number of events in an issue that must come in before the alert will fire
29715
- * - `interval`: The time period in which to evaluate the value. e.g. Percentage of sessions affected by an issue is `comparisonInterval` percent higher `value` compared to `interval`.
29716
- * - `1min`: 1 minute
29717
- * - `5min`: 5 minutes
29718
- * - `15min`: 15 minutes
29719
- * - `1hr`: 1 hour
29737
+ * - `interval`: The time period in which to evaluate the value.
29738
+ * - `1m`: 1 minute
29739
+ * - `5m`: 5 minutes
29740
+ * - `10m`: 10 minutes
29741
+ * - `30m`: 30 minutes
29742
+ * - `1h`: 1 hour
29743
+ * - `comparisonInterval`: The time period to compare against.
29744
+ * - `5m`: 5 minutes
29745
+ * - `15m`: 15 minutes
29746
+ * - `1h`: 1 hour
29720
29747
  * - `1d`: 1 day
29721
29748
  * - `1w`: 1 week
29722
29749
  * - `30d`: 30 days
29723
- * - `comparisonInterval`: The time period to compare against. See `interval` for options.
29724
29750
  * ```json
29725
29751
  * {
29726
29752
  * "type": "percent_sessions_percent",
29727
29753
  * "comparison": {
29728
29754
  * "value": 10,
29729
- * "interval": "1h"
29755
+ * "interval": "1h",
29756
+ * "comparisonInterval": "1w"
29730
29757
  * },
29731
29758
  * "conditionResult": true
29732
29759
  * }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.401.0",
3
+ "version": "0.402.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",