@sentry/api 0.296.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;
@@ -9405,6 +9411,12 @@ export type ReplayDeletionJobCreateData = {
9405
9411
  export type RetrieveOrganizationAiConversationResponse = {
9406
9412
  conversationId: string;
9407
9413
  title: string | null;
9414
+ projects: Array<{
9415
+ id: number;
9416
+ name: string;
9417
+ slug: string;
9418
+ }>;
9419
+ webUrl: string;
9408
9420
  spans: Array<{
9409
9421
  [key: string]: unknown;
9410
9422
  }>;
@@ -12395,6 +12407,12 @@ export type ListOrganizationAiConversationsResponses = {
12395
12407
  } | null;
12396
12408
  toolNames: Array<string>;
12397
12409
  toolErrors: number;
12410
+ projects: Array<{
12411
+ id: number;
12412
+ name: string;
12413
+ slug: string;
12414
+ }>;
12415
+ webUrl: string;
12398
12416
  }>;
12399
12417
  };
12400
12418
  export type ListOrganizationAiConversationsResponse2 = ListOrganizationAiConversationsResponses[keyof ListOrganizationAiConversationsResponses];
@@ -12479,6 +12497,12 @@ export type RetrieveOrganizationAiConversationResponses = {
12479
12497
  200: {
12480
12498
  conversationId: string;
12481
12499
  title: string | null;
12500
+ projects: Array<{
12501
+ id: number;
12502
+ name: string;
12503
+ slug: string;
12504
+ }>;
12505
+ webUrl: string;
12482
12506
  spans: Array<{
12483
12507
  [key: string]: unknown;
12484
12508
  }>;
@@ -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>;
@@ -5659,6 +5665,12 @@ export declare const vReplayDeletionJobCreateData: v.ObjectSchema<{
5659
5665
  export declare const vRetrieveOrganizationAiConversationResponse: v.ObjectSchema<{
5660
5666
  readonly conversationId: v.StringSchema<undefined>;
5661
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>;
5662
5674
  readonly spans: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
5663
5675
  }, undefined>;
5664
5676
  export declare const vScimListResponseEnvelopeScimMemberIndexResponse: v.ObjectSchema<{
@@ -7073,6 +7085,12 @@ export declare const vListOrganizationAiConversationsResponse2: v.ArraySchema<v.
7073
7085
  }, undefined>, v.NullSchema<undefined>], undefined>;
7074
7086
  readonly toolNames: v.ArraySchema<v.StringSchema<undefined>, undefined>;
7075
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>;
7076
7094
  }, undefined>, undefined>;
7077
7095
  export declare const vRetrieveOrganizationAiConversationData: v.ObjectSchema<{
7078
7096
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
@@ -7096,6 +7114,12 @@ export declare const vRetrieveOrganizationAiConversationData: v.ObjectSchema<{
7096
7114
  export declare const vRetrieveOrganizationAiConversationResponse2: v.ObjectSchema<{
7097
7115
  readonly conversationId: v.StringSchema<undefined>;
7098
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>;
7099
7123
  readonly spans: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
7100
7124
  }, undefined>;
7101
7125
  export declare const vGetOrganizationConfigIntegrationsData: 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(),
@@ -7196,6 +7202,12 @@ var vReplayDeletionJobCreateData = v.object({
7196
7202
  var vRetrieveOrganizationAiConversationResponse = v.object({
7197
7203
  conversationId: v.string(),
7198
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(),
7199
7211
  spans: v.array(v.record(v.string(), v.unknown()))
7200
7212
  });
7201
7213
  var vScimListResponseEnvelopeScimMemberIndexResponse = v.object({
@@ -8788,7 +8800,13 @@ var vListOrganizationAiConversationsResponse2 = v.array(v.object({
8788
8800
  ip_address: v.union([v.string(), v.null()])
8789
8801
  }), v.null()]),
8790
8802
  toolNames: v.array(v.string()),
8791
- 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()
8792
8810
  }));
8793
8811
  var vRetrieveOrganizationAiConversationData = v.object({
8794
8812
  body: v.optional(v.never()),
@@ -8809,6 +8827,12 @@ var vRetrieveOrganizationAiConversationData = v.object({
8809
8827
  var vRetrieveOrganizationAiConversationResponse2 = v.object({
8810
8828
  conversationId: v.string(),
8811
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(),
8812
8836
  spans: v.array(v.record(v.string(), v.unknown()))
8813
8837
  });
8814
8838
  var vGetOrganizationConfigIntegrationsData = 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;
@@ -27884,14 +27910,40 @@ export declare const zReplayDeletionJobCreateData: z.ZodObject<{
27884
27910
  export declare const zRetrieveOrganizationAiConversationResponse: z.ZodObject<{
27885
27911
  conversationId: z.ZodString;
27886
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;
27887
27927
  spans: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
27888
27928
  }, "strip", z.ZodTypeAny, {
27889
27929
  spans: Record<string, unknown>[];
27890
27930
  title: string | null;
27931
+ projects: {
27932
+ name: string;
27933
+ id: number;
27934
+ slug: string;
27935
+ }[];
27936
+ webUrl: string;
27891
27937
  conversationId: string;
27892
27938
  }, {
27893
27939
  spans: Record<string, unknown>[];
27894
27940
  title: string | null;
27941
+ projects: {
27942
+ name: string;
27943
+ id: number;
27944
+ slug: string;
27945
+ }[];
27946
+ webUrl: string;
27895
27947
  conversationId: string;
27896
27948
  }>;
27897
27949
  export declare const zScimListResponseEnvelopeScimMemberIndexResponse: z.ZodObject<{
@@ -34858,6 +34910,20 @@ export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.Zod
34858
34910
  }>, z.ZodNull]>;
34859
34911
  toolNames: z.ZodArray<z.ZodString, "many">;
34860
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;
34861
34927
  }, "strip", z.ZodTypeAny, {
34862
34928
  user: {
34863
34929
  id: string | null;
@@ -34867,9 +34933,15 @@ export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.Zod
34867
34933
  } | null;
34868
34934
  errors: number;
34869
34935
  title: string | null;
34936
+ projects: {
34937
+ name: string;
34938
+ id: number;
34939
+ slug: string;
34940
+ }[];
34870
34941
  projectId: number | null;
34871
34942
  startTimestamp: number;
34872
34943
  endTimestamp: number;
34944
+ webUrl: string;
34873
34945
  flow: string[];
34874
34946
  llmCalls: number;
34875
34947
  toolCalls: number;
@@ -34894,9 +34966,15 @@ export declare const zListOrganizationAiConversationsResponse2: z.ZodArray<z.Zod
34894
34966
  } | null;
34895
34967
  errors: number;
34896
34968
  title: string | null;
34969
+ projects: {
34970
+ name: string;
34971
+ id: number;
34972
+ slug: string;
34973
+ }[];
34897
34974
  projectId: number | null;
34898
34975
  startTimestamp: number;
34899
34976
  endTimestamp: number;
34977
+ webUrl: string;
34900
34978
  flow: string[];
34901
34979
  llmCalls: number;
34902
34980
  toolCalls: number;
@@ -34987,14 +35065,40 @@ export declare const zRetrieveOrganizationAiConversationData: z.ZodObject<{
34987
35065
  export declare const zRetrieveOrganizationAiConversationResponse2: z.ZodObject<{
34988
35066
  conversationId: z.ZodString;
34989
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;
34990
35082
  spans: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
34991
35083
  }, "strip", z.ZodTypeAny, {
34992
35084
  spans: Record<string, unknown>[];
34993
35085
  title: string | null;
35086
+ projects: {
35087
+ name: string;
35088
+ id: number;
35089
+ slug: string;
35090
+ }[];
35091
+ webUrl: string;
34994
35092
  conversationId: string;
34995
35093
  }, {
34996
35094
  spans: Record<string, unknown>[];
34997
35095
  title: string | null;
35096
+ projects: {
35097
+ name: string;
35098
+ id: number;
35099
+ slug: string;
35100
+ }[];
35101
+ webUrl: string;
34998
35102
  conversationId: string;
34999
35103
  }>;
35000
35104
  export declare const zGetOrganizationConfigIntegrationsData: 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(),
@@ -11169,6 +11175,12 @@ var zRetrieveOrganizationAiConversationResponse = z.object({
11169
11175
  z.string(),
11170
11176
  z.null()
11171
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(),
11172
11184
  spans: z.array(z.record(z.unknown()))
11173
11185
  });
11174
11186
  var zScimListResponseEnvelopeScimMemberIndexResponse = z.object({
@@ -13555,7 +13567,13 @@ var zListOrganizationAiConversationsResponse2 = z.array(z.object({
13555
13567
  z.null()
13556
13568
  ]),
13557
13569
  toolNames: z.array(z.string()),
13558
- 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()
13559
13577
  }));
13560
13578
  var zRetrieveOrganizationAiConversationData = z.object({
13561
13579
  body: z.never().optional(),
@@ -13579,6 +13597,12 @@ var zRetrieveOrganizationAiConversationResponse2 = z.object({
13579
13597
  z.string(),
13580
13598
  z.null()
13581
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(),
13582
13606
  spans: z.array(z.record(z.unknown()))
13583
13607
  });
13584
13608
  var zGetOrganizationConfigIntegrationsData = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.296.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",