@sentry/api 0.444.0 → 0.446.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 (58) hide show
  1. package/README.md +28 -0
  2. package/dist/api-client/api-path.d.ts +34 -0
  3. package/dist/api-client/auth-token.d.ts +6 -0
  4. package/dist/api-client/core.d.ts +84 -0
  5. package/dist/api-client/endpoints/client-keys.d.ts +38 -0
  6. package/dist/api-client/endpoints/dashboards.d.ts +23 -0
  7. package/dist/api-client/endpoints/index.d.ts +18 -0
  8. package/dist/api-client/endpoints/index.js +762 -0
  9. package/dist/api-client/endpoints/monitors.d.ts +49 -0
  10. package/dist/api-client/endpoints/organizations.d.ts +35 -0
  11. package/dist/api-client/endpoints/profiling.d.ts +32 -0
  12. package/dist/api-client/endpoints/projects.d.ts +63 -0
  13. package/dist/api-client/endpoints/releases.d.ts +45 -0
  14. package/dist/api-client/endpoints/replays.d.ts +53 -0
  15. package/dist/api-client/endpoints/repositories.d.ts +31 -0
  16. package/dist/api-client/endpoints/snapshots.d.ts +29 -0
  17. package/dist/api-client/endpoints/teams.d.ts +23 -0
  18. package/dist/api-client/endpoints/traces.d.ts +25 -0
  19. package/dist/api-client/endpoints/uptime-monitors.d.ts +61 -0
  20. package/dist/api-client/errors.d.ts +151 -0
  21. package/dist/api-client/idempotent-operations.d.ts +33 -0
  22. package/dist/api-client/index.d.ts +20 -0
  23. package/dist/api-client/index.js +1647 -0
  24. package/dist/api-client/pagination.d.ts +119 -0
  25. package/dist/api-client/response-cache/body.d.ts +31 -0
  26. package/dist/api-client/response-cache/index.d.ts +14 -0
  27. package/dist/api-client/response-cache/invalidation.d.ts +42 -0
  28. package/dist/api-client/response-cache/keys.d.ts +25 -0
  29. package/dist/api-client/response-cache/memory-store.d.ts +37 -0
  30. package/dist/api-client/response-cache/policy.d.ts +81 -0
  31. package/dist/api-client/response-cache/store.d.ts +52 -0
  32. package/dist/api-client/response-cache/tiers.d.ts +28 -0
  33. package/dist/api-client/response.d.ts +27 -0
  34. package/dist/api-client/retry.d.ts +57 -0
  35. package/dist/api-client/standard-schema.d.ts +65 -0
  36. package/dist/api-client/time-params.d.ts +46 -0
  37. package/dist/api-client/transport.d.ts +156 -0
  38. package/dist/api-client/validate.d.ts +22 -0
  39. package/dist/client/index.d.ts +1 -0
  40. package/dist/client/types.gen.d.ts +3 -2
  41. package/dist/client/utils.gen.d.ts +6 -4
  42. package/dist/core/auth.gen.d.ts +7 -0
  43. package/dist/core/bodySerializer.gen.d.ts +4 -4
  44. package/dist/core/params.gen.d.ts +1 -1
  45. package/dist/core/queryKeySerializer.gen.d.ts +1 -1
  46. package/dist/core/serverSentEvents.gen.d.ts +1 -1
  47. package/dist/core/types.gen.d.ts +1 -1
  48. package/dist/index.js +17 -27
  49. package/dist/operations.js +26 -22
  50. package/dist/query-enums.gen.d.ts +3 -1
  51. package/dist/sdk.gen.d.ts +275 -275
  52. package/dist/sentry-client.gen.d.ts +279 -279
  53. package/dist/types.gen.d.ts +33 -22
  54. package/dist/valibot.gen.d.ts +10148 -7222
  55. package/dist/valibot.js +16113 -15129
  56. package/dist/zod.gen.d.ts +29212 -20450
  57. package/dist/zod.js +16465 -26585
  58. package/package.json +19 -3
