@sentry/api 0.431.0 → 0.433.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.
@@ -1388,6 +1388,18 @@ recorded for an organization within the requested time range.`,
1388
1388
  description: "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.",
1389
1389
  type: "string"
1390
1390
  },
1391
+ {
1392
+ name: "statsPeriodStart",
1393
+ required: false,
1394
+ description: "How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.",
1395
+ type: "string"
1396
+ },
1397
+ {
1398
+ name: "statsPeriodEnd",
1399
+ required: false,
1400
+ description: "How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.",
1401
+ type: "string"
1402
+ },
1391
1403
  {
1392
1404
  name: "flag",
1393
1405
  required: false,
@@ -1888,6 +1900,18 @@ List all messaging channels for an integration.`,
1888
1900
  description: "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.",
1889
1901
  type: "string"
1890
1902
  },
1903
+ {
1904
+ name: "statsPeriodStart",
1905
+ required: false,
1906
+ description: "How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.",
1907
+ type: "string"
1908
+ },
1909
+ {
1910
+ name: "statsPeriodEnd",
1911
+ required: false,
1912
+ description: "How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.",
1913
+ type: "string"
1914
+ },
1891
1915
  {
1892
1916
  name: "start",
1893
1917
  required: false,
@@ -2265,6 +2289,18 @@ The process runs asynchronously, and you can get the state using the GET endpoin
2265
2289
  description: "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.",
2266
2290
  type: "string"
2267
2291
  },
2292
+ {
2293
+ name: "statsPeriodStart",
2294
+ required: false,
2295
+ description: "How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.",
2296
+ type: "string"
2297
+ },
2298
+ {
2299
+ name: "statsPeriodEnd",
2300
+ required: false,
2301
+ description: "How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.",
2302
+ type: "string"
2303
+ },
2268
2304
  {
2269
2305
  name: "environment",
2270
2306
  required: false,
@@ -2327,6 +2363,36 @@ The process runs asynchronously, and you can get the state using the GET endpoin
2327
2363
  description: "The name of environments to filter by.",
2328
2364
  type: "array"
2329
2365
  },
2366
+ {
2367
+ name: "start",
2368
+ required: false,
2369
+ description: "The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.",
2370
+ type: "string"
2371
+ },
2372
+ {
2373
+ name: "end",
2374
+ required: false,
2375
+ description: "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.",
2376
+ type: "string"
2377
+ },
2378
+ {
2379
+ name: "statsPeriod",
2380
+ required: false,
2381
+ description: "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.",
2382
+ type: "string"
2383
+ },
2384
+ {
2385
+ name: "statsPeriodStart",
2386
+ required: false,
2387
+ description: "How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.",
2388
+ type: "string"
2389
+ },
2390
+ {
2391
+ name: "statsPeriodEnd",
2392
+ required: false,
2393
+ description: "How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.",
2394
+ type: "string"
2395
+ },
2330
2396
  {
2331
2397
  name: "collapse",
2332
2398
  required: false,
@@ -6581,6 +6647,18 @@ Update a custom inbound filter's name, active state, or conditions.`,
6581
6647
  description: "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.",
6582
6648
  type: "string"
6583
6649
  },
6650
+ {
6651
+ name: "statsPeriodStart",
6652
+ required: false,
6653
+ description: "How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.",
6654
+ type: "string"
6655
+ },
6656
+ {
6657
+ name: "statsPeriodEnd",
6658
+ required: false,
6659
+ description: "How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.",
6660
+ type: "string"
6661
+ },
6584
6662
  {
6585
6663
  name: "start",
6586
6664
  required: false,
@@ -6637,6 +6715,36 @@ Update a custom inbound filter's name, active state, or conditions.`,
6637
6715
  description: "The name of environments to filter by.",
6638
6716
  type: "array"
6639
6717
  },
