thunderclient-mcp 1.0.12 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,47 +9,843 @@ interface ToolDefinition<TSchema extends ZodSchema, TResult> {
9
9
  handler: (client: ThunderClient, args: z.infer<TSchema>) => Promise<TResult>;
10
10
  }
11
11
  export declare const toolDefinitions: {
12
+ readonly thunder_debug: ToolDefinition<z.ZodObject<{
13
+ projectDir: z.ZodString;
14
+ }, z.core.$strip>, any>;
15
+ readonly thunder_list: ToolDefinition<z.ZodObject<{
16
+ projectDir: z.ZodString;
17
+ includeActivity: z.ZodOptional<z.ZodBoolean>;
18
+ }, z.core.$strip>, {
19
+ success: boolean;
20
+ error?: string;
21
+ result?: any[];
22
+ summary?: {
23
+ colId: string;
24
+ name: string;
25
+ folders: number;
26
+ requests: number;
27
+ }[];
28
+ total?: number;
29
+ collections?: number;
30
+ folders?: number;
31
+ requests?: number;
32
+ activityRequests?: number;
33
+ }>;
34
+ readonly thunder_list_by_id: ToolDefinition<z.ZodObject<{
35
+ id: z.ZodString;
36
+ projectDir: z.ZodString;
37
+ }, z.core.$strip>, {
38
+ success: boolean;
39
+ error?: string;
40
+ result?: any;
41
+ outline?: string;
42
+ }>;
43
+ readonly thunder_list_environments: ToolDefinition<z.ZodObject<{
44
+ projectDir: z.ZodString;
45
+ }, z.core.$strip>, {
46
+ success: boolean;
47
+ error?: string;
48
+ environments?: {
49
+ name: string;
50
+ active: boolean;
51
+ }[];
52
+ total?: number;
53
+ activeEnv?: string;
54
+ }>;
55
+ readonly thunder_create_collection: ToolDefinition<z.ZodObject<{
56
+ projectDir: z.ZodString;
57
+ collection: z.ZodString;
58
+ folder: z.ZodOptional<z.ZodString>;
59
+ }, z.core.$strip>, {
60
+ success: boolean;
61
+ error?: string;
62
+ folderId?: string;
63
+ folderName?: string;
64
+ collectionName?: string;
65
+ path?: string;
66
+ } | {
67
+ success: boolean;
68
+ error?: string;
69
+ colId?: string;
70
+ collectionName?: string;
71
+ } | {
72
+ success: boolean;
73
+ message: string;
74
+ }>;
75
+ readonly thunder_create_folder: ToolDefinition<z.ZodObject<{
76
+ projectDir: z.ZodString;
77
+ collectionName: z.ZodString;
78
+ folderName: z.ZodString;
79
+ parentFolderName: z.ZodOptional<z.ZodString>;
80
+ }, z.core.$strip>, {
81
+ success: boolean;
82
+ error?: string;
83
+ folderId?: string;
84
+ folderName?: string;
85
+ collectionName?: string;
86
+ path?: string;
87
+ }>;
12
88
  readonly thunder_curl: ToolDefinition<z.ZodObject<{
89
+ projectDir: z.ZodString;
13
90
  curlInput: z.ZodString;
14
91
  name: z.ZodString;
15
92
  collection: z.ZodOptional<z.ZodString>;
16
93
  folder: z.ZodOptional<z.ZodString>;
94
+ auth: z.ZodOptional<z.ZodObject<{
95
+ type: z.ZodEnum<{
96
+ aws: "aws";
97
+ ntlm: "ntlm";
98
+ none: "none";
99
+ inherit: "inherit";
100
+ basic: "basic";
101
+ bearer: "bearer";
102
+ oauth2: "oauth2";
103
+ }>;
104
+ bearer: z.ZodOptional<z.ZodString>;
105
+ basic: z.ZodOptional<z.ZodObject<{
106
+ username: z.ZodString;
107
+ password: z.ZodString;
108
+ }, z.core.$strip>>;
109
+ oauth2: z.ZodOptional<z.ZodObject<{
110
+ grantType: z.ZodEnum<{
111
+ password: "password";
112
+ client_credentials: "client_credentials";
113
+ authorization_code: "authorization_code";
114
+ implicit: "implicit";
115
+ }>;
116
+ tokenUrl: z.ZodString;
117
+ authUrl: z.ZodOptional<z.ZodString>;
118
+ clientId: z.ZodString;
119
+ clientSecret: z.ZodString;
120
+ username: z.ZodOptional<z.ZodString>;
121
+ password: z.ZodOptional<z.ZodString>;
122
+ scope: z.ZodOptional<z.ZodString>;
123
+ clientAuth: z.ZodOptional<z.ZodEnum<{
124
+ "in-header": "in-header";
125
+ "in-body": "in-body";
126
+ }>>;
127
+ }, z.core.$strip>>;
128
+ }, z.core.$strip>>;
129
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
130
+ type: z.ZodEnum<{
131
+ "res-code": "res-code";
132
+ "res-body": "res-body";
133
+ "res-time": "res-time";
134
+ "json-query": "json-query";
135
+ "Content-Type": "Content-Type";
136
+ "Content-Length": "Content-Length";
137
+ "custom-header": "custom-header";
138
+ "set-env-var": "set-env-var";
139
+ }>;
140
+ custom: z.ZodOptional<z.ZodString>;
141
+ action: z.ZodEnum<{
142
+ equal: "equal";
143
+ notequal: "notequal";
144
+ contains: "contains";
145
+ notcontains: "notcontains";
146
+ istype: "istype";
147
+ isjson: "isjson";
148
+ setto: "setto";
149
+ regex: "regex";
150
+ ">": ">";
151
+ ">=": ">=";
152
+ "<": "<";
153
+ "<=": "<=";
154
+ }>;
155
+ value: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$strip>>>;
157
+ preReq: z.ZodOptional<z.ZodObject<{
158
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ }, z.core.$strip>>;
160
+ postReq: z.ZodOptional<z.ZodObject<{
161
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
162
+ }, z.core.$strip>>;
163
+ docs: z.ZodOptional<z.ZodArray<z.ZodString>>;
164
+ }, z.core.$strip>, {
165
+ success: boolean;
166
+ error?: string;
167
+ reqName?: string;
168
+ savedTo?: string;
169
+ reqId?: string;
170
+ limitReached?: boolean;
171
+ limit?: any;
172
+ message?: string;
173
+ }>;
174
+ readonly thunder_edit_request: ToolDefinition<z.ZodObject<{
175
+ reqId: z.ZodString;
17
176
  projectDir: z.ZodString;
177
+ name: z.ZodOptional<z.ZodString>;
178
+ url: z.ZodOptional<z.ZodString>;
179
+ method: z.ZodOptional<z.ZodString>;
180
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
181
+ name: z.ZodString;
182
+ value: z.ZodString;
183
+ isDisabled: z.ZodOptional<z.ZodBoolean>;
184
+ }, z.core.$strip>>>;
185
+ params: z.ZodOptional<z.ZodArray<z.ZodObject<{
186
+ name: z.ZodString;
187
+ value: z.ZodString;
188
+ isPath: z.ZodOptional<z.ZodBoolean>;
189
+ isDisabled: z.ZodOptional<z.ZodBoolean>;
190
+ }, z.core.$strip>>>;
191
+ body: z.ZodOptional<z.ZodObject<{
192
+ type: z.ZodEnum<{
193
+ json: "json";
194
+ binary: "binary";
195
+ none: "none";
196
+ text: "text";
197
+ xml: "xml";
198
+ formdata: "formdata";
199
+ formencoded: "formencoded";
200
+ graphql: "graphql";
201
+ }>;
202
+ raw: z.ZodOptional<z.ZodString>;
203
+ form: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
+ name: z.ZodString;
205
+ value: z.ZodString;
206
+ }, z.core.$strip>>>;
207
+ }, z.core.$strip>>;
208
+ auth: z.ZodOptional<z.ZodObject<{
209
+ type: z.ZodEnum<{
210
+ aws: "aws";
211
+ ntlm: "ntlm";
212
+ none: "none";
213
+ inherit: "inherit";
214
+ basic: "basic";
215
+ bearer: "bearer";
216
+ oauth2: "oauth2";
217
+ }>;
218
+ bearer: z.ZodOptional<z.ZodString>;
219
+ basic: z.ZodOptional<z.ZodObject<{
220
+ username: z.ZodString;
221
+ password: z.ZodString;
222
+ }, z.core.$strip>>;
223
+ oauth2: z.ZodOptional<z.ZodObject<{
224
+ grantType: z.ZodEnum<{
225
+ password: "password";
226
+ client_credentials: "client_credentials";
227
+ authorization_code: "authorization_code";
228
+ implicit: "implicit";
229
+ }>;
230
+ tokenUrl: z.ZodString;
231
+ authUrl: z.ZodOptional<z.ZodString>;
232
+ clientId: z.ZodString;
233
+ clientSecret: z.ZodString;
234
+ username: z.ZodOptional<z.ZodString>;
235
+ password: z.ZodOptional<z.ZodString>;
236
+ scope: z.ZodOptional<z.ZodString>;
237
+ clientAuth: z.ZodOptional<z.ZodEnum<{
238
+ "in-header": "in-header";
239
+ "in-body": "in-body";
240
+ }>>;
241
+ }, z.core.$strip>>;
242
+ }, z.core.$strip>>;
243
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
244
+ type: z.ZodEnum<{
245
+ "res-code": "res-code";
246
+ "res-body": "res-body";
247
+ "res-time": "res-time";
248
+ "json-query": "json-query";
249
+ "Content-Type": "Content-Type";
250
+ "Content-Length": "Content-Length";
251
+ "custom-header": "custom-header";
252
+ "set-env-var": "set-env-var";
253
+ }>;
254
+ custom: z.ZodOptional<z.ZodString>;
255
+ action: z.ZodEnum<{
256
+ equal: "equal";
257
+ notequal: "notequal";
258
+ contains: "contains";
259
+ notcontains: "notcontains";
260
+ istype: "istype";
261
+ isjson: "isjson";
262
+ setto: "setto";
263
+ regex: "regex";
264
+ ">": ">";
265
+ ">=": ">=";
266
+ "<": "<";
267
+ "<=": "<=";
268
+ }>;
269
+ value: z.ZodOptional<z.ZodString>;
270
+ }, z.core.$strip>>>;
271
+ preReq: z.ZodOptional<z.ZodObject<{
272
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
273
+ }, z.core.$strip>>;
274
+ postReq: z.ZodOptional<z.ZodObject<{
275
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
276
+ }, z.core.$strip>>;
277
+ docs: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
278
  }, z.core.$strip>, {
19
279
  success: boolean;
20
280
  error?: string;
21
- projectDir?: string;
22
- version: string;
281
+ reqId?: string;
282
+ updated?: string[];
23
283
  }>;
