@autifyhq/autify-sdk 0.1.0-beta.2

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.
Files changed (31) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +18 -0
  3. package/dist/debug.d.ts +1 -0
  4. package/dist/debug.js +11 -0
  5. package/dist/generated/mobile/client.d.ts +32 -0
  6. package/dist/generated/mobile/client.js +62 -0
  7. package/dist/generated/mobile/openapi/api.d.ts +316 -0
  8. package/dist/generated/mobile/openapi/api.js +277 -0
  9. package/dist/generated/mobile/openapi/base.d.ts +55 -0
  10. package/dist/generated/mobile/openapi/base.js +61 -0
  11. package/dist/generated/mobile/openapi/common.d.ts +66 -0
  12. package/dist/generated/mobile/openapi/common.js +144 -0
  13. package/dist/generated/mobile/openapi/configuration.d.ts +83 -0
  14. package/dist/generated/mobile/openapi/configuration.js +44 -0
  15. package/dist/generated/mobile/openapi/index.d.ts +13 -0
  16. package/dist/generated/mobile/openapi/index.js +18 -0
  17. package/dist/generated/web/client.d.ts +117 -0
  18. package/dist/generated/web/client.js +165 -0
  19. package/dist/generated/web/openapi/api.d.ts +1402 -0
  20. package/dist/generated/web/openapi/api.js +1135 -0
  21. package/dist/generated/web/openapi/base.d.ts +55 -0
  22. package/dist/generated/web/openapi/base.js +61 -0
  23. package/dist/generated/web/openapi/common.d.ts +66 -0
  24. package/dist/generated/web/openapi/common.js +144 -0
  25. package/dist/generated/web/openapi/configuration.d.ts +83 -0
  26. package/dist/generated/web/openapi/configuration.js +44 -0
  27. package/dist/generated/web/openapi/index.d.ts +13 -0
  28. package/dist/generated/web/openapi/index.js +18 -0
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.js +10 -0
  31. package/package.json +60 -0
