@sentry/api 0.54.0 → 0.56.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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +57 -24
  2. package/package.json +1 -1
@@ -266,21 +266,16 @@ export type BaseDetectorTypeValidator = {
266
266
  };
267
267
  /**
268
268
  *
269
- * The user or team who owns the monitor.
269
+ * The ID user or team who owns the monitor or alert prefaced by the string 'user' or 'team'.
270
270
  *
271
271
  * **User**
272
272
  * ```json
273
- * "type": "user",
274
- * "id": "12345",
275
- * "name": "Jane Doe",
276
- * "email": "jane.doe@sentry.io"
273
+ * "user:123456"
277
274
  * ```
278
275
  *
279
276
  * **Team**
280
277
  * ```json
281
- * "type": "team",
282
- * "id": "123456789",
283
- * "name": "example-team"
278
+ * "team:456789"
284
279
  * ```
285
280
  *
286
281
  */
@@ -9199,6 +9194,22 @@ export type WorkflowValidator = {
9199
9194
  *
9200
9195
  */
9201
9196
  action_filters?: Array<unknown>;
9197
+ /**
9198
+ *
9199
+ * The ID user or team who owns the monitor or alert prefaced by the string 'user' or 'team'.
9200
+ *
9201
+ * **User**
9202
+ * ```json
9203
+ * "user:123456"
9204
+ * ```
9205
+ *
9206
+ * **Team**
9207
+ * ```json
9208
+ * "team:456789"
9209
+ * ```
9210
+ *
9211
+ */
9212
+ owner?: string | null;
9202
9213
  };
9203
9214
  export type LegacyBrowserFilter = {
9204
9215
  /**
@@ -11821,21 +11832,16 @@ export type CreateAMonitorForAProjectData = {
11821
11832
  };
11822
11833
  /**
11823
11834
  *
11824
- * The user or team who owns the monitor.
11835
+ * The ID user or team who owns the monitor or alert prefaced by the string 'user' or 'team'.
11825
11836
  *
11826
11837
  * **User**
11827
11838
  * ```json
11828
- * "type": "user",
11829
- * "id": "12345",
11830
- * "name": "Jane Doe",
11831
- * "email": "jane.doe@sentry.io"
11839
+ * "user:123456"
11832
11840
  * ```
11833
11841
  *
11834
11842
  * **Team**
11835
11843
  * ```json
11836
- * "type": "team",
11837
- * "id": "123456789",
11838
- * "name": "example-team"
11844
+ * "team:456789"
11839
11845
  * ```
11840
11846
  *
11841
11847
  */
@@ -12270,21 +12276,16 @@ export type UpdateAMonitorByIdData = {
12270
12276
  };
12271
12277
  /**
12272
12278
  *
12273
- * The user or team who owns the monitor.
12279
+ * The ID user or team who owns the monitor or alert prefaced by the string 'user' or 'team'.
12274
12280
  *
12275
12281
  * **User**
12276
12282
  * ```json
12277
- * "type": "user",
12278
- * "id": "12345",
12279
- * "name": "Jane Doe",
12280
- * "email": "jane.doe@sentry.io"
12283
+ * "user:123456"
12281
12284
  * ```
12282
12285
  *
12283
12286
  * **Team**
12284
12287
  * ```json
12285
- * "type": "team",
12286
- * "id": "123456789",
12287
- * "name": "example-team"
12288
+ * "team:456789"
12288
12289
  * ```
12289
12290
  *
12290
12291
  */
@@ -22068,6 +22069,22 @@ export type CreateAnAlertForAnOrganizationData = {
22068
22069
  *
22069
22070
  */
22070
22071
  action_filters?: Array<unknown>;
22072
+ /**
22073
+ *
22074
+ * The ID user or team who owns the monitor or alert prefaced by the string 'user' or 'team'.
22075
+ *
22076
+ * **User**
22077
+ * ```json
22078
+ * "user:123456"
22079
+ * ```
22080
+ *
22081
+ * **Team**
22082
+ * ```json
22083
+ * "team:456789"
22084
+ * ```
22085
+ *
22086
+ */
22087
+ owner?: string | null;
22071
22088
  };
22072
22089
  path: {
22073
22090
  /**
@@ -23034,6 +23051,22 @@ export type UpdateAnAlertByIdData = {
23034
23051
  *
23035
23052
  */
23036
23053
  action_filters?: Array<unknown>;
23054
+ /**
23055
+ *
23056
+ * The ID user or team who owns the monitor or alert prefaced by the string 'user' or 'team'.
23057
+ *
23058
+ * **User**
23059
+ * ```json
23060
+ * "user:123456"
23061
+ * ```
23062
+ *
23063
+ * **Team**
23064
+ * ```json
23065
+ * "team:456789"
23066
+ * ```
23067
+ *
23068
+ */
23069
+ owner?: string | null;
23037
23070
  };
23038
23071
  path: {
23039
23072
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.54.0",
3
+ "version": "0.56.0",
4
4
  "description": "Auto-generated TypeScript client for the Sentry API",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",