6718
+ {
6719
+ name: "start",
6720
+ required: false,
6721
+ description: "The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.",
6722
+ type: "string"
6723
+ },
6724
+ {
6725
+ name: "end",
6726
+ required: false,
6727
+ description: "The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.",
6728
+ type: "string"
6729
+ },
6730
+ {
6731
+ name: "statsPeriod",
6732
+ required: false,
6733
+ description: "The period of time for the query, will override the start & end parameters, a number followed by one of:\n- `d` for days\n- `h` for hours\n- `m` for minutes\n- `s` for seconds\n- `w` for weeks\n\nFor example, `24h`, to mean query data starting from 24 hours ago to now.",
6734
+ type: "string"
6735
+ },
6736
+ {
6737
+ name: "statsPeriodStart",
6738
+ required: false,
6739
+ description: "How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.",
6740
+ type: "string"
6741
+ },
6742
+ {
6743
+ name: "statsPeriodEnd",
6744
+ required: false,
6745
+ description: "How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.",
6746
+ type: "string"
6747
+ },
6640
6748
  {
6641
6749
  name: "collapse",
6642
6750
  required: false,
@@ -17684,6 +17684,14 @@ export type ListOrganizationFlagLogsData = {
17684
17684
  * For example, `24h`, to mean query data starting from 24 hours ago to now.
17685
17685
  */
17686
17686
  statsPeriod?: string;
17687
+ /**
17688
+ * How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.
17689
+ */
17690
+ statsPeriodStart?: string;
17691
+ /**
17692
+ * How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.
17693
+ */
17694
+ statsPeriodEnd?: string;
17687
17695
  /**
17688
17696
  * The name of a feature flag to filter by. Repeat the parameter to match multiple flags.
17689
17697
  */
@@ -18723,6 +18731,14 @@ export type ListOrganizationIssuesData = {
18723
18731
  * For example, `24h`, to mean query data starting from 24 hours ago to now.
18724
18732
  */
18725
18733
  statsPeriod?: string;
18734
+ /**
18735
+ * How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.
18736
+ */
18737
+ statsPeriodStart?: string;
18738
+ /**
18739
+ * How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.
18740
+ */
18741
+ statsPeriodEnd?: string;
18726
18742
  /**
18727
18743
  * The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
18728
18744
  */
@@ -32565,6 +32581,14 @@ export type ListProjectEventsData = {
32565
32581
  * For example, `24h`, to mean query data starting from 24 hours ago to now.
32566
32582
  */
32567
32583
  statsPeriod?: string;
32584
+ /**
32585
+ * How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.
32586
+ */
32587
+ statsPeriodStart?: string;
32588
+ /**
32589
+ * How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.
32590
+ */
32591
+ statsPeriodEnd?: string;
32568
32592
  /**
32569
32593
  * The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
32570
32594
  */
@@ -32661,6 +32685,33 @@ export type GetProjectEventData = {
32661
32685
  * The name of environments to filter by.
32662
32686
  */
32663
32687
  environment?: Array<string>;
32688
+ /**
32689
+ * The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
32690
+ */
32691
+ start?: string;
32692
+ /**
32693
+ * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
32694
+ */
32695
+ end?: string;
32696
+ /**
32697
+ * The period of time for the query, will override the start & end parameters, a number followed by one of:
32698
+ * - `d` for days
32699
+ * - `h` for hours
32700
+ * - `m` for minutes
32701
+ * - `s` for seconds
32702
+ * - `w` for weeks
32703
+ *
32704
+ * For example, `24h`, to mean query data starting from 24 hours ago to now.
32705
+ */
32706
+ statsPeriod?: string;
32707
+ /**
32708
+ * How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.
32709
+ */
32710
+ statsPeriodStart?: string;
32711
+ /**
32712
+ * How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.
32713
+ */
32714
+ statsPeriodEnd?: string;
32664
32715
  /**
32665
32716
  * Parts of the response to skip computing. Specify `adjacentEvents` to skip looking up the neighboring events in the issue; `nextEventID` and `previousEventID` are then always `null`. Unknown values are ignored.
32666
32717
  */
@@ -40930,6 +40981,14 @@ export type ListOrganizationIssueEventsData = {
40930
40981
  * For example, `24h`, to mean query data starting from 24 hours ago to now.
40931
40982
  */
40932
40983
  statsPeriod?: string;
40984
+ /**
40985
+ * How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.
40986
+ */
40987
+ statsPeriodStart?: string;
40988
+ /**
40989
+ * How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.
40990
+ */
40991
+ statsPeriodEnd?: string;
40933
40992
  /**
40934
40993
  * The name of environments to filter by.
40935
40994
  */
@@ -41034,6 +41093,33 @@ export type GetOrganizationIssueEventData = {
41034
41093
  * The name of environments to filter by.
41035
41094
  */
41036
41095
  environment?: Array<string>;
41096
+ /**
41097
+ * The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
41098
+ */
41099
+ start?: string;
41100
+ /**
41101
+ * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
41102
+ */
41103
+ end?: string;
41104
+ /**
41105
+ * The period of time for the query, will override the start & end parameters, a number followed by one of:
41106
+ * - `d` for days
41107
+ * - `h` for hours
41108
+ * - `m` for minutes
41109
+ * - `s` for seconds
41110
+ * - `w` for weeks
41111
+ *
41112
+ * For example, `24h`, to mean query data starting from 24 hours ago to now.
41113
+ */
41114
+ statsPeriod?: string;
41115
+ /**
41116
+ * How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent.
41117
+ */
41118
+ statsPeriodStart?: string;
41119
+ /**
41120
+ * How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent.
41121
+ */
41122
+ statsPeriodEnd?: string;
41037
41123
  /**
41038
41124
  * Parts of the response to skip computing. Specify `adjacentEvents` to skip looking up the neighboring events in the issue; `nextEventID` and `previousEventID` are then always `null`. Unknown values are ignored.
41039
41125
  */
@@ -9784,6 +9784,8 @@ export declare const vListOrganizationFlagLogsData: v.ObjectSchema<{
9784
9784
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
9785
9785
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
9786
9786
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9787
+ readonly statsPeriodStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9788
+ readonly statsPeriodEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9787
9789
  readonly flag: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
9788
9790
  readonly provider: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["flagpole", "generic", "launchdarkly", "statsig", "unknown", "unleash"], undefined>, undefined>, undefined>;
9789
9791
  readonly sort: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -10275,6 +10277,8 @@ export declare const vListOrganizationIssuesData: v.ObjectSchema<{
10275
10277
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
10276
10278
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
10277
10279
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10280
+ readonly statsPeriodStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10281
+ readonly statsPeriodEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10278
10282
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
10279
10283
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
10280
10284
  readonly groupStatsPeriod: v.OptionalSchema<v.PicklistSchema<["", "14d", "24h", "auto"], undefined>, undefined>;
@@ -15831,6 +15835,8 @@ export declare const vListProjectEventsData: v.ObjectSchema<{
15831
15835
  }, undefined>;
15832
15836
  readonly query: v.OptionalSchema<v.ObjectSchema<{
15833
15837
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15838
+ readonly statsPeriodStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15839
+ readonly statsPeriodEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15834
15840
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
15835
15841
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
15836
15842
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
@@ -15876,6 +15882,11 @@ export declare const vGetProjectEventData: v.ObjectSchema<{
15876
15882
  }, undefined>;
15877
15883
  readonly query: v.OptionalSchema<v.ObjectSchema<{
15878
15884
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
15885
+ readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
15886
+ readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
15887
+ readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15888
+ readonly statsPeriodStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15889
+ readonly statsPeriodEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15879
15890
  readonly collapse: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["adjacentEvents"], undefined>, undefined>, undefined>;
15880
15891
  }, undefined>, undefined>;
15881
15892
  }, undefined>;
@@ -19703,6 +19714,8 @@ export declare const vListOrganizationIssueEventsData: v.ObjectSchema<{
19703
19714
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
19704
19715
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
19705
19716
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19717
+ readonly statsPeriodStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19718
+ readonly statsPeriodEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19706
19719
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
19707
19720
  readonly full: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
19708
19721
  readonly sample: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
@@ -19749,6 +19762,11 @@ export declare const vGetOrganizationIssueEventData: v.ObjectSchema<{
19749
19762
  }, undefined>;
19750
19763
  readonly query: v.OptionalSchema<v.ObjectSchema<{
19751
19764
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
19765
+ readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
19766
+ readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
19767
+ readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19768
+ readonly statsPeriodStart: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19769
+ readonly statsPeriodEnd: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19752
19770
  readonly collapse: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["adjacentEvents"], undefined>, undefined>, undefined>;
19753
19771
  readonly llmFormat: v.OptionalSchema<v.PicklistSchema<["json", "markdown", "xml"], undefined>, undefined>;
19754
19772
  }, undefined>, undefined>;
package/dist/valibot.js CHANGED
@@ -11739,6 +11739,8 @@ var vListOrganizationFlagLogsData = v.object({
11739
11739
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
11740
11740
  end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
11741
11741
  statsPeriod: v.optional(v.string()),
11742
+ statsPeriodStart: v.optional(v.string()),
11743
+ statsPeriodEnd: v.optional(v.string()),
11742
11744
  flag: v.optional(v.array(v.string())),
11743
11745
  provider: v.optional(v.array(v.picklist([
11744
11746
  "flagpole",
@@ -12305,6 +12307,8 @@ var vListOrganizationIssuesData = v.object({
12305
12307
  environment: v.optional(v.array(v.string())),
12306
12308
  project: v.optional(v.array(v.unknown())),
12307
12309
  statsPeriod: v.optional(v.string()),
12310
+ statsPeriodStart: v.optional(v.string()),
12311
+ statsPeriodEnd: v.optional(v.string()),
12308
12312
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
12309
12313
  end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
12310
12314
  groupStatsPeriod: v.optional(v.picklist([
@@ -19598,6 +19602,8 @@ var vListProjectEventsData = v.object({
19598
19602
  }),
19599
19603
  query: v.optional(v.object({
19600
19604
  statsPeriod: v.optional(v.string()),
19605
+ statsPeriodStart: v.optional(v.string()),
19606
+ statsPeriodEnd: v.optional(v.string()),
19601
19607
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
19602
19608
  end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
19603
19609
  cursor: v.optional(v.pipe(v.string(), v.minLength(1))),
@@ -19643,6 +19649,11 @@ var vGetProjectEventData = v.object({
19643
19649
  }),
19644
19650
  query: v.optional(v.object({
19645
19651
  environment: v.optional(v.array(v.string())),
19652
+ start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
19653
+ end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
19654
+ statsPeriod: v.optional(v.string()),
19655
+ statsPeriodStart: v.optional(v.string()),
19656
+ statsPeriodEnd: v.optional(v.string()),
19646
19657
  collapse: v.optional(v.array(v.picklist(["adjacentEvents"])))
19647
19658
  }))
19648
19659
  });
@@ -24643,6 +24654,8 @@ var vListOrganizationIssueEventsData = v.object({
24643
24654
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
24644
24655
  end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
24645
24656
  statsPeriod: v.optional(v.string()),
24657
+ statsPeriodStart: v.optional(v.string()),
24658
+ statsPeriodEnd: v.optional(v.string()),
24646
24659
  environment: v.optional(v.array(v.string())),
24647
24660
  full: v.optional(v.boolean(), false),
24648
24661
  sample: v.optional(v.boolean(), false),
@@ -24693,6 +24706,11 @@ var vGetOrganizationIssueEventData = v.object({
24693
24706
  }),
24694
24707
  query: v.optional(v.object({
24695
24708
  environment: v.optional(v.array(v.string())),
24709
+ start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
24710
+ end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
24711
+ statsPeriod: v.optional(v.string()),
24712
+ statsPeriodStart: v.optional(v.string()),
24713
+ statsPeriodEnd: v.optional(v.string()),
24696
24714
  collapse: v.optional(v.array(v.picklist(["adjacentEvents"]))),
24697
24715
  llmFormat: v.optional(v.picklist([
24698
24716
  "json",
package/dist/zod.gen.d.ts CHANGED
@@ -47577,6 +47577,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
47577
47577
  start: z.ZodOptional<z.ZodString>;
47578
47578
  end: z.ZodOptional<z.ZodString>;
47579
47579
  statsPeriod: z.ZodOptional<z.ZodString>;
47580
+ statsPeriodStart: z.ZodOptional<z.ZodString>;
47581
+ statsPeriodEnd: z.ZodOptional<z.ZodString>;
47580
47582
  flag: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47581
47583
  provider: z.ZodOptional<z.ZodArray<z.ZodEnum<["flagpole", "generic", "launchdarkly", "statsig", "unknown", "unleash"]>, "many">>;
47582
47584
  sort: z.ZodOptional<z.ZodString>;
@@ -47590,6 +47592,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
47590
47592
  statsPeriod?: string | undefined;
47591
47593
  start?: string | undefined;
47592
47594
  end?: string | undefined;
47595
+ statsPeriodStart?: string | undefined;
47596
+ statsPeriodEnd?: string | undefined;
47593
47597
  flag?: string[] | undefined;
47594
47598
  }, {
47595
47599
  sort?: string | undefined;
@@ -47599,6 +47603,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
47599
47603
  statsPeriod?: string | undefined;
47600
47604
  start?: string | undefined;
47601
47605
  end?: string | undefined;
47606
+ statsPeriodStart?: string | undefined;
47607
+ statsPeriodEnd?: string | undefined;
47602
47608
  flag?: string[] | undefined;
47603
47609
  }>>;
47604
47610
  }, "strip", z.ZodTypeAny, {
@@ -47613,6 +47619,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
47613
47619
  statsPeriod?: string | undefined;
47614
47620
  start?: string | undefined;
47615
47621
  end?: string | undefined;
47622
+ statsPeriodStart?: string | undefined;
47623
+ statsPeriodEnd?: string | undefined;
47616
47624
  flag?: string[] | undefined;
47617
47625
  } | undefined;
47618
47626
  body?: undefined;
@@ -47628,6 +47636,8 @@ export declare const zListOrganizationFlagLogsData: z.ZodObject<{
47628
47636
  statsPeriod?: string | undefined;
47629
47637
  start?: string | undefined;
47630
47638
  end?: string | undefined;
47639
+ statsPeriodStart?: string | undefined;
47640
+ statsPeriodEnd?: string | undefined;
47631
47641
  flag?: string[] | undefined;
47632
47642
  } | undefined;
47633
47643
  body?: undefined;
@@ -49682,6 +49692,8 @@ export declare const zListOrganizationIssuesData: z.ZodObject<{
49682
49692
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49683
49693
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
49684
49694
  statsPeriod: z.ZodOptional<z.ZodString>;
49695
+ statsPeriodStart: z.ZodOptional<z.ZodString>;
49696
+ statsPeriodEnd: z.ZodOptional<z.ZodString>;
49685
49697
  start: z.ZodOptional<z.ZodString>;
49686
49698
  end: z.ZodOptional<z.ZodString>;
49687
49699
  groupStatsPeriod: z.ZodOptional<z.ZodEnum<["", "14d", "24h", "auto"]>>;
@@ -49703,6 +49715,8 @@ export declare const zListOrganizationIssuesData: z.ZodObject<{
49703
49715
  statsPeriod?: string | undefined;
49704
49716
  start?: string | undefined;
49705
49717
  end?: string | undefined;
49718
+ statsPeriodStart?: string | undefined;
49719
+ statsPeriodEnd?: string | undefined;
49706
49720
  viewId?: string | undefined;
49707
49721
  groupStatsPeriod?: "" | "auto" | "14d" | "24h" | undefined;
49708
49722
  shortIdLookup?: "0" | "1" | undefined;
@@ -49717,6 +49731,8 @@ export declare const zListOrganizationIssuesData: z.ZodObject<{
49717
49731
  statsPeriod?: string | undefined;
49718
49732
  start?: string | undefined;
49719
49733
  end?: string | undefined;
49734
+ statsPeriodStart?: string | undefined;
49735
+ statsPeriodEnd?: string | undefined;
49720
49736
  viewId?: string | undefined;
49721
49737
  limit?: number | undefined;
49722
49738
  groupStatsPeriod?: "" | "auto" | "14d" | "24h" | undefined;
@@ -49738,6 +49754,8 @@ export declare const zListOrganizationIssuesData: z.ZodObject<{
49738
49754
  statsPeriod?: string | undefined;
49739
49755
  start?: string | undefined;
49740
49756
  end?: string | undefined;
49757
+ statsPeriodStart?: string | undefined;
49758
+ statsPeriodEnd?: string | undefined;
49741
49759
  viewId?: string | undefined;
49742
49760
  groupStatsPeriod?: "" | "auto" | "14d" | "24h" | undefined;
49743
49761
  shortIdLookup?: "0" | "1" | undefined;
@@ -49758,6 +49776,8 @@ export declare const zListOrganizationIssuesData: z.ZodObject<{
49758
49776
  statsPeriod?: string | undefined;
49759
49777
  start?: string | undefined;
49760
49778
  end?: string | undefined;
49779
+ statsPeriodStart?: string | undefined;
49780
+ statsPeriodEnd?: string | undefined;
49761
49781
  viewId?: string | undefined;
49762
49782
  limit?: number | undefined;
49763
49783
  groupStatsPeriod?: "" | "auto" | "14d" | "24h" | undefined;
@@ -77365,6 +77385,8 @@ export declare const zListProjectEventsData: z.ZodObject<{
77365
77385
  }>;
77366
77386
  query: z.ZodOptional<z.ZodObject<{
77367
77387
  statsPeriod: z.ZodOptional<z.ZodString>;
77388
+ statsPeriodStart: z.ZodOptional<z.ZodString>;
77389
+ statsPeriodEnd: z.ZodOptional<z.ZodString>;
77368
77390
  start: z.ZodOptional<z.ZodString>;
77369
77391
  end: z.ZodOptional<z.ZodString>;
77370
77392
  cursor: z.ZodOptional<z.ZodString>;
@@ -77377,6 +77399,8 @@ export declare const zListProjectEventsData: z.ZodObject<{
77377
77399
  statsPeriod?: string | undefined;
77378
77400
  start?: string | undefined;
77379
77401
  end?: string | undefined;
77402
+ statsPeriodStart?: string | undefined;
77403
+ statsPeriodEnd?: string | undefined;
77380
77404
  }, {
77381
77405
  sample?: boolean | undefined;
77382
77406
  full?: boolean | undefined;
@@ -77384,6 +77408,8 @@ export declare const zListProjectEventsData: z.ZodObject<{
77384
77408
  statsPeriod?: string | undefined;
77385
77409
  start?: string | undefined;
77386
77410
  end?: string | undefined;
77411
+ statsPeriodStart?: string | undefined;
77412
+ statsPeriodEnd?: string | undefined;
77387
77413
  }>>;
77388
77414
  }, "strip", z.ZodTypeAny, {
77389
77415
  path: {
@@ -77397,6 +77423,8 @@ export declare const zListProjectEventsData: z.ZodObject<{
77397
77423
  statsPeriod?: string | undefined;
77398
77424
  start?: string | undefined;
77399
77425
  end?: string | undefined;
77426
+ statsPeriodStart?: string | undefined;
77427
+ statsPeriodEnd?: string | undefined;
77400
77428
  } | undefined;
77401
77429
  body?: undefined;
77402
77430
  }, {
@@ -77411,6 +77439,8 @@ export declare const zListProjectEventsData: z.ZodObject<{
77411
77439
  statsPeriod?: string | undefined;
77412
77440
  start?: string | undefined;
77413
77441
  end?: string | undefined;
77442
+ statsPeriodStart?: string | undefined;
77443
+ statsPeriodEnd?: string | undefined;
77414
77444
  } | undefined;
77415
77445
  body?: undefined;
77416
77446
  }>;
@@ -77540,12 +77570,27 @@ export declare const zGetProjectEventData: z.ZodObject<{
77540
77570
  }>;
77541
77571
  query: z.ZodOptional<z.ZodObject<{
77542
77572
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77573
+ start: z.ZodOptional<z.ZodString>;
77574
+ end: z.ZodOptional<z.ZodString>;
77575
+ statsPeriod: z.ZodOptional<z.ZodString>;
77576
+ statsPeriodStart: z.ZodOptional<z.ZodString>;
77577
+ statsPeriodEnd: z.ZodOptional<z.ZodString>;
77543
77578
  collapse: z.ZodOptional<z.ZodArray<z.ZodEnum<["adjacentEvents"]>, "many">>;
77544
77579
  }, "strip", z.ZodTypeAny, {
77545
77580
  environment?: string[] | undefined;
77581
+ statsPeriod?: string | undefined;
77582
+ start?: string | undefined;
77583
+ end?: string | undefined;
77584
+ statsPeriodStart?: string | undefined;
77585
+ statsPeriodEnd?: string | undefined;
77546
77586
  collapse?: "adjacentEvents"[] | undefined;
77547
77587
  }, {
77548
77588
  environment?: string[] | undefined;
77589
+ statsPeriod?: string | undefined;
77590
+ start?: string | undefined;
77591
+ end?: string | undefined;
77592
+ statsPeriodStart?: string | undefined;
77593
+ statsPeriodEnd?: string | undefined;
77549
77594
  collapse?: "adjacentEvents"[] | undefined;
77550
77595
  }>>;
77551
77596
  }, "strip", z.ZodTypeAny, {
@@ -77556,6 +77601,11 @@ export declare const zGetProjectEventData: z.ZodObject<{
77556
77601
  };
77557
77602
  query?: {
77558
77603
  environment?: string[] | undefined;
77604
+ statsPeriod?: string | undefined;
77605
+ start?: string | undefined;
77606
+ end?: string | undefined;
77607
+ statsPeriodStart?: string | undefined;
77608
+ statsPeriodEnd?: string | undefined;
77559
77609
  collapse?: "adjacentEvents"[] | undefined;
77560
77610
  } | undefined;
77561
77611
  body?: undefined;
@@ -77567,6 +77617,11 @@ export declare const zGetProjectEventData: z.ZodObject<{
77567
77617
  };
77568
77618
  query?: {
77569
77619
  environment?: string[] | undefined;
77620
+ statsPeriod?: string | undefined;
77621
+ start?: string | undefined;
77622
+ end?: string | undefined;
77623
+ statsPeriodStart?: string | undefined;
77624
+ statsPeriodEnd?: string | undefined;
77570
77625
  collapse?: "adjacentEvents"[] | undefined;
77571
77626
  } | undefined;
77572
77627
  body?: undefined;
@@ -94877,6 +94932,8 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
94877
94932
  start: z.ZodOptional<z.ZodString>;
94878
94933
  end: z.ZodOptional<z.ZodString>;
94879
94934
  statsPeriod: z.ZodOptional<z.ZodString>;
94935
+ statsPeriodStart: z.ZodOptional<z.ZodString>;
94936
+ statsPeriodEnd: z.ZodOptional<z.ZodString>;
94880
94937
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
94881
94938
  full: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
94882
94939
  sample: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -94893,6 +94950,8 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
94893
94950
  statsPeriod?: string | undefined;
94894
94951
  start?: string | undefined;
94895
94952
  end?: string | undefined;
94953
+ statsPeriodStart?: string | undefined;
94954
+ statsPeriodEnd?: string | undefined;
94896
94955
  }, {
94897
94956
  query?: string | undefined;
94898
94957
  sample?: boolean | undefined;
@@ -94903,6 +94962,8 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
94903
94962
  statsPeriod?: string | undefined;
94904
94963
  start?: string | undefined;
94905
94964
  end?: string | undefined;
94965
+ statsPeriodStart?: string | undefined;
94966
+ statsPeriodEnd?: string | undefined;
94906
94967
  }>>;
94907
94968
  }, "strip", z.ZodTypeAny, {
94908
94969
  path: {
@@ -94919,6 +94980,8 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
94919
94980
  statsPeriod?: string | undefined;
94920
94981
  start?: string | undefined;
94921
94982
  end?: string | undefined;
94983
+ statsPeriodStart?: string | undefined;
94984
+ statsPeriodEnd?: string | undefined;
94922
94985
  } | undefined;
94923
94986
  body?: undefined;
94924
94987
  }, {
@@ -94936,6 +94999,8 @@ export declare const zListOrganizationIssueEventsData: z.ZodObject<{
94936
94999
  statsPeriod?: string | undefined;
94937
95000
  start?: string | undefined;
94938
95001
  end?: string | undefined;
95002
+ statsPeriodStart?: string | undefined;
95003
+ statsPeriodEnd?: string | undefined;
94939
95004
  } | undefined;
94940
95005
  body?: undefined;
94941
95006
  }>;
@@ -95065,14 +95130,29 @@ export declare const zGetOrganizationIssueEventData: z.ZodObject<{
95065
95130
  }>;
95066
95131
  query: z.ZodOptional<z.ZodObject<{
95067
95132
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95133
+ start: z.ZodOptional<z.ZodString>;
95134
+ end: z.ZodOptional<z.ZodString>;
95135
+ statsPeriod: z.ZodOptional<z.ZodString>;
95136
+ statsPeriodStart: z.ZodOptional<z.ZodString>;
95137
+ statsPeriodEnd: z.ZodOptional<z.ZodString>;
95068
95138
  collapse: z.ZodOptional<z.ZodArray<z.ZodEnum<["adjacentEvents"]>, "many">>;
95069
95139
  llmFormat: z.ZodOptional<z.ZodEnum<["json", "markdown", "xml"]>>;
95070
95140
  }, "strip", z.ZodTypeAny, {
95071
95141
  environment?: string[] | undefined;
95142
+ statsPeriod?: string | undefined;
95143
+ start?: string | undefined;
95144
+ end?: string | undefined;
95145
+ statsPeriodStart?: string | undefined;
95146
+ statsPeriodEnd?: string | undefined;
95072
95147
  collapse?: "adjacentEvents"[] | undefined;
95073
95148
  llmFormat?: "json" | "markdown" | "xml" | undefined;
95074
95149
  }, {
95075
95150
  environment?: string[] | undefined;
95151
+ statsPeriod?: string | undefined;
95152
+ start?: string | undefined;
95153
+ end?: string | undefined;
95154
+ statsPeriodStart?: string | undefined;
95155
+ statsPeriodEnd?: string | undefined;
95076
95156
  collapse?: "adjacentEvents"[] | undefined;
95077
95157
  llmFormat?: "json" | "markdown" | "xml" | undefined;
95078
95158
  }>>;
@@ -95084,6 +95164,11 @@ export declare const zGetOrganizationIssueEventData: z.ZodObject<{
95084
95164
  };
95085
95165
  query?: {
95086
95166
  environment?: string[] | undefined;
95167
+ statsPeriod?: string | undefined;
95168
+ start?: string | undefined;
95169
+ end?: string | undefined;
95170
+ statsPeriodStart?: string | undefined;
95171
+ statsPeriodEnd?: string | undefined;
95087
95172
  collapse?: "adjacentEvents"[] | undefined;
95088
95173
  llmFormat?: "json" | "markdown" | "xml" | undefined;
95089
95174
  } | undefined;
@@ -95096,6 +95181,11 @@ export declare const zGetOrganizationIssueEventData: z.ZodObject<{
95096
95181
  };
95097
95182
  query?: {
95098
95183
  environment?: string[] | undefined;
95184
+ statsPeriod?: string | undefined;
95185
+ start?: string | undefined;
95186
+ end?: string | undefined;
95187
+ statsPeriodStart?: string | undefined;
95188
+ statsPeriodEnd?: string | undefined;
95099
95189
  collapse?: "adjacentEvents"[] | undefined;
95100
95190
  llmFormat?: "json" | "markdown" | "xml" | undefined;
95101
95191
  } | undefined;
package/dist/zod.js CHANGED
@@ -17486,6 +17486,8 @@ var zListOrganizationFlagLogsData = z.object({
17486
17486
  start: z.string().datetime().optional(),
17487
17487
  end: z.string().datetime().optional(),
17488
17488
  statsPeriod: z.string().optional(),
17489
+ statsPeriodStart: z.string().optional(),
17490
+ statsPeriodEnd: z.string().optional(),
17489
17491
  flag: z.array(z.string()).optional(),
17490
17492
  provider: z.array(z.enum([
17491
17493
  "flagpole",
@@ -18205,6 +18207,8 @@ var zListOrganizationIssuesData = z.object({
18205
18207
  environment: z.array(z.string()).optional(),
18206
18208
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
18207
18209
  statsPeriod: z.string().optional(),
18210
+ statsPeriodStart: z.string().optional(),
18211
+ statsPeriodEnd: z.string().optional(),
18208
18212
  start: z.string().datetime().optional(),
18209
18213
  end: z.string().datetime().optional(),
18210
18214
  groupStatsPeriod: z.enum([
@@ -28666,6 +28670,8 @@ var zListProjectEventsData = z.object({
28666
28670
  }),
28667
28671
  query: z.object({
28668
28672
  statsPeriod: z.string().optional(),
28673
+ statsPeriodStart: z.string().optional(),
28674
+ statsPeriodEnd: z.string().optional(),
28669
28675
  start: z.string().datetime().optional(),
28670
28676
  end: z.string().datetime().optional(),
28671
28677
  cursor: z.string().min(1).optional(),
@@ -28750,6 +28756,11 @@ var zGetProjectEventData = z.object({
28750
28756
  }),
28751
28757
  query: z.object({
28752
28758
  environment: z.array(z.string()).optional(),
28759
+ start: z.string().datetime().optional(),
28760
+ end: z.string().datetime().optional(),
28761
+ statsPeriod: z.string().optional(),
28762
+ statsPeriodStart: z.string().optional(),
28763
+ statsPeriodEnd: z.string().optional(),
28753
28764
  collapse: z.array(z.enum(["adjacentEvents"])).optional()
28754
28765
  }).optional()
28755
28766
  });
@@ -35377,6 +35388,8 @@ var zListOrganizationIssueEventsData = z.object({
35377
35388
  start: z.string().datetime().optional(),
35378
35389
  end: z.string().datetime().optional(),
35379
35390
  statsPeriod: z.string().optional(),
35391
+ statsPeriodStart: z.string().optional(),
35392
+ statsPeriodEnd: z.string().optional(),
35380
35393
  environment: z.array(z.string()).optional(),
35381
35394
  full: z.boolean().optional().default(false),
35382
35395
  sample: z.boolean().optional().default(false),
@@ -35466,6 +35479,11 @@ var zGetOrganizationIssueEventData = z.object({
35466
35479
  }),
35467
35480
  query: z.object({
35468
35481
  environment: z.array(z.string()).optional(),
35482
+ start: z.string().datetime().optional(),
35483
+ end: z.string().datetime().optional(),
35484
+ statsPeriod: z.string().optional(),
35485
+ statsPeriodStart: z.string().optional(),
35486
+ statsPeriodEnd: z.string().optional(),
35469
35487
  collapse: z.array(z.enum(["adjacentEvents"])).optional(),
35470
35488
  llmFormat: z.enum([
35471
35489
  "json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.431.0",
3
+ "version": "0.433.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",