@@ -0,0 +1,1402 @@
1
+ /**
2
+ * Autify API
3
+ * ## Authorization You can authenticate the API by using a personal access token and passing it to the Bearer header. To generate or manage API keys、please visit [your account page](https://app.autify.com/settings). Example of using a personal access token in the header: ``` curl -H \"Authorization: Bearer YOUR_PERSONAL_ACCESS_TOKEN\" https://app.autify.com/api/v1/ ``` If the credentials are invalid or omitted, an error message is returned with status code 401: ``` { \"errors\":[{ \"message\": \"Bad credentials\" }] } ```
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Configuration } from "./configuration";
13
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from "axios";
14
+ import { RequestArgs, BaseAPI } from "./base";
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Capability
19
+ */
20
+ export interface Capability {
21
+ /**
22
+ *
23
+ * @type {number}
24
+ * @memberof Capability
25
+ */
26
+ id?: number;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof Capability
31
+ */
32
+ os?: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof Capability
37
+ */
38
+ os_version?: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof Capability
43
+ */
44
+ browser?: string;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof Capability
49
+ */
50
+ browser_version?: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof Capability
55
+ */
56
+ device?: string;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof Capability
61
+ */
62
+ resolution?: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof Capability
67
+ */
68
+ created_at?: string;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof Capability
73
+ */
74
+ updated_at?: string;
75
+ }
76
+ /**
77
+ *
78
+ * @export
79
+ * @interface CapabilityOption
80
+ */
81
+ export interface CapabilityOption {
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof CapabilityOption
86
+ */
87
+ os?: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof CapabilityOption
92
+ */
93
+ os_version?: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof CapabilityOption
98
+ */
99
+ browser?: string;
100
+ /**
101
+ *
102
+ * @type {string}
103
+ * @memberof CapabilityOption
104
+ */
105
+ browser_version?: string;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof CapabilityOption
110
+ */
111
+ device?: string;
112
+ /**
113
+ *
114
+ * @type {string}
115
+ * @memberof CapabilityOption
116
+ */
117
+ device_type?: string;
118
+ /**
119
+ *
120
+ * @type {boolean}
121
+ * @memberof CapabilityOption
122
+ */
123
+ unsupported?: boolean;
124
+ }
125
+ /**
126
+ *
127
+ * @export
128
+ * @interface CreateUrlReplacementRequest
129
+ */
130
+ export interface CreateUrlReplacementRequest {
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof CreateUrlReplacementRequest
135
+ */
136
+ pattern_url: string;
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof CreateUrlReplacementRequest
141
+ */
142
+ replacement_url: string;
143
+ }
144
+ /**
145
+ *
146
+ * @export
147
+ * @interface DescribeResult200Response
148
+ */
149
+ export interface DescribeResult200Response {
150
+ /**
151
+ *
152
+ * @type {number}
153
+ * @memberof DescribeResult200Response
154
+ */
155
+ id?: number;
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof DescribeResult200Response
160
+ */
161
+ status?: DescribeResult200ResponseStatusEnum;
162
+ /**
163
+ *
164
+ * @type {number}
165
+ * @memberof DescribeResult200Response
166
+ */
167
+ duration?: number;
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof DescribeResult200Response
172
+ */
173
+ started_at?: string;
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof DescribeResult200Response
178
+ */
179
+ finished_at?: string;
180
+ /**
181
+ *
182
+ * @type {string}
183
+ * @memberof DescribeResult200Response
184
+ */
185
+ created_at?: string;
186
+ /**
187
+ *
188
+ * @type {string}
189
+ * @memberof DescribeResult200Response
190
+ */
191
+ updated_at?: string;
192
+ /**
193
+ *
194
+ * @type {Array<DescribeResult200ResponseTestPlanCapabilityResultsInner>}
195
+ * @memberof DescribeResult200Response
196
+ */
197
+ test_plan_capability_results?: Array<DescribeResult200ResponseTestPlanCapabilityResultsInner>;
198
+ /**
199
+ *
200
+ * @type {DescribeResult200ResponseTestPlan}
201
+ * @memberof DescribeResult200Response
202
+ */
203
+ test_plan?: DescribeResult200ResponseTestPlan;
204
+ }
205
+ export declare const DescribeResult200ResponseStatusEnum: {
206
+ readonly Queuing: "queuing";
207
+ readonly Waiting: "waiting";
208
+ readonly Running: "running";
209
+ readonly Passed: "passed";
210
+ readonly Failed: "failed";
211
+ readonly Skipped: "skipped";
212
+ };
213
+ export declare type DescribeResult200ResponseStatusEnum = typeof DescribeResult200ResponseStatusEnum[keyof typeof DescribeResult200ResponseStatusEnum];
214
+ /**
215
+ *
216
+ * @export
217
+ * @interface DescribeResult200ResponseTestPlan
218
+ */
219
+ export interface DescribeResult200ResponseTestPlan {
220
+ /**
221
+ *
222
+ * @type {number}
223
+ * @memberof DescribeResult200ResponseTestPlan
224
+ */
225
+ id?: number;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof DescribeResult200ResponseTestPlan
230
+ */
231
+ name?: string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof DescribeResult200ResponseTestPlan
236
+ */
237
+ created_at?: string;
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof DescribeResult200ResponseTestPlan
242
+ */
243
+ updated_at?: string;
244
+ }
245
+ /**
246
+ *
247
+ * @export
248
+ * @interface DescribeResult200ResponseTestPlanCapabilityResultsInner
249
+ */
250
+ export interface DescribeResult200ResponseTestPlanCapabilityResultsInner {
251
+ /**
252
+ *
253
+ * @type {number}
254
+ * @memberof DescribeResult200ResponseTestPlanCapabilityResultsInner
255
+ */
256
+ id?: number;
257
+ /**
258
+ *
259
+ * @type {Capability}
260
+ * @memberof DescribeResult200ResponseTestPlanCapabilityResultsInner
261
+ */
262
+ capability?: Capability;
263
+ /**
264
+ *
265
+ * @type {Array<TestCaseResult>}
266
+ * @memberof DescribeResult200ResponseTestPlanCapabilityResultsInner
267
+ */
268
+ test_case_results?: Array<TestCaseResult>;
269
+ }
270
+ /**
271
+ *
272
+ * @export
273
+ * @interface ExecuteScenarios401Response
274
+ */
275
+ export interface ExecuteScenarios401Response {
276
+ /**
277
+ *
278
+ * @type {Array<ExecuteScenarios401ResponseErrorsInner>}
279
+ * @memberof ExecuteScenarios401Response
280
+ */
281
+ errors?: Array<ExecuteScenarios401ResponseErrorsInner>;
282
+ }
283
+ /**
284
+ *
285
+ * @export
286
+ * @interface ExecuteScenarios401ResponseErrorsInner
287
+ */
288
+ export interface ExecuteScenarios401ResponseErrorsInner {
289
+ /**
290
+ *
291
+ * @type {number}
292
+ * @memberof ExecuteScenarios401ResponseErrorsInner
293
+ */
294
+ code?: number;
295
+ /**
296
+ *
297
+ * @type {string}
298
+ * @memberof ExecuteScenarios401ResponseErrorsInner
299
+ */
300
+ message?: string;
301
+ }
302
+ /**
303
+ *
304
+ * @export
305
+ * @interface ExecuteScenarios404Response
306
+ */
307
+ export interface ExecuteScenarios404Response {
308
+ /**
309
+ *
310
+ * @type {Array<ExecuteScenarios404ResponseErrorsInner>}
311
+ * @memberof ExecuteScenarios404Response
312
+ */
313
+ errors?: Array<ExecuteScenarios404ResponseErrorsInner>;
314
+ }
315
+ /**
316
+ *
317
+ * @export
318
+ * @interface ExecuteScenarios404ResponseErrorsInner
319
+ */
320
+ export interface ExecuteScenarios404ResponseErrorsInner {
321
+ /**
322
+ *
323
+ * @type {number}
324
+ * @memberof ExecuteScenarios404ResponseErrorsInner
325
+ */
326
+ code?: number;
327
+ /**
328
+ *
329
+ * @type {string}
330
+ * @memberof ExecuteScenarios404ResponseErrorsInner
331
+ */
332
+ message?: string;
333
+ }
334
+ /**
335
+ *
336
+ * @export
337
+ * @interface ExecuteScenariosRequest
338
+ */
339
+ export interface ExecuteScenariosRequest {
340
+ /**
341
+ * Defaults to \"API execution {{time_at(Time.now, organization.timezone)}}\"
342
+ * @type {string}
343
+ * @memberof ExecuteScenariosRequest
344
+ */
345
+ name?: string;
346
+ /**
347
+ * Defaults to \"parallel\" (\"sequential\" In case parallel execution was disabled in the workspace)
348
+ * @type {string}
349
+ * @memberof ExecuteScenariosRequest
350
+ */
351
+ execution_type?: ExecuteScenariosRequestExecutionTypeEnum;
352
+ /**
353
+ *
354
+ * @type {Array<ExecuteScenariosRequestCapabilitiesInner>}
355
+ * @memberof ExecuteScenariosRequest
356
+ */
357
+ capabilities: Array<ExecuteScenariosRequestCapabilitiesInner>;
358
+ /**
359
+ *
360
+ * @type {Array<CreateUrlReplacementRequest>}
361
+ * @memberof ExecuteScenariosRequest
362
+ */
363
+ url_replacements?: Array<CreateUrlReplacementRequest>;
364
+ /**
365
+ *
366
+ * @type {Array<ExecuteScenariosRequestScenariosInner>}
367
+ * @memberof ExecuteScenariosRequest
368
+ */
369
+ scenarios: Array<ExecuteScenariosRequestScenariosInner>;
370
+ }
371
+ export declare const ExecuteScenariosRequestExecutionTypeEnum: {
372
+ readonly Parallel: "parallel";
373
+ readonly Sequential: "sequential";
374
+ };
375
+ export declare type ExecuteScenariosRequestExecutionTypeEnum = typeof ExecuteScenariosRequestExecutionTypeEnum[keyof typeof ExecuteScenariosRequestExecutionTypeEnum];
376
+ /**
377
+ *
378
+ * @export
379
+ * @interface ExecuteScenariosRequestCapabilitiesInner
380
+ */
381
+ export interface ExecuteScenariosRequestCapabilitiesInner {
382
+ /**
383
+ *
384
+ * @type {string}
385
+ * @memberof ExecuteScenariosRequestCapabilitiesInner
386
+ */
387
+ os?: string;
388
+ /**
389
+ *
390
+ * @type {string}
391
+ * @memberof ExecuteScenariosRequestCapabilitiesInner
392
+ */
393
+ os_version?: string;
394
+ /**
395
+ *
396
+ * @type {string}
397
+ * @memberof ExecuteScenariosRequestCapabilitiesInner
398
+ */
399
+ device?: string;
400
+ /**
401
+ *
402
+ * @type {string}
403
+ * @memberof ExecuteScenariosRequestCapabilitiesInner
404
+ */
405
+ device_type?: string;
406
+ /**
407
+ *
408
+ * @type {string}
409
+ * @memberof ExecuteScenariosRequestCapabilitiesInner
410
+ */
411
+ browser?: string;
412
+ /**
413
+ *
414
+ * @type {string}
415
+ * @memberof ExecuteScenariosRequestCapabilitiesInner
416
+ */
417
+ browser_version?: string;
418
+ }
419
+ /**
420
+ *
421
+ * @export
422
+ * @interface ExecuteScenariosRequestScenariosInner
423
+ */
424
+ export interface ExecuteScenariosRequestScenariosInner {
425
+ /**
426
+ *
427
+ * @type {number}
428
+ * @memberof ExecuteScenariosRequestScenariosInner
429
+ */
430
+ id: number;
431
+ }
432
+ /**
433
+ *
434
+ * @export
435
+ * @interface ExecuteScenariosResult
436
+ */
437
+ export interface ExecuteScenariosResult {
438
+ /**
439
+ *
440
+ * @type {number}
441
+ * @memberof ExecuteScenariosResult
442
+ */
443
+ result_id: number;
444
+ }
445
+ /**
446
+ *
447
+ * @export
448
+ * @interface ExecuteSchedule200Response
449
+ */
450
+ export interface ExecuteSchedule200Response {
451
+ /**
452
+ *
453
+ * @type {ExecuteSchedule200ResponseData}
454
+ * @memberof ExecuteSchedule200Response
455
+ */
456
+ data: ExecuteSchedule200ResponseData;
457
+ }
458
+ /**
459
+ *
460
+ * @export
461
+ * @interface ExecuteSchedule200ResponseData
462
+ */
463
+ export interface ExecuteSchedule200ResponseData {
464
+ /**
465
+ *
466
+ * @type {number}
467
+ * @memberof ExecuteSchedule200ResponseData
468
+ */
469
+ id: number;
470
+ /**
471
+ *
472
+ * @type {string}
473
+ * @memberof ExecuteSchedule200ResponseData
474
+ */
475
+ type: string;
476
+ /**
477
+ *
478
+ * @type {ExecuteSchedule200ResponseDataAttributes}
479
+ * @memberof ExecuteSchedule200ResponseData
480
+ */
481
+ attributes: ExecuteSchedule200ResponseDataAttributes;
482
+ }
483
+ /**
484
+ *
485
+ * @export
486
+ * @interface ExecuteSchedule200ResponseDataAttributes
487
+ */
488
+ export interface ExecuteSchedule200ResponseDataAttributes {
489
+ /**
490
+ *
491
+ * @type {number}
492
+ * @memberof ExecuteSchedule200ResponseDataAttributes
493
+ */
494
+ id?: number;
495
+ }
496
+ /**
497
+ *
498
+ * @export
499
+ * @interface ExecuteSchedule401Response
500
+ */
501
+ export interface ExecuteSchedule401Response {
502
+ /**
503
+ *
504
+ * @type {Array<ExecuteSchedule401ResponseErrorsInner>}
505
+ * @memberof ExecuteSchedule401Response
506
+ */
507
+ errors?: Array<ExecuteSchedule401ResponseErrorsInner>;
508
+ }
509
+ /**
510
+ *
511
+ * @export
512
+ * @interface ExecuteSchedule401ResponseErrorsInner
513
+ */
514
+ export interface ExecuteSchedule401ResponseErrorsInner {
515
+ /**
516
+ *
517
+ * @type {string}
518
+ * @memberof ExecuteSchedule401ResponseErrorsInner
519
+ */
520
+ message?: string;
521
+ }
522
+ /**
523
+ *
524
+ * @export
525
+ * @interface ExecuteSchedule404Response
526
+ */
527
+ export interface ExecuteSchedule404Response {
528
+ /**
529
+ *
530
+ * @type {Array<ExecuteSchedule404ResponseErrorsInner>}
531
+ * @memberof ExecuteSchedule404Response
532
+ */
533
+ errors?: Array<ExecuteSchedule404ResponseErrorsInner>;
534
+ }
535
+ /**
536
+ *
537
+ * @export
538
+ * @interface ExecuteSchedule404ResponseErrorsInner
539
+ */
540
+ export interface ExecuteSchedule404ResponseErrorsInner {
541
+ /**
542
+ *
543
+ * @type {string}
544
+ * @memberof ExecuteSchedule404ResponseErrorsInner
545
+ */
546
+ message?: string;
547
+ }
548
+ /**
549
+ *
550
+ * @export
551
+ * @interface Label
552
+ */
553
+ export interface Label {
554
+ /**
555
+ *
556
+ * @type {number}
557
+ * @memberof Label
558
+ */
559
+ id?: number;
560
+ /**
561
+ *
562
+ * @type {string}
563
+ * @memberof Label
564
+ */
565
+ name?: string;
566
+ /**
567
+ *
568
+ * @type {string}
569
+ * @memberof Label
570
+ */
571
+ color?: string;
572
+ /**
573
+ *
574
+ * @type {string}
575
+ * @memberof Label
576
+ */
577
+ created_at?: string;
578
+ /**
579
+ *
580
+ * @type {string}
581
+ * @memberof Label
582
+ */
583
+ updated_at?: string;
584
+ }
585
+ /**
586
+ *
587
+ * @export
588
+ * @interface Story
589
+ */
590
+ export interface Story {
591
+ /**
592
+ *
593
+ * @type {number}
594
+ * @memberof Story
595
+ */
596
+ id?: number;
597
+ /**
598
+ *
599
+ * @type {string}
600
+ * @memberof Story
601
+ */
602
+ name?: string;
603
+ /**
604
+ *
605
+ * @type {string}
606
+ * @memberof Story
607
+ */
608
+ created_at?: string;
609
+ /**
610
+ *
611
+ * @type {string}
612
+ * @memberof Story
613
+ */
614
+ updated_at?: string;
615
+ /**
616
+ *
617
+ * @type {Array<Label>}
618
+ * @memberof Story
619
+ */
620
+ labels?: Array<Label>;
621
+ }
622
+ /**
623
+ *
624
+ * @export
625
+ * @interface TestCaseResult
626
+ */
627
+ export interface TestCaseResult {
628
+ /**
629
+ *
630
+ * @type {number}
631
+ * @memberof TestCaseResult
632
+ */
633
+ id?: number;
634
+ /**
635
+ *
636
+ * @type {string}
637
+ * @memberof TestCaseResult
638
+ */
639
+ status?: TestCaseResultStatusEnum;
640
+ /**
641
+ *
642
+ * @type {number}
643
+ * @memberof TestCaseResult
644
+ */
645
+ duration?: number;
646
+ /**
647
+ *
648
+ * @type {string}
649
+ * @memberof TestCaseResult
650
+ */
651
+ started_at?: string;
652
+ /**
653
+ *
654
+ * @type {string}
655
+ * @memberof TestCaseResult
656
+ */
657
+ finished_at?: string;
658
+ /**
659
+ *
660
+ * @type {string}
661
+ * @memberof TestCaseResult
662
+ */
663
+ created_at?: string;
664
+ /**
665
+ *
666
+ * @type {string}
667
+ * @memberof TestCaseResult
668
+ */
669
+ updated_at?: string;
670
+ /**
671
+ *
672
+ * @type {number}
673
+ * @memberof TestCaseResult
674
+ */
675
+ test_case_id?: number;
676
+ /**
677
+ *
678
+ * @type {string}
679
+ * @memberof TestCaseResult
680
+ */
681
+ project_url?: string;
682
+ /**
683
+ *
684
+ * @type {number}
685
+ * @memberof TestCaseResult
686
+ */
687
+ review_needed?: number;
688
+ }
689
+ export declare const TestCaseResultStatusEnum: {
690
+ readonly Waiting: "waiting";
691
+ readonly Running: "running";
692
+ readonly Passed: "passed";
693
+ readonly Failed: "failed";
694
+ readonly Skipped: "skipped";
695
+ };
696
+ export declare type TestCaseResultStatusEnum = typeof TestCaseResultStatusEnum[keyof typeof TestCaseResultStatusEnum];
697
+ /**
698
+ *
699
+ * @export
700
+ * @interface TestPlan
701
+ */
702
+ export interface TestPlan {
703
+ /**
704
+ *
705
+ * @type {number}
706
+ * @memberof TestPlan
707
+ */
708
+ id?: number;
709
+ /**
710
+ *
711
+ * @type {string}
712
+ * @memberof TestPlan
713
+ */
714
+ name?: string;
715
+ }
716
+ /**
717
+ *
718
+ * @export
719
+ * @interface TestPlanCapabilityResult
720
+ */
721
+ export interface TestPlanCapabilityResult {
722
+ /**
723
+ *
724
+ * @type {number}
725
+ * @memberof TestPlanCapabilityResult
726
+ */
727
+ id?: number;
728
+ /**
729
+ *
730
+ * @type {string}
731
+ * @memberof TestPlanCapabilityResult
732
+ */
733
+ status?: TestPlanCapabilityResultStatusEnum;
734
+ /**
735
+ *
736
+ * @type {number}
737
+ * @memberof TestPlanCapabilityResult
738
+ */
739
+ duration?: number;
740
+ /**
741
+ *
742
+ * @type {string}
743
+ * @memberof TestPlanCapabilityResult
744
+ */
745
+ started_at?: string;
746
+ /**
747
+ *
748
+ * @type {string}
749
+ * @memberof TestPlanCapabilityResult
750
+ */
751
+ finished_at?: string;
752
+ /**
753
+ *
754
+ * @type {string}
755
+ * @memberof TestPlanCapabilityResult
756
+ */
757
+ created_at?: string;
758
+ /**
759
+ *
760
+ * @type {string}
761
+ * @memberof TestPlanCapabilityResult
762
+ */
763
+ updated_at?: string;
764
+ }
765
+ export declare const TestPlanCapabilityResultStatusEnum: {
766
+ readonly Waiting: "waiting";
767
+ readonly Running: "running";
768
+ readonly Passed: "passed";
769
+ readonly Failed: "failed";
770
+ readonly Skipped: "skipped";
771
+ };
772
+ export declare type TestPlanCapabilityResultStatusEnum = typeof TestPlanCapabilityResultStatusEnum[keyof typeof TestPlanCapabilityResultStatusEnum];
773
+ /**
774
+ *
775
+ * @export
776
+ * @interface TestPlanResult
777
+ */
778
+ export interface TestPlanResult {
779
+ /**
780
+ *
781
+ * @type {number}
782
+ * @memberof TestPlanResult
783
+ */
784
+ id?: number;
785
+ /**
786
+ *
787
+ * @type {string}
788
+ * @memberof TestPlanResult
789
+ */
790
+ status?: TestPlanResultStatusEnum;
791
+ /**
792
+ *
793
+ * @type {number}
794
+ * @memberof TestPlanResult
795
+ */
796
+ duration?: number;
797
+ /**
798
+ *
799
+ * @type {string}
800
+ * @memberof TestPlanResult
801
+ */
802
+ started_at?: string;
803
+ /**
804
+ *
805
+ * @type {string}
806
+ * @memberof TestPlanResult
807
+ */
808
+ finished_at?: string;
809
+ /**
810
+ *
811
+ * @type {string}
812
+ * @memberof TestPlanResult
813
+ */
814
+ created_at?: string;
815
+ /**
816
+ *
817
+ * @type {string}
818
+ * @memberof TestPlanResult
819
+ */
820
+ updated_at?: string;
821
+ /**
822
+ *
823
+ * @type {DescribeResult200ResponseTestPlan}
824
+ * @memberof TestPlanResult
825
+ */
826
+ test_plan?: DescribeResult200ResponseTestPlan;
827
+ }
828
+ export declare const TestPlanResultStatusEnum: {
829
+ readonly Waiting: "waiting";
830
+ readonly Running: "running";
831
+ readonly Passed: "passed";
832
+ readonly Failed: "failed";
833
+ readonly Skipped: "skipped";
834
+ };
835
+ export declare type TestPlanResultStatusEnum = typeof TestPlanResultStatusEnum[keyof typeof TestPlanResultStatusEnum];
836
+ /**
837
+ *
838
+ * @export
839
+ * @interface UpdateUrlReplacementRequest
840
+ */
841
+ export interface UpdateUrlReplacementRequest {
842
+ /**
843
+ *
844
+ * @type {string}
845
+ * @memberof UpdateUrlReplacementRequest
846
+ */
847
+ pattern_url?: string;
848
+ /**
849
+ *
850
+ * @type {string}
851
+ * @memberof UpdateUrlReplacementRequest
852
+ */
853
+ replacement_url?: string;
854
+ }
855
+ /**
856
+ *
857
+ * @export
858
+ * @interface UrlReplacement
859
+ */
860
+ export interface UrlReplacement {
861
+ /**
862
+ *
863
+ * @type {number}
864
+ * @memberof UrlReplacement
865
+ */
866
+ id: number;
867
+ /**
868
+ *
869
+ * @type {number}
870
+ * @memberof UrlReplacement
871
+ */
872
+ test_plan_id: number;
873
+ /**
874
+ *
875
+ * @type {string}
876
+ * @memberof UrlReplacement
877
+ */
878
+ pattern_url: string;
879
+ /**
880
+ *
881
+ * @type {string}
882
+ * @memberof UrlReplacement
883
+ */
884
+ replacement_url: string;
885
+ /**
886
+ *
887
+ * @type {string}
888
+ * @memberof UrlReplacement
889
+ */
890
+ created_at: string;
891
+ /**
892
+ *
893
+ * @type {string}
894
+ * @memberof UrlReplacement
895
+ */
896
+ updated_at: string;
897
+ }
898
+ /**
899
+ * CapabilityApi - axios parameter creator
900
+ * @export
901
+ */
902
+ export declare const CapabilityApiAxiosParamCreator: (configuration?: Configuration) => {
903
+ /**
904
+ * List available Capabilities.
905
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities
906
+ * @param {string} [os] os name to filter
907
+ * @param {string} [browser] browser name to filter
908
+ * @param {string} [deviceType] device_type name to filter
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ */
912
+ listCapabilities: (projectId: number, os?: string, browser?: string, deviceType?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
913
+ };
914
+ /**
915
+ * CapabilityApi - functional programming interface
916
+ * @export
917
+ */
918
+ export declare const CapabilityApiFp: (configuration?: Configuration) => {
919
+ /**
920
+ * List available Capabilities.
921
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities
922
+ * @param {string} [os] os name to filter
923
+ * @param {string} [browser] browser name to filter
924
+ * @param {string} [deviceType] device_type name to filter
925
+ * @param {*} [options] Override http request option.
926
+ * @throws {RequiredError}
927
+ */
928
+ listCapabilities(projectId: number, os?: string, browser?: string, deviceType?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CapabilityOption>>>;
929
+ };
930
+ /**
931
+ * CapabilityApi - factory interface
932
+ * @export
933
+ */
934
+ export declare const CapabilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
935
+ /**
936
+ * List available Capabilities.
937
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities
938
+ * @param {string} [os] os name to filter
939
+ * @param {string} [browser] browser name to filter
940
+ * @param {string} [deviceType] device_type name to filter
941
+ * @param {*} [options] Override http request option.
942
+ * @throws {RequiredError}
943
+ */
944
+ listCapabilities(projectId: number, os?: string, browser?: string, deviceType?: string, options?: any): AxiosPromise<Array<CapabilityOption>>;
945
+ };
946
+ /**
947
+ * CapabilityApi - object-oriented interface
948
+ * @export
949
+ * @class CapabilityApi
950
+ * @extends {BaseAPI}
951
+ */
952
+ export declare class CapabilityApi extends BaseAPI {
953
+ /**
954
+ * List available Capabilities.
955
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities
956
+ * @param {string} [os] os name to filter
957
+ * @param {string} [browser] browser name to filter
958
+ * @param {string} [deviceType] device_type name to filter
959
+ * @param {*} [options] Override http request option.
960
+ * @throws {RequiredError}
961
+ * @memberof CapabilityApi
962
+ */
963
+ listCapabilities(projectId: number, os?: string, browser?: string, deviceType?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CapabilityOption[], any>>;
964
+ }
965
+ /**
966
+ * ResultApi - axios parameter creator
967
+ * @export
968
+ */
969
+ export declare const ResultApiAxiosParamCreator: (configuration?: Configuration) => {
970
+ /**
971
+ * Get a result.
972
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
973
+ * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
974
+ * @param {*} [options] Override http request option.
975
+ * @throws {RequiredError}
976
+ */
977
+ describeResult: (projectId: number, resultId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
978
+ /**
979
+ * List results.
980
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
981
+ * @param {number} [page] The number of page returns.
982
+ * @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
983
+ * @param {number} [testPlanId] Test plan ID used to filter results.
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ listResults: (projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
988
+ };
989
+ /**
990
+ * ResultApi - functional programming interface
991
+ * @export
992
+ */
993
+ export declare const ResultApiFp: (configuration?: Configuration) => {
994
+ /**
995
+ * Get a result.
996
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
997
+ * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
998
+ * @param {*} [options] Override http request option.
999
+ * @throws {RequiredError}
1000
+ */
1001
+ describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DescribeResult200Response>>;
1002
+ /**
1003
+ * List results.
1004
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
1005
+ * @param {number} [page] The number of page returns.
1006
+ * @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
1007
+ * @param {number} [testPlanId] Test plan ID used to filter results.
1008
+ * @param {*} [options] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ */
1011
+ listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TestPlanResult>>>;
1012
+ };
1013
+ /**
1014
+ * ResultApi - factory interface
1015
+ * @export
1016
+ */
1017
+ export declare const ResultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1018
+ /**
1019
+ * Get a result.
1020
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
1021
+ * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
1022
+ * @param {*} [options] Override http request option.
1023
+ * @throws {RequiredError}
1024
+ */
1025
+ describeResult(projectId: number, resultId: number, options?: any): AxiosPromise<DescribeResult200Response>;
1026
+ /**
1027
+ * List results.
1028
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
1029
+ * @param {number} [page] The number of page returns.
1030
+ * @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
1031
+ * @param {number} [testPlanId] Test plan ID used to filter results.
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ */
1035
+ listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: any): AxiosPromise<Array<TestPlanResult>>;
1036
+ };
1037
+ /**
1038
+ * ResultApi - object-oriented interface
1039
+ * @export
1040
+ * @class ResultApi
1041
+ * @extends {BaseAPI}
1042
+ */
1043
+ export declare class ResultApi extends BaseAPI {
1044
+ /**
1045
+ * Get a result.
1046
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
1047
+ * @param {number} resultId For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
1048
+ * @param {*} [options] Override http request option.
1049
+ * @throws {RequiredError}
1050
+ * @memberof ResultApi
1051
+ */
1052
+ describeResult(projectId: number, resultId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DescribeResult200Response, any>>;
1053
+ /**
1054
+ * List results.
1055
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/results
1056
+ * @param {number} [page] The number of page returns.
1057
+ * @param {number} [perPage] The number of items returns. Default number is 30 and up to a maximum of 100
1058
+ * @param {number} [testPlanId] Test plan ID used to filter results.
1059
+ * @param {*} [options] Override http request option.
1060
+ * @throws {RequiredError}
1061
+ * @memberof ResultApi
1062
+ */
1063
+ listResults(projectId: number, page?: number, perPage?: number, testPlanId?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TestPlanResult[], any>>;
1064
+ }
1065
+ /**
1066
+ * ScenarioApi - axios parameter creator
1067
+ * @export
1068
+ */
1069
+ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuration) => {
1070
+ /**
1071
+ * Get a scenario.
1072
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2
1073
+ * @param {number} scenarioId For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2
1074
+ * @param {*} [options] Override http request option.
1075
+ * @throws {RequiredError}
1076
+ */
1077
+ describeScenario: (projectId: number, scenarioId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1078
+ /**
1079
+ * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1080
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1081
+ * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1082
+ * @param {*} [options] Override http request option.
1083
+ * @throws {RequiredError}
1084
+ */
1085
+ executeScenarios: (projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1086
+ /**
1087
+ * List scenarios.
1088
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1089
+ * @param {number} [page] The number of page returns.
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ listScenarios: (projectId: number, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1094
+ };
1095
+ /**
1096
+ * ScenarioApi - functional programming interface
1097
+ * @export
1098
+ */
1099
+ export declare const ScenarioApiFp: (configuration?: Configuration) => {
1100
+ /**
1101
+ * Get a scenario.
1102
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2
1103
+ * @param {number} scenarioId For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2
1104
+ * @param {*} [options] Override http request option.
1105
+ * @throws {RequiredError}
1106
+ */
1107
+ describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Story>>;
1108
+ /**
1109
+ * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1110
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1111
+ * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1112
+ * @param {*} [options] Override http request option.
1113
+ * @throws {RequiredError}
1114
+ */
1115
+ executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteScenariosResult>>;
1116
+ /**
1117
+ * List scenarios.
1118
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1119
+ * @param {number} [page] The number of page returns.
1120
+ * @param {*} [options] Override http request option.
1121
+ * @throws {RequiredError}
1122
+ */
1123
+ listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Story>>>;
1124
+ };
1125
+ /**
1126
+ * ScenarioApi - factory interface
1127
+ * @export
1128
+ */
1129
+ export declare const ScenarioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1130
+ /**
1131
+ * Get a scenario.
1132
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2
1133
+ * @param {number} scenarioId For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2
1134
+ * @param {*} [options] Override http request option.
1135
+ * @throws {RequiredError}
1136
+ */
1137
+ describeScenario(projectId: number, scenarioId: number, options?: any): AxiosPromise<Story>;
1138
+ /**
1139
+ * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1140
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1141
+ * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1142
+ * @param {*} [options] Override http request option.
1143
+ * @throws {RequiredError}
1144
+ */
1145
+ executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: any): AxiosPromise<ExecuteScenariosResult>;
1146
+ /**
1147
+ * List scenarios.
1148
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1149
+ * @param {number} [page] The number of page returns.
1150
+ * @param {*} [options] Override http request option.
1151
+ * @throws {RequiredError}
1152
+ */
1153
+ listScenarios(projectId: number, page?: number, options?: any): AxiosPromise<Array<Story>>;
1154
+ };
1155
+ /**
1156
+ * ScenarioApi - object-oriented interface
1157
+ * @export
1158
+ * @class ScenarioApi
1159
+ * @extends {BaseAPI}
1160
+ */
1161
+ export declare class ScenarioApi extends BaseAPI {
1162
+ /**
1163
+ * Get a scenario.
1164
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2
1165
+ * @param {number} scenarioId For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2
1166
+ * @param {*} [options] Override http request option.
1167
+ * @throws {RequiredError}
1168
+ * @memberof ScenarioApi
1169
+ */
1170
+ describeScenario(projectId: number, scenarioId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Story, any>>;
1171
+ /**
1172
+ * You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).
1173
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1174
+ * @param {ExecuteScenariosRequest} executeScenariosRequest The scenarios and settings to execute
1175
+ * @param {*} [options] Override http request option.
1176
+ * @throws {RequiredError}
1177
+ * @memberof ScenarioApi
1178
+ */
1179
+ executeScenarios(projectId: number, executeScenariosRequest: ExecuteScenariosRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteScenariosResult, any>>;
1180
+ /**
1181
+ * List scenarios.
1182
+ * @param {number} projectId For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios
1183
+ * @param {number} [page] The number of page returns.
1184
+ * @param {*} [options] Override http request option.
1185
+ * @throws {RequiredError}
1186
+ * @memberof ScenarioApi
1187
+ */
1188
+ listScenarios(projectId: number, page?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Story[], any>>;
1189
+ }
1190
+ /**
1191
+ * ScheduleApi - axios parameter creator
1192
+ * @export
1193
+ */
1194
+ export declare const ScheduleApiAxiosParamCreator: (configuration?: Configuration) => {
1195
+ /**
1196
+ * Run a test plan. (Note: \"Schedule\" is called as \"TestPlan\" now.)
1197
+ * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1198
+ * @param {*} [options] Override http request option.
1199
+ * @throws {RequiredError}
1200
+ */
1201
+ executeSchedule: (scheduleId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1202
+ };
1203
+ /**
1204
+ * ScheduleApi - functional programming interface
1205
+ * @export
1206
+ */
1207
+ export declare const ScheduleApiFp: (configuration?: Configuration) => {
1208
+ /**
1209
+ * Run a test plan. (Note: \"Schedule\" is called as \"TestPlan\" now.)
1210
+ * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1211
+ * @param {*} [options] Override http request option.
1212
+ * @throws {RequiredError}
1213
+ */
1214
+ executeSchedule(scheduleId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteSchedule200Response>>;
1215
+ };
1216
+ /**
1217
+ * ScheduleApi - factory interface
1218
+ * @export
1219
+ */
1220
+ export declare const ScheduleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1221
+ /**
1222
+ * Run a test plan. (Note: \"Schedule\" is called as \"TestPlan\" now.)
1223
+ * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1224
+ * @param {*} [options] Override http request option.
1225
+ * @throws {RequiredError}
1226
+ */
1227
+ executeSchedule(scheduleId: number, options?: any): AxiosPromise<ExecuteSchedule200Response>;
1228
+ };
1229
+ /**
1230
+ * ScheduleApi - object-oriented interface
1231
+ * @export
1232
+ * @class ScheduleApi
1233
+ * @extends {BaseAPI}
1234
+ */
1235
+ export declare class ScheduleApi extends BaseAPI {
1236
+ /**
1237
+ * Run a test plan. (Note: \"Schedule\" is called as \"TestPlan\" now.)
1238
+ * @param {number} scheduleId For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3
1239
+ * @param {*} [options] Override http request option.
1240
+ * @throws {RequiredError}
1241
+ * @memberof ScheduleApi
1242
+ */
1243
+ executeSchedule(scheduleId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSchedule200Response, any>>;
1244
+ }
1245
+ /**
1246
+ * UrlReplacementApi - axios parameter creator
1247
+ * @export
1248
+ */
1249
+ export declare const UrlReplacementApiAxiosParamCreator: (configuration?: Configuration) => {
1250
+ /**
1251
+ * Create a new url replacement for the test plan
1252
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1253
+ * @param {CreateUrlReplacementRequest} createUrlReplacementRequest The url to replace
1254
+ * @param {*} [options] Override http request option.
1255
+ * @throws {RequiredError}
1256
+ */
1257
+ createUrlReplacement: (testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1258
+ /**
1259
+ * Delete a url replacement for the test plan
1260
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1261
+ * @param {number} urlReplacementId url_replacement id
1262
+ * @param {*} [options] Override http request option.
1263
+ * @throws {RequiredError}
1264
+ */
1265
+ deleteUrlReplacement: (testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1266
+ /**
1267
+ * List url replacements for the test plan
1268
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1269
+ * @param {*} [options] Override http request option.
1270
+ * @throws {RequiredError}
1271
+ */
1272
+ listUrlReplacements: (testPlanId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1273
+ /**
1274
+ * Update a url replacement for the test plan
1275
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1276
+ * @param {number} urlReplacementId url_replacement id
1277
+ * @param {UpdateUrlReplacementRequest} updateUrlReplacementRequest The url to replace. Either pattern_url or replacement_url is required.
1278
+ * @param {*} [options] Override http request option.
1279
+ * @throws {RequiredError}
1280
+ */
1281
+ updateUrlReplacement: (testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1282
+ };
1283
+ /**
1284
+ * UrlReplacementApi - functional programming interface
1285
+ * @export
1286
+ */
1287
+ export declare const UrlReplacementApiFp: (configuration?: Configuration) => {
1288
+ /**
1289
+ * Create a new url replacement for the test plan
1290
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1291
+ * @param {CreateUrlReplacementRequest} createUrlReplacementRequest The url to replace
1292
+ * @param {*} [options] Override http request option.
1293
+ * @throws {RequiredError}
1294
+ */
1295
+ createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UrlReplacement>>;
1296
+ /**
1297
+ * Delete a url replacement for the test plan
1298
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1299
+ * @param {number} urlReplacementId url_replacement id
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ */
1303
+ deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1304
+ /**
1305
+ * List url replacements for the test plan
1306
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1307
+ * @param {*} [options] Override http request option.
1308
+ * @throws {RequiredError}
1309
+ */
1310
+ listUrlReplacements(testPlanId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UrlReplacement>>>;
1311
+ /**
1312
+ * Update a url replacement for the test plan
1313
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1314
+ * @param {number} urlReplacementId url_replacement id
1315
+ * @param {UpdateUrlReplacementRequest} updateUrlReplacementRequest The url to replace. Either pattern_url or replacement_url is required.
1316
+ * @param {*} [options] Override http request option.
1317
+ * @throws {RequiredError}
1318
+ */
1319
+ updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UrlReplacement>>;
1320
+ };
1321
+ /**
1322
+ * UrlReplacementApi - factory interface
1323
+ * @export
1324
+ */
1325
+ export declare const UrlReplacementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1326
+ /**
1327
+ * Create a new url replacement for the test plan
1328
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1329
+ * @param {CreateUrlReplacementRequest} createUrlReplacementRequest The url to replace
1330
+ * @param {*} [options] Override http request option.
1331
+ * @throws {RequiredError}
1332
+ */
1333
+ createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: any): AxiosPromise<UrlReplacement>;
1334
+ /**
1335
+ * Delete a url replacement for the test plan
1336
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1337
+ * @param {number} urlReplacementId url_replacement id
1338
+ * @param {*} [options] Override http request option.
1339
+ * @throws {RequiredError}
1340
+ */
1341
+ deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: any): AxiosPromise<string>;
1342
+ /**
1343
+ * List url replacements for the test plan
1344
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1345
+ * @param {*} [options] Override http request option.
1346
+ * @throws {RequiredError}
1347
+ */
1348
+ listUrlReplacements(testPlanId: number, options?: any): AxiosPromise<Array<UrlReplacement>>;
1349
+ /**
1350
+ * Update a url replacement for the test plan
1351
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1352
+ * @param {number} urlReplacementId url_replacement id
1353
+ * @param {UpdateUrlReplacementRequest} updateUrlReplacementRequest The url to replace. Either pattern_url or replacement_url is required.
1354
+ * @param {*} [options] Override http request option.
1355
+ * @throws {RequiredError}
1356
+ */
1357
+ updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: any): AxiosPromise<UrlReplacement>;
1358
+ };
1359
+ /**
1360
+ * UrlReplacementApi - object-oriented interface
1361
+ * @export
1362
+ * @class UrlReplacementApi
1363
+ * @extends {BaseAPI}
1364
+ */
1365
+ export declare class UrlReplacementApi extends BaseAPI {
1366
+ /**
1367
+ * Create a new url replacement for the test plan
1368
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1369
+ * @param {CreateUrlReplacementRequest} createUrlReplacementRequest The url to replace
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ * @memberof UrlReplacementApi
1373
+ */
1374
+ createUrlReplacement(testPlanId: number, createUrlReplacementRequest: CreateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any>>;
1375
+ /**
1376
+ * Delete a url replacement for the test plan
1377
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1378
+ * @param {number} urlReplacementId url_replacement id
1379
+ * @param {*} [options] Override http request option.
1380
+ * @throws {RequiredError}
1381
+ * @memberof UrlReplacementApi
1382
+ */
1383
+ deleteUrlReplacement(testPlanId: number, urlReplacementId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
1384
+ /**
1385
+ * List url replacements for the test plan
1386
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ * @memberof UrlReplacementApi
1390
+ */
1391
+ listUrlReplacements(testPlanId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement[], any>>;
1392
+ /**
1393
+ * Update a url replacement for the test plan
1394
+ * @param {number} testPlanId For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
1395
+ * @param {number} urlReplacementId url_replacement id
1396
+ * @param {UpdateUrlReplacementRequest} updateUrlReplacementRequest The url to replace. Either pattern_url or replacement_url is required.
1397
+ * @param {*} [options] Override http request option.
1398
+ * @throws {RequiredError}
1399
+ * @memberof UrlReplacementApi
1400
+ */
1401
+ updateUrlReplacement(testPlanId: number, urlReplacementId: number, updateUrlReplacementRequest: UpdateUrlReplacementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UrlReplacement, any>>;
1402
+ }