@sentry/api 0.199.0 → 0.201.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.
@@ -2127,7 +2127,7 @@ export type DetailedProject = {
2127
2127
  builtinSymbolSources: Array<string>;
2128
2128
  dynamicSamplingBiases: Array<{
2129
2129
  [key: string]: string | boolean;
2130
- }>;
2130
+ }> | null;
2131
2131
  symbolSources: string;
2132
2132
  isDynamicallySampled: boolean;
2133
2133
  tempestFetchScreenshots: boolean;
@@ -7023,7 +7023,16 @@ export type OutcomesResponse = {
7023
7023
  }>;
7024
7024
  };
7025
7025
  export type OutgoingNotificationAction = {
7026
- [key: string]: unknown;
7026
+ id: number;
7027
+ organizationId: number;
7028
+ integrationId: number | null;
7029
+ sentryAppId: number | null;
7030
+ projects: Array<number>;
7031
+ serviceType: string | null;
7032
+ triggerType: string;
7033
+ targetType: string | null;
7034
+ targetIdentifier: string | null;
7035
+ targetDisplay: string | null;
7027
7036
  };
7028
7037
  export type ProjectAdmin = {
7029
7038
  /**
@@ -16954,7 +16963,16 @@ export type ListOrganizationNotificationsActionsErrors = {
16954
16963
  };
16955
16964
  export type ListOrganizationNotificationsActionsResponses = {
16956
16965
  201: {
16957
- [key: string]: unknown;
16966
+ id: number;
16967
+ organizationId: number;
16968
+ integrationId: number | null;
16969
+ sentryAppId: number | null;
16970
+ projects: Array<number>;
16971
+ serviceType: string | null;
16972
+ triggerType: string;
16973
+ targetType: string | null;
16974
+ targetIdentifier: string | null;
16975
+ targetDisplay: string | null;
16958
16976
  };
16959
16977
  };
16960
16978
  export type ListOrganizationNotificationsActionsResponse = ListOrganizationNotificationsActionsResponses[keyof ListOrganizationNotificationsActionsResponses];
@@ -17026,7 +17044,16 @@ export type CreateOrganizationNotificationsActionErrors = {
17026
17044
  };
17027
17045
  export type CreateOrganizationNotificationsActionResponses = {
17028
17046
  201: {
17029
- [key: string]: unknown;
17047
+ id: number;
17048
+ organizationId: number;
17049
+ integrationId: number | null;
17050
+ sentryAppId: number | null;
17051
+ projects: Array<number>;
17052
+ serviceType: string | null;
17053
+ triggerType: string;
17054
+ targetType: string | null;
17055
+ targetIdentifier: string | null;
17056
+ targetDisplay: string | null;
17030
17057
  };
17031
17058
  };
17032
17059
  export type CreateOrganizationNotificationsActionResponse = CreateOrganizationNotificationsActionResponses[keyof CreateOrganizationNotificationsActionResponses];
@@ -17069,7 +17096,16 @@ export type GetOrganizationNotificationsActionData = {
17069
17096
  };
17070
17097
  export type GetOrganizationNotificationsActionResponses = {
17071
17098
  200: {
17072
- [key: string]: unknown;
17099
+ id: number;
17100
+ organizationId: number;
17101
+ integrationId: number | null;
17102
+ sentryAppId: number | null;
17103
+ projects: Array<number>;
17104
+ serviceType: string | null;
17105
+ triggerType: string;
17106
+ targetType: string | null;
17107
+ targetIdentifier: string | null;
17108
+ targetDisplay: string | null;
17073
17109
  };
17074
17110
  };
17075
17111
  export type GetOrganizationNotificationsActionResponse = GetOrganizationNotificationsActionResponses[keyof GetOrganizationNotificationsActionResponses];
@@ -17141,7 +17177,16 @@ export type UpdateOrganizationNotificationsActionErrors = {
17141
17177
  };
17142
17178
  export type UpdateOrganizationNotificationsActionResponses = {
17143
17179
  202: {
17144
- [key: string]: unknown;
17180
+ id: number;
17181
+ organizationId: number;
17182
+ integrationId: number | null;
17183
+ sentryAppId: number | null;
17184
+ projects: Array<number>;
17185
+ serviceType: string | null;
17186
+ triggerType: string;
17187
+ targetType: string | null;
17188
+ targetIdentifier: string | null;
17189
+ targetDisplay: string | null;
17145
17190
  };
17146
17191
  };
17147
17192
  export type UpdateOrganizationNotificationsActionResponse = UpdateOrganizationNotificationsActionResponses[keyof UpdateOrganizationNotificationsActionResponses];
@@ -24060,7 +24105,7 @@ export type GetProjectResponses = {
24060
24105
  builtinSymbolSources: Array<string>;
24061
24106
  dynamicSamplingBiases: Array<{
24062
24107
  [key: string]: string | boolean;
24063
- }>;
24108
+ }> | null;
24064
24109
  symbolSources: string;
24065
24110
  isDynamicallySampled: boolean;
24066
24111
  tempestFetchScreenshots: boolean;
@@ -24322,7 +24367,7 @@ export type UpdateProjectResponses = {
24322
24367
  builtinSymbolSources: Array<string>;
24323
24368
  dynamicSamplingBiases: Array<{
24324
24369
  [key: string]: string | boolean;
24325
- }>;
24370
+ }> | null;
24326
24371
  symbolSources: string;
24327
24372
  isDynamicallySampled: boolean;
24328
24373
  tempestFetchScreenshots: boolean;
package/dist/zod.gen.d.ts CHANGED
@@ -3788,7 +3788,7 @@ export declare const zDetailedProject: z.ZodObject<{
3788
3788
  defaultEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3789
3789
  relayPiiConfig: z.ZodUnion<[z.ZodString, z.ZodNull]>;
3790
3790
  builtinSymbolSources: z.ZodArray<z.ZodString, "many">;
3791
- dynamicSamplingBiases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">;
3791
+ dynamicSamplingBiases: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">, z.ZodNull]>;
3792
3792
  symbolSources: z.ZodString;
3793
3793
  isDynamicallySampled: z.ZodBoolean;
3794
3794
  tempestFetchScreenshots: z.ZodBoolean;
@@ -3943,7 +3943,7 @@ export declare const zDetailedProject: z.ZodObject<{
3943
3943
  defaultEnvironment: string | null;
3944
3944
  relayPiiConfig: string | null;
3945
3945
  builtinSymbolSources: string[];
3946
- dynamicSamplingBiases: Record<string, string | boolean>[];
3946
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
3947
3947
  symbolSources: string;
3948
3948
  isDynamicallySampled: boolean;
3949
3949
  tempestFetchScreenshots: boolean;
@@ -4106,7 +4106,7 @@ export declare const zDetailedProject: z.ZodObject<{
4106
4106
  defaultEnvironment: string | null;
4107
4107
  relayPiiConfig: string | null;
4108
4108
  builtinSymbolSources: string[];
4109
- dynamicSamplingBiases: Record<string, string | boolean>[];
4109
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
4110
4110
  symbolSources: string;
4111
4111
  isDynamicallySampled: boolean;
4112
4112
  tempestFetchScreenshots: boolean;
@@ -20128,7 +20128,40 @@ export declare const zOutcomesResponse: z.ZodObject<{
20128
20128
  }[];
20129
20129
  intervals: string[];
20130
20130
  }>;
20131
- export declare const zOutgoingNotificationAction: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20131
+ export declare const zOutgoingNotificationAction: z.ZodObject<{
20132
+ id: z.ZodNumber;
20133
+ organizationId: z.ZodNumber;
20134
+ integrationId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
20135
+ sentryAppId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
20136
+ projects: z.ZodArray<z.ZodNumber, "many">;
20137
+ serviceType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
20138
+ triggerType: z.ZodString;
20139
+ targetType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
20140
+ targetIdentifier: z.ZodUnion<[z.ZodString, z.ZodNull]>;
20141
+ targetDisplay: z.ZodUnion<[z.ZodString, z.ZodNull]>;
20142
+ }, "strip", z.ZodTypeAny, {
20143
+ id: number;
20144
+ triggerType: string;
20145
+ integrationId: number | null;
20146
+ projects: number[];
20147
+ organizationId: number;
20148
+ serviceType: string | null;
20149
+ targetIdentifier: string | null;
20150
+ targetType: string | null;
20151
+ sentryAppId: number | null;
20152
+ targetDisplay: string | null;
20153
+ }, {
20154
+ id: number;
20155
+ triggerType: string;
20156
+ integrationId: number | null;
20157
+ projects: number[];
20158
+ organizationId: number;
20159
+ serviceType: string | null;
20160
+ targetIdentifier: string | null;
20161
+ targetType: string | null;
20162
+ sentryAppId: number | null;
20163
+ targetDisplay: string | null;
20164
+ }>;
20132
20165
  export declare const zProjectAdmin: z.ZodObject<{
20133
20166
  isBookmarked: z.ZodOptional<z.ZodBoolean>;
20134
20167
  name: z.ZodOptional<z.ZodString>;
@@ -41863,7 +41896,40 @@ export declare const zListOrganizationNotificationsActionsData: z.ZodObject<{
41863
41896
  } | undefined;
41864
41897
  body?: undefined;
41865
41898
  }>;
41866
- export declare const zListOrganizationNotificationsActionsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41899
+ export declare const zListOrganizationNotificationsActionsResponse: z.ZodObject<{
41900
+ id: z.ZodNumber;
41901
+ organizationId: z.ZodNumber;
41902
+ integrationId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
41903
+ sentryAppId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
41904
+ projects: z.ZodArray<z.ZodNumber, "many">;
41905
+ serviceType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
41906
+ triggerType: z.ZodString;
41907
+ targetType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
41908
+ targetIdentifier: z.ZodUnion<[z.ZodString, z.ZodNull]>;
41909
+ targetDisplay: z.ZodUnion<[z.ZodString, z.ZodNull]>;
41910
+ }, "strip", z.ZodTypeAny, {
41911
+ id: number;
41912
+ triggerType: string;
41913
+ integrationId: number | null;
41914
+ projects: number[];
41915
+ organizationId: number;
41916
+ serviceType: string | null;
41917
+ targetIdentifier: string | null;
41918
+ targetType: string | null;
41919
+ sentryAppId: number | null;
41920
+ targetDisplay: string | null;
41921
+ }, {
41922
+ id: number;
41923
+ triggerType: string;
41924
+ integrationId: number | null;
41925
+ projects: number[];
41926
+ organizationId: number;
41927
+ serviceType: string | null;
41928
+ targetIdentifier: string | null;
41929
+ targetType: string | null;
41930
+ sentryAppId: number | null;
41931
+ targetDisplay: string | null;
41932
+ }>;
41867
41933
  export declare const zCreateOrganizationNotificationsActionData: z.ZodObject<{
41868
41934
  body: z.ZodObject<{
41869
41935
  trigger_type: z.ZodString;
@@ -41922,7 +41988,40 @@ export declare const zCreateOrganizationNotificationsActionData: z.ZodObject<{
41922
41988
  };
41923
41989
  query?: undefined;
41924
41990
  }>;
41925
- export declare const zCreateOrganizationNotificationsActionResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
41991
+ export declare const zCreateOrganizationNotificationsActionResponse: z.ZodObject<{
41992
+ id: z.ZodNumber;
41993
+ organizationId: z.ZodNumber;
41994
+ integrationId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
41995
+ sentryAppId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
41996
+ projects: z.ZodArray<z.ZodNumber, "many">;
41997
+ serviceType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
41998
+ triggerType: z.ZodString;
41999
+ targetType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42000
+ targetIdentifier: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42001
+ targetDisplay: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42002
+ }, "strip", z.ZodTypeAny, {
42003
+ id: number;
42004
+ triggerType: string;
42005
+ integrationId: number | null;
42006
+ projects: number[];
42007
+ organizationId: number;
42008
+ serviceType: string | null;
42009
+ targetIdentifier: string | null;
42010
+ targetType: string | null;
42011
+ sentryAppId: number | null;
42012
+ targetDisplay: string | null;
42013
+ }, {
42014
+ id: number;
42015
+ triggerType: string;
42016
+ integrationId: number | null;
42017
+ projects: number[];
42018
+ organizationId: number;
42019
+ serviceType: string | null;
42020
+ targetIdentifier: string | null;
42021
+ targetType: string | null;
42022
+ sentryAppId: number | null;
42023
+ targetDisplay: string | null;
42024
+ }>;
41926
42025
  export declare const zDeleteOrganizationNotificationsActionData: z.ZodObject<{
41927
42026
  body: z.ZodOptional<z.ZodNever>;
41928
42027
  path: z.ZodObject<{
@@ -41983,7 +42082,40 @@ export declare const zGetOrganizationNotificationsActionData: z.ZodObject<{
41983
42082
  query?: undefined;
41984
42083
  body?: undefined;
41985
42084
  }>;
41986
- export declare const zGetOrganizationNotificationsActionResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
42085
+ export declare const zGetOrganizationNotificationsActionResponse: z.ZodObject<{
42086
+ id: z.ZodNumber;
42087
+ organizationId: z.ZodNumber;
42088
+ integrationId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
42089
+ sentryAppId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
42090
+ projects: z.ZodArray<z.ZodNumber, "many">;
42091
+ serviceType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42092
+ triggerType: z.ZodString;
42093
+ targetType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42094
+ targetIdentifier: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42095
+ targetDisplay: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42096
+ }, "strip", z.ZodTypeAny, {
42097
+ id: number;
42098
+ triggerType: string;
42099
+ integrationId: number | null;
42100
+ projects: number[];
42101
+ organizationId: number;
42102
+ serviceType: string | null;
42103
+ targetIdentifier: string | null;
42104
+ targetType: string | null;
42105
+ sentryAppId: number | null;
42106
+ targetDisplay: string | null;
42107
+ }, {
42108
+ id: number;
42109
+ triggerType: string;
42110
+ integrationId: number | null;
42111
+ projects: number[];
42112
+ organizationId: number;
42113
+ serviceType: string | null;
42114
+ targetIdentifier: string | null;
42115
+ targetType: string | null;
42116
+ sentryAppId: number | null;
42117
+ targetDisplay: string | null;
42118
+ }>;
41987
42119
  export declare const zUpdateOrganizationNotificationsActionData: z.ZodObject<{
41988
42120
  body: z.ZodObject<{
41989
42121
  trigger_type: z.ZodString;
@@ -42047,7 +42179,40 @@ export declare const zUpdateOrganizationNotificationsActionData: z.ZodObject<{
42047
42179
  };
42048
42180
  query?: undefined;
42049
42181
  }>;
42050
- export declare const zUpdateOrganizationNotificationsActionResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
42182
+ export declare const zUpdateOrganizationNotificationsActionResponse: z.ZodObject<{
42183
+ id: z.ZodNumber;
42184
+ organizationId: z.ZodNumber;
42185
+ integrationId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
42186
+ sentryAppId: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
42187
+ projects: z.ZodArray<z.ZodNumber, "many">;
42188
+ serviceType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42189
+ triggerType: z.ZodString;
42190
+ targetType: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42191
+ targetIdentifier: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42192
+ targetDisplay: z.ZodUnion<[z.ZodString, z.ZodNull]>;
42193
+ }, "strip", z.ZodTypeAny, {
42194
+ id: number;
42195
+ triggerType: string;
42196
+ integrationId: number | null;
42197
+ projects: number[];
42198
+ organizationId: number;
42199
+ serviceType: string | null;
42200
+ targetIdentifier: string | null;
42201
+ targetType: string | null;
42202
+ sentryAppId: number | null;
42203
+ targetDisplay: string | null;
42204
+ }, {
42205
+ id: number;
42206
+ triggerType: string;
42207
+ integrationId: number | null;
42208
+ projects: number[];
42209
+ organizationId: number;
42210
+ serviceType: string | null;
42211
+ targetIdentifier: string | null;
42212
+ targetType: string | null;
42213
+ sentryAppId: number | null;
42214
+ targetDisplay: string | null;
42215
+ }>;
42051
42216
  export declare const zListOrganizationPreprodartifactInstallDetailsData: z.ZodObject<{
42052
42217
  body: z.ZodOptional<z.ZodNever>;
42053
42218
  path: z.ZodObject<{
@@ -56080,7 +56245,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
56080
56245
  defaultEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
56081
56246
  relayPiiConfig: z.ZodUnion<[z.ZodString, z.ZodNull]>;
56082
56247
  builtinSymbolSources: z.ZodArray<z.ZodString, "many">;
56083
- dynamicSamplingBiases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">;
56248
+ dynamicSamplingBiases: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">, z.ZodNull]>;
56084
56249
  symbolSources: z.ZodString;
56085
56250
  isDynamicallySampled: z.ZodBoolean;
56086
56251
  tempestFetchScreenshots: z.ZodBoolean;
@@ -56235,7 +56400,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
56235
56400
  defaultEnvironment: string | null;
56236
56401
  relayPiiConfig: string | null;
56237
56402
  builtinSymbolSources: string[];
56238
- dynamicSamplingBiases: Record<string, string | boolean>[];
56403
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
56239
56404
  symbolSources: string;
56240
56405
  isDynamicallySampled: boolean;
56241
56406
  tempestFetchScreenshots: boolean;
@@ -56398,7 +56563,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
56398
56563
  defaultEnvironment: string | null;
56399
56564
  relayPiiConfig: string | null;
56400
56565
  builtinSymbolSources: string[];
56401
- dynamicSamplingBiases: Record<string, string | boolean>[];
56566
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
56402
56567
  symbolSources: string;
56403
56568
  isDynamicallySampled: boolean;
56404
56569
  tempestFetchScreenshots: boolean;
@@ -56839,7 +57004,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
56839
57004
  defaultEnvironment: z.ZodUnion<[z.ZodString, z.ZodNull]>;
56840
57005
  relayPiiConfig: z.ZodUnion<[z.ZodString, z.ZodNull]>;
56841
57006
  builtinSymbolSources: z.ZodArray<z.ZodString, "many">;
56842
- dynamicSamplingBiases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">;
57007
+ dynamicSamplingBiases: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, "many">, z.ZodNull]>;
56843
57008
  symbolSources: z.ZodString;
56844
57009
  isDynamicallySampled: z.ZodBoolean;
56845
57010
  tempestFetchScreenshots: z.ZodBoolean;
@@ -56994,7 +57159,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
56994
57159
  defaultEnvironment: string | null;
56995
57160
  relayPiiConfig: string | null;
56996
57161
  builtinSymbolSources: string[];
56997
- dynamicSamplingBiases: Record<string, string | boolean>[];
57162
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
56998
57163
  symbolSources: string;
56999
57164
  isDynamicallySampled: boolean;
57000
57165
  tempestFetchScreenshots: boolean;
@@ -57157,7 +57322,7 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
57157
57322
  defaultEnvironment: string | null;
57158
57323
  relayPiiConfig: string | null;
57159
57324
  builtinSymbolSources: string[];
57160
- dynamicSamplingBiases: Record<string, string | boolean>[];
57325
+ dynamicSamplingBiases: Record<string, string | boolean>[] | null;
57161
57326
  symbolSources: string;
57162
57327
  isDynamicallySampled: boolean;
57163
57328
  tempestFetchScreenshots: boolean;
package/dist/zod.js CHANGED
@@ -1942,10 +1942,13 @@ var zDetailedProject = z.object({
1942
1942
  z.null()
1943
1943
  ]),
1944
1944
  builtinSymbolSources: z.array(z.string()),
1945
- dynamicSamplingBiases: z.array(z.record(z.union([
1946
- z.string(),
1947
- z.boolean()
1948
- ]))),
1945
+ dynamicSamplingBiases: z.union([
1946
+ z.array(z.record(z.union([
1947
+ z.string(),
1948
+ z.boolean()
1949
+ ]))),
1950
+ z.null()
1951
+ ]),
1949
1952
  symbolSources: z.string(),
1950
1953
  isDynamicallySampled: z.boolean(),
1951
1954
  tempestFetchScreenshots: z.boolean(),
@@ -8045,7 +8048,36 @@ var zOutcomesResponse = z.object({
8045
8048
  series: z.record(z.unknown())
8046
8049
  }))
8047
8050
  });
8048
- var zOutgoingNotificationAction = z.record(z.unknown());
8051
+ var zOutgoingNotificationAction = z.object({
8052
+ id: z.number().int(),
8053
+ organizationId: z.number().int(),
8054
+ integrationId: z.union([
8055
+ z.number().int(),
8056
+ z.null()
8057
+ ]),
8058
+ sentryAppId: z.union([
8059
+ z.number().int(),
8060
+ z.null()
8061
+ ]),
8062
+ projects: z.array(z.number().int()),
8063
+ serviceType: z.union([
8064
+ z.string(),
8065
+ z.null()
8066
+ ]),
8067
+ triggerType: z.string(),
8068
+ targetType: z.union([
8069
+ z.string(),
8070
+ z.null()
8071
+ ]),
8072
+ targetIdentifier: z.union([
8073
+ z.string(),
8074
+ z.null()
8075
+ ]),
8076
+ targetDisplay: z.union([
8077
+ z.string(),
8078
+ z.null()
8079
+ ])
8080
+ });
8049
8081
  var zProjectAdmin = z.object({
8050
8082
  isBookmarked: z.boolean().optional(),
8051
8083
  name: z.string().max(200).optional(),
@@ -16151,7 +16183,36 @@ var zListOrganizationNotificationsActionsData = z.object({
16151
16183
  triggerType: z.string().optional()
16152
16184
  }).optional()
16153
16185
  });
16154
- var zListOrganizationNotificationsActionsResponse = z.record(z.unknown());
16186
+ var zListOrganizationNotificationsActionsResponse = z.object({
16187
+ id: z.number().int(),
16188
+ organizationId: z.number().int(),
16189
+ integrationId: z.union([
16190
+ z.number().int(),
16191
+ z.null()
16192
+ ]),
16193
+ sentryAppId: z.union([
16194
+ z.number().int(),
16195
+ z.null()
16196
+ ]),
16197
+ projects: z.array(z.number().int()),
16198
+ serviceType: z.union([
16199
+ z.string(),
16200
+ z.null()
16201
+ ]),
16202
+ triggerType: z.string(),
16203
+ targetType: z.union([
16204
+ z.string(),
16205
+ z.null()
16206
+ ]),
16207
+ targetIdentifier: z.union([
16208
+ z.string(),
16209
+ z.null()
16210
+ ]),
16211
+ targetDisplay: z.union([
16212
+ z.string(),
16213
+ z.null()
16214
+ ])
16215
+ });
16155
16216
  var zCreateOrganizationNotificationsActionData = z.object({
16156
16217
  body: z.object({
16157
16218
  trigger_type: z.string(),
@@ -16166,7 +16227,36 @@ var zCreateOrganizationNotificationsActionData = z.object({
16166
16227
  }),
16167
16228
  query: z.never().optional()
16168
16229
  });
16169
- var zCreateOrganizationNotificationsActionResponse = z.record(z.unknown());
16230
+ var zCreateOrganizationNotificationsActionResponse = z.object({
16231
+ id: z.number().int(),
16232
+ organizationId: z.number().int(),
16233
+ integrationId: z.union([
16234
+ z.number().int(),
16235
+ z.null()
16236
+ ]),
16237
+ sentryAppId: z.union([
16238
+ z.number().int(),
16239
+ z.null()
16240
+ ]),
16241
+ projects: z.array(z.number().int()),
16242
+ serviceType: z.union([
16243
+ z.string(),
16244
+ z.null()
16245
+ ]),
16246
+ triggerType: z.string(),
16247
+ targetType: z.union([
16248
+ z.string(),
16249
+ z.null()
16250
+ ]),
16251
+ targetIdentifier: z.union([
16252
+ z.string(),
16253
+ z.null()
16254
+ ]),
16255
+ targetDisplay: z.union([
16256
+ z.string(),
16257
+ z.null()
16258
+ ])
16259
+ });
16170
16260
  var zDeleteOrganizationNotificationsActionData = z.object({
16171
16261
  body: z.never().optional(),
16172
16262
  path: z.object({
@@ -16184,7 +16274,36 @@ var zGetOrganizationNotificationsActionData = z.object({
16184
16274
  }),
16185
16275
  query: z.never().optional()
16186
16276
  });
16187
- var zGetOrganizationNotificationsActionResponse = z.record(z.unknown());
16277
+ var zGetOrganizationNotificationsActionResponse = z.object({
16278
+ id: z.number().int(),
16279
+ organizationId: z.number().int(),
16280
+ integrationId: z.union([
16281
+ z.number().int(),
16282
+ z.null()
16283
+ ]),
16284
+ sentryAppId: z.union([
16285
+ z.number().int(),
16286
+ z.null()
16287
+ ]),
16288
+ projects: z.array(z.number().int()),
16289
+ serviceType: z.union([
16290
+ z.string(),
16291
+ z.null()
16292
+ ]),
16293
+ triggerType: z.string(),
16294
+ targetType: z.union([
16295
+ z.string(),
16296
+ z.null()
16297
+ ]),
16298
+ targetIdentifier: z.union([
16299
+ z.string(),
16300
+ z.null()
16301
+ ]),
16302
+ targetDisplay: z.union([
16303
+ z.string(),
16304
+ z.null()
16305
+ ])
16306
+ });
16188
16307
  var zUpdateOrganizationNotificationsActionData = z.object({
16189
16308
  body: z.object({
16190
16309
  trigger_type: z.string(),
@@ -16200,7 +16319,36 @@ var zUpdateOrganizationNotificationsActionData = z.object({
16200
16319
  }),
16201
16320
  query: z.never().optional()
16202
16321
  });
16203
- var zUpdateOrganizationNotificationsActionResponse = z.record(z.unknown());
16322
+ var zUpdateOrganizationNotificationsActionResponse = z.object({
16323
+ id: z.number().int(),
16324
+ organizationId: z.number().int(),
16325
+ integrationId: z.union([
16326
+ z.number().int(),
16327
+ z.null()
16328
+ ]),
16329
+ sentryAppId: z.union([
16330
+ z.number().int(),
16331
+ z.null()
16332
+ ]),
16333
+ projects: z.array(z.number().int()),
16334
+ serviceType: z.union([
16335
+ z.string(),
16336
+ z.null()
16337
+ ]),
16338
+ triggerType: z.string(),
16339
+ targetType: z.union([
16340
+ z.string(),
16341
+ z.null()
16342
+ ]),
16343
+ targetIdentifier: z.union([
16344
+ z.string(),
16345
+ z.null()
16346
+ ]),
16347
+ targetDisplay: z.union([
16348
+ z.string(),
16349
+ z.null()
16350
+ ])
16351
+ });
16204
16352
  var zListOrganizationPreprodartifactInstallDetailsData = z.object({
16205
16353
  body: z.never().optional(),
16206
16354
  path: z.object({
@@ -21106,10 +21254,13 @@ var zGetProjectResponse = z.object({
21106
21254
  z.null()
21107
21255
  ]),
21108
21256
  builtinSymbolSources: z.array(z.string()),
21109
- dynamicSamplingBiases: z.array(z.record(z.union([
21110
- z.string(),
21111
- z.boolean()
21112
- ]))),
21257
+ dynamicSamplingBiases: z.union([
21258
+ z.array(z.record(z.union([
21259
+ z.string(),
21260
+ z.boolean()
21261
+ ]))),
21262
+ z.null()
21263
+ ]),
21113
21264
  symbolSources: z.string(),
21114
21265
  isDynamicallySampled: z.boolean(),
21115
21266
  tempestFetchScreenshots: z.boolean(),
@@ -21343,10 +21494,13 @@ var zUpdateProjectResponse = z.object({
21343
21494
  z.null()
21344
21495
  ]),
21345
21496
  builtinSymbolSources: z.array(z.string()),
21346
- dynamicSamplingBiases: z.array(z.record(z.union([
21347
- z.string(),
21348
- z.boolean()
21349
- ]))),
21497
+ dynamicSamplingBiases: z.union([
21498
+ z.array(z.record(z.union([
21499
+ z.string(),
21500
+ z.boolean()
21501
+ ]))),
21502
+ z.null()
21503
+ ]),
21350
21504
  symbolSources: z.string(),
21351
21505
  isDynamicallySampled: z.boolean(),
21352
21506
  tempestFetchScreenshots: z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.199.0",
3
+ "version": "0.201.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",