@smartbear/mcp 0.13.4 → 0.14.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.
@@ -13,23 +13,25 @@ zod.object({
13
13
  "Zero-indexed starting position. Should be a multiple of maxResults."
14
14
  )
15
15
  });
16
- const listTestCasesResponseStartAtMin = 0;
17
- const listTestCasesResponseTotalMin = 0;
18
- const listTestCasesResponseValuesItemKeyRegExp = /.+-T[0-9]+/;
19
- const listTestCasesResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
20
- const listTestCasesResponseValuesItemEstimatedTimeMin = 0;
21
- const listTestCasesResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
16
+ const listTestCases200ResponseStartAtMin = 0;
17
+ const listTestCases200ResponseTotalMin = 0;
18
+ const listTestCases200ResponseValuesItemKeyRegExp = /.+-T[0-9]+/;
19
+ const listTestCases200ResponseValuesItemNameMax = 255;
20
+ const listTestCases200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
21
+ const listTestCases200ResponseValuesItemEstimatedTimeMin = 0;
22
+ const listTestCases200ResponseValuesItemLabelsMax = 50;
23
+ const listTestCases200ResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
22
24
  zod.object({
23
25
  next: zod.string().url().nullish().describe(
24
26
  "URL to the next page of results, or null if there are no more results."
25
27
  ),
26
- startAt: zod.number().min(listTestCasesResponseStartAtMin).describe(
28
+ startAt: zod.number().min(listTestCases200ResponseStartAtMin).describe(
27
29
  "Indicates the index of the first item returned in the page of results."
28
30
  ),
29
31
  maxResults: zod.number().min(1).describe(
30
32
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
31
33
  ),
32
- total: zod.number().min(listTestCasesResponseTotalMin).optional().describe(
34
+ total: zod.number().min(listTestCases200ResponseTotalMin).optional().describe(
33
35
  "Indicates the total number of items available across all pages."
34
36
  ),
35
37
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -38,8 +40,8 @@ zod.object({
38
40
  values: zod.array(
39
41
  zod.object({
40
42
  id: zod.number().min(1),
41
- key: zod.string().regex(listTestCasesResponseValuesItemKeyRegExp).describe("The test case key"),
42
- name: zod.string().regex(listTestCasesResponseValuesItemNameRegExp),
43
+ key: zod.string().regex(listTestCases200ResponseValuesItemKeyRegExp).describe("The test case key"),
44
+ name: zod.string().min(1).max(listTestCases200ResponseValuesItemNameMax).regex(listTestCases200ResponseValuesItemNameRegExp),
43
45
  project: zod.object({
44
46
  id: zod.number().min(1)
45
47
  }).describe("The ID of the resource").and(
@@ -54,8 +56,8 @@ zod.object({
54
56
  ),
55
57
  objective: zod.string().nullish().describe("A description of the objective."),
56
58
  precondition: zod.string().nullish().describe("Any conditions that need to be met."),
57
- estimatedTime: zod.number().min(listTestCasesResponseValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
58
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
59
+ estimatedTime: zod.number().min(listTestCases200ResponseValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
60
+ labels: zod.array(zod.string()).max(listTestCases200ResponseValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
59
61
  component: zod.object({
60
62
  id: zod.number().min(1)
61
63
  }).describe("The ID of the resource").and(
@@ -93,7 +95,7 @@ zod.object({
93
95
  })
94
96
  ).nullish(),
95
97
  owner: zod.object({
96
- accountId: zod.string().regex(listTestCasesResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
98
+ accountId: zod.string().regex(listTestCases200ResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
97
99
  self: zod.string().url().optional().describe(
98
100
  "The Jira REST API endpoint to get the full representation of the Jira user."
99
101
  )
@@ -133,7 +135,7 @@ zod.object({
133
135
  webLinks: zod.array(
134
136
  zod.object({
135
137
  description: zod.string().optional().describe("The web link description"),
136
- url: zod.url().describe("The web link URL")
138
+ url: zod.string().url().describe("The web link URL")
137
139
  }).and(
138
140
  zod.object({
139
141
  self: zod.string().url().optional().describe(
@@ -150,16 +152,22 @@ zod.object({
150
152
  ).optional()
151
153
  })
152
154
  );
155
+ zod.object({
156
+ errorCode: zod.number(),
157
+ message: zod.string()
158
+ });
153
159
  const createTestCaseBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
160
+ const createTestCaseBodyNameMax = 255;
154
161
  const createTestCaseBodyNameRegExp = /^(?!\\s*$).+/;
155
162
  const createTestCaseBodyEstimatedTimeMin = 0;
156
163
  const createTestCaseBodyComponentIdMin = 0;
157
164
  const createTestCaseBodyPriorityNameMax = 255;
158
165
  const createTestCaseBodyStatusNameMax = 255;
159
166
  const createTestCaseBodyOwnerIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
160
- zod.object({
167
+ const createTestCaseBodyLabelsMax = 50;
168
+ const createTestCaseBody = zod.object({
161
169
  projectKey: zod.string().regex(createTestCaseBodyProjectKeyRegExp).describe("Jira project key."),
162
- name: zod.string().regex(createTestCaseBodyNameRegExp),
170
+ name: zod.string().min(1).max(createTestCaseBodyNameMax).regex(createTestCaseBodyNameRegExp),
163
171
  objective: zod.string().nullish().describe("A description of the objective."),
164
172
  precondition: zod.string().nullish().describe("Any conditions that need to be met."),
165
173
  estimatedTime: zod.number().min(createTestCaseBodyEstimatedTimeMin).optional().describe("Estimated duration in milliseconds."),
@@ -168,11 +176,23 @@ zod.object({
168
176
  statusName: zod.string().min(1).max(createTestCaseBodyStatusNameMax).optional().describe("The status name."),
169
177
  folderId: zod.number().min(1).optional().describe("ID of a folder to place the entity within."),
170
178
  ownerId: zod.string().regex(createTestCaseBodyOwnerIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
171
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
179
+ labels: zod.array(zod.string()).max(createTestCaseBodyLabelsMax).optional().describe("Array of labels associated to this entity."),
172
180
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
173
181
  "Multi-line text fields support HTML and should denote new lines with the \\<br\\> tag.\nDates should be in the format 'yyyy-MM-dd'.\nUsers should have values of Jira User Account IDs.\n"
174
182
  )
175
183
  });
184
+ const createTestCase201Response = zod.object({
185
+ id: zod.number().min(1).optional(),
186
+ self: zod.string().optional()
187
+ }).and(
188
+ zod.object({
189
+ key: zod.string().optional()
190
+ })
191
+ );
192
+ zod.object({
193
+ errorCode: zod.number(),
194
+ message: zod.string()
195
+ });
176
196
  const listTestCasesCursorPaginatedQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
177
197
  const listTestCasesCursorPaginatedQueryLimitDefault = 10;
178
198
  const listTestCasesCursorPaginatedQueryLimitMax = 1e3;
@@ -185,23 +205,27 @@ const listTestCasesCursorPaginatedQueryParams = zod.object({
185
205
  ),
186
206
  startAtId: zod.number().min(listTestCasesCursorPaginatedQueryStartAtIdMin).optional().describe("Zero-indexed starting position for ID-based pagination.")
187
207
  });
188
- const listTestCasesCursorPaginatedResponseNextStartAtIdMin = 0;
189
- const listTestCasesCursorPaginatedResponseLimitMin = 0;
190
- const listTestCasesCursorPaginatedResponseValuesItemKeyRegExp = /.+-T[0-9]+/;
191
- const listTestCasesCursorPaginatedResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
192
- const listTestCasesCursorPaginatedResponseValuesItemEstimatedTimeMin = 0;
193
- const listTestCasesCursorPaginatedResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
194
- const listTestCasesCursorPaginatedResponse = zod.object({
195
- next: zod.url().nullish(),
196
- nextStartAtId: zod.number().min(listTestCasesCursorPaginatedResponseNextStartAtIdMin).nullable(),
197
- limit: zod.number().min(listTestCasesCursorPaginatedResponseLimitMin)
208
+ const listTestCasesCursorPaginated200ResponseNextStartAtIdMin = 0;
209
+ const listTestCasesCursorPaginated200ResponseLimitMin = 0;
210
+ const listTestCasesCursorPaginated200ResponseValuesItemKeyRegExp = /.+-T[0-9]+/;
211
+ const listTestCasesCursorPaginated200ResponseValuesItemNameMax = 255;
212
+ const listTestCasesCursorPaginated200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
213
+ const listTestCasesCursorPaginated200ResponseValuesItemEstimatedTimeMin = 0;
214
+ const listTestCasesCursorPaginated200ResponseValuesItemLabelsMax = 50;
215
+ const listTestCasesCursorPaginated200ResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
216
+ const listTestCasesCursorPaginated200Response = zod.object({
217
+ next: zod.string().url().nullish(),
218
+ nextStartAtId: zod.number().min(listTestCasesCursorPaginated200ResponseNextStartAtIdMin).nullable(),
219
+ limit: zod.number().min(listTestCasesCursorPaginated200ResponseLimitMin)
198
220
  }).and(
199
221
  zod.object({
200
222
  values: zod.array(
201
223
  zod.object({
202
224
  id: zod.number().min(1),
203
- key: zod.string().regex(listTestCasesCursorPaginatedResponseValuesItemKeyRegExp).describe("The test case key"),
204
- name: zod.string().regex(listTestCasesCursorPaginatedResponseValuesItemNameRegExp),
225
+ key: zod.string().regex(listTestCasesCursorPaginated200ResponseValuesItemKeyRegExp).describe("The test case key"),
226
+ name: zod.string().min(1).max(listTestCasesCursorPaginated200ResponseValuesItemNameMax).regex(
227
+ listTestCasesCursorPaginated200ResponseValuesItemNameRegExp
228
+ ),
205
229
  project: zod.object({
206
230
  id: zod.number().min(1)
207
231
  }).describe("The ID of the resource").and(
@@ -217,9 +241,9 @@ const listTestCasesCursorPaginatedResponse = zod.object({
217
241
  objective: zod.string().nullish().describe("A description of the objective."),
218
242
  precondition: zod.string().nullish().describe("Any conditions that need to be met."),
219
243
  estimatedTime: zod.number().min(
220
- listTestCasesCursorPaginatedResponseValuesItemEstimatedTimeMin
244
+ listTestCasesCursorPaginated200ResponseValuesItemEstimatedTimeMin
221
245
  ).nullish().describe("Estimated duration in milliseconds."),
222
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
246
+ labels: zod.array(zod.string()).max(listTestCasesCursorPaginated200ResponseValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
223
247
  component: zod.object({
224
248
  id: zod.number().min(1)
225
249
  }).describe("The ID of the resource").and(
@@ -258,7 +282,7 @@ const listTestCasesCursorPaginatedResponse = zod.object({
258
282
  ).nullish(),
259
283
  owner: zod.object({
260
284
  accountId: zod.string().regex(
261
- listTestCasesCursorPaginatedResponseValuesItemOwnerAccountIdRegExp
285
+ listTestCasesCursorPaginated200ResponseValuesItemOwnerAccountIdRegExp
262
286
  ).nullable().describe("Atlassian Account ID of the Jira user."),
263
287
  self: zod.string().url().optional().describe(
264
288
  "The Jira REST API endpoint to get the full representation of the Jira user."
@@ -299,7 +323,7 @@ const listTestCasesCursorPaginatedResponse = zod.object({
299
323
  webLinks: zod.array(
300
324
  zod.object({
301
325
  description: zod.string().optional().describe("The web link description"),
302
- url: zod.url().describe("The web link URL")
326
+ url: zod.string().url().describe("The web link URL")
303
327
  }).and(
304
328
  zod.object({
305
329
  self: zod.string().url().optional().describe(
@@ -316,20 +340,26 @@ const listTestCasesCursorPaginatedResponse = zod.object({
316
340
  ).optional()
317
341
  })
318
342
  );
343
+ zod.object({
344
+ errorCode: zod.number(),
345
+ message: zod.string()
346
+ });
319
347
  const getTestCasePathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
320
348
  const getTestCaseParams = zod.object({
321
349
  testCaseKey: zod.string().regex(getTestCasePathTestCaseKeyRegExp).describe(
322
350
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
323
351
  )
324
352
  });
325
- const getTestCaseResponseKeyRegExp = /.+-T[0-9]+/;
326
- const getTestCaseResponseNameRegExp = /^(?!\\s*$).+/;
327
- const getTestCaseResponseEstimatedTimeMin = 0;
328
- const getTestCaseResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
329
- const getTestCaseResponse = zod.object({
353
+ const getTestCase200ResponseKeyRegExp = /.+-T[0-9]+/;
354
+ const getTestCase200ResponseNameMax = 255;
355
+ const getTestCase200ResponseNameRegExp = /^(?!\\s*$).+/;
356
+ const getTestCase200ResponseEstimatedTimeMin = 0;
357
+ const getTestCase200ResponseLabelsMax = 50;
358
+ const getTestCase200ResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
359
+ const getTestCase200Response = zod.object({
330
360
  id: zod.number().min(1),
331
- key: zod.string().regex(getTestCaseResponseKeyRegExp).describe("The test case key"),
332
- name: zod.string().regex(getTestCaseResponseNameRegExp),
361
+ key: zod.string().regex(getTestCase200ResponseKeyRegExp).describe("The test case key"),
362
+ name: zod.string().min(1).max(getTestCase200ResponseNameMax).regex(getTestCase200ResponseNameRegExp),
333
363
  project: zod.object({
334
364
  id: zod.number().min(1)
335
365
  }).describe("The ID of the resource").and(
@@ -342,8 +372,8 @@ const getTestCaseResponse = zod.object({
342
372
  ),
343
373
  objective: zod.string().nullish().describe("A description of the objective."),
344
374
  precondition: zod.string().nullish().describe("Any conditions that need to be met."),
345
- estimatedTime: zod.number().min(getTestCaseResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
346
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
375
+ estimatedTime: zod.number().min(getTestCase200ResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
376
+ labels: zod.array(zod.string()).max(getTestCase200ResponseLabelsMax).optional().describe("Array of labels associated to this entity."),
347
377
  component: zod.object({
348
378
  id: zod.number().min(1)
349
379
  }).describe("The ID of the resource").and(
@@ -373,7 +403,7 @@ const getTestCaseResponse = zod.object({
373
403
  })
374
404
  ).nullish(),
375
405
  owner: zod.object({
376
- accountId: zod.string().regex(getTestCaseResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
406
+ accountId: zod.string().regex(getTestCase200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
377
407
  self: zod.string().url().optional().describe(
378
408
  "The Jira REST API endpoint to get the full representation of the Jira user."
379
409
  )
@@ -409,7 +439,7 @@ const getTestCaseResponse = zod.object({
409
439
  webLinks: zod.array(
410
440
  zod.object({
411
441
  description: zod.string().optional().describe("The web link description"),
412
- url: zod.url().describe("The web link URL")
442
+ url: zod.string().url().describe("The web link URL")
413
443
  }).and(
414
444
  zod.object({
415
445
  self: zod.string().url().optional().describe(
@@ -423,20 +453,26 @@ const getTestCaseResponse = zod.object({
423
453
  })
424
454
  ).optional().describe("This property is ignored on updates.")
425
455
  });
426
- const updateTestCasePathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
427
456
  zod.object({
457
+ errorCode: zod.number(),
458
+ message: zod.string()
459
+ });
460
+ const updateTestCasePathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
461
+ const updateTestCaseParams = zod.object({
428
462
  testCaseKey: zod.string().regex(updateTestCasePathTestCaseKeyRegExp).describe(
429
463
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
430
464
  )
431
465
  });
432
466
  const updateTestCaseBodyKeyRegExp = /.+-T[0-9]+/;
467
+ const updateTestCaseBodyNameMax = 255;
433
468
  const updateTestCaseBodyNameRegExp = /^(?!\\s*$).+/;
434
469
  const updateTestCaseBodyEstimatedTimeMin = 0;
470
+ const updateTestCaseBodyLabelsMax = 50;
435
471
  const updateTestCaseBodyOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
436
- zod.object({
472
+ const updateTestCaseBody = zod.object({
437
473
  id: zod.number().min(1),
438
474
  key: zod.string().regex(updateTestCaseBodyKeyRegExp).describe("The test case key"),
439
- name: zod.string().regex(updateTestCaseBodyNameRegExp),
475
+ name: zod.string().min(1).max(updateTestCaseBodyNameMax).regex(updateTestCaseBodyNameRegExp),
440
476
  project: zod.object({
441
477
  id: zod.number().min(1)
442
478
  }).describe("The ID of the resource").and(
@@ -450,7 +486,7 @@ zod.object({
450
486
  objective: zod.string().nullish().describe("A description of the objective."),
451
487
  precondition: zod.string().nullish().describe("Any conditions that need to be met."),
452
488
  estimatedTime: zod.number().min(updateTestCaseBodyEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
453
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
489
+ labels: zod.array(zod.string()).max(updateTestCaseBodyLabelsMax).optional().describe("Array of labels associated to this entity."),
454
490
  component: zod.object({
455
491
  id: zod.number().min(1)
456
492
  }).describe("The ID of the resource").and(
@@ -516,7 +552,7 @@ zod.object({
516
552
  webLinks: zod.array(
517
553
  zod.object({
518
554
  description: zod.string().optional().describe("The web link description"),
519
- url: zod.url().describe("The web link URL")
555
+ url: zod.string().url().describe("The web link URL")
520
556
  }).and(
521
557
  zod.object({
522
558
  self: zod.string().url().optional().describe(
@@ -530,6 +566,10 @@ zod.object({
530
566
  })
531
567
  ).optional().describe("This property is ignored on updates.")
532
568
  });
569
+ zod.object({
570
+ errorCode: zod.number(),
571
+ message: zod.string()
572
+ });
533
573
  const getTestCaseLinksPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
534
574
  zod.object({
535
575
  testCaseKey: zod.string().regex(getTestCaseLinksPathTestCaseKeyRegExp).describe(
@@ -561,7 +601,7 @@ zod.object({
561
601
  webLinks: zod.array(
562
602
  zod.object({
563
603
  description: zod.string().optional().describe("The web link description"),
564
- url: zod.url().describe("The web link URL")
604
+ url: zod.string().url().describe("The web link URL")
565
605
  }).and(
566
606
  zod.object({
567
607
  self: zod.string().url().optional().describe(
@@ -574,6 +614,10 @@ zod.object({
574
614
  ).optional().describe("A list of web links for this entity")
575
615
  })
576
616
  ).describe("This property is ignored on updates.");
617
+ zod.object({
618
+ errorCode: zod.number(),
619
+ message: zod.string()
620
+ });
577
621
  const createTestCaseIssueLinkPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
578
622
  zod.object({
579
623
  testCaseKey: zod.string().regex(createTestCaseIssueLinkPathTestCaseKeyRegExp).describe(
@@ -583,15 +627,31 @@ zod.object({
583
627
  zod.object({
584
628
  issueId: zod.number().min(1).describe("The Jira issue ID")
585
629
  });
586
- const createTestCaseWebLinkPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
587
630
  zod.object({
631
+ id: zod.number().min(1).optional(),
632
+ self: zod.string().optional()
633
+ });
634
+ zod.object({
635
+ errorCode: zod.number(),
636
+ message: zod.string()
637
+ });
638
+ const createTestCaseWebLinkPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
639
+ const createTestCaseWebLinkParams = zod.object({
588
640
  testCaseKey: zod.string().regex(createTestCaseWebLinkPathTestCaseKeyRegExp).describe(
589
641
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
590
642
  )
591
643
  });
592
- zod.object({
644
+ const createTestCaseWebLinkBody = zod.object({
593
645
  description: zod.string().optional().describe("The web link description"),
594
- url: zod.url().describe("The web link URL")
646
+ url: zod.string().url().describe("The web link URL")
647
+ });
648
+ const createTestCaseWebLink201Response = zod.object({
649
+ id: zod.number().min(1).optional(),
650
+ self: zod.string().optional()
651
+ });
652
+ zod.object({
653
+ errorCode: zod.number(),
654
+ message: zod.string()
595
655
  });
596
656
  const listTestCaseVersionsPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
597
657
  zod.object({
@@ -610,19 +670,19 @@ zod.object({
610
670
  "Zero-indexed starting position. Should be a multiple of maxResults."
611
671
  )
612
672
  });
613
- const listTestCaseVersionsResponseStartAtMin = 0;
614
- const listTestCaseVersionsResponseTotalMin = 0;
673
+ const listTestCaseVersions200ResponseStartAtMin = 0;
674
+ const listTestCaseVersions200ResponseTotalMin = 0;
615
675
  zod.object({
616
676
  next: zod.string().url().nullish().describe(
617
677
  "URL to the next page of results, or null if there are no more results."
618
678
  ),
619
- startAt: zod.number().min(listTestCaseVersionsResponseStartAtMin).describe(
679
+ startAt: zod.number().min(listTestCaseVersions200ResponseStartAtMin).describe(
620
680
  "Indicates the index of the first item returned in the page of results."
621
681
  ),
622
682
  maxResults: zod.number().min(1).describe(
623
683
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
624
684
  ),
625
- total: zod.number().min(listTestCaseVersionsResponseTotalMin).optional().describe(
685
+ total: zod.number().min(listTestCaseVersions200ResponseTotalMin).optional().describe(
626
686
  "Indicates the total number of items available across all pages."
627
687
  ),
628
688
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -641,6 +701,10 @@ zod.object({
641
701
  ).optional().describe("A list of versions for a test case")
642
702
  })
643
703
  );
704
+ zod.object({
705
+ errorCode: zod.number(),
706
+ message: zod.string()
707
+ });
644
708
  const getTestCaseVersionPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
645
709
  zod.object({
646
710
  testCaseKey: zod.string().regex(getTestCaseVersionPathTestCaseKeyRegExp).describe(
@@ -648,14 +712,16 @@ zod.object({
648
712
  ),
649
713
  version: zod.number().describe("Version of the test case to retrieve.")
650
714
  });
651
- const getTestCaseVersionResponseKeyRegExp = /.+-T[0-9]+/;
652
- const getTestCaseVersionResponseNameRegExp = /^(?!\\s*$).+/;
653
- const getTestCaseVersionResponseEstimatedTimeMin = 0;
654
- const getTestCaseVersionResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
715
+ const getTestCaseVersion200ResponseKeyRegExp = /.+-T[0-9]+/;
716
+ const getTestCaseVersion200ResponseNameMax = 255;
717
+ const getTestCaseVersion200ResponseNameRegExp = /^(?!\\s*$).+/;
718
+ const getTestCaseVersion200ResponseEstimatedTimeMin = 0;
719
+ const getTestCaseVersion200ResponseLabelsMax = 50;
720
+ const getTestCaseVersion200ResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
655
721
  zod.object({
656
722
  id: zod.number().min(1),
657
- key: zod.string().regex(getTestCaseVersionResponseKeyRegExp).describe("The test case key"),
658
- name: zod.string().regex(getTestCaseVersionResponseNameRegExp),
723
+ key: zod.string().regex(getTestCaseVersion200ResponseKeyRegExp).describe("The test case key"),
724
+ name: zod.string().min(1).max(getTestCaseVersion200ResponseNameMax).regex(getTestCaseVersion200ResponseNameRegExp),
659
725
  project: zod.object({
660
726
  id: zod.number().min(1)
661
727
  }).describe("The ID of the resource").and(
@@ -668,8 +734,8 @@ zod.object({
668
734
  ),
669
735
  objective: zod.string().nullish().describe("A description of the objective."),
670
736
  precondition: zod.string().nullish().describe("Any conditions that need to be met."),
671
- estimatedTime: zod.number().min(getTestCaseVersionResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
672
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
737
+ estimatedTime: zod.number().min(getTestCaseVersion200ResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
738
+ labels: zod.array(zod.string()).max(getTestCaseVersion200ResponseLabelsMax).optional().describe("Array of labels associated to this entity."),
673
739
  component: zod.object({
674
740
  id: zod.number().min(1)
675
741
  }).describe("The ID of the resource").and(
@@ -699,7 +765,7 @@ zod.object({
699
765
  })
700
766
  ).nullish(),
701
767
  owner: zod.object({
702
- accountId: zod.string().regex(getTestCaseVersionResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
768
+ accountId: zod.string().regex(getTestCaseVersion200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
703
769
  self: zod.string().url().optional().describe(
704
770
  "The Jira REST API endpoint to get the full representation of the Jira user."
705
771
  )
@@ -735,7 +801,7 @@ zod.object({
735
801
  webLinks: zod.array(
736
802
  zod.object({
737
803
  description: zod.string().optional().describe("The web link description"),
738
- url: zod.url().describe("The web link URL")
804
+ url: zod.string().url().describe("The web link URL")
739
805
  }).and(
740
806
  zod.object({
741
807
  self: zod.string().url().optional().describe(
@@ -749,6 +815,10 @@ zod.object({
749
815
  })
750
816
  ).optional().describe("This property is ignored on updates.")
751
817
  });
818
+ zod.object({
819
+ errorCode: zod.number(),
820
+ message: zod.string()
821
+ });
752
822
  const getTestCaseTestScriptPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
753
823
  zod.object({
754
824
  testCaseKey: zod.string().regex(getTestCaseTestScriptPathTestCaseKeyRegExp).describe(
@@ -765,6 +835,10 @@ zod.object({
765
835
  id: zod.number().min(1).optional()
766
836
  })
767
837
  ).describe("Response body when retrieving test scripts");
838
+ zod.object({
839
+ errorCode: zod.number(),
840
+ message: zod.string()
841
+ });
768
842
  const createTestCaseTestScriptPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
769
843
  zod.object({
770
844
  testCaseKey: zod.string().regex(createTestCaseTestScriptPathTestCaseKeyRegExp).describe(
@@ -777,6 +851,14 @@ zod.object({
777
851
  ),
778
852
  text: zod.string().min(1)
779
853
  }).describe("Request body for creating test scripts");
854
+ zod.object({
855
+ id: zod.number().min(1).optional(),
856
+ self: zod.string().optional()
857
+ });
858
+ zod.object({
859
+ errorCode: zod.number(),
860
+ message: zod.string()
861
+ });
780
862
  const getTestCaseTestStepsPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
781
863
  zod.object({
782
864
  testCaseKey: zod.string().regex(getTestCaseTestStepsPathTestCaseKeyRegExp).describe(
@@ -794,20 +876,20 @@ zod.object({
794
876
  "Zero-indexed starting position. Should be a multiple of maxResults."
795
877
  )
796
878
  });
797
- const getTestCaseTestStepsResponseStartAtMin = 0;
798
- const getTestCaseTestStepsResponseTotalMin = 0;
799
- const getTestCaseTestStepsResponseValuesItemTestCaseTestCaseKeyRegExp = /(.+-T[0-9]+)/;
879
+ const getTestCaseTestSteps200ResponseStartAtMin = 0;
880
+ const getTestCaseTestSteps200ResponseTotalMin = 0;
881
+ const getTestCaseTestSteps200ResponseValuesItemTestCaseTestCaseKeyRegExp = /(.+-T[0-9]+)/;
800
882
  zod.object({
801
883
  next: zod.string().url().nullish().describe(
802
884
  "URL to the next page of results, or null if there are no more results."
803
885
  ),
804
- startAt: zod.number().min(getTestCaseTestStepsResponseStartAtMin).describe(
886
+ startAt: zod.number().min(getTestCaseTestSteps200ResponseStartAtMin).describe(
805
887
  "Indicates the index of the first item returned in the page of results."
806
888
  ),
807
889
  maxResults: zod.number().min(1).describe(
808
890
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
809
891
  ),
810
- total: zod.number().min(getTestCaseTestStepsResponseTotalMin).optional().describe(
892
+ total: zod.number().min(getTestCaseTestSteps200ResponseTotalMin).optional().describe(
811
893
  "Indicates the total number of items available across all pages."
812
894
  ),
813
895
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -835,7 +917,7 @@ zod.object({
835
917
  }).and(
836
918
  zod.object({
837
919
  testCaseKey: zod.string().regex(
838
- getTestCaseTestStepsResponseValuesItemTestCaseTestCaseKeyRegExp
920
+ getTestCaseTestSteps200ResponseValuesItemTestCaseTestCaseKeyRegExp
839
921
  ).optional().describe(
840
922
  "The key of the other test case that the test step should delegate execution to. This cannot be the parent test case."
841
923
  ),
@@ -858,6 +940,10 @@ zod.object({
858
940
  ).optional().describe("The list of test steps")
859
941
  })
860
942
  ).describe("Response body when retrieving test steps");
943
+ zod.object({
944
+ errorCode: zod.number(),
945
+ message: zod.string()
946
+ });
861
947
  const createTestCaseTestStepsPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
862
948
  zod.object({
863
949
  testCaseKey: zod.string().regex(createTestCaseTestStepsPathTestCaseKeyRegExp).describe(
@@ -917,6 +1003,14 @@ zod.object({
917
1003
  }).describe(
918
1004
  "Request body for creating test steps. A maximum of 100 test steps can be added in one request. To add more than 100 steps, you can submit multiple requests. The mode property allows you to specify whether you want to delete the current test steps and create a new list, or append more items to the end of the current list."
919
1005
  );
1006
+ zod.object({
1007
+ id: zod.number().min(1).optional(),
1008
+ self: zod.string().optional()
1009
+ });
1010
+ zod.object({
1011
+ errorCode: zod.number(),
1012
+ message: zod.string()
1013
+ });
920
1014
  const listTestCyclesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
921
1015
  const listTestCyclesQueryMaxResultsDefault = 10;
922
1016
  const listTestCyclesQueryStartAtMin = 0;
@@ -934,22 +1028,22 @@ const listTestCyclesQueryParams = zod.object({
934
1028
  "Zero-indexed starting position. Should be a multiple of maxResults."
935
1029
  )
936
1030
  });
937
- const listTestCyclesResponseStartAtMin = 0;
938
- const listTestCyclesResponseTotalMin = 0;
939
- const listTestCyclesResponseValuesItemKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
940
- const listTestCyclesResponseValuesItemNameRegExp = /^(?!\s*$).+/;
941
- const listTestCyclesResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
942
- const listTestCyclesResponse = zod.object({
1031
+ const listTestCycles200ResponseStartAtMin = 0;
1032
+ const listTestCycles200ResponseTotalMin = 0;
1033
+ const listTestCycles200ResponseValuesItemKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1034
+ const listTestCycles200ResponseValuesItemNameRegExp = /^(?!\s*$).+/;
1035
+ const listTestCycles200ResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1036
+ const listTestCycles200Response = zod.object({
943
1037
  next: zod.string().url().nullish().describe(
944
1038
  "URL to the next page of results, or null if there are no more results."
945
1039
  ),
946
- startAt: zod.number().min(listTestCyclesResponseStartAtMin).describe(
1040
+ startAt: zod.number().min(listTestCycles200ResponseStartAtMin).describe(
947
1041
  "Indicates the index of the first item returned in the page of results."
948
1042
  ),
949
1043
  maxResults: zod.number().min(1).describe(
950
1044
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
951
1045
  ),
952
- total: zod.number().min(listTestCyclesResponseTotalMin).optional().describe(
1046
+ total: zod.number().min(listTestCycles200ResponseTotalMin).optional().describe(
953
1047
  "Indicates the total number of items available across all pages."
954
1048
  ),
955
1049
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -958,8 +1052,8 @@ const listTestCyclesResponse = zod.object({
958
1052
  values: zod.array(
959
1053
  zod.object({
960
1054
  id: zod.number().min(1),
961
- key: zod.string().regex(listTestCyclesResponseValuesItemKeyRegExp).describe("Unique key of the test cycle"),
962
- name: zod.string().regex(listTestCyclesResponseValuesItemNameRegExp).describe("Name of the Test Cycle"),
1055
+ key: zod.string().regex(listTestCycles200ResponseValuesItemKeyRegExp).describe("Unique key of the test cycle"),
1056
+ name: zod.string().regex(listTestCycles200ResponseValuesItemNameRegExp).describe("Name of the Test Cycle"),
963
1057
  project: zod.object({
964
1058
  id: zod.number().min(1)
965
1059
  }).describe("The ID of the resource").and(
@@ -1006,7 +1100,9 @@ const listTestCyclesResponse = zod.object({
1006
1100
  "The planned end date of the test cycle. This field cannot be blank. Setting it as null or excluding it from the request will leave the field values unchanged. ISO 8601 Format (i.e., yyyy-MM-dd'T'HH:mm:ss'Z')"
1007
1101
  ),
1008
1102
  owner: zod.object({
1009
- accountId: zod.string().regex(listTestCyclesResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1103
+ accountId: zod.string().regex(
1104
+ listTestCycles200ResponseValuesItemOwnerAccountIdRegExp
1105
+ ).nullable().describe("Atlassian Account ID of the Jira user."),
1010
1106
  self: zod.string().url().optional().describe(
1011
1107
  "The Jira REST API endpoint to get the full representation of the Jira user."
1012
1108
  )
@@ -1075,13 +1171,18 @@ const listTestCyclesResponse = zod.object({
1075
1171
  ).optional()
1076
1172
  })
1077
1173
  );
1174
+ zod.object({
1175
+ errorCode: zod.number(),
1176
+ message: zod.string()
1177
+ });
1078
1178
  const createTestCycleBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1179
+ const createTestCycleBodyNameMax = 255;
1079
1180
  const createTestCycleBodyNameRegExp = /^(?!\\s*$).+/;
1080
1181
  const createTestCycleBodyStatusNameMax = 255;
1081
1182
  const createTestCycleBodyOwnerIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1082
- zod.object({
1183
+ const createTestCycleBody = zod.object({
1083
1184
  projectKey: zod.string().regex(createTestCycleBodyProjectKeyRegExp).describe("Jira project key."),
1084
- name: zod.string().regex(createTestCycleBodyNameRegExp),
1185
+ name: zod.string().min(1).max(createTestCycleBodyNameMax).regex(createTestCycleBodyNameRegExp),
1085
1186
  description: zod.string().nullish().describe("Description outlining the scope."),
1086
1187
  plannedStartDate: zod.string().datetime({}).optional().describe(
1087
1188
  "Planned start date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
@@ -1099,17 +1200,29 @@ zod.object({
1099
1200
  "Multi-line text fields support HTML and should denote new lines with the \\<br\\> tag.\nDates should be in the format 'yyyy-MM-dd'.\nUsers should have values of Jira User Account IDs.\n"
1100
1201
  )
1101
1202
  });
1203
+ const createTestCycle201Response = zod.object({
1204
+ id: zod.number().min(1).optional(),
1205
+ self: zod.string().optional()
1206
+ }).and(
1207
+ zod.object({
1208
+ key: zod.string().optional()
1209
+ })
1210
+ );
1211
+ zod.object({
1212
+ errorCode: zod.number(),
1213
+ message: zod.string()
1214
+ });
1102
1215
  const getTestCyclePathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1103
1216
  const getTestCycleParams = zod.object({
1104
1217
  testCycleIdOrKey: zod.string().regex(getTestCyclePathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1105
1218
  });
1106
- const getTestCycleResponseKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1107
- const getTestCycleResponseNameRegExp = /^(?!\s*$).+/;
1108
- const getTestCycleResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1109
- const getTestCycleResponse = zod.object({
1219
+ const getTestCycle200ResponseKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1220
+ const getTestCycle200ResponseNameRegExp = /^(?!\s*$).+/;
1221
+ const getTestCycle200ResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1222
+ const getTestCycle200Response = zod.object({
1110
1223
  id: zod.number().min(1),
1111
- key: zod.string().regex(getTestCycleResponseKeyRegExp).describe("Unique key of the test cycle"),
1112
- name: zod.string().regex(getTestCycleResponseNameRegExp).describe("Name of the Test Cycle"),
1224
+ key: zod.string().regex(getTestCycle200ResponseKeyRegExp).describe("Unique key of the test cycle"),
1225
+ name: zod.string().regex(getTestCycle200ResponseNameRegExp).describe("Name of the Test Cycle"),
1113
1226
  project: zod.object({
1114
1227
  id: zod.number().min(1)
1115
1228
  }).describe("The ID of the resource").and(
@@ -1148,7 +1261,7 @@ const getTestCycleResponse = zod.object({
1148
1261
  "The planned end date of the test cycle. This field cannot be blank. Setting it as null or excluding it from the request will leave the field values unchanged. ISO 8601 Format (i.e., yyyy-MM-dd'T'HH:mm:ss'Z')"
1149
1262
  ),
1150
1263
  owner: zod.object({
1151
- accountId: zod.string().regex(getTestCycleResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1264
+ accountId: zod.string().regex(getTestCycle200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1152
1265
  self: zod.string().url().optional().describe(
1153
1266
  "The Jira REST API endpoint to get the full representation of the Jira user."
1154
1267
  )
@@ -1181,7 +1294,7 @@ const getTestCycleResponse = zod.object({
1181
1294
  webLinks: zod.array(
1182
1295
  zod.object({
1183
1296
  description: zod.string().optional().describe("The web link description"),
1184
- url: zod.url().describe("The web link URL")
1297
+ url: zod.string().url().describe("The web link URL")
1185
1298
  }).and(
1186
1299
  zod.object({
1187
1300
  self: zod.string().url().optional().describe(
@@ -1212,14 +1325,18 @@ const getTestCycleResponse = zod.object({
1212
1325
  "Represents all links that a Test Cycle has. This property is ignored on update operations."
1213
1326
  )
1214
1327
  }).describe("Details of a test cycle");
1215
- const updateTestCyclePathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1216
1328
  zod.object({
1329
+ errorCode: zod.number(),
1330
+ message: zod.string()
1331
+ });
1332
+ const updateTestCyclePathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1333
+ const updateTestCycleParams = zod.object({
1217
1334
  testCycleIdOrKey: zod.string().regex(updateTestCyclePathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1218
1335
  });
1219
1336
  const updateTestCycleBodyKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1220
1337
  const updateTestCycleBodyNameRegExp = /^(?!\s*$).+/;
1221
1338
  const updateTestCycleBodyOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1222
- zod.object({
1339
+ const updateTestCycleBody = zod.object({
1223
1340
  id: zod.number().min(1),
1224
1341
  key: zod.string().regex(updateTestCycleBodyKeyRegExp).describe("Unique key of the test cycle"),
1225
1342
  name: zod.string().regex(updateTestCycleBodyNameRegExp).describe("Name of the Test Cycle"),
@@ -1294,7 +1411,7 @@ zod.object({
1294
1411
  webLinks: zod.array(
1295
1412
  zod.object({
1296
1413
  description: zod.string().optional().describe("The web link description"),
1297
- url: zod.url().describe("The web link URL")
1414
+ url: zod.string().url().describe("The web link URL")
1298
1415
  }).and(
1299
1416
  zod.object({
1300
1417
  self: zod.string().url().optional().describe(
@@ -1325,6 +1442,10 @@ zod.object({
1325
1442
  "Represents all links that a Test Cycle has. This property is ignored on update operations."
1326
1443
  )
1327
1444
  }).describe("Details of a test cycle");
1445
+ zod.object({
1446
+ errorCode: zod.number(),
1447
+ message: zod.string()
1448
+ });
1328
1449
  const getTestCycleLinksPathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1329
1450
  zod.object({
1330
1451
  testCycleIdOrKey: zod.string().regex(getTestCycleLinksPathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
@@ -1354,7 +1475,7 @@ zod.object({
1354
1475
  webLinks: zod.array(
1355
1476
  zod.object({
1356
1477
  description: zod.string().optional().describe("The web link description"),
1357
- url: zod.url().describe("The web link URL")
1478
+ url: zod.string().url().describe("The web link URL")
1358
1479
  }).and(
1359
1480
  zod.object({
1360
1481
  self: zod.string().url().optional().describe(
@@ -1384,6 +1505,10 @@ zod.object({
1384
1505
  ).describe(
1385
1506
  "Represents all links that a Test Cycle has. This property is ignored on update operations."
1386
1507
  );
1508
+ zod.object({
1509
+ errorCode: zod.number(),
1510
+ message: zod.string()
1511
+ });
1387
1512
  const createTestCycleIssueLinkPathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1388
1513
  zod.object({
1389
1514
  testCycleIdOrKey: zod.string().regex(createTestCycleIssueLinkPathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
@@ -1391,13 +1516,21 @@ zod.object({
1391
1516
  zod.object({
1392
1517
  issueId: zod.number().min(1).describe("The Jira issue ID")
1393
1518
  });
1519
+ zod.object({
1520
+ errorCode: zod.number(),
1521
+ message: zod.string()
1522
+ });
1394
1523
  const createTestCycleWebLinkPathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1395
1524
  zod.object({
1396
1525
  testCycleIdOrKey: zod.string().regex(createTestCycleWebLinkPathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1397
1526
  });
1398
1527
  zod.object({
1399
1528
  description: zod.string().optional().describe("The web link description"),
1400
- url: zod.url().describe("The web link URL")
1529
+ url: zod.string().url().describe("The web link URL")
1530
+ });
1531
+ zod.object({
1532
+ errorCode: zod.number(),
1533
+ message: zod.string()
1401
1534
  });
1402
1535
  const listTestPlansQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1403
1536
  const listTestPlansQueryMaxResultsDefault = 10;
@@ -1412,22 +1545,24 @@ zod.object({
1412
1545
  "Zero-indexed starting position. Should be a multiple of maxResults."
1413
1546
  )
1414
1547
  });
1415
- const listTestPlansResponseStartAtMin = 0;
1416
- const listTestPlansResponseTotalMin = 0;
1417
- const listTestPlansResponseValuesItemKeyRegExp = /.+-P[0-9]+/;
1418
- const listTestPlansResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
1419
- const listTestPlansResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1548
+ const listTestPlans200ResponseStartAtMin = 0;
1549
+ const listTestPlans200ResponseTotalMin = 0;
1550
+ const listTestPlans200ResponseValuesItemKeyRegExp = /.+-P[0-9]+/;
1551
+ const listTestPlans200ResponseValuesItemNameMax = 255;
1552
+ const listTestPlans200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
1553
+ const listTestPlans200ResponseValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1554
+ const listTestPlans200ResponseValuesItemLabelsMax = 50;
1420
1555
  zod.object({
1421
1556
  next: zod.string().url().nullish().describe(
1422
1557
  "URL to the next page of results, or null if there are no more results."
1423
1558
  ),
1424
- startAt: zod.number().min(listTestPlansResponseStartAtMin).describe(
1559
+ startAt: zod.number().min(listTestPlans200ResponseStartAtMin).describe(
1425
1560
  "Indicates the index of the first item returned in the page of results."
1426
1561
  ),
1427
1562
  maxResults: zod.number().min(1).describe(
1428
1563
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
1429
1564
  ),
1430
- total: zod.number().min(listTestPlansResponseTotalMin).optional().describe(
1565
+ total: zod.number().min(listTestPlans200ResponseTotalMin).optional().describe(
1431
1566
  "Indicates the total number of items available across all pages."
1432
1567
  ),
1433
1568
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -1436,8 +1571,8 @@ zod.object({
1436
1571
  values: zod.array(
1437
1572
  zod.object({
1438
1573
  id: zod.number().min(1),
1439
- key: zod.string().regex(listTestPlansResponseValuesItemKeyRegExp).describe("Key of the test plan"),
1440
- name: zod.string().regex(listTestPlansResponseValuesItemNameRegExp),
1574
+ key: zod.string().regex(listTestPlans200ResponseValuesItemKeyRegExp).describe("Key of the test plan"),
1575
+ name: zod.string().min(1).max(listTestPlans200ResponseValuesItemNameMax).regex(listTestPlans200ResponseValuesItemNameRegExp),
1441
1576
  objective: zod.string().nullish().describe("A description of the objective."),
1442
1577
  project: zod.object({
1443
1578
  id: zod.number().min(1)
@@ -1467,7 +1602,7 @@ zod.object({
1467
1602
  })
1468
1603
  ).nullish(),
1469
1604
  owner: zod.object({
1470
- accountId: zod.string().regex(listTestPlansResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1605
+ accountId: zod.string().regex(listTestPlans200ResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1471
1606
  self: zod.string().url().optional().describe(
1472
1607
  "The Jira REST API endpoint to get the full representation of the Jira user."
1473
1608
  )
@@ -1475,12 +1610,12 @@ zod.object({
1475
1610
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1476
1611
  "Multi-line text fields support HTML and should denote new lines with the \\<br\\> tag.\nDates should be in the format 'yyyy-MM-dd'.\nUsers should have values of Jira User Account IDs.\n"
1477
1612
  ),
1478
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
1613
+ labels: zod.array(zod.string()).max(listTestPlans200ResponseValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
1479
1614
  links: zod.object({
1480
1615
  webLinks: zod.array(
1481
1616
  zod.object({
1482
1617
  description: zod.string().optional().describe("The web link description"),
1483
- url: zod.url().describe("The web link URL")
1618
+ url: zod.string().url().describe("The web link URL")
1484
1619
  }).and(
1485
1620
  zod.object({
1486
1621
  self: zod.string().url().optional().describe(
@@ -1531,35 +1666,55 @@ zod.object({
1531
1666
  ).optional()
1532
1667
  })
1533
1668
  );
1669
+ zod.object({
1670
+ errorCode: zod.number(),
1671
+ message: zod.string()
1672
+ });
1534
1673
  const createTestPlanBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1674
+ const createTestPlanBodyNameMax = 255;
1535
1675
  const createTestPlanBodyNameRegExp = /^(?!\\s*$).+/;
1536
1676
  const createTestPlanBodyStatusNameMax = 255;
1537
1677
  const createTestPlanBodyOwnerIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1678
+ const createTestPlanBodyLabelsMax = 50;
1538
1679
  zod.object({
1539
1680
  projectKey: zod.string().regex(createTestPlanBodyProjectKeyRegExp).describe("Jira project key."),
1540
- name: zod.string().regex(createTestPlanBodyNameRegExp),
1681
+ name: zod.string().min(1).max(createTestPlanBodyNameMax).regex(createTestPlanBodyNameRegExp),
1541
1682
  objective: zod.string().nullish().describe("A description of the objective."),
1542
1683
  folderId: zod.number().min(1).optional().describe("ID of a folder to place the entity within."),
1543
1684
  statusName: zod.string().min(1).max(createTestPlanBodyStatusNameMax).optional().describe("The status name."),
1544
1685
  ownerId: zod.string().regex(createTestPlanBodyOwnerIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
1545
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
1686
+ labels: zod.array(zod.string()).max(createTestPlanBodyLabelsMax).optional().describe("Array of labels associated to this entity."),
1546
1687
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1547
1688
  "Multi-line text fields support HTML and should denote new lines with the \\<br\\> tag.\nDates should be in the format 'yyyy-MM-dd'.\nUsers should have values of Jira User Account IDs.\n"
1548
1689
  )
1549
1690
  });
1691
+ zod.object({
1692
+ id: zod.number().min(1).optional(),
1693
+ self: zod.string().optional()
1694
+ }).and(
1695
+ zod.object({
1696
+ key: zod.string().optional()
1697
+ })
1698
+ );
1699
+ zod.object({
1700
+ errorCode: zod.number(),
1701
+ message: zod.string()
1702
+ });
1550
1703
  const getTestPlanPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1551
1704
  zod.object({
1552
1705
  testPlanIdOrKey: zod.string().regex(getTestPlanPathTestPlanIdOrKeyRegExp).describe(
1553
1706
  "The ID or key of the test plan. Test plan keys are of the format [A-Z]+-P[0-9]+"
1554
1707
  )
1555
1708
  });
1556
- const getTestPlanResponseKeyRegExp = /.+-P[0-9]+/;
1557
- const getTestPlanResponseNameRegExp = /^(?!\\s*$).+/;
1558
- const getTestPlanResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1709
+ const getTestPlan200ResponseKeyRegExp = /.+-P[0-9]+/;
1710
+ const getTestPlan200ResponseNameMax = 255;
1711
+ const getTestPlan200ResponseNameRegExp = /^(?!\\s*$).+/;
1712
+ const getTestPlan200ResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1713
+ const getTestPlan200ResponseLabelsMax = 50;
1559
1714
  zod.object({
1560
1715
  id: zod.number().min(1),
1561
- key: zod.string().regex(getTestPlanResponseKeyRegExp).describe("Key of the test plan"),
1562
- name: zod.string().regex(getTestPlanResponseNameRegExp),
1716
+ key: zod.string().regex(getTestPlan200ResponseKeyRegExp).describe("Key of the test plan"),
1717
+ name: zod.string().min(1).max(getTestPlan200ResponseNameMax).regex(getTestPlan200ResponseNameRegExp),
1563
1718
  objective: zod.string().nullish().describe("A description of the objective."),
1564
1719
  project: zod.object({
1565
1720
  id: zod.number().min(1)
@@ -1583,7 +1738,7 @@ zod.object({
1583
1738
  })
1584
1739
  ).nullish(),
1585
1740
  owner: zod.object({
1586
- accountId: zod.string().regex(getTestPlanResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1741
+ accountId: zod.string().regex(getTestPlan200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1587
1742
  self: zod.string().url().optional().describe(
1588
1743
  "The Jira REST API endpoint to get the full representation of the Jira user."
1589
1744
  )
@@ -1591,12 +1746,12 @@ zod.object({
1591
1746
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1592
1747
  "Multi-line text fields support HTML and should denote new lines with the \\<br\\> tag.\nDates should be in the format 'yyyy-MM-dd'.\nUsers should have values of Jira User Account IDs.\n"
1593
1748
  ),
1594
- labels: zod.array(zod.string()).optional().describe("Array of labels associated to this entity."),
1749
+ labels: zod.array(zod.string()).max(getTestPlan200ResponseLabelsMax).optional().describe("Array of labels associated to this entity."),
1595
1750
  links: zod.object({
1596
1751
  webLinks: zod.array(
1597
1752
  zod.object({
1598
1753
  description: zod.string().optional().describe("The web link description"),
1599
- url: zod.url().describe("The web link URL")
1754
+ url: zod.string().url().describe("The web link URL")
1600
1755
  }).and(
1601
1756
  zod.object({
1602
1757
  self: zod.string().url().optional().describe(
@@ -1644,6 +1799,10 @@ zod.object({
1644
1799
  ).optional().describe("A list of test cycle links for a test plan")
1645
1800
  }).optional()
1646
1801
  });
1802
+ zod.object({
1803
+ errorCode: zod.number(),
1804
+ message: zod.string()
1805
+ });
1647
1806
  const createTestPlanWebLinkPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1648
1807
  zod.object({
1649
1808
  testPlanIdOrKey: zod.string().regex(createTestPlanWebLinkPathTestPlanIdOrKeyRegExp).describe(
@@ -1652,8 +1811,16 @@ zod.object({
1652
1811
  });
1653
1812
  zod.object({
1654
1813
  description: zod.string().optional().describe("The web link description"),
1655
- url: zod.url().describe("The web link URL")
1814
+ url: zod.string().url().describe("The web link URL")
1656
1815
  }).and(zod.unknown());
1816
+ zod.object({
1817
+ id: zod.number().min(1).optional(),
1818
+ self: zod.string().optional()
1819
+ });
1820
+ zod.object({
1821
+ errorCode: zod.number(),
1822
+ message: zod.string()
1823
+ });
1657
1824
  const createTestPlanIssueLinkPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1658
1825
  zod.object({
1659
1826
  testPlanIdOrKey: zod.string().regex(createTestPlanIssueLinkPathTestPlanIdOrKeyRegExp).describe(
@@ -1663,6 +1830,14 @@ zod.object({
1663
1830
  zod.object({
1664
1831
  issueId: zod.number().min(1).describe("The Jira issue ID")
1665
1832
  });
1833
+ zod.object({
1834
+ id: zod.number().min(1).optional(),
1835
+ self: zod.string().optional()
1836
+ });
1837
+ zod.object({
1838
+ errorCode: zod.number(),
1839
+ message: zod.string()
1840
+ });
1666
1841
  const createTestPlanTestCycleLinkPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1667
1842
  zod.object({
1668
1843
  testPlanIdOrKey: zod.string().regex(createTestPlanTestCycleLinkPathTestPlanIdOrKeyRegExp).describe(
@@ -1673,6 +1848,14 @@ const createTestPlanTestCycleLinkBodyTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A
1673
1848
  zod.object({
1674
1849
  testCycleIdOrKey: zod.string().regex(createTestPlanTestCycleLinkBodyTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1675
1850
  });
1851
+ zod.object({
1852
+ id: zod.number().min(1).optional(),
1853
+ self: zod.string().optional()
1854
+ });
1855
+ zod.object({
1856
+ errorCode: zod.number(),
1857
+ message: zod.string()
1858
+ });
1676
1859
  const listTestExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1677
1860
  const listTestExecutionsQueryTestCycleRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1678
1861
  const listTestExecutionsQueryTestCaseRegExp = /([0-9]+)|(.+-T[0-9]+)/;
@@ -1705,24 +1888,24 @@ zod.object({
1705
1888
  "Zero-indexed starting position. Should be a multiple of maxResults."
1706
1889
  )
1707
1890
  });
1708
- const listTestExecutionsResponseStartAtMin = 0;
1709
- const listTestExecutionsResponseTotalMin = 0;
1710
- const listTestExecutionsResponseValuesItemKeyRegExp = /.+-E[0-9]+/;
1711
- const listTestExecutionsResponseValuesItemEstimatedTimeMin = 0;
1712
- const listTestExecutionsResponseValuesItemExecutionTimeMin = 0;
1713
- const listTestExecutionsResponseValuesItemExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1714
- const listTestExecutionsResponseValuesItemAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1891
+ const listTestExecutions200ResponseStartAtMin = 0;
1892
+ const listTestExecutions200ResponseTotalMin = 0;
1893
+ const listTestExecutions200ResponseValuesItemKeyRegExp = /.+-E[0-9]+/;
1894
+ const listTestExecutions200ResponseValuesItemEstimatedTimeMin = 0;
1895
+ const listTestExecutions200ResponseValuesItemExecutionTimeMin = 0;
1896
+ const listTestExecutions200ResponseValuesItemExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1897
+ const listTestExecutions200ResponseValuesItemAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1715
1898
  zod.object({
1716
1899
  next: zod.string().url().nullish().describe(
1717
1900
  "URL to the next page of results, or null if there are no more results."
1718
1901
  ),
1719
- startAt: zod.number().min(listTestExecutionsResponseStartAtMin).describe(
1902
+ startAt: zod.number().min(listTestExecutions200ResponseStartAtMin).describe(
1720
1903
  "Indicates the index of the first item returned in the page of results."
1721
1904
  ),
1722
1905
  maxResults: zod.number().min(1).describe(
1723
1906
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
1724
1907
  ),
1725
- total: zod.number().min(listTestExecutionsResponseTotalMin).optional().describe(
1908
+ total: zod.number().min(listTestExecutions200ResponseTotalMin).optional().describe(
1726
1909
  "Indicates the total number of items available across all pages."
1727
1910
  ),
1728
1911
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -1731,7 +1914,7 @@ zod.object({
1731
1914
  values: zod.array(
1732
1915
  zod.object({
1733
1916
  id: zod.number().min(1),
1734
- key: zod.string().regex(listTestExecutionsResponseValuesItemKeyRegExp).optional().describe("Test execution key"),
1917
+ key: zod.string().regex(listTestExecutions200ResponseValuesItemKeyRegExp).optional().describe("Test execution key"),
1735
1918
  project: zod.object({
1736
1919
  id: zod.number().min(1)
1737
1920
  }).describe("The ID of the resource").and(
@@ -1782,10 +1965,10 @@ zod.object({
1782
1965
  actualEndDate: zod.string().datetime({}).optional().describe(
1783
1966
  "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1784
1967
  ),
1785
- estimatedTime: zod.number().min(listTestExecutionsResponseValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
1786
- executionTime: zod.number().min(listTestExecutionsResponseValuesItemExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
1787
- executedById: zod.string().regex(listTestExecutionsResponseValuesItemExecutedByIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
1788
- assignedToId: zod.string().regex(listTestExecutionsResponseValuesItemAssignedToIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
1968
+ estimatedTime: zod.number().min(listTestExecutions200ResponseValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
1969
+ executionTime: zod.number().min(listTestExecutions200ResponseValuesItemExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
1970
+ executedById: zod.string().regex(listTestExecutions200ResponseValuesItemExecutedByIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
1971
+ assignedToId: zod.string().regex(listTestExecutions200ResponseValuesItemAssignedToIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
1789
1972
  comment: zod.string().nullish().describe("Comment added against overall test case execution."),
1790
1973
  automated: zod.boolean().optional().describe(
1791
1974
  "Indicates if the test execution was done manually or not."
@@ -1832,6 +2015,10 @@ zod.object({
1832
2015
  ).optional()
1833
2016
  })
1834
2017
  );
2018
+ zod.object({
2019
+ errorCode: zod.number(),
2020
+ message: zod.string()
2021
+ });
1835
2022
  const createTestExecutionBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1836
2023
  const createTestExecutionBodyTestCaseKeyRegExp = /(.+-T[0-9]+)/;
1837
2024
  const createTestExecutionBodyTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
@@ -1840,7 +2027,7 @@ const createTestExecutionBodyTestScriptResultsItemStatusNameMax = 255;
1840
2027
  const createTestExecutionBodyExecutionTimeMin = 0;
1841
2028
  const createTestExecutionBodyExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1842
2029
  const createTestExecutionBodyAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1843
- zod.object({
2030
+ const createTestExecutionBody = zod.object({
1844
2031
  projectKey: zod.string().regex(createTestExecutionBodyProjectKeyRegExp).describe("Jira project key."),
1845
2032
  testCaseKey: zod.string().regex(createTestExecutionBodyTestCaseKeyRegExp).describe(
1846
2033
  "Key of test case the execution applies to. NOTE: Test cases with call to test, parameters and test data are not supported."
@@ -1870,6 +2057,14 @@ zod.object({
1870
2057
  "Multi-line text fields support HTML and should denote new lines with the \\<br\\> tag.\nDates should be in the format 'yyyy-MM-dd'.\nUsers should have values of Jira User Account IDs.\n"
1871
2058
  )
1872
2059
  });
2060
+ const createTestExecution201Response = zod.object({
2061
+ id: zod.number().min(1).optional(),
2062
+ self: zod.string().optional()
2063
+ });
2064
+ zod.object({
2065
+ errorCode: zod.number(),
2066
+ message: zod.string()
2067
+ });
1873
2068
  const listTestExecutionsNextgenQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1874
2069
  const listTestExecutionsNextgenQueryTestCycleRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1875
2070
  const listTestExecutionsNextgenQueryTestCaseRegExp = /([0-9]+)|(.+-T[0-9]+)/;
@@ -1900,23 +2095,23 @@ const listTestExecutionsNextgenQueryParams = zod.object({
1900
2095
  ),
1901
2096
  startAtId: zod.number().min(listTestExecutionsNextgenQueryStartAtIdMin).optional().describe("Zero-indexed starting position for ID-based pagination.")
1902
2097
  });
1903
- const listTestExecutionsNextgenResponseNextStartAtIdMin = 0;
1904
- const listTestExecutionsNextgenResponseLimitMin = 0;
1905
- const listTestExecutionsNextgenResponseValuesItemKeyRegExp = /.+-E[0-9]+/;
1906
- const listTestExecutionsNextgenResponseValuesItemEstimatedTimeMin = 0;
1907
- const listTestExecutionsNextgenResponseValuesItemExecutionTimeMin = 0;
1908
- const listTestExecutionsNextgenResponseValuesItemExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1909
- const listTestExecutionsNextgenResponseValuesItemAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1910
- const listTestExecutionsNextgenResponse = zod.object({
1911
- next: zod.url().nullish(),
1912
- nextStartAtId: zod.number().min(listTestExecutionsNextgenResponseNextStartAtIdMin).nullable(),
1913
- limit: zod.number().min(listTestExecutionsNextgenResponseLimitMin)
2098
+ const listTestExecutionsNextgen200ResponseNextStartAtIdMin = 0;
2099
+ const listTestExecutionsNextgen200ResponseLimitMin = 0;
2100
+ const listTestExecutionsNextgen200ResponseValuesItemKeyRegExp = /.+-E[0-9]+/;
2101
+ const listTestExecutionsNextgen200ResponseValuesItemEstimatedTimeMin = 0;
2102
+ const listTestExecutionsNextgen200ResponseValuesItemExecutionTimeMin = 0;
2103
+ const listTestExecutionsNextgen200ResponseValuesItemExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2104
+ const listTestExecutionsNextgen200ResponseValuesItemAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2105
+ const listTestExecutionsNextgen200Response = zod.object({
2106
+ next: zod.string().url().nullish(),
2107
+ nextStartAtId: zod.number().min(listTestExecutionsNextgen200ResponseNextStartAtIdMin).nullable(),
2108
+ limit: zod.number().min(listTestExecutionsNextgen200ResponseLimitMin)
1914
2109
  }).and(
1915
2110
  zod.object({
1916
2111
  values: zod.array(
1917
2112
  zod.object({
1918
2113
  id: zod.number().min(1),
1919
- key: zod.string().regex(listTestExecutionsNextgenResponseValuesItemKeyRegExp).optional().describe("Test execution key"),
2114
+ key: zod.string().regex(listTestExecutionsNextgen200ResponseValuesItemKeyRegExp).optional().describe("Test execution key"),
1920
2115
  project: zod.object({
1921
2116
  id: zod.number().min(1)
1922
2117
  }).describe("The ID of the resource").and(
@@ -1967,13 +2162,17 @@ const listTestExecutionsNextgenResponse = zod.object({
1967
2162
  actualEndDate: zod.string().datetime({}).optional().describe(
1968
2163
  "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1969
2164
  ),
1970
- estimatedTime: zod.number().min(listTestExecutionsNextgenResponseValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
1971
- executionTime: zod.number().min(listTestExecutionsNextgenResponseValuesItemExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
2165
+ estimatedTime: zod.number().min(
2166
+ listTestExecutionsNextgen200ResponseValuesItemEstimatedTimeMin
2167
+ ).nullish().describe("Estimated duration in milliseconds."),
2168
+ executionTime: zod.number().min(
2169
+ listTestExecutionsNextgen200ResponseValuesItemExecutionTimeMin
2170
+ ).nullish().describe("Actual test execution time in milliseconds."),
1972
2171
  executedById: zod.string().regex(
1973
- listTestExecutionsNextgenResponseValuesItemExecutedByIdRegExp
2172
+ listTestExecutionsNextgen200ResponseValuesItemExecutedByIdRegExp
1974
2173
  ).nullish().describe("Atlassian Account ID of the Jira user."),
1975
2174
  assignedToId: zod.string().regex(
1976
- listTestExecutionsNextgenResponseValuesItemAssignedToIdRegExp
2175
+ listTestExecutionsNextgen200ResponseValuesItemAssignedToIdRegExp
1977
2176
  ).nullish().describe("Atlassian Account ID of the Jira user."),
1978
2177
  comment: zod.string().nullish().describe("Comment added against overall test case execution."),
1979
2178
  automated: zod.boolean().optional().describe(
@@ -2021,6 +2220,10 @@ const listTestExecutionsNextgenResponse = zod.object({
2021
2220
  ).optional()
2022
2221
  })
2023
2222
  );
2223
+ zod.object({
2224
+ errorCode: zod.number(),
2225
+ message: zod.string()
2226
+ });
2024
2227
  const getTestExecutionPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2025
2228
  const getTestExecutionParams = zod.object({
2026
2229
  testExecutionIdOrKey: zod.string().regex(getTestExecutionPathTestExecutionIdOrKeyRegExp).describe(
@@ -2032,14 +2235,14 @@ zod.object({
2032
2235
  "If true, execution step issue links will be included in the response"
2033
2236
  )
2034
2237
  });
2035
- const getTestExecutionResponseKeyRegExp = /.+-E[0-9]+/;
2036
- const getTestExecutionResponseEstimatedTimeMin = 0;
2037
- const getTestExecutionResponseExecutionTimeMin = 0;
2038
- const getTestExecutionResponseExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2039
- const getTestExecutionResponseAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2040
- const getTestExecutionResponse = zod.object({
2238
+ const getTestExecution200ResponseKeyRegExp = /.+-E[0-9]+/;
2239
+ const getTestExecution200ResponseEstimatedTimeMin = 0;
2240
+ const getTestExecution200ResponseExecutionTimeMin = 0;
2241
+ const getTestExecution200ResponseExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2242
+ const getTestExecution200ResponseAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2243
+ const getTestExecution200Response = zod.object({
2041
2244
  id: zod.number().min(1),
2042
- key: zod.string().regex(getTestExecutionResponseKeyRegExp).optional().describe("Test execution key"),
2245
+ key: zod.string().regex(getTestExecution200ResponseKeyRegExp).optional().describe("Test execution key"),
2043
2246
  project: zod.object({
2044
2247
  id: zod.number().min(1)
2045
2248
  }).describe("The ID of the resource").and(
@@ -2080,10 +2283,10 @@ const getTestExecutionResponse = zod.object({
2080
2283
  actualEndDate: zod.string().datetime({}).optional().describe(
2081
2284
  "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
2082
2285
  ),
2083
- estimatedTime: zod.number().min(getTestExecutionResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
2084
- executionTime: zod.number().min(getTestExecutionResponseExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
2085
- executedById: zod.string().regex(getTestExecutionResponseExecutedByIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2086
- assignedToId: zod.string().regex(getTestExecutionResponseAssignedToIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2286
+ estimatedTime: zod.number().min(getTestExecution200ResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
2287
+ executionTime: zod.number().min(getTestExecution200ResponseExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
2288
+ executedById: zod.string().regex(getTestExecution200ResponseExecutedByIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2289
+ assignedToId: zod.string().regex(getTestExecution200ResponseAssignedToIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2087
2290
  comment: zod.string().nullish().describe("Comment added against overall test case execution."),
2088
2291
  automated: zod.boolean().optional().describe("Indicates if the test execution was done manually or not."),
2089
2292
  testCycle: zod.object({
@@ -2121,6 +2324,10 @@ const getTestExecutionResponse = zod.object({
2121
2324
  })
2122
2325
  ).optional()
2123
2326
  });
2327
+ zod.object({
2328
+ errorCode: zod.number(),
2329
+ message: zod.string()
2330
+ });
2124
2331
  const updateTestExecutionPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2125
2332
  zod.object({
2126
2333
  testExecutionIdOrKey: zod.string().regex(updateTestExecutionPathTestExecutionIdOrKeyRegExp).describe(
@@ -2142,6 +2349,10 @@ zod.object({
2142
2349
  assignedToId: zod.string().regex(updateTestExecutionBodyAssignedToIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2143
2350
  comment: zod.string().nullish().describe("Comment added against overall test case execution.")
2144
2351
  });
2352
+ zod.object({
2353
+ errorCode: zod.number(),
2354
+ message: zod.string()
2355
+ });
2145
2356
  const getTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2146
2357
  zod.object({
2147
2358
  testExecutionIdOrKey: zod.string().regex(getTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp).describe(
@@ -2161,19 +2372,19 @@ zod.object({
2161
2372
  ),
2162
2373
  testDataRowNumber: zod.number().min(getTestExecutionTestStepsQueryTestDataRowNumberMin).optional().describe("The id of the test data row to retrieve.")
2163
2374
  });
2164
- const getTestExecutionTestStepsResponseStartAtMin = 0;
2165
- const getTestExecutionTestStepsResponseTotalMin = 0;
2375
+ const getTestExecutionTestSteps200ResponseStartAtMin = 0;
2376
+ const getTestExecutionTestSteps200ResponseTotalMin = 0;
2166
2377
  zod.object({
2167
2378
  next: zod.string().url().nullish().describe(
2168
2379
  "URL to the next page of results, or null if there are no more results."
2169
2380
  ),
2170
- startAt: zod.number().min(getTestExecutionTestStepsResponseStartAtMin).describe(
2381
+ startAt: zod.number().min(getTestExecutionTestSteps200ResponseStartAtMin).describe(
2171
2382
  "Indicates the index of the first item returned in the page of results."
2172
2383
  ),
2173
2384
  maxResults: zod.number().min(1).describe(
2174
2385
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
2175
2386
  ),
2176
- total: zod.number().min(getTestExecutionTestStepsResponseTotalMin).optional().describe(
2387
+ total: zod.number().min(getTestExecutionTestSteps200ResponseTotalMin).optional().describe(
2177
2388
  "Indicates the total number of items available across all pages."
2178
2389
  ),
2179
2390
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -2223,6 +2434,28 @@ zod.object({
2223
2434
  })
2224
2435
  ).optional()
2225
2436
  });
2437
+ zod.object({
2438
+ errorCode: zod.number(),
2439
+ message: zod.string()
2440
+ });
2441
+ zod.object({
2442
+ errorCode: zod.number(),
2443
+ message: zod.string()
2444
+ });
2445
+ zod.union([
2446
+ zod.object({
2447
+ errorCode: zod.number(),
2448
+ message: zod.string()
2449
+ }),
2450
+ zod.object({
2451
+ errorCode: zod.number(),
2452
+ message: zod.string()
2453
+ })
2454
+ ]);
2455
+ zod.object({
2456
+ errorCode: zod.number(),
2457
+ message: zod.string()
2458
+ });
2226
2459
  const syncTestExecutionScriptPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2227
2460
  zod.object({
2228
2461
  testExecutionIdOrKey: zod.string().regex(syncTestExecutionScriptPathTestExecutionIdOrKeyRegExp).describe(
@@ -2232,6 +2465,18 @@ zod.object({
2232
2465
  zod.object({
2233
2466
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2234
2467
  });
2468
+ zod.object({
2469
+ errorCode: zod.number(),
2470
+ message: zod.string()
2471
+ });
2472
+ zod.object({
2473
+ errorCode: zod.number(),
2474
+ message: zod.string()
2475
+ });
2476
+ zod.object({
2477
+ errorCode: zod.number(),
2478
+ message: zod.string()
2479
+ });
2235
2480
  const listTestExecutionLinksPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2236
2481
  zod.object({
2237
2482
  testExecutionIdOrKey: zod.string().regex(listTestExecutionLinksPathTestExecutionIdOrKeyRegExp).describe(
@@ -2262,6 +2507,10 @@ zod.object({
2262
2507
  ).optional().describe("A list of Jira issues linked to this entity")
2263
2508
  })
2264
2509
  );
2510
+ zod.object({
2511
+ errorCode: zod.number(),
2512
+ message: zod.string()
2513
+ });
2265
2514
  const createTestExecutionIssueLinkPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2266
2515
  zod.object({
2267
2516
  testExecutionIdOrKey: zod.string().regex(createTestExecutionIssueLinkPathTestExecutionIdOrKeyRegExp).describe(
@@ -2271,6 +2520,10 @@ zod.object({
2271
2520
  zod.object({
2272
2521
  issueId: zod.number().min(1).describe("The Jira issue ID")
2273
2522
  });
2523
+ zod.object({
2524
+ errorCode: zod.number(),
2525
+ message: zod.string()
2526
+ });
2274
2527
  const listProjectsQueryMaxResultsDefault = 10;
2275
2528
  const listProjectsQueryStartAtMin = 0;
2276
2529
  const listProjectsQueryStartAtMax = 1e6;
@@ -2282,19 +2535,19 @@ const listProjectsQueryParams = zod.object({
2282
2535
  "Zero-indexed starting position. Should be a multiple of maxResults."
2283
2536
  )
2284
2537
  });
2285
- const listProjectsResponseStartAtMin = 0;
2286
- const listProjectsResponseTotalMin = 0;
2287
- const listProjectsResponse = zod.object({
2538
+ const listProjects200ResponseStartAtMin = 0;
2539
+ const listProjects200ResponseTotalMin = 0;
2540
+ const listProjects200Response = zod.object({
2288
2541
  next: zod.string().url().nullish().describe(
2289
2542
  "URL to the next page of results, or null if there are no more results."
2290
2543
  ),
2291
- startAt: zod.number().min(listProjectsResponseStartAtMin).describe(
2544
+ startAt: zod.number().min(listProjects200ResponseStartAtMin).describe(
2292
2545
  "Indicates the index of the first item returned in the page of results."
2293
2546
  ),
2294
2547
  maxResults: zod.number().min(1).describe(
2295
2548
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
2296
2549
  ),
2297
- total: zod.number().min(listProjectsResponseTotalMin).optional().describe(
2550
+ total: zod.number().min(listProjects200ResponseTotalMin).optional().describe(
2298
2551
  "Indicates the total number of items available across all pages."
2299
2552
  ),
2300
2553
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -2312,16 +2565,24 @@ const listProjectsResponse = zod.object({
2312
2565
  ).optional()
2313
2566
  })
2314
2567
  );
2568
+ zod.object({
2569
+ errorCode: zod.number(),
2570
+ message: zod.string()
2571
+ });
2315
2572
  const getProjectPathProjectIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+)/;
2316
2573
  const getProjectParams = zod.object({
2317
2574
  projectIdOrKey: zod.string().regex(getProjectPathProjectIdOrKeyRegExp).describe("The Zephyr project ID or Jira project key")
2318
2575
  });
2319
- const getProjectResponse = zod.object({
2576
+ const getProject200Response = zod.object({
2320
2577
  id: zod.number().describe("The ID of the project in Zephyr."),
2321
2578
  jiraProjectId: zod.number().describe("The ID of the project in Jira."),
2322
2579
  key: zod.string(),
2323
2580
  enabled: zod.boolean().describe("Indicates whether the project has Zephyr enabled on it.")
2324
2581
  });
2582
+ zod.object({
2583
+ errorCode: zod.number(),
2584
+ message: zod.string()
2585
+ });
2325
2586
  const listFoldersQueryMaxResultsDefault = 10;
2326
2587
  const listFoldersQueryStartAtMin = 0;
2327
2588
  const listFoldersQueryStartAtMax = 1e6;
@@ -2338,21 +2599,22 @@ zod.object({
2338
2599
  'Folder type filter. Either `"TEST_CASE"`, `"TEST_PLAN"` or `"TEST_CYCLE"`'
2339
2600
  )
2340
2601
  });
2341
- const listFoldersResponseStartAtMin = 0;
2342
- const listFoldersResponseTotalMin = 0;
2343
- const listFoldersResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2344
- const listFoldersResponseValuesItemIndexMin = 0;
2602
+ const listFolders200ResponseStartAtMin = 0;
2603
+ const listFolders200ResponseTotalMin = 0;
2604
+ const listFolders200ResponseValuesItemNameMax = 255;
2605
+ const listFolders200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2606
+ const listFolders200ResponseValuesItemIndexMin = 0;
2345
2607
  zod.object({
2346
2608
  next: zod.string().url().nullish().describe(
2347
2609
  "URL to the next page of results, or null if there are no more results."
2348
2610
  ),
2349
- startAt: zod.number().min(listFoldersResponseStartAtMin).describe(
2611
+ startAt: zod.number().min(listFolders200ResponseStartAtMin).describe(
2350
2612
  "Indicates the index of the first item returned in the page of results."
2351
2613
  ),
2352
2614
  maxResults: zod.number().min(1).describe(
2353
2615
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
2354
2616
  ),
2355
- total: zod.number().min(listFoldersResponseTotalMin).optional().describe(
2617
+ total: zod.number().min(listFolders200ResponseTotalMin).optional().describe(
2356
2618
  "Indicates the total number of items available across all pages."
2357
2619
  ),
2358
2620
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -2362,8 +2624,8 @@ zod.object({
2362
2624
  zod.object({
2363
2625
  id: zod.number().min(1),
2364
2626
  parentId: zod.number().min(1),
2365
- name: zod.string().regex(listFoldersResponseValuesItemNameRegExp),
2366
- index: zod.number().min(listFoldersResponseValuesItemIndexMin),
2627
+ name: zod.string().min(1).max(listFolders200ResponseValuesItemNameMax).regex(listFolders200ResponseValuesItemNameRegExp),
2628
+ index: zod.number().min(listFolders200ResponseValuesItemIndexMin),
2367
2629
  folderType: zod.string().describe(
2368
2630
  'Valid values: `"TEST_CASE"`, `"TEST_PLAN"`, `"TEST_CYCLE"`'
2369
2631
  ),
@@ -2380,6 +2642,10 @@ zod.object({
2380
2642
  ).optional()
2381
2643
  })
2382
2644
  );
2645
+ zod.object({
2646
+ errorCode: zod.number(),
2647
+ message: zod.string()
2648
+ });
2383
2649
  const createFolderBodyNameMax = 255;
2384
2650
  const createFolderBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2385
2651
  zod.object({
@@ -2390,16 +2656,25 @@ zod.object({
2390
2656
  projectKey: zod.string().regex(createFolderBodyProjectKeyRegExp).describe("Jira project key."),
2391
2657
  folderType: zod.string().describe('Valid values: `"TEST_CASE"`, `"TEST_PLAN"`, `"TEST_CYCLE"`')
2392
2658
  });
2659
+ zod.object({
2660
+ id: zod.number().min(1).optional(),
2661
+ self: zod.string().optional()
2662
+ });
2663
+ zod.object({
2664
+ errorCode: zod.number(),
2665
+ message: zod.string()
2666
+ });
2393
2667
  zod.object({
2394
2668
  folderId: zod.number().min(1).describe("Folder ID")
2395
2669
  });
2396
- const getFolderResponseNameRegExp = /^(?!\\s*$).+/;
2397
- const getFolderResponseIndexMin = 0;
2670
+ const getFolder200ResponseNameMax = 255;
2671
+ const getFolder200ResponseNameRegExp = /^(?!\\s*$).+/;
2672
+ const getFolder200ResponseIndexMin = 0;
2398
2673
  zod.object({
2399
2674
  id: zod.number().min(1),
2400
2675
  parentId: zod.number().min(1),
2401
- name: zod.string().regex(getFolderResponseNameRegExp),
2402
- index: zod.number().min(getFolderResponseIndexMin),
2676
+ name: zod.string().min(1).max(getFolder200ResponseNameMax).regex(getFolder200ResponseNameRegExp),
2677
+ index: zod.number().min(getFolder200ResponseIndexMin),
2403
2678
  folderType: zod.string().describe('Valid values: `"TEST_CASE"`, `"TEST_PLAN"`, `"TEST_CYCLE"`'),
2404
2679
  project: zod.object({
2405
2680
  id: zod.number().min(1)
@@ -2409,6 +2684,10 @@ zod.object({
2409
2684
  })
2410
2685
  ).optional().describe("ID and link relative to Zephyr project.")
2411
2686
  });
2687
+ zod.object({
2688
+ errorCode: zod.number(),
2689
+ message: zod.string()
2690
+ });
2412
2691
  const listPrioritiesQueryMaxResultsDefault = 10;
2413
2692
  const listPrioritiesQueryStartAtMin = 0;
2414
2693
  const listPrioritiesQueryStartAtMax = 1e6;
@@ -2422,22 +2701,23 @@ const listPrioritiesQueryParams = zod.object({
2422
2701
  ),
2423
2702
  projectKey: zod.string().regex(listPrioritiesQueryProjectKeyRegExp).optional().describe("Jira project key filter")
2424
2703
  });
2425
- const listPrioritiesResponseStartAtMin = 0;
2426
- const listPrioritiesResponseTotalMin = 0;
2427
- const listPrioritiesResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2428
- const listPrioritiesResponseValuesItemIndexMin = 0;
2429
- const listPrioritiesResponseValuesItemColorRegExp = /#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})/;
2430
- const listPrioritiesResponse = zod.object({
2704
+ const listPriorities200ResponseStartAtMin = 0;
2705
+ const listPriorities200ResponseTotalMin = 0;
2706
+ const listPriorities200ResponseValuesItemNameMax = 255;
2707
+ const listPriorities200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2708
+ const listPriorities200ResponseValuesItemIndexMin = 0;
2709
+ const listPriorities200ResponseValuesItemColorRegExp = /#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})/;
2710
+ const listPriorities200Response = zod.object({
2431
2711
  next: zod.string().url().nullish().describe(
2432
2712
  "URL to the next page of results, or null if there are no more results."
2433
2713
  ),
2434
- startAt: zod.number().min(listPrioritiesResponseStartAtMin).describe(
2714
+ startAt: zod.number().min(listPriorities200ResponseStartAtMin).describe(
2435
2715
  "Indicates the index of the first item returned in the page of results."
2436
2716
  ),
2437
2717
  maxResults: zod.number().min(1).describe(
2438
2718
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
2439
2719
  ),
2440
- total: zod.number().min(listPrioritiesResponseTotalMin).optional().describe(
2720
+ total: zod.number().min(listPriorities200ResponseTotalMin).optional().describe(
2441
2721
  "Indicates the total number of items available across all pages."
2442
2722
  ),
2443
2723
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -2455,18 +2735,22 @@ const listPrioritiesResponse = zod.object({
2455
2735
  )
2456
2736
  })
2457
2737
  ).describe("ID and link relative to Zephyr project."),
2458
- name: zod.string().regex(listPrioritiesResponseValuesItemNameRegExp),
2738
+ name: zod.string().min(1).max(listPriorities200ResponseValuesItemNameMax).regex(listPriorities200ResponseValuesItemNameRegExp),
2459
2739
  description: zod.string().nullish().describe("Description outlining the scope."),
2460
- index: zod.number().min(listPrioritiesResponseValuesItemIndexMin)
2740
+ index: zod.number().min(listPriorities200ResponseValuesItemIndexMin)
2461
2741
  }).and(
2462
2742
  zod.object({
2463
- color: zod.string().regex(listPrioritiesResponseValuesItemColorRegExp).optional().describe("A color in hexadecimal format"),
2743
+ color: zod.string().regex(listPriorities200ResponseValuesItemColorRegExp).optional().describe("A color in hexadecimal format"),
2464
2744
  default: zod.boolean().optional()
2465
2745
  })
2466
2746
  )
2467
2747
  ).optional()
2468
2748
  })
2469
2749
  );
2750
+ zod.object({
2751
+ errorCode: zod.number(),
2752
+ message: zod.string()
2753
+ });
2470
2754
  const createPriorityBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2471
2755
  const createPriorityBodyNameMax = 255;
2472
2756
  const createPriorityBodyDescriptionMax = 255;
@@ -2477,12 +2761,21 @@ zod.object({
2477
2761
  description: zod.string().min(1).max(createPriorityBodyDescriptionMax).optional().describe("The priority description."),
2478
2762
  color: zod.string().regex(createPriorityBodyColorRegExp).optional().describe("A color in hexadecimal format")
2479
2763
  });
2764
+ zod.object({
2765
+ id: zod.number().min(1).optional(),
2766
+ self: zod.string().optional()
2767
+ });
2768
+ zod.object({
2769
+ errorCode: zod.number(),
2770
+ message: zod.string()
2771
+ });
2480
2772
  zod.object({
2481
2773
  priorityId: zod.number().min(1)
2482
2774
  });
2483
- const getPriorityResponseNameRegExp = /^(?!\\s*$).+/;
2484
- const getPriorityResponseIndexMin = 0;
2485
- const getPriorityResponseColorRegExp = /#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})/;
2775
+ const getPriority200ResponseNameMax = 255;
2776
+ const getPriority200ResponseNameRegExp = /^(?!\\s*$).+/;
2777
+ const getPriority200ResponseIndexMin = 0;
2778
+ const getPriority200ResponseColorRegExp = /#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})/;
2486
2779
  zod.object({
2487
2780
  id: zod.number().min(1),
2488
2781
  project: zod.object({
@@ -2492,15 +2785,23 @@ zod.object({
2492
2785
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2493
2786
  })
2494
2787
  ).describe("ID and link relative to Zephyr project."),
2495
- name: zod.string().regex(getPriorityResponseNameRegExp),
2788
+ name: zod.string().min(1).max(getPriority200ResponseNameMax).regex(getPriority200ResponseNameRegExp),
2496
2789
  description: zod.string().nullish().describe("Description outlining the scope."),
2497
- index: zod.number().min(getPriorityResponseIndexMin)
2790
+ index: zod.number().min(getPriority200ResponseIndexMin)
2498
2791
  }).and(
2499
2792
  zod.object({
2500
- color: zod.string().regex(getPriorityResponseColorRegExp).optional().describe("A color in hexadecimal format"),
2793
+ color: zod.string().regex(getPriority200ResponseColorRegExp).optional().describe("A color in hexadecimal format"),
2501
2794
  default: zod.boolean().optional()
2502
2795
  })
2503
2796
  );
2797
+ zod.object({
2798
+ errorCode: zod.number(),
2799
+ message: zod.string()
2800
+ });
2801
+ zod.object({
2802
+ errorCode: zod.number(),
2803
+ message: zod.string()
2804
+ });
2504
2805
  zod.object({
2505
2806
  priorityId: zod.number().min(1)
2506
2807
  });
@@ -2523,6 +2824,10 @@ zod.object({
2523
2824
  default: zod.boolean(),
2524
2825
  color: zod.string().regex(updatePriorityBodyColorRegExp).optional().describe("A color in hexadecimal format")
2525
2826
  });
2827
+ zod.object({
2828
+ errorCode: zod.number(),
2829
+ message: zod.string()
2830
+ });
2526
2831
  const listStatusesQueryMaxResultsDefault = 10;
2527
2832
  const listStatusesQueryStartAtMin = 0;
2528
2833
  const listStatusesQueryStartAtMax = 1e6;
@@ -2537,21 +2842,22 @@ const listStatusesQueryParams = zod.object({
2537
2842
  projectKey: zod.string().regex(listStatusesQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
2538
2843
  statusType: zod.enum(["TEST_CASE", "TEST_PLAN", "TEST_CYCLE", "TEST_EXECUTION"]).optional().describe("Determines which type of entity the status belongs to.")
2539
2844
  });
2540
- const listStatusesResponseStartAtMin = 0;
2541
- const listStatusesResponseTotalMin = 0;
2542
- const listStatusesResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2543
- const listStatusesResponseValuesItemIndexMin = 0;
2544
- const listStatusesResponse = zod.object({
2845
+ const listStatuses200ResponseStartAtMin = 0;
2846
+ const listStatuses200ResponseTotalMin = 0;
2847
+ const listStatuses200ResponseValuesItemNameMax = 255;
2848
+ const listStatuses200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2849
+ const listStatuses200ResponseValuesItemIndexMin = 0;
2850
+ const listStatuses200Response = zod.object({
2545
2851
  next: zod.string().url().nullish().describe(
2546
2852
  "URL to the next page of results, or null if there are no more results."
2547
2853
  ),
2548
- startAt: zod.number().min(listStatusesResponseStartAtMin).describe(
2854
+ startAt: zod.number().min(listStatuses200ResponseStartAtMin).describe(
2549
2855
  "Indicates the index of the first item returned in the page of results."
2550
2856
  ),
2551
2857
  maxResults: zod.number().min(1).describe(
2552
2858
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
2553
2859
  ),
2554
- total: zod.number().min(listStatusesResponseTotalMin).optional().describe(
2860
+ total: zod.number().min(listStatuses200ResponseTotalMin).optional().describe(
2555
2861
  "Indicates the total number of items available across all pages."
2556
2862
  ),
2557
2863
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -2569,9 +2875,9 @@ const listStatusesResponse = zod.object({
2569
2875
  )
2570
2876
  })
2571
2877
  ).describe("ID and link relative to Zephyr project."),
2572
- name: zod.string().regex(listStatusesResponseValuesItemNameRegExp),
2878
+ name: zod.string().min(1).max(listStatuses200ResponseValuesItemNameMax).regex(listStatuses200ResponseValuesItemNameRegExp),
2573
2879
  description: zod.string().nullish().describe("Description outlining the scope."),
2574
- index: zod.number().min(listStatusesResponseValuesItemIndexMin)
2880
+ index: zod.number().min(listStatuses200ResponseValuesItemIndexMin)
2575
2881
  }).and(
2576
2882
  zod.object({
2577
2883
  color: zod.string().optional(),
@@ -2584,6 +2890,10 @@ const listStatusesResponse = zod.object({
2584
2890
  ).optional()
2585
2891
  })
2586
2892
  );
2893
+ zod.object({
2894
+ errorCode: zod.number(),
2895
+ message: zod.string()
2896
+ });
2587
2897
  const createStatusBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2588
2898
  const createStatusBodyNameMax = 255;
2589
2899
  const createStatusBodyDescriptionMax = 255;
@@ -2595,11 +2905,20 @@ zod.object({
2595
2905
  description: zod.string().min(1).max(createStatusBodyDescriptionMax).optional().describe("The status description."),
2596
2906
  color: zod.string().regex(createStatusBodyColorRegExp).optional().describe("A color in hexadecimal format")
2597
2907
  });
2908
+ zod.object({
2909
+ id: zod.number().min(1).optional(),
2910
+ self: zod.string().optional()
2911
+ });
2912
+ zod.object({
2913
+ errorCode: zod.number(),
2914
+ message: zod.string()
2915
+ });
2598
2916
  zod.object({
2599
2917
  statusId: zod.number().min(1)
2600
2918
  });
2601
- const getStatusResponseNameRegExp = /^(?!\\s*$).+/;
2602
- const getStatusResponseIndexMin = 0;
2919
+ const getStatus200ResponseNameMax = 255;
2920
+ const getStatus200ResponseNameRegExp = /^(?!\\s*$).+/;
2921
+ const getStatus200ResponseIndexMin = 0;
2603
2922
  zod.object({
2604
2923
  id: zod.number().min(1),
2605
2924
  project: zod.object({
@@ -2609,9 +2928,9 @@ zod.object({
2609
2928
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2610
2929
  })
2611
2930
  ).describe("ID and link relative to Zephyr project."),
2612
- name: zod.string().regex(getStatusResponseNameRegExp),
2931
+ name: zod.string().min(1).max(getStatus200ResponseNameMax).regex(getStatus200ResponseNameRegExp),
2613
2932
  description: zod.string().nullish().describe("Description outlining the scope."),
2614
- index: zod.number().min(getStatusResponseIndexMin)
2933
+ index: zod.number().min(getStatus200ResponseIndexMin)
2615
2934
  }).and(
2616
2935
  zod.object({
2617
2936
  color: zod.string().optional(),
@@ -2621,6 +2940,14 @@ zod.object({
2621
2940
  default: zod.boolean().optional()
2622
2941
  })
2623
2942
  );
2943
+ zod.object({
2944
+ errorCode: zod.number(),
2945
+ message: zod.string()
2946
+ });
2947
+ zod.object({
2948
+ errorCode: zod.number(),
2949
+ message: zod.string()
2950
+ });
2624
2951
  zod.object({
2625
2952
  statusId: zod.number().min(1)
2626
2953
  });
@@ -2644,6 +2971,10 @@ zod.object({
2644
2971
  default: zod.boolean(),
2645
2972
  color: zod.string().regex(updateStatusBodyColorRegExp).optional().describe("A color in hexadecimal format")
2646
2973
  });
2974
+ zod.object({
2975
+ errorCode: zod.number(),
2976
+ message: zod.string()
2977
+ });
2647
2978
  const listEnvironmentsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2648
2979
  const listEnvironmentsQueryMaxResultsDefault = 10;
2649
2980
  const listEnvironmentsQueryStartAtMin = 0;
@@ -2657,21 +2988,22 @@ const listEnvironmentsQueryParams = zod.object({
2657
2988
  "Zero-indexed starting position. Should be a multiple of maxResults."
2658
2989
  )
2659
2990
  });
2660
- const listEnvironmentsResponseStartAtMin = 0;
2661
- const listEnvironmentsResponseTotalMin = 0;
2662
- const listEnvironmentsResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2663
- const listEnvironmentsResponseValuesItemIndexMin = 0;
2664
- const listEnvironmentsResponse = zod.object({
2991
+ const listEnvironments200ResponseStartAtMin = 0;
2992
+ const listEnvironments200ResponseTotalMin = 0;
2993
+ const listEnvironments200ResponseValuesItemNameMax = 255;
2994
+ const listEnvironments200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2995
+ const listEnvironments200ResponseValuesItemIndexMin = 0;
2996
+ const listEnvironments200Response = zod.object({
2665
2997
  next: zod.string().url().nullish().describe(
2666
2998
  "URL to the next page of results, or null if there are no more results."
2667
2999
  ),
2668
- startAt: zod.number().min(listEnvironmentsResponseStartAtMin).describe(
3000
+ startAt: zod.number().min(listEnvironments200ResponseStartAtMin).describe(
2669
3001
  "Indicates the index of the first item returned in the page of results."
2670
3002
  ),
2671
3003
  maxResults: zod.number().min(1).describe(
2672
3004
  "Indicates the maximum number of results in this response. Note that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints."
2673
3005
  ),
2674
- total: zod.number().min(listEnvironmentsResponseTotalMin).optional().describe(
3006
+ total: zod.number().min(listEnvironments200ResponseTotalMin).optional().describe(
2675
3007
  "Indicates the total number of items available across all pages."
2676
3008
  ),
2677
3009
  isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
@@ -2689,9 +3021,9 @@ const listEnvironmentsResponse = zod.object({
2689
3021
  )
2690
3022
  })
2691
3023
  ).describe("ID and link relative to Zephyr project."),
2692
- name: zod.string().regex(listEnvironmentsResponseValuesItemNameRegExp),
3024
+ name: zod.string().min(1).max(listEnvironments200ResponseValuesItemNameMax).regex(listEnvironments200ResponseValuesItemNameRegExp),
2693
3025
  description: zod.string().nullish().describe("Description outlining the scope."),
2694
- index: zod.number().min(listEnvironmentsResponseValuesItemIndexMin)
3026
+ index: zod.number().min(listEnvironments200ResponseValuesItemIndexMin)
2695
3027
  }).and(
2696
3028
  zod.object({
2697
3029
  archived: zod.boolean().optional()
@@ -2700,6 +3032,10 @@ const listEnvironmentsResponse = zod.object({
2700
3032
  ).optional()
2701
3033
  })
2702
3034
  );
3035
+ zod.object({
3036
+ errorCode: zod.number(),
3037
+ message: zod.string()
3038
+ });
2703
3039
  const createEnvironmentBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2704
3040
  const createEnvironmentBodyNameMax = 255;
2705
3041
  const createEnvironmentBodyDescriptionMax = 255;
@@ -2708,11 +3044,38 @@ zod.object({
2708
3044
  name: zod.string().min(1).max(createEnvironmentBodyNameMax).describe("The environment name."),
2709
3045
  description: zod.string().min(1).max(createEnvironmentBodyDescriptionMax).optional().describe("The environment description.")
2710
3046
  });
3047
+ zod.object({
3048
+ id: zod.number().min(1).optional(),
3049
+ self: zod.string().optional()
3050
+ });
3051
+ zod.union([
3052
+ zod.object({
3053
+ errorCode: zod.number(),
3054
+ message: zod.string()
3055
+ }),
3056
+ zod.object({
3057
+ errorCode: zod.number(),
3058
+ message: zod.string()
3059
+ }),
3060
+ zod.object({
3061
+ errorCode: zod.number(),
3062
+ message: zod.string()
3063
+ }),
3064
+ zod.object({
3065
+ errorCode: zod.number(),
3066
+ message: zod.string()
3067
+ })
3068
+ ]);
3069
+ zod.object({
3070
+ errorCode: zod.number(),
3071
+ message: zod.string()
3072
+ });
2711
3073
  zod.object({
2712
3074
  environmentId: zod.number().min(1)
2713
3075
  });
2714
- const getEnvironmentResponseNameRegExp = /^(?!\\s*$).+/;
2715
- const getEnvironmentResponseIndexMin = 0;
3076
+ const getEnvironment200ResponseNameMax = 255;
3077
+ const getEnvironment200ResponseNameRegExp = /^(?!\\s*$).+/;
3078
+ const getEnvironment200ResponseIndexMin = 0;
2716
3079
  zod.object({
2717
3080
  id: zod.number().min(1),
2718
3081
  project: zod.object({
@@ -2722,14 +3085,22 @@ zod.object({
2722
3085
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2723
3086
  })
2724
3087
  ).describe("ID and link relative to Zephyr project."),
2725
- name: zod.string().regex(getEnvironmentResponseNameRegExp),
3088
+ name: zod.string().min(1).max(getEnvironment200ResponseNameMax).regex(getEnvironment200ResponseNameRegExp),
2726
3089
  description: zod.string().nullish().describe("Description outlining the scope."),
2727
- index: zod.number().min(getEnvironmentResponseIndexMin)
3090
+ index: zod.number().min(getEnvironment200ResponseIndexMin)
2728
3091
  }).and(
2729
3092
  zod.object({
2730
3093
  archived: zod.boolean().optional()
2731
3094
  })
2732
3095
  );
3096
+ zod.object({
3097
+ errorCode: zod.number(),
3098
+ message: zod.string()
3099
+ });
3100
+ zod.object({
3101
+ errorCode: zod.number(),
3102
+ message: zod.string()
3103
+ });
2733
3104
  zod.object({
2734
3105
  environmentId: zod.number().min(1)
2735
3106
  });
@@ -2749,14 +3120,44 @@ zod.object({
2749
3120
  description: zod.string().min(1).max(updateEnvironmentBodyDescriptionMax).optional().describe("The environment description."),
2750
3121
  index: zod.number().min(updateEnvironmentBodyIndexMin)
2751
3122
  });
3123
+ zod.union([
3124
+ zod.object({
3125
+ errorCode: zod.number(),
3126
+ message: zod.string()
3127
+ }),
3128
+ zod.object({
3129
+ errorCode: zod.number(),
3130
+ message: zod.string()
3131
+ }),
3132
+ zod.object({
3133
+ errorCode: zod.number(),
3134
+ message: zod.string()
3135
+ }),
3136
+ zod.object({
3137
+ errorCode: zod.number(),
3138
+ message: zod.string()
3139
+ }),
3140
+ zod.object({
3141
+ errorCode: zod.number(),
3142
+ message: zod.string()
3143
+ })
3144
+ ]);
3145
+ zod.object({
3146
+ errorCode: zod.number(),
3147
+ message: zod.string()
3148
+ });
2752
3149
  zod.object({
2753
3150
  linkId: zod.number().min(1)
2754
3151
  });
3152
+ zod.object({
3153
+ errorCode: zod.number(),
3154
+ message: zod.string()
3155
+ });
2755
3156
  const getIssueLinkTestCasesPathIssueKeyRegExp = /.+-[0-9]+/;
2756
3157
  zod.object({
2757
3158
  issueKey: zod.string().regex(getIssueLinkTestCasesPathIssueKeyRegExp).describe("The key of the Jira issue")
2758
3159
  });
2759
- const getIssueLinkTestCasesResponseItem = zod.object({
3160
+ const getIssueLinkTestCases200ResponseItem = zod.object({
2760
3161
  key: zod.string().optional(),
2761
3162
  version: zod.number().optional()
2762
3163
  }).and(
@@ -2765,13 +3166,17 @@ const getIssueLinkTestCasesResponseItem = zod.object({
2765
3166
  })
2766
3167
  );
2767
3168
  zod.array(
2768
- getIssueLinkTestCasesResponseItem
3169
+ getIssueLinkTestCases200ResponseItem
2769
3170
  );
3171
+ zod.object({
3172
+ errorCode: zod.number(),
3173
+ message: zod.string()
3174
+ });
2770
3175
  const getIssueLinkTestCyclesPathIssueKeyRegExp = /.+-[0-9]+/;
2771
3176
  zod.object({
2772
3177
  issueKey: zod.string().regex(getIssueLinkTestCyclesPathIssueKeyRegExp).describe("The key of the Jira issue")
2773
3178
  });
2774
- const getIssueLinkTestCyclesResponseItem = zod.object({
3179
+ const getIssueLinkTestCycles200ResponseItem = zod.object({
2775
3180
  id: zod.number().min(1)
2776
3181
  }).describe("The ID of the resource").and(
2777
3182
  zod.object({
@@ -2779,13 +3184,17 @@ const getIssueLinkTestCyclesResponseItem = zod.object({
2779
3184
  })
2780
3185
  );
2781
3186
  zod.array(
2782
- getIssueLinkTestCyclesResponseItem
3187
+ getIssueLinkTestCycles200ResponseItem
2783
3188
  );
3189
+ zod.object({
3190
+ errorCode: zod.number(),
3191
+ message: zod.string()
3192
+ });
2784
3193
  const getIssueLinkTestPlansPathIssueKeyRegExp = /.+-[0-9]+/;
2785
3194
  zod.object({
2786
3195
  issueKey: zod.string().regex(getIssueLinkTestPlansPathIssueKeyRegExp).describe("The key of the Jira issue")
2787
3196
  });
2788
- const getIssueLinkTestPlansResponseItem = zod.object({
3197
+ const getIssueLinkTestPlans200ResponseItem = zod.object({
2789
3198
  id: zod.number().min(1)
2790
3199
  }).describe("The ID of the resource").and(
2791
3200
  zod.object({
@@ -2793,13 +3202,17 @@ const getIssueLinkTestPlansResponseItem = zod.object({
2793
3202
  })
2794
3203
  );
2795
3204
  zod.array(
2796
- getIssueLinkTestPlansResponseItem
3205
+ getIssueLinkTestPlans200ResponseItem
2797
3206
  );
3207
+ zod.object({
3208
+ errorCode: zod.number(),
3209
+ message: zod.string()
3210
+ });
2798
3211
  const getIssueLinkTestExecutionsPathIssueKeyRegExp = /.+-[0-9]+/;
2799
3212
  zod.object({
2800
3213
  issueKey: zod.string().regex(getIssueLinkTestExecutionsPathIssueKeyRegExp).describe("The key of the Jira issue")
2801
3214
  });
2802
- const getIssueLinkTestExecutionsResponseItem = zod.object({
3215
+ const getIssueLinkTestExecutions200ResponseItem = zod.object({
2803
3216
  id: zod.number().min(1)
2804
3217
  }).describe("The ID of the resource").and(
2805
3218
  zod.object({
@@ -2807,8 +3220,12 @@ const getIssueLinkTestExecutionsResponseItem = zod.object({
2807
3220
  })
2808
3221
  );
2809
3222
  zod.array(
2810
- getIssueLinkTestExecutionsResponseItem
3223
+ getIssueLinkTestExecutions200ResponseItem
2811
3224
  );
3225
+ zod.object({
3226
+ errorCode: zod.number(),
3227
+ message: zod.string()
3228
+ });
2812
3229
  const createCustomExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2813
3230
  zod.object({
2814
3231
  projectKey: zod.string().regex(createCustomExecutionsQueryProjectKeyRegExp).describe("Jira project key filter"),
@@ -2819,11 +3236,12 @@ zod.object({
2819
3236
  "The content-length header indicates the size of the message body, in bytes. https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2"
2820
3237
  )
2821
3238
  });
3239
+ const createCustomExecutionsBodyTestCycleNameMax = 255;
2822
3240
  const createCustomExecutionsBodyTestCycleNameRegExp = /^(?!\\s*$).+/;
2823
3241
  zod.object({
2824
3242
  file: zod.instanceof(File),
2825
3243
  testCycle: zod.object({
2826
- name: zod.string().regex(createCustomExecutionsBodyTestCycleNameRegExp).optional(),
3244
+ name: zod.string().min(1).max(createCustomExecutionsBodyTestCycleNameMax).regex(createCustomExecutionsBodyTestCycleNameRegExp).optional(),
2827
3245
  description: zod.string().nullish().describe("Description outlining the scope."),
2828
3246
  jiraProjectVersion: zod.number().min(1).optional().describe(
2829
3247
  "Jira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects."
@@ -2836,14 +3254,18 @@ zod.object({
2836
3254
  "Pass this object as a JSON in your form-data alongside the file. Make sure you set the type of this object as `application/json` otherwise the object will be ignored."
2837
3255
  )
2838
3256
  });
2839
- const createCustomExecutionsResponseTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
3257
+ const createCustomExecutions200ResponseTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
2840
3258
  zod.object({
2841
3259
  testCycle: zod.object({
2842
3260
  id: zod.number().min(1).optional().describe("The id of the newly created test cycle."),
2843
3261
  url: zod.string().optional().describe("The URL pointing to the newly created test cycle."),
2844
- key: zod.string().regex(createCustomExecutionsResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
3262
+ key: zod.string().regex(createCustomExecutions200ResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
2845
3263
  }).optional()
2846
3264
  });
3265
+ zod.object({
3266
+ errorCode: zod.number(),
3267
+ message: zod.string()
3268
+ });
2847
3269
  const createCucumberExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2848
3270
  zod.object({
2849
3271
  projectKey: zod.string().regex(createCucumberExecutionsQueryProjectKeyRegExp).describe("Jira project key filter"),
@@ -2854,11 +3276,12 @@ zod.object({
2854
3276
  "The content-length header indicates the size of the message body, in bytes. https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2"
2855
3277
  )
2856
3278
  });
3279
+ const createCucumberExecutionsBodyTestCycleNameMax = 255;
2857
3280
  const createCucumberExecutionsBodyTestCycleNameRegExp = /^(?!\\s*$).+/;
2858
3281
  zod.object({
2859
3282
  file: zod.instanceof(File),
2860
3283
  testCycle: zod.object({
2861
- name: zod.string().regex(createCucumberExecutionsBodyTestCycleNameRegExp).optional(),
3284
+ name: zod.string().min(1).max(createCucumberExecutionsBodyTestCycleNameMax).regex(createCucumberExecutionsBodyTestCycleNameRegExp).optional(),
2862
3285
  description: zod.string().nullish().describe("Description outlining the scope."),
2863
3286
  jiraProjectVersion: zod.number().min(1).optional().describe(
2864
3287
  "Jira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects."
@@ -2871,14 +3294,18 @@ zod.object({
2871
3294
  "Pass this object as a JSON in your form-data alongside the file. Make sure you set the type of this object as `application/json` otherwise the object will be ignored."
2872
3295
  )
2873
3296
  });
2874
- const createCucumberExecutionsResponseTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
3297
+ const createCucumberExecutions200ResponseTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
2875
3298
  zod.object({
2876
3299
  testCycle: zod.object({
2877
3300
  id: zod.number().min(1).optional().describe("The id of the newly created test cycle."),
2878
3301
  url: zod.string().optional().describe("The URL pointing to the newly created test cycle."),
2879
- key: zod.string().regex(createCucumberExecutionsResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
3302
+ key: zod.string().regex(createCucumberExecutions200ResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
2880
3303
  }).optional()
2881
3304
  });
3305
+ zod.object({
3306
+ errorCode: zod.number(),
3307
+ message: zod.string()
3308
+ });
2882
3309
  const createJUnitExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2883
3310
  zod.object({
2884
3311
  projectKey: zod.string().regex(createJUnitExecutionsQueryProjectKeyRegExp).describe("Jira project key filter"),
@@ -2889,11 +3316,12 @@ zod.object({
2889
3316
  "The content-length header indicates the size of the message body, in bytes. https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2"
2890
3317
  )
2891
3318
  });
3319
+ const createJUnitExecutionsBodyTestCycleNameMax = 255;
2892
3320
  const createJUnitExecutionsBodyTestCycleNameRegExp = /^(?!\\s*$).+/;
2893
3321
  zod.object({
2894
3322
  file: zod.instanceof(File),
2895
3323
  testCycle: zod.object({
2896
- name: zod.string().regex(createJUnitExecutionsBodyTestCycleNameRegExp).optional(),
3324
+ name: zod.string().min(1).max(createJUnitExecutionsBodyTestCycleNameMax).regex(createJUnitExecutionsBodyTestCycleNameRegExp).optional(),
2897
3325
  description: zod.string().nullish().describe("Description outlining the scope."),
2898
3326
  jiraProjectVersion: zod.number().min(1).optional().describe(
2899
3327
  "Jira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects."
@@ -2906,14 +3334,18 @@ zod.object({
2906
3334
  "Pass this object as a JSON in your form-data alongside the file. Make sure you set the type of this object as `application/json` otherwise the object will be ignored."
2907
3335
  )
2908
3336
  });
2909
- const createJUnitExecutionsResponseTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
3337
+ const createJUnitExecutions200ResponseTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
2910
3338
  zod.object({
2911
3339
  testCycle: zod.object({
2912
3340
  id: zod.number().min(1).optional().describe("The id of the newly created test cycle."),
2913
3341
  url: zod.string().optional().describe("The URL pointing to the newly created test cycle."),
2914
- key: zod.string().regex(createJUnitExecutionsResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
3342
+ key: zod.string().regex(createJUnitExecutions200ResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
2915
3343
  }).optional()
2916
3344
  });
3345
+ zod.object({
3346
+ errorCode: zod.number(),
3347
+ message: zod.string()
3348
+ });
2917
3349
  const retrieveBDDTestCasesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2918
3350
  zod.object({
2919
3351
  projectKey: zod.string().regex(retrieveBDDTestCasesQueryProjectKeyRegExp).describe("Jira project key filter")
@@ -2921,21 +3353,32 @@ zod.object({
2921
3353
  zod.object({
2922
3354
  Accept: zod.enum(["application/zip"])
2923
3355
  });
3356
+ zod.object({
3357
+ errorCode: zod.number(),
3358
+ message: zod.string()
3359
+ });
3360
+ zod.object({
3361
+ errorCode: zod.number(),
3362
+ message: zod.string()
3363
+ });
2924
3364
  export {
3365
+ createCucumberExecutions200ResponseTestCycleKeyRegExp,
3366
+ createCucumberExecutionsBodyTestCycleNameMax,
2925
3367
  createCucumberExecutionsBodyTestCycleNameRegExp,
2926
3368
  createCucumberExecutionsQueryProjectKeyRegExp,
2927
- createCucumberExecutionsResponseTestCycleKeyRegExp,
3369
+ createCustomExecutions200ResponseTestCycleKeyRegExp,
3370
+ createCustomExecutionsBodyTestCycleNameMax,
2928
3371
  createCustomExecutionsBodyTestCycleNameRegExp,
2929
3372
  createCustomExecutionsQueryProjectKeyRegExp,
2930
- createCustomExecutionsResponseTestCycleKeyRegExp,
2931
3373
  createEnvironmentBodyDescriptionMax,
2932
3374
  createEnvironmentBodyNameMax,
2933
3375
  createEnvironmentBodyProjectKeyRegExp,
2934
3376
  createFolderBodyNameMax,
2935
3377
  createFolderBodyProjectKeyRegExp,
3378
+ createJUnitExecutions200ResponseTestCycleKeyRegExp,
3379
+ createJUnitExecutionsBodyTestCycleNameMax,
2936
3380
  createJUnitExecutionsBodyTestCycleNameRegExp,
2937
3381
  createJUnitExecutionsQueryProjectKeyRegExp,
2938
- createJUnitExecutionsResponseTestCycleKeyRegExp,
2939
3382
  createPriorityBodyColorRegExp,
2940
3383
  createPriorityBodyDescriptionMax,
2941
3384
  createPriorityBodyNameMax,
@@ -2944,8 +3387,12 @@ export {
2944
3387
  createStatusBodyDescriptionMax,
2945
3388
  createStatusBodyNameMax,
2946
3389
  createStatusBodyProjectKeyRegExp,
3390
+ createTestCase201Response,
3391
+ createTestCaseBody,
2947
3392
  createTestCaseBodyComponentIdMin,
2948
3393
  createTestCaseBodyEstimatedTimeMin,
3394
+ createTestCaseBodyLabelsMax,
3395
+ createTestCaseBodyNameMax,
2949
3396
  createTestCaseBodyNameRegExp,
2950
3397
  createTestCaseBodyOwnerIdRegExp,
2951
3398
  createTestCaseBodyPriorityNameMax,
@@ -2955,13 +3402,21 @@ export {
2955
3402
  createTestCaseTestScriptPathTestCaseKeyRegExp,
2956
3403
  createTestCaseTestStepsBodyItemsItemTestCaseTestCaseKeyRegExp,
2957
3404
  createTestCaseTestStepsPathTestCaseKeyRegExp,
3405
+ createTestCaseWebLink201Response,
3406
+ createTestCaseWebLinkBody,
3407
+ createTestCaseWebLinkParams,
2958
3408
  createTestCaseWebLinkPathTestCaseKeyRegExp,
3409
+ createTestCycle201Response,
3410
+ createTestCycleBody,
3411
+ createTestCycleBodyNameMax,
2959
3412
  createTestCycleBodyNameRegExp,
2960
3413
  createTestCycleBodyOwnerIdRegExp,
2961
3414
  createTestCycleBodyProjectKeyRegExp,
2962
3415
  createTestCycleBodyStatusNameMax,
2963
3416
  createTestCycleIssueLinkPathTestCycleIdOrKeyRegExp,
2964
3417
  createTestCycleWebLinkPathTestCycleIdOrKeyRegExp,
3418
+ createTestExecution201Response,
3419
+ createTestExecutionBody,
2965
3420
  createTestExecutionBodyAssignedToIdRegExp,
2966
3421
  createTestExecutionBodyExecutedByIdRegExp,
2967
3422
  createTestExecutionBodyExecutionTimeMin,
@@ -2971,6 +3426,8 @@ export {
2971
3426
  createTestExecutionBodyTestCycleKeyRegExp,
2972
3427
  createTestExecutionBodyTestScriptResultsItemStatusNameMax,
2973
3428
  createTestExecutionIssueLinkPathTestExecutionIdOrKeyRegExp,
3429
+ createTestPlanBodyLabelsMax,
3430
+ createTestPlanBodyNameMax,
2974
3431
  createTestPlanBodyNameRegExp,
2975
3432
  createTestPlanBodyOwnerIdRegExp,
2976
3433
  createTestPlanBodyProjectKeyRegExp,
@@ -2979,159 +3436,192 @@ export {
2979
3436
  createTestPlanTestCycleLinkBodyTestCycleIdOrKeyRegExp,
2980
3437
  createTestPlanTestCycleLinkPathTestPlanIdOrKeyRegExp,
2981
3438
  createTestPlanWebLinkPathTestPlanIdOrKeyRegExp,
2982
- getEnvironmentResponseIndexMin,
2983
- getEnvironmentResponseNameRegExp,
2984
- getFolderResponseIndexMin,
2985
- getFolderResponseNameRegExp,
3439
+ getEnvironment200ResponseIndexMin,
3440
+ getEnvironment200ResponseNameMax,
3441
+ getEnvironment200ResponseNameRegExp,
3442
+ getFolder200ResponseIndexMin,
3443
+ getFolder200ResponseNameMax,
3444
+ getFolder200ResponseNameRegExp,
3445
+ getIssueLinkTestCases200ResponseItem,
2986
3446
  getIssueLinkTestCasesPathIssueKeyRegExp,
2987
- getIssueLinkTestCasesResponseItem,
3447
+ getIssueLinkTestCycles200ResponseItem,
2988
3448
  getIssueLinkTestCyclesPathIssueKeyRegExp,
2989
- getIssueLinkTestCyclesResponseItem,
3449
+ getIssueLinkTestExecutions200ResponseItem,
2990
3450
  getIssueLinkTestExecutionsPathIssueKeyRegExp,
2991
- getIssueLinkTestExecutionsResponseItem,
3451
+ getIssueLinkTestPlans200ResponseItem,
2992
3452
  getIssueLinkTestPlansPathIssueKeyRegExp,
2993
- getIssueLinkTestPlansResponseItem,
2994
- getPriorityResponseColorRegExp,
2995
- getPriorityResponseIndexMin,
2996
- getPriorityResponseNameRegExp,
3453
+ getPriority200ResponseColorRegExp,
3454
+ getPriority200ResponseIndexMin,
3455
+ getPriority200ResponseNameMax,
3456
+ getPriority200ResponseNameRegExp,
3457
+ getProject200Response,
2997
3458
  getProjectParams,
2998
3459
  getProjectPathProjectIdOrKeyRegExp,
2999
- getProjectResponse,
3000
- getStatusResponseIndexMin,
3001
- getStatusResponseNameRegExp,
3460
+ getStatus200ResponseIndexMin,
3461
+ getStatus200ResponseNameMax,
3462
+ getStatus200ResponseNameRegExp,
3463
+ getTestCase200Response,
3464
+ getTestCase200ResponseEstimatedTimeMin,
3465
+ getTestCase200ResponseKeyRegExp,
3466
+ getTestCase200ResponseLabelsMax,
3467
+ getTestCase200ResponseNameMax,
3468
+ getTestCase200ResponseNameRegExp,
3469
+ getTestCase200ResponseOwnerAccountIdRegExp,
3002
3470
  getTestCaseLinksPathTestCaseKeyRegExp,
3003
3471
  getTestCaseParams,
3004
3472
  getTestCasePathTestCaseKeyRegExp,
3005
- getTestCaseResponse,
3006
- getTestCaseResponseEstimatedTimeMin,
3007
- getTestCaseResponseKeyRegExp,
3008
- getTestCaseResponseNameRegExp,
3009
- getTestCaseResponseOwnerAccountIdRegExp,
3010
3473
  getTestCaseTestScriptPathTestCaseKeyRegExp,
3474
+ getTestCaseTestSteps200ResponseStartAtMin,
3475
+ getTestCaseTestSteps200ResponseTotalMin,
3476
+ getTestCaseTestSteps200ResponseValuesItemTestCaseTestCaseKeyRegExp,
3011
3477
  getTestCaseTestStepsPathTestCaseKeyRegExp,
3012
3478
  getTestCaseTestStepsQueryMaxResultsDefault,
3013
3479
  getTestCaseTestStepsQueryStartAtMax,
3014
3480
  getTestCaseTestStepsQueryStartAtMin,
3015
- getTestCaseTestStepsResponseStartAtMin,
3016
- getTestCaseTestStepsResponseTotalMin,
3017
- getTestCaseTestStepsResponseValuesItemTestCaseTestCaseKeyRegExp,
3481
+ getTestCaseVersion200ResponseEstimatedTimeMin,
3482
+ getTestCaseVersion200ResponseKeyRegExp,
3483
+ getTestCaseVersion200ResponseLabelsMax,
3484
+ getTestCaseVersion200ResponseNameMax,
3485
+ getTestCaseVersion200ResponseNameRegExp,
3486
+ getTestCaseVersion200ResponseOwnerAccountIdRegExp,
3018
3487
  getTestCaseVersionPathTestCaseKeyRegExp,
3019
- getTestCaseVersionResponseEstimatedTimeMin,
3020
- getTestCaseVersionResponseKeyRegExp,
3021
- getTestCaseVersionResponseNameRegExp,
3022
- getTestCaseVersionResponseOwnerAccountIdRegExp,
3488
+ getTestCycle200Response,
3489
+ getTestCycle200ResponseKeyRegExp,
3490
+ getTestCycle200ResponseNameRegExp,
3491
+ getTestCycle200ResponseOwnerAccountIdRegExp,
3023
3492
  getTestCycleLinksPathTestCycleIdOrKeyRegExp,
3024
3493
  getTestCycleParams,
3025
3494
  getTestCyclePathTestCycleIdOrKeyRegExp,
3026
- getTestCycleResponse,
3027
- getTestCycleResponseKeyRegExp,
3028
- getTestCycleResponseNameRegExp,
3029
- getTestCycleResponseOwnerAccountIdRegExp,
3495
+ getTestExecution200Response,
3496
+ getTestExecution200ResponseAssignedToIdRegExp,
3497
+ getTestExecution200ResponseEstimatedTimeMin,
3498
+ getTestExecution200ResponseExecutedByIdRegExp,
3499
+ getTestExecution200ResponseExecutionTimeMin,
3500
+ getTestExecution200ResponseKeyRegExp,
3030
3501
  getTestExecutionParams,
3031
3502
  getTestExecutionPathTestExecutionIdOrKeyRegExp,
3032
- getTestExecutionResponse,
3033
- getTestExecutionResponseAssignedToIdRegExp,
3034
- getTestExecutionResponseEstimatedTimeMin,
3035
- getTestExecutionResponseExecutedByIdRegExp,
3036
- getTestExecutionResponseExecutionTimeMin,
3037
- getTestExecutionResponseKeyRegExp,
3503
+ getTestExecutionTestSteps200ResponseStartAtMin,
3504
+ getTestExecutionTestSteps200ResponseTotalMin,
3038
3505
  getTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp,
3039
3506
  getTestExecutionTestStepsQueryMaxResultsDefault,
3040
3507
  getTestExecutionTestStepsQueryStartAtMax,
3041
3508
  getTestExecutionTestStepsQueryStartAtMin,
3042
3509
  getTestExecutionTestStepsQueryTestDataRowNumberMin,
3043
- getTestExecutionTestStepsResponseStartAtMin,
3044
- getTestExecutionTestStepsResponseTotalMin,
3510
+ getTestPlan200ResponseKeyRegExp,
3511
+ getTestPlan200ResponseLabelsMax,
3512
+ getTestPlan200ResponseNameMax,
3513
+ getTestPlan200ResponseNameRegExp,
3514
+ getTestPlan200ResponseOwnerAccountIdRegExp,
3045
3515
  getTestPlanPathTestPlanIdOrKeyRegExp,
3046
- getTestPlanResponseKeyRegExp,
3047
- getTestPlanResponseNameRegExp,
3048
- getTestPlanResponseOwnerAccountIdRegExp,
3516
+ listEnvironments200Response,
3517
+ listEnvironments200ResponseStartAtMin,
3518
+ listEnvironments200ResponseTotalMin,
3519
+ listEnvironments200ResponseValuesItemIndexMin,
3520
+ listEnvironments200ResponseValuesItemNameMax,
3521
+ listEnvironments200ResponseValuesItemNameRegExp,
3049
3522
  listEnvironmentsQueryMaxResultsDefault,
3050
3523
  listEnvironmentsQueryParams,
3051
3524
  listEnvironmentsQueryProjectKeyRegExp,
3052
3525
  listEnvironmentsQueryStartAtMax,
3053
3526
  listEnvironmentsQueryStartAtMin,
3054
- listEnvironmentsResponse,
3055
- listEnvironmentsResponseStartAtMin,
3056
- listEnvironmentsResponseTotalMin,
3057
- listEnvironmentsResponseValuesItemIndexMin,
3058
- listEnvironmentsResponseValuesItemNameRegExp,
3527
+ listFolders200ResponseStartAtMin,
3528
+ listFolders200ResponseTotalMin,
3529
+ listFolders200ResponseValuesItemIndexMin,
3530
+ listFolders200ResponseValuesItemNameMax,
3531
+ listFolders200ResponseValuesItemNameRegExp,
3059
3532
  listFoldersQueryMaxResultsDefault,
3060
3533
  listFoldersQueryProjectKeyRegExp,
3061
3534
  listFoldersQueryStartAtMax,
3062
3535
  listFoldersQueryStartAtMin,
3063
- listFoldersResponseStartAtMin,
3064
- listFoldersResponseTotalMin,
3065
- listFoldersResponseValuesItemIndexMin,
3066
- listFoldersResponseValuesItemNameRegExp,
3536
+ listPriorities200Response,
3537
+ listPriorities200ResponseStartAtMin,
3538
+ listPriorities200ResponseTotalMin,
3539
+ listPriorities200ResponseValuesItemColorRegExp,
3540
+ listPriorities200ResponseValuesItemIndexMin,
3541
+ listPriorities200ResponseValuesItemNameMax,
3542
+ listPriorities200ResponseValuesItemNameRegExp,
3067
3543
  listPrioritiesQueryMaxResultsDefault,
3068
3544
  listPrioritiesQueryParams,
3069
3545
  listPrioritiesQueryProjectKeyRegExp,
3070
3546
  listPrioritiesQueryStartAtMax,
3071
3547
  listPrioritiesQueryStartAtMin,
3072
- listPrioritiesResponse,
3073
- listPrioritiesResponseStartAtMin,
3074
- listPrioritiesResponseTotalMin,
3075
- listPrioritiesResponseValuesItemColorRegExp,
3076
- listPrioritiesResponseValuesItemIndexMin,
3077
- listPrioritiesResponseValuesItemNameRegExp,
3548
+ listProjects200Response,
3549
+ listProjects200ResponseStartAtMin,
3550
+ listProjects200ResponseTotalMin,
3078
3551
  listProjectsQueryMaxResultsDefault,
3079
3552
  listProjectsQueryParams,
3080
3553
  listProjectsQueryStartAtMax,
3081
3554
  listProjectsQueryStartAtMin,
3082
- listProjectsResponse,
3083
- listProjectsResponseStartAtMin,
3084
- listProjectsResponseTotalMin,
3555
+ listStatuses200Response,
3556
+ listStatuses200ResponseStartAtMin,
3557
+ listStatuses200ResponseTotalMin,
3558
+ listStatuses200ResponseValuesItemIndexMin,
3559
+ listStatuses200ResponseValuesItemNameMax,
3560
+ listStatuses200ResponseValuesItemNameRegExp,
3085
3561
  listStatusesQueryMaxResultsDefault,
3086
3562
  listStatusesQueryParams,
3087
3563
  listStatusesQueryProjectKeyRegExp,
3088
3564
  listStatusesQueryStartAtMax,
3089
3565
  listStatusesQueryStartAtMin,
3090
- listStatusesResponse,
3091
- listStatusesResponseStartAtMin,
3092
- listStatusesResponseTotalMin,
3093
- listStatusesResponseValuesItemIndexMin,
3094
- listStatusesResponseValuesItemNameRegExp,
3566
+ listTestCaseVersions200ResponseStartAtMin,
3567
+ listTestCaseVersions200ResponseTotalMin,
3095
3568
  listTestCaseVersionsPathTestCaseKeyRegExp,
3096
3569
  listTestCaseVersionsQueryMaxResultsDefault,
3097
3570
  listTestCaseVersionsQueryStartAtMax,
3098
3571
  listTestCaseVersionsQueryStartAtMin,
3099
- listTestCaseVersionsResponseStartAtMin,
3100
- listTestCaseVersionsResponseTotalMin,
3572
+ listTestCases200ResponseStartAtMin,
3573
+ listTestCases200ResponseTotalMin,
3574
+ listTestCases200ResponseValuesItemEstimatedTimeMin,
3575
+ listTestCases200ResponseValuesItemKeyRegExp,
3576
+ listTestCases200ResponseValuesItemLabelsMax,
3577
+ listTestCases200ResponseValuesItemNameMax,
3578
+ listTestCases200ResponseValuesItemNameRegExp,
3579
+ listTestCases200ResponseValuesItemOwnerAccountIdRegExp,
3580
+ listTestCasesCursorPaginated200Response,
3581
+ listTestCasesCursorPaginated200ResponseLimitMin,
3582
+ listTestCasesCursorPaginated200ResponseNextStartAtIdMin,
3583
+ listTestCasesCursorPaginated200ResponseValuesItemEstimatedTimeMin,
3584
+ listTestCasesCursorPaginated200ResponseValuesItemKeyRegExp,
3585
+ listTestCasesCursorPaginated200ResponseValuesItemLabelsMax,
3586
+ listTestCasesCursorPaginated200ResponseValuesItemNameMax,
3587
+ listTestCasesCursorPaginated200ResponseValuesItemNameRegExp,
3588
+ listTestCasesCursorPaginated200ResponseValuesItemOwnerAccountIdRegExp,
3101
3589
  listTestCasesCursorPaginatedQueryLimitDefault,
3102
3590
  listTestCasesCursorPaginatedQueryLimitMax,
3103
3591
  listTestCasesCursorPaginatedQueryParams,
3104
3592
  listTestCasesCursorPaginatedQueryProjectKeyRegExp,
3105
3593
  listTestCasesCursorPaginatedQueryStartAtIdMin,
3106
- listTestCasesCursorPaginatedResponse,
3107
- listTestCasesCursorPaginatedResponseLimitMin,
3108
- listTestCasesCursorPaginatedResponseNextStartAtIdMin,
3109
- listTestCasesCursorPaginatedResponseValuesItemEstimatedTimeMin,
3110
- listTestCasesCursorPaginatedResponseValuesItemKeyRegExp,
3111
- listTestCasesCursorPaginatedResponseValuesItemNameRegExp,
3112
- listTestCasesCursorPaginatedResponseValuesItemOwnerAccountIdRegExp,
3113
3594
  listTestCasesQueryMaxResultsDefault,
3114
3595
  listTestCasesQueryProjectKeyRegExp,
3115
3596
  listTestCasesQueryStartAtMax,
3116
3597
  listTestCasesQueryStartAtMin,
3117
- listTestCasesResponseStartAtMin,
3118
- listTestCasesResponseTotalMin,
3119
- listTestCasesResponseValuesItemEstimatedTimeMin,
3120
- listTestCasesResponseValuesItemKeyRegExp,
3121
- listTestCasesResponseValuesItemNameRegExp,
3122
- listTestCasesResponseValuesItemOwnerAccountIdRegExp,
3598
+ listTestCycles200Response,
3599
+ listTestCycles200ResponseStartAtMin,
3600
+ listTestCycles200ResponseTotalMin,
3601
+ listTestCycles200ResponseValuesItemKeyRegExp,
3602
+ listTestCycles200ResponseValuesItemNameRegExp,
3603
+ listTestCycles200ResponseValuesItemOwnerAccountIdRegExp,
3123
3604
  listTestCyclesQueryMaxResultsDefault,
3124
3605
  listTestCyclesQueryParams,
3125
3606
  listTestCyclesQueryProjectKeyRegExp,
3126
3607
  listTestCyclesQueryStartAtMax,
3127
3608
  listTestCyclesQueryStartAtMin,
3128
- listTestCyclesResponse,
3129
- listTestCyclesResponseStartAtMin,
3130
- listTestCyclesResponseTotalMin,
3131
- listTestCyclesResponseValuesItemKeyRegExp,
3132
- listTestCyclesResponseValuesItemNameRegExp,
3133
- listTestCyclesResponseValuesItemOwnerAccountIdRegExp,
3134
3609
  listTestExecutionLinksPathTestExecutionIdOrKeyRegExp,
3610
+ listTestExecutions200ResponseStartAtMin,
3611
+ listTestExecutions200ResponseTotalMin,
3612
+ listTestExecutions200ResponseValuesItemAssignedToIdRegExp,
3613
+ listTestExecutions200ResponseValuesItemEstimatedTimeMin,
3614
+ listTestExecutions200ResponseValuesItemExecutedByIdRegExp,
3615
+ listTestExecutions200ResponseValuesItemExecutionTimeMin,
3616
+ listTestExecutions200ResponseValuesItemKeyRegExp,
3617
+ listTestExecutionsNextgen200Response,
3618
+ listTestExecutionsNextgen200ResponseLimitMin,
3619
+ listTestExecutionsNextgen200ResponseNextStartAtIdMin,
3620
+ listTestExecutionsNextgen200ResponseValuesItemAssignedToIdRegExp,
3621
+ listTestExecutionsNextgen200ResponseValuesItemEstimatedTimeMin,
3622
+ listTestExecutionsNextgen200ResponseValuesItemExecutedByIdRegExp,
3623
+ listTestExecutionsNextgen200ResponseValuesItemExecutionTimeMin,
3624
+ listTestExecutionsNextgen200ResponseValuesItemKeyRegExp,
3135
3625
  listTestExecutionsNextgenQueryLimitDefault,
3136
3626
  listTestExecutionsNextgenQueryLimitMax,
3137
3627
  listTestExecutionsNextgenQueryParams,
@@ -3139,36 +3629,23 @@ export {
3139
3629
  listTestExecutionsNextgenQueryStartAtIdMin,
3140
3630
  listTestExecutionsNextgenQueryTestCaseRegExp,
3141
3631
  listTestExecutionsNextgenQueryTestCycleRegExp,
3142
- listTestExecutionsNextgenResponse,
3143
- listTestExecutionsNextgenResponseLimitMin,
3144
- listTestExecutionsNextgenResponseNextStartAtIdMin,
3145
- listTestExecutionsNextgenResponseValuesItemAssignedToIdRegExp,
3146
- listTestExecutionsNextgenResponseValuesItemEstimatedTimeMin,
3147
- listTestExecutionsNextgenResponseValuesItemExecutedByIdRegExp,
3148
- listTestExecutionsNextgenResponseValuesItemExecutionTimeMin,
3149
- listTestExecutionsNextgenResponseValuesItemKeyRegExp,
3150
3632
  listTestExecutionsQueryMaxResultsDefault,
3151
3633
  listTestExecutionsQueryProjectKeyRegExp,
3152
3634
  listTestExecutionsQueryStartAtMax,
3153
3635
  listTestExecutionsQueryStartAtMin,
3154
3636
  listTestExecutionsQueryTestCaseRegExp,
3155
3637
  listTestExecutionsQueryTestCycleRegExp,
3156
- listTestExecutionsResponseStartAtMin,
3157
- listTestExecutionsResponseTotalMin,
3158
- listTestExecutionsResponseValuesItemAssignedToIdRegExp,
3159
- listTestExecutionsResponseValuesItemEstimatedTimeMin,
3160
- listTestExecutionsResponseValuesItemExecutedByIdRegExp,
3161
- listTestExecutionsResponseValuesItemExecutionTimeMin,
3162
- listTestExecutionsResponseValuesItemKeyRegExp,
3638
+ listTestPlans200ResponseStartAtMin,
3639
+ listTestPlans200ResponseTotalMin,
3640
+ listTestPlans200ResponseValuesItemKeyRegExp,
3641
+ listTestPlans200ResponseValuesItemLabelsMax,
3642
+ listTestPlans200ResponseValuesItemNameMax,
3643
+ listTestPlans200ResponseValuesItemNameRegExp,
3644
+ listTestPlans200ResponseValuesItemOwnerAccountIdRegExp,
3163
3645
  listTestPlansQueryMaxResultsDefault,
3164
3646
  listTestPlansQueryProjectKeyRegExp,
3165
3647
  listTestPlansQueryStartAtMax,
3166
3648
  listTestPlansQueryStartAtMin,
3167
- listTestPlansResponseStartAtMin,
3168
- listTestPlansResponseTotalMin,
3169
- listTestPlansResponseValuesItemKeyRegExp,
3170
- listTestPlansResponseValuesItemNameRegExp,
3171
- listTestPlansResponseValuesItemOwnerAccountIdRegExp,
3172
3649
  putTestExecutionTestStepsBodyStepsItemStatusNameMax,
3173
3650
  putTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp,
3174
3651
  retrieveBDDTestCasesQueryProjectKeyRegExp,
@@ -3184,14 +3661,20 @@ export {
3184
3661
  updateStatusBodyDescriptionMax,
3185
3662
  updateStatusBodyIndexMin,
3186
3663
  updateStatusBodyNameMax,
3664
+ updateTestCaseBody,
3187
3665
  updateTestCaseBodyEstimatedTimeMin,
3188
3666
  updateTestCaseBodyKeyRegExp,
3667
+ updateTestCaseBodyLabelsMax,
3668
+ updateTestCaseBodyNameMax,
3189
3669
  updateTestCaseBodyNameRegExp,
3190
3670
  updateTestCaseBodyOwnerAccountIdRegExp,
3671
+ updateTestCaseParams,
3191
3672
  updateTestCasePathTestCaseKeyRegExp,
3673
+ updateTestCycleBody,
3192
3674
  updateTestCycleBodyKeyRegExp,
3193
3675
  updateTestCycleBodyNameRegExp,
3194
3676
  updateTestCycleBodyOwnerAccountIdRegExp,
3677
+ updateTestCycleParams,
3195
3678
  updateTestCyclePathTestCycleIdOrKeyRegExp,
3196
3679
  updateTestExecutionBodyAssignedToIdRegExp,
3197
3680
  updateTestExecutionBodyExecutedByIdRegExp,