@smartbear/mcp 0.14.0 → 0.14.1

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.
@@ -1,6 +1,7 @@
1
1
  import * as zod from "zod";
2
2
  const listTestCasesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
3
3
  const listTestCasesQueryMaxResultsDefault = 10;
4
+ const listTestCasesQueryStartAtDefault = 0;
4
5
  const listTestCasesQueryStartAtMin = 0;
5
6
  const listTestCasesQueryStartAtMax = 1e6;
6
7
  zod.object({
@@ -9,153 +10,128 @@ zod.object({
9
10
  maxResults: zod.number().min(1).default(listTestCasesQueryMaxResultsDefault).describe(
10
11
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
11
12
  ),
12
- startAt: zod.number().min(listTestCasesQueryStartAtMin).max(listTestCasesQueryStartAtMax).optional().describe(
13
+ startAt: zod.number().min(listTestCasesQueryStartAtMin).max(listTestCasesQueryStartAtMax).default(listTestCasesQueryStartAtDefault).describe(
13
14
  "Zero-indexed starting position. Should be a multiple of maxResults."
14
15
  )
15
16
  });
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}$/;
17
+ const listTestCases200ResponseOneStartAtMin = 0;
18
+ const listTestCases200ResponseOneTotalMin = 0;
19
+ const listTestCases200ResponseTwoValuesItemKeyRegExp = /.+-T[0-9]+/;
20
+ const listTestCases200ResponseTwoValuesItemNameMax = 255;
21
+ const listTestCases200ResponseTwoValuesItemNameRegExp = /^(?!\\s*$).+/;
22
+ const listTestCases200ResponseTwoValuesItemEstimatedTimeMin = 0;
23
+ const listTestCases200ResponseTwoValuesItemLabelsMax = 50;
24
+ const listTestCases200ResponseTwoValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
24
25
  zod.object({
25
26
  next: zod.string().url().nullish().describe(
26
27
  "URL to the next page of results, or null if there are no more results."
27
28
  ),
28
- startAt: zod.number().min(listTestCases200ResponseStartAtMin).describe(
29
+ startAt: zod.number().min(listTestCases200ResponseOneStartAtMin).describe(
29
30
  "Indicates the index of the first item returned in the page of results."
30
31
  ),
31
32
  maxResults: zod.number().min(1).describe(
32
33
  "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."
33
34
  ),
34
- total: zod.number().min(listTestCases200ResponseTotalMin).optional().describe(
35
+ total: zod.number().min(listTestCases200ResponseOneTotalMin).optional().describe(
35
36
  "Indicates the total number of items available across all pages."
36
37
  ),
37
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
38
- }).and(
39
- zod.object({
40
- values: zod.array(
41
- zod.object({
38
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
39
+ values: zod.array(
40
+ zod.object({
41
+ id: zod.number().min(1),
42
+ key: zod.string().regex(listTestCases200ResponseTwoValuesItemKeyRegExp).describe("The test case key"),
43
+ name: zod.string().min(1).max(listTestCases200ResponseTwoValuesItemNameMax).regex(listTestCases200ResponseTwoValuesItemNameRegExp),
44
+ project: zod.object({
42
45
  id: zod.number().min(1),
43
- key: zod.string().regex(listTestCases200ResponseValuesItemKeyRegExp).describe("The test case key"),
44
- name: zod.string().min(1).max(listTestCases200ResponseValuesItemNameMax).regex(listTestCases200ResponseValuesItemNameRegExp),
45
- project: zod.object({
46
- id: zod.number().min(1)
47
- }).describe("The ID of the resource").and(
48
- zod.object({
49
- self: zod.string().url().optional().describe(
50
- "The REST API endpoint to get more resource details."
51
- )
52
- })
53
- ).describe("ID and link relative to Zephyr project."),
54
- createdOn: zod.string().datetime({}).optional().describe(
55
- "Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated.\n"
56
- ),
57
- objective: zod.string().nullish().describe("A description of the objective."),
58
- precondition: zod.string().nullish().describe("Any conditions that need to be met."),
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."),
61
- component: zod.object({
62
- id: zod.number().min(1)
63
- }).describe("The ID of the resource").and(
64
- zod.object({
65
- self: zod.string().url().optional().describe(
66
- "The REST API endpoint to get more resource details."
67
- )
68
- })
69
- ).nullish(),
70
- priority: zod.object({
71
- id: zod.number().min(1)
72
- }).describe("The ID of the resource").and(
73
- zod.object({
74
- self: zod.string().url().optional().describe(
75
- "The REST API endpoint to get more resource details."
76
- )
77
- })
46
+ self: zod.string().url().optional().describe(
47
+ "The REST API endpoint to get more resource details."
48
+ )
49
+ }).strict().describe("ID and link relative to Zephyr project."),
50
+ createdOn: zod.string().datetime({}).optional().describe(
51
+ "Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated.\n"
52
+ ),
53
+ objective: zod.string().nullish().describe("A description of the objective."),
54
+ precondition: zod.string().nullish().describe("Any conditions that need to be met."),
55
+ estimatedTime: zod.number().min(listTestCases200ResponseTwoValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
56
+ labels: zod.array(zod.string()).max(listTestCases200ResponseTwoValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
57
+ component: zod.object({
58
+ id: zod.number().min(1),
59
+ self: zod.string().url().optional().describe(
60
+ "The REST API endpoint to get more resource details."
61
+ )
62
+ }).strict().nullish(),
63
+ priority: zod.object({
64
+ id: zod.number().min(1),
65
+ self: zod.string().url().optional().describe(
66
+ "The REST API endpoint to get more resource details."
67
+ )
68
+ }).strict(),
69
+ status: zod.object({
70
+ id: zod.number().min(1),
71
+ self: zod.string().url().optional().describe(
72
+ "The REST API endpoint to get more resource details."
73
+ )
74
+ }).strict(),
75
+ folder: zod.object({
76
+ id: zod.number().min(1),
77
+ self: zod.string().url().optional().describe(
78
+ "The REST API endpoint to get more resource details."
79
+ )
80
+ }).strict().nullish(),
81
+ owner: zod.object({
82
+ accountId: zod.string().regex(
83
+ listTestCases200ResponseTwoValuesItemOwnerAccountIdRegExp
84
+ ).nullable().describe("Atlassian Account ID of the Jira user."),
85
+ self: zod.string().url().optional().describe(
86
+ "The Jira REST API endpoint to get the full representation of the Jira user."
87
+ )
88
+ }).strict().nullish(),
89
+ testScript: zod.object({
90
+ self: zod.string().url().optional().describe(
91
+ "The REST API endpoint to get more resource details."
92
+ )
93
+ }).strict().optional(),
94
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
95
+ "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"
96
+ ),
97
+ links: zod.object({
98
+ self: zod.string().url().optional().describe(
99
+ "The REST API endpoint to get more resource details."
78
100
  ),
79
- status: zod.object({
80
- id: zod.number().min(1)
81
- }).describe("The ID of the resource").and(
101
+ issues: zod.array(
82
102
  zod.object({
103
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
83
104
  self: zod.string().url().optional().describe(
84
- "The REST API endpoint to get more resource details."
85
- )
86
- })
87
- ),
88
- folder: zod.object({
89
- id: zod.number().min(1)
90
- }).describe("The ID of the resource").and(
105
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
106
+ ),
107
+ id: zod.number().min(1).optional().describe(
108
+ "The ID that represents the link between the entity and the Jira issue."
109
+ ),
110
+ target: zod.string().url().optional().describe(
111
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
112
+ ),
113
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
114
+ }).strict()
115
+ ).optional().describe("A list of Jira issues linked to this entity"),
116
+ webLinks: zod.array(
91
117
  zod.object({
118
+ description: zod.string().optional().describe("The web link description"),
119
+ url: zod.string().url().describe("The web link URL"),
92
120
  self: zod.string().url().optional().describe(
93
- "The REST API endpoint to get more resource details."
94
- )
95
- })
96
- ).nullish(),
97
- owner: zod.object({
98
- accountId: zod.string().regex(listTestCases200ResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
99
- self: zod.string().url().optional().describe(
100
- "The Jira REST API endpoint to get the full representation of the Jira user."
101
- )
102
- }).nullish(),
103
- testScript: zod.object({
104
- self: zod.string().url().optional().describe(
105
- "The REST API endpoint to get more resource details."
106
- )
107
- }).optional(),
108
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
109
- "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"
110
- ),
111
- links: zod.object({
112
- self: zod.string().url().optional().describe(
113
- "The REST API endpoint to get more resource details."
114
- )
115
- }).and(
116
- zod.object({
117
- issues: zod.array(
118
- zod.object({
119
- issueId: zod.number().min(1).describe("The Jira issue ID")
120
- }).and(
121
- zod.object({
122
- self: zod.string().url().optional().describe(
123
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
124
- ),
125
- id: zod.number().min(1).optional().describe(
126
- "The ID that represents the link between the entity and the Jira issue."
127
- ),
128
- target: zod.string().url().optional().describe(
129
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
130
- ),
131
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
132
- })
133
- )
134
- ).optional().describe("A list of Jira issues linked to this entity"),
135
- webLinks: zod.array(
136
- zod.object({
137
- description: zod.string().optional().describe("The web link description"),
138
- url: zod.string().url().describe("The web link URL")
139
- }).and(
140
- zod.object({
141
- self: zod.string().url().optional().describe(
142
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
143
- ),
144
- id: zod.number().min(1).optional(),
145
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
146
- })
147
- )
148
- ).optional().describe("A list of web links for this entity")
149
- })
150
- ).optional().describe("This property is ignored on updates.")
151
- })
152
- ).optional()
153
- })
154
- );
121
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
122
+ ),
123
+ id: zod.number().min(1).optional(),
124
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
125
+ }).strict()
126
+ ).optional().describe("A list of web links for this entity")
127
+ }).strict().optional().describe("This property is ignored on updates.")
128
+ }).strict()
129
+ ).optional()
130
+ }).strict();
155
131
  zod.object({
156
132
  errorCode: zod.number(),
157
133
  message: zod.string()
158
- });
134
+ }).strict();
159
135
  const createTestCaseBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
160
136
  const createTestCaseBodyNameMax = 255;
161
137
  const createTestCaseBodyNameRegExp = /^(?!\\s*$).+/;
@@ -165,7 +141,7 @@ const createTestCaseBodyPriorityNameMax = 255;
165
141
  const createTestCaseBodyStatusNameMax = 255;
166
142
  const createTestCaseBodyOwnerIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
167
143
  const createTestCaseBodyLabelsMax = 50;
168
- const createTestCaseBody = zod.object({
144
+ const CreateTestCaseBody = zod.object({
169
145
  projectKey: zod.string().regex(createTestCaseBodyProjectKeyRegExp).describe("Jira project key."),
170
146
  name: zod.string().min(1).max(createTestCaseBodyNameMax).regex(createTestCaseBodyNameRegExp),
171
147
  objective: zod.string().nullish().describe("A description of the objective."),
@@ -181,171 +157,146 @@ const createTestCaseBody = zod.object({
181
157
  "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"
182
158
  )
183
159
  });
184
- const createTestCase201Response = zod.object({
160
+ const CreateTestCase201Response = zod.object({
185
161
  id: zod.number().min(1).optional(),
186
- self: zod.string().optional()
187
- }).and(
188
- zod.object({
189
- key: zod.string().optional()
190
- })
191
- );
162
+ self: zod.string().optional(),
163
+ key: zod.string().optional()
164
+ }).strict();
192
165
  zod.object({
193
166
  errorCode: zod.number(),
194
167
  message: zod.string()
195
- });
168
+ }).strict();
196
169
  const listTestCasesCursorPaginatedQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
197
170
  const listTestCasesCursorPaginatedQueryLimitDefault = 10;
198
171
  const listTestCasesCursorPaginatedQueryLimitMax = 1e3;
172
+ const listTestCasesCursorPaginatedQueryStartAtIdDefault = 0;
199
173
  const listTestCasesCursorPaginatedQueryStartAtIdMin = 0;
200
- const listTestCasesCursorPaginatedQueryParams = zod.object({
174
+ const ListTestCasesCursorPaginatedQueryParams = zod.object({
201
175
  projectKey: zod.string().regex(listTestCasesCursorPaginatedQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
202
176
  folderId: zod.number().min(1).optional().describe("Folder ID filter"),
203
177
  limit: zod.number().min(1).max(listTestCasesCursorPaginatedQueryLimitMax).default(listTestCasesCursorPaginatedQueryLimitDefault).describe(
204
178
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the limit value in the response to confirm how many results were actually returned.\n"
205
179
  ),
206
- startAtId: zod.number().min(listTestCasesCursorPaginatedQueryStartAtIdMin).optional().describe("Zero-indexed starting position for ID-based pagination.")
207
- });
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({
180
+ startAtId: zod.number().min(listTestCasesCursorPaginatedQueryStartAtIdMin).default(listTestCasesCursorPaginatedQueryStartAtIdDefault).describe("Zero-indexed starting position for ID-based pagination.")
181
+ });
182
+ const listTestCasesCursorPaginated200ResponseOneNextStartAtIdMin = 0;
183
+ const listTestCasesCursorPaginated200ResponseOneLimitMin = 0;
184
+ const listTestCasesCursorPaginated200ResponseTwoValuesItemKeyRegExp = /.+-T[0-9]+/;
185
+ const listTestCasesCursorPaginated200ResponseTwoValuesItemNameMax = 255;
186
+ const listTestCasesCursorPaginated200ResponseTwoValuesItemNameRegExp = /^(?!\\s*$).+/;
187
+ const listTestCasesCursorPaginated200ResponseTwoValuesItemEstimatedTimeMin = 0;
188
+ const listTestCasesCursorPaginated200ResponseTwoValuesItemLabelsMax = 50;
189
+ const listTestCasesCursorPaginated200ResponseTwoValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
190
+ const ListTestCasesCursorPaginated200Response = zod.object({
217
191
  next: zod.string().url().nullish(),
218
- nextStartAtId: zod.number().min(listTestCasesCursorPaginated200ResponseNextStartAtIdMin).nullable(),
219
- limit: zod.number().min(listTestCasesCursorPaginated200ResponseLimitMin)
220
- }).and(
221
- zod.object({
222
- values: zod.array(
223
- zod.object({
192
+ nextStartAtId: zod.number().min(listTestCasesCursorPaginated200ResponseOneNextStartAtIdMin).nullable(),
193
+ limit: zod.number().min(listTestCasesCursorPaginated200ResponseOneLimitMin),
194
+ values: zod.array(
195
+ zod.object({
196
+ id: zod.number().min(1),
197
+ key: zod.string().regex(
198
+ listTestCasesCursorPaginated200ResponseTwoValuesItemKeyRegExp
199
+ ).describe("The test case key"),
200
+ name: zod.string().min(1).max(listTestCasesCursorPaginated200ResponseTwoValuesItemNameMax).regex(
201
+ listTestCasesCursorPaginated200ResponseTwoValuesItemNameRegExp
202
+ ),
203
+ project: zod.object({
224
204
  id: zod.number().min(1),
225
- key: zod.string().regex(listTestCasesCursorPaginated200ResponseValuesItemKeyRegExp).describe("The test case key"),
226
- name: zod.string().min(1).max(listTestCasesCursorPaginated200ResponseValuesItemNameMax).regex(
227
- listTestCasesCursorPaginated200ResponseValuesItemNameRegExp
228
- ),
229
- project: zod.object({
230
- id: zod.number().min(1)
231
- }).describe("The ID of the resource").and(
232
- zod.object({
233
- self: zod.string().url().optional().describe(
234
- "The REST API endpoint to get more resource details."
235
- )
236
- })
237
- ).describe("ID and link relative to Zephyr project."),
238
- createdOn: zod.string().datetime({}).optional().describe(
239
- "Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated.\n"
240
- ),
241
- objective: zod.string().nullish().describe("A description of the objective."),
242
- precondition: zod.string().nullish().describe("Any conditions that need to be met."),
243
- estimatedTime: zod.number().min(
244
- listTestCasesCursorPaginated200ResponseValuesItemEstimatedTimeMin
245
- ).nullish().describe("Estimated duration in milliseconds."),
246
- labels: zod.array(zod.string()).max(listTestCasesCursorPaginated200ResponseValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
247
- component: zod.object({
248
- id: zod.number().min(1)
249
- }).describe("The ID of the resource").and(
250
- zod.object({
251
- self: zod.string().url().optional().describe(
252
- "The REST API endpoint to get more resource details."
253
- )
254
- })
255
- ).nullish(),
256
- priority: zod.object({
257
- id: zod.number().min(1)
258
- }).describe("The ID of the resource").and(
259
- zod.object({
260
- self: zod.string().url().optional().describe(
261
- "The REST API endpoint to get more resource details."
262
- )
263
- })
205
+ self: zod.string().url().optional().describe(
206
+ "The REST API endpoint to get more resource details."
207
+ )
208
+ }).strict().describe("ID and link relative to Zephyr project."),
209
+ createdOn: zod.string().datetime({}).optional().describe(
210
+ "Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated.\n"
211
+ ),
212
+ objective: zod.string().nullish().describe("A description of the objective."),
213
+ precondition: zod.string().nullish().describe("Any conditions that need to be met."),
214
+ estimatedTime: zod.number().min(
215
+ listTestCasesCursorPaginated200ResponseTwoValuesItemEstimatedTimeMin
216
+ ).nullish().describe("Estimated duration in milliseconds."),
217
+ labels: zod.array(zod.string()).max(
218
+ listTestCasesCursorPaginated200ResponseTwoValuesItemLabelsMax
219
+ ).optional().describe("Array of labels associated to this entity."),
220
+ component: zod.object({
221
+ id: zod.number().min(1),
222
+ self: zod.string().url().optional().describe(
223
+ "The REST API endpoint to get more resource details."
224
+ )
225
+ }).strict().nullish(),
226
+ priority: zod.object({
227
+ id: zod.number().min(1),
228
+ self: zod.string().url().optional().describe(
229
+ "The REST API endpoint to get more resource details."
230
+ )
231
+ }).strict(),
232
+ status: zod.object({
233
+ id: zod.number().min(1),
234
+ self: zod.string().url().optional().describe(
235
+ "The REST API endpoint to get more resource details."
236
+ )
237
+ }).strict(),
238
+ folder: zod.object({
239
+ id: zod.number().min(1),
240
+ self: zod.string().url().optional().describe(
241
+ "The REST API endpoint to get more resource details."
242
+ )
243
+ }).strict().nullish(),
244
+ owner: zod.object({
245
+ accountId: zod.string().regex(
246
+ listTestCasesCursorPaginated200ResponseTwoValuesItemOwnerAccountIdRegExp
247
+ ).nullable().describe("Atlassian Account ID of the Jira user."),
248
+ self: zod.string().url().optional().describe(
249
+ "The Jira REST API endpoint to get the full representation of the Jira user."
250
+ )
251
+ }).strict().nullish(),
252
+ testScript: zod.object({
253
+ self: zod.string().url().optional().describe(
254
+ "The REST API endpoint to get more resource details."
255
+ )
256
+ }).strict().optional(),
257
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
258
+ "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"
259
+ ),
260
+ links: zod.object({
261
+ self: zod.string().url().optional().describe(
262
+ "The REST API endpoint to get more resource details."
264
263
  ),
265
- status: zod.object({
266
- id: zod.number().min(1)
267
- }).describe("The ID of the resource").and(
264
+ issues: zod.array(
268
265
  zod.object({
266
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
269
267
  self: zod.string().url().optional().describe(
270
- "The REST API endpoint to get more resource details."
271
- )
272
- })
273
- ),
274
- folder: zod.object({
275
- id: zod.number().min(1)
276
- }).describe("The ID of the resource").and(
268
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
269
+ ),
270
+ id: zod.number().min(1).optional().describe(
271
+ "The ID that represents the link between the entity and the Jira issue."
272
+ ),
273
+ target: zod.string().url().optional().describe(
274
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
275
+ ),
276
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
277
+ }).strict()
278
+ ).optional().describe("A list of Jira issues linked to this entity"),
279
+ webLinks: zod.array(
277
280
  zod.object({
281
+ description: zod.string().optional().describe("The web link description"),
282
+ url: zod.string().url().describe("The web link URL"),
278
283
  self: zod.string().url().optional().describe(
279
- "The REST API endpoint to get more resource details."
280
- )
281
- })
282
- ).nullish(),
283
- owner: zod.object({
284
- accountId: zod.string().regex(
285
- listTestCasesCursorPaginated200ResponseValuesItemOwnerAccountIdRegExp
286
- ).nullable().describe("Atlassian Account ID of the Jira user."),
287
- self: zod.string().url().optional().describe(
288
- "The Jira REST API endpoint to get the full representation of the Jira user."
289
- )
290
- }).nullish(),
291
- testScript: zod.object({
292
- self: zod.string().url().optional().describe(
293
- "The REST API endpoint to get more resource details."
294
- )
295
- }).optional(),
296
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
297
- "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"
298
- ),
299
- links: zod.object({
300
- self: zod.string().url().optional().describe(
301
- "The REST API endpoint to get more resource details."
302
- )
303
- }).and(
304
- zod.object({
305
- issues: zod.array(
306
- zod.object({
307
- issueId: zod.number().min(1).describe("The Jira issue ID")
308
- }).and(
309
- zod.object({
310
- self: zod.string().url().optional().describe(
311
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
312
- ),
313
- id: zod.number().min(1).optional().describe(
314
- "The ID that represents the link between the entity and the Jira issue."
315
- ),
316
- target: zod.string().url().optional().describe(
317
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
318
- ),
319
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
320
- })
321
- )
322
- ).optional().describe("A list of Jira issues linked to this entity"),
323
- webLinks: zod.array(
324
- zod.object({
325
- description: zod.string().optional().describe("The web link description"),
326
- url: zod.string().url().describe("The web link URL")
327
- }).and(
328
- zod.object({
329
- self: zod.string().url().optional().describe(
330
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
331
- ),
332
- id: zod.number().min(1).optional(),
333
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
334
- })
335
- )
336
- ).optional().describe("A list of web links for this entity")
337
- })
338
- ).optional().describe("This property is ignored on updates.")
339
- })
340
- ).optional()
341
- })
342
- );
284
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
285
+ ),
286
+ id: zod.number().min(1).optional(),
287
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
288
+ }).strict()
289
+ ).optional().describe("A list of web links for this entity")
290
+ }).strict().optional().describe("This property is ignored on updates.")
291
+ }).strict()
292
+ ).optional()
293
+ }).strict();
343
294
  zod.object({
344
295
  errorCode: zod.number(),
345
296
  message: zod.string()
346
- });
297
+ }).strict();
347
298
  const getTestCasePathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
348
- const getTestCaseParams = zod.object({
299
+ const GetTestCaseParams = zod.object({
349
300
  testCaseKey: zod.string().regex(getTestCasePathTestCaseKeyRegExp).describe(
350
301
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
351
302
  )
@@ -356,17 +307,14 @@ const getTestCase200ResponseNameRegExp = /^(?!\\s*$).+/;
356
307
  const getTestCase200ResponseEstimatedTimeMin = 0;
357
308
  const getTestCase200ResponseLabelsMax = 50;
358
309
  const getTestCase200ResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
359
- const getTestCase200Response = zod.object({
310
+ const GetTestCase200Response = zod.object({
360
311
  id: zod.number().min(1),
361
312
  key: zod.string().regex(getTestCase200ResponseKeyRegExp).describe("The test case key"),
362
313
  name: zod.string().min(1).max(getTestCase200ResponseNameMax).regex(getTestCase200ResponseNameRegExp),
363
314
  project: zod.object({
364
- id: zod.number().min(1)
365
- }).describe("The ID of the resource").and(
366
- zod.object({
367
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
368
- })
369
- ).describe("ID and link relative to Zephyr project."),
315
+ id: zod.number().min(1),
316
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
317
+ }).strict().describe("ID and link relative to Zephyr project."),
370
318
  createdOn: zod.string().datetime({}).optional().describe(
371
319
  "Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated.\n"
372
320
  ),
@@ -375,90 +323,69 @@ const getTestCase200Response = zod.object({
375
323
  estimatedTime: zod.number().min(getTestCase200ResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
376
324
  labels: zod.array(zod.string()).max(getTestCase200ResponseLabelsMax).optional().describe("Array of labels associated to this entity."),
377
325
  component: zod.object({
378
- id: zod.number().min(1)
379
- }).describe("The ID of the resource").and(
380
- zod.object({
381
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
382
- })
383
- ).nullish(),
326
+ id: zod.number().min(1),
327
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
328
+ }).strict().nullish(),
384
329
  priority: zod.object({
385
- id: zod.number().min(1)
386
- }).describe("The ID of the resource").and(
387
- zod.object({
388
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
389
- })
390
- ),
330
+ id: zod.number().min(1),
331
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
332
+ }).strict(),
391
333
  status: zod.object({
392
- id: zod.number().min(1)
393
- }).describe("The ID of the resource").and(
394
- zod.object({
395
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
396
- })
397
- ),
334
+ id: zod.number().min(1),
335
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
336
+ }).strict(),
398
337
  folder: zod.object({
399
- id: zod.number().min(1)
400
- }).describe("The ID of the resource").and(
401
- zod.object({
402
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
403
- })
404
- ).nullish(),
338
+ id: zod.number().min(1),
339
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
340
+ }).strict().nullish(),
405
341
  owner: zod.object({
406
342
  accountId: zod.string().regex(getTestCase200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
407
343
  self: zod.string().url().optional().describe(
408
344
  "The Jira REST API endpoint to get the full representation of the Jira user."
409
345
  )
410
- }).nullish(),
346
+ }).strict().nullish(),
411
347
  testScript: zod.object({
412
348
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
413
- }).optional(),
349
+ }).strict().optional(),
414
350
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
415
351
  "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"
