@sentry/api 0.398.0 → 0.400.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/README.md CHANGED
@@ -69,6 +69,20 @@ const { data, error } = await listOrganizations({
69
69
 
70
70
  They can also reuse an existing instance's configuration: `listOrganizations({ client: sentry.client })`.
71
71
 
72
+ ### Query parameter types
73
+
74
+ Each operation's `<Operation>Data` type describes its `path`, `query`, and `body`. Enum-valued query parameters also get a named type for one value, `<Operation>Query<Parameter>`. For array parameters, that is the element type:
75
+
76
+ ```ts
77
+ import type {
78
+ ListOrganizationTraceItemAttributesQueryAttributeType,
79
+ ListOrganizationTraceItemAttributesQueryDataset,
80
+ } from "@sentry/api";
81
+
82
+ const dataset: ListOrganizationTraceItemAttributesQueryDataset = "spans";
83
+ const types: ListOrganizationTraceItemAttributesQueryAttributeType[] = ["string", "number"];
84
+ ```
85
+
72
86
  ### Browser sessions
73
87
 
74
88
  The browser helper configures session cookies and CSRF token injection:
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export type { DocumentedSentryApiError, NarrowedResult, SentryApiResultError, Se
5
5
  export { parseSentryLinkHeader, unwrapResult, unwrapPaginatedResult, fetchPage, paginateAll, paginateUpTo } from './sentry-pagination.ts';
6
6
  export type { UnwrappedResult, PaginatedResponse, PaginatedCollection, PaginateAllOptions, PaginateUpToOptions, PageFetcher, BudgetedPageFetcher } from './sentry-pagination.ts';
7
7
  export * from './error-results.gen.ts';
8
+ export type * from './query-enums.gen.ts';
8
9
  export * from './pagination.gen.ts';
9
10
  export { createSentryClient } from './sentry-client.gen.ts';
10
11
  export type { SentryClient } from './sentry-client.gen.ts';
@@ -0,0 +1,129 @@
1
+ import type { DeleteOrganizationIssuesData, GetOrganizationIssueAutofixStateData, GetOrganizationIssueData, GetOrganizationIssueEventData, GetOrganizationIssueIntegrationData, GetOrganizationProfilingFlamegraphData, GetOrganizationReleaseData, GetOrganizationReplayCountData, GetOrganizationReplayData, GetOrganizationStatsSummaryData, GetOrganizationTraceData, GetOrganizationTraceMetaData, ListOrganizationDashboardsData, ListOrganizationEnvironmentsData, ListOrganizationEventsData, ListOrganizationEventsDroppedData, ListOrganizationEventsTimeseriesData, ListOrganizationFlagLogsData, ListOrganizationIssueTagValuesData, ListOrganizationIssueViewsData, ListOrganizationIssuesData, ListOrganizationProjectKeysData, ListOrganizationReplaysData, ListOrganizationReposData, ListOrganizationStatsV2Data, ListOrganizationTagsData, ListOrganizationTraceItemAttributesData, ListOrganizationTraceItemsStatsData, ListOrganizationTraceMetricsData, ListProjectCodeOwnersData, ListProjectEnvironmentsData, ListProjectIssuesData, ListProjectStatsData, ResolveOrganizationShortIdData, RetrieveOrganizationAiConversationData, UpdateOrganizationIssuesData } from './types.gen';
2
+ /** A value of the `sort` query parameter of `deleteOrganizationIssues`. */
3
+ export type DeleteOrganizationIssuesQuerySort = NonNullable<NonNullable<DeleteOrganizationIssuesData['query']>["sort"]>;
4
+ /** A value of the `llmFormat` query parameter of `getOrganizationIssueAutofixState`. */
5
+ export type GetOrganizationIssueAutofixStateQueryLlmFormat = NonNullable<NonNullable<GetOrganizationIssueAutofixStateData['query']>["llmFormat"]>;
6
+ /** A value of the `llmFormat` query parameter of `getOrganizationIssueEvent`. */
7
+ export type GetOrganizationIssueEventQueryLlmFormat = NonNullable<NonNullable<GetOrganizationIssueEventData['query']>["llmFormat"]>;
8
+ /** A value of the `action` query parameter of `getOrganizationIssueIntegration`. */
9
+ export type GetOrganizationIssueIntegrationQueryAction = NonNullable<NonNullable<GetOrganizationIssueIntegrationData['query']>["action"]>;
10
+ /** A value of the `collapse` query parameter of `getOrganizationIssue`. */
11
+ export type GetOrganizationIssueQueryCollapse = NonNullable<NonNullable<GetOrganizationIssueData['query']>["collapse"]>[number];
12
+ /** A value of the `expand` query parameter of `getOrganizationIssue`. */
13
+ export type GetOrganizationIssueQueryExpand = NonNullable<NonNullable<GetOrganizationIssueData['query']>["expand"]>[number];
14
+ /** A value of the `dataSource` query parameter of `getOrganizationProfilingFlamegraph`. */
15
+ export type GetOrganizationProfilingFlamegraphQueryDataSource = NonNullable<NonNullable<GetOrganizationProfilingFlamegraphData['query']>["dataSource"]>;
16
+ /** A value of the `expand` query parameter of `getOrganizationProfilingFlamegraph`. */
17
+ export type GetOrganizationProfilingFlamegraphQueryExpand = NonNullable<NonNullable<GetOrganizationProfilingFlamegraphData['query']>["expand"]>[number];
18
+ /** A value of the `healthStatsPeriod` query parameter of `getOrganizationRelease`. */
19
+ export type GetOrganizationReleaseQueryHealthStatsPeriod = NonNullable<NonNullable<GetOrganizationReleaseData['query']>["healthStatsPeriod"]>;
20
+ /** A value of the `sort` query parameter of `getOrganizationRelease`. */
21
+ export type GetOrganizationReleaseQuerySort = NonNullable<NonNullable<GetOrganizationReleaseData['query']>["sort"]>;
22
+ /** A value of the `status` query parameter of `getOrganizationRelease`. */
23
+ export type GetOrganizationReleaseQueryStatus = NonNullable<NonNullable<GetOrganizationReleaseData['query']>["status"]>;
24
+ /** A value of the `summaryStatsPeriod` query parameter of `getOrganizationRelease`. */
25
+ export type GetOrganizationReleaseQuerySummaryStatsPeriod = NonNullable<NonNullable<GetOrganizationReleaseData['query']>["summaryStatsPeriod"]>;
26
+ /** A value of the `data_source` query parameter of `getOrganizationReplayCount`. */
27
+ export type GetOrganizationReplayCountQueryDataSource = NonNullable<NonNullable<GetOrganizationReplayCountData['query']>["data_source"]>;
28
+ /** A value of the `field` query parameter of `getOrganizationReplay`. */
29
+ export type GetOrganizationReplayQueryField = NonNullable<NonNullable<GetOrganizationReplayData['query']>["field"]>[number];
30
+ /** A value of the `category` query parameter of `getOrganizationStatsSummary`. */
31
+ export type GetOrganizationStatsSummaryQueryCategory = NonNullable<NonNullable<GetOrganizationStatsSummaryData['query']>["category"]>;
32
+ /** A value of the `field` query parameter of `getOrganizationStatsSummary`. */
33
+ export type GetOrganizationStatsSummaryQueryField = NonNullable<NonNullable<GetOrganizationStatsSummaryData['query']>["field"]>;
34
+ /** A value of the `outcome` query parameter of `getOrganizationStatsSummary`. */
35
+ export type GetOrganizationStatsSummaryQueryOutcome = NonNullable<NonNullable<GetOrganizationStatsSummaryData['query']>["outcome"]>;
36
+ /** A value of the `include_uptime` query parameter of `getOrganizationTraceMeta`. */
37
+ export type GetOrganizationTraceMetaQueryIncludeUptime = NonNullable<NonNullable<GetOrganizationTraceMetaData['query']>["include_uptime"]>;
38
+ /** A value of the `include_uptime` query parameter of `getOrganizationTrace`. */
39
+ export type GetOrganizationTraceQueryIncludeUptime = NonNullable<NonNullable<GetOrganizationTraceData['query']>["include_uptime"]>;
40
+ /** A value of the `filter` query parameter of `listOrganizationDashboards`. */
41
+ export type ListOrganizationDashboardsQueryFilter = NonNullable<NonNullable<ListOrganizationDashboardsData['query']>["filter"]>[number];
42
+ /** A value of the `pin` query parameter of `listOrganizationDashboards`. */
43
+ export type ListOrganizationDashboardsQueryPin = NonNullable<NonNullable<ListOrganizationDashboardsData['query']>["pin"]>;
44
+ /** A value of the `visibility` query parameter of `listOrganizationEnvironments`. */
45
+ export type ListOrganizationEnvironmentsQueryVisibility = NonNullable<NonNullable<ListOrganizationEnvironmentsData['query']>["visibility"]>;
46
+ /** A value of the `dataset` query parameter of `listOrganizationEventsDropped`. */
47
+ export type ListOrganizationEventsDroppedQueryDataset = NonNullable<NonNullable<ListOrganizationEventsDroppedData['query']>["dataset"]>;
48
+ /** A value of the `outcome` query parameter of `listOrganizationEventsDropped`. */
49
+ export type ListOrganizationEventsDroppedQueryOutcome = NonNullable<NonNullable<ListOrganizationEventsDroppedData['query']>["outcome"]>;
50
+ /** A value of the `dataset` query parameter of `listOrganizationEvents`. */
51
+ export type ListOrganizationEventsQueryDataset = NonNullable<NonNullable<ListOrganizationEventsData['query']>["dataset"]>;
52
+ /** A value of the `dataset` query parameter of `listOrganizationEventsTimeseries`. */
53
+ export type ListOrganizationEventsTimeseriesQueryDataset = NonNullable<NonNullable<ListOrganizationEventsTimeseriesData['query']>["dataset"]>;
54
+ /** A value of the `disableAggregateExtrapolation` query parameter of `listOrganizationEventsTimeseries`. */
55
+ export type ListOrganizationEventsTimeseriesQueryDisableAggregateExtrapolation = NonNullable<NonNullable<ListOrganizationEventsTimeseriesData['query']>["disableAggregateExtrapolation"]>;
56
+ /** A value of the `excludeOther` query parameter of `listOrganizationEventsTimeseries`. */
57
+ export type ListOrganizationEventsTimeseriesQueryExcludeOther = NonNullable<NonNullable<ListOrganizationEventsTimeseriesData['query']>["excludeOther"]>;
58
+ /** A value of the `preventMetricAggregates` query parameter of `listOrganizationEventsTimeseries`. */
59
+ export type ListOrganizationEventsTimeseriesQueryPreventMetricAggregates = NonNullable<NonNullable<ListOrganizationEventsTimeseriesData['query']>["preventMetricAggregates"]>;
60
+ /** A value of the `provider` query parameter of `listOrganizationFlagLogs`. */
61
+ export type ListOrganizationFlagLogsQueryProvider = NonNullable<NonNullable<ListOrganizationFlagLogsData['query']>["provider"]>[number];
62
+ /** A value of the `collapse` query parameter of `listOrganizationIssues`. */
63
+ export type ListOrganizationIssuesQueryCollapse = NonNullable<NonNullable<ListOrganizationIssuesData['query']>["collapse"]>[number];
64
+ /** A value of the `expand` query parameter of `listOrganizationIssues`. */
65
+ export type ListOrganizationIssuesQueryExpand = NonNullable<NonNullable<ListOrganizationIssuesData['query']>["expand"]>[number];
66
+ /** A value of the `groupStatsPeriod` query parameter of `listOrganizationIssues`. */
67
+ export type ListOrganizationIssuesQueryGroupStatsPeriod = NonNullable<NonNullable<ListOrganizationIssuesData['query']>["groupStatsPeriod"]>;
68
+ /** A value of the `shortIdLookup` query parameter of `listOrganizationIssues`. */
69
+ export type ListOrganizationIssuesQueryShortIdLookup = NonNullable<NonNullable<ListOrganizationIssuesData['query']>["shortIdLookup"]>;
70
+ /** A value of the `sort` query parameter of `listOrganizationIssues`. */
71
+ export type ListOrganizationIssuesQuerySort = NonNullable<NonNullable<ListOrganizationIssuesData['query']>["sort"]>;
72
+ /** A value of the `sort` query parameter of `listOrganizationIssueTagValues`. */
73
+ export type ListOrganizationIssueTagValuesQuerySort = NonNullable<NonNullable<ListOrganizationIssueTagValuesData['query']>["sort"]>;
74
+ /** A value of the `createdBy` query parameter of `listOrganizationIssueViews`. */
75
+ export type ListOrganizationIssueViewsQueryCreatedBy = NonNullable<NonNullable<ListOrganizationIssueViewsData['query']>["createdBy"]>;
76
+ /** A value of the `sort` query parameter of `listOrganizationIssueViews`. */
77
+ export type ListOrganizationIssueViewsQuerySort = NonNullable<NonNullable<ListOrganizationIssueViewsData['query']>["sort"]>[number];
78
+ /** A value of the `status` query parameter of `listOrganizationProjectKeys`. */
79
+ export type ListOrganizationProjectKeysQueryStatus = NonNullable<NonNullable<ListOrganizationProjectKeysData['query']>["status"]>;
80
+ /** A value of the `field` query parameter of `listOrganizationReplays`. */
81
+ export type ListOrganizationReplaysQueryField = NonNullable<NonNullable<ListOrganizationReplaysData['query']>["field"]>[number];
82
+ /** A value of the `status` query parameter of `listOrganizationRepos`. */
83
+ export type ListOrganizationReposQueryStatus = NonNullable<NonNullable<ListOrganizationReposData['query']>["status"]>;
84
+ /** A value of the `category` query parameter of `listOrganizationStatsV2`. */
85
+ export type ListOrganizationStatsV2QueryCategory = NonNullable<NonNullable<ListOrganizationStatsV2Data['query']>["category"]>;
86
+ /** A value of the `field` query parameter of `listOrganizationStatsV2`. */
87
+ export type ListOrganizationStatsV2QueryField = NonNullable<NonNullable<ListOrganizationStatsV2Data['query']>["field"]>;
88
+ /** A value of the `groupBy` query parameter of `listOrganizationStatsV2`. */
89
+ export type ListOrganizationStatsV2QueryGroupBy = NonNullable<NonNullable<ListOrganizationStatsV2Data['query']>["groupBy"]>[number];
90
+ /** A value of the `outcome` query parameter of `listOrganizationStatsV2`. */
91
+ export type ListOrganizationStatsV2QueryOutcome = NonNullable<NonNullable<ListOrganizationStatsV2Data['query']>["outcome"]>;
92
+ /** A value of the `dataset` query parameter of `listOrganizationTags`. */
93
+ export type ListOrganizationTagsQueryDataset = NonNullable<NonNullable<ListOrganizationTagsData['query']>["dataset"]>;
94
+ /** A value of the `use_cache` query parameter of `listOrganizationTags`. */
95
+ export type ListOrganizationTagsQueryUseCache = NonNullable<NonNullable<ListOrganizationTagsData['query']>["use_cache"]>;
96
+ /** A value of the `useFlagsBackend` query parameter of `listOrganizationTags`. */
97
+ export type ListOrganizationTagsQueryUseFlagsBackend = NonNullable<NonNullable<ListOrganizationTagsData['query']>["useFlagsBackend"]>;
98
+ /** A value of the `attributeType` query parameter of `listOrganizationTraceItemAttributes`. */
99
+ export type ListOrganizationTraceItemAttributesQueryAttributeType = NonNullable<NonNullable<ListOrganizationTraceItemAttributesData['query']>["attributeType"]>[number];
100
+ /** A value of the `dataset` query parameter of `listOrganizationTraceItemAttributes`. */
101
+ export type ListOrganizationTraceItemAttributesQueryDataset = NonNullable<NonNullable<ListOrganizationTraceItemAttributesData['query']>["dataset"]>;
102
+ /** A value of the `expand` query parameter of `listOrganizationTraceItemAttributes`. */
103
+ export type ListOrganizationTraceItemAttributesQueryExpand = NonNullable<NonNullable<ListOrganizationTraceItemAttributesData['query']>["expand"]>[number];
104
+ /** A value of the `itemType` query parameter of `listOrganizationTraceItemAttributes`. */
105
+ export type ListOrganizationTraceItemAttributesQueryItemType = NonNullable<NonNullable<ListOrganizationTraceItemAttributesData['query']>["itemType"]>;
106
+ /** A value of the `itemType` query parameter of `listOrganizationTraceItemsStats`. */
107
+ export type ListOrganizationTraceItemsStatsQueryItemType = NonNullable<NonNullable<ListOrganizationTraceItemsStatsData['query']>["itemType"]>;
108
+ /** A value of the `statsType` query parameter of `listOrganizationTraceItemsStats`. */
109
+ export type ListOrganizationTraceItemsStatsQueryStatsType = NonNullable<NonNullable<ListOrganizationTraceItemsStatsData['query']>["statsType"]>[number];
110
+ /** A value of the `expand` query parameter of `listOrganizationTraceMetrics`. */
111
+ export type ListOrganizationTraceMetricsQueryExpand = NonNullable<NonNullable<ListOrganizationTraceMetricsData['query']>["expand"]>[number];
112
+ /** A value of the `sort` query parameter of `listOrganizationTraceMetrics`. */
113
+ export type ListOrganizationTraceMetricsQuerySort = NonNullable<NonNullable<ListOrganizationTraceMetricsData['query']>["sort"]>;
114
+ /** A value of the `expand` query parameter of `listProjectCodeOwners`. */
115
+ export type ListProjectCodeOwnersQueryExpand = NonNullable<NonNullable<ListProjectCodeOwnersData['query']>["expand"]>[number];
116
+ /** A value of the `visibility` query parameter of `listProjectEnvironments`. */
117
+ export type ListProjectEnvironmentsQueryVisibility = NonNullable<NonNullable<ListProjectEnvironmentsData['query']>["visibility"]>;
118
+ /** A value of the `sort` query parameter of `listProjectIssues`. */
119
+ export type ListProjectIssuesQuerySort = NonNullable<NonNullable<ListProjectIssuesData['query']>["sort"]>;
120
+ /** A value of the `resolution` query parameter of `listProjectStats`. */
121
+ export type ListProjectStatsQueryResolution = NonNullable<NonNullable<ListProjectStatsData['query']>["resolution"]>;
122
+ /** A value of the `stat` query parameter of `listProjectStats`. */
123
+ export type ListProjectStatsQueryStat = NonNullable<NonNullable<ListProjectStatsData['query']>["stat"]>;
124
+ /** A value of the `collapse` query parameter of `resolveOrganizationShortId`. */
125
+ export type ResolveOrganizationShortIdQueryCollapse = NonNullable<NonNullable<ResolveOrganizationShortIdData['query']>["collapse"]>[number];
126
+ /** A value of the `view` query parameter of `retrieveOrganizationAiConversation`. */
127
+ export type RetrieveOrganizationAiConversationQueryView = NonNullable<NonNullable<RetrieveOrganizationAiConversationData['query']>["view"]>;
128
+ /** A value of the `sort` query parameter of `updateOrganizationIssues`. */
129
+ export type UpdateOrganizationIssuesQuerySort = NonNullable<NonNullable<UpdateOrganizationIssuesData['query']>["sort"]>;
@@ -24952,7 +24952,7 @@ export type ListOrganizationReplaysData = {
24952
24952
  /**
24953
24953
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
24954
24954
  */
24955
- field?: Array<'activity' | 'browser' | 'clicks' | 'count_dead_clicks' | 'count_errors' | 'count_infos' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'count_warnings' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'has_viewed' | 'id' | 'info_ids' | 'is_archived' | 'os' | 'ota_updates' | 'platform' | 'project_id' | 'releases' | 'replay_type' | 'sdk' | 'segment_names' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'warning_ids'>;
24955
+ field?: Array<'activity' | 'browser' | 'clicks' | 'count_dead_clicks' | 'count_errors' | 'count_infos' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'count_warnings' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'has_viewed' | 'id' | 'is_archived' | 'os' | 'ota_updates' | 'platform' | 'project_id' | 'releases' | 'replay_type' | 'sdk' | 'segment_names' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user'>;
24956
24956
  /**
24957
24957
  * A list of project IDs or slugs to filter by.
24958
24958
  */
@@ -25118,7 +25118,7 @@ export type GetOrganizationReplayData = {
25118
25118
  /**
25119
25119
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
25120
25120
  */
25121
- field?: Array<'activity' | 'browser' | 'clicks' | 'count_dead_clicks' | 'count_errors' | 'count_infos' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'count_warnings' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'has_viewed' | 'id' | 'info_ids' | 'is_archived' | 'os' | 'ota_updates' | 'platform' | 'project_id' | 'releases' | 'replay_type' | 'sdk' | 'segment_names' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'warning_ids'>;
25121
+ field?: Array<'activity' | 'browser' | 'clicks' | 'count_dead_clicks' | 'count_errors' | 'count_infos' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'count_warnings' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'has_viewed' | 'id' | 'is_archived' | 'os' | 'ota_updates' | 'platform' | 'project_id' | 'releases' | 'replay_type' | 'sdk' | 'segment_names' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user'>;
25122
25122
  /**
25123
25123
  * A list of project IDs or slugs to filter by.
25124
25124
  */
@@ -12872,7 +12872,7 @@ export declare const vListOrganizationReplaysData: v.ObjectSchema<{
12872
12872
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
12873
12873
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12874
12874
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12875
- readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "info_ids", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user", "warning_ids"], undefined>, undefined>, undefined>;
12875
+ readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user"], undefined>, undefined>, undefined>;
12876
12876
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12877
12877
  readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
12878
12878
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -12961,7 +12961,7 @@ export declare const vGetOrganizationReplayData: v.ObjectSchema<{
12961
12961
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
12962
12962
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12963
12963
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12964
- readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "info_ids", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user", "warning_ids"], undefined>, undefined>, undefined>;
12964
+ readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user"], undefined>, undefined>, undefined>;
12965
12965
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12966
12966
  readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
12967
12967
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
package/dist/valibot.js CHANGED
@@ -16285,7 +16285,6 @@ var vListOrganizationReplaysData = v.object({
16285
16285
  "finished_at",
16286
16286
  "has_viewed",
16287
16287
  "id",
16288
- "info_ids",
16289
16288
  "is_archived",
16290
16289
  "os",
16291
16290
  "ota_updates",
@@ -16299,8 +16298,7 @@ var vListOrganizationReplaysData = v.object({
16299
16298
  "tags",
16300
16299
  "trace_ids",
16301
16300
  "urls",
16302
- "user",
16303
- "warning_ids"
16301
+ "user"
16304
16302
  ]))),
16305
16303
  project: v.optional(v.array(v.unknown())),
16306
16304
  projectSlug: v.optional(v.array(v.string())),
@@ -16409,7 +16407,6 @@ var vGetOrganizationReplayData = v.object({
16409
16407
  "finished_at",
16410
16408
  "has_viewed",
16411
16409
  "id",
16412
- "info_ids",
16413
16410
  "is_archived",
16414
16411
  "os",
16415
16412
  "ota_updates",
@@ -16423,8 +16420,7 @@ var vGetOrganizationReplayData = v.object({
16423
16420
  "tags",
16424
16421
  "trace_ids",
16425
16422
  "urls",
16426
- "user",
16427
- "warning_ids"
16423
+ "user"
16428
16424
  ]))),
16429
16425
  project: v.optional(v.array(v.unknown())),
16430
16426
  projectSlug: v.optional(v.array(v.string())),
package/dist/zod.gen.d.ts CHANGED
@@ -63099,7 +63099,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
63099
63099
  statsPeriod: z.ZodOptional<z.ZodString>;
63100
63100
  start: z.ZodOptional<z.ZodString>;
63101
63101
  end: z.ZodOptional<z.ZodString>;
63102
- field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "info_ids", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user", "warning_ids"]>, "many">>;
63102
+ field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user"]>, "many">>;
63103
63103
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
63104
63104
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63105
63105
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -63121,7 +63121,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
63121
63121
  statsPeriod?: string | undefined;
63122
63122
  start?: string | undefined;
63123
63123
  end?: string | undefined;
63124
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63124
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63125
63125
  projectSlug?: string[] | undefined;
63126
63126
  orderBy?: string | undefined;
63127
63127
  queryReferrer?: string | undefined;
@@ -63136,7 +63136,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
63136
63136
  statsPeriod?: string | undefined;
63137
63137
  start?: string | undefined;
63138
63138
  end?: string | undefined;
63139
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63139
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63140
63140
  projectSlug?: string[] | undefined;
63141
63141
  orderBy?: string | undefined;
63142
63142
  queryReferrer?: string | undefined;
@@ -63156,7 +63156,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
63156
63156
  statsPeriod?: string | undefined;
63157
63157
  start?: string | undefined;
63158
63158
  end?: string | undefined;
63159
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63159
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63160
63160
  projectSlug?: string[] | undefined;
63161
63161
  orderBy?: string | undefined;
63162
63162
  queryReferrer?: string | undefined;
@@ -63177,7 +63177,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
63177
63177
  statsPeriod?: string | undefined;
63178
63178
  start?: string | undefined;
63179
63179
  end?: string | undefined;
63180
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63180
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63181
63181
  projectSlug?: string[] | undefined;
63182
63182
  orderBy?: string | undefined;
63183
63183
  queryReferrer?: string | undefined;
@@ -63592,7 +63592,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
63592
63592
  statsPeriod: z.ZodOptional<z.ZodString>;
63593
63593
  start: z.ZodOptional<z.ZodString>;
63594
63594
  end: z.ZodOptional<z.ZodString>;
63595
- field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "info_ids", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user", "warning_ids"]>, "many">>;
63595
+ field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user"]>, "many">>;
63596
63596
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
63597
63597
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63598
63598
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -63614,7 +63614,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
63614
63614
  statsPeriod?: string | undefined;
63615
63615
  start?: string | undefined;
63616
63616
  end?: string | undefined;
63617
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63617
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63618
63618
  projectSlug?: string[] | undefined;
63619
63619
  orderBy?: string | undefined;
63620
63620
  queryReferrer?: string | undefined;
@@ -63629,7 +63629,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
63629
63629
  statsPeriod?: string | undefined;
63630
63630
  start?: string | undefined;
63631
63631
  end?: string | undefined;
63632
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63632
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63633
63633
  projectSlug?: string[] | undefined;
63634
63634
  orderBy?: string | undefined;
63635
63635
  queryReferrer?: string | undefined;
@@ -63650,7 +63650,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
63650
63650
  statsPeriod?: string | undefined;
63651
63651
  start?: string | undefined;
63652
63652
  end?: string | undefined;
63653
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63653
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63654
63654
  projectSlug?: string[] | undefined;
63655
63655
  orderBy?: string | undefined;
63656
63656
  queryReferrer?: string | undefined;
@@ -63672,7 +63672,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
63672
63672
  statsPeriod?: string | undefined;
63673
63673
  start?: string | undefined;
63674
63674
  end?: string | undefined;
63675
- field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "info_ids" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls" | "warning_ids")[] | undefined;
63675
+ field?: ("user" | "id" | "activity" | "browser" | "clicks" | "count_dead_clicks" | "count_errors" | "count_infos" | "count_rage_clicks" | "count_segments" | "count_urls" | "count_warnings" | "device" | "dist" | "duration" | "environment" | "error_ids" | "finished_at" | "has_viewed" | "is_archived" | "os" | "ota_updates" | "platform" | "project_id" | "releases" | "replay_type" | "sdk" | "segment_names" | "started_at" | "tags" | "trace_ids" | "urls")[] | undefined;
63676
63676
  projectSlug?: string[] | undefined;
63677
63677
  orderBy?: string | undefined;
63678
63678
  queryReferrer?: string | undefined;
package/dist/zod.js CHANGED
@@ -24076,7 +24076,6 @@ var zListOrganizationReplaysData = z.object({
24076
24076
  "finished_at",
24077
24077
  "has_viewed",
24078
24078
  "id",
24079
- "info_ids",
24080
24079
  "is_archived",
24081
24080
  "os",
24082
24081
  "ota_updates",
@@ -24090,8 +24089,7 @@ var zListOrganizationReplaysData = z.object({
24090
24089
  "tags",
24091
24090
  "trace_ids",
24092
24091
  "urls",
24093
- "user",
24094
- "warning_ids"
24092
+ "user"
24095
24093
  ])).optional(),
24096
24094
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
24097
24095
  projectSlug: z.array(z.string()).optional(),
@@ -24320,7 +24318,6 @@ var zGetOrganizationReplayData = z.object({
24320
24318
  "finished_at",
24321
24319
  "has_viewed",
24322
24320
  "id",
24323
- "info_ids",
24324
24321
  "is_archived",
24325
24322
  "os",
24326
24323
  "ota_updates",
@@ -24334,8 +24331,7 @@ var zGetOrganizationReplayData = z.object({
24334
24331
  "tags",
24335
24332
  "trace_ids",
24336
24333
  "urls",
24337
- "user",
24338
- "warning_ids"
24334
+ "user"
24339
24335
  ])).optional(),
24340
24336
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
24341
24337
  projectSlug: z.array(z.string()).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.398.0",
3
+ "version": "0.400.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",