@sentry/api 0.373.0 → 0.375.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.
@@ -5736,6 +5736,10 @@ export type ListReleaseFiles = Array<{
5736
5736
  sha1: string;
5737
5737
  dateCreated: string;
5738
5738
  }>;
5739
+ export type ListReleaseSetupSteps = Array<{
5740
+ step: 'tag' | 'repo' | 'commit' | 'deploy';
5741
+ complete: boolean;
5742
+ }>;
5739
5743
  export type ListReplayClicks = {
5740
5744
  data: Array<{
5741
5745
  node_id: number;
@@ -15854,7 +15858,7 @@ export type ListOrganizationEventsData = {
15854
15858
  * Example: `query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)`
15855
15859
  *
15856
15860
  * With the `logs` dataset, a string attribute can also be matched against a regular expression written as `key://pattern//`, and excluded with `!key://pattern//`.
15857
- * Patterns use [RE2 syntax](https://github.com/google/re2/wiki/Syntax), match anywhere in the value unless anchored with `^` or `$`, are case sensitive unless they start with `(?i)`, and are limited to 64 characters.
15861
+ * Patterns use [RE2 syntax](https://github.com/google/re2/wiki/Syntax), match anywhere in the value unless anchored with `^` or `$`, are case sensitive unless they start with `(?i)`, and are limited to 64 characters. A query can contain up to 16 regular expressions.
15858
15862
  * To search for a literal value that starts with `//`, quote it: `key:"//value"`.
15859
15863
  * See [regular expressions](/concepts/search/#regular-expressions-logs-only) for more details.
15860
15864
  *
@@ -16146,7 +16150,7 @@ export type ListOrganizationEventsTimeseriesData = {
16146
16150
  * Example: `query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)`
16147
16151
  *
16148
16152
  * With the `logs` dataset, a string attribute can also be matched against a regular expression written as `key://pattern//`, and excluded with `!key://pattern//`.
16149
- * Patterns use [RE2 syntax](https://github.com/google/re2/wiki/Syntax), match anywhere in the value unless anchored with `^` or `$`, are case sensitive unless they start with `(?i)`, and are limited to 64 characters.
16153
+ * Patterns use [RE2 syntax](https://github.com/google/re2/wiki/Syntax), match anywhere in the value unless anchored with `^` or `$`, are case sensitive unless they start with `(?i)`, and are limited to 64 characters. A query can contain up to 16 regular expressions.
16150
16154
  * To search for a literal value that starts with `//`, quote it: `key:"//value"`.
16151
16155
  * See [regular expressions](/concepts/search/#regular-expressions-logs-only) for more details.
16152
16156
  *
@@ -34490,6 +34494,42 @@ export type UpdateProjectReleaseFileResponses = {
34490
34494
  };
34491
34495
  };
34492
34496
  export type UpdateProjectReleaseFileResponse = UpdateProjectReleaseFileResponses[keyof UpdateProjectReleaseFileResponses];
34497
+ export type GetProjectReleaseSetupCompletionData = {
34498
+ body?: never;
34499
+ path: {
34500
+ /**
34501
+ * The ID or slug of the organization the resource belongs to.
34502
+ */
34503
+ organization_id_or_slug: string;
34504
+ /**
34505
+ * The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
34506
+ */
34507
+ project_id_or_slug: string;
34508
+ };
34509
+ query?: never;
34510
+ url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/releases/completion/';
34511
+ };
34512
+ export type GetProjectReleaseSetupCompletionErrors = {
34513
+ /**
34514
+ * Unauthorized
34515
+ */
34516
+ 401: unknown;
34517
+ /**
34518
+ * Forbidden
34519
+ */
34520
+ 403: unknown;
34521
+ /**
34522
+ * Not Found
34523
+ */
34524
+ 404: unknown;
34525
+ };
34526
+ export type GetProjectReleaseSetupCompletionResponses = {
34527
+ 200: Array<{
34528
+ step: 'tag' | 'repo' | 'commit' | 'deploy';
34529
+ complete: boolean;
34530
+ }>;
34531
+ };
34532
+ export type GetProjectReleaseSetupCompletionResponse = GetProjectReleaseSetupCompletionResponses[keyof GetProjectReleaseSetupCompletionResponses];
34493
34533
  export type DeleteProjectReplayData = {
34494
34534
  body?: never;
34495
34535
  path: {
@@ -3527,6 +3527,10 @@ export declare const vListReleaseFiles: v.ArraySchema<v.ObjectSchema<{
3527
3527
  readonly sha1: v.StringSchema<undefined>;
3528
3528
  readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
3529
3529
  }, undefined>, undefined>;
3530
+ export declare const vListReleaseSetupSteps: v.ArraySchema<v.ObjectSchema<{
3531
+ readonly step: v.PicklistSchema<["tag", "repo", "commit", "deploy"], undefined>;
3532
+ readonly complete: v.BooleanSchema<undefined>;
3533
+ }, undefined>, undefined>;
3530
3534
  export declare const vListReplayClicks: v.ObjectSchema<{
3531
3535
  readonly data: v.ArraySchema<v.ObjectSchema<{
3532
3536
  readonly node_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
@@ -16649,6 +16653,18 @@ export declare const vUpdateProjectReleaseFileResponse: v.ObjectSchema<{
16649
16653
  readonly sha1: v.StringSchema<undefined>;
16650
16654
  readonly dateCreated: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
16651
16655
  }, undefined>;
16656
+ export declare const vGetProjectReleaseSetupCompletionData: v.ObjectSchema<{
16657
+ readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
16658
+ readonly path: v.ObjectSchema<{
16659
+ readonly organization_id_or_slug: v.StringSchema<undefined>;
16660
+ readonly project_id_or_slug: v.StringSchema<undefined>;
16661
+ }, undefined>;
16662
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
16663
+ }, undefined>;
16664
+ export declare const vGetProjectReleaseSetupCompletionResponse: v.ArraySchema<v.ObjectSchema<{
16665
+ readonly step: v.PicklistSchema<["tag", "repo", "commit", "deploy"], undefined>;
16666
+ readonly complete: v.BooleanSchema<undefined>;
16667
+ }, undefined>, undefined>;
16652
16668
  export declare const vDeleteProjectReplayData: v.ObjectSchema<{
16653
16669
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
16654
16670
  readonly path: v.ObjectSchema<{
package/dist/valibot.js CHANGED
@@ -4382,6 +4382,15 @@ var vListReleaseFiles = v.array(v.object({
4382
4382
  sha1: v.string(),
4383
4383
  dateCreated: v.pipe(v.string(), v.isoTimestamp())
4384
4384
  }));
4385
+ var vListReleaseSetupSteps = v.array(v.object({
4386
+ step: v.picklist([
4387
+ "tag",
4388
+ "repo",
4389
+ "commit",
4390
+ "deploy"
4391
+ ]),
4392
+ complete: v.boolean()
4393
+ }));
4385
4394
  var vListReplayClicks = v.object({
4386
4395
  data: v.array(v.object({
4387
4396
  node_id: v.pipe(v.number(), v.integer()),
@@ -20968,6 +20977,23 @@ var vUpdateProjectReleaseFileResponse = v.object({
20968
20977
  sha1: v.string(),
20969
20978
  dateCreated: v.pipe(v.string(), v.isoTimestamp())
20970
20979
  });
20980
+ var vGetProjectReleaseSetupCompletionData = v.object({
20981
+ body: v.optional(v.never()),
20982
+ path: v.object({
20983
+ organization_id_or_slug: v.string(),
20984
+ project_id_or_slug: v.string()
20985
+ }),
20986
+ query: v.optional(v.never())
20987
+ });
20988
+ var vGetProjectReleaseSetupCompletionResponse = v.array(v.object({
20989
+ step: v.picklist([
20990
+ "tag",
20991
+ "repo",
20992
+ "commit",
20993
+ "deploy"
20994
+ ]),
20995
+ complete: v.boolean()
20996
+ }));
20971
20997
  var vDeleteProjectReplayData = v.object({
20972
20998
  body: v.optional(v.never()),
20973
20999
  path: v.object({
@@ -24448,6 +24474,7 @@ export {
24448
24474
  vListReplayRecordingSegments,
24449
24475
  vListReplayDeletionJobs,
24450
24476
  vListReplayClicks,
24477
+ vListReleaseSetupSteps,
24451
24478
  vListReleaseFiles,
24452
24479
  vListProjectUsersResponse2,
24453
24480
  vListProjectUsersResponse,
@@ -24671,6 +24698,8 @@ export {
24671
24698
  vGetProjectReplayRecordingSegmentData,
24672
24699
  vGetProjectReplayDeletionJobResponse,
24673
24700
  vGetProjectReplayDeletionJobData,
24701
+ vGetProjectReleaseSetupCompletionResponse,
24702
+ vGetProjectReleaseSetupCompletionData,
24674
24703
  vGetProjectReleaseFileResponse,
24675
24704
  vGetProjectReleaseFileData,
24676
24705
  vGetProjectProfilingProfileResponse,