416
352
  ),
417
353
  links: zod.object({
418
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
419
- }).and(
420
- zod.object({
421
- issues: zod.array(
422
- zod.object({
423
- issueId: zod.number().min(1).describe("The Jira issue ID")
424
- }).and(
425
- zod.object({
426
- self: zod.string().url().optional().describe(
427
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
428
- ),
429
- id: zod.number().min(1).optional().describe(
430
- "The ID that represents the link between the entity and the Jira issue."
431
- ),
432
- target: zod.string().url().optional().describe(
433
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
434
- ),
435
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
436
- })
437
- )
438
- ).optional().describe("A list of Jira issues linked to this entity"),
439
- webLinks: zod.array(
440
- zod.object({
441
- description: zod.string().optional().describe("The web link description"),
442
- url: zod.string().url().describe("The web link URL")
443
- }).and(
444
- zod.object({
445
- self: zod.string().url().optional().describe(
446
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
447
- ),
448
- id: zod.number().min(1).optional(),
449
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
450
- })
451
- )
452
- ).optional().describe("A list of web links for this entity")
453
- })
454
- ).optional().describe("This property is ignored on updates.")
455
- });
354
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
355
+ issues: zod.array(
356
+ zod.object({
357
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
358
+ self: zod.string().url().optional().describe(
359
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
360
+ ),
361
+ id: zod.number().min(1).optional().describe(
362
+ "The ID that represents the link between the entity and the Jira issue."
363
+ ),
364
+ target: zod.string().url().optional().describe(
365
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
366
+ ),
367
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
368
+ }).strict()
369
+ ).optional().describe("A list of Jira issues linked to this entity"),
370
+ webLinks: zod.array(
371
+ zod.object({
372
+ description: zod.string().optional().describe("The web link description"),
373
+ url: zod.string().url().describe("The web link URL"),
374
+ self: zod.string().url().optional().describe(
375
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
376
+ ),
377
+ id: zod.number().min(1).optional(),
378
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
379
+ }).strict()
380
+ ).optional().describe("A list of web links for this entity")
381
+ }).strict().optional().describe("This property is ignored on updates.")
382
+ }).strict();
456
383
  zod.object({
457
384
  errorCode: zod.number(),
458
385
  message: zod.string()
459
- });
386
+ }).strict();
460
387
  const updateTestCasePathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
461
- const updateTestCaseParams = zod.object({
388
+ const UpdateTestCaseParams = zod.object({
462
389
  testCaseKey: zod.string().regex(updateTestCasePathTestCaseKeyRegExp).describe(
463
390
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
464
391
  )
@@ -469,7 +396,7 @@ const updateTestCaseBodyNameRegExp = /^(?!\\s*$).+/;
469
396
  const updateTestCaseBodyEstimatedTimeMin = 0;
470
397
  const updateTestCaseBodyLabelsMax = 50;
471
398
  const updateTestCaseBodyOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
472
- const updateTestCaseBody = zod.object({
399
+ const UpdateTestCaseBody = zod.object({
473
400
  id: zod.number().min(1),
474
401
  key: zod.string().regex(updateTestCaseBodyKeyRegExp).describe("The test case key"),
475
402
  name: zod.string().min(1).max(updateTestCaseBodyNameMax).regex(updateTestCaseBodyNameRegExp),
@@ -569,7 +496,7 @@ const updateTestCaseBody = zod.object({
569
496
  zod.object({
570
497
  errorCode: zod.number(),
571
498
  message: zod.string()
572
- });
499
+ }).strict();
573
500
  const getTestCaseLinksPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
574
501
  zod.object({
575
502
  testCaseKey: zod.string().regex(getTestCaseLinksPathTestCaseKeyRegExp).describe(
@@ -577,47 +504,38 @@ zod.object({
577
504
  )
578
505
  });
579
506
  zod.object({
580
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
581
- }).and(
582
- zod.object({
583
- issues: zod.array(
584
- zod.object({
585
- issueId: zod.number().min(1).describe("The Jira issue ID")
586
- }).and(
587
- zod.object({
588
- self: zod.string().url().optional().describe(
589
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
590
- ),
591
- id: zod.number().min(1).optional().describe(
592
- "The ID that represents the link between the entity and the Jira issue."
593
- ),
594
- target: zod.string().url().optional().describe(
595
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
596
- ),
597
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
598
- })
599
- )
600
- ).optional().describe("A list of Jira issues linked to this entity"),
601
- webLinks: zod.array(
602
- zod.object({
603
- description: zod.string().optional().describe("The web link description"),
604
- url: zod.string().url().describe("The web link URL")
605
- }).and(
606
- zod.object({
607
- self: zod.string().url().optional().describe(
608
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
609
- ),
610
- id: zod.number().min(1).optional(),
611
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
612
- })
613
- )
614
- ).optional().describe("A list of web links for this entity")
615
- })
616
- ).describe("This property is ignored on updates.");
507
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
508
+ issues: zod.array(
509
+ zod.object({
510
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
511
+ self: zod.string().url().optional().describe(
512
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
513
+ ),
514
+ id: zod.number().min(1).optional().describe(
515
+ "The ID that represents the link between the entity and the Jira issue."
516
+ ),
517
+ target: zod.string().url().optional().describe(
518
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
519
+ ),
520
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
521
+ }).strict()
522
+ ).optional().describe("A list of Jira issues linked to this entity"),
523
+ webLinks: zod.array(
524
+ zod.object({
525
+ description: zod.string().optional().describe("The web link description"),
526
+ url: zod.string().url().describe("The web link URL"),
527
+ self: zod.string().url().optional().describe(
528
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
529
+ ),
530
+ id: zod.number().min(1).optional(),
531
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
532
+ }).strict()
533
+ ).optional().describe("A list of web links for this entity")
534
+ }).strict().describe("This property is ignored on updates.");
617
535
  zod.object({
618
536
  errorCode: zod.number(),
619
537
  message: zod.string()
620
- });
538
+ }).strict();
621
539
  const createTestCaseIssueLinkPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
622
540
  zod.object({
623
541
  testCaseKey: zod.string().regex(createTestCaseIssueLinkPathTestCaseKeyRegExp).describe(
@@ -630,29 +548,29 @@ zod.object({
630
548
  zod.object({
631
549
  id: zod.number().min(1).optional(),
632
550
  self: zod.string().optional()
633
- });
551
+ }).strict();
634
552
  zod.object({
635
553
  errorCode: zod.number(),
636
554
  message: zod.string()
637
- });
555
+ }).strict();
638
556
  const createTestCaseWebLinkPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
639
- const createTestCaseWebLinkParams = zod.object({
557
+ const CreateTestCaseWebLinkParams = zod.object({
640
558
  testCaseKey: zod.string().regex(createTestCaseWebLinkPathTestCaseKeyRegExp).describe(
641
559
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
642
560
  )
643
561
  });
644
- const createTestCaseWebLinkBody = zod.object({
562
+ const CreateTestCaseWebLinkBody = zod.object({
645
563
  description: zod.string().optional().describe("The web link description"),
646
564
  url: zod.string().url().describe("The web link URL")
647
565
  });
648
- const createTestCaseWebLink201Response = zod.object({
566
+ const CreateTestCaseWebLink201Response = zod.object({
649
567
  id: zod.number().min(1).optional(),
650
568
  self: zod.string().optional()
651
- });
569
+ }).strict();
652
570
  zod.object({
653
571
  errorCode: zod.number(),
654
572
  message: zod.string()
655
- });
573
+ }).strict();
656
574
  const listTestCaseVersionsPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
657
575
  zod.object({
658
576
  testCaseKey: zod.string().regex(listTestCaseVersionsPathTestCaseKeyRegExp).describe(
@@ -660,51 +578,44 @@ zod.object({
660
578
  )
661
579
  });
662
580
  const listTestCaseVersionsQueryMaxResultsDefault = 10;
581
+ const listTestCaseVersionsQueryStartAtDefault = 0;
663
582
  const listTestCaseVersionsQueryStartAtMin = 0;
664
583
  const listTestCaseVersionsQueryStartAtMax = 1e6;
665
584
  zod.object({
666
585
  maxResults: zod.number().min(1).default(listTestCaseVersionsQueryMaxResultsDefault).describe(
667
586
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
668
587
  ),
669
- startAt: zod.number().min(listTestCaseVersionsQueryStartAtMin).max(listTestCaseVersionsQueryStartAtMax).optional().describe(
588
+ startAt: zod.number().min(listTestCaseVersionsQueryStartAtMin).max(listTestCaseVersionsQueryStartAtMax).default(listTestCaseVersionsQueryStartAtDefault).describe(
670
589
  "Zero-indexed starting position. Should be a multiple of maxResults."
671
590
  )
672
591
  });
673
- const listTestCaseVersions200ResponseStartAtMin = 0;
674
- const listTestCaseVersions200ResponseTotalMin = 0;
592
+ const listTestCaseVersions200ResponseOneStartAtMin = 0;
593
+ const listTestCaseVersions200ResponseOneTotalMin = 0;
675
594
  zod.object({
676
595
  next: zod.string().url().nullish().describe(
677
596
  "URL to the next page of results, or null if there are no more results."
678
597
  ),
679
- startAt: zod.number().min(listTestCaseVersions200ResponseStartAtMin).describe(
598
+ startAt: zod.number().min(listTestCaseVersions200ResponseOneStartAtMin).describe(
680
599
  "Indicates the index of the first item returned in the page of results."
681
600
  ),
682
601
  maxResults: zod.number().min(1).describe(
683
602
  "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."
684
603
  ),
685
- total: zod.number().min(listTestCaseVersions200ResponseTotalMin).optional().describe(
604
+ total: zod.number().min(listTestCaseVersions200ResponseOneTotalMin).optional().describe(
686
605
  "Indicates the total number of items available across all pages."
687
606
  ),
688
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
689
- }).and(
690
- zod.object({
691
- values: zod.array(
692
- zod.object({
693
- self: zod.string().url().optional().describe(
694
- "The REST API endpoint to get more resource details."
695
- )
696
- }).and(
697
- zod.object({
698
- id: zod.number().min(1).optional()
699
- })
700
- )
701
- ).optional().describe("A list of versions for a test case")
702
- })
703
- );
607
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
608
+ values: zod.array(
609
+ zod.object({
610
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
611
+ id: zod.number().min(1).optional()
612
+ }).strict()
613
+ ).optional().describe("A list of versions for a test case")
614
+ }).strict();
704
615
  zod.object({
705
616
  errorCode: zod.number(),
706
617
  message: zod.string()
707
- });
618
+ }).strict();
708
619
  const getTestCaseVersionPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
709
620
  zod.object({
710
621
  testCaseKey: zod.string().regex(getTestCaseVersionPathTestCaseKeyRegExp).describe(
@@ -723,12 +634,9 @@ zod.object({
723
634
  key: zod.string().regex(getTestCaseVersion200ResponseKeyRegExp).describe("The test case key"),
724
635
  name: zod.string().min(1).max(getTestCaseVersion200ResponseNameMax).regex(getTestCaseVersion200ResponseNameRegExp),
725
636
  project: zod.object({
726
- id: zod.number().min(1)
727
- }).describe("The ID of the resource").and(
728
- zod.object({
729
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
730
- })
731
- ).describe("ID and link relative to Zephyr project."),
637
+ id: zod.number().min(1),
638
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
639
+ }).strict().describe("ID and link relative to Zephyr project."),
732
640
  createdOn: zod.string().datetime({}).optional().describe(
733
641
  "Data and time test case was created. Format: yyyy-MM-dd'T'HH:mm:ss'Z'. This field is read-only, cannot be updated.\n"
734
642
  ),
@@ -737,88 +645,67 @@ zod.object({
737
645
  estimatedTime: zod.number().min(getTestCaseVersion200ResponseEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
738
646
  labels: zod.array(zod.string()).max(getTestCaseVersion200ResponseLabelsMax).optional().describe("Array of labels associated to this entity."),
739
647
  component: zod.object({
740
- id: zod.number().min(1)
741
- }).describe("The ID of the resource").and(
742
- zod.object({
743
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
744
- })
745
- ).nullish(),
648
+ id: zod.number().min(1),
649
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
650
+ }).strict().nullish(),
746
651
  priority: zod.object({
747
- id: zod.number().min(1)
748
- }).describe("The ID of the resource").and(
749
- zod.object({
750
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
751
- })
752
- ),
652
+ id: zod.number().min(1),
653
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
654
+ }).strict(),
753
655
  status: zod.object({
754
- id: zod.number().min(1)
755
- }).describe("The ID of the resource").and(
756
- zod.object({
757
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
758
- })
759
- ),
656
+ id: zod.number().min(1),
657
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
658
+ }).strict(),
760
659
  folder: zod.object({
761
- id: zod.number().min(1)
762
- }).describe("The ID of the resource").and(
763
- zod.object({
764
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
765
- })
766
- ).nullish(),
660
+ id: zod.number().min(1),
661
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
662
+ }).strict().nullish(),
767
663
  owner: zod.object({
768
664
  accountId: zod.string().regex(getTestCaseVersion200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
769
665
  self: zod.string().url().optional().describe(
770
666
  "The Jira REST API endpoint to get the full representation of the Jira user."
771
667
  )
772
- }).nullish(),
668
+ }).strict().nullish(),
773
669
  testScript: zod.object({
774
670
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
775
- }).optional(),
671
+ }).strict().optional(),
776
672
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
777
673
  "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"
778
674
  ),
779
675
  links: zod.object({
780
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
781
- }).and(
782
- zod.object({
783
- issues: zod.array(
784
- zod.object({
785
- issueId: zod.number().min(1).describe("The Jira issue ID")
786
- }).and(
787
- zod.object({
788
- self: zod.string().url().optional().describe(
789
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
790
- ),
791
- id: zod.number().min(1).optional().describe(
792
- "The ID that represents the link between the entity and the Jira issue."
793
- ),
794
- target: zod.string().url().optional().describe(
795
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
796
- ),
797
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
798
- })
799
- )
800
- ).optional().describe("A list of Jira issues linked to this entity"),
801
- webLinks: zod.array(
802
- zod.object({
803
- description: zod.string().optional().describe("The web link description"),
804
- url: zod.string().url().describe("The web link URL")
805
- }).and(
806
- zod.object({
807
- self: zod.string().url().optional().describe(
808
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
809
- ),
810
- id: zod.number().min(1).optional(),
811
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
812
- })
813
- )
814
- ).optional().describe("A list of web links for this entity")
815
- })
816
- ).optional().describe("This property is ignored on updates.")
817
- });
676
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
677
+ issues: zod.array(
678
+ zod.object({
679
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
680
+ self: zod.string().url().optional().describe(
681
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
682
+ ),
683
+ id: zod.number().min(1).optional().describe(
684
+ "The ID that represents the link between the entity and the Jira issue."
685
+ ),
686
+ target: zod.string().url().optional().describe(
687
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
688
+ ),
689
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
690
+ }).strict()
691
+ ).optional().describe("A list of Jira issues linked to this entity"),
692
+ webLinks: zod.array(
693
+ zod.object({
694
+ description: zod.string().optional().describe("The web link description"),
695
+ url: zod.string().url().describe("The web link URL"),
696
+ self: zod.string().url().optional().describe(
697
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
698
+ ),
699
+ id: zod.number().min(1).optional(),
700
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
701
+ }).strict()
702
+ ).optional().describe("A list of web links for this entity")
703
+ }).strict().optional().describe("This property is ignored on updates.")
704
+ }).strict();
818
705
  zod.object({
819
706
  errorCode: zod.number(),
820
707
  message: zod.string()
821
- });
708
+ }).strict();
822
709
  const getTestCaseTestScriptPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
823
710
  zod.object({
824
711
  testCaseKey: zod.string().regex(getTestCaseTestScriptPathTestCaseKeyRegExp).describe(
@@ -829,16 +716,13 @@ zod.object({
829
716
  type: zod.enum(["plain", "bdd"]).describe(
830
717
  "Test scripts can be in plain text or bdd format. BDD type can support remote execution on a build system via API plugin. To create a step-by-step test script, you should first create a plain text test script then use the POST /testcases/{testCaseKey}/teststeps endpoint."
831
718
  ),
832
- text: zod.string().min(1)
833
- }).describe("Request body for creating test scripts").and(
834
- zod.object({
835
- id: zod.number().min(1).optional()
836
- })
837
- ).describe("Response body when retrieving test scripts");
719
+ text: zod.string().min(1),
720
+ id: zod.number().min(1).optional()
721
+ }).strict().describe("Response body when retrieving test scripts");
838
722
  zod.object({
839
723
  errorCode: zod.number(),
840
724
  message: zod.string()
841
- });
725
+ }).strict();
842
726
  const createTestCaseTestScriptPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
843
727
  zod.object({
844
728
  testCaseKey: zod.string().regex(createTestCaseTestScriptPathTestCaseKeyRegExp).describe(
@@ -854,11 +738,11 @@ zod.object({
854
738
  zod.object({
855
739
  id: zod.number().min(1).optional(),
856
740
  self: zod.string().optional()
857
- });
741
+ }).strict();
858
742
  zod.object({
859
743
  errorCode: zod.number(),
860
744
  message: zod.string()
861
- });
745
+ }).strict();
862
746
  const getTestCaseTestStepsPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
863
747
  zod.object({
864
748
  testCaseKey: zod.string().regex(getTestCaseTestStepsPathTestCaseKeyRegExp).describe(
@@ -866,91 +750,84 @@ zod.object({
866
750
  )
867
751
  });
868
752
  const getTestCaseTestStepsQueryMaxResultsDefault = 10;
753
+ const getTestCaseTestStepsQueryStartAtDefault = 0;
869
754
  const getTestCaseTestStepsQueryStartAtMin = 0;
870
755
  const getTestCaseTestStepsQueryStartAtMax = 1e6;
871
756
  zod.object({
872
757
  maxResults: zod.number().min(1).default(getTestCaseTestStepsQueryMaxResultsDefault).describe(
873
758
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
874
759
  ),
875
- startAt: zod.number().min(getTestCaseTestStepsQueryStartAtMin).max(getTestCaseTestStepsQueryStartAtMax).optional().describe(
760
+ startAt: zod.number().min(getTestCaseTestStepsQueryStartAtMin).max(getTestCaseTestStepsQueryStartAtMax).default(getTestCaseTestStepsQueryStartAtDefault).describe(
876
761
  "Zero-indexed starting position. Should be a multiple of maxResults."
877
762
  )
878
763
  });
879
- const getTestCaseTestSteps200ResponseStartAtMin = 0;
880
- const getTestCaseTestSteps200ResponseTotalMin = 0;
881
- const getTestCaseTestSteps200ResponseValuesItemTestCaseTestCaseKeyRegExp = /(.+-T[0-9]+)/;
764
+ const getTestCaseTestSteps200ResponseOneStartAtMin = 0;
765
+ const getTestCaseTestSteps200ResponseOneTotalMin = 0;
766
+ const getTestCaseTestSteps200ResponseTwoValuesItemTestCaseTwoTestCaseKeyRegExp = /(.+-T[0-9]+)/;
882
767
  zod.object({
883
768
  next: zod.string().url().nullish().describe(
884
769
  "URL to the next page of results, or null if there are no more results."
885
770
  ),
886
- startAt: zod.number().min(getTestCaseTestSteps200ResponseStartAtMin).describe(
771
+ startAt: zod.number().min(getTestCaseTestSteps200ResponseOneStartAtMin).describe(
887
772
  "Indicates the index of the first item returned in the page of results."
888
773
  ),
889
774
  maxResults: zod.number().min(1).describe(
890
775
  "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."
891
776
  ),
892
- total: zod.number().min(getTestCaseTestSteps200ResponseTotalMin).optional().describe(
777
+ total: zod.number().min(getTestCaseTestSteps200ResponseOneTotalMin).optional().describe(
893
778
  "Indicates the total number of items available across all pages."
894
779
  ),
895
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
896
- }).and(
897
- zod.object({
898
- values: zod.array(
899
- zod.object({
900
- inline: zod.object({
901
- description: zod.string().optional().describe("The instruction to be followed"),
902
- testData: zod.string().optional().describe(
903
- "Any test data required to perform the instruction (optional). The fields values provided can be interpolated into the description."
904
- ),
905
- expectedResult: zod.string().optional().describe(
906
- "The expected outcome of executing the instruction"
907
- ),
908
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
909
- "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"
910
- ),
911
- reflectRef: zod.string().optional().describe("The AI reference. Zephyr only feature")
912
- }).optional(),
913
- testCase: zod.object({
914
- self: zod.string().url().optional().describe(
915
- "The REST API endpoint to get more resource details."
916
- )
917
- }).and(
780
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
781
+ values: zod.array(
782
+ zod.object({
783
+ inline: zod.object({
784
+ description: zod.string().optional().describe("The instruction to be followed"),
785
+ testData: zod.string().optional().describe(
786
+ "Any test data required to perform the instruction (optional). The fields values provided can be interpolated into the description."
787
+ ),
788
+ expectedResult: zod.string().optional().describe(
789
+ "The expected outcome of executing the instruction"
790
+ ),
791
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
792
+ "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"
793
+ ),
794
+ reflectRef: zod.string().optional().describe("The AI reference. Zephyr only feature")
795
+ }).strict().optional(),
796
+ testCase: zod.object({
797
+ self: zod.string().url().optional().describe(
798
+ "The REST API endpoint to get more resource details."
799
+ ),
800
+ testCaseKey: zod.string().regex(
801
+ getTestCaseTestSteps200ResponseTwoValuesItemTestCaseTwoTestCaseKeyRegExp
802
+ ).optional().describe(
803
+ "The key of the other test case that the test step should delegate execution to. This cannot be the parent test case."
804
+ ),
805
+ parameters: zod.array(
918
806
  zod.object({
919
- testCaseKey: zod.string().regex(
920
- getTestCaseTestSteps200ResponseValuesItemTestCaseTestCaseKeyRegExp
921
- ).optional().describe(
922
- "The key of the other test case that the test step should delegate execution to. This cannot be the parent test case."
807
+ name: zod.string().optional().describe("Name of the parameter"),
808
+ type: zod.enum(["MANUAL_INPUT", "DEFAULT_VALUE"]).optional().describe(
809
+ "Type of the parameter. It is manual inputs for parameters or the default values."
923
810
  ),
924
- parameters: zod.array(
925
- zod.object({
926
- name: zod.string().optional().describe("Name of the parameter"),
927
- type: zod.enum(["MANUAL_INPUT", "DEFAULT_VALUE"]).optional().describe(
928
- "Type of the parameter. It is manual inputs for parameters or the default values."
929
- ),
930
- value: zod.string().optional().describe("Value of the parameter")
931
- })
932
- ).optional().describe(
933
- "The list of parameters of the call to test step"
934
- )
935
- })
936
- ).optional()
937
- }).describe(
938
- "An instruction to be followed as part of a step-by-step test script. The test step can have either an inline definition, or delegate execution to another test case. One of these options must be specified."
939
- )
940
- ).optional().describe("The list of test steps")
941
- })
942
- ).describe("Response body when retrieving test steps");
811
+ value: zod.string().optional().describe("Value of the parameter")
812
+ }).strict()
813
+ ).optional().describe("The list of parameters of the call to test step")
814
+ }).strict().optional()
815
+ }).strict().describe(
816
+ "An instruction to be followed as part of a step-by-step test script. The test step can have either an inline definition, or delegate execution to another test case. One of these options must be specified."
817
+ )
818
+ ).optional().describe("The list of test steps")
819
+ }).strict().describe("Response body when retrieving test steps");
943
820
  zod.object({
944
821
  errorCode: zod.number(),
945
822
  message: zod.string()
946
- });
823
+ }).strict();
947
824
  const createTestCaseTestStepsPathTestCaseKeyRegExp = /(.+-T[0-9]+)/;
948
825
  zod.object({
949
826
  testCaseKey: zod.string().regex(createTestCaseTestStepsPathTestCaseKeyRegExp).describe(
950
827
  "The key of the test case. Test case keys are of the format [A-Z]+-T[0-9]+"
951
828
  )
952
829
  });
