@sentry/api 0.283.0 → 0.285.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2595,6 +2595,9 @@ var fetchPage_getOrganizationReplay = (options, cursor) => fetchPage((c) => getO
2595
2595
  var fetchPage_listOrganizationDashboards = (options, cursor) => fetchPage((c) => listOrganizationDashboards(_withCursor(options, c)), "listOrganizationDashboards", cursor);
2596
2596
  var paginateAll_listOrganizationDashboards = (options, paginateOptions) => paginateAll((c) => listOrganizationDashboards(_withCursor(options, c)), "listOrganizationDashboards", paginateOptions);
2597
2597
  var paginateUpTo_listOrganizationDashboards = (options, paginateOptions) => paginateUpTo((c) => listOrganizationDashboards(_withCursor(options, c)), paginateOptions, "listOrganizationDashboards");
2598
+ var fetchPage_listOrganizationDetectors = (options, cursor) => fetchPage((c) => listOrganizationDetectors(_withCursor(options, c)), "listOrganizationDetectors", cursor);
2599
+ var paginateAll_listOrganizationDetectors = (options, paginateOptions) => paginateAll((c) => listOrganizationDetectors(_withCursor(options, c)), "listOrganizationDetectors", paginateOptions);
2600
+ var paginateUpTo_listOrganizationDetectors = (options, paginateOptions) => paginateUpTo((c) => listOrganizationDetectors(_withCursor(options, c)), paginateOptions, "listOrganizationDetectors");
2598
2601
  var fetchPage_listOrganizationDiscoverSavedQueries = (options, cursor) => fetchPage((c) => listOrganizationDiscoverSavedQueries(_withCursor(options, c)), "listOrganizationDiscoverSavedQueries", cursor);
2599
2602
  var paginateAll_listOrganizationDiscoverSavedQueries = (options, paginateOptions) => paginateAll((c) => listOrganizationDiscoverSavedQueries(_withCursor(options, c)), "listOrganizationDiscoverSavedQueries", paginateOptions);
2600
2603
  var paginateUpTo_listOrganizationDiscoverSavedQueries = (options, paginateOptions) => paginateUpTo((c) => listOrganizationDiscoverSavedQueries(_withCursor(options, c)), paginateOptions, "listOrganizationDiscoverSavedQueries");
@@ -2659,6 +2662,9 @@ var fetchPage_listOrganizationTraceItemAttributes = (options, cursor) => fetchPa
2659
2662
  var paginateAll_listOrganizationTraceItemAttributes = (options, paginateOptions) => paginateAll((c) => listOrganizationTraceItemAttributes(_withCursor(options, c)), "listOrganizationTraceItemAttributes", paginateOptions);
2660
2663
  var paginateUpTo_listOrganizationTraceItemAttributes = (options, paginateOptions) => paginateUpTo((c) => listOrganizationTraceItemAttributes(_withCursor(options, c)), paginateOptions, "listOrganizationTraceItemAttributes");
2661
2664
  var fetchPage_listOrganizationTraceItemsStats = (options, cursor) => fetchPage((c) => listOrganizationTraceItemsStats(_withCursor(options, c)), "listOrganizationTraceItemsStats", cursor);
2665
+ var fetchPage_listOrganizationWorkflows = (options, cursor) => fetchPage((c) => listOrganizationWorkflows(_withCursor(options, c)), "listOrganizationWorkflows", cursor);
2666
+ var paginateAll_listOrganizationWorkflows = (options, paginateOptions) => paginateAll((c) => listOrganizationWorkflows(_withCursor(options, c)), "listOrganizationWorkflows", paginateOptions);
2667
+ var paginateUpTo_listOrganizationWorkflows = (options, paginateOptions) => paginateUpTo((c) => listOrganizationWorkflows(_withCursor(options, c)), paginateOptions, "listOrganizationWorkflows");
2662
2668
  var fetchPage_listProjectDebugFiles = (options, cursor) => fetchPage((c) => listProjectDebugFiles(_withCursor(options, c)), "listProjectDebugFiles", cursor);
2663
2669
  var paginateAll_listProjectDebugFiles = (options, paginateOptions) => paginateAll((c) => listProjectDebugFiles(_withCursor(options, c)), "listProjectDebugFiles", paginateOptions);
2664
2670
  var paginateUpTo_listProjectDebugFiles = (options, paginateOptions) => paginateUpTo((c) => listProjectDebugFiles(_withCursor(options, c)), paginateOptions, "listProjectDebugFiles");
@@ -2771,6 +2777,7 @@ export {
2771
2777
  paginateUpTo_listProjectEventAttachments,
2772
2778
  paginateUpTo_listProjectDebugFiles,
2773
2779
  paginateUpTo_listOrganizations,
2780
+ paginateUpTo_listOrganizationWorkflows,
2774
2781
  paginateUpTo_listOrganizationTraceItemAttributes,
2775
2782
  paginateUpTo_listOrganizationTeams,
2776
2783
  paginateUpTo_listOrganizationSentryAppInstallations,
@@ -2790,6 +2797,7 @@ export {
2790
2797
  paginateUpTo_listOrganizationIssueEvents,
2791
2798
  paginateUpTo_listOrganizationIntegrations,
2792
2799
  paginateUpTo_listOrganizationDiscoverSavedQueries,
2800
+ paginateUpTo_listOrganizationDetectors,
2793
2801
  paginateUpTo_listOrganizationDashboards,
2794
2802
  paginateUpTo,
2795
2803
  paginateAll_listTeamProjects,
@@ -2809,6 +2817,7 @@ export {
2809
2817
  paginateAll_listProjectEventAttachments,
2810
2818
  paginateAll_listProjectDebugFiles,
2811
2819
  paginateAll_listOrganizations,
2820
+ paginateAll_listOrganizationWorkflows,
2812
2821
  paginateAll_listOrganizationTraceItemAttributes,
2813
2822
  paginateAll_listOrganizationTeams,
2814
2823
  paginateAll_listOrganizationSentryAppInstallations,
@@ -2828,6 +2837,7 @@ export {
2828
2837
  paginateAll_listOrganizationIssueEvents,
2829
2838
  paginateAll_listOrganizationIntegrations,
2830
2839
  paginateAll_listOrganizationDiscoverSavedQueries,
2840
+ paginateAll_listOrganizationDetectors,
2831
2841
  paginateAll_listOrganizationDashboards,
2832
2842
  paginateAll,
2833
2843
  narrowError_uploadProjectReleaseFile,
@@ -3180,6 +3190,7 @@ export {
3180
3190
  fetchPage_listProjectEventAttachments,
3181
3191
  fetchPage_listProjectDebugFiles,
3182
3192
  fetchPage_listOrganizations,
3193
+ fetchPage_listOrganizationWorkflows,
3183
3194
  fetchPage_listOrganizationTraceItemsStats,
3184
3195
  fetchPage_listOrganizationTraceItemAttributes,
3185
3196
  fetchPage_listOrganizationTeams,
@@ -3203,6 +3214,7 @@ export {
3203
3214
  fetchPage_listOrganizationIntegrations,
3204
3215
  fetchPage_listOrganizationEvents,
3205
3216
  fetchPage_listOrganizationDiscoverSavedQueries,
3217
+ fetchPage_listOrganizationDetectors,
3206
3218
  fetchPage_listOrganizationDashboards,
3207
3219
  fetchPage_getOrganizationReplay,
3208
3220
  fetchPage,
@@ -1,5 +1,5 @@
1
1
  import type { Options } from './sdk.gen';
2
- import type { GetOrganizationReplayData, GetOrganizationReplayResponses, ListOrganizationDashboardsData, ListOrganizationDashboardsResponses, ListOrganizationDiscoverSavedQueriesData, ListOrganizationDiscoverSavedQueriesResponses, ListOrganizationEventsData, ListOrganizationEventsResponses, ListOrganizationIntegrationsData, ListOrganizationIntegrationsResponses, ListOrganizationIssueEventsData, ListOrganizationIssueEventsResponses, ListOrganizationIssueHashesData, ListOrganizationIssueHashesResponses, ListOrganizationIssuesData, ListOrganizationIssuesResponses, ListOrganizationMembersData, ListOrganizationMembersResponses, ListOrganizationMonitorCheckinsData, ListOrganizationMonitorCheckinsResponses, ListOrganizationMonitorsData, ListOrganizationMonitorsResponses, ListOrganizationProjectKeysData, ListOrganizationProjectKeysResponses, ListOrganizationProjectsData, ListOrganizationProjectsResponses, ListOrganizationReleaseCommitsData, ListOrganizationReleaseCommitsResponses, ListOrganizationReleaseDeploysData, ListOrganizationReleaseDeploysResponses, ListOrganizationReleaseFilesData, ListOrganizationReleaseFilesResponses, ListOrganizationReleasesData, ListOrganizationReleasesResponses, ListOrganizationReplaySelectorsData, ListOrganizationReplaySelectorsResponses, ListOrganizationReplaysData, ListOrganizationReplaysResponses, ListOrganizationRepoCommitsData, ListOrganizationRepoCommitsResponses, ListOrganizationReposData, ListOrganizationReposResponses, ListOrganizationSentryAppInstallationsData, ListOrganizationSentryAppInstallationsResponses, ListOrganizationTeamsData, ListOrganizationTeamsResponses, ListOrganizationTraceItemAttributesData, ListOrganizationTraceItemAttributesResponses, ListOrganizationTraceItemsStatsData, ListOrganizationTraceItemsStatsResponses, ListOrganizationsData, ListOrganizationsResponses, ListProjectDebugFilesData, ListProjectDebugFilesResponses, ListProjectEventAttachmentsData, ListProjectEventAttachmentsResponses, ListProjectEventsData, ListProjectEventsResponses, ListProjectHooksData, ListProjectHooksResponses, ListProjectIssuesData, ListProjectIssuesResponses, ListProjectKeysData, ListProjectKeysResponses, ListProjectReleaseCommitsData, ListProjectReleaseCommitsResponses, ListProjectReleaseFilesData, ListProjectReleaseFilesResponses, ListProjectReleasesData, ListProjectReleasesResponses, ListProjectReplayClicksData, ListProjectReplayClicksResponses, ListProjectReplayRecordingSegmentsData, ListProjectReplayRecordingSegmentsResponses, ListProjectTagValuesData, ListProjectTagValuesResponses, ListProjectTeamsData, ListProjectTeamsResponses, ListProjectUserFeedbackData, ListProjectUserFeedbackResponses, ListProjectUsersData, ListProjectUsersResponses, ListTeamMembersData, ListTeamMembersResponses, ListTeamProjectsData, ListTeamProjectsResponses } from './types.gen';
2
+ import type { GetOrganizationReplayData, GetOrganizationReplayResponses, ListOrganizationDashboardsData, ListOrganizationDashboardsResponses, ListOrganizationDetectorsData, ListOrganizationDetectorsResponses, ListOrganizationDiscoverSavedQueriesData, ListOrganizationDiscoverSavedQueriesResponses, ListOrganizationEventsData, ListOrganizationEventsResponses, ListOrganizationIntegrationsData, ListOrganizationIntegrationsResponses, ListOrganizationIssueEventsData, ListOrganizationIssueEventsResponses, ListOrganizationIssueHashesData, ListOrganizationIssueHashesResponses, ListOrganizationIssuesData, ListOrganizationIssuesResponses, ListOrganizationMembersData, ListOrganizationMembersResponses, ListOrganizationMonitorCheckinsData, ListOrganizationMonitorCheckinsResponses, ListOrganizationMonitorsData, ListOrganizationMonitorsResponses, ListOrganizationProjectKeysData, ListOrganizationProjectKeysResponses, ListOrganizationProjectsData, ListOrganizationProjectsResponses, ListOrganizationReleaseCommitsData, ListOrganizationReleaseCommitsResponses, ListOrganizationReleaseDeploysData, ListOrganizationReleaseDeploysResponses, ListOrganizationReleaseFilesData, ListOrganizationReleaseFilesResponses, ListOrganizationReleasesData, ListOrganizationReleasesResponses, ListOrganizationReplaySelectorsData, ListOrganizationReplaySelectorsResponses, ListOrganizationReplaysData, ListOrganizationReplaysResponses, ListOrganizationRepoCommitsData, ListOrganizationRepoCommitsResponses, ListOrganizationReposData, ListOrganizationReposResponses, ListOrganizationSentryAppInstallationsData, ListOrganizationSentryAppInstallationsResponses, ListOrganizationTeamsData, ListOrganizationTeamsResponses, ListOrganizationTraceItemAttributesData, ListOrganizationTraceItemAttributesResponses, ListOrganizationTraceItemsStatsData, ListOrganizationTraceItemsStatsResponses, ListOrganizationWorkflowsData, ListOrganizationWorkflowsResponses, ListOrganizationsData, ListOrganizationsResponses, ListProjectDebugFilesData, ListProjectDebugFilesResponses, ListProjectEventAttachmentsData, ListProjectEventAttachmentsResponses, ListProjectEventsData, ListProjectEventsResponses, ListProjectHooksData, ListProjectHooksResponses, ListProjectIssuesData, ListProjectIssuesResponses, ListProjectKeysData, ListProjectKeysResponses, ListProjectReleaseCommitsData, ListProjectReleaseCommitsResponses, ListProjectReleaseFilesData, ListProjectReleaseFilesResponses, ListProjectReleasesData, ListProjectReleasesResponses, ListProjectReplayClicksData, ListProjectReplayClicksResponses, ListProjectReplayRecordingSegmentsData, ListProjectReplayRecordingSegmentsResponses, ListProjectTagValuesData, ListProjectTagValuesResponses, ListProjectTeamsData, ListProjectTeamsResponses, ListProjectUserFeedbackData, ListProjectUserFeedbackResponses, ListProjectUsersData, ListProjectUsersResponses, ListTeamMembersData, ListTeamMembersResponses, ListTeamProjectsData, ListTeamProjectsResponses } from './types.gen';
3
3
  import { type PaginateAllOptions, type PaginateUpToOptions, type PaginatedResponse } from './sentry-pagination';
4
4
  /**
5
5
  * Strip `cursor` from a query type (the wrapper manages the cursor)
@@ -34,6 +34,21 @@ export declare const paginateUpTo_listOrganizationDashboards: (options: Omit<Opt
34
34
  data: ListOrganizationDashboardsResponses[200];
35
35
  nextCursor?: string;
36
36
  }>;
37
+ /** Fetch a single page of `listOrganizationDetectors` with cursors from the Link header. */
38
+ export declare const fetchPage_listOrganizationDetectors: (options: Omit<Options<ListOrganizationDetectorsData>, "query"> & {
39
+ query?: PaginationQuery<ListOrganizationDetectorsData["query"]>;
40
+ }, cursor?: string) => Promise<PaginatedResponse<ListOrganizationDetectorsResponses[200]>>;
41
+ /** Eagerly fetch all pages of `listOrganizationDetectors`. Bounded by `maxPages` (default 50). */
42
+ export declare const paginateAll_listOrganizationDetectors: (options: Omit<Options<ListOrganizationDetectorsData>, "query"> & {
43
+ query?: PaginationQuery<ListOrganizationDetectorsData["query"]>;
44
+ }, paginateOptions?: PaginateAllOptions) => Promise<ListOrganizationDetectorsResponses[200]>;
45
+ /** Paginate `listOrganizationDetectors` up to `limit` items; see PaginateUpToOptions. */
46
+ export declare const paginateUpTo_listOrganizationDetectors: (options: Omit<Options<ListOrganizationDetectorsData>, "query"> & {
47
+ query?: PaginationQuery<ListOrganizationDetectorsData["query"]>;
48
+ }, paginateOptions: PaginateUpToOptions) => Promise<{
49
+ data: ListOrganizationDetectorsResponses[200];
50
+ nextCursor?: string;
51
+ }>;
37
52
  /** Fetch a single page of `listOrganizationDiscoverSavedQueries` with cursors from the Link header. */
38
53
  export declare const fetchPage_listOrganizationDiscoverSavedQueries: (options: Omit<Options<ListOrganizationDiscoverSavedQueriesData>, "query"> & {
39
54
  query?: PaginationQuery<ListOrganizationDiscoverSavedQueriesData["query"]>;
@@ -350,6 +365,21 @@ export declare const paginateUpTo_listOrganizationTraceItemAttributes: (options:
350
365
  export declare const fetchPage_listOrganizationTraceItemsStats: (options: Omit<Options<ListOrganizationTraceItemsStatsData>, "query"> & {
351
366
  query?: PaginationQuery<ListOrganizationTraceItemsStatsData["query"]>;
352
367
  }, cursor?: string) => Promise<PaginatedResponse<ListOrganizationTraceItemsStatsResponses[200]>>;
368
+ /** Fetch a single page of `listOrganizationWorkflows` with cursors from the Link header. */
369
+ export declare const fetchPage_listOrganizationWorkflows: (options: Omit<Options<ListOrganizationWorkflowsData>, "query"> & {
370
+ query?: PaginationQuery<ListOrganizationWorkflowsData["query"]>;
371
+ }, cursor?: string) => Promise<PaginatedResponse<ListOrganizationWorkflowsResponses[200]>>;
372
+ /** Eagerly fetch all pages of `listOrganizationWorkflows`. Bounded by `maxPages` (default 50). */
373
+ export declare const paginateAll_listOrganizationWorkflows: (options: Omit<Options<ListOrganizationWorkflowsData>, "query"> & {
374
+ query?: PaginationQuery<ListOrganizationWorkflowsData["query"]>;
375
+ }, paginateOptions?: PaginateAllOptions) => Promise<ListOrganizationWorkflowsResponses[200]>;
376
+ /** Paginate `listOrganizationWorkflows` up to `limit` items; see PaginateUpToOptions. */
377
+ export declare const paginateUpTo_listOrganizationWorkflows: (options: Omit<Options<ListOrganizationWorkflowsData>, "query"> & {
378
+ query?: PaginationQuery<ListOrganizationWorkflowsData["query"]>;
379
+ }, paginateOptions: PaginateUpToOptions) => Promise<{
380
+ data: ListOrganizationWorkflowsResponses[200];
381
+ nextCursor?: string;
382
+ }>;
353
383
  /** Fetch a single page of `listProjectDebugFiles` with cursors from the Link header. */
354
384
  export declare const fetchPage_listProjectDebugFiles: (options: Omit<Options<ListProjectDebugFilesData>, "query"> & {
355
385
  query?: PaginationQuery<ListProjectDebugFilesData["query"]>;
@@ -11626,6 +11626,31 @@ export type ListOrganizationDashboardsData = {
11626
11626
  organization_id_or_slug: string;
11627
11627
  };
11628
11628
  query?: {
11629
+ /**
11630
+ * Filter the dashboards returned. Repeat this parameter to apply multiple filters.
11631
+ */
11632
+ filter?: Array<'excludeFavorites' | 'excludePrebuilt' | 'onlyFavorites' | 'onlyPrebuilt' | 'owned' | 'shared' | 'showHidden'>;
11633
+ /**
11634
+ * Filter dashboards by title.
11635
+ */
11636
+ query?: string;
11637
+ /**
11638
+ * The property to sort results by. Prefix the value with `-` to sort in descending order.
11639
+ *
11640
+ * Available fields are:
11641
+ * - `title`
11642
+ * - `dateCreated`
11643
+ * - `mostPopular`
11644
+ * - `recentlyViewed`
11645
+ * - `mydashboards`
11646
+ * - `myDashboardsAndRecentlyViewed`
11647
+ *
11648
+ */
11649
+ sort?: string;
11650
+ /**
11651
+ * Pin favorited dashboards to the top of the results.
11652
+ */
11653
+ pin?: 'favorites';
11629
11654
  /**
11630
11655
  * Limit the number of rows to return in the result. Default and maximum allowed is 100.
11631
11656
  */
@@ -12684,6 +12709,14 @@ export type ListOrganizationDetectorsData = {
12684
12709
  * The ID of the monitor you'd like to query.
12685
12710
  */
12686
12711
  id?: Array<number>;
12712
+ /**
12713
+ * Limit the number of rows to return in the result. Default and maximum allowed is 100.
12714
+ */
12715
+ per_page?: number;
12716
+ /**
12717
+ * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
12718
+ */
12719
+ cursor?: string;
12687
12720
  };
12688
12721
  url: '/api/0/organizations/{organization_id_or_slug}/detectors/';
12689
12722
  };
@@ -14064,6 +14097,10 @@ export type ListOrganizationEventsData = {
14064
14097
  * The name of environments to filter by.
14065
14098
  */
14066
14099
  environment?: Array<string>;
14100
+ /**
14101
+ * Internal referrer identifier used for query tracing. Most clients can omit this.
14102
+ */
14103
+ referrer?: string;
14067
14104
  /**
14068
14105
  * The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
14069
14106
  * For example, the following are valid parameters:
@@ -21531,9 +21568,9 @@ export type ListOrganizationReplaysData = {
21531
21568
  */
21532
21569
  projectSlug?: Array<string>;
21533
21570
  /**
21534
- * The environment to filter by.
21571
+ * The environments to filter by.
21535
21572
  */
21536
- environment?: string;
21573
+ environment?: Array<string>;
21537
21574
  /**
21538
21575
  * The field to sort the output by.
21539
21576
  */
@@ -21550,6 +21587,10 @@ export type ListOrganizationReplaysData = {
21550
21587
  * A structured query string to filter the output by.
21551
21588
  */
21552
21589
  query?: string;
21590
+ /**
21591
+ * Internal referrer identifier used for query tracing.
21592
+ */
21593
+ queryReferrer?: string;
21553
21594
  /**
21554
21595
  * Limit the number of rows to return in the result.
21555
21596
  */
@@ -21693,9 +21734,9 @@ export type GetOrganizationReplayData = {
21693
21734
  */
21694
21735
  projectSlug?: Array<string>;
21695
21736
  /**
21696
- * The environment to filter by.
21737
+ * The environments to filter by.
21697
21738
  */
21698
- environment?: string;
21739
+ environment?: Array<string>;
21699
21740
  /**
21700
21741
  * The field to sort the output by.
21701
21742
  */
@@ -21712,6 +21753,10 @@ export type GetOrganizationReplayData = {
21712
21753
  * A structured query string to filter the output by.
21713
21754
  */
21714
21755
  query?: string;
21756
+ /**
21757
+ * Internal referrer identifier used for query tracing.
21758
+ */
21759
+ queryReferrer?: string;
21715
21760
  /**
21716
21761
  * Limit the number of rows to return in the result.
21717
21762
  */
@@ -23637,6 +23682,19 @@ export type ListOrganizationTraceItemAttributesData = {
23637
23682
  * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
23638
23683
  */
23639
23684
  end?: string;
23685
+ /**
23686
+ * The name of environments to filter by.
23687
+ */
23688
+ environment?: Array<string>;
23689
+ /**
23690
+ * The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
23691
+ * For example, the following are valid parameters:
23692
+ * - `/?project=1234&project=56789`
23693
+ * - `/?project=android&project=javascript-react`
23694
+ * - `/?project=-1`
23695
+ *
23696
+ */
23697
+ project?: Array<number | string>;
23640
23698
  /**
23641
23699
  * The trace item dataset to list attributes for. One of `itemType` or `dataset` is required.
23642
23700
  */
@@ -24293,6 +24351,10 @@ export type ListOrganizationWorkflowsData = {
24293
24351
  * The ID of the alert you'd like to query.
24294
24352
  */
24295
24353
  id?: Array<number>;
24354
+ /**
24355
+ * The IDs of monitors connected to the alerts you'd like to query.
24356
+ */
24357
+ detector?: Array<number>;
24296
24358
  /**
24297
24359
  * The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
24298
24360
  * For example, the following are valid parameters:
@@ -24302,6 +24364,14 @@ export type ListOrganizationWorkflowsData = {
24302
24364
  *
24303
24365
  */
24304
24366
  project?: Array<number | string>;
24367
+ /**
24368
+ * Limit the number of rows to return in the result. Default and maximum allowed is 100.
24369
+ */
24370
+ per_page?: number;
24371
+ /**
24372
+ * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
24373
+ */
24374
+ cursor?: string;
24305
24375
  };
24306
24376
  url: '/api/0/organizations/{organization_id_or_slug}/workflows/';
24307
24377
  };
@@ -6741,6 +6741,10 @@ export declare const vListOrganizationDashboardsData: v.ObjectSchema<{
6741
6741
  readonly organization_id_or_slug: v.StringSchema<undefined>;
6742
6742
  }, undefined>;
6743
6743
  readonly query: v.OptionalSchema<v.ObjectSchema<{
6744
+ readonly filter: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden"], undefined>, undefined>, undefined>;
6745
+ readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6746
+ readonly sort: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6747
+ readonly pin: v.OptionalSchema<v.PicklistSchema<["favorites"], undefined>, undefined>;
6744
6748
  readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
6745
6749
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
6746
6750
  }, undefined>, undefined>;
@@ -7321,6 +7325,8 @@ export declare const vListOrganizationDetectorsData: v.ObjectSchema<{
7321
7325
  readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7322
7326
  readonly sortBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7323
7327
  readonly id: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
7328
+ readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
7329
+ readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
7324
7330
  }, undefined>, undefined>;
7325
7331
  }, undefined>;
7326
7332
  export declare const vListOrganizationDetectorsResponse: v.ArraySchema<v.ObjectSchema<{
@@ -7946,6 +7952,7 @@ export declare const vListOrganizationEventsData: v.ObjectSchema<{
7946
7952
  readonly dataset: v.PicklistSchema<["errors", "logs", "profile_functions", "spans", "tracemetrics", "uptime_results"], undefined>;
7947
7953
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
7948
7954
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
7955
+ readonly referrer: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7949
7956
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
7950
7957
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
7951
7958
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -11099,11 +11106,12 @@ export declare const vListOrganizationReplaysData: v.ObjectSchema<{
11099
11106
  readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "segment_names", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"], undefined>, undefined>, undefined>;
11100
11107
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
11101
11108
  readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
11102
- readonly environment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11109
+ readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
11103
11110
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11104
11111
  readonly sortBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11105
11112
  readonly orderBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11106
11113
  readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11114
+ readonly queryReferrer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11107
11115
  readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
11108
11116
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11109
11117
  }, undefined>, undefined>;
@@ -11187,11 +11195,12 @@ export declare const vGetOrganizationReplayData: v.ObjectSchema<{
11187
11195
  readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "segment_names", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"], undefined>, undefined>, undefined>;
11188
11196
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
11189
11197
  readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
11190
- readonly environment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11198
+ readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
11191
11199
  readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11192
11200
  readonly sortBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11193
11201
  readonly orderBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11194
11202
  readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11203
+ readonly queryReferrer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11195
11204
  readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
11196
11205
  readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
11197
11206
  }, undefined>, undefined>;
@@ -12227,6 +12236,8 @@ export declare const vListOrganizationTraceItemAttributesData: v.ObjectSchema<{
12227
12236
  readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12228
12237
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12229
12238
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12239
+ readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
12240
+ readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12230
12241
  readonly dataset: v.OptionalSchema<v.PicklistSchema<["logs", "preprod", "processing_errors", "spans", "tracemetrics"], undefined>, undefined>;
12231
12242
  readonly itemType: v.OptionalSchema<v.PicklistSchema<["logs", "preprod", "processing_errors", "spans", "tracemetrics"], undefined>, undefined>;
12232
12243
  readonly attributeType: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["array", "boolean", "number", "string"], undefined>, undefined>, undefined>;
@@ -12450,7 +12461,10 @@ export declare const vListOrganizationWorkflowsData: v.ObjectSchema<{
12450
12461
  readonly sortBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12451
12462
  readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12452
12463
  readonly id: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
12464
+ readonly detector: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
12453
12465
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12466
+ readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
12467
+ readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
12454
12468
  }, undefined>, undefined>;
12455
12469
  }, undefined>;
12456
12470
  export declare const vListOrganizationWorkflowsResponse: v.ArraySchema<v.ObjectSchema<{
package/dist/valibot.js CHANGED
@@ -8383,6 +8383,18 @@ var vListOrganizationDashboardsData = v.object({
8383
8383
  organization_id_or_slug: v.string()
8384
8384
  }),
8385
8385
  query: v.optional(v.object({
8386
+ filter: v.optional(v.array(v.picklist([
8387
+ "excludeFavorites",
8388
+ "excludePrebuilt",
8389
+ "onlyFavorites",
8390
+ "onlyPrebuilt",
8391
+ "owned",
8392
+ "shared",
8393
+ "showHidden"
8394
+ ]))),
8395
+ query: v.optional(v.string()),
8396
+ sort: v.optional(v.string()),
8397
+ pin: v.optional(v.picklist(["favorites"])),
8386
8398
  per_page: v.optional(v.pipe(v.number(), v.integer())),
8387
8399
  cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
8388
8400
  }))
@@ -9007,7 +9019,9 @@ var vListOrganizationDetectorsData = v.object({
9007
9019
  project: v.optional(v.array(v.unknown())),
9008
9020
  query: v.optional(v.string()),
9009
9021
  sortBy: v.optional(v.string()),
9010
- id: v.optional(v.array(v.pipe(v.number(), v.integer())))
9022
+ id: v.optional(v.array(v.pipe(v.number(), v.integer()))),
9023
+ per_page: v.optional(v.pipe(v.number(), v.integer())),
9024
+ cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
9011
9025
  }))
9012
9026
  });
9013
9027
  var vListOrganizationDetectorsResponse = v.array(v.object({
@@ -9662,6 +9676,7 @@ var vListOrganizationEventsData = v.object({
9662
9676
  ]),
9663
9677
  end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
9664
9678
  environment: v.optional(v.array(v.string())),
9679
+ referrer: v.optional(v.string()),
9665
9680
  project: v.optional(v.array(v.unknown())),
9666
9681
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
9667
9682
  statsPeriod: v.optional(v.string()),
@@ -14233,11 +14248,12 @@ var vListOrganizationReplaysData = v.object({
14233
14248
  ]))),
14234
14249
  project: v.optional(v.array(v.unknown())),
14235
14250
  projectSlug: v.optional(v.array(v.string())),
14236
- environment: v.optional(v.pipe(v.string(), v.minLength(1))),
14251
+ environment: v.optional(v.array(v.string())),
14237
14252
  sort: v.optional(v.pipe(v.string(), v.minLength(1))),
14238
14253
  sortBy: v.optional(v.pipe(v.string(), v.minLength(1))),
14239
14254
  orderBy: v.optional(v.pipe(v.string(), v.minLength(1))),
14240
14255
  query: v.optional(v.pipe(v.string(), v.minLength(1))),
14256
+ queryReferrer: v.optional(v.pipe(v.string(), v.minLength(1))),
14241
14257
  per_page: v.optional(v.pipe(v.number(), v.integer())),
14242
14258
  cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
14243
14259
  }))
@@ -14354,11 +14370,12 @@ var vGetOrganizationReplayData = v.object({
14354
14370
  ]))),
14355
14371
  project: v.optional(v.array(v.unknown())),
14356
14372
  projectSlug: v.optional(v.array(v.string())),
14357
- environment: v.optional(v.pipe(v.string(), v.minLength(1))),
14373
+ environment: v.optional(v.array(v.string())),
14358
14374
  sort: v.optional(v.pipe(v.string(), v.minLength(1))),
14359
14375
  sortBy: v.optional(v.pipe(v.string(), v.minLength(1))),
14360
14376
  orderBy: v.optional(v.pipe(v.string(), v.minLength(1))),
14361
14377
  query: v.optional(v.pipe(v.string(), v.minLength(1))),
14378
+ queryReferrer: v.optional(v.pipe(v.string(), v.minLength(1))),
14362
14379
  per_page: v.optional(v.pipe(v.number(), v.integer())),
14363
14380
  cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
14364
14381
  }))
@@ -15472,6 +15489,8 @@ var vListOrganizationTraceItemAttributesData = v.object({
15472
15489
  statsPeriod: v.optional(v.string()),
15473
15490
  start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
15474
15491
  end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
15492
+ environment: v.optional(v.array(v.string())),
15493
+ project: v.optional(v.array(v.unknown())),
15475
15494
  dataset: v.optional(v.picklist([
15476
15495
  "logs",
15477
15496
  "preprod",
@@ -15717,7 +15736,10 @@ var vListOrganizationWorkflowsData = v.object({
15717
15736
  sortBy: v.optional(v.string()),
15718
15737
  query: v.optional(v.string()),
15719
15738
  id: v.optional(v.array(v.pipe(v.number(), v.integer()))),
15720
- project: v.optional(v.array(v.unknown()))
15739
+ detector: v.optional(v.array(v.pipe(v.number(), v.integer()))),
15740
+ project: v.optional(v.array(v.unknown())),
15741
+ per_page: v.optional(v.pipe(v.number(), v.integer())),
15742
+ cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
15721
15743
  }))
15722
15744
  });
15723
15745
  var vListOrganizationWorkflowsResponse = v.array(v.object({
package/dist/zod.gen.d.ts CHANGED
@@ -33530,22 +33530,38 @@ export declare const zListOrganizationDashboardsData: z.ZodObject<{
33530
33530
  organization_id_or_slug: string;
33531
33531
  }>;
33532
33532
  query: z.ZodOptional<z.ZodObject<{
33533
+ filter: z.ZodOptional<z.ZodArray<z.ZodEnum<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden"]>, "many">>;
33534
+ query: z.ZodOptional<z.ZodString>;
33535
+ sort: z.ZodOptional<z.ZodString>;
33536
+ pin: z.ZodOptional<z.ZodEnum<["favorites"]>>;
33533
33537
  per_page: z.ZodOptional<z.ZodNumber>;
33534
33538
  cursor: z.ZodOptional<z.ZodString>;
33535
33539
  }, "strip", z.ZodTypeAny, {
33540
+ sort?: string | undefined;
33541
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
33542
+ query?: string | undefined;
33536
33543
  cursor?: string | undefined;
33537
33544
  per_page?: number | undefined;
33545
+ pin?: "favorites" | undefined;
33538
33546
  }, {
33547
+ sort?: string | undefined;
33548
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
33549
+ query?: string | undefined;
33539
33550
  cursor?: string | undefined;
33540
33551
  per_page?: number | undefined;
33552
+ pin?: "favorites" | undefined;
33541
33553
  }>>;
33542
33554
  }, "strip", z.ZodTypeAny, {
33543
33555
  path: {
33544
33556
  organization_id_or_slug: string;
33545
33557
  };
33546
33558
  query?: {
33559
+ sort?: string | undefined;
33560
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
33561
+ query?: string | undefined;
33547
33562
  cursor?: string | undefined;
33548
33563
  per_page?: number | undefined;
33564
+ pin?: "favorites" | undefined;
33549
33565
  } | undefined;
33550
33566
  body?: undefined;
33551
33567
  }, {
@@ -33553,8 +33569,12 @@ export declare const zListOrganizationDashboardsData: z.ZodObject<{
33553
33569
  organization_id_or_slug: string;
33554
33570
  };
33555
33571
  query?: {
33572
+ sort?: string | undefined;
33573
+ filter?: ("excludeFavorites" | "excludePrebuilt" | "onlyFavorites" | "onlyPrebuilt" | "owned" | "shared" | "showHidden")[] | undefined;
33574
+ query?: string | undefined;
33556
33575
  cursor?: string | undefined;
33557
33576
  per_page?: number | undefined;
33577
+ pin?: "favorites" | undefined;
33558
33578
  } | undefined;
33559
33579
  body?: undefined;
33560
33580
  }>;
@@ -36900,16 +36920,22 @@ export declare const zListOrganizationDetectorsData: z.ZodObject<{
36900
36920
  query: z.ZodOptional<z.ZodString>;
36901
36921
  sortBy: z.ZodOptional<z.ZodString>;
36902
36922
  id: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
36923
+ per_page: z.ZodOptional<z.ZodNumber>;
36924
+ cursor: z.ZodOptional<z.ZodString>;
36903
36925
  }, "strip", z.ZodTypeAny, {
36904
36926
  query?: string | undefined;
36905
36927
  id?: number[] | undefined;
36906
36928
  project?: (string | number)[] | undefined;
36929
+ cursor?: string | undefined;
36907
36930
  sortBy?: string | undefined;
36931
+ per_page?: number | undefined;
36908
36932
  }, {
36909
36933
  query?: string | undefined;
36910
36934
  id?: number[] | undefined;
36911
36935
  project?: (string | number)[] | undefined;
36936
+ cursor?: string | undefined;
36912
36937
  sortBy?: string | undefined;
36938
+ per_page?: number | undefined;
36913
36939
  }>>;
36914
36940
  }, "strip", z.ZodTypeAny, {
36915
36941
  path: {
@@ -36919,7 +36945,9 @@ export declare const zListOrganizationDetectorsData: z.ZodObject<{
36919
36945
  query?: string | undefined;
36920
36946
  id?: number[] | undefined;
36921
36947
  project?: (string | number)[] | undefined;
36948
+ cursor?: string | undefined;
36922
36949
  sortBy?: string | undefined;
36950
+ per_page?: number | undefined;
36923
36951
  } | undefined;
36924
36952
  body?: undefined;
36925
36953
  }, {
@@ -36930,7 +36958,9 @@ export declare const zListOrganizationDetectorsData: z.ZodObject<{
36930
36958
  query?: string | undefined;
36931
36959
  id?: number[] | undefined;
36932
36960
  project?: (string | number)[] | undefined;
36961
+ cursor?: string | undefined;
36933
36962
  sortBy?: string | undefined;
36963
+ per_page?: number | undefined;
36934
36964
  } | undefined;
36935
36965
  body?: undefined;
36936
36966
  }>;
@@ -39775,6 +39805,7 @@ export declare const zListOrganizationEventsData: z.ZodObject<{
39775
39805
  dataset: z.ZodEnum<["errors", "logs", "profile_functions", "spans", "tracemetrics", "uptime_results"]>;
39776
39806
  end: z.ZodOptional<z.ZodString>;
39777
39807
  environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39808
+ referrer: z.ZodOptional<z.ZodString>;
39778
39809
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
39779
39810
  start: z.ZodOptional<z.ZodString>;
39780
39811
  statsPeriod: z.ZodOptional<z.ZodString>;
@@ -39788,6 +39819,7 @@ export declare const zListOrganizationEventsData: z.ZodObject<{
39788
39819
  dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
39789
39820
  sort?: string | undefined;
39790
39821
  query?: string | undefined;
39822
+ referrer?: string | undefined;
39791
39823
  environment?: string[] | undefined;
39792
39824
  project?: (string | number)[] | undefined;
39793
39825
  cursor?: string | undefined;
@@ -39801,6 +39833,7 @@ export declare const zListOrganizationEventsData: z.ZodObject<{
39801
39833
  dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
39802
39834
  sort?: string | undefined;
39803
39835
  query?: string | undefined;
39836
+ referrer?: string | undefined;
39804
39837
  environment?: string[] | undefined;
39805
39838
  project?: (string | number)[] | undefined;
39806
39839
  cursor?: string | undefined;
@@ -39816,6 +39849,7 @@ export declare const zListOrganizationEventsData: z.ZodObject<{
39816
39849
  dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
39817
39850
  sort?: string | undefined;
39818
39851
  query?: string | undefined;
39852
+ referrer?: string | undefined;
39819
39853
  environment?: string[] | undefined;
39820
39854
  project?: (string | number)[] | undefined;
39821
39855
  cursor?: string | undefined;
@@ -39835,6 +39869,7 @@ export declare const zListOrganizationEventsData: z.ZodObject<{
39835
39869
  dataset: "spans" | "logs" | "tracemetrics" | "errors" | "profile_functions" | "uptime_results";
39836
39870
  sort?: string | undefined;
39837
39871
  query?: string | undefined;
39872
+ referrer?: string | undefined;
39838
39873
  environment?: string[] | undefined;
39839
39874
  project?: (string | number)[] | undefined;
39840
39875
  cursor?: string | undefined;
@@ -55382,17 +55417,18 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55382
55417
  field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "segment_names", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"]>, "many">>;
55383
55418
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
55384
55419
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55385
- environment: z.ZodOptional<z.ZodString>;
55420
+ environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55386
55421
  sort: z.ZodOptional<z.ZodString>;
55387
55422
  sortBy: z.ZodOptional<z.ZodString>;
55388
55423
  orderBy: z.ZodOptional<z.ZodString>;
55389
55424
  query: z.ZodOptional<z.ZodString>;
55425
+ queryReferrer: z.ZodOptional<z.ZodString>;
55390
55426
  per_page: z.ZodOptional<z.ZodNumber>;
55391
55427
  cursor: z.ZodOptional<z.ZodString>;
55392
55428
  }, "strip", z.ZodTypeAny, {
55393
55429
  sort?: string | undefined;
55394
55430
  query?: string | undefined;
55395
- environment?: string | undefined;
55431
+ environment?: string[] | undefined;
55396
55432
  project?: (string | number)[] | undefined;
55397
55433
  cursor?: string | undefined;
55398
55434
  sortBy?: string | undefined;
@@ -55403,10 +55439,11 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55403
55439
  statsPeriod?: string | undefined;
55404
55440
  projectSlug?: string[] | undefined;
55405
55441
  orderBy?: string | undefined;
55442
+ queryReferrer?: string | undefined;
55406
55443
  }, {
55407
55444
  sort?: string | undefined;
55408
55445
  query?: string | undefined;
55409
- environment?: string | undefined;
55446
+ environment?: string[] | undefined;
55410
55447
  project?: (string | number)[] | undefined;
55411
55448
  cursor?: string | undefined;
55412
55449
  sortBy?: string | undefined;
@@ -55417,6 +55454,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55417
55454
  statsPeriod?: string | undefined;
55418
55455
  projectSlug?: string[] | undefined;
55419
55456
  orderBy?: string | undefined;
55457
+ queryReferrer?: string | undefined;
55420
55458
  }>>;
55421
55459
  }, "strip", z.ZodTypeAny, {
55422
55460
  path: {
@@ -55425,7 +55463,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55425
55463
  query?: {
55426
55464
  sort?: string | undefined;
55427
55465
  query?: string | undefined;
55428
- environment?: string | undefined;
55466
+ environment?: string[] | undefined;
55429
55467
  project?: (string | number)[] | undefined;
55430
55468
  cursor?: string | undefined;
55431
55469
  sortBy?: string | undefined;
@@ -55436,6 +55474,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55436
55474
  statsPeriod?: string | undefined;
55437
55475
  projectSlug?: string[] | undefined;
55438
55476
  orderBy?: string | undefined;
55477
+ queryReferrer?: string | undefined;
55439
55478
  } | undefined;
55440
55479
  body?: undefined;
55441
55480
  }, {
@@ -55445,7 +55484,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55445
55484
  query?: {
55446
55485
  sort?: string | undefined;
55447
55486
  query?: string | undefined;
55448
- environment?: string | undefined;
55487
+ environment?: string[] | undefined;
55449
55488
  project?: (string | number)[] | undefined;
55450
55489
  cursor?: string | undefined;
55451
55490
  sortBy?: string | undefined;
@@ -55456,6 +55495,7 @@ export declare const zListOrganizationReplaysData: z.ZodObject<{
55456
55495
  statsPeriod?: string | undefined;
55457
55496
  projectSlug?: string[] | undefined;
55458
55497
  orderBy?: string | undefined;
55498
+ queryReferrer?: string | undefined;
55459
55499
  } | undefined;
55460
55500
  body?: undefined;
55461
55501
  }>;
@@ -55870,17 +55910,18 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55870
55910
  field: z.ZodOptional<z.ZodArray<z.ZodEnum<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "segment_names", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"]>, "many">>;
55871
55911
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
55872
55912
  projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55873
- environment: z.ZodOptional<z.ZodString>;
55913
+ environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55874
55914
  sort: z.ZodOptional<z.ZodString>;
55875
55915
  sortBy: z.ZodOptional<z.ZodString>;
55876
55916
  orderBy: z.ZodOptional<z.ZodString>;
55877
55917
  query: z.ZodOptional<z.ZodString>;
55918
+ queryReferrer: z.ZodOptional<z.ZodString>;
55878
55919
  per_page: z.ZodOptional<z.ZodNumber>;
55879
55920
  cursor: z.ZodOptional<z.ZodString>;
55880
55921
  }, "strip", z.ZodTypeAny, {
55881
55922
  sort?: string | undefined;
55882
55923
  query?: string | undefined;
55883
- environment?: string | undefined;
55924
+ environment?: string[] | undefined;
55884
55925
  project?: (string | number)[] | undefined;
55885
55926
  cursor?: string | undefined;
55886
55927
  sortBy?: string | undefined;
@@ -55891,10 +55932,11 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55891
55932
  statsPeriod?: string | undefined;
55892
55933
  projectSlug?: string[] | undefined;
55893
55934
  orderBy?: string | undefined;
55935
+ queryReferrer?: string | undefined;
55894
55936
  }, {
55895
55937
  sort?: string | undefined;
55896
55938
  query?: string | undefined;
55897
- environment?: string | undefined;
55939
+ environment?: string[] | undefined;
55898
55940
  project?: (string | number)[] | undefined;
55899
55941
  cursor?: string | undefined;
55900
55942
  sortBy?: string | undefined;
@@ -55905,6 +55947,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55905
55947
  statsPeriod?: string | undefined;
55906
55948
  projectSlug?: string[] | undefined;
55907
55949
  orderBy?: string | undefined;
55950
+ queryReferrer?: string | undefined;
55908
55951
  }>>;
55909
55952
  }, "strip", z.ZodTypeAny, {
55910
55953
  path: {
@@ -55914,7 +55957,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55914
55957
  query?: {
55915
55958
  sort?: string | undefined;
55916
55959
  query?: string | undefined;
55917
- environment?: string | undefined;
55960
+ environment?: string[] | undefined;
55918
55961
  project?: (string | number)[] | undefined;
55919
55962
  cursor?: string | undefined;
55920
55963
  sortBy?: string | undefined;
@@ -55925,6 +55968,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55925
55968
  statsPeriod?: string | undefined;
55926
55969
  projectSlug?: string[] | undefined;
55927
55970
  orderBy?: string | undefined;
55971
+ queryReferrer?: string | undefined;
55928
55972
  } | undefined;
55929
55973
  body?: undefined;
55930
55974
  }, {
@@ -55935,7 +55979,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55935
55979
  query?: {
55936
55980
  sort?: string | undefined;
55937
55981
  query?: string | undefined;
55938
- environment?: string | undefined;
55982
+ environment?: string[] | undefined;
55939
55983
  project?: (string | number)[] | undefined;
55940
55984
  cursor?: string | undefined;
55941
55985
  sortBy?: string | undefined;
@@ -55946,6 +55990,7 @@ export declare const zGetOrganizationReplayData: z.ZodObject<{
55946
55990
  statsPeriod?: string | undefined;
55947
55991
  projectSlug?: string[] | undefined;
55948
55992
  orderBy?: string | undefined;
55993
+ queryReferrer?: string | undefined;
55949
55994
  } | undefined;
55950
55995
  body?: undefined;
55951
55996
  }>;
@@ -61114,6 +61159,8 @@ export declare const zListOrganizationTraceItemAttributesData: z.ZodObject<{
61114
61159
  statsPeriod: z.ZodOptional<z.ZodString>;
61115
61160
  start: z.ZodOptional<z.ZodString>;
61116
61161
  end: z.ZodOptional<z.ZodString>;
61162
+ environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61163
+ project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
61117
61164
  dataset: z.ZodOptional<z.ZodEnum<["logs", "preprod", "processing_errors", "spans", "tracemetrics"]>>;
61118
61165
  itemType: z.ZodOptional<z.ZodEnum<["logs", "preprod", "processing_errors", "spans", "tracemetrics"]>>;
61119
61166
  attributeType: z.ZodOptional<z.ZodArray<z.ZodEnum<["array", "boolean", "number", "string"]>, "many">>;
@@ -61122,6 +61169,8 @@ export declare const zListOrganizationTraceItemAttributesData: z.ZodObject<{
61122
61169
  cursor: z.ZodOptional<z.ZodString>;
61123
61170
  }, "strip", z.ZodTypeAny, {
61124
61171
  query?: string | undefined;
61172
+ environment?: string[] | undefined;
61173
+ project?: (string | number)[] | undefined;
61125
61174
  cursor?: string | undefined;
61126
61175
  dataset?: "spans" | "logs" | "tracemetrics" | "preprod" | "processing_errors" | undefined;
61127
61176
  end?: string | undefined;
@@ -61132,6 +61181,8 @@ export declare const zListOrganizationTraceItemAttributesData: z.ZodObject<{
61132
61181
  substringMatch?: string | undefined;
61133
61182
  }, {
61134
61183
  query?: string | undefined;
61184
+ environment?: string[] | undefined;
61185
+ project?: (string | number)[] | undefined;
61135
61186
  cursor?: string | undefined;
61136
61187
  dataset?: "spans" | "logs" | "tracemetrics" | "preprod" | "processing_errors" | undefined;
61137
61188
  end?: string | undefined;
@@ -61147,6 +61198,8 @@ export declare const zListOrganizationTraceItemAttributesData: z.ZodObject<{
61147
61198
  };
61148
61199
  query?: {
61149
61200
  query?: string | undefined;
61201
+ environment?: string[] | undefined;
61202
+ project?: (string | number)[] | undefined;
61150
61203
  cursor?: string | undefined;
61151
61204
  dataset?: "spans" | "logs" | "tracemetrics" | "preprod" | "processing_errors" | undefined;
61152
61205
  end?: string | undefined;
@@ -61163,6 +61216,8 @@ export declare const zListOrganizationTraceItemAttributesData: z.ZodObject<{
61163
61216
  };
61164
61217
  query?: {
61165
61218
  query?: string | undefined;
61219
+ environment?: string[] | undefined;
61220
+ project?: (string | number)[] | undefined;
61166
61221
  cursor?: string | undefined;
61167
61222
  dataset?: "spans" | "logs" | "tracemetrics" | "preprod" | "processing_errors" | undefined;
61168
61223
  end?: string | undefined;
@@ -62634,17 +62689,26 @@ export declare const zListOrganizationWorkflowsData: z.ZodObject<{
62634
62689
  sortBy: z.ZodOptional<z.ZodString>;
62635
62690
  query: z.ZodOptional<z.ZodString>;
62636
62691
  id: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
62692
+ detector: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
62637
62693
  project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
62694
+ per_page: z.ZodOptional<z.ZodNumber>;
62695
+ cursor: z.ZodOptional<z.ZodString>;
62638
62696
  }, "strip", z.ZodTypeAny, {
62639
62697
  query?: string | undefined;
62640
62698
  id?: number[] | undefined;
62641
62699
  project?: (string | number)[] | undefined;
62700
+ cursor?: string | undefined;
62642
62701
  sortBy?: string | undefined;
62702
+ per_page?: number | undefined;
62703
+ detector?: number[] | undefined;
62643
62704
  }, {
62644
62705
  query?: string | undefined;
62645
62706
  id?: number[] | undefined;
62646
62707
  project?: (string | number)[] | undefined;
62708
+ cursor?: string | undefined;
62647
62709
  sortBy?: string | undefined;
62710
+ per_page?: number | undefined;
62711
+ detector?: number[] | undefined;
62648
62712
  }>>;
62649
62713
  }, "strip", z.ZodTypeAny, {
62650
62714
  path: {
@@ -62654,7 +62718,10 @@ export declare const zListOrganizationWorkflowsData: z.ZodObject<{
62654
62718
  query?: string | undefined;
62655
62719
  id?: number[] | undefined;
62656
62720
  project?: (string | number)[] | undefined;
62721
+ cursor?: string | undefined;
62657
62722
  sortBy?: string | undefined;
62723
+ per_page?: number | undefined;
62724
+ detector?: number[] | undefined;
62658
62725
  } | undefined;
62659
62726
  body?: undefined;
62660
62727
  }, {
@@ -62665,7 +62732,10 @@ export declare const zListOrganizationWorkflowsData: z.ZodObject<{
62665
62732
  query?: string | undefined;
62666
62733
  id?: number[] | undefined;
62667
62734
  project?: (string | number)[] | undefined;
62735
+ cursor?: string | undefined;
62668
62736
  sortBy?: string | undefined;
62737
+ per_page?: number | undefined;
62738
+ detector?: number[] | undefined;
62669
62739
  } | undefined;
62670
62740
  body?: undefined;
62671
62741
  }>;
package/dist/zod.js CHANGED
@@ -12902,6 +12902,18 @@ var zListOrganizationDashboardsData = z.object({
12902
12902
  organization_id_or_slug: z.string()
12903
12903
  }),
12904
12904
  query: z.object({
12905
+ filter: z.array(z.enum([
12906
+ "excludeFavorites",
12907
+ "excludePrebuilt",
12908
+ "onlyFavorites",
12909
+ "onlyPrebuilt",
12910
+ "owned",
12911
+ "shared",
12912
+ "showHidden"
12913
+ ])).optional(),
12914
+ query: z.string().optional(),
12915
+ sort: z.string().optional(),
12916
+ pin: z.enum(["favorites"]).optional(),
12905
12917
  per_page: z.number().int().optional(),
12906
12918
  cursor: z.string().min(1).optional()
12907
12919
  }).optional()
@@ -13814,7 +13826,9 @@ var zListOrganizationDetectorsData = z.object({
13814
13826
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
13815
13827
  query: z.string().optional(),
13816
13828
  sortBy: z.string().optional(),
13817
- id: z.array(z.number().int()).optional()
13829
+ id: z.array(z.number().int()).optional(),
13830
+ per_page: z.number().int().optional(),
13831
+ cursor: z.string().min(1).optional()
13818
13832
  }).optional()
13819
13833
  });
13820
13834
  var zListOrganizationDetectorsResponse = z.array(z.object({
@@ -14778,6 +14792,7 @@ var zListOrganizationEventsData = z.object({
14778
14792
  ]),
14779
14793
  end: z.string().datetime().optional(),
14780
14794
  environment: z.array(z.string()).optional(),
14795
+ referrer: z.string().optional(),
14781
14796
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
14782
14797
  start: z.string().datetime().optional(),
14783
14798
  statsPeriod: z.string().optional(),
@@ -21351,11 +21366,12 @@ var zListOrganizationReplaysData = z.object({
21351
21366
  ])).optional(),
21352
21367
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
21353
21368
  projectSlug: z.array(z.string()).optional(),
21354
- environment: z.string().min(1).optional(),
21369
+ environment: z.array(z.string()).optional(),
21355
21370
  sort: z.string().min(1).optional(),
21356
21371
  sortBy: z.string().min(1).optional(),
21357
21372
  orderBy: z.string().min(1).optional(),
21358
21373
  query: z.string().min(1).optional(),
21374
+ queryReferrer: z.string().min(1).optional(),
21359
21375
  per_page: z.number().int().optional(),
21360
21376
  cursor: z.string().min(1).optional()
21361
21377
  }).optional()
@@ -21592,11 +21608,12 @@ var zGetOrganizationReplayData = z.object({
21592
21608
  ])).optional(),
21593
21609
  project: z.array(z.union([z.number().int(), z.string()])).optional(),
21594
21610
  projectSlug: z.array(z.string()).optional(),
21595
- environment: z.string().min(1).optional(),
21611
+ environment: z.array(z.string()).optional(),
21596
21612
  sort: z.string().min(1).optional(),
21597
21613
  sortBy: z.string().min(1).optional(),
21598
21614
  orderBy: z.string().min(1).optional(),
21599
21615
  query: z.string().min(1).optional(),
21616
+ queryReferrer: z.string().min(1).optional(),
21600
21617
  per_page: z.number().int().optional(),
21601
21618
  cursor: z.string().min(1).optional()
21602
21619
  }).optional()
@@ -23106,6 +23123,8 @@ var zListOrganizationTraceItemAttributesData = z.object({
23106
23123
  statsPeriod: z.string().optional(),
23107
23124
  start: z.string().datetime().optional(),
23108
23125
  end: z.string().datetime().optional(),
23126
+ environment: z.array(z.string()).optional(),
23127
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
23109
23128
  dataset: z.enum([
23110
23129
  "logs",
23111
23130
  "preprod",
@@ -23552,7 +23571,10 @@ var zListOrganizationWorkflowsData = z.object({
23552
23571
  sortBy: z.string().optional(),
23553
23572
  query: z.string().optional(),
23554
23573
  id: z.array(z.number().int()).optional(),
23555
- project: z.array(z.union([z.number().int(), z.string()])).optional()
23574
+ detector: z.array(z.number().int()).optional(),
23575
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
23576
+ per_page: z.number().int().optional(),
23577
+ cursor: z.string().min(1).optional()
23556
23578
  }).optional()
23557
23579
  });
23558
23580
  var zListOrganizationWorkflowsResponse = z.array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.283.0",
3
+ "version": "0.285.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",