@sentry/api 0.199.0 → 0.200.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.
@@ -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];
package/dist/zod.gen.d.ts CHANGED
@@ -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<{
package/dist/zod.js CHANGED
@@ -8045,7 +8045,36 @@ var zOutcomesResponse = z.object({
8045
8045
  series: z.record(z.unknown())
8046
8046
  }))
8047
8047
  });
8048
- var zOutgoingNotificationAction = z.record(z.unknown());
8048
+ var zOutgoingNotificationAction = z.object({
8049
+ id: z.number().int(),
8050
+ organizationId: z.number().int(),
8051
+ integrationId: z.union([
8052
+ z.number().int(),
8053
+ z.null()
8054
+ ]),
8055
+ sentryAppId: z.union([
8056
+ z.number().int(),
8057
+ z.null()
8058
+ ]),
8059
+ projects: z.array(z.number().int()),
8060
+ serviceType: z.union([
8061
+ z.string(),
8062
+ z.null()
8063
+ ]),
8064
+ triggerType: z.string(),
8065
+ targetType: z.union([
8066
+ z.string(),
8067
+ z.null()
8068
+ ]),
8069
+ targetIdentifier: z.union([
8070
+ z.string(),
8071
+ z.null()
8072
+ ]),
8073
+ targetDisplay: z.union([
8074
+ z.string(),
8075
+ z.null()
8076
+ ])
8077
+ });
8049
8078
  var zProjectAdmin = z.object({
8050
8079
  isBookmarked: z.boolean().optional(),
8051
8080
  name: z.string().max(200).optional(),
@@ -16151,7 +16180,36 @@ var zListOrganizationNotificationsActionsData = z.object({
16151
16180
  triggerType: z.string().optional()
16152
16181
  }).optional()
16153
16182
  });
16154
- var zListOrganizationNotificationsActionsResponse = z.record(z.unknown());
16183
+ var zListOrganizationNotificationsActionsResponse = z.object({
16184
+ id: z.number().int(),
16185
+ organizationId: z.number().int(),
16186
+ integrationId: z.union([
16187
+ z.number().int(),
16188
+ z.null()
16189
+ ]),
16190
+ sentryAppId: z.union([
16191
+ z.number().int(),
16192
+ z.null()
16193
+ ]),
16194
+ projects: z.array(z.number().int()),
16195
+ serviceType: z.union([
16196
+ z.string(),
16197
+ z.null()
16198
+ ]),
16199
+ triggerType: z.string(),
16200
+ targetType: z.union([
16201
+ z.string(),
16202
+ z.null()
16203
+ ]),
16204
+ targetIdentifier: z.union([
16205
+ z.string(),
16206
+ z.null()
16207
+ ]),
16208
+ targetDisplay: z.union([
16209
+ z.string(),
16210
+ z.null()
16211
+ ])
16212
+ });
16155
16213
  var zCreateOrganizationNotificationsActionData = z.object({
16156
16214
  body: z.object({
16157
16215
  trigger_type: z.string(),
@@ -16166,7 +16224,36 @@ var zCreateOrganizationNotificationsActionData = z.object({
16166
16224
  }),
16167
16225
  query: z.never().optional()
16168
16226
  });
16169
- var zCreateOrganizationNotificationsActionResponse = z.record(z.unknown());
16227
+ var zCreateOrganizationNotificationsActionResponse = z.object({
16228
+ id: z.number().int(),
16229
+ organizationId: z.number().int(),
16230
+ integrationId: z.union([
16231
+ z.number().int(),
16232
+ z.null()
16233
+ ]),
16234
+ sentryAppId: z.union([
16235
+ z.number().int(),
16236
+ z.null()
16237
+ ]),
16238
+ projects: z.array(z.number().int()),
16239
+ serviceType: z.union([
16240
+ z.string(),
16241
+ z.null()
16242
+ ]),
16243
+ triggerType: z.string(),
16244
+ targetType: z.union([
16245
+ z.string(),
16246
+ z.null()
16247
+ ]),
16248
+ targetIdentifier: z.union([
16249
+ z.string(),
16250
+ z.null()
16251
+ ]),
16252
+ targetDisplay: z.union([
16253
+ z.string(),
16254
+ z.null()
16255
+ ])
16256
+ });
16170
16257
  var zDeleteOrganizationNotificationsActionData = z.object({
16171
16258
  body: z.never().optional(),
16172
16259
  path: z.object({
@@ -16184,7 +16271,36 @@ var zGetOrganizationNotificationsActionData = z.object({
16184
16271
  }),
16185
16272
  query: z.never().optional()
16186
16273
  });
16187
- var zGetOrganizationNotificationsActionResponse = z.record(z.unknown());
16274
+ var zGetOrganizationNotificationsActionResponse = z.object({
16275
+ id: z.number().int(),
16276
+ organizationId: z.number().int(),
16277
+ integrationId: z.union([
16278
+ z.number().int(),
16279
+ z.null()
16280
+ ]),
16281
+ sentryAppId: z.union([
16282
+ z.number().int(),
16283
+ z.null()
16284
+ ]),
16285
+ projects: z.array(z.number().int()),
16286
+ serviceType: z.union([
16287
+ z.string(),
16288
+ z.null()
16289
+ ]),
16290
+ triggerType: z.string(),
16291
+ targetType: z.union([
16292
+ z.string(),
16293
+ z.null()
16294
+ ]),
16295
+ targetIdentifier: z.union([
16296
+ z.string(),
16297
+ z.null()
16298
+ ]),
16299
+ targetDisplay: z.union([
16300
+ z.string(),
16301
+ z.null()
16302
+ ])
16303
+ });
16188
16304
  var zUpdateOrganizationNotificationsActionData = z.object({
16189
16305
  body: z.object({
16190
16306
  trigger_type: z.string(),
@@ -16200,7 +16316,36 @@ var zUpdateOrganizationNotificationsActionData = z.object({
16200
16316
  }),
16201
16317
  query: z.never().optional()
16202
16318
  });
16203
- var zUpdateOrganizationNotificationsActionResponse = z.record(z.unknown());
16319
+ var zUpdateOrganizationNotificationsActionResponse = z.object({
16320
+ id: z.number().int(),
16321
+ organizationId: z.number().int(),
16322
+ integrationId: z.union([
16323
+ z.number().int(),
16324
+ z.null()
16325
+ ]),
16326
+ sentryAppId: z.union([
16327
+ z.number().int(),
16328
+ z.null()
16329
+ ]),
16330
+ projects: z.array(z.number().int()),
16331
+ serviceType: z.union([
16332
+ z.string(),
16333
+ z.null()
16334
+ ]),
16335
+ triggerType: z.string(),
16336
+ targetType: z.union([
16337
+ z.string(),
16338
+ z.null()
16339
+ ]),
16340
+ targetIdentifier: z.union([
16341
+ z.string(),
16342
+ z.null()
16343
+ ]),
16344
+ targetDisplay: z.union([
16345
+ z.string(),
16346
+ z.null()
16347
+ ])
16348
+ });
16204
16349
  var zListOrganizationPreprodartifactInstallDetailsData = z.object({
16205
16350
  body: z.never().optional(),
16206
16351
  path: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.199.0",
3
+ "version": "0.200.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",