953
- const createTestCaseTestStepsBodyItemsItemTestCaseTestCaseKeyRegExp = /(.+-T[0-9]+)/;
830
+ const createTestCaseTestStepsBodyItemsItemTestCaseTwoTestCaseKeyRegExp = /(.+-T[0-9]+)/;
954
831
  zod.object({
955
832
  mode: zod.string().describe(
956
833
  'Valid values: `"APPEND"`, `"OVERWRITE"`. <br> `OVERWRITE` deletes and recreates the test steps and associated custom field values using the provided input. Attachments for existing steps are kept, but those for missing steps are deleted permanently <br> `APPEND` only adds extra steps to your test steps.\n'
@@ -977,7 +854,7 @@ zod.object({
977
854
  }).and(
978
855
  zod.object({
979
856
  testCaseKey: zod.string().regex(
980
- createTestCaseTestStepsBodyItemsItemTestCaseTestCaseKeyRegExp
857
+ createTestCaseTestStepsBodyItemsItemTestCaseTwoTestCaseKeyRegExp
981
858
  ).optional().describe(
982
859
  "The key of the other test case that the test step should delegate execution to. This cannot be the parent test case."
983
860
  ),
@@ -1006,16 +883,17 @@ zod.object({
1006
883
  zod.object({
1007
884
  id: zod.number().min(1).optional(),
1008
885
  self: zod.string().optional()
1009
- });
886
+ }).strict();
1010
887
  zod.object({
1011
888
  errorCode: zod.number(),
1012
889
  message: zod.string()
1013
- });
890
+ }).strict();
1014
891
  const listTestCyclesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1015
892
  const listTestCyclesQueryMaxResultsDefault = 10;
893
+ const listTestCyclesQueryStartAtDefault = 0;
1016
894
  const listTestCyclesQueryStartAtMin = 0;
1017
895
  const listTestCyclesQueryStartAtMax = 1e6;
1018
- const listTestCyclesQueryParams = zod.object({
896
+ const ListTestCyclesQueryParams = zod.object({
1019
897
  projectKey: zod.string().regex(listTestCyclesQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
1020
898
  folderId: zod.number().min(1).optional().describe("Folder ID filter"),
1021
899
  jiraProjectVersionId: zod.number().min(1).optional().describe(
@@ -1024,163 +902,139 @@ const listTestCyclesQueryParams = zod.object({
1024
902
  maxResults: zod.number().min(1).default(listTestCyclesQueryMaxResultsDefault).describe(
1025
903
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
1026
904
  ),
1027
- startAt: zod.number().min(listTestCyclesQueryStartAtMin).max(listTestCyclesQueryStartAtMax).optional().describe(
905
+ startAt: zod.number().min(listTestCyclesQueryStartAtMin).max(listTestCyclesQueryStartAtMax).default(listTestCyclesQueryStartAtDefault).describe(
1028
906
  "Zero-indexed starting position. Should be a multiple of maxResults."
1029
907
  )
1030
908
  });
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({
909
+ const listTestCycles200ResponseOneStartAtMin = 0;
910
+ const listTestCycles200ResponseOneTotalMin = 0;
911
+ const listTestCycles200ResponseTwoValuesItemKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
912
+ const listTestCycles200ResponseTwoValuesItemNameRegExp = /^(?!\s*$).+/;
913
+ const listTestCycles200ResponseTwoValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
914
+ const ListTestCycles200Response = zod.object({
1037
915
  next: zod.string().url().nullish().describe(
1038
916
  "URL to the next page of results, or null if there are no more results."
1039
917
  ),
1040
- startAt: zod.number().min(listTestCycles200ResponseStartAtMin).describe(
918
+ startAt: zod.number().min(listTestCycles200ResponseOneStartAtMin).describe(
1041
919
  "Indicates the index of the first item returned in the page of results."
1042
920
  ),
1043
921
  maxResults: zod.number().min(1).describe(
1044
922
  "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."
1045
923
  ),
1046
- total: zod.number().min(listTestCycles200ResponseTotalMin).optional().describe(
924
+ total: zod.number().min(listTestCycles200ResponseOneTotalMin).optional().describe(
1047
925
  "Indicates the total number of items available across all pages."
1048
926
  ),
1049
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
1050
- }).and(
1051
- zod.object({
1052
- values: zod.array(
1053
- zod.object({
927
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
928
+ values: zod.array(
929
+ zod.object({
930
+ id: zod.number().min(1),
931
+ key: zod.string().regex(listTestCycles200ResponseTwoValuesItemKeyRegExp).describe("Unique key of the test cycle"),
932
+ name: zod.string().regex(listTestCycles200ResponseTwoValuesItemNameRegExp).describe("Name of the Test Cycle"),
933
+ project: zod.object({
1054
934
  id: zod.number().min(1),
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"),
1057
- project: zod.object({
1058
- id: zod.number().min(1)
1059
- }).describe("The ID of the resource").and(
1060
- zod.object({
1061
- self: zod.string().url().optional().describe(
1062
- "The REST API endpoint to get more resource details."
1063
- )
1064
- })
1065
- ).describe("ID and link relative to Zephyr project."),
1066
- jiraProjectVersion: zod.object({
1067
- id: zod.number().min(1)
1068
- }).describe("The ID of the resource").and(
935
+ self: zod.string().url().optional().describe(
936
+ "The REST API endpoint to get more resource details."
937
+ )
938
+ }).strict().describe("ID and link relative to Zephyr project."),
939
+ jiraProjectVersion: zod.object({
940
+ id: zod.number().min(1),
941
+ self: zod.string().url().optional().describe(
942
+ "The REST API endpoint to get more resource details."
943
+ )
944
+ }).strict().nullish().describe(
945
+ "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
946
+ ),
947
+ status: zod.object({
948
+ id: zod.number().min(1),
949
+ self: zod.string().url().optional().describe(
950
+ "The REST API endpoint to get more resource details."
951
+ )
952
+ }).strict(),
953
+ folder: zod.object({
954
+ id: zod.number().min(1),
955
+ self: zod.string().url().optional().describe(
956
+ "The REST API endpoint to get more resource details."
957
+ )
958
+ }).strict().nullish(),
959
+ description: zod.string().nullish().describe("Description outlining the scope."),
960
+ plannedStartDate: zod.string().datetime({}).nullish().describe(
961
+ "Planned start 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')"
962
+ ),
963
+ plannedEndDate: zod.string().datetime({}).nullish().describe(
964
+ "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')"
965
+ ),
966
+ owner: zod.object({
967
+ accountId: zod.string().regex(
968
+ listTestCycles200ResponseTwoValuesItemOwnerAccountIdRegExp
969
+ ).nullable().describe("Atlassian Account ID of the Jira user."),
970
+ self: zod.string().url().optional().describe(
971
+ "The Jira REST API endpoint to get the full representation of the Jira user."
972
+ )
973
+ }).strict().nullish(),
974
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
975
+ "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"
976
+ ),
977
+ links: zod.object({
978
+ self: zod.string().url().optional().describe(
979
+ "The REST API endpoint to get more resource details."
980
+ ),
981
+ issues: zod.array(
1069
982
  zod.object({
983
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1070
984
  self: zod.string().url().optional().describe(
1071
- "The REST API endpoint to get more resource details."
1072
- )
1073
- })
1074
- ).nullish().describe(
1075
- "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
1076
- ),
1077
- status: zod.object({
1078
- id: zod.number().min(1)
1079
- }).describe("The ID of the resource").and(
985
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
986
+ ),
987
+ id: zod.number().min(1).optional().describe(
988
+ "The ID that represents the link between the entity and the Jira issue."
989
+ ),
990
+ target: zod.string().url().optional().describe(
991
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
992
+ ),
993
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
994
+ }).strict()
995
+ ).optional().describe("A list of Jira issues linked to this entity"),
996
+ webLinks: zod.array(
1080
997
  zod.object({
998
+ description: zod.string().optional().describe("The web link description"),
999
+ url: zod.string().url().describe("The web link URL"),
1081
1000
  self: zod.string().url().optional().describe(
1082
- "The REST API endpoint to get more resource details."
1083
- )
1084
- })
1085
- ),
1086
- folder: zod.object({
1087
- id: zod.number().min(1)
1088
- }).describe("The ID of the resource").and(
1001
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1002
+ ),
1003
+ id: zod.number().min(1).optional(),
1004
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1005
+ }).strict()
1006
+ ).optional().describe("A list of web links for this entity"),
1007
+ testPlans: zod.array(
1089
1008
  zod.object({
1009
+ id: zod.number().min(1).optional().describe(
1010
+ "The ID that represents the link between the Test Cycle and the Test Plan."
1011
+ ),
1090
1012
  self: zod.string().url().optional().describe(
1091
- "The REST API endpoint to get more resource details."
1013
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1014
+ ),
1015
+ testPlanId: zod.number().optional().describe("The ID of the test plan"),
1016
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1017
+ target: zod.string().url().optional().describe(
1018
+ "The Zephyr REST API endpoint to get the full representation of the test plan"
1092
1019
  )
1093
- })
1094
- ).nullish(),
1095
- description: zod.string().nullish().describe("Description outlining the scope."),
1096
- plannedStartDate: zod.string().datetime({}).nullish().describe(
1097
- "Planned start 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')"
1098
- ),
1099
- plannedEndDate: zod.string().datetime({}).nullish().describe(
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')"
1101
- ),
1102
- owner: zod.object({
1103
- accountId: zod.string().regex(
1104
- listTestCycles200ResponseValuesItemOwnerAccountIdRegExp
1105
- ).nullable().describe("Atlassian Account ID of the Jira user."),
1106
- self: zod.string().url().optional().describe(
1107
- "The Jira REST API endpoint to get the full representation of the Jira user."
1108
- )
1109
- }).nullish(),
1110
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1111
- "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"
1112
- ),
1113
- links: zod.object({
1114
- self: zod.string().url().optional().describe(
1115
- "The REST API endpoint to get more resource details."
1116
- )
1117
- }).and(
1118
- zod.object({
1119
- issues: zod.array(
1120
- zod.object({
1121
- issueId: zod.number().min(1).describe("The Jira issue ID")
1122
- }).and(
1123
- zod.object({
1124
- self: zod.string().url().optional().describe(
1125
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1126
- ),
1127
- id: zod.number().min(1).optional().describe(
1128
- "The ID that represents the link between the entity and the Jira issue."
1129
- ),
1130
- target: zod.string().url().optional().describe(
1131
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
1132
- ),
1133
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1134
- })
1135
- )
1136
- ).optional().describe("A list of Jira issues linked to this entity"),
1137
- webLinks: zod.array(
1138
- zod.object({
1139
- description: zod.string().optional().describe("The web link description"),
1140
- url: zod.string().url().describe("The web link URL")
1141
- }).and(
1142
- zod.object({
1143
- self: zod.string().url().optional().describe(
1144
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1145
- ),
1146
- id: zod.number().min(1).optional(),
1147
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1148
- })
1149
- )
1150
- ).optional().describe("A list of web links for this entity"),
1151
- testPlans: zod.array(
1152
- zod.object({
1153
- id: zod.number().min(1).optional().describe(
1154
- "The ID that represents the link between the Test Cycle and the Test Plan."
1155
- ),
1156
- self: zod.string().url().optional().describe(
1157
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1158
- ),
1159
- testPlanId: zod.number().optional().describe("The ID of the test plan"),
1160
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1161
- target: zod.string().url().optional().describe(
1162
- "The Zephyr REST API endpoint to get the full representation of the test plan"
1163
- )
1164
- })
1165
- ).optional().describe("A list of test plans linked to a test cycle")
1166
- })
1167
- ).optional().describe(
1168
- "Represents all links that a Test Cycle has. This property is ignored on update operations."
1169
- )
1170
- }).describe("Details of a test cycle")
1171
- ).optional()
1172
- })
1173
- );
1020
+ }).strict()
1021
+ ).optional().describe("A list of test plans linked to a test cycle")
1022
+ }).strict().optional().describe(
1023
+ "Represents all links that a Test Cycle has. This property is ignored on update operations."
1024
+ )
1025
+ }).strict().describe("Details of a test cycle")
1026
+ ).optional()
1027
+ }).strict();
1174
1028
  zod.object({
1175
1029
  errorCode: zod.number(),
1176
1030
  message: zod.string()
1177
- });
1031
+ }).strict();
1178
1032
  const createTestCycleBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1179
1033
  const createTestCycleBodyNameMax = 255;
1180
1034
  const createTestCycleBodyNameRegExp = /^(?!\\s*$).+/;
1181
1035
  const createTestCycleBodyStatusNameMax = 255;
1182
1036
  const createTestCycleBodyOwnerIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1183
- const createTestCycleBody = zod.object({
1037
+ const CreateTestCycleBody = zod.object({
1184
1038
  projectKey: zod.string().regex(createTestCycleBodyProjectKeyRegExp).describe("Jira project key."),
1185
1039
  name: zod.string().min(1).max(createTestCycleBodyNameMax).regex(createTestCycleBodyNameRegExp),
1186
1040
  description: zod.string().nullish().describe("Description outlining the scope."),
@@ -1200,59 +1054,44 @@ const createTestCycleBody = zod.object({
1200
1054
  "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"
1201
1055
  )
1202
1056
  });
1203
- const createTestCycle201Response = zod.object({
1057
+ const CreateTestCycle201Response = zod.object({
1204
1058
  id: zod.number().min(1).optional(),
1205
- self: zod.string().optional()
1206
- }).and(
1207
- zod.object({
1208
- key: zod.string().optional()
1209
- })
1210
- );
1059
+ self: zod.string().optional(),
1060
+ key: zod.string().optional()
1061
+ }).strict();
1211
1062
  zod.object({
1212
1063
  errorCode: zod.number(),
1213
1064
  message: zod.string()
1214
- });
1065
+ }).strict();
1215
1066
  const getTestCyclePathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1216
- const getTestCycleParams = zod.object({
1067
+ const GetTestCycleParams = zod.object({
1217
1068
  testCycleIdOrKey: zod.string().regex(getTestCyclePathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1218
1069
  });
1219
1070
  const getTestCycle200ResponseKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1220
1071
  const getTestCycle200ResponseNameRegExp = /^(?!\s*$).+/;
1221
1072
  const getTestCycle200ResponseOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1222
- const getTestCycle200Response = zod.object({
1073
+ const GetTestCycle200Response = zod.object({
1223
1074
  id: zod.number().min(1),
1224
1075
  key: zod.string().regex(getTestCycle200ResponseKeyRegExp).describe("Unique key of the test cycle"),
1225
1076
  name: zod.string().regex(getTestCycle200ResponseNameRegExp).describe("Name of the Test Cycle"),
1226
1077
  project: zod.object({
1227
- id: zod.number().min(1)
1228
- }).describe("The ID of the resource").and(
1229
- zod.object({
1230
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1231
- })
1232
- ).describe("ID and link relative to Zephyr project."),
1233
- jiraProjectVersion: zod.object({
1234
- id: zod.number().min(1)
1235
- }).describe("The ID of the resource").and(
1236
- zod.object({
1237
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1238
- })
1239
- ).nullish().describe(
1078
+ id: zod.number().min(1),
1079
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1080
+ }).strict().describe("ID and link relative to Zephyr project."),
1081
+ jiraProjectVersion: zod.object({
1082
+ id: zod.number().min(1),
1083
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1084
+ }).strict().nullish().describe(
1240
1085
  "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
1241
1086
  ),
1242
1087
  status: zod.object({
1243
- id: zod.number().min(1)
1244
- }).describe("The ID of the resource").and(
1245
- zod.object({
1246
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1247
- })
1248
- ),
1088
+ id: zod.number().min(1),
1089
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1090
+ }).strict(),
1249
1091
  folder: zod.object({
1250
- id: zod.number().min(1)
1251
- }).describe("The ID of the resource").and(
1252
- zod.object({
1253
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1254
- })
1255
- ).nullish(),
1092
+ id: zod.number().min(1),
1093
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1094
+ }).strict().nullish(),
1256
1095
  description: zod.string().nullish().describe("Description outlining the scope."),
1257
1096
  plannedStartDate: zod.string().datetime({}).nullish().describe(
1258
1097
  "Planned start 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')"
@@ -1265,78 +1104,69 @@ const getTestCycle200Response = zod.object({
1265
1104
  self: zod.string().url().optional().describe(
1266
1105
  "The Jira REST API endpoint to get the full representation of the Jira user."
1267
1106
  )
1268
- }).nullish(),
1107
+ }).strict().nullish(),
1269
1108
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1270
1109
  "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"
1271
1110
  ),
1272
1111
  links: zod.object({
1273
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1274
- }).and(
1275
- zod.object({
1276
- issues: zod.array(
1277
- zod.object({
1278
- issueId: zod.number().min(1).describe("The Jira issue ID")
1279
- }).and(
1280
- zod.object({
1281
- self: zod.string().url().optional().describe(
1282
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1283
- ),
1284
- id: zod.number().min(1).optional().describe(
1285
- "The ID that represents the link between the entity and the Jira issue."
1286
- ),
1287
- target: zod.string().url().optional().describe(
1288
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
1289
- ),
1290
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1291
- })
1292
- )
1293
- ).optional().describe("A list of Jira issues linked to this entity"),
1294
- webLinks: zod.array(
1295
- zod.object({
1296
- description: zod.string().optional().describe("The web link description"),
1297
- url: zod.string().url().describe("The web link URL")
1298
- }).and(
1299
- zod.object({
1300
- self: zod.string().url().optional().describe(
1301
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1302
- ),
1303
- id: zod.number().min(1).optional(),
1304
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1305
- })
1112
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
1113
+ issues: zod.array(
1114
+ zod.object({
1115
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1116
+ self: zod.string().url().optional().describe(
1117
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1118
+ ),
1119
+ id: zod.number().min(1).optional().describe(
1120
+ "The ID that represents the link between the entity and the Jira issue."
1121
+ ),
1122
+ target: zod.string().url().optional().describe(
1123
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
1124
+ ),
1125
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1126
+ }).strict()
1127
+ ).optional().describe("A list of Jira issues linked to this entity"),
1128
+ webLinks: zod.array(
1129
+ zod.object({
1130
+ description: zod.string().optional().describe("The web link description"),
1131
+ url: zod.string().url().describe("The web link URL"),
1132
+ self: zod.string().url().optional().describe(
1133
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1134
+ ),
1135
+ id: zod.number().min(1).optional(),
1136
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1137
+ }).strict()
1138
+ ).optional().describe("A list of web links for this entity"),
1139
+ testPlans: zod.array(
1140
+ zod.object({
1141
+ id: zod.number().min(1).optional().describe(
1142
+ "The ID that represents the link between the Test Cycle and the Test Plan."
1143
+ ),
1144
+ self: zod.string().url().optional().describe(
1145
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1146
+ ),
1147
+ testPlanId: zod.number().optional().describe("The ID of the test plan"),
1148
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1149
+ target: zod.string().url().optional().describe(
1150
+ "The Zephyr REST API endpoint to get the full representation of the test plan"
1306
1151
  )
1307
- ).optional().describe("A list of web links for this entity"),
1308
- testPlans: zod.array(
1309
- zod.object({
1310
- id: zod.number().min(1).optional().describe(
1311
- "The ID that represents the link between the Test Cycle and the Test Plan."
1312
- ),
1313
- self: zod.string().url().optional().describe(
1314
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1315
- ),
1316
- testPlanId: zod.number().optional().describe("The ID of the test plan"),
1317
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1318
- target: zod.string().url().optional().describe(
1319
- "The Zephyr REST API endpoint to get the full representation of the test plan"
1320
- )
1321
- })
1322
- ).optional().describe("A list of test plans linked to a test cycle")
1323
- })
1324
- ).optional().describe(
1152
+ }).strict()
1153
+ ).optional().describe("A list of test plans linked to a test cycle")
1154
+ }).strict().optional().describe(
1325
1155
  "Represents all links that a Test Cycle has. This property is ignored on update operations."
1326
1156
  )
1327
- }).describe("Details of a test cycle");
1157
+ }).strict().describe("Details of a test cycle");
1328
1158
  zod.object({
1329
1159
  errorCode: zod.number(),
1330
1160
  message: zod.string()
1331
- });
1161
+ }).strict();
1332
1162
  const updateTestCyclePathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1333
