@bugbug-io/api-schema 14.18.0 → 14.19.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.
@@ -1236,6 +1236,26 @@ export interface paths {
1236
1236
  patch?: never;
1237
1237
  trace?: never;
1238
1238
  };
1239
+ "/api/v2/tests/{id}/update-group-position/": {
1240
+ parameters: {
1241
+ query?: never;
1242
+ header?: never;
1243
+ path?: never;
1244
+ cookie?: never;
1245
+ };
1246
+ get?: never;
1247
+ put?: never;
1248
+ /**
1249
+ * Move a group to a different position
1250
+ * @description Move a group or component to a new zero-based position within a test. `groupId` is the test-group relation ID returned in the test's `groups[].id`. An `atIndex` past the end moves the group to the last position.
1251
+ */
1252
+ post: operations["v2_tests_update_group_position_create"];
1253
+ delete?: never;
1254
+ options?: never;
1255
+ head?: never;
1256
+ patch?: never;
1257
+ trace?: never;
1258
+ };
1239
1259
  "/api/v2/tests/{id}/update-step-position/": {
1240
1260
  parameters: {
1241
1261
  query?: never;
@@ -5422,6 +5442,11 @@ export interface components {
5422
5442
  readonly totalSteps: number;
5423
5443
  readonly webappUrl: string;
5424
5444
  };
5445
+ V2UpdateGroupPosition: {
5446
+ /** Format: uuid */
5447
+ groupId: string;
5448
+ atIndex: number;
5449
+ };
5425
5450
  V2UpdateStepPosition: {
5426
5451
  /** Format: uuid */
5427
5452
  stepId: string;
@@ -8941,6 +8966,53 @@ export interface operations {
8941
8966
  };
8942
8967
  };
8943
8968
  };
8969
+ v2_tests_update_group_position_create: {
8970
+ parameters: {
8971
+ query?: never;
8972
+ header?: never;
8973
+ path: {
8974
+ /** @description A UUID string identifying this test. */
8975
+ id: string;
8976
+ };
8977
+ cookie?: never;
8978
+ };
8979
+ requestBody: {
8980
+ content: {
8981
+ "application/x-www-form-urlencoded": components["schemas"]["V2UpdateGroupPosition"];
8982
+ "application/json": components["schemas"]["V2UpdateGroupPosition"];
8983
+ };
8984
+ };
8985
+ responses: {
8986
+ /** @description No response body */
8987
+ 200: {
8988
+ headers: {
8989
+ [name: string]: unknown;
8990
+ };
8991
+ content?: never;
8992
+ };
8993
+ /** @description Request body failed validation. */
8994
+ 400: {
8995
+ headers: {
8996
+ [name: string]: unknown;
8997
+ };
8998
+ content?: never;
8999
+ };
9000
+ /** @description Authentication credentials were missing or invalid. */
9001
+ 401: {
9002
+ headers: {
9003
+ [name: string]: unknown;
9004
+ };
9005
+ content?: never;
9006
+ };
9007
+ /** @description Resource not found. */
9008
+ 404: {
9009
+ headers: {
9010
+ [name: string]: unknown;
9011
+ };
9012
+ content?: never;
9013
+ };
9014
+ };
9015
+ };
8944
9016
  v2_tests_update_step_position_create: {
8945
9017
  parameters: {
8946
9018
  query?: never;