@sentry/api 0.201.0 → 0.203.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/sdk.gen.d.ts CHANGED
@@ -32,22 +32,32 @@ export declare const updateOrganization: <ThrowOnError extends boolean = false>(
32
32
  */
33
33
  export declare const listOrganizationConfigIntegrations: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationConfigIntegrationsData, ThrowOnError>) => import("./client").RequestResult<ListOrganizationConfigIntegrationsResponses, ListOrganizationConfigIntegrationsErrors, ThrowOnError, "fields">;
34
34
  /**
35
+ * List an Organization's Custom Dashboards
36
+ *
35
37
  * Retrieve a list of custom dashboards that are associated with the given organization.
36
38
  */
37
39
  export declare const listOrganizationDashboards: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationDashboardsData, ThrowOnError>) => import("./client").RequestResult<ListOrganizationDashboardsResponses, ListOrganizationDashboardsErrors, ThrowOnError, "fields">;
38
40
  /**
41
+ * Create a New Dashboard for an Organization
42
+ *
39
43
  * Create a new dashboard for the given Organization
40
44
  */
41
45
  export declare const createOrganizationDashboard: <ThrowOnError extends boolean = false>(options: Options<CreateOrganizationDashboardData, ThrowOnError>) => import("./client").RequestResult<CreateOrganizationDashboardResponses, CreateOrganizationDashboardErrors, ThrowOnError, "fields">;
42
46
  /**
47
+ * Delete an Organization's Custom Dashboard
48
+ *
43
49
  * Delete an organization's custom dashboard.
44
50
  */
45
51
  export declare const deleteOrganizationDashboard: <ThrowOnError extends boolean = false>(options: Options<DeleteOrganizationDashboardData, ThrowOnError>) => import("./client").RequestResult<DeleteOrganizationDashboardResponses, DeleteOrganizationDashboardErrors, ThrowOnError, "fields">;
46
52
  /**
53
+ * Retrieve an Organization's Custom Dashboard
54
+ *
47
55
  * Return details about an organization's custom dashboard.
48
56
  */
49
57
  export declare const getOrganizationDashboard: <ThrowOnError extends boolean = false>(options: Options<GetOrganizationDashboardData, ThrowOnError>) => import("./client").RequestResult<GetOrganizationDashboardResponses, GetOrganizationDashboardErrors, ThrowOnError, "fields">;