- const updateTestCycleParams = zod.object({
1163
+ const UpdateTestCycleParams = zod.object({
1334
1164
  testCycleIdOrKey: zod.string().regex(updateTestCyclePathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1335
1165
  });
1336
1166
  const updateTestCycleBodyKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1337
1167
  const updateTestCycleBodyNameRegExp = /^(?!\s*$).+/;
1338
1168
  const updateTestCycleBodyOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1339
- const updateTestCycleBody = zod.object({
1169
+ const UpdateTestCycleBody = zod.object({
1340
1170
  id: zod.number().min(1),
1341
1171
  key: zod.string().regex(updateTestCycleBodyKeyRegExp).describe("Unique key of the test cycle"),
1342
1172
  name: zod.string().regex(updateTestCycleBodyNameRegExp).describe("Name of the Test Cycle"),
@@ -1445,70 +1275,61 @@ const updateTestCycleBody = zod.object({
1445
1275
  zod.object({
1446
1276
  errorCode: zod.number(),
1447
1277
  message: zod.string()
1448
- });
1278
+ }).strict();
1449
1279
  const getTestCycleLinksPathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1450
1280
  zod.object({
1451
1281
  testCycleIdOrKey: zod.string().regex(getTestCycleLinksPathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
1452
1282
  });
1453
1283
  zod.object({
1454
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1455
- }).and(
1456
- zod.object({
1457
- issues: zod.array(
1458
- zod.object({
1459
- issueId: zod.number().min(1).describe("The Jira issue ID")
1460
- }).and(
1461
- zod.object({
1462
- self: zod.string().url().optional().describe(
1463
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1464
- ),
1465
- id: zod.number().min(1).optional().describe(
1466
- "The ID that represents the link between the entity and the Jira issue."
1467
- ),
1468
- target: zod.string().url().optional().describe(
1469
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
1470
- ),
1471
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1472
- })
1473
- )
1474
- ).optional().describe("A list of Jira issues linked to this entity"),
1475
- webLinks: zod.array(
1476
- zod.object({
1477
- description: zod.string().optional().describe("The web link description"),
1478
- url: zod.string().url().describe("The web link URL")
1479
- }).and(
1480
- zod.object({
1481
- self: zod.string().url().optional().describe(
1482
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1483
- ),
1484
- id: zod.number().min(1).optional(),
1485
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1486
- })
1284
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
1285
+ issues: zod.array(
1286
+ zod.object({
1287
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1288
+ self: zod.string().url().optional().describe(
1289
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1290
+ ),
1291
+ id: zod.number().min(1).optional().describe(
1292
+ "The ID that represents the link between the entity and the Jira issue."
1293
+ ),
1294
+ target: zod.string().url().optional().describe(
1295
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
1296
+ ),
1297
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1298
+ }).strict()
1299
+ ).optional().describe("A list of Jira issues linked to this entity"),
1300
+ webLinks: zod.array(
1301
+ zod.object({
1302
+ description: zod.string().optional().describe("The web link description"),
1303
+ url: zod.string().url().describe("The web link URL"),
1304
+ self: zod.string().url().optional().describe(
1305
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1306
+ ),
1307
+ id: zod.number().min(1).optional(),
1308
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1309
+ }).strict()
1310
+ ).optional().describe("A list of web links for this entity"),
1311
+ testPlans: zod.array(
1312
+ zod.object({
1313
+ id: zod.number().min(1).optional().describe(
1314
+ "The ID that represents the link between the Test Cycle and the Test Plan."
1315
+ ),
1316
+ self: zod.string().url().optional().describe(
1317
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1318
+ ),
1319
+ testPlanId: zod.number().optional().describe("The ID of the test plan"),
1320
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1321
+ target: zod.string().url().optional().describe(
1322
+ "The Zephyr REST API endpoint to get the full representation of the test plan"
1487
1323
  )
1488
- ).optional().describe("A list of web links for this entity"),
1489
- testPlans: zod.array(
1490
- zod.object({
1491
- id: zod.number().min(1).optional().describe(
1492
- "The ID that represents the link between the Test Cycle and the Test Plan."
1493
- ),
1494
- self: zod.string().url().optional().describe(
1495
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1496
- ),
1497
- testPlanId: zod.number().optional().describe("The ID of the test plan"),
1498
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1499
- target: zod.string().url().optional().describe(
1500
- "The Zephyr REST API endpoint to get the full representation of the test plan"
1501
- )
1502
- })
1503
- ).optional().describe("A list of test plans linked to a test cycle")
1504
- })
1505
- ).describe(
1324
+ }).strict()
1325
+ ).optional().describe("A list of test plans linked to a test cycle")
1326
+ }).strict().describe(
1506
1327
  "Represents all links that a Test Cycle has. This property is ignored on update operations."
1507
1328
  );
1508
1329
  zod.object({
1509
1330
  errorCode: zod.number(),
1510
1331
  message: zod.string()
1511
- });
1332
+ }).strict();
1512
1333
  const createTestCycleIssueLinkPathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1513
1334
  zod.object({
1514
1335
  testCycleIdOrKey: zod.string().regex(createTestCycleIssueLinkPathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
@@ -1519,7 +1340,7 @@ zod.object({
1519
1340
  zod.object({
1520
1341
  errorCode: zod.number(),
1521
1342
  message: zod.string()
1522
- });
1343
+ }).strict();
1523
1344
  const createTestCycleWebLinkPathTestCycleIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+-R[0-9]+)/;
1524
1345
  zod.object({
1525
1346
  testCycleIdOrKey: zod.string().regex(createTestCycleWebLinkPathTestCycleIdOrKeyRegExp).describe("The ID or key of the test cycle.")
@@ -1531,9 +1352,10 @@ zod.object({
1531
1352
  zod.object({
1532
1353
  errorCode: zod.number(),
1533
1354
  message: zod.string()
1534
- });
1355
+ }).strict();
1535
1356
  const listTestPlansQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1536
1357
  const listTestPlansQueryMaxResultsDefault = 10;
1358
+ const listTestPlansQueryStartAtDefault = 0;
1537
1359
  const listTestPlansQueryStartAtMin = 0;
1538
1360
  const listTestPlansQueryStartAtMax = 1e6;
1539
1361
  zod.object({
@@ -1541,135 +1363,113 @@ zod.object({
1541
1363
  maxResults: zod.number().min(1).default(listTestPlansQueryMaxResultsDefault).describe(
1542
1364
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
1543
1365
  ),
1544
- startAt: zod.number().min(listTestPlansQueryStartAtMin).max(listTestPlansQueryStartAtMax).optional().describe(
1366
+ startAt: zod.number().min(listTestPlansQueryStartAtMin).max(listTestPlansQueryStartAtMax).default(listTestPlansQueryStartAtDefault).describe(
1545
1367
  "Zero-indexed starting position. Should be a multiple of maxResults."
1546
1368
  )
1547
1369
  });
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;
1370
+ const listTestPlans200ResponseOneStartAtMin = 0;
1371
+ const listTestPlans200ResponseOneTotalMin = 0;
1372
+ const listTestPlans200ResponseTwoValuesItemKeyRegExp = /.+-P[0-9]+/;
1373
+ const listTestPlans200ResponseTwoValuesItemNameMax = 255;
1374
+ const listTestPlans200ResponseTwoValuesItemNameRegExp = /^(?!\\s*$).+/;
1375
+ const listTestPlans200ResponseTwoValuesItemOwnerAccountIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1376
+ const listTestPlans200ResponseTwoValuesItemLabelsMax = 50;
1555
1377
  zod.object({
1556
1378
  next: zod.string().url().nullish().describe(
1557
1379
  "URL to the next page of results, or null if there are no more results."
1558
1380
  ),
1559
- startAt: zod.number().min(listTestPlans200ResponseStartAtMin).describe(
1381
+ startAt: zod.number().min(listTestPlans200ResponseOneStartAtMin).describe(
1560
1382
  "Indicates the index of the first item returned in the page of results."
1561
1383
  ),
1562
1384
  maxResults: zod.number().min(1).describe(
1563
1385
  "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."
1564
1386
  ),
1565
- total: zod.number().min(listTestPlans200ResponseTotalMin).optional().describe(
1387
+ total: zod.number().min(listTestPlans200ResponseOneTotalMin).optional().describe(
1566
1388
  "Indicates the total number of items available across all pages."
1567
1389
  ),
1568
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
1569
- }).and(
1570
- zod.object({
1571
- values: zod.array(
1572
- zod.object({
1390
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
1391
+ values: zod.array(
1392
+ zod.object({
1393
+ id: zod.number().min(1),
1394
+ key: zod.string().regex(listTestPlans200ResponseTwoValuesItemKeyRegExp).describe("Key of the test plan"),
1395
+ name: zod.string().min(1).max(listTestPlans200ResponseTwoValuesItemNameMax).regex(listTestPlans200ResponseTwoValuesItemNameRegExp),
1396
+ objective: zod.string().nullish().describe("A description of the objective."),
1397
+ project: zod.object({
1398
+ id: zod.number().min(1),
1399
+ self: zod.string().url().optional().describe(
1400
+ "The REST API endpoint to get more resource details."
1401
+ )
1402
+ }).strict().describe("ID and link relative to Zephyr project."),
1403
+ status: zod.object({
1404
+ id: zod.number().min(1),
1405
+ self: zod.string().url().optional().describe(
1406
+ "The REST API endpoint to get more resource details."
1407
+ )
1408
+ }).strict(),
1409
+ folder: zod.object({
1573
1410
  id: zod.number().min(1),
1574
- key: zod.string().regex(listTestPlans200ResponseValuesItemKeyRegExp).describe("Key of the test plan"),
1575
- name: zod.string().min(1).max(listTestPlans200ResponseValuesItemNameMax).regex(listTestPlans200ResponseValuesItemNameRegExp),
1576
- objective: zod.string().nullish().describe("A description of the objective."),
1577
- project: zod.object({
1578
- id: zod.number().min(1)
1579
- }).describe("The ID of the resource").and(
1411
+ self: zod.string().url().optional().describe(
1412
+ "The REST API endpoint to get more resource details."
1413
+ )
1414
+ }).strict().nullish(),
1415
+ owner: zod.object({
1416
+ accountId: zod.string().regex(
1417
+ listTestPlans200ResponseTwoValuesItemOwnerAccountIdRegExp
1418
+ ).nullable().describe("Atlassian Account ID of the Jira user."),
1419
+ self: zod.string().url().optional().describe(
1420
+ "The Jira REST API endpoint to get the full representation of the Jira user."
1421
+ )
1422
+ }).strict().nullish(),
1423
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1424
+ "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"
1425
+ ),
1426
+ labels: zod.array(zod.string()).max(listTestPlans200ResponseTwoValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
1427
+ links: zod.object({
1428
+ webLinks: zod.array(
1580
1429
  zod.object({
1430
+ description: zod.string().optional().describe("The web link description"),
1431
+ url: zod.string().url().describe("The web link URL"),
1581
1432
  self: zod.string().url().optional().describe(
1582
- "The REST API endpoint to get more resource details."
1583
- )
1584
- })
1585
- ).describe("ID and link relative to Zephyr project."),
1586
- status: zod.object({
1587
- id: zod.number().min(1)
1588
- }).describe("The ID of the resource").and(
1433
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1434
+ ),
1435
+ id: zod.number().min(1).optional(),
1436
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1437
+ }).strict()
1438
+ ).optional().describe("A list of web links for this entity"),
1439
+ issues: zod.array(
1589
1440
  zod.object({
1441
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1590
1442
  self: zod.string().url().optional().describe(
1591
- "The REST API endpoint to get more resource details."
1592
- )
1593
- })
1594
- ),
1595
- folder: zod.object({
1596
- id: zod.number().min(1)
1597
- }).describe("The ID of the resource").and(
1443
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1444
+ ),
1445
+ id: zod.number().min(1).optional().describe(
1446
+ "The ID that represents the link between the entity and the Jira issue."
1447
+ ),
1448
+ target: zod.string().url().optional().describe(
1449
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
1450
+ ),
1451
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1452
+ }).strict()
1453
+ ).optional().describe("A list of Jira issues linked to this entity"),
1454
+ testCycles: zod.array(
1598
1455
  zod.object({
1456
+ id: zod.number().min(1),
1599
1457
  self: zod.string().url().optional().describe(
1600
1458
  "The REST API endpoint to get more resource details."
1601
- )
1602
- })
1603
- ).nullish(),
1604
- owner: zod.object({
1605
- accountId: zod.string().regex(listTestPlans200ResponseValuesItemOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1606
- self: zod.string().url().optional().describe(
1607
- "The Jira REST API endpoint to get the full representation of the Jira user."
1608
- )
1609
- }).nullish(),
1610
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
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"
1612
- ),
1613
- labels: zod.array(zod.string()).max(listTestPlans200ResponseValuesItemLabelsMax).optional().describe("Array of labels associated to this entity."),
1614
- links: zod.object({
1615
- webLinks: zod.array(
1616
- zod.object({
1617
- description: zod.string().optional().describe("The web link description"),
1618
- url: zod.string().url().describe("The web link URL")
1619
- }).and(
1620
- zod.object({
1621
- self: zod.string().url().optional().describe(
1622
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1623
- ),
1624
- id: zod.number().min(1).optional(),
1625
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1626
- })
1627
- )
1628
- ).optional().describe("A list of web links for this entity"),
1629
- issues: zod.array(
1630
- zod.object({
1631
- issueId: zod.number().min(1).describe("The Jira issue ID")
1632
- }).and(
1633
- zod.object({
1634
- self: zod.string().url().optional().describe(
1635
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1636
- ),
1637
- id: zod.number().min(1).optional().describe(
1638
- "The ID that represents the link between the entity and the Jira issue."
1639
- ),
1640
- target: zod.string().url().optional().describe(
1641
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
1642
- ),
1643
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1644
- })
1645
- )
1646
- ).optional().describe("A list of Jira issues linked to this entity"),
1647
- testCycles: zod.array(
1648
- zod.object({
1649
- id: zod.number().min(1)
1650
- }).describe("The ID of the resource").and(
1651
- zod.object({
1652
- self: zod.string().url().optional().describe(
1653
- "The REST API endpoint to get more resource details."
1654
- )
1655
- })
1656
- ).and(
1657
- zod.object({
1658
- testCycleId: zod.number().min(1).optional(),
1659
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1660
- target: zod.string().optional().describe("The test cycle resource")
1661
- })
1662
- )
1663
- ).optional().describe("A list of test cycle links for a test plan")
1664
- }).optional()
1665
- })
1666
- ).optional()
1667
- })
1668
- );
1459
+ ),
1460
+ testCycleId: zod.number().min(1).optional(),
1461
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1462
+ target: zod.string().optional().describe("The test cycle resource")
1463
+ }).strict()
1464
+ ).optional().describe("A list of test cycle links for a test plan")
1465
+ }).strict().optional()
1466
+ }).strict()
1467
+ ).optional()
1468
+ }).strict();
1669
1469
  zod.object({
1670
1470
  errorCode: zod.number(),
1671
1471
  message: zod.string()
1672
- });
1472
+ }).strict();
1673
1473
  const createTestPlanBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1674
1474
  const createTestPlanBodyNameMax = 255;
1675
1475
  const createTestPlanBodyNameRegExp = /^(?!\\s*$).+/;
@@ -1690,16 +1490,13 @@ zod.object({
1690
1490
  });
1691
1491
  zod.object({
1692
1492
  id: zod.number().min(1).optional(),
1693
- self: zod.string().optional()
1694
- }).and(
1695
- zod.object({
1696
- key: zod.string().optional()
1697
- })
1698
- );
1493
+ self: zod.string().optional(),
1494
+ key: zod.string().optional()
1495
+ }).strict();
1699
1496
  zod.object({
1700
1497
  errorCode: zod.number(),
1701
1498
  message: zod.string()
1702
- });
1499
+ }).strict();
1703
1500
  const getTestPlanPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1704
1501
  zod.object({
1705
1502
  testPlanIdOrKey: zod.string().regex(getTestPlanPathTestPlanIdOrKeyRegExp).describe(
@@ -1717,92 +1514,71 @@ zod.object({
1717
1514
  name: zod.string().min(1).max(getTestPlan200ResponseNameMax).regex(getTestPlan200ResponseNameRegExp),
1718
1515
  objective: zod.string().nullish().describe("A description of the objective."),
1719
1516
  project: zod.object({
1720
- id: zod.number().min(1)
1721
- }).describe("The ID of the resource").and(
1722
- zod.object({
1723
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1724
- })
1725
- ).describe("ID and link relative to Zephyr project."),
1517
+ id: zod.number().min(1),
1518
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1519
+ }).strict().describe("ID and link relative to Zephyr project."),
1726
1520
  status: zod.object({
1727
- id: zod.number().min(1)
1728
- }).describe("The ID of the resource").and(
1729
- zod.object({
1730
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1731
- })
1732
- ),
1521
+ id: zod.number().min(1),
1522
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1523
+ }).strict(),
1733
1524
  folder: zod.object({
1734
- id: zod.number().min(1)
1735
- }).describe("The ID of the resource").and(
1736
- zod.object({
1737
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1738
- })
1739
- ).nullish(),
1525
+ id: zod.number().min(1),
1526
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1527
+ }).strict().nullish(),
1740
1528
  owner: zod.object({
1741
1529
  accountId: zod.string().regex(getTestPlan200ResponseOwnerAccountIdRegExp).nullable().describe("Atlassian Account ID of the Jira user."),
1742
1530
  self: zod.string().url().optional().describe(
1743
1531
  "The Jira REST API endpoint to get the full representation of the Jira user."
1744
1532
  )
1745
- }).nullish(),
1533
+ }).strict().nullish(),
1746
1534
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1747
1535
  "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"
1748
1536
  ),
1749
1537
  labels: zod.array(zod.string()).max(getTestPlan200ResponseLabelsMax).optional().describe("Array of labels associated to this entity."),
1750
- links: zod.object({
1751
- webLinks: zod.array(
1752
- zod.object({
1753
- description: zod.string().optional().describe("The web link description"),
1754
- url: zod.string().url().describe("The web link URL")
1755
- }).and(
1756
- zod.object({
1757
- self: zod.string().url().optional().describe(
1758
- "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1759
- ),
1760
- id: zod.number().min(1).optional(),
1761
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1762
- })
1763
- )
1764
- ).optional().describe("A list of web links for this entity"),
1765
- issues: zod.array(
1766
- zod.object({
1767
- issueId: zod.number().min(1).describe("The Jira issue ID")
1768
- }).and(
1769
- zod.object({
1770
- self: zod.string().url().optional().describe(
1771
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1772
- ),
1773
- id: zod.number().min(1).optional().describe(
1774
- "The ID that represents the link between the entity and the Jira issue."
1775
- ),
1776
- target: zod.string().url().optional().describe(
1777
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
1778
- ),
1779
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1780
- })
1781
- )
1538
+ links: zod.object({
1539
+ webLinks: zod.array(
1540
+ zod.object({
1541
+ description: zod.string().optional().describe("The web link description"),
1542
+ url: zod.string().url().describe("The web link URL"),
1543
+ self: zod.string().url().optional().describe(
1544
+ "The Zephyr REST API endpoint relative to the link between the entity and this web link."
1545
+ ),
1546
+ id: zod.number().min(1).optional(),
1547
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1548
+ }).strict()
1549
+ ).optional().describe("A list of web links for this entity"),
1550
+ issues: zod.array(
1551
+ zod.object({
1552
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1553
+ self: zod.string().url().optional().describe(
1554
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1555
+ ),
1556
+ id: zod.number().min(1).optional().describe(
1557
+ "The ID that represents the link between the entity and the Jira issue."
1558
+ ),
1559
+ target: zod.string().url().optional().describe(
1560
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
1561
+ ),
1562
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1563
+ }).strict()
1782
1564
  ).optional().describe("A list of Jira issues linked to this entity"),
1783
1565
  testCycles: zod.array(
1784
1566
  zod.object({
1785
- id: zod.number().min(1)
1786
- }).describe("The ID of the resource").and(
1787
- zod.object({
1788
- self: zod.string().url().optional().describe(
1789
- "The REST API endpoint to get more resource details."
1790
- )
1791
- })
1792
- ).and(
1793
- zod.object({
1794
- testCycleId: zod.number().min(1).optional(),
1795
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1796
- target: zod.string().optional().describe("The test cycle resource")
1797
- })
1798
- )
1567
+ id: zod.number().min(1),
1568
+ self: zod.string().url().optional().describe(
1569
+ "The REST API endpoint to get more resource details."
1570
+ ),
1571
+ testCycleId: zod.number().min(1).optional(),
1572
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type"),
1573
+ target: zod.string().optional().describe("The test cycle resource")
1574
+ }).strict()
1799
1575
  ).optional().describe("A list of test cycle links for a test plan")
1800
- }).optional()
1801
- });
1576
+ }).strict().optional()
1577
+ }).strict();
1802
1578
  zod.object({
1803
1579
  errorCode: zod.number(),
1804
1580
  message: zod.string()
1805
- });
1581
+ }).strict();
1806
1582
  const createTestPlanWebLinkPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1807
