@sentry/api 0.195.0 → 0.197.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.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -4
- package/dist/pagination.gen.d.ts +0 -11
- package/dist/sdk.gen.d.ts +5 -1
- package/dist/types.gen.d.ts +199 -130
- package/dist/zod.gen.d.ts +867 -528
- package/dist/zod.js +311 -278
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -281,6 +281,16 @@ export type BaseTeam = {
|
|
|
281
281
|
avatarUrl?: string | null;
|
|
282
282
|
};
|
|
283
283
|
};
|
|
284
|
+
export type BulkEnvironment = {
|
|
285
|
+
/**
|
|
286
|
+
* List of environment names to update. Maximum 1000.
|
|
287
|
+
*/
|
|
288
|
+
environmentNames: Array<string>;
|
|
289
|
+
/**
|
|
290
|
+
* Specify `true` to hide or `false` to show the specified environments.
|
|
291
|
+
*/
|
|
292
|
+
isHidden: boolean;
|
|
293
|
+
};
|
|
284
294
|
export type BulkUpdateAlerts = {
|
|
285
295
|
/**
|
|
286
296
|
* Whether to enable or disable the alerts
|
|
@@ -293,6 +303,11 @@ export type BulkUpdateMonitors = {
|
|
|
293
303
|
*/
|
|
294
304
|
enabled: boolean;
|
|
295
305
|
};
|
|
306
|
+
export type BulkUpdateProjectEnvironments = Array<{
|
|
307
|
+
id: string;
|
|
308
|
+
name: string;
|
|
309
|
+
isHidden: boolean;
|
|
310
|
+
}>;
|
|
296
311
|
export type CheckInList = Array<{
|
|
297
312
|
groups?: Array<string>;
|
|
298
313
|
id: string;
|
|
@@ -4403,73 +4418,75 @@ export type ListReplayDeletionJobs = {
|
|
|
4403
4418
|
export type ListReplayRecordingSegments = Array<Array<{
|
|
4404
4419
|
[key: string]: unknown;
|
|
4405
4420
|
}>>;
|
|
4406
|
-
export type ListReplays =
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4421
|
+
export type ListReplays = {
|
|
4422
|
+
data: Array<{
|
|
4423
|
+
id?: string;
|
|
4424
|
+
project_id?: string;
|
|
4425
|
+
trace_ids?: Array<string>;
|
|
4426
|
+
error_ids?: Array<string>;
|
|
4427
|
+
environment?: string | null;
|
|
4428
|
+
tags?: {
|
|
4429
|
+
[key: string]: Array<string>;
|
|
4430
|
+
} | Array<unknown>;
|
|
4431
|
+
user?: {
|
|
4432
|
+
id?: string | null;
|
|
4433
|
+
username?: string | null;
|
|
4434
|
+
email?: string | null;
|
|
4435
|
+
ip?: string | null;
|
|
4436
|
+
display_name?: string | null;
|
|
4437
|
+
geo?: {
|
|
4438
|
+
city?: string | null;
|
|
4439
|
+
country_code?: string | null;
|
|
4440
|
+
region?: string | null;
|
|
4441
|
+
subdivision?: string | null;
|
|
4442
|
+
};
|
|
4426
4443
|
};
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4444
|
+
sdk?: {
|
|
4445
|
+
name?: string | null;
|
|
4446
|
+
version?: string | null;
|
|
4447
|
+
};
|
|
4448
|
+
os?: {
|
|
4449
|
+
name?: string | null;
|
|
4450
|
+
version?: string | null;
|
|
4451
|
+
};
|
|
4452
|
+
browser?: {
|
|
4453
|
+
name?: string | null;
|
|
4454
|
+
version?: string | null;
|
|
4455
|
+
};
|
|
4456
|
+
device?: {
|
|
4457
|
+
name?: string | null;
|
|
4458
|
+
brand?: string | null;
|
|
4459
|
+
model?: string | null;
|
|
4460
|
+
family?: string | null;
|
|
4461
|
+
};
|
|
4462
|
+
ota_updates?: {
|
|
4463
|
+
channel?: string | null;
|
|
4464
|
+
runtime_version?: string | null;
|
|
4465
|
+
update_id?: string | null;
|
|
4466
|
+
};
|
|
4467
|
+
is_archived?: boolean | null;
|
|
4468
|
+
urls?: Array<string> | null;
|
|
4469
|
+
clicks?: Array<{
|
|
4470
|
+
[key: string]: unknown;
|
|
4471
|
+
}>;
|
|
4472
|
+
count_dead_clicks?: number | null;
|
|
4473
|
+
count_rage_clicks?: number | null;
|
|
4474
|
+
count_errors?: number | null;
|
|
4475
|
+
duration?: number | null;
|
|
4476
|
+
finished_at?: string | null;
|
|
4477
|
+
started_at?: string | null;
|
|
4478
|
+
activity?: number | null;
|
|
4479
|
+
count_urls?: number | null;
|
|
4480
|
+
replay_type?: string;
|
|
4481
|
+
count_segments?: number | null;
|
|
4482
|
+
platform?: string | null;
|
|
4483
|
+
releases?: Array<string>;
|
|
4484
|
+
dist?: string | null;
|
|
4485
|
+
count_warnings?: number | null;
|
|
4486
|
+
count_infos?: number | null;
|
|
4487
|
+
has_viewed?: boolean;
|
|
4455
4488
|
}>;
|
|
4456
|
-
|
|
4457
|
-
count_rage_clicks?: number | null;
|
|
4458
|
-
count_errors?: number | null;
|
|
4459
|
-
duration?: number | null;
|
|
4460
|
-
finished_at?: string | null;
|
|
4461
|
-
started_at?: string | null;
|
|
4462
|
-
activity?: number | null;
|
|
4463
|
-
count_urls?: number | null;
|
|
4464
|
-
replay_type?: string;
|
|
4465
|
-
count_segments?: number | null;
|
|
4466
|
-
platform?: string | null;
|
|
4467
|
-
releases?: Array<string>;
|
|
4468
|
-
dist?: string | null;
|
|
4469
|
-
count_warnings?: number | null;
|
|
4470
|
-
count_infos?: number | null;
|
|
4471
|
-
has_viewed?: boolean;
|
|
4472
|
-
}>;
|
|
4489
|
+
};
|
|
4473
4490
|
export type ListSelectors = {
|
|
4474
4491
|
data: Array<{
|
|
4475
4492
|
count_dead_clicks?: number;
|
|
@@ -19352,73 +19369,75 @@ export type ListOrganizationReplaysErrors = {
|
|
|
19352
19369
|
403: unknown;
|
|
19353
19370
|
};
|
|
19354
19371
|
export type ListOrganizationReplaysResponses = {
|
|
19355
|
-
200:
|
|
19356
|
-
|
|
19357
|
-
|
|
19358
|
-
|
|
19359
|
-
|
|
19360
|
-
|
|
19361
|
-
|
|
19362
|
-
|
|
19363
|
-
|
|
19364
|
-
|
|
19365
|
-
|
|
19366
|
-
|
|
19367
|
-
|
|
19368
|
-
|
|
19369
|
-
|
|
19370
|
-
|
|
19371
|
-
|
|
19372
|
-
|
|
19373
|
-
|
|
19374
|
-
|
|
19372
|
+
200: {
|
|
19373
|
+
data: Array<{
|
|
19374
|
+
id?: string;
|
|
19375
|
+
project_id?: string;
|
|
19376
|
+
trace_ids?: Array<string>;
|
|
19377
|
+
error_ids?: Array<string>;
|
|
19378
|
+
environment?: string | null;
|
|
19379
|
+
tags?: {
|
|
19380
|
+
[key: string]: Array<string>;
|
|
19381
|
+
} | Array<unknown>;
|
|
19382
|
+
user?: {
|
|
19383
|
+
id?: string | null;
|
|
19384
|
+
username?: string | null;
|
|
19385
|
+
email?: string | null;
|
|
19386
|
+
ip?: string | null;
|
|
19387
|
+
display_name?: string | null;
|
|
19388
|
+
geo?: {
|
|
19389
|
+
city?: string | null;
|
|
19390
|
+
country_code?: string | null;
|
|
19391
|
+
region?: string | null;
|
|
19392
|
+
subdivision?: string | null;
|
|
19393
|
+
};
|
|
19375
19394
|
};
|
|
19376
|
-
|
|
19377
|
-
|
|
19378
|
-
|
|
19379
|
-
|
|
19380
|
-
|
|
19381
|
-
|
|
19382
|
-
|
|
19383
|
-
|
|
19384
|
-
|
|
19385
|
-
|
|
19386
|
-
|
|
19387
|
-
|
|
19388
|
-
|
|
19389
|
-
|
|
19390
|
-
|
|
19391
|
-
|
|
19392
|
-
|
|
19393
|
-
|
|
19394
|
-
|
|
19395
|
-
|
|
19396
|
-
|
|
19397
|
-
|
|
19398
|
-
|
|
19399
|
-
|
|
19400
|
-
|
|
19401
|
-
|
|
19402
|
-
|
|
19403
|
-
|
|
19395
|
+
sdk?: {
|
|
19396
|
+
name?: string | null;
|
|
19397
|
+
version?: string | null;
|
|
19398
|
+
};
|
|
19399
|
+
os?: {
|
|
19400
|
+
name?: string | null;
|
|
19401
|
+
version?: string | null;
|
|
19402
|
+
};
|
|
19403
|
+
browser?: {
|
|
19404
|
+
name?: string | null;
|
|
19405
|
+
version?: string | null;
|
|
19406
|
+
};
|
|
19407
|
+
device?: {
|
|
19408
|
+
name?: string | null;
|
|
19409
|
+
brand?: string | null;
|
|
19410
|
+
model?: string | null;
|
|
19411
|
+
family?: string | null;
|
|
19412
|
+
};
|
|
19413
|
+
ota_updates?: {
|
|
19414
|
+
channel?: string | null;
|
|
19415
|
+
runtime_version?: string | null;
|
|
19416
|
+
update_id?: string | null;
|
|
19417
|
+
};
|
|
19418
|
+
is_archived?: boolean | null;
|
|
19419
|
+
urls?: Array<string> | null;
|
|
19420
|
+
clicks?: Array<{
|
|
19421
|
+
[key: string]: unknown;
|
|
19422
|
+
}>;
|
|
19423
|
+
count_dead_clicks?: number | null;
|
|
19424
|
+
count_rage_clicks?: number | null;
|
|
19425
|
+
count_errors?: number | null;
|
|
19426
|
+
duration?: number | null;
|
|
19427
|
+
finished_at?: string | null;
|
|
19428
|
+
started_at?: string | null;
|
|
19429
|
+
activity?: number | null;
|
|
19430
|
+
count_urls?: number | null;
|
|
19431
|
+
replay_type?: string;
|
|
19432
|
+
count_segments?: number | null;
|
|
19433
|
+
platform?: string | null;
|
|
19434
|
+
releases?: Array<string>;
|
|
19435
|
+
dist?: string | null;
|
|
19436
|
+
count_warnings?: number | null;
|
|
19437
|
+
count_infos?: number | null;
|
|
19438
|
+
has_viewed?: boolean;
|
|
19404
19439
|
}>;
|
|
19405
|
-
|
|
19406
|
-
count_rage_clicks?: number | null;
|
|
19407
|
-
count_errors?: number | null;
|
|
19408
|
-
duration?: number | null;
|
|
19409
|
-
finished_at?: string | null;
|
|
19410
|
-
started_at?: string | null;
|
|
19411
|
-
activity?: number | null;
|
|
19412
|
-
count_urls?: number | null;
|
|
19413
|
-
replay_type?: string;
|
|
19414
|
-
count_segments?: number | null;
|
|
19415
|
-
platform?: string | null;
|
|
19416
|
-
releases?: Array<string>;
|
|
19417
|
-
dist?: string | null;
|
|
19418
|
-
count_warnings?: number | null;
|
|
19419
|
-
count_infos?: number | null;
|
|
19420
|
-
has_viewed?: boolean;
|
|
19421
|
-
}>;
|
|
19440
|
+
};
|
|
19422
19441
|
};
|
|
19423
19442
|
export type ListOrganizationReplaysResponse = ListOrganizationReplaysResponses[keyof ListOrganizationReplaysResponses];
|
|
19424
19443
|
export type GetOrganizationReplayData = {
|
|
@@ -24361,6 +24380,56 @@ export type ListProjectEnvironmentsResponses = {
|
|
|
24361
24380
|
}>;
|
|
24362
24381
|
};
|
|
24363
24382
|
export type ListProjectEnvironmentsResponse = ListProjectEnvironmentsResponses[keyof ListProjectEnvironmentsResponses];
|
|
24383
|
+
export type UpdateProjectEnvironmentsData = {
|
|
24384
|
+
body: {
|
|
24385
|
+
/**
|
|
24386
|
+
* List of environment names to update. Maximum 1000.
|
|
24387
|
+
*/
|
|
24388
|
+
environmentNames: Array<string>;
|
|
24389
|
+
/**
|
|
24390
|
+
* Specify `true` to hide or `false` to show the specified environments.
|
|
24391
|
+
*/
|
|
24392
|
+
isHidden: boolean;
|
|
24393
|
+
};
|
|
24394
|
+
path: {
|
|
24395
|
+
/**
|
|
24396
|
+
* The ID or slug of the organization the resource belongs to.
|
|
24397
|
+
*/
|
|
24398
|
+
organization_id_or_slug: string;
|
|
24399
|
+
/**
|
|
24400
|
+
* The ID or slug of the project the resource belongs to.
|
|
24401
|
+
*/
|
|
24402
|
+
project_id_or_slug: string;
|
|
24403
|
+
};
|
|
24404
|
+
query?: never;
|
|
24405
|
+
url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/';
|
|
24406
|
+
};
|
|
24407
|
+
export type UpdateProjectEnvironmentsErrors = {
|
|
24408
|
+
/**
|
|
24409
|
+
* Bad Request
|
|
24410
|
+
*/
|
|
24411
|
+
400: unknown;
|
|
24412
|
+
/**
|
|
24413
|
+
* Unauthorized
|
|
24414
|
+
*/
|
|
24415
|
+
401: unknown;
|
|
24416
|
+
/**
|
|
24417
|
+
* Forbidden
|
|
24418
|
+
*/
|
|
24419
|
+
403: unknown;
|
|
24420
|
+
/**
|
|
24421
|
+
* Not Found
|
|
24422
|
+
*/
|
|
24423
|
+
404: unknown;
|
|
24424
|
+
};
|
|
24425
|
+
export type UpdateProjectEnvironmentsResponses = {
|
|
24426
|
+
200: Array<{
|
|
24427
|
+
id: string;
|
|
24428
|
+
name: string;
|
|
24429
|
+
isHidden: boolean;
|
|
24430
|
+
}>;
|
|
24431
|
+
};
|
|
24432
|
+
export type UpdateProjectEnvironmentsResponse = UpdateProjectEnvironmentsResponses[keyof UpdateProjectEnvironmentsResponses];
|
|
24364
24433
|
export type GetProjectEnvironmentData = {
|
|
24365
24434
|
body?: never;
|
|
24366
24435
|
path: {
|