@sentry/api 0.196.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.js CHANGED
@@ -2329,8 +2329,6 @@ var fetchPage_listOrganizationReleases = (options, cursor) => fetchPage((c) => l
2329
2329
  var paginateAll_listOrganizationReleases = (options, paginateOptions) => paginateAll((c) => listOrganizationReleases(_withCursor(options, c)), "listOrganizationReleases", paginateOptions);
2330
2330
  var paginateUpTo_listOrganizationReleases = (options, paginateOptions) => paginateUpTo((c) => listOrganizationReleases(_withCursor(options, c)), paginateOptions, "listOrganizationReleases");
2331
2331
  var fetchPage_listOrganizationReplays = (options, cursor) => fetchPage((c) => listOrganizationReplays(_withCursor(options, c)), "listOrganizationReplays", cursor);
2332
- var paginateAll_listOrganizationReplays = (options, paginateOptions) => paginateAll((c) => listOrganizationReplays(_withCursor(options, c)), "listOrganizationReplays", paginateOptions);
2333
- var paginateUpTo_listOrganizationReplays = (options, paginateOptions) => paginateUpTo((c) => listOrganizationReplays(_withCursor(options, c)), paginateOptions, "listOrganizationReplays");
2334
2332
  var fetchPage_listOrganizationReplaySelectors = (options, cursor) => fetchPage((c) => listOrganizationReplaySelectors(_withCursor(options, c)), "listOrganizationReplaySelectors", cursor);
2335
2333
  var fetchPage_listOrganizationRepoCommits = (options, cursor) => fetchPage((c) => listOrganizationRepoCommits(_withCursor(options, c)), "listOrganizationRepoCommits", cursor);
2336
2334
  var paginateAll_listOrganizationRepoCommits = (options, paginateOptions) => paginateAll((c) => listOrganizationRepoCommits(_withCursor(options, c)), "listOrganizationRepoCommits", paginateOptions);
@@ -2458,7 +2456,6 @@ export {
2458
2456
  paginateUpTo_listOrganizationSentryAppInstallations,
2459
2457
  paginateUpTo_listOrganizationRepos,
2460
2458
  paginateUpTo_listOrganizationRepoCommits,
2461
- paginateUpTo_listOrganizationReplays,
2462
2459
  paginateUpTo_listOrganizationReleases,
2463
2460
  paginateUpTo_listOrganizationReleaseFiles,
2464
2461
  paginateUpTo_listOrganizationReleaseDeploys,
@@ -2497,7 +2494,6 @@ export {
2497
2494
  paginateAll_listOrganizationSentryAppInstallations,
2498
2495
  paginateAll_listOrganizationRepos,
2499
2496
  paginateAll_listOrganizationRepoCommits,
2500
- paginateAll_listOrganizationReplays,
2501
2497
  paginateAll_listOrganizationReleases,
2502
2498
  paginateAll_listOrganizationReleaseFiles,
2503
2499
  paginateAll_listOrganizationReleaseDeploys,
@@ -252,17 +252,6 @@ export declare const paginateUpTo_listOrganizationReleases: (options: Omit<Optio
252
252
  export declare const fetchPage_listOrganizationReplays: (options: Omit<Options<ListOrganizationReplaysData>, "query"> & {
253
253
  query?: PaginationQuery<ListOrganizationReplaysData["query"]>;
254
254
  }, cursor?: string) => Promise<PaginatedResponse<ListOrganizationReplaysResponses[200]>>;
255
- /** Eagerly fetch all pages of `listOrganizationReplays`. Bounded by `maxPages` (default 50). */
256
- export declare const paginateAll_listOrganizationReplays: (options: Omit<Options<ListOrganizationReplaysData>, "query"> & {
257
- query?: PaginationQuery<ListOrganizationReplaysData["query"]>;
258
- }, paginateOptions?: PaginateAllOptions) => Promise<ListOrganizationReplaysResponses[200]>;
259
- /** Paginate `listOrganizationReplays` up to `limit` items; see PaginateUpToOptions. */
260
- export declare const paginateUpTo_listOrganizationReplays: (options: Omit<Options<ListOrganizationReplaysData>, "query"> & {
261
- query?: PaginationQuery<ListOrganizationReplaysData["query"]>;
262
- }, paginateOptions: PaginateUpToOptions) => Promise<{
263
- data: ListOrganizationReplaysResponses[200];
264
- nextCursor?: string;
265
- }>;
266
255
  /** Fetch a single page of `listOrganizationReplaySelectors` with cursors from the Link header. */
267
256
  export declare const fetchPage_listOrganizationReplaySelectors: (options: Omit<Options<ListOrganizationReplaySelectorsData>, "query"> & {
268
257
  query?: PaginationQuery<ListOrganizationReplaySelectorsData["query"]>;
@@ -4418,73 +4418,75 @@ export type ListReplayDeletionJobs = {
4418
4418
  export type ListReplayRecordingSegments = Array<Array<{
4419
4419
  [key: string]: unknown;
4420
4420
  }>>;
4421
- export type ListReplays = Array<{
4422
- id?: string;
4423
- project_id?: string;
4424
- trace_ids?: Array<string>;
4425
- error_ids?: Array<string>;
4426
- environment?: string | null;
4427
- tags?: {
4428
- [key: string]: Array<string>;
4429
- } | Array<unknown>;
4430
- user?: {
4431
- id?: string | null;
4432
- username?: string | null;
4433
- email?: string | null;
4434
- ip?: string | null;
4435
- display_name?: string | null;
4436
- geo?: {
4437
- city?: string | null;
4438
- country_code?: string | null;
4439
- region?: string | null;
4440
- subdivision?: string | null;
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
+ };
4441
4443
  };
4442
- };
4443
- sdk?: {
4444
- name?: string | null;
4445
- version?: string | null;
4446
- };
4447
- os?: {
4448
- name?: string | null;
4449
- version?: string | null;
4450
- };
4451
- browser?: {
4452
- name?: string | null;
4453
- version?: string | null;
4454
- };
4455
- device?: {
4456
- name?: string | null;
4457
- brand?: string | null;
4458
- model?: string | null;
4459
- family?: string | null;
4460
- };
4461
- ota_updates?: {
4462
- channel?: string | null;
4463
- runtime_version?: string | null;
4464
- update_id?: string | null;
4465
- };
4466
- is_archived?: boolean | null;
4467
- urls?: Array<string> | null;
4468
- clicks?: Array<{
4469
- [key: string]: unknown;
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;
4470
4488
  }>;
4471
- count_dead_clicks?: number | null;
4472
- count_rage_clicks?: number | null;
4473
- count_errors?: number | null;
4474
- duration?: number | null;
4475
- finished_at?: string | null;
4476
- started_at?: string | null;
4477
- activity?: number | null;
4478
- count_urls?: number | null;
4479
- replay_type?: string;
4480
- count_segments?: number | null;
4481
- platform?: string | null;
4482
- releases?: Array<string>;
4483
- dist?: string | null;
4484
- count_warnings?: number | null;
4485
- count_infos?: number | null;
4486
- has_viewed?: boolean;
4487
- }>;
4489
+ };
4488
4490
  export type ListSelectors = {
4489
4491
  data: Array<{
4490
4492
  count_dead_clicks?: number;
@@ -19367,73 +19369,75 @@ export type ListOrganizationReplaysErrors = {
19367
19369
  403: unknown;
19368
19370
  };
19369
19371
  export type ListOrganizationReplaysResponses = {
19370
- 200: Array<{
19371
- id?: string;
19372
- project_id?: string;
19373
- trace_ids?: Array<string>;
19374
- error_ids?: Array<string>;
19375
- environment?: string | null;
19376
- tags?: {
19377
- [key: string]: Array<string>;
19378
- } | Array<unknown>;
19379
- user?: {
19380
- id?: string | null;
19381
- username?: string | null;
19382
- email?: string | null;
19383
- ip?: string | null;
19384
- display_name?: string | null;
19385
- geo?: {
19386
- city?: string | null;
19387
- country_code?: string | null;
19388
- region?: string | null;
19389
- subdivision?: string | null;
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
+ };
19390
19394
  };
19391
- };
19392
- sdk?: {
19393
- name?: string | null;
19394
- version?: string | null;
19395
- };
19396
- os?: {
19397
- name?: string | null;
19398
- version?: string | null;
19399
- };
19400
- browser?: {
19401
- name?: string | null;
19402
- version?: string | null;
19403
- };
19404
- device?: {
19405
- name?: string | null;
19406
- brand?: string | null;
19407
- model?: string | null;
19408
- family?: string | null;
19409
- };
19410
- ota_updates?: {
19411
- channel?: string | null;
19412
- runtime_version?: string | null;
19413
- update_id?: string | null;
19414
- };
19415
- is_archived?: boolean | null;
19416
- urls?: Array<string> | null;
19417
- clicks?: Array<{
19418
- [key: string]: unknown;
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;
19419
19439
  }>;
19420
- count_dead_clicks?: number | null;
19421
- count_rage_clicks?: number | null;
19422
- count_errors?: number | null;
19423
- duration?: number | null;
19424
- finished_at?: string | null;
19425
- started_at?: string | null;
19426
- activity?: number | null;
19427
- count_urls?: number | null;
19428
- replay_type?: string;
19429
- count_segments?: number | null;
19430
- platform?: string | null;
19431
- releases?: Array<string>;
19432
- dist?: string | null;
19433
- count_warnings?: number | null;
19434
- count_infos?: number | null;
19435
- has_viewed?: boolean;
19436
- }>;
19440
+ };
19437
19441
  };
19438
19442
  export type ListOrganizationReplaysResponse = ListOrganizationReplaysResponses[keyof ListOrganizationReplaysResponses];
19439
19443
  export type GetOrganizationReplayData = {