1583
  zod.object({
1808
1584
  testPlanIdOrKey: zod.string().regex(createTestPlanWebLinkPathTestPlanIdOrKeyRegExp).describe(
@@ -1816,11 +1592,11 @@ zod.object({
1816
1592
  zod.object({
1817
1593
  id: zod.number().min(1).optional(),
1818
1594
  self: zod.string().optional()
1819
- });
1595
+ }).strict();
1820
1596
  zod.object({
1821
1597
  errorCode: zod.number(),
1822
1598
  message: zod.string()
1823
- });
1599
+ }).strict();
1824
1600
  const createTestPlanIssueLinkPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1825
1601
  zod.object({
1826
1602
  testPlanIdOrKey: zod.string().regex(createTestPlanIssueLinkPathTestPlanIdOrKeyRegExp).describe(
@@ -1833,11 +1609,11 @@ zod.object({
1833
1609
  zod.object({
1834
1610
  id: zod.number().min(1).optional(),
1835
1611
  self: zod.string().optional()
1836
- });
1612
+ }).strict();
1837
1613
  zod.object({
1838
1614
  errorCode: zod.number(),
1839
1615
  message: zod.string()
1840
- });
1616
+ }).strict();
1841
1617
  const createTestPlanTestCycleLinkPathTestPlanIdOrKeyRegExp = /([0-9]+)|(.+-P[0-9]+)/;
1842
1618
  zod.object({
1843
1619
  testPlanIdOrKey: zod.string().regex(createTestPlanTestCycleLinkPathTestPlanIdOrKeyRegExp).describe(
@@ -1851,15 +1627,18 @@ zod.object({
1851
1627
  zod.object({
1852
1628
  id: zod.number().min(1).optional(),
1853
1629
  self: zod.string().optional()
1854
- });
1630
+ }).strict();
1855
1631
  zod.object({
1856
1632
  errorCode: zod.number(),
1857
1633
  message: zod.string()
1858
- });
1634
+ }).strict();
1859
1635
  const listTestExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
1860
1636
  const listTestExecutionsQueryTestCycleRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
1861
1637
  const listTestExecutionsQueryTestCaseRegExp = /([0-9]+)|(.+-T[0-9]+)/;
1638
+ const listTestExecutionsQueryIncludeStepLinksDefault = false;
1639
+ const listTestExecutionsQueryOnlyLastExecutionsDefault = false;
1862
1640
  const listTestExecutionsQueryMaxResultsDefault = 10;
1641
+ const listTestExecutionsQueryStartAtDefault = 0;
1863
1642
  const listTestExecutionsQueryStartAtMin = 0;
1864
1643
  const listTestExecutionsQueryStartAtMax = 1e6;
1865
1644
  zod.object({
@@ -1872,153 +1651,130 @@ zod.object({
1872
1651
  actualEndDateBefore: zod.string().datetime({}).optional().describe(
1873
1652
  "Filter for 'Actual End Date' before the given time. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1874
1653
  ),
1875
- includeStepLinks: zod.boolean().optional().describe(
1654
+ includeStepLinks: zod.boolean().default(listTestExecutionsQueryIncludeStepLinksDefault).describe(
1876
1655
  "If true, execution step issue links will be included in the response"
1877
1656
  ),
1878
1657
  jiraProjectVersionId: zod.number().min(1).optional().describe(
1879
1658
  "Jira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects."
1880
1659
  ),
1881
- onlyLastExecutions: zod.boolean().optional().describe(
1660
+ onlyLastExecutions: zod.boolean().default(listTestExecutionsQueryOnlyLastExecutionsDefault).describe(
1882
1661
  "If true, includes only the last execution of each test cycle item (test case), and all ad-hoc test executions."
1883
1662
  ),
1884
1663
  maxResults: zod.number().min(1).default(listTestExecutionsQueryMaxResultsDefault).describe(
1885
1664
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
1886
1665
  ),
1887
- startAt: zod.number().min(listTestExecutionsQueryStartAtMin).max(listTestExecutionsQueryStartAtMax).optional().describe(
1666
+ startAt: zod.number().min(listTestExecutionsQueryStartAtMin).max(listTestExecutionsQueryStartAtMax).default(listTestExecutionsQueryStartAtDefault).describe(
1888
1667
  "Zero-indexed starting position. Should be a multiple of maxResults."
1889
1668
  )
1890
1669
  });
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}$/;
1670
+ const listTestExecutions200ResponseOneStartAtMin = 0;
1671
+ const listTestExecutions200ResponseOneTotalMin = 0;
1672
+ const listTestExecutions200ResponseTwoValuesItemKeyRegExp = /.+-E[0-9]+/;
1673
+ const listTestExecutions200ResponseTwoValuesItemEstimatedTimeMin = 0;
1674
+ const listTestExecutions200ResponseTwoValuesItemExecutionTimeMin = 0;
1675
+ const listTestExecutions200ResponseTwoValuesItemExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1676
+ const listTestExecutions200ResponseTwoValuesItemAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1898
1677
  zod.object({
1899
1678
  next: zod.string().url().nullish().describe(
1900
1679
  "URL to the next page of results, or null if there are no more results."
1901
1680
  ),
1902
- startAt: zod.number().min(listTestExecutions200ResponseStartAtMin).describe(
1681
+ startAt: zod.number().min(listTestExecutions200ResponseOneStartAtMin).describe(
1903
1682
  "Indicates the index of the first item returned in the page of results."
1904
1683
  ),
1905
1684
  maxResults: zod.number().min(1).describe(
1906
1685
  "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."
1907
1686
  ),
1908
- total: zod.number().min(listTestExecutions200ResponseTotalMin).optional().describe(
1687
+ total: zod.number().min(listTestExecutions200ResponseOneTotalMin).optional().describe(
1909
1688
  "Indicates the total number of items available across all pages."
1910
1689
  ),
1911
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
1912
- }).and(
1913
- zod.object({
1914
- values: zod.array(
1915
- zod.object({
1690
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
1691
+ values: zod.array(
1692
+ zod.object({
1693
+ id: zod.number().min(1),
1694
+ key: zod.string().regex(listTestExecutions200ResponseTwoValuesItemKeyRegExp).optional().describe("Test execution key"),
1695
+ project: zod.object({
1916
1696
  id: zod.number().min(1),
1917
- key: zod.string().regex(listTestExecutions200ResponseValuesItemKeyRegExp).optional().describe("Test execution key"),
1918
- project: zod.object({
1919
- id: zod.number().min(1)
1920
- }).describe("The ID of the resource").and(
1921
- zod.object({
1922
- self: zod.string().url().optional().describe(
1923
- "The REST API endpoint to get more resource details."
1924
- )
1925
- })
1926
- ).describe("ID and link relative to Zephyr project."),
1927
- testCase: zod.object({
1928
- self: zod.string().url().optional().describe(
1929
- "The REST API endpoint to get more resource details."
1930
- )
1931
- }).and(
1932
- zod.object({
1933
- id: zod.number().min(1).optional()
1934
- })
1935
- ),
1936
- environment: zod.object({
1937
- id: zod.number().min(1)
1938
- }).describe("The ID of the resource").and(
1939
- zod.object({
1940
- self: zod.string().url().optional().describe(
1941
- "The REST API endpoint to get more resource details."
1942
- )
1943
- })
1944
- ).nullish(),
1945
- jiraProjectVersion: zod.object({
1946
- id: zod.number().min(1)
1947
- }).describe("The ID of the resource").and(
1948
- zod.object({
1949
- self: zod.string().url().optional().describe(
1950
- "The REST API endpoint to get more resource details."
1951
- )
1952
- })
1953
- ).nullish().describe(
1954
- "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
1955
- ),
1956
- testExecutionStatus: zod.object({
1957
- id: zod.number().min(1)
1958
- }).describe("The ID of the resource").and(
1959
- zod.object({
1960
- self: zod.string().url().optional().describe(
1961
- "The REST API endpoint to get more resource details."
1962
- )
1963
- })
1964
- ),
1965
- actualEndDate: zod.string().datetime({}).optional().describe(
1966
- "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1697
+ self: zod.string().url().optional().describe(
1698
+ "The REST API endpoint to get more resource details."
1699
+ )
1700
+ }).strict().describe("ID and link relative to Zephyr project."),
1701
+ testCase: zod.object({
1702
+ self: zod.string().url().optional().describe(
1703
+ "The REST API endpoint to get more resource details."
1967
1704
  ),
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."),
1972
- comment: zod.string().nullish().describe("Comment added against overall test case execution."),
1973
- automated: zod.boolean().optional().describe(
1974
- "Indicates if the test execution was done manually or not."
1705
+ id: zod.number().min(1).optional()
1706
+ }).strict(),
1707
+ environment: zod.object({
1708
+ id: zod.number().min(1),
1709
+ self: zod.string().url().optional().describe(
1710
+ "The REST API endpoint to get more resource details."
1711
+ )
1712
+ }).strict().nullish(),
1713
+ jiraProjectVersion: zod.object({
1714
+ id: zod.number().min(1),
1715
+ self: zod.string().url().optional().describe(
1716
+ "The REST API endpoint to get more resource details."
1717
+ )
1718
+ }).strict().nullish().describe(
1719
+ "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
1720
+ ),
1721
+ testExecutionStatus: zod.object({
1722
+ id: zod.number().min(1),
1723
+ self: zod.string().url().optional().describe(
1724
+ "The REST API endpoint to get more resource details."
1725
+ )
1726
+ }).strict(),
1727
+ actualEndDate: zod.string().datetime({}).optional().describe(
1728
+ "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1729
+ ),
1730
+ estimatedTime: zod.number().min(listTestExecutions200ResponseTwoValuesItemEstimatedTimeMin).nullish().describe("Estimated duration in milliseconds."),
1731
+ executionTime: zod.number().min(listTestExecutions200ResponseTwoValuesItemExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
1732
+ executedById: zod.string().regex(
1733
+ listTestExecutions200ResponseTwoValuesItemExecutedByIdRegExp
1734
+ ).nullish().describe("Atlassian Account ID of the Jira user."),
1735
+ assignedToId: zod.string().regex(
1736
+ listTestExecutions200ResponseTwoValuesItemAssignedToIdRegExp
1737
+ ).nullish().describe("Atlassian Account ID of the Jira user."),
1738
+ comment: zod.string().nullish().describe("Comment added against overall test case execution."),
1739
+ automated: zod.boolean().optional().describe(
1740
+ "Indicates if the test execution was done manually or not."
1741
+ ),
1742
+ testCycle: zod.object({
1743
+ self: zod.string().url().optional().describe(
1744
+ "The REST API endpoint to get more resource details."
1975
1745
  ),
1976
- testCycle: zod.object({
1977
- self: zod.string().url().optional().describe(
1978
- "The REST API endpoint to get more resource details."
1979
- )
1980
- }).and(
1981
- zod.object({
1982
- id: zod.number().min(1).optional()
1983
- })
1984
- ).nullish(),
1985
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1986
- "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"
1746
+ id: zod.number().min(1).optional()
1747
+ }).strict().nullish(),
1748
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1749
+ "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"
1750
+ ),
1751
+ links: zod.object({
1752
+ self: zod.string().url().optional().describe(
1753
+ "The REST API endpoint to get more resource details."
1987
1754
  ),
1988
- links: zod.object({
1989
- self: zod.string().url().optional().describe(
1990
- "The REST API endpoint to get more resource details."
1991
- )
1992
- }).and(
1755
+ issues: zod.array(
1993
1756
  zod.object({
1994
- issues: zod.array(
1995
- zod.object({
1996
- issueId: zod.number().min(1).describe("The Jira issue ID")
1997
- }).and(
1998
- zod.object({
1999
- self: zod.string().url().optional().describe(
2000
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
2001
- ),
2002
- id: zod.number().min(1).optional().describe(
2003
- "The ID that represents the link between the entity and the Jira issue."
2004
- ),
2005
- target: zod.string().url().optional().describe(
2006
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
2007
- ),
2008
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
2009
- })
2010
- )
2011
- ).optional().describe("A list of Jira issues linked to this entity")
2012
- })
2013
- ).optional()
2014
- })
2015
- ).optional()
2016
- })
2017
- );
1757
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1758
+ self: zod.string().url().optional().describe(
1759
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1760
+ ),
1761
+ id: zod.number().min(1).optional().describe(
1762
+ "The ID that represents the link between the entity and the Jira issue."
1763
+ ),
1764
+ target: zod.string().url().optional().describe(
1765
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
1766
+ ),
1767
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1768
+ }).strict()
1769
+ ).optional().describe("A list of Jira issues linked to this entity")
1770
+ }).strict().optional()
1771
+ }).strict()
1772
+ ).optional()
1773
+ }).strict();
2018
1774
  zod.object({
2019
1775
  errorCode: zod.number(),
2020
1776
  message: zod.string()
2021
- });
1777
+ }).strict();
2022
1778
  const createTestExecutionBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2023
1779
  const createTestExecutionBodyTestCaseKeyRegExp = /(.+-T[0-9]+)/;
2024
1780
  const createTestExecutionBodyTestCycleKeyRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
@@ -2027,7 +1783,7 @@ const createTestExecutionBodyTestScriptResultsItemStatusNameMax = 255;
2027
1783
  const createTestExecutionBodyExecutionTimeMin = 0;
2028
1784
  const createTestExecutionBodyExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2029
1785
  const createTestExecutionBodyAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2030
- const createTestExecutionBody = zod.object({
1786
+ const CreateTestExecutionBody = zod.object({
2031
1787
  projectKey: zod.string().regex(createTestExecutionBodyProjectKeyRegExp).describe("Jira project key."),
2032
1788
  testCaseKey: zod.string().regex(createTestExecutionBodyTestCaseKeyRegExp).describe(
2033
1789
  "Key of test case the execution applies to. NOTE: Test cases with call to test, parameters and test data are not supported."
@@ -2057,21 +1813,24 @@ const createTestExecutionBody = zod.object({
2057
1813
  "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"
2058
1814
  )
2059
1815
  });
2060
- const createTestExecution201Response = zod.object({
1816
+ const CreateTestExecution201Response = zod.object({
2061
1817
  id: zod.number().min(1).optional(),
2062
1818
  self: zod.string().optional()
2063
- });
1819
+ }).strict();
2064
1820
  zod.object({
2065
1821
  errorCode: zod.number(),
2066
1822
  message: zod.string()
2067
- });
1823
+ }).strict();
2068
1824
  const listTestExecutionsNextgenQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2069
1825
  const listTestExecutionsNextgenQueryTestCycleRegExp = /([A-Z][A-Z_0-9]+-R[0-9]+)/;
2070
1826
  const listTestExecutionsNextgenQueryTestCaseRegExp = /([0-9]+)|(.+-T[0-9]+)/;
1827
+ const listTestExecutionsNextgenQueryIncludeStepLinksDefault = false;
1828
+ const listTestExecutionsNextgenQueryOnlyLastExecutionsDefault = false;
2071
1829
  const listTestExecutionsNextgenQueryLimitDefault = 10;
2072
1830
  const listTestExecutionsNextgenQueryLimitMax = 1e3;
1831
+ const listTestExecutionsNextgenQueryStartAtIdDefault = 0;
2073
1832
  const listTestExecutionsNextgenQueryStartAtIdMin = 0;
2074
- const listTestExecutionsNextgenQueryParams = zod.object({
1833
+ const ListTestExecutionsNextgenQueryParams = zod.object({
2075
1834
  projectKey: zod.string().regex(listTestExecutionsNextgenQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
2076
1835
  testCycle: zod.string().regex(listTestExecutionsNextgenQueryTestCycleRegExp).optional().describe("Test cycle key filter."),
2077
1836
  testCase: zod.string().regex(listTestExecutionsNextgenQueryTestCaseRegExp).optional().describe("Test case key filter."),
@@ -2081,157 +1840,131 @@ const listTestExecutionsNextgenQueryParams = zod.object({
2081
1840
  actualEndDateBefore: zod.string().datetime({}).optional().describe(
2082
1841
  "Filter for 'Actual End Date' before the given time. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
2083
1842
  ),
2084
- includeStepLinks: zod.boolean().optional().describe(
1843
+ includeStepLinks: zod.boolean().default(listTestExecutionsNextgenQueryIncludeStepLinksDefault).describe(
2085
1844
  "If true, execution step issue links will be included in the response"
2086
1845
  ),
2087
1846
  jiraProjectVersionId: zod.number().min(1).optional().describe(
2088
1847
  "Jira Project Version ID. Relates to 'Version' or 'Releases' in Jira projects."
2089
1848
  ),
2090
- onlyLastExecutions: zod.boolean().optional().describe(
1849
+ onlyLastExecutions: zod.boolean().default(listTestExecutionsNextgenQueryOnlyLastExecutionsDefault).describe(
2091
1850
  "If true, includes only the last execution of each test cycle item (test case), and all ad-hoc test executions."
2092
1851
  ),
2093
1852
  limit: zod.number().min(1).max(listTestExecutionsNextgenQueryLimitMax).default(listTestExecutionsNextgenQueryLimitDefault).describe(
2094
1853
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the limit value in the response to confirm how many results were actually returned.\n"
2095
1854
  ),
2096
- startAtId: zod.number().min(listTestExecutionsNextgenQueryStartAtIdMin).optional().describe("Zero-indexed starting position for ID-based pagination.")
1855
+ startAtId: zod.number().min(listTestExecutionsNextgenQueryStartAtIdMin).default(listTestExecutionsNextgenQueryStartAtIdDefault).describe("Zero-indexed starting position for ID-based pagination.")
2097
1856
  });
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({
1857
+ const listTestExecutionsNextgen200ResponseOneNextStartAtIdMin = 0;
1858
+ const listTestExecutionsNextgen200ResponseOneLimitMin = 0;
1859
+ const listTestExecutionsNextgen200ResponseTwoValuesItemKeyRegExp = /.+-E[0-9]+/;
1860
+ const listTestExecutionsNextgen200ResponseTwoValuesItemEstimatedTimeMin = 0;
1861
+ const listTestExecutionsNextgen200ResponseTwoValuesItemExecutionTimeMin = 0;
1862
+ const listTestExecutionsNextgen200ResponseTwoValuesItemExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1863
+ const listTestExecutionsNextgen200ResponseTwoValuesItemAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
1864
+ const ListTestExecutionsNextgen200Response = zod.object({
2106
1865
  next: zod.string().url().nullish(),
2107
- nextStartAtId: zod.number().min(listTestExecutionsNextgen200ResponseNextStartAtIdMin).nullable(),
2108
- limit: zod.number().min(listTestExecutionsNextgen200ResponseLimitMin)
2109
- }).and(
2110
- zod.object({
2111
- values: zod.array(
2112
- zod.object({
1866
+ nextStartAtId: zod.number().min(listTestExecutionsNextgen200ResponseOneNextStartAtIdMin).nullable(),
1867
+ limit: zod.number().min(listTestExecutionsNextgen200ResponseOneLimitMin),
1868
+ values: zod.array(
1869
+ zod.object({
1870
+ id: zod.number().min(1),
1871
+ key: zod.string().regex(listTestExecutionsNextgen200ResponseTwoValuesItemKeyRegExp).optional().describe("Test execution key"),
1872
+ project: zod.object({
2113
1873
  id: zod.number().min(1),
2114
- key: zod.string().regex(listTestExecutionsNextgen200ResponseValuesItemKeyRegExp).optional().describe("Test execution key"),
2115
- project: zod.object({
2116
- id: zod.number().min(1)
2117
- }).describe("The ID of the resource").and(
2118
- zod.object({
2119
- self: zod.string().url().optional().describe(
2120
- "The REST API endpoint to get more resource details."
2121
- )
2122
- })
2123
- ).describe("ID and link relative to Zephyr project."),
2124
- testCase: zod.object({
2125
- self: zod.string().url().optional().describe(
2126
- "The REST API endpoint to get more resource details."
2127
- )
2128
- }).and(
2129
- zod.object({
2130
- id: zod.number().min(1).optional()
2131
- })
2132
- ),
2133
- environment: zod.object({
2134
- id: zod.number().min(1)
2135
- }).describe("The ID of the resource").and(
2136
- zod.object({
2137
- self: zod.string().url().optional().describe(
2138
- "The REST API endpoint to get more resource details."
2139
- )
2140
- })
2141
- ).nullish(),
2142
- jiraProjectVersion: zod.object({
2143
- id: zod.number().min(1)
2144
- }).describe("The ID of the resource").and(
2145
- zod.object({
2146
- self: zod.string().url().optional().describe(
2147
- "The REST API endpoint to get more resource details."
2148
- )
2149
- })
2150
- ).nullish().describe(
2151
- "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
2152
- ),
2153
- testExecutionStatus: zod.object({
2154
- id: zod.number().min(1)
2155
- }).describe("The ID of the resource").and(
2156
- zod.object({
2157
- self: zod.string().url().optional().describe(
2158
- "The REST API endpoint to get more resource details."
2159
- )
2160
- })
2161
- ),
2162
- actualEndDate: zod.string().datetime({}).optional().describe(
2163
- "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1874
+ self: zod.string().url().optional().describe(
1875
+ "The REST API endpoint to get more resource details."
1876
+ )
1877
+ }).strict().describe("ID and link relative to Zephyr project."),
1878
+ testCase: zod.object({
1879
+ self: zod.string().url().optional().describe(
1880
+ "The REST API endpoint to get more resource details."
2164
1881
  ),
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."),
2171
- executedById: zod.string().regex(
2172
- listTestExecutionsNextgen200ResponseValuesItemExecutedByIdRegExp
2173
- ).nullish().describe("Atlassian Account ID of the Jira user."),
2174
- assignedToId: zod.string().regex(
2175
- listTestExecutionsNextgen200ResponseValuesItemAssignedToIdRegExp
2176
- ).nullish().describe("Atlassian Account ID of the Jira user."),
2177
- comment: zod.string().nullish().describe("Comment added against overall test case execution."),
2178
- automated: zod.boolean().optional().describe(
2179
- "Indicates if the test execution was done manually or not."
1882
+ id: zod.number().min(1).optional()
1883
+ }).strict(),
1884
+ environment: zod.object({
1885
+ id: zod.number().min(1),
1886
+ self: zod.string().url().optional().describe(
1887
+ "The REST API endpoint to get more resource details."
1888
+ )
1889
+ }).strict().nullish(),
1890
+ jiraProjectVersion: zod.object({
1891
+ id: zod.number().min(1),
1892
+ self: zod.string().url().optional().describe(
1893
+ "The REST API endpoint to get more resource details."
1894
+ )
1895
+ }).strict().nullish().describe(
1896
+ "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
1897
+ ),
1898
+ testExecutionStatus: zod.object({
1899
+ id: zod.number().min(1),
1900
+ self: zod.string().url().optional().describe(
1901
+ "The REST API endpoint to get more resource details."
1902
+ )
1903
+ }).strict(),
1904
+ actualEndDate: zod.string().datetime({}).optional().describe(
1905
+ "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
1906
+ ),
1907
+ estimatedTime: zod.number().min(
1908
+ listTestExecutionsNextgen200ResponseTwoValuesItemEstimatedTimeMin
1909
+ ).nullish().describe("Estimated duration in milliseconds."),
1910
+ executionTime: zod.number().min(
1911
+ listTestExecutionsNextgen200ResponseTwoValuesItemExecutionTimeMin
1912
+ ).nullish().describe("Actual test execution time in milliseconds."),
1913
+ executedById: zod.string().regex(
1914
+ listTestExecutionsNextgen200ResponseTwoValuesItemExecutedByIdRegExp
1915
+ ).nullish().describe("Atlassian Account ID of the Jira user."),
1916
+ assignedToId: zod.string().regex(
1917
+ listTestExecutionsNextgen200ResponseTwoValuesItemAssignedToIdRegExp
1918
+ ).nullish().describe("Atlassian Account ID of the Jira user."),
1919
+ comment: zod.string().nullish().describe("Comment added against overall test case execution."),
1920
+ automated: zod.boolean().optional().describe(
1921
+ "Indicates if the test execution was done manually or not."
1922
+ ),
1923
+ testCycle: zod.object({
1924
+ self: zod.string().url().optional().describe(
1925
+ "The REST API endpoint to get more resource details."
2180
1926
  ),
2181
- testCycle: zod.object({
2182
- self: zod.string().url().optional().describe(
2183
- "The REST API endpoint to get more resource details."
2184
- )
2185
- }).and(
2186
- zod.object({
2187
- id: zod.number().min(1).optional()
2188
- })
2189
- ).nullish(),
2190
- customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
2191
- "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"
1927
+ id: zod.number().min(1).optional()
1928
+ }).strict().nullish(),
1929
+ customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
1930
+ "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"
1931
+ ),
1932
+ links: zod.object({
1933
+ self: zod.string().url().optional().describe(
1934
+ "The REST API endpoint to get more resource details."
2192
1935
  ),
2193
- links: zod.object({
2194
- self: zod.string().url().optional().describe(
2195
- "The REST API endpoint to get more resource details."
2196
- )
2197
- }).and(
1936
+ issues: zod.array(
2198
1937
  zod.object({
2199
- issues: zod.array(
2200
- zod.object({
2201
- issueId: zod.number().min(1).describe("The Jira issue ID")
2202
- }).and(
2203
- zod.object({
2204
- self: zod.string().url().optional().describe(
2205
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
2206
- ),
2207
- id: zod.number().min(1).optional().describe(
2208
- "The ID that represents the link between the entity and the Jira issue."
2209
- ),
2210
- target: zod.string().url().optional().describe(
2211
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
2212
- ),
2213
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
2214
- })
2215
- )
2216
- ).optional().describe("A list of Jira issues linked to this entity")
2217
- })
2218
- ).optional()
2219
- })
2220
- ).optional()
2221
- })
2222
- );
1938
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
1939
+ self: zod.string().url().optional().describe(
1940
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
1941
+ ),
1942
+ id: zod.number().min(1).optional().describe(
1943
+ "The ID that represents the link between the entity and the Jira issue."
1944
+ ),
1945
+ target: zod.string().url().optional().describe(
1946
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
1947
+ ),
1948
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
1949
+ }).strict()
1950
+ ).optional().describe("A list of Jira issues linked to this entity")
1951
+ }).strict().optional()
1952
+ }).strict()
1953
+ ).optional()
1954
+ }).strict();
2223
1955
  zod.object({
2224
1956
  errorCode: zod.number(),
2225
1957
  message: zod.string()
2226
- });
1958
+ }).strict();
2227
1959
  const getTestExecutionPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2228
- const getTestExecutionParams = zod.object({
1960
+ const GetTestExecutionParams = zod.object({
2229
1961
  testExecutionIdOrKey: zod.string().regex(getTestExecutionPathTestExecutionIdOrKeyRegExp).describe(
2230
1962
  "The ID or key of the test execution. Test execution keys are of the format [A-Z]+-E[0-9]+"
2231
1963
  )
2232
1964
  });
1965
+ const getTestExecutionQueryIncludeStepLinksDefault = false;
2233
1966
  zod.object({
2234
- includeStepLinks: zod.boolean().optional().describe(
1967
+ includeStepLinks: zod.boolean().default(getTestExecutionQueryIncludeStepLinksDefault).describe(
2235
1968
  "If true, execution step issue links will be included in the response"
2236
1969
  )
2237
1970
  });
@@ -2240,46 +1973,31 @@ const getTestExecution200ResponseEstimatedTimeMin = 0;
2240
1973
  const getTestExecution200ResponseExecutionTimeMin = 0;
2241
1974
  const getTestExecution200ResponseExecutedByIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2242
1975
  const getTestExecution200ResponseAssignedToIdRegExp = /^[-:a-zA-Z0-9]{1,128}$/;
2243
- const getTestExecution200Response = zod.object({
1976
+ const GetTestExecution200Response = zod.object({
2244
1977
  id: zod.number().min(1),
2245
1978
  key: zod.string().regex(getTestExecution200ResponseKeyRegExp).optional().describe("Test execution key"),
2246
1979
  project: zod.object({
2247
- id: zod.number().min(1)
2248
- }).describe("The ID of the resource").and(
2249
- zod.object({
2250
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2251
- })
2252
- ).describe("ID and link relative to Zephyr project."),
2253
- testCase: zod.object({
1980
+ id: zod.number().min(1),
2254
1981
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2255
- }).and(
2256
- zod.object({
2257
- id: zod.number().min(1).optional()
2258
- })
2259
- ),
1982
+ }).strict().describe("ID and link relative to Zephyr project."),
1983
+ testCase: zod.object({
1984
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
1985
+ id: zod.number().min(1).optional()
1986
+ }).strict(),
2260
1987
  environment: zod.object({
2261
- id: zod.number().min(1)
2262
- }).describe("The ID of the resource").and(
2263
- zod.object({
2264
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2265
- })
2266
- ).nullish(),
1988
+ id: zod.number().min(1),
1989
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1990
+ }).strict().nullish(),
2267
1991
  jiraProjectVersion: zod.object({
2268
- id: zod.number().min(1)
2269
- }).describe("The ID of the resource").and(
2270
- zod.object({
2271
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2272
- })
2273
- ).nullish().describe(
1992
+ id: zod.number().min(1),
1993
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
1994
+ }).strict().nullish().describe(
2274
1995
  "ID and Link to fetch information about Jira Project version. Relates to 'Version' or 'Releases' in Jira projects."
2275
1996
  ),
2276
1997
  testExecutionStatus: zod.object({
2277
- id: zod.number().min(1)
2278
- }).describe("The ID of the resource").and(
2279
- zod.object({
2280
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2281
- })
2282
- ),
1998
+ id: zod.number().min(1),
1999
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2000
+ }).strict(),
2283
2001
  actualEndDate: zod.string().datetime({}).optional().describe(
2284
2002
  "The actual end date of the test cycle. Format: yyyy-MM-dd'T'HH:mm:ss'Z'"
2285
2003
  ),
@@ -2287,47 +2005,38 @@ const getTestExecution200Response = zod.object({
2287
2005
  executionTime: zod.number().min(getTestExecution200ResponseExecutionTimeMin).nullish().describe("Actual test execution time in milliseconds."),
2288
2006
  executedById: zod.string().regex(getTestExecution200ResponseExecutedByIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2289
2007
  assignedToId: zod.string().regex(getTestExecution200ResponseAssignedToIdRegExp).nullish().describe("Atlassian Account ID of the Jira user."),
2290
- comment: zod.string().nullish().describe("Comment added against overall test case execution."),
2291
- automated: zod.boolean().optional().describe("Indicates if the test execution was done manually or not."),
2292
- testCycle: zod.object({
2293
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2294
- }).and(
2295
- zod.object({
2296
- id: zod.number().min(1).optional()
2297
- })
2298
- ).nullish(),
2008
+ comment: zod.string().nullish().describe("Comment added against overall test case execution."),
2009
+ automated: zod.boolean().optional().describe("Indicates if the test execution was done manually or not."),
2010
+ testCycle: zod.object({
2011
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
2012
+ id: zod.number().min(1).optional()
2013
+ }).strict().nullish(),
2299
2014
  customFields: zod.record(zod.string(), zod.unknown()).optional().describe(
2300
2015
  "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"
2301
2016
  ),
2302
2017
  links: zod.object({
2303
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2304
- }).and(
2305
- zod.object({
2306
- issues: zod.array(
2307
- zod.object({
2308
- issueId: zod.number().min(1).describe("The Jira issue ID")
2309
- }).and(
2310
- zod.object({
2311
- self: zod.string().url().optional().describe(
2312
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
2313
- ),
2314
- id: zod.number().min(1).optional().describe(
2315
- "The ID that represents the link between the entity and the Jira issue."
2316
- ),
2317
- target: zod.string().url().optional().describe(
2318
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
2319
- ),
2320
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
2321
- })
2322
- )
2323
- ).optional().describe("A list of Jira issues linked to this entity")
2324
- })
2325
- ).optional()
2326
- });
2018
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
2019
+ issues: zod.array(
2020
+ zod.object({
2021
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
2022
+ self: zod.string().url().optional().describe(
2023
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
2024
+ ),
2025
+ id: zod.number().min(1).optional().describe(
2026
+ "The ID that represents the link between the entity and the Jira issue."
2027
+ ),
2028
+ target: zod.string().url().optional().describe(
2029
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
2030
+ ),
2031
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
2032
+ }).strict()
2033
+ ).optional().describe("A list of Jira issues linked to this entity")
2034
+ }).strict().optional()
2035
+ }).strict();
2327
2036
  zod.object({
2328
2037
  errorCode: zod.number(),
2329
2038
  message: zod.string()
2330
- });
2039
+ }).strict();
2331
2040
  const updateTestExecutionPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2332
2041
  zod.object({
2333
2042
  testExecutionIdOrKey: zod.string().regex(updateTestExecutionPathTestExecutionIdOrKeyRegExp).describe(
@@ -2352,7 +2061,7 @@ zod.object({
2352
2061
  zod.object({
2353
2062
  errorCode: zod.number(),
2354
2063
  message: zod.string()
2355
- });
2064
+ }).strict();
2356
2065
  const getTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2357
2066
  zod.object({
2358
2067
  testExecutionIdOrKey: zod.string().regex(getTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp).describe(
@@ -2360,6 +2069,7 @@ zod.object({
2360
2069
  )
2361
2070
  });
2362
2071
  const getTestExecutionTestStepsQueryMaxResultsDefault = 10;
2072
+ const getTestExecutionTestStepsQueryStartAtDefault = 0;
2363
2073
  const getTestExecutionTestStepsQueryStartAtMin = 0;
2364
2074
  const getTestExecutionTestStepsQueryStartAtMax = 1e6;
2365
2075
  const getTestExecutionTestStepsQueryTestDataRowNumberMin = 0;
@@ -2367,58 +2077,50 @@ zod.object({
2367
2077
  maxResults: zod.number().min(1).default(getTestExecutionTestStepsQueryMaxResultsDefault).describe(
2368
2078
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
2369
2079
  ),
2370
- startAt: zod.number().min(getTestExecutionTestStepsQueryStartAtMin).max(getTestExecutionTestStepsQueryStartAtMax).optional().describe(
2080
+ startAt: zod.number().min(getTestExecutionTestStepsQueryStartAtMin).max(getTestExecutionTestStepsQueryStartAtMax).default(getTestExecutionTestStepsQueryStartAtDefault).describe(
2371
2081
  "Zero-indexed starting position. Should be a multiple of maxResults."
2372
2082
  ),
2373
2083
  testDataRowNumber: zod.number().min(getTestExecutionTestStepsQueryTestDataRowNumberMin).optional().describe("The id of the test data row to retrieve.")
2374
2084
  });
2375
- const getTestExecutionTestSteps200ResponseStartAtMin = 0;
2376
- const getTestExecutionTestSteps200ResponseTotalMin = 0;
2085
+ const getTestExecutionTestSteps200ResponseOneStartAtMin = 0;
2086
+ const getTestExecutionTestSteps200ResponseOneTotalMin = 0;
2377
2087
  zod.object({
2378
2088
  next: zod.string().url().nullish().describe(
2379
2089
  "URL to the next page of results, or null if there are no more results."
2380
2090
  ),
2381
- startAt: zod.number().min(getTestExecutionTestSteps200ResponseStartAtMin).describe(
2091
+ startAt: zod.number().min(getTestExecutionTestSteps200ResponseOneStartAtMin).describe(
2382
2092
  "Indicates the index of the first item returned in the page of results."
2383
2093
  ),
2384
2094
  maxResults: zod.number().min(1).describe(
2385
2095
  "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."
2386
2096
  ),
2387
- total: zod.number().min(getTestExecutionTestSteps200ResponseTotalMin).optional().describe(
2097
+ total: zod.number().min(getTestExecutionTestSteps200ResponseOneTotalMin).optional().describe(
2388
2098
  "Indicates the total number of items available across all pages."
2389
2099
  ),
2390
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
2391
- }).and(
2392
- zod.object({
2393
- values: zod.array(
2394
- zod.object({
2395
- inline: zod.object({
2396
- description: zod.string().optional().describe("The instruction to be followed"),
2397
- testData: zod.string().optional().describe(
2398
- "Any test data required to perform the instruction (optional). The fields values provided can be interpolated into the description."
2399
- ),
2400
- expectedResult: zod.string().optional().describe(
2401
- "The expected outcome of executing the instruction"
2402
- ),
2403
- actualResult: zod.string().optional().describe(
2404
- "The actual outcome of executing the instruction"
2405
- ),
2406
- testDataRowNumber: zod.number().optional().describe("The id of the test data row"),
2407
- reflectRef: zod.string().optional().describe("The AI reference. Zephyr only feature"),
2408
- status: zod.object({
2409
- id: zod.number().min(1)
2410
- }).describe("The ID of the resource").and(
2411
- zod.object({
2412
- self: zod.string().url().optional().describe(
2413
- "The REST API endpoint to get more resource details."
2414
- )
2415
- })
2416
- ).optional()
2417
- }).optional()
2418
- }).describe("Inline test step")
2419
- ).optional().describe("The list of test steps")
2420
- })
2421
- ).describe("Response body when retrieving test steps for a test execution");
2100
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
2101
+ values: zod.array(
2102
+ zod.object({
2103
+ inline: zod.object({
2104
+ description: zod.string().optional().describe("The instruction to be followed"),
2105
+ testData: zod.string().optional().describe(
2106
+ "Any test data required to perform the instruction (optional). The fields values provided can be interpolated into the description."
2107
+ ),
2108
+ expectedResult: zod.string().optional().describe(
2109
+ "The expected outcome of executing the instruction"
2110
+ ),
2111
+ actualResult: zod.string().optional().describe("The actual outcome of executing the instruction"),
2112
+ testDataRowNumber: zod.number().optional().describe("The id of the test data row"),
2113
+ reflectRef: zod.string().optional().describe("The AI reference. Zephyr only feature"),
2114
+ status: zod.object({
2115
+ id: zod.number().min(1),
2116
+ self: zod.string().url().optional().describe(
2117
+ "The REST API endpoint to get more resource details."
2118
+ )
2119
+ }).strict().optional()
2120
+ }).strict().optional()
2121
+ }).strict().describe("Inline test step")
2122
+ ).optional().describe("The list of test steps")
2123
+ }).strict().describe("Response body when retrieving test steps for a test execution");
2422
2124
  const putTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2423
2125
  zod.object({
2424
2126
  testExecutionIdOrKey: zod.string().regex(putTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp).describe(
@@ -2437,25 +2139,25 @@ zod.object({
2437
2139
  zod.object({
2438
2140
  errorCode: zod.number(),
2439
2141
  message: zod.string()
2440
- });
2142
+ }).strict();
2441
2143
  zod.object({
2442
2144
  errorCode: zod.number(),
2443
2145
  message: zod.string()
2444
- });
2146
+ }).strict();
2445
2147
  zod.union([
2446
2148
  zod.object({
2447
2149
  errorCode: zod.number(),
2448
2150
  message: zod.string()
2449
- }),
2151
+ }).strict(),
2450
2152
  zod.object({
2451
2153
  errorCode: zod.number(),
2452
2154
  message: zod.string()
2453
- })
2155
+ }).strict()
2454
2156
  ]);
2455
2157
  zod.object({
2456
2158
  errorCode: zod.number(),
2457
2159
  message: zod.string()
2458
- });
2160
+ }).strict();
2459
2161
  const syncTestExecutionScriptPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2460
2162
  zod.object({
2461
2163
  testExecutionIdOrKey: zod.string().regex(syncTestExecutionScriptPathTestExecutionIdOrKeyRegExp).describe(
@@ -2464,19 +2166,19 @@ zod.object({
2464
2166
  });
2465
2167
  zod.object({
2466
2168
  self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2467
- });
2169
+ }).strict();
2468
2170
  zod.object({
2469
2171
  errorCode: zod.number(),
2470
2172
  message: zod.string()
2471
- });
2173
+ }).strict();
2472
2174
  zod.object({
2473
2175
  errorCode: zod.number(),
2474
2176
  message: zod.string()
2475
- });
2177
+ }).strict();
2476
2178
  zod.object({
2477
2179
  errorCode: zod.number(),
2478
2180
  message: zod.string()
2479
- });
2181
+ }).strict();
2480
2182
  const listTestExecutionLinksPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2481
2183
  zod.object({
2482
2184
  testExecutionIdOrKey: zod.string().regex(listTestExecutionLinksPathTestExecutionIdOrKeyRegExp).describe(
@@ -2484,33 +2186,27 @@ zod.object({
2484
2186
  )
2485
2187
  });
2486
2188
  zod.object({
2487
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2488
- }).and(
2489
- zod.object({
2490
- issues: zod.array(
2491
- zod.object({
2492
- issueId: zod.number().min(1).describe("The Jira issue ID")
2493
- }).and(
2494
- zod.object({
2495
- self: zod.string().url().optional().describe(
2496
- "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
2497
- ),
2498
- id: zod.number().min(1).optional().describe(
2499
- "The ID that represents the link between the entity and the Jira issue."
2500
- ),
2501
- target: zod.string().url().optional().describe(
2502
- "The Jira Cloud REST API endpoint to get the full representation of the issue"
2503
- ),
2504
- type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
2505
- })
2506
- )
2507
- ).optional().describe("A list of Jira issues linked to this entity")
2508
- })
2509
- );
2189
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details."),
2190
+ issues: zod.array(
2191
+ zod.object({
2192
+ issueId: zod.number().min(1).describe("The Jira issue ID"),
2193
+ self: zod.string().url().optional().describe(
2194
+ "The Zephyr REST API endpoint relative to the link between the entity and the Jira issue."
2195
+ ),
2196
+ id: zod.number().min(1).optional().describe(
2197
+ "The ID that represents the link between the entity and the Jira issue."
2198
+ ),
2199
+ target: zod.string().url().optional().describe(
2200
+ "The Jira Cloud REST API endpoint to get the full representation of the issue"
2201
+ ),
2202
+ type: zod.enum(["COVERAGE", "BLOCKS", "RELATED"]).optional().describe("The link type")
2203
+ }).strict()
2204
+ ).optional().describe("A list of Jira issues linked to this entity")
2205
+ }).strict();
2510
2206
  zod.object({
2511
2207
  errorCode: zod.number(),
2512
2208
  message: zod.string()
2513
- });
2209
+ }).strict();
2514
2210
  const createTestExecutionIssueLinkPathTestExecutionIdOrKeyRegExp = /([0-9]+)|(.+-E[0-9]+)/;