50
58
  /**
59
+ * Edit an Organization's Custom Dashboard
60
+ *
51
61
  * Edit an organization's custom dashboard as well as any bulk
52
62
  * edits on widgets that may have been made. (For example, widgets
53
63
  * that have been rearranged, updated queries and fields, specific
@@ -2776,9 +2776,14 @@ export type GetReplayDeletionJob = {
2776
2776
  countDeleted: number;
2777
2777
  };
2778
2778
  };
2779
- export type GetReplayRecordingSegment = Array<{
2780
- [key: string]: unknown;
2781
- }>;
2779
+ export type GetReplayRecordingSegment = {
2780
+ data: {
2781
+ replayId: string;
2782
+ segmentId: number;
2783
+ projectId: string;
2784
+ dateAdded: string | null;
2785
+ };
2786
+ };
2782
2787
  export type GetReplayViewedBy = {
2783
2788
  data: {
2784
2789
  viewed_by: Array<{
@@ -27535,9 +27540,14 @@ export type GetProjectReplayRecordingSegmentErrors = {
27535
27540
  404: unknown;
27536
27541
  };
27537
27542
  export type GetProjectReplayRecordingSegmentResponses = {
27538
- 200: Array<{
27539
- [key: string]: unknown;
27540
- }>;
27543
+ 200: {
27544
+ data: {
27545
+ replayId: string;
27546
+ segmentId: number;
27547
+ projectId: string;
27548
+ dateAdded: string | null;
27549
+ };
27550
+ };
27541
27551
  };
27542
27552
  export type GetProjectReplayRecordingSegmentResponse = GetProjectReplayRecordingSegmentResponses[keyof GetProjectReplayRecordingSegmentResponses];
27543
27553
  export type ListProjectReplayViewedByData = {
package/dist/zod.gen.d.ts CHANGED
@@ -5900,7 +5900,38 @@ export declare const zGetReplayDeletionJob: z.ZodObject<{
5900
5900
  countDeleted: number;
5901
5901
  };
5902
5902
  }>;
5903
- export declare const zGetReplayRecordingSegment: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
5903
+ export declare const zGetReplayRecordingSegment: z.ZodObject<{
5904
+ data: z.ZodObject<{
5905
+ replayId: z.ZodString;
5906
+ segmentId: z.ZodNumber;
5907
+ projectId: z.ZodString;
5908
+ dateAdded: z.ZodUnion<[z.ZodString, z.ZodNull]>;
5909
+ }, "strip", z.ZodTypeAny, {
5910
+ dateAdded: string | null;
5911
+ projectId: string;
5912
+ replayId: string;
5913
+ segmentId: number;
5914
+ }, {
5915
+ dateAdded: string | null;
5916
+ projectId: string;
5917
+ replayId: string;
5918
+ segmentId: number;
5919
+ }>;
5920
+ }, "strip", z.ZodTypeAny, {
5921
+ data: {
5922
+ dateAdded: string | null;
5923
+ projectId: string;
5924
+ replayId: string;
5925
+ segmentId: number;
5926
+ };
5927
+ }, {
5928
+ data: {
5929
+ dateAdded: string | null;
5930
+ projectId: string;
5931
+ replayId: string;
5932
+ segmentId: number;
5933
+ };
5934
+ }>;
5904
5935
  export declare const zGetReplayViewedBy: z.ZodObject<{
5905
5936
  data: z.ZodObject<{
5906
5937
  viewed_by: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
@@ -63676,7 +63707,38 @@ export declare const zGetProjectReplayRecordingSegmentData: z.ZodObject<{
63676
63707
  query?: undefined;
63677
63708
  body?: undefined;
63678
63709
  }>;
63679
- export declare const zGetProjectReplayRecordingSegmentResponse: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
63710
+ export declare const zGetProjectReplayRecordingSegmentResponse: z.ZodObject<{
63711
+ data: z.ZodObject<{
63712
+ replayId: z.ZodString;
63713
+ segmentId: z.ZodNumber;
63714
+ projectId: z.ZodString;
63715
+ dateAdded: z.ZodUnion<[z.ZodString, z.ZodNull]>;
63716
+ }, "strip", z.ZodTypeAny, {
63717
+ dateAdded: string | null;
63718
+ projectId: string;
63719
+ replayId: string;
63720
+ segmentId: number;
63721
+ }, {
63722
+ dateAdded: string | null;
63723
+ projectId: string;
63724
+ replayId: string;
63725
+ segmentId: number;
63726
+ }>;
63727
+ }, "strip", z.ZodTypeAny, {
63728
+ data: {
63729
+ dateAdded: string | null;
63730
+ projectId: string;
63731
+ replayId: string;
63732
+ segmentId: number;
63733
+ };
63734
+ }, {
63735
+ data: {
63736
+ dateAdded: string | null;
63737
+ projectId: string;
63738
+ replayId: string;
63739
+ segmentId: number;
63740
+ };
63741
+ }>;
63680
63742
  export declare const zListProjectReplayViewedByData: z.ZodObject<{
63681
63743
  body: z.ZodOptional<z.ZodNever>;
63682
63744
  path: z.ZodObject<{
package/dist/zod.js CHANGED
@@ -2652,7 +2652,17 @@ var zGetReplayDeletionJob = z.object({
2652
2652
  countDeleted: z.number().int()
2653
2653
  })
2654
2654
  });
2655
- var zGetReplayRecordingSegment = z.array(z.record(z.unknown()));
2655
+ var zGetReplayRecordingSegment = z.object({
2656
+ data: z.object({
2657
+ replayId: z.string(),
2658
+ segmentId: z.number().int(),
2659
+ projectId: z.string(),
2660
+ dateAdded: z.union([
2661
+ z.string(),
2662
+ z.null()
2663
+ ])
2664
+ })
2665
+ });
2656
2666
  var zGetReplayViewedBy = z.object({
2657
2667
  data: z.object({
2658
2668
  viewed_by: z.array(z.record(z.unknown()))
@@ -24279,7 +24289,17 @@ var zGetProjectReplayRecordingSegmentData = z.object({
24279
24289
  }),
24280
24290
  query: z.never().optional()
24281
24291
  });
24282
- var zGetProjectReplayRecordingSegmentResponse = z.array(z.record(z.unknown()));
24292
+ var zGetProjectReplayRecordingSegmentResponse = z.object({
24293
+ data: z.object({
24294
+ replayId: z.string(),
24295
+ segmentId: z.number().int(),
24296
+ projectId: z.string(),
24297
+ dateAdded: z.union([
24298
+ z.string(),
24299
+ z.null()
24300
+ ])
24301
+ })
24302
+ });
24283
24303
  var zListProjectReplayViewedByData = z.object({
24284
24304
  body: z.never().optional(),
24285
24305
  path: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.201.0",
3
+ "version": "0.203.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",