24
- readonly thunder_debug: ToolDefinition<z.ZodObject<{
284
+ readonly thunder_set_settings: ToolDefinition<z.ZodObject<{
285
+ projectDir: z.ZodString;
286
+ collectionName: z.ZodString;
287
+ folderName: z.ZodOptional<z.ZodString>;
288
+ newName: z.ZodOptional<z.ZodString>;
289
+ createIfNotExists: z.ZodOptional<z.ZodBoolean>;
290
+ settings: z.ZodOptional<z.ZodObject<{
291
+ auth: z.ZodOptional<z.ZodObject<{
292
+ type: z.ZodEnum<{
293
+ aws: "aws";
294
+ ntlm: "ntlm";
295
+ none: "none";
296
+ inherit: "inherit";
297
+ basic: "basic";
298
+ bearer: "bearer";
299
+ oauth2: "oauth2";
300
+ }>;
301
+ bearer: z.ZodOptional<z.ZodString>;
302
+ basic: z.ZodOptional<z.ZodObject<{
303
+ username: z.ZodString;
304
+ password: z.ZodString;
305
+ }, z.core.$strip>>;
306
+ oauth2: z.ZodOptional<z.ZodObject<{
307
+ grantType: z.ZodEnum<{
308
+ password: "password";
309
+ client_credentials: "client_credentials";
310
+ authorization_code: "authorization_code";
311
+ implicit: "implicit";
312
+ }>;
313
+ tokenUrl: z.ZodString;
314
+ authUrl: z.ZodOptional<z.ZodString>;
315
+ clientId: z.ZodString;
316
+ clientSecret: z.ZodString;
317
+ username: z.ZodOptional<z.ZodString>;
318
+ password: z.ZodOptional<z.ZodString>;
319
+ scope: z.ZodOptional<z.ZodString>;
320
+ clientAuth: z.ZodOptional<z.ZodEnum<{
321
+ "in-header": "in-header";
322
+ "in-body": "in-body";
323
+ }>>;
324
+ }, z.core.$strip>>;
325
+ }, z.core.$strip>>;
326
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
327
+ name: z.ZodString;
328
+ value: z.ZodString;
329
+ isDisabled: z.ZodOptional<z.ZodBoolean>;
330
+ }, z.core.$strip>>>;
331
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
332
+ type: z.ZodEnum<{
333
+ "res-code": "res-code";
334
+ "res-body": "res-body";
335
+ "res-time": "res-time";
336
+ "json-query": "json-query";
337
+ "Content-Type": "Content-Type";
338
+ "Content-Length": "Content-Length";
339
+ "custom-header": "custom-header";
340
+ "set-env-var": "set-env-var";
341
+ }>;
342
+ custom: z.ZodOptional<z.ZodString>;
343
+ action: z.ZodEnum<{
344
+ equal: "equal";
345
+ notequal: "notequal";
346
+ contains: "contains";
347
+ notcontains: "notcontains";
348
+ istype: "istype";
349
+ isjson: "isjson";
350
+ setto: "setto";
351
+ regex: "regex";
352
+ ">": ">";
353
+ ">=": ">=";
354
+ "<": "<";
355
+ "<=": "<=";
356
+ }>;
357
+ value: z.ZodOptional<z.ZodString>;
358
+ }, z.core.$strip>>>;
359
+ envId: z.ZodOptional<z.ZodString>;
360
+ docs: z.ZodOptional<z.ZodArray<z.ZodString>>;
361
+ options: z.ZodOptional<z.ZodObject<{
362
+ baseUrl: z.ZodOptional<z.ZodString>;
363
+ }, z.core.$strip>>;
364
+ preReq: z.ZodOptional<z.ZodObject<{
365
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
366
+ }, z.core.$strip>>;
367
+ postReq: z.ZodOptional<z.ZodObject<{
368
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
369
+ }, z.core.$strip>>;
370
+ runOptions: z.ZodOptional<z.ZodObject<{
371
+ iterations: z.ZodOptional<z.ZodNumber>;
372
+ delay: z.ZodOptional<z.ZodNumber>;
373
+ dataFilePath: z.ZodOptional<z.ZodString>;
374
+ stopOnFail: z.ZodOptional<z.ZodBoolean>;
375
+ concurrent: z.ZodOptional<z.ZodNumber>;
376
+ runType: z.ZodOptional<z.ZodString>;
377
+ vusers: z.ZodOptional<z.ZodNumber>;
378
+ duration: z.ZodOptional<z.ZodNumber>;
379
+ perfType: z.ZodOptional<z.ZodString>;
380
+ }, z.core.$strip>>;
381
+ }, z.core.$strip>>;
382
+ }, z.core.$strip>, {
383
+ success: boolean;
384
+ error?: string;
385
+ target?: string;
386
+ renamed?: boolean;
387
+ settingsApplied?: string[];
388
+ }>;
389
+ readonly thunder_run: ToolDefinition<z.ZodObject<{
390
+ nameOrId: z.ZodString;
391
+ projectDir: z.ZodString;
392
+ env: z.ZodOptional<z.ZodString>;
393
+ }, z.core.$strip>, {
394
+ success: boolean;
395
+ error?: string;
396
+ result?: string;
397
+ envUsed?: string;
398
+ }>;
399
+ readonly thunder_run_collection: ToolDefinition<z.ZodObject<{
400
+ projectDir: z.ZodString;
401
+ collectionName: z.ZodString;
402
+ folderName: z.ZodOptional<z.ZodString>;
403
+ env: z.ZodOptional<z.ZodString>;
404
+ stopOnFail: z.ZodOptional<z.ZodBoolean>;
405
+ iterations: z.ZodOptional<z.ZodNumber>;
406
+ delay: z.ZodOptional<z.ZodNumber>;
407
+ concurrent: z.ZodOptional<z.ZodNumber>;
408
+ report: z.ZodOptional<z.ZodArray<z.ZodEnum<{
409
+ json: "json";
410
+ xml: "xml";
411
+ html: "html";
412
+ nunit: "nunit";
413
+ csv: "csv";
414
+ }>>>;
415
+ }, z.core.$strip>, {
416
+ success: boolean;
417
+ error?: string;
418
+ report?: any;
419
+ envUsed?: string;
420
+ summary?: any;
421
+ }>;
422
+ readonly thunder_delete_request: ToolDefinition<z.ZodObject<{
423
+ reqId: z.ZodString;
25
424
  projectDir: z.ZodString;
26
425
  }, z.core.$strip>, {
27
426
  success: boolean;
28
427
  error?: string;
29
- projectDir?: string;
30
- version: string;
428
+ deleted?: {
429
+ reqId: string;
430
+ reqName: string;
431
+ method: string;
432
+ url: string;
433
+ };
31
434
  }>;