2515
2211
  zod.object({
2516
2212
  testExecutionIdOrKey: zod.string().regex(createTestExecutionIssueLinkPathTestExecutionIdOrKeyRegExp).describe(
@@ -2523,67 +2219,66 @@ zod.object({
2523
2219
  zod.object({
2524
2220
  errorCode: zod.number(),
2525
2221
  message: zod.string()
2526
- });
2222
+ }).strict();
2527
2223
  const listProjectsQueryMaxResultsDefault = 10;
2224
+ const listProjectsQueryStartAtDefault = 0;
2528
2225
  const listProjectsQueryStartAtMin = 0;
2529
2226
  const listProjectsQueryStartAtMax = 1e6;
2530
- const listProjectsQueryParams = zod.object({
2227
+ const ListProjectsQueryParams = zod.object({
2531
2228
  maxResults: zod.number().min(1).default(listProjectsQueryMaxResultsDefault).describe(
2532
2229
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
2533
2230
  ),
2534
- startAt: zod.number().min(listProjectsQueryStartAtMin).max(listProjectsQueryStartAtMax).optional().describe(
2231
+ startAt: zod.number().min(listProjectsQueryStartAtMin).max(listProjectsQueryStartAtMax).default(listProjectsQueryStartAtDefault).describe(
2535
2232
  "Zero-indexed starting position. Should be a multiple of maxResults."
2536
2233
  )
2537
2234
  });
2538
- const listProjects200ResponseStartAtMin = 0;
2539
- const listProjects200ResponseTotalMin = 0;
2540
- const listProjects200Response = zod.object({
2235
+ const listProjects200ResponseOneStartAtMin = 0;
2236
+ const listProjects200ResponseOneTotalMin = 0;
2237
+ const ListProjects200Response = zod.object({
2541
2238
  next: zod.string().url().nullish().describe(
2542
2239
  "URL to the next page of results, or null if there are no more results."
2543
2240
  ),
2544
- startAt: zod.number().min(listProjects200ResponseStartAtMin).describe(
2241
+ startAt: zod.number().min(listProjects200ResponseOneStartAtMin).describe(
2545
2242
  "Indicates the index of the first item returned in the page of results."
2546
2243
  ),
2547
2244
  maxResults: zod.number().min(1).describe(
2548
2245
  "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."
2549
2246
  ),
2550
- total: zod.number().min(listProjects200ResponseTotalMin).optional().describe(
2247
+ total: zod.number().min(listProjects200ResponseOneTotalMin).optional().describe(
2551
2248
  "Indicates the total number of items available across all pages."
2552
2249
  ),
2553
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
2554
- }).and(
2555
- zod.object({
2556
- values: zod.array(
2557
- zod.object({
2558
- id: zod.number().describe("The ID of the project in Zephyr."),
2559
- jiraProjectId: zod.number().describe("The ID of the project in Jira."),
2560
- key: zod.string(),
2561
- enabled: zod.boolean().describe(
2562
- "Indicates whether the project has Zephyr enabled on it."
2563
- )
2564
- })
2565
- ).optional()
2566
- })
2567
- );
2250
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
2251
+ values: zod.array(
2252
+ zod.object({
2253
+ id: zod.number().describe("The ID of the project in Zephyr."),
2254
+ jiraProjectId: zod.number().describe("The ID of the project in Jira."),
2255
+ key: zod.string(),
2256
+ enabled: zod.boolean().describe(
2257
+ "Indicates whether the project has Zephyr enabled on it."
2258
+ )
2259
+ }).strict()
2260
+ ).optional()
2261
+ }).strict();
2568
2262
  zod.object({
2569
2263
  errorCode: zod.number(),
2570
2264
  message: zod.string()
2571
- });
2265
+ }).strict();
2572
2266
  const getProjectPathProjectIdOrKeyRegExp = /([0-9]+)|([A-Z][A-Z_0-9]+)/;
2573
- const getProjectParams = zod.object({
2267
+ const GetProjectParams = zod.object({
2574
2268
  projectIdOrKey: zod.string().regex(getProjectPathProjectIdOrKeyRegExp).describe("The Zephyr project ID or Jira project key")
2575
2269
  });
2576
- const getProject200Response = zod.object({
2270
+ const GetProject200Response = zod.object({
2577
2271
  id: zod.number().describe("The ID of the project in Zephyr."),
2578
2272
  jiraProjectId: zod.number().describe("The ID of the project in Jira."),
2579
2273
  key: zod.string(),
2580
2274
  enabled: zod.boolean().describe("Indicates whether the project has Zephyr enabled on it.")
2581
- });
2275
+ }).strict();
2582
2276
  zod.object({
2583
2277
  errorCode: zod.number(),
2584
2278
  message: zod.string()
2585
- });
2279
+ }).strict();
2586
2280
  const listFoldersQueryMaxResultsDefault = 10;
2281
+ const listFoldersQueryStartAtDefault = 0;
2587
2282
  const listFoldersQueryStartAtMin = 0;
2588
2283
  const listFoldersQueryStartAtMax = 1e6;
2589
2284
  const listFoldersQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
@@ -2591,7 +2286,7 @@ zod.object({
2591
2286
  maxResults: zod.number().min(1).default(listFoldersQueryMaxResultsDefault).describe(
2592
2287
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
2593
2288
  ),
2594
- startAt: zod.number().min(listFoldersQueryStartAtMin).max(listFoldersQueryStartAtMax).optional().describe(
2289
+ startAt: zod.number().min(listFoldersQueryStartAtMin).max(listFoldersQueryStartAtMax).default(listFoldersQueryStartAtDefault).describe(
2595
2290
  "Zero-indexed starting position. Should be a multiple of maxResults."
2596
2291
  ),
2597
2292
  projectKey: zod.string().regex(listFoldersQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
@@ -2599,53 +2294,47 @@ zod.object({
2599
2294
  'Folder type filter. Either `"TEST_CASE"`, `"TEST_PLAN"` or `"TEST_CYCLE"`'
2600
2295
  )
2601
2296
  });
2602
- const listFolders200ResponseStartAtMin = 0;
2603
- const listFolders200ResponseTotalMin = 0;
2604
- const listFolders200ResponseValuesItemNameMax = 255;
2605
- const listFolders200ResponseValuesItemNameRegExp = /^(?!\\s*$).+/;
2606
- const listFolders200ResponseValuesItemIndexMin = 0;
2297
+ const listFolders200ResponseOneStartAtMin = 0;
2298
+ const listFolders200ResponseOneTotalMin = 0;
2299
+ const listFolders200ResponseTwoValuesItemNameMax = 255;
2300
+ const listFolders200ResponseTwoValuesItemNameRegExp = /^(?!\\s*$).+/;
2301
+ const listFolders200ResponseTwoValuesItemIndexMin = 0;
2607
2302
  zod.object({
2608
2303
  next: zod.string().url().nullish().describe(
2609
2304
  "URL to the next page of results, or null if there are no more results."
2610
2305
  ),
2611
- startAt: zod.number().min(listFolders200ResponseStartAtMin).describe(
2306
+ startAt: zod.number().min(listFolders200ResponseOneStartAtMin).describe(
2612
2307
  "Indicates the index of the first item returned in the page of results."
2613
2308
  ),
2614
2309
  maxResults: zod.number().min(1).describe(
2615
2310
  "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."
2616
2311
  ),
2617
- total: zod.number().min(listFolders200ResponseTotalMin).optional().describe(
2312
+ total: zod.number().min(listFolders200ResponseOneTotalMin).optional().describe(
2618
2313
  "Indicates the total number of items available across all pages."
2619
2314
  ),
2620
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
2621
- }).and(
2622
- zod.object({
2623
- values: zod.array(
2624
- zod.object({
2315
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
2316
+ values: zod.array(
2317
+ zod.object({
2318
+ id: zod.number().min(1),
2319
+ parentId: zod.number().min(1),
2320
+ name: zod.string().min(1).max(listFolders200ResponseTwoValuesItemNameMax).regex(listFolders200ResponseTwoValuesItemNameRegExp),
2321
+ index: zod.number().min(listFolders200ResponseTwoValuesItemIndexMin),
2322
+ folderType: zod.string().describe(
2323
+ 'Valid values: `"TEST_CASE"`, `"TEST_PLAN"`, `"TEST_CYCLE"`'
2324
+ ),
2325
+ project: zod.object({
2625
2326
  id: zod.number().min(1),
2626
- parentId: zod.number().min(1),
2627
- name: zod.string().min(1).max(listFolders200ResponseValuesItemNameMax).regex(listFolders200ResponseValuesItemNameRegExp),
2628
- index: zod.number().min(listFolders200ResponseValuesItemIndexMin),
2629
- folderType: zod.string().describe(
2630
- 'Valid values: `"TEST_CASE"`, `"TEST_PLAN"`, `"TEST_CYCLE"`'
2631
- ),
2632
- project: zod.object({
2633
- id: zod.number().min(1)
2634
- }).describe("The ID of the resource").and(
2635
- zod.object({
2636
- self: zod.string().url().optional().describe(
2637
- "The REST API endpoint to get more resource details."
2638
- )
2639
- })
2640
- ).optional().describe("ID and link relative to Zephyr project.")
2641
- })
2642
- ).optional()
2643
- })
2644
- );
2327
+ self: zod.string().url().optional().describe(
2328
+ "The REST API endpoint to get more resource details."
2329
+ )
2330
+ }).strict().optional().describe("ID and link relative to Zephyr project.")
2331
+ }).strict()
2332
+ ).optional()
2333
+ }).strict();
2645
2334
  zod.object({
2646
2335
  errorCode: zod.number(),
2647
2336
  message: zod.string()
2648
- });
2337
+ }).strict();
2649
2338
  const createFolderBodyNameMax = 255;
2650
2339
  const createFolderBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2651
2340
  zod.object({
@@ -2659,11 +2348,11 @@ zod.object({
2659
2348
  zod.object({
2660
2349
  id: zod.number().min(1).optional(),
2661
2350
  self: zod.string().optional()
2662
- });
2351
+ }).strict();
2663
2352
  zod.object({
2664
2353
  errorCode: zod.number(),
2665
2354
  message: zod.string()
2666
- });
2355
+ }).strict();
2667
2356
  zod.object({
2668
2357
  folderId: zod.number().min(1).describe("Folder ID")
2669
2358
  });
@@ -2677,80 +2366,70 @@ zod.object({
2677
2366
  index: zod.number().min(getFolder200ResponseIndexMin),
2678
2367
  folderType: zod.string().describe('Valid values: `"TEST_CASE"`, `"TEST_PLAN"`, `"TEST_CYCLE"`'),
2679
2368
  project: zod.object({
2680
- id: zod.number().min(1)
2681
- }).describe("The ID of the resource").and(
2682
- zod.object({
2683
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2684
- })
2685
- ).optional().describe("ID and link relative to Zephyr project.")
2686
- });
2369
+ id: zod.number().min(1),
2370
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2371
+ }).strict().optional().describe("ID and link relative to Zephyr project.")
2372
+ }).strict();
2687
2373
  zod.object({
2688
2374
  errorCode: zod.number(),
2689
2375
  message: zod.string()
2690
- });
2376
+ }).strict();
2691
2377
  const listPrioritiesQueryMaxResultsDefault = 10;
2378
+ const listPrioritiesQueryStartAtDefault = 0;
2692
2379
  const listPrioritiesQueryStartAtMin = 0;
2693
2380
  const listPrioritiesQueryStartAtMax = 1e6;
2694
2381
  const listPrioritiesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2695
- const listPrioritiesQueryParams = zod.object({
2382
+ const ListPrioritiesQueryParams = zod.object({
2696
2383
  maxResults: zod.number().min(1).default(listPrioritiesQueryMaxResultsDefault).describe(
2697
2384
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
2698
2385
  ),
2699
- startAt: zod.number().min(listPrioritiesQueryStartAtMin).max(listPrioritiesQueryStartAtMax).optional().describe(
2386
+ startAt: zod.number().min(listPrioritiesQueryStartAtMin).max(listPrioritiesQueryStartAtMax).default(listPrioritiesQueryStartAtDefault).describe(
2700
2387
  "Zero-indexed starting position. Should be a multiple of maxResults."
2701
2388
  ),
2702
2389
  projectKey: zod.string().regex(listPrioritiesQueryProjectKeyRegExp).optional().describe("Jira project key filter")
2703
2390
  });
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({
2391
+ const listPriorities200ResponseOneStartAtMin = 0;
2392
+ const listPriorities200ResponseOneTotalMin = 0;
2393
+ const listPriorities200ResponseTwoValuesItemOneNameMax = 255;
2394
+ const listPriorities200ResponseTwoValuesItemOneNameRegExp = /^(?!\\s*$).+/;
2395
+ const listPriorities200ResponseTwoValuesItemOneIndexMin = 0;
2396
+ const listPriorities200ResponseTwoValuesItemTwoColorRegExp = /#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})/;
2397
+ const listPriorities200ResponseTwoValuesItemTwoDefaultDefault = false;
2398
+ const ListPriorities200Response = zod.object({
2711
2399
  next: zod.string().url().nullish().describe(
2712
2400
  "URL to the next page of results, or null if there are no more results."
2713
2401
  ),
2714
- startAt: zod.number().min(listPriorities200ResponseStartAtMin).describe(
2402
+ startAt: zod.number().min(listPriorities200ResponseOneStartAtMin).describe(
2715
2403
  "Indicates the index of the first item returned in the page of results."
2716
2404
  ),
2717
2405
  maxResults: zod.number().min(1).describe(
2718
2406
  "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."
2719
2407
  ),
2720
- total: zod.number().min(listPriorities200ResponseTotalMin).optional().describe(
2408
+ total: zod.number().min(listPriorities200ResponseOneTotalMin).optional().describe(
2721
2409
  "Indicates the total number of items available across all pages."
2722
2410
  ),
2723
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
2724
- }).and(
2725
- zod.object({
2726
- values: zod.array(
2727
- zod.object({
2411
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
2412
+ values: zod.array(
2413
+ zod.object({
2414
+ id: zod.number().min(1),
2415
+ project: zod.object({
2728
2416
  id: zod.number().min(1),
2729
- project: zod.object({
2730
- id: zod.number().min(1)
2731
- }).describe("The ID of the resource").and(
2732
- zod.object({
2733
- self: zod.string().url().optional().describe(
2734
- "The REST API endpoint to get more resource details."
2735
- )
2736
- })
2737
- ).describe("ID and link relative to Zephyr project."),
2738
- name: zod.string().min(1).max(listPriorities200ResponseValuesItemNameMax).regex(listPriorities200ResponseValuesItemNameRegExp),
2739
- description: zod.string().nullish().describe("Description outlining the scope."),
2740
- index: zod.number().min(listPriorities200ResponseValuesItemIndexMin)
2741
- }).and(
2742
- zod.object({
2743
- color: zod.string().regex(listPriorities200ResponseValuesItemColorRegExp).optional().describe("A color in hexadecimal format"),
2744
- default: zod.boolean().optional()
2745
- })
2746
- )
2747
- ).optional()
2748
- })
2749
- );
2417
+ self: zod.string().url().optional().describe(
2418
+ "The REST API endpoint to get more resource details."
2419
+ )
2420
+ }).strict().describe("ID and link relative to Zephyr project."),
2421
+ name: zod.string().min(1).max(listPriorities200ResponseTwoValuesItemOneNameMax).regex(listPriorities200ResponseTwoValuesItemOneNameRegExp),
2422
+ description: zod.string().nullish().describe("Description outlining the scope."),
2423
+ index: zod.number().min(listPriorities200ResponseTwoValuesItemOneIndexMin),
2424
+ color: zod.string().regex(listPriorities200ResponseTwoValuesItemTwoColorRegExp).optional().describe("A color in hexadecimal format"),
2425
+ default: zod.boolean().default(listPriorities200ResponseTwoValuesItemTwoDefaultDefault)
2426
+ }).strict()
2427
+ ).optional()
2428
+ }).strict();
2750
2429
  zod.object({
2751
2430
  errorCode: zod.number(),
2752
2431
  message: zod.string()
2753
- });
2432
+ }).strict();
2754
2433
  const createPriorityBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2755
2434
  const createPriorityBodyNameMax = 255;
2756
2435
  const createPriorityBodyDescriptionMax = 255;
@@ -2764,44 +2443,39 @@ zod.object({
2764
2443
  zod.object({
2765
2444
  id: zod.number().min(1).optional(),
2766
2445
  self: zod.string().optional()
2767
- });
2446
+ }).strict();
2768
2447
  zod.object({
2769
2448
  errorCode: zod.number(),
2770
2449
  message: zod.string()
2771
- });
2450
+ }).strict();
2772
2451
  zod.object({
2773
2452
  priorityId: zod.number().min(1)
2774
2453
  });
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})/;
2454
+ const getPriority200ResponseOneNameMax = 255;
2455
+ const getPriority200ResponseOneNameRegExp = /^(?!\\s*$).+/;
2456
+ const getPriority200ResponseOneIndexMin = 0;
2457
+ const getPriority200ResponseTwoColorRegExp = /#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})/;
2458
+ const getPriority200ResponseTwoDefaultDefault = false;
2779
2459
  zod.object({
2780
2460
  id: zod.number().min(1),
2781
2461
  project: zod.object({
2782
- id: zod.number().min(1)
2783
- }).describe("The ID of the resource").and(
2784
- zod.object({
2785
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2786
- })
2787
- ).describe("ID and link relative to Zephyr project."),
2788
- name: zod.string().min(1).max(getPriority200ResponseNameMax).regex(getPriority200ResponseNameRegExp),
2462
+ id: zod.number().min(1),
2463
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2464
+ }).strict().describe("ID and link relative to Zephyr project."),
2465
+ name: zod.string().min(1).max(getPriority200ResponseOneNameMax).regex(getPriority200ResponseOneNameRegExp),
2789
2466
  description: zod.string().nullish().describe("Description outlining the scope."),
2790
- index: zod.number().min(getPriority200ResponseIndexMin)
2791
- }).and(
2792
- zod.object({
2793
- color: zod.string().regex(getPriority200ResponseColorRegExp).optional().describe("A color in hexadecimal format"),
2794
- default: zod.boolean().optional()
2795
- })
2796
- );
2467
+ index: zod.number().min(getPriority200ResponseOneIndexMin),
2468
+ color: zod.string().regex(getPriority200ResponseTwoColorRegExp).optional().describe("A color in hexadecimal format"),
2469
+ default: zod.boolean().default(getPriority200ResponseTwoDefaultDefault)
2470
+ }).strict();
2797
2471
  zod.object({
2798
2472
  errorCode: zod.number(),
2799
2473
  message: zod.string()
2800
- });
2474
+ }).strict();
2801
2475
  zod.object({
2802
2476
  errorCode: zod.number(),
2803
2477
  message: zod.string()
2804
- });
2478
+ }).strict();
2805
2479
  zod.object({
2806
2480
  priorityId: zod.number().min(1)
2807
2481
  });
@@ -2827,73 +2501,67 @@ zod.object({
2827
2501
  zod.object({
2828
2502
  errorCode: zod.number(),
2829
2503
  message: zod.string()
2830
- });
2504
+ }).strict();
2831
2505
  const listStatusesQueryMaxResultsDefault = 10;
2506
+ const listStatusesQueryStartAtDefault = 0;
2832
2507
  const listStatusesQueryStartAtMin = 0;
2833
2508
  const listStatusesQueryStartAtMax = 1e6;
2834
2509
  const listStatusesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2835