@@ -6309,7 +6309,7 @@ export type ListProjectUsersResponse = Array<{
6309
6309
  dateCreated: string | null;
6310
6310
  }>;
6311
6311
  export type ListReleaseFiles = Array<{
6312
- id: string | {
6312
+ id: string | Blob | File | {
6313
6313
  [key: string]: unknown;
6314
6314
  } | null;
6315
6315
  name: string;
@@ -10457,7 +10457,7 @@ export type ReleaseFile = {
10457
10457
  name: string;
10458
10458
  };
10459
10459
  export type ReleaseFileResponse = {
10460
- id: string | {
10460
+ id: string | Blob | File | {
10461
10461
  [key: string]: unknown;
10462
10462
  } | null;
10463
10463
  name: string;
@@ -11198,7 +11198,7 @@ export type SentryAppInstallationExternalIssueActions = {
11198
11198
  * The relative callback URI from the app's issue-link form.
11199
11199
  */
11200
11200
  uri: string;
11201
- [key: string]: unknown | string | 'link' | 'create';
11201
+ [key: string]: unknown;
11202
11202
  };
11203
11203
  export type SentryAppParser = {
11204
11204
  /**
@@ -23508,14 +23508,19 @@ export type GetOrganizationProfilingFlamegraphData = {
23508
23508
  * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
23509
23509
  */
23510
23510
  end?: string;
23511
- /**
23512
- * Source dataset to build the flamegraph from. Defaults to `functions` when `fingerprint` is set and `transactions` otherwise.
23513
- */
23514
- dataSource?: 'functions' | 'profiles' | 'spans' | 'transactions';
23515
23511
  /**
23516
23512
  * A UInt32 function fingerprint. Only valid when `dataSource=functions`.
23517
23513
  */
23518
23514
  fingerprint?: number;
23515
+ /**
23516
+ * Source dataset to build the flamegraph from. Defaults to `functions` when `fingerprint` is set and `transactions` otherwise.
23517
+ *
23518
+ * * `transactions`
23519
+ * * `profiles`
23520
+ * * `functions`
23521
+ * * `spans`
23522
+ */
23523
+ dataSource?: 'transactions' | 'profiles' | 'functions' | 'spans';
23519
23524
  /**
23520
23525
  * Sentry [search syntax](https://docs.sentry.io/concepts/search/) to filter the candidate profiles.
23521
23526
  */
@@ -25608,7 +25613,7 @@ export type ListOrganizationReleaseFilesErrors = {
25608
25613
  };
25609
25614
  export type ListOrganizationReleaseFilesResponses = {
25610
25615
  200: Array<{
25611
- id: string | {
25616
+ id: string | Blob | File | {
25612
25617
  [key: string]: unknown;
25613
25618
  } | null;
25614
25619
  name: string;
@@ -25684,7 +25689,7 @@ export type UploadOrganizationReleaseFileErrors = {
25684
25689
  };
25685
25690
  export type UploadOrganizationReleaseFileResponses = {
25686
25691
  201: {
25687
- id: string | {
25692
+ id: string | Blob | File | {
25688
25693
  [key: string]: unknown;
25689
25694
  } | null;
25690
25695
  name: string;
@@ -25778,7 +25783,7 @@ export type GetOrganizationReleaseFileErrors = {
25778
25783
  };
25779
25784
  export type GetOrganizationReleaseFileResponses = {
25780
25785
  200: {
25781
- id: string | {
25786
+ id: string | Blob | File | {
25782
25787
  [key: string]: unknown;
25783
25788
  } | null;
25784
25789
  name: string;
@@ -25836,7 +25841,7 @@ export type UpdateOrganizationReleaseFileErrors = {
25836
25841
  };
25837
25842
  export type UpdateOrganizationReleaseFileResponses = {
25838
25843
  200: {
25839
- id: string | {
25844
+ id: string | Blob | File | {
25840
25845
  [key: string]: unknown;
25841
25846
  } | null;
25842
25847
  name: string;
@@ -28874,10 +28879,6 @@ export type ListOrganizationTraceItemsStatsData = {
28874
28879
  * The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
28875
28880
  */
28876
28881
  end?: string;
28877
- /**
28878
- * The trace item dataset to compute statistics for. Defaults to `spans`.
28879
- */
28880
- itemType?: 'occurrences' | 'spans';
28881
28882
  /**
28882
28883
  * Sentry [search syntax](https://docs.sentry.io/concepts/search/) to filter trace items before computing statistics.
28883
28884
  */
@@ -28890,6 +28891,13 @@ export type ListOrganizationTraceItemsStatsData = {
28890
28891
  * Maximum number of trace items to sample when computing statistics. Defaults to `1000`, which is also the maximum.
28891
28892
  */
28892
28893
  traceItemsLimit?: number;
28894
+ /**
28895
+ * The trace item dataset to compute statistics for. Defaults to `spans`.
28896
+ *
28897
+ * * `spans`
28898
+ * * `occurrences`
28899
+ */
28900
+ itemType?: 'spans' | 'occurrences';
28893
28901
  /**
28894
28902
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
28895
28903
  */
@@ -33981,7 +33989,7 @@ export type AssembleProjectDebugFilesData = {
33981
33989
  * The debug ID to store the file under, overriding the one read from the file.
33982
33990
  */
33983
33991
  debug_id?: string;
33984
- [key: string]: unknown | string | Array<string> | string | undefined;
33992
+ [key: string]: unknown;
33985
33993
  };
33986
33994
  };
33987
33995
  path: {
@@ -36125,8 +36133,11 @@ export type GetProjectInstallableBuildLatestData = {
36125
36133
  appId: string;
36126
36134
  /**
36127
36135
  * Platform: "apple" or "android".
36136
+ *
36137
+ * * `apple` - Apple
36138
+ * * `android` - Android
36128
36139
  */
36129
- platform: string;
36140
+ platform: 'apple' | 'android';
36130
36141
  /**
36131
36142
  * Current build version. When provided, enables check-for-updates mode.
36132
36143
  */
@@ -36756,7 +36767,7 @@ export type ListProjectReleaseFilesErrors = {
36756
36767
  };
36757
36768
  export type ListProjectReleaseFilesResponses = {
36758
36769
  200: Array<{
36759
- id: string | {
36770
+ id: string | Blob | File | {
36760
36771
  [key: string]: unknown;
36761
36772
  } | null;
36762
36773
  name: string;
@@ -36836,7 +36847,7 @@ export type UploadProjectReleaseFileErrors = {
36836
36847
  };
36837
36848
  export type UploadProjectReleaseFileResponses = {
36838
36849
  201: {
36839
- id: string | {
36850
+ id: string | Blob | File | {
36840
36851
  [key: string]: unknown;
36841
36852
  } | null;
36842
36853
  name: string;
@@ -36938,7 +36949,7 @@ export type GetProjectReleaseFileErrors = {
36938
36949
  };
36939
36950
  export type GetProjectReleaseFileResponses = {
36940
36951
  200: {
36941
- id: string | {
36952
+ id: string | Blob | File | {
36942
36953
  [key: string]: unknown;
36943
36954
  } | null;
36944
36955
  name: string;
@@ -37000,7 +37011,7 @@ export type UpdateProjectReleaseFileErrors = {
37000
37011
  };
37001
37012
  export type UpdateProjectReleaseFileResponses = {
37002
37013
  200: {
37003
- id: string | {
37014
+ id: string | Blob | File | {
37004
37015
  [key: string]: unknown;
37005
37016
  } | null;
37006
37017
  name: string;
@@ -39059,7 +39070,7 @@ export type ExecuteSentryAppInstallationExternalIssueActionData = {
39059
39070
  * The relative callback URI from the app's issue-link form.
39060
39071
  */
39061
39072
  uri: string;
39062
- [key: string]: unknown | string | 'link' | 'create';
39073
+ [key: string]: unknown;
39063
39074
  };
39064
39075
  path: {
39065
39076
  /**