@sentry/api 0.295.0 → 0.297.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.
@@ -4693,6 +4693,12 @@ export type ListOrganizationAiConversationsResponse = Array<{
4693
4693
  } | null;
4694
4694
  toolNames: Array<string>;
4695
4695
  toolErrors: number;
4696
+ projects: Array<{
4697
+ id: number;
4698
+ name: string;
4699
+ slug: string;
4700
+ }>;
4701
+ webUrl: string;
4696
4702
  }>;
4697
4703
  export type ListOrganizationClientKeysResponse = Array<{
4698
4704
  id: string;
@@ -7086,6 +7092,15 @@ export type OrganizationEventsTimeseriesResponse = {
7086
7092
  dataset: string;
7087
7093
  start: number;
7088
7094
  end: number;
7095
+ annotations?: Array<{
7096
+ type: 'system';
7097
+ category: string;
7098
+ reason: string;
7099
+ start: number;
7100
+ end: number;
7101
+ droppedCount: number;
7102
+ label: string;
7103
+ }>;
7089
7104
  };
7090
7105
  timeSeries: Array<{
7091
7106
  values: Array<{
@@ -9396,6 +9411,12 @@ export type ReplayDeletionJobCreateData = {
9396
9411
  export type RetrieveOrganizationAiConversationResponse = {
9397
9412
  conversationId: string;
9398
9413
  title: string | null;
9414
+ projects: Array<{
9415
+ id: number;
9416
+ name: string;
9417
+ slug: string;
9418
+ }>;
9419
+ webUrl: string;
9399
9420
  spans: Array<{
9400
9421
  [key: string]: unknown;
9401
9422
  }>;
@@ -12386,6 +12407,12 @@ export type ListOrganizationAiConversationsResponses = {
12386
12407
  } | null;
12387
12408
  toolNames: Array<string>;
12388
12409
  toolErrors: number;
12410
+ projects: Array<{
12411
+ id: number;
12412
+ name: string;
12413
+ slug: string;
12414
+ }>;
12415
+ webUrl: string;
12389
12416
  }>;
12390
12417
  };
12391
12418
  export type ListOrganizationAiConversationsResponse2 = ListOrganizationAiConversationsResponses[keyof ListOrganizationAiConversationsResponses];
@@ -12470,6 +12497,12 @@ export type RetrieveOrganizationAiConversationResponses = {
12470
12497
  200: {
12471
12498
  conversationId: string;
12472
12499
  title: string | null;
12500
+ projects: Array<{
12501
+ id: number;
12502
+ name: string;
12503
+ slug: string;
12504
+ }>;
12505
+ webUrl: string;
12473
12506
  spans: Array<{
12474
12507
  [key: string]: unknown;
12475
12508
  }>;
@@ -15284,6 +15317,15 @@ export type ListOrganizationEventsTimeseriesResponses = {
15284
15317
  dataset: string;
15285
15318
  start: number;
15286
15319
  end: number;
15320
+ annotations?: Array<{
15321
+ type: 'system';
15322
+ category: string;
15323
+ reason: string;
15324
+ start: number;
15325
+ end: number;
15326
+ droppedCount: number;
15327
+ label: string;
15328
+ }>;
15287
15329
  };
15288
15330
  timeSeries: Array<{
15289
15331
  values: Array<{
@@ -2723,6 +2723,12 @@ export declare const vListOrganizationAiConversationsResponse: v.ArraySchema<v.O
2723
2723
  }, undefined>, v.NullSchema<undefined>], undefined>;
2724
2724
  readonly toolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2725
2725
  readonly toolErrors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
2726
+ readonly projects: v.ArraySchema<v.ObjectSchema<{
2727
+ readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
2728
+ readonly name: v.StringSchema<undefined>;
2729
+ readonly slug: v.StringSchema<undefined>;
2730
+ }, undefined>, undefined>;
2731
+ readonly webUrl: v.StringSchema<undefined>;
2726
2732
  }, undefined>, undefined>;
2727
2733
  export declare const vListOrganizationClientKeysResponse: v.ArraySchema<v.ObjectSchema<{
2728
2734
  readonly id: v.StringSchema<undefined>;
@@ -3989,6 +3995,15 @@ export declare const vOrganizationEventsTimeseriesResponse: v.ObjectSchema<{
3989
3995
  readonly dataset: v.StringSchema<undefined>;
3990
3996
  readonly start: v.NumberSchema<undefined>;
3991
3997
  readonly end: v.NumberSchema<undefined>;
3998
+ readonly annotations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
3999
+ readonly type: v.PicklistSchema<["system"], undefined>;
4000
+ readonly category: v.StringSchema<undefined>;
4001
+ readonly reason: v.StringSchema<undefined>;
4002
+ readonly start: v.NumberSchema<undefined>;
4003
+ readonly end: v.NumberSchema<undefined>;
4004
+ readonly droppedCount: v.NumberSchema<undefined>;
4005
+ readonly label: v.StringSchema<undefined>;
4006
+ }, undefined>, undefined>, undefined>;
3992
4007
  }, undefined>, undefined>;
3993
4008
  readonly timeSeries: v.ArraySchema<v.ObjectSchema<{
3994
4009
  readonly values: v.ArraySchema<v.ObjectSchema<{
@@ -5650,6 +5665,12 @@ export declare const vReplayDeletionJobCreateData: v.ObjectSchema<{
5650
5665
  export declare const vRetrieveOrganizationAiConversationResponse: v.ObjectSchema<{
5651
5666
  readonly conversationId: v.StringSchema<undefined>;
5652
5667
  readonly title: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
5668
+ readonly projects: v.ArraySchema<v.ObjectSchema<{
5669
+ readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
5670
+ readonly name: v.StringSchema<undefined>;
5671
+ readonly slug: v.StringSchema<undefined>;
5672
+ }, undefined>, undefined>;
5673
+ readonly webUrl: v.StringSchema<undefined>;
5653
5674
  readonly spans: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
5654
5675
  }, undefined>;
5655
5676
  export declare const vScimListResponseEnvelopeScimMemberIndexResponse: v.ObjectSchema<{
@@ -7064,6 +7085,12 @@ export declare const vListOrganizationAiConversationsResponse2: v.ArraySchema<v.
7064
7085
  }, undefined>, v.NullSchema<undefined>], undefined>;
7065
7086
  readonly toolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7066
7087
  readonly toolErrors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7088
+ readonly projects: v.ArraySchema<v.ObjectSchema<{
7089
+ readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7090
+ readonly name: v.StringSchema<undefined>;
7091
+ readonly slug: v.StringSchema<undefined>;
7092
+ }, undefined>, undefined>;
7093
+ readonly webUrl: v.StringSchema<undefined>;
7067
7094
  }, undefined>, undefined>;
7068
7095
  export declare const vRetrieveOrganizationAiConversationData: v.ObjectSchema<{
7069
7096
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
@@ -7087,6 +7114,12 @@ export declare const vRetrieveOrganizationAiConversationData: v.ObjectSchema<{
7087
7114
  export declare const vRetrieveOrganizationAiConversationResponse2: v.ObjectSchema<{
7088
7115
  readonly conversationId: v.StringSchema<undefined>;
7089
7116
  readonly title: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
7117
+ readonly projects: v.ArraySchema<v.ObjectSchema<{
7118
+ readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
7119
+ readonly name: v.StringSchema<undefined>;
7120
+ readonly slug: v.StringSchema<undefined>;
7121
+ }, undefined>, undefined>;
7122
+ readonly webUrl: v.StringSchema<undefined>;
7090
7123
  readonly spans: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
7091
7124
  }, undefined>;
7092
7125
  export declare const vGetOrganizationConfigIntegrationsData: v.ObjectSchema<{
@@ -8400,6 +8433,15 @@ export declare const vListOrganizationEventsTimeseriesResponse: v.ObjectSchema<{
8400
8433
  readonly dataset: v.StringSchema<undefined>;
8401
8434
  readonly start: v.NumberSchema<undefined>;
8402
8435
  readonly end: v.NumberSchema<undefined>;
8436
+ readonly annotations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
8437
+ readonly type: v.PicklistSchema<["system"], undefined>;
8438
+ readonly category: v.StringSchema<undefined>;
8439
+ readonly reason: v.StringSchema<undefined>;
8440
+ readonly start: v.NumberSchema<undefined>;
8441
+ readonly end: v.NumberSchema<undefined>;
8442
+ readonly droppedCount: v.NumberSchema<undefined>;
8443
+ readonly label: v.StringSchema<undefined>;
8444
+ }, undefined>, undefined>, undefined>;
8403
8445
  }, undefined>, undefined>;
8404
8446
  readonly timeSeries: v.ArraySchema<v.ObjectSchema<{
8405
8447
  readonly values: v.ArraySchema<v.ObjectSchema<{
package/dist/valibot.js CHANGED
@@ -3509,7 +3509,13 @@ var vListOrganizationAiConversationsResponse = v.array(v.object({
3509
3509
  ip_address: v.union([v.string(), v.null()])
3510
3510
  }), v.null()]),
3511
3511
  toolNames: v.array(v.string()),
3512
- toolErrors: v.pipe(v.number(), v.integer())
3512
+ toolErrors: v.pipe(v.number(), v.integer()),
3513
+ projects: v.array(v.object({
3514
+ id: v.pipe(v.number(), v.integer()),
3515
+ name: v.string(),
3516
+ slug: v.string()
3517
+ })),
3518
+ webUrl: v.string()
3513
3519
  }));
3514
3520
  var vListOrganizationClientKeysResponse = v.array(v.object({
3515
3521
  id: v.string(),
@@ -5407,7 +5413,16 @@ var vOrganizationEventsTimeseriesResponse = v.object({
5407
5413
  meta: v.optional(v.object({
5408
5414
  dataset: v.string(),
5409
5415
  start: v.number(),
5410
- end: v.number()
5416
+ end: v.number(),
5417
+ annotations: v.optional(v.array(v.object({
5418
+ type: v.picklist(["system"]),
5419
+ category: v.string(),
5420
+ reason: v.string(),
5421
+ start: v.number(),
5422
+ end: v.number(),
5423
+ droppedCount: v.number(),
5424
+ label: v.string()
5425
+ })))
5411
5426
  })),
5412
5427
  timeSeries: v.array(v.object({
5413
5428
  values: v.array(v.object({
@@ -7187,6 +7202,12 @@ var vReplayDeletionJobCreateData = v.object({
7187
7202
  var vRetrieveOrganizationAiConversationResponse = v.object({
7188
7203
  conversationId: v.string(),
7189
7204
  title: v.union([v.string(), v.null()]),
7205
+ projects: v.array(v.object({
7206
+ id: v.pipe(v.number(), v.integer()),
7207
+ name: v.string(),
7208
+ slug: v.string()
7209
+ })),
7210
+ webUrl: v.string(),
7190
7211
  spans: v.array(v.record(v.string(), v.unknown()))
7191
7212
  });
7192
7213
  var vScimListResponseEnvelopeScimMemberIndexResponse = v.object({
@@ -8779,7 +8800,13 @@ var vListOrganizationAiConversationsResponse2 = v.array(v.object({
8779
8800
  ip_address: v.union([v.string(), v.null()])
8780
8801
  }), v.null()]),
8781
8802
  toolNames: v.array(v.string()),
8782
- toolErrors: v.pipe(v.number(), v.integer())
8803
+ toolErrors: v.pipe(v.number(), v.integer()),
8804
+ projects: v.array(v.object({
8805
+ id: v.pipe(v.number(), v.integer()),
8806
+ name: v.string(),
8807
+ slug: v.string()
8808
+ })),
8809
+ webUrl: v.string()
8783
8810
  }));
8784
8811
  var vRetrieveOrganizationAiConversationData = v.object({
8785
8812
  body: v.optional(v.never()),
@@ -8800,6 +8827,12 @@ var vRetrieveOrganizationAiConversationData = v.object({
8800
8827
  var vRetrieveOrganizationAiConversationResponse2 = v.object({
8801
8828
  conversationId: v.string(),
8802
8829
  title: v.union([v.string(), v.null()]),
8830
+ projects: v.array(v.object({
8831
+ id: v.pipe(v.number(), v.integer()),
8832
+ name: v.string(),
8833
+ slug: v.string()
8834
+ })),
8835
+ webUrl: v.string(),
8803
8836
  spans: v.array(v.record(v.string(), v.unknown()))
8804
8837
  });
8805
8838
  var vGetOrganizationConfigIntegrationsData = v.object({
@@ -10201,7 +10234,16 @@ var vListOrganizationEventsTimeseriesResponse = v.object({
10201
10234
  meta: v.optional(v.object({
10202
10235
  dataset: v.string(),
10203
10236
  start: v.number(),
10204
- end: v.number()
10237
+ end: v.number(),
10238
+ annotations: v.optional(v.array(v.object({
10239
+ type: v.picklist(["system"]),
10240
+ category: v.string(),
10241
+ reason: v.string(),
10242
+ start: v.number(),
10243
+ end: v.number(),
10244
+ droppedCount: v.number(),
10245
+ label: v.string()
10246
+ })))
10205
10247
  })),
10206
10248
  timeSeries: v.array(v.object({
10207
10249
  values: v.array(v.object({
package/dist/zod.gen.d.ts CHANGED
@@ -12783,6 +12783,20 @@ export declare const zListOrganizationAiConversationsResponse: z.ZodArray<z.ZodO
12783
12783
  }>, z.ZodNull]>;
12784
12784
  toolNames: z.ZodArray<z.ZodString, "many">;
12785
12785
  toolErrors: z.ZodNumber;
12786
+ projects: z.ZodArray<z.ZodObject<{
12787
+ id: z.ZodNumber;
12788
+ name: z.ZodString;
12789
+ slug: z.ZodString;
12790
+ }, "strip", z.ZodTypeAny, {
12791
+ name: string;
12792
+ id: number;
12793
+ slug: string;
12794
+ }, {
12795
+ name: string;
12796
+ id: number;
12797
+ slug: string;
12798
+ }>, "many">;
12799
+ webUrl: z.ZodString;
12786
12800
  }, "strip", z.ZodTypeAny, {
12787
12801
  user: {
12788
12802
  id: string | null;
@@ -12792,9 +12806,15 @@ export declare const zListOrganizationAiConversationsResponse: z.ZodArray<z.ZodO
12792
12806
  } | null;
12793
12807
  errors: number;
12794
12808
  title: string | null;
12809
+ projects: {
12810
+ name: string;
12811
+ id: number;
12812
+ slug: string;
12813
+ }[];
12795
12814
  projectId: number | null;
12796
12815
  startTimestamp: number;
12797
12816
  endTimestamp: number;
12817
+ webUrl: string;
12798
12818
  flow: string[];
12799
12819
  llmCalls: number;
12800
12820
  toolCalls: number;
@@ -12819,9 +12839,15 @@ export declare const zListOrganizationAiConversationsResponse: z.ZodArray<z.ZodO
12819
12839
  } | null;
12820
12840
  errors: number;
12821
12841
  title: string | null;
12842
+ projects: {
12843
+ name: string;
12844
+ id: number;
12845
+ slug: string;
12846
+ }[];
12822
12847
  projectId: number | null;
12823
12848
  startTimestamp: number;
12824
12849
  endTimestamp: number;
12850
+ webUrl: string;
12825
12851
  flow: string[];
12826
12852
  llmCalls: number;
12827
12853
  toolCalls: number;
@@ -19935,14 +19961,57 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
19935
19961
  dataset: z.ZodString;
19936
19962
  start: z.ZodNumber;
19937
19963
  end: z.ZodNumber;
19964
+ annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
19965
+ type: z.ZodEnum<["system"]>;
19966
+ category: z.ZodString;
19967
+ reason: z.ZodString;
19968
+ start: z.ZodNumber;
19969
+ end: z.ZodNumber;
19970
+ droppedCount: z.ZodNumber;
19971
+ label: z.ZodString;
19972
+ }, "strip", z.ZodTypeAny, {
19973
+ label: string;
19974
+ category: string;
19975
+ reason: string;
19976
+ start: number;
19977
+ end: number;
19978
+ type: "system";
19979
+ droppedCount: number;
19980
+ }, {
19981
+ label: string;
19982
+ category: string;
19983
+ reason: string;
19984
+ start: number;
19985
+ end: number;
19986
+ type: "system";
19987
+ droppedCount: number;
19988
+ }>, "many">>;
19938
19989
  }, "strip", z.ZodTypeAny, {
19939
19990
  start: number;
19940
19991
  end: number;
19941
19992
  dataset: string;
19993
+ annotations?: {
19994
+ label: string;
19995
+ category: string;
19996
+ reason: string;
19997
+ start: number;
19998
+ end: number;
19999
+ type: "system";
20000
+ droppedCount: number;
20001
+ }[] | undefined;
19942
20002
  }, {
19943
20003
  start: number;
19944
20004
  end: number;
19945
20005
  dataset: string;
20006
+ annotations?: {
20007
+ label: string;
20008
+ category: string;
20009
+ reason: string;
20010
+ start: number;
20011
+ end: number;
20012
+ type: "system";
20013
+ droppedCount: number;
20014
+ }[] | undefined;
19946
20015
  }>>;
19947
20016
  timeSeries: z.ZodArray<z.ZodObject<{
19948
20017
  values: z.ZodArray<z.ZodObject<{
@@ -20085,6 +20154,15 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20085
20154
  start: number;
20086
20155
  end: number;
20087
20156
  dataset: string;
20157
+ annotations?: {
20158
+ label: string;
20159
+ category: string;
20160
+ reason: string;
20161
+ start: number;
20162
+ end: number;
20163
+ type: "system";
20164
+ droppedCount: number;
20165
+ }[] | undefined;
20088
20166
  } | undefined;
20089
20167
  }, {
20090
20168
  timeSeries: {
@@ -20116,6 +20194,15 @@ export declare const zOrganizationEventsTimeseriesResponse: z.ZodObject<{
20116
20194
  start: number;
20117
20195
  end: number;
20118
20196
  dataset: string;
20197
+ annotations?: {
20198
+ label: string;
20199
+ category: string;
20200
+ reason: string;
20201
+ start: number;
20202
+ end: number;
20203
+ type: "system";
20204
+ droppedCount: number;
20205
+ }[] | undefined;
20119
20206
  } | undefined;
20120
20207
  }>;
20121
20208
  export declare const zOrganizationGroupIndexGetResponse: z.ZodArray<z.ZodObject<{
@@ -27823,14 +27910,40 @@ export declare const zReplayDeletionJobCreateData: z.ZodObject<{
27823
27910
  export declare const zRetrieveOrganizationAiConversationResponse: z.ZodObject<{
27824
27911
  conversationId: z.ZodString;
27825
27912
  title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
27913
+ projects: z.ZodArray<z.ZodObject<{
27914
+ id: z.ZodNumber;
27915
+ name: z.ZodString;
27916
+ slug: z.ZodString;
27917
+ }, "strip", z.ZodTypeAny, {
27918
+ name: string;
27919
+ id: number;
27920
+ slug: string;
27921
+ }, {
27922
+ name: string;
27923
+ id: number;
27924
+ slug: string;
27925
+ }>, "many">;
27926
+ webUrl: z.ZodString;
27826
27927
  spans: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
27827
27928
  }, "strip", z.ZodTypeAny, {
27828
27929
  spans: Record<string, unknown>[];
27829
27930
  title: string | null;
27931
+ projects: {
27932
+ name: string;
27933
+ id: number;
27934
+ slug: string;
27935
+ }[];
27936
+ webUrl: string;
27830
27937
  conversationId: string;
27831
27938
  }, {
27832
27939
  spans: Record<string, unknown>[];
27833
27940
  title: string | null;
27941
+ projects: {
27942
+ name: string;
27943
+ id: number;
27944
+ slug: string;
27945
+ }[];
27946
+ webUrl: string;
27834
27947
  conversationId: string;
27835
27948
  }>;
27836
27949
  export declare const zScimListResponseEnvelopeScimMemberIndexResponse: z.ZodObject<{
@@ -34797,6 +34910,20 @@ export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.Zod
34797
34910
  }>, z.ZodNull]>;
34798
34911
  toolNames: z.ZodArray<z.ZodString, "many">;
34799
34912
  toolErrors: z.ZodNumber;
34913
+ projects: z.ZodArray<z.ZodObject<{
34914
+ id: z.ZodNumber;
34915
+ name: z.ZodString;
34916
+ slug: z.ZodString;
34917
+ }, "strip", z.ZodTypeAny, {
34918
+ name: string;
34919
+ id: number;
34920
+ slug: string;
34921
+ }, {
34922
+ name: string;
34923
+ id: number;
34924
+ slug: string;
34925
+ }>, "many">;
34926
+ webUrl: z.ZodString;
34800
34927
  }, "strip", z.ZodTypeAny, {
34801
34928
  user: {
34802
34929
  id: string | null;
@@ -34806,9 +34933,15 @@ export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.Zod
34806
34933
  } | null;
34807
34934
  errors: number;
34808
34935
  title: string | null;
34936
+ projects: {
34937
+ name: string;
34938
+ id: number;
34939
+ slug: string;
34940
+ }[];
34809
34941
  projectId: number | null;
34810
34942
  startTimestamp: number;
34811
34943
  endTimestamp: number;
34944
+ webUrl: string;
34812
34945
  flow: string[];
34813
34946
  llmCalls: number;
34814
34947
  toolCalls: number;
@@ -34833,9 +34966,15 @@ export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.Zod
34833
34966
  } | null;
34834
34967
  errors: number;
34835
34968
  title: string | null;
34969
+ projects: {
34970
+ name: string;
34971
+ id: number;
34972
+ slug: string;
34973
+ }[];
34836
34974
  projectId: number | null;
34837
34975
  startTimestamp: number;
34838
34976
  endTimestamp: number;
34977
+ webUrl: string;
34839
34978
  flow: string[];
34840
34979
  llmCalls: number;
34841
34980
  toolCalls: number;
@@ -34926,14 +35065,40 @@ export declare const zRetrieveOrganizationAiConversationData: z.ZodObject<{
34926
35065
  export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
34927
35066
  conversationId: z.ZodString;
34928
35067
  title: z.ZodUnion<[z.ZodString, z.ZodNull]>;
35068
+ projects: z.ZodArray<z.ZodObject<{
35069
+ id: z.ZodNumber;
35070
+ name: z.ZodString;
35071
+ slug: z.ZodString;
35072
+ }, "strip", z.ZodTypeAny, {
35073
+ name: string;
35074
+ id: number;
35075
+ slug: string;
35076
+ }, {
35077
+ name: string;
35078
+ id: number;
35079
+ slug: string;
35080
+ }>, "many">;
35081
+ webUrl: z.ZodString;
34929
35082
  spans: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
34930
35083
  }, "strip", z.ZodTypeAny, {
34931
35084
  spans: Record<string, unknown>[];
34932
35085
  title: string | null;
35086
+ projects: {
35087
+ name: string;
35088
+ id: number;
35089
+ slug: string;
35090
+ }[];
35091
+ webUrl: string;
34933
35092
  conversationId: string;
34934
35093
  }, {
34935
35094
  spans: Record<string, unknown>[];
34936
35095
  title: string | null;
35096
+ projects: {
35097
+ name: string;
35098
+ id: number;
35099
+ slug: string;
35100
+ }[];
35101
+ webUrl: string;
34937
35102
  conversationId: string;
34938
35103
  }>;
34939
35104
  export declare const zGetOrganizationConfigIntegrationsData: z.ZodObject<{
@@ -41645,14 +41810,57 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
41645
41810
  dataset: z.ZodString;
41646
41811
  start: z.ZodNumber;
41647
41812
  end: z.ZodNumber;
41813
+ annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
41814
+ type: z.ZodEnum<["system"]>;
41815
+ category: z.ZodString;
41816
+ reason: z.ZodString;
41817
+ start: z.ZodNumber;
41818
+ end: z.ZodNumber;
41819
+ droppedCount: z.ZodNumber;
41820
+ label: z.ZodString;
41821
+ }, "strip", z.ZodTypeAny, {
41822
+ label: string;
41823
+ category: string;
41824
+ reason: string;
41825
+ start: number;
41826
+ end: number;
41827
+ type: "system";
41828
+ droppedCount: number;
41829
+ }, {
41830
+ label: string;
41831
+ category: string;
41832
+ reason: string;
41833
+ start: number;
41834
+ end: number;
41835
+ type: "system";
41836
+ droppedCount: number;
41837
+ }>, "many">>;
41648
41838
  }, "strip", z.ZodTypeAny, {
41649
41839
  start: number;
41650
41840
  end: number;
41651
41841
  dataset: string;
41842
+ annotations?: {
41843
+ label: string;
41844
+ category: string;
41845
+ reason: string;
41846
+ start: number;
41847
+ end: number;
41848
+ type: "system";
41849
+ droppedCount: number;
41850
+ }[] | undefined;
41652
41851
  }, {
41653
41852
  start: number;
41654
41853
  end: number;
41655
41854
  dataset: string;
41855
+ annotations?: {
41856
+ label: string;
41857
+ category: string;
41858
+ reason: string;
41859
+ start: number;
41860
+ end: number;
41861
+ type: "system";
41862
+ droppedCount: number;
41863
+ }[] | undefined;
41656
41864
  }>>;
41657
41865
  timeSeries: z.ZodArray<z.ZodObject<{
41658
41866
  values: z.ZodArray<z.ZodObject<{
@@ -41795,6 +42003,15 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
41795
42003
  start: number;
41796
42004
  end: number;
41797
42005
  dataset: string;
42006
+ annotations?: {
42007
+ label: string;
42008
+ category: string;
42009
+ reason: string;
42010
+ start: number;
42011
+ end: number;
42012
+ type: "system";
42013
+ droppedCount: number;
42014
+ }[] | undefined;
41798
42015
  } | undefined;
41799
42016
  }, {
41800
42017
  timeSeries: {
@@ -41826,6 +42043,15 @@ export declare const zListOrganizationEventsTimeseriesResponse: z.ZodObject<{
41826
42043
  start: number;
41827
42044
  end: number;
41828
42045
  dataset: string;
42046
+ annotations?: {
42047
+ label: string;
42048
+ category: string;
42049
+ reason: string;
42050
+ start: number;
42051
+ end: number;
42052
+ type: "system";
42053
+ droppedCount: number;
42054
+ }[] | undefined;
41829
42055
  } | undefined;
41830
42056
  }>;
41831
42057
  export declare const zCreateOrganizationExternalUserData: z.ZodObject<{
package/dist/zod.js CHANGED
@@ -5427,7 +5427,13 @@ var zListOrganizationAiConversationsResponse = z.array(z.object({
5427
5427
  z.null()
5428
5428
  ]),
5429
5429
  toolNames: z.array(z.string()),
5430
- toolErrors: z.number().int()
5430
+ toolErrors: z.number().int(),
5431
+ projects: z.array(z.object({
5432
+ id: z.number().int(),
5433
+ name: z.string(),
5434
+ slug: z.string()
5435
+ })),
5436
+ webUrl: z.string()
5431
5437
  }));
5432
5438
  var zListOrganizationClientKeysResponse = z.array(z.object({
5433
5439
  id: z.string(),
@@ -8414,7 +8420,16 @@ var zOrganizationEventsTimeseriesResponse = z.object({
8414
8420
  meta: z.object({
8415
8421
  dataset: z.string(),
8416
8422
  start: z.number(),
8417
- end: z.number()
8423
+ end: z.number(),
8424
+ annotations: z.array(z.object({
8425
+ type: z.enum(["system"]),
8426
+ category: z.string(),
8427
+ reason: z.string(),
8428
+ start: z.number(),
8429
+ end: z.number(),
8430
+ droppedCount: z.number(),
8431
+ label: z.string()
8432
+ })).optional()
8418
8433
  }).optional(),
8419
8434
  timeSeries: z.array(z.object({
8420
8435
  values: z.array(z.object({
@@ -11160,6 +11175,12 @@ var zRetrieveOrganizationAiConversationResponse = z.object({
11160
11175
  z.string(),
11161
11176
  z.null()
11162
11177
  ]),
11178
+ projects: z.array(z.object({
11179
+ id: z.number().int(),
11180
+ name: z.string(),
11181
+ slug: z.string()
11182
+ })),
11183
+ webUrl: z.string(),
11163
11184
  spans: z.array(z.record(z.unknown()))
11164
11185
  });
11165
11186
  var zScimListResponseEnvelopeScimMemberIndexResponse = z.object({
@@ -13546,7 +13567,13 @@ var zListOrganizationAiConversationsResponse2 = z.array(z.object({
13546
13567
  z.null()
13547
13568
  ]),
13548
13569
  toolNames: z.array(z.string()),
13549
- toolErrors: z.number().int()
13570
+ toolErrors: z.number().int(),
13571
+ projects: z.array(z.object({
13572
+ id: z.number().int(),
13573
+ name: z.string(),
13574
+ slug: z.string()
13575
+ })),
13576
+ webUrl: z.string()
13550
13577
  }));
13551
13578
  var zRetrieveOrganizationAiConversationData = z.object({
13552
13579
  body: z.never().optional(),
@@ -13570,6 +13597,12 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
13570
13597
  z.string(),
13571
13598
  z.null()
13572
13599
  ]),
13600
+ projects: z.array(z.object({
13601
+ id: z.number().int(),
13602
+ name: z.string(),
13603
+ slug: z.string()
13604
+ })),
13605
+ webUrl: z.string(),
13573
13606
  spans: z.array(z.record(z.unknown()))
13574
13607
  });
13575
13608
  var zGetOrganizationConfigIntegrationsData = z.object({
@@ -15613,7 +15646,16 @@ var zListOrganizationEventsTimeseriesResponse = z.object({
15613
15646
  meta: z.object({
15614
15647
  dataset: z.string(),
15615
15648
  start: z.number(),
15616
- end: z.number()
15649
+ end: z.number(),
15650
+ annotations: z.array(z.object({
15651
+ type: z.enum(["system"]),
15652
+ category: z.string(),
15653
+ reason: z.string(),
15654
+ start: z.number(),
15655
+ end: z.number(),
15656
+ droppedCount: z.number(),
15657
+ label: z.string()
15658
+ })).optional()
15617
15659
  }).optional(),
15618
15660
  timeSeries: z.array(z.object({
15619
15661
  values: z.array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.295.0",
3
+ "version": "0.297.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",