- const listStatusesQueryParams = zod.object({
2510
+ const ListStatusesQueryParams = zod.object({
2836
2511
  maxResults: zod.number().min(1).default(listStatusesQueryMaxResultsDefault).describe(
2837
2512
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
2838
2513
  ),
2839
- startAt: zod.number().min(listStatusesQueryStartAtMin).max(listStatusesQueryStartAtMax).optional().describe(
2514
+ startAt: zod.number().min(listStatusesQueryStartAtMin).max(listStatusesQueryStartAtMax).default(listStatusesQueryStartAtDefault).describe(
2840
2515
  "Zero-indexed starting position. Should be a multiple of maxResults."
2841
2516
  ),
2842
2517
  projectKey: zod.string().regex(listStatusesQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
2843
2518
  statusType: zod.enum(["TEST_CASE", "TEST_PLAN", "TEST_CYCLE", "TEST_EXECUTION"]).optional().describe("Determines which type of entity the status belongs to.")
2844
2519
  });
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({
2520
+ const listStatuses200ResponseOneStartAtMin = 0;
2521
+ const listStatuses200ResponseOneTotalMin = 0;
2522
+ const listStatuses200ResponseTwoValuesItemOneNameMax = 255;
2523
+ const listStatuses200ResponseTwoValuesItemOneNameRegExp = /^(?!\\s*$).+/;
2524
+ const listStatuses200ResponseTwoValuesItemOneIndexMin = 0;
2525
+ const listStatuses200ResponseTwoValuesItemTwoArchivedDefault = false;
2526
+ const listStatuses200ResponseTwoValuesItemTwoDefaultDefault = false;
2527
+ const ListStatuses200Response = zod.object({
2851
2528
  next: zod.string().url().nullish().describe(
2852
2529
  "URL to the next page of results, or null if there are no more results."
2853
2530
  ),
2854
- startAt: zod.number().min(listStatuses200ResponseStartAtMin).describe(
2531
+ startAt: zod.number().min(listStatuses200ResponseOneStartAtMin).describe(
2855
2532
  "Indicates the index of the first item returned in the page of results."
2856
2533
  ),
2857
2534
  maxResults: zod.number().min(1).describe(
2858
2535
  "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."
2859
2536
  ),
2860
- total: zod.number().min(listStatuses200ResponseTotalMin).optional().describe(
2537
+ total: zod.number().min(listStatuses200ResponseOneTotalMin).optional().describe(
2861
2538
  "Indicates the total number of items available across all pages."
2862
2539
  ),
2863
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
2864
- }).and(
2865
- zod.object({
2866
- values: zod.array(
2867
- zod.object({
2540
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
2541
+ values: zod.array(
2542
+ zod.object({
2543
+ id: zod.number().min(1),
2544
+ project: zod.object({
2868
2545
  id: zod.number().min(1),
2869
- project: zod.object({
2870
- id: zod.number().min(1)
2871
- }).describe("The ID of the resource").and(
2872
- zod.object({
2873
- self: zod.string().url().optional().describe(
2874
- "The REST API endpoint to get more resource details."
2875
- )
2876
- })
2877
- ).describe("ID and link relative to Zephyr project."),
2878
- name: zod.string().min(1).max(listStatuses200ResponseValuesItemNameMax).regex(listStatuses200ResponseValuesItemNameRegExp),
2879
- description: zod.string().nullish().describe("Description outlining the scope."),
2880
- index: zod.number().min(listStatuses200ResponseValuesItemIndexMin)
2881
- }).and(
2882
- zod.object({
2883
- color: zod.string().optional(),
2884
- archived: zod.boolean().optional().describe(
2885
- "Determines whether the status is archived. Archived statuses are read-only and cannot be assigned to entities."
2886
- ),
2887
- default: zod.boolean().optional()
2888
- })
2889
- )
2890
- ).optional()
2891
- })
2892
- );
2546
+ self: zod.string().url().optional().describe(
2547
+ "The REST API endpoint to get more resource details."
2548
+ )
2549
+ }).strict().describe("ID and link relative to Zephyr project."),
2550
+ name: zod.string().min(1).max(listStatuses200ResponseTwoValuesItemOneNameMax).regex(listStatuses200ResponseTwoValuesItemOneNameRegExp),
2551
+ description: zod.string().nullish().describe("Description outlining the scope."),
2552
+ index: zod.number().min(listStatuses200ResponseTwoValuesItemOneIndexMin),
2553
+ color: zod.string().optional(),
2554
+ archived: zod.boolean().default(listStatuses200ResponseTwoValuesItemTwoArchivedDefault).describe(
2555
+ "Determines whether the status is archived. Archived statuses are read-only and cannot be assigned to entities."
2556
+ ),
2557
+ default: zod.boolean().default(listStatuses200ResponseTwoValuesItemTwoDefaultDefault)
2558
+ }).strict()
2559
+ ).optional()
2560
+ }).strict();
2893
2561
  zod.object({
2894
2562
  errorCode: zod.number(),
2895
2563
  message: zod.string()
2896
- });
2564
+ }).strict();
2897
2565
  const createStatusBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2898
2566
  const createStatusBodyNameMax = 255;
2899
2567
  const createStatusBodyDescriptionMax = 255;
@@ -2908,46 +2576,42 @@ zod.object({
2908
2576
  zod.object({
2909
2577
  id: zod.number().min(1).optional(),
2910
2578
  self: zod.string().optional()
2911
- });
2579
+ }).strict();
2912
2580
  zod.object({
2913
2581
  errorCode: zod.number(),
2914
2582
  message: zod.string()
2915
- });
2583
+ }).strict();
2916
2584
  zod.object({
2917
2585
  statusId: zod.number().min(1)
2918
2586
  });
2919
- const getStatus200ResponseNameMax = 255;
2920
- const getStatus200ResponseNameRegExp = /^(?!\\s*$).+/;
2921
- const getStatus200ResponseIndexMin = 0;
2587
+ const getStatus200ResponseOneNameMax = 255;
2588
+ const getStatus200ResponseOneNameRegExp = /^(?!\\s*$).+/;
2589
+ const getStatus200ResponseOneIndexMin = 0;
2590
+ const getStatus200ResponseTwoArchivedDefault = false;
2591
+ const getStatus200ResponseTwoDefaultDefault = false;
2922
2592
  zod.object({
2923
2593
  id: zod.number().min(1),
2924
2594
  project: zod.object({
2925
- id: zod.number().min(1)
2926
- }).describe("The ID of the resource").and(
2927
- zod.object({
2928
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2929
- })
2930
- ).describe("ID and link relative to Zephyr project."),
2931
- name: zod.string().min(1).max(getStatus200ResponseNameMax).regex(getStatus200ResponseNameRegExp),
2595
+ id: zod.number().min(1),
2596
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2597
+ }).strict().describe("ID and link relative to Zephyr project."),
2598
+ name: zod.string().min(1).max(getStatus200ResponseOneNameMax).regex(getStatus200ResponseOneNameRegExp),
2932
2599
  description: zod.string().nullish().describe("Description outlining the scope."),
2933
- index: zod.number().min(getStatus200ResponseIndexMin)
2934
- }).and(
2935
- zod.object({
2936
- color: zod.string().optional(),
2937
- archived: zod.boolean().optional().describe(
2938
- "Determines whether the status is archived. Archived statuses are read-only and cannot be assigned to entities."
2939
- ),
2940
- default: zod.boolean().optional()
2941
- })
2942
- );
2600
+ index: zod.number().min(getStatus200ResponseOneIndexMin),
2601
+ color: zod.string().optional(),
2602
+ archived: zod.boolean().default(getStatus200ResponseTwoArchivedDefault).describe(
2603
+ "Determines whether the status is archived. Archived statuses are read-only and cannot be assigned to entities."
2604
+ ),
2605
+ default: zod.boolean().default(getStatus200ResponseTwoDefaultDefault)
2606
+ }).strict();
2943
2607
  zod.object({
2944
2608
  errorCode: zod.number(),
2945
2609
  message: zod.string()
2946
- });
2610
+ }).strict();
2947
2611
  zod.object({
2948
2612
  errorCode: zod.number(),
2949
2613
  message: zod.string()
2950
- });
2614
+ }).strict();
2951
2615
  zod.object({
2952
2616
  statusId: zod.number().min(1)
2953
2617
  });
@@ -2974,68 +2638,63 @@ zod.object({
2974
2638
  zod.object({
2975
2639
  errorCode: zod.number(),
2976
2640
  message: zod.string()
2977
- });
2641
+ }).strict();
2978
2642
  const listEnvironmentsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2979
2643
  const listEnvironmentsQueryMaxResultsDefault = 10;
2644
+ const listEnvironmentsQueryStartAtDefault = 0;
2980
2645
  const listEnvironmentsQueryStartAtMin = 0;
2981
2646
  const listEnvironmentsQueryStartAtMax = 1e6;
2982
- const listEnvironmentsQueryParams = zod.object({
2647
+ const ListEnvironmentsQueryParams = zod.object({
2983
2648
  projectKey: zod.string().regex(listEnvironmentsQueryProjectKeyRegExp).optional().describe("Jira project key filter"),
2984
2649
  maxResults: zod.number().min(1).default(listEnvironmentsQueryMaxResultsDefault).describe(
2985
2650
  "Specifies the maximum number of results to return in a single call. The default value is 10, and the maximum value that can be requested is 1000.\n\nNote that the server may enforce a lower limit than requested, depending on resource availability or other internal constraints. If this happens, the result set may be truncated. Always check the maxResults value in the response to confirm how many results were actually returned.\n"
2986
2651
  ),
2987
- startAt: zod.number().min(listEnvironmentsQueryStartAtMin).max(listEnvironmentsQueryStartAtMax).optional().describe(
2652
+ startAt: zod.number().min(listEnvironmentsQueryStartAtMin).max(listEnvironmentsQueryStartAtMax).default(listEnvironmentsQueryStartAtDefault).describe(
2988
2653
  "Zero-indexed starting position. Should be a multiple of maxResults."
2989
2654
  )
2990
2655
  });
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({
2656
+ const listEnvironments200ResponseOneStartAtMin = 0;
2657
+ const listEnvironments200ResponseOneTotalMin = 0;
2658
+ const listEnvironments200ResponseTwoValuesItemOneNameMax = 255;
2659
+ const listEnvironments200ResponseTwoValuesItemOneNameRegExp = /^(?!\\s*$).+/;
2660
+ const listEnvironments200ResponseTwoValuesItemOneIndexMin = 0;
2661
+ const listEnvironments200ResponseTwoValuesItemTwoArchivedDefault = false;
2662
+ const ListEnvironments200Response = zod.object({
2997
2663
  next: zod.string().url().nullish().describe(
2998
2664
  "URL to the next page of results, or null if there are no more results."
2999
2665
  ),
3000
- startAt: zod.number().min(listEnvironments200ResponseStartAtMin).describe(
2666
+ startAt: zod.number().min(listEnvironments200ResponseOneStartAtMin).describe(
3001
2667
  "Indicates the index of the first item returned in the page of results."
3002
2668
  ),
3003
2669
  maxResults: zod.number().min(1).describe(
3004
2670
  "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."
3005
2671
  ),
3006
- total: zod.number().min(listEnvironments200ResponseTotalMin).optional().describe(
2672
+ total: zod.number().min(listEnvironments200ResponseOneTotalMin).optional().describe(
3007
2673
  "Indicates the total number of items available across all pages."
3008
2674
  ),
3009
- isLast: zod.boolean().optional().describe("Indicates if this is the last page of results.")
3010
- }).and(
3011
- zod.object({
3012
- values: zod.array(
3013
- zod.object({
2675
+ isLast: zod.boolean().optional().describe("Indicates if this is the last page of results."),
2676
+ values: zod.array(
2677
+ zod.object({
2678
+ id: zod.number().min(1),
2679
+ project: zod.object({
3014
2680
  id: zod.number().min(1),
3015
- project: zod.object({
3016
- id: zod.number().min(1)
3017
- }).describe("The ID of the resource").and(
3018
- zod.object({
3019
- self: zod.string().url().optional().describe(
3020
- "The REST API endpoint to get more resource details."
3021
- )
3022
- })
3023
- ).describe("ID and link relative to Zephyr project."),
3024
- name: zod.string().min(1).max(listEnvironments200ResponseValuesItemNameMax).regex(listEnvironments200ResponseValuesItemNameRegExp),
3025
- description: zod.string().nullish().describe("Description outlining the scope."),
3026
- index: zod.number().min(listEnvironments200ResponseValuesItemIndexMin)
3027
- }).and(
3028
- zod.object({
3029
- archived: zod.boolean().optional()
3030
- })
2681
+ self: zod.string().url().optional().describe(
2682
+ "The REST API endpoint to get more resource details."
2683
+ )
2684
+ }).strict().describe("ID and link relative to Zephyr project."),
2685
+ name: zod.string().min(1).max(listEnvironments200ResponseTwoValuesItemOneNameMax).regex(listEnvironments200ResponseTwoValuesItemOneNameRegExp),
2686
+ description: zod.string().nullish().describe("Description outlining the scope."),
2687
+ index: zod.number().min(listEnvironments200ResponseTwoValuesItemOneIndexMin),
2688
+ archived: zod.boolean().default(
2689
+ listEnvironments200ResponseTwoValuesItemTwoArchivedDefault
3031
2690
  )
3032
- ).optional()
3033
- })
3034
- );
2691
+ }).strict()
2692
+ ).optional()
2693
+ }).strict();
3035
2694
  zod.object({
3036
2695
  errorCode: zod.number(),
3037
2696
  message: zod.string()
3038
- });
2697
+ }).strict();
3039
2698
  const createEnvironmentBodyProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
3040
2699
  const createEnvironmentBodyNameMax = 255;
3041
2700
  const createEnvironmentBodyDescriptionMax = 255;
@@ -3047,60 +2706,55 @@ zod.object({
3047
2706
  zod.object({
3048
2707
  id: zod.number().min(1).optional(),
3049
2708
  self: zod.string().optional()
3050
- });
2709
+ }).strict();
3051
2710
  zod.union([
3052
2711
  zod.object({
3053
2712
  errorCode: zod.number(),
3054
2713
  message: zod.string()
3055
- }),
2714
+ }).strict(),
3056
2715
  zod.object({
3057
2716
  errorCode: zod.number(),
3058
2717
  message: zod.string()
3059
- }),
2718
+ }).strict(),
3060
2719
  zod.object({
3061
2720
  errorCode: zod.number(),
3062
2721
  message: zod.string()
3063
- }),
2722
+ }).strict(),
3064
2723
  zod.object({
3065
2724
  errorCode: zod.number(),
3066
2725
  message: zod.string()
3067
- })
2726
+ }).strict()
3068
2727
  ]);
3069
2728
  zod.object({
3070
2729
  errorCode: zod.number(),
3071
2730
  message: zod.string()
3072
- });
2731
+ }).strict();
3073
2732
  zod.object({
3074
2733
  environmentId: zod.number().min(1)
3075
2734
  });
3076
- const getEnvironment200ResponseNameMax = 255;
3077
- const getEnvironment200ResponseNameRegExp = /^(?!\\s*$).+/;
3078
- const getEnvironment200ResponseIndexMin = 0;
2735
+ const getEnvironment200ResponseOneNameMax = 255;
2736
+ const getEnvironment200ResponseOneNameRegExp = /^(?!\\s*$).+/;
2737
+ const getEnvironment200ResponseOneIndexMin = 0;
2738
+ const getEnvironment200ResponseTwoArchivedDefault = false;
3079
2739
  zod.object({
3080
2740
  id: zod.number().min(1),
3081
2741
  project: zod.object({
3082
- id: zod.number().min(1)
3083
- }).describe("The ID of the resource").and(
3084
- zod.object({
3085
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
3086
- })
3087
- ).describe("ID and link relative to Zephyr project."),
3088
- name: zod.string().min(1).max(getEnvironment200ResponseNameMax).regex(getEnvironment200ResponseNameRegExp),
2742
+ id: zod.number().min(1),
2743
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2744
+ }).strict().describe("ID and link relative to Zephyr project."),
2745
+ name: zod.string().min(1).max(getEnvironment200ResponseOneNameMax).regex(getEnvironment200ResponseOneNameRegExp),
3089
2746
  description: zod.string().nullish().describe("Description outlining the scope."),
3090
- index: zod.number().min(getEnvironment200ResponseIndexMin)
3091
- }).and(
3092
- zod.object({
3093
- archived: zod.boolean().optional()
3094
- })
3095
- );
2747
+ index: zod.number().min(getEnvironment200ResponseOneIndexMin),
2748
+ archived: zod.boolean().default(getEnvironment200ResponseTwoArchivedDefault)
2749
+ }).strict();
3096
2750
  zod.object({
3097
2751
  errorCode: zod.number(),
3098
2752
  message: zod.string()
3099
- });
2753
+ }).strict();
3100
2754
  zod.object({
3101
2755
  errorCode: zod.number(),
3102
2756
  message: zod.string()
3103
- });
2757
+ }).strict();
3104
2758
  zod.object({
3105
2759
  environmentId: zod.number().min(1)
3106
2760
  });
@@ -3124,112 +2778,101 @@ zod.union([
3124
2778
  zod.object({
3125
2779
  errorCode: zod.number(),
3126
2780
  message: zod.string()
3127
- }),
2781
+ }).strict(),
3128
2782
  zod.object({
3129
2783
  errorCode: zod.number(),
3130
2784
  message: zod.string()
3131
- }),
2785
+ }).strict(),
3132
2786
  zod.object({
3133
2787
  errorCode: zod.number(),
3134
2788
  message: zod.string()
3135
- }),
2789
+ }).strict(),
3136
2790
  zod.object({
3137
2791
  errorCode: zod.number(),
3138
2792
  message: zod.string()
3139
- }),
2793
+ }).strict(),
3140
2794
  zod.object({
3141
2795
  errorCode: zod.number(),
3142
2796
  message: zod.string()
3143
- })
2797
+ }).strict()
3144
2798
  ]);
3145
2799
  zod.object({
3146
2800
  errorCode: zod.number(),
3147
2801
  message: zod.string()
3148
- });
2802
+ }).strict();
3149
2803
  zod.object({
3150
2804
  linkId: zod.number().min(1)
3151
2805
  });
3152
2806
  zod.object({
3153
2807
  errorCode: zod.number(),
3154
2808
  message: zod.string()
3155
- });
2809
+ }).strict();
3156
2810
  const getIssueLinkTestCasesPathIssueKeyRegExp = /.+-[0-9]+/;
3157
2811
  zod.object({
3158
2812
  issueKey: zod.string().regex(getIssueLinkTestCasesPathIssueKeyRegExp).describe("The key of the Jira issue")
3159
2813
  });
3160
- const getIssueLinkTestCases200ResponseItem = zod.object({
2814
+ const GetIssueLinkTestCases200ResponseItem = zod.object({
3161
2815
  key: zod.string().optional(),
3162
- version: zod.number().optional()
3163
- }).and(
3164
- zod.object({
3165
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
3166
- })
3167
- );
2816
+ version: zod.number().optional(),
2817
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2818
+ }).strict();
3168
2819
  zod.array(
3169
- getIssueLinkTestCases200ResponseItem
2820
+ GetIssueLinkTestCases200ResponseItem
3170
2821
  );
3171
2822
  zod.object({
3172
2823
  errorCode: zod.number(),
3173
2824
  message: zod.string()
3174
- });
2825
+ }).strict();
3175
2826
  const getIssueLinkTestCyclesPathIssueKeyRegExp = /.+-[0-9]+/;
3176
2827
  zod.object({
3177
2828
  issueKey: zod.string().regex(getIssueLinkTestCyclesPathIssueKeyRegExp).describe("The key of the Jira issue")
3178
2829
  });
3179
- const getIssueLinkTestCycles200ResponseItem = zod.object({
3180
- id: zod.number().min(1)
3181
- }).describe("The ID of the resource").and(
3182
- zod.object({
3183
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
3184
- })
3185
- );
2830
+ const GetIssueLinkTestCycles200ResponseItem = zod.object({
2831
+ id: zod.number().min(1),
2832
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2833
+ }).strict();
3186
2834
  zod.array(
3187
- getIssueLinkTestCycles200ResponseItem
2835
+ GetIssueLinkTestCycles200ResponseItem
3188
2836
  );
3189
2837
  zod.object({
3190
2838
  errorCode: zod.number(),
3191
2839
  message: zod.string()
3192
- });
2840
+ }).strict();
3193
2841
  const getIssueLinkTestPlansPathIssueKeyRegExp = /.+-[0-9]+/;
3194
2842
  zod.object({
3195
2843
  issueKey: zod.string().regex(getIssueLinkTestPlansPathIssueKeyRegExp).describe("The key of the Jira issue")
3196
2844
  });
3197
- const getIssueLinkTestPlans200ResponseItem = zod.object({
3198
- id: zod.number().min(1)
3199
- }).describe("The ID of the resource").and(
3200
- zod.object({
3201
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
3202
- })
3203
- );
2845
+ const GetIssueLinkTestPlans200ResponseItem = zod.object({
2846
+ id: zod.number().min(1),
2847
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2848
+ }).strict();
3204
2849
  zod.array(
3205
- getIssueLinkTestPlans200ResponseItem
2850
+ GetIssueLinkTestPlans200ResponseItem
3206
2851
  );
3207
2852
  zod.object({
3208
2853
  errorCode: zod.number(),
3209
2854
  message: zod.string()
3210
- });
2855
+ }).strict();
3211
2856
  const getIssueLinkTestExecutionsPathIssueKeyRegExp = /.+-[0-9]+/;
3212
2857
  zod.object({
3213
2858
  issueKey: zod.string().regex(getIssueLinkTestExecutionsPathIssueKeyRegExp).describe("The key of the Jira issue")
3214
2859
  });
3215
- const getIssueLinkTestExecutions200ResponseItem = zod.object({
3216
- id: zod.number().min(1)
3217
- }).describe("The ID of the resource").and(
3218
- zod.object({
3219
- self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
3220
- })
3221
- );
2860
+ const GetIssueLinkTestExecutions200ResponseItem = zod.object({
2861
+ id: zod.number().min(1),
2862
+ self: zod.string().url().optional().describe("The REST API endpoint to get more resource details.")
2863
+ }).strict();
3222
2864
  zod.array(
3223
- getIssueLinkTestExecutions200ResponseItem
2865
+ GetIssueLinkTestExecutions200ResponseItem
3224
2866
  );
3225
2867
  zod.object({
3226
2868
  errorCode: zod.number(),
3227
2869
  message: zod.string()
3228
- });
2870
+ }).strict();
3229
2871
  const createCustomExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2872
+ const createCustomExecutionsQueryAutoCreateTestCasesDefault = false;
3230
2873
  zod.object({
3231
2874
  projectKey: zod.string().regex(createCustomExecutionsQueryProjectKeyRegExp).describe("Jira project key filter"),
3232
- autoCreateTestCases: zod.boolean().optional().describe("Indicate if test cases should be created if non existent.")
2875
+ autoCreateTestCases: zod.boolean().default(createCustomExecutionsQueryAutoCreateTestCasesDefault).describe("Indicate if test cases should be created if non existent.")
3233
2876
  });
3234
2877
  zod.object({
3235
2878
  "content-length": zod.number().describe(
@@ -3260,16 +2903,17 @@ zod.object({
3260
2903
  id: zod.number().min(1).optional().describe("The id of the newly created test cycle."),
3261
2904
  url: zod.string().optional().describe("The URL pointing to the newly created test cycle."),
3262
2905
  key: zod.string().regex(createCustomExecutions200ResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
3263
- }).optional()
3264
- });
2906
+ }).strict().optional()
2907
+ }).strict();
3265
2908
  zod.object({
3266
2909
  errorCode: zod.number(),
3267
2910
  message: zod.string()
3268
- });
2911
+ }).strict();
3269
2912
  const createCucumberExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2913
+ const createCucumberExecutionsQueryAutoCreateTestCasesDefault = false;
3270
2914
  zod.object({
3271
2915
  projectKey: zod.string().regex(createCucumberExecutionsQueryProjectKeyRegExp).describe("Jira project key filter"),
3272
- autoCreateTestCases: zod.boolean().optional().describe("Indicate if test cases should be created if non existent.")
2916
+ autoCreateTestCases: zod.boolean().default(createCucumberExecutionsQueryAutoCreateTestCasesDefault).describe("Indicate if test cases should be created if non existent.")
3273
2917
  });
3274
2918
  zod.object({
3275
2919
  "content-length": zod.number().describe(
@@ -3300,16 +2944,17 @@ zod.object({
3300
2944
  id: zod.number().min(1).optional().describe("The id of the newly created test cycle."),
3301
2945
  url: zod.string().optional().describe("The URL pointing to the newly created test cycle."),
3302
2946
  key: zod.string().regex(createCucumberExecutions200ResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
3303
- }).optional()
3304
- });
2947
+ }).strict().optional()
2948
+ }).strict();
3305
2949
  zod.object({
3306
2950
  errorCode: zod.number(),
3307
2951
  message: zod.string()
3308
- });
2952
+ }).strict();
3309
2953
  const createJUnitExecutionsQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
2954
+ const createJUnitExecutionsQueryAutoCreateTestCasesDefault = false;
3310
2955
  zod.object({
3311
2956
  projectKey: zod.string().regex(createJUnitExecutionsQueryProjectKeyRegExp).describe("Jira project key filter"),
3312
- autoCreateTestCases: zod.boolean().optional().describe("Indicate if test cases should be created if non existent.")
2957
+ autoCreateTestCases: zod.boolean().default(createJUnitExecutionsQueryAutoCreateTestCasesDefault).describe("Indicate if test cases should be created if non existent.")
3313
2958
  });
3314
2959
  zod.object({
3315
2960
  "content-length": zod.number().describe(
@@ -3340,12 +2985,12 @@ zod.object({
3340
2985
  id: zod.number().min(1).optional().describe("The id of the newly created test cycle."),
3341
2986
  url: zod.string().optional().describe("The URL pointing to the newly created test cycle."),
3342
2987
  key: zod.string().regex(createJUnitExecutions200ResponseTestCycleKeyRegExp).optional().describe("The key of the newly created test cycle.")
3343
- }).optional()
3344
- });
2988
+ }).strict().optional()
2989
+ }).strict();
3345
2990
  zod.object({
3346
2991
  errorCode: zod.number(),
3347
2992
  message: zod.string()
3348
- });
2993
+ }).strict();
3349
2994
  const retrieveBDDTestCasesQueryProjectKeyRegExp = /([A-Z][A-Z_0-9]+)/;