32
435
  };
33
436
  export declare const tools: Tool[];
34
437
  export declare const toolHandlers: {
35
438
  [k: string]: ToolDefinition<z.ZodObject<{
439
+ projectDir: z.ZodString;
440
+ }, z.core.$strip>, any> | ToolDefinition<z.ZodObject<{
441
+ projectDir: z.ZodString;
442
+ includeActivity: z.ZodOptional<z.ZodBoolean>;
443
+ }, z.core.$strip>, {
444
+ success: boolean;
445
+ error?: string;
446
+ result?: any[];
447
+ summary?: {
448
+ colId: string;
449
+ name: string;
450
+ folders: number;
451
+ requests: number;
452
+ }[];
453
+ total?: number;
454
+ collections?: number;
455
+ folders?: number;
456
+ requests?: number;
457
+ activityRequests?: number;
458
+ }> | ToolDefinition<z.ZodObject<{
459
+ id: z.ZodString;
460
+ projectDir: z.ZodString;
461
+ }, z.core.$strip>, {
462
+ success: boolean;
463
+ error?: string;
464
+ result?: any;
465
+ outline?: string;
466
+ }> | ToolDefinition<z.ZodObject<{
467
+ projectDir: z.ZodString;
468
+ }, z.core.$strip>, {
469
+ success: boolean;
470
+ error?: string;
471
+ environments?: {
472
+ name: string;
473
+ active: boolean;
474
+ }[];
475
+ total?: number;
476
+ activeEnv?: string;
477
+ }> | ToolDefinition<z.ZodObject<{
478
+ projectDir: z.ZodString;
479
+ collection: z.ZodString;
480
+ folder: z.ZodOptional<z.ZodString>;
481
+ }, z.core.$strip>, {
482
+ success: boolean;
483
+ error?: string;
484
+ folderId?: string;
485
+ folderName?: string;
486
+ collectionName?: string;
487
+ path?: string;
488
+ } | {
489
+ success: boolean;
490
+ error?: string;
491
+ colId?: string;
492
+ collectionName?: string;
493
+ } | {
494
+ success: boolean;
495
+ message: string;
496
+ }> | ToolDefinition<z.ZodObject<{
497
+ projectDir: z.ZodString;
498
+ collectionName: z.ZodString;
499
+ folderName: z.ZodString;
500
+ parentFolderName: z.ZodOptional<z.ZodString>;
501
+ }, z.core.$strip>, {
502
+ success: boolean;
503
+ error?: string;
504
+ folderId?: string;
505
+ folderName?: string;
506
+ collectionName?: string;
507
+ path?: string;
508
+ }> | ToolDefinition<z.ZodObject<{
509
+ projectDir: z.ZodString;
36
510
  curlInput: z.ZodString;
37
511
  name: z.ZodString;
38
512
  collection: z.ZodOptional<z.ZodString>;
39
513
  folder: z.ZodOptional<z.ZodString>;
514
+ auth: z.ZodOptional<z.ZodObject<{
515
+ type: z.ZodEnum<{
516
+ aws: "aws";
517
+ ntlm: "ntlm";
518
+ none: "none";
519
+ inherit: "inherit";
520
+ basic: "basic";
521
+ bearer: "bearer";
522
+ oauth2: "oauth2";
523
+ }>;
524
+ bearer: z.ZodOptional<z.ZodString>;
525
+ basic: z.ZodOptional<z.ZodObject<{
526
+ username: z.ZodString;
527
+ password: z.ZodString;
528
+ }, z.core.$strip>>;
529
+ oauth2: z.ZodOptional<z.ZodObject<{
530
+ grantType: z.ZodEnum<{
531
+ password: "password";
532
+ client_credentials: "client_credentials";
533
+ authorization_code: "authorization_code";
534
+ implicit: "implicit";
535
+ }>;
536
+ tokenUrl: z.ZodString;
537
+ authUrl: z.ZodOptional<z.ZodString>;
538
+ clientId: z.ZodString;
539
+ clientSecret: z.ZodString;
540
+ username: z.ZodOptional<z.ZodString>;
541
+ password: z.ZodOptional<z.ZodString>;
542
+ scope: z.ZodOptional<z.ZodString>;
543
+ clientAuth: z.ZodOptional<z.ZodEnum<{
544
+ "in-header": "in-header";
545
+ "in-body": "in-body";
546
+ }>>;
547
+ }, z.core.$strip>>;
548
+ }, z.core.$strip>>;
549
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
550
+ type: z.ZodEnum<{
551
+ "res-code": "res-code";
552
+ "res-body": "res-body";
553
+ "res-time": "res-time";
554
+ "json-query": "json-query";
555
+ "Content-Type": "Content-Type";
556
+ "Content-Length": "Content-Length";
557
+ "custom-header": "custom-header";
558
+ "set-env-var": "set-env-var";
559
+ }>;
560
+ custom: z.ZodOptional<z.ZodString>;
561
+ action: z.ZodEnum<{
562
+ equal: "equal";
563
+ notequal: "notequal";
564
+ contains: "contains";
565
+ notcontains: "notcontains";
566
+ istype: "istype";
567
+ isjson: "isjson";
568
+ setto: "setto";
569
+ regex: "regex";
570
+ ">": ">";
571
+ ">=": ">=";
572
+ "<": "<";
573
+ "<=": "<=";
574
+ }>;
575
+ value: z.ZodOptional<z.ZodString>;
576
+ }, z.core.$strip>>>;
577
+ preReq: z.ZodOptional<z.ZodObject<{
578
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
579
+ }, z.core.$strip>>;
580
+ postReq: z.ZodOptional<z.ZodObject<{
581
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
582
+ }, z.core.$strip>>;
583
+ docs: z.ZodOptional<z.ZodArray<z.ZodString>>;
584
+ }, z.core.$strip>, {
585
+ success: boolean;
586
+ error?: string;
587
+ reqName?: string;
588
+ savedTo?: string;
589
+ reqId?: string;
590
+ limitReached?: boolean;
591
+ limit?: any;
592
+ message?: string;
593
+ }> | ToolDefinition<z.ZodObject<{
594
+ reqId: z.ZodString;
595
+ projectDir: z.ZodString;
596
+ name: z.ZodOptional<z.ZodString>;
597
+ url: z.ZodOptional<z.ZodString>;
598
+ method: z.ZodOptional<z.ZodString>;
599
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
600
+ name: z.ZodString;
601
+ value: z.ZodString;
602
+ isDisabled: z.ZodOptional<z.ZodBoolean>;
603
+ }, z.core.$strip>>>;
604
+ params: z.ZodOptional<z.ZodArray<z.ZodObject<{
605
+ name: z.ZodString;
606
+ value: z.ZodString;
607
+ isPath: z.ZodOptional<z.ZodBoolean>;
608
+ isDisabled: z.ZodOptional<z.ZodBoolean>;
609
+ }, z.core.$strip>>>;
610
+ body: z.ZodOptional<z.ZodObject<{
611
+ type: z.ZodEnum<{
612
+ json: "json";
613
+ binary: "binary";
614
+ none: "none";
615
+ text: "text";
616
+ xml: "xml";
617
+ formdata: "formdata";
618
+ formencoded: "formencoded";
619
+ graphql: "graphql";
620
+ }>;
621
+ raw: z.ZodOptional<z.ZodString>;
622
+ form: z.ZodOptional<z.ZodArray<z.ZodObject<{
623
+ name: z.ZodString;
624
+ value: z.ZodString;
625
+ }, z.core.$strip>>>;
626
+ }, z.core.$strip>>;
627
+ auth: z.ZodOptional<z.ZodObject<{
628
+ type: z.ZodEnum<{
629
+ aws: "aws";
630
+ ntlm: "ntlm";
631
+ none: "none";
632
+ inherit: "inherit";
633
+ basic: "basic";
634
+ bearer: "bearer";
635
+ oauth2: "oauth2";
636
+ }>;
637
+ bearer: z.ZodOptional<z.ZodString>;
638
+ basic: z.ZodOptional<z.ZodObject<{
639
+ username: z.ZodString;
640
+ password: z.ZodString;
641
+ }, z.core.$strip>>;
642
+ oauth2: z.ZodOptional<z.ZodObject<{
643
+ grantType: z.ZodEnum<{
644
+ password: "password";
645
+ client_credentials: "client_credentials";
646
+ authorization_code: "authorization_code";
647
+ implicit: "implicit";
648
+ }>;
649
+ tokenUrl: z.ZodString;
650
+ authUrl: z.ZodOptional<z.ZodString>;
651
+ clientId: z.ZodString;
652
+ clientSecret: z.ZodString;
653
+ username: z.ZodOptional<z.ZodString>;
654
+ password: z.ZodOptional<z.ZodString>;
655
+ scope: z.ZodOptional<z.ZodString>;
656
+ clientAuth: z.ZodOptional<z.ZodEnum<{
657
+ "in-header": "in-header";
658
+ "in-body": "in-body";
659
+ }>>;
660
+ }, z.core.$strip>>;
661
+ }, z.core.$strip>>;
662
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
663
+ type: z.ZodEnum<{
664
+ "res-code": "res-code";
665
+ "res-body": "res-body";
666
+ "res-time": "res-time";
667
+ "json-query": "json-query";
668
+ "Content-Type": "Content-Type";
669
+ "Content-Length": "Content-Length";
670
+ "custom-header": "custom-header";
671
+ "set-env-var": "set-env-var";
672
+ }>;
673
+ custom: z.ZodOptional<z.ZodString>;
674
+ action: z.ZodEnum<{
675
+ equal: "equal";
676
+ notequal: "notequal";
677
+ contains: "contains";
678
+ notcontains: "notcontains";
679
+ istype: "istype";
680
+ isjson: "isjson";
681
+ setto: "setto";
682
+ regex: "regex";
683
+ ">": ">";
684
+ ">=": ">=";
685
+ "<": "<";
686
+ "<=": "<=";
687
+ }>;
688
+ value: z.ZodOptional<z.ZodString>;
689
+ }, z.core.$strip>>>;
690
+ preReq: z.ZodOptional<z.ZodObject<{
691
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
692
+ }, z.core.$strip>>;
693
+ postReq: z.ZodOptional<z.ZodObject<{
694
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
695
+ }, z.core.$strip>>;
696
+ docs: z.ZodOptional<z.ZodArray<z.ZodString>>;
697
+ }, z.core.$strip>, {
698
+ success: boolean;
699
+ error?: string;
700
+ reqId?: string;
701
+ updated?: string[];
702
+ }> | ToolDefinition<z.ZodObject<{
703
+ projectDir: z.ZodString;
704
+ collectionName: z.ZodString;
705
+ folderName: z.ZodOptional<z.ZodString>;
706
+ newName: z.ZodOptional<z.ZodString>;
707
+ createIfNotExists: z.ZodOptional<z.ZodBoolean>;
708
+ settings: z.ZodOptional<z.ZodObject<{
709
+ auth: z.ZodOptional<z.ZodObject<{
710
+ type: z.ZodEnum<{
711
+ aws: "aws";
712
+ ntlm: "ntlm";
713
+ none: "none";
714
+ inherit: "inherit";
715
+ basic: "basic";
716
+ bearer: "bearer";
717
+ oauth2: "oauth2";
718
+ }>;
719
+ bearer: z.ZodOptional<z.ZodString>;
720
+ basic: z.ZodOptional<z.ZodObject<{
721
+ username: z.ZodString;
722
+ password: z.ZodString;
723
+ }, z.core.$strip>>;
724
+ oauth2: z.ZodOptional<z.ZodObject<{
725
+ grantType: z.ZodEnum<{
726
+ password: "password";
727
+ client_credentials: "client_credentials";
728
+ authorization_code: "authorization_code";
729
+ implicit: "implicit";
730
+ }>;
731
+ tokenUrl: z.ZodString;
732
+ authUrl: z.ZodOptional<z.ZodString>;
733
+ clientId: z.ZodString;
734
+ clientSecret: z.ZodString;
735
+ username: z.ZodOptional<z.ZodString>;
736
+ password: z.ZodOptional<z.ZodString>;
737
+ scope: z.ZodOptional<z.ZodString>;
738
+ clientAuth: z.ZodOptional<z.ZodEnum<{
739
+ "in-header": "in-header";
740
+ "in-body": "in-body";
741
+ }>>;
742
+ }, z.core.$strip>>;
743
+ }, z.core.$strip>>;
744
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
745
+ name: z.ZodString;
746
+ value: z.ZodString;
747
+ isDisabled: z.ZodOptional<z.ZodBoolean>;
748
+ }, z.core.$strip>>>;
749
+ tests: z.ZodOptional<z.ZodArray<z.ZodObject<{
750
+ type: z.ZodEnum<{
751
+ "res-code": "res-code";
752
+ "res-body": "res-body";
753
+ "res-time": "res-time";
754
+ "json-query": "json-query";
755
+ "Content-Type": "Content-Type";
756
+ "Content-Length": "Content-Length";
757
+ "custom-header": "custom-header";
758
+ "set-env-var": "set-env-var";
759
+ }>;
760
+ custom: z.ZodOptional<z.ZodString>;
761
+ action: z.ZodEnum<{
762
+ equal: "equal";
763
+ notequal: "notequal";
764
+ contains: "contains";
765
+ notcontains: "notcontains";
766
+ istype: "istype";
767
+ isjson: "isjson";
768
+ setto: "setto";
769
+ regex: "regex";
770
+ ">": ">";
771
+ ">=": ">=";
772
+ "<": "<";
773
+ "<=": "<=";
774
+ }>;
775
+ value: z.ZodOptional<z.ZodString>;
776
+ }, z.core.$strip>>>;
777
+ envId: z.ZodOptional<z.ZodString>;
778
+ docs: z.ZodOptional<z.ZodArray<z.ZodString>>;
779
+ options: z.ZodOptional<z.ZodObject<{
780
+ baseUrl: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strip>>;
782
+ preReq: z.ZodOptional<z.ZodObject<{
783
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
784
+ }, z.core.$strip>>;
785
+ postReq: z.ZodOptional<z.ZodObject<{
786
+ inlineScripts: z.ZodOptional<z.ZodArray<z.ZodString>>;
787
+ }, z.core.$strip>>;
788
+ runOptions: z.ZodOptional<z.ZodObject<{
789
+ iterations: z.ZodOptional<z.ZodNumber>;
790
+ delay: z.ZodOptional<z.ZodNumber>;
791
+ dataFilePath: z.ZodOptional<z.ZodString>;
792
+ stopOnFail: z.ZodOptional<z.ZodBoolean>;
793
+ concurrent: z.ZodOptional<z.ZodNumber>;
794
+ runType: z.ZodOptional<z.ZodString>;
795
+ vusers: z.ZodOptional<z.ZodNumber>;
796
+ duration: z.ZodOptional<z.ZodNumber>;
797
+ perfType: z.ZodOptional<z.ZodString>;
798
+ }, z.core.$strip>>;
799
+ }, z.core.$strip>>;
800
+ }, z.core.$strip>, {
801
+ success: boolean;
802
+ error?: string;
803
+ target?: string;
804
+ renamed?: boolean;
805
+ settingsApplied?: string[];
806
+ }> | ToolDefinition<z.ZodObject<{
807
+ nameOrId: z.ZodString;
808
+ projectDir: z.ZodString;
809
+ env: z.ZodOptional<z.ZodString>;
810
+ }, z.core.$strip>, {
811
+ success: boolean;
812
+ error?: string;
813
+ result?: string;
814
+ envUsed?: string;
815
+ }> | ToolDefinition<z.ZodObject<{
40
816
  projectDir: z.ZodString;
817
+ collectionName: z.ZodString;
818
+ folderName: z.ZodOptional<z.ZodString>;
819
+ env: z.ZodOptional<z.ZodString>;
820
+ stopOnFail: z.ZodOptional<z.ZodBoolean>;
821
+ iterations: z.ZodOptional<z.ZodNumber>;
822
+ delay: z.ZodOptional<z.ZodNumber>;
823
+ concurrent: z.ZodOptional<z.ZodNumber>;
824
+ report: z.ZodOptional<z.ZodArray<z.ZodEnum<{
825
+ json: "json";
826
+ xml: "xml";
827
+ html: "html";
828
+ nunit: "nunit";
829
+ csv: "csv";
830
+ }>>>;
41
831
  }, z.core.$strip>, {
42
832
  success: boolean;
43
833
  error?: string;
44
- projectDir?: string;
45
- version: string;
834
+ report?: any;
835
+ envUsed?: string;
836
+ summary?: any;
46
837
  }> | ToolDefinition<z.ZodObject<{
838
+ reqId: z.ZodString;
47
839
  projectDir: z.ZodString;
48
840
  }, z.core.$strip>, {
49
841
  success: boolean;
50
842
  error?: string;
51
- projectDir?: string;
52
- version: string;
843
+ deleted?: {
844
+ reqId: string;
845
+ reqName: string;
846
+ method: string;
847
+ url: string;
848
+ };
53
849
  }>;
54
850
  };
55
851
  export declare const toolNames: Record<string, string>;