@bugbug-io/api-schema 14.8.0 → 14.9.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.
@@ -602,7 +602,11 @@ export interface paths {
602
602
  delete?: never;
603
603
  options?: never;
604
604
  head?: never;
605
- patch?: never;
605
+ /**
606
+ * Update suite run
607
+ * @description Partially updates the suite run. Only `notes` can be changed.
608
+ */
609
+ patch: operations["v2_suiteruns_partial_update"];
606
610
  trace?: never;
607
611
  };
608
612
  "/api/v2/suiteruns/{id}/debug-artifacts/": {
@@ -705,6 +709,26 @@ export interface paths {
705
709
  patch?: never;
706
710
  trace?: never;
707
711
  };
712
+ "/api/v2/suiteruns/{id}/tags/": {
713
+ parameters: {
714
+ query?: never;
715
+ header?: never;
716
+ path?: never;
717
+ cookie?: never;
718
+ };
719
+ get?: never;
720
+ /**
721
+ * Replace suite run tags
722
+ * @description Replaces directly assigned tags. Inherited tags are preserved. Tag names that do not exist yet are created in the project with a default color.
723
+ */
724
+ put: operations["v2_suiteruns_tags_update"];
725
+ post?: never;
726
+ delete?: never;
727
+ options?: never;
728
+ head?: never;
729
+ patch?: never;
730
+ trace?: never;
731
+ };
708
732
  "/api/v2/suites/": {
709
733
  parameters: {
710
734
  query?: never;
@@ -761,6 +785,69 @@ export interface paths {
761
785
  patch: operations["v2_suites_partial_update"];
762
786
  trace?: never;
763
787
  };
788
+ "/api/v2/suites/{id}/tags/": {
789
+ parameters: {
790
+ query?: never;
791
+ header?: never;
792
+ path?: never;
793
+ cookie?: never;
794
+ };
795
+ get?: never;
796
+ /**
797
+ * Replace suite tags
798
+ * @description Replaces tags assigned to the suite. Tag names that do not exist yet are created in the project with a default color.
799
+ */
800
+ put: operations["v2_suites_tags_update"];
801
+ post?: never;
802
+ delete?: never;
803
+ options?: never;
804
+ head?: never;
805
+ patch?: never;
806
+ trace?: never;
807
+ };
808
+ "/api/v2/tags/": {
809
+ parameters: {
810
+ query?: never;
811
+ header?: never;
812
+ path?: never;
813
+ cookie?: never;
814
+ };
815
+ /**
816
+ * List project tags
817
+ * @description Returns tags for the selected project with test and suite usage counts.
818
+ */
819
+ get: operations["v2_tags_list"];
820
+ put?: never;
821
+ /** Create project tag */
822
+ post: operations["v2_tags_create"];
823
+ delete?: never;
824
+ options?: never;
825
+ head?: never;
826
+ patch?: never;
827
+ trace?: never;
828
+ };
829
+ "/api/v2/tags/{id}/": {
830
+ parameters: {
831
+ query?: never;
832
+ header?: never;
833
+ path?: never;
834
+ cookie?: never;
835
+ };
836
+ /** Retrieve project tag */
837
+ get: operations["v2_tags_retrieve"];
838
+ put?: never;
839
+ post?: never;
840
+ /**
841
+ * Delete project tag
842
+ * @description Deletes the tag and all of its assignments.
843
+ */
844
+ delete: operations["v2_tags_destroy"];
845
+ options?: never;
846
+ head?: never;
847
+ /** Update project tag */
848
+ patch: operations["v2_tags_partial_update"];
849
+ trace?: never;
850
+ };
764
851
  "/api/v2/testruns/": {
765
852
  parameters: {
766
853
  query?: never;
@@ -802,7 +889,11 @@ export interface paths {
802
889
  delete?: never;
803
890
  options?: never;
804
891
  head?: never;
805
- patch?: never;
892
+ /**
893
+ * Update test run
894
+ * @description Partially updates the test run. Only `notes` can be changed.
895
+ */
896
+ patch: operations["v2_testruns_partial_update"];
806
897
  trace?: never;
807
898
  };
808
899
  "/api/v2/testruns/{id}/debug-artifacts/": {
@@ -945,6 +1036,26 @@ export interface paths {
945
1036
  patch?: never;
946
1037
  trace?: never;
947
1038
  };
1039
+ "/api/v2/testruns/{id}/tags/": {
1040
+ parameters: {
1041
+ query?: never;
1042
+ header?: never;
1043
+ path?: never;
1044
+ cookie?: never;
1045
+ };
1046
+ get?: never;
1047
+ /**
1048
+ * Replace test run tags
1049
+ * @description Replaces directly assigned tags. Inherited tags are preserved. Tag names that do not exist yet are created in the project with a default color.
1050
+ */
1051
+ put: operations["v2_testruns_tags_update"];
1052
+ post?: never;
1053
+ delete?: never;
1054
+ options?: never;
1055
+ head?: never;
1056
+ patch?: never;
1057
+ trace?: never;
1058
+ };
948
1059
  "/api/v2/tests/": {
949
1060
  parameters: {
950
1061
  query?: never;
@@ -981,7 +1092,7 @@ export interface paths {
981
1092
  * @description Returns a single test.
982
1093
  */
983
1094
  get: operations["v2_tests_retrieve"];
984
- put?: never;
1095
+ put: operations["v2_tests_update"];
985
1096
  post?: never;
986
1097
  /**
987
1098
  * Retrieve a test by its ID and remove it
@@ -1037,6 +1148,26 @@ export interface paths {
1037
1148
  patch?: never;
1038
1149
  trace?: never;
1039
1150
  };
1151
+ "/api/v2/tests/{id}/tags/": {
1152
+ parameters: {
1153
+ query?: never;
1154
+ header?: never;
1155
+ path?: never;
1156
+ cookie?: never;
1157
+ };
1158
+ get?: never;
1159
+ /**
1160
+ * Replace test tags
1161
+ * @description Replaces tags assigned to the test. Tag names that do not exist yet are created in the project with a default color.
1162
+ */
1163
+ put: operations["v2_tests_tags_update"];
1164
+ post?: never;
1165
+ delete?: never;
1166
+ options?: never;
1167
+ head?: never;
1168
+ patch?: never;
1169
+ trace?: never;
1170
+ };
1040
1171
  "/api/v2/tests/{id}/unlink-component/": {
1041
1172
  parameters: {
1042
1173
  query?: never;
@@ -3519,6 +3650,9 @@ export interface components {
3519
3650
  /** Format: uuid */
3520
3651
  folderId?: string | null;
3521
3652
  };
3653
+ PatchedV2RunUpdate: {
3654
+ notes?: string | null;
3655
+ };
3522
3656
  PatchedV2SuiteCreate: {
3523
3657
  autoAddNewTests?: boolean;
3524
3658
  autoRetry?: number;
@@ -3532,6 +3666,13 @@ export interface components {
3532
3666
  tests?: string[];
3533
3667
  beforeAll?: string[];
3534
3668
  afterAll?: string[];
3669
+ tags?: string[];
3670
+ tagIds?: string[];
3671
+ };
3672
+ PatchedV2TagCreateUpdate: {
3673
+ /** @description Tag names cannot contain commas or control characters. */
3674
+ name?: string;
3675
+ color?: string;
3535
3676
  };
3536
3677
  PatchedV2TestCreate: {
3537
3678
  name?: string | null;
@@ -3546,6 +3687,8 @@ export interface components {
3546
3687
  notes?: string | null;
3547
3688
  /** Format: uuid */
3548
3689
  folderId?: string | null;
3690
+ tags?: string[];
3691
+ tagIds?: string[];
3549
3692
  };
3550
3693
  PatchedV2VisualRegressionRefScreenshotUpdate: {
3551
3694
  /** Format: uri */
@@ -4791,6 +4934,20 @@ export interface components {
4791
4934
  runProfileId?: string | null;
4792
4935
  /** @default [] */
4793
4936
  variables: components["schemas"]["V2OverrideVariable"][] | null;
4937
+ tags?: string[];
4938
+ /** Format: uri */
4939
+ baseUrl?: string | null;
4940
+ };
4941
+ V2RunTag: {
4942
+ /** Format: uuid */
4943
+ readonly id: string;
4944
+ readonly name: string;
4945
+ readonly color: string;
4946
+ readonly inherited: boolean;
4947
+ };
4948
+ V2RunTagsUpdate: {
4949
+ tags?: string[];
4950
+ tagIds?: string[];
4794
4951
  };
4795
4952
  V2RunTestDocs: {
4796
4953
  /** Format: uuid */
@@ -4799,6 +4956,7 @@ export interface components {
4799
4956
  runProfileId?: string | null;
4800
4957
  /** @default [] */
4801
4958
  variables: components["schemas"]["V2OverrideVariable"][] | null;
4959
+ tags?: string[];
4802
4960
  };
4803
4961
  V2StepRunDetail: {
4804
4962
  /** Format: uuid */
@@ -4883,27 +5041,28 @@ export interface components {
4883
5041
  screenshotUrl: string;
4884
5042
  };
4885
5043
  V2Suite: {
4886
- /** Format: uuid */
4887
- readonly id: string;
4888
- readonly name: string | null;
4889
- readonly testsCount: number;
4890
- readonly tests: {
4891
- [key: string]: unknown;
4892
- }[];
4893
- readonly beforeAll: {
4894
- [key: string]: unknown;
4895
- }[];
4896
5044
  readonly afterAll: {
4897
5045
  [key: string]: unknown;
4898
5046
  }[];
4899
5047
  readonly autoAddNewTests: boolean;
4900
5048
  readonly autoRetry: number;
4901
5049
  readonly beforeAfterAllEnabled: boolean;
5050
+ readonly beforeAll: {
5051
+ [key: string]: unknown;
5052
+ }[];
5053
+ /** Format: uuid */
5054
+ readonly id: string;
5055
+ readonly name: string | null;
4902
5056
  /** Suite notes */
4903
5057
  readonly notes: string | null;
4904
5058
  readonly runInParallel: boolean;
4905
5059
  /** Format: uuid */
4906
5060
  readonly runProfileId: string | null;
5061
+ readonly tags: components["schemas"]["V2Tag"][];
5062
+ readonly tests: {
5063
+ [key: string]: unknown;
5064
+ }[];
5065
+ readonly testsCount: number;
4907
5066
  };
4908
5067
  V2SuiteCreate: {
4909
5068
  autoAddNewTests?: boolean;
@@ -4918,29 +5077,32 @@ export interface components {
4918
5077
  tests?: string[];
4919
5078
  beforeAll?: string[];
4920
5079
  afterAll?: string[];
5080
+ tags?: string[];
5081
+ tagIds?: string[];
4921
5082
  };
4922
5083
  V2SuiteDetails: {
4923
- /** Format: uuid */
4924
- readonly id: string;
4925
- readonly name: string | null;
4926
- readonly testsCount: number;
4927
- readonly tests: {
4928
- [key: string]: unknown;
4929
- }[];
4930
- readonly beforeAll: {
4931
- [key: string]: unknown;
4932
- }[];
4933
5084
  readonly afterAll: {
4934
5085
  [key: string]: unknown;
4935
5086
  }[];
4936
5087
  readonly autoAddNewTests: boolean;
4937
5088
  readonly autoRetry: number;
4938
5089
  readonly beforeAfterAllEnabled: boolean;
5090
+ readonly beforeAll: {
5091
+ [key: string]: unknown;
5092
+ }[];
5093
+ /** Format: uuid */
5094
+ readonly id: string;
5095
+ readonly name: string | null;
4939
5096
  /** Suite notes */
4940
5097
  readonly notes: string | null;
4941
5098
  readonly runInParallel: boolean;
4942
5099
  /** Format: uuid */
4943
5100
  readonly runProfileId: string | null;
5101
+ readonly tags: components["schemas"]["V2Tag"][];
5102
+ readonly tests: {
5103
+ [key: string]: unknown;
5104
+ }[];
5105
+ readonly testsCount: number;
4944
5106
  readonly webappUrl: string;
4945
5107
  };
4946
5108
  V2SuiteRun: {
@@ -4952,6 +5114,7 @@ export interface components {
4952
5114
  /** Format: uuid */
4953
5115
  readonly id: string;
4954
5116
  readonly name: string;
5117
+ readonly notes: string | null;
4955
5118
  readonly parallelRun: boolean | null;
4956
5119
  /** Max possible slots for parallel run */
4957
5120
  readonly parallelSlots: number | null;
@@ -4987,6 +5150,7 @@ export interface components {
4987
5150
  readonly status: "error" | "passed" | "failed" | "running" | "auto_retrying" | "stopped" | "queued" | "paused" | "skipped" | "recording" | "initialized";
4988
5151
  /** Format: uuid */
4989
5152
  readonly suiteId: string | null;
5153
+ readonly tags: components["schemas"]["V2RunTag"][];
4990
5154
  readonly testRuns: components["schemas"]["V2TestRun"][];
4991
5155
  readonly triggeredBy: string;
4992
5156
  readonly userId: string | null;
@@ -4998,8 +5162,12 @@ export interface components {
4998
5162
  readonly testsRuns: components["schemas"]["V2TestRunScreenshots"][];
4999
5163
  };
5000
5164
  V2SuiteRunState: {
5165
+ readonly duration: string | null;
5166
+ readonly finishedTests: number;
5001
5167
  /** Format: uuid */
5002
5168
  readonly id: string;
5169
+ /** Format: date-time */
5170
+ readonly modified: string;
5003
5171
  /**
5004
5172
  * @description * `error` - Error
5005
5173
  * * `passed` - Passed
@@ -5015,19 +5183,40 @@ export interface components {
5015
5183
  * @enum {string}
5016
5184
  */
5017
5185
  readonly status: "error" | "passed" | "failed" | "running" | "auto_retrying" | "stopped" | "queued" | "paused" | "skipped" | "recording" | "initialized";
5018
- readonly finishedTests: number;
5186
+ readonly tags: components["schemas"]["V2RunTag"][];
5019
5187
  readonly totalTests: number;
5020
- /** Format: date-time */
5021
- readonly modified: string;
5022
5188
  readonly webappUrl: string;
5023
- readonly duration: string | null;
5024
5189
  };
5025
- V2Test: {
5190
+ V2Tag: {
5191
+ readonly color: string;
5026
5192
  /** Format: uuid */
5027
5193
  readonly id: string;
5028
- name?: string;
5194
+ readonly name: string;
5195
+ };
5196
+ V2TagAssignmentsUpdate: {
5197
+ tags?: string[];
5198
+ tagIds?: string[];
5199
+ };
5200
+ V2TagCreateUpdate: {
5201
+ /** @description Tag names cannot contain commas or control characters. */
5202
+ name: string;
5203
+ color?: string;
5204
+ };
5205
+ V2TagList: {
5206
+ readonly color: string;
5207
+ /** Format: uuid */
5208
+ readonly id: string;
5209
+ readonly name: string;
5210
+ readonly suitesCount: number;
5211
+ readonly testsCount: number;
5212
+ };
5213
+ V2Test: {
5029
5214
  /** Format: uuid */
5030
5215
  folderId?: string | null;
5216
+ /** Format: uuid */
5217
+ readonly id: string;
5218
+ name?: string;
5219
+ readonly tags: components["schemas"]["V2Tag"][];
5031
5220
  };
5032
5221
  V2TestCreate: {
5033
5222
  name?: string | null;
@@ -5042,13 +5231,16 @@ export interface components {
5042
5231
  notes?: string | null;
5043
5232
  /** Format: uuid */
5044
5233
  folderId?: string | null;
5234
+ tags?: string[];
5235
+ tagIds?: string[];
5045
5236
  };
5046
5237
  V2TestDetails: {
5238
+ /** Format: uuid */
5239
+ folderId?: string | null;
5047
5240
  /** Format: uuid */
5048
5241
  readonly id: string;
5049
5242
  name?: string;
5050
- /** Format: uuid */
5051
- folderId?: string | null;
5243
+ readonly tags: components["schemas"]["V2Tag"][];
5052
5244
  readonly groups: string;
5053
5245
  /** Test notes */
5054
5246
  readonly notes: string | null;
@@ -5063,12 +5255,9 @@ export interface components {
5063
5255
  };
5064
5256
  V2TestRun: {
5065
5257
  readonly browserName: string | null;
5066
- readonly browserVersion: string | null;
5067
5258
  readonly browserHeight: number | null;
5259
+ readonly browserVersion: string | null;
5068
5260
  readonly browserWidth: number | null;
5069
- readonly stepsRuns: string;
5070
- /** Format: uuid */
5071
- readonly userId: string | null;
5072
5261
  readonly duration: string | null;
5073
5262
  /** Format: date-time */
5074
5263
  readonly ended: string | null;
@@ -5078,6 +5267,7 @@ export interface components {
5078
5267
  readonly id: string;
5079
5268
  readonly isAutoRetried: boolean;
5080
5269
  readonly name: string;
5270
+ readonly notes: string | null;
5081
5271
  readonly osName: string | null;
5082
5272
  /** Format: uuid */
5083
5273
  readonly profileId: string;
@@ -5125,8 +5315,10 @@ export interface components {
5125
5315
  * @enum {string}
5126
5316
  */
5127
5317
  readonly status: "error" | "passed" | "failed" | "running" | "auto_retrying" | "stopped" | "queued" | "paused" | "skipped" | "recording" | "initialized";
5318
+ readonly stepsRuns: string;
5128
5319
  /** Format: uuid */
5129
5320
  readonly suiteRunId: string | null;
5321
+ readonly tags: components["schemas"]["V2RunTag"][];
5130
5322
  /** Format: uuid */
5131
5323
  readonly testId: string | null;
5132
5324
  /**
@@ -5137,9 +5329,12 @@ export interface components {
5137
5329
  * * `github` - Github
5138
5330
  * * `cli` - Cli
5139
5331
  * * `agent` - Agent
5332
+ * * `vercel` - Vercel
5140
5333
  * @enum {string}
5141
5334
  */
5142
- readonly triggeredBy: "user" | "api" | "webhook" | "scheduler" | "github" | "cli" | "agent";
5335
+ readonly triggeredBy: "user" | "api" | "webhook" | "scheduler" | "github" | "cli" | "agent" | "vercel";
5336
+ /** Format: uuid */
5337
+ readonly userId: string | null;
5143
5338
  readonly webappUrl: string;
5144
5339
  };
5145
5340
  V2TestRunScreenshots: {
@@ -5148,9 +5343,10 @@ export interface components {
5148
5343
  readonly stepsRuns: components["schemas"]["V2StepRunScreenshot"][];
5149
5344
  };
5150
5345
  V2TestRunState: {
5346
+ readonly duration: string | null;
5347
+ readonly finishedSteps: number;
5151
5348
  /** Format: uuid */
5152
5349
  readonly id: string;
5153
- readonly finishedSteps: number;
5154
5350
  /** Format: date-time */
5155
5351
  readonly modified: string;
5156
5352
  /**
@@ -5168,9 +5364,9 @@ export interface components {
5168
5364
  * @enum {string}
5169
5365
  */
5170
5366
  readonly status: "error" | "passed" | "failed" | "running" | "auto_retrying" | "stopped" | "queued" | "paused" | "skipped" | "recording" | "initialized";
5367
+ readonly tags: components["schemas"]["V2RunTag"][];
5171
5368
  readonly totalSteps: number;
5172
5369
  readonly webappUrl: string;
5173
- readonly duration: string | null;
5174
5370
  };
5175
5371
  V2UpdateStepPosition: {
5176
5372
  /** Format: uuid */
@@ -6674,6 +6870,8 @@ export interface operations {
6674
6870
  /** @description Filter list by suite ID. */
6675
6871
  suiteId?: string;
6676
6872
  suite_id?: string;
6873
+ /** @description Comma-separated tag names. Names cannot contain commas. Matching is case-insensitive and uses AND semantics. */
6874
+ tags?: string;
6677
6875
  };
6678
6876
  header?: never;
6679
6877
  path?: never;
@@ -6771,6 +6969,53 @@ export interface operations {
6771
6969
  };
6772
6970
  };
6773
6971
  };
6972
+ v2_suiteruns_partial_update: {
6973
+ parameters: {
6974
+ query?: never;
6975
+ header?: never;
6976
+ path: {
6977
+ /** @description A UUID string identifying this suite run. */
6978
+ id: string;
6979
+ };
6980
+ cookie?: never;
6981
+ };
6982
+ requestBody?: {
6983
+ content: {
6984
+ "application/json": components["schemas"]["PatchedV2RunUpdate"];
6985
+ };
6986
+ };
6987
+ responses: {
6988
+ 200: {
6989
+ headers: {
6990
+ [name: string]: unknown;
6991
+ };
6992
+ content: {
6993
+ "application/json": components["schemas"]["V2SuiteRun"];
6994
+ };
6995
+ };
6996
+ /** @description Request body failed validation. */
6997
+ 400: {
6998
+ headers: {
6999
+ [name: string]: unknown;
7000
+ };
7001
+ content?: never;
7002
+ };
7003
+ /** @description Authentication credentials were missing or invalid. */
7004
+ 401: {
7005
+ headers: {
7006
+ [name: string]: unknown;
7007
+ };
7008
+ content?: never;
7009
+ };
7010
+ /** @description Resource not found. */
7011
+ 404: {
7012
+ headers: {
7013
+ [name: string]: unknown;
7014
+ };
7015
+ content?: never;
7016
+ };
7017
+ };
7018
+ };
6774
7019
  v2_suiteruns_debug_artifacts_list: {
6775
7020
  parameters: {
6776
7021
  query?: never;
@@ -6959,21 +7204,70 @@ export interface operations {
6959
7204
  };
6960
7205
  };
6961
7206
  };
6962
- v2_suites_list: {
7207
+ v2_suiteruns_tags_update: {
6963
7208
  parameters: {
6964
- query?: {
6965
- /** @description Include the latest run summary for each suite. */
6966
- latestRun?: boolean;
6967
- ordering?: "-created" | "-name" | "created" | "name";
6968
- /** @description A page number within the paginated result set. */
6969
- page?: number;
6970
- /** @description Number of results to return per page. */
6971
- page_size?: number;
6972
- /** @description Search in names with the following query */
6973
- query?: string;
6974
- };
7209
+ query?: never;
6975
7210
  header?: never;
6976
- path?: never;
7211
+ path: {
7212
+ /** @description A UUID string identifying this suite run. */
7213
+ id: string;
7214
+ };
7215
+ cookie?: never;
7216
+ };
7217
+ requestBody?: {
7218
+ content: {
7219
+ "application/json": components["schemas"]["V2RunTagsUpdate"];
7220
+ };
7221
+ };
7222
+ responses: {
7223
+ 200: {
7224
+ headers: {
7225
+ [name: string]: unknown;
7226
+ };
7227
+ content: {
7228
+ "application/json": components["schemas"]["V2RunTag"][];
7229
+ };
7230
+ };
7231
+ /** @description Request body failed validation. */
7232
+ 400: {
7233
+ headers: {
7234
+ [name: string]: unknown;
7235
+ };
7236
+ content?: never;
7237
+ };
7238
+ /** @description Authentication credentials were missing or invalid. */
7239
+ 401: {
7240
+ headers: {
7241
+ [name: string]: unknown;
7242
+ };
7243
+ content?: never;
7244
+ };
7245
+ /** @description Resource not found. */
7246
+ 404: {
7247
+ headers: {
7248
+ [name: string]: unknown;
7249
+ };
7250
+ content?: never;
7251
+ };
7252
+ };
7253
+ };
7254
+ v2_suites_list: {
7255
+ parameters: {
7256
+ query?: {
7257
+ /** @description Include the latest run summary for each suite. */
7258
+ latestRun?: boolean;
7259
+ ordering?: "-created" | "-name" | "created" | "name";
7260
+ /** @description A page number within the paginated result set. */
7261
+ page?: number;
7262
+ /** @description Number of results to return per page. */
7263
+ page_size?: number;
7264
+ /** @description Search in names with the following query */
7265
+ query?: string;
7266
+ /** @description Comma-separated tag names. Names cannot contain commas. Matching is case-insensitive and uses AND semantics. */
7267
+ tags?: string;
7268
+ };
7269
+ header?: never;
7270
+ path?: never;
6977
7271
  cookie?: never;
6978
7272
  };
6979
7273
  requestBody?: never;
@@ -7197,6 +7491,251 @@ export interface operations {
7197
7491
  };
7198
7492
  };
7199
7493
  };
7494
+ v2_suites_tags_update: {
7495
+ parameters: {
7496
+ query?: never;
7497
+ header?: never;
7498
+ path: {
7499
+ /** @description A UUID string identifying this suite. */
7500
+ id: string;
7501
+ };
7502
+ cookie?: never;
7503
+ };
7504
+ requestBody?: {
7505
+ content: {
7506
+ "application/json": components["schemas"]["V2TagAssignmentsUpdate"];
7507
+ };
7508
+ };
7509
+ responses: {
7510
+ 200: {
7511
+ headers: {
7512
+ [name: string]: unknown;
7513
+ };
7514
+ content: {
7515
+ "application/json": components["schemas"]["V2Tag"][];
7516
+ };
7517
+ };
7518
+ /** @description Request body failed validation. */
7519
+ 400: {
7520
+ headers: {
7521
+ [name: string]: unknown;
7522
+ };
7523
+ content?: never;
7524
+ };
7525
+ /** @description Authentication credentials were missing or invalid. */
7526
+ 401: {
7527
+ headers: {
7528
+ [name: string]: unknown;
7529
+ };
7530
+ content?: never;
7531
+ };
7532
+ /** @description Resource not found. */
7533
+ 404: {
7534
+ headers: {
7535
+ [name: string]: unknown;
7536
+ };
7537
+ content?: never;
7538
+ };
7539
+ };
7540
+ };
7541
+ v2_tags_list: {
7542
+ parameters: {
7543
+ query?: {
7544
+ /** @description Project ID. Required for organization and user API tokens. */
7545
+ projectId?: string;
7546
+ };
7547
+ header?: never;
7548
+ path?: never;
7549
+ cookie?: never;
7550
+ };
7551
+ requestBody?: never;
7552
+ responses: {
7553
+ 200: {
7554
+ headers: {
7555
+ [name: string]: unknown;
7556
+ };
7557
+ content: {
7558
+ "application/json": components["schemas"]["V2TagList"][];
7559
+ };
7560
+ };
7561
+ /** @description Authentication credentials were missing or invalid. */
7562
+ 401: {
7563
+ headers: {
7564
+ [name: string]: unknown;
7565
+ };
7566
+ content?: never;
7567
+ };
7568
+ };
7569
+ };
7570
+ v2_tags_create: {
7571
+ parameters: {
7572
+ query?: {
7573
+ /** @description Project ID. Required for organization and user API tokens. */
7574
+ projectId?: string;
7575
+ };
7576
+ header?: never;
7577
+ path?: never;
7578
+ cookie?: never;
7579
+ };
7580
+ requestBody: {
7581
+ content: {
7582
+ "application/x-www-form-urlencoded": components["schemas"]["V2TagCreateUpdate"];
7583
+ "application/json": components["schemas"]["V2TagCreateUpdate"];
7584
+ };
7585
+ };
7586
+ responses: {
7587
+ 201: {
7588
+ headers: {
7589
+ [name: string]: unknown;
7590
+ };
7591
+ content: {
7592
+ "application/json": components["schemas"]["V2Tag"];
7593
+ };
7594
+ };
7595
+ /** @description Request body failed validation. */
7596
+ 400: {
7597
+ headers: {
7598
+ [name: string]: unknown;
7599
+ };
7600
+ content?: never;
7601
+ };
7602
+ /** @description Authentication credentials were missing or invalid. */
7603
+ 401: {
7604
+ headers: {
7605
+ [name: string]: unknown;
7606
+ };
7607
+ content?: never;
7608
+ };
7609
+ };
7610
+ };
7611
+ v2_tags_retrieve: {
7612
+ parameters: {
7613
+ query?: {
7614
+ /** @description Project ID. Required for organization and user API tokens. */
7615
+ projectId?: string;
7616
+ };
7617
+ header?: never;
7618
+ path: {
7619
+ /** @description A UUID string identifying this tag. */
7620
+ id: string;
7621
+ };
7622
+ cookie?: never;
7623
+ };
7624
+ requestBody?: never;
7625
+ responses: {
7626
+ 200: {
7627
+ headers: {
7628
+ [name: string]: unknown;
7629
+ };
7630
+ content: {
7631
+ "application/json": components["schemas"]["V2Tag"];
7632
+ };
7633
+ };
7634
+ /** @description Authentication credentials were missing or invalid. */
7635
+ 401: {
7636
+ headers: {
7637
+ [name: string]: unknown;
7638
+ };
7639
+ content?: never;
7640
+ };
7641
+ /** @description Resource not found. */
7642
+ 404: {
7643
+ headers: {
7644
+ [name: string]: unknown;
7645
+ };
7646
+ content?: never;
7647
+ };
7648
+ };
7649
+ };
7650
+ v2_tags_destroy: {
7651
+ parameters: {
7652
+ query?: {
7653
+ /** @description Project ID. Required for organization and user API tokens. */
7654
+ projectId?: string;
7655
+ };
7656
+ header?: never;
7657
+ path: {
7658
+ /** @description A UUID string identifying this tag. */
7659
+ id: string;
7660
+ };
7661
+ cookie?: never;
7662
+ };
7663
+ requestBody?: never;
7664
+ responses: {
7665
+ /** @description No response body */
7666
+ 204: {
7667
+ headers: {
7668
+ [name: string]: unknown;
7669
+ };
7670
+ content?: never;
7671
+ };
7672
+ /** @description Authentication credentials were missing or invalid. */
7673
+ 401: {
7674
+ headers: {
7675
+ [name: string]: unknown;
7676
+ };
7677
+ content?: never;
7678
+ };
7679
+ /** @description Resource not found. */
7680
+ 404: {
7681
+ headers: {
7682
+ [name: string]: unknown;
7683
+ };
7684
+ content?: never;
7685
+ };
7686
+ };
7687
+ };
7688
+ v2_tags_partial_update: {
7689
+ parameters: {
7690
+ query?: {
7691
+ /** @description Project ID. Required for organization and user API tokens. */
7692
+ projectId?: string;
7693
+ };
7694
+ header?: never;
7695
+ path: {
7696
+ /** @description A UUID string identifying this tag. */
7697
+ id: string;
7698
+ };
7699
+ cookie?: never;
7700
+ };
7701
+ requestBody?: {
7702
+ content: {
7703
+ "application/x-www-form-urlencoded": components["schemas"]["PatchedV2TagCreateUpdate"];
7704
+ "application/json": components["schemas"]["PatchedV2TagCreateUpdate"];
7705
+ };
7706
+ };
7707
+ responses: {
7708
+ 200: {
7709
+ headers: {
7710
+ [name: string]: unknown;
7711
+ };
7712
+ content: {
7713
+ "application/json": components["schemas"]["V2Tag"];
7714
+ };
7715
+ };
7716
+ /** @description Request body failed validation. */
7717
+ 400: {
7718
+ headers: {
7719
+ [name: string]: unknown;
7720
+ };
7721
+ content?: never;
7722
+ };
7723
+ /** @description Authentication credentials were missing or invalid. */
7724
+ 401: {
7725
+ headers: {
7726
+ [name: string]: unknown;
7727
+ };
7728
+ content?: never;
7729
+ };
7730
+ /** @description Resource not found. */
7731
+ 404: {
7732
+ headers: {
7733
+ [name: string]: unknown;
7734
+ };
7735
+ content?: never;
7736
+ };
7737
+ };
7738
+ };
7200
7739
  v2_testruns_list: {
7201
7740
  parameters: {
7202
7741
  query?: {
@@ -7220,6 +7759,8 @@ export interface operations {
7220
7759
  * * `recording` - Recording
7221
7760
  * * `initialized` - Initialized */
7222
7761
  status?: "auto_retrying" | "error" | "failed" | "initialized" | "passed" | "paused" | "queued" | "recording" | "running" | "skipped" | "stopped";
7762
+ /** @description Comma-separated tag names. Names cannot contain commas. Matching is case-insensitive and uses AND semantics. */
7763
+ tags?: string;
7223
7764
  /** @description Filter by test id. */
7224
7765
  testId?: string;
7225
7766
  };
@@ -7319,6 +7860,53 @@ export interface operations {
7319
7860
  };
7320
7861
  };
7321
7862
  };
7863
+ v2_testruns_partial_update: {
7864
+ parameters: {
7865
+ query?: never;
7866
+ header?: never;
7867
+ path: {
7868
+ /** @description A UUID string identifying this test run. */
7869
+ id: string;
7870
+ };
7871
+ cookie?: never;
7872
+ };
7873
+ requestBody?: {
7874
+ content: {
7875
+ "application/json": components["schemas"]["PatchedV2RunUpdate"];
7876
+ };
7877
+ };
7878
+ responses: {
7879
+ 200: {
7880
+ headers: {
7881
+ [name: string]: unknown;
7882
+ };
7883
+ content: {
7884
+ "application/json": components["schemas"]["V2TestRun"];
7885
+ };
7886
+ };
7887
+ /** @description Request body failed validation. */
7888
+ 400: {
7889
+ headers: {
7890
+ [name: string]: unknown;
7891
+ };
7892
+ content?: never;
7893
+ };
7894
+ /** @description Authentication credentials were missing or invalid. */
7895
+ 401: {
7896
+ headers: {
7897
+ [name: string]: unknown;
7898
+ };
7899
+ content?: never;
7900
+ };
7901
+ /** @description Resource not found. */
7902
+ 404: {
7903
+ headers: {
7904
+ [name: string]: unknown;
7905
+ };
7906
+ content?: never;
7907
+ };
7908
+ };
7909
+ };
7322
7910
  v2_testruns_debug_artifacts_list: {
7323
7911
  parameters: {
7324
7912
  query?: never;
@@ -7580,6 +8168,53 @@ export interface operations {
7580
8168
  };
7581
8169
  };
7582
8170
  };
8171
+ v2_testruns_tags_update: {
8172
+ parameters: {
8173
+ query?: never;
8174
+ header?: never;
8175
+ path: {
8176
+ /** @description A UUID string identifying this test run. */
8177
+ id: string;
8178
+ };
8179
+ cookie?: never;
8180
+ };
8181
+ requestBody?: {
8182
+ content: {
8183
+ "application/json": components["schemas"]["V2RunTagsUpdate"];
8184
+ };
8185
+ };
8186
+ responses: {
8187
+ 200: {
8188
+ headers: {
8189
+ [name: string]: unknown;
8190
+ };
8191
+ content: {
8192
+ "application/json": components["schemas"]["V2RunTag"][];
8193
+ };
8194
+ };
8195
+ /** @description Request body failed validation. */
8196
+ 400: {
8197
+ headers: {
8198
+ [name: string]: unknown;
8199
+ };
8200
+ content?: never;
8201
+ };
8202
+ /** @description Authentication credentials were missing or invalid. */
8203
+ 401: {
8204
+ headers: {
8205
+ [name: string]: unknown;
8206
+ };
8207
+ content?: never;
8208
+ };
8209
+ /** @description Resource not found. */
8210
+ 404: {
8211
+ headers: {
8212
+ [name: string]: unknown;
8213
+ };
8214
+ content?: never;
8215
+ };
8216
+ };
8217
+ };
7583
8218
  v2_tests_list: {
7584
8219
  parameters: {
7585
8220
  query?: {
@@ -7595,6 +8230,8 @@ export interface operations {
7595
8230
  page_size?: number;
7596
8231
  /** @description Search in names with the following query */
7597
8232
  query?: string;
8233
+ /** @description Comma-separated tag names. Names cannot contain commas. Matching is case-insensitive and uses AND semantics. */
8234
+ tags?: string;
7598
8235
  };
7599
8236
  header?: never;
7600
8237
  path?: never;
@@ -7693,6 +8330,54 @@ export interface operations {
7693
8330
  };
7694
8331
  };
7695
8332
  };
8333
+ v2_tests_update: {
8334
+ parameters: {
8335
+ query?: never;
8336
+ header?: never;
8337
+ path: {
8338
+ /** @description A UUID string identifying this test. */
8339
+ id: string;
8340
+ };
8341
+ cookie?: never;
8342
+ };
8343
+ requestBody?: {
8344
+ content: {
8345
+ "application/x-www-form-urlencoded": components["schemas"]["V2Test"];
8346
+ "application/json": components["schemas"]["V2Test"];
8347
+ };
8348
+ };
8349
+ responses: {
8350
+ 200: {
8351
+ headers: {
8352
+ [name: string]: unknown;
8353
+ };
8354
+ content: {
8355
+ "application/json": components["schemas"]["V2Test"];
8356
+ };
8357
+ };
8358
+ /** @description Request body failed validation. */
8359
+ 400: {
8360
+ headers: {
8361
+ [name: string]: unknown;
8362
+ };
8363
+ content?: never;
8364
+ };
8365
+ /** @description Authentication credentials were missing or invalid. */
8366
+ 401: {
8367
+ headers: {
8368
+ [name: string]: unknown;
8369
+ };
8370
+ content?: never;
8371
+ };
8372
+ /** @description Resource not found. */
8373
+ 404: {
8374
+ headers: {
8375
+ [name: string]: unknown;
8376
+ };
8377
+ content?: never;
8378
+ };
8379
+ };
8380
+ };
7696
8381
  v2_tests_destroy: {
7697
8382
  parameters: {
7698
8383
  query?: never;
@@ -7861,6 +8546,54 @@ export interface operations {
7861
8546
  };
7862
8547
  };
7863
8548
  };
8549
+ v2_tests_tags_update: {
8550
+ parameters: {
8551
+ query?: never;
8552
+ header?: never;
8553
+ path: {
8554
+ /** @description A UUID string identifying this test. */
8555
+ id: string;
8556
+ };
8557
+ cookie?: never;
8558
+ };
8559
+ requestBody?: {
8560
+ content: {
8561
+ "application/x-www-form-urlencoded": components["schemas"]["V2TagAssignmentsUpdate"];
8562
+ "application/json": components["schemas"]["V2TagAssignmentsUpdate"];
8563
+ };
8564
+ };
8565
+ responses: {
8566
+ 200: {
8567
+ headers: {
8568
+ [name: string]: unknown;
8569
+ };
8570
+ content: {
8571
+ "application/json": components["schemas"]["V2Tag"][];
8572
+ };
8573
+ };
8574
+ /** @description Request body failed validation. */
8575
+ 400: {
8576
+ headers: {
8577
+ [name: string]: unknown;
8578
+ };
8579
+ content?: never;
8580
+ };
8581
+ /** @description Authentication credentials were missing or invalid. */
8582
+ 401: {
8583
+ headers: {
8584
+ [name: string]: unknown;
8585
+ };
8586
+ content?: never;
8587
+ };
8588
+ /** @description Resource not found. */
8589
+ 404: {
8590
+ headers: {
8591
+ [name: string]: unknown;
8592
+ };
8593
+ content?: never;
8594
+ };
8595
+ };
8596
+ };
7864
8597
  v2_tests_unlink_component_create: {
7865
8598
  parameters: {
7866
8599
  query?: never;