3350
2995
  zod.object({
3351
2996
  projectKey: zod.string().regex(retrieveBDDTestCasesQueryProjectKeyRegExp).describe("Jira project key filter")
@@ -3356,19 +3001,60 @@ zod.object({
3356
3001
  zod.object({
3357
3002
  errorCode: zod.number(),
3358
3003
  message: zod.string()
3359
- });
3004
+ }).strict();
3360
3005
  zod.object({
3361
3006
  errorCode: zod.number(),
3362
3007
  message: zod.string()
3363
- });
3008
+ }).strict();
3364
3009
  export {
3010
+ CreateTestCase201Response,
3011
+ CreateTestCaseBody,
3012
+ CreateTestCaseWebLink201Response,
3013
+ CreateTestCaseWebLinkBody,
3014
+ CreateTestCaseWebLinkParams,
3015
+ CreateTestCycle201Response,
3016
+ CreateTestCycleBody,
3017
+ CreateTestExecution201Response,
3018
+ CreateTestExecutionBody,
3019
+ GetIssueLinkTestCases200ResponseItem,
3020
+ GetIssueLinkTestCycles200ResponseItem,
3021
+ GetIssueLinkTestExecutions200ResponseItem,
3022
+ GetIssueLinkTestPlans200ResponseItem,
3023
+ GetProject200Response,
3024
+ GetProjectParams,
3025
+ GetTestCase200Response,
3026
+ GetTestCaseParams,
3027
+ GetTestCycle200Response,
3028
+ GetTestCycleParams,
3029
+ GetTestExecution200Response,
3030
+ GetTestExecutionParams,
3031
+ ListEnvironments200Response,
3032
+ ListEnvironmentsQueryParams,
3033
+ ListPriorities200Response,
3034
+ ListPrioritiesQueryParams,
3035
+ ListProjects200Response,
3036
+ ListProjectsQueryParams,
3037
+ ListStatuses200Response,
3038
+ ListStatusesQueryParams,
3039
+ ListTestCasesCursorPaginated200Response,
3040
+ ListTestCasesCursorPaginatedQueryParams,
3041
+ ListTestCycles200Response,
3042
+ ListTestCyclesQueryParams,
3043
+ ListTestExecutionsNextgen200Response,
3044
+ ListTestExecutionsNextgenQueryParams,
3045
+ UpdateTestCaseBody,
3046
+ UpdateTestCaseParams,
3047
+ UpdateTestCycleBody,
3048
+ UpdateTestCycleParams,
3365
3049
  createCucumberExecutions200ResponseTestCycleKeyRegExp,
3366
3050
  createCucumberExecutionsBodyTestCycleNameMax,
3367
3051
  createCucumberExecutionsBodyTestCycleNameRegExp,
3052
+ createCucumberExecutionsQueryAutoCreateTestCasesDefault,
3368
3053
  createCucumberExecutionsQueryProjectKeyRegExp,
3369
3054
  createCustomExecutions200ResponseTestCycleKeyRegExp,
3370
3055
  createCustomExecutionsBodyTestCycleNameMax,
3371
3056
  createCustomExecutionsBodyTestCycleNameRegExp,
3057
+ createCustomExecutionsQueryAutoCreateTestCasesDefault,
3372
3058
  createCustomExecutionsQueryProjectKeyRegExp,
3373
3059
  createEnvironmentBodyDescriptionMax,
3374
3060
  createEnvironmentBodyNameMax,
@@ -3378,6 +3064,7 @@ export {
3378
3064
  createJUnitExecutions200ResponseTestCycleKeyRegExp,
3379
3065
  createJUnitExecutionsBodyTestCycleNameMax,
3380
3066
  createJUnitExecutionsBodyTestCycleNameRegExp,
3067
+ createJUnitExecutionsQueryAutoCreateTestCasesDefault,
3381
3068
  createJUnitExecutionsQueryProjectKeyRegExp,
3382
3069
  createPriorityBodyColorRegExp,
3383
3070
  createPriorityBodyDescriptionMax,
@@ -3387,8 +3074,6 @@ export {
3387
3074
  createStatusBodyDescriptionMax,
3388
3075
  createStatusBodyNameMax,
3389
3076
  createStatusBodyProjectKeyRegExp,
3390
- createTestCase201Response,
3391
- createTestCaseBody,
3392
3077
  createTestCaseBodyComponentIdMin,
3393
3078
  createTestCaseBodyEstimatedTimeMin,
3394
3079
  createTestCaseBodyLabelsMax,
@@ -3400,14 +3085,9 @@ export {
3400
3085
  createTestCaseBodyStatusNameMax,
3401
3086
  createTestCaseIssueLinkPathTestCaseKeyRegExp,
3402
3087
  createTestCaseTestScriptPathTestCaseKeyRegExp,
3403
- createTestCaseTestStepsBodyItemsItemTestCaseTestCaseKeyRegExp,
3088
+ createTestCaseTestStepsBodyItemsItemTestCaseTwoTestCaseKeyRegExp,
3404
3089
  createTestCaseTestStepsPathTestCaseKeyRegExp,
3405
- createTestCaseWebLink201Response,
3406
- createTestCaseWebLinkBody,
3407
- createTestCaseWebLinkParams,
3408
3090
  createTestCaseWebLinkPathTestCaseKeyRegExp,
3409
- createTestCycle201Response,
3410
- createTestCycleBody,
3411
3091
  createTestCycleBodyNameMax,
3412
3092
  createTestCycleBodyNameRegExp,
3413
3093
  createTestCycleBodyOwnerIdRegExp,
@@ -3415,8 +3095,6 @@ export {
3415
3095
  createTestCycleBodyStatusNameMax,
3416
3096
  createTestCycleIssueLinkPathTestCycleIdOrKeyRegExp,
3417
3097
  createTestCycleWebLinkPathTestCycleIdOrKeyRegExp,
3418
- createTestExecution201Response,
3419
- createTestExecutionBody,
3420
3098
  createTestExecutionBodyAssignedToIdRegExp,
3421
3099
  createTestExecutionBodyExecutedByIdRegExp,
3422
3100
  createTestExecutionBodyExecutionTimeMin,
@@ -3436,31 +3114,28 @@ export {
3436
3114
  createTestPlanTestCycleLinkBodyTestCycleIdOrKeyRegExp,
3437
3115
  createTestPlanTestCycleLinkPathTestPlanIdOrKeyRegExp,
3438
3116
  createTestPlanWebLinkPathTestPlanIdOrKeyRegExp,
3439
- getEnvironment200ResponseIndexMin,
3440
- getEnvironment200ResponseNameMax,
3441
- getEnvironment200ResponseNameRegExp,
3117
+ getEnvironment200ResponseOneIndexMin,
3118
+ getEnvironment200ResponseOneNameMax,
3119
+ getEnvironment200ResponseOneNameRegExp,
3120
+ getEnvironment200ResponseTwoArchivedDefault,
3442
3121
  getFolder200ResponseIndexMin,
3443
3122
  getFolder200ResponseNameMax,
3444
3123
  getFolder200ResponseNameRegExp,
3445
- getIssueLinkTestCases200ResponseItem,
3446
3124
  getIssueLinkTestCasesPathIssueKeyRegExp,
3447
- getIssueLinkTestCycles200ResponseItem,
3448
3125
  getIssueLinkTestCyclesPathIssueKeyRegExp,
3449
- getIssueLinkTestExecutions200ResponseItem,
3450
3126
  getIssueLinkTestExecutionsPathIssueKeyRegExp,
3451
- getIssueLinkTestPlans200ResponseItem,
3452
3127
  getIssueLinkTestPlansPathIssueKeyRegExp,
3453
- getPriority200ResponseColorRegExp,
3454
- getPriority200ResponseIndexMin,
3455
- getPriority200ResponseNameMax,
3456
- getPriority200ResponseNameRegExp,
3457
- getProject200Response,
3458
- getProjectParams,
3128
+ getPriority200ResponseOneIndexMin,
3129
+ getPriority200ResponseOneNameMax,
3130
+ getPriority200ResponseOneNameRegExp,
3131
+ getPriority200ResponseTwoColorRegExp,
3132
+ getPriority200ResponseTwoDefaultDefault,
3459
3133
  getProjectPathProjectIdOrKeyRegExp,
3460
- getStatus200ResponseIndexMin,
3461
- getStatus200ResponseNameMax,
3462
- getStatus200ResponseNameRegExp,
3463
- getTestCase200Response,
3134
+ getStatus200ResponseOneIndexMin,
3135
+ getStatus200ResponseOneNameMax,
3136
+ getStatus200ResponseOneNameRegExp,
3137
+ getStatus200ResponseTwoArchivedDefault,
3138
+ getStatus200ResponseTwoDefaultDefault,
3464
3139
  getTestCase200ResponseEstimatedTimeMin,
3465
3140
  getTestCase200ResponseKeyRegExp,
3466
3141
  getTestCase200ResponseLabelsMax,
@@ -3468,14 +3143,14 @@ export {
3468
3143
  getTestCase200ResponseNameRegExp,
3469
3144
  getTestCase200ResponseOwnerAccountIdRegExp,
3470
3145
  getTestCaseLinksPathTestCaseKeyRegExp,
3471
- getTestCaseParams,
3472
3146
  getTestCasePathTestCaseKeyRegExp,
3473
3147
  getTestCaseTestScriptPathTestCaseKeyRegExp,
3474
- getTestCaseTestSteps200ResponseStartAtMin,
3475
- getTestCaseTestSteps200ResponseTotalMin,
3476
- getTestCaseTestSteps200ResponseValuesItemTestCaseTestCaseKeyRegExp,
3148
+ getTestCaseTestSteps200ResponseOneStartAtMin,
3149
+ getTestCaseTestSteps200ResponseOneTotalMin,
3150
+ getTestCaseTestSteps200ResponseTwoValuesItemTestCaseTwoTestCaseKeyRegExp,
3477
3151
  getTestCaseTestStepsPathTestCaseKeyRegExp,
3478
3152
  getTestCaseTestStepsQueryMaxResultsDefault,
3153
+ getTestCaseTestStepsQueryStartAtDefault,
3479
3154
  getTestCaseTestStepsQueryStartAtMax,
3480
3155
  getTestCaseTestStepsQueryStartAtMin,
3481
3156
  getTestCaseVersion200ResponseEstimatedTimeMin,
@@ -3485,25 +3160,23 @@ export {
3485
3160
  getTestCaseVersion200ResponseNameRegExp,
3486
3161
  getTestCaseVersion200ResponseOwnerAccountIdRegExp,
3487
3162
  getTestCaseVersionPathTestCaseKeyRegExp,
3488
- getTestCycle200Response,
3489
3163
  getTestCycle200ResponseKeyRegExp,
3490
3164
  getTestCycle200ResponseNameRegExp,
3491
3165
  getTestCycle200ResponseOwnerAccountIdRegExp,
3492
3166
  getTestCycleLinksPathTestCycleIdOrKeyRegExp,
3493
- getTestCycleParams,
3494
3167
  getTestCyclePathTestCycleIdOrKeyRegExp,
3495
- getTestExecution200Response,
3496
3168
  getTestExecution200ResponseAssignedToIdRegExp,
3497
3169
  getTestExecution200ResponseEstimatedTimeMin,
3498
3170
  getTestExecution200ResponseExecutedByIdRegExp,
3499
3171
  getTestExecution200ResponseExecutionTimeMin,
3500
3172
  getTestExecution200ResponseKeyRegExp,
3501
- getTestExecutionParams,
3502
3173
  getTestExecutionPathTestExecutionIdOrKeyRegExp,
3503
- getTestExecutionTestSteps200ResponseStartAtMin,
3504
- getTestExecutionTestSteps200ResponseTotalMin,
3174
+ getTestExecutionQueryIncludeStepLinksDefault,
3175
+ getTestExecutionTestSteps200ResponseOneStartAtMin,
3176
+ getTestExecutionTestSteps200ResponseOneTotalMin,
3505
3177
  getTestExecutionTestStepsPathTestExecutionIdOrKeyRegExp,
3506
3178
  getTestExecutionTestStepsQueryMaxResultsDefault,
3179
+ getTestExecutionTestStepsQueryStartAtDefault,
3507
3180
  getTestExecutionTestStepsQueryStartAtMax,
3508
3181
  getTestExecutionTestStepsQueryStartAtMin,
3509
3182
  getTestExecutionTestStepsQueryTestDataRowNumberMin,
@@ -3513,137 +3186,143 @@ export {
3513
3186
  getTestPlan200ResponseNameRegExp,
3514
3187
  getTestPlan200ResponseOwnerAccountIdRegExp,
3515
3188
  getTestPlanPathTestPlanIdOrKeyRegExp,
3516
- listEnvironments200Response,
3517
- listEnvironments200ResponseStartAtMin,
3518
- listEnvironments200ResponseTotalMin,
3519
- listEnvironments200ResponseValuesItemIndexMin,
3520
- listEnvironments200ResponseValuesItemNameMax,
3521
- listEnvironments200ResponseValuesItemNameRegExp,
3189
+ listEnvironments200ResponseOneStartAtMin,
3190
+ listEnvironments200ResponseOneTotalMin,
3191
+ listEnvironments200ResponseTwoValuesItemOneIndexMin,
3192
+ listEnvironments200ResponseTwoValuesItemOneNameMax,
3193
+ listEnvironments200ResponseTwoValuesItemOneNameRegExp,
3194
+ listEnvironments200ResponseTwoValuesItemTwoArchivedDefault,
3522
3195
  listEnvironmentsQueryMaxResultsDefault,
3523
- listEnvironmentsQueryParams,
3524
3196
  listEnvironmentsQueryProjectKeyRegExp,
3197
+ listEnvironmentsQueryStartAtDefault,
3525
3198
  listEnvironmentsQueryStartAtMax,
3526
3199
  listEnvironmentsQueryStartAtMin,
3527
- listFolders200ResponseStartAtMin,
3528
- listFolders200ResponseTotalMin,
3529
- listFolders200ResponseValuesItemIndexMin,
3530
- listFolders200ResponseValuesItemNameMax,
3531
- listFolders200ResponseValuesItemNameRegExp,
3200
+ listFolders200ResponseOneStartAtMin,
3201
+ listFolders200ResponseOneTotalMin,
3202
+ listFolders200ResponseTwoValuesItemIndexMin,
3203
+ listFolders200ResponseTwoValuesItemNameMax,
3204
+ listFolders200ResponseTwoValuesItemNameRegExp,
3532
3205
  listFoldersQueryMaxResultsDefault,
3533
3206
  listFoldersQueryProjectKeyRegExp,
3207
+ listFoldersQueryStartAtDefault,
3534
3208
  listFoldersQueryStartAtMax,
3535
3209
  listFoldersQueryStartAtMin,
3536
- listPriorities200Response,
3537
- listPriorities200ResponseStartAtMin,
3538
- listPriorities200ResponseTotalMin,
3539
- listPriorities200ResponseValuesItemColorRegExp,
3540
- listPriorities200ResponseValuesItemIndexMin,
3541
- listPriorities200ResponseValuesItemNameMax,
3542
- listPriorities200ResponseValuesItemNameRegExp,
3210
+ listPriorities200ResponseOneStartAtMin,
3211
+ listPriorities200ResponseOneTotalMin,
3212
+ listPriorities200ResponseTwoValuesItemOneIndexMin,
3213
+ listPriorities200ResponseTwoValuesItemOneNameMax,
3214
+ listPriorities200ResponseTwoValuesItemOneNameRegExp,
3215
+ listPriorities200ResponseTwoValuesItemTwoColorRegExp,
3216
+ listPriorities200ResponseTwoValuesItemTwoDefaultDefault,
3543
3217
  listPrioritiesQueryMaxResultsDefault,
3544
- listPrioritiesQueryParams,
3545
3218
  listPrioritiesQueryProjectKeyRegExp,
3219
+ listPrioritiesQueryStartAtDefault,
3546
3220
  listPrioritiesQueryStartAtMax,
3547
3221
  listPrioritiesQueryStartAtMin,
3548
- listProjects200Response,
3549
- listProjects200ResponseStartAtMin,
3550
- listProjects200ResponseTotalMin,
3222
+ listProjects200ResponseOneStartAtMin,
3223
+ listProjects200ResponseOneTotalMin,
3551
3224
  listProjectsQueryMaxResultsDefault,
3552
- listProjectsQueryParams,
3225
+ listProjectsQueryStartAtDefault,
3553
3226
  listProjectsQueryStartAtMax,
3554
3227
  listProjectsQueryStartAtMin,
3555
- listStatuses200Response,
3556
- listStatuses200ResponseStartAtMin,
3557
- listStatuses200ResponseTotalMin,
3558
- listStatuses200ResponseValuesItemIndexMin,
3559
- listStatuses200ResponseValuesItemNameMax,
3560
- listStatuses200ResponseValuesItemNameRegExp,
3228
+ listStatuses200ResponseOneStartAtMin,
3229
+ listStatuses200ResponseOneTotalMin,
3230
+ listStatuses200ResponseTwoValuesItemOneIndexMin,
3231
+ listStatuses200ResponseTwoValuesItemOneNameMax,
3232
+ listStatuses200ResponseTwoValuesItemOneNameRegExp,
3233
+ listStatuses200ResponseTwoValuesItemTwoArchivedDefault,
3234
+ listStatuses200ResponseTwoValuesItemTwoDefaultDefault,
3561
3235
  listStatusesQueryMaxResultsDefault,
3562
- listStatusesQueryParams,
3563
3236
  listStatusesQueryProjectKeyRegExp,
3237
+ listStatusesQueryStartAtDefault,
3564
3238
  listStatusesQueryStartAtMax,
3565
3239
  listStatusesQueryStartAtMin,
3566
- listTestCaseVersions200ResponseStartAtMin,
3567
- listTestCaseVersions200ResponseTotalMin,
3240
+ listTestCaseVersions200ResponseOneStartAtMin,
3241
+ listTestCaseVersions200ResponseOneTotalMin,
3568
3242
  listTestCaseVersionsPathTestCaseKeyRegExp,
3569
3243
  listTestCaseVersionsQueryMaxResultsDefault,
3244
+ listTestCaseVersionsQueryStartAtDefault,
3570
3245
  listTestCaseVersionsQueryStartAtMax,
3571
3246
  listTestCaseVersionsQueryStartAtMin,
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,
3247
+ listTestCases200ResponseOneStartAtMin,
3248
+ listTestCases200ResponseOneTotalMin,
3249
+ listTestCases200ResponseTwoValuesItemEstimatedTimeMin,
3250
+ listTestCases200ResponseTwoValuesItemKeyRegExp,
3251
+ listTestCases200ResponseTwoValuesItemLabelsMax,
3252
+ listTestCases200ResponseTwoValuesItemNameMax,
3253
+ listTestCases200ResponseTwoValuesItemNameRegExp,
3254
+ listTestCases200ResponseTwoValuesItemOwnerAccountIdRegExp,
3255
+ listTestCasesCursorPaginated200ResponseOneLimitMin,
3256
+ listTestCasesCursorPaginated200ResponseOneNextStartAtIdMin,
3257
+ listTestCasesCursorPaginated200ResponseTwoValuesItemEstimatedTimeMin,
3258
+ listTestCasesCursorPaginated200ResponseTwoValuesItemKeyRegExp,
3259
+ listTestCasesCursorPaginated200ResponseTwoValuesItemLabelsMax,
3260
+ listTestCasesCursorPaginated200ResponseTwoValuesItemNameMax,
3261
+ listTestCasesCursorPaginated200ResponseTwoValuesItemNameRegExp,
3262
+ listTestCasesCursorPaginated200ResponseTwoValuesItemOwnerAccountIdRegExp,
3589
3263
  listTestCasesCursorPaginatedQueryLimitDefault,
3590
3264
  listTestCasesCursorPaginatedQueryLimitMax,
3591
- listTestCasesCursorPaginatedQueryParams,
3592
3265
  listTestCasesCursorPaginatedQueryProjectKeyRegExp,
3266
+ listTestCasesCursorPaginatedQueryStartAtIdDefault,
3593
3267
  listTestCasesCursorPaginatedQueryStartAtIdMin,
3594
3268
  listTestCasesQueryMaxResultsDefault,
3595
3269
  listTestCasesQueryProjectKeyRegExp,
3270
+ listTestCasesQueryStartAtDefault,
3596
3271
  listTestCasesQueryStartAtMax,
3597
3272
  listTestCasesQueryStartAtMin,
3598
- listTestCycles200Response,
3599
- listTestCycles200ResponseStartAtMin,
3600
- listTestCycles200ResponseTotalMin,
3601
- listTestCycles200ResponseValuesItemKeyRegExp,
3602
- listTestCycles200ResponseValuesItemNameRegExp,
3603
- listTestCycles200ResponseValuesItemOwnerAccountIdRegExp,
3273
+ listTestCycles200ResponseOneStartAtMin,
3274
+ listTestCycles200ResponseOneTotalMin,
3275
+ listTestCycles200ResponseTwoValuesItemKeyRegExp,
3276
+ listTestCycles200ResponseTwoValuesItemNameRegExp,
3277
+ listTestCycles200ResponseTwoValuesItemOwnerAccountIdRegExp,
3604
3278
  listTestCyclesQueryMaxResultsDefault,
3605
- listTestCyclesQueryParams,
3606
3279
  listTestCyclesQueryProjectKeyRegExp,
3280
+ listTestCyclesQueryStartAtDefault,
3607
3281
  listTestCyclesQueryStartAtMax,
3608
3282
  listTestCyclesQueryStartAtMin,
3609
3283
  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,
3284
+ listTestExecutions200ResponseOneStartAtMin,
3285
+ listTestExecutions200ResponseOneTotalMin,
3286
+ listTestExecutions200ResponseTwoValuesItemAssignedToIdRegExp,
3287
+ listTestExecutions200ResponseTwoValuesItemEstimatedTimeMin,
3288
+ listTestExecutions200ResponseTwoValuesItemExecutedByIdRegExp,
3289
+ listTestExecutions200ResponseTwoValuesItemExecutionTimeMin,
3290
+ listTestExecutions200ResponseTwoValuesItemKeyRegExp,
3291
+ listTestExecutionsNextgen200ResponseOneLimitMin,
3292
+ listTestExecutionsNextgen200ResponseOneNextStartAtIdMin,
3293
+ listTestExecutionsNextgen200ResponseTwoValuesItemAssignedToIdRegExp,
3294
+ listTestExecutionsNextgen200ResponseTwoValuesItemEstimatedTimeMin,
3295
+ listTestExecutionsNextgen200ResponseTwoValuesItemExecutedByIdRegExp,
3296
+ listTestExecutionsNextgen200ResponseTwoValuesItemExecutionTimeMin,
3297
+ listTestExecutionsNextgen200ResponseTwoValuesItemKeyRegExp,
3298
+ listTestExecutionsNextgenQueryIncludeStepLinksDefault,
3625
3299
  listTestExecutionsNextgenQueryLimitDefault,
3626
3300
  listTestExecutionsNextgenQueryLimitMax,
3627
- listTestExecutionsNextgenQueryParams,
3301
+ listTestExecutionsNextgenQueryOnlyLastExecutionsDefault,
3628
3302
  listTestExecutionsNextgenQueryProjectKeyRegExp,
3303
+ listTestExecutionsNextgenQueryStartAtIdDefault,
3629
3304
  listTestExecutionsNextgenQueryStartAtIdMin,
3630
3305
  listTestExecutionsNextgenQueryTestCaseRegExp,
3631
3306
  listTestExecutionsNextgenQueryTestCycleRegExp,
3307
+ listTestExecutionsQueryIncludeStepLinksDefault,
3632
3308
  listTestExecutionsQueryMaxResultsDefault,
3309
+ listTestExecutionsQueryOnlyLastExecutionsDefault,
3633
3310
  listTestExecutionsQueryProjectKeyRegExp,
3311
+ listTestExecutionsQueryStartAtDefault,
3634
3312
  listTestExecutionsQueryStartAtMax,
3635
3313
  listTestExecutionsQueryStartAtMin,
3636
3314
  listTestExecutionsQueryTestCaseRegExp,
3637
3315
  listTestExecutionsQueryTestCycleRegExp,
3638
- listTestPlans200ResponseStartAtMin,
3639
- listTestPlans200ResponseTotalMin,
3640
- listTestPlans200ResponseValuesItemKeyRegExp,
3641
- listTestPlans200ResponseValuesItemLabelsMax,
3642
- listTestPlans200ResponseValuesItemNameMax,
3643
- listTestPlans200ResponseValuesItemNameRegExp,
3644
- listTestPlans200ResponseValuesItemOwnerAccountIdRegExp,
3316
+ listTestPlans200ResponseOneStartAtMin,
3317
+ listTestPlans200ResponseOneTotalMin,
3318
+ listTestPlans200ResponseTwoValuesItemKeyRegExp,
3319
+ listTestPlans200ResponseTwoValuesItemLabelsMax,
3320
+ listTestPlans200ResponseTwoValuesItemNameMax,
3321
+ listTestPlans200ResponseTwoValuesItemNameRegExp,
3322
+ listTestPlans200ResponseTwoValuesItemOwnerAccountIdRegExp,
3645
3323
  listTestPlansQueryMaxResultsDefault,
3646
3324
  listTestPlansQueryProjectKeyRegExp,
3325
+ listTestPlansQueryStartAtDefault,
3647
3326
  listTestPlansQueryStartAtMax,
3648
3327
  listTestPlansQueryStartAtMin,
3649
3328
  putTestExecutionTestStepsBodyStepsItemStatusNameMax,
@@ -3661,20 +3340,16 @@ export {
3661
3340
  updateStatusBodyDescriptionMax,
3662
3341
  updateStatusBodyIndexMin,
3663
3342
  updateStatusBodyNameMax,
3664
- updateTestCaseBody,
3665
3343
  updateTestCaseBodyEstimatedTimeMin,
3666
3344
  updateTestCaseBodyKeyRegExp,
3667
3345
  updateTestCaseBodyLabelsMax,
3668
3346
  updateTestCaseBodyNameMax,
3669
3347
  updateTestCaseBodyNameRegExp,
3670
3348
  updateTestCaseBodyOwnerAccountIdRegExp,
3671
- updateTestCaseParams,
3672
3349
  updateTestCasePathTestCaseKeyRegExp,
3673
- updateTestCycleBody,
3674
3350
  updateTestCycleBodyKeyRegExp,
3675
3351
  updateTestCycleBodyNameRegExp,
3676
3352
  updateTestCycleBodyOwnerAccountIdRegExp,
3677
- updateTestCycleParams,
3678
3353
  updateTestCyclePathTestCycleIdOrKeyRegExp,
3679
3354
  updateTestExecutionBodyAssignedToIdRegExp,
3680
3355
  updateTestExecutionBodyExecutedByIdRegExp,